.calc-wrapper {
  max-width: 900px;
  margin-inline: auto;
}
.calc-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--sp-10);
  margin-bottom: var(--sp-8);
}
.calc-card h2 {
  font-size: var(--fs-2xl);
  color: var(--color-gold);
  margin-bottom: var(--sp-8);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}
.calc-card h2 .step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: var(--color-gold);
  color: #000;
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  flex-shrink: 0;
}

/* Range slider */
.range-group { margin-bottom: var(--sp-5); }
.range-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--sp-3);
}
.range-label-row .form-label { margin: 0; }
.range-display {
  display: flex;
  gap: var(--sp-4);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
}
.range-display .veg-pct { color: #4CAF7C; }
.range-display .meat-pct { color: var(--color-gold); }

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(
    to right,
    #4CAF7C 0%,
    #4CAF7C var(--range-pct, 50%),
    var(--color-gold) var(--range-pct, 50%),
    var(--color-gold) 100%
  );
  outline: none;
  cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--color-text);
  border: 3px solid var(--color-gold);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

/* Result */
.result-section { display: none; }
.result-section.visible { display: block; animation: fadeUp 0.4s ease; }
.result-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--sp-6);
}
.result-header h3 { font-size: var(--fs-2xl); color: var(--color-text); }
.diet-bar {
  height: 12px;
  border-radius: var(--radius-full);
  overflow: hidden;
  display: flex;
  margin-bottom: var(--sp-6);
}
.diet-bar .veg-bar  { background: #4CAF7C; transition: width 0.6s ease; }
.diet-bar .meat-bar { background: var(--color-gold); flex: 1; }

.result-actions {
  display: flex;
  gap: var(--sp-4);
  flex-wrap: wrap;
  margin-top: var(--sp-6);
}

@media (max-width: 640px) {
  .calc-card { padding: var(--sp-6); }
  .result-header { flex-direction: column; align-items: flex-start; gap: var(--sp-3); }
}
