/* Scoped priorities match observed legacy !important header/typography rules. */
body .header .ai-network>summary{color:#fff!important;font-size:13px!important}
body .ai-network-panel .ai-network-group h2{font-size:11px!important;line-height:1.5!important}
@media(min-width:993px) and (max-width:1240px){
 body .header .header-body{grid-template-columns:auto 1fr auto!important;gap:16px!important}
 body .header .ask-ai>.text{font-size:16px!important}
 body .header .menu-list{gap:14px!important}
 body .header .btn-login,body .header .btn-register{padding-inline:12px!important}
}
@media(max-width:992px){
 html{scroll-padding-top:134px}
 body .header,body .header.moved{height:auto!important;min-height:114px;padding:9px 0!important;box-sizing:border-box}
 body .header .container{width:calc(100% - 20px)!important;max-width:none;height:auto!important;padding:0!important;margin-inline:auto}
 body .header .header-body{display:grid!important;grid-template-columns:1fr auto!important;grid-template-rows:42px 44px;gap:8px!important;height:auto!important;min-height:0;padding:0!important;box-sizing:border-box}
 body .header .header-actions{display:contents!important;margin:0!important}
 body .header .ask-ai{grid-column:1;grid-row:1;justify-self:start;min-width:0;gap:5px!important}
 body .header .ask-ai::before{flex-basis:20px!important;width:20px!important;height:20px!important;background-size:16px 16px!important}
 body .header .ask-ai>.text{font-size:13px!important;line-height:1.1!important}
 body .header .header-actions>.ai-network{grid-column:2;grid-row:1;justify-self:end}
 body .header .header-actions>.btn-login{grid-column:1;grid-row:2;justify-self:start}
 body .header .header-actions>.btn-register{grid-column:2;grid-row:2;justify-self:end}
 body .header .btn-login,body .header .btn-register{height:44px!important;min-height:44px!important;padding:0 14px!important;font-size:14px!important;box-sizing:border-box}
 body .presentation-hero-section{margin-top:114px!important}
 body .landing-main{padding-top:114px!important}
}
@media(max-width:520px){body .header .ai-network>summary{font-size:12px!important}}
@media(max-width:360px){body .header .ask-ai>.text{font-size:11.5px!important}}
header[data-ai-network-service-header]{position:static;display:flex;justify-content:flex-end;padding:16px 20px;box-sizing:border-box}
