/* Opt-in localized typesetting for the six new editions. Existing English copy/layout stays unchanged. */
html[lang=ja] body{font-family:system-ui,"Noto Sans CJK JP",sans-serif}
html[lang="zh-TW"] body{font-family:system-ui,"Noto Sans CJK TC",sans-serif}
html[lang=ar] body{font-family:"Noto Sans Arabic",system-ui,sans-serif;line-height:1.95}
html[lang=hi] body{font-family:"Noto Sans Devanagari",system-ui,sans-serif;line-height:1.85}
html:not([lang=en]) h1{line-height:1.42;letter-spacing:normal}
html:not([lang=en]) h2,html:not([lang=en]) h3{line-height:1.5;letter-spacing:normal}
html:not([lang=en]) .eyebrow,html:not([lang=en]) .sidebar-title{letter-spacing:normal;text-transform:none}
html:not([lang=en]) .hf-languages,html:not([lang=en]) .hf-languages a{font-family:inherit}
.fee-formulas{display:grid;gap:14px;margin-block:22px}
.fee-formula{padding:12px 16px;border:1px solid #e2e8f0;border-radius:10px;margin:0!important}
.fee-formula code{display:block;direction:ltr;unicode-bidi:isolate;text-align:start;white-space:normal;font-size:.92rem;overflow-wrap:anywhere;margin-block-start:6px}
.fee-numbers{direction:ltr;unicode-bidi:isolate;font-variant-numeric:tabular-nums}
html[dir=rtl] .bpm-figure img{direction:ltr}
.source-cite{direction:ltr;unicode-bidi:isolate;display:inline}
.source-language{font-size:.84em;color:#64748b;margin-inline-start:.35em}
@media(max-width:600px){html:not([lang=en]) .header-inner{align-items:center}.hf-languages[open]>nav{max-height:min(60vh,420px)}html[lang=ar] h1,html[lang=hi] h1{font-size:30px}.fee-formula code{font-size:.85rem}}
