/* MODEE A.1.5 user controls. This stylesheet does not claim whole-site WCAG conformance. */
#a11y-widget { position:fixed; left:max(18px,env(safe-area-inset-left)); right:auto; bottom:max(18px,env(safe-area-inset-bottom)); z-index:2147483646; font:14px/1.5 Arial,Tahoma,sans-serif; color:#17324d; letter-spacing:normal; word-spacing:normal; }
#a11y-widget [hidden] { display:none!important; }
#a11y-widget button,#a11y-widget select { font:inherit; line-height:1.4; min-height:44px; cursor:pointer; }
#a11y-widget button { border:1px solid #b9cbdc; background:#fff; color:#17324d; border-radius:9px; padding:9px 12px; }
#a11y-widget button:hover { background:#edf5ff; }
#a11y-widget button:disabled { opacity:.48; cursor:default; }
#a11y-widget #a11y-open { width:52px; height:52px; min-height:52px; padding:9px; display:grid; place-items:center; border-radius:50%; background:#00579b; color:#fff; border:2px solid #fff; box-shadow:0 4px 18px #132f4955; }
#a11y-widget #a11y-open:hover { background:#003f75; }
#a11y-panel { position:fixed; inset:auto auto max(82px,calc(env(safe-area-inset-bottom) + 82px)) max(18px,env(safe-area-inset-left)); margin:0; padding:0; width:min(370px,calc(100vw - 36px)); max-width:none; max-height:calc(100dvh - 110px); border:1px solid #cbd9e7; border-radius:16px; box-shadow:0 16px 60px #102c4966; background:#fff; color:#17324d; font:14px/1.5 Arial,Tahoma,sans-serif; text-align:start; }
#a11y-panel[open] { display:flex; flex-direction:column; }
#a11y-panel::backdrop { background:#102b4629; }
.a11y-panel-header { display:flex; justify-content:space-between; align-items:flex-start; gap:12px; background:#edf5ff; border-bottom:1px solid #dce6ef; padding:18px; flex-shrink:0; }
#a11y-widget h2 { font:700 20px/1.3 Arial,Tahoma,sans-serif; margin:0 0 5px; color:#14395d; }
#a11y-widget p { font-size:13px; margin:0; line-height:1.6; }
#a11y-widget .a11y-close { min-width:44px; padding:2px; font-size:27px; line-height:1; border:0; background:transparent; }
.a11y-panel-body { padding:16px 18px; overflow-y:auto; overscroll-behavior:contain; min-height:0; }
#a11y-widget fieldset { border:0; padding:0; margin:0 0 16px; min-width:0; }
#a11y-widget legend { float:none; width:auto; font-size:14px; font-weight:700; margin:0 0 8px; padding:0; }
.a11y-size-controls { display:flex; align-items:center; gap:7px; }
.a11y-size-controls button { flex:0 0 48px; font-weight:700!important; }
#a11y-size-value { flex:1; text-align:center; font-size:12px; }
.a11y-select-row { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:0 0 12px; font-weight:600; }
#a11y-widget select { border:1px solid #b9cbdc; border-radius:8px; padding:8px; background:#fff; color:#17324d; width:52%; min-width:0; }
.a11y-icon { display:block; width:26px; height:26px; flex-shrink:0; }
.a11y-icon-label { display:inline-flex; align-items:center; justify-content:center; }
.a11y-sr-only { position:absolute!important; width:1px!important; height:1px!important; padding:0!important; margin:-1px!important; overflow:hidden!important; clip:rect(0,0,0,0)!important; white-space:nowrap!important; border:0!important; }
.a11y-size-controls button { display:grid; place-items:center; }
.a11y-select-row > .a11y-icon-label { flex:0 0 32px; }
#a11y-widget .a11y-select-row select { flex:1; width:auto; }
.a11y-toggle-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; margin:16px 0; }
#a11y-widget [data-toggle] { position:relative; min-height:60px; display:grid; place-items:center; padding:10px; }
#a11y-widget [aria-pressed="true"] { background:#e5f1ff; color:#004e8c; border:2px solid #00579b; padding:9px; }
#a11y-widget [aria-pressed="true"]::before { content:'✓'; position:absolute; inset-block-start:1px; inset-inline-end:5px; font-size:12px; font-weight:700; }
#a11y-widget .a11y-help { font-size:12px; color:#445c72; margin:0 0 9px; }
.a11y-page-jump { display:flex; }
.a11y-panel-footer { padding:12px 18px; border-top:1px solid #dce6ef; background:#f8fafc; flex-shrink:0; }
#a11y-widget .a11y-panel-footer button { width:100%; display:grid; place-items:center; color:#00579b; border-color:#00579b; }
#a11y-widget .a11y-panel-footer p { text-align:center; font-size:11px; margin-top:7px; color:#445c72; }
#a11y-reading-guide { position:fixed; left:0; right:0; top:50vh; height:38px; transform:translateY(-50%); background:#ffdc351a; border-block:2px solid #00579b; pointer-events:none; z-index:2147483644; }
.a11y-skip-link { position:fixed; top:8px; inset-inline-start:8px; z-index:2147483647; padding:12px 18px; color:#fff!important; background:#003f75!important; border-radius:8px; transform:translateY(-160%); }
.a11y-skip-link:focus { transform:translateY(0); }
:focus-visible { outline:3px solid #ffbf47!important; outline-offset:3px!important; box-shadow:0 0 0 2px #17324d!important; }
html[data-a11y-color="invert"] { filter:invert(1); }
html[data-a11y-color="invert"] #a11y-widget { filter:invert(1); }
html[data-a11y-color="grayscale"] { filter:grayscale(1); }
html[data-a11y-color="dark"] { --a11y-bg:#111; --a11y-fg:#fff; --a11y-link:#ffe066; }
html[data-a11y-color="light"] { --a11y-bg:#fff; --a11y-fg:#111; --a11y-link:#004c91; }
html:is([data-a11y-color="dark"],[data-a11y-color="light"]) body > :not(#a11y-widget):not(script):not(style),
html:is([data-a11y-color="dark"],[data-a11y-color="light"]) body > :not(#a11y-widget) * { background-color:var(--a11y-bg)!important; background-image:none!important; color:var(--a11y-fg)!important; border-color:var(--a11y-fg)!important; box-shadow:none!important; }
html:is([data-a11y-color="dark"],[data-a11y-color="light"]) body > :not(#a11y-widget) a[href] { color:var(--a11y-link)!important; text-decoration:underline!important; }
html:is([data-a11y-color="dark"],[data-a11y-color="light"]) body > :not(#a11y-widget) svg [fill]:not([fill="none"]) { fill:var(--a11y-fg)!important; }
html[data-a11y-readable="true"] body > :not(#a11y-widget) :not(svg):not(svg *):not([aria-hidden="true"]):not([class*="fa-"]) { font-family:Arial,Tahoma,Verdana,sans-serif!important; }
html[data-a11y-spacing="1"] { --a11y-letter:.04em; --a11y-word:.08em; }
html[data-a11y-spacing="2"] { --a11y-letter:.08em; --a11y-word:.12em; }
html[data-a11y-spacing="3"] { --a11y-letter:.12em; --a11y-word:.16em; }
html[data-a11y-spacing]:not([data-a11y-spacing="0"]) body > :not(#a11y-widget) * { letter-spacing:var(--a11y-letter)!important; word-spacing:var(--a11y-word)!important; }
html[data-a11y-language="ar"][data-a11y-spacing]:not([data-a11y-spacing="0"]) body > :not(#a11y-widget) * { letter-spacing:normal!important; }
html[data-a11y-lines="1"] { --a11y-lines:1.5; }
html[data-a11y-lines="2"] { --a11y-lines:1.75; }
html[data-a11y-lines="3"] { --a11y-lines:2; }
html[data-a11y-lines]:not([data-a11y-lines="0"]) body > :not(#a11y-widget) * { line-height:var(--a11y-lines)!important; }
html[data-a11y-spacing="3"] body > :not(#a11y-widget) p { margin-bottom:2em!important; }
html[data-a11y-text="true"] [data-a11y-scaled] { max-height:none!important; text-overflow:clip!important; white-space:normal!important; }
html[data-a11y-text="true"] :is(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),select,textarea,button)[data-a11y-scaled] { height:auto!important; min-height:2.5em; line-height:1.5!important; }
html[data-a11y-highlight="true"] body > :not(#a11y-widget) :is(a[href],button,input,select,textarea,[role="button"]) { outline:2px solid #00579b!important; outline-offset:2px!important; }
html[data-a11y-highlight="true"] body > :not(#a11y-widget) a[href] { text-decoration:underline!important; text-decoration-thickness:2px!important; }
html[data-a11y-motion="true"] *,html[data-a11y-motion="true"] *::before,html[data-a11y-motion="true"] *::after { animation:none!important; transition:none!important; scroll-behavior:auto!important; caret-color:auto; }
html[data-a11y-motion="true"] [data-aos] { opacity:1!important; transform:none!important; visibility:visible!important; }
html[data-a11y-cursor="true"],html[data-a11y-cursor="true"] * { cursor:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cpath d='M6 3v48l13-12 10 22 10-5-10-21h19z' fill='white' stroke='black' stroke-width='3' stroke-linejoin='round'/%3E%3C/svg%3E") 6 3,auto!important; }
@media (prefers-reduced-motion:reduce) { html { scroll-behavior:auto!important; } #a11y-widget * { transition:none!important; } }
@media print { #a11y-widget,.a11y-skip-link { display:none!important; } html[data-a11y-color] { filter:none!important; } }
