.age-calculator-page .age-calc-inputs {
  overflow: visible;
  position: relative;
  z-index: 5;
}

.age-calculator-page .age-calc-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.age-calculator-page .age-calc-grid > label {
  gap: 6px;
}

.age-calculator-page .age-calc-grid > label > span {
  font-size: 14px;
  font-weight: 600;
  color: #334155;
}

.age-calculator-page .time-date-picker {
  position: relative;
  min-width: 0;
  z-index: 40;
}

.age-calculator-page .time-date-picker.is-open {
  z-index: 80;
}

.age-calculator-page .time-date-picker-popover {
  z-index: 60;
}

.age-calculator-page .time-date-picker-display.is-empty {
  color: #9aa3af;
}

.age-calculator-page .time-date-affix {
  cursor: pointer;
}

.age-calculator-page #age-asof-picker .age-asof-today-label {
  position: absolute;
  top: 50%;
  left: var(--age-asof-today-left, 96px);
  transform: translateY(-50%);
  color: #9aa3af;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.12s ease;
  z-index: 1;
}

.age-calculator-page #age-asof-picker.show-today-label .age-asof-today-label {
  opacity: 1;
}

.age-calculator-page #age-asof-picker.is-open .age-asof-today-label,
.age-calculator-page #age-asof-picker.is-typing .age-asof-today-label,
.age-calculator-page #age-asof-picker .time-date-picker-display:focus + .age-asof-today-label {
  opacity: 0;
}

.age-calculator-page .time-date-picker-confirm:disabled,
.age-calculator-page .time-date-picker-confirm.is-disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.age-calculator-page .age-empty-card h2 {
  margin: 0 0 8px;
}

.age-calculator-page .age-empty-card p {
  margin: 0;
  color: #475569;
  font-size: 15px;
  line-height: 1.55;
}

.age-calculator-page #age-result-card .result-value {
  margin: 6px 0 0;
  display: block;
  width: 100%;
  min-width: 0;
  font-size: clamp(18px, 3.2vw, 28px);
  line-height: 1.12;
  padding-bottom: 2px;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.age-calculator-page #age-result-card .age-result-group {
  margin-top: 14px;
  padding-top: 0;
  border-top: 0;
}

.age-calculator-page .age-next-birthday-kpis {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
}

.age-calculator-page .age-next-birthday-kpis > article {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.age-calculator-page #nextBirthdayDateValue {
  white-space: nowrap;
  word-break: normal;
  overflow-wrap: normal;
}

.age-calculator-page #age-results-actions {
  margin-top: 14px;
  padding-top: 0;
  border-top: 0;
}

.age-calculator-page .age-seo-table-wrap {
  overflow-x: hidden;
}

.age-calculator-page .age-seo-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.age-calculator-page .age-seo-table th:first-child,
.age-calculator-page .age-seo-table td:first-child {
  width: 32%;
}

.age-calculator-page .age-seo-table th,
.age-calculator-page .age-seo-table td {
  text-align: left;
  vertical-align: top;
  padding: 10px 12px;
  border-bottom: 1px solid #e7edf7;
  color: #334155;
  font-size: 14px;
  line-height: 1.5;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.age-calculator-page .age-seo-table th {
  color: #0f172a;
  font-weight: 700;
}

@media (max-width: 980px) {
  .age-calculator-page .age-next-birthday-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .age-calculator-page .age-calc-grid {
    grid-template-columns: 1fr;
  }

  .age-calculator-page .age-next-birthday-kpis {
    grid-template-columns: 1fr;
  }
}
