/* Responsive application header: keep every control inside the sticky header. */
.stock-mobile-menu-toggle,.stock-mobile-pricing{display:none}
@media(max-width:1280px){
  body.auth-ok .stock-mobile-menu-toggle{display:grid;place-items:center;width:38px;height:38px;flex:none;border:1px solid rgba(255,255,255,.35);border-radius:8px;background:transparent;color:#fff;font-size:24px;line-height:1;cursor:pointer}
  body.auth-ok .main-nav{display:none!important;position:absolute;inset:100% 0 auto;max-height:calc(100dvh - 150px);overflow:auto;height:auto!important;gap:3px!important;padding:10px 14px;background:#095e6e;border-top:1px solid rgba(255,255,255,.2);box-shadow:0 12px 24px rgba(3,78,94,.18);z-index:50}
  body.auth-ok .main-nav.mobile-open{display:flex!important;flex-direction:column;align-items:stretch}
  body.auth-ok .main-nav>a,body.auth-ok .main-nav .popular-nav-trigger,body.auth-ok .stock-mobile-pricing{width:100%;height:auto!important;min-height:44px;justify-content:flex-start;padding:12px 14px!important;border:0!important;border-radius:8px!important;text-align:left;color:#fff!important;font:700 14px/1.3 Inter,system-ui,sans-serif;background:transparent}
  body.auth-ok .stock-mobile-pricing{display:block;cursor:pointer}
  body.auth-ok .popular-nav-wrap{width:100%;height:auto}
  body.auth-ok .popular-nav-menu{position:static;inset:auto;width:100%;max-width:100%;max-height:55dvh;overflow:auto;margin-top:4px}
  body.auth-ok .user-menu{max-width:calc(100vw - 28px);z-index:60}
}
@media(max-width:980px){
  body.auth-ok .app-nav{display:grid!important;grid-template-columns:minmax(0,1fr) auto;align-items:center;height:auto!important;min-height:0;padding:12px 14px!important;gap:12px!important;isolation:isolate}
  body.auth-ok .brand-seasonality{grid-column:1;grid-row:1;min-width:0!important;max-width:100%;gap:7px!important}
  body.auth-ok .seasonality-logo-bars{width:28px!important;height:28px!important;flex:none}
  body.auth-ok .seasonality-logo-copy{min-width:0}
  body.auth-ok .seasonality-logo-copy strong{font-size:14px!important;line-height:1.15;white-space:nowrap}
  body.auth-ok .seasonality-logo-copy small{font-size:6px!important;letter-spacing:0;white-space:nowrap}
  body.auth-ok .nav-actions{grid-column:2;grid-row:1;justify-self:end;min-width:0;gap:6px!important}
  body.auth-ok .nav-actions>button:not(.stock-mobile-menu-toggle){display:none}
  body.auth-ok .user-menu-trigger{width:36px;height:36px!important;padding:2px!important;justify-content:center}
  body.auth-ok .user-menu-trigger[hidden]{display:none!important}
  body.auth-ok .user-short-name,body.auth-ok .user-chevron{display:none}
  body.auth-ok .app-nav>.stock-pricing-trigger{display:none!important}
  body.auth-ok .global-search{grid-column:1/-1;grid-row:2;width:100%!important;min-width:0!important;max-width:none!important;height:42px!important;margin:0!important;overflow:hidden}
  body.auth-ok .global-search input{width:0;min-width:0;flex:1;font-size:16px!important}
  body.auth-ok .global-search button{flex:none;min-width:86px!important;padding:0 12px!important}
  body.auth-ok .global-intelligence-copy{min-width:0}
}

/* Mobile dashboard: content-sized cards and readable controls. */
@media(max-width:980px){
  body.auth-ok .global-intelligence-dashboard{width:100%;min-width:0;padding:0 12px 24px!important}
  body.auth-ok .global-intelligence-hero{height:auto!important;min-height:0!important;grid-template-columns:minmax(0,1fr)!important;background:linear-gradient(145deg,#f7feff,#e6f9fc)!important}
  body.auth-ok .global-intelligence-copy{padding:20px 14px 16px!important}
  body.auth-ok .global-intelligence-copy h1{font-size:clamp(24px,6vw,32px)!important;line-height:1.12!important;overflow-wrap:break-word}
  body.auth-ok .global-intelligence-copy>p{font-size:14px!important;line-height:1.5!important}
  body.auth-ok .global-hero-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  body.auth-ok .global-hero-stats article{min-width:0;min-height:88px!important;height:auto!important;padding:12px 10px!important}
  body.auth-ok .global-hero-stats article>div{min-width:0}
  body.auth-ok .global-hero-stats strong{font-size:18px!important}
  body.auth-ok .global-hero-stats small{font-size:11px!important}
  body.auth-ok .global-hero-stats em{font-size:10px!important;white-space:normal!important}
  body.auth-ok .global-dashboard-bottom,body.auth-ok .global-dashboard-bottom-right{grid-template-columns:minmax(0,1fr)!important}
  body.auth-ok .recent-research-card,body.auth-ok .global-quick-access,body.auth-ok .seasonality-quote-card{height:auto!important;min-height:0!important;padding:16px!important}
  body.auth-ok .recent-research-grid{flex:none!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  body.auth-ok .recent-research-item{height:auto!important;min-height:94px!important;grid-template-columns:42px minmax(0,1fr)!important;padding:12px!important}
  body.auth-ok .research-thumb{width:42px!important;height:42px!important;flex:none}
  body.auth-ok .recent-research-item b{font-size:13px!important}
  body.auth-ok .recent-research-item small,body.auth-ok .recent-research-item em{font-size:11px!important;line-height:1.4!important;white-space:normal!important;overflow:visible!important}
  body.auth-ok .recent-research-item em strong{font-size:11px!important}
  body.auth-ok .global-quick-access .quick-access-grid{flex:none!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  body.auth-ok .global-quick-access .quick-access-grid button{height:auto!important;min-height:104px!important;padding:14px 10px!important}
  body.auth-ok .quick-access-grid b{font-size:13px!important}
  body.auth-ok .quick-access-grid small{font-size:11px!important}
  body.auth-ok .seasonality-quote-card p{font-size:13px!important;line-height:1.6!important}
  body.auth-ok .seasonality-quote-card small{font-size:10px!important}
}
@media(max-width:600px){
  body.auth-ok .recent-research-grid{grid-template-columns:minmax(0,1fr)!important}
  body.auth-ok .recent-research-item{min-height:88px!important}
}
@media(max-width:360px){
  body.auth-ok .global-hero-stats{grid-template-columns:minmax(0,1fr)!important}
  body.auth-ok .global-hero-stats article{min-height:76px!important}
}
