/* ZaziPoa brand tokens. See BRAND.md */
:root {
  /* ZaziPoa brand: taken from the logo (purple mother + pink heart) */
  --care-green: #4A1A76;   /* Zazi Purple (primary) */
  --deep-green: #2E0F4C;   /* Deep Plum */
  --sunrise: #DD3180;      /* Poa Pink (accent, graphics) */
  --sunrise-btn: #C92A74;  /* Poa Pink for buttons: white text passes AA */
  --sunrise-dark: #B01E63;
  --blush: #FCE8F1;        /* Blush (warm surface) */
  --blush-ink: #9C1D58;
  --mint: #F1EAF8;         /* Lavender (cool surface) */
  --ink: #1E1030;
  --stone: #5E5470;
  --paper: #FFFBFD;
  --white: #FFFFFF;
  --line: #E8E2EE;
  --ok: #0B6148; --ok-bg: #E2F3EB;
  --warn: #6E4A00; --warn-bg: #FFF2CF;
  --bad: #B42318; --bad-bg: #FDECEA;
  --display: 'Poppins', 'Segoe UI', system-ui, sans-serif;
  --body: 'DM Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --r-sm: 10px; --r-md: 16px; --r-lg: 24px;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.55 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--care-green); }
h1, h2, h3 { font-family: var(--display); line-height: 1.12; letter-spacing: -0.01em; margin: 0 0 .4em; }
h2 { font-size: 21px; } h3 { font-size: 18px; }
p { margin: 0 0 .8em; }
:focus-visible { outline: 3px solid var(--sunrise); outline-offset: 2px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--r-sm); z-index: 99; }
.skip:focus { left: 8px; }
.muted { color: var(--stone); } .small { font-size: 14px; } .center { text-align: center; }
.h-xl { font-size: clamp(34px, 5vw, 56px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.02; }
.h-lg { font-size: clamp(26px, 3.4vw, 38px); font-weight: 700; letter-spacing: -0.02em; }
.h-md { font-size: clamp(24px, 3vw, 30px); font-weight: 700; }
.h-sm { font-size: 22px; font-weight: 700; margin-top: 8px; }
.lead { font-size: 19px; max-width: 34em; }

/* header & footer */
.topbar { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.topbar-in { max-width: 1180px; margin: 0 auto; padding: 10px 20px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: space-between; }
.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); font: 700 24px/1 var(--display); letter-spacing: -0.02em; }
.logo img { display: block; height: 44px; width: auto; }
.foot .logo img { height: 92px; }
.logo b { color: var(--sunrise); font-weight: 500; }
.sitenav, .topbar-actions { display: flex; gap: 4px; align-items: center; flex-wrap: wrap; }
.navlink { color: var(--ink); text-decoration: none; font-weight: 500; padding: 0 12px; min-height: 44px; display: inline-flex; align-items: center; border-radius: 3px; }
.navlink:hover, .navlink[aria-current="page"] { background: var(--mint); }
.foot { background: var(--deep-green); color: #DCCDEB; margin-top: 64px; }
.foot-in { max-width: 1180px; margin: 0 auto; padding: 40px 20px 24px; display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 28px; }
.foot-in > div { display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.foot h2 { font: 700 15px/1.2 var(--body); color: #fff; margin: 0 0 4px; }
.foot a { color: #DCCDEB; } .foot .logo { color: #fff; } .foot .logo b { color: var(--sunrise); }
.foot-brand p { max-width: 30em; }
.foot-legal { max-width: 1180px; margin: 0 auto; padding: 16px 20px 28px; border-top: 1px solid rgba(255,255,255,.15); font-size: 13px; }

/* layout */
.wrap { max-width: 1180px; margin: 0 auto; padding: 48px 20px; }
.wrap.narrow { max-width: 780px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 16px; }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.stack > * + * { margin-top: 16px; }
.row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.row.wrap-row { flex-wrap: wrap; margin-top: 16px; }
.dash { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px; }
.card.center { text-align: center; }
.narrow-card { max-width: 640px; margin-top: 20px; }
.subcard { background: var(--mint); border-radius: var(--r-sm); padding: 16px; margin: 14px 0; }
.terms { font-size: 15px; max-height: 320px; overflow: auto; }
.inline { display: inline; }

/* hero */
.hero { background: var(--blush); }
.hero-in { max-width: 1180px; margin: 0 auto; padding: 64px 20px 72px; display: flex; gap: 48px; align-items: center; flex-wrap: wrap; }
.hero-copy { flex: 1 1 440px; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 20px 0 16px; }
.ticks { list-style: none; padding: 0; margin: 0; display: flex; gap: 18px; flex-wrap: wrap; font-size: 15px; }
.ticks li::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--care-green); margin-right: 8px; }
.hero-card, .plan-card { background: var(--care-green); color: #fff; border-radius: var(--r-lg); padding: 24px; }
.hero-card { flex: 1 1 320px; max-width: 400px; }
.hero-card .small, .plan-card .small { color: #D7C6E8; margin: 0; }
.big { font: 700 38px/1.1 var(--display); margin: 6px 0 2px; letter-spacing: -0.02em; }
.mid { font: 700 28px/1.1 var(--display); margin: 2px 0; }

/* signature: one segment per week of the plan */
.weeks { display: flex; gap: 4px; margin: 16px 0 10px; }
.weeks span { flex: 1; height: 14px; border-radius: 4px; background: rgba(255,255,255,.18); }
.weeks span.paid { background: var(--sunrise); }
.weeks span.due { background: transparent; box-shadow: inset 0 0 0 2px var(--sunrise); }

/* steps */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 20px 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.steps li { counter-increment: s; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px; }
.steps li::before { content: counter(s); display: flex; width: 40px; height: 40px; border-radius: 50%; background: var(--care-green); color: #fff; align-items: center; justify-content: center; font: 700 19px var(--display); margin-bottom: 12px; }
.steps p { color: var(--stone); margin: 0; }
.band { background: var(--care-green); color: #fff; }
.band-in { display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.band .h-lg { color: #fff; } .band p { color: #D7C6E8; margin: 0; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 3px; border: 0; font: 700 16px var(--body); cursor: pointer; text-decoration: none; white-space: nowrap; }
.btn.sun { background: var(--sunrise-btn); color: #fff; } .btn.sun:hover { background: var(--sunrise-dark); }
.btn.primary { background: var(--care-green); color: #fff; } .btn.primary:hover { background: var(--deep-green); }
.btn.ghost { background: transparent; color: var(--care-green); box-shadow: inset 0 0 0 2px var(--care-green); }
.btn.danger { background: transparent; color: var(--bad); box-shadow: inset 0 0 0 2px var(--bad); }
.btn.link { background: none; color: var(--care-green); padding: 0 8px; min-height: 44px; }
.btn.sm { min-height: 44px; padding: 0 16px; font-size: 15px; }
.btn.block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* forms */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: 700; font-size: 15px; }
input, select, textarea { font: inherit; color: inherit; }
.field input, .field select, .field textarea, .filter select, .reject-form select, .reject-form input { min-height: 48px; padding: 10px 14px; border: 1.5px solid #CDC3D8; border-radius: var(--r-sm); background: var(--white); width: 100%; }
.field textarea { min-height: 96px; }
.field.bad input, .field.bad select { border-color: var(--bad); }
.err { color: var(--bad); font-size: 14px; font-weight: 500; }
.formrow { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0 16px; }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 12px; font-size: 15px; cursor: pointer; }
.check input { width: 22px; height: 22px; flex: none; accent-color: var(--care-green); margin: 1px 0 0; }
.filter { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 6px 0 10px; }
.filter label { font-weight: 700; }
.filter select { width: auto; min-width: 200px; }
.reject-form { display: inline-flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.reject-form select, .reject-form input { width: auto; }

/* wizard */
.wizard { max-width: 580px; margin: 0 auto; } .wizard.wide { max-width: 980px; }
.wz-steps { display: flex; gap: 6px; margin-bottom: 8px; }
.wz-steps span { flex: 1; height: 6px; border-radius: 999px; background: var(--line); }
.wz-steps span.on { background: var(--care-green); }
.wz-card { padding: clamp(20px, 4vw, 36px); }
.pkg { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }

/* data */
.sum { display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; margin: 12px 0; }
.sum dt { color: var(--stone); } .sum dd { margin: 0; text-align: right; }
.line { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); align-items: center; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin: 16px 0; }
.kpi { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px; }
.kpi .v { font: 700 26px/1.15 var(--display); margin-top: 4px; }
.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--white); margin: 16px 0; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; padding: 12px; border-bottom: 1px solid var(--line); vertical-align: middle; white-space: nowrap; }
th { font-size: 13px; color: var(--stone); font-weight: 700; background: var(--paper); }
tr:last-child td { border-bottom: 0; }
td.wrap-cell { white-space: normal; min-width: 260px; }
.actions-cell { display: flex; gap: 6px; }
.mbar { height: 6px; background: var(--mint); border-radius: 999px; overflow: hidden; margin-top: 4px; min-width: 90px; }
.mbar i { display: block; height: 100%; background: var(--care-green); }
.empty { color: var(--stone); padding: 8px 0; margin: 0; }
td.empty { padding: 18px 12px; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 16px 0; }
.tab { text-decoration: none; color: var(--ink); border: 1.5px solid var(--line); background: var(--white); border-radius: 3px; padding: 0 16px; min-height: 44px; display: inline-flex; align-items: center; font-weight: 700; font-size: 15px; }
.tab[aria-current="page"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* status */
.pill { display: inline-block; font-size: 13px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--mint); color: var(--stone); white-space: nowrap; }
.pill.ok { background: var(--ok-bg); color: var(--ok); } .pill.warn { background: var(--warn-bg); color: var(--warn); } .pill.bad { background: var(--bad-bg); color: var(--bad); }
.flash, .note { border-radius: var(--r-sm); padding: 12px 16px; margin: 12px 0; font-size: 15px; }
.flash { max-width: 1140px; margin: 16px auto 0; }
.flash.ok, .note.ok { background: var(--ok-bg); color: var(--ok); }
.flash.info, .note.warn { background: var(--warn-bg); color: var(--warn); }
.flash.error, .note.bad { background: var(--bad-bg); color: var(--bad); }

/* mother pieces */
.clinic-card { background: var(--white); border: 2px dashed var(--care-green); border-radius: var(--r-lg); padding: 24px; text-align: center; }
.code { font: 700 42px/1.1 var(--display); letter-spacing: .08em; margin: 6px 0; }
.howpay { padding-left: 20px; margin: 12px 0 16px; } .howpay li { margin-bottom: 4px; }
.sms { background: var(--mint); border-radius: 14px 14px 14px 4px; padding: 10px 14px; margin-bottom: 8px; font-size: 15px; display: flex; flex-direction: column; gap: 2px; }
.result { border-top: 1px solid var(--line); margin-top: 16px; padding-top: 16px; }
.faq summary { font-weight: 700; cursor: pointer; min-height: 44px; display: flex; align-items: center; }
.faq { margin-bottom: 10px; } .faq p { margin: 4px 0 6px; }
.review { margin: 16px 0; border-color: var(--care-green); }

@media (max-width: 860px) {
  .dash { grid-template-columns: minmax(0, 1fr); }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .hero-in { padding: 40px 16px 48px; }
  .wrap { padding: 32px 16px; }
}
@media (max-width: 520px) { .foot-in { grid-template-columns: 1fr; } .sum dd { text-align: left; } .sum { grid-template-columns: 1fr; gap: 2px; } .sum dd { margin-bottom: 8px; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* Why ZaziPoa */
.benefits .card { position: relative; }
.benefit-num { display: inline-flex; width: 36px; height: 36px; border-radius: 50%; background: var(--sunrise-btn); color: #fff; align-items: center; justify-content: center; font: 700 17px var(--display); margin-bottom: 10px; }
.why-strip { background: var(--mint); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 40px); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 16px 32px; align-items: center; }
.why-strip .btn { justify-self: start; }
.why-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-weight: 500; }
.why-list li::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--sunrise); margin-right: 10px; }
@media (max-width: 860px) { .why-strip { grid-template-columns: minmax(0, 1fr); } }
.fee-form { display: inline-flex; gap: 6px; align-items: center; }
.fee-form input { width: 130px; min-height: 44px; padding: 8px 10px; border: 1.5px solid #CDC3D8; border-radius: var(--r-sm); }

/* Verification */
.verified { display: inline-block; font-size: 13px; font-weight: 700; color: var(--ok); background: var(--ok-bg); padding: 2px 10px; border-radius: 999px; margin-right: 6px; }
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.photo-grid img { width: 100%; height: 120px; object-fit: cover; border-radius: var(--r-sm); border: 1px solid var(--line); }
.checklist { margin-top: 20px; border-top: 1px solid var(--line); padding-top: 16px; }
.check-row { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 8px 16px; align-items: start; padding: 8px 0; border-bottom: 1px solid var(--line); }
.check-row input[name^="note"] { min-height: 44px; padding: 8px 12px; border: 1.5px solid #CDC3D8; border-radius: var(--r-sm); width: 100%; }
.geo-row { display: flex; gap: 8px; } .geo-row input { flex: 1; }
.attn { display: block; padding: 14px 16px; border: 1px solid var(--line); border-left: 4px solid var(--sunrise); border-radius: var(--r-sm); background: var(--white); margin-bottom: 8px; text-decoration: none; color: var(--ink); font-weight: 500; }
.report-box summary { font-weight: 700; cursor: pointer; min-height: 44px; display: flex; align-items: center; }
@media (max-width: 700px) { .check-row { grid-template-columns: 1fr; } .photo-grid img { height: 90px; } }

/* WhatsApp */
.wa-thread { background: #EFE7DD; border-radius: var(--r-md); padding: 16px; display: flex; flex-direction: column; gap: 8px; max-height: 560px; overflow-y: auto; margin: 12px 0; }
.wa-msg { max-width: 85%; padding: 10px 12px; border-radius: 12px; font-size: 15px; box-shadow: 0 1px 1px rgba(0,0,0,.06); }
.wa-msg.in { background: #FFFFFF; align-self: flex-start; border-top-left-radius: 4px; }
.wa-msg.out { background: #D9FDD3; align-self: flex-end; border-top-right-radius: 4px; }
.wa-msg.staff { background: #FFF2CF; align-self: flex-end; border-top-right-radius: 4px; }
.wa-meta { font-size: 12px; color: var(--stone); margin-top: 4px; text-align: right; }
.wa-choices { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.wa-chip { font-size: 13px; color: #0B6148; background: #FFFFFF; border: 1px solid #D7C6E8; border-radius: 999px; padding: 4px 10px; }
.wa-tap { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 12px; }
.wa-reply { display: flex; gap: 8px; } .wa-reply input { flex: 1; min-height: 44px; padding: 8px 12px; border: 1.5px solid #CDC3D8; border-radius: var(--r-sm); }
.wa-grid { align-items: start; }

.swahili { font: 600 18px var(--display); color: var(--blush-ink); margin: 0 0 8px; }

/* Legal pages and documents */
.legal h2 { margin-top: 28px; font-size: 22px; }
.legal ul { padding-left: 22px; } .legal li { margin-bottom: 6px; }
.foot-legal { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.foot-legal a { color: #DCCDEB; }
.doc-row { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 12px 20px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.doc-input { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.doc-input input[type="file"] { max-width: 230px; font-size: 14px; }
.doc-input label { display: flex; flex-direction: column; gap: 2px; }
.doc-input input[type="date"] { min-height: 40px; padding: 6px 8px; border: 1.5px solid #CDC3D8; border-radius: var(--r-sm); }
@media (max-width: 760px) { .doc-row { grid-template-columns: 1fr; } }

/* Footer social links */
.socials { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.social-row { display: flex; flex-wrap: wrap; gap: 8px; }
.social { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.1); color: #FFFFFF; transition: background .15s; }
.social:hover, .social:focus-visible { background: var(--sunrise-btn); color: #fff; }

/* Header menu: everything collapses into one Menu button on phones and small tablets */
.menu { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; flex: 1; justify-content: space-between; }
.menu-btn { display: none; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 3px; background: var(--white); color: var(--ink); font: 700 15px var(--body); cursor: pointer; }
.menu-icon { display: inline-flex; flex-direction: column; justify-content: center; gap: 4px; width: 20px; }
.menu-icon span { display: block; height: 2px; background: var(--care-green); border-radius: 2px; transition: transform .2s, opacity .2s; }
.menu-btn[aria-expanded="true"] .menu-icon span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-icon span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] .menu-icon span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 960px) {
  .topbar-in { flex-wrap: nowrap; position: relative; padding: 10px 16px; }
  .logo img { height: 38px; }
  .menu-btn { display: inline-flex; margin-left: auto; }
  .menu { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(11,27,46,.12); padding: 8px 16px 16px; max-height: calc(100vh - 60px); overflow-y: auto; }
  .menu.open { display: flex; }
  .sitenav, .topbar-actions { flex-direction: column; align-items: stretch; gap: 2px; }
  .sitenav .navlink, .topbar-actions .navlink { min-height: 52px; padding: 0 12px; border-radius: 3px; font-size: 17px; border-bottom: 1px solid var(--line); }
  .topbar-actions { margin-top: 12px; gap: 10px; }
  .topbar-actions .btn, .topbar-actions form, .topbar-actions form .btn { width: 100%; }
  .topbar-actions .btn { min-height: 52px; font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) { .menu-icon span { transition: none; } }

/* Plans */
.tier-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin: 16px 0; }
.tier-card { background: var(--white); color: var(--ink); border: 1.5px solid var(--line); border-radius: var(--r-md); padding: 22px; display: flex; flex-direction: column; gap: 10px; align-items: stretch; transition: border-color .15s, box-shadow .15s, transform .15s; }
.tier-card:hover, .tier-card:focus-within { border-color: var(--care-green); box-shadow: 0 8px 24px rgba(74,26,118,.12); transform: translateY(-2px); }
.tier-card.current { border-color: var(--care-green); box-shadow: 0 0 0 3px var(--mint); }
.tier-card h3 { font: 700 22px/1.2 var(--display); color: var(--care-green); margin: 0; }
.tier-card ul { padding-left: 18px; margin: 0; color: var(--ink); flex: 1; } .tier-card li { margin-bottom: 6px; }
.tier-card .tier-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 28px; }
.tier-card .btn { width: 100%; margin-top: 4px; }
.tier-card form { width: 100%; }
@media (prefers-reduced-motion: reduce) { .tier-card { transition: none; } .tier-card:hover { transform: none; } }
.tier-price { font: 700 26px/1.1 var(--display); color: var(--care-green); margin: 0; }
.plan-pick { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; margin: 8px 0 18px; }
.plan-opt { display: flex; gap: 10px; align-items: flex-start; border: 1.5px solid var(--line); border-radius: var(--r-md); padding: 14px; cursor: pointer; background: var(--white); }
.plan-opt:has(input:checked) { border-color: var(--care-green); box-shadow: 0 0 0 3px var(--mint); }
.plan-opt input { width: 20px; height: 20px; accent-color: var(--care-green); margin-top: 2px; }
.plan-opt > span { display: flex; flex-direction: column; gap: 2px; }
.plan-opt .tier-price { font-size: 18px; }
.plan-input { width: 110px; min-height: 40px; padding: 6px 10px; border: 1.5px solid #CDC3D8; border-radius: var(--r-sm); }
.fee-form select { min-height: 44px; padding: 6px 8px; border: 1.5px solid #CDC3D8; border-radius: var(--r-sm); }

/* password reset helpers */
.row-actions { display: flex; gap: 8px; align-items: flex-start; flex-wrap: wrap; justify-content: flex-end; }
details.mini { position: relative; }
details.mini > summary { list-style: none; cursor: pointer; }
details.mini > summary::-webkit-details-marker { display: none; }
details.mini[open] > form { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
details.mini input, .wrap-row form.inline input { padding: 8px 10px; border: 1px solid var(--line); border-radius: 3px; font: inherit; min-width: 0; max-width: 200px; }
@media (max-width: 600px) { .line { flex-wrap: wrap; } .row-actions { justify-content: flex-start; } }

/* connections */
.conn-grid .card { display: flex; flex-direction: column; gap: 4px; }
.field .label { display: block; font-weight: 600; margin-bottom: 6px; }
.conn-test { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); }
.test-row { display: flex; gap: 8px; flex-wrap: wrap; flex: 1 1 260px; }
.test-row input { flex: 1 1 160px; min-width: 0; padding: 8px 10px; border: 1px solid var(--line); border-radius: 3px; font: inherit; }
code.copy { word-break: break-all; user-select: all; }
.secret-input { -webkit-text-security: disc; text-security: disc; font-family: monospace; letter-spacing: .05em; }
.conn-diag { margin-top: 12px; line-height: 1.6; }
.conn-diag code { word-break: break-all; }

/* online payments */
.paynow { border: 2px solid var(--sunrise); }
.paynow h2 { margin-bottom: 4px; }
.paynow-box { display: flex; flex-direction: column; gap: 10px; margin: 12px 0; padding: 12px; border-radius: 3px; background: rgba(246,139,52,.08); }
.paynow-box .paycard { margin: 0; }
.paynow-box .test-row { flex-direction: column; align-items: stretch; flex: none; }
.paynow-box .test-row input, .paynow-box .test-row button { flex: none; max-width: none; }
.paynow-box .test-row label { font-weight: 600; font-size: .9rem; }
.paynow-box .paycard .btn { width: 100%; }

/* clinic sign-offs */
.signoff { margin: 20px 0; padding: 16px; border: 1px solid var(--line); border-radius: 3px; }
.signoff h3 { margin-top: 0; }
.signoff-list { margin: 10px 0 14px; padding-left: 22px; }
.signoff-list li { padding: 6px 0; border-bottom: 1px dashed var(--line); }
.signoff-list li.done::marker { color: var(--sunrise); font-weight: 700; }
.signoff-form { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.signoff-form input { flex: 1 1 220px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 3px; font: inherit; }
.role-pill { display: inline-block; font-size: .75rem; padding: 1px 8px; border-radius: 3px; background: rgba(0,61,121,.08); color: var(--ink, #003D79); margin-left: 6px; }

/* medical review */
.medical { margin: 20px 0; padding: 16px; border: 1px solid var(--line); border-left: 4px solid var(--sunrise); border-radius: 3px; }
.medical h3 { margin-top: 0; }
.med-items { list-style: none; padding: 0; margin: 8px 0; font-size: .9rem; }
.med-items li { padding: 4px 0; }
.med-v { display: inline-block; min-width: 40px; font-weight: 700; }
.med-items li.yes .med-v { color: #1E7B45; } .med-items li.no .med-v { color: #B42318; } .med-items li.na .med-v { color: #6B7280; }
.med-table { width: 100%; border-collapse: collapse; margin: 10px 0; font-size: .9rem; }
.med-table th, .med-table td { padding: 6px; border-bottom: 1px solid var(--line); text-align: center; }
.med-table td:first-child, .med-table th:first-child { text-align: left; }
.med-form > form { margin-top: 12px; }

/* homepage hero with a background picture (Admin > Homepage). Desktop picture 1920 x 600. */
.hero.has-bg { position: relative; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -2; display: block; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.hero.focus-left .hero-bg img { object-position: left center; }
.hero.focus-right .hero-bg img { object-position: right center; }
.hero.has-bg::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero.has-bg .hero-in { min-height: clamp(520px, 31.25vw, 600px); padding-top: 48px; padding-bottom: 48px; }
.hero.no-card .hero-copy { max-width: 720px; }
.hero.shade-light::before { background: linear-gradient(90deg, rgba(255,251,253,.94) 0%, rgba(255,251,253,.82) 42%, rgba(255,251,253,0) 72%); }
.hero.shade-dark::before { background: linear-gradient(90deg, rgba(46,15,76,.9) 0%, rgba(46,15,76,.72) 42%, rgba(46,15,76,0) 72%); }
.hero.shade-dark .hero-copy, .hero.shade-dark .h-xl { color: #fff; }
.hero.shade-dark .swahili { color: #FFB3D4; }
.hero.shade-dark .ticks li::before { background: var(--sunrise); }
.hero.shade-dark .btn.ghost { color: #fff; box-shadow: inset 0 0 0 2px #fff; }
.hero.shade-dark .btn.ghost:hover { background: rgba(255,255,255,.12); }
.hero.has-bg .hero-card { box-shadow: 0 18px 40px rgba(46,15,76,.25); }
@media (max-width: 760px) {
  .hero.has-bg .hero-in { min-height: 0; padding-top: 36px; padding-bottom: 40px; }
  .hero.shade-light::before { background: rgba(255,251,253,.84); }
  .hero.shade-dark::before { background: linear-gradient(180deg, rgba(46,15,76,.88), rgba(46,15,76,.72)); }
}
.hero-preview { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; margin: 12px 0 4px; }
.hero-preview .hero .hero-in { min-height: 0; padding: 28px 24px; transform-origin: top left; }
.hero-preview .hero .h-xl { font-size: 34px; } .hero-preview .hero .lead { font-size: 16px; } .hero-preview .hero .hero-card { max-width: 300px; }
.hero-thumbs { margin: 16px 0 12px; display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end; }
.hero-thumbs figure { margin: 0; font-size: 13px; color: var(--stone); }
.hero-thumbs img { display: block; height: 90px; width: auto; border-radius: 6px; border: 1px solid var(--line); }

/* Every word starts with a capital letter (Admin > Settings > Text style). */
body.cap-words, body.cap-words button, body.cap-words .btn, body.cap-words select, body.cap-words option { text-transform: capitalize; }
body.cap-words :is(input, textarea, code, pre, kbd, samp, .nocap, .sms, .wa-msg, .wa-body, a[href^="mailto:"]) { text-transform: none; }
body.cap-words :is(input, textarea)::placeholder { text-transform: none; }
