.internal-cost-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;letter-spacing:0}
.internal-cost-form>label{margin:8px 0;min-width:0}
.internal-cost-form>label:has(textarea),.internal-cost-form .cost-lines{grid-column:1/-1}
.cost-lines fieldset{border:0;border-bottom:1px solid #b9c9bf;padding:14px 0;min-width:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.cost-lines legend{font-weight:700;font-size:15px;padding:0}
.cost-lines label{margin:0;min-width:0}
.cost-lines select{display:block;width:100%;font:inherit;padding:11px;border:1px solid #b9c9bf;border-radius:8px;margin-top:8px;background:white;color:#18332e}
.cost-lines fieldset>div{grid-column:1/-1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;align-items:start}
.cost-lines [hidden]{display:none!important}
.cost-lines input[type=checkbox]{display:inline-block;width:auto;margin:0 8px 0 0}
.cost-lines fieldset>button{width:auto;justify-self:start;padding:8px 12px}
.cost-results{border-left:3px solid #20744c;padding-left:14px;margin:16px 0}
.cost-save-feedback{grid-column:1/-1;margin:0;padding:10px 0;font-weight:600;overflow-wrap:anywhere;color:#18332e}
.cost-results p{margin:5px 0;font-size:14px;overflow-wrap:anywhere}
.dashboard-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:1px;background:#d8e3dc;border:1px solid #d8e3dc;margin:14px 0}
.dashboard-metrics button{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:5px;min-height:76px;border-radius:0;background:#fff;color:#18332e;text-align:left;padding:10px 12px;min-width:0}
.dashboard-metrics button:hover,.dashboard-metrics button:focus-visible{background:#edf4ef;outline:2px solid #377bc2;outline-offset:-2px}
.dashboard-metrics strong{font-size:23px;line-height:1.1}.dashboard-metrics span{font-size:12px;line-height:1.4;overflow-wrap:anywhere}
.workspace-shortcuts{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 12px}.workspace-shortcuts button{width:auto;padding:8px 12px;font-size:13px;border-radius:4px;background:white;color:#28523e;border:1px solid #b9c9bf}.workspace-shortcuts button[aria-pressed=true]{background:#1e6241;color:white}
.cost-dashboard{margin-top:18px;border-top:1px solid #b9c9bf;padding-top:12px}
.cost-dashboard>label{max-width:420px;margin:8px 0}.cost-dashboard>label select{width:100%;min-width:0}.cost-dashboard>small{display:block;margin-bottom:12px}
.cost-empty button{width:auto;margin-top:12px;font-size:13px;padding:9px 12px}.cost-empty strong{display:block;margin-top:12px}
@media(max-width:1050px){.dashboard-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.dashboard-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-metrics button{min-height:72px;padding:9px}}
.cost-project-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}
.cost-project{padding:18px;border:1px solid #d8e3dc;border-radius:8px;background:white;min-width:0}
.cost-project h4{font-size:16px;overflow-wrap:anywhere;margin:0 0 12px}
.cost-project select{max-width:100%;width:100%;padding:8px;font:inherit;font-size:14px;margin:12px 0;border:1px solid #b9c9bf;border-radius:6px;background:white}
.cost-project meter{width:100%;height:18px;display:block}
.cost-project p{font-size:14px;margin:8px 0 2px}
.cost-project-metrics{display:grid;grid-template-columns:1fr 1fr 80px;gap:10px;padding:8px 0;border-bottom:1px solid #d8e3dc}
.cost-project-metrics small{font-size:12px;margin:0 0 4px}.cost-project-metrics strong{font-size:14px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.cost-composition{display:flex;flex-direction:column;align-items:center;margin:12px 0}
.cost-donut{width:180px;height:180px;position:relative;flex-shrink:0}
.cost-donut canvas{width:180px;height:180px;display:block}
.cost-donut-center{position:absolute;inset:44px 20px;display:flex;flex-direction:column;justify-content:center;align-items:center;pointer-events:none;text-align:center}
.cost-donut-center strong{font-size:17px}.cost-donut-center small{font-size:11px;margin:0 0 5px}
.cost-breakdown{border-collapse:collapse;width:100%;font-size:12px;table-layout:fixed}
.cost-breakdown th,.cost-breakdown td{padding:7px 0;border-bottom:1px solid #e3ebe6;vertical-align:top;overflow-wrap:anywhere}
.cost-breakdown th:first-child,.cost-breakdown td:first-child{width:43%;text-align:left}
.cost-breakdown th:nth-child(2),.cost-breakdown td:nth-child(2){width:39%;text-align:right;padding-left:6px;font-variant-numeric:tabular-nums}
.cost-breakdown th:last-child,.cost-breakdown td:last-child{width:18%;text-align:right;padding-left:6px}
.cost-breakdown-total{font-weight:700}.cost-breakdown small{font-size:11px;margin:3px 0 0 13px}
.cost-swatch{display:inline-block;width:8px;height:8px;margin-right:5px;border-radius:2px}
.cost-incomplete{color:#916319!important;font-size:12px!important}
.cost-item-details{margin-top:12px;font-size:12px}.cost-item-details summary{cursor:pointer;font-weight:600}
.cost-item-details>div{display:flex;justify-content:space-between;gap:12px;padding:7px 0;border-bottom:1px solid #e3ebe6}.cost-item-details strong{text-align:right;white-space:nowrap}
@media(max-width:1050px){.cost-project-grid{grid-template-columns:1fr}}
@media(max-width:700px){.internal-cost-form,.cost-lines fieldset,.cost-lines fieldset>div{grid-template-columns:1fr}.internal-cost-form>label,.cost-lines{grid-column:1}.cost-lines fieldset>div{grid-column:1}}
