/* Header fit 768–1199px (staged 19 Nov 2026, open item 34).
   Between 768px and 1199px the full link row plus the two portal pills needs more
   width than the screen has: the pills were cut off (768-967px) and the logo was
   squashed (768-1199px). In this range only: the text links move into the menu
   button panel; logo, Client Portal and Register Sample stay visible in the bar.
   Below 768px and from 1200px up nothing changes. */
@media (min-width:768px) and (max-width:1199px){
  .header__inner{grid-template-columns:auto 1fr auto auto;column-gap:0.75rem}
  .header__logo{grid-column:1;grid-row:1;justify-self:start}
  .header__actions{grid-column:3;grid-row:1}
  .header__toggle{display:flex;grid-column:4;grid-row:1}
  .header__links{display:none}
  .header__nav--open .header__links{display:flex;position:absolute;justify-self:stretch;top:var(--header-height);left:0;right:0;flex-direction:column;align-items:stretch;gap:0;background:#fff;padding:0.75rem 2rem 1rem;box-shadow:0 8px 24px rgba(0,0,0,0.1);max-height:calc(100vh - var(--header-height));overflow-y:auto}
  .header__nav--open .header__link{color:var(--color-text)}
  .header__nav--open .header__dropdown-menu{display:block;position:static;transform:none;box-shadow:none;min-width:0;padding:0 0 0.25rem 1rem;background:transparent}
}

/* Phone logo aspect ratio (staged 21 Nov 2026). Below 768px the logo was drawn
   152px wide at 390px instead of its natural ~196px (squashed horizontally).
   Stop the image shrinking so it keeps its own proportions; nothing else changes. */
@media (max-width:767px){
  .header__logo-img{flex-shrink:0;max-width:none}
}
