/* תפריט נגישות: קבצים מקומיים בלבד, בלי שירות חיצוני */
.a11y-root { position: fixed; bottom: 14px; left: 12px; z-index: 60; font: 500 16px/1.3 "Rubik", Arial, sans-serif; direction: rtl; }
.a11y-btn { display: grid; place-items: center; width: 52px; height: 52px; padding: 0; color: #fff; background: #0b4fb3; border: 3px solid #fff; border-radius: 50%; box-shadow: 0 2px 8px rgba(0,0,0,.45); cursor: pointer; }
.a11y-btn svg { width: 32px; height: 32px; fill: currentColor; }
.a11y-btn:hover { background: #083c88; }
.a11y-root :focus-visible { outline: 3px solid #111 !important; outline-offset: 2px; box-shadow: 0 0 0 2px #fff; }
.a11y-panel { position: absolute; bottom: 62px; left: 0; width: min(300px, calc(100vw - 24px)); max-height: calc(100svh - 90px); overflow-y: auto; padding: 14px; color: #111; background: #fff; border: 3px solid #0b4fb3; border-radius: 8px; box-shadow: 0 6px 20px rgba(0,0,0,.4); }
.a11y-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.a11y-head h2 { margin: 0; padding: 0; font: 700 19px/1.2 "Rubik", Arial, sans-serif; color: #111; text-shadow: none; }
.a11y-head h2::before, .a11y-head h2::after { content: none; display: none; }
.a11y-close { width: 44px; height: 44px; padding: 0; font-size: 24px; line-height: 1; color: #111; background: transparent; border: 0; cursor: pointer; }
.a11y-size { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 8px; }
.a11y-opt { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 46px; margin-bottom: 8px; padding: 6px 10px; font: 500 16px/1.2 "Rubik", Arial, sans-serif; color: #111; background: #eef3fb; border: 2px solid #0b4fb3; border-radius: 6px; cursor: pointer; }
.a11y-size .a11y-opt { margin: 0; }
.a11y-opt:hover { background: #d7e4f8; }
.a11y-opt[aria-pressed=true] { color: #fff; background: #0b4fb3; font-weight: 700; }
.a11y-opt[aria-pressed=true]::before { content: "✓"; margin-inline-end: 6px; }
.a11y-opt[disabled] { color: #5a5a5a; border-color: #8a8a8a; cursor: not-allowed; }
.a11y-note { min-height: 20px; margin: 0 0 6px; font-size: 14px; color: #111; }
.a11y-link { display: flex; align-items: center; justify-content: center; min-height: 44px; color: #0b4fb3 !important; font-weight: 700; text-decoration: underline; }

/* הגדלת טקסט */
html.a11y-z1 body > *:not(.a11y-root):not(.more-hint):not(.lb) { zoom: 1.15; }
html.a11y-z2 body > *:not(.a11y-root):not(.more-hint):not(.lb) { zoom: 1.3; }
html.a11y-z1 h1, html.a11y-z2 h1 { white-space: normal !important; overflow-wrap: anywhere; }
html.a11y-z1 table, html.a11y-z2 table { width: 100%; table-layout: fixed; overflow-wrap: anywhere; }
html.a11y-z2 .stall .front h1 { font-size: clamp(64px, 18vw, 130px); }

/* גופן קריא */
html.a11y-font body *:not(.a11y-root):not(.a11y-root *) { font-family: Arial, Helvetica, sans-serif !important; letter-spacing: .01em; }
html.a11y-font p, html.a11y-font li, html.a11y-font span { line-height: 1.6 !important; }

/* הדגשת קישורים */
html.a11y-links a:not(.a11y-link), html.a11y-links button:not(.a11y-opt):not(.a11y-close):not(.a11y-btn) { outline: 3px solid #0b4fb3 !important; outline-offset: 2px; text-decoration: underline !important; text-decoration-thickness: 2px !important; }

/* עצירת אנימציות */
html.a11y-still *, html.a11y-still *::before, html.a11y-still *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }

/* ניגודיות גבוהה */
html.a11y-contrast, html.a11y-contrast body { background: #000 !important; }
html.a11y-contrast body *:not(.a11y-root):not(.a11y-root *) { color: #fff !important; background-color: #000 !important; background-image: none !important; border-color: #fff !important; box-shadow: none !important; text-shadow: none !important; }
html.a11y-contrast body a:not(.a11y-root *), html.a11y-contrast body a:not(.a11y-root *) * { color: #ffe600 !important; }
html.a11y-contrast body a:not(.a11y-root *) { text-decoration: underline !important; }
html.a11y-contrast input, html.a11y-contrast textarea, html.a11y-contrast select, html.a11y-contrast button:not(.a11y-root *) { border: 2px solid #fff !important; }
html.a11y-contrast body .nfill, html.a11y-contrast body .fill { background-color: #ffe600 !important; }
html.a11y-contrast .awning { display: none; }
html.a11y-contrast body :focus-visible { outline: 3px solid #ffe600 !important; outline-offset: 2px; }
html.a11y-links body :focus-visible { outline-color: #d7262b !important; }
