
/* Unified navigation and Midnight Grid atmosphere, scoped to avoid tool styles */
html{min-height:100%}
body.mp-shell-background{min-height:100vh;background:#050e1e!important;background-image:linear-gradient(180deg,#020b1c 0%,#071a32 64%,#020b1c 100%)!important;color:#e8f1fc}
body.mp-shell-background::before{content:"";position:fixed;inset:0;z-index:-3;pointer-events:none;background:linear-gradient(90deg,rgba(0,105,255,.10),transparent 23%,transparent 77%,rgba(0,105,255,.10)),repeating-linear-gradient(0deg,transparent 0px,transparent 57px,rgba(30,109,185,.085) 58px,transparent 59px),repeating-linear-gradient(90deg,transparent 0px,transparent 69px,rgba(30,109,185,.07) 70px,transparent 71px),radial-gradient(ellipse at 50% 100%,rgba(3,81,180,.13),transparent 65%)!important}
body.mp-shell-background::after{content:none!important}
.mp-unified-header,.mp-unified-header *{box-sizing:border-box}
.mp-unified-header{position:relative;z-index:50;display:flex;align-items:center;justify-content:space-between;gap:16px;width:min(1320px,calc(100% - 32px));margin:0 auto 24px;min-height:72px;padding:10px 18px;border:1px solid #3b7caa66;border-top:0;border-radius:0 0 16px 16px;background:#08152cdd;box-shadow:0 8px 30px #0206178c;backdrop-filter:blur(18px);font:14px/1.5 Inter,system-ui,-apple-system,Segoe UI,sans-serif}
.mp-unified-header a{text-decoration:none;color:#e8f1fc}
.mp-unified-header .brand{display:flex;align-items:center;gap:12px;font-size:22px;font-weight:850;white-space:nowrap;letter-spacing:-.5px}
.mp-unified-header .brand em{color:#47e8e0;font-style:normal}
.mp-unified-header .brand-mark{display:grid;place-items:center;width:42px;height:42px;color:#70eaff;border-radius:11px;border:1px solid #36d8ff;background:linear-gradient(145deg,#08244c,#0c4081);font-size:29px;font-weight:900;box-shadow:0 0 15px #39d2b466,inset 0 0 15px #0d92ff45}
.mp-unified-header .nav{display:flex;align-items:center;gap:14px;flex-wrap:wrap;font-size:11px;font-weight:750}
.mp-unified-header .nav a{padding:9px 0;white-space:nowrap}
.mp-unified-header .nav a:hover,.mp-unified-header .nav a.active{color:#66fff2}
.mp-unified-header .nav-cta{flex-shrink:0;padding:10px 16px;border-radius:24px;font-size:12px;font-weight:850;background:linear-gradient(100deg,#02c9f0,#1279ff 65%,#9e3be9);border:1px solid #4bdfff;color:#fff}
@media(max-width:1050px){.mp-unified-header{flex-wrap:wrap}.mp-unified-header .nav{order:3;width:100%;justify-content:center}.mp-unified-header .nav-cta{margin-left:auto}}
@media(max-width:600px){.mp-unified-header{width:calc(100% - 16px);padding:12px}.mp-unified-header .nav{gap:8px 14px;justify-content:flex-start}.mp-unified-header .nav-cta{display:none}.mp-unified-header .brand{font-size:19px}}

/* v79.5 — header isolation: identical alignment on every page */
body.mp-shell-background > header.mp-unified-header,
body.mp-shell-background header.mp-unified-header{
 display:grid!important;grid-template-columns:max-content minmax(0,1fr) max-content!important;
 align-items:center!important;justify-content:initial!important;
 gap:clamp(12px,1.8vw,24px)!important;
 width:min(1320px,calc(100% - 32px))!important;
 min-height:72px!important;height:auto!important;
 margin:0 auto 24px!important;padding:10px 18px!important;
 text-align:left!important;
}
body.mp-shell-background header.mp-unified-header > a.brand{
 display:flex!important;align-items:center!important;gap:12px!important;
 margin:0!important;padding:0!important;min-width:0!important;
 font-size:clamp(17px,1.4vw,22px)!important;line-height:1.3!important;
}
body.mp-shell-background header.mp-unified-header > nav.nav{
 display:flex!important;flex-flow:row nowrap!important;align-items:center!important;
 justify-content:center!important;gap:clamp(7px,0.8vw,14px)!important;
 min-width:0!important;width:100%!important;max-width:none!important;
 margin:0!important;padding:0!important;overflow:visible!important;
 font:750 clamp(9px,0.68vw,11px)/1.4 Inter,system-ui,sans-serif!important;
}
body.mp-shell-background header.mp-unified-header > nav.nav > a{
 display:inline-block!important;flex:0 0 auto!important;white-space:nowrap!important;
 margin:0!important;padding:9px 0!important;font-size:inherit!important;
}
body.mp-shell-background header.mp-unified-header > a.nav-cta{
 display:inline-flex!important;align-items:center!important;justify-content:center!important;
 margin:0!important;white-space:nowrap!important;
}
@media(max-width:1190px){
 body.mp-shell-background header.mp-unified-header{grid-template-columns:max-content minmax(0,1fr)!important}
 body.mp-shell-background header.mp-unified-header > nav.nav{
  grid-column:1/-1!important;grid-row:2!important;
  justify-content:flex-start!important;overflow-x:auto!important;
  scrollbar-width:thin!important;padding-bottom:4px!important;
 }
 body.mp-shell-background header.mp-unified-header > a.nav-cta{grid-column:2!important;grid-row:1!important;justify-self:end!important}
}
@media(max-width:600px){
 body.mp-shell-background header.mp-unified-header{width:calc(100% - 16px)!important;padding:12px!important}
 body.mp-shell-background header.mp-unified-header > a.nav-cta{display:none!important}
 body.mp-shell-background header.mp-unified-header > nav.nav{grid-column:1/-1!important;gap:15px!important}
}
