/* Approved service-guide header. Only account and prototype shortcuts are disabled. */
.header[data-component="header"] .logo { width:144px; flex-shrink:0; }
.header[data-component="header"] .logo img { width:144px; height:auto; }
.header[data-component="header"] a[data-disabled-link],
#persona-menu a[data-disabled-link] { opacity:.35; cursor:default; }
.header[data-component="header"] a[data-disabled-link]::after { transform:scaleX(0); }
#persona-menu a[data-disabled-link]:hover { color:inherit; text-decoration:none; }
#persona-menu .menu-shortcuts-mobile { display:none; }
@media(min-width:1536px) {
  .renewal-site .header { padding-inline:max(var(--gutter),calc((100vw - 1440px) / 2)); }
}
@media(max-width:760px) {
  #persona-menu .menu-shortcuts-mobile { display:block; flex-shrink:0; }
}

/* The expanded menu is the active state; keep keyboard outline separate. */
.header #menu-toggle[aria-expanded="true"]::after {transform:scaleX(0);transition:none;}

/* Keep every current header visible; reserve its original layout height. */
body:has(> .header[data-component="header"]), .renewal-site {padding-top:var(--header-height,64px);}
body > .header[data-component="header"], .renewal-site .header[data-component="header"] {
  position:fixed;top:0;left:0;right:0;width:100%;height:var(--header-height,64px);z-index:80;
}

/* Tablet range (761-1023px): keep every label on one line instead of breaking
   inside words; tighten spacing and drop utility labels before anything wraps. */
@media(min-width:761px) and (max-width:1023px) {
  .header[data-component="header"] { gap:24px; }
  .header[data-component="header"] :is(nav,.utility) a { white-space:nowrap; word-break:keep-all; }
  .header[data-component="header"] nav { gap:16px; flex-shrink:1; min-width:0; }
  .header[data-component="header"] .utility { gap:14px; flex-shrink:0; }
}
@media(min-width:761px) and (max-width:819px) {
  .header[data-component="header"] .utility a > span { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
}
