/* Scoped final polish; preserve existing app layout. */
.ad-next-app .ad-next-topbar.nav-inner { box-sizing:border-box!important; width:auto!important; }
.ad-next-app .ad-next-wordmark { flex:0 0 auto!important; overflow:visible!important; min-width:max-content!important; }
.ad-next-app .ad-next-top-actions { min-width:0; }
.ad-next-app .ad-next-rail-brand img { object-fit:contain!important; max-width:100%!important; }
.ad-next-app .page-hero h1,.ad-next-app .page-hero .page-title { color:var(--nx-fg)!important; }
#beta-banner,#beta-banner strong { color:#fff!important; } #beta-banner { padding-inline:42px!important; } #beta-banner a { color:#a8e7ff!important; } #beta-banner button { color:#fff!important; }
.ad-rankings .ad-tier-pill,.ad-rankings .ad-tier-pill span { color:var(--nx-fg)!important; background:var(--nx-card)!important; }
.ad-public-cta { display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:0 0 28px; }
.ad-public-cta .ad-next-primary-btn { margin:0; }
.ad-public-outline { display:inline-flex;align-items:center;min-height:44px;padding:10px 16px;border:1px solid var(--nx-line);border-radius:12px;background:var(--nx-card);color:var(--nx-fg)!important;text-decoration:none!important;font-weight:700; }
.ad-demo-label { display:block;color:#c4d9f2!important;font-size:10px;letter-spacing:.08em;font-weight:800;margin-top:15px; }
.ad-demo-details { color:#e3edf9;margin:12px 0; } .ad-demo-details summary { cursor:pointer;font-weight:700; } .ad-demo-details p { color:#d5e1f1!important; font-size:13px; }
#ad-demo-passport { scroll-margin-top:20px; }
@media(max-width:740px){.ad-public-cta{gap:8px}.ad-next-app .ad-next-wordmark{font-size:21px!important}}

/* 2.3.10 — one alignment coordinate system for the rail, header, main and footer. */
@media(min-width:741px){
 .ad-next-app{--ad-shell-edge:max(0px,calc((100% - 1680px)/2));--ad-shell-rail:112px;--ad-shell-gutter:clamp(18px,2.5vw,36px)}
 .ad-next-app .ad-next-rail{left:calc(max(0px,(100vw - 1680px)/2) + 18px)!important}
 .ad-next-app .site-main,.ad-next-app .site-footer.ax-footer,.ad-next-app .ad-next-topbar.nav-inner{box-sizing:border-box!important;width:auto!important;min-width:0!important;max-width:none!important;margin-left:calc(var(--ad-shell-edge) + var(--ad-shell-rail))!important;margin-right:var(--ad-shell-edge)!important}
 .ad-next-app .site-main,.ad-next-app .ad-next-topbar.nav-inner{padding-left:var(--ad-shell-gutter)!important;padding-right:var(--ad-shell-gutter)!important}
 .ad-next-app .ad-mh-detail-page>.container{width:100%!important;max-width:100%!important;min-width:0!important;margin-inline:0!important}
 .ad-next-app .ad-next-topbar.nav-inner .ad-next-top-actions{flex-shrink:0}
}
@media(min-width:741px) and (max-width:970px){.ad-next-app{--ad-shell-rail:88px;--ad-shell-gutter:18px}.ad-next-app .ad-next-rail{left:9px!important}}
@media(max-width:740px){.ad-next-app .site-main,.ad-next-app .site-footer.ax-footer,.ad-next-app .ad-next-topbar.nav-inner{min-width:0!important;max-width:100%!important;margin-inline:0!important;box-sizing:border-box!important}.ad-next-app .ad-mh-detail-page>.container{width:100%!important;max-width:100%!important;min-width:0!important}.ad-next-app .ad-next-topbar.nav-inner{gap:8px!important}.ad-next-app .ad-next-top-actions{gap:5px!important}}

/* 2.3.11 — correct low contrast in shared navigation and match surfaces. */
.ad-next-app .ad-next-wordmark{color:var(--nx-fg)!important}
.ad-next-app .ad-next-wordmark span{color:inherit!important}
.ad-next-app .ad-next-rail-links{min-height:0;overflow:visible;scrollbar-width:auto}
.ad-next-app .ad-next-rail-link{flex-shrink:0}
.ad-next-app .ad-mh a.ad-mh-primary,.ad-next-app .ad-mh button.ad-mh-primary{background:#116438!important;border-color:#116438!important;color:#fff!important}
.ad-next-app .ad-mh a.ad-mh-primary:hover,.ad-next-app .ad-mh button.ad-mh-primary:hover{background:#0b502c!important}
.ad-next-app .ad-mh a.ad-mh-secondary{color:var(--nx-fg)!important}
@media(min-width:741px){.ad-next-app .ad-mh-detail-page>.container{max-width:1400px!important;margin-inline:auto!important}}
@media(max-width:740px){.ad-next-app .ad-next-topbar.nav-inner{min-width:0!important}.ad-next-app .ad-next-top-actions .ad-next-login-pill span{display:none}.ad-next-app .ad-next-top-actions .ad-next-login-pill{min-width:0!important;padding:9px!important}}
