.cost-page h1,.cost-page h2,.cost-page h3,.cost-metric strong{letter-spacing:0}
.cost-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;padding:20px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.cost-filters .actions{align-self:end;justify-content:flex-end}.cost-icon{padding:9px;width:38px;height:38px;display:inline-grid;place-items:center;flex:none}.cost-icon img{width:17px;height:17px}
.cost-metrics{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:18px;padding:26px 0;border-bottom:1px solid var(--line)}
.cost-metric{min-width:0}.cost-metric span{color:var(--muted);font-size:11px}.cost-metric strong{display:block;font-size:22px;font-weight:600;line-height:1.5;margin-top:8px;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.cost-metric.amber strong{color:var(--amber)}.cost-metric.red strong{color:var(--danger)}
.cost-section{padding:24px 0;border-bottom:1px solid var(--line)}.cost-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.cost-section-head h2{font-size:15px}
.cost-chart{display:flex;gap:7px;height:166px;overflow-x:auto;padding-top:12px}.cost-day{flex:1;min-width:20px;display:flex;flex-direction:column;gap:6px;justify-content:flex-end;align-items:center}.cost-day-bar{display:flex;flex-direction:column;justify-content:flex-end;height:110px;width:100%;max-width:32px;background:#edf1ef}.cost-bar-confirmed{background:#177567}.cost-bar-estimated{background:#b38a36}.cost-day small{font-size:9px;color:var(--muted);white-space:nowrap}.cost-legend{display:flex;gap:16px;font-size:11px;color:var(--muted)}.cost-legend i{width:8px;height:8px;display:inline-block;margin-right:6px;background:#177567}.cost-legend .estimated{background:#b38a36}
.cost-tabs{display:flex;border-bottom:1px solid var(--line);gap:24px;margin-bottom:15px}.cost-tabs button{border:0;border-radius:0;background:transparent;padding:12px 0;color:var(--muted)}.cost-tabs button[aria-selected=true]{border-bottom:2px solid var(--accent);color:var(--accent)}
.cost-table{table-layout:fixed;white-space:normal}.cost-table th,.cost-table td{padding:12px 9px;overflow-wrap:anywhere}.cost-table .money{font-variant-numeric:tabular-nums}.cost-table .cell-sub{white-space:normal;overflow:visible;word-break:break-word}.cost-table .request-link{padding:0;border:0;background:transparent;color:var(--accent);font:11px monospace;text-align:left;overflow-wrap:anywhere}
.cost-pagination{display:flex;justify-content:space-between;align-items:center;margin-top:14px;font-size:11px;color:var(--muted)}
.price-rule{border:1px solid var(--line);border-radius:6px;margin:18px 0;padding:17px;min-width:0}.price-rule-head{display:flex;justify-content:space-between;gap:18px;margin-bottom:16px}.price-rule-head label{flex:1}.price-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;align-items:end}.price-specs{margin:16px 0;padding:14px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.price-line{display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr 1fr 32px;gap:8px;align-items:end;margin:10px 0}.price-line input,.price-line select{padding:8px 6px;min-width:0}.price-line button{width:32px;height:34px;padding:5px}.price-line img{width:16px;height:16px}.price-actions{display:flex;justify-content:space-between;gap:15px;margin:18px 0}.price-history{padding:10px 0;border-bottom:1px solid var(--line)}
.cost-detail{padding:0 0 18px;margin-bottom:18px;border-bottom:1px solid var(--line)}.cost-detail-title{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-bottom:12px}.cost-detail-title strong{font-size:17px;overflow-wrap:anywhere}.cost-detail p{font-size:11px;color:var(--muted);line-height:1.8}.cost-detail table{white-space:normal;table-layout:fixed;margin-top:12px}.cost-detail th,.cost-detail td{padding:9px 6px;overflow-wrap:anywhere}.cost-zero{padding:30px 0;color:var(--muted);font-size:12px}
#modal label:has(>[name=input_price]),#modal label:has(>[name=output_price]),#modal label:has(>[name=billing_unit]),#modal label:has(>[name=unit_price]){display:none}
@media(max-width:1100px){.cost-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.cost-filters{grid-template-columns:repeat(3,minmax(0,1fr))}.price-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
