/* תפריט נגישות (עצמאי, בלי שירות חיצוני) */
#ngsh-btn{position:fixed;bottom:calc(20px + env(safe-area-inset-bottom));inset-inline-start:20px;z-index:99999;width:52px;height:52px;border-radius:50%;border:2px solid #fff;background:#1a56a8;color:#fff;cursor:pointer;box-shadow:0 2px 8px rgba(0,0,0,.35);display:flex;align-items:center;justify-content:center;padding:0}
#ngsh-btn:focus-visible{outline:3px solid #ffbf00;outline-offset:2px}
#ngsh-btn svg{width:30px;height:30px;fill:#fff}
#ngsh-panel{position:fixed;bottom:calc(80px + env(safe-area-inset-bottom));inset-inline-start:20px;z-index:99999;width:270px;max-width:calc(100vw - 40px);max-height:min(70vh,560px);overflow-y:auto;background:#fff;color:#111;border:1px solid #bbb;border-radius:12px;box-shadow:0 4px 20px rgba(0,0,0,.3);padding:12px;direction:rtl;text-align:right;font-family:inherit;font-size:15px;line-height:1.4}
#ngsh-panel[hidden]{display:none}
#ngsh-panel h2{font-size:16px;margin:0 0 10px;color:#1a56a8}
#ngsh-panel button{display:block;width:100%;margin:4px 0;padding:8px 10px;text-align:right;border:1px solid #ccc;border-radius:8px;background:#f7f7f7;color:#111;cursor:pointer;font:inherit}
#ngsh-panel button:hover{background:#eef4fc}
#ngsh-panel button:focus-visible{outline:3px solid #1a56a8;outline-offset:1px}
#ngsh-panel button[aria-pressed="true"]{background:#1a56a8;color:#fff;border-color:#1a56a8}
#ngsh-panel .ngsh-row{display:flex;gap:6px}
#ngsh-panel .ngsh-row button{width:auto;flex:1;text-align:center}
#ngsh-panel a{display:block;margin-top:8px;color:#1a56a8;font-size:14px}
@media screen{
html.ngsh-grayscale{filter:grayscale(100%)}
html.ngsh-high-contrast body{background:#000!important}
html.ngsh-high-contrast body :not(#ngsh-panel):not(#ngsh-panel *):not(#ngsh-btn):not(#ngsh-btn *):not(img):not(video):not(svg *){background-color:#000!important;color:#ff0!important;border-color:#ff0!important}
html.ngsh-neg-contrast{filter:invert(100%) hue-rotate(180deg)}
html.ngsh-neg-contrast img,html.ngsh-neg-contrast video{filter:invert(100%) hue-rotate(180deg)}
html.ngsh-light-bg body :not(#ngsh-panel):not(#ngsh-panel *):not(img):not(video):not(svg *){background-color:#fff!important;color:#000!important}
html.ngsh-underline a{text-decoration:underline!important}
html.ngsh-readable body :not(#ngsh-panel):not(#ngsh-panel *){font-family:Arial,Helvetica,sans-serif!important;letter-spacing:.02em}
html.ngsh-no-anim *,html.ngsh-no-anim *::before,html.ngsh-no-anim *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
}
/* בהדפסה: דף העבודה תמיד רגיל */
@media print{#ngsh-btn,#ngsh-panel{display:none!important}body{zoom:1!important}}
