/* Adaa Almunawarah — built-in accessibility toolkit */
:root{
  --adaa-a11y-scale:1;
  --adaa-a11y-line:1.55;
  --adaa-a11y-letter:0px;
  --adaa-a11y-panel:#ffffff;
  --adaa-a11y-ink:#123d36;
  --adaa-a11y-green:#0b6757;
  --adaa-a11y-green-2:#0f7b67;
  --adaa-a11y-gold:#b88924;
  --adaa-a11y-border:#dce8e4;
  --adaa-a11y-shadow:0 22px 60px rgba(8,49,42,.24);
}
html.adaa-a11y-active{font-size:calc(100% * var(--adaa-a11y-scale))}
html.adaa-a11y-active body{line-height:var(--adaa-a11y-line);letter-spacing:var(--adaa-a11y-letter)}
html.adaa-a11y-readable body,
html.adaa-a11y-readable button,
html.adaa-a11y-readable input,
html.adaa-a11y-readable select,
html.adaa-a11y-readable textarea{font-family:Arial,Tahoma,"Segoe UI",sans-serif!important}
html.adaa-a11y-links a{text-decoration:underline!important;text-decoration-thickness:2px!important;text-underline-offset:3px!important;outline:1px dashed currentColor!important;outline-offset:3px}
html.adaa-a11y-headings h1,html.adaa-a11y-headings h2,html.adaa-a11y-headings h3,html.adaa-a11y-headings h4,html.adaa-a11y-headings h5,html.adaa-a11y-headings h6{outline:2px solid #b88924!important;outline-offset:3px!important;background:rgba(255,242,196,.28)!important}
html.adaa-a11y-grayscale body{filter:grayscale(1)}
html.adaa-a11y-contrast body{background:#000!important;color:#fff!important}
html.adaa-a11y-contrast body :where(section,article,main,aside,header,footer,nav,div,form,table,tbody,thead,tr,td,th){border-color:#fff!important}
html.adaa-a11y-contrast body :where(p,span,label,li,h1,h2,h3,h4,h5,h6,strong,small){color:#fff!important;text-shadow:none!important}
html.adaa-a11y-contrast body :where(a,button){color:#ffff00!important;border-color:#ffff00!important}
html.adaa-a11y-contrast body :where(input,select,textarea){background:#000!important;color:#fff!important;border-color:#fff!important}
html.adaa-a11y-invert body{filter:invert(1) hue-rotate(180deg)}
html.adaa-a11y-invert body img,html.adaa-a11y-invert body video,html.adaa-a11y-invert body canvas{filter:invert(1) hue-rotate(180deg)}
html.adaa-a11y-no-motion *,html.adaa-a11y-no-motion *::before,html.adaa-a11y-no-motion *::after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important;scroll-behavior:auto!important}
html.adaa-a11y-big-cursor,html.adaa-a11y-big-cursor *{cursor:default!important}
html.adaa-a11y-big-cursor a,html.adaa-a11y-big-cursor button,html.adaa-a11y-big-cursor [role="button"],html.adaa-a11y-big-cursor input,html.adaa-a11y-big-cursor select,html.adaa-a11y-big-cursor textarea{cursor:pointer!important}
html.adaa-a11y-focus :focus-visible{outline:4px solid #ffbf00!important;outline-offset:4px!important;box-shadow:0 0 0 2px #102d43!important}
html.adaa-a11y-hide-images img:not(.adaa-a11y-keep-image),html.adaa-a11y-hide-images picture{visibility:hidden!important}
html.adaa-a11y-align-center body :where(p,li,label,h1,h2,h3,h4,h5,h6){text-align:center!important}
html.adaa-a11y-align-right body :where(p,li,label,h1,h2,h3,h4,h5,h6){text-align:right!important}
html.adaa-a11y-align-left body :where(p,li,label,h1,h2,h3,h4,h5,h6){text-align:left!important}

.adaa-skip-link{position:fixed;z-index:2147483647;top:10px;right:10px;transform:translateY(-150%);padding:10px 16px;border-radius:10px;background:#082f2a;color:#fff!important;font-weight:800;text-decoration:none;transition:transform .18s ease}
.adaa-skip-link:focus{transform:translateY(0)}

.adaa-a11y-fab{position:fixed;z-index:2147483000;left:18px;bottom:18px;width:58px;height:58px;border:0;border-radius:18px;background:linear-gradient(145deg,#0b6757,#084d43);color:#fff;box-shadow:0 12px 32px rgba(8,67,57,.28);display:grid;place-items:center;cursor:pointer}
.adaa-a11y-fab svg{width:28px;height:28px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.adaa-a11y-fab:hover{transform:translateY(-2px)}
.adaa-a11y-fab:focus-visible{outline:4px solid #ffcf56;outline-offset:3px}

.adaa-a11y-overlay{position:fixed;z-index:2147483500;inset:0;background:rgba(4,31,27,.48);backdrop-filter:blur(4px);display:none;align-items:stretch;justify-content:flex-start}
.adaa-a11y-overlay.is-open{display:flex}
.adaa-a11y-panel{direction:rtl;width:min(440px,94vw);height:100dvh;background:var(--adaa-a11y-panel);color:#173f38;box-shadow:var(--adaa-a11y-shadow);display:flex;flex-direction:column;overflow:hidden;border-inline-start:1px solid rgba(255,255,255,.45)}
.adaa-a11y-head{padding:20px 20px 16px;background:linear-gradient(135deg,#0a5d50,#074b42);color:#fff;display:flex;gap:14px;align-items:center;justify-content:space-between}
.adaa-a11y-brand{display:flex;gap:12px;align-items:center}.adaa-a11y-brand-mark{width:42px;height:42px;border-radius:13px;background:rgba(255,255,255,.14);display:grid;place-items:center;border:1px solid rgba(255,255,255,.22)}.adaa-a11y-brand-mark svg{width:25px;height:25px;stroke:#fff;fill:none;stroke-width:2}.adaa-a11y-brand h2{font-size:20px;margin:0 0 3px;color:#fff!important}.adaa-a11y-brand p{font-size:12px;margin:0;color:rgba(255,255,255,.82)!important}
.adaa-a11y-close{width:40px;height:40px;border-radius:12px;border:1px solid rgba(255,255,255,.25);background:rgba(255,255,255,.1);color:#fff;font-size:24px;cursor:pointer}
.adaa-a11y-body{padding:16px;overflow:auto;overscroll-behavior:contain;background:#f7faf9;flex:1}
.adaa-a11y-section{background:#fff;border:1px solid var(--adaa-a11y-border);border-radius:16px;padding:14px;margin-bottom:12px}.adaa-a11y-section h3{margin:0 0 11px;font-size:14px;color:#164d44}.adaa-a11y-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.adaa-a11y-grid.one{grid-template-columns:1fr}
.adaa-a11y-toggle,.adaa-a11y-action,.adaa-a11y-profile{min-height:48px;border:1px solid #d7e4e0;background:#fff;border-radius:12px;padding:10px 11px;display:flex;align-items:center;gap:9px;text-align:right;color:#183f39;font-weight:700;cursor:pointer}.adaa-a11y-toggle:hover,.adaa-a11y-action:hover,.adaa-a11y-profile:hover{border-color:#88b8ae;background:#f2f8f6}.adaa-a11y-toggle[aria-pressed="true"],.adaa-a11y-profile.is-active{background:#e6f4ef;border-color:#0f7b67;color:#075b4c;box-shadow:inset 0 0 0 1px #0f7b67}.adaa-a11y-toggle svg,.adaa-a11y-action svg,.adaa-a11y-profile svg{width:19px;height:19px;stroke:currentColor;fill:none;stroke-width:1.9;flex:0 0 auto}
.adaa-a11y-control{display:grid;grid-template-columns:44px 1fr 44px;align-items:center;gap:8px}.adaa-a11y-control button{height:42px;border-radius:10px;border:1px solid #cfdfda;background:#fff;color:#0a6556;font-size:20px;font-weight:800;cursor:pointer}.adaa-a11y-value{text-align:center;background:#f3f7f6;padding:10px;border-radius:10px;font-weight:800;color:#244b45}
.adaa-a11y-segment{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.adaa-a11y-segment button{border:1px solid #d6e3df;background:#fff;border-radius:10px;padding:9px 6px;color:#274d46;cursor:pointer;font-weight:700}.adaa-a11y-segment button[aria-pressed="true"]{background:#0b6757;color:#fff;border-color:#0b6757}
.adaa-a11y-foot{padding:12px 16px 14px;border-top:1px solid #e1ebe8;background:#fff;display:grid;grid-template-columns:1fr auto;gap:9px}.adaa-a11y-reset{border:1px solid #cbdcd7;background:#fff;color:#315b54;border-radius:11px;padding:11px 14px;font-weight:800;cursor:pointer}.adaa-a11y-done{border:0;background:#0b6757;color:#fff;border-radius:11px;padding:11px 18px;font-weight:800;cursor:pointer}.adaa-a11y-note{font-size:11px;color:#66807a;margin:7px 0 0;line-height:1.6}

.adaa-reading-guide{position:fixed;z-index:2147482900;left:0;right:0;height:4px;background:#ffbe18;box-shadow:0 0 0 1px #3c2e00,0 0 14px rgba(255,190,24,.75);pointer-events:none;display:none}.adaa-reading-guide.is-on{display:block}
.adaa-reading-mask-top,.adaa-reading-mask-bottom{position:fixed;z-index:2147482800;left:0;right:0;background:rgba(0,0,0,.48);pointer-events:none;display:none}.adaa-reading-mask-top.is-on,.adaa-reading-mask-bottom.is-on{display:block}

@media(max-width:560px){.adaa-a11y-panel{width:100vw}.adaa-a11y-grid{grid-template-columns:1fr}.adaa-a11y-fab{left:12px;bottom:12px;width:54px;height:54px}}
@media print{.adaa-a11y-fab,.adaa-a11y-overlay,.adaa-skip-link,.adaa-reading-guide,.adaa-reading-mask-top,.adaa-reading-mask-bottom{display:none!important}}
/* Keep the accessibility control itself readable while page filters are active. */
html.adaa-a11y-contrast .adaa-a11y-panel{background:#fff!important;color:#173f38!important;border-color:#dce8e4!important}
html.adaa-a11y-contrast .adaa-a11y-panel :where(div,section,aside){border-color:#dce8e4!important}
html.adaa-a11y-contrast .adaa-a11y-panel :where(p,span,label,li,h1,h2,h3,h4,h5,h6,strong,small){color:#173f38!important;text-shadow:none!important}
html.adaa-a11y-contrast .adaa-a11y-panel .adaa-a11y-head :where(p,h2,span){color:#fff!important}
html.adaa-a11y-contrast .adaa-a11y-panel :where(button){color:#173f38!important;border-color:#cfe0db!important}
html.adaa-a11y-contrast .adaa-a11y-panel .adaa-a11y-done{color:#fff!important}
html.adaa-a11y-big-cursor body{cursor:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cpath d='M5 3l25 17-11 3 6 11-6 3-6-12-8 8z' fill='%23000' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E") 5 3,auto!important}
html.adaa-a11y-big-cursor body :where(a,button,[role="button"],input,select,textarea){cursor:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cpath d='M5 3l25 17-11 3 6 11-6 3-6-12-8 8z' fill='%230b6757' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E") 5 3,pointer!important}
