.legacy-pending-cost-page{max-width:1600px;margin:0 auto}
.legacy-cost-loading,.legacy-cost-empty{padding:34px;text-align:center}
.legacy-cost-hero{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;padding:24px;margin-bottom:16px}
.legacy-cost-hero h2{margin:4px 0 8px}.legacy-cost-hero p{margin:0;line-height:1.65}
.legacy-cost-hero-actions,.legacy-cost-savebar>div:last-child{display:flex;gap:10px;flex-wrap:wrap}
.legacy-cost-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:16px}
.legacy-cost-metrics article{padding:18px}.legacy-cost-metrics small{display:block;color:var(--muted);font-weight:700;margin-bottom:7px}.legacy-cost-metrics strong{font-size:1.65rem;color:var(--teal)}
.legacy-cost-toolbar{display:grid;grid-template-columns:minmax(260px,1fr) auto auto;gap:14px;align-items:end;padding:16px;margin-bottom:12px}
.legacy-cost-toolbar label span{display:block;font-size:.78rem;font-weight:800;color:var(--muted);margin-bottom:6px}
.legacy-cost-toolbar input{width:100%}.legacy-cost-batch,.legacy-cost-selection{display:flex;align-items:end;gap:8px;flex-wrap:wrap}.legacy-cost-batch label{width:150px}
.legacy-cost-savebar{position:sticky;top:76px;z-index:8;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:14px 18px;margin-bottom:12px;border-color:#94d8cf;background:#f1fffc;box-shadow:0 7px 22px rgba(15,118,110,.1)}
.legacy-cost-savebar small{display:block;margin-top:4px;color:var(--muted)}
.legacy-cost-table-panel{padding:0;overflow:hidden}.legacy-cost-table{width:100%;min-width:1080px}.legacy-cost-table th,.legacy-cost-table td{vertical-align:middle}.legacy-cost-table td small{display:block;color:var(--muted);margin-top:5px;max-width:360px;white-space:normal;line-height:1.4}
.legacy-cost-table tr.selected td{background:#effcf9}.legacy-cost-input{width:128px;min-width:110px}.legacy-cost-input.invalid{border-color:#e05252;background:#fff4f4}
.legacy-cost-suggestion{border:0;background:#e8f8f4;color:#087b6d;border-radius:999px;padding:7px 10px;font-weight:800;white-space:nowrap;cursor:pointer}
.legacy-cost-mobile-list{display:none}.legacy-cost-no-results{padding:36px;text-align:center;color:var(--muted)}
@media(max-width:900px){
  .legacy-cost-hero{display:block}.legacy-cost-hero-actions{margin-top:16px}
  .legacy-cost-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
  .legacy-cost-toolbar{grid-template-columns:1fr}.legacy-cost-batch label{width:min(160px,100%)}
  .legacy-cost-savebar{top:58px;align-items:stretch}.legacy-cost-savebar>div:last-child{justify-content:flex-end}
  .legacy-cost-table{display:none}.legacy-cost-mobile-list{display:grid;gap:10px;padding:10px;background:#f4f7f9}
  .legacy-cost-card{border:1px solid var(--line);background:#fff;border-radius:12px;padding:14px}.legacy-cost-card.selected{border-color:#35ad9e;background:#f1fffc}
  .legacy-cost-card header,.legacy-cost-card footer,.legacy-cost-card-input{display:flex;align-items:center;justify-content:space-between;gap:10px}.legacy-cost-card h3{font-size:1rem;margin:12px 0 5px}.legacy-cost-card p{margin:0 0 5px}.legacy-cost-card>small{display:block;color:var(--muted);line-height:1.4}
  .legacy-cost-card-input{margin-top:14px}.legacy-cost-card-input label{font-size:.76rem;font-weight:800}.legacy-cost-card-input input{display:block;width:140px;margin-top:4px}.legacy-cost-card footer{border-top:1px solid var(--line);margin-top:12px;padding-top:10px}
}
@media(max-width:560px){.legacy-cost-savebar{display:block}.legacy-cost-savebar>div:last-child{margin-top:10px}.legacy-cost-savebar button{flex:1}.legacy-cost-batch{display:grid;grid-template-columns:1fr 1fr}.legacy-cost-batch label{grid-column:1/-1;width:100%}.legacy-cost-selection{display:grid;grid-template-columns:1fr 1fr}.legacy-cost-metrics article{padding:14px}.legacy-cost-metrics strong{font-size:1.35rem}}
