:root {
  --green: #0b8a3e;
  --green-700: #08702f;
  --green-900: #064d22;
  --green-50: #eaf6ee;
  --green-100: #d3eedb;
  --pink: #e4007c;
  --pink-600: #c2006a;
  --pink-50: #fdebf4;
  --pink-200: #f3a9cf;
  --grey: #a6a6a6;
  --ink: #15201a;
  --ink-2: #435047;
  --ink-3: #6b776f;
  --line: #e3e8e4;
  --bg: #f6f8f6;
  --card: #ffffff;
  --amber: #b86e00;
  --amber-50: #fff4e0;
  --red: #c62828;
  --red-50: #fdecec;
  --blue: #1d5fbf;
  --blue-50: #e8f0fc;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(10, 30, 15, .06), 0 4px 16px rgba(10, 30, 15, .06);
  --shadow-lg: 0 10px 40px rgba(10, 30, 15, .16);
  --head: 'Barlow', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --body: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --nav-h: 64px;
  --safe-b: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--body); font-size: 15px; line-height: 1.5; color: var(--ink);
  background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.15; margin: 0 0 .4em; letter-spacing: -.01em; }
h1 { font-size: clamp(28px, 5vw, 40px); font-weight: 800; }
h2 { font-size: 24px; font-weight: 700; }
h3 { font-size: 18px; font-weight: 700; }
p { margin: 0 0 .8em; }
a { color: var(--green-700); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
:where(svg[aria-hidden="true"]) { width: 18px; height: 18px; flex: none; vertical-align: -3px; }
small, .muted { color: var(--ink-3); }
.small { font-size: 13px; }
hr { border: 0; border-top: 1px solid var(--line); margin: 16px 0; }
.hidden { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- buttons & inputs ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid transparent; border-radius: 999px; padding: 10px 18px; min-height: 42px;
  font: 600 14px/1 var(--body); cursor: pointer; text-decoration: none !important; white-space: nowrap;
  background: var(--green); color: #fff; transition: background .15s, transform .05s, box-shadow .15s;
}
.btn:hover { background: var(--green-700); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn.pink { background: var(--pink); }
.btn.pink:hover { background: var(--pink-600); }
.btn.ghost { background: transparent; color: var(--green-700); border-color: var(--green-100); }
.btn.ghost:hover { background: var(--green-50); }
.btn.light { background: #fff; color: var(--ink); border-color: var(--line); }
.btn.light:hover { background: #f1f4f2; }
.btn.danger { background: #fff; color: var(--red); border-color: #f2c6c6; }
.btn.danger:hover { background: var(--red-50); }
.btn.sm { padding: 6px 12px; min-height: 34px; font-size: 13px; }
.btn.block { width: 100%; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

label.field { display: block; margin-bottom: 14px; }
label.field > span { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
input, select, textarea {
  width: 100%; font: 15px/1.4 var(--body); color: var(--ink); background: #fff;
  border: 1px solid #cfd8d2; border-radius: var(--radius-sm); padding: 11px 12px; min-height: 44px;
}
textarea { min-height: 88px; resize: vertical; }
input:focus, select:focus, textarea:focus, .btn:focus-visible { outline: 3px solid rgba(11, 138, 62, .25); outline-offset: 1px; border-color: var(--green); }
input[type=checkbox], input[type=radio] { width: 18px; height: 18px; min-height: 0; accent-color: var(--green); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; margin-bottom: 12px; cursor: pointer; }
.check input { margin-top: 2px; flex: none; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 14px; }
@media (max-width: 640px) { .grid2, .grid3 { grid-template-columns: 1fr; } }

/* ---------- cards / layout ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.card + .card { margin-top: 14px; }
.card.flat { box-shadow: none; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.card-head h3 { margin: 0; }
.stack > * + * { margin-top: 14px; }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }
.cols-2 { display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px; align-items: start; }
@media (max-width: 900px) { .cols-2 { grid-template-columns: 1fr; } }
.row { display: flex; align-items: center; gap: 12px; }
.row.between { justify-content: space-between; }
.row.wrap { flex-wrap: wrap; }
.grow { flex: 1; min-width: 0; }
.right { text-align: right; }
.center { text-align: center; }
.mt { margin-top: 14px; } .mb { margin-bottom: 14px; }
.ellipsis { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.page-head h1 { font-size: 28px; margin: 0; }
.page-head p { margin: 4px 0 0; color: var(--ink-3); }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; margin-bottom: 14px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.stat .label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-3); }
.stat .value { font: 800 26px/1.2 var(--head); margin-top: 4px; font-variant-numeric: tabular-nums; }
.stat .sub { font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.bar { height: 6px; border-radius: 99px; background: var(--green-50); margin-top: 8px; overflow: hidden; }
.bar > i { display: block; height: 100%; background: var(--green); border-radius: 99px; }

/* ---------- lists ---------- */
.list { list-style: none; margin: 0; padding: 0; }
.list > li, .list > a { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; }
.list > li:last-child, .list > a:last-child { border-bottom: 0; }
.list > a:hover { background: #fafcfa; }
.item-title { font-weight: 600; }
.item-sub { font-size: 13px; color: var(--ink-3); }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--green-50); color: var(--green-700); display: grid; place-items: center; font: 700 15px var(--head); flex: none; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.icon-tile { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; background: var(--green-50); color: var(--green-700); }
.icon-tile.pink { background: var(--pink-50); color: var(--pink); }
.icon-tile.blue { background: var(--blue-50); color: var(--blue); }
.icon-tile.amber { background: var(--amber-50); color: var(--amber); }
.icon-tile svg { width: 20px; height: 20px; }

table.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-3); font-weight: 600; padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 -18px; padding: 0 18px; }

/* ---------- badges ---------- */
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 99px; font-size: 12px; font-weight: 600; white-space: nowrap; background: #eef1ef; color: var(--ink-2); }
.badge.green { background: var(--green-50); color: var(--green-700); }
.badge.pink { background: var(--pink-50); color: var(--pink-600); }
.badge.amber { background: var(--amber-50); color: var(--amber); }
.badge.red { background: var(--red-50); color: var(--red); }
.badge.blue { background: var(--blue-50); color: var(--blue); }

.notice { border-radius: var(--radius-sm); padding: 12px 14px; font-size: 14px; background: var(--green-50); color: var(--green-900); border: 1px solid var(--green-100); }
.notice.amber { background: var(--amber-50); color: #6d4300; border-color: #f6dcae; }
.notice.pink { background: var(--pink-50); color: #7a0042; border-color: #f7cde2; }
.notice.red { background: var(--red-50); color: #7f1717; border-color: #f2c6c6; }
.empty { text-align: center; padding: 34px 16px; color: var(--ink-3); }
.empty svg { width: 40px; height: 40px; color: var(--green-100); margin-bottom: 6px; }

/* ---------- tabs / chips ---------- */
.tabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 2px; margin-bottom: 14px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { border: 1px solid var(--line); background: #fff; color: var(--ink-2); border-radius: 99px; padding: 7px 14px; font: 600 13px var(--body); cursor: pointer; white-space: nowrap; }
.tab.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid #cfd8d2; background: #fff; border-radius: 10px; padding: 9px 12px; font: 600 14px var(--body); cursor: pointer; min-width: 72px; text-align: center; color: var(--ink); }
.chip:hover { border-color: var(--green); }
.chip.active { background: var(--green); border-color: var(--green); color: #fff; }
.chip:disabled { opacity: .35; text-decoration: line-through; cursor: not-allowed; }
.choice { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.choice label { border: 1.5px solid var(--line); border-radius: 12px; padding: 12px; cursor: pointer; display: block; background: #fff; }
.choice label:has(input:checked) { border-color: var(--green); background: var(--green-50); }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice .t { font-weight: 700; display: flex; align-items: center; gap: 8px; }
.choice .t svg { width: 18px; height: 18px; color: var(--green); }
.choice .d { font-size: 13px; color: var(--ink-3); margin-top: 2px; }

/* ---------- timeline ---------- */
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline li { position: relative; padding: 0 0 16px 26px; }
.timeline li::before { content: ''; position: absolute; left: 6px; top: 6px; bottom: -6px; width: 2px; background: var(--line); }
.timeline li:last-child::before { display: none; }
.timeline li::after { content: ''; position: absolute; left: 0; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--green); border: 3px solid var(--green-50); }
.steps { display: flex; gap: 4px; margin: 6px 0 14px; }
.steps i { flex: 1; height: 6px; border-radius: 99px; background: var(--line); }
.steps i.on { background: var(--green); }

/* ---------- app shell ---------- */
.topbar {
  position: sticky; top: 0; z-index: 30; height: 60px; display: flex; align-items: center; gap: 12px;
  padding: 0 16px; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none !important; }
.brand img { width: 36px; height: 36px; }
.brand b { font: 800 17px/1 var(--head); color: var(--pink); letter-spacing: .02em; display: block; }
.brand small { font: 600 9px/1.2 var(--body); letter-spacing: .08em; color: var(--ink-2); text-transform: uppercase; }
.icon-btn { position: relative; width: 42px; height: 42px; border-radius: 50%; border: 0; background: transparent; display: grid; place-items: center; cursor: pointer; color: var(--ink-2); }
.icon-btn:hover { background: #eef2ef; }
.icon-btn svg { width: 22px; height: 22px; }
.dot { position: absolute; top: 6px; right: 6px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: var(--pink); color: #fff; font: 700 11px/18px var(--body); text-align: center; }

.shell { display: grid; grid-template-columns: 248px 1fr; min-height: calc(100vh - 60px); }
.sidebar { border-right: 1px solid var(--line); background: #fff; padding: 14px 10px; position: sticky; top: 60px; height: calc(100vh - 60px); overflow-y: auto; }
.sidebar .who { padding: 10px 12px 14px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.sidebar .who b { display: block; font-size: 14px; }
.nav-group { font-size: 11px; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; padding: 12px 12px 4px; }
.nav-link { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; color: var(--ink-2); font-weight: 500; text-decoration: none !important; }
.nav-link svg { width: 20px; height: 20px; flex: none; }
.nav-link:hover { background: #f1f5f2; }
.nav-link.active { background: var(--green-50); color: var(--green-700); font-weight: 600; }
.main { padding: 22px; max-width: 1180px; width: 100%; margin: 0 auto; min-width: 0; }

.bottom-nav { display: none; }
@media (max-width: 860px) {
  .shell { display: block; }
  .sidebar { display: none; }
  .main { padding: 16px 16px calc(var(--nav-h) + 24px + var(--safe-b)); }
  .bottom-nav {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: #fff; border-top: 1px solid var(--line);
    height: calc(var(--nav-h) + var(--safe-b)); padding-bottom: var(--safe-b);
  }
  .bottom-nav a, .bottom-nav button {
    flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border: 0; background: none;
    color: var(--ink-3); font: 600 11px var(--body); text-decoration: none !important; cursor: pointer; padding: 0 2px;
  }
  .bottom-nav svg { width: 23px; height: 23px; }
  .bottom-nav .active { color: var(--green); }
  .brand small { display: none; }
}

/* ---------- drawer / modal / toast ---------- */
.overlay { position: fixed; inset: 0; background: rgba(8, 20, 12, .45); z-index: 60; display: flex; align-items: flex-end; justify-content: center; animation: fade .15s; }
@media (min-width: 640px) { .overlay { align-items: center; padding: 20px; } }
.modal { background: #fff; width: 100%; max-width: 560px; max-height: 92vh; overflow-y: auto; border-radius: 20px 20px 0 0; padding: 20px 20px calc(20px + var(--safe-b)); box-shadow: var(--shadow-lg); animation: up .2s; }
@media (min-width: 640px) { .modal { border-radius: 20px; } }
.modal.wide { max-width: 820px; }
.modal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.modal-head h3 { margin: 0; font-size: 20px; }
.drawer { position: fixed; right: 0; top: 0; bottom: 0; width: min(420px, 100%); background: #fff; z-index: 61; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; animation: slide .2s; }
.drawer-body { overflow-y: auto; flex: 1; padding: 6px 16px 20px; }
.toast-wrap { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(var(--nav-h) + 16px + var(--safe-b)); z-index: 80; display: flex; flex-direction: column; gap: 8px; width: min(440px, calc(100% - 32px)); }
@media (min-width: 861px) { .toast-wrap { bottom: 24px; } }
.toast { background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 12px; box-shadow: var(--shadow-lg); font-size: 14px; animation: up .2s; }
.toast.error { background: var(--red); }
.toast.success { background: var(--green-700); }
@keyframes fade { from { opacity: 0; } }
@keyframes up { from { transform: translateY(16px); opacity: 0; } }
@keyframes slide { from { transform: translateX(30px); opacity: 0; } }
.spinner { width: 28px; height: 28px; border: 3px solid var(--green-100); border-top-color: var(--green); border-radius: 50%; animation: spin .7s linear infinite; margin: 40px auto; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- public site ---------- */
.site-nav { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.site-nav a.lnk { color: var(--ink-2); font-weight: 500; font-size: 14px; }
@media (max-width: 760px) { .site-nav a.lnk { display: none; } .site-nav { gap: 8px; } }
.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.hero { position: relative; overflow: hidden; background: #fff; border-bottom: 1px solid var(--line); }
.hero .container { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center; padding-top: 56px; padding-bottom: 64px; }
.hero h1 { font-size: clamp(36px, 6vw, 60px); line-height: 1.02; font-weight: 800; text-transform: uppercase; letter-spacing: -.01em; }
.hero h1 em { font-style: normal; color: var(--pink); }
.hero p.lead { font-size: 18px; color: var(--ink-2); max-width: 540px; }
.kicker { display: inline-flex; gap: 8px; align-items: center; font: 700 12px var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--green-700); background: var(--green-50); padding: 6px 12px; border-radius: 99px; margin-bottom: 16px; }
.hero-art { position: relative; aspect-ratio: 1; max-width: 460px; justify-self: center; width: 100%; }
.hero-art .blob { position: absolute; border-radius: 28%; transform: rotate(45deg); }
.hero-art .b1 { width: 62%; height: 62%; background: var(--green); left: 30%; top: 4%; }
.hero-art .b2 { width: 40%; height: 40%; background: var(--pink-200); left: 2%; top: 48%; }
.hero-art .b3 { width: 22%; height: 22%; background: #c9c9c9; left: 10%; top: 10%; border-radius: 24%; }
.hero-art .b4 { width: 14%; height: 14%; background: var(--pink-200); right: 2%; bottom: 8%; border-radius: 24%; }
.hero-art .photo { position: absolute; width: 58%; aspect-ratio: 1; left: 30%; top: 26%; border-radius: 50%; overflow: hidden; border: 8px solid #fff; box-shadow: var(--shadow-lg); background: #eee; }
.hero-art .photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); }
.hero-art .tagcard { position: absolute; left: 0; bottom: 6%; background: #fff; border-radius: 14px; padding: 10px 14px; box-shadow: var(--shadow-lg); font-size: 13px; }
.hero-art .tagcard b { display: block; font-family: var(--head); font-size: 15px; }
@media (max-width: 860px) { .hero .container { grid-template-columns: 1fr; padding-top: 32px; gap: 24px; } .hero-art { max-width: 340px; } }
.section { padding: 64px 0; }
.section.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 660px; margin-bottom: 30px; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; text-transform: uppercase; }
.eyebrow { font: 700 12px var(--body); color: var(--pink); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 8px; }
.svc { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.svc .card { border-top: 4px solid var(--green); }
.svc .card:nth-child(2n) { border-top-color: var(--pink); }
.journey { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; counter-reset: j; }
.journey div { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px; counter-increment: j; }
.journey div::before { content: counter(j, decimal-leading-zero); font: 800 22px var(--head); color: var(--pink); display: block; }
.journey b { display: block; margin: 2px 0; }
.journey span { font-size: 13px; color: var(--ink-3); }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.plan { background: #fff; border: 1.5px solid var(--line); border-radius: 18px; padding: 22px; display: flex; flex-direction: column; }
.plan.featured { border-color: var(--green); box-shadow: 0 8px 30px rgba(11, 138, 62, .14); }
.plan .price { font: 800 36px/1 var(--head); margin: 8px 0 2px; }
.plan .price small { font: 500 14px var(--body); color: var(--ink-3); }
.plan ul { list-style: none; padding: 0; margin: 14px 0 18px; flex: 1; }
.plan li { padding: 5px 0 5px 26px; position: relative; font-size: 14px; }
.plan li::before { content: ''; position: absolute; left: 0; top: 9px; width: 16px; height: 16px; border-radius: 50%; background: var(--green-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b8a3e' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/10px no-repeat; }
.founder { display: grid; grid-template-columns: 300px 1fr; gap: 36px; align-items: center; }
.founder .pic { aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 10px solid var(--pink-50); }
.founder .pic img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); }
@media (max-width: 760px) { .founder { grid-template-columns: 1fr; } .founder .pic { max-width: 240px; } }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.fact { background: var(--green-900); color: #fff; border-radius: 16px; padding: 18px; }
.fact b { font: 800 30px/1 var(--head); display: block; color: #9be3b4; }
.fact span { font-size: 13px; opacity: .85; }
.footer { background: var(--ink); color: #c9d3cc; padding: 40px 0 calc(40px + var(--safe-b)); font-size: 14px; }
.footer a { color: #fff; }
.footer .cols { gap: 24px; }
.auth-wrap { min-height: calc(100vh - 60px); display: grid; place-items: center; padding: 24px 16px; background: linear-gradient(160deg, var(--green-50), #fff 50%, var(--pink-50)); }
.auth-card { width: 100%; max-width: 440px; }
.role-pills { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 14px; }

/* ---------- e-prescription print ---------- */
.rx-doc { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 28px; max-width: 760px; }
.rx-doc .rx-head { display: flex; justify-content: space-between; gap: 16px; border-bottom: 3px solid var(--green); padding-bottom: 14px; margin-bottom: 14px; }
.rx-doc .big-rx { font: 800 44px/1 var(--head); color: var(--pink); }
.rx-code { font: 700 22px/1 ui-monospace, Menlo, monospace; letter-spacing: .15em; background: var(--green-50); color: var(--green-900); padding: 8px 12px; border-radius: 8px; display: inline-block; }
.otp { font: 800 34px/1 ui-monospace, Menlo, monospace; letter-spacing: .3em; color: var(--green-900); }
@media print {
  .topbar, .sidebar, .bottom-nav, .no-print, .toast-wrap { display: none !important; }
  .shell { display: block; } .main { padding: 0; }
  body { background: #fff; }
  .rx-doc { border: 0; padding: 0; }
}
.plan .price small { display: block; margin-top: 6px; }
.cols > .card + .card, .cols-2 > .card + .card, .plans > * + * { margin-top: 0; }
.row.wrap > .grow { min-width: 190px; }

/* ---------- login panels ---------- */
.portals { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 900px) { .portals { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .portals { grid-template-columns: 1fr; } }
.portal { display: flex; flex-direction: column; gap: 4px; background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--green); border-radius: var(--radius); padding: 18px; color: inherit; text-decoration: none !important; box-shadow: var(--shadow); transition: transform .12s, box-shadow .12s; }
.portal:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.portal h3 { margin: 10px 0 0; }
.portal p { margin: 0 0 8px; flex: 1; }
.portal-go { font-weight: 600; font-size: 14px; color: var(--green-700); display: inline-flex; align-items: center; gap: 6px; }
.portal.pink { border-top-color: var(--pink); } .portal.pink .portal-go { color: var(--pink-600); }
.portal.blue { border-top-color: var(--blue); } .portal.blue .portal-go { color: var(--blue); }
.portal.amber { border-top-color: var(--amber); } .portal.amber .portal-go { color: var(--amber); }
.portal-card { border-top: 5px solid var(--green); }
.portal-card.pink { border-top-color: var(--pink); } .portal-card.blue { border-top-color: var(--blue); } .portal-card.amber { border-top-color: var(--amber); }
.flow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 12px; color: var(--ink-2); }
.flow span { background: var(--bg); border: 1px solid var(--line); border-radius: 99px; padding: 3px 9px; }
.flow i { font-style: normal; color: var(--ink-3); }
