.cost-helper{margin-block:.5rem 1.7rem}.cost-helper>h2{margin-bottom:.8rem;font-size:1.35rem}.cost-helper>p,.cost-summary>p{margin-block:.8rem}.cost-helper h2:focus{outline:none}.cost-approaches,.cost-actions,.cost-edit-actions{flex-wrap:wrap;align-items:center;gap:.65rem;margin-top:1.3rem;display:flex}.cost-approaches{align-items:stretch}.cost-approaches .button{flex:220px}.cost-helper .button{min-height:44px}.cost-helper input[type=text],.cost-helper textarea{box-sizing:border-box;width:100%;max-width:100%}.cost-helper input[list]{max-width:12rem}.cost-state-options{border:0;min-width:0;margin-block:1.3rem;padding:0}.cost-state-options legend{margin-bottom:.5rem;font-size:.9rem;font-weight:600}.cost-state-options label{border:1px solid var(--border);cursor:pointer;border-radius:4px;align-items:center;gap:.75rem;min-height:48px;margin-block:.2rem;padding:.6rem .75rem;display:flex}.cost-state-options label:has(input:checked){border-color:var(--blue-text);background:var(--blue-soft)}.cost-state-options input{width:1.1rem;height:1.1rem;accent-color:var(--primary);flex-shrink:0}.cost-note{margin-block:1.2rem}.cost-note summary{color:var(--blue-text);cursor:pointer;min-height:44px;padding-block:.6rem}.cost-note summary span{color:var(--muted);font-size:.85rem}.cost-existing-work{border-left:2px solid var(--border);margin-block:1.3rem;padding-left:1rem}.cost-existing-work h4{color:var(--muted);margin-block:.8rem .3rem;font-size:.85rem}.cost-existing-work a{color:var(--blue-text);min-height:44px;padding-block:.6rem;text-decoration:underline;display:inline-block}.cost-kept-text,.cost-row-note{white-space:pre-wrap;overflow-wrap:anywhere}.cost-summary{margin-top:1rem}.cost-summary h3{overflow-wrap:anywhere;font-size:1.05rem;font-weight:600}.cost-summary-rows{margin-block:1.1rem}.cost-summary-rows>div{border-bottom:1px solid var(--border);grid-template-columns:minmax(120px,.85fr) minmax(0,1.3fr);gap:.8rem;padding-block:.85rem;display:grid}.cost-summary-rows dt{font-size:.9rem;font-weight:600}.cost-summary-rows dd{overflow-wrap:anywhere;margin:0;font-size:.9rem}.cost-row-note,.cost-entered-value{color:var(--muted);margin-top:.3rem;font-size:.8rem;display:block}.cost-recorded-total{padding-block:1rem .3rem}.cost-recorded-total>p:first-child{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:.5rem 1rem;display:flex}.cost-recorded-total strong{white-space:nowrap;font-size:1.5rem;font-weight:500}.cost-recorded-total .fine-print{margin-top:.5rem}.cost-partial-note{background:var(--surface-soft);border-left:2px solid var(--blue-text);padding:.9rem 1rem;font-size:.9rem}.cost-reassurance{color:var(--muted);font-size:.875rem;line-height:1.6}.cost-error{border-left:3px solid var(--violet-text);margin-top:1rem;padding-left:.8rem}@media (max-width:480px){.cost-actions .button{flex:auto}.cost-summary-rows>div{grid-template-columns:1fr;gap:.25rem}.cost-edit-actions{gap:.35rem .6rem}}.cost-summary-actions{margin-top:1.2rem}.cost-summary-edit summary{color:var(--blue-text);cursor:pointer;min-height:44px;padding-block:.6rem;font-weight:600}.cost-summary-edit .cost-edit-actions{grid-template-columns:1fr;justify-items:start;gap:.2rem;margin-top:.3rem;display:grid}
