.projection-project{--cp-bg:var(--panel,#202126);--cp-soft:var(--surface,#26272d);--cp-line:var(--line,#383a41);--cp-ink:var(--ink,#f2f3f5);--cp-muted:var(--muted,#acafb8);--cp-accent:var(--red,#b3403d);color:var(--cp-ink);max-width:1700px;min-width:0;margin:18px auto;font:13px/1.55 system-ui,sans-serif}
.projection-project *{box-sizing:border-box}.projection-project [hidden]{display:none!important}.projection-project button{font:650 12px/1.4 system-ui,sans-serif;cursor:pointer;min-height:36px;padding:8px 12px;border:1px solid var(--cp-line);border-radius:7px;color:var(--cp-ink);background:var(--cp-soft);box-shadow:none}.projection-project button:hover:not(:disabled){border-color:var(--cp-muted)}.projection-project button:disabled{opacity:.46;cursor:default}.projection-project button.cp-primary{background:var(--cp-accent);border-color:var(--cp-accent);color:white}.projection-project button.cp-remove{padding:5px 10px;font-size:20px;line-height:1;border-color:transparent;background:transparent;color:var(--cp-accent);min-width:32px}.projection-project button:focus-visible,.projection-project input:focus-visible,.projection-project select:focus-visible,.projection-project textarea:focus-visible{outline:2px solid #7f9ee5;outline-offset:3px}.projection-project h1{font-size:28px;margin:3px 0;font-weight:800}.projection-project h2{font-size:15px;margin:0;font-weight:750;line-height:1.5}.projection-project h3{font-size:14px;margin:18px 0 10px}.cp-header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:14px}.cp-header p{margin:0}.cp-eyebrow{font-size:10px;letter-spacing:.13em;font-weight:750;color:var(--cp-muted)}.cp-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.cp-help{font-size:12px;color:var(--cp-muted);line-height:1.65;margin:9px 0}.cp-status{white-space:pre-wrap;font-size:13px;line-height:1.6;margin:10px 0;color:var(--cp-ink)}.cp-status:empty{display:none}.cp-section{padding:17px 18px;border:1px solid var(--cp-line);border-radius:9px;background:var(--cp-bg);margin:17px 0;min-width:0}.cp-section-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}.cp-section-head h2{border-left:3px solid var(--cp-accent);padding-left:9px}.cp-section-head>button{margin-left:auto}.cp-grid{display:grid;gap:16px 12px;align-items:start;min-width:0}.cp-grid-four{grid-template-columns:repeat(4,minmax(0,1fr))}.cp-wide{grid-column:span 2}.cp-field{display:flex;flex-direction:column;gap:6px;min-width:0;font-size:11px;font-weight:650;color:var(--cp-muted)}.cp-field input,.cp-field textarea,.cp-field select{width:100%;min-width:0;min-height:38px;border:1px solid var(--cp-line);border-radius:6px;background:var(--cp-soft);color:var(--cp-ink);padding:8px 10px;font:400 13px/1.45 system-ui,sans-serif}.cp-field input[type=number]{text-align:right;font-variant-numeric:tabular-nums}.cp-field input:disabled,.cp-field select:disabled,.cp-field textarea:disabled{opacity:.8}.cp-field textarea{resize:vertical;min-height:44px;white-space:pre-wrap;overflow-wrap:anywhere}.cp-field input[type=file]{padding:7px;font-size:12px}.cp-check{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:500;min-height:34px;line-height:1.5}.cp-check input{order:-1;flex:0 0 16px;width:16px;height:16px;accent-color:var(--cp-accent)}.cp-review-checks{display:flex;flex-wrap:wrap;gap:8px 20px}.cp-review{background:var(--cp-soft)}.cp-review .cp-section-head h2{border:0;padding:0}.cp-badge{border:1px solid var(--cp-line);border-radius:15px;padding:3px 9px;font-size:11px;color:var(--cp-muted);white-space:nowrap}.cp-source{font-size:10px;font-weight:400;line-height:1.5;overflow-wrap:anywhere}.cp-source strong,.cp-source span{display:block}.cp-source strong{color:var(--cp-accent);font-weight:650}.cp-metrics{display:grid;grid-template-columns:1.2fr 1fr 1fr 1fr;border:1px solid var(--cp-line);border-top:3px solid var(--cp-accent);border-radius:9px;overflow:hidden;background:var(--cp-bg);margin:19px 0 12px}.cp-metric{padding:14px 18px;min-width:0;display:flex;flex-direction:column;gap:6px}.cp-metrics .cp-metric+.cp-metric{border-left:1px solid var(--cp-line)}.cp-metric>span{font-size:10px;color:var(--cp-muted);font-weight:750;letter-spacing:.04em;text-transform:uppercase;line-height:1.5}.cp-metric strong{font-size:20px;font-weight:800;line-height:1.25;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.cp-metric em{font-size:17px;font-weight:750;font-style:normal;line-height:1.2}.cp-metric small{font-size:10px;color:var(--cp-muted);line-height:1.5}.cp-metric-primary strong{font-size:30px}.cp-positive{color:#4c9a5f}.cp-negative{color:#c95a54}.cp-secondary{border-top:1px solid var(--cp-line);grid-template-columns:repeat(4,minmax(0,1fr));margin:10px 0 18px}.cp-secondary .cp-metric strong{font-size:18px}.cp-grid>.cp-metric{padding:0;min-height:65px}.cp-grid>.cp-metric strong{font-size:17px;border:1px solid var(--cp-line);background:var(--cp-soft);border-radius:6px;padding:8px 10px;min-height:38px}.cp-grid>.cp-metric small{font-size:10px}.cp-wage{grid-template-columns:2fr 1fr 1fr;max-width:800px;margin-bottom:22px}.cp-wage .cp-field:first-child input{font-size:22px;font-weight:750;color:var(--cp-accent);text-align:left;min-height:45px}.cp-table-wrap{width:100%;overflow:auto;min-width:0;max-height:670px}.cp-table{width:100%;border-collapse:collapse;min-width:750px}.cp-table th{font-size:10px;line-height:1.4;text-align:right;text-transform:uppercase;letter-spacing:.03em;color:var(--cp-muted);padding:8px 7px;border-bottom:1px solid var(--cp-line);white-space:normal;font-weight:700}.cp-table th:first-child{text-align:left;min-width:185px}.cp-table td{font-size:12px;padding:7px 6px;border-bottom:1px solid var(--cp-line);text-align:right;line-height:1.5;font-variant-numeric:tabular-nums;min-width:77px;max-width:330px;overflow-wrap:anywhere}.cp-table td:first-child{text-align:left}.cp-table td:last-child{min-width:34px}.cp-table td>.cp-field>span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.cp-table td input,.cp-table td select,.cp-table td textarea{font-size:12px;padding:6px;min-height:34px}.cp-table td textarea{min-height:37px}.cp-table td>.cp-check>span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.cp-table td>.cp-check{justify-content:center}.cp-table td>button+button{margin-left:5px}.cp-table td strong{font-weight:650}.cp-line-totals{display:flex;flex-wrap:wrap;gap:12px;justify-content:flex-end;padding:10px 0 15px}.cp-line-totals .cp-metric{padding:5px 10px;min-width:100px}.cp-line-totals .cp-metric strong{font-size:15px}.cp-empty{color:var(--cp-muted);font-size:12px;margin:15px 0}.cp-subcontractor{padding:15px 14px;margin:12px 0;border:1px solid var(--cp-line);border-radius:8px;background:var(--cp-soft)}.cp-sub-head{grid-template-columns:2fr 1fr 1fr 1fr auto}.cp-sub-head .cp-remove{align-self:end;margin-bottom:3px}.cp-sub-changes{padding-left:20px}.cp-change-order{grid-template-columns:2fr 1fr 1fr auto;align-items:end;margin:13px 0}.cp-subcontractor>button{margin:8px 0 0 20px}.cp-notes{max-height:360px;overflow:auto;margin-bottom:15px}.cp-notes article{padding:10px 12px;border-left:2px solid var(--cp-accent);background:var(--cp-soft);border-radius:4px;margin:8px 0}.cp-notes article small{font-size:10px;color:var(--cp-muted)}.cp-notes article p{margin:5px 0 0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px}.cp-section>.cp-field>textarea{min-height:90px;margin-bottom:10px}.cp-trend-legend{display:flex;justify-content:center;gap:18px;flex-wrap:wrap;font-size:11px;margin:15px 0 5px}.cp-trend-legend>span:before{content:'';display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--series-color);margin-right:6px}.cp-trend{width:100%;height:auto;min-height:175px;max-height:330px;color:var(--cp-muted);overflow:visible}.cp-upload{border-color:var(--cp-accent);scroll-margin-top:90px}.cp-upload-fields{grid-template-columns:2fr 1fr;margin:18px 0}.cp-upload-fields input[type=date]{max-width:240px}.cp-import-preview{border-top:1px solid var(--cp-line);margin:20px 0 12px;padding-top:10px}.cp-import-preview>button{margin:14px 7px 0 0}.cp-import-history-row{display:flex;align-items:center;flex-wrap:wrap;gap:8px 14px;border-top:1px solid var(--cp-line);padding:11px 0;font-size:12px}.cp-import-history-row>strong{min-width:130px;overflow-wrap:anywhere}.cp-import-history-row>span{color:var(--cp-muted);flex:1}.cp-import-history-row>button{margin-left:auto}.cp-error{color:var(--cp-accent);font-size:12px}.cp-footer-actions{display:flex;justify-content:flex-end;padding:10px 0 25px}.cp-overlay{position:fixed;inset:0;background:#0009;z-index:1100;display:flex;align-items:flex-start;justify-content:center;overflow:auto;padding:24px}.cp-dialog{width:min(1050px,100%);max-height:calc(100dvh - 48px);overflow:auto;padding:20px;border:1px solid var(--cp-line);border-radius:12px;background:var(--cp-bg);box-shadow:0 18px 70px #0007}.cp-dialog p{white-space:pre-wrap;overflow-wrap:anywhere}.cp-history-entry{border-bottom:1px solid var(--cp-line);padding:12px 0}.cp-history-entry p{font-size:12px;color:var(--cp-muted);margin:5px 0}
@media(max-width:1050px){.cp-grid-four{grid-template-columns:repeat(2,minmax(0,1fr))}.cp-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.cp-metrics>.cp-metric:nth-child(3){border-left:0;border-top:1px solid var(--cp-line)}.cp-metrics>.cp-metric:nth-child(4){border-top:1px solid var(--cp-line)}.cp-sub-head{grid-template-columns:2fr 1fr}.cp-sub-head>.cp-remove{justify-self:end}.cp-change-order{grid-template-columns:2fr 1fr 1fr auto}.cp-header{align-items:flex-start}.cp-header>.cp-actions{justify-content:flex-end}}
@media(max-width:650px){.projection-project{margin:12px auto;font-size:12px}.cp-header{flex-direction:column;gap:12px}.projection-project h1{font-size:24px}.cp-header>.cp-actions{width:100%;justify-content:flex-start}.cp-header>.cp-actions>button{flex:1}.cp-section{padding:14px 12px;margin:14px 0}.cp-section-head{align-items:flex-start;flex-wrap:wrap;gap:10px}.cp-section-head h2{font-size:14px}.cp-section-head>button{margin-left:0}.cp-metric{padding:14px 12px}.cp-metric strong{font-size:17px}.cp-metric-primary strong{font-size:24px}.cp-metric>span{font-size:9px}.cp-metric small{font-size:10px}.cp-secondary .cp-metric strong{font-size:16px}.cp-grid-four{gap:14px 10px}.cp-wage{grid-template-columns:1fr 1fr}.cp-wage>.cp-field:first-child{grid-column:1/-1}.cp-wage .cp-field:first-child input{max-width:220px}.cp-table-wrap{max-height:none;overflow:visible}.cp-table{display:block;min-width:0;width:100%}.cp-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.cp-table tbody{display:block}.cp-table tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px 10px;padding:13px 11px;margin:10px 0;border:1px solid var(--cp-line);border-radius:7px;background:var(--cp-soft)}.cp-table td{display:flex;flex-direction:column;align-items:stretch;gap:6px;min-width:0;max-width:none;padding:0;border:0;text-align:right;font-size:12px}.cp-table td:first-child{grid-column:1/-1}.cp-table td:before{content:attr(data-label);font-size:10px;color:var(--cp-muted);font-weight:650;text-align:left}.cp-table td:last-child:not([data-label]){grid-column:1/-1;display:flex;flex-direction:row;justify-content:flex-end}.cp-table td:last-child:not([data-label]):before{display:none}.cp-table td>.cp-check{justify-content:flex-end;min-height:38px}.cp-table td input,.cp-table td select,.cp-table td textarea{min-height:38px;font-size:13px;padding:8px}.cp-table td strong{min-height:38px;display:flex;align-items:center;justify-content:flex-end}.cp-line-totals{gap:8px;justify-content:space-between}.cp-line-totals .cp-metric{padding:4px;min-width:90px;flex:1 1 calc(50% - 8px)}.cp-subcontractor{padding:12px}.cp-sub-head{grid-template-columns:1fr 1fr}.cp-sub-head>.cp-field:first-child{grid-column:1/-1}.cp-sub-head>.cp-metric strong{font-size:14px}.cp-sub-changes{padding-left:0}.cp-change-order{grid-template-columns:1fr 1fr;border-top:1px solid var(--cp-line);padding-top:12px}.cp-change-order>.cp-field:first-child{grid-column:1/-1}.cp-change-order>.cp-remove{grid-column:2;justify-self:end}.cp-subcontractor>button{margin-left:0}.cp-upload-fields{grid-template-columns:1fr}.cp-import-history-row{display:block}.cp-import-history-row>strong,.cp-import-history-row>span{display:block;margin:6px 0}.cp-import-history-row>button{margin-top:5px}.cp-trend-legend{gap:7px 12px;font-size:10px}.cp-trend{min-height:120px}.cp-overlay{padding:8px}.cp-dialog{max-height:calc(100dvh - 16px);padding:15px}.cp-review-checks{display:block}.cp-check{padding:6px 0}.cp-section .cp-actions{align-items:stretch}.cp-section .cp-actions>button{flex:1 1 45%}}
@media(max-width:360px){.cp-grid-four{grid-template-columns:1fr}.cp-wide{grid-column:1}.cp-metric{padding:12px 9px}.cp-metric-primary strong{font-size:21px}.cp-metric strong{font-size:16px}.cp-header>.cp-actions>button{flex-basis:45%}}
@media print{.cp-header .cp-actions,.cp-review,.cp-upload,.cp-footer-actions,.cp-overlay,.cp-section-head>button,.cp-remove,.cp-section>button{display:none!important}.cp-section{break-inside:avoid}.cp-table-wrap{max-height:none;overflow:visible}.cp-trend{max-height:250px}.projection-project input,.projection-project textarea,.projection-project select{border:0!important;background:none!important}.cp-status:empty{display:none}}
.cp-model-controls{display:flex;gap:10px;flex-wrap:wrap}.cp-model-controls select{min-width:0;max-width:100%;flex:1 1 230px;padding:8px 10px;border:1px solid var(--cp-line);border-radius:6px;background:var(--cp-soft);color:var(--cp-ink);font:inherit}.cp-model-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border:1px solid var(--cp-line);border-radius:7px;margin:12px 0}.cp-model-metrics strong{font-size:18px;overflow-wrap:anywhere}.cp-model-bars{display:flex;gap:7px;overflow-x:auto;padding:16px 2px 4px;min-height:140px;align-items:end}.cp-model-bar{display:flex;flex:1 0 34px;max-width:80px;align-items:center;justify-content:end;flex-direction:column;height:124px;gap:4px;font-variant-numeric:tabular-nums}.cp-model-bar i{width:70%;min-height:4px;flex-shrink:1;background:var(--cp-accent);border-radius:3px 3px 0 0}.cp-model-bar small{white-space:nowrap;font-size:10px;color:var(--cp-muted)}@media(max-width:600px){.cp-model-metrics{grid-template-columns:1fr}.cp-model-controls>button{flex:1 1 100%}.cp-model-metrics strong{font-size:16px}}
