/* ♿ ACCESSIBILITY OPTIONS (demo-kit/a11y.js) — 22 Oct 2026. A dark glass side tab on the left edge, closed by default.
   ⛔ One blue #6f97e4 for the "on" state (the estate's blue), no gradient glows, no radial gradients. */
.a11y { position: fixed; left: 0; top: 58%; z-index: 2147483000; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.a11y__tab { display: grid; place-items: center; width: 44px; height: 48px; padding: 0; cursor: pointer; color: #fff; border: 1px solid rgba(255, 255, 255, .32); border-left: 0; border-radius: 0 14px 14px 0;
  background: linear-gradient(180deg, rgba(22, 30, 42, .86), rgba(10, 16, 26, .92)); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 6px 18px rgba(0, 0, 0, .28); }
.a11y__tab svg { width: 24px; height: 24px; fill: currentColor; }
.a11y__tab:hover { background: linear-gradient(180deg, rgba(34, 46, 64, .9), rgba(14, 22, 34, .94)); }
.a11y__tab:focus-visible, .a11y__panel button:focus-visible, .a11y__panel a:focus-visible { outline: 3px solid #fff; outline-offset: 2px; box-shadow: 0 0 0 5px #0a1620; }
.a11y__panel[hidden] { display: none !important; }
.a11y__panel { position: absolute; left: 54px; top: -90px; width: 288px; max-width: calc(100vw - 70px); display: grid; gap: 8px; padding: 16px; border-radius: 18px; color: #fff; font: 500 14px/1.35 inherit;
  background: linear-gradient(180deg, rgba(20, 28, 40, .94), rgba(9, 14, 22, .97)); border: 1px solid rgba(255, 255, 255, .28); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 18px 46px rgba(0, 0, 0, .4); }
.a11y__h { margin: 0 0 2px; font: 700 16px/1.2 inherit; color: #fff; }
.a11y__row { display: grid; grid-template-columns: 1fr auto auto auto; align-items: center; gap: 8px; }
.a11y__lbl { color: #e7ebf2; }
.a11y__panel button { min-height: 44px; padding: 8px 14px; cursor: pointer; font: 600 14px/1.2 inherit; color: #fff; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .38);
  background: linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .06)); }
.a11y__panel button:hover { background: linear-gradient(180deg, rgba(255, 255, 255, .26), rgba(255, 255, 255, .12)); }
.a11y__row button { min-width: 44px; padding: 8px 10px; }
.a11y__opt { text-align: left; }
.a11y__opt[aria-pressed="true"] { color: #0a1620; border-color: transparent; background: #6f97e4; }
.a11y__opt[aria-pressed="true"]::after { content: " \2713"; font-weight: 800; }
.a11y__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 2px; }
.a11y__foot a { color: #fff; font-weight: 600; text-underline-offset: 3px; min-height: 44px; display: inline-flex; align-items: center; }
.a11y .a11y__foot .a11y__reset { min-width: 0; }
.a11y__fine { margin: 0; font-size: 12px; line-height: 1.4; color: #cfd6e2; }
.a11y__sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 819px) { .a11y { top: auto; bottom: 168px; } .a11y__panel { top: auto; bottom: 0; } }
@media print { .a11y { display: none; } }

/* the options themselves (set on <html> by a11y.js) */
html[data-a11y-size="1"] { zoom: 1.12; }
html[data-a11y-size="2"] { zoom: 1.25; }
html[data-a11y-underline] a { text-decoration: underline !important; text-underline-offset: 3px; text-decoration-thickness: 2px; }
html[data-a11y-font] body, html[data-a11y-font] body * { font-family: Verdana, Tahoma, "Segoe UI", sans-serif !important; letter-spacing: .01em !important; }
html[data-a11y-motion] *, html[data-a11y-motion] *::before, html[data-a11y-motion] *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
/* High contrast: the site's own ground becomes pure white (or pure black on a dark site), text the opposite, links and buttons outlined.
   Pictures stay as they are; a text block laid over a picture gets a solid ground of its own. The panel itself is left alone. */
html[data-a11y-contrast][data-a11y-theme="light"] body, html[data-a11y-contrast][data-a11y-theme="light"] body :not(img):not(svg):not(video):not(canvas):not(picture):not(source):not(.a11y):not(.a11y *) { color: #000 !important; background-color: #fff !important; background-image: none !important; border-color: #000 !important; text-shadow: none !important; box-shadow: none !important; }
html[data-a11y-contrast][data-a11y-theme="dark"] body, html[data-a11y-contrast][data-a11y-theme="dark"] body :not(img):not(svg):not(video):not(canvas):not(picture):not(source):not(.a11y):not(.a11y *) { color: #fff !important; background-color: #000 !important; background-image: none !important; border-color: #fff !important; text-shadow: none !important; box-shadow: none !important; }
html[data-a11y-contrast][data-a11y-theme="light"] a:not(.a11y *) { color: #0000b8 !important; text-decoration: underline !important; }
html[data-a11y-contrast][data-a11y-theme="dark"] a:not(.a11y *) { color: #8fc0ff !important; text-decoration: underline !important; }
html[data-a11y-contrast] button:not(.a11y *), html[data-a11y-contrast] .btn:not(.a11y *), html[data-a11y-contrast] [role="button"]:not(.a11y *) { border: 2px solid currentColor !important; }
html[data-a11y-contrast] svg:not(.a11y *) { filter: none; }
html[data-a11y-contrast] img:not(.a11y *), html[data-a11y-contrast] video:not(.a11y *) { filter: contrast(1.08); }
