html.a11y-t1 body{zoom:.9}html.a11y-t3 body{zoom:1.15}html.a11y-t4 body{zoom:1.3}html.a11y-t5 body{zoom:1.5}
html.a11y-hc{--bg:#000;--text:#fff;--muted:#fff;--brand:#fff;--accent:#ffd479}
html.a11y-hc body{background:#000!important;color:#fff!important}
html.a11y-hc body :is(p,li,span,small,label,td,th,dd,dt,h1,h2,h3,h4,h5,h6,figcaption,legend){color:#fff!important}
html.a11y-hc body a,html.a11y-hc body a *{color:#ffd479!important}
html.a11y-hc body :is(section,header,footer,article,div,.card){background-image:none!important}
html.a11y-ul a{text-decoration:underline!important;text-underline-offset:.15em}
html.a11y-rf body,html.a11y-rf body *{font-family:system-ui,-apple-system,"Segoe UI",Arial,sans-serif!important;letter-spacing:.04em!important;word-spacing:.12em!important;line-height:1.6}
html.a11y-pa *,html.a11y-pa *::before,html.a11y-pa *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
html.a11y-lc,html.a11y-lc *{cursor:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M2 2l14 34 5-14 14-5z' fill='%23000' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E") 2 2,auto!important}
/* Header control (not a fixed corner button) so it cannot cover body copy on phones */
.a11y-btn{
  position:relative;display:inline-grid;place-items:center;flex:none;
  width:2.6rem;height:2.6rem;margin:0;padding:0;
  border:1.5px solid color-mix(in srgb, var(--brand) 70%, transparent);border-radius:999px;
  background:transparent;color:var(--text);cursor:pointer;
  -webkit-tap-highlight-color:transparent;
  transition:background .15s ease,color .15s ease,border-color .15s ease;
  box-shadow:none;
}
.a11y-btn:hover{color:var(--accent);border-color:var(--accent);background:var(--hdr-hover,transparent)}
.a11y-btn:focus-visible,.a11y-p button:focus-visible,.a11y-p a:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.a11y-btn svg{width:1.2rem;height:1.2rem}
@media (max-width:420px){.a11y-btn{width:2.4rem;height:2.4rem}.a11y-btn svg{width:1.1rem;height:1.1rem}}
@media (max-width:359.98px){.a11y-btn{width:2.2rem;height:2.2rem}}
.a11y-p{
  position:fixed;top:4.75rem;right:12px;left:auto;bottom:auto;z-index:901;
  width:min(300px,calc(100vw - 24px));max-height:calc(100vh - 6rem);overflow:auto;
  background:var(--hdr-panel, var(--bg));color:var(--text);
  border:1px solid var(--brand);border-radius:0;padding:16px;
  box-shadow:0 10px 30px rgb(0 0 0 / 45%);
  font:15px/1.4 var(--font, system-ui, sans-serif);letter-spacing:normal
}
.a11y-p[hidden]{display:none}
.a11y-p h2{font-size:1.05rem;margin:0 0 .75rem;color:var(--text);font-family:var(--font, system-ui, sans-serif)}
.a11y-p .a11y-sz{display:flex;gap:6px;margin-bottom:10px}
.a11y-p button{min-height:44px;border-radius:0;border:1px solid var(--brand);background:var(--bg);color:var(--text);font:inherit;cursor:pointer;padding:6px 10px}
.a11y-p .a11y-sz button{flex:1}
.a11y-p button[aria-pressed=true]{background:var(--accent);color:var(--bg);border-color:var(--accent)}
.a11y-p .a11y-tg{display:grid;gap:6px}
.a11y-p .a11y-tg button{text-align:left}
.a11y-p .a11y-x{position:absolute;top:8px;right:8px;width:44px;padding:0;border:0;background:none;font-size:1.5rem;color:var(--text)}
.a11y-p .a11y-rs{width:100%;margin-top:10px}
.a11y-p p{margin:10px 0 0;font-size:.9rem}
.a11y-p p a{color:var(--accent);text-decoration:underline}
@media print{.a11y-btn,.a11y-p{display:none}}
