.work-overview{min-width:0;display:grid;gap:18px;margin-block:18px;color:var(--text,#20323d)}
.work-overview .wo-toolbar{padding:18px}.wo-filters{display:flex;align-items:end;gap:12px;flex-wrap:wrap}.wo-filters .field{flex:1 1 140px;min-width:0}.wo-filters .field:first-child{flex:2 1 240px}
.work-overview .field{display:grid;gap:7px;font-size:12px;font-weight:600}.work-overview input,.work-overview select,.wo-stage-edit input,.wo-stage-edit select,.wo-source-mappings select{min-width:0;width:100%;min-height:42px;border:1px solid #ccdde7;border-radius:11px;background:#fff;padding:10px 12px;color:inherit;font:inherit}
.wo-sync{margin:12px 0 0;font-size:12px;overflow-wrap:anywhere}.wo-content{display:grid;gap:18px;min-width:0}.wo-kpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.wo-kpi{padding:18px;display:grid;align-content:start;gap:10px;min-width:0}.wo-kpi span{font-size:12px;color:#607786}.wo-kpi strong{font-size:19px;overflow-wrap:anywhere}
.wo-main{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(300px,1fr);align-items:stretch;gap:18px;min-width:0}.wo-map-card,.wo-progress{min-width:0;overflow:hidden}.wo-map-card{display:flex;flex-direction:column}.wo-map{width:100%;height:520px;min-height:360px;flex:1;z-index:0}.wo-progress{display:flex;flex-direction:column}.wo-stage-list{padding:0 20px;max-height:520px;overflow:auto;overscroll-behavior:contain}.wo-stage{padding:16px 0;border-bottom:1px solid #e1eaf0}.wo-stage-title{display:flex;align-items:baseline;justify-content:space-between;gap:16px;font-size:13px}.wo-stage-title strong{overflow-wrap:anywhere}.wo-stage-title b{white-space:nowrap;color:#0e709f;font-size:16px}.wo-stage p{font-size:11px;color:#607786;line-height:1.6;margin:8px 0 0}.wo-bar{height:8px;background:#edf3f7;border-radius:8px;overflow:hidden;margin-top:10px}.wo-bar i{display:block;height:100%;background:linear-gradient(90deg,#168bbd,#22b0ac);border-radius:inherit;transition:width .3s ease}.wo-stage--excluded{opacity:.7}.wo-total{padding:20px;background:#f2f8fb;display:grid;gap:6px;margin-top:auto}.wo-total>strong{font-size:28px;color:#087aa2}.wo-total small{font-size:11px;color:#607786;line-height:1.6}.wo-work-link{display:block;text-align:left;width:100%;border-left:0;border-right:0;border-top:0;background:none;font:inherit;cursor:pointer}.wo-work-link:hover{background:#f2f8fb}.wo-empty{padding:20px 0;line-height:1.7;color:#607786}
.wo-los{overflow:hidden;min-width:0}.wo-table-scroll{overflow:auto;max-height:660px;overscroll-behavior:contain}.wo-table-scroll table{min-width:1040px;width:100%}.wo-table-scroll th{position:sticky;top:0;background:#f6fafc;z-index:1}.wo-table-scroll tr[data-lo]{cursor:pointer}.wo-table-scroll tr[data-lo]:hover{background:#f1f8fb}.wo-table-scroll tr[data-lo]:focus-visible{outline:2px solid #1289bd;outline-offset:-2px}.wo-excerpt{max-width:360px;max-height:4.5em;overflow:hidden;white-space:pre-wrap;line-height:1.5}.wo-pagination{padding:14px;display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px}.wo-note{font-size:12px;color:#607786;line-height:1.7}.wo-literal{white-space:pre-wrap;overflow-wrap:anywhere;margin:8px 0 18px}
.wo-edit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.wo-stage-edit{border:1px solid #d9e5ec;border-radius:14px;padding:16px;margin:16px 0;min-width:0}.wo-stage-edit legend{font-size:12px;color:#0b709e;padding:0 8px}.wo-check{display:flex;gap:10px;align-items:center;font-size:12px;margin:14px 0}.wo-check input{width:18px;height:18px;min-height:18px;flex:none}.wo-source-mappings{display:grid;gap:16px;margin:20px 0}.wo-lo-form{display:grid;gap:16px}
@media(max-width:1100px){.wo-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.wo-main{grid-template-columns:minmax(0,1.1fr) minmax(290px,1fr)}}
@media(max-width:760px){.wo-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.wo-main{grid-template-columns:minmax(0,1fr)}.wo-map{height:340px;min-height:280px}.wo-stage-list{max-height:none}.wo-kpi{padding:15px}.wo-kpi strong{font-size:17px}.wo-filters{gap:10px}.wo-filters .field{flex:1 1 120px}.wo-filters .field:first-child{flex-basis:100%}.wo-filters .btn{flex:1 1 auto}.wo-edit-grid{grid-template-columns:minmax(0,1fr)}.wo-pagination .btn{padding:10px}.work-overview .card__head{flex-wrap:wrap;gap:12px}.wo-stage-title{gap:10px}.wo-stage-title b{font-size:14px}}
@media(prefers-reduced-motion:reduce){.wo-bar i{transition:none}}

.wo-edit-grid .field,.wo-lo-form .field,.wo-source-mappings .field{min-width:0;margin:0}.wo-lo-form .field-control textarea{min-height:110px;white-space:pre-wrap}.wo-lo-form select{width:100%;min-height:46px;border:1px solid #ccdde7;border-radius:12px;padding:10px;background:white}.work-overview .field{margin-bottom:0}

.wo-review-link{display:block;width:100%;text-align:left;margin:12px 0;white-space:normal;line-height:1.6}

.work-overview .field-control input,.wo-stage-edit .field-control input{border:0;border-radius:0;padding:0;background:transparent;min-height:42px}.work-overview .wo-filters .field-control{padding-inline:12px}

.wo-overview-active > .detail-hero,.wo-overview-active > .project-analysis-row{display:none}

/* Work position: same hierarchy as the weekly BI, using the shared Águas cards. */
.wo-header-top{display:grid;grid-template-columns:minmax(190px,1.25fr) minmax(110px,.65fr) minmax(0,2.7fr);gap:14px;align-items:start}
.wo-contract-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;min-width:0}
.wo-details-meta{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px;margin-top:16px}
.wo-meta{display:grid;gap:7px;align-content:start;min-width:0}.wo-meta>span{font-size:12px;font-weight:600;color:#607786}
.wo-meta-value{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;min-height:44px;padding:10px 12px;border:1px solid #d5e4ed;border-radius:11px;background:#fff;color:var(--text,#20323d);font:inherit;font-size:12px;line-height:1.5;text-align:left;overflow-wrap:anywhere}
button.wo-meta-value{cursor:pointer}button.wo-meta-value:hover{border-color:#168bbd;background:#f6fafc}.wo-meta-value svg{width:14px;height:14px;flex:none;color:#5b8195}
.wo-toolbar-actions{display:flex;flex-wrap:wrap;align-items:end;gap:10px;margin-top:16px}.wo-date-range{display:flex;gap:10px;min-width:0}.wo-date-range .field{min-width:145px}
.wo-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(275px,300px);gap:18px;align-items:stretch}.wo-left{display:grid;grid-template-rows:auto minmax(400px,1fr);gap:18px;min-width:0}.wo-summary{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(260px,1fr);gap:14px;min-width:0}
.wo-summary .wo-kpis{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.wo-summary .wo-kpi{position:relative;min-height:110px;align-content:center;padding:18px 28px 18px 18px;gap:8px}.wo-summary .wo-kpi strong{font-size:clamp(16px,1.3vw,21px);line-height:1.3;letter-spacing:-.02em}.wo-summary .wo-kpi span{font-size:12px}
.wo-edit-icon{position:absolute;right:10px;top:10px;display:grid;place-items:center;min-width:32px;min-height:32px;border:0;border-radius:9px;background:transparent;color:#527d92;cursor:pointer}.wo-edit-icon:hover{background:#e8f4fa;color:#087aa2}.wo-edit-icon svg{width:15px;height:15px}
.wo-evolution{position:relative;padding:20px;display:grid;align-content:center;gap:20px;min-width:0}.wo-evolution header h2{font-size:15px;margin:0}.wo-evolution header{margin-bottom:8px}.wo-evolution-line{display:grid;grid-template-columns:62px minmax(0,1fr) 53px;gap:9px;align-items:center;font-size:12px}.wo-evolution-line .wo-bar{height:24px;margin:0;border-radius:6px}.wo-evolution-line strong{text-align:right;white-space:nowrap;font-size:12px}.wo-evolution p{font-size:12px;line-height:1.6;color:#607786;margin:0}.wo-axis{display:flex;justify-content:space-between;margin-left:71px;margin-right:62px;font-size:10px;color:#748b98}
.wo-layout .wo-map-card{min-height:440px}.wo-layout .wo-map{height:560px;min-height:400px}.wo-layout .wo-progress{min-height:0;max-height:1000px}.wo-layout .wo-progress .card__head{padding:20px 18px 12px}.wo-layout .wo-progress h2{font-size:16px}.wo-layout .wo-progress .card__head p{font-size:11px;line-height:1.6}
.wo-stage-legend{display:flex;justify-content:center;gap:18px;font-size:11px;color:#607786;padding:0 16px 6px}.wo-stage-legend span{display:flex;gap:6px;align-items:center}.wo-stage-legend i{width:10px;height:10px;border-radius:3px;background:#176c91}.wo-stage-legend span+span i{background:#db8b54}
.wo-layout .wo-stage-list{padding:0 18px;max-height:none;min-height:0;flex:1;overflow:auto}.wo-stage-name{display:block;font-size:12px;line-height:1.6;margin-bottom:10px}.wo-stage-line{display:grid;grid-template-columns:minmax(0,1fr) 52px;gap:9px;align-items:center;margin-top:7px}.wo-stage-line .wo-bar{height:15px;margin:0;border-radius:5px}.wo-stage-line b{font-size:11px;text-align:right;white-space:nowrap}.wo-layout .wo-stage{padding:16px 0}.wo-bar--physical i{background:#176c91}.wo-bar--financial i{background:#75b780}.wo-bar--weight i{background:#db8b54}.wo-layout .wo-total{padding:17px 18px;gap:6px}.wo-layout .wo-total>strong{font-size:26px}.wo-total .btn{font-size:11px;white-space:normal;justify-content:flex-start;text-align:left;padding:7px 0;min-height:30px}
.wo-source-note{padding:16px 20px;font-size:12px;color:#607786;line-height:1.7}.wo-source-note summary{cursor:pointer;color:#31566c;font-weight:600}.wo-position-form{display:grid;gap:16px}.wo-position-form .field{min-width:0}.wo-position-form select{width:100%;min-height:46px;border:1px solid #ccdde7;border-radius:12px;padding:10px;background:white;color:inherit;font:inherit}.wo-source-detail{overflow-wrap:anywhere;font-size:13px;line-height:1.7}.wo-source-detail code{white-space:pre-wrap;font-size:11px}.wo-source-detail details{padding:10px 0}.wo-formula{padding:16px;border-radius:12px;background:#f2f8fb;font-size:13px;line-height:1.7}.wo-formula small{color:#607786}
.wo-meta-value:focus-visible,.wo-edit-icon:focus-visible,.wo-source-note summary:focus-visible{outline:2px solid #168bbd;outline-offset:3px}
@media(min-width:1600px){.wo-layout{grid-template-columns:minmax(0,1fr) minmax(300px,340px)}.wo-summary{grid-template-columns:minmax(0,1.65fr) minmax(290px,1fr)}}
@media(max-width:1180px){.wo-header-top{grid-template-columns:minmax(160px,1fr) minmax(100px,.7fr)}.wo-contract-meta{grid-column:1/-1}.wo-details-meta{grid-template-columns:repeat(3,minmax(0,1fr))}.wo-summary{grid-template-columns:minmax(0,1fr)}.wo-evolution{gap:14px}.wo-evolution-line .wo-bar{height:17px}.wo-layout{grid-template-columns:minmax(0,1fr) minmax(260px,290px)}.wo-layout .wo-progress{max-height:1180px}}
@media(max-width:760px){.wo-layout{grid-template-columns:minmax(0,1fr)}.wo-header-top{grid-template-columns:minmax(0,1fr) minmax(110px,.65fr)}.wo-contract-meta{grid-template-columns:minmax(0,1fr)}.wo-details-meta{grid-template-columns:repeat(2,minmax(0,1fr))}.wo-meta-value{min-height:46px}.wo-toolbar-actions{align-items:stretch}.wo-date-range{flex:1 1 100%}.wo-date-range .field{min-width:0;flex:1}.wo-toolbar-actions>.btn{flex:1 1 auto}.wo-left{grid-template-rows:auto auto}.wo-layout .wo-map{height:360px;min-height:320px}.wo-layout .wo-map-card{min-height:0}.wo-layout .wo-progress{max-height:none}.wo-layout .wo-stage-list{overflow:visible}.wo-summary .wo-kpi{padding:20px 25px 20px 15px;min-height:112px}.wo-summary .wo-kpi strong{font-size:18px}.wo-evolution{padding:20px}.wo-edit-icon{min-width:36px;min-height:36px;right:4px;top:4px}.wo-details-meta .wo-meta:last-child{grid-column:1/-1}.wo-position-form .wo-edit-grid{grid-template-columns:minmax(0,1fr)}}

@media(max-width:760px){.wo-summary .wo-kpi--amount strong{font-size:13.5px;white-space:nowrap;letter-spacing:-.035em}}
@media(max-width:350px){.wo-summary .wo-kpis{grid-template-columns:minmax(0,1fr)}.wo-summary .wo-kpi--amount strong{font-size:18px}}

.wo-weight-note{font-size:10px;color:#607786;text-align:center;margin:2px 15px 8px;line-height:1.6}

.wo-stage-line:has(.wo-stage-percent){grid-template-columns:minmax(0,1fr) 80px}.wo-stage-percent{display:flex;align-items:center;justify-content:flex-end;gap:5px;min-height:36px;padding:0;border:0;border-radius:7px;background:transparent;color:#126b9b;font:inherit;font-size:11px;font-weight:700;cursor:pointer}.wo-stage-percent:hover{background:#edf6fb}.wo-stage-percent svg{width:13px;height:13px;flex:none}.wo-stage-percent:focus-visible{outline:2px solid #168bbd;outline-offset:2px}.wo-readonly{display:grid;align-content:start;gap:12px;font-size:12px;color:#607786}.wo-readonly strong{color:#20323d;font-size:18px}.wo-stage-preview{display:grid;gap:8px;padding:18px;border:1px solid #d6e6ee;border-radius:14px;background:#f2f8fb}.wo-stage-preview>span{font-size:12px;color:#607786}.wo-stage-preview>strong{font-size:27px;color:#087aa2}.wo-stage-preview p{font-size:12px;line-height:1.6;margin:0;color:#607786}.wo-stage-values-form .wo-stage-edit{margin:0}.wo-stage-values-form .wo-stage-edit legend{max-width:100%;white-space:normal;line-height:1.6}
