.cost-controls {border:0;padding:0;margin:1rem 0;display:grid;grid-template-columns:2fr 1fr;gap:1rem}
.cost-controls label {display:block;font-weight:700;margin-bottom:.4rem}
.cost-controls input,.cost-controls select,.cost-draft textarea {width:100%;box-sizing:border-box;font:inherit;padding:.85rem;border:1px solid #697c86;border-radius:8px;background:#fff;color:#142c3c;min-height:48px}
.cost-controls button,.cost-card button,.cost-draft button {min-height:48px;padding:.65rem 1rem;border:1px solid #46616e;border-radius:8px;background:#fff;color:#142c3c;font:inherit;cursor:pointer}
.cost-card button {margin-top:.7rem;font-weight:700}
.cost-controls button:hover,.cost-card button:hover,.cost-draft button:hover {background:#e8f4ee}
.cost-controls :focus-visible,.cost-card button:focus-visible,.cost-draft :focus-visible {outline:3px solid #166b49;outline-offset:3px}
.cost-list {display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin:1.5rem 0}
.cost-card {padding:1.2rem;border:1px solid #c8d7d9;border-radius:12px;background:#f8fbfa;scroll-margin-top:1rem}
.cost-card h3 {margin:.4rem 0 .8rem;font-size:1.2rem}.cost-card p {margin:.6rem 0}.cost-ref {font-size:.9rem;color:#38515f}
.cost-card[hidden],[hidden] {display:none!important}
.cost-draft {padding:1.2rem;border:2px solid #166b49;border-radius:12px;margin:1.5rem 0}.cost-draft label {display:block;font-weight:700;margin:1rem 0 .5rem}.cost-actions {display:flex;gap:.75rem;flex-wrap:wrap;margin-top:1rem}
#costStatus,#draftStatus {min-height:1.6em;font-weight:700}.cost-privacy {font-size:.95rem}.cost-note {padding:1rem;background:#fff5df;border-left:4px solid #8b6816}
@media(max-width:640px){.cost-list,.cost-controls{grid-template-columns:1fr}.cost-card,.cost-draft{padding:1rem}.cost-controls input{min-width:0}}
