/* "The cost of costs" — tool-scoped styles.

   Layers on top of site.css + planning.css; every colour, radius and token comes
   from site.css :root. This file adds only the few things the shared tool shell
   does not already provide for this page. No new brand colours are declared. */

/* An eyebrow back-link used to be styled here, and in planning-goal.css, and
   nowhere else — which is how four of the six tool pages ended up with no way
   back to the section at all. The way back is `.tool-back` in planning.css now,
   on all six, so this file no longer styles the eyebrow. */

/* The illustrative stamp sits above the headline figure with a little air. */
.tool-output .illustrative-stamp {
  margin-bottom: 16px;
}

/* Headline block: the big gap figure and its caption. */
.result-figure-block {
  margin-bottom: clamp(20px, 3vw, 30px);
}
.result-figure-block .result-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-ink);
  margin-bottom: 8px;
}

/* A quiet note under the controls when a field is blank or a cost swamps the
   assumed return. Reuses neutral ink, no alarm colour — it guides, not scolds. */
.control-note {
  font-size: 13px;
  line-height: 1.5;
  color: var(--neutral);
  margin: 4px 0 0;
  min-height: 0;
}
.control-note:empty {
  display: none;
}

/* The figure never needs a horizontal scrollbar, but the chart's own SVG can be
   wide on a phone; the .chart box already clips and Highcharts sizes to it. */
.tool-output .chart {
  margin-top: 0;
}
