/* Calculator-specific layout, layered on the shared mbmr.css design system. */
.calc-hero { text-align: center; padding-bottom: 1.5rem; }
.calc-hero .lead { margin-left: auto; margin-right: auto; max-width: 60ch; }
.calc-hero .hero-cta { justify-content: center; }

.calc-shell {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); overflow: hidden; margin-top: 0.5rem;
}
.calc-shell .fc-head {
  padding: 1rem 1.25rem; border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 0.6rem; background: var(--brand-soft);
}
.calc-shell .fc-head .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--brand-3); box-shadow: 0 0 0 4px rgba(0, 160, 91, 0.15); }
.calc-shell .fc-head .t { font-weight: 700; color: var(--brand-2); font-size: 0.95rem; }
.calc-mount { min-height: 520px; padding: 0.4rem; }
.calc-fallback { padding: 2.5rem 1.2rem; text-align: center; }

/* Compact cross-links to the other calculators */
.calc-chips { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; }
.calc-chips a {
  display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.55rem 1rem; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); color: var(--brand-2); font-weight: 600; font-size: 0.9rem;
  text-decoration: none; transition: border-color 0.15s, color 0.15s, transform 0.12s;
}
.calc-chips a:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-1px); text-decoration: none; }
.calc-chips a[aria-current="page"] { background: var(--brand); color: var(--on-brand); border-color: var(--brand); }
