:root{--fundo:#f5f6f8;--cartao:#fff;--texto:#1d2330;--suave:#5b6474;--linha:#dfe3ea;--azul:#1f5fbf;--azul2:#174a96;--verde:#1d7a46;--verde-f:#e3f4ea;--amarelo:#8a5a00;--amarelo-f:#fff3d6;--vermelho:#b42318;--vermelho-f:#fde8e6}
*{box-sizing:border-box}
body{margin:0;font:16px/1.5 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;background:var(--fundo);color:var(--texto)}
a{color:var(--azul)}
h1{font-size:1.5rem;margin:.2em 0 .6em}h2{font-size:1.15rem;margin:.2em 0 .6em}
main{margin:0 auto;padding:1rem}
main.largo{max-width:1100px}main.estreito{max-width:520px}
.topo{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem 1.2rem;background:#14284b;color:#fff;padding:.6rem 1rem}
.topo a{color:#fff;text-decoration:none}.topo nav{display:flex;flex-wrap:wrap;gap:.2rem .9rem;flex:1}
.topo nav a{padding:.2rem 0;border-bottom:2px solid transparent}.topo nav a:hover{border-color:#fff}
.marca{font-weight:700}.sair{display:flex;align-items:center;gap:.5rem;margin:0}.sair .link{color:#fff}
.cartao{background:var(--cartao);border:1px solid var(--linha);border-radius:10px;padding:1.1rem 1.2rem;margin:0 0 1rem}
.titulo-acao{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.6rem;margin-bottom:.6rem}
.titulo-acao h1{margin:0}.titulo-acao>span{display:flex;flex-wrap:wrap;gap:.4rem}
.colunas{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:1rem}
label{display:block;margin:.7rem 0;font-weight:600}
label.inline{display:inline-block;margin:0 .4rem;font-weight:400}
label.opcao{font-weight:400;display:flex;gap:.5rem;align-items:flex-start}
input,select,textarea{display:block;width:100%;margin-top:.25rem;padding:.6rem .7rem;font:inherit;border:1px solid #b9c0cc;border-radius:7px;background:#fff}
label.opcao input,label.inline input{width:auto;display:inline-block;margin-top:.2rem}
input:focus,select:focus,textarea:focus{outline:3px solid #9cc1f5;border-color:var(--azul)}
fieldset{border:1px solid var(--linha);border-radius:7px;margin:.7rem 0;padding:.4rem .8rem}legend{font-weight:600;padding:0 .3rem}
button,.botao{display:inline-block;padding:.6rem 1.05rem;font:inherit;font-weight:600;border:0;border-radius:7px;background:var(--azul);color:#fff;cursor:pointer;text-decoration:none;min-height:44px}
button:hover,.botao:hover{background:var(--azul2)}
.sec{background:#e7ebf2;color:var(--texto)}.sec:hover{background:#d6dce7}
.perigo{background:var(--vermelho);color:#fff}.perigo:hover{background:#8f1c13}
button.link{background:none;color:var(--azul);padding:0;min-height:0;text-decoration:underline;font-weight:400}
form.inline{display:inline;margin:0}
table{width:100%;border-collapse:collapse;background:#fff;border:1px solid var(--linha);border-radius:10px;overflow:hidden;margin:0 0 1rem}
th,td{text-align:left;padding:.55rem .7rem;border-bottom:1px solid var(--linha);vertical-align:top}th{background:#eef1f6;font-size:.9rem}
.aviso{padding:.7rem .9rem;border-radius:7px;margin:0 0 .9rem;background:var(--amarelo-f);color:var(--amarelo);border:1px solid #f0d48a}
.aviso.ok{background:var(--verde-f);color:var(--verde);border-color:#a7dcbc}
.aviso.erro{background:var(--vermelho-f);color:var(--vermelho);border-color:#f3b4ae}
.aviso input{margin-top:.5rem}
.faixa{padding:1rem 1.2rem;border-radius:10px;font-size:1.1rem;font-weight:600;margin-bottom:1rem}
.faixa.ok{background:var(--verde-f);color:var(--verde)}.faixa.falha{background:var(--vermelho-f);color:var(--vermelho)}.faixa.neutro{background:#eceff4;color:var(--suave)}
.numeros{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:.7rem;margin-bottom:1rem}
.numeros div{background:#fff;border:1px solid var(--linha);border-radius:10px;padding:.8rem}.numeros b{display:block;font-size:1.8rem}
.etq{display:inline-block;padding:.1rem .55rem;border-radius:99px;font-size:.85rem;background:#eceff4;color:var(--suave);font-weight:600}
.etq.verde{background:var(--verde-f);color:var(--verde)}.etq.amarelo{background:var(--amarelo-f);color:var(--amarelo)}.etq.vermelho{background:var(--vermelho-f);color:var(--vermelho)}
.ponto{display:inline-block;width:.75rem;height:.75rem;border-radius:50%;background:#a0a7b4;margin-right:.35rem}
.ponto.ok{background:var(--verde)}.ponto.falha{background:var(--vermelho)}.ponto.sem_evidencia{background:#a0a7b4}
.item{display:flex;justify-content:space-between;align-items:center;gap:.8rem;padding:.6rem 0;border-bottom:1px solid var(--linha)}.item:last-child{border:0}
.acoes{display:flex;flex-wrap:wrap;gap:.35rem}
.nota{color:var(--suave);font-size:.9rem}
.erro-campo{display:block;color:var(--vermelho);font-weight:400;font-size:.9rem;margin-top:.2rem}
.busca{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center;margin-bottom:1rem}.busca>input{flex:1;min-width:200px;margin:0}.busca select{width:auto;margin:0}
details.confirmar{display:inline-block}details.confirmar>summary{list-style:none;cursor:pointer}details.confirmar>summary::-webkit-details-marker{display:none}
details.confirmar[open]{display:block;background:#fff;border:1px solid var(--linha);border-radius:8px;padding:.8rem;max-width:320px;box-shadow:0 6px 24px rgba(0,0,0,.12);margin-top:.3rem}
.chave,.senha-grande{font:600 1.5rem/1.3 ui-monospace,Consolas,monospace;letter-spacing:.06em;background:#eef1f6;padding:.7rem;border-radius:7px;word-break:break-all;text-align:center}
.link-copia{font-family:ui-monospace,Consolas,monospace}
.carregando{color:var(--suave)}
.escondido{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.texto-legal{white-space:pre-wrap}
body.publico{background:#eaf0f8}
@media (max-width:640px){th,td{padding:.45rem}.topo nav{order:3;width:100%}table{font-size:.92rem}}

.mfa-qr { display:block; margin:1rem auto; max-width:100%; background:#fff; padding:.75rem; border-radius:12px; }
