/* Complementos do boletim. O CSS original do Overview é report-app.css.
   Todas as regras novas são limitadas a .cost-overview-document ou .cost-overview-modal. */
.cost-overview-document .cost-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:start}
.cost-overview-document .cost-grid-three{grid-template-columns:repeat(3,minmax(0,1fr))}
.cost-overview-document .cost-grid-four{grid-template-columns:repeat(4,minmax(0,1fr))}
.cost-overview-document .cost-stack{display:grid;gap:20px}
.cost-overview-document .cost-card-title{margin:0 0 12px;font-size:11.5px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--ov-navy)}
.cost-overview-document .cost-summary-card{padding:20px 16px;min-width:0}
.cost-overview-document .cost-summary-card .cost-card-title{text-align:left}
.cost-overview-document .cost-summary-card .ovr-status{display:table;margin-bottom:16px}
.cost-overview-document .cost-summary-card .ov-progress-summary{grid-template-columns:1fr}
.cost-overview-document .cost-analyses .ovr-item p{white-space:pre-line}
.cost-overview-document .cost-summary-card .cost-main-value{margin:0;font-size:29px;white-space:nowrap;letter-spacing:-.04em}
.cost-overview-document .cost-metric-label{display:block;margin-top:8px;color:var(--ov-ink2);font-size:10.5px;font-weight:700;letter-spacing:.12em;text-transform:uppercase}
.cost-overview-document .cost-pair{display:flex;justify-content:space-between;align-items:start;gap:14px;margin-top:16px;padding-top:12px;border-top:1px solid var(--ov-hair);font-size:11.5px;color:var(--ov-ink2);text-align:left}
.cost-overview-document .cost-pair b{white-space:nowrap;color:var(--ov-navy);font-weight:600}
.cost-overview-document .cost-difference{margin:14px 0 4px;font-size:23px;font-weight:600;letter-spacing:-.025em;color:var(--cost-color,var(--ov-navy))}
.cost-overview-document .cost-rate{font-size:11.5px;color:var(--cost-color,var(--ov-ink2))}
.cost-overview-document .cost-summary-comment{padding:0 4px;margin:12px 0 0;font-size:11.5px;color:var(--ov-ink2);line-height:1.6;text-align:left}
.cost-overview-document .cost-subhead{margin:26px 0 14px;font-size:12px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--ov-navy)}
.cost-overview-document .cost-grid .cost-subhead{margin-top:0}
.cost-overview-document .cost-grid-four.ov-progress-summary strong{font-size:26px}
.cost-overview-document .cost-help{margin:8px 0 0;font-size:11.5px;line-height:1.6;color:var(--ov-ink2)}
.cost-overview-document .cost-unit-value{font-size:23px!important;margin-top:6px}
.cost-overview-document .cost-unit-label{font-size:11px;margin:0;color:var(--ov-ink2)}
.cost-overview-document .cost-table-wrap{overflow-x:auto;border:1px solid var(--ov-hair);border-radius:8px;background:white}
.cost-overview-document .cost-table{width:100%;border-collapse:collapse;font-size:11.5px;font-variant-numeric:tabular-nums}
.cost-overview-document .cost-table th,.cost-overview-document .cost-table td{padding:12px 11px;text-align:left;border-bottom:1px solid var(--ov-hair);vertical-align:middle;line-height:1.45}
.cost-overview-document .cost-table thead th{background:var(--ov-ground);font-size:10px;letter-spacing:.045em;text-transform:uppercase;color:var(--ov-ink2);font-weight:700}
.cost-overview-document .cost-table tbody th{color:var(--ov-navy);font-weight:600}
.cost-overview-document .cost-table td{color:var(--ov-ink2)}
.cost-overview-document .cost-table tr:last-child>*{border-bottom:0}
.cost-overview-document .cost-table .cost-total>*{font-weight:700;color:var(--ov-navy);background:#f7f9fc}
.cost-overview-document .cost-table .cost-current>*{background:var(--ov-ground);font-weight:600;color:var(--ov-navy)}
.cost-overview-document .cost-weekly-table{min-width:780px;table-layout:auto}
.cost-overview-document .cost-weekly-table tr>*{min-width:92px;padding:12px 8px;text-align:center}
.cost-overview-document .cost-weekly-table tr>:first-child{position:sticky;left:0;z-index:1;min-width:112px;text-align:left;background:#fff;box-shadow:1px 0 0 var(--ov-hair)}
.cost-overview-document .cost-weekly-table thead tr>:first-child{z-index:2;background:var(--ov-ground)}
.cost-overview-document .cost-weekly-table .cost-week-current{background:#e8f4f7;color:var(--ov-navy);font-weight:700;box-shadow:inset 1px 0 0 #c7e5e9,inset -1px 0 0 #c7e5e9}
.cost-overview-document .cost-weekly-table thead .cost-week-current{border-top:2px solid #00a6b8}
.cost-overview-document .cost-week-reference{display:block;margin-top:4px;font-size:8px;letter-spacing:.02em;text-transform:uppercase;color:#007d89}
.cost-overview-document .cost-weekly-wrap:focus-visible{outline:2px solid #00a6b8;outline-offset:3px}
.cost-overview-document .cost-reference-chart{display:block;width:100%;height:auto;object-fit:contain;max-height:420px}
.cost-overview-document .cost-chart-content{min-width:0}
.cost-overview-document .cost-chart-svg{min-height:0;overflow:hidden}
.cost-overview-document .cost-chart-svg text{font-size:12px}
.cost-overview-document .cost-legend{display:flex;flex-wrap:wrap;gap:12px;margin-top:10px;font-size:11px;color:var(--ov-ink2)}
.cost-overview-document .cost-legend i{display:inline-block;width:14px;height:3px;margin-right:6px;vertical-align:middle}
.cost-overview-document .cost-empty{padding:18px;background:var(--ov-ground);border-radius:8px;color:var(--ov-ink2);font-size:12px;text-align:center}
.cost-overview-document .cost-note{padding:12px 16px;border-left:3px solid #b06a00;background:#fff9ee;border-radius:0 5px 5px 0;color:#805b17;font-size:11.5px;line-height:1.6}
.cost-overview-document .cost-note+.cost-note{margin-top:10px}
.cost-overview-document .cost-analyses .ovr-item:first-child{border-top:0;padding-top:0}
.cost-overview-document .cost-front-list{list-style:none;padding:0;margin:8px 0 0}
.cost-overview-document .cost-front-list li{padding:6px 0;font-size:12.5px;line-height:1.6;color:var(--ov-ink2)}
.cost-overview-document .cost-front-list li .ovr-status{margin-right:8px}
.cost-overview-document .cost-reference-caption{font-size:10.5px;color:var(--ov-ink2);margin:8px 0 0}
.cost-overview-document .cost-surface{background:var(--ov-ground)}
.cost-overview-document .cost-contract-value{margin-top:12px}
.cost-overview-document .cost-missing{font-size:13px!important;font-weight:500!important;letter-spacing:0!important;white-space:normal!important}
.cost-overview-document .cost-months .ovr-chartcard{padding:12px 10px}
.cost-overview-document .cost-month-label{font-size:10.5px;font-weight:700;letter-spacing:.1em;color:var(--ov-ink2);text-transform:uppercase}
.cost-overview-document .cost-month-value{font-size:21px;margin-top:8px;font-weight:600;color:var(--ov-navy)}
.cost-overview-document .cost-muted{color:var(--ov-ink2)}
.cost-overview-document .cost-space{margin-top:20px}
.cost-overview-document .cost-reference-only{font-size:10.5px;letter-spacing:.04em;text-transform:uppercase;margin-top:8px;color:var(--ov-ink2)}
.cost-overview-document .cost-section--labor,.cost-overview-document .cost-section--fronts{background:var(--ov-ground)}
.cost-overview-modal{max-width:min(1100px,95vw);width:100%;font-family:'Open Sans','Segoe UI',sans-serif}
.cost-overview-modal .cost-modal-body{margin:0;max-height:75vh;overflow:auto}
.cost-overview-modal .overview-document{display:block;max-width:none}
.cost-overview-modal .cost-reference-chart{max-height:65vh}
.cost-overview-modal .ovr-chart text{font-family:'Open Sans',sans-serif}
@media(max-width:1100px){.cost-overview-document .ov-side-nav a{flex:none}}
@media(max-width:760px){.cost-overview-document .cost-grid,.cost-overview-document .cost-grid-three{grid-template-columns:1fr}.cost-overview-document .cost-grid-four{grid-template-columns:repeat(2,minmax(0,1fr))}.cost-overview-document .cost-summary-card .cost-main-value{font-size:30px}.cost-overview-document .cost-table{min-width:650px}.cost-overview-document .cost-grid-four.ov-progress-summary strong{font-size:25px}.cost-overview-document .cost-months{grid-template-columns:repeat(2,minmax(0,1fr))}.cost-overview-document .cost-reference-chart{max-height:none}.cost-overview-document .cost-table-wrap{max-width:100%}.cost-overview-document .cost-pair{flex-wrap:wrap}.cost-overview-modal .cost-grid{grid-template-columns:1fr}}
@media(max-width:400px){.cost-overview-document .cost-grid-four.ov-progress-summary{grid-template-columns:1fr}}
@media print{.cost-overview-document .cost-note,.cost-overview-document .cost-table tr{break-inside:avoid}.cost-overview-document .cost-table-wrap{overflow:visible}.cost-overview-document .cost-table{min-width:0}}

.cost-overview-document .cost-curve-value{font-weight:700;font-size:11px;paint-order:stroke;stroke:#fff;stroke-width:3px;stroke-linejoin:round}
.cost-overview-document .cost-curve-hit{cursor:crosshair;touch-action:pan-y}
.cost-overview-document .cost-curve-hit:hover,.cost-overview-document .cost-curve-hit:focus{fill:#002f6c;fill-opacity:.04;outline:none;stroke:#a1b0c4;stroke-width:.5px}
.cost-overview-document .cost-curve-readout{display:block;min-height:38px;padding:10px 12px;background:var(--ov-ground);border-radius:5px;font-size:11px;line-height:1.7;color:var(--ov-navy);margin-top:8px}
.cost-curve-sync{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin:12px 0;padding:12px 16px;background:#e8f4f7;color:#002f6c;border:1px solid #c7e5e9;border-radius:7px;font:12px 'Open Sans','Segoe UI',sans-serif}
.cost-curve-sync p{margin:0;flex:1;min-width:180px}.cost-curve-sync button{padding:7px 12px;background:white;border:1px solid #a1b0c4;color:#002f6c;border-radius:4px;cursor:pointer}.cost-curve-sync button:disabled{cursor:wait;opacity:.6}

.cost-overview-document .cost-advance-summary{margin-top:20px}
.cost-overview-document .cost-resource-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:stretch}
.cost-overview-document .cost-resource-panel{min-width:0;padding:18px 14px;display:flex;flex-direction:column;background:#fafbfe}
.cost-overview-document .cost-resource-heading{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px;min-height:36px;border-bottom:1px solid var(--ov-hair);padding-bottom:12px;margin-bottom:12px}
.cost-overview-document .cost-resource-heading h3{margin:0}
.cost-overview-document .cost-resource-heading .ovr-status{font-size:8px;letter-spacing:.06em}
.cost-overview-document .cost-resource-metrics{min-height:102px}
.cost-overview-document .cost-resource-metrics .ov-progress-summary{grid-template-columns:repeat(4,minmax(0,1fr));gap:0;padding:10px 0;margin:0;border:1px solid var(--ov-hair);border-radius:7px;background:#fff}
.cost-overview-document .cost-resource-metrics .ov-progress-summary>div{padding:4px 6px;min-width:0;border-right:1px solid var(--ov-hair)}
.cost-overview-document .cost-resource-metrics .ov-progress-summary>div:last-child{border-right:0}
.cost-overview-document .cost-resource-metrics .ov-progress-summary strong{font-size:19px;white-space:nowrap;letter-spacing:-.04em}
.cost-overview-document .cost-resource-metrics .ov-progress-summary span{font-size:8px;letter-spacing:.04em}
.cost-overview-document .cost-resource-metrics .cost-help{font-size:10px}
.cost-overview-document .cost-resource-panel .cost-chart-content{margin-top:auto}
.cost-overview-document .cost-resource-legend{margin:0 0 8px;font-size:10px;gap:10px}
.cost-overview-document .cost-resource-legend i{width:11px;height:11px;border-radius:2px}
.cost-overview-document .cost-resource-legend .cost-empty-swatch{background:transparent;border:1px dashed #b06a00;box-sizing:border-box}
.cost-overview-document .cost-labor-detail{scroll-margin-top:100px}
.cost-overview-document .cost-summary-comment{display:none}
@media(max-width:760px){.cost-overview-document .cost-resource-pair{grid-template-columns:1fr}.cost-overview-document .cost-resource-metrics{min-height:0}.cost-overview-document .cost-resource-metrics:empty{display:none}.cost-overview-document .cost-resource-metrics .ov-progress-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.cost-overview-document .cost-resource-metrics .ov-progress-summary strong{font-size:24px}.cost-overview-document .cost-resource-metrics .ov-progress-summary span{font-size:10px}.cost-overview-document .cost-resource-panel .cost-chart-content{margin-top:10px}}

/* v05: container-based summary and charts; scoped to this report. */
.cost-overview-document .ov-paper-inner{container-type:inline-size;container-name:cost-report}
.cost-overview-document .cost-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch}
.cost-overview-document .cost-summary-grid>.cost-summary-card{min-width:0;height:100%;box-sizing:border-box}
.cost-overview-document .cost-summary-grid .cost-main-value{font-size:clamp(23px,3vw,30px);white-space:nowrap}
.cost-overview-document .cost-advance-values{display:grid;gap:20px;margin-top:24px}
.cost-overview-document .cost-advance-values>div{padding:18px 12px;border-radius:8px;background:#eef3fc}
.cost-overview-document .cost-advance-values>div+div{background:#fcf5e8}
.cost-overview-document .cost-advance-values strong{display:block;font-size:30px;color:#527dc8;text-align:center}
.cost-overview-document .cost-advance-values>div+div strong{color:#bd8720}
.cost-overview-document .cost-advance-values span{display:block;text-align:center;font-size:11px;text-transform:uppercase;letter-spacing:.08em;margin-top:7px}
.cost-overview-document .cost-resource-pair{grid-template-columns:1fr;align-items:start}
.cost-overview-document .cost-resource-panel{container-type:inline-size;container-name:cost-panel;background:#fff}
.cost-overview-document .cost-resource-metrics{min-height:0}
.cost-overview-document .cost-resource-metrics .ov-progress-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:8px}
.cost-overview-document .cost-resource-metrics .ov-progress-summary>div{border:0;padding:10px 6px}
.cost-overview-document .cost-resource-metrics .ov-progress-summary strong{font-size:24px;letter-spacing:-.02em}
.cost-overview-document .cost-resource-metrics .ov-progress-summary span{font-size:10px}
.cost-overview-document .cost-resource-panel .cost-chart-content{margin-top:10px}
.cost-overview-document .cost-responsive-chart{width:100%;min-width:0}
.cost-overview-document .cost-chart-svg{display:block;width:100%;height:auto;max-height:none}
.cost-overview-document .cost-chart-svg text{font-size:11px}
.cost-overview-document .cost-resource-legend{font-size:11px;flex-wrap:wrap}
@container cost-report (min-width:900px){.cost-overview-document .cost-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@container cost-report (min-width:858px){.cost-overview-document .cost-resource-pair{grid-template-columns:repeat(2,minmax(0,1fr))}}
@container cost-report (max-width:519px){.cost-overview-document .cost-summary-grid{grid-template-columns:1fr}}
@container cost-panel (min-width:520px){.cost-overview-document .cost-resource-metrics .ov-progress-summary{grid-template-columns:repeat(4,minmax(0,1fr))}}

@media(min-width:1101px){.cost-overview-document{max-width:1460px;grid-template-columns:132px minmax(0,1196px) 132px}}

/* v06: workforce context above aligned chart panels. */
.cost-overview-document .cost-workforce-strip{margin-bottom:22px}
.cost-overview-document .cost-workforce-strip .ov-progress-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0}
.cost-overview-document .cost-workforce-strip .ov-progress-summary>div{padding:16px 12px;min-width:0;background:#fff;border:1px solid var(--ov-hair);border-radius:8px}
.cost-overview-document .cost-workforce-strip .ov-progress-summary strong{font-size:26px;white-space:nowrap}
.cost-overview-document .cost-workforce-strip .ov-progress-summary span{font-size:10px}
.cost-overview-document .cost-resource-pair{align-items:stretch}
.cost-overview-document .cost-resource-panel .cost-resource-legend{min-height:28px;margin-bottom:8px;align-content:start}
.cost-overview-document .cost-curve-deviation-caption{padding:8px 10px;margin-top:8px;background:#fff;border:1px solid var(--ov-hair);border-radius:5px;font-size:12px;font-weight:700}
@container cost-report (min-width:700px){.cost-overview-document .cost-workforce-strip .ov-progress-summary{grid-template-columns:repeat(4,minmax(0,1fr))}}

.cost-source-sync{margin:12px 0;padding:14px 18px;border:1px solid #c7e5e9;border-radius:8px;background:#e8f4f7;color:#002f6c;font:12px 'Open Sans','Segoe UI',sans-serif}.cost-source-sync p{margin:5px 0;overflow-wrap:anywhere}.cost-source-sync button{margin-top:8px;padding:8px 14px;border:1px solid #a1b0c4;border-radius:5px;background:white;color:#002f6c;cursor:pointer}.cost-source-sync button:disabled{opacity:.6;cursor:wait}.cost-demo-control{display:block;margin:12px auto;max-width:920px;font:12px 'Segoe UI',sans-serif}.cost-demo-control[hidden]{display:none}.cost-demo-control select{padding:6px;margin-left:8px}

.cost-overview-document .cost-resource-provenance{margin-bottom:20px;padding:12px 14px;border:1px solid var(--ov-hair);border-radius:7px;background:#fff;color:var(--ov-ink2);font-size:11px;line-height:1.7}


.cost-overview-document .cost-resource-scroll,.cost-overview-modal .cost-resource-scroll{max-width:100%;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
.cost-overview-document .cost-resource-scroll:focus-visible,.cost-overview-modal .cost-resource-scroll:focus-visible{outline:2px solid #375f89;outline-offset:2px}

.cost-overview-document .cost-rhythm-block{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;margin-top:12px;padding:0;background:none;border:0}
.cost-overview-document .cost-rhythm-grid{display:flex;flex-wrap:wrap;gap:8px 20px;font-size:12px;color:var(--ov-ink2)}
.cost-overview-document .cost-rhythm-grid b{font-weight:600;color:var(--ov-navy,#002f6c)}
.cost-overview-document .cost-rhythm-help{font-size:11px;color:var(--ov-ink2);position:relative}
.cost-overview-document .cost-rhythm-help summary{cursor:pointer}
.cost-overview-document .cost-rhythm-help p{max-width:500px;margin:8px 0;line-height:1.5}
.cost-overview-document .cost-rhythm-note,.cost-overview-document .cost-workforce-note{font-size:11px;line-height:1.5;color:var(--ov-ink2)}
.cost-overview-document .cost-rhythm-note{flex-basis:100%}
.cost-overview-document .cost-resource-compact{width:100%;overflow:hidden}
@container cost-report (max-width:519px){.cost-overview-document .cost-rhythm-grid{display:grid;grid-template-columns:1fr;gap:6px}}

.cost-overview-document .cost-resource-readout{display:block;margin-top:5px;font-size:11px;color:var(--ov-ink2)}
.cost-overview-document .cost-resource-readout:empty{display:none}



.cost-kickoff-marker{top:45px}.ovr-item p,.cost-analyses p{white-space:pre-line}.cost-preview-tools select{max-width:220px} @media(max-width:600px){.cost-preview-tools{flex-wrap:wrap;gap:8px}.cost-preview-tools select{max-width:100%}}

@page mse-cost { size: 338.67mm 190.5mm; margin: 12mm; }
@media print {
 .cost-pdf .cost-preview-tools,.cost-pdf .cost-demo-control,.cost-pdf #curve-sync,.cost-pdf .cost-source-sync,.cost-pdf .ov-side-nav,.cost-overview-document .ovr-ztool,.cost-overview-document .cost-chart-readout,.cost-pdf [data-cost-actions],.cost-pdf [data-cost-sync],.cost-pdf .detail-head,.cost-pdf .ed-floating-actions {display:none!important}
 body.cost-pdf,.cost-pdf .report-open,.cost-overview-document {page:mse-cost;background:#fff!important;color:#002f6c!important; margin:0!important; width:100%!important;max-width:none!important}
 .cost-overview-document .ov-section {opacity:1!important;transform:none!important;break-before:page;box-shadow:none!important;padding:0!important}
 .cost-overview-document .ov-section:first-of-type {break-before:auto}
 .cost-overview-document .ovr-chartcard,.cost-overview-document .cost-resource-panel,.cost-overview-document .cost-note,.cost-overview-document tr {break-inside:avoid}
 .cost-overview-document .cost-table-wrap {overflow:visible!important}
 .cost-overview-document svg {max-width:100%!important;height:auto!important}
}

.cost-kickoff-without-scale {display:block;text-align:center;font-size:11px;color:#002f6c;background:white;position:relative;top:-8px}


/* Alinhamento dos indicadores e maior destaque à evolução semanal. */
.cost-overview-document .cost-summary-card{display:grid;grid-template-rows:24px 36px 100px 66px 34px 24px;align-content:start}
.cost-overview-document .cost-summary-card .cost-card-title{grid-row:1;margin:0}
.cost-overview-document .cost-summary-card .ovr-status{grid-row:2;margin:0;justify-self:start;align-self:start}
.cost-overview-document .cost-summary-card .ov-progress-summary{grid-row:3;margin:0}
.cost-overview-document .cost-summary-card .ov-progress-summary>div{height:100px;padding:14px 10px;display:flex;flex-direction:column;justify-content:center}
.cost-overview-document .cost-summary-card .cost-pair{grid-row:4;margin:16px 0 0;padding-top:12px;flex-wrap:nowrap}
.cost-overview-document .cost-summary-card .cost-advance-deviation{display:contents}
.cost-overview-document .cost-summary-card .cost-difference{grid-row:5;margin:0;line-height:1.35;align-self:start}
.cost-overview-document .cost-summary-card .cost-rate{grid-row:6;margin:0;align-self:start}
.cost-overview-document .cost-weekly-table{font-size:14px;min-width:840px}
.cost-overview-document .cost-weekly-table tr>*{padding:18px 12px;min-width:98px}
.cost-overview-document .cost-weekly-table thead th{font-size:12px}
.cost-overview-document .cost-week-reference{font-size:9px;margin-top:6px}
.cost-overview-document .cost-weekly-wrap{margin-top:6px}
@media(max-width:760px){.cost-overview-document .cost-weekly-table{font-size:13px}.cost-overview-document .cost-weekly-table tr>*{padding:16px 10px}}
.cost-overview-document .cost-equipment-snapshot{margin:8px 0 10px;padding:10px 12px;border-radius:8px;background:#f0f3f8;color:#35506f;font-size:11px;line-height:1.55}.cost-overview-document .cost-equipment-snapshot strong{display:block;color:#123465;font-size:12px;font-weight:600}.cost-overview-document .cost-equipment-snapshot>div{display:flex;flex-wrap:wrap;gap:4px 12px;margin-top:4px}.cost-overview-document .cost-equipment-snapshot span{white-space:nowrap}
