/* Self-contained styles for the offline accessibility widget. */
:root { --a11y-text-scale: 1; --a11y-line-height: ; --a11y-letter-spacing: ; --a11y-word-spacing: ; }
html { font-size: calc(100% * var(--a11y-text-scale, 1)); }
body { line-height: var(--a11y-line-height, inherit); letter-spacing: var(--a11y-letter-spacing, normal); word-spacing: var(--a11y-word-spacing, normal); }
.a11y-root, .a11y-root * { box-sizing: border-box; }
.a11y-root { font: 16px/1.4 Arial, Helvetica, sans-serif; color: #172033; }
.a11y-trigger { position: fixed; z-index: 2147483000; right: 18px; bottom: 20px; display: flex; align-items: center; gap: 9px; border: 2px solid #fff; border-radius: 999px; padding: 12px 17px; background: #124b80; color: #fff; box-shadow: 0 3px 14px #0004; font: 700 15px/1.2 Arial, sans-serif; cursor: pointer; }
.a11y-trigger:hover, .a11y-trigger:focus-visible { background: #0b345a; outline: 3px solid #f4c542; outline-offset: 2px; }
.a11y-person { font-size: 22px; line-height: 1; }
.a11y-panel { position: fixed; z-index: 2147483001; right: 18px; bottom: 82px; width: min(390px, calc(100vw - 24px)); max-height: min(78vh, 690px); overflow: auto; background: #fff; color: #172033; border: 1px solid #c7d2df; border-radius: 14px; box-shadow: 0 8px 32px #0004; }
.a11y-panel[hidden] { display: none !important; }
.a11y-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 17px 18px; background: #124b80; color: #fff; }
.a11y-head h2 { margin: 0; font: 700 20px/1.25 Arial, sans-serif; }
.a11y-close { border: 1px solid #ffffff99; border-radius: 6px; background: transparent; color: #fff; font: 28px/1 Arial, sans-serif; width: 36px; height: 36px; cursor: pointer; }
.a11y-help { margin: 14px 18px 8px; font-size: 14px; }
.a11y-options { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; padding: 8px 14px 16px; }
.a11y-option { min-height: 69px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px; padding: 10px; border: 1px solid #c8d3df; border-radius: 8px; background: #f8fafc; color: #172033; text-align: left; font: 600 14px/1.25 Arial, sans-serif; cursor: pointer; }
.a11y-option:hover, .a11y-option:focus-visible { outline: 2px solid #124b80; outline-offset: 1px; }
.a11y-option[aria-pressed="true"] { border-color: #124b80; background: #e4eff9; box-shadow: inset 0 0 0 1px #124b80; }
.a11y-value { font-size: 12px; color: #124b80; }
.a11y-status { font-size: 11px; color: #14532d; }
.a11y-option[aria-pressed="true"] .a11y-status::before { content: "Enabled"; }
.a11y-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 16px; border-top: 1px solid #d7dee7; }
.a11y-reset { padding: 9px 12px; border: 1px solid #124b80; border-radius: 6px; background: #fff; color: #124b80; font-weight: 700; cursor: pointer; }
.a11y-local-note { color: #4b5563; font-size: 11px; }
body.a11y-highlight-links a { background: #ffeb3b !important; color: #111 !important; outline: 2px solid #111 !important; text-decoration: underline !important; }
body.a11y-dyslexia { font-family: Verdana, Arial, sans-serif !important; }
body.a11y-hide-images img, body.a11y-hide-images picture, body.a11y-hide-images video, body.a11y-hide-images svg:not(.a11y-root svg) { visibility: hidden !important; }
body.a11y-large-cursor, body.a11y-large-cursor * { cursor: zoom-in !important; }
body.a11y-dark { background: #111827 !important; color: #f9fafb !important; }
body.a11y-dark main, body.a11y-dark section, body.a11y-dark article, body.a11y-dark header, body.a11y-dark footer, body.a11y-dark nav, body.a11y-dark aside, body.a11y-dark div { background-color: #111827; color: #f9fafb; }
body.a11y-dark a { color: #93c5fd !important; }
html.a11y-invert body { filter: invert(1) hue-rotate(180deg); }
html.a11y-invert img, html.a11y-invert video, html.a11y-invert canvas { filter: invert(1) hue-rotate(180deg); }
.a11y-root { font-size: 16px !important; line-height: 1.4 !important; letter-spacing: normal !important; word-spacing: normal !important; }
@media (max-width: 480px) { .a11y-trigger { right: 10px; bottom: 12px; padding: 10px 13px; } .a11y-panel { right: 8px; bottom: 70px; width: calc(100vw - 16px); max-height: 78vh; } .a11y-options { gap: 7px; padding: 8px 10px 13px; } .a11y-option { padding: 8px; font-size: 13px; } }
