/* ============================================================
   PlantMapper — Calculator pages
   Pairs with plantmapper.css + ecosystem.css. Gives the
   Calculators silo its soft sky-blue accent using the existing
   theme mechanism (same approach as body.theme-med).
   ============================================================ */
body.theme-calc {
  --rose:      #5b7c93;   /* sky blue accent */
  --rose-deep: #456073;
  --rose-soft: #e7eef3;
  --bg-cream:  #eef2f6;
  background:
    radial-gradient(1200px 600px at 90% -10%, #e4ecf1 0%, transparent 60%),
    radial-gradient(900px 500px at -10% 0%, #e9f0e6 0%, transparent 55%),
    var(--bg);
}

.calc-main { padding-bottom: 50px; }

.calc-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  padding-top: 18px;
  font-size: 0.84rem;
  color: var(--muted);
}
.calc-crumbs a { color: var(--ink-soft); text-decoration: none; }
.calc-crumbs a:hover { color: var(--green-deep); }
.calc-crumbs .sep { color: var(--line-strong); }

.calc-hero { padding: 14px 0 4px; }
.calc-hero .eyebrow { margin-bottom: 10px; }
.calc-hero h1 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 8px 0 10px;
  color: var(--ink);
}
.calc-hero p {
  margin: 0;
  max-width: 62ch;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.3vw, 1.1rem);
}

/* the calculator heading inside the tool card */
.tool-card-head h2 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.3rem;
  margin: 2px 0 4px;
  color: var(--ink);
}

/* validation message in the result panel */
.calc-msg { margin: 0; color: var(--rose-deep); font-weight: 500; }

/* little label above the result figures */
.result-lead {
  margin: 0 0 12px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green-deep);
}

.calc-back { margin: 26px 0 0; }
.calc-back a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--green-deep);
}
.calc-back a:hover { color: var(--green); }

@media (max-width: 540px) {
  .calc-hero { padding: 8px 0 2px; }
}
