/* Higher Is Waiting Accessibility Tools */
.hiw-a11y-btn{position:fixed;left:max(16px,env(safe-area-inset-left,0px));bottom:calc(16px + env(safe-area-inset-bottom,0px));z-index:99990;width:52px;height:52px;border-radius:50%;border:2px solid #fff;background:#1F3E9A;color:#fff;display:grid;place-items:center;cursor:pointer;box-shadow:0 8px 24px -8px rgba(14,34,64,.6);padding:0}
.hiw-a11y-btn:hover{background:#0E2240}
.hiw-a11y-btn:focus-visible,.hiw-a11y-panel button:focus-visible,.hiw-a11y-panel a:focus-visible{outline:3px solid #F6B92B;outline-offset:3px}
.hiw-a11y-btn svg{width:28px;height:28px}
.hiw-a11y-panel{position:fixed;left:max(16px,env(safe-area-inset-left,0px));bottom:calc(80px + env(safe-area-inset-bottom,0px));z-index:99991;width:min(340px,calc(100vw - 32px));max-height:calc(100vh - 110px);overflow:auto;background:#fff;color:#0E2240;border-radius:18px;box-shadow:0 24px 60px -20px rgba(14,34,64,.55);padding:18px;font:16px/1.4 system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;letter-spacing:0}
.hiw-a11y-panel[hidden]{display:none!important}
.hiw-a11y-panel h2{font:700 18px/1.2 system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;margin:0 0 4px;color:#0E2240}
.hiw-a11y-panel p.hiw-a11y-sub{margin:0 0 14px;font-size:14px;color:#4a5872}
.hiw-a11y-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.hiw-a11y-panel button.opt{display:flex;flex-direction:column;align-items:flex-start;gap:2px;text-align:left;border:2px solid #d7deea;background:#f5f7fb;color:#0E2240;border-radius:12px;padding:10px 12px;font:600 14px/1.25 inherit;cursor:pointer;min-height:56px}
.hiw-a11y-panel button.opt small{font-weight:400;font-size:12px;color:#4a5872}
.hiw-a11y-panel button.opt[aria-pressed="true"]{border-color:#1F3E9A;background:#e6ecfb}
.hiw-a11y-size{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:8px;border:2px solid #d7deea;background:#f5f7fb;border-radius:12px;padding:8px 10px}
.hiw-a11y-size span{font-weight:600;font-size:14px}
.hiw-a11y-size button{width:40px;height:40px;border-radius:10px;border:2px solid #1F3E9A;background:#fff;color:#1F3E9A;font:700 18px/1 inherit;cursor:pointer}
.hiw-a11y-foot{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:14px;font-size:14px}
.hiw-a11y-foot a{color:#1F3E9A;font-weight:600}
.hiw-a11y-foot button{border:0;background:none;color:#0E2240;text-decoration:underline;font:600 14px/1 inherit;cursor:pointer;padding:6px}
.hiw-a11y-sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* Text size */
html.a11y-t1{font-size:112.5%!important}
html.a11y-t2{font-size:125%!important}
html.a11y-t3{font-size:137.5%!important}

/* High contrast */
html.a11y-contrast body,html.a11y-contrast body *:not(svg):not(path):not(img):not(video):not(.hiw-a11y-panel):not(.hiw-a11y-panel *){background-color:#000!important;color:#fff!important;border-color:#fff!important;text-shadow:none!important;box-shadow:none!important}
html.a11y-contrast body a:not(#hiwA11yPanel a),html.a11y-contrast body a:not(#hiwA11yPanel a) *{color:#ffe14d!important}
html.a11y-contrast .hiw-a11y-btn{background:#000!important;border-color:#ffe14d!important;color:#ffe14d!important}

/* Underline links */
html.a11y-links body a:not(.hiw-a11y-panel a){text-decoration:underline!important;text-underline-offset:3px!important}

/* Readable font */
html.a11y-font body,html.a11y-font body *:not(svg):not(path){font-family:Arial,Helvetica,"Segoe UI",sans-serif!important;font-stretch:normal!important;letter-spacing:.01em!important}

/* Line spacing */
html.a11y-spacing body p,html.a11y-spacing body li,html.a11y-spacing body span,html.a11y-spacing body a,html.a11y-spacing body label{line-height:1.8!important;letter-spacing:.03em!important;word-spacing:.08em!important}

/* Stop animations */
html.a11y-motion *,html.a11y-motion *::before,html.a11y-motion *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
html.a11y-motion .rv,html.a11y-motion [class*="rv"]{opacity:1!important;transform:none!important}

/* Strong focus outline */
html.a11y-focus *:focus,html.a11y-focus *:focus-visible{outline:3px solid #F6B92B!important;outline-offset:3px!important}

@media print{.hiw-a11y-btn,.hiw-a11y-panel{display:none!important}}
