/* ===== רכיב העדפות נגישות — כלי העדפות בלבד, ללא שינוי תוכן הדף ===== */
#a11yTrigger{position:fixed;bottom:26px;inset-inline-end:26px;z-index:70;width:56px;height:56px;border-radius:999px;
  background:#1B3FC4;border:2px solid #151515;box-shadow:4px 4px 0 #151515;display:inline-flex;align-items:center;
  justify-content:center;cursor:pointer;padding:0}
#a11yTrigger svg{width:30px;height:30px;color:#fff}
#a11yTrigger:hover{transform:translateY(-2px)}
@media (max-width:860px){#a11yTrigger{bottom:96px;width:50px;height:50px}#a11yTrigger svg{width:26px;height:26px}}

#a11yPanel{position:fixed;bottom:96px;inset-inline-end:26px;z-index:71;width:min(330px,calc(100vw - 32px));
  background:#FAF5EC;border:2px solid #151515;border-radius:20px;box-shadow:6px 6px 0 #151515;padding:18px;display:none}
#a11yPanel[data-open="true"]{display:block}
@media (max-width:860px){#a11yPanel{bottom:158px;inset-inline:16px;width:auto}}
#a11yPanel h2{font-family:'Karantina',sans-serif;font-weight:700;font-size:34px;line-height:1;margin:0 0 4px;color:#151515}
#a11yPanel .a11y-sub{font-size:14px;color:#5B5750;margin:0 0 14px}
#a11yPanel .a11y-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
#a11yPanel button.a11y-opt{display:flex;flex-direction:column;align-items:flex-start;gap:2px;min-height:56px;
  background:#fff;border:2px solid #151515;border-radius:12px;padding:8px 10px;font-family:inherit;font-size:14px;
  font-weight:700;color:#151515;cursor:pointer;text-align:start;line-height:1.25}
#a11yPanel button.a11y-opt small{font-weight:400;font-size:12.5px;color:#5B5750}
#a11yPanel button.a11y-opt[aria-pressed="true"],#a11yPanel button.a11y-opt.is-on{background:#F4B23E}
#a11yPanel button.a11y-opt[aria-pressed="true"] small,#a11yPanel button.a11y-opt.is-on small{color:#3A2A08}
#a11yPanel .a11y-foot{display:flex;gap:8px;margin-top:12px}
#a11yPanel .a11y-foot button{flex:1;min-height:44px;border-radius:999px;border:2px solid #151515;font-family:inherit;
  font-weight:700;font-size:15px;cursor:pointer;background:#fff;color:#151515}
#a11yPanel .a11y-foot button.a11y-close{background:#151515;color:#FAF5EC}
#a11yPanel .a11y-note{font-size:12.5px;color:#5B5750;margin:12px 0 0;line-height:1.5}
#a11yPanel .a11y-note a{color:#1B3FC4}
#a11yLive{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}

/* ---- העדפות המשתמש: מחלקות על <html>, בלי נגיעה ב-DOM ---- */
html.a11y-links a{text-decoration:underline !important;text-underline-offset:3px;text-decoration-thickness:2px}
html.a11y-heads h1,html.a11y-heads h2,html.a11y-heads h3{outline:2px dashed currentColor;outline-offset:6px}

html.a11y-contrast-high nav,html.a11y-contrast-high main,html.a11y-contrast-high footer{filter:contrast(1.35)}
html.a11y-contrast-invert nav,html.a11y-contrast-invert main,html.a11y-contrast-invert footer{filter:invert(1) hue-rotate(180deg)}
html.a11y-contrast-invert main [role="img"],html.a11y-contrast-invert main img{filter:invert(1) hue-rotate(180deg)}
html.a11y-contrast-mono nav,html.a11y-contrast-mono main,html.a11y-contrast-mono footer{filter:grayscale(1)}

html.a11y-text-115 main,html.a11y-text-115 footer{zoom:1.15}
html.a11y-text-130 main,html.a11y-text-130 footer{zoom:1.3}
html.a11y-text-150 main,html.a11y-text-150 footer{zoom:1.5}

html.a11y-lines-16 p,html.a11y-lines-16 li,html.a11y-lines-16 label,html.a11y-lines-16 dd,html.a11y-lines-16 dt{line-height:1.6 !important}
html.a11y-lines-20 p,html.a11y-lines-20 li,html.a11y-lines-20 label,html.a11y-lines-20 dd,html.a11y-lines-20 dt{line-height:2 !important}

html.a11y-font,html.a11y-font body,html.a11y-font h1,html.a11y-font h2,html.a11y-font h3,
html.a11y-font p,html.a11y-font li,html.a11y-font a,html.a11y-font span,html.a11y-font button,
html.a11y-font label,html.a11y-font input,html.a11y-font textarea,html.a11y-font legend,html.a11y-font small
{font-family:Arial,"Segoe UI",system-ui,sans-serif !important}

html.a11y-cursor *{cursor:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cpath d='M6 2l22 15-9 2 6 12-5 2-6-12-8 7z' fill='%23000' stroke='%23fff' stroke-width='1.5'/%3E%3C/svg%3E") 4 2,auto !important}

html.a11y-stopmotion *,html.a11y-stopmotion *::before,html.a11y-stopmotion *::after{
  animation:none !important;transition:none !important}
html.a11y-stopmotion{scroll-behavior:auto !important}
html.a11y-stopmotion [data-reveal]{opacity:1 !important;transform:none !important}
html.a11y-stopmotion [data-bubble]{opacity:1 !important}
html.a11y-stopmotion [data-reveal="path"] path{stroke-dashoffset:0 !important}

/* הרכיב עצמו לא מושפע מהיפוך/גווני אפור, כדי שאפשר יהיה תמיד לכבות */
html[class*="a11y-contrast-"] #a11yPanel,html[class*="a11y-contrast-"] #a11yTrigger{filter:none !important}

@media print{
  html[class*="a11y-"] nav,html[class*="a11y-"] main,html[class*="a11y-"] footer{filter:none !important;zoom:1 !important}
  #a11yTrigger,#a11yPanel{display:none !important}
}
