/* Header preference controls only. Page palettes belong to themes.css. */
/*
 * The two controls themselves — the language select and the round appearance
 * button — are the desktop client's login-page controls and their appearance
 * comes from vendor/login-controls.css. This file only places them.
 */
.site-header .nav-right { position:relative; gap:10px; }
.website-preferences {
  display:flex;
  align-items:center;
  gap:6px;
  flex:0 0 auto;
  color:var(--ink,#e7f0f4);
  font-family:var(--font,system-ui,sans-serif);
}
.website-preferences select {
  color:inherit;
}
.website-preferences select option {
  color:var(--ink,#102b49);
  background:var(--panel,#fff);
}

@media (max-width:1180px) {
  .site-header .nav-right .nav-cta { display:none; }
}
@media (max-width:960px) {
  .site-header .nav-shell { position:relative; gap:10px; padding-inline:12px; }
  .site-header .desktop-nav { display:none; }
  .site-header .nav-right { display:flex; gap:6px; margin-left:auto; }
  .site-header .menu-toggle {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:44px;
    width:44px;
    height:44px;
    min-height:44px;
    margin-left:0;
    padding:0;
    border:0;
    border-radius:9px;
    background:transparent;
    color:var(--ink,#e7f0f4);
  }
  .site-header .menu-toggle > span:first-child { display:none; }
  .site-header .menu-toggle > span:last-child { font-size:23px; line-height:1; }
  .site-header .menu-toggle:focus-visible { outline:2px solid var(--cyan,#82e5df); outline-offset:2px; }
  .site-header .mobile-menu:not([hidden]) {
    display:flex;
    flex-direction:column;
    gap:0;
    width:calc(100% - 28px);
    max-width:720px;
    margin:8px auto 0;
    padding:10px;
    border:1px solid var(--line,#6b849b4d);
    border-radius:13px;
    background:var(--panel,#142331);
    color:var(--ink,#e7f0f4);
    pointer-events:auto;
    box-shadow:0 16px 42px #0003;
  }
  .site-header .mobile-menu a { display:block; padding:13px 14px; min-height:44px; color:inherit; font-size:14px; }
  .site-header .mobile-menu[hidden] { display:none!important; }
}
@media (max-width:640px) {
  .site-header .nav-shell { gap:4px; padding-inline:10px; }
  .site-header .brand { gap:6px; }
  .site-header .brand img { width:30px; height:30px; }
  .site-header .brand > span { font-size:19px; }
  .site-header .nav-right { gap:2px; }
  .website-preferences { gap:2px; }
  .website-preferences select { max-width:74px; font-size:10px; }
  .site-header .account-trigger { width:44px; padding:0; gap:0; }
  .site-header .account-trigger > svg:last-child { display:none; }
  .site-header .account-trigger-label {
    position:absolute;
    width:1px;
    height:1px;
    margin:-1px;
    padding:0;
    overflow:hidden;
    clip-path:inset(50%);
    white-space:nowrap;
  }
}
@media (max-width:350px) {
  .site-header .brand > span { display:none; }
}
