/* Marriage After Baby calculators — hub UI */
.mc-note {
  margin: 1.25rem 0 1.5rem;
  padding: 1rem 1.1rem;
  background: #FFF9E6;
  border-left: 4px solid #F4B942;
  border-radius: 4px;
  font-size: 0.92rem;
  color: #5C5B55;
}
.mc-note p { margin: 0 0 0.5rem; }
.mc-note p:last-child { margin: 0; }
.mc-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 1.25rem 0 1.5rem;
}
.mc-nav a {
  font-family: ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.02em;
  padding: 0.4rem 0.65rem;
  border: 1px solid #E2DED6;
  border-radius: 4px;
  color: #5C5B55;
  background: #fff;
  text-decoration: none;
}
.mc-nav a:hover { border-color: #7F77DD; color: #7F77DD; text-decoration: none; }
.mc-nav a.is-active {
  background: #1A1A1A;
  color: #FAFAF8;
  border-color: #1A1A1A;
}
.mc-panel {
  margin: 0 0 2rem;
  padding: 1.35rem 1.25rem 1.5rem;
  background: #fff;
  border: 1px solid #E2DED6;
  border-radius: 8px;
}
.mc-panel h2 {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: #1A1A1A;
}
.mc-lede {
  font-size: 0.95rem;
  color: #5C5B55;
  margin-bottom: 1rem;
  line-height: 1.55;
}
.mc-method {
  font-size: 0.82rem;
  color: #888780;
  margin-bottom: 1.15rem;
  line-height: 1.5;
}
.mc-partners {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 1.15rem;
}
.mc-partners button {
  flex: 1;
  padding: 0.6rem 0.75rem;
  border: 1px solid #E2DED6;
  border-radius: 6px;
  background: #fff;
  color: #5C5B55;
  font-size: 0.92rem;
  cursor: pointer;
}
.mc-partners button.is-active {
  background: #7F77DD;
  color: #fff;
  border-color: #7F77DD;
}
.mc-field { margin-bottom: 1.1rem; }
.mc-field label {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: #1A1A1A;
  margin-bottom: 0.4rem;
}
.mc-field input[type="range"] {
  width: 100%;
  height: 6px;
  background: #E2DED6;
  border-radius: 3px;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.mc-field input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  background: #7F77DD;
  border-radius: 50%;
  cursor: pointer;
}
.mc-field input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  background: #7F77DD;
  border-radius: 50%;
  cursor: pointer;
  border: none;
}
.mc-ends {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: #B4B2A9;
  margin-top: 0.2rem;
}
.mc-val { color: #7F77DD; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mc-select, .mc-number {
  width: 100%;
  padding: 0.7rem 0.8rem;
  border: 1px solid #E2DED6;
  border-radius: 6px;
  font-size: 1rem;
  background: #fff;
  color: #1A1A1A;
}
.mc-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.5rem; }
.mc-btn {
  display: inline-block;
  padding: 0.75rem 1.25rem;
  background: #7F77DD;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
}
.mc-btn:hover { background: #6B63C8; }
.mc-btn-ghost {
  background: #fff;
  color: #5C5B55;
  border: 1px solid #E2DED6;
}
.mc-btn-ghost:hover { background: #F3F1EC; }
.mc-results {
  margin-top: 1.25rem;
  padding: 1.15rem;
  background: #F3F1EC;
  border-radius: 6px;
}
.mc-score-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.mc-score-card {
  background: #fff;
  border-radius: 6px;
  padding: 0.85rem;
  text-align: center;
}
.mc-score-card .k {
  font-family: ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #888780;
}
.mc-score-card .v {
  display: block;
  font-size: 1.85rem;
  font-weight: 700;
  color: #7F77DD;
  line-height: 1.2;
  margin-top: 0.2rem;
}
.mc-score-card.wide { grid-column: 1 / -1; }
.mc-bar {
  height: 8px;
  background: #E2DED6;
  border-radius: 4px;
  overflow: hidden;
  margin-top: 0.45rem;
}
.mc-bar span {
  display: block;
  height: 100%;
  background: #7F77DD;
  border-radius: 4px;
}
.mc-list { list-style: none; margin: 0.5rem 0 0; padding: 0; }
.mc-list li {
  font-size: 0.92rem;
  color: #333;
  padding: 0.35rem 0 0.35rem 1.2rem;
  position: relative;
}
.mc-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: #7F77DD;
}
.mc-h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 1rem 0 0.35rem;
  color: #1A1A1A;
}
.mc-dash {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.mc-dash-card {
  padding: 0.9rem;
  background: #fff;
  border-radius: 6px;
  border: 1px solid #E2DED6;
}
.mc-dash-card .ico { font-size: 1.15rem; }
.mc-dash-card h3 { font-size: 0.88rem; margin: 0.25rem 0 0.35rem; }
.mc-muted { font-size: 0.82rem; color: #888780; }
.mc-empty {
  font-size: 0.92rem;
  color: #5C5B55;
  padding: 0.5rem 0;
}
.mc-overview {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.mc-overview a {
  display: block;
  padding: 0.95rem 1rem;
  background: #fff;
  border: 1px solid #E2DED6;
  border-radius: 8px;
  color: inherit;
  text-decoration: none;
}
.mc-overview a:hover { border-color: #7F77DD; text-decoration: none; }
.mc-overview a strong { display: block; font-size: 1rem; color: #1A1A1A; margin-bottom: 0.2rem; }
.mc-overview a span { font-size: 0.88rem; color: #888780; }

.mc-gap-list { list-style: none; margin: 0.35rem 0 0.85rem; padding: 0; }
.mc-gap-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid #E2DED6;
  font-size: 0.92rem;
  color: #333;
}
.mc-gap-item small {
  display: block;
  font-size: 0.78rem;
  color: #888780;
  font-weight: 400;
}
.mc-gap-item .diff {
  font-variant-numeric: tabular-nums;
  color: #7F77DD;
  font-weight: 600;
  white-space: nowrap;
}
.mc-gap-item.is-large .diff { color: #B85C38; }
@media (max-width: 520px) {
  .mc-score-row, .mc-dash { grid-template-columns: 1fr; }
  .mc-score-card.wide { grid-column: auto; }
}
