/* zaidelit accessibility menu – self-built, no third-party */
html{font-size:calc(100% * var(--a11y-fs,1))}
.skip{position:absolute;top:-100px;right:12px;z-index:10001;background:#fff;color:#0a1020;padding:10px 18px;border-radius:10px;font-weight:800;text-decoration:none}
.skip:focus{top:12px}
:focus-visible{outline:3px solid #ffd84d!important;outline-offset:3px!important;border-radius:6px}
.sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
#a11y-btn{position:fixed;left:18px;bottom:18px;z-index:10000;width:56px;height:56px;border-radius:50%;border:3px solid #fff;background:#1559d6;color:#fff;display:grid;place-items:center;cursor:pointer;box-shadow:0 8px 24px rgba(0,0,0,.45)}
#a11y-btn svg{width:32px;height:32px}
#a11y-panel{position:fixed;left:18px;bottom:86px;z-index:10000;width:min(340px,calc(100vw - 36px));max-height:calc(100vh - 110px);overflow:auto;background:#fff;color:#111;border-radius:16px;padding:16px;box-shadow:0 20px 60px rgba(0,0,0,.5);font:15px/1.4 Arial,'Assistant',sans-serif;letter-spacing:normal!important;word-spacing:normal!important;direction:rtl;text-align:right}
#a11y-panel[hidden]{display:none}
#a11y-panel h2{font-size:18px;margin:0 0 10px;color:#111;display:flex;justify-content:space-between;align-items:center}
#a11y-panel .x{background:none;border:2px solid #333;border-radius:8px;width:34px;height:34px;font-size:18px;cursor:pointer;color:#111}
#a11y-panel .g{display:grid;grid-template-columns:1fr 1fr;gap:8px}
#a11y-panel button.o{background:#f1f3f8;color:#111;border:2px solid #c9cfdb;border-radius:10px;padding:10px 8px;font:600 14px Arial,sans-serif;cursor:pointer;text-align:center;min-height:48px}
#a11y-panel button.o[aria-pressed="true"]{background:#1559d6;color:#fff;border-color:#0b3a92}
#a11y-panel .fs{grid-column:1/-1;display:flex;gap:8px;align-items:center}
#a11y-panel .fs button{flex:1}
#a11y-panel .fs output{min-width:52px;text-align:center;font-weight:700}
#a11y-panel .ft{margin-top:12px;display:flex;justify-content:space-between;gap:8px;align-items:center}
#a11y-panel .ft a{color:#0b3a92;font-weight:700}
#a11y-panel .rst{background:#111;color:#fff;border:0;border-radius:10px;padding:10px 14px;font-weight:700;cursor:pointer}
/* modes */
html.a11y-gray body>*:not(#a11y){filter:grayscale(1)}
html.a11y-contrast body,html.a11y-contrast body *:not(#a11y):not(#a11y *){background:#000!important;background-image:none!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border-color:#fff!important;box-shadow:none!important;text-shadow:none!important}
html.a11y-contrast body a:not(#a11y):not(#a11y *),html.a11y-contrast body a:not(#a11y):not(#a11y *) *{color:#ffff00!important;-webkit-text-fill-color:#ffff00!important}
html.a11y-contrast body *:not(#a11y *)::before,html.a11y-contrast body *:not(#a11y *)::after{background:none!important;box-shadow:none!important}
html.a11y-contrast canvas{display:none!important}
html.a11y-font body *:not(#a11y *){font-family:Arial,Helvetica,sans-serif!important}
html.a11y-links a:not(#a11y *){text-decoration:underline!important;outline:2px dashed #ffd84d!important;outline-offset:2px}
html.a11y-heads :is(h1,h2,h3):not(#a11y *){outline:3px solid #ffd84d!important;outline-offset:4px}
html.a11y-space body *:not(#a11y *){letter-spacing:.12em!important;word-spacing:.16em!important;line-height:1.9!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 .rv{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='48' height='48' viewBox='0 0 24 24'%3E%3Cpath d='M3 2l7 19 2.5-7.5L20 11z' fill='%23000' stroke='%23fff' stroke-width='1.5'/%3E%3C/svg%3E") 4 2,auto!important}
@media (max-width:600px){#a11y-btn{left:12px;bottom:12px;width:50px;height:50px}#a11y-panel{left:12px;bottom:72px}}

html[dir=ltr] #a11y-panel{direction:ltr;text-align:left}html[dir=ltr] .skip{right:auto;left:12px}
/* keep footer text clear of the fixed accessibility button */
html body footer{padding-bottom:84px}
