.model-budget{padding-block:72px;color:#142b34;scroll-margin-top:100px}.model-budget header{max-width:760px}.model-budget h2{font:clamp(2.2rem,5vw,4rem)/1.1 Georgia,serif;margin:12px 0 20px}.model-budget p{line-height:1.65}.budget-notice{padding:20px;border:1px solid #947044;background:#f4eee2}.budget-summary{padding:28px;background:#112832;color:#f4eee2;margin:26px 0}.budget-summary>div>strong{display:block;font:clamp(2rem,6vw,3.5rem) Georgia,serif;margin-top:10px}.model-budget dl{margin:16px 0}.model-budget dl>div{display:flex;justify-content:space-between;gap:20px;padding:9px 0;border-bottom:1px solid #94704455}.model-budget dt{text-transform:capitalize}.model-budget dd{margin:0;font-variant-numeric:tabular-nums;white-space:nowrap}.model-budget details{border-bottom:1px solid #94704466;padding:20px 0}.model-budget summary{cursor:pointer;font-size:1.15rem;font-weight:700;min-height:44px;align-content:center}.budget-fields,.budget-rates{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:20px;margin:24px 0}.model-budget label{display:flex;flex-direction:column;gap:8px;font-size:.9rem}.model-budget input,.model-budget select{width:100%;min-width:0;min-height:48px;padding:10px;border:1px solid #142b34;background:white;color:#142b34;border-radius:0;font:inherit}.model-budget button{min-height:48px;padding:12px 20px;background:#112832;color:#fff;border:1px solid #112832;font:inherit;cursor:pointer}.model-budget button:disabled{opacity:.5;cursor:wait}.model-budget :focus-visible{outline:3px solid #947044;outline-offset:4px}.budget-lines article,.budget-takeoff article{padding:20px 0;border-bottom:1px solid #142b3422}.budget-lines h3{font:1.65rem Georgia,serif;margin-top:34px}.budget-lines h4,.budget-takeoff h3{display:flex;justify-content:space-between;gap:20px;font-size:1rem;margin:0}.budget-lines h4 span,.budget-takeoff h3 span{font-variant-numeric:tabular-nums;white-space:nowrap}.budget-actions{display:flex;flex-wrap:wrap;gap:12px;margin:28px 0}.budget-status{min-height:28px}.model-budget a{color:inherit;text-underline-offset:4px}.budget-basis{overflow-wrap:anywhere}@media(max-width:600px){.model-budget{padding-block:42px}.budget-summary{padding:20px}.budget-lines h4,.budget-takeoff h3{flex-direction:column;gap:8px}.budget-actions{display:grid}.model-budget dl>div{gap:12px}.model-budget dd{font-size:.95rem}}@media print{.budget-fields,.budget-rates,.budget-actions{display:none}.model-budget details>*{display:block}}

.model-budget input,.model-budget select{font-size:16px}.model-budget ::selection{background:#947044;color:white}.model-budget p{max-width:75ch}.model-budget button:hover:not(:disabled){background:#293a42}.model-budget input:invalid{border-color:#9b3028}

.budget-jump{display:inline-flex;align-items:center;min-height:48px;margin:12px 0 20px;padding:10px 16px;border:1px solid #947044;color:#142b34;text-underline-offset:4px}.budget-summary>p{color:#f4eee2}.model-budget .budget-summary dt{color:#f4eee2}

.budget-field-error{color:#9b3028;font-size:14px;line-height:1.5}.budget-field-error[hidden]{display:none}.model-budget [aria-invalid=true]{outline:2px solid #9b3028;outline-offset:2px}

.model-budget summary{min-height:48px}.budget-actions button[data-export=json],.budget-actions button[data-export=csv]{background:transparent;color:#142b34}.budget-actions button[data-export=json]:hover,.budget-actions button[data-export=csv]:hover{background:#e8dfd0}
