.growth-calculator {
  display: grid;
  gap: 24px;
}

.growth-intro,
.growth-explainer {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--primary-light);
}

.growth-intro p,
.growth-explainer p,
.growth-explainer li {
  color: var(--text-secondary);
}

.growth-intro p + p {
  margin-top: 8px;
}

.growth-privacy-note {
  font-size: 13px;
}

.growth-form {
  display: grid;
  gap: 18px;
}

.growth-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.growth-form-grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.growth-field {
  min-width: 0;
}

.growth-field label,
.growth-field-label {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
}

.growth-field input,
.growth-field select {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-white);
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.growth-field input:focus,
.growth-field select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(64, 158, 255, 0.18);
}

.growth-field input[aria-invalid="true"],
.growth-field select[aria-invalid="true"] {
  border-color: #b91c1c;
}

.growth-field-hint,
.growth-field-error {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.5;
}

.growth-field-hint {
  color: var(--text-secondary);
}

.growth-field-error {
  color: #b91c1c;
}

.growth-field-error:empty {
  display: none;
}

.growth-check {
  display: flex;
  align-items: center;
  min-height: 44px;
  gap: 10px;
  color: var(--text-secondary);
  cursor: pointer;
}

.growth-check input {
  width: 20px;
  height: 20px;
  accent-color: var(--primary);
}

.growth-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.growth-actions .btn {
  min-height: 44px;
}

.growth-error-summary {
  padding: 12px 14px;
  border: 1px solid #fecaca;
  border-radius: var(--radius);
  background: #fef2f2;
  color: #991b1b;
  font-size: 14px;
}

.growth-result {
  min-height: 96px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
}

.growth-result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.growth-result-item {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-white);
}

.growth-result-label {
  color: var(--text-secondary);
  font-size: 13px;
}

.growth-result-value {
  color: var(--primary-dark);
  font-size: 20px;
  line-height: 1.35;
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}

.growth-result-note {
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 1.5;
}

.growth-result-empty {
  color: var(--text-secondary);
}

.growth-process {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.growth-process h3,
.growth-explainer h2 {
  margin-bottom: 8px;
  font-size: 17px;
}

.growth-process ol,
.growth-explainer ul {
  padding-left: 22px;
}

.growth-process li + li,
.growth-explainer li + li {
  margin-top: 4px;
}

@media (max-width: 640px) {
  .growth-form-grid,
  .growth-result-grid {
    grid-template-columns: 1fr;
  }

  .growth-actions .btn {
    flex: 1 1 120px;
    justify-content: center;
  }
}

@media (min-width: 641px) and (max-width: 900px) {
  .growth-form-grid-three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .growth-field input,
  .growth-field select {
    transition: none;
  }
}
