/* ForadHealth platform styles (Bootstrap 5 + brand) */
:root {
  --fh-ink: #13231B; --fh-muted: #4B5E54; --fh-line: #DCE5DF; --fh-ground: #F3F6F4; --fh-card: #FFFFFF;
  --fh-forest: #1F4D36; --fh-forest-dark: #143424; --fh-mint: #E3EFE7; --fh-leaf: #2F6B4A;
  --fh-coral: #C2410C; --fh-coral-soft: #FFF1E6; --fh-blue: #1D4ED8; --fh-blue-soft: #E0ECFF;
  --fh-pink: #BE185D; --fh-pink-soft: #FCE7F3; --fh-sky: #075985; --fh-sky-soft: #E0F2FE;
  --fh-gold: #B7791F; --fh-red: #B91C1C; --fh-red-soft: #FDECEC;
  --fh-radius: 20px; --fh-shadow: 0 1px 2px rgba(19,35,27,.06), 0 4px 16px rgba(19,35,27,.04);
  --bs-body-font-family: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; --bs-body-color: var(--fh-ink);
  --bs-primary: #1F4D36; --bs-primary-rgb: 31,77,54; --bs-link-color: #1F4D36; --bs-link-hover-color: #143424;
}
body.fh-body { background: var(--fh-ground); color: var(--fh-ink); font-size: 15px; }
h1, h2, h3, .fh-display { font-family: 'Sora', sans-serif; letter-spacing: -0.02em; }
a { color: var(--fh-forest); }
.fh-ic { flex: none; }
.fh-skip { position: absolute; left: 12px; top: 12px; z-index: 2000; background: #fff; padding: 8px 12px; border-radius: 8px; }

/* ---------- shell ---------- */
.fh-shell { display: flex; min-height: 100vh; }
.fh-side { width: 248px; flex: none; background: var(--fh-ink); color: #CFE3D5; padding: 20px 14px; position: sticky; top: 0; height: 100vh; display: none; flex-direction: column; }
.fh-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.fh-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.fh-brand-mark { width: 36px; height: 36px; border-radius: 50%; background: var(--fh-leaf); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.fh-brand-mark .fh-ic { width: 18px; height: 18px; }
.fh-brand-name { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 17px; display: block; }
.fh-brand-role { display: block; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #A7D9B9; }
.fh-side .fh-brand { color: #fff; padding: 4px 8px 22px; }
.fh-side-nav { display: flex; flex-direction: column; gap: 4px; }
.fh-side-nav a { display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 0 14px; border-radius: 12px; color: #CFE3D5; text-decoration: none; font-weight: 600; position: relative; }
.fh-side-nav a:hover { background: rgba(255,255,255,.06); color: #fff; }
.fh-side-nav a.active { background: rgba(255,255,255,.12); color: #fff; }
.fh-side-foot { margin-top: auto; border-top: 1px solid #2E4237; padding-top: 14px; }
.fh-side-user { font-size: 13px; color: #A7D9B9; padding: 0 14px 8px; }
.fh-side-logout { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 14px; border-radius: 12px; color: #CFE3D5; text-decoration: none; font-weight: 600; }
.fh-side-logout:hover { background: rgba(255,255,255,.06); color: #fff; }
.fh-badge-dot { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--fh-coral); color: #fff; font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.fh-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; padding-top: max(14px, env(safe-area-inset-top)); }
.fh-top-right { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.fh-icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--fh-line); background: #fff; display: inline-flex; align-items: center; justify-content: center; color: var(--fh-ink); }
.fh-wallet-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 999px; background: var(--fh-ink); color: #fff; text-decoration: none; font-weight: 700; }
.fh-wallet-chip:hover { color: #fff; background: #22382C; }
.fh-wallet-chip .fh-ic { color: #A7D9B9; width: 18px; height: 18px; }
.fh-view { flex: 1; padding: 4px 18px 120px; max-width: 1180px; width: 100%; margin: 0 auto; outline: none; }
.fh-loading { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 80px 0; color: var(--fh-forest); font-weight: 700; }
.fh-tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030; background: #fff; border-top: 1px solid var(--fh-line); display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding-bottom: env(safe-area-inset-bottom); }
.fh-tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 64px; text-decoration: none; color: var(--fh-muted); font-size: 11px; font-weight: 600; position: relative; }
.fh-tabbar a.active { color: var(--fh-forest); font-weight: 700; }
.fh-tabbar .fh-badge-dot { top: 8px; right: auto; left: 54%; transform: none; }
.fh-toasts { bottom: 84px; right: 12px; z-index: 2000; }
@media (min-width: 992px) {
  .fh-side { display: flex; }
  .fh-tabbar, .fh-brand-sm { display: none !important; }
  .fh-view { padding: 8px 32px 40px; }
  .fh-top { padding: 18px 32px 6px; }
  .fh-toasts { bottom: 20px; }
}

/* ---------- content ---------- */
.fh-h1 { font-size: clamp(24px, 3vw, 32px); font-weight: 600; margin: 0 0 4px; }
.fh-sub { color: var(--fh-muted); margin: 0; }
.fh-card { background: var(--fh-card); border-radius: var(--fh-radius); padding: 20px; box-shadow: var(--fh-shadow); }
.fh-card h2, .fh-card-title { font-size: 18px; font-weight: 600; margin: 0 0 10px; }
.fh-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--fh-muted); }
.fh-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: start; }
.fh-grid-2 { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); align-items: start; }
.fh-kpis { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.fh-kpi { background: #fff; border-radius: 18px; padding: 16px 18px; box-shadow: var(--fh-shadow); }
.fh-kpi .v { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 26px; }
.fh-kpi .l { font-size: 13px; color: var(--fh-muted); font-weight: 600; }
.fh-stack { display: flex; flex-direction: column; gap: 16px; }
.fh-row { display: flex; align-items: center; gap: 12px; }
.fh-list-item { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid #EEF1EF; text-decoration: none; color: inherit; }
.fh-list-item:first-child { border-top: 0; }
a.fh-list-item:hover { background: #FAFBFA; }
.fh-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--fh-mint); color: var(--fh-forest); white-space: nowrap; }
.fh-pill.blue { background: var(--fh-blue-soft); color: var(--fh-blue); }
.fh-pill.coral { background: var(--fh-coral-soft); color: #9A3412; }
.fh-pill.grey { background: #EEF1EF; color: var(--fh-muted); }
.fh-pill.red { background: var(--fh-red); color: #fff; }
.fh-pill.yellow { background: #FDE68A; color: #78350F; }
.fh-pill.green { background: #DCFCE7; color: #166534; }
.fh-progress { height: 8px; border-radius: 999px; background: #E6ECE8; overflow: hidden; }
.fh-progress > span { display: block; height: 100%; border-radius: 999px; background: var(--fh-forest); }
.fh-avatar { width: 48px; height: 48px; border-radius: 14px; background: var(--fh-mint); color: var(--fh-forest); font-family: 'Sora', sans-serif; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex: none; object-fit: cover; }
.fh-avatar.lg { width: 96px; height: 96px; border-radius: 26px; font-size: 28px; }
.btn { min-height: 44px; border-radius: 12px; font-weight: 700; padding-left: 18px; padding-right: 18px; }
.btn-sm { min-height: 36px; border-radius: 10px; }
.btn-primary { background: var(--fh-forest); border-color: var(--fh-forest); }
.btn-primary:hover, .btn-primary:focus { background: var(--fh-forest-dark); border-color: var(--fh-forest-dark); }
.btn-outline-primary { color: var(--fh-forest); border-color: var(--fh-forest); }
.btn-outline-primary:hover { background: var(--fh-forest); border-color: var(--fh-forest); }
.btn-dark { background: var(--fh-ink); }
.form-control, .form-select { min-height: 46px; border-radius: 12px; border: 1.5px solid var(--fh-line); }
.form-control:focus, .form-select:focus { border-color: var(--fh-forest); box-shadow: 0 0 0 3px rgba(31,77,54,.15); }
.form-label { font-weight: 700; font-size: 13px; }
.fh-chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 12px; border: 1.5px solid var(--fh-line); background: #fff; font-weight: 600; cursor: pointer; user-select: none; }
.fh-chip.active, .fh-chip[aria-pressed="true"] { border-color: var(--fh-forest); background: var(--fh-mint); color: var(--fh-forest); font-weight: 700; }
.fh-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.fh-check { width: 28px; height: 28px; border-radius: 50%; flex: none; display: inline-flex; align-items: center; justify-content: center; border: 2px solid #B9C8BF; }
.fh-check.done { background: var(--fh-forest); border-color: var(--fh-forest); color: #fff; }
.fh-empty { text-align: center; color: var(--fh-muted); padding: 28px 12px; }
.fh-emergency { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-radius: 14px; background: var(--fh-red-soft); color: #7F1D1D; flex-wrap: wrap; }
.fh-advice { border-radius: 14px; padding: 12px 14px; }
.fh-advice.green { background: #F0FDF4; color: #166534; } .fh-advice.yellow { background: #FFFBEB; color: #92400E; } .fh-advice.red { background: #FEF2F2; color: #991B1B; }
.fh-calendar { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; }
.fh-calendar .h { text-align: center; font-size: 11px; font-weight: 700; color: var(--fh-muted); }
.fh-calendar .d { height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 13px; }
.fh-calendar .d.period { background: #FDE2D3; color: #9A3412; } .fh-calendar .d.logged { background: var(--fh-coral); color: #fff; }
.fh-calendar .d.fertile { background: #DBEAFE; color: #1E3A8A; } .fh-calendar .d.ovulation { background: var(--fh-blue); color: #fff; }
.fh-calendar .d.predicted { border: 1.5px dashed var(--fh-coral); color: #9A3412; } .fh-calendar .d.today { outline: 2px solid var(--fh-ink); outline-offset: -2px; font-weight: 800; }
.fh-msg { max-width: 82%; padding: 11px 14px; border-radius: 16px; line-height: 1.45; white-space: pre-wrap; }
.fh-msg.mine { margin-left: auto; background: var(--fh-forest); color: #fff; border-bottom-right-radius: 4px; }
.fh-msg.theirs { background: #fff; box-shadow: var(--fh-shadow); border-bottom-left-radius: 4px; }
.fh-msg-meta { font-size: 11px; color: var(--fh-muted); margin: 0 4px 3px; }
.fh-timeline { display: flex; gap: 6px; } .fh-timeline > div { flex: 1; } .fh-timeline .bar { height: 5px; border-radius: 999px; background: var(--fh-line); } .fh-timeline .on .bar { background: var(--fh-forest); }
.fh-timeline .lab { font-size: 11px; font-weight: 700; color: var(--fh-muted); margin-top: 5px; } .fh-timeline .on .lab { color: var(--fh-forest); }
.fh-modal { border: 0; border-radius: 22px; }
.fh-modal .modal-header { border-bottom: 1px solid #EEF1EF; }
.fh-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.fh-table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--fh-muted); padding: 10px 12px; }
.fh-table td { padding: 12px; border-top: 1px solid #EEF1EF; vertical-align: middle; }
.fh-scroll-x { overflow-x: auto; }
.fh-stars { color: #E2B04A; letter-spacing: 1px; }
.fh-hero-preg { background: var(--fh-pink-soft); } .fh-hero-baby { background: var(--fh-sky-soft); } .fh-hero-garden { background: #EAF4EC; }
.fh-hero-dark { background: var(--fh-ink); color: #fff; } .fh-hero-dark .fh-eyebrow { color: #A7D9B9; }

/* ---------- footer ---------- */
.fh-footer { background: var(--fh-ink); color: #CFE3D5; margin: 24px 18px 96px; border-radius: 24px; overflow: hidden; font-size: 14px; }
.fh-footer a { color: #CFE3D5; } .fh-footer a:hover { color: #fff; }
.fh-footer-alert { display: flex; align-items: center; gap: 12px; padding: 16px 28px; background: #1A3024; color: #fff; }
.fh-footer-alert .fh-ic { color: #FCA5A5; }
.fh-footer-grid { display: grid; gap: 28px; padding: 28px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.fh-footer-grid h2 { font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 700; color: #fff; margin: 0 0 10px; letter-spacing: 0; }
.fh-footer-grid nav { display: flex; flex-direction: column; gap: 9px; }
.fh-footer-grid nav a { text-decoration: none; }
.fh-footer-about { grid-column: span 2; } @media (max-width: 640px) { .fh-footer-about { grid-column: auto; } }
.fh-footer-about .fh-brand { color: #fff; margin-bottom: 12px; }
.fh-footer-tag { font-family: 'Sora', sans-serif; font-size: 16px; color: #fff; }
.fh-footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding: 16px 28px; border-top: 1px solid #2E4237; font-size: 13px; }
.fh-footer-bottom .fh-ic { width: 16px; height: 16px; vertical-align: -3px; color: #A7D9B9; }
@media (min-width: 992px) { .fh-footer { margin: 24px 32px 28px; } }

/* ---------- auth pages ---------- */
.fh-auth { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px 16px; background: radial-gradient(circle at 20% 10%, #24563d 0, #13231B 55%); }
.fh-auth-card { width: 100%; max-width: 560px; background: #fff; border-radius: 26px; padding: 28px; box-shadow: 0 30px 80px rgba(0,0,0,.25); }
.fh-auth-card.wide { max-width: 760px; }
.fh-steps { display: flex; gap: 6px; margin: 18px 0 22px; } .fh-steps span { flex: 1; height: 5px; border-radius: 999px; background: var(--fh-line); } .fh-steps span.on { background: var(--fh-forest); }
.fh-avail { font-size: 12px; margin-top: 4px; min-height: 1em; } .fh-avail.ok { color: #15803D; font-weight: 600; } .fh-avail.bad { color: var(--fh-red); font-weight: 600; } .fh-avail.wait { color: var(--fh-muted); }
.fh-combo { position: relative; } .fh-combo-list { display: none; position: absolute; z-index: 50; left: 0; right: 0; top: calc(100% + 4px); max-height: 240px; overflow-y: auto; background: #fff; border: 1px solid var(--fh-line); border-radius: 12px; box-shadow: 0 12px 28px rgba(15,23,42,.12); list-style: none; margin: 0; padding: 4px; }
.fh-combo-list.open { display: block; } .fh-combo-list li { padding: 9px 12px; border-radius: 8px; cursor: pointer; } .fh-combo-list li.hl, .fh-combo-list li:hover { background: var(--fh-mint); color: var(--fh-forest); }
.fh-choice { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 16px; border: 1.5px solid var(--fh-line); cursor: pointer; background: #fff; text-align: left; width: 100%; }
.fh-choice.active { border-color: var(--fh-forest); background: var(--fh-mint); }
.fh-choice .emoji { font-size: 26px; }
.fh-hero-garden.fh-theme-gold { background: linear-gradient(135deg, #FFF4D6, #F7E1A1); }
.fh-hero-garden.fh-theme-sunset { background: linear-gradient(135deg, #FFE1D2, #F9C8E0); }
.fh-brand-logo { width: 40px; height: 40px; border-radius: 50%; flex: none; display: block; box-shadow: 0 0 0 2px rgba(255,255,255,.08); }
.fh-auth .fh-brand-logo { width: 44px; height: 44px; box-shadow: none; }
.fh-brand-name { font-size: 18px; }

/* ---------- admin analytics ---------- */
.an-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 16px; }
.an-seg { display: inline-flex; background: #fff; border: 1px solid var(--fh-line); border-radius: 12px; padding: 4px; gap: 2px; }
.an-seg button { border: 0; background: transparent; min-height: 36px; padding: 0 14px; border-radius: 9px; font-weight: 700; font-size: 13px; color: var(--fh-muted); }
.an-seg button[aria-pressed="true"] { background: var(--fh-ink); color: #fff; }
.an-tabs { display: flex; gap: 6px; flex-wrap: wrap; border-bottom: 1px solid var(--fh-line); margin-bottom: 18px; }
.an-tabs button { border: 0; background: transparent; padding: 10px 14px; font-weight: 700; color: var(--fh-muted); border-bottom: 3px solid transparent; margin-bottom: -1px; }
.an-tabs button[aria-selected="true"] { color: var(--fh-forest); border-bottom-color: var(--fh-forest); }
.an-kpis { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin-bottom: 16px; }
.an-kpi { background: #fff; border-radius: 18px; padding: 16px 18px 10px; box-shadow: var(--fh-shadow); position: relative; overflow: hidden; }
.an-kpi .l { font-size: 13px; font-weight: 700; color: var(--fh-muted); display: flex; align-items: center; gap: 8px; }
.an-kpi .l .dot { width: 8px; height: 8px; border-radius: 50%; }
.an-kpi .v { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 28px; margin-top: 4px; }
.an-kpi .s { font-size: 12px; color: var(--fh-muted); }
.an-delta { display: inline-flex; align-items: center; gap: 3px; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; margin-left: 6px; vertical-align: middle; }
.an-delta.up { background: #DCFCE7; color: #166534; } .an-delta.down { background: #FEE2E2; color: #991B1B; } .an-delta.flat { background: #EEF1EF; color: var(--fh-muted); }
.an-spark { display: block; width: 100%; height: 36px; margin-top: 6px; }
.an-grid { display: grid; gap: 16px; grid-template-columns: repeat(12, minmax(0, 1fr)); }
.an-grid > .w12 { grid-column: span 12; } .an-grid > .w8 { grid-column: span 8; } .an-grid > .w6 { grid-column: span 6; } .an-grid > .w4 { grid-column: span 4; }
@media (max-width: 1100px) { .an-grid > .w8, .an-grid > .w6, .an-grid > .w4 { grid-column: span 12; } }
.an-card { background: #fff; border-radius: 20px; padding: 20px; box-shadow: var(--fh-shadow); min-width: 0; }
.an-card h2 { font-size: 16px; font-weight: 700; margin: 0; font-family: 'DM Sans', sans-serif; letter-spacing: 0; }
.an-card .sub { font-size: 12.5px; color: var(--fh-muted); margin: 2px 0 12px; }
.an-legend { display: flex; flex-wrap: wrap; gap: 12px; font-size: 12.5px; color: var(--fh-muted); margin-bottom: 6px; }
.an-legend span { display: inline-flex; align-items: center; gap: 6px; } .an-legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.an-chart { position: relative; }
.an-chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.an-tip { position: absolute; pointer-events: none; background: var(--fh-ink); color: #fff; border-radius: 10px; padding: 8px 10px; font-size: 12px; white-space: nowrap; transform: translate(-50%, -110%); opacity: 0; transition: opacity .12s; z-index: 5; box-shadow: 0 8px 20px rgba(0,0,0,.2); }
.an-tip b { display: block; margin-bottom: 2px; }
.an-hbar { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; align-items: center; font-size: 13.5px; padding: 6px 0; }
.an-hbar .track { grid-column: 1 / -1; height: 8px; border-radius: 999px; background: #EEF1EF; overflow: hidden; }
.an-hbar .track span { display: block; height: 100%; border-radius: 999px; }
.an-hbar .k { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .an-hbar .n { font-weight: 700; }
.an-donut { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; } .an-donut svg { width: 160px; height: 160px; flex: none; }
.an-donut ul { list-style: none; padding: 0; margin: 0; flex: 1; min-width: 150px; font-size: 13.5px; }
.an-donut li { display: flex; align-items: center; gap: 8px; padding: 4px 0; } .an-donut li i { width: 10px; height: 10px; border-radius: 3px; flex: none; } .an-donut li b { margin-left: auto; }
.an-heat { display: grid; grid-template-columns: 34px repeat(24, minmax(0, 1fr)); gap: 3px; font-size: 10.5px; color: var(--fh-muted); }
.an-heat .c { aspect-ratio: 1; border-radius: 4px; background: #EEF1EF; }
.an-heat .h { text-align: center; } .an-heat .d { display: flex; align-items: center; font-weight: 700; }
.an-ring { position: relative; width: 120px; height: 120px; } .an-ring svg { width: 120px; height: 120px; transform: rotate(-90deg); }
.an-ring b { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: 'Sora', sans-serif; font-size: 24px; }
.an-feature { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.an-feature > div { border: 1px solid #EEF1EF; border-radius: 14px; padding: 12px; }
.an-feature .v { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 22px; } .an-feature .l { font-size: 12.5px; color: var(--fh-muted); font-weight: 600; }
.an-note { font-size: 12.5px; color: var(--fh-muted); }
.an-card h2, .fh-h1, .fh-card h2 { color: var(--fh-ink); }

/* ---------- friendly date pickers ---------- */
.fh-dob { display: grid; grid-template-columns: 0.8fr 1.4fr 1fr; gap: 8px; }
.fh-dp { position: relative; }
.fh-dp-btn { display: flex; align-items: center; gap: 10px; text-align: left; cursor: pointer; background: #fff; }
.fh-dp-btn .ph { color: #8A9A91; }
.fh-dp-btn .ic { font-size: 18px; }
.fh-dp-pop { position: absolute; z-index: 60; top: calc(100% + 6px); left: 0; width: 320px; max-width: calc(100vw - 32px); background: #fff; border: 1px solid var(--fh-line); border-radius: 18px; box-shadow: 0 18px 40px rgba(19,35,27,.18); padding: 12px; }
.fh-dp-head { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; }
.fh-dp-head select { min-height: 38px; border-radius: 10px; flex: 1; font-weight: 600; }
.fh-dp-nav { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--fh-line); background: #fff; font-size: 20px; line-height: 1; flex: none; }
.fh-dp-nav:disabled { opacity: .35; }
.fh-dp-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.fh-dp-grid .dow { text-align: center; font-size: 11px; font-weight: 700; color: var(--fh-muted); padding: 4px 0; }
.fh-dp-day { height: 38px; border: 0; border-radius: 10px; background: transparent; font-weight: 600; font-size: 14px; color: var(--fh-ink); }
.fh-dp-day:hover:not(:disabled) { background: var(--fh-mint); }
.fh-dp-day:focus-visible { outline: 2px solid var(--fh-forest); outline-offset: 1px; }
.fh-dp-day.today { box-shadow: inset 0 0 0 2px var(--fh-forest); }
.fh-dp-day.sel { background: var(--fh-forest); color: #fff; }
.fh-dp-day:disabled { color: #C5D0CA; text-decoration: line-through; cursor: not-allowed; }
.fh-dp-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 8px; padding-top: 8px; border-top: 1px solid #EEF1EF; }
.fh-dp-foot button { border: 0; background: transparent; color: var(--fh-forest); font-weight: 700; font-size: 14px; padding: 6px 8px; border-radius: 8px; }
.fh-dp-foot button:hover { background: var(--fh-mint); }
.fh-dp-hint { font-size: 12px; color: var(--fh-muted); }
.fh-edd-help { font-size: 13px; margin-top: 8px; }
.fh-dp-pop { width: 340px; }
.fh-dp-head select[data-sel="m"] { flex: 1.6; } .fh-dp-head select[data-sel="y"] { flex: 1; min-width: 92px; }
.fh-dp-head select { padding-left: 10px; padding-right: 26px; background-position: right 6px center; }
.fh-dob .form-select.fh-bad { border-color: #B91C1C; box-shadow: 0 0 0 3px rgba(185,28,28,.12); }
