/* ============================================================
   BMR Calculator — Module-Specific Styles
   ============================================================ */

.calc-suite .br-card__title,
.calc-suite .bmr-hero .big,
.calc-suite .bmr-meta .v {
  font-family: var(--display);
}

/* ── Activity segmented toggle (wraps on small screens) ── */
.calc-suite .br-seg--wrap {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}
.calc-suite .br-seg--wrap button {
  flex: 1 1 auto;
  white-space: nowrap;
}

/* ── Result hero panel ── */
.calc-suite .bmr-hero {
  background: var(--blue-tint);
  border-radius: var(--r-card);
  padding: 18px;
  text-align: center;
}
.calc-suite .bmr-top { display: flex; align-items: center; gap: 18px; text-align: left; }
.calc-suite .bmr-score,
.calc-suite .bmr-verdict { flex: 1; min-width: 0; }
.calc-suite .bmr-score { padding-right: 18px; border-right: 1px solid var(--blue-line); }
.calc-suite .bmr-hero .cap { font-size: .8125rem; color: var(--muted); }
.calc-suite .bmr-hero .big {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -.02em;
  line-height: 1.1;
  margin-top: 2px;
}
.calc-suite .bmr-hero .unit { font-size: .78rem; color: var(--muted); margin-top: 2px; }
.calc-suite .bmr-hero .rule { border: 0; border-top: 1px solid var(--blue-line); margin: 14px 0; }

/* ── Meta row ── */
.calc-suite .bmr-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  text-align: center;
}
.calc-suite .bmr-meta > div { flex: 1; min-width: 0; }
.calc-suite .bmr-meta .k { font-size: .8125rem; color: var(--muted); margin-bottom: 3px; }
.calc-suite .bmr-meta .v { font-size: 1.05rem; font-weight: 800; color: var(--ink); }

/* ── Activity breakdown table ── */
.calc-suite .bmr-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 18px;
  font-size: .875rem;
}
.calc-suite .bmr-table th {
  text-align: left;
  font-family: var(--display);
  font-size: .6875rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 8px 10px;
  border-bottom: 2px solid var(--line);
}
.calc-suite .bmr-table td {
  padding: 9px 10px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--ink);
}
.calc-suite .bmr-row.is-active {
  background: var(--blue-tint-2);
  font-weight: 700;
}
.calc-suite .bmr-row.is-active td:first-child { color: var(--blue-dark); }

/* ── Note ── */
.calc-suite .bmr-note {
  background: var(--panel);
  border-radius: var(--r-card);
  padding: 16px 18px;
  margin-top: 18px;
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.55;
}
.calc-suite .bmr-note b { color: var(--navy); }

/* ── Imperial height (shared pattern with BMI) ── */
.calc-suite .imperial-height { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.calc-suite .imperial-height .br-control { width: 100%; }

/* ── Responsive ── */
@media (max-width: 860px) {
  .calc-suite .bmr-hero .big { font-size: 1.5rem; }
  .calc-suite .bmr-table { font-size: .8125rem; }
}
@media (max-width: 480px) {
  .calc-suite .br-seg--wrap button { flex: 1 1 45%; }
}
