/* BodhiPep vial reference cards (the rx/ pages). Phone-first, same look as site.css. */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ground: #FAF7F2; --surface: #FFFFFF; --line: #E4E0D8; --line-soft: #EEEAE3;
  --ink: #1A2018; --text-muted: #4F5A51;
  --moss: #3D5C42; --moss-dark: #2F4A34; --moss-tint: #EEF2EC;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans); background: var(--ground); color: var(--ink);
  font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased;
  max-width: 520px; margin: 0 auto; min-height: 100vh;
}
a { color: var(--moss); }
strong { font-weight: 600; }

.hdr {
  background: var(--surface); border-bottom: 1px solid var(--line);
  padding: 10px 16px; display: flex; align-items: center; gap: 10px;
  position: sticky; top: 0; z-index: 20;
}
.hdr-logo { width: 28px; height: 28px; flex-shrink: 0; }
.hdr-brand { font-family: var(--serif); font-size: 22px; font-weight: 600; line-height: 1; }
.hdr-sku {
  margin-left: auto; padding: 4px 12px; background: var(--surface);
  border: 1px solid var(--line); border-radius: 999px; font-size: 13px; font-weight: 600;
}

.hero { padding: 24px 16px 8px; }
.hero-cat {
  font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--moss); margin-bottom: 6px;
}
.hero-name { font-family: var(--serif); font-size: 2.6rem; font-weight: 600; line-height: 1.05; margin-bottom: 4px; }
.hero-strength { font-size: 19px; font-weight: 500; color: var(--ink); margin-bottom: 6px; }
.hero-contents { font-size: 14px; color: var(--text-muted); }

.recon-card, .steps-section, .dose-section, .proto-section, .storage-section {
  margin: 16px; padding: 20px; background: var(--surface);
  border: 1px solid var(--line); border-radius: 12px;
}
.recon-card-header, .steps-label, .dose-label, .proto-label, .storage-label {
  font-size: 18px; font-weight: 600; line-height: 1.3; margin-bottom: 12px;
}

.recon-stats { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.recon-stat { border: 0 !important; }
.recon-stat-label {
  font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 4px;
}
.recon-stat-val { font-size: 22px; font-weight: 600; line-height: 1.2; color: var(--ink); }
.recon-stat-val[style] { font-size: 15px !important; padding-top: 4px !important; }
.recon-stat-unit { font-size: 15px; font-weight: 500; color: var(--text-muted); }

.steps { display: flex; flex-direction: column; }
.step { display: flex; align-items: stretch; }
.step-left { display: flex; flex-direction: column; align-items: center; width: 32px; flex-shrink: 0; }
.step-num {
  width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0;
  background: var(--moss-tint); color: var(--moss-dark);
  font-size: 14px; font-weight: 600; display: flex; align-items: center; justify-content: center;
}
.step-line { width: 2px; background: var(--line-soft); flex: 1; }
.step:last-child .step-line { display: none; }
.step-body { padding: 3px 0 18px 14px; flex: 1; }
.step:last-child .step-body { padding-bottom: 0; }
.step-text { font-size: 16px; color: var(--ink); }

.blend-note {
  margin: 16px; padding: 14px 16px; background: var(--moss-tint);
  border-radius: 12px; font-size: 15px; color: var(--ink);
}

.dose-sub { font-size: 14px; color: var(--text-muted); margin: -6px 0 12px; }
.dose-table { width: 100%; border-collapse: collapse; }
.dose-table th {
  font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--text-muted); padding: 8px 10px; text-align: left;
}
.dose-table td { padding: 12px 10px; border-top: 1px solid var(--line-soft); font-size: 16px; vertical-align: top; line-height: 1.4; }
.dose-table tr.start-row td { background: var(--moss-tint); }
.td-units { font-weight: 600; color: var(--moss-dark); white-space: nowrap; }
.td-vol { font-size: 14px; color: var(--text-muted); white-space: nowrap; }
.td-note { display: block; margin-top: 2px; font-size: 13px; font-weight: 600; color: var(--moss-dark); }

.proto-text, .storage-text { font-size: 16px; color: var(--ink); }
.storage-icon { display: none; }

.notice { margin: 20px 16px; }
.notice p { font-size: 14px; color: var(--text-muted); }

.footer {
  background: var(--surface); border-top: 1px solid var(--line);
  padding: 24px 16px 32px; text-align: center;
}
.footer-tag { font-size: 14px; color: var(--text-muted); margin-bottom: 14px; }
.footer-btn {
  display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px;
  background: var(--moss); color: #FFFFFF; border-radius: 8px;
  font-size: 16px; font-weight: 500; text-decoration: none;
}
.footer-btn:hover { background: var(--moss-dark); }
