:root{--navy:#10243e;--navy2:#173858;--green:#1b9b86;--green2:#157a6a;--bg:#f4f7fb;--text:#172033;--muted:#64748b;--line:#dfe6ef;--white:#fff;--danger:#b9475a}
*{box-sizing:border-box}html,body{margin:0;min-height:100%}body{font-family:Inter,Segoe UI,Arial,sans-serif;background:var(--bg);color:var(--text);line-height:1.5}
button,input,select,textarea{font:inherit}.top{min-height:72px;background:linear-gradient(120deg,var(--navy),var(--navy2));color:#fff;padding:0 max(22px,6vw);display:flex;justify-content:space-between;align-items:center;box-shadow:0 4px 18px #10243e22;position:sticky;top:0;z-index:10}
.brand{font-weight:900;font-size:20px;letter-spacing:.4px}.brand span{color:#66d5c0}.nav{display:flex;align-items:center;gap:4px}.nav button{background:transparent;border:0;color:#e8f0fa;padding:10px 12px;border-radius:8px;cursor:pointer}.nav button:hover{background:#ffffff16;color:#fff}
.container{max-width:1180px;margin:38px auto;padding:0 22px 50px}.hero{background:linear-gradient(135deg,var(--navy),#183d61);color:#fff;border-radius:22px;padding:52px 48px;margin-bottom:24px;box-shadow:0 16px 40px #10243e22;position:relative;overflow:hidden}.hero:after{content:"";position:absolute;width:280px;height:280px;border-radius:50%;background:#1b9b8625;right:-70px;top:-100px}.hero h1{font-size:42px;line-height:1.12;margin:0 0 14px;max-width:760px}.hero p{color:#d5e2f0;font-size:17px;max-width:720px;margin:0 0 24px}.hero .btn{margin-right:8px}
.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.card,.form{background:var(--white);border:1px solid #e8edf3;border-radius:16px;padding:24px;box-shadow:0 5px 20px #13233b0c}.card h2,.card h3,.form h2{margin-top:0}.grid .card{min-height:145px}.grid .card h3{font-size:18px}
.btn{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:10px;padding:11px 17px;font-weight:800;text-decoration:none;cursor:pointer;transition:.15s}.btn:hover{transform:translateY(-1px)}.primary{background:var(--green);color:#fff}.primary:hover{background:var(--green2)}.secondary{background:#e8eef6;color:#18304d}.danger{background:var(--danger);color:#fff}
.field{margin-bottom:17px}.field label{display:block;font-weight:800;margin-bottom:7px;color:#26364a}.field input,.field select,.field textarea{width:100%;padding:12px 13px;border:1px solid #cfd9e6;border-radius:9px;background:#fff;outline:none}.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--green);box-shadow:0 0 0 3px #1b9b8618}.field textarea{min-height:135px;resize:vertical}
.choice{display:flex;gap:12px;margin-bottom:20px}.choice button{flex:1;padding:18px;border:2px solid #d5deea;background:#fff;border-radius:11px;cursor:pointer}.choice .active{border-color:var(--green);background:#edf9f6}
.notice{padding:14px 16px;border-radius:10px;background:#edf7ff;border:1px solid #d6eaff;margin:15px 0}.protocol{font-size:26px;font-weight:900;letter-spacing:1px}
.stats{display:grid;grid-template-columns:repeat(6,1fr);gap:12px;margin-bottom:20px}.stat{text-align:center;padding:18px}.stat span{display:block;font-size:12px;color:var(--muted);font-weight:700}.stat strong{display:block;font-size:28px;margin-top:5px;color:var(--navy)}
.table{width:100%;border-collapse:separate;border-spacing:0;background:#fff;border:1px solid #e6ebf2;border-radius:14px;overflow:hidden}.table th,.table td{padding:13px 14px;text-align:left;border-bottom:1px solid #e6ebf2}.table th{background:#f8fafc;color:#42526a;font-size:13px}.table tr:last-child td{border-bottom:0}.badge{display:inline-block;padding:5px 9px;border-radius:20px;background:#eaf2ff;font-size:12px;font-weight:800}
.timeline{border-left:3px solid var(--green);padding-left:18px}.timeline div{margin-bottom:18px}.small{color:var(--muted);font-size:13px}.toolbar,.actions{display:flex;gap:10px;flex-wrap:wrap}.toolbar{margin-bottom:18px}
a{color:#126f91}hr{border:0;border-top:1px solid var(--line);margin:22px 0}
@media(max-width:950px){.stats{grid-template-columns:repeat(3,1fr)}}@media(max-width:760px){.top{position:static;display:block;padding:16px 18px}.nav{margin-top:10px;flex-wrap:wrap}.nav button{padding:8px}.container{margin-top:22px;padding:0 14px 35px}.hero{padding:34px 25px}.hero h1{font-size:31px}.grid,.stats{grid-template-columns:1fr}.choice{display:block}.choice button{width:100%;margin-bottom:8px}.table{font-size:12px}.table th,.table td{padding:8px}}

.uh{background:linear-gradient(110deg,#006b54,#00995d);color:#fff}.hi{max-width:1440px;margin:auto;min-height:126px;display:flex;align-items:center;padding:10px 38px;gap:24px}.hi img{width:210px}.ht{border-left:1px solid #ffffff66;padding-left:24px;display:flex;flex-direction:column;min-width:360px}.ht b{font-size:28px}.uh nav{margin-left:auto;display:flex;gap:5px;flex-wrap:wrap}.uh nav a{color:white;text-decoration:none;font-weight:800;padding:13px;border-radius:9px}.uh nav a:hover{background:#005f4b}.ah{max-width:1536px;margin:auto;min-height:305px;display:grid;grid-template-columns:1.1fr 1fr;background:linear-gradient(100deg,#fff,#f5fbf8 55%,#d9f2e5)}.hc{padding:35px 4.5vw}.hc h1{font-size:46px;line-height:1.05;color:#006b54;margin:0 0 14px}.hc p{font-size:17px;max-width:700px}.ha{display:flex;gap:14px}.ha .btn{min-width:285px;display:block;font-size:18px}.ha small{display:block;font-size:12px;font-weight:500;margin-left:22px}.outline{background:#fff;color:#007b5c;border:2px solid #00995d}.hv{position:relative;display:flex;align-items:center;justify-content:center;color:#006b54}.eth{position:absolute;left:25px;top:65px;font-size:30px}.hands{font-size:115px}.tr{position:absolute;right:20px;bottom:20px;background:#d5f2e1;padding:15px;border-radius:15px}.tc,.tp,.bi{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.ic{background:#fff;border:1px solid #e1e8e4;border-radius:14px;padding:20px;display:flex;gap:15px;box-shadow:0 4px 14px #004b3420}.ic i{font-style:normal;font-size:34px}.ic h3,.pn h2,.bi h3{color:#006b54;margin-top:0}.tp{margin-top:14px}.pn{border-radius:14px;padding:22px}.green{background:#eaf7ef}.pale{background:#f3faf7}.pn.red{background:#fff0f1}.pn.red h2{color:#d52635}.tip{background:#d6f3e0;padding:12px;border-radius:9px}.rb{background:#fff;border:2px solid #df3541;color:#d52635}.bi{margin-top:14px}.bi>div{padding:18px}.uf{background:linear-gradient(100deg,#006b54,#008c63);color:#fff;padding:18px 4.5vw;display:flex;justify-content:space-between;gap:20px;font-size:13px}@media(max-width:1000px){.hi{flex-wrap:wrap}.ht{min-width:0}.uh nav{width:100%;margin:0}.ah{grid-template-columns:1fr}.hv{min-height:220px}.tc,.tp,.bi{grid-template-columns:1fr}.ha{flex-direction:column}.uf{flex-direction:column}}@media(max-width:600px){.hi{padding:12px 16px}.hi img{width:155px}.ht{border:0;padding:0}.ht b{font-size:20px}.hc{padding:28px 18px}.hc h1{font-size:34px}}
/* V18 - layout aprovado */
:root{--u:#008c68;--ud:#006b55;--text:#17334c;--bg:#f5f8f9}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:Arial,Helvetica,sans-serif}.topbar{background:linear-gradient(105deg,#00745b,#009b6a);color:#fff}.top-inner{max-width:1536px;margin:auto;min-height:126px;padding:10px 68px;display:flex;align-items:center;gap:24px}.brand{color:#fff;text-decoration:none;display:flex;flex-direction:column}.brand .slogan{font-size:12px;font-weight:800;margin:0 0 6px 2px}.brand img{width:210px;max-height:86px;object-fit:contain}.titlebox{border-left:1px solid #ffffff80;padding-left:22px;display:flex;flex-direction:column;white-space:nowrap}.titlebox strong{font-size:30px}.titlebox span{font-size:17px}.mainnav{margin-left:auto;display:flex;align-items:center;gap:10px}.mainnav a{color:#fff;text-decoration:none;font-weight:800;padding:17px 16px;border-radius:13px;white-space:nowrap}.mainnav a:hover{background:#00644f}.hero-approved{max-width:1536px;margin:auto;background:#fff;display:grid;grid-template-columns:51% 49%;min-height:307px}.hero-copy{padding:27px 68px}.hero-copy h1{color:#006b55;font-size:50px;line-height:.98;margin:0 0 14px;font-weight:800}.hero-copy p{font-size:17px;line-height:1.35;max-width:700px;margin:0}.hero-buttons{display:flex;gap:14px;margin-top:17px}.cta{position:relative;display:block;min-width:330px;border-radius:12px;padding:14px 45px 12px 32px;text-decoration:none}.cta b{display:block;font-size:19px}.cta small{display:block;font-size:13px;margin:4px 0 0 25px}.cta em{position:absolute;right:20px;top:19px;font-size:32px;font-style:normal}.cta.primary{background:linear-gradient(105deg,#009b68,#00875f);color:#fff;box-shadow:0 6px 14px #007f6030}.cta.secondary{border:2px solid #008c68;color:#006b55;background:#fff}.hero-photo{position:relative;background:linear-gradient(90deg,#eef8f4 0%,transparent 35%),url('equipe-etica.png') center right/cover no-repeat;overflow:hidden}.ethics{position:absolute;left:26px;top:67px;color:#006b55;font-size:32px;line-height:1.18}.transparency{position:absolute;right:0;bottom:0;width:265px;padding:17px 25px;background:#dff5e8e8;color:#006b55;font-size:17px}.page-content{max-width:1445px;margin:14px auto 0;padding:0 0 12px}.feature-row,.info-grid,.bottom-row{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.feature-row article{background:#fff;border:1px solid #e2e8e7;border-radius:13px;box-shadow:0 3px 12px #17334c12;padding:17px 30px;display:flex;gap:20px;min-height:112px;align-items:flex-start}.feature-row i,.bottom-row i{font-style:normal;color:#008c68;font-size:39px}.feature-row h3,.bottom-row h3{color:#006b55;margin:2px 0 7px;font-size:18px}.feature-row p,.bottom-row p{margin:0;line-height:1.35}.info-grid{margin-top:14px}.info{border-radius:14px;padding:18px 22px;min-height:285px}.info.green{background:linear-gradient(120deg,#e4f5e8,#edf8ef)}.info.pale{background:linear-gradient(120deg,#eff9f5,#f7fbfa)}.info.danger{background:linear-gradient(120deg,#fff0f2,#ffe9ec)}.info h2{color:#006b55;font-size:19px;margin:0 0 8px}.info h2 i{font-style:normal;display:inline-flex;width:42px;height:42px;border-radius:50%;align-items:center;justify-content:center;background:#16a267;color:white;font-size:28px;margin-right:8px}.info.danger h2{color:#e31d35}.info.danger h2 i{background:#ed1b35}.info p,.info li{font-size:14px;line-height:1.42}.info ul{padding-left:20px;margin:8px 0}.tip{background:#d8f3e1;border-radius:10px;padding:12px;margin-top:12px;font-size:13px}.tip b{color:#008c68;font-size:20px;margin-right:8px}.ouvidoria{display:block;border:2px solid #ed1b35;border-radius:12px;color:#ed1b35;text-decoration:none;font-weight:800;padding:16px;text-align:center;margin-top:15px;background:#fff}.bottom-row{margin-top:12px}.bottom-row article{display:flex;gap:16px;padding:10px 22px;min-height:75px}.bottom-row article+article{border-left:1px solid #d9e2e0}.bottom-row i{font-size:34px}.bottom-row h3{font-size:15px;margin-bottom:3px}.bottom-row p{font-size:13px}.footer{background:linear-gradient(105deg,#006c55,#008c68);color:#fff;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:17px max(4.5vw,40px);font-size:12px}.flash-wrap{max-width:1445px;margin:12px auto}.notice{background:#fff4d5;border:1px solid #ecd27b;padding:12px;border-radius:9px}@media(max-width:1100px){.top-inner{padding:12px 24px;flex-wrap:wrap}.mainnav{width:100%;margin:0;justify-content:center}.hero-approved{grid-template-columns:1fr}.hero-photo{min-height:280px}.hero-copy{padding:30px 30px}.feature-row,.info-grid,.bottom-row{grid-template-columns:1fr}.page-content{padding:0 15px}.bottom-row article+article{border-left:0}.footer{flex-direction:column;align-items:flex-start}}@media(max-width:650px){.brand img{width:155px}.titlebox{white-space:normal}.titlebox strong{font-size:21px}.titlebox span{font-size:13px}.mainnav{justify-content:flex-start;overflow-x:auto}.mainnav a{padding:10px 8px;font-size:13px}.hero-copy{padding:25px 18px}.hero-copy h1{font-size:36px}.hero-buttons{flex-direction:column}.cta{min-width:0;width:100%}.hero-photo{min-height:250px}.ethics{font-size:25px}.transparency{font-size:14px;width:220px}.footer{padding:18px}}

.report-hero{background:linear-gradient(100deg,#f5fffa 0%,#effaf5 55%,#d8f3e5 100%);min-height:250px;display:grid;grid-template-columns:1.35fr .55fr .55fr;align-items:center;padding:25px max(4vw,32px);overflow:hidden}.report-hero-copy h1{font-size:52px;line-height:1;color:#006b54;margin:22px 0 0}.report-hero-copy h2{color:#008c63;margin:4px 0;font-size:25px}.report-hero-copy p{max-width:650px;font-size:16px}.back-link{color:#08795e;text-decoration:none}.report-hero-message{font-size:28px;color:#08795e}.report-hero-message b{display:block;font-size:31px}.report-hero-art{height:100%;background:linear-gradient(135deg,#00995d,#006b54);color:white;display:flex;align-items:center;justify-content:center;gap:24px;border-radius:80px 0 0 80px}.report-hero-art .pen{font-size:65px}.report-layout{max-width:1480px;margin:-2px auto 25px;display:grid;grid-template-columns:minmax(0,2.1fr) minmax(300px,1fr);gap:20px;padding:0 20px}.report-form,.report-aside{margin-top:0}.report-form{background:#fff;border-radius:14px;padding:20px;box-shadow:0 4px 22px #004b3420}.steps{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid #e0e7e3;border-radius:13px;padding:18px 10px;margin-bottom:12px}.step{text-align:center;position:relative;display:flex;flex-direction:column;align-items:center}.step:not(:last-child):after{content:"";position:absolute;height:2px;background:#ccd5d1;left:60%;right:-40%;top:17px}.step i{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:#aeb7bd;color:#fff;font-style:normal;font-weight:800;z-index:1}.step.active i{background:#007f5f}.step b{margin-top:7px}.step span{font-size:12px;color:#65727d}.form-section{border:1px solid #e1e8e5;border-radius:12px;padding:16px;margin-top:12px}.form-section h2{font-size:21px;color:#00745a;margin:0}.form-section h2 small{font-size:13px;font-weight:500;color:#53636c}.section-help{margin:3px 0 12px;color:#596975}.option-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.select-card,.mini-choice{border:1.5px solid #cdd9d4;border-radius:8px;padding:13px;display:flex;align-items:center;gap:12px;cursor:pointer;background:#fff}.select-card:has(input:checked),.mini-choice:has(input:checked){border-color:#00995d;background:#effbf5;box-shadow:0 0 0 1px #00995d22}.select-card input,.mini-choice input{accent-color:#00995d}.select-card b{display:block;color:#075f4d}.select-card small{display:block}.option-icon{font-size:25px;color:#007f5f}.collaborator-box{border:2px solid #00995d;border-radius:10px;margin-top:12px;padding:12px;background:#fbfffd}.collab-title{display:flex;align-items:center;gap:10px;color:#006b54}.collab-title em,.field em{color:#e21e2d;font-style:normal}.people-icon{font-size:28px}.collab-options{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:8px 0 0 42px}.mini-choice b{font-size:14px;color:#345}.fields{display:grid;gap:14px;margin-top:12px}.fields.three{grid-template-columns:repeat(3,1fr)}.fields.two{grid-template-columns:repeat(2,1fr)}.field{display:flex;flex-direction:column;gap:5px}.field label{font-weight:700;color:#213b4a}.field label span,.description-field>small{font-weight:400;color:#71808a}.field input,.field select,.field textarea{border:1px solid #bdcbd3;border-radius:7px;padding:12px;background:#fff;font:inherit}.field input:focus,.field select:focus,.field textarea:focus{outline:2px solid #00995d33;border-color:#00995d}.description-field{margin-top:13px}.description-field textarea{min-height:125px;resize:vertical}.counter{text-align:right;color:#65727d;font-size:12px}.identified-data{background:linear-gradient(100deg,#f1fbf5,#e7f8ee)}.disabled-section{opacity:.62}.attachments-section{background:#fbfdfc}.upload-box{border:2px dashed #9dc8b7;border-radius:10px;padding:20px;display:flex;gap:8px;align-items:center;cursor:pointer;color:#08795e}.upload-box span{color:#68777f;font-size:13px}.upload-box input{margin-left:auto}.form-actions{display:flex;justify-content:space-between;margin-top:14px}.cancel{background:white!important;color:#243b4b!important;border:1px solid #506273}.submit-btn{min-width:210px}.report-aside{display:flex;flex-direction:column;gap:15px}.aside-card{background:white;border:1px solid #e0e7e3;border-radius:14px;padding:22px;box-shadow:0 3px 16px #004b3414}.aside-card h3{color:#00745a;margin:0 0 8px}.aside-head,.aside-item{display:flex;gap:15px}.aside-head>span,.aside-item>span{font-size:31px;color:#007f5f}.aside-item{margin:18px 0}.aside-item b{color:#00745a}.aside-item p,.aside-head p{margin:3px 0;color:#4d5d68}.tips{background:#f5fbf8}.tips ul{padding-left:20px}.tips li{margin:9px 0}.tips li::marker{color:#00995d}.help{background:#f2faff}.help h3{color:#087ab9}.ouvidoria{background:white!important;color:#007f5f!important;border:2px solid #00995d;width:100%;text-align:center}.topbar .brand img{object-fit:contain}.footer{background:#00795e}
@media(max-width:950px){.report-hero{grid-template-columns:1fr}.report-hero-message,.report-hero-art{display:none}.report-layout{grid-template-columns:1fr}.fields.three,.fields.two{grid-template-columns:1fr 1fr}}@media(max-width:650px){.report-hero{padding:22px 16px}.report-hero-copy h1{font-size:38px}.report-layout{padding:0 10px}.steps{grid-template-columns:repeat(4,1fr);font-size:11px}.step span{display:none}.option-grid,.collab-options,.fields.three,.fields.two{grid-template-columns:1fr}.collab-options{margin-left:0}.form-actions{gap:10px}.form-actions .btn{flex:1}.upload-box{flex-wrap:wrap}}

/* v20 - contraste do aviso "Este canal NÃO é para" */
.pn.red,
.panel.red {
    background: #ffe7e9 !important;
    border: 1px solid #f3b6bc !important;
    color: #243746 !important;
}
.pn.red h2,
.panel.red h2 {
    color: #e3182d !important;
}
.pn.red p,
.pn.red li,
.panel.red p,
.panel.red li {
    color: #243746 !important;
    opacity: 1 !important;
}
.pn.red b,
.panel.red b {
    color: #172b3a !important;
}
.pn.red .rb,
.panel.red .redbtn {
    background: #ffffff !important;
    color: #e3182d !important;
    border: 2px solid #e3182d !important;
    font-weight: 800 !important;
}
.pn.red .rb:hover,
.panel.red .redbtn:hover {
    background: #e3182d !important;
    color: #ffffff !important;
}

/* v22 - correção definitiva do card "Este canal NÃO é para" */
html body .pn.red,
html body .panel.red,
html body article.pn.red,
html body article.panel.red {
    background: #ffe8e8 !important;
    border: 1px solid #ff9da6 !important;
    color: #172b3a !important;
}
html body .pn.red h2,
html body .panel.red h2,
html body article.pn.red h2,
html body article.panel.red h2 {
    color: #e3182d !important;
    -webkit-text-fill-color: #e3182d !important;
    opacity: 1 !important;
}
html body .pn.red p,
html body .panel.red p,
html body article.pn.red p,
html body article.panel.red p,
html body .pn.red li,
html body .panel.red li {
    color: #172b3a !important;
    -webkit-text-fill-color: #172b3a !important;
    opacity: 1 !important;
    text-shadow: none !important;
}
html body .pn.red b,
html body .panel.red b {
    color: #101f2a !important;
    -webkit-text-fill-color: #101f2a !important;
}
html body .pn.red .rb,
html body .panel.red .redbtn {
    background: #ffffff !important;
    color: #e3182d !important;
    -webkit-text-fill-color: #e3182d !important;
    border: 2px solid #e3182d !important;
    font-weight: 800 !important;
}
html body .pn.red .rb:hover,
html body .panel.red .redbtn:hover {
    background: #e3182d !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

/* v23 FINAL APROVADO — não alterar o layout.
   Correção específica do card vermelho: a regra global .danger definia color:#fff. */
html body article.info.danger {
    background: linear-gradient(120deg,#fff0f2,#ffe9ec) !important;
    border: 1px solid #ffb4bc !important;
    color: #111111 !important;
}
html body article.info.danger h2 {
    color: #e31d35 !important;
    -webkit-text-fill-color: #e31d35 !important;
}
html body article.info.danger p,
html body article.info.danger li,
html body article.info.danger p b,
html body article.info.danger strong {
    color: #111111 !important;
    -webkit-text-fill-color: #111111 !important;
    opacity: 1 !important;
    text-shadow: none !important;
}
html body article.info.danger a.ouvidoria {
    background: #ffffff !important;
    color: #e31d35 !important;
    -webkit-text-fill-color: #e31d35 !important;
    border-color: #e31d35 !important;
}

.bottom-row .public-icon{flex:0 0 54px;display:block;margin-top:1px}

/* v24 - denúncia anônima: dados pessoais realmente bloqueados */
.identified-data.disabled-section{opacity:.55;background:#f3f6f5!important}
.identified-data.disabled-section input:disabled,
.identified-data.disabled-section select:disabled,
.identified-data.disabled-section textarea:disabled{
  background:#e9eeec!important;
  color:#7b8782!important;
  cursor:not-allowed!important;
  border-color:#d3dcda!important;
}

/* v29: nenhum template pode criar um segundo cabeçalho */
body > .topbar, main > .topbar, .report-form > .topbar{display:none!important}
.standard-main{display:block!important}

/* v32 — Acompanhar denúncia no mesmo padrão visual aprovado */
.track-page{background:#f5f8f7;min-height:calc(100vh - 172px)}
.track-hero{min-height:220px;padding:28px max(4.5vw,50px);display:grid;grid-template-columns:1.3fr .7fr;align-items:center;gap:30px;background:linear-gradient(105deg,#f8fffc 0%,#edf9f4 63%,#d7f2e7 100%);border-bottom:1px solid #d9e9e3}
.track-back{color:#008463;text-decoration:none;font-weight:700;font-size:14px}
.track-hero h1{font-size:48px;line-height:1;margin:20px 0 4px;color:#006f55}
.track-hero h2{font-size:23px;margin:0 0 8px;color:#008463}
.track-hero p{font-size:17px;line-height:1.5;max-width:680px;color:#2c4961;margin:0}
.track-message{justify-self:center;color:#00755a;font-size:29px;line-height:1.1}
.track-message span,.track-message strong{display:block}.track-message strong{font-size:36px;margin-top:4px}
.track-layout{max-width:1160px;margin:28px auto 40px;padding:0 20px;display:grid;grid-template-columns:1.1fr .9fr;gap:22px;align-items:start}
.track-card,.track-aside{background:#fff;border:1px solid #dce8e3;border-radius:14px;box-shadow:0 8px 25px rgba(0,70,50,.07)}
.track-card{padding:30px}.track-icon{width:56px;height:56px;border-radius:50%;display:grid;place-items:center;background:#e6f7ef;color:#008463;font-size:34px}
.track-card h2{color:#006f55;font-size:26px;margin:16px 0 6px}.track-help{color:#536b7c;line-height:1.5;margin:0 0 24px}
.track-field{margin-top:16px}.track-field label{display:block;font-weight:800;color:#173653;margin-bottom:7px}.track-field em{color:#e31d35;font-style:normal}
.track-field input{width:100%;box-sizing:border-box;padding:14px 15px;border:1px solid #b9cbc4;border-radius:8px;font:inherit;color:#173653;background:#fff}
.track-field input:focus{outline:3px solid rgba(0,145,105,.12);border-color:#009169}
.track-submit{width:100%;margin-top:22px;padding:14px 18px;border:0;border-radius:8px;background:#008463;color:#fff;font-weight:800;font-size:16px;cursor:pointer}
.track-submit:hover{background:#006f55}.track-security{margin-top:18px;padding:12px;border-radius:8px;background:#eff9f5;color:#356052;font-size:13px;text-align:center}
.track-aside{padding:25px}.track-info{display:flex;gap:15px;padding:15px 0;border-bottom:1px solid #e1ebe7}.track-info:last-of-type{border-bottom:0}
.track-info-icon{flex:0 0 44px;width:44px;height:44px;border-radius:10px;display:grid;place-items:center;background:#e9f8f1;color:#007b5d;font-size:24px}
.track-info h3{margin:0 0 5px;color:#00755a;font-size:17px}.track-info p{margin:0;color:#50677a;line-height:1.45}
.track-warning{margin-top:18px;padding:16px;border-radius:10px;background:#eef8ff;border:1px solid #d6e9f6;color:#31566d}.track-warning b{color:#087bc1}.track-warning p{margin:5px 0 0;line-height:1.45}
@media(max-width:850px){.track-hero,.track-layout{grid-template-columns:1fr}.track-message{justify-self:start}.track-hero h1{font-size:38px}}


/* v34 — SOMENTE Área Restrita: login centralizado */
.standard-main:has(form[action*="login"]) {
    display: flex !important;
    justify-content: center !important;
    align-items: flex-start !important;
    padding: 55px 20px 80px !important;
    background: #f5f8f7 !important;
}

.standard-main:has(form[action*="login"]) > * {
    width: 100%;
    max-width: 520px;
}

.standard-main:has(form[action*="login"]) form {
    width: 100%;
    margin-left: auto !important;
    margin-right: auto !important;
}

.standard-main:has(form[action*="login"]) input {
    width: 100%;
    box-sizing: border-box;
}

@media (max-width:760px) {
    .standard-main:has(form[action*="login"]) {
        min-width: 0 !important;
        padding: 30px 15px 60px !important;
    }
}

/* v35 — Área Restrita compacta e centralizada */
.standard-main:has(form[action*="login"]) {
    display:flex !important;
    justify-content:center !important;
    align-items:flex-start !important;
    padding:48px 18px 70px !important;
}
.standard-main:has(form[action*="login"]) > * {
    width:100% !important;
    max-width:420px !important;
    margin-left:auto !important;
    margin-right:auto !important;
}
.standard-main:has(form[action*="login"]) form {
    width:100% !important;
    max-width:420px !important;
    margin:0 auto !important;
}
.standard-main:has(form[action*="login"]) input {
    width:100% !important;
    max-width:420px !important;
    min-height:44px !important;
    box-sizing:border-box !important;
}
@media(max-width:520px){
    .standard-main:has(form[action*="login"]) > *,
    .standard-main:has(form[action*="login"]) form,
    .standard-main:has(form[action*="login"]) input {
        max-width:100% !important;
    }
}


/* v36 — Área Restrita aprovada: cartão pequeno e centralizado */
.restricted-page{
  min-height:calc(100vh - 172px);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:52px 20px 70px;
  box-sizing:border-box;
  background:
    radial-gradient(circle at 2% 18%,rgba(0,151,111,.08) 0 120px,transparent 121px),
    radial-gradient(circle at 94% 75%,rgba(0,151,111,.08) 0 150px,transparent 151px),
    #f8fbfa;
}
.restricted-card{
  width:100%;
  max-width:470px;
  padding:32px 42px 40px;
  box-sizing:border-box;
  background:#fff;
  border:1px solid #dbe6e2;
  border-radius:16px;
  box-shadow:0 12px 35px rgba(0,70,50,.10);
  text-align:center;
}
.restricted-lock{
  width:82px;height:82px;margin:0 auto 12px;
  border-radius:50%;display:grid;place-items:center;
  background:#e8f6f1;font-size:38px;
}
.restricted-card h1{
  margin:0;color:#00755a;font-size:34px;line-height:1.1;
}
.restricted-card h2{
  margin:3px 0 30px;color:#006c56;font-size:21px;font-weight:500;
}
.restricted-form{text-align:left;width:100%;margin:0}
.restricted-form>label{
  display:block;margin:16px 0 7px;
  color:#153f3b;font-size:15px;font-weight:800;
}
.restricted-input{
  height:52px;display:flex;align-items:center;gap:11px;
  border:1px solid #aebfc7;border-radius:8px;
  padding:0 13px;background:#fff;box-sizing:border-box;
}
.restricted-input>span{font-size:22px;color:#607b89}
.restricted-input input{
  min-width:0!important;width:100%!important;height:auto!important;
  padding:0!important;margin:0!important;border:0!important;
  outline:0!important;background:transparent!important;
  box-shadow:none!important;font:inherit;color:#173653;
}
.restricted-input input::placeholder{color:#82919d}
.password-toggle{
  border:0;background:transparent;color:#607b89;
  cursor:pointer;font-size:19px;padding:5px;
}
.restricted-submit{
  width:100%;height:52px;margin-top:22px;
  border:0;border-radius:8px;
  background:linear-gradient(90deg,#008764,#00a879);
  color:#fff;font-size:18px;font-weight:800;cursor:pointer;
}
.restricted-submit span{font-size:24px;margin-left:14px}
.restricted-submit:hover{filter:brightness(.96)}
@media(max-width:560px){
  .restricted-page{padding:30px 14px 50px}
  .restricted-card{max-width:420px;padding:28px 24px 32px}
  .restricted-card h1{font-size:29px}
}

/* Anula as tentativas antigas de dimensionar o login pelo seletor :has(). */
.standard-main:has(.restricted-page){
  display:block!important;padding:0!important;background:transparent!important;
}
.standard-main:has(.restricted-page)>*{
  width:auto!important;max-width:none!important;margin:0!important;
}

/* v37 — ambiente administrativo moderno */
.admin-shell{display:grid;grid-template-columns:245px 1fr;min-height:720px;background:#f4f8f6}.admin-side{background:#063f35;color:#fff;padding:25px 16px;display:flex;flex-direction:column}.admin-user{display:flex;gap:12px;align-items:center;padding:8px 8px 24px;border-bottom:1px solid #ffffff20}.avatar{width:44px;height:44px;border-radius:13px;background:#00a878;display:grid;place-items:center;font-weight:800;font-size:20px}.avatar.small{width:38px;height:38px;font-size:16px}.admin-user strong,.admin-user small{display:block}.admin-user small{opacity:.7;margin-top:3px;font-size:11px}.admin-side nav{display:grid;gap:7px;margin-top:22px}.admin-side nav a{color:#d9eee8;text-decoration:none;padding:12px;border-radius:9px;font-weight:700}.admin-side nav a.active,.admin-side nav a:hover{background:#ffffff16;color:#fff}.side-exit{margin-top:auto;width:100%;border:1px solid #ffffff30;background:transparent;color:#fff;border-radius:9px;padding:11px}.admin-content{padding:30px;min-width:0}.dash-head{display:flex;justify-content:space-between;align-items:flex-start}.eyebrow{font-size:11px;letter-spacing:1.4px;font-weight:800;color:#00906b}.dash-head h1,.case-title h1,.mg-head h1{margin:4px 0;color:#123b35;font-size:32px}.dash-head p,.case-title p,.mg-head p{margin:0;color:#6b7e78}.profile-chip{background:#e6f6f0;color:#00795c;padding:9px 13px;border-radius:20px;font-weight:700;font-size:12px}.metric-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin:25px 0}.metric{background:#fff;border:1px solid #dfeae6;border-radius:13px;padding:17px}.metric.primary{background:linear-gradient(135deg,#00785c,#00a677);color:#fff}.metric span,.metric small,.metric strong{display:block}.metric span{font-size:12px;font-weight:700}.metric strong{font-size:31px;margin:7px 0}.metric small{opacity:.72}.group-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin-bottom:18px}.group-card{display:flex;align-items:center;gap:16px;background:#fff;border:1px solid #dfeae6;border-radius:13px;padding:16px}.group-icon{width:48px;height:48px;border-radius:12px;background:#e5f7f0;color:#008463;display:grid;place-items:center;font-size:25px}.group-card small,.group-card strong,.group-card span{display:block}.group-card strong{font-size:25px;color:#123b35}.group-card span{font-size:12px;color:#6c7d78}.panel,.case-card,.mg-card{background:#fff;border:1px solid #dfe8e5;border-radius:14px;box-shadow:0 4px 16px #003d2b0c}.panel-head{display:flex;justify-content:space-between;align-items:center;padding:20px}.panel-head h2,.case-card h2,.mg-card h2{margin:0;color:#16453d}.panel-head p{margin:4px 0 0;color:#75857f;font-size:13px}.report-link,.case-top>a,.mg-head a{color:#008463;text-decoration:none;font-weight:700}.table-scroll{overflow:auto}.modern-table{width:100%;border-collapse:collapse}.modern-table th{background:#f7faf9;text-align:left;padding:11px 16px;font-size:11px;color:#72817d;text-transform:uppercase}.modern-table td{padding:14px 16px;border-top:1px solid #edf2f0}.modern-table td b,.modern-table td small{display:block}.modern-table td small{color:#84928e;margin-top:4px}.status-pill,.group-pill{display:inline-block;padding:6px 9px;border-radius:20px;background:#edf7f3;color:#00785c;font-size:11px;font-weight:800}.open-case{color:#008463;text-decoration:none;font-weight:800}.empty{text-align:center;color:#80908a;padding:35px!important}.case-wrap,.management-page{max-width:1250px;margin:0 auto;padding:28px 22px 50px}.case-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.case-top div{display:flex;gap:7px}.case-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(300px,.75fr);gap:18px;margin-top:20px}.case-grid section,.case-grid aside{display:grid;gap:16px;align-content:start}.case-card{padding:20px}.info-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:17px 0}.info-grid div{background:#f6faf8;border-radius:9px;padding:12px}.info-grid small,.info-grid b{display:block}.info-grid small{color:#71827c;margin-bottom:4px}.identity{display:flex;justify-content:space-between;background:#edf8f4;padding:12px;border-radius:9px;margin-bottom:15px}.description{line-height:1.6;color:#38534e;white-space:pre-wrap}.attachment{display:flex;justify-content:space-between;text-decoration:none;color:#145147;padding:12px;background:#f4f9f7;border-radius:8px;margin-top:8px}.message{padding:12px 0;border-bottom:1px solid #e8efec}.message small{float:right;color:#82908c}.message p{margin:7px 0}.action-card label,.mg-card label{display:block;font-weight:700;color:#34554f;margin:13px 0 6px}.action-card select,.action-card textarea,.mg-card input,.mg-card select{width:100%;box-sizing:border-box;border:1px solid #bdccc7;border-radius:8px;padding:11px;font:inherit}.action-btn{width:100%;border:0;border-radius:8px;padding:12px;margin-top:13px;background:#008463;color:#fff;font-weight:800}.action-card hr{border:0;border-top:1px solid #e5ece9;margin:20px 0}.history>div{display:flex;gap:10px;padding:8px 0}.history i{width:9px;height:9px;background:#00a879;border-radius:50%;margin-top:5px}.history span b,.history span small{display:block}.history span b{font-size:12px}.history span small{font-size:11px;color:#81908b;margin-top:3px}.mg-head{margin-bottom:20px}.mg-grid{display:grid;grid-template-columns:360px 1fr;gap:18px}.mg-card{padding:20px}.user-row{display:flex;align-items:center;gap:12px;padding:13px 0;border-bottom:1px solid #edf1ef}.grow{flex:1}.grow b,.grow span,.grow small{display:block}.grow span{color:#6e7e79;font-size:13px}.grow small{color:#008463;font-weight:700;margin-top:3px}.active-dot{font-size:11px;color:#008463}.mini-btn{border:1px solid #c9d8d3;background:#fff;border-radius:7px;padding:7px 9px;color:#365750}.muted{color:#7c8c87}
@media(max-width:1000px){.metric-grid{grid-template-columns:repeat(2,1fr)}.admin-shell{grid-template-columns:1fr}.admin-side{display:none}.case-grid,.mg-grid{grid-template-columns:1fr}}@media(max-width:650px){.admin-content{padding:18px}.group-grid,.info-grid{grid-template-columns:1fr}.dash-head{gap:15px;flex-direction:column}.metric-grid{grid-template-columns:1fr 1fr}}

/* v38 — transferência justificada entre Grupo Local e Grupo Externo */
.transfer-card{padding:20px;border-left:4px solid #d79600}
.transfer-heading{display:flex;gap:12px;align-items:flex-start;margin-bottom:14px}
.transfer-heading h2{margin:0;color:#16453d}
.transfer-heading p{margin:4px 0 0;color:#6e7e79;font-size:12px;line-height:1.4}
.transfer-icon{width:42px;height:42px;flex:0 0 42px;border-radius:11px;background:#fff4d9;color:#a66d00;display:grid;place-items:center;font-size:25px;font-weight:800}
.transfer-card label{display:block;font-weight:700;color:#34554f;margin:12px 0 6px}
.transfer-card select,.transfer-card textarea{width:100%;box-sizing:border-box;border:1px solid #bdccc7;border-radius:8px;padding:11px;font:inherit;background:#fff}
.transfer-card textarea{resize:vertical;min-height:92px}
.required{color:#d72828}
.transfer-note{margin-top:10px;padding:10px 11px;border-radius:8px;background:#f7f3e8;color:#705a22;font-size:11px;line-height:1.45}
.transfer-btn{width:100%;border:0;border-radius:8px;padding:12px;margin-top:12px;background:#b47a00;color:#fff;font-weight:800;cursor:pointer}
.transfer-btn:hover{filter:brightness(.96)}

/* v39 — menu administrativo único e persistente */
.admin-shell{align-items:stretch}
.admin-side{
  position:sticky;
  top:0;
  height:100vh;
  box-sizing:border-box;
  z-index:30;
}
.admin-side .admin-logout{margin-top:auto}
.admin-side .side-exit{margin-top:0}
.internal-page-head{
  display:flex;justify-content:space-between;align-items:flex-start;
  gap:20px;margin-bottom:22px
}
.internal-page-head h1{margin:4px 0;color:#123b35;font-size:32px}
.internal-page-head p{margin:0;color:#6b7e78}
.internal-panel{
  background:#fff;border:1px solid #dfe8e5;border-radius:14px;
  box-shadow:0 4px 16px #003d2b0c;padding:22px
}
.internal-panel>h2{display:none}
.management-page,.case-wrap{max-width:none!important;margin:0!important;padding:0!important}
@media(max-width:1000px){
  .admin-side{
    display:flex!important;position:relative;height:auto;
    padding:12px 14px;flex-direction:row;align-items:center;gap:12px
  }
  .admin-side .admin-user{border:0;padding:0 10px 0 0}
  .admin-side nav{display:flex;margin:0;gap:5px;overflow:auto;flex:1}
  .admin-side nav a{white-space:nowrap}
  .admin-side .admin-logout{margin:0}
  .admin-side .side-exit{width:auto}
  .admin-shell{display:block!important}
}

/* v41 — gestão completa de usuários */
.user-management-grid{display:grid;grid-template-columns:360px minmax(0,1fr);gap:18px}
.user-create{align-self:start}.form-help{margin:5px 0 16px;color:#75847f;font-size:12px;line-height:1.45}
.users-title{display:flex;justify-content:space-between;gap:15px;align-items:flex-start;border-bottom:1px solid #edf1ef;padding-bottom:10px}
.count-chip{white-space:nowrap;background:#edf7f3;color:#007b5d;border-radius:18px;padding:6px 10px;font-size:11px;font-weight:800}
.user-row.expanded{gap:10px}.user-state{font-size:11px;color:#008463;font-weight:700;white-space:nowrap}.user-state.off{color:#9a5a5a}
.edit-user-btn{text-decoration:none;background:#e9f6f1;color:#007b5d;border-radius:7px;padding:8px 10px;font-size:12px;font-weight:800;white-space:nowrap}
.edit-user-wrap{max-width:900px;margin:0 auto}.back-link{display:inline-block;color:#008463;text-decoration:none;font-weight:700;margin-bottom:20px}
.edit-user-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.edit-user-head h1{margin:4px 0;color:#123b35;font-size:32px}.edit-user-head p{margin:0;color:#6b7e78}
.edit-avatar{width:58px;height:58px;font-size:24px}.edit-user-form{padding:26px}.edit-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:4px 18px}
.edit-user-form label{display:block;font-weight:700;color:#34554f;margin:13px 0 6px}.edit-user-form input,.edit-user-form select{width:100%;box-sizing:border-box;border:1px solid #bdccc7;border-radius:8px;padding:11px;font:inherit;background:#fff}
.password-box{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:18px;background:#f5f9f7;border-radius:10px;padding:15px;margin-top:18px}.password-box b,.password-box span{display:block}.password-box span{font-size:11px;color:#75847f;margin-top:3px}
.edit-actions{display:flex;justify-content:flex-end;align-items:center;gap:10px;margin-top:20px}.save-user{width:auto;margin:0;padding:12px 20px}.cancel-btn{text-decoration:none;color:#526b65;font-weight:700;padding:11px 16px}
@media(max-width:900px){.user-management-grid,.edit-form-grid,.password-box{grid-template-columns:1fr}.user-row.expanded{flex-wrap:wrap}.edit-user-wrap{max-width:none}}
