/* DigestPress Age Calculator — clean, mobile-friendly, matches a light editorial site. */
.dac-wrap { max-width: 900px; margin: 0 auto; font-size: 16px; line-height: 1.55; color: #1f2937; }
.dac-intro { color: #4b5563; margin: 0 0 20px; }

.dac-panel { background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 12px; padding: 20px; margin: 0 0 24px; }

.dac-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
@media (max-width: 640px) { .dac-grid { grid-template-columns: 1fr; } }

.dac-field { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: #374151; }
.dac-field input[type="date"] { width: 100%; padding: 10px 12px; border: 1px solid #d1d5db; border-radius: 8px; font-size: 15px; background: #fff; color: #111827; }

.dac-note { font-size: 13px; color: #6b7280; margin: 10px 0 0; font-weight: 400; }
.dac-note-warn { background: #fefce8; border: 1px solid #fde68a; color: #854d0e; border-radius: 8px; padding: 10px 12px; font-size: 13px; margin: 12px 0 0; }
.dac-note-warn[hidden] { display: none; }

.dac-results[hidden] { display: none; }
.dac-hero { background: #eff6ff; border: 1px solid #bfdbfe; border-radius: 12px; padding: 16px; text-align: center; margin-top: 16px; }
.dac-hero-label { display: block; font-size: 13px; color: #6b7280; font-weight: 600; }
.dac-hero-value { display: block; font-size: 26px; font-weight: 700; color: #1d4ed8; margin-top: 4px; }

.dac-stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 14px; }
@media (max-width: 720px) { .dac-stats { grid-template-columns: 1fr 1fr; } }
.dac-stat { background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; padding: 10px 8px; text-align: center; }
.dac-stat-label { display: block; font-size: 12px; color: #6b7280; font-weight: 600; }
.dac-stat-value { display: block; font-size: 15px; font-weight: 700; color: #111827; margin-top: 2px; word-break: break-word; }

.dac-support { margin-top: 36px; border-top: 1px solid #e5e7eb; padding-top: 8px; }
.dac-support h2 { font-size: 22px; margin: 28px 0 10px; color: #111827; }
.dac-support h3 { font-size: 17px; margin: 18px 0 6px; color: #111827; }
.dac-support p { color: #374151; margin: 10px 0; }
.dac-support code { background: #f3f4f6; border-radius: 4px; padding: 1px 5px; font-size: 14px; }
.dac-table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 15px; }
.dac-table th, .dac-table td { border: 1px solid #e5e7eb; padding: 9px 12px; text-align: left; }
.dac-table th { background: #f9fafb; color: #111827; }
.dac-table td { color: #374151; }
