.site-header { max-width:1680px; flex-wrap:wrap; column-gap:20px; row-gap:12px; }
.site-header>nav { min-width:0; flex-wrap:wrap; }
.site-header>nav:last-child { gap:10px; }
.site-header .theme-picker select { width:112px; }
.language-picker { display:flex; flex-direction:column; gap:3px; font-size:10px; color:var(--muted); }
.language-picker select { width:122px; max-width:100%; padding:8px 10px; font:600 12px "Segoe UI",sans-serif; color:var(--ink); background:var(--field); border:1px solid var(--line); border-radius:7px; }
.language-status { flex-basis:100%; max-width:32em; font-size:12px; color:var(--ink); }
@media (max-width:1150px) {
  .site-header { justify-content:center; }
  .site-header>nav:last-child { justify-content:center; }
}
@media (max-width:700px) {
  .site-header .theme-picker select { width:112px; }
  .site-header .language-picker select { width:122px; }
}
@media (min-width:1151px) {
  .site-header>nav:last-child { flex-wrap:nowrap; gap:14px; }
}
@media (min-width:1401px) {
  .site-header { grid-template-columns:auto minmax(0,1fr) auto; }
}
@media (min-width:651px) and (max-width:1400px) {
  .site-header { grid-template-columns:1fr auto; }
  .site-header .knowledge-nav { grid-column:1/-1; grid-row:2; border-top:1px solid var(--line); padding-top:12px; }
  .site-header>nav:last-child { grid-column:2; grid-row:1; }
}
@media (min-width:651px) and (max-width:1100px) {
  .site-header { grid-template-columns:1fr; }
  .site-header .brand-and-status { justify-content:center; }
  .site-header>nav:last-child { grid-column:1; grid-row:3; justify-self:center; justify-content:center; }
}
