.apex-site-header { position:relative; z-index:50; display:flex; align-items:center; gap:16px; padding:12px 20px; background:var(--navy); color:var(--on-dark); border-bottom:1px solid #ffffff26; }
.apex-site-header a { color:var(--on-dark); text-decoration:none; }
.apex-brand { flex:none; display:flex; align-items:center; min-width:44px; min-height:44px; }
.apex-brand .logo-nav { display:block; width:52px; height:44px; }
.apex-primary { display:flex; gap:22px; align-items:center; justify-content:center; flex:1; font-size:14px; }
.apex-primary > a,.apex-primary summary { display:flex; align-items:center; min-height:44px; padding:8px 0; font-weight:600; cursor:pointer; white-space:nowrap; }
.apex-primary summary { list-style:none; gap:7px; }
.apex-primary summary::-webkit-details-marker { display:none; }
.apex-primary summary::after { content:""; border:4px solid transparent; border-bottom:0; border-top-color:currentColor; }
.apex-disclosure { position:relative; }
.apex-submenu { position:absolute; top:100%; left:-12px; min-width:290px; padding:8px 0; background:#161b21; border:1px solid #ffffff30; box-shadow:0 10px 24px #0004; }
.apex-submenu a { display:flex; align-items:center; min-height:44px; padding:8px 16px; }
.apex-submenu a:hover,.apex-submenu a:focus-visible { background:#ffffff15; }
.apex-primary [aria-current="page"] { color:#fff; text-decoration:underline; text-underline-offset:6px; }
.apex-help { display:flex; align-items:center; justify-content:center; min-height:44px; padding:10px 16px; background:var(--accent); font-size:14px; font-weight:700; white-space:nowrap; }
.apex-help:hover { background:var(--accent-dark); }
.apex-menu-toggle,.apex-menu-close { display:none; min-height:44px; min-width:44px; padding:8px 12px; border:1px solid #ffffff80; background:transparent; color:#fff; font:600 14px var(--font); cursor:pointer; }
.apex-primary .apex-mobile-contact { display:none; }
.apex-site-footer { padding:48px 32px 28px; background:var(--navy); color:var(--on-dark-muted); }
.apex-footer-columns { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:32px; max-width:1120px; margin:auto; }
.apex-site-footer h2 { color:#fff; font-size:17px; margin:0 0 12px; }
.apex-site-footer ul { list-style:none; margin:0; padding:0; }
.apex-site-footer a { color:var(--on-dark-muted); text-decoration:none; }
.apex-site-footer nav a { display:flex; align-items:center; min-height:44px; padding:6px 0; font-size:14px; }
.apex-site-footer a:hover { color:#fff; text-decoration:underline; }
.apex-footer-bottom { max-width:1120px; margin:32px auto 0; padding-top:20px; border-top:1px solid #ffffff30; font-size:13px; line-height:2; }
.apex-footer-bottom a { display:inline-block; padding:4px 0; }
@media (max-width:1099px) {
 .apex-site-header { gap:10px; padding:10px 16px; flex-wrap:wrap; }
 .apex-brand .logo-nav { width:44px; height:44px; }
 .apex-help { margin-left:auto; padding:8px; font-size:12px; }
 .apex-menu-toggle { display:block; }
 .apex-primary { order:4; flex-basis:100%; align-items:stretch; flex-direction:column; gap:0; padding:12px 0; font-size:15px; }
 .apex-site-header[data-ready] .apex-primary { display:none; }
 .apex-site-header[data-ready][data-menu-open] .apex-primary { display:flex; }
 .apex-site-header[data-ready] .apex-menu-close { display:block; align-self:flex-end; }
 .apex-primary .apex-mobile-contact { display:flex; }
 .apex-submenu { position:static; min-width:0; border:0; box-shadow:none; padding-left:12px; }
 .apex-menu-toggle { display:none; }
 .apex-site-header[data-ready] .apex-menu-toggle { display:block; }
 .apex-site-footer { padding:36px 20px 24px; }
 .apex-footer-columns { grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
}

.apex-footer-label { display:block; margin-top:4px; font-size:13px; }
@media print { .apex-site-header,.apex-site-footer,.skip-link { display:none!important; } }
.apex-primary > a,.apex-primary summary { min-width:44px; }
.apex-footer-bottom a { display:inline-flex; align-items:center; min-height:44px; }
.skip-link { min-height:44px; display:inline-flex; align-items:center; }

/* Keep the introductory article and first word in one text block on narrow screens. */
.steps li > span { display:block; word-break:normal; overflow-wrap:normal; hyphens:none; }
@media (max-width:359px) { .apex-help { white-space:normal; max-width:180px; text-align:center; } }

@media (min-width:900px) and (max-width:1100px) {
 .apex-site-header { gap:12px; padding:12px 16px; }
 .apex-primary { gap:12px; font-size:13px; }
 .apex-help { font-size:13px; padding:10px 12px; }
}

/* Text-only resizing: let content wrap without changing normal-size layouts. */
main :is(h1,h2,h3,p,li,dt,dd),.apex-site-footer { overflow-wrap:anywhere; }
.split > *,.apex-footer-columns > nav { min-width:0; }
.statbox .row > * { min-width:0; overflow-wrap:anywhere; }
.btn { white-space:normal; max-width:100%; }
/* Prose link color must not obscure a filled button's white label. */
.prose a.btn:not(.outline):not(.ghost) { color:#fff; }
@media (max-width:899px) {
 .apex-help { white-space:normal; max-width:calc(100% - 54px); text-align:center; }
 .apex-primary > a,.apex-primary summary { white-space:normal; }
}
