/* Accessibility menu (wz-a11y.js). Mono, like the site; tokens from /ds/v1/tokens.css with fallbacks. */
.a11y-btn svg { width: 18px; height: 18px; }
.a11y-float { position: fixed; z-index: 45; inset-inline-end: 16px; bottom: calc(84px + env(safe-area-inset-bottom));
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; cursor: pointer;
  background: #111; color: #fff; border: 1px solid rgba(255,255,255,.2); box-shadow: 0 6px 20px rgba(0,0,0,.25); }

.a11y-panel { position: fixed; z-index: 75; width: 272px; max-width: calc(100vw - 16px); box-sizing: border-box;
  background: #fff; color: #111; border: 1px solid #d4d4d8; border-radius: 12px; padding: 14px;
  box-shadow: 0 16px 40px rgba(0,0,0,.18); font: 500 14px/1.35 var(--font-ui, system-ui, sans-serif); }
.a11y-panel[hidden] { display: none; }
.a11y-panel button { font: inherit; color: inherit; cursor: pointer; }
.a11y-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.a11y-head b { font-size: 15px; }
.a11y-x { background: none; border: 0; font-size: 22px !important; line-height: 1; padding: 2px 6px; border-radius: 6px; }
.a11y-size { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px;
  border: 1px solid #e4e4e7; border-radius: 10px; padding: 4px; }
.a11y-size button { min-width: 52px; height: 36px; border-radius: 8px; border: 0; background: #f4f4f5; font-weight: 700; }
.a11y-level { font-variant-numeric: tabular-nums; }
.a11y-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.a11y-grid button { min-height: 44px; padding: 6px 8px; border-radius: 8px; border: 1px solid #e4e4e7; background: #fff; text-align: center; }
.a11y-grid button[aria-pressed="true"] { background: #111; color: #fff; border-color: #111; }
.a11y-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; gap: 8px; }
.a11y-foot button { background: none; border: 1px solid #e4e4e7; border-radius: 8px; padding: 6px 10px; }
.a11y-foot a { color: #1d4ed8; text-decoration: underline; font-size: 13px; }
.a11y-panel button:focus-visible, .a11y-panel a:focus-visible, .a11y-btn:focus-visible { outline: 3px solid #2563eb; outline-offset: 2px; }

/* The modes. Filters go on the page's blocks, not on <html>, so fixed elements keep their place. */
html.a11y-contrast body > *:not(.a11y-panel) { filter: contrast(1.5); }
html.a11y-gray body > *:not(.a11y-panel) { filter: grayscale(1); }
html.a11y-contrast.a11y-gray body > *:not(.a11y-panel) { filter: grayscale(1) contrast(1.5); }
html.a11y-links a { text-decoration: underline !important; text-underline-offset: 3px; outline: 2px dashed currentColor; outline-offset: 2px; }
html.a11y-font body, html.a11y-font body * { font-family: Arial, "Noto Sans Hebrew", sans-serif !important; letter-spacing: .01em; font-style: normal !important; }
html.a11y-motion *, html.a11y-motion *::before, html.a11y-motion *::after {
  animation: none !important; transition: none !important; scroll-behavior: auto !important; }
html.a11y-motion .rv { opacity: 1 !important; transform: none !important; }
