/* Original .page and sticky sections share --header-height with fixed header. */
@media(min-width:1101px) and (max-width:1220px){body .site-header .header-inner{gap:16px}body .site-header .desktop-nav{gap:16px}}
@media(max-width:1100px){
 :root{--header-height:115px}
 body .site-header{height:auto;min-height:115px}
 body .site-header .header-inner{width:calc(100% - 20px);height:auto;min-height:114px;display:grid;grid-template-columns:1fr auto;grid-template-rows:44px 44px;gap:8px;padding:9px 0;box-sizing:border-box}
 body .site-header .header-actions{display:contents}
 body .site-header .brand{grid-column:1;grid-row:1;justify-self:start;gap:6px;font-size:17px}
 body .site-header .brand-mark{width:24px;height:24px}
 body .site-header .header-actions>.ai-network{grid-column:2;grid-row:1;justify-self:end}
 body .site-header .header-login{grid-column:1;grid-row:2;justify-self:start}
 body .site-header .header-actions>.button--primary{grid-column:2;grid-row:2;justify-self:end}
 body .site-header .header-actions>.button{height:44px;min-height:44px;padding:0 14px;font-size:14px;box-sizing:border-box}
}
/* Existing minimal404: a menu-only normal-flow row, no added brand or CTA. */
header[data-ai-network-service-header]{position:relative;display:flex;justify-content:flex-end;align-items:center;box-sizing:border-box;min-height:64px;padding:12px max(12px,env(safe-area-inset-right));background:var(--color-accent)}
header[data-ai-network-service-header]+.not-found{min-height:calc(100svh - 64px)}
