/* Shared Unicode coverage; keep spatial image coordinates independent of UI direction. */
:root:lang(en), :root[lang] { --font-body: "Google Sans Flex", "i2IMG UI", "i2IMG JP", "i2IMG SC", "i2IMG KR", sans-serif; font-family: var(--font-body); }
:root:lang(ar), :root:lang(fa), :root:lang(ur) { --font-body: "Noto Kufi Arabic", "Google Sans Flex", "i2IMG UI", sans-serif; }
:root:lang(ja) { --font-body: "Google Sans Flex", "i2IMG JP", "i2IMG UI", sans-serif; }
:root:lang(zh) { --font-body: "Google Sans Flex", "i2IMG SC", "i2IMG UI", sans-serif; }
:root:lang(ko) { --font-body: "Google Sans Flex", "i2IMG KR", "i2IMG UI", sans-serif; }
:root:lang(ar) body, :root:lang(fa) body, :root:lang(ur) body { line-height: 1.9; }
:root:lang(hi) h1, :root:lang(bn) h1, :root:lang(th) h1, :root[dir=rtl] h1 { line-height: 1.45; letter-spacing: normal; }
:root[dir=rtl] .button, :root[dir=rtl] button { letter-spacing: normal; }
.language-name, .language-option, .language-trigger { font-family: "Google Sans Flex", "i2IMG UI", "i2IMG JP", "i2IMG SC", "i2IMG KR", sans-serif; }
:root[dir=rtl] input[type=url], :root[dir=rtl] input[type=email], :root[dir=rtl] input[type=color], :root[dir=rtl] input[type=number] { direction: ltr; text-align: start; }
:root[dir=rtl] .page-surface { direction: ltr; }
