/* site-v5.css (SITEDESIGN-20261112, medora-brand-designer, 2026-11-12). Every public page except the homepage (which has home-v5.css).
   Scope: body.site-v5 (added by tools/edit_pages.py). Loaded after site-v3.css / homepage.css. Restyles only: no copy, link or layout-order change.
   Same system as the approved homepage: header-aligned container, tighter rhythm, navy hero + final bands (Kokomo deck contrast),
   sentence-case cyan kickers, no amber pills (dot + text), no mono, no card shadows/glow, hand-drawn underline highlights. Geist only. */

body.site-v5 {
  --navy: #0B1620; --navy2: #112130; --hair-d: #243445; --kick-d: #5CC8F5; --sub-d: #B4C0CE; --fine-d: #9AA7B7; --link-d: #9FDCF8;
  --acc5: #0A6E99; --ink5: #0B1220; --slate5: #4B5768;
}
body.site-v5 .v { --mono: var(--sans); }

/* ---------- Width + rhythm (.v pages): same box as the header .container ---------- */
body.site-v5 .v .x-w, body.site-v5 .v .w { max-width: 1200px; padding: 0 32px; }
@media (min-width: 1280px) { body.site-v5 .v .x-w, body.site-v5 .v .w { max-width: 1320px; } }
@media (min-width: 1536px) { body.site-v5 .v .x-w, body.site-v5 .v .w { max-width: 1440px; } }
body.site-v5 .v .xs, body.site-v5 .v .xwhy, body.site-v5 .v .xfaq, body.site-v5 .v .xflow { padding: 104px 0; }
body.site-v5 .v .xs + .xs { padding-top: 0; }
body.site-v5 .v .sec { padding: 96px 0; }
body.site-v5 .v .xart { padding: 80px 0 32px; }
body.site-v5 .v .head { margin-bottom: 40px; }
body.site-v5 .v .xhow .head3 { padding: 72px 0 8px; }
body.site-v5 .v .xhow li { padding: 24px 0 72px; }

/* ---------- Navy hero band (every .xh) ---------- */
body.site-v5 .v .xh { background: var(--navy); color: var(--sub-d); padding: 136px 0 96px; }
body.site-v5 .v .xh h1, body.site-v5 .v .xh .t h1 { color: #fff; }
body.site-v5 .v .xh .lead, body.site-v5 .v .xh .t > p, body.site-v5 .v .xh .muted, body.site-v5 .v .xh .small { color: var(--sub-d); }
body.site-v5 .v .xh .fine { color: var(--fine-d); border-top-color: var(--hair-d); }
body.site-v5 .v .xh .t a:not(.b), body.site-v5 .v .xh .fine a { color: var(--link-d); }
body.site-v5 .v .xh .eyebrow, body.site-v5 .v .xh .mod, body.site-v5 .v .xh .t > .k { color: var(--kick-d); font: 600 18px/1.3 var(--sans); letter-spacing: -0.005em; text-transform: none; }
body.site-v5 .v .xh .mod b, body.site-v5 .v .xh .mod strong { color: #fff; }
body.marketing-site.site-v5 .v .xh a.b-ink, body.site-v5 .v .xh .b-ink { background: #fff; color: var(--ink5); border-color: #fff; }
body.site-v5 .v .xh .b-ink:hover { background: #E6EDF5; }
body.marketing-site.site-v5 .v .xh a.b-line, body.site-v5 .v .xh .b-line { background: transparent; color: #fff; border-color: rgba(255,255,255,.42); }
body.marketing-site.site-v5 .v .xh a.b-text, body.site-v5 .v .xh .b-text { color: var(--link-d); }
body.site-v5 .v .xh .phone { box-shadow: 0 0 0 1px rgba(255,255,255,.16); }
body.site-v5 .v .xh .u .cap, body.site-v5 .v .xh .ui-cap { color: var(--fine-d); }
body.site-v5 .v .xh .vid { box-shadow: 0 0 0 1px var(--hair-d); }
/* article heroes: title band, text column */
body.site-v5 .v .xh:not(:has(.u)) { padding: 128px 0 72px; }
body.site-v5 .v .xh .chip { color: var(--sub-d); }

/* ---------- Final band ---------- */
body.site-v5 .v .xfin, body.site-v5 .v .final { background: var(--navy); }
body.site-v5 .v .xfin { padding: 112px 0; }
body.marketing-site.site-v5 .v .xfin a.b-text, body.site-v5 .v .final .b-text { color: var(--link-d); }
body.site-v5 .v .xfin .note, body.site-v5 .v .final .facts { color: var(--fine-d); }

/* ---------- Kickers: sentence case, no mono, no tracking ---------- */
body.site-v5 .v .eyebrow, body.site-v5 .v .kicker, body.site-v5 .v .press-k, body.site-v5 .v .h5-k, body.site-v5 .v .mod .k,
body.site-v5 .v .xhow .n, body.site-v5 .v .flow-steps .k, body.site-v5 .v .st-kicker, body.site-v5 .v .seq li::before {
  font-family: var(--sans); letter-spacing: 0; text-transform: none; }
body.site-v5 .v .kicker, body.site-v5 .v .press-k, body.site-v5 .v .xhow .n { font-weight: 600; font-size: 15px; color: var(--acc5); }
body.site-v5 .v.v .xhow .n { font: 600 15px/1.3 var(--sans); }

/* ---------- Status: no amber/green fills, dot + slate text ---------- */
body.site-v5 .v .pill, body.site-v5 .v .pill.draft, body.site-v5 .v .pill.ok { background: none; padding: 0; border-radius: 0; color: #3B4757; font-weight: 600; }
body.site-v5 .v .pill.draft::before { background: var(--acc5); }
body.site-v5 .v .pill.ok::before { background: #15803D; }
body.site-v5 .v .tag, body.site-v5 .v .tag.ok { background: none; padding: 0; color: var(--slate5); }
body.site-v5 .v .index .row .note { color: var(--slate5); }
body.site-v5 .v .chip { font-family: var(--sans); letter-spacing: 0; text-transform: none; font-size: 14px; border: 0; padding: 0; color: var(--slate5); }
body.site-v5 .v .chip i { background: var(--acc5); }
body.site-v5 .v .phone .sign.ok { background: #fff; color: var(--ink5); border: 1px solid #CDD5DF; }
body.site-v5 .v .code { background: none; padding: 0; border-radius: 0; color: var(--acc5); font-weight: 600; font-variant-numeric: tabular-nums; }

/* ---------- Product UI: one family, quiet labels, no floating shadows ---------- */
body.site-v5 .v .ui { box-shadow: none; border-color: #D5DCE5; }
body.site-v5 .v .ui-meta, body.site-v5 .v .ui-h, body.site-v5 .v .qr .tm, body.site-v5 .v .ln .who, body.site-v5 .v .src, body.site-v5 .v .bub .lang,
body.site-v5 .v .phone .mt, body.site-v5 .v .phone .sec2 h6, body.site-v5 .v .thumb, body.site-v5 .v .phone .psr.ph, body.site-v5 .v .sr.sh span,
body.site-v5 .v .sr span + span, body.site-v5 .v .phone .psr span + span, body.site-v5 .v .phone .rec .tm {
  font-family: var(--sans); letter-spacing: 0; text-transform: none; }
body.site-v5 .v .ui-meta { font-size: 13px; }
body.site-v5 .v .ui-h { font-size: 12px; font-weight: 600; color: var(--slate5); }
body.site-v5 .v .phone .sec2 h6 { font-weight: 600; color: var(--slate5); }
body.site-v5 .v .sr.sh span, body.site-v5 .v .phone .psr.ph { font-weight: 600; }
body.site-v5 .v .stage { background: none; padding: 0; min-height: 0; border-radius: 0; }
body.site-v5 .v .stage > .ui { max-width: none; }
/* highlight: hand-drawn Medora-blue underline (no tinted box) */
body.site-v5 .v .ln.hl, body.site-v5 .v .nl.hl { box-shadow: none; border-radius: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 8' preserveAspectRatio='none'%3E%3Cpath d='M2 5.6C38 2.6 78 6.8 118 4S176 4.6 198 2.8' fill='none' stroke='%2312A2E0' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat; }
body.site-v5 .v .ln.hl { background-size: calc(100% - 20px) 8px; background-position: 10px calc(100% - 1px); padding-bottom: 11px; }
body.site-v5 .v .nl.hl { background-size: 100% 7px; background-position: 0 100%; padding: 0 0 5px; margin: 0; }
body.site-v5 .v .src { color: var(--ink2, #2C3A4E); font-weight: 500; }

/* skin flow: no vertical rail, steps divided by hairlines; panel without the grey box */
body.site-v5 .v .flow-steps { padding-left: 0; gap: 0; justify-content: flex-start; }
body.site-v5 .v .flow-steps::before, body.site-v5 .v .flow-steps::after, body.site-v5 .v .flow-steps li::before { display: none; }
body.site-v5 .v .flow-steps li { border-top: 1px solid var(--rule, #E3E8EF); }
body.site-v5 .v .flow-steps li:last-child { border-bottom: 1px solid var(--rule, #E3E8EF); }
body.site-v5 .v .flow-steps li.on { box-shadow: inset 0 2px 0 var(--acc5); }
body.site-v5 .v .flow-steps button { padding: 18px 0; border-radius: 0; }
body.site-v5 .v .flow-steps .k { font: 600 15px/1.3 var(--sans); color: var(--slate5); }
body.site-v5 .v .flow-steps li.on .k { color: var(--acc5); }
body.site-v5 .v .flow-panels { background: #F4F6F9; border-radius: 14px; min-height: 440px; }
body.site-v5 .v .fp > .ui { border: 0; max-width: 640px; }

/* ---------- Article guides inside .v (.xart .st-guide): kickers, notes, cards ---------- */
body.site-v5 .v .st-guide .kicker, body.site-v5 .v [class*="st-"] .kicker { color: var(--acc5); }
body.site-v5 .v .note, body.site-v5 .v .st-note, body.site-v5 .v .st-guide .note { background: none; box-shadow: none; border-radius: 0; border-top: 1px solid var(--rule, #E3E8EF); border-bottom: 1px solid var(--rule, #E3E8EF); padding: 14px 0; }
body.site-v5 .v [class*="st-card-f"], body.site-v5 .v .st-panel { box-shadow: none; }
body.site-v5 .v [class*="st-"] { --mono: var(--sans); }

/* ---------- Legacy guide pages (homepage.css .g-hero / .g-guide / .cta-section) ---------- */
body.site-v5.marketing-site, body.site-v5 .g-guide, body.site-v5 .g-hero, body.site-v5 .cta-section,
body.site-v5 .g-hero .hero-title, body.site-v5 .g-guide h2, body.site-v5 .g-guide h3, body.site-v5 .btn { font-family: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif; }
body.site-v5 .g-hero { background: var(--navy); padding: 136px 0 80px; }
body.site-v5 .g-hero::before, body.site-v5 .g-hero::after { display: none; }
body.site-v5 .g-hero .hero-title { color: #fff; font-weight: 600; letter-spacing: -0.035em; line-height: 1.04; font-size: clamp(38px, 4.4vw, 64px); text-wrap: balance; }
body.site-v5 .g-hero .hero-subtitle { color: var(--sub-d); }
body.site-v5 .g-hero .hero-badge, body.site-v5 .g-hero .hero-badge span { background: none; border: 0; box-shadow: none; padding: 0; font: 600 17px/1.3 'Geist', system-ui, sans-serif; letter-spacing: 0; text-transform: none; color: var(--kick-d); }
body.site-v5 .btn { border-radius: 8px; box-shadow: none; font-weight: 600; transform: none; }
body.site-v5 .btn:hover { transform: none; box-shadow: none; }
body.site-v5 .g-hero .btn-primary { background: #fff; color: var(--ink5); border: 1px solid #fff; }
body.site-v5 .g-hero .btn-secondary { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.42); }
body.site-v5 .g-kicker { font: 600 15px/1.3 'Geist', system-ui, sans-serif; letter-spacing: 0; text-transform: none; color: var(--acc5); }
body.site-v5 .g-guide a { color: var(--acc5); }
body.site-v5 .g-note { background: none; box-shadow: none; border-radius: 0; border-top: 1px solid #E3E8EF; border-bottom: 1px solid #E3E8EF; padding: 14px 0; }
body.site-v5 .g-toc { background: none; border: 0; border-top: 1px solid var(--ink5); border-bottom: 1px solid #E3E8EF; border-radius: 0; padding: 18px 0; }
body.site-v5 .cta-section { background: var(--navy); border-top: 0; }
body.site-v5 .cta-section h2, body.site-v5 .cta-section .cta-title { color: #fff; }
body.site-v5 .cta-section p, body.site-v5 .cta-section .cta-description { color: var(--sub-d); }
body.site-v5 .cta-section .btn-primary { background: #fff; color: var(--ink5); border: 1px solid #fff; }
body.site-v5 .cta-section .btn-secondary { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.42); }
body.site-v5 .cta-section a:not(.btn) { color: var(--link-d); }

/* ---------- Founding landing page (own CSS): navy final band only ---------- */
body.site-v5 section.fin { background: var(--navy); color: var(--sub-d); border-top: 0; }
body.site-v5 section.fin h2 { color: #fff; }
body.site-v5 section.fin p { color: var(--sub-d); }
body.site-v5 section.fin .btn-ink { background: #fff; color: var(--ink5); }
body.site-v5 section.fin .btn-line { background: transparent; color: #fff; border-color: rgba(255,255,255,.42); }
body.site-v5 section.fin a:not(.btn) { color: var(--link-d); }

/* ---------- Fixes from the frame review (page inline <style> blocks load after this file, so selectors are heavier) ---------- */
body.site-v5.marketing-site .g-hero .btn.btn-primary, body.site-v5.marketing-site .cta-section .btn.btn-primary { background: #fff; color: var(--ink5); border: 1px solid #fff; border-radius: 8px; }
body.site-v5.marketing-site .g-hero .btn.btn-secondary, body.site-v5.marketing-site .cta-section .btn.btn-secondary { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.42); border-radius: 8px; }
body.site-v5.marketing-site .cta-section :is(p, li, span, small, div):not(.btn):not(.btn *) { color: var(--sub-d); }
body.site-v5.marketing-site .cta-section a:not(.btn), body.site-v5.marketing-site .g-guide .g-medora a, body.site-v5.marketing-site .v .st-guide .st-medora a { color: var(--link-d); }
body.site-v5.marketing-site .g-guide .g-medora, body.site-v5.marketing-site .v .st-guide .st-medora { background: var(--navy); }
body.site-v5.marketing-site .v .st-guide a { color: var(--acc5); }
body.site-v5.marketing-site .v .st-guide .kicker { font: 600 15px/1.3 var(--sans); letter-spacing: 0; text-transform: none; color: var(--acc5); }
body.site-v5.marketing-site .v .st-card-b .kicker, body.site-v5.marketing-site .v .st-pipe .kicker { color: var(--kick-d); }
body.site-v5.marketing-site .v .st-faq summary::after { color: var(--acc5); }
body.site-v5.marketing-site .v .st-icdrg-tabs button, body.site-v5.marketing-site .v .st-icdrg-grade { font-family: var(--sans); }
body.site-v5.marketing-site .v .st-panel-fig { background: var(--navy); box-shadow: none; }
body.site-v5.marketing-site .v .st-steps i { box-shadow: none; }
body.site-v5.marketing-site .v .xh h1 .soft { color: var(--sub-d); }
body.site-v5.marketing-site .cta-section .cta-text-link, body.site-v5.marketing-site .g-hero .cta-text-link { color: var(--link-d) !important; } /* the guides carry an inline .cta-text-link{color:#0A6E99 !important} */
body.site-v5 { --cyan: #0A6E99; }
body.site-v5.marketing-site .v svg text, body.site-v5.marketing-site .v .news-list .d { font-family: var(--sans); }
body.site-v5.marketing-site .v .st-icdrg-tabs button { min-height: 44px; }
body.site-v5.marketing-site .v .xh .eyebrow { color: var(--kick-d); }
/* header phone menu button: 44 px tap target on every page (the homepage already has this as uxpolish-20261103) */
@media (max-width: 900px) { body.site-v5 #mobile-menu-btn, body.site-v5 .mobile-menu-btn { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; } }

/* ---------- Phone (390 / 360) ---------- */
@media (max-width: 960px) {
  body.site-v5 .v .xh { padding: 104px 0 64px; }
  body.site-v5 .v .xh:not(:has(.u)) { padding: 100px 0 48px; }
  body.site-v5 .v .xh .u { margin-top: 40px; }
  body.site-v5 .v .xs, body.site-v5 .v .xwhy, body.site-v5 .v .xfaq, body.site-v5 .v .xflow { padding: 64px 0; }
  body.site-v5 .v .xs .stage { margin-top: 32px; }
  body.site-v5 .v .sec { padding: 64px 0; }
  body.site-v5 .v .xart { padding: 48px 0 24px; }
  body.site-v5 .v .xhow .head3 { padding: 56px 0 0; }
  body.site-v5 .v .xhow li { padding: 20px 0; }
  body.site-v5 .v .xfin { padding: 72px 0; }
  body.site-v5 .v .flow-panels { min-height: 420px; }
  body.site-v5 .v .fp { padding: 16px; }
  body.site-v5 .g-hero { padding: 100px 0 48px; }
}
@media (max-width: 600px) {
  body.site-v5 .v .x-w, body.site-v5 .v .w { padding: 0 16px; }
  body.site-v5 .v .xh h1 { font-size: min(44px, 11vw); line-height: 1.04; }
  body.site-v5 .v .xh .lead { font-size: 18px; }
  body.site-v5 .v .acts .b { width: 100%; justify-content: center; min-height: 48px; }
  body.site-v5 .v .acts .b-text { width: auto; min-height: 44px; }
  body.site-v5 .v .xh .phone { --w: min(340px, calc(100vw - 32px)); aspect-ratio: 9 / 16.5; }
  body.site-v5 .v .faq summary { min-height: 44px; align-items: center; }
  body.site-v5 .g-hero .hero-cta .btn, body.site-v5 .cta-section .btn { width: 100%; justify-content: center; min-height: 48px; }
}

/* ==== SITEDESIGN mockup system v6 (2026-11-12, Pankaj via the CTO: "boxes done better") ====
   One light sheet per product screen. No outer panel, no inner bordered cards: ruled sections inside one sheet.
   App chrome mirrors the Medora app: header row with status at the right, workspace tab strip (Note / Evidence / Testing)
   with the active tab underlined in Medora blue, section labels in brand blue, app button style. Generated from
   mock/mock-v6.css.tmpl for home-v5.css and site-v5.css (same rules, different body scope). */
body.site-v5 .v.v .ui {
  --m-ink: #0F1B2A; --m-text: #253244; --m-slate: #546273; --m-blue: #0A6E99; --m-rule: #E3E8EE; --m-green: #0F7A4C;
  display: grid; grid-template-columns: auto 1fr; align-content: start;
  background: #fff; border: 1px solid #DCE3EA; border-radius: 12px; box-shadow: none; overflow: hidden;
  font: 400 14px/1.5 var(--sans); color: var(--m-text);
}
body.site-v5 .v.v .ui > * { grid-column: 1 / -1; min-width: 0; }
body.site-v5 .v.v .h5-dark .ui, body.site-v5 .v.v .xflow .ui, body.site-v5 .v.v .xh .ui { background: #F7FAFC; border-color: transparent; }

/* header row: title + meta left, status right (dot + coloured text, no fill) */
body.site-v5 .v.v .ui-bar { margin: 0 24px; padding: 18px 0 14px; border-bottom: 2px solid var(--m-blue); background: none; align-items: flex-start; gap: 16px; }
body.site-v5 .v.v .ui-pt { font-size: 16px; font-weight: 650; color: var(--m-ink); letter-spacing: -0.01em; }
body.site-v5 .v.v .ui-meta { margin-top: 2px; font: 400 13px/1.4 var(--sans); color: var(--m-slate); letter-spacing: 0; text-transform: none; }
body.site-v5 .v.v .ui-bar .pill { margin-top: 3px; padding: 0; background: none; border-radius: 0; font: 600 13px/1.3 var(--sans); }
body.site-v5 .v.v .ui-bar .pill.draft, body.site-v5 .v.v .pill.draft { color: var(--m-blue); background: none; }
body.site-v5 .v.v .ui-bar .pill.ok, body.site-v5 .v.v .pill.ok { color: var(--m-green); background: none; }
body.site-v5 .v.v .pill.draft::before { background: var(--m-blue); }
body.site-v5 .v.v .pill.ok::before { background: var(--m-green); }

/* workspace tab strip (real app: SOAP / Patient instructions / Clinical codes / Transcript / Testing), drawn in CSS so page text is unchanged */
body.site-v5 .v.v .ui:has(> .ev)::before, body.site-v5 .v.v .ui:has(> .ev)::after,
body.site-v5 .v.v .ui:is([aria-label^="Skin prick"], [aria-label^="Panel photo"], [aria-label^="Results sheet"], [aria-label^="Provider review"], [aria-label^="Patient record"], [aria-label^="Controls"], [aria-label^="A skin prick test record"])::before, body.site-v5 .v.v .ui:is([aria-label^="Skin prick"], [aria-label^="Panel photo"], [aria-label^="Results sheet"], [aria-label^="Provider review"], [aria-label^="Patient record"], [aria-label^="Controls"], [aria-label^="A skin prick test record"])::after, body.site-v5 .v.v .ui:is([aria-label^="Skin prick"], [aria-label^="Panel photo"], [aria-label^="Results sheet"], [aria-label^="Provider review"], [aria-label^="Patient record"], [aria-label^="Controls"], [aria-label^="A skin prick test record"])::before, body.site-v5 .v.v .ui:is([aria-label^="Skin prick"], [aria-label^="Panel photo"], [aria-label^="Results sheet"], [aria-label^="Provider review"], [aria-label^="Patient record"], [aria-label^="Controls"], [aria-label^="A skin prick test record"])::after,
body.site-v5 .v.v .ui[aria-label*="drafted allergy note"]::before, body.site-v5 .v.v .ui[aria-label*="drafted allergy note"]::after, body.site-v5 .v.v .ui[aria-label^="Visit note"]::before, body.site-v5 .v.v .ui[aria-label^="Visit note"]::after {
  grid-row: 2; display: block; padding: 11px 0 10px; border-bottom: 1px solid var(--m-rule);
  font: 500 13px/1.2 var(--sans); color: var(--m-slate); white-space: pre; overflow: hidden;
}
body.site-v5 .v.v .ui:has(> .ev)::before, body.site-v5 .v.v .ui:is([aria-label^="Skin prick"], [aria-label^="Panel photo"], [aria-label^="Results sheet"], [aria-label^="Provider review"], [aria-label^="Patient record"], [aria-label^="Controls"], [aria-label^="A skin prick test record"])::before, body.site-v5 .v.v .ui:is([aria-label^="Skin prick"], [aria-label^="Panel photo"], [aria-label^="Results sheet"], [aria-label^="Provider review"], [aria-label^="Patient record"], [aria-label^="Controls"], [aria-label^="A skin prick test record"])::before,
body.site-v5 .v.v .ui[aria-label*="drafted allergy note"]::before, body.site-v5 .v.v .ui[aria-label^="Visit note"]::before { grid-column: 1; margin-left: 24px; }
body.site-v5 .v.v .ui:has(> .ev)::after, body.site-v5 .v.v .ui:is([aria-label^="Skin prick"], [aria-label^="Panel photo"], [aria-label^="Results sheet"], [aria-label^="Provider review"], [aria-label^="Patient record"], [aria-label^="Controls"], [aria-label^="A skin prick test record"])::after, body.site-v5 .v.v .ui:is([aria-label^="Skin prick"], [aria-label^="Panel photo"], [aria-label^="Results sheet"], [aria-label^="Provider review"], [aria-label^="Patient record"], [aria-label^="Controls"], [aria-label^="A skin prick test record"])::after,
body.site-v5 .v.v .ui[aria-label*="drafted allergy note"]::after, body.site-v5 .v.v .ui[aria-label^="Visit note"]::after { grid-column: 2; margin-right: 24px; padding-left: 22px; }
/* active tab: ink, semibold, Medora-blue underline */
body.site-v5 .v.v .ui:is([aria-label^="Skin prick"], [aria-label^="Panel photo"], [aria-label^="Results sheet"], [aria-label^="Provider review"], [aria-label^="Patient record"], [aria-label^="Controls"], [aria-label^="A skin prick test record"])::before, body.site-v5 .v.v .ui:is([aria-label^="Skin prick"], [aria-label^="Panel photo"], [aria-label^="Results sheet"], [aria-label^="Provider review"], [aria-label^="Patient record"], [aria-label^="Controls"], [aria-label^="A skin prick test record"])::before, body.site-v5 .v.v .ui[aria-label*="drafted allergy note"]::before, body.site-v5 .v.v .ui[aria-label^="Visit note"]::before,
body.site-v5 .v.v .ui:has(> .ev)::after { color: var(--m-ink); font-weight: 600; box-shadow: inset 0 -2px 0 var(--m-blue); }
body.site-v5 .v.v .ui:has(> .ev)::after { justify-self: start; margin: 0 0 0 22px; padding-left: 0; padding-right: 0; }
body.site-v5 .v.v .ui:has(> .ev)::before { content: "Note"; }
body.site-v5 .v.v .ui:has(> .ev)::after { content: "Evidence"; }
body.site-v5 .v.v .ui:is([aria-label^="Skin prick"], [aria-label^="Panel photo"], [aria-label^="Results sheet"], [aria-label^="Provider review"], [aria-label^="Patient record"], [aria-label^="Controls"], [aria-label^="A skin prick test record"])::before, body.site-v5 .v.v .ui:is([aria-label^="Skin prick"], [aria-label^="Panel photo"], [aria-label^="Results sheet"], [aria-label^="Provider review"], [aria-label^="Patient record"], [aria-label^="Controls"], [aria-label^="A skin prick test record"])::before { content: "Testing"; }
body.site-v5 .v.v .ui:is([aria-label^="Skin prick"], [aria-label^="Panel photo"], [aria-label^="Results sheet"], [aria-label^="Provider review"], [aria-label^="Patient record"], [aria-label^="Controls"], [aria-label^="A skin prick test record"])::after, body.site-v5 .v.v .ui:is([aria-label^="Skin prick"], [aria-label^="Panel photo"], [aria-label^="Results sheet"], [aria-label^="Provider review"], [aria-label^="Patient record"], [aria-label^="Controls"], [aria-label^="A skin prick test record"])::after { content: "Note      Codes"; }
body.site-v5 .v.v .ui[aria-label*="drafted allergy note"]::before, body.site-v5 .v.v .ui[aria-label^="Visit note"]::before { content: "Note"; }
body.site-v5 .v.v .ui[aria-label*="drafted allergy note"]::after, body.site-v5 .v.v .ui[aria-label^="Visit note"]::after { content: "Instructions      Codes"; }
/* evidence: inactive "Note" then active "Evidence"; the full-width hairline is the top rule of the panes */
body.site-v5 .v.v .ui:has(> .ev) { grid-template-columns: auto auto 1fr; }
body.site-v5 .v.v .ui:has(> .ev)::before, body.site-v5 .v.v .ui:has(> .ev)::after { border-bottom: 0; }
body.site-v5 .v.v .ui:has(> .ev) > .ev { border-top: 1px solid var(--m-rule); margin: 0 24px; }
/* tabbed sheets: the tab underline is the blue rule, so the header keeps only spacing */
body.site-v5 .v.v .ui:has(> .ev) > .ui-bar, body.site-v5 .v.v .ui:is([aria-label^="Skin prick"], [aria-label^="Panel photo"], [aria-label^="Results sheet"], [aria-label^="Provider review"], [aria-label^="Patient record"], [aria-label^="Controls"], [aria-label^="A skin prick test record"]) > .ui-bar, body.site-v5 .v.v .ui:is([aria-label^="Skin prick"], [aria-label^="Panel photo"], [aria-label^="Results sheet"], [aria-label^="Provider review"], [aria-label^="Patient record"], [aria-label^="Controls"], [aria-label^="A skin prick test record"]) > .ui-bar,
body.site-v5 .v.v .ui[aria-label*="drafted allergy note"] > .ui-bar, body.site-v5 .v.v .ui[aria-label^="Visit note"] > .ui-bar { border-bottom: 0; padding-bottom: 6px; }

/* ruled sections, no inner cards */
body.site-v5 .v.v .ui-body { background: none; padding: 4px 24px 20px; }
body.site-v5 .v.v .ui-sec { background: none; border: 0; border-radius: 0; padding: 14px 0 0; margin: 0; }
body.site-v5 .v.v .ui-sec + .ui-sec { margin-top: 14px; border-top: 1px solid var(--m-rule); }
body.site-v5 .v.v .ui-h { margin: 0 0 6px; font: 600 13px/1.3 var(--sans); color: var(--m-blue); letter-spacing: 0; text-transform: none; }
body.site-v5 .v.v .ui-sec p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--m-text); }
body.site-v5 .v.v .ap { display: grid; grid-template-columns: 76px 1fr; gap: 12px; align-items: baseline; padding: 4px 0; border: 0; }
body.site-v5 .v.v .ap:first-of-type { padding-top: 0; }
body.site-v5 .v.v .code { background: none; padding: 0; border-radius: 0; font: 600 13px/1.4 var(--sans); color: var(--m-blue); font-variant-numeric: tabular-nums; letter-spacing: 0; }
body.site-v5 .v.v .ui-foot { margin: 0 24px; padding: 14px 0 18px; border-top: 1px solid var(--m-rule); background: none; gap: 16px; }
body.site-v5 .v.v .ui-hint { font-size: 13px; color: var(--m-slate); }
body.site-v5 .v.v .ui-btn { flex: none; background: var(--m-blue); color: #fff; font: 600 13.5px/1 var(--sans); padding: 10px 14px; border-radius: 8px; }

/* evidence: two panes, one rule between, same padding and label baseline; the source line ties both sides together */
body.site-v5 .v.v .ev { grid-template-columns: 1fr 1.1fr; background: none; }
body.site-v5 .v.v .ev .tr, body.site-v5 .v.v .ev .nt { background: none; padding: 16px 24px 22px 0; }
body.site-v5 .v.v .ev .nt { padding: 16px 0 22px 24px; border-left: 1px solid var(--m-rule); }
body.site-v5 .v.v .ev .tr { border-right: 0; }
body.site-v5 .v.v .ev .ui-sec:first-child { padding-top: 0; }
body.site-v5 .v.v .ev .ui-h { margin-bottom: 10px; }
body.site-v5 .v.v .ln { margin: 0 0 10px; padding: 0; border-radius: 0; box-shadow: none; font-size: 14px; line-height: 1.45; color: var(--m-text); }
body.site-v5 .v.v .ln .who { display: block; margin-bottom: 1px; font: 500 12px/1.4 var(--sans); color: var(--m-slate); letter-spacing: 0; text-transform: none; }
body.site-v5 .v.v .ln.hl .who { color: var(--m-blue); font-weight: 600; }
body.site-v5 .v.v .ln:not(.hl) { background: none; }
/* the same hand-drawn Medora-blue stroke under the spoken words and under the HPI phrase they became; timestamps in blue on both sides */
body.site-v5 .v.v .ln.hl { width: fit-content; max-width: 100%; padding: 0 0 9px; background-size: 100% 7px; background-position: 0 100%; background-repeat: no-repeat; }
body.site-v5 .v.v .nl.hl { margin: 0; padding: 0 0 5px; box-shadow: none; }
body.site-v5 .v.v .src { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font: 600 12.5px/1.2 var(--sans); color: var(--m-blue); letter-spacing: 0; text-transform: none; }

/* queue / list rows (order, templates, session controls) */
body.site-v5 .v.v .q { padding: 0 24px 6px; background: none; }
body.site-v5 .v.v .qr { margin: 0; padding: 13px 0; background: none; border-top: 1px solid var(--m-rule); grid-template-columns: minmax(84px, max-content) 1fr auto; gap: 14px; }
body.site-v5 .v.v .qr:first-child { border-top: 0; }
body.site-v5 .v.v .qr .tm { min-width: 0; white-space: nowrap; font: 600 13px/1.3 var(--sans); color: var(--m-blue); letter-spacing: 0; text-transform: none; }
body.site-v5 .v.v .qr .nm { font-weight: 600; color: var(--m-ink); font-size: 14px; }
body.site-v5 .v.v .qr .ds { color: var(--m-slate); font-size: 13px; }
body.site-v5 .v.v .qr .act { background: var(--m-blue); color: #fff; font: 600 13px/1 var(--sans); padding: 8px 12px; border-radius: 8px; }
body.site-v5 .v.v .qr .ui-hint { font-weight: 600; color: var(--m-slate); }
/* template picker (.ui.q): rows are the list itself; the selected row is marked in blue text, not a tinted row */
body.site-v5 .v.v .ui.q { padding: 0; }
body.site-v5 .v.v .ui.q > .qr { margin: 0 24px; grid-template-columns: 1fr auto auto; gap: 0 14px; }
body.site-v5 .v.v .ui.q > .qr[style] { background: none !important; }  /* the page sets an inline tint on the selected row */
body.site-v5 .v.v .ui.q > .qr[style] .nm, body.site-v5 .v.v .ui.q > .qr[style] .ui-hint { color: var(--m-blue); }
body.site-v5 .v.v .ui.q > .qr[style] .ui-hint::before { content: "\2713\00a0"; }
body.site-v5 .v.v .ui.q > .ui-bar .ui-hint { margin-top: 3px; font-weight: 600; }

/* results sheet */
body.site-v5 .v.v .sheet { padding: 2px 24px 6px; background: none; }
body.site-v5 .v.v .sr { padding: 11px 0; border-top: 1px solid var(--m-rule); font-size: 14px; color: var(--m-text); }
body.site-v5 .v.v .sr.sh { padding: 12px 0 8px; border-top: 0; }
body.site-v5 .v.v .sr.sh span { font: 600 12.5px/1.2 var(--sans); color: var(--m-slate); letter-spacing: 0; text-transform: none; }
body.site-v5 .v.v .sr .nm { font-weight: 600; color: var(--m-ink); }
body.site-v5 .v.v .sr span + span { font: 500 14px/1 var(--sans); color: var(--m-ink); font-variant-numeric: tabular-nums; }
body.site-v5 .v.v .sr .code { margin-left: 6px; font: 500 12.5px/1 var(--sans); color: var(--m-slate); }

/* panel photos: real-looking thumbnails (synthetic forearm panel), caption below */
body.site-v5 .v.v .thumbs { padding: 16px 24px 4px; gap: 12px; background: none; border: 0; }
body.site-v5 .v.v .thumb { width: 112px; height: auto; padding: 0; border: 0; border-radius: 0; background: none; display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
  font: 500 12.5px/1.2 var(--sans); color: var(--m-slate); letter-spacing: 0; text-transform: none; }
body.site-v5 .v.v .thumb::before { content: ""; align-self: stretch; height: 76px; border-radius: 8px;
  background:
    radial-gradient(circle at 30% 34%, rgba(196, 92, 80, .38) 0 6px, transparent 8.5px),
    radial-gradient(circle at 62% 34%, rgba(196, 92, 80, .30) 0 4.5px, transparent 7px),
    radial-gradient(circle, rgba(110, 44, 38, .6) 0 1.4px, transparent 2px) 6px 21px / 17px 10px repeat-x,
    radial-gradient(circle, rgba(110, 44, 38, .6) 0 1.4px, transparent 2px) 6px 47px / 17px 10px repeat-x,
    linear-gradient(172deg, #E9C7AB 0%, #DDB092 60%, #D3A486 100%); }
body.site-v5 .v.v .thumb:nth-child(2)::before { background-position: 0 0, 0 0, 12px 21px, 12px 47px, 0 0; filter: saturate(.92) brightness(1.02); }
body.site-v5 .v.v .thumb:nth-child(3)::before { filter: saturate(.85) brightness(.98); }

/* chat (interpreter): plain bubbles, no borders */
body.site-v5 .v.v .chat { background: none; padding: 16px 24px 20px; }
body.site-v5 .v.v .bub { border: 0; background: #EEF2F6; border-radius: 12px; color: var(--m-text); }
body.site-v5 .v.v .bub.r { background: #E4F0F8; border: 0; }
body.site-v5 .v.v .bub .lang { font: 600 12px/1.4 var(--sans); color: var(--m-slate); letter-spacing: 0; text-transform: none; }

/* product screens sit straight on the band: no outer panel, sized to the content (panels stack in one grid cell, so no layout shift) */
body.site-v5 .v.v .stage { background: none; padding: 0; min-height: 0; border-radius: 0; border: 0; display: block; }
body.site-v5 .v.v .stage > .ui { max-width: none; }
body.site-v5 .v.v .flow-panels { display: grid; min-height: 0; background: none; border: 0; border-radius: 0; overflow: visible; }
body.site-v5 .v.v .fp { position: relative; inset: auto; grid-area: 1 / 1; display: block; padding: 0; }
body.site-v5 .v.v .fp > .ui { max-width: none; width: 100%; font-size: 14px; }

/* hero phone: the same system on the iPhone screen */
body.site-v5 .v.v .phone .scr { background: #fff; color: var(--m-text, #253244); }
body.site-v5 .v.v .phone .top { padding: 3.5% 6% 3.2%; background: #fff; border-bottom: 1px solid #E3E8EE; }
body.site-v5 .v.v .phone .back { color: #0A6E99; }
body.site-v5 .v.v .phone .pt { color: #0F1B2A; }
body.site-v5 .v.v .phone .mt { font-family: var(--sans); font-size: .78em; color: #546273; letter-spacing: 0; text-transform: none; }
body.site-v5 .v.v .phone .pill { font-size: .78em; }
body.site-v5 .v.v .phone .body { padding: 2% 6% 3%; }
body.site-v5 .v.v .phone .sec2 { background: none; border: 0; border-radius: 0; margin: 0; padding: .8em 0; border-top: 1px solid #E3E8EE; }
body.site-v5 .v.v .phone .sec2:first-child { border-top: 0; }
body.site-v5 .v.v .phone .sec2 h6 { margin: 0 0 .35em; font: 600 .86em/1.2 var(--sans); color: #0A6E99; letter-spacing: 0; text-transform: none; }
body.site-v5 .v.v .phone .sec2 p { font-size: 1em; line-height: 1.45; color: #253244; }
body.site-v5 .v.v .phone .api { display: grid; grid-template-columns: 4.4em 1fr; gap: .5em; border: 0; padding: .2em 0; font-size: 1em; line-height: 1.4; }
body.site-v5 .v.v .phone .api .code { font-size: .92em; color: #0A6E99; }
body.site-v5 .v.v .phone .pill.ok { color: #0F7A4C; }
body.site-v5 .v.v .phone .pill.draft { color: #0A6E99; }
body.site-v5 .v.v .phone .pill.ok::before { background: #0F7A4C; }
body.site-v5 .v.v .phone .pill.draft::before { background: #0A6E99; }
body.site-v5 .v.v .phone .psr { border-top: 1px solid #E3E8EE; font-size: .98em; padding: .5em 0; }
body.site-v5 .v.v .phone .psr.ph { border-top: 0; font: 600 .74em/1.2 var(--sans); color: #546273; letter-spacing: 0; text-transform: none; }
body.site-v5 .v.v .phone .psr span + span { font-family: var(--sans); }
body.site-v5 .v.v .phone .psr .code { margin-left: .3em; font: 500 .8em/1 var(--sans); color: #546273; }
body.site-v5 .v.v .phone .bot { border-top: 1px solid #E3E8EE; }
body.site-v5 .v.v .phone .sign { background: #0A6E99; color: #fff; border: 0; border-radius: 10px; }
body.site-v5 .v.v .phone .sign.ok { background: #fff; color: #0F7A4C; border: 1px solid #CFE3D8; }
body.site-v5 .v.v .phone .hint { color: #546273; }

@media (max-width: 960px) {
  body.site-v5 .v.v .ev { grid-template-columns: 1fr; }
  body.site-v5 .v.v .ev .tr { padding: 16px 0 6px; }
  body.site-v5 .v.v .ev .nt { padding: 16px 0 20px; border-left: 0; border-top: 1px solid var(--m-rule); }
}
@media (max-width: 600px) {
  body.site-v5 .v.v .ui-bar, body.site-v5 .v.v .ui-foot { margin: 0 18px; }
  body.site-v5 .v.v .ui-body, body.site-v5 .v.v .sheet, body.site-v5 .v.v .q, body.site-v5 .v.v .thumbs, body.site-v5 .v.v .chat { padding-left: 18px; padding-right: 18px; }
  body.site-v5 .v.v .ui:has(> .ev) > .ev { margin-left: 18px; margin-right: 18px; }
  body.site-v5 .v.v .ui:has(> .ev)::before, body.site-v5 .v.v .ui:is([aria-label^="Skin prick"], [aria-label^="Panel photo"], [aria-label^="Results sheet"], [aria-label^="Provider review"], [aria-label^="Patient record"], [aria-label^="Controls"], [aria-label^="A skin prick test record"])::before, body.site-v5 .v.v .ui:is([aria-label^="Skin prick"], [aria-label^="Panel photo"], [aria-label^="Results sheet"], [aria-label^="Provider review"], [aria-label^="Patient record"], [aria-label^="Controls"], [aria-label^="A skin prick test record"])::before,
  body.site-v5 .v.v .ui[aria-label*="drafted allergy note"]::before, body.site-v5 .v.v .ui[aria-label^="Visit note"]::before { margin-left: 18px; }
  body.site-v5 .v.v .ui:is([aria-label^="Skin prick"], [aria-label^="Panel photo"], [aria-label^="Results sheet"], [aria-label^="Provider review"], [aria-label^="Patient record"], [aria-label^="Controls"], [aria-label^="A skin prick test record"])::after, body.site-v5 .v.v .ui:is([aria-label^="Skin prick"], [aria-label^="Panel photo"], [aria-label^="Results sheet"], [aria-label^="Provider review"], [aria-label^="Patient record"], [aria-label^="Controls"], [aria-label^="A skin prick test record"])::after, body.site-v5 .v.v .ui[aria-label*="drafted allergy note"]::after, body.site-v5 .v.v .ui[aria-label^="Visit note"]::after { margin-right: 18px; padding-left: 18px; }
  body.site-v5 .v.v .ui-pt { font-size: 15.5px; }
  body.site-v5 .v.v .qr { grid-template-columns: minmax(60px, max-content) 1fr auto; gap: 12px; }
  body.site-v5 .v.v .ap { grid-template-columns: 70px 1fr; gap: 10px; }
  body.site-v5 .v.v .ui.q > .qr { margin: 0 18px; grid-template-columns: 1fr auto auto; gap: 0 10px; }
  body.site-v5 .v.v .ui-foot { flex-wrap: wrap; }
  body.site-v5 .v.v .thumb { width: calc((100% - 24px) / 3); }
}
