/*
 * RadioGx design system.
 * © 2026 RadioGx™. All rights reserved. Educational and research use only. Not medical advice.
 * Everything is scoped under .rgx so the stylesheet can be embedded without resetting a host page.
 */

/* ------------------------------------------------------------------ self-hosted fonts (SIL OFL 1.1; licences in /assets/fonts). No font CDN. */
@font-face { font-family: "Bricolage Grotesque"; src: url("../fonts/BricolageGrotesque-Regular.woff") format("woff"); font-weight: 300 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Bricolage Grotesque"; src: url("../fonts/BricolageGrotesque-Bold.woff") format("woff"); font-weight: 600 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/InstrumentSans-Regular.woff") format("woff"); font-weight: 300 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/InstrumentSans-Bold.woff") format("woff"); font-weight: 600 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/InstrumentSans-Italic.woff") format("woff"); font-weight: 300 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Crimson Pro"; src: url("../fonts/CrimsonPro-Regular.woff") format("woff"); font-weight: 300 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Crimson Pro"; src: url("../fonts/CrimsonPro-Bold.woff") format("woff"); font-weight: 600 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Crimson Pro"; src: url("../fonts/CrimsonPro-Italic.woff") format("woff"); font-weight: 300 900; font-style: italic; font-display: swap; }

/* ------------------------------------------------------------------ tokens */
.rgx {
  --navy: #0b2545;
  --navy-2: #13315c;
  --navy-3: #1e4275;
  --teal: #14b8a6;
  --teal-ink: #0f766e;
  --teal-wash: #e6f7f5;
  /* Uptake orange: the "hot" end of a PET colour map. Signal, action and therapy. */
  --orange: #f26b1d;
  --orange-ink: #c2410c;
  --orange-deep: #9a3412;
  --orange-wash: #fff1e6;
  --orange-soft: #fdba74;
  --night: #061629;
  --paper: #ffffff;
  --canvas: #f4f7fa;
  --canvas-2: #eaf0f5;
  --line: #d6dee7;
  --line-2: #e6ecf2;
  --ink: #0b2545;
  --ink-2: #33475e;
  --muted: #56687c;
  --amber: #9a4a07;
  --amber-bg: #fdf3dc;
  --amber-line: #f0c96b;
  --rose: #b42318;
  --rose-bg: #fdeceb;
  --green: #067647;
  --green-bg: #e7f6ee;
  --focus: #0f766e;
  --c-gene: #4338ca;
  --c-variant: #0369a1;
  --c-protein: #7e22ce;
  --c-target: #7e22ce;
  --c-therapy: #047857;
  --c-lit: #c2410c;
  --c-device: #6d28d9;
  --c-biomarker: #be185d;
  --c-rp: #1d4ed8;
  --c-nuclide: #0e7490;
  --c-dataset: #15803d;
  --c-imaging: #475569;
  --c-edu: #0f766e;
  --c-repo: #334155;
  --c-trial: #047857;
  --c-reg: #9a3412;
  --c-patent: #57534e;
  --c-company: #1e40af;
  --c-place: #0e7490;

  --font-ui: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Bricolage Grotesque", "Avenir Next", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-read: "Crimson Pro", Charter, "Iowan Old Style", Cambria, Georgia, serif;
  --r-s: 6px;
  --r-m: 10px;
  --r-l: 16px;
  --shadow-1: 0 1px 2px rgba(11, 37, 69, 0.06), 0 1px 1px rgba(11, 37, 69, 0.04);
  --shadow-2: 0 12px 32px -12px rgba(11, 37, 69, 0.28);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --header-h: 60px;

  color: var(--ink);
  background: var(--canvas);
  font: 400 16px/1.55 var(--font-ui);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.rgx[data-theme="dark"] {
  --paper: #0f1d2f; --canvas: #091524; --canvas-2: #12243a; --line: #24384f; --line-2: #1b2e44;
  --ink: #e8eef5; --ink-2: #c3d0de; --muted: #95a8bd; --navy: #e8eef5; --navy-2: #9fb6d1; --navy-3: #5c7fa8;
  --teal-ink: #2dd4bf; --teal-wash: #0e2f33; --orange-ink: #fb923c; --orange-wash: #2b170c; --orange-soft: #fdba74; --amber: #f5c26b; --amber-bg: #2d220c; --amber-line: #6b5216;
  --rose: #ff9b8f; --rose-bg: #3a1714; --green: #6ee7a8; --green-bg: #0f2a1d; --focus: #2dd4bf;
  --c-gene: #a5b4fc; --c-variant: #7dd3fc; --c-protein: #d8b4fe; --c-target: #d8b4fe; --c-therapy: #6ee7b7;
  --c-lit: #fdba74; --c-device: #c4b5fd; --c-biomarker: #f9a8d4; --c-rp: #93c5fd; --c-nuclide: #67e8f9;
  --c-dataset: #86efac; --c-imaging: #cbd5e1; --c-edu: #5eead4; --c-repo: #cbd5e1; --c-trial: #6ee7b7;
  --c-reg: #fdba74; --c-patent: #d6d3d1; --c-company: #93c5fd; --c-place: #67e8f9;
  --shadow-2: 0 14px 34px -12px rgba(0, 0, 0, 0.6);
}
@media (prefers-color-scheme: dark) {
  .rgx:not([data-theme="light"]) {
    --paper: #0f1d2f; --canvas: #091524; --canvas-2: #12243a; --line: #24384f; --line-2: #1b2e44;
    --ink: #e8eef5; --ink-2: #c3d0de; --muted: #95a8bd; --navy: #e8eef5; --navy-2: #9fb6d1; --navy-3: #5c7fa8;
    --teal-ink: #2dd4bf; --teal-wash: #0e2f33; --orange-ink: #fb923c; --orange-wash: #2b170c; --orange-soft: #fdba74; --amber: #f5c26b; --amber-bg: #2d220c; --amber-line: #6b5216;
    --rose: #ff9b8f; --rose-bg: #3a1714; --green: #6ee7a8; --green-bg: #0f2a1d; --focus: #2dd4bf;
    --c-gene: #a5b4fc; --c-variant: #7dd3fc; --c-protein: #d8b4fe; --c-target: #d8b4fe; --c-therapy: #6ee7b7;
    --c-lit: #fdba74; --c-device: #c4b5fd; --c-biomarker: #f9a8d4; --c-rp: #93c5fd; --c-nuclide: #67e8f9;
    --c-dataset: #86efac; --c-imaging: #cbd5e1; --c-edu: #5eead4; --c-repo: #cbd5e1; --c-trial: #6ee7b7;
    --c-reg: #fdba74; --c-patent: #d6d3d1; --c-company: #93c5fd; --c-place: #67e8f9;
    --shadow-2: 0 14px 34px -12px rgba(0, 0, 0, 0.6);
  }
}

/* ------------------------------------------------------------------ base */
.rgx *, .rgx *::before, .rgx *::after { box-sizing: border-box; }
.rgx { margin: 0; min-height: 100vh; overflow-x: hidden; }
.rgx h1, .rgx h2, .rgx h3, .rgx h4 { font-family: var(--font-display); color: var(--navy); margin: 0 0 0.5em; line-height: 1.15; letter-spacing: -0.012em; }
.rgx h1 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.4rem); font-weight: 700; letter-spacing: -0.024em; }
.rgx h2 { font-size: clamp(1.45rem, 1.1rem + 1.2vw, 2.1rem); font-weight: 650; }
.rgx h3 { font-size: 1.22rem; font-weight: 650; }
.rgx h4 { font-size: 1.02rem; font-weight: 650; }
.rgx p { margin: 0 0 0.85em; }
.rgx a { color: var(--teal-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.rgx a:hover { text-decoration-thickness: 2px; }
.rgx :focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.rgx img, .rgx svg, .rgx canvas { max-width: 100%; }
.rgx small, .rgx .rgx-small { font-size: 0.86rem; }
.rgx .rgx-muted { color: var(--muted); }
.rgx .rgx-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.rgx .rgx-skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: var(--paper); padding: 10px 14px; border-radius: var(--r-s); }
.rgx .rgx-skip:focus { top: 10px; }
.rgx sup.rgx-mass { font-size: 0.62em; vertical-align: 0.62em; line-height: 0; margin-right: 0.04em; font-feature-settings: "lnum"; }
.rgx .rgx-wrap { width: min(1220px, 100% - 32px); margin-inline: auto; }
.rgx .rgx-wrap-narrow { width: min(820px, 100% - 32px); margin-inline: auto; }
.rgx .rgx-break { overflow-wrap: anywhere; word-break: break-word; }
.rgx hr { border: 0; border-top: 1px solid var(--line); margin: 1.6rem 0; }
.rgx code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.88em; background: var(--canvas-2); padding: 0.08em 0.36em; border-radius: 4px; overflow-wrap: anywhere; }
.rgx pre { background: var(--canvas-2); padding: 12px 14px; border-radius: var(--r-m); overflow: auto; font-size: 0.85rem; max-width: 100%; white-space: pre-wrap; overflow-wrap: anywhere; }

/* ------------------------------------------------------------------ header */
.rgx-header { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.rgx-header-in { display: flex; align-items: center; gap: 18px; min-height: var(--header-h); position: relative; }
.rgx-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); text-decoration: none; font: 700 1.16rem/1 var(--font-display); letter-spacing: -0.01em; white-space: nowrap; }
.rgx-brand svg { width: 30px; height: 30px; flex: none; }
.rgx-brand-sub { font: 500 0.76rem/1.2 var(--font-ui); color: var(--muted); letter-spacing: 0; display: block; margin-top: 3px; }
.rgx-nav { display: flex; gap: 2px; margin-left: auto; align-items: center; }
.rgx-nav a { color: var(--ink-2); text-decoration: none; padding: 8px 11px; border-radius: var(--r-s); font-size: 0.94rem; font-weight: 520; white-space: nowrap; }
.rgx-nav a:hover { background: var(--canvas-2); color: var(--navy); }
.rgx-nav a[aria-current="page"] { color: var(--navy); background: var(--teal-wash); }
.rgx-head-tools { display: flex; gap: 6px; align-items: center; }
.rgx-menu-btn { display: none !important; }
@media (max-width: 1100px) {
  .rgx-nav { display: none; position: absolute; left: -16px; right: -16px; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 8px 16px 16px; box-shadow: var(--shadow-2); }
  .rgx-nav.is-open { display: flex; }
  .rgx-nav a { padding: 12px; font-size: 1.02rem; }
  .rgx-menu-btn { display: inline-flex !important; }
  .rgx-head-tools { margin-left: auto; }
  .rgx-brand-sub { display: none; }
}

/* ------------------------------------------------------------------ buttons and inputs */
.rgx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 40px; padding: 8px 15px; border-radius: var(--r-s); border: 1px solid var(--line); background: var(--paper); color: var(--navy); font: 600 0.93rem/1.2 var(--font-ui); cursor: pointer; text-decoration: none; transition: background 0.15s var(--ease), border-color 0.15s var(--ease), transform 0.15s var(--ease); white-space: nowrap; }
.rgx-btn:hover { border-color: var(--navy-3); background: var(--canvas); }
.rgx-btn:active { transform: translateY(1px); }
.rgx-btn[disabled], .rgx-btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; }
.rgx-btn svg { width: 17px; height: 17px; flex: none; }
.rgx-btn-primary { background: var(--orange-ink); border-color: var(--orange-ink); color: #fff; }
.rgx-btn-primary:hover { background: var(--orange-deep); border-color: var(--orange-deep); }
.rgx[data-theme="dark"] .rgx-btn-primary, .rgx[data-theme="dark"] .rgx-btn-primary:hover { color: #1c0b02; background: var(--orange-ink); border-color: var(--orange-ink); }
@media (prefers-color-scheme: dark) { .rgx:not([data-theme="light"]) .rgx-btn-primary, .rgx:not([data-theme="light"]) .rgx-btn-primary:hover { color: #1c0b02; background: var(--orange-ink); border-color: var(--orange-ink); } }
.rgx-btn-navy { background: var(--navy); border-color: var(--navy); color: var(--paper); }
.rgx-btn-quiet { border-color: transparent; background: transparent; color: var(--teal-ink); padding-inline: 10px; }
.rgx-btn-quiet:hover { background: var(--teal-wash); border-color: transparent; }
.rgx-btn-sm { min-height: 32px; padding: 5px 10px; font-size: 0.86rem; }
.rgx-btn-icon { width: 40px; padding: 0; }
.rgx-btn-icon.rgx-btn-sm { width: 32px; }
.rgx-input, .rgx-select, .rgx-textarea { width: 100%; min-height: 42px; padding: 9px 12px; border: 1px solid var(--line); border-radius: var(--r-s); background: var(--paper); color: var(--ink); font: 400 1rem/1.3 var(--font-ui); }
.rgx-select { width: auto; max-width: 100%; padding-right: 30px; }
.rgx-input:focus, .rgx-select:focus { border-color: var(--teal-ink); outline: 2px solid color-mix(in srgb, var(--teal) 40%, transparent); outline-offset: 0; }
.rgx-field { display: grid; gap: 5px; font-size: 0.9rem; color: var(--ink-2); }
.rgx-field > span { font-weight: 600; }
.rgx-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.rgx-row-tight { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.rgx-spacer { flex: 1; }
.rgx-check { display: inline-flex; gap: 8px; align-items: center; cursor: pointer; }
.rgx-check input { width: 18px; height: 18px; accent-color: var(--teal-ink); flex: none; }

/* search */
.rgx-search { position: relative; display: flex; align-items: stretch; background: var(--paper); border: 1.5px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-1); transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease); }
.rgx-search:focus-within { border-color: var(--teal-ink); box-shadow: 0 0 0 4px color-mix(in srgb, var(--teal) 22%, transparent); }
.rgx-search svg.rgx-search-icon { width: 22px; height: 22px; margin: auto 0 auto 16px; color: var(--muted); flex: none; }
.rgx-search input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 15px 14px; font: 450 1.08rem/1.3 var(--font-ui); color: var(--ink); }
.rgx-search input:focus { outline: none; }
.rgx-search .rgx-btn { margin: 6px; border-radius: 10px; }
.rgx-search kbd { align-self: center; margin-right: 4px; }
@media (max-width: 560px) { .rgx-search kbd { display: none; } .rgx-search input { padding: 13px 8px; font-size: 1rem; } .rgx-search svg.rgx-search-icon { margin-left: 12px; } }
.rgx kbd { font: 600 0.75rem/1 var(--font-ui); border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 5px; padding: 3px 6px; color: var(--muted); background: var(--canvas); }
.rgx-examples { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.rgx-pill { border: 1px solid var(--line); background: var(--paper); color: var(--ink-2); border-radius: 999px; padding: 5px 12px; font: 500 0.88rem/1.3 var(--font-ui); cursor: pointer; }
.rgx-pill:hover { border-color: var(--teal-ink); color: var(--teal-ink); }
.rgx-pill[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--paper); }

/* ------------------------------------------------------------------ badges */
.rgx-badge { display: inline-flex; align-items: center; gap: 5px; border-radius: 999px; padding: 2px 9px 2px 7px; font: 600 0.76rem/1.5 var(--font-ui); border: 1px solid color-mix(in srgb, var(--bc, var(--muted)) 38%, transparent); color: var(--bc, var(--ink-2)); background: color-mix(in srgb, var(--bc, var(--muted)) 9%, var(--paper)); white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.rgx-badge svg { width: 12px; height: 12px; flex: none; }
.rgx-badge-dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.rgx-badge-warn { --bc: var(--amber); }
.rgx-badge-bad { --bc: var(--rose); }
.rgx-badge-good { --bc: var(--green); }
.rgx-badge-info { --bc: var(--teal-ink); }
.rgx-badge-neutral { --bc: var(--muted); }
.rgx-badges { display: flex; flex-wrap: wrap; gap: 5px; }

/* nuclide tile, the signature element */
.rgx-nuclide { display: inline-block; width: 64px; height: 64px; border-radius: 10px; border: 1.5px solid color-mix(in srgb, var(--c-nuclide) 55%, transparent); background: color-mix(in srgb, var(--c-nuclide) 8%, var(--paper)); color: var(--c-nuclide); position: relative; flex: none; }
.rgx-nuclide b { position: absolute; left: 8px; bottom: 7px; font: 750 1.5rem/1 var(--font-display); color: var(--navy); }
.rgx-nuclide i { font: 650 0.72rem/1 var(--font-ui); font-style: normal; position: absolute; top: 7px; left: 8px; }
.rgx-nuclide em { font: 600 0.6rem/1 var(--font-ui); font-style: normal; position: absolute; top: 8px; right: 7px; color: var(--muted); }
.rgx-nuclide-lg { width: 92px; height: 92px; }
.rgx-nuclide-lg b { font-size: 2.2rem; left: 10px; bottom: 10px; }

/* ------------------------------------------------------------------ cards, callouts, tables */
.rgx-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-m); padding: 18px; position: relative; min-width: 0; }
.rgx-card-head { display: flex; gap: 12px; align-items: flex-start; justify-content: space-between; margin-bottom: 8px; }
.rgx-card h3 { margin-bottom: 4px; font-size: 1.06rem; overflow-wrap: anywhere; }
.rgx-card-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.rgx-card-click { cursor: pointer; transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease); }
.rgx-card-click:hover { border-color: var(--navy-3); box-shadow: var(--shadow-1); }
.rgx-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.rgx-grid-2 { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }
.rgx-grid-3 { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); }
.rgx-callout { border: 1px solid var(--line); border-left: 4px solid var(--navy-3); background: var(--paper); border-radius: var(--r-s); padding: 12px 14px; margin: 12px 0; font-size: 0.93rem; color: var(--ink-2); }
.rgx-callout strong { color: var(--navy); }
.rgx-callout p:last-child { margin-bottom: 0; }
.rgx-callout-safety { border-left-color: var(--amber-line); background: var(--amber-bg); }
.rgx-callout-safety strong { color: var(--amber); }
.rgx-callout-privacy { border-left-color: var(--teal); background: var(--teal-wash); }
.rgx-callout-error { border-left-color: var(--rose); background: var(--rose-bg); }
.rgx-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--paper); max-width: 100%; position: relative; }
.rgx-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.rgx-table th, .rgx-table td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.rgx-table th { position: sticky; top: 0; background: var(--canvas); font-weight: 650; color: var(--ink-2); font-size: 0.82rem; white-space: nowrap; }
.rgx-table th button { border: 0; background: none; font: inherit; color: inherit; cursor: pointer; padding: 0; }
.rgx-table tbody tr:hover { background: color-mix(in srgb, var(--teal) 5%, var(--paper)); }
.rgx-table td { overflow-wrap: anywhere; min-width: 90px; }
.rgx-table td.rgx-num, .rgx-table th.rgx-num { text-align: right; font-variant-numeric: tabular-nums; min-width: 60px; }
.rgx-dl { display: grid; grid-template-columns: minmax(110px, max-content) 1fr; gap: 6px 16px; margin: 0; font-size: 0.92rem; }
.rgx-dl dt { color: var(--muted); font-weight: 600; }
.rgx-dl dd { margin: 0; overflow-wrap: anywhere; min-width: 0; }
@media (max-width: 520px) { .rgx-dl { grid-template-columns: 1fr; gap: 2px; } .rgx-dl dd { margin-bottom: 8px; } }
.rgx-clamp { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.rgx-clamp.is-open { -webkit-line-clamp: unset; display: block; }
.rgx-empty { text-align: center; padding: 34px 18px; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--r-m); background: var(--paper); }
.rgx-empty h3 { color: var(--ink-2); }

/* skeleton */
.rgx-skel { border-radius: var(--r-s); background: linear-gradient(90deg, var(--canvas-2) 0%, var(--line-2) 40%, var(--canvas-2) 80%); background-size: 300% 100%; animation: rgx-shimmer 1.4s linear infinite; height: 14px; margin: 8px 0; }
.rgx-skel-card { height: 104px; border-radius: var(--r-m); }
@keyframes rgx-shimmer { from { background-position: 100% 0; } to { background-position: -200% 0; } }

/* confidence meter */
.rgx-conf { display: grid; grid-template-columns: auto 1fr; gap: 3px 10px; align-items: center; min-width: 178px; }
.rgx-conf-num { font: 750 1.55rem/1 var(--font-display); color: var(--navy); font-variant-numeric: tabular-nums; grid-row: 1 / 3; }
.rgx-conf-label { font-size: 0.8rem; font-weight: 650; color: var(--ink-2); }
.rgx-conf-bar { height: 6px; border-radius: 6px; background: var(--canvas-2); overflow: hidden; }
.rgx-conf-bar span { display: block; height: 100%; border-radius: 6px; background: var(--teal-ink); transition: width 0.5s var(--ease); }
.rgx-conf[data-band="low"] .rgx-conf-bar span, .rgx-conf[data-band="verylow"] .rgx-conf-bar span { background: var(--muted); }
.rgx-conf[data-band="medium"] .rgx-conf-bar span { background: #6b8bb0; }

/* ------------------------------------------------------------------ tabs and segmented */
.rgx-tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: thin; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.rgx-tabs button { border: 0; background: transparent; padding: 10px 12px; border-bottom: 2.5px solid transparent; color: var(--muted); font: 600 0.92rem/1.2 var(--font-ui); cursor: pointer; white-space: nowrap; }
.rgx-tabs button[aria-selected="true"] { color: var(--navy); border-bottom-color: var(--teal-ink); }
.rgx-seg { display: inline-flex; border: 1px solid var(--line); border-radius: var(--r-s); overflow: hidden; background: var(--paper); max-width: 100%; }
.rgx-seg button { border: 0; background: transparent; padding: 7px 12px; font: 600 0.86rem/1.2 var(--font-ui); color: var(--muted); cursor: pointer; white-space: nowrap; }
.rgx-seg button + button { border-left: 1px solid var(--line); }
.rgx-seg button[aria-pressed="true"] { background: var(--navy); color: var(--paper); }

/* ------------------------------------------------------------------ drawer, modal, toast, palette */
.rgx-scrim { position: fixed; inset: 0; background: rgba(6, 18, 34, 0.42); z-index: 80; opacity: 0; transition: opacity 0.2s var(--ease); }
.rgx-scrim.is-on { opacity: 1; }
.rgx-drawer { position: fixed; z-index: 81; top: 0; right: 0; height: 100%; width: min(640px, 100%); background: var(--paper); box-shadow: var(--shadow-2); display: flex; flex-direction: column; transform: translateX(102%); transition: transform 0.28s var(--ease); }
.rgx-drawer.is-on { transform: none; }
.rgx-drawer-head { display: flex; gap: 10px; align-items: flex-start; padding: 16px 18px 12px; border-bottom: 1px solid var(--line); }
.rgx-drawer-head h2 { font-size: 1.28rem; margin: 0; overflow-wrap: anywhere; }
.rgx-drawer-body { padding: 16px 18px 28px; overflow-y: auto; flex: 1; overscroll-behavior: contain; }
@media (max-width: 720px) {
  .rgx-drawer { top: auto; bottom: 0; height: 88vh; width: 100%; border-radius: 18px 18px 0 0; transform: translateY(104%); }
  .rgx-drawer::before { content: ""; width: 44px; height: 5px; border-radius: 4px; background: var(--line); margin: 8px auto 0; flex: none; }
}
.rgx-modal { position: fixed; z-index: 82; left: 50%; top: 50%; transform: translate(-50%, -48%); opacity: 0; width: min(700px, 100% - 24px); max-height: min(86vh, 900px); overflow: auto; background: var(--paper); border-radius: var(--r-l); box-shadow: var(--shadow-2); padding: 22px; transition: opacity 0.2s var(--ease), transform 0.2s var(--ease); }
.rgx-modal.is-on { opacity: 1; transform: translate(-50%, -50%); }
.rgx-toasts { position: fixed; z-index: 90; bottom: 18px; left: 50%; transform: translateX(-50%); display: grid; gap: 8px; width: min(520px, 100% - 24px); pointer-events: none; }
.rgx-toast { background: var(--navy); color: var(--paper); padding: 11px 15px; border-radius: var(--r-m); box-shadow: var(--shadow-2); font-size: 0.93rem; animation: rgx-rise 0.25s var(--ease); pointer-events: auto; }
@keyframes rgx-rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.rgx-palette { position: fixed; z-index: 85; left: 50%; top: 12vh; transform: translateX(-50%); width: min(640px, 100% - 24px); background: var(--paper); border-radius: var(--r-l); box-shadow: var(--shadow-2); overflow: hidden; border: 1px solid var(--line); }
.rgx-palette input { border: 0; border-bottom: 1px solid var(--line); width: 100%; padding: 16px 18px; font-size: 1.05rem; background: transparent; color: var(--ink); }
.rgx-palette input:focus { outline: none; }
.rgx-palette ul { list-style: none; margin: 0; padding: 6px; max-height: 50vh; overflow: auto; }
.rgx-palette li button { width: 100%; text-align: left; border: 0; background: transparent; padding: 10px 12px; border-radius: var(--r-s); color: var(--ink); font: 500 0.95rem/1.3 var(--font-ui); cursor: pointer; display: flex; gap: 10px; align-items: center; }
.rgx-palette li button[aria-selected="true"], .rgx-palette li button:hover { background: var(--teal-wash); }
.rgx-palette li small { margin-left: auto; color: var(--muted); }

/* ------------------------------------------------------------------ footer */
.rgx-footer { border-top: 1px solid var(--line); background: var(--paper); margin-top: 64px; padding: 34px 0 40px; font-size: 0.88rem; color: var(--muted); }
.rgx-footer-grid { display: grid; gap: 26px; grid-template-columns: 1.4fr repeat(3, 1fr); }
.rgx-footer h4 { font-size: 0.92rem; color: var(--ink-2); margin-bottom: 8px; }
.rgx-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 5px; }
.rgx-footer a { color: var(--ink-2); text-decoration: none; }
.rgx-footer a:hover { color: var(--teal-ink); text-decoration: underline; }
.rgx-legal { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line-2); display: grid; gap: 6px; }
.rgx-legal p { margin: 0; max-width: 110ch; }
@media (max-width: 820px) { .rgx-footer-grid { grid-template-columns: 1fr 1fr; } .rgx-footer-grid > :first-child { grid-column: 1 / -1; } }

/* ------------------------------------------------------------------ landing */
.rgx-hero { position: relative; overflow: hidden; background: radial-gradient(1100px 520px at 84% 34%, color-mix(in srgb, var(--teal) 12%, transparent), transparent 70%), var(--paper); border-bottom: 1px solid var(--line); }
.rgx-hero-in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 40px; align-items: center; padding: 60px 0 70px; }
.rgx-hero h1 { max-width: 16ch; }
.rgx-hero h1 .rgx-hl-step { color: var(--ink-2); font-weight: 600; }
.rgx-hero-lede { font-size: 1.15rem; color: var(--ink-2); max-width: 56ch; margin-bottom: 26px; }
.rgx-hero-art { position: relative; aspect-ratio: 1; width: min(100%, 500px); justify-self: end; }
.rgx-hero-art svg { width: 100%; height: 100%; overflow: visible; }
.rgx-ring-det { fill: var(--navy); }
.rgx-ring-det.is-hit { fill: var(--teal); }
.rgx-lor { stroke: var(--teal); stroke-width: 0.9; opacity: 0; stroke-dasharray: 600; stroke-dashoffset: 600; }
.rgx-hero.is-live .rgx-lor { animation: rgx-lor 2.6s var(--ease) forwards; }
@keyframes rgx-lor { 0% { opacity: 0; stroke-dashoffset: 600; } 30% { opacity: 0.55; } 100% { opacity: 0.17; stroke-dashoffset: 0; } }
.rgx-hot { opacity: 0; transform-box: fill-box; transform-origin: center; }
.rgx-hero.is-live .rgx-hot { animation: rgx-hot 1.4s 1.8s var(--ease) forwards; }
@keyframes rgx-hot { from { opacity: 0; transform: scale(0.6); } to { opacity: 1; transform: scale(1); } }
.rgx-hero-caption { position: absolute; left: 0; bottom: -4px; font-size: 0.8rem; color: var(--muted); max-width: 34ch; }
.rgx-trust { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 20px; font-size: 0.9rem; color: var(--ink-2); }
.rgx-trust span { display: inline-flex; gap: 7px; align-items: center; }
.rgx-trust svg { width: 17px; height: 17px; color: var(--teal-ink); }
@media (max-width: 900px) {
  .rgx-hero-in { grid-template-columns: 1fr; padding: 30px 0 42px; gap: 14px; }
  .rgx-hero-art { order: -1; width: min(58%, 260px); justify-self: start; }
  .rgx-hero-caption { display: none; }
}
.rgx-section { padding: 68px 0 8px; }
.rgx-section-head { max-width: 760px; margin-bottom: 26px; }
.rgx-section-head p { color: var(--ink-2); font-size: 1.06rem; }

/* journey: a real sequence, so it is numbered */
.rgx-journey { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: station; position: relative; }
.rgx-journey::before { content: ""; position: absolute; top: 31px; left: 32px; right: 32px; height: 2px; background: linear-gradient(90deg, var(--c-imaging), var(--c-gene), var(--c-rp), var(--c-trial)); opacity: 0.55; }
.rgx-station { position: relative; padding: 0 18px 0 0; }
.rgx-station-mark { width: 64px; height: 64px; border-radius: 50%; background: var(--paper); border: 2px solid var(--sc); display: grid; place-items: center; color: var(--sc); position: relative; z-index: 1; margin-bottom: 14px; }
.rgx-station-mark svg { width: 28px; height: 28px; }
.rgx-station h3 { font-size: 1.12rem; }
.rgx-station h3::before { counter-increment: station; content: counter(station) ". "; color: var(--muted); font-weight: 600; }
.rgx-station p { font-size: 0.95rem; color: var(--ink-2); }
.rgx-station ul { padding-left: 18px; margin: 0; font-size: 0.88rem; color: var(--muted); }
@media (max-width: 860px) {
  .rgx-journey { grid-template-columns: 1fr; gap: 22px; }
  .rgx-journey::before { top: 32px; bottom: 32px; left: 31px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--c-imaging), var(--c-gene), var(--c-rp), var(--c-trial)); }
  .rgx-station { padding: 0 0 0 82px; min-height: 64px; }
  .rgx-station-mark { position: absolute; left: 0; top: 0; }
}
.rgx-boundary { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; background: var(--paper); }
.rgx-boundary > div { padding: 24px; }
.rgx-boundary > div + div { border-left: 1px solid var(--line); background: var(--canvas); }
.rgx-boundary ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
@media (max-width: 760px) { .rgx-boundary { grid-template-columns: 1fr; } .rgx-boundary > div + div { border-left: 0; border-top: 1px solid var(--line); } }
.rgx-modules { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 262px), 1fr)); }
.rgx-module { display: grid; grid-template-columns: 34px 1fr; gap: 3px 12px; padding: 14px 16px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-m); text-decoration: none; color: var(--ink); text-align: left; font: inherit; cursor: pointer; }
.rgx-module:hover { border-color: var(--mc, var(--navy-3)); }
.rgx-module svg { width: 24px; height: 24px; color: var(--mc, var(--navy)); grid-row: 1 / 3; margin-top: 2px; }
.rgx-module strong { font-family: var(--font-display); color: var(--navy); }
.rgx-module span { font-size: 0.88rem; color: var(--muted); }
.rgx-faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.rgx-faq summary { cursor: pointer; font: 650 1.05rem/1.4 var(--font-display); color: var(--navy); list-style: none; display: flex; gap: 10px; justify-content: space-between; }
.rgx-faq summary::-webkit-details-marker { display: none; }
.rgx-faq summary::after { content: "+"; font-weight: 400; color: var(--muted); font-size: 1.3rem; line-height: 1; }
.rgx-faq details[open] summary::after { content: "–"; }
.rgx-faq details p { margin: 10px 0 0; color: var(--ink-2); max-width: 75ch; }
.rgx-flow { display: block; width: 100%; height: auto; max-width: 780px; }
.rgx-flow text { font: 600 13px var(--font-ui); fill: var(--ink-2); }
.rgx-flow rect { fill: var(--paper); stroke: var(--line); }
.rgx-flow .rgx-flow-hl { stroke: var(--teal-ink); stroke-width: 1.5; }
.rgx-flow path { stroke: var(--teal-ink); fill: none; stroke-width: 1.6; }
.rgx-flow .rgx-flow-head { fill: var(--teal-ink); stroke: none; }

/* ------------------------------------------------------------------ page heads */
.rgx-page-head { padding: 38px 0 16px; }
.rgx-page-head p.rgx-lede { font-size: 1.1rem; color: var(--ink-2); max-width: 70ch; }
.rgx-crumbs { font-size: 0.86rem; color: var(--muted); margin-bottom: 10px; }
.rgx-crumbs a { color: var(--muted); }
.rgx-privacy-badge { display: inline-flex; gap: 8px; align-items: flex-start; font-size: 0.86rem; color: var(--ink-2); background: var(--teal-wash); border: 1px solid color-mix(in srgb, var(--teal) 30%, transparent); padding: 7px 11px; border-radius: var(--r-s); max-width: 100%; }
.rgx-privacy-badge svg { width: 16px; height: 16px; color: var(--teal-ink); flex: none; margin-top: 2px; }

/* ------------------------------------------------------------------ workspace */
.radiogx-workspace { padding-bottom: 40px; }
.rgx-ws-top { padding: 22px 0 10px; }
.rgx-ws-grid { display: grid; grid-template-columns: 238px minmax(0, 1fr); gap: 22px; align-items: start; }
.rgx-rail { position: sticky; top: calc(var(--header-h) + 14px); display: grid; gap: 2px; max-height: calc(100vh - var(--header-h) - 28px); overflow-y: auto; padding-right: 4px; scrollbar-width: thin; }
.rgx-rail h4 { font-size: 0.76rem; color: var(--muted); margin: 14px 10px 4px; font-weight: 700; }
.rgx-rail button { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; border: 0; background: transparent; padding: 7px 10px; border-radius: var(--r-s); color: var(--ink-2); font: 550 0.9rem/1.25 var(--font-ui); cursor: pointer; }
.rgx-rail button svg { width: 17px; height: 17px; flex: none; color: var(--mc, var(--muted)); }
.rgx-rail button:hover { background: var(--canvas-2); color: var(--navy); }
.rgx-rail button[aria-current="true"] { background: var(--paper); color: var(--navy); box-shadow: inset 3px 0 0 var(--teal-ink), var(--shadow-1); }
.rgx-rail .rgx-count { margin-left: auto; font-size: 0.75rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.rgx-main { min-width: 0; }
.rgx-panel-head { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; justify-content: space-between; margin: 6px 0 14px; }
.rgx-panel-head h2 { margin: 0; }
.rgx-panel-head p { margin: 4px 0 0; color: var(--muted); font-size: 0.93rem; max-width: 72ch; }
@media (max-width: 980px) {
  .rgx-ws-grid { grid-template-columns: 1fr; gap: 12px; }
  .rgx-rail { position: static; max-height: none; display: flex; overflow-x: auto; gap: 6px; padding-bottom: 6px; }
  .rgx-rail h4 { display: none; }
  .rgx-rail button { width: auto; white-space: nowrap; background: var(--paper); border: 1px solid var(--line); }
  .rgx-rail button[aria-current="true"] { box-shadow: none; border-color: var(--teal-ink); background: var(--teal-wash); }
}
.rgx-interp { display: grid; gap: 12px; }
.rgx-interp-top { border: 1.5px solid var(--teal-ink); background: linear-gradient(180deg, var(--teal-wash), var(--paper) 70%); }
.rgx-interp-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 18px; }
.rgx-interp-card .rgx-conf { justify-self: end; align-self: start; }
.rgx-interp-alt { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); }
.rgx-signals { margin: 6px 0 0; padding-left: 18px; font-size: 0.88rem; color: var(--ink-2); }
.rgx-signals li { margin: 2px 0; }
.rgx-signals li.is-neg { color: var(--amber); }
@media (max-width: 600px) { .rgx-interp-card { grid-template-columns: 1fr; } .rgx-interp-card .rgx-conf { justify-self: start; } }
.rgx-counts { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 172px), 1fr)); }
.rgx-count-tile { text-align: left; border: 1px solid var(--line); background: var(--paper); border-radius: var(--r-m); padding: 11px 13px; cursor: pointer; color: var(--ink); display: grid; gap: 2px; font: inherit; }
.rgx-count-tile:hover { border-color: var(--mc, var(--navy-3)); }
.rgx-count-tile b { font: 750 1.4rem/1.1 var(--font-display); color: var(--navy); font-variant-numeric: tabular-nums; }
.rgx-count-tile span { font-size: 0.84rem; color: var(--muted); display: flex; gap: 6px; align-items: center; }
.rgx-count-tile span::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--mc, var(--muted)); flex: none; }
.rgx-src-strip { display: flex; flex-wrap: wrap; gap: 6px; }
.rgx-src { display: inline-flex; align-items: center; gap: 6px; font-size: 0.8rem; border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px 3px 8px; background: var(--paper); color: var(--ink-2); }
.rgx-src::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); flex: none; }
.rgx-src[data-state="ok"]::before { background: var(--green); }
.rgx-src[data-state="loading"]::before { background: var(--teal); animation: rgx-pulse 1s infinite alternate; }
.rgx-src[data-state="error"]::before { background: var(--rose); }
.rgx-src[data-state="skipped"]::before { background: transparent; border: 1.5px solid var(--muted); }
@keyframes rgx-pulse { from { opacity: 0.35; } to { opacity: 1; } }
.rgx-result { display: grid; gap: 6px; }
.rgx-result-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 0.84rem; color: var(--muted); }
.rgx-prov { font-size: 0.78rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; border-top: 1px dashed var(--line); padding-top: 8px; margin-top: 8px; }
.rgx-prov button { border: 0; background: none; color: var(--teal-ink); cursor: pointer; font: 600 0.78rem var(--font-ui); padding: 0; }
.rgx-tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 12px; }

/* evidence map */
.rgx-map-wrap { border: 1px solid var(--line); border-radius: var(--r-m); background: radial-gradient(circle at 50% 50%, var(--paper), var(--canvas)); position: relative; overflow: hidden; }
.rgx-map-wrap svg { display: block; width: 100%; height: auto; }
.rgx-map-node { cursor: pointer; }
.rgx-map-node circle { stroke: var(--paper); stroke-width: 2.5; }
.rgx-map-node text { font: 600 11.5px var(--font-ui); fill: var(--ink); paint-order: stroke; stroke: var(--paper); stroke-width: 4px; stroke-linejoin: round; }
.rgx-map-node:focus { outline: none; }
.rgx-map-node:focus circle, .rgx-map-node:hover circle { stroke: var(--teal-ink); stroke-width: 3.5; }
.rgx-map-edge { stroke: var(--ink-2); stroke-opacity: 0.4; stroke-width: 1.4; fill: none; }
.rgx-map-edge[data-kind="derived"] { stroke-dasharray: 5 4; }
.rgx-map-edge[data-kind="education"], .rgx-map-edge[data-kind="developer"] { stroke-dasharray: 1.5 4; stroke-linecap: round; }
.rgx-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 0.82rem; color: var(--ink-2); padding: 10px 12px; border-top: 1px solid var(--line); background: var(--paper); }
.rgx-legend span { display: inline-flex; align-items: center; gap: 6px; }
.rgx-legend i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.rgx-legend svg { width: 26px; height: 8px; }
.rgx-tree { list-style: none; margin: 0; padding: 0; }
.rgx-tree ul { list-style: none; margin: 0 0 0 18px; padding: 0 0 0 14px; border-left: 1px dashed var(--line); }
.rgx-tree li { margin: 5px 0; }
.rgx-tree-node { display: inline-flex; gap: 8px; align-items: center; border: 1px solid var(--line); border-radius: var(--r-s); padding: 5px 10px; background: var(--paper); cursor: pointer; font: 550 0.9rem var(--font-ui); color: var(--ink); max-width: 100%; text-align: left; flex-wrap: wrap; }
.rgx-tree-edge { font-size: 0.76rem; color: var(--muted); margin-left: 6px; }
.rgx-board { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.rgx-pin { border: 1px solid var(--line); border-left: 4px solid var(--mc, var(--navy-3)); border-radius: var(--r-s); padding: 10px 12px; background: var(--paper); display: grid; gap: 4px; min-width: 0; }

/* ------------------------------------------------------------------ globe */
.rgx-globe-shell { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 0; border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; background: #061424; min-height: 560px; }
.rgx-globe-stage { position: relative; min-height: 540px; background: radial-gradient(circle at 50% 46%, #0d2a45 0%, #071a2c 52%, #040d18 100%); overflow: hidden; }
.rgx-globe-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; touch-action: none; }
.rgx-globe-stage canvas:active { cursor: grabbing; }
.rgx-globe-hud { position: absolute; left: 12px; top: 12px; right: 12px; display: flex; flex-wrap: wrap; gap: 6px; z-index: 2; }
.rgx-globe-hud .rgx-btn { background: rgba(9, 28, 48, 0.8); color: #e8eef5; border-color: rgba(255, 255, 255, 0.16); backdrop-filter: blur(6px); }
.rgx-globe-hud .rgx-btn:hover { background: rgba(20, 52, 84, 0.92); }
.rgx-globe-hud .rgx-btn[aria-pressed="true"] { border-color: #2dd4bf; color: #2dd4bf; }
.rgx-globe-note { position: absolute; left: 12px; bottom: 10px; right: 12px; color: #a8bdd4; font-size: 0.76rem; z-index: 2; pointer-events: none; }
.rgx-globe-empty { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; color: #c9d8e8; padding: 30px; z-index: 1; pointer-events: none; }
.rgx-globe-side { background: var(--paper); border-left: 1px solid var(--line); padding: 16px; overflow-y: auto; max-height: 700px; }
.rgx-globe-pop { position: absolute; z-index: 3; width: min(310px, calc(100% - 24px)); background: var(--paper); color: var(--ink); border-radius: var(--r-m); box-shadow: var(--shadow-2); padding: 14px; font-size: 0.88rem; }
.rgx-layer { display: flex; gap: 8px; align-items: center; padding: 4px 0; font-size: 0.9rem; }
.rgx-layer i { width: 11px; height: 11px; border-radius: 50%; flex: none; }
@media (max-width: 900px) {
  .rgx-globe-shell { grid-template-columns: 1fr; }
  .rgx-globe-stage { min-height: 400px; }
  .rgx-globe-side { border-left: 0; border-top: 1px solid var(--line); max-height: none; }
}

/* ------------------------------------------------------------------ education */
.rgx-path-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.rgx-path { display: grid; gap: 8px; align-content: start; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-l); padding: 20px; text-decoration: none; color: var(--ink); position: relative; overflow: hidden; }
.rgx-path::after { content: ""; position: absolute; right: -42px; top: -42px; width: 124px; height: 124px; border-radius: 50%; border: 14px solid color-mix(in srgb, var(--pc, var(--teal)) 15%, transparent); pointer-events: none; }
.rgx-path:hover { border-color: var(--pc, var(--teal-ink)); }
.rgx-path h3 { margin: 0; padding-right: 50px; }
.rgx-path p { margin: 0; color: var(--ink-2); font-size: 0.95rem; }
.rgx-path ol { margin: 4px 0 0; padding-left: 20px; font-size: 0.88rem; color: var(--muted); }
.rgx-lesson-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 32px; align-items: start; }
.rgx-toc { position: sticky; top: calc(var(--header-h) + 16px); font-size: 0.9rem; display: grid; gap: 2px; max-height: calc(100vh - var(--header-h) - 32px); overflow: auto; }
.rgx-toc a { color: var(--ink-2); text-decoration: none; padding: 6px 10px; border-radius: var(--r-s); border-left: 2px solid transparent; }
.rgx-toc a:hover { background: var(--canvas-2); }
.rgx-toc a[aria-current="true"] { border-left-color: var(--teal-ink); color: var(--navy); background: var(--paper); }
.rgx-lesson { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-l); padding: clamp(18px, 3vw, 36px); margin-bottom: 26px; scroll-margin-top: calc(var(--header-h) + 16px); }
.rgx-lesson-body { font-family: var(--font-read); font-size: 1.2rem; line-height: 1.62; max-width: 70ch; color: var(--ink); }
.rgx-lesson-body h3 { font-family: var(--font-display); margin-top: 1.4em; }
.rgx-lesson-body ul { padding-left: 1.2em; }
.rgx-lesson-meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 16px; }
.rgx-depth .rgx-expert { display: none; }
.rgx-depth[data-depth="expert"] .rgx-expert { display: block; }
.rgx-expert { border-left: 3px solid var(--c-protein); padding: 2px 0 2px 14px; margin: 1em 0; }
.rgx-expert::before { content: "Expert detail"; display: block; font: 700 0.78rem/1.6 var(--font-ui); color: var(--c-protein); }
.rgx-cannot { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 18px 0; font-family: var(--font-ui); font-size: 0.93rem; }
.rgx-cannot > div { border: 1px solid var(--line); border-radius: var(--r-m); padding: 14px; background: var(--canvas); }
.rgx-cannot ul { margin: 6px 0 0; padding-left: 18px; }
@media (max-width: 700px) { .rgx-cannot { grid-template-columns: 1fr; } }
.rgx-quiz { border: 1px solid var(--line); border-radius: var(--r-m); padding: 16px; margin-top: 18px; font-family: var(--font-ui); background: var(--canvas); }
.rgx-quiz fieldset { border: 0; padding: 0; margin: 0 0 14px; min-width: 0; }
.rgx-quiz legend { font-weight: 650; margin-bottom: 8px; color: var(--navy); }
.rgx-quiz label { display: flex; gap: 10px; align-items: flex-start; padding: 8px 10px; border: 1px solid var(--line); border-radius: var(--r-s); margin-bottom: 6px; background: var(--paper); cursor: pointer; }
.rgx-quiz label.is-right { border-color: var(--green); background: var(--green-bg); }
.rgx-quiz label.is-wrong { border-color: var(--rose); background: var(--rose-bg); }
.rgx-quiz-why { font-size: 0.9rem; color: var(--ink-2); margin: 4px 0 0; }
.rgx-myth { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; background: var(--paper); }
.rgx-myth > div { padding: 14px 16px; }
.rgx-myth > div:first-child { background: var(--canvas); border-right: 1px solid var(--line); }
.rgx-myth b { display: block; font-size: 0.8rem; color: var(--muted); margin-bottom: 4px; }
@media (max-width: 640px) { .rgx-myth { grid-template-columns: 1fr; } .rgx-myth > div:first-child { border-right: 0; border-bottom: 1px solid var(--line); } }
.rgx-gloss-index { display: flex; flex-wrap: wrap; gap: 4px; margin: 12px 0 18px; }
.rgx-gloss-index a { min-width: 32px; text-align: center; padding: 4px 6px; border: 1px solid var(--line); border-radius: var(--r-s); text-decoration: none; color: var(--ink-2); background: var(--paper); }
.rgx-term { border-bottom: 1px solid var(--line); padding: 16px 0; scroll-margin-top: calc(var(--header-h) + 16px); }
.rgx-term h3 { margin-bottom: 4px; }
.rgx-term p { max-width: 78ch; }
@media (max-width: 920px) {
  .rgx-lesson-layout { grid-template-columns: 1fr; gap: 14px; }
  .rgx-toc { position: static; max-height: none; display: flex; overflow-x: auto; }
  .rgx-toc a { white-space: nowrap; border-left: 0; border-bottom: 2px solid transparent; }
  .rgx-toc a[aria-current="true"] { border-bottom-color: var(--teal-ink); }
}

/* ------------------------------------------------------------------ repos */
.rgx-repo { display: grid; gap: 8px; align-content: start; }
.rgx-repo-name { font: 650 1.02rem/1.3 var(--font-display); color: var(--navy); overflow-wrap: anywhere; }
.rgx-repo-stats { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 0.84rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.rgx-repo-stats span { display: inline-flex; gap: 5px; align-items: center; }
.rgx-repo-stats svg { width: 14px; height: 14px; }

/* ------------------------------------------------------------------ imaging */
.rgx-viewer { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 0; border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; background: #000; min-height: 520px; }
.rgx-viewer-stage { position: relative; background: #000; min-height: 460px; display: grid; place-items: center; overflow: hidden; }
.rgx-viewer-stage canvas { max-width: 100%; max-height: 72vh; cursor: crosshair; touch-action: none; }
.rgx-viewer-side { background: var(--paper); padding: 16px; overflow-y: auto; max-height: 720px; border-left: 1px solid var(--line); }
.rgx-viewer-hud { position: absolute; left: 10px; bottom: 8px; color: #cfe3f6; font-size: 0.78rem; line-height: 1.45; pointer-events: none; text-shadow: 0 1px 2px #000; }
.rgx-viewer-tools { position: absolute; left: 10px; right: 10px; top: 8px; display: flex; gap: 6px; flex-wrap: wrap; }
.rgx-viewer-tools .rgx-btn { background: rgba(20, 30, 44, 0.84); color: #e8eef5; border-color: rgba(255, 255, 255, 0.18); }
.rgx-viewer-tools .rgx-btn[aria-pressed="true"] { background: #0f766e; border-color: #2dd4bf; }
.rgx-drop { border: 2px dashed var(--line); border-radius: var(--r-l); padding: 28px; text-align: center; background: var(--paper); }
.rgx-drop.is-over { border-color: var(--teal-ink); background: var(--teal-wash); }
@media (max-width: 900px) { .rgx-viewer { grid-template-columns: 1fr; } .rgx-viewer-side { border-left: 0; border-top: 1px solid var(--line); max-height: none; } }

/* ------------------------------------------------------------------ print + motion */
@media print {
  .rgx-header, .rgx-rail, .rgx-tools, .rgx-btn, .rgx-search, .rgx-palette, .rgx-toasts, .rgx-footer nav { display: none !important; }
  .rgx { background: #fff; color: #000; }
  .rgx-ws-grid { grid-template-columns: 1fr; }
  .rgx-card, .rgx-table-wrap { break-inside: avoid; }
}
@media (prefers-reduced-motion: reduce) {
  .rgx *, .rgx *::before, .rgx *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .rgx-lor { opacity: 0.17; stroke-dashoffset: 0; }
  .rgx-hot { opacity: 1; }
}
.rgx[data-motion="reduced"] *, .rgx[data-motion="reduced"] *::before { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }

/* ------------------------------------------------------------------ static-page helpers (no inline styles: CSP style-src 'self') */
.rgx-c-gene { --pc: var(--c-gene); --sc: var(--c-gene); --mc: var(--c-gene); }
.rgx-c-protein { --pc: var(--c-protein); --sc: var(--c-protein); --mc: var(--c-protein); }
.rgx-c-target { --pc: var(--c-target); --sc: var(--c-target); --mc: var(--c-target); }
.rgx-c-rp { --pc: var(--c-rp); --sc: var(--c-rp); --mc: var(--c-rp); }
.rgx-c-nuclide { --pc: var(--c-nuclide); --sc: var(--c-nuclide); --mc: var(--c-nuclide); }
.rgx-c-trial { --pc: var(--c-trial); --sc: var(--c-trial); --mc: var(--c-trial); }
.rgx-c-lit { --pc: var(--c-lit); --sc: var(--c-lit); --mc: var(--c-lit); }
.rgx-c-dataset { --pc: var(--c-dataset); --sc: var(--c-dataset); --mc: var(--c-dataset); }
.rgx-c-reg { --pc: var(--c-reg); --sc: var(--c-reg); --mc: var(--c-reg); }
.rgx-c-edu { --pc: var(--c-edu); --sc: var(--c-edu); --mc: var(--c-edu); }
.rgx-c-repo { --pc: var(--c-repo); --sc: var(--c-repo); --mc: var(--c-repo); }
.rgx-c-biomarker { --pc: var(--c-biomarker); --sc: var(--c-biomarker); --mc: var(--c-biomarker); }
.rgx-c-imaging { --pc: var(--c-imaging); --sc: var(--c-imaging); --mc: var(--c-imaging); }
.rgx-c-place { --pc: var(--c-place); --sc: var(--c-place); --mc: var(--c-place); }
.rgx-c-device { --pc: var(--c-device); --sc: var(--c-device); --mc: var(--c-device); }
.rgx-c-patent { --pc: var(--c-patent); --sc: var(--c-patent); --mc: var(--c-patent); }
.rgx-c-company { --pc: var(--c-company); --sc: var(--c-company); --mc: var(--c-company); }
.rgx-c-therapy { --pc: var(--c-therapy); --sc: var(--c-therapy); --mc: var(--c-therapy); }
.rgx-w-88 { width: 88%; } .rgx-w-82 { width: 82%; }
.rgx-hero-body { fill: var(--canvas-2); stroke: var(--line); stroke-width: 1.5; }
.rgx-hero-organ { fill: none; stroke: var(--line); stroke-width: 1.2; stroke-dasharray: 3 5; }
.rgx-hero-ring { fill: none; stroke: var(--line); stroke-width: 1; }
.rgx-mt { margin-top: 18px; }
.rgx-mt-l { margin-top: 34px; }
.rgx-demo { display: grid; gap: 10px; }
.rgx-demo-q { display: inline-flex; gap: 8px; align-items: center; font: 600 0.95rem/1 var(--font-ui); background: var(--paper); border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 14px; width: max-content; max-width: 100%; }
.rgx-demo-q svg { width: 18px; height: 18px; color: var(--muted); }
.rgx-keyfacts { border-left: 3px solid var(--teal-ink); padding: 4px 0 4px 16px; margin: 6px 0 24px; max-width: 78ch; }
.rgx-keyfacts ul { margin: 6px 0 0; padding-left: 18px; display: grid; gap: 4px; }
.rgx-stat-row { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 14px; color: var(--ink-2); font-size: 0.95rem; }
.rgx-stat-row b { font: 750 1.25rem/1 var(--font-display); color: var(--navy); margin-right: 6px; font-variant-numeric: tabular-nums; }
.rgx-anchor-list { columns: 2 260px; column-gap: 28px; padding-left: 18px; }
.rgx-anchor-list li { break-inside: avoid; margin: 0 0 6px; }
.rgx-prose { max-width: 74ch; }
.rgx-prose h2 { margin-top: 1.6em; }
.rgx-prose li { margin: 4px 0; }
.rgx-404 { padding: 80px 0; }
.rgx-lesson-layout > * { min-width: 0; }
.rgx-hero-art { aspect-ratio: auto; }
.rgx-hero-art svg { height: auto; display: block; }
.rgx .rgx-hero-caption { position: static; margin: 10px auto 0; text-align: center; }
.rgx-lesson .rgx-card-actions .rgx-btn, .rgx-term .rgx-btn { white-space: normal; max-width: 100%; height: auto; text-align: left; }
.rgx-seg button svg, .rgx-pill svg { width: 16px; height: 16px; vertical-align: -3px; flex: none; }
.rgx [hidden] { display: none !important; }
.rgx-hero-in > *, .rgx-grid-2 > *, .rgx-grid-3 > *, .rgx-ws-grid > *, .rgx-boundary > *, .rgx-footer-grid > * { min-width: 0; }

/* ================================================================== v1.1: RadioGx type, orange uptake palette, home */
.rgx h1, .rgx h2 { font-weight: 700; letter-spacing: -0.03em; }
.rgx h3, .rgx h4 { letter-spacing: -0.015em; }
.rgx-word { font: 700 1.24rem/1 var(--font-display); letter-spacing: -0.025em; color: var(--navy); }
.rgx-word-gx { color: var(--orange-ink); }
.rgx-brand .rgx-brand-sub { font-family: var(--font-ui); letter-spacing: 0; font-weight: 500; }
.rgx-c-teal { --pc: var(--teal-ink); --sc: var(--teal-ink); --mc: var(--teal-ink); }
.rgx-c-hot { --pc: var(--orange-ink); --sc: var(--orange-ink); --mc: var(--orange-ink); }
.rgx .rgx-lede, .rgx .rgx-section-head p { text-wrap: pretty; }
.rgx h1, .rgx h2 { text-wrap: balance; }
.rgx-keyfacts { border-left-color: var(--orange-ink); }
.rgx-lesson-body .rgx-lede strong { font-family: var(--font-display); font-weight: 700; color: var(--orange-ink); }
.rgx-expert { border-left-color: var(--orange-ink); }
.rgx-expert::before { color: var(--orange-ink); }
.rgx-path::after { border-color: color-mix(in srgb, var(--pc, var(--orange)) 18%, transparent); }
.rgx-toc a[aria-current="true"] { border-left-color: var(--orange-ink); }
.rgx-pill[aria-pressed="true"] { background: var(--orange-ink); border-color: var(--orange-ink); color: #fff; }

/* Home header sits on the dark scanner-room hero */
.rgx-home .rgx-header { background: color-mix(in srgb, var(--night) 86%, transparent); border-bottom-color: rgba(255, 255, 255, 0.08); }
.rgx-home .rgx-header .rgx-word { color: #fff; }
.rgx-home .rgx-header .rgx-word-gx { color: var(--orange); }
.rgx-home .rgx-header .rgx-brand-sub { color: #94a9c0; }
.rgx-home .rgx-header .rgx-nav a { color: #c9d6e4; }
.rgx-home .rgx-header .rgx-nav a:hover { background: rgba(255, 255, 255, 0.07); color: #fff; }
.rgx-home .rgx-header .rgx-btn { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.14); color: #e8eef5; }
.rgx-home .rgx-header .rgx-btn:hover { background: rgba(255, 255, 255, 0.12); }
@media (max-width: 1099px) { .rgx-home .rgx-nav { background: var(--night); border-bottom-color: rgba(255, 255, 255, 0.1); } }

/* Hero: a dark scanner room, one detector ring, uptake glowing orange */
.rgx-hero { background: radial-gradient(760px 560px at 80% 46%, rgba(20, 184, 166, 0.13), transparent 64%), radial-gradient(520px 420px at 72% 52%, rgba(242, 107, 29, 0.16), transparent 70%), linear-gradient(180deg, #071a30 0%, var(--night) 100%); color: #e8eef5; border-bottom: 0; }
.rgx-hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(253, 186, 116, 0.5), rgba(45, 212, 191, 0.4), transparent); }
.rgx-hero-in { padding: 72px 0 84px; gap: 48px; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); }
.rgx-hero h1 { color: #fff; max-width: 13.5ch; font-size: clamp(2.7rem, 1.2rem + 4.4vw, 5rem); line-height: 0.98; letter-spacing: -0.04em; margin-bottom: 26px; }
.rgx-hero .rgx-hero-lede { color: #c3d0de; font-size: 1.16rem; max-width: 54ch; }
.rgx-hero .rgx-search { background: #fff; border-color: transparent; box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.06); }
.rgx-hero .rgx-search:focus-within { box-shadow: 0 0 0 4px rgba(242, 107, 29, 0.35), 0 24px 60px -24px rgba(0, 0, 0, 0.75); }
.rgx-hero .rgx-search input { color: #0b2545; }
.rgx-hero .rgx-search input::placeholder { color: #6b7d91; }
.rgx-hero .rgx-search kbd { background: #f4f7fa; border-color: #d6dee7; color: #56687c; }
.rgx-hero .rgx-search .rgx-btn-primary { background: var(--orange-ink); border-color: var(--orange-ink); color: #fff; }
.rgx-hero .rgx-search .rgx-btn-primary:hover { background: var(--orange-deep); }
.rgx-hero .rgx-pill { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.15); color: #dbe6f1; }
.rgx-hero .rgx-pill:hover { border-color: var(--orange-soft); color: #fff; background: rgba(242, 107, 29, 0.12); }
.rgx-hero .rgx-trust { color: #b8c7d8; }
.rgx-hero .rgx-trust svg { color: var(--orange-soft); }
.rgx-hero-art { width: min(100%, 540px); }
.rgx-hero-stage { position: relative; }
.rgx-hero-stage svg { display: block; width: 100%; height: auto; overflow: visible; }
.rgx-hero .rgx-hero-caption { color: #8ea3bb; max-width: 44ch; }
.rgx-hero .rgx-hero-ring { stroke: rgba(255, 255, 255, 0.07); }
.rgx-hero .rgx-ring-det { fill: #1b3657; transition: fill 0.5s var(--ease); }
.rgx-hero .rgx-ring-det.is-hit { fill: #7a3a1a; }
.rgx-hero .rgx-ring-det.is-flash { fill: #fdba74; transition: none; }
.rgx-hero .rgx-hero-body { stroke: #24496f; stroke-width: 1.4; }
.rgx-hero .rgx-hero-organ { stroke: #2d5680; }
.rgx-hero .rgx-lor { stroke: #2dd4bf; stroke-width: 0.8; }
.rgx-hero.is-live .rgx-lor { animation: rgx-lor 2.6s var(--ease) forwards; }
.rgx-lor-live { stroke: #fdba74; stroke-width: 1.2; stroke-linecap: round; animation: rgx-flash 1.5s ease-out forwards; }
@keyframes rgx-flash { 0% { opacity: 0.95; } 25% { opacity: 0.6; } 100% { opacity: 0; } }
.rgx-hero .rgx-hot { transform-box: fill-box; transform-origin: center; }
.rgx-hero.is-live .rgx-hot { animation: rgx-hot 1.4s 1.2s var(--ease) forwards, rgx-breathe 4.8s 2.6s ease-in-out infinite; }
@keyframes rgx-breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }
.rgx-hot-chip { position: absolute; transform: translate(-50%, -50%); font: 700 0.82rem/1 var(--font-ui); color: #fff; background: rgba(6, 22, 41, 0.78); border: 1px solid rgba(253, 186, 116, 0.55); border-radius: 999px; padding: 7px 11px; cursor: pointer; backdrop-filter: blur(6px); white-space: nowrap; transition: background 0.2s var(--ease), border-color 0.2s var(--ease); }
.rgx-hot-chip::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); margin-right: 7px; vertical-align: 1px; box-shadow: 0 0 0 3px rgba(242, 107, 29, 0.25); }
.rgx-hot-chip:hover, .rgx-hot-chip:focus-visible { background: var(--orange-ink); border-color: var(--orange-soft); }
.rgx-hot-1 { left: 74%; top: 34%; }
.rgx-hot-2 { left: 22%; top: 66%; }
.rgx-hot-3 { left: 66%; top: 78%; }
@media (max-width: 900px) {
  .rgx-hero-in { grid-template-columns: 1fr; padding: 30px 0 48px; gap: 18px; }
  .rgx-hero-art { order: -1; width: min(86%, 380px); justify-self: center; }
  .rgx-hero .rgx-hero-caption { display: block; text-align: center; font-size: 0.74rem; }
  .rgx-hero h1 { max-width: 15ch; }
}

/* Isotope tiles: periodic-table vernacular, teal for imaging, orange for therapy */
.rgx-isotopes { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; }
.rgx-iso { position: relative; display: grid; grid-template-rows: auto 1fr auto auto; align-items: end; aspect-ratio: 1 / 1.08; text-align: left; padding: 11px 12px 10px; border-radius: 12px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); cursor: pointer; font: inherit; overflow: hidden; transition: transform 0.18s var(--ease), border-color 0.18s var(--ease), box-shadow 0.18s var(--ease); }
.rgx-iso::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--ic); }
.rgx-iso::after { content: ""; position: absolute; right: -30px; bottom: -30px; width: 90px; height: 90px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--ic) 22%, transparent), transparent 70%); pointer-events: none; }
.rgx-iso:hover, .rgx-iso:focus-visible { transform: translateY(-3px); border-color: var(--ic); box-shadow: 0 14px 30px -18px color-mix(in srgb, var(--ic) 70%, transparent); }
.rgx-iso.is-img { --ic: var(--teal-ink); }
.rgx-iso.is-ther { --ic: var(--orange-ink); }
.rgx-iso.is-both { --ic: var(--orange-ink); background: linear-gradient(135deg, var(--paper) 55%, color-mix(in srgb, var(--teal) 10%, var(--paper))); }
.rgx-iso.is-both::before { background: linear-gradient(90deg, var(--teal-ink), var(--orange-ink)); }
.rgx-iso-mass { font: 700 0.8rem/1 var(--font-display); color: var(--ic); align-self: start; }
.rgx-iso-sym { font: 700 2.3rem/1 var(--font-display); letter-spacing: -0.04em; color: var(--navy); align-self: end; }
.rgx-iso-name { font-size: 0.78rem; color: var(--muted); margin-top: 2px; }
.rgx-iso-t { font: 700 0.86rem/1.3 var(--font-ui); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.rgx-iso-use { position: absolute; top: 12px; right: 10px; font-size: 0.66rem; font-weight: 700; color: var(--ic); text-align: right; max-width: 60%; line-height: 1.15; }
@media (max-width: 1000px) { .rgx-isotopes { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 620px) { .rgx-isotopes { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; } .rgx-iso-sym { font-size: 1.9rem; } .rgx-iso-use { display: none; } }

/* Half-life chart */
.rgx-hl-head { margin-top: 46px; max-width: 70ch; }
.rgx-hl-head p { color: var(--ink-2); }
.rgx-hl { margin: 6px 0 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-l); padding: 16px 18px 12px; overflow-x: auto; }
.rgx-hl svg { display: block; width: 100%; min-width: 760px; height: auto; }
.rgx-hl-axis { stroke: var(--line); stroke-width: 2; }
.rgx-hl-tick line { stroke: var(--muted); stroke-width: 1.2; }
.rgx-hl-tick text { font: 500 13px var(--font-ui); fill: var(--muted); }
.rgx-hl-mark line { stroke: color-mix(in srgb, var(--teal-ink) 55%, transparent); stroke-width: 1.2; }
.rgx-hl-mark circle { fill: var(--teal-ink); stroke: var(--paper); stroke-width: 2; }
.rgx-hl-mark text { font: 700 17px var(--font-display); fill: var(--navy); }
.rgx-hl-mark .rgx-hl-sup { font-weight: 600; fill: var(--teal-ink); }
.rgx-hl-mark.is-ther line { stroke: color-mix(in srgb, var(--orange-ink) 55%, transparent); }
.rgx-hl-mark.is-ther circle { fill: var(--orange-ink); }
.rgx-hl-mark.is-ther .rgx-hl-sup { fill: var(--orange-ink); }
.rgx-hl figcaption { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; margin-top: 6px; font-size: 0.88rem; color: var(--ink-2); }
.rgx-key::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 7px; vertical-align: -1px; }
.rgx-key-img::before { background: var(--teal-ink); }
.rgx-key-ther::before { background: var(--orange-ink); }

/* Journey line from cool imaging to hot therapy */
.rgx-journey::before { background: linear-gradient(90deg, var(--teal-ink), var(--c-gene), var(--orange-ink), var(--c-trial)); opacity: 0.6; }
@media (max-width: 900px) { .rgx-journey::before { background: linear-gradient(180deg, var(--teal-ink), var(--c-gene), var(--orange-ink), var(--c-trial)); } }
.rgx-station-mark { box-shadow: 0 0 0 6px color-mix(in srgb, var(--sc) 10%, transparent); }

/* Dark band for the privacy story */
.rgx-band { background: linear-gradient(180deg, #071a30, var(--night)); color: #e8eef5; margin-top: 68px; padding: 64px 0 56px; }
.rgx-band h2 { color: #fff; }
.rgx-band .rgx-section-head p, .rgx-band .rgx-stat-row { color: #c3d0de; }
.rgx-band .rgx-stat-row b { color: var(--orange-soft); }
.rgx-band a { color: var(--orange-soft); }
.rgx-band .rgx-flow rect { fill: rgba(255, 255, 255, 0.04); stroke: rgba(255, 255, 255, 0.16); }
.rgx-band .rgx-flow .rgx-flow-hl { stroke: var(--orange); }
.rgx-band .rgx-flow text { fill: #e8eef5; }
.rgx-band .rgx-flow path { stroke: var(--orange-soft); }
.rgx-band .rgx-flow .rgx-flow-head { fill: var(--orange-soft); }
.rgx-band + .rgx-section { padding-top: 56px; }
@media (prefers-reduced-motion: reduce) { .rgx-iso, .rgx-hot-chip { transition: none; } .rgx-hero.is-live .rgx-hot { animation: none; opacity: 1; } }
.rgx-hero .rgx-hero-body { fill: url(#rgx-body-g); }
.rgx-nav a { font-weight: 500; }
.rgx-iso { aspect-ratio: auto; min-height: 132px; }
.rgx-iso-sym { font-size: 2.6rem; }
