/* =========================================================
   Tools aligned with the homepage. Loaded after each tool's own stylesheet.
   Same palette, same pill buttons, mono only for labels and numbers.
   ========================================================= */

:root {
  --orange-ink: #A84A12;   /* small orange text on cream */
  --orange-title: #C2581B; /* large orange words on cream (3.7:1) */
  --jade: #C1C3AC;
}

/* Large orange words in the titles stay readable on cream */
.hero .hl,
.hero h1 em { color: var(--orange-title); }

/* Pill buttons, like the homepage */
.preset,
[data-preset],
.btn,
.btn-light,
.export-btn,
.add-btn,
.ghost-btn,
.freeze-btn,
.sens-try,
.presets button,
.mod-row select { border-radius: 999px !important; }

.seg { border-radius: 999px; overflow: hidden; }

/* Sentences read in the text face; mono stays for labels, values and ticks */
.tool-meta,
.presets > span,
.equiv,
.sim-note,
.stat .sub,
.email-msg,
.tab-lede,
.field-desc,
.bar-detail,
.stack-note,
.scen-status,
details.collapsible summary .sum-hint,
.verdict .vd-caption,
.ab-compact,
.mod-note,
.chart-caption {
  font-family: var(--display);
  font-size: 14px;
  font-stretch: 100%;
  letter-spacing: normal;
  line-height: 1.45;
}

/* No diamond markers: the homepage labels have none */
.kicker::before,
.chart-title::before,
.be-plate-head span:first-child::before { display: none; }

/* Marge indicators: one full-width row each (label left, figure right, gauge below).
   Three narrow columns made the figures overlap on wide screens. */
.indicators { grid-template-columns: 1fr !important; }
@media (min-width: 620px) {
  .indicators .ind { grid-template-columns: minmax(0, 1fr) auto; }
  .indicators .ind .big { font-size: 3.4rem; }
}

/* Marge "Chaque 100 $": on phones the labels sit under the grid as a list.
   Pinned beside thin bands, they piled on top of each other. */
@media (max-width: 599px) {
  .waffle-layout { grid-template-columns: minmax(0, 1fr) !important; }
  .waffle-layout .legend { display: grid !important; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
  .waffle-layout .legend .wl { position: static !important; transform: none !important; }
}

/* Break-even band: the homepage's jade instead of a one-off peach */
.be-card { background: var(--jade); box-shadow: 0 0 0 100vmax var(--jade); }
