/* Accessibility panel, language switch and the display options they turn on. */
.a11y-fab{position:fixed;left:16px;bottom:20px;z-index:1060;width:52px;height:52px;border-radius:50%;border:2px solid #fff;background:#4c1d95;color:#fff;font-size:1.5rem;display:flex;align-items:center;justify-content:center;box-shadow:0 10px 30px -10px rgba(0,0,0,.6);cursor:pointer}
.a11y-fab:focus-visible,.a11y-panel button:focus-visible,.a11y-panel input:focus-visible,[data-lang-toggle]:focus-visible{outline:3px solid #fbbf24;outline-offset:2px}
.a11y-panel{position:fixed;left:16px;bottom:84px;z-index:1061;width:min(340px,calc(100vw - 32px));max-height:calc(100vh - 110px);overflow:auto;padding:16px;border-radius:18px;background:#fff;color:#111827;border:1px solid #cbd5e1;box-shadow:0 30px 70px -30px rgba(0,0,0,.55)}
[data-theme="dark"] .a11y-panel{background:#111827;color:#f3f4f6;border-color:#374151}
.a11y-panel[hidden],.a11y-guide[hidden]{display:none}
.a11y-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}
.a11y-head h2{font-size:1.05rem;margin:0;font-weight:700;color:inherit}
.a11y-close{border:0;background:transparent;font-size:1.6rem;line-height:1;color:inherit;cursor:pointer}
.a11y-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;margin-bottom:8px;border:1px solid #cbd5e1;border-radius:12px;cursor:pointer}
[data-theme="dark"] .a11y-row{border-color:#374151}
.a11y-label{display:flex;align-items:center;gap:10px;font-size:.92rem}
.a11y-row input[type=checkbox]{width:20px;height:20px;accent-color:#4c1d95}
.a11y-lang,.a11y-size{display:inline-flex;align-items:center;gap:6px}
.a11y-lang button,.a11y-size button{min-width:34px;padding:4px 10px;border-radius:8px;border:1px solid #94a3b8;background:transparent;color:inherit;font-weight:600;cursor:pointer}
.a11y-lang button[aria-pressed=true]{background:#4c1d95;color:#fff;border-color:#4c1d95}
.a11y-size button:disabled{opacity:.4;cursor:not-allowed}
.a11y-size output{min-width:46px;text-align:center;font-weight:700}
.a11y-reset{width:100%;padding:9px;border-radius:12px;border:1px solid #94a3b8;background:transparent;color:inherit;font-weight:600;cursor:pointer}
.a11y-note{margin:10px 0 0;font-size:.74rem;color:#64748b}
[data-theme="dark"] .a11y-note{color:#9ca3af}
.a11y-guide{position:fixed;left:0;right:0;top:0;height:44px;z-index:1055;pointer-events:none;background:rgba(251,191,36,.22);border-top:2px solid #f59e0b;border-bottom:2px solid #f59e0b}
.a11y-lang-note{display:flex;flex-wrap:wrap;gap:8px 14px;justify-content:center;align-items:center;padding:6px 12px;background:#fef3c7;color:#78350f;font-size:.82rem;text-align:center}
.a11y-lang-note button{border:1px solid #92400e;background:#fff;color:#78350f;border-radius:8px;padding:2px 10px;cursor:pointer}
[data-lang-toggle]{border:1px solid currentColor;background:transparent;color:inherit;border-radius:8px;padding:1px 8px;font-size:.78rem;font-weight:700;cursor:pointer}
/* Google Translate adds a banner and shifts the page; neither is wanted. */
body{top:0!important}.skiptranslate>iframe,.goog-te-banner-frame{display:none!important}
@media (max-width:991.98px){.a11y-fab{bottom:84px}.a11y-panel{bottom:148px}}

/* Options */
html.a11y-underline a{text-decoration:underline!important}
html.a11y-motion *,html.a11y-motion *::before,html.a11y-motion *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
html.a11y-contrast,html.a11y-contrast body{background:#000!important;color:#fff!important}
html.a11y-contrast *:not(img):not(video):not(svg):not(iframe):not(canvas){background-color:#000!important;background-image:none!important;color:#fff!important;border-color:#fff!important;box-shadow:none!important;text-shadow:none!important;-webkit-text-fill-color:currentColor!important}
html.a11y-contrast a,html.a11y-contrast a *{color:#ffea00!important;text-decoration:underline!important}
html.a11y-contrast button,html.a11y-contrast input,html.a11y-contrast select,html.a11y-contrast textarea{border:2px solid #fff!important}
html.a11y-contrast .a11y-fab{background:#000!important;border-color:#ffea00!important;color:#ffea00!important}
html.a11y-contrast .a11y-guide{background:rgba(255,234,0,.25)!important;border-color:#ffea00!important}
html.a11y-contrast .a11y-lang button[aria-pressed=true]{background:#ffea00!important;color:#000!important;-webkit-text-fill-color:#000!important}
@media (prefers-reduced-motion:reduce){.ticker-track{animation:none!important}}
