.language-bar { display:flex; justify-content:flex-end; padding:6px clamp(16px, 4vw, 44px); border-bottom:1px solid var(--border, #d9e3dc); background:var(--home-card, #fff); color:var(--home-text, #253d30); }
.language-control { display:flex; flex-wrap:wrap; align-items:center; gap:8px; padding:4px 0; font:inherit; font-size:13px; font-weight:600; }
.language-control select { min-height:44px; max-width:100%; padding:8px 12px; color:inherit; background:transparent; border:1px solid currentColor; border-radius:8px; font:inherit; cursor:pointer; }
.language-control select:focus-visible { outline:2px solid currentColor; outline-offset:3px; }
.sidebar > .language-control { margin-top:12px; flex-shrink:0; }
.login-card > .language-control { justify-content:flex-end; margin-bottom:12px; }
[data-theme="dark"] .language-bar { background:#19271f; color:#e2ece7; border-color:#344f40; }
@media print { .language-bar, .language-control { display:none; } }

/* A short dissolve keeps live language changes calm; reduced motion updates immediately. */
::view-transition-old(root), ::view-transition-new(root) { animation-duration:160ms; }
.language-control select:disabled { cursor:progress; }
.language-error { font-size:12px; }
