.kf-lang-switch,.kf-pref-btn{--kf-lang-fg:var(--text-primary,var(--auth-text-primary,#0c1a4b));--kf-lang-muted:var(--text-secondary,var(--auth-text-secondary,#475569));--kf-lang-border:var(--border-default,var(--auth-border-default,var(--border-subtle,#e2e8f0)));--kf-lang-surface:var(--bg-primary,var(--auth-bg-primary,#fff));--kf-lang-hover:var(--bg-secondary,var(--auth-bg-secondary,var(--navy-50,#f8fafc)));--kf-lang-focus:var(--auth-focus,var(--border-focus,#2b4ba6))}.kf-lang-switch{text-align:left;display:inline-block;position:relative}.kf-pref-btn,.kf-lang-switch__trigger{box-sizing:border-box;border:1px solid var(--kf-lang-border);background:var(--kf-lang-surface);width:2.25rem;height:2.25rem;color:var(--kf-lang-muted);cursor:pointer;border-radius:.75rem;place-items:center;padding:0;transition:background-color .16s,color .16s,border-color .16s;display:inline-grid}@media (width>=640px){.kf-pref-btn,.kf-lang-switch__trigger{width:2.5rem;height:2.5rem}}@media (pointer:coarse){.kf-pref-btn,.kf-lang-switch__trigger{width:2.75rem;height:2.75rem}}.kf-pref-btn:hover,.kf-lang-switch__trigger:hover{background:var(--kf-lang-hover);color:var(--kf-lang-fg)}.kf-pref-btn:focus-visible,.kf-lang-switch__trigger:focus-visible{outline:2px solid var(--kf-lang-focus);outline-offset:2px}.kf-pref-btn--on-dark,.kf-lang-switch__trigger.kf-pref-btn--on-dark{color:#fff;background:0 0;border-color:#ffffff47}.kf-pref-btn--on-dark:hover,.kf-lang-switch__trigger.kf-pref-btn--on-dark:hover{color:#fff;background:#ffffff1a}.kf-lang-switch__menu{z-index:50;border:1px solid var(--kf-lang-border);background:var(--kf-lang-surface);border-radius:.75rem;width:13rem;padding:.25rem;position:absolute;overflow:hidden;box-shadow:0 12px 32px #0c1a4b29}.kf-lang-switch__menu[data-placement=bottom]{margin-top:.5rem;top:100%}.kf-lang-switch__menu[data-placement=top]{margin-bottom:.5rem;bottom:100%}.kf-lang-switch__menu[data-align=right]{right:0}.kf-lang-switch__menu[data-align=left]{left:0}.kf-lang-switch__item{width:100%;color:var(--kf-lang-muted);text-align:left;cursor:pointer;background:0 0;border:none;border-radius:.5rem;align-items:center;gap:.75rem;padding:.625rem .75rem;font-size:.875rem;line-height:1.25rem;transition:background-color .16s,color .16s;display:flex}.kf-lang-switch__item:hover{background:var(--kf-lang-hover)}.kf-lang-switch__item:focus-visible{outline:2px solid var(--kf-lang-focus);outline-offset:-2px}.kf-lang-switch__item[aria-checked=true]{background:var(--kf-lang-hover);color:var(--kf-lang-fg);font-weight:600}.kf-lang-flag{border-radius:999px;flex-shrink:0;width:18px;height:18px}
