/* Clicaluz — painel de acessibilidade compartilhado */
:root{--a11y-accent:#1d4ed8;--a11y-on:#fff;--fsx:1}
html{font-size:calc(16px * var(--fsx))}
.a11y-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.a11y-btn{position:fixed;left:max(16px,env(safe-area-inset-left));bottom:max(16px,env(safe-area-inset-bottom));width:58px;height:58px;border-radius:50%;background:var(--a11y-accent);color:var(--a11y-on);border:3px solid #fff;font-size:1.7rem;cursor:pointer;z-index:2147483000;box-shadow:0 8px 24px rgba(0,0,0,.3);display:grid;place-items:center;padding:0;font-family:system-ui,sans-serif}
.a11y-btn:focus-visible,.a11y-p :focus-visible{outline:3px solid #f59e0b!important;outline-offset:3px}
.a11y-p{position:fixed;left:max(12px,env(safe-area-inset-left));bottom:calc(max(16px,env(safe-area-inset-bottom)) + 70px);width:min(360px,calc(100vw - 24px));max-height:calc(100dvh - 110px);overflow:auto;background:#fff;color:#111827;border-radius:16px;box-shadow:0 18px 50px rgba(0,0,0,.35);z-index:2147483001;padding:16px;font:16px/1.4 system-ui,"Segoe UI",Roboto,sans-serif;letter-spacing:normal;word-spacing:normal;text-align:left}
.a11y-p[hidden]{display:none}.a11y-p h2{text-align:left!important;font-family:inherit!important;font-size:1.15rem;margin:0 0 4px;color:#111827;font-weight:700;border:0;padding:0;text-transform:none;letter-spacing:normal}.a11y-p h3{font-size:.85rem;text-transform:uppercase;letter-spacing:.05em;color:#374151;margin:14px 0 6px;font-weight:700}
.a11y-p .row{display:grid;grid-template-columns:1fr 1fr;gap:8px}.a11y-p button,.a11y-p select{min-height:44px;border:2px solid #d1d5db;background:#f9fafb;color:#111827;border-radius:10px;font:inherit;font-size:.9rem;cursor:pointer;padding:6px 8px;text-transform:none;letter-spacing:normal;box-shadow:none}
.a11y-p button[aria-pressed=true]{background:var(--a11y-accent);color:var(--a11y-on);border-color:var(--a11y-accent)}.a11y-p .x{position:absolute;right:10px;top:10px;width:44px}
.a11y-p label{font-size:.9rem;display:flex;align-items:center;gap:8px;margin-top:8px}.a11y-p input[type=range]{flex:1;accent-color:var(--a11y-accent)}
.a11y-p .full{grid-column:1/-1;background:#fee2e2;border-color:#fca5a5}.a11y-p .stop{grid-column:1/-1}.a11y-p p{font-size:.8rem;margin:10px 0 0;color:#374151}
#a11y-guide{position:fixed;left:0;right:0;height:36px;pointer-events:none;z-index:2147482999;background:rgba(255,213,0,.18);border-top:3px solid #facc15;border-bottom:3px solid #facc15;display:none}
html.guide #a11y-guide{display:block}
html.reading-click body>*:not(.a11y-fixed) *:hover{outline:2px dashed var(--a11y-accent)}
.a11y-speaking{background:#fef08a!important;color:#111!important}
[vw]{z-index:2147482998!important}@media(max-width:600px){html.a11y-open [vw]{display:none!important}}
/* modos */
html.dys body{font-family:"Atkinson Hyperlegible",Verdana,sans-serif!important}html.dys body *:not(.a11y-ui):not(.a11y-ui *){font-family:inherit!important}
html.space body{line-height:2!important;letter-spacing:.06em;word-spacing:.12em}html.space p,html.space li{margin-bottom:.6em}
html.links a:not(.btn):not(.wa):not(.logo):not(.a11y-ui *){text-decoration:underline!important;text-decoration-thickness:3px!important;background:#fef08a!important;color:#111!important}html.links .btn{outline:3px solid #facc15}
html.bigcur,html.bigcur *{cursor:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48'%3E%3Cpath d='M4 4l16 40 6-16 16-6z' fill='%23000' stroke='%23fff' stroke-width='3'/%3E%3C/svg%3E") 4 4,auto!important}
html.noanim *,html.noanim *:before,html.noanim *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}html.noanim .r{opacity:1;transform:none}
html.hc-dark body,html.hc-dark body *:not(.a11y-ui):not(.a11y-ui *):not(img):not(.wa):not([vw]):not([vw] *):not([id^="vlibras"]):not([id^="vlibras"] *){background-color:#000!important;background-image:none!important;color:#fff!important;border-color:#fff!important;box-shadow:none!important;text-shadow:none!important;-webkit-text-fill-color:currentColor}
html.hc-dark body :is(a,.hl,em,i):not(.a11y-ui *):not(.a11y-x.a11y-x.a11y-x.a11y-x.a11y-x.a11y-x.a11y-x.a11y-x){color:#ff0!important}
html.hc-dark body :is(.btn,button):not(.a11y-ui):not(.a11y-ui *):not([vw] *):not(.a11y-x.a11y-x.a11y-x.a11y-x.a11y-x.a11y-x.a11y-x.a11y-x){background-color:#ff0!important;color:#000!important;-webkit-text-fill-color:#000;border:2px solid #fff!important}
html.hc-light body,html.hc-light body *:not(.a11y-ui):not(.a11y-ui *):not(img):not(.wa):not([vw]):not([vw] *):not([id^="vlibras"]):not([id^="vlibras"] *){background-color:#fff!important;background-image:none!important;color:#000!important;border-color:#000!important;box-shadow:none!important;text-shadow:none!important;-webkit-text-fill-color:currentColor}
html.hc-light body :is(a,.hl,em,i):not(.a11y-ui *):not(.a11y-x.a11y-x.a11y-x.a11y-x.a11y-x.a11y-x.a11y-x.a11y-x){color:#0000a0!important;text-decoration:underline}
html.hc-light body :is(.btn,button):not(.a11y-ui):not(.a11y-ui *):not([vw] *):not(.a11y-x.a11y-x.a11y-x.a11y-x.a11y-x.a11y-x.a11y-x.a11y-x){background-color:#000!important;color:#fff!important;-webkit-text-fill-color:#fff;border:2px solid #000!important}
html.f-prot body>*:not(.a11y-fixed):not([id^="vlibras"]){filter:url(#a11y-f-prot)}html.f-deut body>*:not(.a11y-fixed):not([id^="vlibras"]){filter:url(#a11y-f-deut)}html.f-trit body>*:not(.a11y-fixed):not([id^="vlibras"]){filter:url(#a11y-f-trit)}html.f-achr body>*:not(.a11y-fixed):not([id^="vlibras"]){filter:grayscale(1)}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
