/* Barra de acessibilidade - Portal do Servidor (18/11/2026) */
.a11y-bar{background:#0b1446;color:#fff;font-family:'Roboto',Arial,sans-serif;font-size:13px;line-height:20px;border-bottom:1px solid #2d3e8d}
.a11y-bar .a11y-in{max-width:1240px;margin:0 auto;padding:4px 10px;display:flex;align-items:center;justify-content:flex-end;gap:6px;flex-wrap:wrap}
.a11y-bar .a11y-label{margin-right:4px;opacity:.9;display:inline-flex;align-items:center;gap:6px}
.a11y-bar .a11y-label svg{width:18px;height:18px;fill:#fff}
.a11y-bar button{background:#2d3e8d;color:#fff;border:1px solid #4d5fb3;border-radius:4px;padding:3px 10px;font:inherit;font-weight:700;cursor:pointer;min-width:34px;line-height:20px}
.a11y-bar button:hover{background:#3b4fb0}
.a11y-bar button:focus-visible{outline:3px solid #ffd400;outline-offset:1px}
.a11y-bar button[aria-pressed="true"]{background:#ffd400;color:#0b1446;border-color:#ffd400}
.a11y-bar button[disabled]{opacity:.45;cursor:default}
.a11y-skip{position:absolute;left:-9999px;top:0;background:#ffd400;color:#0b1446;padding:8px 14px;font-weight:700;z-index:9999;text-decoration:none}
.a11y-skip:focus{left:8px;top:8px;outline:3px solid #0b1446}
@media (max-width:600px){.a11y-bar .a11y-in{justify-content:center}.a11y-bar .a11y-label span{display:none}}

/* Tamanho da fonte: aplicado ao conteúdo abaixo da barra */
html.a11y-f1 body>*:not(.a11y-bar){zoom:1.15}
html.a11y-f2 body>*:not(.a11y-bar){zoom:1.3}
html.a11y-f3 body>*:not(.a11y-bar){zoom:1.5}

/* Alto contraste: fundo preto, texto branco, links amarelos */
html.a11y-hc,html.a11y-hc body,html.a11y-hc body *:not(.a11y-bar):not(.a11y-bar *){background-color:#000!important;background-image:none!important;color:#fff!important;border-color:#fff!important;box-shadow:none!important;text-shadow:none!important}
html.a11y-hc a,html.a11y-hc a *,html.a11y-hc a.linkb{color:#ffd400!important;text-decoration:underline!important}
html.a11y-hc a:hover,html.a11y-hc a:focus{color:#fff!important;background-color:#333!important}
html.a11y-hc input,html.a11y-hc textarea,html.a11y-hc select,html.a11y-hc button:not(.a11y-bar button){background-color:#111!important;color:#fff!important;border:1px solid #fff!important}
html.a11y-hc input[type=submit],html.a11y-hc input[type=button],html.a11y-hc .button,html.a11y-hc .btn{background-color:#ffd400!important;color:#000!important;border-color:#ffd400!important;font-weight:700}
html.a11y-hc td,html.a11y-hc th,html.a11y-hc table{border-color:#555!important}
html.a11y-hc .barra2,html.a11y-hc .barrona,html.a11y-hc .rodape,html.a11y-hc .barraverde{border-bottom:1px solid #fff!important}
html.a11y-hc img.logo{background-color:#fff!important;padding:6px;border-radius:6px}
html.a11y-hc .mlai,html.a11y-hc .mwat{padding-left:0!important}
html.a11y-hc .open,html.a11y-hc .error,html.a11y-hc .important{color:#ff7b7b!important}
html.a11y-hc .resolved,html.a11y-hc .success{color:#7bff7b!important}
html.a11y-hc .waitingreply,html.a11y-hc .notice{color:#ffb84d!important}
html.a11y-hc .replied{color:#8ab4ff!important}
html.a11y-hc :focus-visible{outline:3px solid #ffd400!important;outline-offset:2px}

/* Com fonte ampliada, os contêineres de largura fixa viram fluidos para não estourar a tela */
html[class*="a11y-f"] .linhacentro,html[class*="a11y-f"] .linhacentro2,html[class*="a11y-f"] .base,html[class*="a11y-f"] .base2,html[class*="a11y-f"] table.enclosing,html[class*="a11y-f"] .menugrande2,html[class*="a11y-f"] .rodape table{width:auto!important;max-width:100%!important}
html[class*="a11y-f"] .rodape{height:auto!important;padding-bottom:30px}
html[class*="a11y-f"] .rodape td{display:block;width:auto!important;padding:6px 10px}
html[class*="a11y-f"] .menugrande2{height:auto!important}
html[class*="a11y-f"] img.logo{max-width:100%;height:auto}
html[class*="a11y-f"] textarea,html[class*="a11y-f"] input[type=text],html[class*="a11y-f"] select{max-width:100%}

/* Alto contraste: cards do menu mantêm borda e ícones */
html.a11y-hc .boxmenu{border:2px solid #fff!important}
html.a11y-hc .boxmenu:hover,html.a11y-hc .boxmenu:focus-within{background-color:#222!important}
html.a11y-hc body .boxmenu.ico1{background-image:url(img/01.png)!important}
html.a11y-hc body .boxmenu.ico2{background-image:url(img/02.png)!important}
html.a11y-hc body .boxmenu.ico3{background-image:url(img/03.png)!important}
html.a11y-hc body .boxmenu.ico4{background-image:url(img/04.png)!important}
html.a11y-hc body .boxmenu.ico5{background-image:url(img/05.png)!important}
html.a11y-hc body .boxmenu.ico6{background-image:url(img/06.png)!important}
html.a11y-hc body .boxmenu.ico7{background-image:url(img/07.png)!important}
html.a11y-hc body .boxmenu.ico8{background-image:url(img/08.png)!important}
html.a11y-hc body .boxmenu.ico9{background-image:url(img/09.png)!important}
html.a11y-hc body .boxmenu.ico10{background-image:url(img/10.png)!important}
html.a11y-hc body .boxmenu.ico11{background-image:url(img/11.png)!important}
