.calc-body {
  background: var(--bg);
}

.calc-disclaimer {
  background: #fff7e6;
  border-bottom: 1px solid #f5d895;
  color: #5a3c00;
  font-size: var(--text-sm, 0.875rem);
  line-height: 1.45;
  padding: 10px 20px;
  text-align: center;
}
.calc-disclaimer strong {
  color: #3a2700;
}

.calc-main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 36px 20px 72px;
}

.calc-breadcrumbs {
  color: var(--muted, #5d6874);
  font-size: 0.85rem;
  margin-bottom: 24px;
}
.calc-breadcrumbs a {
  color: inherit;
  text-decoration: none;
}
.calc-breadcrumbs a:hover {
  color: var(--accent, #0f766e);
  text-decoration: underline;
}

.calc-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 32px;
  align-items: end;
  margin-bottom: 28px;
}
.calc-kicker {
  color: var(--accent, #0f766e);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin: 0 0 10px;
  text-transform: uppercase;
}
.calc-hero h1 {
  color: var(--ink, #101820);
  font-size: clamp(2rem, 4vw, 3.1rem);
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0 0 14px;
}
.calc-lede {
  color: var(--muted, #5d6874);
  font-size: var(--text-lg, 1.125rem);
  line-height: 1.58;
  margin: 0;
  max-width: 66ch;
}
.calc-summary {
  background: var(--surface, #fff);
  border: 1px solid var(--border, #d8e0e8);
  border-radius: 14px;
  padding: 18px;
}
.calc-summary__label {
  color: var(--muted, #5d6874);
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.calc-summary strong {
  color: var(--ink, #101820);
  display: block;
  font-size: 2.6rem;
  letter-spacing: -0.02em;
  line-height: 1;
  margin: 8px 0;
}

.calc-layout {
  align-items: start;
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1fr) 340px;
}
.calc-card,
.calc-cta {
  background: var(--surface, #fff);
  border: 1px solid var(--border, #d8e0e8);
  border-radius: 14px;
  padding: 22px;
}
.calc-card__head h2,
.calc-results h2,
.calc-copy h2,
.calc-cta h2 {
  color: var(--ink, #101820);
  font-size: 1.25rem;
  margin: 0 0 8px;
}
.calc-card__head p,
.calc-copy p,
.calc-cta p {
  color: var(--muted, #5d6874);
  line-height: 1.6;
  margin: 0;
}
.odi-grid {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}
.odi-row {
  align-items: center;
  border: 1px solid var(--border, #d8e0e8);
  border-radius: 12px;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 260px);
  padding: 14px;
}
.odi-row strong,
.odi-row small {
  display: block;
}
.odi-row small {
  color: var(--muted, #5d6874);
  font-size: 0.85rem;
  line-height: 1.4;
  margin-top: 3px;
}
.odi-row select {
  background: var(--surface, #fff);
  border: 1px solid var(--border, #d8e0e8);
  border-radius: 10px;
  color: var(--ink, #101820);
  font: inherit;
  min-height: 42px;
  padding: 8px 10px;
}

.calc-results {
  position: sticky;
  top: 16px;
}
.calc-stat-list {
  display: grid;
  gap: 12px;
  margin: 16px 0;
}
.calc-stat-list div {
  border-bottom: 1px solid var(--border, #d8e0e8);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 10px;
}
.calc-stat-list dt {
  color: var(--muted, #5d6874);
}
.calc-stat-list dd {
  color: var(--ink, #101820);
  font-weight: 700;
  margin: 0;
  text-align: right;
}
.calc-chip {
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 5px 10px;
}
.calc-chip[data-severity="minimal"] {
  background: #e7f6ec;
  color: #19643a;
}
.calc-chip[data-severity="moderate"] {
  background: #eef4ff;
  color: #2457a6;
}
.calc-chip[data-severity="severe"],
.calc-chip[data-severity="crippled"],
.calc-chip[data-severity="extreme"] {
  background: #fff1df;
  color: #8a4b00;
}
.calc-chip[data-severity="incomplete"] {
  background: var(--surface-muted, #f4f6f8);
  color: var(--muted, #5d6874);
}
.calc-interpretation,
.calc-note {
  color: var(--muted, #5d6874);
  line-height: 1.6;
}
.calc-note {
  background: var(--surface-muted, #f4f6f8);
  border-radius: 12px;
  margin-top: 14px;
  padding: 14px;
}
.calc-actions,
.calc-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.calc-copy,
.calc-cta {
  margin-top: 20px;
}
.calc-cta {
  background: var(--accent-soft, rgba(15, 118, 110, 0.08));
  border-color: var(--accent, #0f766e);
}

@media (max-width: 900px) {
  .calc-hero,
  .calc-layout {
    grid-template-columns: 1fr;
  }
  .calc-results {
    position: static;
  }
}

@media (max-width: 620px) {
  .calc-main {
    padding: 28px 16px 56px;
  }
  .odi-row {
    grid-template-columns: 1fr;
  }
}

@media print {
  .m-nav,
  .m-footer,
  .calc-cta,
  .calc-actions {
    display: none;
  }
  .calc-main {
    max-width: none;
    padding: 0;
  }
  .calc-card,
  .calc-summary {
    break-inside: avoid;
  }
}
