.hdr {
  --nav-accent: #a8bfe4;
  --nav-selected: #24334e;
  background: color-mix(in srgb,var(--bg-2) 92%,transparent);
  border-bottom: 1px solid color-mix(in srgb,var(--brand) 22%,var(--line));
}
[data-theme=light] .hdr { --nav-accent: #334e79; --nav-selected: #e7ebf2; }
.hdr .wrap { max-width: 1240px; }
.hdr .netbar { color: #d9e2f4; background: linear-gradient(105deg,#152237,#233453); }
.hdr .netbar .wrap { min-height: 38px; }
.hdr .netbar .pulse { background: #a7c2f1; }
:root .hdr .netbar :is(.chips a,.util-l,.lsw-b,.btn-ico) { color: #e8eef9; }
.hdr .netbar :is(.lsw-b,.btn-ico) { border-color: #ffffff30; background: #ffffff09; border-radius: 999px; }
.hdr .netbar .chips a { border-color: #ffffff28; }
.hdr .hdr-in { height: 72px; gap: clamp(12px,1.6vw,26px); }
.hdr.compact .hdr-in { height: 60px; }
.hdr .brand img { width: 35px; height: 35px; box-shadow: 0 0 0 3px var(--bg-2),0 0 0 4px color-mix(in srgb,var(--brand) 45%,transparent); }
.hdr .brand b { font: 600 1.34rem Georgia,serif; letter-spacing: .09em; }
.hdr .nav { margin-inline: 0 auto; align-items: center; gap: 2px; }
.hdr .nav > a, .hdr .dd-t, .hdr .eco-link {
  display: inline-flex; align-items: center; min-height: 40px;
  padding: 6px clamp(7px,.7vw,12px); border-radius: 10px; white-space: nowrap;
  font: 550 .88rem var(--ff-display); color: var(--text); box-shadow: none;
}
.hdr .nav > a:hover, .hdr .dd-t:hover, .hdr .eco-link:hover { background: var(--surface-2); }
:root .hdr .nav :is(a[aria-current],button[data-current]) {
  background: var(--nav-selected); color: var(--nav-accent); box-shadow: inset 0 -2px var(--brand);
}
.hdr .mega { display: flex; align-items: center; }
.hdr .eco-link { padding-inline-end: 2px; }
.hdr .eco-toggle { padding-inline: 4px; min-width: 26px; justify-content: center; }
.hdr .dd-t[aria-expanded=true] .ic { transform: rotate(180deg); }
.hdr .dd.open > .dd-p { visibility: visible; opacity: 1; transform: none; }
.hdr .dd-p { border: 1px solid var(--line); border-block-start: 2px solid var(--brand); box-shadow: var(--shadow); border-radius: 14px; }
.hdr .mega-cols h5 { margin: 0 0 8px; }
.hdr .cmdk-b { border-radius: 999px; min-width: 128px; background: var(--surface); }
.hdr .cmdk-b kbd { border-radius: 6px; }
.hdr .burger { border-radius: 12px; }
.drawer-heading { display: flex; align-items: center; gap: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.drawer-heading strong { color: var(--heading); font-size: 1.2rem; }
.sheet nav a { padding: 10px 12px; border: 0; border-radius: 9px; }
.sheet nav a[aria-current] { background: var(--surface-2); box-shadow: inset 0 -2px var(--brand); }
@media(max-width:1150px) {
  .hdr .cmdk-b { width: 40px; min-width: 40px; padding: 0; justify-content: center; }
  .hdr .cmdk-b :is(span,kbd) { display: none; }
}
@media(max-width:1040px) {
  .hdr .hdr-in { height: 60px; }
  .hdr .hdr-act { margin-inline-start: auto; }
}
