/* ZOHRx show build — mobile-first, calm, one action per screen. */
:root {
  --ink: #17203a;
  --muted: #5b6478;
  --line: #e3e7ef;
  --accent: #2b4acb;
  --accent-soft: #eef1f8;
  --warn-bg: #fff7e6;
  --warn-line: #e8cf8f;
  --ok: #177245;
  --ok-bg: #e9f6ef;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: #fff; color: var(--ink);
  font: 16px/1.55 -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
.wrap { max-width: 480px; margin: 0 auto; padding: 0 18px; }
main.wrap { padding-bottom: 40px; }
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 18px; border-bottom: 1px solid var(--line);
  position: sticky; top: 0; background: #fff; z-index: 5;
}
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.brand img { height: 30px; width: auto; display: block; }
.brand-rx { font-weight: 800; font-size: 20px; color: var(--accent); letter-spacing: .02em; }
.preview-chip {
  font-size: 12px; font-weight: 700; color: #7a5c14;
  background: var(--warn-bg); border: 1px solid var(--warn-line);
  padding: 3px 10px; border-radius: 999px;
}
.hero { text-align: center; padding: 36px 6px 8px; }
.hero img { width: 240px; max-width: 80%; height: auto; }
.hero h1 { font-size: 27px; line-height: 1.25; margin: 18px 0 8px; }
.promise { color: var(--muted); font-size: 17px; margin: 0 auto 6px; max-width: 34ch; }
h1 { font-size: 25px; line-height: 1.3; margin: 22px 0 6px; }
h2 { font-size: 19px; margin: 24px 0 8px; }
.lede { color: var(--muted); font-size: 16px; margin: 4px 0 14px; }
.small { font-size: 13px; color: var(--muted); }
.btn {
  display: block; width: 100%; text-align: center; text-decoration: none;
  background: var(--accent); color: #fff; border: 0; border-radius: 12px;
  padding: 16px 18px; font: inherit; font-size: 17px; font-weight: 700;
  cursor: pointer; margin: 18px 0 10px; min-height: 56px;
}
.btn.secondary { background: #fff; color: var(--accent); border: 1.5px solid var(--accent); }
.btn.ghost { background: var(--accent-soft); color: var(--accent); }
.btn:disabled { opacity: .45; }
.backlink { display: inline-block; margin: 16px 0 0; color: var(--accent); text-decoration: none; font-weight: 600; }
.door {
  display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink);
  border: 1.5px solid var(--line); border-radius: 14px; padding: 15px 16px; margin: 10px 0;
  min-height: 64px; background: #fff;
}
.door:active { border-color: var(--accent); }
.door .door-main { flex: 1; }
.door .door-name { font-weight: 700; font-size: 17px; display: block; }
.door .door-promise { color: var(--muted); font-size: 14px; display: block; margin-top: 1px; }
.door .door-count { color: var(--muted); font-size: 13px; font-weight: 700; white-space: nowrap; }
.door .chev { color: var(--muted); font-size: 20px; }
.door.later { border-style: dashed; background: #fafbfc; }
.wave-tag {
  font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  color: #7a5c14; background: var(--warn-bg); border: 1px solid var(--warn-line);
  border-radius: 999px; padding: 2px 8px; margin-left: 8px; vertical-align: 2px;
}
.search {
  width: 100%; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 12px;
  font: inherit; margin: 14px 0 4px; background: #fff;
}
.item-row {
  display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink);
  border: 1px solid var(--line); border-radius: 12px; padding: 13px 15px; margin: 8px 0; min-height: 56px;
}
.item-row .item-main { flex: 1; }
.item-row .item-name { font-weight: 700; display: block; }
.item-row .item-blurb { color: var(--muted); font-size: 14px; display: block; margin-top: 1px; }
.chip {
  display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent); white-space: nowrap;
}
.chip.status { background: var(--ok-bg); color: var(--ok); }
.chip.lane-c { background: #f1f1f4; color: var(--muted); }
.group-head {
  font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted); margin: 22px 0 2px;
}
.card { border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; margin: 12px 0; }
.card h2, .card h3 { margin-top: 0; }
.engines { display: flex; gap: 10px; margin: 14px 0 4px; }
.engine {
  flex: 1; min-width: 0; border: 1.5px solid var(--line); border-radius: 14px;
  padding: 14px; background: #fff;
}
.engine-tag {
  font-size: 11.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
  color: var(--accent); display: block;
}
.engine-name { font-size: 19px; font-weight: 800; display: block; margin-top: 2px; }
.engine-keep { font-weight: 800; display: block; margin: 6px 0 4px; }
.engine p { margin: 4px 0; font-size: 14px; }
.engine-basis { color: var(--muted); font-size: 12.5px; display: block; margin-top: 6px; }
.engines-line { font-size: 16.5px; margin: 10px 0 2px; }
.notice {
  background: var(--warn-bg); border: 1px solid var(--warn-line); border-radius: 12px;
  padding: 14px 16px; margin: 16px 0; font-size: 15px;
}
.flag {
  background: #fdf0ef; border: 1px solid #efc4c0; border-radius: 12px;
  padding: 13px 15px; margin: 12px 0; font-size: 14.5px;
}
.flag strong { color: #8c2b23; }
.fact { margin: 10px 0; }
.fact .fact-label { font-size: 12.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.fact p { margin: 3px 0 0; }
.progressbar { height: 6px; background: var(--accent-soft); border-radius: 999px; margin: 18px 0 6px; overflow: hidden; }
.progressbar > div { height: 100%; background: var(--accent); border-radius: 999px; }
.q-label { font-size: 21px; font-weight: 700; line-height: 1.35; margin: 16px 0 6px; }
input[type="text"], input[type="number"], textarea, select {
  width: 100%; padding: 14px; border: 1.5px solid var(--line); border-radius: 12px;
  font: inherit; background: #fff; margin: 8px 0 4px; min-height: 54px;
}
textarea { min-height: 84px; }
.choice {
  display: block; width: 100%; text-align: left; border: 1.5px solid var(--line); background: #fff;
  border-radius: 12px; padding: 15px 16px; font: inherit; font-weight: 600; margin: 8px 0;
  cursor: pointer; min-height: 56px;
}
.choice.picked { border-color: var(--accent); background: var(--accent-soft); }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 12px 0; font-size: 15.5px; }
.check .tick { color: var(--ok); font-weight: 800; }
.labrow { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.labrow:last-child { border-bottom: 0; }
.labrow .lab-name { font-weight: 700; }
.labrow .lab-note { color: var(--muted); font-size: 13.5px; display: block; }
.labrow .lab-value { font-weight: 800; white-space: nowrap; }
.sample-tag {
  font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
  background: var(--warn-bg); border: 1px solid var(--warn-line); color: #7a5c14;
  border-radius: 999px; padding: 2px 9px;
}
.seam {
  border: 2px solid var(--accent); border-radius: 16px; padding: 20px 18px; margin: 18px 0;
  background: #fbfcff;
}
.seam h2 { margin-top: 0; }
.status-pill {
  display: inline-block; font-weight: 800; font-size: 14px; color: #7a5c14;
  background: var(--warn-bg); border: 1px solid var(--warn-line);
  border-radius: 999px; padding: 6px 14px; margin: 6px 0 4px;
}
.stat-row { display: flex; gap: 10px; margin: 10px 0; }
.stat {
  flex: 1; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px;
}
.stat .stat-label { font-size: 12.5px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.stat .stat-value { font-weight: 700; margin-top: 3px; font-size: 15px; }
.chart { width: 100%; height: auto; display: block; margin: 8px 0; }
.retention-img { width: 100%; height: auto; display: block; border-radius: 8px; }
.foot { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 14px; padding-bottom: 26px; }
.foot p { color: var(--muted); font-size: 12.5px; margin: 0; }
.msg { margin: 10px 0; font-size: 15px; }
.msg.error { color: #b3261e; }
.steps-dots { color: var(--muted); font-size: 13.5px; font-weight: 700; }
