/* VM TAXES V6.0 — camada de apresentação; preserva a identidade cromática existente */
.v60-cover{min-height:330px;display:flex;align-items:center}.v60-cover .vm-cover-copy{width:min(76%,720px)}
.v60-cover .vm-word{font-size:1.95rem}.v60-cover .vm-cover-label{margin:28px 0 0;font-size:10px;letter-spacing:.17em;color:#74e0de;font-weight:800}
.v60-cover h1{font-size:clamp(2.1rem,3.1vw,3.6rem);line-height:1.13;margin:15px 0 16px}
.v60-institutional{display:grid;grid-template-columns:1fr 1fr;gap:17px;margin:20px 0 0}
.v60-institutional>.card{margin:0}
.v60-institutional .card p,.v60-services p{font-size:12px;color:#547081;line-height:1.85;margin:0}
.v60-services{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-top:18px}
.v60-services article{padding:24px;background:white;border:1px solid #d7e7e9;border-radius:13px}
.v60-services h2{font-size:15px;color:#123b50;margin:14px 0 8px}.v60-service-icon{display:grid;place-items:center;background:#e4f6f6;color:#087f82;width:42px;height:42px;border-radius:11px;font-weight:800;font-size:23px}
.v60-institutional-footer{margin:28px 0;text-align:center;font-size:11px;color:#78909b}
.v60-section-intro{padding:5px 0 20px}.v60-section-intro h2{font-size:25px;color:#123c53;margin:8px 0}.v60-section-intro p{font-size:12px;line-height:1.6;color:#627d8a}.v60-kicker{font-size:10px;color:#11848b;font-weight:800;letter-spacing:.13em}
.v60-overview-grid{display:grid;grid-template-columns:1.25fr 1fr;gap:15px;margin-bottom:16px}.v60-overview-grid .card{min-width:0}.v60-progress-row{margin:17px 0}.v60-progress-row>div:first-child{display:flex;justify-content:space-between;gap:10px;font-size:12px;color:#406274;margin-bottom:7px}.v60-progress-row strong{color:#153b4a}.v60-progress{height:9px;background:#ecf3f5;border-radius:20px;overflow:hidden}.v60-progress i{height:100%;background:linear-gradient(90deg,#128e97,#21c5bc);display:block;border-radius:20px}.v60-point{padding:12px 0;border-bottom:1px solid #e7eef0;display:flex;gap:12px;align-items:center}.v60-point strong{font-size:23px;color:#166c78;min-width:38px}.v60-point span{font-size:12px;line-height:1.5;color:#587482}
.v60-entity-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:15px}.v60-entity{display:flex;gap:15px;align-items:center;width:100%;text-align:left;border:1px solid #d5e5e9;background:white;padding:18px;border-radius:12px;min-height:87px}.v60-entity:hover{border-color:#19a4a8;background:#f2fcfb;box-shadow:0 5px 18px #1133440e}.v60-entity-avatar{display:grid;place-items:center;background:#e6f4f5;border-radius:13px;color:#16717a;font-size:22px;font-weight:800;min-width:46px;height:46px}.v60-entity>span:nth-child(2){min-width:0;display:grid;gap:5px;flex:1}.v60-entity strong{font-size:14px;color:#173b50;line-height:1.3}.v60-entity small{font-size:11px;color:#78909b;line-height:1.5}.v60-entity>b{font-size:21px;color:#89acb4;font-weight:400}
.v60-detail-back{margin:4px 0 15px}.v60-detail-back button{padding:9px 13px}.v60-detail-title{background:linear-gradient(108deg,#0a2c44,#155968);border-radius:15px;border-bottom:4px solid #24c9c5;color:white;padding:26px 27px;margin-bottom:17px}.v60-detail-title .v60-kicker{color:#8ce8e2}.v60-detail-title h1{font:700 clamp(25px,2.5vw,35px)/1.15 Georgia,serif;margin:12px 0 9px}.v60-detail-title h1 small{font:500 17px system-ui;color:#aedadd}.v60-detail-title p{font-size:12px;color:#c8e0e7;line-height:1.65;margin:0}
.v60-tabs{display:flex;gap:7px;flex-wrap:wrap;background:#edf4f6;padding:8px;border:1px solid #e0ebee;border-radius:12px;margin-bottom:20px}.v60-tabs button{border:0;border-radius:8px;background:transparent;padding:11px 13px;font-size:12px;color:#496879;font-weight:700}.v60-tabs button.selected{background:#117e88;color:#fff;box-shadow:0 3px 9px #176c7750}.v60-tabs button:not(.selected):hover{background:white;color:#0e6470}.v60-tab-content{min-height:150px}.v60-tab-content>h2,.v60-split-head h2{color:#173c50;font-size:19px;margin:0 0 7px}.v60-split-head{display:flex;align-items:start;justify-content:space-between;gap:16px;margin-bottom:18px;flex-wrap:wrap}.v60-split-head p{font-size:12px;color:#678392;margin:0}.v60-tab-content>.card{margin-top:16px}
.v60-record{display:flex;gap:14px;align-items:center;justify-content:space-between;border:1px solid #dce9eb;border-radius:12px;background:white;padding:18px;margin-bottom:11px;flex-wrap:wrap}.v60-record>div:first-child{min-width:210px;flex:1;display:grid;gap:6px}.v60-record strong{color:#193d50;font-size:13px;line-height:1.45}.v60-record span,.v60-record small{display:block;font-size:11px;line-height:1.5;color:#718b99}.v60-record .v60-files{margin-top:9px}.v60-record-actions{display:flex;gap:8px;flex-wrap:wrap}.v60-record-actions button,.v60-record>button{font-size:11px;padding:10px 12px}.v60-muted{font-size:11px;color:#849aa3}.v60-line-link{display:flex;width:100%;text-align:left;flex-direction:column;gap:6px;background:white;border:1px solid #dce9ed;border-radius:10px;padding:15px 18px;margin:8px 0}.v60-line-link:hover{background:#f5fbfb;border-color:#8ec6c7}.v60-line-link strong{font-size:13px;color:#183c51}.v60-line-link small{font-size:11px;color:#6f8794;line-height:1.6}.v60-amount{font-weight:800;font-size:27px;color:#087f82;margin:13px 0}
.v60-kanban{display:grid;grid-template-columns:repeat(5,minmax(155px,1fr));gap:10px;overflow-x:auto;padding-bottom:10px;margin:15px 0}.v60-lane{border:1px solid #d9e7ea;background:#eef4f6;border-radius:12px;min-height:250px;padding:12px}.v60-lane header{display:flex;align-items:center;gap:7px;font-size:11px;color:#284b5a;padding:2px 0 12px}.v60-lane header>span{font-weight:800;color:#169fa1}.v60-lane header>strong{flex:1}.v60-lane header>em{font-size:10px;font-style:normal;background:white;border-radius:6px;padding:4px 7px}.v60-lane>div>p{font-size:11px;color:#879ca6;margin:14px 0}.v60-task{display:grid;width:100%;gap:7px;text-align:left;background:white;border:1px solid #dae7e9;border-radius:9px;padding:12px;margin:0 0 10px}.v60-task:hover{background:#f8fdfd;border-color:#67b9bf}.v60-task strong{font-size:11px;color:#1d465a;line-height:1.55}.v60-task small{font-size:10px;color:#72909d;line-height:1.55}.v60-inline-note{background:#eef7f7;border-left:3px solid #149499;padding:15px 18px;border-radius:8px;color:#587b81;font-size:11px;line-height:1.7;margin:15px 0}.v60-searchbox{padding:18px;background:white;border:1px solid #d9e8eb;border-radius:12px;margin:14px 0 16px}.v60-searchbox label{display:block;font-weight:700;color:#224c5a;font-size:12px;margin-bottom:10px}.v60-searchbox input{width:100%;border-radius:8px;border:1px solid #cfdee5;padding:12px 14px;color:#274554}.v60-doc-row[hidden]{display:none}.v60-facts{display:grid;grid-template-columns:125px 1fr;gap:13px;font-size:12px}.v60-facts dt{color:#81959f}.v60-facts dd{margin:0;font-weight:700;color:#194153}
@media(max-width:900px){.v60-institutional,.v60-overview-grid,.v60-services{grid-template-columns:1fr}.v60-entity-grid{grid-template-columns:1fr}.v60-kanban{grid-template-columns:repeat(5,minmax(210px,1fr))}}
@media(max-width:600px){.v60-cover{min-height:290px}.v60-cover .vm-cover-copy{width:100%}.v60-cover h1{font-size:2rem}.v60-detail-title{padding:21px 19px}.v60-record{display:block}.v60-record-actions{margin-top:12px}.v60-kanban{grid-template-columns:repeat(5,minmax(210px,1fr))}.v60-facts{grid-template-columns:1fr;gap:6px}}

/* Gráficos de arrecadação de cada prefeitura, sem nova rota nem cadastro. */
.v60-comparison-card{margin-top:18px}
.v60-comparison-card>.muted{font-size:12px;line-height:1.6}
.v60-chart-series{max-width:100%;overflow:hidden;padding-top:9px}
.v60-chart-series+.v60-chart-series{border-top:1px solid #e1eced;margin-top:18px;padding-top:18px}
.v60-chart-series h3{font-size:13px;color:#254b60;margin:8px 0 12px}
.v60-chart-series .chart,.v60-chart-series .pref-trend-chart{max-width:100%;height:auto}
.v60-chart-series .legend{display:flex;flex-wrap:wrap;gap:14px}

/* Entrada da ficha municipal: comparativos no primeiro painel, sem duplicar gráficos. */
.v60-comparison-first{margin-top:0}
.v60-comparison-first .v60-chart-series{padding:10px 0}
.v60-comparison-first .v60-chart-series h3{font-size:15px}

/* V6.0 — informações gerais abaixo dos gráficos no painel de cada prefeitura. */
.v60-comparison-first{margin-top:0;margin-bottom:19px}
.v60-comparison-first>h2{font-size:19px;color:#173c50;margin:0 0 8px}
.v60-comparison-first>.section-note{margin:0 0 12px;line-height:1.65}
.v60-panel-subtitle{margin:22px 0 12px}
.v60-panel-subtitle h2{font-size:18px;color:#153c51;margin:0 0 5px}
.v60-panel-subtitle p{font-size:12px;color:#688492;margin:0}
.v60-panel-report{padding:12px 0;border-bottom:1px solid #e1e9ed;display:grid;gap:5px}
.v60-panel-report strong{font-size:12px;color:#204a59}
.v60-panel-report small{font-size:11px;color:#738d9b}
.v60-panel-last{border-top:1px solid #e1eced;margin-top:14px;padding-top:15px;display:grid;gap:7px}
.v60-panel-last strong{font-size:12px;color:#154251}
.v60-panel-last span{font-size:12px;color:#247080}
.v60-panel-last small{font-size:10px;color:#688492}
/* Quatro indicadores alinhados no painel local, sem afetar o painel executivo global. */
.v60-panel-subtitle+.vm-hub-kpis{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:1050px){.v60-panel-subtitle+.vm-hub-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.v60-panel-subtitle+.vm-hub-kpis{grid-template-columns:1fr}}

/* Ficha do colaborador: detalhes de demanda atribuída em modo consulta. */
.v60-assigned-task{border:1px solid #d4e3ec;border-radius:10px;background:#fff;margin:.45rem 0;overflow:hidden}
.v60-assigned-task > summary{list-style:none;cursor:pointer;padding:12px 15px;display:flex;flex-direction:column;gap:4px;color:#12384e}
.v60-assigned-task > summary::-webkit-details-marker{display:none}
.v60-assigned-task > summary::after{content:"Ver detalhes";font-size:.72rem;color:#147f8f;margin-top:3px}
.v60-assigned-task[open] > summary::after{content:"Ocultar detalhes"}
.v60-assigned-task > summary small{font-size:.8rem;color:#627b8d}
.v60-assigned-task-body{border-top:1px solid #d4e3ec;padding:12px 15px;overflow-wrap:anywhere}
.v60-assigned-task-body p{margin:0 0 8px}

.v60-detail-back.v60-detail-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px}

/* V6.0 — Histórico operacional em cartões recolhíveis, sem apagar nem resumir os dados salvos. */
.events.v60-history{list-style:none;padding:0;margin:13px 0 19px;display:grid;gap:9px;max-width:100%}
.v60-history>li{margin:0;padding:0;min-width:0;counter-increment:initial}
.v60-history-item{border:1px solid #dce9ec;background:#fff;border-radius:10px;min-width:0;overflow:hidden}
.v60-history-item summary{list-style:none;display:grid;gap:7px;position:relative;padding:13px 42px 13px 15px;cursor:pointer;color:#1a4357;min-width:0}
.v60-history-item summary::-webkit-details-marker{display:none}
.v60-history-item summary:focus-visible{outline:3px solid #18abb0;outline-offset:-3px;border-radius:10px}
.v60-history-item[open] summary{background:#f3fafb;border-bottom:1px solid #dce9ec}
.v60-history-heading{display:flex;gap:8px 13px;align-items:baseline;justify-content:space-between;flex-wrap:wrap;font-size:12px}
.v60-history-heading strong{font-size:12px;color:#17495a;font-weight:750}
.v60-history-heading time{padding-right:8px;font-size:11px;color:#66828d;font-weight:500}
.v60-history-preview{display:block;max-width:100%;overflow-wrap:anywhere;color:#607c88;font-size:12px;line-height:1.55}
.v60-history-toggle{position:absolute;right:13px;top:17px;color:#14868c;font-size:12px;font-weight:700}
.v60-history-toggle::before{content:'+';font-size:18px}
.v60-history-item[open] .v60-history-toggle::before{content:'−'}
.v60-history-full{white-space:pre-wrap;overflow-wrap:anywhere;max-height:min(46vh,300px);overflow:auto;overscroll-behavior:contain;padding:14px 16px;color:#284a5b;font-size:12px;line-height:1.72}
.v60-history-full:focus-visible{outline:2px solid #1ba7aa;outline-offset:-3px}
.v60-complete-note{margin:14px 0;padding:13px 16px;border:1px solid #c8e3e2;border-left:4px solid #139c9b;border-radius:8px;background:#f3faf9;display:grid;gap:5px}
.v60-complete-note strong{font-size:13px;color:#154b55}
.v60-complete-note span{font-size:12px;line-height:1.55;color:#4c6d7b}
.v60-assigned-task-body{min-width:0}
.v60-assigned-task-body .v60-history{margin-bottom:12px}
@media(max-width:600px){.v60-history-item summary{padding:12px 37px 12px 12px}.v60-history-heading{display:grid;gap:3px}.v60-history-full{max-height:42vh;padding:12px}}

/* VM TAXES V6.0 — painel gerencial de Produção (somente apresentação) */
.v60-prod-heading{margin-top:10px;margin-bottom:18px;align-items:center}
.v60-prod-heading-actions{display:flex;flex-wrap:wrap;gap:9px;align-items:center}
.v60-prod-heading-actions button{padding:10px 14px;font-size:12px;white-space:nowrap}
.v60-prod-filters{border:1px solid #d7e6e9;background:#fff;border-radius:14px;padding:16px 18px 12px;margin-bottom:19px;box-shadow:0 4px 12px #17344907}
.v60-prod-filter-fields{display:grid;grid-template-columns:minmax(180px,1.45fr) repeat(3,minmax(145px,1fr));gap:11px}
.v60-prod-filter-fields label{display:flex;flex-direction:column;min-width:0;gap:7px;font-size:11px;font-weight:750;color:#2b5263}
.v60-prod-filter-fields input,.v60-prod-filter-fields select{width:100%;max-width:100%;min-height:42px;border:1px solid #cbdce3;border-radius:8px;padding:10px 11px;background:#fafeff;color:#284b5b;font:500 12px/1.3 system-ui,Arial,sans-serif}
.v60-prod-filter-fields input:focus-visible,.v60-prod-filter-fields select:focus-visible{outline:2px solid #159da0;outline-offset:1px}
.v60-prod-filter-bottom{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px;margin-top:12px;border-top:1px solid #edf2f4;padding-top:11px;color:#78909b;font-size:10px;line-height:1.6}
.v60-prod-filter-bottom button{font-size:11px;padding:8px 12px;white-space:nowrap}
.v60-prod-metric-caption{font-size:11px;font-weight:650;color:#547584;line-height:1.5;margin:9px 0 9px}
.v60-prod-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;margin-bottom:23px}
.v60-prod-kpi{position:relative;text-align:left;background:#fff;border:1px solid #d8e7eb;border-radius:12px;min-height:117px;padding:14px 16px;display:flex;flex-direction:column;align-items:stretch;gap:7px;box-shadow:0 4px 12px #092e3b06}
.v60-prod-kpi:hover{border-color:#55b2b4;background:#f8fdfd}
.v60-prod-kpi.is-active{outline:2px solid #129ba1;outline-offset:-2px;background:#f2fbfb}
.v60-prod-kpi:focus-visible{outline:3px solid #139ba0;outline-offset:2px}
.v60-prod-kpi-head{display:flex;justify-content:space-between;align-items:center;gap:9px;color:#365d6e;font-size:11px;font-weight:750}
.v60-prod-kpi-head b{display:grid;place-items:center;width:25px;height:25px;border-radius:8px;background:#e9f6f6;color:#0d8b91;font-size:14px}
.v60-prod-kpi strong{font-size:28px;line-height:1.05;color:#153e55;letter-spacing:-.5px;font-variant-numeric:tabular-nums}
.v60-prod-kpi small{font-size:10px;font-weight:500;color:#708997;line-height:1.45}
.v60-prod-kpi.is-alert .v60-prod-kpi-head b{color:#a95e19;background:#fff3e3}
.v60-prod-section-title{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:18px 0 11px}
.v60-prod-section-title h2{margin:0;font-size:17px;font-weight:800;color:#1a4457}
.v60-prod-section-title p{font-size:11px;color:#77909d;margin:0}
.v60-prod-attention{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:25px}
.v60-prod-attention-col{background:#fff;border:1px solid #d8e6e9;border-radius:12px;padding:15px;min-width:0;min-height:128px}
.v60-prod-attention-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-bottom:10px;border-bottom:1px solid #ebf0f2;margin-bottom:7px}
.v60-prod-attention-head h3{margin:0;font-size:12px;font-weight:800;color:#235266}
.v60-prod-attention-head span{display:inline-grid;place-items:center;min-width:25px;height:23px;background:#edf5f6;border-radius:7px;font-size:11px;font-weight:800;color:#165d69}
.v60-prod-attention-col>p{margin:12px 0 3px;font-size:11px;line-height:1.65;color:#7993a0}
.v60-prod-attention-item{display:grid;gap:4px;text-align:left;width:100%;padding:10px;border:1px solid transparent;border-radius:8px;background:#f8fbfc;margin-top:7px}
.v60-prod-attention-item:hover{border-color:#b4dce0;background:#f0fbfb}
.v60-prod-attention-item strong{font-size:11px;font-weight:750;color:#1f5062;line-height:1.35}
.v60-prod-attention-item span{font-size:10px;color:#638392;line-height:1.4}
.v60-prod-attention-item small{font-size:10px;color:#98623d}
.v60-prod-tabs{margin:10px 0 11px}
.v60-prod-found{display:block;font-size:11px;color:#638493;font-weight:650;padding:0 1px 6px}
.v60-prod-board{margin-top:4px;align-items:stretch}
.v60-prod-board .v60-lane{min-height:205px;background:#f2f7f9;border-color:#dfeaec}
.v60-prod-board .v60-lane>div>p{line-height:1.6}
.v60-prod-task{border-radius:10px;gap:8px;padding:13px;box-shadow:0 2px 7px #153b4507}
.v60-prod-task strong{font-size:11px;line-height:1.4}
.v60-prod-task small{font-size:10px;line-height:1.5;color:#648090}
.v60-prod-task-foot{display:flex;align-items:center;gap:7px;flex-wrap:wrap;justify-content:space-between;border-top:1px solid #edf2f3;padding-top:9px;font-size:10px;color:#466b7d}
.v60-prod-pill{display:inline-block;border:1px solid transparent;border-radius:999px;padding:4px 7px;font-size:9px;font-weight:700;line-height:1.15}
.v60-prod-pill.is-late{background:#fff0e9;border-color:#f6d6c6;color:#a44c2d}
.v60-prod-pill.is-soon{background:#fff8e6;border-color:#f1e1b4;color:#936d1d}
.v60-prod-legacy{font-size:9px;color:#8d6a39;background:#fff7e7;padding:7px;border-radius:6px;line-height:1.45}
@media(max-width:1150px){.v60-prod-filter-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.v60-prod-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.v60-prod-filter-fields{grid-template-columns:1fr}.v60-prod-attention{grid-template-columns:1fr}.v60-prod-heading-actions{width:100%}.v60-prod-kpis{gap:8px}.v60-prod-kpi{min-height:111px;padding:12px}.v60-prod-kpi-head{font-size:10px}.v60-prod-kpi strong{font-size:25px}}

/* Indicadores da Esteira no perfil de cada prefeitura: apenas dados autorizados. */
.v60-mun-prod-kpis{margin-bottom:11px}
.v60-mun-prod-calm{border:1px solid #d9e8e9;background:#f2faf9;border-radius:9px;padding:12px 15px;color:#527681;font-size:11px;line-height:1.6;margin:0 0 12px}
.v60-mun-prod-alerts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0 0 12px}
.v60-mun-prod-alert{background:white;border:1px solid #d8e6e9;border-radius:11px;padding:13px;min-width:0}
.v60-mun-prod-alert-heading{display:flex;align-items:center;justify-content:space-between;gap:9px;margin-bottom:5px}
.v60-mun-prod-alert-heading h3{font-size:12px;margin:0;color:#184b61}
.v60-mun-prod-alert-heading button{font-size:10px;padding:7px 9px}
.v60-mun-prod-alert-link{display:grid;gap:5px;width:100%;text-align:left;background:#f5fafb;border:1px solid #e3ecef;border-radius:8px;padding:10px;margin-top:7px}
.v60-mun-prod-alert-link:hover{border-color:#78babc}
.v60-mun-prod-alert-link strong{font-size:11px;color:#1f5060}
.v60-mun-prod-alert-link small{font-size:10px;color:#64818f}
.v60-mun-prod-summary{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:22px;color:#648493;font-size:11px}
.v60-mun-prod-summary button{padding:9px 12px;font-size:11px}
.v60-mun-report-kpis>.vm-hub-kpis{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:18px}
.v60-mun-prod-tabs{margin-bottom:11px}
.v60-mun-prod-tabs button{font-size:11px;padding:10px 11px}
.v60-mun-prod-tabs button span{font-size:10px;font-weight:800;padding:2px 5px;border:1px solid currentColor;border-radius:5px;margin-left:3px;opacity:.85}
.v60-mun-prod-results{color:#648492;font-size:11px;margin:6px 0 12px}
.v60-mun-prod-link{margin-top:7px;margin-bottom:7px}
.v60-mun-prod-link .v60-prod-pill{width:max-content}
.v60-mun-prod-empty{border:1px dashed #cbdfe4;background:#f8fbfc;border-radius:11px;padding:20px;margin-top:12px;color:#577684}
.v60-mun-prod-empty strong{font-size:12px;color:#20495d}
.v60-mun-prod-empty p{font-size:11px}
.v60-mun-prod-empty button{font-size:11px;padding:9px 12px}
@media(max-width:650px){.v60-mun-prod-alerts{grid-template-columns:1fr}.v60-mun-report-kpis>.vm-hub-kpis{grid-template-columns:1fr}}

/* V6.0: Exclusão administrativa lógica e anulação com auditoria preservada */
.vm-danger-action{color:#9e352b!important;border-color:#edc2bb!important;background:#fff9f7!important}
.vm-danger-action:hover{background:#fff0ed!important}
.vm-voided-row{opacity:.75;border-left:3px solid #c27a49!important}
.vm-void-label{display:block;color:#9e352b;font-weight:700;margin:8px 0}
.vm-audit-rectified{border-left:3px solid #be7f44;background:#fffaf3}
.vm-archived-docs{margin-top:20px;background:#f7fafc;border:1px solid #dce6e9;padding:14px;border-radius:12px}
.vm-archived-docs summary{cursor:pointer;font-weight:750;color:#2b5664;margin-bottom:10px}
.vm-archived-row{background:#fff8f5;border:1px dashed #e4c0b1}
.v60-record-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}


/* VM TAXES V6.0 — centralização das correções de produção, sem controles em cada evento. */
.v60-admin-entry{margin:14px 0 10px;padding:14px 16px;border:1px solid #c7e3e3;border-radius:10px;background:#f4fbfb;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.v60-admin-entry>div{display:grid;gap:3px;min-width:0;flex:1}.v60-admin-entry strong{color:#17495a;font-size:13px}.v60-admin-entry span{color:#5b7a86;font-size:11px;line-height:1.5}
.v60-admin-entry button{font-size:12px;white-space:nowrap}#vm-task-admin-dialog{width:min(650px,95vw);max-height:94vh;overflow:auto}#vm-task-admin-dialog .modal-content{padding:25px 28px}
.vm-admin-label{display:flex;flex-direction:column;gap:8px;font-size:12px;font-weight:750;color:#234d5b;margin:15px 0}
.vm-admin-label select,.vm-admin-label textarea{font:inherit;font-weight:400;font-size:13px;padding:12px;border:1px solid #cadbe1;border-radius:9px;background:white;color:#123d51;width:100%}
.vm-admin-label textarea{min-height:100px;resize:vertical}.vm-admin-guidance{font-size:12px;line-height:1.65;color:#567883;background:#f1f8f9;border-left:3px solid #14939a;padding:12px 14px;border-radius:7px;margin:10px 0}
#vm-task-admin-impact:empty,#vm-task-admin-error:empty{display:none}
@media(max-width:620px){.v60-admin-entry button{width:100%}#vm-task-admin-dialog .modal-content{padding:18px}}

/* V6.0 — campos operacionais municipais sem dados financeiros preliminares */
.v60-operational-summary{margin:21px 0 26px}
.v60-operational-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px 0}
.v60-operational-metrics>div{padding:17px 20px;border:1px solid #d6e5eb;border-radius:11px;background:#fff}
.v60-operational-metrics small{display:block;color:#567788;font-size:12px;margin-bottom:7px}
.v60-operational-metrics strong{font:700 25px/1.1 system-ui;color:#0d4051}
.v60-operational-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.v60-operational-grid .card{min-width:0;margin:0}
.v60-operational-grid .v60-ops-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.65;color:#365668}
@media(max-width:980px){.v60-operational-grid{grid-template-columns:1fr}}
@media(max-width:540px){.v60-operational-metrics{grid-template-columns:1fr}}

/* V6.0 — resumo compacto de acompanhamento dos relatórios mensais */
.v60-employee-report-overview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:14px 0 18px;}
.v60-employee-report-overview>div{background:var(--surface,#fff);border:1px solid #d5e6eb;border-radius:10px;padding:12px 14px;min-width:0;}
.v60-employee-report-overview span{display:block;font-size:12px;color:#607c8b;margin-bottom:5px;}
.v60-employee-report-overview strong{font-size:20px;color:#10344c;font-variant-numeric:tabular-nums;}
@media(max-width:760px){.v60-employee-report-overview{grid-template-columns:repeat(2,minmax(0,1fr));}}

/* Centro Financeiro V6.0 — filtros de resumo claros e responsivos. */
.v60-finance-controls{display:flex;flex-wrap:wrap;gap:12px;align-items:end;margin:10px 0 16px}
.v60-finance-controls label{display:flex;flex-direction:column;gap:5px;font-weight:600;color:#21465d;font-size:13px;min-width:210px;max-width:380px;flex:1}
.v60-finance-controls select,.v60-finance-controls input{min-height:42px;border:1px solid #c5d8e2;border-radius:9px;padding:9px 11px;background:#fff;color:#17334c;font:inherit;width:100%;box-sizing:border-box}
@media (max-width:700px){.v60-finance-controls label{min-width:100%}}

/* V6.0 — acompanhamento contratual, somente leitura de vinculos existentes */
.vm-contract-intro{margin:0 0 15px}.vm-contract-intro h2{font-size:19px;color:#13364d;margin:0 0 5px}.vm-contract-intro p{font-size:12px;color:#688390;margin:0}
.vm-contract-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;margin:0 0 15px}
.vm-contract-kpi{background:#fff;border:1px solid #dbe7eb;border-radius:11px;padding:15px;min-width:0}
.vm-contract-kpi span{display:block;font-size:11px;color:#64808f}.vm-contract-kpi strong{display:block;font-size:23px;font-weight:800;color:#154257;margin:7px 0;font-variant-numeric:tabular-nums}.vm-contract-kpi small{display:block;font-size:10px;line-height:1.5;color:#7d949d}
.vm-contract-toolbar{display:flex;align-items:end;justify-content:space-between;gap:15px;flex-wrap:wrap;margin:0 0 16px}.vm-contract-toolbar label{font-size:11px;display:grid;gap:5px;font-weight:700;color:#496879}.vm-contract-toolbar select{min-width:230px;padding:10px;background:#fff;border:1px solid #cbdde5;border-radius:8px;color:#214456}.vm-contract-toolbar p{font-size:11px;max-width:570px;color:#718c98;margin:0}
.vm-contract-registered{display:block;font-size:9px;color:#8496a0;margin:7px 0 0}
.vm-contract-actions{white-space:normal;min-width:175px}.vm-contract-actions button{margin:2px}
.vm-contract-detail{padding:14px 3px;border-bottom:1px solid #e0eaec}.vm-contract-detail:last-child{border:0}.vm-contract-detail>div:first-child strong{display:block;font-size:13px;color:#173d4d}.vm-contract-detail>div:first-child small{display:block;font-size:11px;margin:6px 0 11px;color:#788f9b}
.vm-contract-finance{background:#f6fafb;border:1px solid #d9e8ec;border-radius:9px;padding:12px;margin-top:10px;min-width:0}.vm-contract-finance-stats{display:flex;gap:17px;flex-wrap:wrap}.vm-contract-finance-stats>span{font-size:11px;color:#597d8d}.vm-contract-finance-stats strong{color:#134858;font-weight:800;margin-left:5px}.vm-contract-finance details{margin:12px 0 5px}.vm-contract-finance summary{cursor:pointer;font-weight:700;font-size:11px;color:#11747b}.vm-contract-finance small,.vm-contract-muted{display:block;font-size:10px;color:#78909b;line-height:1.6;margin:8px 0 0}.vm-contract-finance .table-wrap{margin-top:9px}.v60-record .vm-contract-finance{width:100%}
@media(max-width:860px){.vm-contract-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.vm-contract-kpis{grid-template-columns:1fr}.vm-contract-toolbar label{width:100%}.vm-contract-toolbar select{width:100%}}


/* V6.0 — aprovação formal da ficha municipal, somente área administrativa. */
.v60-ops-stage{font-size:12px;color:#234959;background:#f3f8f9;border:1px solid #d9e9ec;border-radius:8px;padding:11px 13px;margin:13px 0}
.v60-ops-stage small{font-size:11px;color:#607984}
.v60-ops-admin>h3{font-size:13px;color:#174353;margin:16px 0 8px}
.v60-ops-create{border:1px solid #d2e6e9;background:#f8fcfc;border-radius:10px;padding:12px 15px;margin:17px 0}
.v60-ops-create>summary{font-size:12px;font-weight:750;cursor:pointer;color:#0d6574;list-style-position:inside}
.v60-ops-create[open]>summary{padding-bottom:12px;border-bottom:1px solid #dcebed;margin-bottom:12px}
.v60-ops-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 16px;margin:13px 0}
.v60-ops-form-grid label{display:flex;flex-direction:column;gap:6px;font-size:12px;font-weight:700;color:#274b59}
.v60-ops-form-grid label.v60-ops-wide{grid-column:1/-1}
.v60-ops-form-grid input,.v60-ops-form-grid textarea{width:100%;min-width:0;border:1px solid #cbdde4;border-radius:8px;padding:10px 12px;font:inherit;color:#213f4d;background:#fff}
.v60-ops-create .v60-record-actions{margin-top:11px}
.v60-ops-form-result{font-size:12px;color:#8b4d1d;min-height:1em;margin:8px 0}
.v60-ops-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-start;margin:14px 0}
.v60-ops-actions button[disabled]{opacity:.5;cursor:not-allowed}
@media(max-width:650px){.v60-ops-form-grid{grid-template-columns:1fr}}

/* V6.0 — Produção unificada (homologação). O banco e o histórico não mudam. */
.v60-simple-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:14px 0 18px;flex-wrap:wrap}
.v60-simple-toolbar h2,.v60-simple-list-top h2{margin:0;color:#12354b;font-size:19px}
.v60-simple-toolbar p{margin:5px 0 0;color:#627986;font-size:12px}
.v60-simple-filters{display:grid;grid-template-columns:1.5fr repeat(4,minmax(120px,1fr)) auto;align-items:end;gap:10px;background:white;border:1px solid #d9e6eb;border-radius:13px;padding:16px;margin-bottom:16px}
.v60-simple-filters label{display:flex;flex-direction:column;gap:6px;font-size:11px;font-weight:750;color:#3f6476;min-width:0}
.v60-simple-filters input,.v60-simple-filters select{width:100%;min-width:0;box-sizing:border-box;padding:10px 9px;border:1px solid #c8dae2;border-radius:7px;font-size:12px;color:#16394e;background:#fff}
.v60-simple-filters button{white-space:nowrap;min-height:40px}
.v60-simple-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:16px 0 23px}
.v60-simple-stat{display:flex;flex-direction:column;align-items:flex-start;gap:7px;border:1px solid #d8e5ea;border-radius:12px;background:#fff;padding:13px 15px;color:#183b50;text-align:left;cursor:pointer}
.v60-simple-stat span{font-size:12px;font-weight:650}.v60-simple-stat strong{font-size:24px}.v60-simple-stat.selected{border-color:#259ea8;background:#ecf9f8}
.v60-simple-list-top{display:flex;justify-content:space-between;align-items:center;margin:6px 0 12px;color:#6b818d;font-size:12px}
.v60-simple-list{overflow-x:auto;background:#fff;border:1px solid #d8e6ec;border-radius:12px;margin-bottom:16px}
.v60-simple-head,.v60-simple-row{display:grid;grid-template-columns:minmax(130px,1.4fr) minmax(105px,1fr) minmax(160px,1.7fr) minmax(92px,.8fr) minmax(92px,.85fr) minmax(110px,.95fr);gap:14px;align-items:center;min-width:830px;padding:13px 16px}
.v60-simple-head{background:#e8f1f5;color:#45687b;font-weight:800;font-size:11px}
.v60-simple-row{width:100%;border:0;border-bottom:1px solid #e8eef2;background:#fff;text-align:left;font-size:12px;color:#1b3f50;cursor:pointer}
.v60-simple-row:hover,.v60-simple-row.selected{background:#eef8f8}
.v60-simple-row:last-child{border-bottom:0}
.v60-simple-row span{min-width:0;overflow-wrap:anywhere}.v60-simple-row small{display:block;color:#68808e;font-size:10px;margin-top:4px}
.v60-simple-object strong{display:block;color:#13384f;font-size:12px}
.v60-simple-mobile{display:none!important}
.v60-simple-status{display:inline-block;font-size:11px;padding:5px 8px;border-radius:7px;font-weight:800;white-space:nowrap;background:#eff3f6;color:#365568}
.v60-simple-status.is-execucao{background:#e5f1ff;color:#256098}.v60-simple-status.is-concluida{background:#f3ebd8;color:#80601a}.v60-simple-status.is-entregue{background:#d9f4ea;color:#15684c}
.v60-simple-late{color:#b53e36;font-weight:750;font-size:10px;white-space:nowrap}
.v60-simple-empty{padding:26px;text-align:center;color:#5a7280}
.v60-simple-detail{border:1px solid #c7e2e7!important;margin:18px 0;padding:20px}
.v60-simple-detail-top{display:flex;justify-content:space-between;gap:10px;align-items:flex-start;border-bottom:1px solid #e2ebee;padding-bottom:14px}
.v60-simple-detail-top small{font-size:10px;font-weight:800;letter-spacing:.09em;color:#418296}.v60-simple-detail-top h2{margin:5px 0;font-size:19px}.v60-simple-detail-top p{margin:0;color:#657f8e;font-size:12px}
.v60-simple-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:16px 0}
.v60-simple-facts>div{background:#f3f7f9;padding:12px;border-radius:8px;min-width:0}.v60-simple-facts small{display:block;font-size:10px;color:#6b8090}.v60-simple-facts strong{font-size:12px;overflow-wrap:anywhere}
.v60-simple-detail h3{font-size:14px;margin:17px 0 7px}.v60-simple-detail p{font-size:12px;white-space:pre-wrap;overflow-wrap:anywhere}
.v60-simple-actions{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}
.v60-simple-extra{margin:12px 0;border:1px solid #e0e8ec;border-radius:8px;padding:10px 12px}.v60-simple-extra>summary{cursor:pointer;color:#25546b;font-size:12px;font-weight:750}
.v60-simple-files{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}
.v60-simple-log{background:#f6fafc;border:1px solid #dcebf0;border-radius:11px;padding:15px;margin:14px 0}
.v60-simple-work-form{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.v60-simple-work-form label{display:flex;flex-direction:column;gap:6px;font-size:11px;font-weight:750;color:#33576b;min-width:0}
.v60-simple-work-form select,.v60-simple-work-form input,.v60-simple-work-form textarea{width:100%;box-sizing:border-box;border:1px solid #c7dbe4;border-radius:8px;padding:9px 11px;background:#fff;color:#17364d}
.v60-simple-work-text{grid-column:1/-1}.v60-simple-work-form>button{justify-self:start}.v60-simple-work-form output{font-size:12px;color:#a5362d}
.v60-simple-work-date[hidden]{display:none}
@media(max-width:1150px){.v60-simple-filters{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.v60-simple-filters{grid-template-columns:1fr 1fr}.v60-simple-metrics{grid-template-columns:1fr 1fr}.v60-simple-head{display:none}.v60-simple-list{overflow:visible;background:transparent;border:0}.v60-simple-row{min-width:0;grid-template-columns:1fr 1fr;gap:9px 15px;border:1px solid #d8e6ec;border-radius:10px;margin-bottom:10px;padding:14px}.v60-simple-object{grid-column:1/-1}.v60-simple-mobile{display:block!important}.v60-simple-facts{grid-template-columns:1fr 1fr}}
@media(max-width:490px){.v60-simple-filters{grid-template-columns:1fr}.v60-simple-facts{grid-template-columns:1fr 1fr}.v60-simple-work-form{grid-template-columns:1fr}.v60-simple-work-text{grid-column:1}.v60-simple-detail-top{flex-direction:column}}

/* VM TAXES V6.0 — Kanban e Lista: duas perspectivas do mesmo cadastro autorizado. */
.v60-board-toolbar{display:flex;gap:14px;justify-content:space-between;align-items:center;flex-wrap:wrap;margin:5px 0 15px}
.v60-board-view-toggle{display:flex;gap:4px;padding:4px;border:1px solid #d8e6ed;border-radius:10px;background:#edf4f7}
.v60-board-view-toggle button{border:0;border-radius:7px;background:transparent;color:#496778;font-weight:750;font-size:12px;padding:11px 15px;cursor:pointer}
.v60-board-view-toggle button.selected,.v60-board-mine.selected{background:#126f7e;color:#fff;box-shadow:0 2px 8px #23556b29}
.v60-board-mine{background:#fff;border:1px solid #cee1e9;border-radius:9px;padding:11px 14px;font-size:12px;color:#365c6d;cursor:pointer;font-weight:750}
.v60-board-filters{grid-template-columns:minmax(190px,1.6fr) repeat(6,minmax(110px,1fr)) auto;gap:10px}
.v60-board-filters label{min-width:0}
.v60-board-kanban{display:grid;grid-template-columns:repeat(4,minmax(220px,1fr));gap:14px;align-items:start;margin:5px 0 20px;width:100%}
.v60-board-lane{background:#f0f5f8;border:1px solid #e0e9ef;border-radius:13px;padding:13px;min-height:265px;transition:background .18s,border-color .18s;min-width:0}
.v60-board-lane>header{display:flex;align-items:center;gap:9px;margin:2px 1px 13px;color:#1b4053}
.v60-board-lane>header strong{font-size:13px;flex:1}
.v60-board-lane-dot{display:inline-block;width:10px;height:10px;border-radius:50%;background:#8d9eab}
.v60-board-lane-dot.is-producao{background:#258acb}.v60-board-lane-dot.is-revisao{background:#d3a249}.v60-board-lane-dot.is-entregue{background:#31a67d}
.v60-board-lane-count{font-size:12px;font-weight:800;background:white;color:#496b7a;border:1px solid #e1ebee;border-radius:8px;min-width:27px;text-align:center;padding:4px 6px}
.v60-board-lane.is-dragover{border:2px dashed #0f9898;background:#e6f8f6}
.v60-board-card{margin:0 0 10px;border-radius:11px;background:white;border:1px solid #dce6ec;box-shadow:0 4px 12px #2140560b;overflow:hidden;transition:box-shadow .18s,transform .18s}
.v60-board-card:hover{box-shadow:0 7px 18px #25485c17;transform:translateY(-1px)}
.v60-board-card[draggable="true"]{cursor:grab}.v60-board-card.is-dragging{opacity:.5}
.v60-board-card-button{all:unset;box-sizing:border-box;display:flex;flex-direction:column;gap:8px;width:100%;padding:15px;cursor:pointer;word-break:break-word}
.v60-board-card-button:focus-visible{outline:3px solid #148d9b;outline-offset:-3px}
.v60-board-card-button strong{font-size:13px;line-height:1.42;color:#163d53}
.v60-board-city{font-size:11px;color:#5d7a8c}
.v60-board-owner{font-size:11px;color:#3b5f70;background:#f1f7f9;border-radius:7px;padding:6px 9px;align-self:start}
.v60-board-owner>span{color:#168da2;font-size:10px}
.v60-board-info{font-size:11px;color:#5b7482;line-height:1.5}
.v60-board-foot{display:flex;align-items:center;justify-content:space-between;gap:5px;flex-wrap:wrap;border-top:1px solid #edf1f4;padding-top:10px;font-size:11px;color:#617987}
.v60-board-alert{padding:4px 6px;border-radius:6px;font-size:10px;font-weight:700}.v60-board-alert.late{color:#a83e2e;background:#fff0e9}.v60-board-alert.soon{color:#866020;background:#fff7df}
.v60-board-approved{font-size:10px;color:#966a22;background:#fff8e7;padding:5px 8px;border-radius:7px}
.v60-board-empty{font-size:11px;color:#8797a4;padding:20px 5px;text-align:center}
.v60-simple-status.is-producao{background:#e5f1ff;color:#256098}.v60-simple-status.is-revisao{background:#f9f0d9;color:#80601a}.v60-simple-status.is-fazer{background:#edf2f5;color:#527180}
.v60-board-note{background:#fff8e8;border-left:3px solid #d5a754;padding:11px 14px;border-radius:7px;color:#795d24!important}
.v60-simple-facts{grid-template-columns:repeat(5,minmax(0,1fr))}
@media(max-width:1480px){.v60-board-filters{grid-template-columns:repeat(4,minmax(0,1fr))}.v60-board-kanban{grid-template-columns:repeat(4,minmax(200px,1fr));overflow-x:auto;padding-bottom:9px}}
@media(max-width:1100px){.v60-board-kanban{grid-template-columns:repeat(4,minmax(235px,1fr))}.v60-board-filters{grid-template-columns:repeat(3,minmax(0,1fr))}.v60-simple-facts{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:720px){.v60-board-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.v60-board-view-toggle button{padding:9px 10px}.v60-board-kanban{grid-template-columns:repeat(4,minmax(255px,1fr))}.v60-simple-facts{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:460px){.v60-board-filters{grid-template-columns:1fr}.v60-board-toolbar{align-items:stretch}.v60-board-view-toggle{width:100%}.v60-board-view-toggle button{flex:1}.v60-board-mine{width:100%}}
