.shell{grid-template-columns:230px minmax(0,1fr)}aside{width:230px}aside .brand{font-size:21px}aside{padding:24px 18px}nav{gap:3px}nav button{padding:9px 13px}aside footer{padding-top:20px}.boardTools{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap}.groupTabs{display:flex;gap:7px;flex-wrap:wrap}.groupTabs button{font-size:14px;padding:9px 13px}.lane{flex-basis:320px;background:#e9eef6}.laneHead{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:3px 0 12px}.laneHead h3{margin:0;min-height:0;max-width:245px}.laneHead .badge{background:#d8e1f0;font-size:14px}.laneCards{max-height:65vh}.kanbanCard{border-top:3px solid #9cacc7}.kanbanCard strong{line-height:1.5}.kanbanCard .protocol{color:#60708d;font-weight:700;letter-spacing:.4px}.kanbanCard .cardDeadline{border-top:1px solid #edf0f5;border-bottom:1px solid #edf0f5;padding:9px 0;margin:12px 0}.kanbanCard .secondary{width:100%;margin-top:12px}.cardDeadline small{margin:7px 0 0}.dataCell small{margin-top:7px}.groupTabs button:focus-visible{outline:3px solid #ed7d31}.flowStatus{display:flex;justify-content:space-between;align-items:center;gap:15px;background:#253352;color:white;padding:18px;border-radius:8px;margin-top:20px}.flowStatus .badge{background:#e9eef6;color:#253352}.miniFlow{padding:0;list-style:none;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin:16px 0}.miniFlow li{border:1px solid #dce3ee;padding:10px 8px;font-size:14px;border-radius:6px;background:#f6f8fb;color:#647189}.miniFlow li.done{background:#e7f4ed;border-color:#bddbcb;color:#246344}.deadlineGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.deadlineGrid>div{padding:13px 16px;background:#f1f4f9;border-radius:6px}.deadlineGrid strong,.deadlineGrid small{display:block}.deadlineGrid strong{font-size:19px;margin-top:6px}.sectionHint{font-size:14px;color:#647189;line-height:1.6;margin:12px 0}.requirements{padding:14px 18px;background:#fff7ed;border-left:3px solid #ed7d31}.requirements li{font-size:14px;margin:6px 0}.formSection[disabled]{opacity:.8}.formSection[disabled] input,.formSection[disabled] select,.formSection[disabled] textarea{color:#24324a}#holidayList{margin:22px 0}.protocol{font-variant-numeric:tabular-nums}#importPreview{margin-top:22px}#flowSummary h3{margin:0}.card strong.amount{font-size:25px}.metricRow progress{appearance:none;border:0;border-radius:5px;overflow:hidden;background:#e9edf4}.metricRow progress::-webkit-progress-bar{background:#e9edf4}.metricRow progress::-webkit-progress-value{background:#ed7d31}@media(max-width:1100px){.shell{grid-template-columns:195px minmax(0,1fr)}aside{width:195px}.main{padding:24px}.miniFlow{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:640px){.shell{display:block}aside{width:auto}nav{gap:4px}nav button{font-size:14px;padding:8px 10px}.miniFlow{grid-template-columns:repeat(2,minmax(0,1fr))}.deadlineGrid{grid-template-columns:1fr}.main{padding:16px}.flowStatus{align-items:flex-start;flex-direction:column}.groupTabs{gap:5px}.lane{flex-basis:290px}.boardTools{align-items:flex-start}.cards{grid-template-columns:repeat(2,minmax(0,1fr))}}

.deadlineReport .reportActions{margin:16px 0;flex-wrap:wrap}.deadlineReport table{font-size:13px}
@media print{body:has(.deadlineReport) aside,body:has(.deadlineReport) .top,body:has(.deadlineReport) .filters,body:has(.deadlineReport) .source,.deadlineReport .reportActions,.deadlineReport form,.deadlineReport .cards,.deadlineReport .muted{display:none!important}body:has(.deadlineReport) .shell{display:block}body:has(.deadlineReport) .main{margin:0;padding:0}.deadlineReport{box-shadow:none;border:0;padding:0}.deadlineReport .tablewrap{overflow:visible}.deadlineReport table{font-size:9px;min-width:0;width:100%}.deadlineReport th,.deadlineReport td{padding:5px;white-space:normal}.deadlineReport tr{break-inside:avoid}.deadlineReport thead{display:table-header-group}@page{size:landscape;margin:10mm}}

/* Lote com construção: campos bloqueados continuam legíveis para consulta. */
#record:has(select[name="construction"] option[value="SIM"]:checked) :is(input,select,textarea):disabled {
  background-color: #e5e7eb;
  border-color: #c5cbd3;
  color: #545c68;
  -webkit-text-fill-color: #545c68;
  opacity: 1;
  cursor: not-allowed;
  box-shadow: none;
}

#record label[hidden]{display:none!important}

/* Relatórios de resultados — v1 */
.outcomeReport form{margin-bottom:18px}.outcomeReport h3{margin-top:28px}.outcomeReport .reportActions{margin:16px 0;flex-wrap:wrap}.outcomeReport .cards{margin:22px 0}.cascadeScroll{overflow-x:auto;border:1px solid #e4e8ef;border-radius:8px;padding:12px;background:white}.cascadeScroll svg{display:block;width:100%;min-width:1000px;height:auto}.cascadeGrid{stroke:#e9edf2;stroke-width:1}.cascadeConnector{stroke:#cdd3db;stroke-width:1}.cascadeAxis{font-size:11px;fill:#6c788a}.cascadeValue{font-size:16px;font-weight:600;fill:#172d43}.cascadeLabel{font-size:12px;fill:#263746}.outcomeDetails{font-size:13px}.reportOffPage{display:none}.outcomeDetails td{max-width:290px;overflow-wrap:anywhere}.closureOutcome{background:#f1f5fa;padding:14px;border-radius:6px}.closureOutcome strong,.closureOutcome small{display:block;margin-bottom:7px}
@media print{body:has(.outcomeReport) aside,body:has(.outcomeReport) .top,body:has(.outcomeReport) .filters,body:has(.outcomeReport) .source,.outcomeReport .reportActions,.outcomeReport form{display:none!important}body:has(.outcomeReport) .shell{display:block}body:has(.outcomeReport) .main{margin:0;padding:0}.outcomeReport{box-shadow:none;border:0;padding:0}.outcomeReport .tablewrap,.cascadeScroll{overflow:visible}.cascadeScroll{padding:0;border:0;break-inside:avoid}.cascadeScroll svg{min-width:0;width:100%}.outcomeReport table{font-size:9px;min-width:0;width:100%}.outcomeReport th,.outcomeReport td{padding:5px;white-space:normal}.outcomeReport tr{break-inside:avoid}.outcomeReport thead{display:table-header-group}.outcomeReport .reportOffPage{display:table-row}.outcomeReport .cards{break-inside:avoid}@page{size:landscape;margin:10mm}}

.kanbanSummary{border:1px solid #e4e8ef;border-radius:8px;padding:8px 22px 20px;margin-top:25px}.kanbanSummary .metricRow{grid-template-columns:minmax(210px,1fr) minmax(140px,2fr) 55px;gap:18px}.kanbanSummary progress{width:100%}.cascadeLegend{display:flex;gap:20px;flex-wrap:wrap;font-size:13px}.cascadeLegend span:before{content:'';display:inline-block;width:10px;height:10px;border-radius:2px;margin-right:7px}.legendPending:before{background:#b7791f}.legendNegative:before{background:#c00000}.legendRecovered:before{background:#ed702b}@media(max-width:640px){.kanbanSummary{padding:8px 10px 15px}.kanbanSummary .metricRow{grid-template-columns:minmax(110px,1fr) minmax(65px,1fr) 35px;gap:8px;font-size:12px}}

.stageLink{background:transparent!important;color:#253352!important;border:0;padding:3px 0;text-align:left;text-decoration:underline;font-size:inherit;cursor:pointer}.printOnly{display:none}.cascadeScroll [data-outcome-stage]{cursor:pointer}.cascadeScroll [data-outcome-stage]:focus-visible{outline:3px solid #ed702b}@media print{.printOnly{display:inline}.stageLink{color:#253352!important;text-decoration:none}.cascadeScroll [data-outcome-stage]{outline:none}}
