.main-content:has(.budget-workspace){max-width:1800px}.detail-layout.budget-workspace{grid-template-columns:minmax(0,1fr)}.budget-workspace>.detail-sidebar{display:none}.budget-stage{padding:26px 28px 0}.budget-stage .stage-header{margin-bottom:24px}.budget-stage .stage-icon{width:46px;height:46px;border-radius:13px}.budget-stage .stage-heading h2{font-size:28px;letter-spacing:-.8px}.budget-stage .stage-heading p{font-size:14px;line-height:1.7}.stage-layout.budget-stage-layout{grid-template-columns:minmax(0,1fr) 340px;gap:24px;align-items:start}.budget-builder{--budget-ink:#25342f;--budget-muted:#63716c;--budget-border:#e0e6e2;min-width:0}.budget-builder button:focus-visible,.budget-builder summary:focus-visible,.budget-material-total summary:focus-visible{outline:3px solid #ca5245;outline-offset:3px}.budget-settings{padding:18px;border:1px solid #e5e9ed;border-radius:14px;background:#f8fafb;margin-bottom:24px}.budget-section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.budget-section-heading .eyebrow{font-size:10px;letter-spacing:1.3px;color:#7e6659}.budget-section-heading h3{font-size:20px;color:#28392f;letter-spacing:-.45px;margin-top:5px;display:flex;align-items:center;gap:10px}.budget-section-heading p{font-size:13px;color:#63716c;line-height:1.6;margin-top:5px}.budget-basics{display:grid;grid-template-columns:1fr 1fr;gap:16px}.budget-values{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding-top:18px;margin-top:18px;border-top:1px solid #e2e7eb}.budget-builder .field>label,.budget-builder .field>span{font-size:13px;color:#526057}.budget-builder .custom-select,.budget-builder .input-control{min-height:46px;border-radius:9px}.budget-builder .custom-select,.budget-builder .input-control input{font-size:15px}.budget-count{display:inline-flex;align-items:center;justify-content:center;min-width:25px;height:25px;padding:0 7px;background:#edf2ee;border-radius:7px;color:#526c5a;font-size:12px;font-weight:750}.budget-phase-picker{display:flex;gap:14px;align-items:center;background:#fbf5f0;border:1px solid #ecdfd4;border-radius:11px;padding:15px 18px;margin-bottom:18px}.budget-phase-picker>svg{width:24px;height:24px;flex-shrink:0;color:#a46e4a}.budget-phase-picker>.field{flex:1 1}.budget-phase-picker>span{max-width:200px;font-size:12px;line-height:1.7;color:#82664f}.budget-phase-picker .field>label{font-size:12px}.budget-phase-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}.budget-phase{min-width:0;border:1px solid var(--budget-border);border-radius:13px;background:#fff;box-shadow:0 3px 12px #26342d05;overflow:hidden;transition:box-shadow .18s}.budget-phase:hover{box-shadow:0 5px 20px #26342d0c}.budget-phase.dragging{opacity:.35}.budget-phase-heading{display:flex;align-items:center;gap:10px;padding:17px 16px 0}.budget-phase-number{display:grid;place-items:center;width:34px;height:34px;flex-shrink:0;border-radius:10px;background:#edf3ed;color:#537058;font-size:12px;font-weight:800}.budget-phase-heading>textarea{min-width:0;flex:1 1;width:100%;font-family:inherit;font-size:16px;line-height:1.45;resize:none;overflow:hidden;font-weight:750;color:var(--budget-ink);background:transparent;padding:6px 2px;border:1px solid transparent;border-radius:5px}.budget-phase-heading>textarea:hover:not(:disabled){border-color:#d8e1d9}.budget-phase-heading>textarea:focus-visible{outline:2px solid #bf7666;outline-offset:2px}.budget-phase-heading>textarea:disabled{opacity:1}.budget-phase-meta{display:flex;flex-wrap:wrap;gap:14px;padding:10px 17px 14px;margin-bottom:0;border-bottom:1px solid #edf0ed}.budget-phase-meta>span{display:flex;align-items:center;gap:5px;font-size:11px;color:#63716c}.budget-phase-meta svg{width:13px;height:13px}.budget-materials{padding:14px 16px 16px}.budget-material-labels{font-size:10px;font-weight:750;text-transform:uppercase;letter-spacing:.8px;color:#728078;padding-bottom:6px}.budget-material-labels,.budget-material-row{display:grid;grid-template-columns:minmax(0,1fr) 120px 32px;gap:8px}.budget-material-row{align-items:center;border-bottom:1px solid #edf0ed;padding:10px 0}.budget-material-row>div:first-child{min-width:0}.budget-material-row strong{display:block;font-size:13px;line-height:1.6;color:#3e5046;overflow-wrap:anywhere}.budget-material-row small{font-size:11px;color:var(--budget-muted)}.budget-material-row .field>span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.budget-material-row .input-control{min-height:40px;gap:4px;padding-inline:8px}.budget-material-row .input-control input{padding-block:7px!important;min-height:36px}.budget-material-row .input-unit{font-size:11px}.budget-material-row .icon-btn{min-width:32px;width:32px;padding:5px;color:#89948d}.budget-no-materials{display:flex;align-items:center;justify-content:center;gap:8px;padding:15px 0 20px;color:#6b786f;font-size:12px}.budget-no-materials svg{width:17px;height:17px}.budget-materials>.field{margin-top:14px}.budget-materials>.field>label{font-size:12px}.budget-materials>.field>.field-hint{display:none}.budget-phase-footer{display:flex;justify-content:space-between;align-items:flex-start;gap:8px;background:#f8faf8;padding:9px 12px;border-top:1px solid #edf0ed}.budget-phase-footer>details{min-width:0;flex:1 1}.budget-phase-footer summary{list-style:none;display:flex;align-items:center;gap:5px;font-size:11px;min-height:34px;cursor:pointer;color:#63716c}.budget-phase-footer summary svg{width:13px;height:13px}.budget-phase-footer details>div{display:grid;gap:12px;padding:10px 0}.budget-phase-footer:has(details[open]){flex-wrap:wrap}.budget-phase-footer>details[open]{flex-basis:100%}.budget-phase-tools{display:flex;gap:2px;margin-left:auto}.budget-phase-tools .icon-btn{min-width:29px;width:29px;min-height:34px;padding:5px;color:#6c7c71}.budget-phase-tools svg{width:15px;height:15px}.budget-phase-tools .budget-remove:hover:not(:disabled){color:#b42c20;background:#fcece8}.budget-empty{display:flex;align-items:center;flex-direction:column;text-align:center;border:1px dashed #d2ddd4;background:#fafcf9;border-radius:13px;padding:34px 24px}.budget-empty>span{display:grid;place-items:center;width:52px;height:52px;border-radius:16px;color:#71896f;background:#edf3e9;margin-bottom:14px}.budget-empty h4{font-size:17px;color:#415342}.budget-empty p{font-size:13px;line-height:1.8;max-width:390px;margin-top:8px;color:#667564}.budget-general{border:1px solid #e2e7e3;border-radius:11px;margin-top:18px}.budget-general>summary{display:flex;align-items:center;list-style:none;cursor:pointer;gap:12px;padding:15px 17px}.budget-general>summary>svg{width:19px;height:19px;color:#7c897f;flex-shrink:0}.budget-general>summary>div{min-width:0;flex:1 1}.budget-general strong{font-size:13px;color:#465b4c}.budget-general summary div span{display:block;font-size:11px;color:#63716c;margin-top:4px}.budget-general[open]>summary{border-bottom:1px solid #edf0ed}.budget-general[open]>summary>svg:last-child,.budget-material-total[open] summary>svg{transform:rotate(180deg)}.budget-scope{margin-top:24px}.budget-stage .form-save{border-top:0;margin-top:12px;padding-top:10px;padding-bottom:20px}.budget-stage .form-save .btn{min-height:46px;background:#253a2e;border-color:#253a2e;color:#fff;font-size:13px}.budget-stage .form-save .btn:hover{background:#344d3d}.next-action-card.budget-summary-rail{background:#fff;border:1px solid #dce4dc;border-radius:14px;padding:0 0 20px;position:sticky;top:20px;margin:0;order:0;overflow:hidden}.budget-summary{padding-bottom:20px;margin-bottom:22px;border-bottom:1px solid #e5eae4}.budget-summary-heading{display:flex;gap:10px;align-items:center;padding:20px 20px 16px}.budget-summary-heading>span{display:grid;place-items:center;width:33px;height:33px;flex-shrink:0;border-radius:9px;background:#edf2eb;color:#587250}.budget-summary-heading .eyebrow{font-size:8px;color:#63745e;letter-spacing:.65px}.budget-summary-heading h3{font-size:16px;letter-spacing:-.3px;color:#30432f;margin-top:4px}.budget-total{padding:22px 20px;background:linear-gradient(115deg,#24382d,#3f5641);color:#fff}.budget-total>span{display:block;font-size:12px;color:#e0e9df}.budget-total>output{display:block;font-size:clamp(25px,2vw,33px);letter-spacing:-1px;font-weight:800;line-height:1.3;margin:6px 0 7px;overflow-wrap:anywhere;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.budget-total>small{font-size:10px;color:#d4dfd0}.budget-money-breakdown{padding:18px 20px;display:grid;gap:10px}.budget-money-breakdown>div{display:flex;justify-content:space-between;gap:9px;font-size:12px}.budget-money-breakdown dt{color:#63716c}.budget-money-breakdown dd{font-weight:700;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;color:#3b4e42;overflow-wrap:anywhere}.budget-summary-stats{display:flex;gap:18px;padding:12px 20px;background:#f6f8f4;border-block:1px solid #e7ece4}.budget-summary-stats>span{display:flex;align-items:center;gap:6px;font-size:11px;color:#63745b}.budget-summary-stats strong{font-size:14px;color:#3c5137}.budget-summary-stats svg{width:15px;height:15px}.budget-material-summary{padding:18px 20px 0}.budget-material-summary h4{font-size:13px;color:#3e523c}.budget-material-summary>div:first-child>span{font-size:10px;color:#63716c;display:block;margin-top:4px}.budget-material-summary>p{font-size:12px;color:#65725f;line-height:1.8;margin-top:14px}.budget-material-totals{margin-top:10px;max-height:310px;overflow-y:auto;scrollbar-width:thin}.budget-material-total{border-bottom:1px solid #edf0e8}.budget-material-total>summary{display:flex;align-items:center;gap:8px;list-style:none;cursor:pointer;padding:11px 0}.budget-material-total summary>span{flex:1 1;min-width:0}.budget-material-total summary strong{font-size:12px;color:#3f5242;line-height:1.5;display:block;overflow-wrap:anywhere}.budget-material-total summary span small{font-size:10px;color:#63716c;display:block;margin-top:3px}.budget-material-total summary output{max-width:52%;text-align:right;font-size:16px;font-weight:800;color:#3f603d;overflow-wrap:anywhere;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.budget-material-total summary output small{font-size:11px;font-weight:600}.budget-material-total summary>svg{width:13px;height:13px;color:#63745e}.budget-material-total>div{padding:0 0 12px;display:grid;gap:7px}.budget-material-total>div>div{display:flex;justify-content:space-between;gap:12px;font-size:11px;color:#65755e}.budget-material-total>div span{overflow-wrap:anywhere}.budget-material-total>div strong{white-space:nowrap;font-weight:650}.budget-material-summary>.budget-summary-note{font-size:10px;line-height:1.7;color:#6a7964}.budget-summary-rail>:not(.budget-summary){margin-inline:20px}.budget-summary-rail>.next-action-icon{display:none}.budget-summary-rail>.next-action-title{font-size:18px;color:#344132}.budget-summary-rail>.next-action-description{color:#63715f}.budget-summary-rail>.btn{width:calc(100% - 40px);margin-bottom:0}.budget-summary-rail>.gate-title{padding-top:15px;margin-top:18px;border-top:1px solid #e8ece5;color:#63715f}.budget-summary-rail .gate-list li{font-size:11px}.budget-summary-rail>.action-footnote{margin-bottom:0}.planning-budget-link{display:flex;align-items:center;gap:12px;background:#f7f9f6;border:1px solid #e3e9df;padding:14px;border-radius:9px;margin-top:20px}.planning-budget-link>svg{width:22px;height:22px;color:#71866b;flex-shrink:0}.planning-budget-link>div{min-width:0;flex:1 1}.planning-budget-link strong{font-size:12px;color:#56694d}.planning-budget-link p{font-size:11px;color:#65725f;line-height:1.8;margin-top:4px}.planning-budget-link .text-link{font-size:11px;white-space:nowrap}.budget-workspace .stepper{padding-block:16px 20px}.budget-stage .stage-heading{position:relative}.budget-stage .stage-heading-top{min-height:20px;margin-bottom:3px;padding-right:170px}.budget-stage .stage-documents-button{position:absolute;top:0;right:0}.budget-stage .stage-heading p{max-width:none;margin-top:6px}.budget-settings .budget-section-heading{margin-bottom:14px}.budget-settings .budget-section-heading .eyebrow{display:none}.budget-values{margin-top:14px;padding-top:14px}.budget-phase-picker{padding-block:12px}.budget-phase-picker .field>label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.budget-summary-rail>.next-action-title{margin-top:7px;margin-bottom:8px}.budget-summary-rail>.next-action-description{margin-bottom:15px}.budget-summary-rail>.gate-title{margin-top:14px;padding-top:12px}.budget-summary-rail .gate-list{gap:9px;margin-block:12px}.budget-summary-rail>.action-footnote{font-size:9px}@media (min-width:1600px){.budget-stage-layout{gap:28px}.budget-phase-grid{gap:20px}.budget-phase-heading{padding-top:20px}.budget-materials{padding:18px 20px}}@media (max-width:1250px){.stage-layout.budget-stage-layout{grid-template-columns:minmax(0,1fr) 300px;gap:18px}.budget-stage{padding:22px 20px 0}.budget-phase-grid{grid-template-columns:minmax(0,1fr)}.budget-phase-picker>span{display:none}.budget-values{gap:10px}.budget-values .input-control{padding-inline:8px}}@media (max-width:1000px){.stage-layout.budget-stage-layout{grid-template-columns:minmax(0,1fr)}.budget-phase-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.next-action-card.budget-summary-rail{position:static}.budget-summary-rail .budget-summary{display:grid;grid-template-columns:1fr 1fr}.budget-summary-heading{grid-column:1/-1}.budget-summary-stats{grid-column:1}.budget-material-summary{grid-column:2;grid-row:2/5;border-left:1px solid #e5eae4}}@media (max-width:700px){.budget-stage{padding:20px 16px 0}.budget-stage .stage-heading h2{font-size:24px}.budget-stage .stage-heading p{font-size:13px}.budget-stage .stage-icon{width:38px;height:38px}.budget-stage .stage-header{gap:10px}.budget-settings{padding:17px 14px}.budget-values{grid-template-columns:minmax(0,1fr);gap:16px}.budget-basics{gap:12px}.budget-phase-grid{grid-template-columns:minmax(0,1fr)}.budget-phase-picker{padding:12px;gap:10px}.budget-section-heading{flex-wrap:wrap;gap:10px}.budget-section-heading h3{font-size:20px}.budget-section-heading .btn{min-height:44px}.budget-material-labels,.budget-material-row{grid-template-columns:minmax(0,1fr) 125px 36px}.budget-material-row .icon-btn,.budget-phase-tools .icon-btn{min-width:40px;min-height:44px}.budget-phase-tools{gap:4px}.budget-phase-footer{flex-wrap:wrap}.budget-phase-footer>details{min-width:120px}.budget-phase-footer summary{min-height:44px;font-size:12px}.budget-phase-heading>textarea{font-size:17px}.budget-builder .drag-handle{min-width:36px;min-height:44px}.budget-summary-rail .budget-summary{display:block}.budget-material-summary{border-left:0}.budget-total>output{font-size:34px}.budget-material-total summary{min-height:56px}.budget-builder .field>label,.budget-builder .field>span{font-size:13px}.planning-budget-link{flex-wrap:wrap}.planning-budget-link .text-link{margin-left:34px;min-height:36px}}@media (prefers-reduced-motion:reduce){.budget-phase{transition:none}}@media (max-width:700px){.budget-stage .stage-heading-top{padding-right:0;min-height:44px}.budget-stage .stage-documents-button{position:static}}.budget-material-row .input-unit{flex-shrink:0;max-width:60px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}