/* sv-a11y.css — כפתור ותפריט נגישות */
#svA11y, #svA11y * { box-sizing: border-box; }
#svA11y { display: flex; align-items: center; gap: 10px; position: fixed; left: 14px; bottom: 14px; z-index: 9500; direction: rtl; font-family: "Polin", Arial, sans-serif; font-size: 16px; line-height: 1.4; color: #181009; }
#svA11yBtn { width: 40px; height: 40px; border-radius: 50%; border: 2px solid rgba(247,245,243,.9); opacity: .8; background: #617b93; color: #fff; display: grid; place-items: center; cursor: pointer; padding: 0; box-shadow: 0 2px 8px rgba(24,16,9,.18); transition: transform .2s ease, background .2s ease, opacity .2s ease; }
#svA11yBtn:hover, #svA11yBtn:focus-visible, #svA11y.open #svA11yBtn { background: #4f677d; opacity: 1; }
#svA11yBtn svg { width: 22px; height: 22px; display: block; }
#svA11y :focus-visible { outline: 3px solid #181009; outline-offset: 3px; box-shadow: 0 0 0 6px #fff; }
#svA11yPanel { position: absolute; left: 0; bottom: 52px; width: min(350px, calc(100vw - 32px)); max-height: min(78vh, 640px); overflow: auto; background: #f7f5f3; border-radius: 26px; box-shadow: 0 10px 40px rgba(24,16,9,.3); padding: 18px 18px 16px; display: none; }
#svA11y.open #svA11yPanel { display: block; }
#svA11yPanel h2 { margin: 0; font-size: 22px; font-weight: 800; }
.a11y-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.a11y-x { width: 40px; height: 40px; border-radius: 50%; border: 0; background: #ebe4df; cursor: pointer; font-size: 22px; line-height: 1; color: #181009; }
.a11y-x:hover { background: #c1ab98; }
.a11y-size { display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 18px; padding: 8px 10px; margin-bottom: 10px; }
.a11y-size span { flex: 1; font-weight: 600; }
.a11y-size button { width: 46px; height: 46px; border-radius: 50%; border: 0; background: #181009; color: #f7f5f3; font-size: 18px; font-weight: 700; cursor: pointer; font-family: inherit; }
.a11y-size button:hover { background: #2b2016; }
.a11y-size button[disabled] { opacity: .35; cursor: not-allowed; }
.a11y-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.a11y-opt { min-height: 62px; border-radius: 18px; border: 2px solid transparent; background: #fff; color: #181009; font: inherit; font-weight: 600; font-size: 15px; cursor: pointer; padding: 8px 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center; transition: background .2s; }
.a11y-opt:hover { background: #ebe4df; }
.a11y-opt[aria-pressed="true"] { background: #181009; color: #f7f5f3; }
.a11y-opt svg { width: 22px; height: 22px; }
.a11y-reset { width: 100%; margin-top: 10px; min-height: 48px; border-radius: 50px; border: 2px solid #181009; background: transparent; color: #181009; font: inherit; font-weight: 700; cursor: pointer; }
.a11y-reset:hover { background: #ebe4df; }
@media (max-width: 600px) { #svA11y { left: 10px; bottom: 10px; } #svA11yBtn { width: 38px; height: 38px; } #svA11yPanel { bottom: 48px; } }


/* ---- the effects (classes on <html>) ---- */
html.a11y-links a { background: #ffeb3b !important; color: #000 !important; outline: 2px solid #000 !important; outline-offset: 1px; }
html.a11y-underline a { text-decoration: underline !important; text-underline-offset: 3px; }
html.a11y-font body *:not(svg):not(svg *) { font-family: Arial, "Heebo", Helvetica, sans-serif !important; letter-spacing: 0 !important; -webkit-text-stroke: 0 !important; }
html.a11y-still *, html.a11y-still *::before, html.a11y-still *::after { animation-duration: .001s !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
html.a11y-cursor, html.a11y-cursor * { cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 24 24'><path d='M4 2l16 9-7 2 4 8-3 1.5-4-8-5 5z' fill='black' stroke='white' stroke-width='1.6' stroke-linejoin='round'/></svg>") 4 2, auto !important; }
html[data-a11y-f] { filter: var(--a11y-filter); }
