@font-face{font-family:"Atkinson Hyperlegible";src:url('/assets/fonts/AtkinsonHyperlegible-Regular.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Atkinson Hyperlegible";src:url('/assets/fonts/AtkinsonHyperlegible-Bold.ttf') format('truetype');font-weight:700;font-style:normal;font-display:swap}
:root{--action-blue:#0d3478;--action-hover:#0a2559}
/* Filled buttons stay white on a dark background in every colour mode. */
.btn:not(.alt),header.top .btn,.np-page .np-button,.np-button{background:var(--action-blue)!important;border-color:var(--action-blue)!important;color:#fff!important}
.btn:not(.alt):is(:hover,:focus-visible),header.top .btn:is(:hover,:focus-visible),.np-page .np-button:is(:hover,:focus-visible),.np-button:is(:hover,:focus-visible){background:var(--action-hover)!important;border-color:var(--action-hover)!important;color:#fff!important}
.psv-preferences{width:min(850px,calc(100% - 28px));max-height:calc(100dvh - 28px);margin:auto;padding:26px;border:2px solid #52647b;border-radius:12px;background:#fff;color:#172033;box-shadow:0 12px 60px #0005;overflow:auto;overscroll-behavior:contain;font:400 17px/1.6 Barlow,Arial,sans-serif;color-scheme:light}
.psv-preferences::backdrop{background:#10263fb8}
.psv-preferences p{max-width:none;margin:0 0 14px}
.psv-preferences h2,.psv-preferences h3{color:#10263f;line-height:1.2}
.psv-preferences h2{font-size:clamp(1.5rem,4vw,2rem);margin:0}
.psv-preferences h3{font-size:1.4rem;margin:0 0 12px}
.psv-preference-heading{display:flex;align-items:flex-start;gap:16px;justify-content:space-between;margin-bottom:16px}
.psv-close,.psv-accessibility-trigger{background:#fff;color:#10263f;border:2px solid #52647b;border-radius:8px;padding:10px 14px;min-height:44px;font:600 1rem/1.3 Barlow,Arial,sans-serif;cursor:pointer}
.psv-close:hover,.psv-accessibility-trigger:hover{background:#eef5fb}
.psv-preference-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;margin:20px 0}
.psv-preference-grid section{padding:18px;border:1px solid #bbc9d9;border-radius:8px;background:#f3f7fb;min-width:0}
.psv-preferences fieldset{margin:0;padding:0;border:0;min-width:0}
.psv-preferences legend{font-weight:700;margin-bottom:8px}
.psv-preference-choice{display:flex;align-items:center;gap:12px;justify-content:space-between;border:1px solid #b5c5d7;border-radius:6px;background:#fff;color:#172033;padding:12px;margin-bottom:10px}
label.psv-preference-choice{cursor:pointer}
.psv-preference-choice:has(input:checked){border:2px solid #0d3478;padding:11px}
.psv-preference-choice:has(input:disabled){cursor:default}
.psv-preference-choice small{display:block;font-size:.875rem;line-height:1.5;margin-top:4px}
.psv-preference-choice input{width:22px;height:22px;flex:0 0 22px;margin:0;accent-color:#0d3478;cursor:pointer}
.psv-preferences [name="psv-display"]+span,.psv-preferences #psv-font+span{flex:1}
.psv-preferences a{color:#0d3478;text-decoration:underline;text-underline-offset:3px}
.psv-preference-note{font-size:.875rem;line-height:1.6}
.psv-preference-actions{display:flex;flex-wrap:wrap;gap:12px}
.psv-preference-actions .btn{flex:1;min-width:150px;min-height:48px;padding:12px;font:700 1rem/1.4 Barlow,Arial,sans-serif;cursor:pointer}
.psv-preferences :focus-visible,.psv-accessibility-trigger:focus-visible,.psv-cookie-settings:focus-visible{outline:3px solid #b45309;outline-offset:4px}
.psv-accessibility-trigger{position:fixed;bottom:16px;left:16px;z-index:40;border-radius:99px;box-shadow:0 2px 12px #0002}
.psv-cookie-settings{font:inherit;color:inherit;background:transparent;border:0;padding:8px 0;text-align:left;text-decoration:underline;text-underline-offset:3px;cursor:pointer;min-height:44px}
footer .psv-cookie-settings{color:#fff}
.psv-preference-status:empty{display:none}
.psv-preference-status:not(:empty){position:fixed;bottom:76px;left:16px;right:16px;z-index:45;max-width:650px;margin:0;padding:14px;background:#fff;color:#10263f;border:2px solid #52647b;border-radius:8px}
html[data-font="hyperlegible"] body,html[data-view-mode="easy-read"] body{font-family:"Atkinson Hyperlegible",Arial,sans-serif}
html[data-font="hyperlegible"] :is(h1,h2,h3,.brand,.btn,.np-button,.psv-preferences,.psv-close,.psv-accessibility-trigger),html[data-view-mode="easy-read"] :is(h1,h2,h3,.brand,.btn,.np-button,.psv-preferences,.psv-close,.psv-accessibility-trigger){font-family:"Atkinson Hyperlegible",Arial,sans-serif!important}
html[data-view-mode="easy-read"] body{font-size:19px;line-height:1.85}
html[data-view-mode="easy-read"] :is(.g2,.g3,.split,.np-hero,.np-body){grid-template-columns:minmax(0,1fr)}
html[data-view-mode="easy-read"] :is(p,li,.np-answer p,.np-intro){font-size:1.125rem;line-height:1.9;letter-spacing:.015em}
html[data-view-mode="easy-read"] .np-hero figure{max-width:380px}
html[data-view-mode="easy-read"] .np-aside figure{max-width:280px}
html[data-view-mode="easy-read"] .psv-preferences{font-size:19px;line-height:1.75}
html[data-view-mode="easy-read"] .psv-preferences :is(p,small){font-size:1rem;line-height:1.75}
html[data-view-mode="easy-read"] .psv-preference-grid{grid-template-columns:1fr}
html[data-view-mode="easy-read"] header.top{position:static}
html[data-view-mode="high-contrast"]{--bg:#fff!important;--bg-alt:#fff!important;--card:#fff!important;--text:#000!important;--muted:#000!important;--navy:#000!important;--navy-d:#000!important;--blue-d:#00357a!important;--line:#000!important;--action-blue:#000;--action-hover:#222;color-scheme:light}
html[data-view-mode="high-contrast"] :is(body,.np-page,.np-closing,.np-card,.psv-preferences,.psv-preference-grid section,.psv-preference-choice,.psv-close,.psv-accessibility-trigger){background:#fff!important;color:#000!important}
html[data-view-mode="high-contrast"] :is(h1,h2,h3,.np-answer p,.np-intro,.np-subtitle,.np-page figcaption,.np-card p,.np-closing p,.np-eyebrow,.brand){color:#000!important}
html[data-view-mode="high-contrast"] a:not(.btn):not(.np-button):not(.brand){color:#00357a;text-decoration:underline}
html[data-view-mode="high-contrast"] :is(.panel,footer){background:#000!important;color:#fff!important}
html[data-view-mode="high-contrast"] :is(.panel,footer) :is(h2,h3,p,li,a){color:#fff!important}
html[data-view-mode="high-contrast"] .hero{background:#fff}
html[data-view-mode="high-contrast"] :is(.card,.tag,.np-card,.psv-preference-choice,.psv-preference-grid section){border:2px solid #000}
html[data-view-mode="high-contrast"] :focus-visible{outline:3px solid #a64000!important;outline-offset:4px}
@media(max-width:650px){.psv-preferences{padding:18px;width:calc(100% - 16px);max-height:calc(100dvh - 16px)}.psv-preference-grid{grid-template-columns:1fr;gap:14px}.psv-preference-heading{flex-wrap:wrap}.psv-preference-heading h2{flex:1;min-width:180px}.psv-preference-actions{flex-direction:column}.psv-preference-actions .btn{width:100%;flex:auto}.psv-accessibility-trigger{bottom:10px;left:10px}.psv-preference-grid section{padding:14px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
@media print{.psv-preferences,.psv-accessibility-trigger,.psv-cookie-settings,.psv-preference-status{display:none!important}}
