.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.calc-inputs, .calc-outputs {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.calc-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
}

.calc-field input[type="number"],
.calc-field select {
  width: 100%;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid #dbe3ee;
  border-radius: 8px;
  font-size: 16px;
  background: #f6f8fc;
  color: #0f172a;
}

.calc-field input[type="range"] {
  width: 100%;
  accent-color: #1d4ed8;
}

.calc-hint {
  font-size: 12px;
  font-weight: 400;
  color: #475569;
}

.calc-check {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #fffbeb;
  border: 1px solid #f59e0b;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
  cursor: pointer;
}

.calc-check input {
  width: 18px;
  height: 18px;
  accent-color: #1d4ed8;
}

.calc-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.calc-stat {
  background: #f6f8fc;
  border: 1px solid #dbe3ee;
  border-radius: 12px;
  padding: 16px;
}

.calc-stat-accent {
  background: #eff6ff;
  border-color: #1d4ed8;
}

.calc-stat-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #475569;
  margin-bottom: 4px;
}

.calc-stat-val {
  display: block;
  font-family: 'Outfit', -apple-system, sans-serif;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  font-size: 28px;
  line-height: 1.2;
  color: #0f172a;
}

.calc-compare {
  background: #0f172a;
  color: #f6f8fc;
  border-radius: 12px;
  padding: 16px;
  font-size: 14px;
}

.calc-compare strong {
  color: #f59e0b;
}

.calc-footer-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.calc-copy-msg {
  font-size: 14px;
  font-weight: 600;
  color: #1d4ed8;
}

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

  .calc-footer-row button {
    width: 100%;
  }
}