/* LifeARC calculators — supplemental styles for the hand-built SVG chart legend
   (recharts drew its own legend; the ported chart needs this small addition).
   Everything else is covered by Calculators.css. */
.ss-chart-legend {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 12px;
  font-size: 12px;
  color: #475569;
}
.ss-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.ss-legend-swatch {
  width: 16px;
  height: 3px;
  border-radius: 2px;
  display: inline-block;
}
.calculator-chart svg {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Projected-lifespan-in-months annotations (CEO request 2026-09-28): keep the age,
   add the months alongside. Applied wherever a lifespan is stated. */
.le-months-note {
  text-align: center;
  margin: 8px 0 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: #114734;
  letter-spacing: 0.01em;
}
.le-months-note span { color: #B4842A; }
.le-persona-hero-months {
  display: block;
  margin-top: 3px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #556;
}
.le-months-inline { color: #B4842A; font-weight: 600; white-space: nowrap; }
.tn-life-months {
  margin-left: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #64748b;
  white-space: nowrap;
}

/* /calculators index landing cards */
.calc-index-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin-top: 8px; }
.calc-index-card { display: flex; flex-direction: column; gap: 12px; background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 28px; text-decoration: none; color: inherit; box-shadow: 0 12px 30px rgba(16,70,53,.06); transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.calc-index-card:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(16,70,53,.12); border-color: #CDAD71; }
.calc-index-icon { width: 46px; height: 46px; border-radius: 12px; background: #E3EBE7; color: #114734; display: flex; align-items: center; justify-content: center; }
.calc-index-card h2 { margin: 0; font-family: Marcellus, serif; color: #114734; font-size: 1.4rem; font-weight: 400; }
.calc-index-card p { margin: 0; color: #475569; font-size: .98rem; line-height: 1.55; }
.calc-index-open { margin-top: auto; color: #114734; font-weight: 700; font-size: .95rem; }
