/* T.R Finance: תפריט נגישות לעמודים העצמאיים (הבוט והרנטגן).
   זהה לתפריט שבשאר האתר (A11yWidget.astro + global.css). כשמשנים שם, לעדכן גם כאן. */
:root{--a11y-navy:#16233f;--a11y-ink:#23262d;--a11y-muted:#646a75;--a11y-line:#e6e0d4;--a11y-cream:#faf8f3}
.a11y-btn{position:fixed;inset-inline-start:20px;bottom:20px;z-index:61;width:52px;height:52px;border-radius:50%;border:3px solid #fff;background:#1747b8;color:#fff;display:grid;place-items:center;cursor:pointer;box-shadow:0 8px 22px rgba(0,0,0,.28)}
.a11y-btn svg{width:28px;height:28px}
.a11y-panel{position:fixed;inset-inline-start:20px;bottom:84px;z-index:62;width:300px;max-height:calc(100dvh - 120px);overflow:auto;background:#fff;color:var(--a11y-ink);border:1px solid var(--a11y-line);border-radius:16px;box-shadow:0 14px 40px rgba(22,35,63,.14);padding:6px 0 10px}
.a11y-head{display:flex;justify-content:space-between;align-items:center;padding:12px 18px;border-bottom:1px solid var(--a11y-line)}
.a11y-head h2{font-size:17px;color:var(--a11y-navy)}
.a11y-x{background:none;border:0;font-size:26px;line-height:1;cursor:pointer;color:var(--a11y-muted);width:36px;height:36px;border-radius:8px}
.a11y-group{padding:8px 10px 0}
.a11y-group h3{font-size:12.5px;color:var(--a11y-muted);font-weight:700;padding:6px 8px}
.a11y-opt{display:flex;align-items:center;gap:12px;width:100%;background:none;border:0;padding:10px 8px;border-radius:10px;cursor:pointer;font-size:15.5px;color:var(--a11y-ink);text-align:start}
.a11y-opt:hover{background:var(--a11y-cream)}
.a11y-opt[aria-pressed=true]{background:#e8eefc;color:#0f2f7a;font-weight:700}
.a11y-ic{width:30px;height:30px;border-radius:8px;background:var(--a11y-cream);display:grid;place-items:center;font-size:13px;font-weight:800;flex:none;color:var(--a11y-navy)}
.a11y-foot{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--a11y-line);margin-top:8px;padding:8px 10px 0}
.a11y-foot .a11y-opt{width:auto}
.a11y-foot a{color:var(--a11y-navy);font-weight:700;text-decoration:underline;font-size:14.5px;padding:8px}
.a11y-btn:focus-visible,.a11y-opt:focus-visible,.a11y-x:focus-visible,.a11y-foot a:focus-visible{outline:3px solid #16233f;outline-offset:2px;box-shadow:0 0 0 2px #d4af5f}

.skip-link{position:absolute;inset-inline-start:12px;top:-60px;z-index:100;background:#16233f;color:#fff;padding:10px 16px;border-radius:10px;font-weight:700;text-decoration:none}
.skip-link:focus{top:12px;outline:3px solid #d4af5f;outline-offset:2px}
main:focus{outline:none}

/* מצבים: חלים על כל מה שבעמוד חוץ מהתפריט וקישור הדילוג */
html.a11y-zoomed body>:not(.a11y-btn):not(.a11y-panel):not(.skip-link){zoom:var(--a11y-zoom)}
html.a11y-contrast body>:not(.a11y-btn):not(.a11y-panel):not(.skip-link){filter:contrast(1.4)}
html.a11y-readable body,html.a11y-readable button,html.a11y-readable input,html.a11y-readable select,html.a11y-readable textarea{font-family:Arial,Helvetica,sans-serif!important;letter-spacing:.02em;word-spacing:.08em}
html.a11y-links a{text-decoration:underline!important;text-underline-offset:3px;outline:2px dashed #b45309;outline-offset:2px}
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 2l15 11-6.5 1.2L16 21l-3 1.4-3.4-6.9L4 19z' fill='%23000' stroke='%23fff' stroke-width='1.3'/%3E%3C/svg%3E") 4 2,auto!important}
html.a11y-noanim *,html.a11y-noanim *::before,html.a11y-noanim *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
html.a11y-noanim .reveal{opacity:1!important;transform:none!important}

/* מובייל: מעל פס הכפתורים התחתון של הרנטגן */
@media (max-width:760px){
.a11y-btn{bottom:calc(92px + env(safe-area-inset-bottom));width:46px;height:46px;inset-inline-start:12px}
.a11y-btn svg{width:24px;height:24px}
.a11y-panel{inset-inline:12px;width:auto;bottom:calc(146px + env(safe-area-inset-bottom))}
}
@media print{.a11y-btn,.a11y-panel{display:none!important}}
