@font-face{font-family:"Atkinson Hyperlegible";font-style:normal;font-weight:400;font-display:swap;src:url("fonts/atkinson-400.ttf") format("truetype")}
@font-face{font-family:"Atkinson Hyperlegible";font-style:normal;font-weight:700;font-display:swap;src:url("fonts/atkinson-700.ttf") format("truetype")}
/* ---------- Accessibility button and panel ---------- */
.np-a11y{position:fixed;left:16px;bottom:var(--np-a11y-bottom,16px);z-index:99990;font-family:inherit!important;font-size:16px;line-height:1.4;color:#2E2640}
.np-a11y *{box-sizing:border-box}
.np-a11y-btn{display:inline-flex;align-items:center;gap:8px;min-height:48px;min-width:48px;padding:10px 16px 10px 12px;background:#4B3A73;color:#fff;border:2px solid #fff;border-radius:999px;box-shadow:0 2px 10px rgba(46,38,64,.35);cursor:pointer;font-weight:700;font-size:16px;line-height:1;font-family:inherit}
.np-a11y-btn:hover{background:#2E2640;color:#fff}
.np-a11y-btn:focus-visible,.np-a11y button:focus-visible,.np-a11y input:focus-visible+span{outline:3px solid #f3c681;outline-offset:2px}
.np-a11y-btn svg{flex:none}
@media(max-width:600px){.np-a11y-btn{padding:10px}.np-a11y-btn-label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}}
.np-a11y-panel{position:absolute;left:0;bottom:60px;width:min(360px,calc(100vw - 32px));max-height:min(78vh,640px);overflow:auto;background:#fff;color:#2E2640;border:2px solid #2E2640;border-radius:16px;box-shadow:0 8px 28px rgba(46,38,64,.3)}
.np-a11y-panel[hidden]{display:none}
.np-a11y-head{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;background:#EFE9F8;border-bottom:2px solid #2E2640;position:sticky;top:0}
.np-a11y-head h2{margin:0;font-weight:700;font-size:1.15rem;line-height:1.2;font-family:inherit!important;color:#2E2640}
.np-a11y-close{width:44px;height:44px;border:2px solid #2E2640;border-radius:10px;background:#fff;color:#2E2640;font-size:26px;line-height:1;cursor:pointer}
.np-a11y-body{padding:12px 16px 16px}
.np-a11y-group{border:0;margin:0 0 14px;padding:0;min-width:0}
.np-a11y-group legend{font-weight:700;padding:0;margin-bottom:6px}
.np-a11y-opts{display:flex;flex-wrap:wrap;gap:6px}
.np-a11y-opt,.np-a11y-switch{position:relative;cursor:pointer}
.np-a11y-opt input,.np-a11y-switch input{position:absolute;opacity:0;width:100%;height:100%;margin:0;cursor:pointer}
.np-a11y-opt span{display:inline-block;min-height:44px;padding:10px 14px;border:2px solid #7B7390;border-radius:10px;background:#fff;font-weight:700}
.np-a11y-opt input:checked+span{background:#C3D6C1;border-color:#2E2640}
.np-a11y-switch{display:block;margin:0 0 8px}
.np-a11y-switch span{display:flex;align-items:center;gap:10px;min-height:44px;padding:10px 14px;border:2px solid #7B7390;border-radius:10px;font-weight:700}
.np-a11y-switch span::before{content:"";flex:none;width:22px;height:22px;border:2px solid #2E2640;border-radius:6px;background:#fff}
.np-a11y-switch input:checked+span{background:#C3D6C1;border-color:#2E2640}
.np-a11y-switch input:checked+span::before{background:#2E2640 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E") center/16px no-repeat}
.np-a11y-reset{width:100%;min-height:44px;margin-top:4px;padding:10px 14px;border:2px solid #2E2640;border-radius:10px;background:#fff;color:#2E2640;font-weight:700;font-size:16px;line-height:1.2;font-family:inherit;cursor:pointer}
.np-a11y-reset:hover{background:#EFE9F8}
.np-a11y-note{margin:10px 0 0;font-size:.9rem;color:#4A4258}

/* ---------- The settings themselves (html[data-np-*] is set by the script) ---------- */
/* Text size: scales rem-based text everywhere; body and menus follow it */
html[data-np-size="1"]{font-size:112.5%}
html[data-np-size="2"]{font-size:125%}
html[data-np-size="3"]{font-size:150%}
html[data-np-size] body{font-size:1.125rem}
html[data-np-size] .ct-menu-link,html[data-np-size] .ct-footer,html[data-np-size] .entry-content,
html[data-np-size] .entry-content p,html[data-np-size] .entry-content li,html[data-np-size] .wp-block-button__link,
html[data-np-size] input,html[data-np-size] select,html[data-np-size] textarea{font-size:1.125rem!important}
html[data-np-size] .np-a11y{font-size:16px}

/* Font */
html[data-np-font="plain"] body,html[data-np-font="plain"] h1,html[data-np-font="plain"] h2,html[data-np-font="plain"] h3,
html[data-np-font="plain"] h4,html[data-np-font="plain"] h5,html[data-np-font="plain"] h6,html[data-np-font="plain"] .site-title,
html[data-np-font="plain"] .entry-title,html[data-np-font="plain"] .wp-block-heading,
html[data-np-font="plain"] .ct-footer .widget-title,html[data-np-font="plain"] .ct-widget .widget-title,
html[data-np-font="plain"] .ct-menu-link,html[data-np-font="plain"] button,html[data-np-font="plain"] input{font-family:"Atkinson Hyperlegible",Verdana,sans-serif!important}
html[data-np-font="system"] body,html[data-np-font="system"] h1,html[data-np-font="system"] h2,html[data-np-font="system"] h3,
html[data-np-font="system"] h4,html[data-np-font="system"] h5,html[data-np-font="system"] h6,html[data-np-font="system"] .site-title,
html[data-np-font="system"] .entry-title,html[data-np-font="system"] .wp-block-heading,
html[data-np-font="system"] .ct-footer .widget-title,html[data-np-font="system"] .ct-widget .widget-title,
html[data-np-font="system"] .ct-menu-link,html[data-np-font="system"] button,html[data-np-font="system"] input{font-family:system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif!important}

/* Line spacing */
html[data-np-lh="1"] body,html[data-np-lh="1"] p,html[data-np-lh="1"] li{line-height:1.9!important}
html[data-np-lh="2"] body,html[data-np-lh="2"] p,html[data-np-lh="2"] li{line-height:2.25!important}
html[data-np-lh] h1,html[data-np-lh] h2,html[data-np-lh] h3{line-height:1.3!important}

/* Letter and word spacing */
html[data-np-ls="1"] body{letter-spacing:.04em!important;word-spacing:.12em!important}
html[data-np-ls="2"] body{letter-spacing:.08em!important;word-spacing:.24em!important}

/* High contrast (light): white page, black text, dark links, black borders */
html[data-np-contrast="high"] body,html[data-np-contrast="high"] .ct-footer,html[data-np-contrast="high"] .ct-header,
html[data-np-contrast="high"] .np-box,html[data-np-contrast="high"] .np-quick,html[data-np-contrast="high"] .np-intro,html[data-np-contrast="high"] .np-chart-card,html[data-np-contrast="high"] .np-pinrow,html[data-np-contrast="high"] .wp-block-details,
html[data-np-contrast="high"] .has-background{background:#fff!important;color:#000!important}
html[data-np-contrast="high"] body *:not(svg):not(path):not(.np-a11y *):not(.wp-block-button__link){color:#000!important;border-color:#000!important}
html[data-np-contrast="high"] a,html[data-np-contrast="high"] .ct-footer a{color:#00339b!important;text-decoration:underline!important}
html[data-np-contrast="high"] .np-box,html[data-np-contrast="high"] .np-quick,html[data-np-contrast="high"] .np-chart-card,html[data-np-contrast="high"] .wp-block-details{border:2px solid #000!important}
html[data-np-contrast="high"] .wp-block-button__link{background:#000!important;color:#fff!important;border:2px solid #000!important}
html[data-np-contrast="high"] .wp-block-button.is-style-outline .wp-block-button__link{background:#fff!important;color:#000!important}

/* Underline all links */
html[data-np-links="on"] a:not(.wp-block-button__link):not(.np-a11y *){text-decoration:underline!important;text-underline-offset:3px;text-decoration-thickness:2px}

/* Stop animations and movement */
html[data-np-motion="on"] *,html[data-np-motion="on"] *::before,html[data-np-motion="on"] *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}

/* Narrow text columns (easier tracking) */
html[data-np-narrow="on"] .entry-content > p,html[data-np-narrow="on"] .entry-content > ul,html[data-np-narrow="on"] .entry-content > ol{max-width:36em!important;margin-left:auto!important;margin-right:auto!important}


@media print{.np-a11y{display:none}}

.np-tts{margin:0 0 18px;padding:0 0 14px;border-bottom:1px solid #D9D0EA}
.np-tts h3{font-weight:700;font-size:1rem;line-height:1.3;font-family:inherit;margin:0 0 8px}
.np-tts-btns{display:flex;gap:8px;margin-bottom:6px}
.np-tts-btns button{flex:1;min-height:48px;padding:10px 14px;border:2px solid #4B3A73;border-radius:10px;background:#C3D6C1;color:#2E2640;font-weight:700;font-size:16px;line-height:1.2;font-family:inherit;cursor:pointer}
.np-tts-btns .np-tts-stop{flex:0 0 auto;background:#fff;border-color:#2E2640}
.np-tts-btns button[disabled]{opacity:.5;cursor:not-allowed}
.np-tts-btns button:focus-visible{outline:3px solid #2E2640;outline-offset:2px}
