/* =====================================================
   ADA / Accessibility widget + global a11y helpers
   (shared by both concepts)
   ===================================================== */
:focus-visible{outline:3px solid #ffb400;outline-offset:3px}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}

/* Floating button */
.a11y{position:fixed;left:1.2rem;bottom:1.2rem;z-index:950;font-family:Arial,Helvetica,sans-serif}
.a11y__btn{width:54px;height:54px;border-radius:50%;background:#0b1a2b;color:#fff;border:3px solid #fff;box-shadow:0 8px 24px rgba(0,0,0,.3);cursor:pointer;display:grid;place-items:center;transition:.25s}
.a11y__btn svg{width:30px;height:30px}
.a11y__btn:hover{background:#c8262d;transform:scale(1.06)}
.a11y__panel{position:absolute;left:0;bottom:66px;width:320px;max-width:calc(100vw - 2.4rem);background:#fff;color:#1b222b;border-radius:10px;box-shadow:0 20px 50px rgba(0,0,0,.3);overflow:hidden;border:1px solid #e3e8ee}
.a11y__panel[hidden]{display:none}
.a11y__head{display:flex;justify-content:space-between;align-items:center;background:#0b1a2b;color:#fff;padding:.8rem 1rem}
.a11y__head strong{font-size:.95rem;letter-spacing:.04em;text-transform:uppercase}
.a11y__close{background:none;border:0;color:#fff;font-size:1.6rem;line-height:1;cursor:pointer}
.a11y__grid{display:grid;grid-template-columns:1fr 1fr;gap:.5rem;padding:.9rem}
.a11y__grid button{display:flex;flex-direction:column;align-items:center;gap:.35rem;background:#f4f6f9;border:2px solid #e3e8ee;border-radius:8px;padding:.7rem .4rem;font-size:.78rem;font-weight:700;color:#1b222b;cursor:pointer;transition:.2s;font-family:inherit}
.a11y__grid button:hover{border-color:#0b1a2b}
.a11y__grid button[aria-pressed="true"]{background:#0b1a2b;color:#fff;border-color:#0b1a2b}
.a11y__ico{font-size:1.2rem;line-height:1;font-weight:700}
.a11y__foot{display:flex;justify-content:space-between;align-items:center;padding:.7rem .9rem;border-top:1px solid #e3e8ee;font-size:.82rem}
.a11y__reset{background:#c8262d;color:#fff;border:0;border-radius:6px;padding:.45rem .8rem;font-weight:700;cursor:pointer;font-family:inherit}
.a11y__foot a{color:#0b1a2b;font-weight:700;text-decoration:underline}

/* Modes applied to <html> */
html.a11y-font-lg{font-size:118%}
html.a11y-spacing body{letter-spacing:.06em;word-spacing:.12em;line-height:1.9}
html.a11y-readable body,html.a11y-readable h1,html.a11y-readable h2,html.a11y-readable h3,html.a11y-readable h4,html.a11y-readable button,html.a11y-readable input,html.a11y-readable select,html.a11y-readable textarea{font-family:Arial,Helvetica,sans-serif!important;letter-spacing:0!important}
html.a11y-grayscale body{filter:grayscale(1)}
html.a11y-contrast body{filter:contrast(1.25)}
html.a11y-contrast.a11y-grayscale body{filter:grayscale(1) contrast(1.25)}
html.a11y-links a{text-decoration:underline!important;text-underline-offset:3px;background:#fff3b0!important;color:#0b1a2b!important;padding:0 2px}
html.a11y-links .a11y a{background:none!important}
html.a11y-motion *,html.a11y-motion *::before,html.a11y-motion *::after{animation-play-state:paused!important;animation:none!important;transition:none!important}
html.a11y-cursor,html.a11y-cursor *{cursor:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 24 24'><path d='M4 2l16 10-7 1 4 7-3 2-4-7-6 5z' fill='%23000' stroke='%23fff' stroke-width='1.5'/></svg>") 4 2, auto!important}

/* Footer ADA badge */
.ada-badge{display:inline-flex;align-items:center;gap:.4rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;font-size:.78rem}
.ada-badge svg{width:18px;height:18px}
.ada-badge:hover{color:#fff;text-decoration:underline}

html.a11y-links a:has(img){background:none!important;padding:0}
