/* accessibility: skip link, side tab, panel and the user-selected modes */
.a11y-skip{position:absolute;left:8px;top:-80px;z-index:200;background:#fff;color:#111;padding:10px 16px;border:3px solid #0f4a52;border-radius:8px;font:700 16px/1.3 system-ui,sans-serif;text-decoration:none}
.a11y-skip:focus{top:8px}
#main:focus{outline:none}
.a11y-tab,#a11yTab.a11y-tab{position:fixed;left:0;top:38%;z-index:90;display:flex;flex-direction:column;align-items:center;gap:8px;padding:12px 7px;background:#0055a5;color:#fff;border:2px solid #fff;border-left:0;border-radius:0 12px 12px 0;cursor:pointer;font:700 13px/1.1 system-ui,sans-serif;box-shadow:2px 2px 10px rgba(0,0,0,.35)}
.a11y-tab span{writing-mode:vertical-rl;letter-spacing:.04em}
.a11y-tab:hover,#a11yTab.a11y-tab:hover{background:#003f7d}
#a11yTab.a11y-tab{background:#0055a5;color:#fff;border:2px solid #fff;border-left:0;border-radius:0 12px 12px 0}
#a11yTab.a11y-tab:hover{background:#003f7d}
.a11y-tab:focus-visible,.a11y-panel button:focus-visible,.a11y-panel a:focus-visible{outline:3px solid #ffbf00;outline-offset:2px}
.a11y-panel{position:fixed;left:54px;top:12%;z-index:91;width:min(300px,calc(100vw - 70px));max-height:76vh;overflow:auto;background:#fff;color:#111;border:3px solid #0055a5;border-radius:14px;box-shadow:0 10px 32px rgba(0,0,0,.4);font:500 15px/1.4 system-ui,sans-serif}
.a11y-panel[hidden]{display:none}
.a11y-h{display:flex;justify-content:space-between;align-items:center;gap:8px;background:#0055a5;color:#fff;padding:10px 14px;border-radius:10px 10px 0 0}
.a11y-h b{font-size:16px}
.a11y-panel .a11y-x{background:transparent;color:#fff;border:2px solid #fff;border-radius:8px;width:34px;height:34px;font-size:22px;line-height:1;cursor:pointer}
.a11y-body{padding:12px;display:grid;gap:8px}
.a11y-zrow{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:4px 2px}
.a11y-zrow>div{display:flex;align-items:center;gap:8px}
.a11y-panel .a11y-zrow button,.a11y-panel button.a11y-opt,.a11y-panel button.a11y-reset{font:700 15px/1.2 system-ui,sans-serif;background:#f1f5f4;color:#111;border:2px solid #0f4a52;border-radius:10px;padding:9px 12px;cursor:pointer}
.a11y-panel .a11y-zrow button{min-width:48px}
.a11y-zv{min-width:48px;text-align:center;font-weight:700}
.a11y-opt{display:flex;justify-content:space-between;align-items:center;gap:10px;text-align:start}
.a11y-opt em{font-style:normal;font-size:13px;opacity:.85}
.a11y-panel button.a11y-opt[aria-pressed="true"]{background:#0055a5;color:#fff}
.a11y-panel button.a11y-reset{background:#fff}
.a11y-st{display:block;text-align:center;color:#0b3a40;font-weight:700;text-decoration:underline;padding:6px}
@media (max-width:600px){.a11y-tab span{display:none}.a11y-tab{padding:12px 6px;top:30%}}
/* contrast fixes found by the audit */
.small{opacity:1;color:var(--muted)}
.dbn .chip.on,:root:not([data-theme="light"]) .dbn .chip.on,:root[data-theme="dark"] .dbn .chip.on{color:#2a1712}
/* user-selected modes */
html.a11y-zoom body{zoom:var(--a11y-zoom,1)}
html.a11y-gray{filter:grayscale(1)}
html.a11y-noanim *,html.a11y-noanim *::before,html.a11y-noanim *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
html.a11y-font,html.a11y-font body,html.a11y-font *:not(svg):not(svg *){font-family:Arial,"Segoe UI",Tahoma,Helvetica,sans-serif!important;letter-spacing:.02em;word-spacing:.08em}
html.a11y-font body{line-height:1.7}
html.a11y-links a:not(.a11y-skip):not(.a11y-st){text-decoration:underline!important;text-decoration-thickness:2px!important;text-underline-offset:3px;background:#ffeb3b!important;color:#000!important;padding:0 3px;border-radius:3px;outline:2px solid #000}
html.a11y-hc{--bg:#000;--card:#000;--fg:#fff;--rule:#fff;--muted:#fff;--accent:#ffeb3b;--ink:#ffeb3b;--pearl:#fff;--wood:#000;--brass:#ffeb3b}
html.a11y-hc body,html.a11y-hc .card,html.a11y-hc section,html.a11y-hc header,html.a11y-hc main,html.a11y-hc nav,html.a11y-hc footer,html.a11y-hc details,html.a11y-hc #dock,html.a11y-hc .hero{background:#000!important;color:#fff!important;background-image:none!important}
html.a11y-hc a{color:#ffeb3b!important}
html.a11y-hc button,html.a11y-hc select,html.a11y-hc input,html.a11y-hc .chip,html.a11y-hc .tab{background:#000!important;color:#fff!important;border:2px solid #fff!important}
html.a11y-hc .chip.on,html.a11y-hc .tab.on{background:#ffeb3b!important;color:#000!important;border-color:#ffeb3b!important}
html.a11y-hc .a11y-tab,html.a11y-hc .a11y-panel{filter:none}
html.a11y-hc .a11y-panel{background:#000;color:#fff;border-color:#ffeb3b}
html.a11y-hc .a11y-panel button.a11y-opt,html.a11y-hc .a11y-panel .a11y-zrow button,html.a11y-hc .a11y-panel button.a11y-reset{background:#000!important;color:#fff!important;border-color:#fff!important}
html.a11y-hc .a11y-panel button.a11y-opt[aria-pressed="true"]{background:#ffeb3b!important;color:#000!important}
html.a11y-hc .a11y-panel .a11y-h{background:#000;border-bottom:2px solid #ffeb3b}
html.a11y-hc .a11y-st{color:#ffeb3b}
