.r76-age-tool {
  max-width: 420px;
  margin: 1.5rem auto;
  padding: 1.5rem;
  border-radius: 12px;
  background: #f8f8f8;
  box-shadow: 0 4px 14px rgba(0,0,0,.12);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Heading — smaller, always one line, grey color */
.r76-age-tool h3 {
  margin-top: 0;
  margin-bottom: 1.1rem;
  text-align: center;
  color: #2d2f30;        /* grey */
  font-size: 1.3rem;     /* reduced so it fits one line */
  font-weight: 700;
  letter-spacing: 0.3px;
  white-space: nowrap;   /* prevents wrapping */
}

.r76-age-row {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.r76-age-row label {
  font-weight: 600;
}

.r76-age-row input[type="date"] {
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 0.95rem;
}

#r76-age-form button[type="submit"] {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  background: #ef832f;    /* Region 76 orange */
  color: #fff;
}

#r76-age-form button[type="submit"]:hover,
#r76-age-form button[type="submit"]:focus {
  filter: brightness(0.95);
}

#r76-age-result {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #ddd;
  font-size: 0.95rem;
  min-height: 2.25rem;
}

/* Division result — left aligned, prominent, orange */
.r76-age-result-main {
  font-weight: 800;
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: #ef832f;       /* Region 76 orange */
  text-align: left;
}

/* Footer — fixed small size, tighter line spacing */
.r76-age-note {
  margin-top: 0.75rem;
  color: #555;
  text-align: center;

  font-size: 0.72rem;   /* fixed, smallest size */
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.1;     /* tighter line spacing */
}
