/* ==========================================================================
   Fitness & Health — supplementary styles
   -------------------------------------------------------------------------
   Loaded only on /fitness pages, in addition to the shared styles.css.
   Styles the FitChart gauge (scale meter) + split bar, plus a couple of
   small helpers used across the health calculators. Nothing here overrides
   the financial pages.
   ========================================================================== */

/* Gauge / scale meter -------------------------------------------------------*/
.fc-gauge { max-width: 460px; margin: 4px auto 0; }
.fc-gauge .fc-readout {
  font-family: var(--font-mono); font-weight: 600; font-size: 20px; fill: var(--ink);
}
.fc-gauge .fc-status {
  font-family: var(--font-mono); font-weight: 600; font-size: 14px;
}
.fc-gauge .fc-tick {
  font-family: var(--font-mono); font-size: 10px; fill: var(--ink-faint);
}

/* Zone legend — highlight the active band */
.chart-legend.fc-zones li.is-active {
  color: var(--ink); font-weight: 600;
}
.chart-legend.fc-zones li.is-active .lg-label::after {
  content: " ◄"; color: var(--ink-faint); font-size: 0.72em;
}

/* Composition split bar -----------------------------------------------------*/
.fc-splitbar {
  display: flex; width: 100%; height: 34px; border-radius: 7px; overflow: hidden;
  border: 1px solid var(--line); margin: 6px 0 2px;
}
.fc-seg {
  display: flex; align-items: center; justify-content: center; min-width: 0;
  color: #fff; font-family: var(--font-mono); font-size: 0.78rem; font-weight: 600;
  transition: width .25s ease;
}
.fc-seg span { text-shadow: 0 1px 1px rgba(0,0,0,0.28); white-space: nowrap; }

/* A compact stat strip used by some receipts (e.g. macro grams) ------------ */
.stat-strip {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px;
}
.stat-strip .stat {
  background: rgba(255,255,255,0.06); border: 1px solid #3A4050; border-radius: 8px;
  padding: 10px 12px; text-align: center;
}
.stat-strip .stat .s-val {
  font-family: var(--font-mono); font-weight: 600; color: #fff; font-size: 1.05rem;
}
.stat-strip .stat .s-lbl {
  font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.06em;
  text-transform: uppercase; color: #9BA3B8; margin-top: 2px;
}

/* Result "note" line under a receipt figure */
.result-note {
  font-family: var(--font-mono); font-size: 0.8rem; color: #9BA3B8; margin: -8px 0 12px;
}
