/* ===== נגישות: כפתור, תפריט והתאמות ===== */
.skip{position:fixed;top:-100px;right:12px;z-index:300;background:#f0d79c;color:#14100a;font-weight:800;padding:.7rem 1.2rem;border-radius:10px;text-decoration:none;transition:top .2s}
.skip:focus{top:12px}
:focus-visible{outline:3px solid #f0d79c;outline-offset:3px}

#a11y{position:fixed;left:16px;bottom:96px;z-index:250;font-family:"Heebo",Arial,sans-serif;direction:rtl}
@media (min-width:760px){#a11y{bottom:24px}}
#a11y-btn{width:52px;height:52px;border-radius:50%;border:2px solid #f0d79c;background:#1d4ed8;color:#fff;display:grid;place-items:center;cursor:pointer;box-shadow:0 8px 24px rgba(0,0,0,.45)}
#a11y-btn svg{width:30px;height:30px}
#a11y-btn:hover{transform:scale(1.06)}
#a11y-panel{position:absolute;left:0;bottom:64px;width:min(330px,calc(100vw - 32px));max-height:min(72vh,560px);overflow-y:auto;background:#fff;color:#14100a;border-radius:16px;box-shadow:0 20px 60px rgba(0,0,0,.55);padding:16px;display:none}
#a11y.open #a11y-panel{display:block}
#a11y-panel h2{font-size:1.15rem;font-weight:800;margin:0 0 12px;display:flex;justify-content:space-between;align-items:center;color:#14100a;font-family:inherit}
#a11y-close{border:0;background:#eee;border-radius:8px;width:34px;height:34px;font-size:1.2rem;cursor:pointer;color:#14100a}
.a11y-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.a11y-grid button{min-height:64px;border:2px solid #ddd;background:#f7f7f7;border-radius:12px;font:inherit;font-size:.92rem;font-weight:700;color:#14100a;cursor:pointer;padding:8px;line-height:1.25;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px}
.a11y-grid button[aria-pressed="true"]{border-color:#1d4ed8;background:#e3ebff;color:#0b2a8a}
.a11y-grid button .ic{font-size:1.3rem;line-height:1}
.a11y-size{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:8px;border:2px solid #ddd;border-radius:12px;padding:6px 10px;background:#f7f7f7;font-weight:700}
.a11y-size div{display:flex;gap:6px}
.a11y-size button{min-height:40px;min-width:44px;border:2px solid #ccc;background:#fff;border-radius:10px;font-weight:800;cursor:pointer;color:#14100a;font:inherit}
.a11y-foot{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:12px;font-size:.9rem}
.a11y-foot a{color:#0b2a8a;font-weight:700}
.a11y-foot button{border:0;background:#14100a;color:#fff;border-radius:10px;padding:8px 14px;font:inherit;font-weight:700;cursor:pointer}

/* התאמות שהמשתמש בוחר */
html.a11y-fs1{font-size:112.5%}
html.a11y-fs2{font-size:125%}
html.a11y-fs3{font-size:137.5%}
body > *:not(#a11y):not(.skip){filter:contrast(var(--a11y-c,1)) grayscale(var(--a11y-g,0))}
html.a11y-contrast{--a11y-c:1.4;--muted:#e6e0d4}
html.a11y-contrast :is(.lead,p,li):not(form):not(form *):not(#a11y *):not(.box *){color:#fff!important}
html.a11y-gray{--a11y-g:1}
html.a11y-links a{text-decoration:underline!important;text-underline-offset:3px;outline:2px dashed #f0d79c;outline-offset:2px}
html.a11y-font body,html.a11y-font body *:not(svg):not(svg *){font-family:Arial,"Arial Hebrew",sans-serif!important;letter-spacing:normal!important}
html.a11y-spacing body *:not(svg):not(svg *){line-height:1.9!important;word-spacing:.12em!important}
html.a11y-stop *,html.a11y-stop *::before,html.a11y-stop *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
html.a11y-stop .reveal{opacity:1!important;transform:none!important}
html.a11y-cursor,html.a11y-cursor *{cursor:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 24 24'%3E%3Cpath d='M4 2l16 10-7 1.5L17 21l-3 1.5-4-7.5L5 19z' fill='%23000' stroke='%23fff' stroke-width='1.4'/%3E%3C/svg%3E") 4 2,auto!important}
html.a11y-focus *:focus{outline:4px solid #ffdd00!important;outline-offset:3px!important}
html.a11y-stop .okmark circle,html.a11y-stop .okmark path{stroke-dashoffset:0!important}
