/* age-calculator page/custom.css — styles for the result dashboard rendered
   by page/custom.js. Inputs use the shared declarative controls (tool.css). */

.age-active-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.age-result-hero {
  background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
  border: 1px solid #a5b4fc;
  border-radius: 16px;
  padding: 24px;
  text-align: center;
}

.age-result-hero-title {
  font-size: 14px;
  font-weight: 700;
  color: #4f46e5;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.age-result-hero-text {
  font-size: 32px;
  font-weight: 800;
  color: #1e1b4b;
  line-height: 1.25;
}

.age-result-hero-text span {
  color: #4f46e5;
}

.age-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.age-info-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.age-info-card-title {
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 6px;
}

.age-info-card-value {
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
}

.age-info-card-sub {
  font-size: 13px;
  color: #64748b;
  margin-top: 4px;
}

/* Lived Metrics Grid */
.age-lived-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.age-lived-card-title {
  font-size: 13px;
  font-weight: 700;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 8px;
}

.age-lived-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (min-width: 640px) {
  .age-lived-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.age-lived-item {
  display: flex;
  flex-direction: column;
}

.age-lived-item-value {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
}

.age-lived-item-label {
  font-size: 12px;
  color: #64748b;
  margin-top: 2px;
}
