/* WEB-0020: structural document header fix; based on actual pages.json markup. */
:root{--spider-nav-height:76px}
html{scroll-padding-top:88px}
body{padding-top:76px!important}
header.header{position:fixed!important;top:0!important;left:0!important;right:0!important;width:100%!important;max-width:100vw!important;z-index:9500!important;background:rgba(5,12,24,.97)!important;transform:none!important;box-sizing:border-box!important}
header.header .header-wrap,header.header .header-inner{width:min(1200px,calc(100% - 28px))!important;min-height:76px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;flex-wrap:nowrap!important;gap:12px!important;margin:0 auto!important}
header.header .brand{display:flex!important;align-items:center!important;flex:0 1 auto!important;min-width:0!important;max-width:calc(100% - 62px)!important;gap:12px!important}
header.header .brand img,header.header .brand .spider-document-logo{display:block!important;flex:0 0 46px!important;width:46px!important;height:46px!important;object-fit:contain!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important}
header.header .brand-copy{min-width:0!important;overflow:hidden!important}
header.header .brand-copy>*{overflow:hidden!important;white-space:nowrap!important;text-overflow:ellipsis!important}
@media(max-width:1024px){
 :root{--spider-nav-height:70px}
 body{padding-top:70px!important}
 header.header .header-wrap,header.header .header-inner{min-height:70px!important}
 header.header .nav,header.header .header-actions,header.header .nav-shell{display:none!important}
 header.header .mobile-toggle{display:grid!important;place-items:center!important;flex:0 0 46px!important;width:46px!important;height:46px!important;position:relative!important;inset:auto!important;margin:0 0 0 auto!important;z-index:9502!important}
 header.header .mobile-panel{display:none!important;position:fixed!important;top:70px!important;left:12px!important;right:12px!important;width:auto!important;max-height:calc(100dvh - 82px)!important;overflow:auto!important;z-index:9501!important}
 header.header .mobile-panel.open,header.header .mobile-panel.is-open,header.header .mobile-panel[data-open="true"]{display:grid!important;grid-template-columns:1fr!important;align-items:stretch!important}
 header.header .mobile-panel a,header.header .mobile-panel button{max-width:100%!important;white-space:normal!important;overflow-wrap:anywhere!important}
}
