/* On every page, the site and the chat (30.9): the cookie notice and the accessibility menu (extras.js). Self-contained
   colors, so it looks the same on the site's dark pages and on the chat's light/dark theme. */
/* a thin bar flush with the bottom (30.9, Zahi: like other sites - small, out of the way); in the chat at the top */
.x-cookie{position:fixed;left:0;right:0;bottom:0;z-index:9000;display:flex;gap:12px;align-items:center;justify-content:center;
  background:rgba(27,20,31,.97);color:#f3ebe4;border-top:1px solid #4a3a52;padding:8px 14px;box-shadow:0 -10px 30px -16px rgba(0,0,0,.7);
  font:13px/1.45 "Rubik",system-ui,sans-serif}
.x-cookie p{margin:0;max-width:640px}
.x-cookie a{color:#ffb46b}
.x-cookie .x-btns{display:flex;gap:6px;align-items:center;flex:none}
.x-cookie button{font:inherit;font-weight:600;border:0;border-radius:999px;padding:6px 16px;background:#ff5c8a;color:#fff;cursor:pointer}
.x-cookie button.no{background:none;padding:6px 6px;color:#b9a8b3;font-weight:400;text-decoration:underline;text-underline-offset:3px}
.x-cookie button:focus-visible,.x-a11y button:focus-visible,.x-a11y a:focus-visible,.x-a11y-open:focus-visible{outline:3px solid #ffb46b;outline-offset:2px}
.x-cookie.x-inline{position:static;border-top:0;border-bottom:1px solid #4a3a52;box-shadow:none}
@media (max-width:560px){.x-cookie{font-size:12px;padding:7px 10px;gap:8px}.x-cookie .x-btns{flex-direction:column;gap:0}.x-cookie button{padding:5px 14px}.x-cookie button.no{padding:3px 4px;font-size:11.5px}}

.x-a11y-open{position:fixed;inset-inline-end:0;top:50%;transform:translateY(-50%);z-index:8990;width:44px;height:48px;border:0;
  border-start-start-radius:12px;border-end-start-radius:12px;background:#1d4ed8;color:#fff;cursor:pointer;display:grid;place-items:center;
  box-shadow:0 8px 24px -8px rgba(0,0,0,.6)}
.x-a11y-open svg{width:26px;height:26px}
.x-a11y{position:fixed;inset-inline-end:52px;top:50%;transform:translateY(-50%);z-index:8995;width:min(300px,calc(100vw - 70px));
  background:#fff;color:#111;border:2px solid #1d4ed8;border-radius:16px;padding:14px;box-shadow:0 24px 60px -20px rgba(0,0,0,.6);
  font:15px/1.4 "Rubik",system-ui,sans-serif}
.x-a11y[hidden]{display:none}
.x-a11y h2{font:600 17px/1.2 "Rubik",system-ui,sans-serif;margin:0 0 10px;color:#111;letter-spacing:0}
.x-a11y .grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.x-a11y button{font:inherit;font-size:14px;border:1px solid #c7cdd8;background:#f4f6fa;color:#111;border-radius:10px;padding:9px 8px;cursor:pointer;text-align:center}
.x-a11y button[aria-pressed="true"]{background:#1d4ed8;border-color:#1d4ed8;color:#fff}
.x-a11y .row{display:flex;gap:8px;margin-top:8px}
.x-a11y .row button{flex:1}
.x-a11y a{display:block;margin-top:10px;color:#1d4ed8;font-size:14px}

/* what the menu switches on (classes on <html>) */
html.x-big body{zoom:1.15}
html.x-bigger body{zoom:1.3}
html.x-contrast body>*:not(.x-a11y):not(.x-a11y-open):not(.x-cookie){filter:contrast(1.5) saturate(1.2)}
html.x-gray body>*:not(.x-a11y):not(.x-a11y-open):not(.x-cookie){filter:grayscale(1)}
html.x-contrast.x-gray body>*:not(.x-a11y):not(.x-a11y-open):not(.x-cookie){filter:grayscale(1) contrast(1.5)}
html.x-links a{text-decoration:underline !important;text-underline-offset:3px;outline:2px dashed currentColor;outline-offset:2px}
html.x-font body,html.x-font body *:not(svg):not(svg *){font-family:Arial,"Segoe UI",system-ui,sans-serif !important;letter-spacing:.01em !important}
html.x-still *,html.x-still *::before,html.x-still *::after{animation:none !important;transition:none !important;scroll-behavior:auto !important}
