:root {
  --navy: #0b2035;
  --navy-deep: #071827;
  --ink: #142536;
  --muted: #5f6f7d;
  --accent: #087f8c;
  --accent-dark: #056570;
  --line: #d8e0e5;
  --surface: #ffffff;
  --wash: #f3f6f7;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, "Segoe UI", Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
html, body { margin: 0; min-width: 320px; max-width: 100%; background: var(--surface); color: var(--ink); font-family: var(--sans); line-height: 1.55; }
body { min-height: 100vh; }
button, input, select, textarea { font: inherit; }
a { color: inherit; }
:focus-visible { outline: 3px solid rgba(8, 127, 140, .35); outline-offset: 2px; }
.skip-link { position: fixed; top: -80px; left: 16px; z-index: 1000; padding: 10px 14px; background: white; color: var(--navy); border: 1px solid var(--navy); }
.skip-link:focus { top: 12px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.public-page { min-height: 100vh; background: white; }
.public-wrap { width: min(1200px, calc(100% - 64px)); margin: 0 auto; }
.public-header { position: sticky; top: 0; z-index: 100; height: 72px; padding: 0 max(32px, calc((100vw - 1200px) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 28px; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); }
.public-brand { color: var(--navy); font-family: var(--serif); font-size: 27px; font-weight: 700; letter-spacing: -.04em; text-decoration: none; }
.public-brand span { color: var(--accent); }
.public-header nav { display: flex; align-items: center; gap: 25px; }
.public-header nav a { color: #3f5263; font-size: 13px; font-weight: 600; text-decoration: none; }
.public-header nav a:hover, .public-header nav a[aria-current="page"] { color: var(--accent-dark); }
.public-header nav a.header-login { padding: 10px 16px; color: #fff; background: var(--navy); border: 1px solid var(--navy); }
.public-menu { display: none; border: 1px solid var(--line); background: white; color: var(--navy); padding: 8px 12px; }

.public-hero { padding: 36px 0 40px; background: #f7f9f9; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: center; gap: 40px; }
.public-kicker, .eyebrow, .section-label { margin: 0 0 12px; color: var(--accent-dark); font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.hero-copy h1, .public-section h2 { margin: 0; color: var(--navy); font-family: var(--serif); font-weight: 600; letter-spacing: -.045em; }
.hero-copy h1 { max-width: 18ch; font-size: clamp(28px, 3.6vw, 42px); line-height: 1.12; }
.public-lede { max-width: 650px; margin: 16px 0 0; color: #536675; font-size: 18px; line-height: 1.6; }
.public-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.public-button, .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 19px; border: 1px solid transparent; border-radius: 4px; font-weight: 700; font-size: 14px; text-decoration: none; cursor: pointer; }
.public-button.primary, .btn-primary { background: var(--accent-dark); color: #fff; border-color: var(--accent-dark); }
.public-button.primary:hover, .btn-primary:hover { background: var(--accent-dark); }
.public-button.secondary, .btn-ghost { background: white; color: var(--navy); border-color: #bfcbd2; }
.clinical-caveat { margin: 22px 0 0; color: #6a7883; font-size: 12px; }

.product-preview { margin: 0; background: white; border: 1px solid #bfcbd2; box-shadow: 0 22px 56px rgba(11,32,53,.13); }
.preview-topbar { height: 46px; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; color: white; background: var(--navy); }
.preview-topbar strong { font-family: var(--serif); font-size: 17px; }.preview-topbar strong span { color: #66c2c9; }
.preview-topbar nav { display: flex; gap: 15px; color: #c7d3da; font-size: 8px; text-transform: uppercase; letter-spacing: .08em; }
.preview-body { display: grid; grid-template-columns: 38% 62%; min-height: 280px; }
.preview-body aside { padding: 22px; background: #f1f4f5; border-right: 1px solid var(--line); }
.preview-body p { margin: 0 0 8px; color: var(--accent-dark); font-family: var(--mono); font-size: 8px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.preview-body h3 { margin: 0 0 22px; color: var(--navy); font-family: var(--serif); font-size: 19px; }
.preview-body aside div { margin: 0 0 14px; }.preview-body aside span { display: block; margin-bottom: 5px; color: #5e6d77; font-size: 8px; font-weight: 700; text-transform: uppercase; }.preview-body aside i { display: block; height: 24px; background: white; border: 1px solid #cfd8dc; }
.preview-body section { padding: 28px 26px; }.preview-body section h3 { margin-bottom: 14px; font-size: 27px; }.preview-body section h4 { margin: 34px 0 10px; color: var(--navy); font-size: 12px; }
.preview-rule { height: 2px; background: var(--accent); width: 40px; }.preview-line { height: 7px; width: 68%; margin: 8px 0; background: #dfe6e8; }.preview-line.long { width: 94%; }.preview-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 46px; }.preview-columns i { height: 72px; border-top: 2px solid var(--accent); background: #f1f4f5; }
.product-preview figcaption { padding: 10px 15px; color: #62717c; border-top: 1px solid var(--line); font-size: 10px; text-align: right; }

.value-strip { border-bottom: 1px solid var(--line); }.value-strip .public-wrap { display: grid; grid-template-columns: repeat(4, 1fr); }.value-strip .public-wrap > div { padding: 22px 24px; border-right: 1px solid var(--line); }.value-strip .public-wrap > div:first-child { border-left: 1px solid var(--line); }.value-strip strong, .value-strip span { display: block; }.value-strip strong { color: var(--navy); font-family: var(--serif); font-size: 17px; }.value-strip span { margin-top: 3px; color: var(--muted); font-size: 12px; }
.public-section { padding: 56px 0; border-bottom: 1px solid var(--line); }.public-section h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.15; }.split-heading { display: grid; grid-template-columns: 1fr .8fr; gap: 90px; align-items: end; }.split-heading > p, .split-heading > div > p:not(.public-kicker), .clinician-callout p { color: var(--muted); font-size: 17px; line-height: 1.75; }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 64px; border-top: 1px solid var(--navy); }.process-grid article { padding: 26px 30px 10px 0; border-right: 1px solid var(--line); }.process-grid article + article { padding-left: 30px; }.process-grid article:last-child { border-right: 0; }.process-grid article > span { color: var(--accent-dark); font-family: var(--mono); font-size: 11px; }.process-grid h3 { margin: 22px 0 10px; color: var(--navy); font-family: var(--serif); font-size: 25px; }.process-grid p { color: var(--muted); }
.evidence-section { background: var(--navy); color: #dce5ea; }.evidence-section h2 { color: white; }.evidence-section .public-lede { color: #b9c7d0; }.evidence-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: center; }.text-link { color: #6dccd2; font-weight: 700; text-decoration: none; }.evidence-table { border-top: 1px solid #587080; }.evidence-table > div { display: grid; grid-template-columns: 160px 1fr; gap: 25px; padding: 20px 0; border-bottom: 1px solid #354e5f; }.evidence-table strong { color: white; }.evidence-table span { color: #afbec7; }.evidence-note { display: grid; grid-template-columns: 220px 1fr; gap: 30px; margin-top: 70px; padding-top: 25px; border-top: 1px solid #354e5f; }.evidence-note p { margin: 0; color: #afbec7; }
.clinician-callout { display: grid; grid-template-columns: 1fr .8fr; gap: 90px; padding-left: 28px; border-left: 5px solid var(--accent); }.clinician-callout .public-button { margin-top: 20px; }.security-section { background: var(--wash); }.oncology-now-public { padding-top: 80px; padding-bottom: 80px; }
.public-footer { padding: 55px 0 24px; color: #adbbc5; background: var(--navy-deep); }.public-footer .public-brand { color: white; }.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 50px; }.public-footer nav { display: grid; gap: 8px; }.public-footer nav a, .public-footer a { text-decoration: none; }.public-footer p { margin: 9px 0; }.footer-bottom { margin-top: 35px; padding-top: 20px; border-top: 1px solid #294051; font-size: 12px; }

/* Shared utility styling retained for login, legal, account setup, and legacy admin routes. */
.page { min-height: 100vh; background: var(--wash); }.page-main, .legal { width: min(900px, calc(100% - 40px)); margin: 0 auto; padding: 60px 0 90px; }.page-main h1, .legal h1 { margin: 0 0 14px; color: var(--navy); font-family: var(--serif); font-size: clamp(32px, 5vw, 42px); }.kicker { color: var(--accent-dark); font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }.lede, .hint, .rec-copy, .legal p { color: var(--muted); }.form-card, .result-card, .state-card, .card, .stat-card { margin: 24px 0; padding: 26px; background: white; border: 1px solid var(--line); border-radius: 5px; }.form-grid, .grid-2, .grid-3 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }.field { display: flex; flex-direction: column; gap: 6px; }.field.full { grid-column: 1/-1; }.field label { color: #4f6271; font-size: 12px; font-weight: 700; }.field input, .field select, .field textarea { width: 100%; min-height: 42px; padding: 9px 11px; border: 1px solid #bac7ce; border-radius: 3px; background: white; color: var(--ink); }.confirm { display: flex; gap: 9px; margin-top: 16px; }.actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; }.btn:disabled { opacity: .5; }.error { color: #a12f36; }.tag { display: inline-block; padding: 3px 8px; border: 1px solid #b8c5cc; border-radius: 2px; font-size: 11px; }.tag.ok { color: #176b4b; border-color: #78ac96; }.tag.halt { color: #a12f36; border-color: #d5a0a4; }.rec-name { color: var(--navy); font-family: var(--serif); font-size: 25px; }.result-label { color: var(--accent-dark); font-size: 11px; font-weight: 700; text-transform: uppercase; }.table-wrap { overflow-x: auto; }.admin-table { width: 100%; border-collapse: collapse; }.admin-table th, .admin-table td { padding: 9px; text-align: left; border-bottom: 1px solid var(--line); }.linkish { padding: 0; border: 0; color: var(--accent); background: none; cursor: pointer; }.stat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }

@media (max-width: 980px) {
  .public-wrap { width: min(100% - 36px, 900px); }.public-header { padding: 0 18px; }.public-menu { display: block; }.public-header nav { display: none; position: absolute; top: 71px; left: 0; right: 0; padding: 20px; align-items: stretch; background: white; border-bottom: 1px solid var(--line); }.public-header nav.open { display: grid; }.hero-grid { grid-template-columns: 1fr; }.product-preview { max-width: 760px; }.value-strip .public-wrap { grid-template-columns: repeat(2, 1fr); }.split-heading, .evidence-grid, .clinician-callout { grid-template-columns: 1fr; gap: 35px; }.process-grid { grid-template-columns: 1fr; }.process-grid article, .process-grid article + article { padding: 24px 0; border-right: 0; border-bottom: 1px solid var(--line); }.footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) { .public-hero { padding: 28px 0 32px; }.hero-copy h1 { font-size: clamp(26px, 8vw, 34px); }.preview-body { grid-template-columns: 42% 58%; min-height: 240px; }.preview-body aside, .preview-body section { padding: 16px; }.preview-topbar nav { display: none; }.value-strip .public-wrap, .footer-grid, .form-grid, .grid-2, .grid-3, .stat-grid { grid-template-columns: 1fr; }.evidence-table > div { grid-template-columns: 1fr; gap: 6px; }.evidence-note { grid-template-columns: 1fr; }.public-section { padding: 44px 0; } }
.compact-hero { gap: 36px; }
.explore-section { padding: 56px 0; }
.walkthrough-notice { max-width: 70ch; color: var(--muted); }
.walk-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 16px; }
.walk-tabs button { min-height: 42px; padding: 8px 14px; border: 1px solid var(--line); background: white; color: var(--navy); font-weight: 700; cursor: pointer; }
.walk-tabs button[aria-selected="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.walk-panel .text-link, .news-card .text-link { color: var(--accent-dark); }
.walk-panel { border: 1px solid var(--line); background: white; padding: 22px; }
.walk-ui-label { margin: 0 0 10px; color: var(--accent-dark); font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.walk-file { font-family: var(--mono); font-size: 13px; overflow-wrap: anywhere; }
.walk-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; margin: 0; }
.walk-fields dt { color: var(--muted); font-size: 12px; font-weight: 700; }
.walk-fields dd { margin: 2px 0 0; color: var(--navy); }
.walk-fields .blank { color: var(--muted); font-style: italic; }
.news-reviewed { color: var(--muted); max-width: 70ch; }
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 28px; }
.news-card { padding: 20px; border: 1px solid var(--line); background: white; }
.news-card h3 { margin: 8px 0 12px; color: var(--navy); font-family: var(--serif); font-size: 22px; line-height: 1.25; overflow-wrap: anywhere; }
.news-label { margin: 0; color: var(--accent-dark); font-size: 12px; font-weight: 700; }
.news-meta { color: var(--muted); font-size: 13px; }
.faq-list { display: grid; gap: 18px; }
.faq-list dt { color: var(--navy); font-weight: 750; }
.faq-list dd { margin: 6px 0 0; color: var(--muted); max-width: 70ch; }
.operator-note { margin-top: 28px; color: var(--muted); font-size: 13px; }
@media (max-width: 980px) {
  .news-grid, .walk-fields { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }
