/* ===== Accessibility widget (button + panel) ===== */
.a11y-btn{position:fixed;left:0;top:50%;transform:translateY(-50%);z-index:91;
  display:flex;align-items:center;justify-content:center;width:50px;height:52px;border:none;cursor:pointer;
  background:#15498f;color:#fff;border-radius:0 12px 12px 0;box-shadow:0 6px 20px rgba(0,0,0,.28)}
.a11y-btn svg{width:30px;height:30px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.a11y-btn svg circle{fill:currentColor;stroke:none}
.a11y-btn:focus-visible,.a11y-opt:focus-visible,.a11y-reset:focus-visible,.a11y-x:focus-visible{outline:3px solid #0a2f63;outline-offset:2px}
@media (hover:hover){.a11y-btn:hover{background:#0f3b78}}

.a11y-panel{position:fixed;left:62px;top:50%;transform:translateY(-50%);z-index:92;
  width:308px;max-width:90vw;max-height:88vh;overflow:auto;direction:rtl;
  background:#ffffff;color:#191919;border:1px solid #c9c9c9;border-radius:14px;
  box-shadow:0 26px 64px rgba(0,0,0,.32);padding:16px;font-family:'Rubik',system-ui,sans-serif}
.a11y-panel[hidden]{display:none}
.a11y-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.a11y-head strong{font-size:17px;font-weight:700;color:#191919}
.a11y-x{background:none;border:none;cursor:pointer;width:34px;height:34px;border-radius:8px;color:#444;
  display:flex;align-items:center;justify-content:center}
.a11y-x svg{width:18px;height:18px;stroke:currentColor;stroke-width:2.4;fill:none;stroke-linecap:round}
@media (hover:hover){.a11y-x:hover{background:#efefef}}
.a11y-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.a11y-opt{font-family:inherit;font-size:14px;font-weight:600;color:#191919;background:#f3f4f6;border:1.5px solid #d6d8dc;
  border-radius:10px;padding:12px 8px;cursor:pointer;text-align:center;line-height:1.25}
@media (hover:hover){.a11y-opt:hover{border-color:#15498f}}
.a11y-opt[aria-pressed="true"]{background:#15498f;color:#fff;border-color:#15498f}
.a11y-reset{margin-top:10px;width:100%;font-family:inherit;font-size:14px;font-weight:700;color:#b0461c;background:#fff;
  border:1.5px solid #b0461c;border-radius:10px;padding:11px;cursor:pointer}
@media (hover:hover){.a11y-reset:hover{background:#fff5ef}}
.a11y-foot{margin-top:15px;border-top:1px solid #e6e6e6;padding-top:13px;font-size:12.5px;color:#4a4a4a;line-height:1.55}
.a11y-foot .a11y-stmt{display:inline-block;margin-bottom:9px;color:#0b57c4;font-weight:700;text-decoration:underline;text-underline-offset:2px}
.a11y-foot .ra{font-weight:700;color:#191919}
.a11y-foot a{color:#0b57c4;font-weight:600}

@media (max-width:560px){
  .a11y-btn{top:auto;bottom:120px;transform:none}
  .a11y-panel{top:auto;bottom:120px;left:8px;right:8px;width:auto;max-width:none;transform:none}
}

/* ===== Accessibility MODES (toggled on <html>) ===== */
html.a11y-fs-1{zoom:1.08}
html.a11y-fs-2{zoom:1.16}
html.a11y-fs-3{zoom:1.26}
/* high contrast: override the page's design tokens */
html.a11y-contrast{--bg:#ffffff;--paper:#ffffff;--paper-2:#ffffff;--ink:#000000;--ink-2:#1b1b1b;
  --line:#000000;--line-strong:#000000;--cream-dim:#333333;--gold:#6a4e10;--dark:#000000}
html.a11y-contrast body{background:#ffffff}
html.a11y-contrast a:not(.btn){text-decoration:underline}
/* highlight links */
html.a11y-links a{text-decoration:underline!important;text-underline-offset:2px}
/* readable font */
html.a11y-readable *{font-family:Arial,Helvetica,sans-serif!important;letter-spacing:.01em!important}
html.a11y-readable p,html.a11y-readable li,html.a11y-readable .sub,html.a11y-readable .gp-lead,
html.a11y-readable h1,html.a11y-readable h2,html.a11y-readable h3{line-height:1.7!important}
/* stop motion */
html.a11y-motion *,html.a11y-motion *::before,html.a11y-motion *::after{
  animation:none!important;transition:none!important;scroll-behavior:auto!important}
