/* First-party display preferences; no third-party accessibility overlay. */
.a11y-tools { max-width:76rem; margin:1.5rem auto; padding:1rem; border:1px solid currentColor; border-radius:.4rem; overflow-wrap:anywhere; }
.a11y-tools summary { cursor:pointer; padding:.5rem; font-weight:700; min-height:44px; }
.a11y-tools fieldset { border:0; margin:0; padding:.5rem; display:flex; flex-wrap:wrap; gap:.6rem 1.5rem; }
.a11y-tools legend { padding-top:.5rem; }
.a11y-tools label { display:flex; align-items:center; gap:.6rem; min-height:44px; cursor:pointer; }
.a11y-tools input { width:1.25rem; height:1.25rem; flex-shrink:0; }
.a11y-tools button { font:inherit; color:inherit; background:transparent; border:2px solid currentColor; border-radius:.25rem; padding:.55rem .8rem; min-height:44px; cursor:pointer; }
.a11y-tools p { margin:.5rem; max-width:70ch; font-size:1rem; }
.a11y-tools a { text-decoration:underline; }
.a11y-tools :focus-visible { outline:3px solid #1463ff; outline-offset:3px; box-shadow:0 0 0 5px #fff; }
html[data-a11y-large] { font-size:125%; }
html[data-a11y-space] body :is(p,li,dd,label,input,select,button) { line-height:1.8!important; letter-spacing:.06em!important; word-spacing:.12em!important; }
html[data-a11y-space] p { margin-bottom:1.5em!important; }
html[data-a11y-contrast] body,
html[data-a11y-contrast] body * { color:#000!important; background-color:#fff!important; background-image:none!important; border-color:#000!important; text-shadow:none!important; }
html[data-a11y-contrast] a { text-decoration:underline!important; }
html[data-a11y-contrast] :focus-visible { outline:3px solid #000!important; outline-offset:3px; box-shadow:0 0 0 5px #fff!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; }
html[data-a11y-motion] { scroll-behavior:auto!important; }
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto!important; } *,*::before,*::after { animation:none!important; transition:none!important; scroll-behavior:auto!important; } }
@media(max-width:600px) { .a11y-tools { margin:1rem; } .a11y-tools fieldset { display:grid; } }
@media print { .a11y-tools { display:none; } }

