/* The app layouts retain their spacing, breakpoints, colors and interaction states. */
html[data-system="editorial"],
html[data-system="editorial"] body {
  font-family: var(--qc-body, "Source Sans 3", "Helvetica Neue", Arial, sans-serif);
  font-optical-sizing: auto;
  --mono: var(--qc-body);
}
html[data-system="editorial"] :is(.masthead, input, select, textarea, button, summary, nav, .action, .button, .brand strong) {
  font-family: var(--qc-body);
}
html[data-system="editorial"] :is(button, summary, nav a, .action, .button) {
  font-weight: var(--qc-ui-weight);
}
html[data-system="editorial"] :is(input, select, textarea) {
  font-weight: 400;
}
html[data-system="editorial"] :is(h1:not(.wordmark), #section-title, #title, .hero .cartitle h1) {
  font-family: var(--qc-heading);
  font-weight: var(--qc-title-weight);
  font-style: var(--qc-title-style);
  letter-spacing: var(--qc-title-track);
  line-height: 1.08;
}
html[data-system="editorial"] :is(#section-title, .plan-heading #title, main > h1, .hero .cartitle h1:not(.model-135i)) {
  font-size: clamp(2.75rem, 2rem + 3vw, 4.75rem);
  overflow-wrap: anywhere;
}
html[data-system="editorial"] :is(h2, h3, h4, .app-heading h2, .sectionhead h2, .saved-name) {
  font-family: var(--qc-heading);
  font-style: normal;
  font-weight: var(--qc-section-weight);
  letter-spacing: var(--qc-section-track);
}
html[data-system="editorial"] :is(#apps .app-heading h2, .planner-layout .card > h2, .plan-shell .sectionhead h2, .panel .sectionhead h2) {
  font-size: clamp(1.5rem, 1.15rem + 1vw, 2rem);
  line-height: 1.14;
}
html[data-system="editorial"] #apps .description {
  font-size: clamp(1rem, .965rem + .15vw, 1.0625rem);
  line-height: 1.5;
}
/* Leave icon glyphs and vehicle artwork intact. Give figures a shared face so
   equal numbers of digits occupy equal widths throughout forms and tables. */
html[data-system="editorial"] :is(table, dd, output, input, .hero-numbers strong, .stat strong, .payment-panel strong,
  .total-row strong, .cash-results strong, .scenario-amount, .group-total, .budget-entry-amount,
  .budget-net-value, .month-value, .month-amount, .big, .metric, .row .amount, .remaining, .statsgrid strong,
  .projectrow > b, .cost, .odometer) {
  font-family: var(--qc-figures);
  font-variant-numeric: lining-nums tabular-nums;
}
html[data-system="editorial"] :is(.hero-numbers strong, .stat strong, .payment-panel strong, .total-row strong,
  .cash-results strong, .scenario-amount, .group-total, .budget-entry-amount, .budget-net-value,
  .month-value, .month-amount, .big, .metric, .row .amount, dd, .outlook-table td,
  .forecast-table td[data-cell], #comparison-table td, .statsgrid strong, .projectrow > b, .cost) {
  font-weight: var(--qc-number-weight);
}
html[data-system="editorial"] :is(.ledger td.cost, .ledger th:nth-child(5), .budget-entry-amount) {
  text-align: right;
}
