/* a11y toolbar v2 – 2026-10-20 */
.a11y[hidden]{display:none !important}
.a11y:not([hidden]){display:block}
.a11y{max-height:min(78vh,40rem); overflow:auto; overscroll-behavior:contain}
.a11y-head{display:flex; align-items:center; gap:9px; background:var(--navy); color:#fff; padding:10px 14px; border-radius:7px 7px 0 0; position:sticky; top:0; z-index:1}
.a11y-title{margin:0; font-size:1rem; font-weight:600; color:#fff}
.a11y-head button{margin-inline-start:auto; min-width:44px; min-height:40px; background:transparent; color:#fff; border:1px solid rgba(255,255,255,.7); border-radius:6px; font:inherit; cursor:pointer}
.a11y .opts{grid-template-columns:1fr 1fr}
.a11y .opts button{min-height:44px; font-size:.9rem; line-height:1.25}
.a11y-status{margin:0; padding:0 12px 6px; font-size:.85rem; color:var(--body)}
.a11y .foot{display:flex; flex-wrap:wrap; gap:6px 14px; align-items:center; font-size:.9rem}
.a11y .foot button,.a11y .foot a{min-height:44px; display:inline-flex; align-items:center; color:#0B4F8A; text-decoration:underline; background:none; border:0; padding:0; font:inherit; cursor:pointer}
.a11y button:focus-visible,.a11y a:focus-visible,.fab:focus-visible{outline:3px solid #ffbf00; outline-offset:2px; box-shadow:0 0 0 5px #111}
@media (max-width:520px){.a11y{inset-inline-start:12px; inset-block-end:84px; width:calc(100vw - 24px); max-width:none}}

/* override old modes */
html.a11y-contrast{filter:none}
html.a11y-contrast.a11y-gray{filter:grayscale(1) !important}

/* modes */
html.a11y-readable, html.a11y-readable *:not(svg):not(svg *){font-family:Arial,"Arial Hebrew","Segoe UI",sans-serif !important}
html.a11y-spacing, html.a11y-spacing *{letter-spacing:.12em !important; word-spacing:.16em !important}
html.a11y-leading, html.a11y-leading *{line-height:2 !important}
html.a11y-contrast, html.a11y-contrast *{background-color:#000 !important; color:#fff !important; border-color:#fff !important; text-shadow:none !important; box-shadow:none !important}
html.a11y-contrast img, html.a11y-contrast svg, html.a11y-contrast .mark, html.a11y-contrast .wm{background-color:transparent !important}
html.a11y-contrast a, html.a11y-contrast a *{color:#ffe14a !important}
html.a11y-contrast button, html.a11y-contrast button *, html.a11y-contrast .btn, html.a11y-contrast .btn *{background-color:#ffe14a !important; color:#000 !important; border-color:#ffe14a !important}
html.a11y-contrast .fab-wa, html.a11y-contrast .fab-wa *{background-color:#177A40 !important; color:#fff !important}
html.a11y-contrast ::placeholder{color:#fff !important; opacity:1 !important}
html.a11y-light, html.a11y-light *{background-color:#fff !important; color:#111 !important; border-color:#111 !important; text-shadow:none !important}
html.a11y-light img, html.a11y-light svg{background-color:transparent !important}
html.a11y-light a, html.a11y-light a *{color:#0B3D91 !important}
html.a11y-light .fab-wa, html.a11y-light .fab-wa *{background-color:#177A40 !important; color:#fff !important}
html.a11y-light .fab-a11y, html.a11y-light .fab-a11y *{background-color:#0B3D91 !important; color:#fff !important}
html.a11y-light ::placeholder{color:#333 !important; opacity:1 !important}
html.a11y-invert{filter:invert(1) hue-rotate(180deg) !important}
html.a11y-invert img, html.a11y-invert video, html.a11y-invert picture{filter:invert(1) hue-rotate(180deg) !important}
html.a11y-gray{filter:grayscale(1) !important}
html.a11y-gray.a11y-invert{filter:invert(1) hue-rotate(180deg) grayscale(1) !important}
html.a11y-links a, html.a11y-links a *, html.a11y-links button, html.a11y-links [role="button"]{text-decoration:underline !important; text-underline-offset:3px !important; font-weight:700 !important; outline:2px solid currentColor !important; outline-offset:2px !important}
html.a11y-headings h1, html.a11y-headings h2, html.a11y-headings h3, html.a11y-headings h4, html.a11y-headings h1 *, html.a11y-headings h2 *, html.a11y-headings h3 *, html.a11y-headings h4 *{background-color:#fff3a0 !important; color:#111 !important}
html.a11y-headings h1, html.a11y-headings h2, html.a11y-headings h3, html.a11y-headings h4{outline:2px solid #111 !important; outline-offset:2px}
html.a11y-cursor, html.a11y-cursor *{cursor:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cpath d='M6 4 L6 40 L16 30 L24 44 L30 41 L22 27 L36 27 Z' fill='%23000' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E") 6 4, auto !important}
html.a11y-focus *:focus, html.a11y-focus *:focus-visible{outline:4px solid #ffbf00 !important; outline-offset:3px !important; box-shadow:0 0 0 3px #000, 0 0 0 8px #ffbf00 !important}
html.a11y-hideimg img, html.a11y-hideimg video, html.a11y-hideimg picture, html.a11y-hideimg .mark{visibility:hidden !important}
html.a11y-hideimg *{background-image:none !important}
html.a11y-nomotion *, html.a11y-nomotion *::before, html.a11y-nomotion *::after{animation:none !important; transition:none !important; scroll-behavior:auto !important}
html.a11y-nomotion{scroll-behavior:auto !important}
html.a11y-scaled, html.a11y-scaled body{overflow-wrap:anywhere}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; scroll-behavior:auto !important} html{scroll-behavior:auto !important}}

/* forms */
.req{color:#B3261E; font-weight:700; margin-inline-start:2px}
.req-note{font-size:.88rem; color:var(--body); margin:0 0 10px}
.fld-err{display:block; color:#B3261E; font-size:.88rem; font-weight:600; margin-top:4px}
.fld-err:empty{display:none}
.fld [aria-invalid="true"]{border-color:#B3261E !important; border-width:2px}
.form-err{margin-top:12px; padding:12px 14px; border:2px solid #B3261E; border-radius:8px; background:#FDECEA; color:#7A1C14; font-weight:600}
.form-err[hidden]{display:none}
.fld input:focus,.fld select:focus,.fld textarea:focus{outline:3px solid #0B4F8A !important; outline-offset:1px}
/* headings fix */
.card-h{font-size:1.16rem; font-weight:600; margin:0}
html.a11y-contrast a, html.a11y-light a{text-decoration:underline !important; text-underline-offset:3px}
html.a11y-hideimg .eyebrow{color:#fff !important}
/* keep the a11y + WhatsApp buttons reachable while the cookie bar is open */
.fab{z-index:96}
body:has(.cookie.show) .fab{inset-block-end:112px}
body:has(.cookie.show) .a11y{inset-block-end:180px; max-height:calc(100vh - 200px)}
@media (max-width:767px){body:has(.cookie.show) .fab{inset-block-end:200px} body:has(.cookie.show) .a11y{inset-block-end:262px; max-height:calc(100vh - 290px)}}
