/* CANDAI language switcher + RTL/font helpers */
.cl-sw{position:relative;flex:none}
.cl-sw-btn{display:inline-flex;align-items:center;gap:6px;background:rgba(255,255,255,.04);color:var(--ink,#e8eef8);border:1px solid var(--line-strong,rgba(255,255,255,.16));border-radius:999px;padding:8px 12px;font:500 .82rem var(--font-body,Inter,sans-serif);cursor:pointer;white-space:nowrap;max-width:46vw}
.cl-sw-btn:hover,.cl-sw.open .cl-sw-btn{color:#fff;background:rgba(255,255,255,.08)}
.cl-sw-btn:focus-visible{outline:2px solid var(--cyan,#22d3ee);outline-offset:2px}
.cl-sw-caret{width:14px;height:14px;opacity:.75;transition:transform .2s}
.cl-sw.open .cl-sw-caret{transform:rotate(180deg)}
.cl-sw-menu{position:absolute;top:calc(100% + 8px);inset-inline-start:0;z-index:120;margin:0;padding:6px;list-style:none;min-width:max(100%,210px);max-height:min(70vh,420px);overflow:auto;background:#0f1f3a;border:1px solid var(--line-strong,rgba(255,255,255,.16));border-radius:14px;box-shadow:0 16px 40px rgba(0,0,0,.35)}
.cl-sw-menu a{display:block;padding:10px 12px;border-radius:10px;color:var(--ink,#e8eef8);text-decoration:none;font:500 .9rem var(--font-body,Inter,sans-serif);white-space:nowrap}
.cl-sw-menu a:hover{background:rgba(255,255,255,.06);color:#fff}
.cl-sw-menu li[aria-selected="true"] a{color:var(--cyan,#22d3ee);background:rgba(34,211,238,.08)}
.cl-sw-slot-drawer{margin:16px 0}
.cl-sw-slot-drawer .cl-sw{display:block}
.cl-sw-slot-drawer .cl-sw-btn{width:100%;justify-content:space-between;max-width:none;border-radius:12px}
.cl-sw-slot-drawer .cl-sw-menu{position:static;box-shadow:none;min-width:0;width:100%;margin-top:8px;max-height:none}
@media (max-width:420px){
  .hm-actions .cl-sw{display:block}
  .hm-actions .cl-sw-btn{padding:8px 10px}
}
html[lang="ar"]{--font-body:"Noto Sans Arabic",Inter,sans-serif;--font-display:"Noto Sans Arabic","Space Grotesk",sans-serif}
html[lang="ja"]{--font-body:"Noto Sans JP",Inter,sans-serif;--font-display:"Noto Sans JP","Space Grotesk",sans-serif}
html[lang="zh-Hans"]{--font-body:"Noto Sans SC",Inter,sans-serif;--font-display:"Noto Sans SC","Space Grotesk",sans-serif}
html[dir="rtl"] body{text-align:start}
html[dir="rtl"] .tpr::before{right:auto;left:.35em}
html[dir="rtl"] .btn svg, html[dir="rtl"] .go svg{transform:scaleX(-1)}
html[dir="rtl"] .skip-link{left:auto;right:-9999px}
html[dir="rtl"] .skip-link:focus{right:0;left:auto}
html[dir="rtl"]{overflow-x:hidden}
html[dir="rtl"] .logo{direction:ltr;unicode-bidi:isolate}
html[dir="rtl"] .cl-sw-btn{direction:ltr}
