.calc-container {
  flex: 1;
  max-width: 640px;
  width: 100%;
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
}
.card-section {
  background: white;
  border-radius: 14px;
  padding: 1.5rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  border-left: 4px solid #0A1D3D;
}
.card-section h2 {
  font-size: 1.05rem;
  color: #0A1D3D;
  margin-bottom: 1.25rem;
  font-weight: 700;
}
.field { display: flex; flex-direction: column; margin-bottom: 1rem; }
.field:last-child { margin-bottom: 0; }
.field label { font-size: 0.85rem; color: #374151; font-weight: 600; margin-bottom: 0.4rem; }
.field select, .field input {
  padding: 0.75rem 0.9rem;
  border: 1px solid #D1D5DB;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  background: white;
}
.field select:focus, .field input:focus {
  outline: none; border-color: #22C55E;
  box-shadow: 0 0 0 3px rgba(34,197,94,0.15);
}
.info-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.75rem 1rem;
  background: #F0FDF4;
  border-radius: 8px;
  margin-bottom: 1rem;
  border-left: 3px solid #22C55E;
}
.info-label { font-size: 0.85rem; color: #374151; font-weight: 600; }
.info-value { font-size: 1.1rem; font-weight: 800; color: #16A34A; }

.result-card {
  background: white;
  border-radius: 14px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  border: 2px solid #22C55E;
  animation: pop 0.25s ease-out;
}
.result-card.warning { border-color: #F59E0B; }
.result-header {
  display: flex; align-items: center; gap: 0.6rem;
  margin-bottom: 1.25rem;
}
.result-icon { font-size: 1.5rem; }
.result-title {
  font-weight: 800; font-size: 1rem; letter-spacing: 0.05em;
  color: #16A34A;
}
.result-card.warning .result-title { color: #B45309; }
.result-body { display: flex; flex-direction: column; gap: 0.5rem; }
.result-row {
  display: flex; justify-content: space-between; align-items: baseline;
}
.result-row.big .result-label { font-size: 0.95rem; color: #374151; font-weight: 600; }
.result-row.big .result-value { font-size: 1.6rem; font-weight: 900; color: #0A1D3D; }
.result-row.small .result-label { font-size: 0.8rem; color: #6B7280; }
.result-row.small .result-value { font-size: 0.85rem; color: #6B7280; font-weight: 600; }
.result-card hr { border: none; border-top: 1px solid #E5E7EB; margin: 0.75rem 0; }

.alert {
  padding: 1rem 1.25rem;
  border-radius: 12px;
  font-weight: 600;
  border-left: 4px solid;
  background: #FEF2F2;
  color: #B91C1C;
  border-left-color: #EF4444;
  animation: pop 0.25s ease-out;
}
.alert.warn {
  background: #FFFBEB;
  color: #B45309;
  border-left-color: #F59E0B;
}

@keyframes pop {
  from { opacity: 0; transform: scale(0.97); }
  to { opacity: 1; transform: scale(1); }
}

@media (max-width: 720px) {
  .result-row.big .result-value { font-size: 1.35rem; }
}
