/* Quiet shared language navigation; no dependency on translation fonts or JS. */
.header-inner > .brand { margin-right:auto; }
.header-inner > .site-nav { order:1; flex-shrink:0; }
.header-inner > .language-selector { order:2; }
.header-inner > .menu-toggle { order:3; }
.language-selector { position:relative; flex:0 0 auto; color:var(--navy,#10243b); font:500 13px/1.4 system-ui,sans-serif; letter-spacing:0; }
.language-selector summary { display:flex; align-items:center; justify-content:center; gap:6px; min-height:44px; padding:8px 4px; border-radius:6px; cursor:pointer; list-style:none; white-space:nowrap; }
.language-selector summary::-webkit-details-marker { display:none; }
.language-selector summary > svg { width:17px; height:17px; }
.language-selector summary > .language-chevron { width:10px; height:10px; }
.language-selector summary:hover, .language-selector[open] summary { background:#f1f5f9; }
.language-selector summary:focus-visible, .language-selector a:focus-visible { outline:2px solid #175eea; outline-offset:3px; }
.language-panel { position:absolute; z-index:130; right:0; top:calc(100% + 8px); width:230px; max-width:calc(100vw - 32px); max-height:calc(100dvh - 96px); overflow-y:auto; overscroll-behavior:contain; padding:10px; border:1px solid #e1e7ee; border-radius:12px; background:#fff; box-shadow:0 12px 36px rgb(16 36 59 / .14); }
.language-panel p { margin:6px 10px 8px; color:#64748b; font:500 12px/1.5 system-ui,sans-serif; }
.language-panel nav { display:grid; gap:2px; }
.language-panel a { display:flex; align-items:center; justify-content:space-between; min-height:44px; padding:10px; border-radius:6px; color:#25384d; font:500 14px/1.5 system-ui,sans-serif; text-decoration:none; white-space:normal; }
.language-panel a:hover { background:#f1f5f9; }
.language-panel a[aria-current="page"] { color:#144fc5; background:#eef4ff; }
body > .language-selector { position:fixed; top:16px; right:24px; z-index:130; padding-inline:6px; border:1px solid #e1e7ee; border-radius:8px; background:#fff; }
@media (min-width:981px) and (max-width:1200px) {
  .header-inner { gap:12px; }
  .site-nav, .nav-links { gap:12px; }
  .site-nav a { font-size:14px; }
}
@media (min-width:981px) and (max-width:1100px) {
  .site-header .brand > img, .site-header .brand > picture { width:120px; height:48px; }
  .header-inner { gap:10px; }
  .site-nav, .nav-links, .nav-actions { gap:10px; }
}
@media (max-width:980px) {
  .header-inner { gap:12px; }
  .language-selector { z-index:105; }
  .language-panel { right:-56px; }
  body > .language-selector .language-panel { right:0; }
}
@media (prefers-reduced-motion:reduce) { .language-selector * { scroll-behavior:auto; } }
