/* UAE (ae) page: right-to-left overrides, loaded after the page styles (copy_embedded_site.py, C["dir"]). 2026-12-02 */
/* brand demo: the phone sits on the left, so the web's names column (now on the right) stays visible */
[dir=rtl] .brand-stage .screen-ios{right:auto;left:0}
@media (max-width:640px){[dir=rtl] .brand-stage .screen-ios{right:auto;left:-4px}}
/* product mock-ups: time ranges and clock times read left to right */
[dir=rtl] .screen .kw-l1>span:first-child,[dir=rtl] .screen .ki-shift b,[dir=rtl] .screen .ki-time,[dir=rtl] .screen .ki-detail-time,
[dir=rtl] .screen .kk-tc-time,[dir=rtl] .screen .kw-timer{direction:ltr;unicode-bidi:isolate}
/* coverage map: geography does not mirror; positions are inline-start = left */
[dir=rtl] .markets-plot{direction:ltr}
html[dir=rtl] .markets-tip{direction:ltr;transform:translate(-50%,calc(-100% - 14px))}
html[dir=rtl] .markets-tip>*{direction:rtl}
html[dir=rtl] .markets-tip.is-below{transform:translate(-50%,14px)}
html[dir=rtl] .markets-tip.is-start{transform:translate(0,calc(-100% - 14px))}
html[dir=rtl] .markets-tip.is-start.is-below{transform:translate(0,14px)}
html[dir=rtl] .markets-tip.is-end{transform:translate(-100%,calc(-100% - 14px))}
html[dir=rtl] .markets-tip.is-end.is-below{transform:translate(-100%,14px)}
/* numbers with a sign or a percent keep their order */
[dir=rtl] .stat-num{direction:ltr;unicode-bidi:isolate}
/* Arabic glyphs: IBM Plex Sans Arabic (as on day.io/ae/) wherever a rule names Circular Std or the kit's iOS font */
@font-face{font-family:'Circular Std';font-weight:400;font-display:swap;src:url('fonts/plex-arabic-arabic-400.woff2') format('woff2');unicode-range:U+0600-06FF,U+0750-077F,U+08A0-08FF,U+FB50-FDFF,U+FE70-FEFF}
@font-face{font-family:'Circular Std';font-weight:500;font-display:swap;src:url('fonts/plex-arabic-arabic-500.woff2') format('woff2');unicode-range:U+0600-06FF,U+0750-077F,U+08A0-08FF,U+FB50-FDFF,U+FE70-FEFF}
@font-face{font-family:'Circular Std';font-weight:700;font-display:swap;src:url('fonts/plex-arabic-arabic-700.woff2') format('woff2');unicode-range:U+0600-06FF,U+0750-077F,U+08A0-08FF,U+FB50-FDFF,U+FE70-FEFF}
@font-face{font-family:'Circular Std';font-weight:800;font-display:swap;src:url('fonts/plex-arabic-arabic-700.woff2') format('woff2');unicode-range:U+0600-06FF,U+0750-077F,U+08A0-08FF,U+FB50-FDFF,U+FE70-FEFF}
@font-face{font-family:'SF Stand-in';font-weight:400;font-display:swap;src:url('fonts/plex-arabic-arabic-400.woff2') format('woff2');unicode-range:U+0600-06FF,U+0750-077F,U+08A0-08FF,U+FB50-FDFF,U+FE70-FEFF}
@font-face{font-family:'SF Stand-in';font-weight:600;font-display:swap;src:url('fonts/plex-arabic-arabic-600.woff2') format('woff2');unicode-range:U+0600-06FF,U+0750-077F,U+08A0-08FF,U+FB50-FDFF,U+FE70-FEFF}
