/* Keep styles consistent with site theme (fonts/colors come from main style.css).
   This file only adds calculator-specific layout pieces. */

.ec-side-panel {
  padding-right: 10px;
}

.ec-side-text {
  margin-top: 12px;
  margin-bottom: 18px;
  color: rgba(32, 40, 45, 0.85);
}

.ec-side-list {
  margin: 0;
  padding-left: 18px;
}

.ec-side-list li {
  margin-bottom: 8px;
}

.ec-side-note {
  margin-top: 12px;
  color: rgba(32, 40, 45, 0.7);
}

.ec-form-shell .title {
  margin-bottom: 18px;
}

.ec-form-head {
  margin-bottom: 10px;
}

.ec-progress-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.ec-kicker {
  font-weight: 600;
  color: #0c7b3e;
}

.ec-progress {
  flex: 1;
  min-width: 160px;
  height: 10px;
  border-radius: 50px;
  background: rgba(32, 40, 45, 0.12);
  overflow: hidden;
}

.ec-progress-bar {
  height: 100%;
  width: 25%;
  background: #0c7b3e;
  border-radius: 50px;
  transition: width 200ms ease;
}

.ec-help {
  margin-top: -18px;
  margin-bottom: 18px;
  color: rgba(32, 40, 45, 0.65);
}

.ec-radio-group {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.ec-radio {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  border: 1px solid rgba(32, 40, 45, 0.2);
  padding: 12px 14px;
  border-radius: 6px;
  cursor: pointer;
  user-select: none;
}

.ec-radio input {
  accent-color: #0c7b3e;
}

.ec-mini-title {
  margin-top: 0;
  margin-bottom: 8px;
}

.ec-muted {
  color: rgba(32, 40, 45, 0.65);
  margin-bottom: 18px;
}

.ec-consent {
  margin-top: 10px;
  color: rgba(32, 40, 45, 0.65);
}

.ec-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.ec-nav-spacer {
  flex: 1;
}

.ec-btn {
  height: 45px;
}

/* Results cards */
.ec-metric,
.ec-panel {
  background: #fff;
  border-radius: 10px;
  padding: 24px;
  border: 1px solid rgba(32, 40, 45, 0.2);
  height: 100%;
}

.ec-metric-label {
  color: rgba(32, 40, 45, 0.7);
  font-weight: 600;
}

.ec-metric-value {
  margin-top: 8px;
  font-weight: 700;
  color: #20282D;
}

.ec-unit {
  color: rgba(32, 40, 45, 0.7);
}

.ec-panel-title {
  margin: 0 0 12px;
}

.ec-panel-text {
  color: rgba(32, 40, 45, 0.85);
}

.ec-rec-list {
  margin: 0 0 18px;
  padding-left: 18px;
}

.ec-rec-list li {
  margin-bottom: 8px;
}

.ec-footnote {
  margin-top: 18px;
  color: rgba(32, 40, 45, 0.65);
}

@media only screen and (max-width: 575px) {
  .ec-progress-row {
    gap: 10px;
  }
  .ec-btn {
    width: 100%;
    justify-content: center;
  }
}
