.running-costs { max-width: 1180px; margin: 0 auto; }
.running-costs-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 20px; }
.running-costs-heading h1 { margin: 0 0 8px; }
.running-costs-heading p, .section-header p { margin: 4px 0 0; color: var(--text-muted); }
.running-costs-assumptions { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.running-costs-assumptions span { padding: 8px 11px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); color: var(--text-muted); font-size: 13px; }
.running-costs-assumptions strong { color: var(--text); }
.running-costs-controls, .running-costs-selectors, .running-costs-quick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.running-costs-controls { max-width: 760px; margin-bottom: 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.running-costs-section { margin-bottom: 22px; padding: 24px; border: 1px solid var(--border); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-sm); }
.running-costs-results { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 20px; }
.running-costs-results:has(.running-cost-card:only-child) { grid-template-columns: minmax(0, 430px); }
.running-cost-card { min-width: 0; overflow: hidden; border: 1px solid var(--border); border-radius: 14px; }
.running-cost-card header { padding: 16px; border-bottom: 1px solid var(--border); background: var(--surface-muted); }
.running-cost-card header span { color: var(--blue); font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.running-cost-card h3 { margin: 4px 0 0; font-size: 17px; }
.running-cost-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; padding: 12px 16px; border-bottom: 1px solid var(--border); color: var(--text-muted); font-size: 13px; }
.running-cost-row strong { color: var(--text); font-size: 16px; text-align: right; }
.running-cost-row > span:last-child { grid-column: 1 / -1; text-align: right; }
.running-cost-row small { margin-left: 3px; color: var(--text-muted); font-size: 11px; font-weight: 500; }
.running-cost-row-featured { background: var(--blue-soft); }
.running-cost-note, .running-cost-saving { margin: 0; padding: 10px 16px; color: var(--text-muted); font-size: 12px; }
.running-cost-saving { color: var(--green); font-weight: 800; }
.running-costs-empty { grid-column: 1 / -1; padding: 28px; border: 1px dashed var(--border); border-radius: 12px; color: var(--text-muted); text-align: center; }
.form-card { max-width: 900px; padding: 24px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); }
.form-errors { margin-bottom: 18px; padding: 14px; border-radius: 10px; background: var(--red-soft); color: var(--red); }

@media (max-width: 850px) {
  .running-costs-heading { display: block; }
  .running-costs-heading .section-actions { margin-top: 16px; }
  .running-costs-selectors, .running-costs-results, .running-costs-quick { grid-template-columns: 1fr; }
  .running-costs-results:has(.running-cost-card:only-child) { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .running-costs-controls { grid-template-columns: 1fr; }
  .running-costs-section { padding: 18px; }
}
