/*
 * Litora UAE — Arabic pages. Loaded after the right-to-left copies of the stylesheets
 * (assets/css/rtl/*.css, made from the originals with rtlcss: regenerate them after
 * editing a stylesheet — `npx rtlcss assets/css/app.css assets/css/rtl/app.css`).
 * Here: the Arabic fonts, and what a mirror image does not get right by itself.
 */
html[dir=rtl]{
  --font-body:'IBM Plex Sans Arabic','Source Sans 3','Inter',Tahoma,Arial,sans-serif;
  --font-display:'Noto Naskh Arabic','IBM Plex Sans Arabic',Georgia,serif;
  --font-serif:'Noto Naskh Arabic','IBM Plex Sans Arabic',Georgia,serif;
  --mono:'IBM Plex Sans Arabic','IBM Plex Mono',ui-monospace,monospace;
}
html[dir=rtl] body{font-family:var(--font-body);line-height:1.75}
/* Spacing out letters breaks the joins of Arabic script; capitals do not exist in it. */
html[dir=rtl] *{letter-spacing:0 !important}
html[dir=rtl] .eyebrow,html[dir=rtl] .plan-chip,html[dir=rtl] .side-group,html[dir=rtl] [class*=label],html[dir=rtl] th{text-transform:none}
html[dir=rtl] h1,html[dir=rtl] h2,html[dir=rtl] h3{line-height:1.45}
html[dir=rtl] .eyebrow{font-size:.8rem}
/* Numbers, references, amounts, emails and code keep their own left-to-right order. */
html[dir=rtl] code,html[dir=rtl] kbd,html[dir=rtl] .mono,html[dir=rtl] input[type=email],html[dir=rtl] input[type=tel],
html[dir=rtl] input[type=url],html[dir=rtl] input[type=number]{direction:ltr;unicode-bidi:isolate}
html[dir=rtl] input[type=email],html[dir=rtl] input[type=tel],html[dir=rtl] input[type=url]{text-align:right}
/* Arrows that point "onwards" point left in Arabic. */
html[dir=rtl] .pk-tool-go svg,html[dir=rtl] .w-arrow,html[dir=rtl] .arrow svg,html[dir=rtl] [data-icon=arrow] svg{transform:scaleX(-1)}
/* Text the user or the papers wrote (often English) reads in its own direction. */
html[dir=rtl] .notranslate{unicode-bidi:plaintext}
html[dir=rtl] textarea,html[dir=rtl] .ai-text,html[dir=rtl] .doc-text{unicode-bidi:plaintext;text-align:start}
/* Arabic has no italic: the slanted Latin style only blurs it. Emphasis keeps its colour and weight. */
html[dir=rtl] em,html[dir=rtl] i:not([class]){font-style:normal}
