.accessibility-launch { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex: 0 0 44px; background: var(--ink, #20342c); color: var(--paper, white); border: 2px solid currentColor; border-radius: 50%; }
.accessibility-floating { position: fixed; bottom: 22px; right: 20px; z-index: 20; width: 52px; height: 52px; box-shadow: 0 4px 20px #0003; }
#accessibility-panel { position: fixed; inset: 12px 12px 12px auto; margin: 0; width: min(350px, calc(100vw - 24px)); max-width: calc(100vw - 24px); height: calc(100dvh - 24px); max-height: calc(100dvh - 24px); padding: 20px; border-radius: 16px; overflow-y: auto; background: white; color: #17231e; border: 1px solid #cbd3ce; }
.accessibility-heading { display: flex; align-items: flex-start; gap: 12px; border-bottom: 1px solid #dbe0dc; padding-bottom: 14px; }
.accessibility-heading h2 { flex: 1; font-size: calc(18px * var(--text-scale, 1)); line-height: 1.3; margin: 0; }
.accessibility-heading button { background: white; color: #17231e; width: 44px; min-height: 44px; font-size: 28px; flex-shrink: 0; }
.accessibility-controls { display: grid; gap: 4px; padding-top: 12px; }
.accessibility-controls > button { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 10px 8px; border-radius: 8px; background: white; color: #17231e; text-align: left; font-size: calc(16px * var(--text-scale, 1)); overflow-wrap: anywhere; }
.accessibility-controls > button > span { width: 24px; flex-shrink: 0; text-align: center; }
.accessibility-controls > button:hover, .accessibility-controls > button[aria-pressed=true] { background: #e7edda; }
.accessibility-controls hr { border: 0; border-top: 1px solid #dbe0dc; width: 100%; margin: 12px 0; }
.accessibility-controls p, #accessibility-scale { font-size: calc(12px * var(--text-scale, 1)); color: #46594c; line-height: 1.6; }
.a11y-underline a, .a11y-underline .text-link, .a11y-underline .nav-link, .a11y-underline .form-switch { text-decoration: underline !important; text-underline-offset: .2em; }
.a11y-readable body, .a11y-readable button, .a11y-readable input, .a11y-readable select, .a11y-readable textarea, .a11y-readable .serif { font-family: Arial, Helvetica, sans-serif !important; font-style: normal; letter-spacing: .02em; }
.a11y-light { --paper: #fff; --soft: #fff; --surface: #fff; --ink: #17231e; --muted: #34443b; }
.a11y-light main, .a11y-light main section, .a11y-light header, .a11y-light footer, .a11y-light dialog, .a11y-light .hero-visual { background: #fff !important; }
.a11y-high { --paper: #000; --surface: #000; --soft: #000; --green: #000; --ink: #fff; --ink-hover: #fff; --muted: #fff; --line: #fff; --lime: #ffed00; --accent: #ffed00; }
.a11y-high body, .a11y-high header, .a11y-high main section, .a11y-high article, .a11y-high footer, .a11y-high dialog:not(#accessibility-panel), .a11y-high .hero-visual, .a11y-high .question-card, .a11y-high .auth-gate, .a11y-high .report-card, .a11y-high .legal-details { background: #000 !important; color: #fff !important; border-color: #fff !important; }
.a11y-high :is(h1,h2,h3,h4,p,label,small,.serif,.eyebrow) { color: #fff !important; }
.a11y-high :is(a,.text-link,.nav-link,.form-switch) { color: #ffed00 !important; }
.a11y-high :is(.button,.answer,input,select,textarea,.close-button,.accessibility-launch,.layer-switch button,.tab) { background: #000 !important; color: #fff !important; border: 1px solid #fff; }
.a11y-high .photo-caption { background: #000 !important; color: #fff !important; }
.a11y-high :is(.answer[aria-checked=true],.tab[aria-selected=true],.layer-switch button[aria-pressed=true]) { background: #ffed00 !important; color: #000 !important; }
.a11y-high :focus-visible { outline-color: #ffed00; }
.a11y-high #accessibility-panel :is(h2,p) { color: #17231e !important; }
.a11y-grayscale { --a11y-gray: grayscale(1); }
.a11y-negative { --a11y-negative: invert(1) hue-rotate(180deg); }
:is(.a11y-grayscale,.a11y-negative) :is(body > header,body > main,body > footer,body > dialog:not(#accessibility-panel)) { filter: var(--a11y-gray, grayscale(0)) var(--a11y-negative, invert(0)); }
.a11y-high #accessibility-panel :focus-visible { outline-color: #20342c; }
@media (max-width: 600px) { .accessibility-floating { right: 12px; bottom: 12px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }
