/*
 * Planet2Place design tokens and page themes (design-system lane, 23 Nov 2026).
 *
 * One source for the homepage identity (home-2026.css "Planet2Place homepage visual system", founder 22 Nov 2026)
 * adapted per subject. Loaded last on a themed page by scripts/design/apply-chrome.mjs, which also writes
 * <body data-p2-theme="…"> from its THEME map. Untouched pages never load this file.
 *
 *   space-dark     space pages: immersive and atmospheric, navy with teal illumination
 *   earth-natural  Earth pages: natural and geographic, sage ground, sage heroes, green-teal accent
 *   home-light     home and building pages: welcoming and practical, warm light ground, warm heroes, white cards
 *   research       research and discovery pages built around interactive exploration: branded dark and atmospheric
 *                  (founder 24 Nov 2026: the default is no longer a large white research-paper layout)
 *   research-reading  long-form research reading (/method/): cool paper ground, white cards, navy ink; instruments stay dark
 *   alerts         alerts: clear and accessible, white ground, strong ink, underlined links, no decorative motion
 *
 * Every text/ground pair below is WCAG AA (4.5:1) or better; ratios in docs/brand/BRAND_AUDIT.md "Design tokens".
 * No rule here changes a size, padding or font, so applying a theme causes no layout shift.
 */

:root {
  /* illumination and dark surfaces: the homepage values, unchanged */
  --p2-ink: #020a16; --p2-navy: #031328; --p2-deep: #061d36; --p2-ocean: #0b3a5c;
  --p2-teal: #2fc4c0; --p2-teal-soft: #8fd8cf; --p2-gold: #f4c463;
  --p2-text: #eef4f8; --p2-muted: #b7c8d6; --p2-line: rgba(160, 200, 230, .16); --p2-glass: rgba(255, 255, 255, .045);
  /* light surfaces and inks for light grounds */
  --p2-paper: #f4f7f9; --p2-paper-teal: #eef4f3; --p2-white: #ffffff; --p2-mist: #eaf0f4; --p2-ink-text: #092a40; --p2-ink-muted: #4a6070;
  --p2-line-light: #dce4ea; --p2-teal-ink: #0b5f62; --p2-storm: #0f4c6b; --p2-gold-ink: #8a5a00;
  /* type scale (aliases of the site scale, so one change reaches both) */
  --p2-serif: var(--ds-serif, "Source Serif 4 Variable", Georgia, serif); --p2-sans: var(--ds-sans, "Inter Variable", system-ui, sans-serif);
  --p2-t-xs: .8125rem; --p2-t-s: .9375rem; --p2-t-m: 1.0625rem; --p2-t-l: 1.25rem;
  --p2-t-xl: clamp(1.5rem, 1.1rem + 1.4vw, 2rem); --p2-t-2xl: clamp(1.9rem, 1.3rem + 2.2vw, 2.75rem); --p2-t-3xl: clamp(2.5rem, 1.4rem + 4.2vw, 4.5rem);
  --p2-eyebrow: 700 .74rem/1.3 var(--p2-sans);
  /* spacing, radii */
  --p2-s-1: .25rem; --p2-s-2: .5rem; --p2-s-3: .75rem; --p2-s-4: 1rem; --p2-s-5: 1.5rem; --p2-s-6: 2.5rem; --p2-s-7: 4rem;
  --p2-section: clamp(3rem, 7vw, 5.5rem);
  --p2-r-s: 8px; --p2-r-m: 14px; --p2-r-l: 22px; --p2-r-pill: 999px;
  /* elevation and glow */
  --p2-e-1: 0 1px 2px rgba(9, 42, 64, .06), 0 8px 24px rgba(9, 42, 64, .07);
  --p2-e-2: 0 2px 4px rgba(9, 42, 64, .08), 0 18px 40px rgba(9, 42, 64, .12);
  --p2-glow: 0 0 0 1px var(--p2-line), 0 0 80px -10px rgba(47, 196, 192, .35);
  /* dark cards (founder 23 Nov): subtle depth and teal illumination only, no heavy glow or blur */
  --p2-e-dark: inset 0 1px 0 rgba(143, 216, 207, .12), 0 10px 24px -16px rgba(0, 0, 0, .7);
  --p2-ring-teal: 0 0 0 1px rgba(47, 196, 192, .45), 0 6px 18px -10px rgba(47, 196, 192, .45);
  /* charts: one palette for the six kinds of evidence (the method ladder's colours), frames and captions */
  --p2-chart-observed: #50b8dc; --p2-chart-modelled: #7fc8b5; --p2-chart-estimated: #e8d27a; --p2-chart-forecast: #f5a32b;
  --p2-chart-projected: #e07b4f; --p2-chart-user: #c9b8e8; --p2-chart-frame-r: var(--p2-r-m);
  --p2-glow-gold: 0 0 0 6px rgba(244, 196, 99, .25), 0 0 0 14px rgba(244, 196, 99, .1);
}

/* semantic tokens per theme: --t-bg page ground, --t-surface card, --t-text, --t-muted, --t-line, --t-link,
   --t-accent (primary button), --t-on-accent, --t-eyebrow, --t-focus */
[data-p2-theme="space-dark"] { --t-bg: var(--p2-navy); --t-surface: var(--p2-glass); --t-surface-2: var(--p2-deep); --t-text: var(--p2-text);
  --t-muted: var(--p2-muted); --t-line: var(--p2-line); --t-link: var(--p2-teal-soft); --t-accent: var(--p2-teal); --t-on-accent: var(--p2-ink);
  --t-eyebrow: var(--p2-gold); --t-focus: var(--p2-gold); --t-shadow: var(--p2-e-dark); }
[data-p2-theme="earth-natural"] { --t-bg: #f3f5ef; --t-surface: #fff; --t-surface-2: #e7ede3; --t-text: #12303a; --t-muted: #4b5e55;
  --t-line: #d6ddd2; --t-link: var(--p2-teal-ink); --t-accent: var(--p2-teal-ink); --t-on-accent: #fff; --t-eyebrow: #2e6b4f; --t-focus: #12303a; --t-shadow: var(--p2-e-1); }
[data-p2-theme="home-light"] { --t-bg: #fbf8f2; --t-surface: #fff; --t-surface-2: #f3ede2; --t-text: var(--p2-ink-text); --t-muted: var(--p2-ink-muted);
  --t-line: #e6dfd2; --t-link: var(--p2-teal-ink); --t-accent: var(--p2-teal-ink); --t-on-accent: #fff; --t-eyebrow: var(--p2-gold-ink); --t-focus: var(--p2-ink-text); --t-shadow: var(--p2-e-1); }
[data-p2-theme="research-reading"] { --t-bg: var(--p2-paper-teal); --t-surface: var(--p2-white); --t-surface-2: var(--p2-mist); --t-text: var(--p2-ink-text);
  --t-muted: var(--p2-ink-muted); --t-line: var(--p2-line-light); --t-link: var(--p2-storm); --t-accent: var(--p2-teal-ink); --t-on-accent: #fff;
  --t-eyebrow: var(--p2-teal-ink); --t-focus: var(--p2-ink-text); --t-shadow: var(--p2-e-1); }
[data-p2-theme="research"] { --t-bg: var(--p2-navy); --t-surface: var(--p2-deep); --t-surface-2: var(--p2-ocean); --t-text: var(--p2-text);
  --t-muted: var(--p2-muted); --t-line: var(--p2-line); --t-link: var(--p2-teal-soft); --t-accent: var(--p2-teal); --t-on-accent: var(--p2-ink);
  --t-eyebrow: var(--p2-teal-soft); --t-focus: var(--p2-gold); --t-shadow: var(--p2-e-dark); }
[data-p2-theme="alerts"] { --t-bg: #fff; --t-surface: var(--p2-paper); --t-surface-2: var(--p2-mist); --t-text: #0a1a26; --t-muted: #3f5463;
  --t-line: #cfd9e0; --t-link: var(--p2-storm); --t-accent: var(--p2-ink-text); --t-on-accent: #fff; --t-eyebrow: var(--p2-storm); --t-focus: var(--p2-ink-text);
  --t-danger: #b42318; --t-warn: var(--p2-gold-ink); --t-ok: var(--p2-teal-ink); --t-shadow: none; }

/* shared behaviour on every themed page */
body[data-p2-theme] { background: var(--t-bg); }
/* two-tone focus: the ring in the theme colour, a white band in the offset, so it reads on light and dark sections */
body[data-p2-theme] main :focus-visible { outline: 3px solid var(--t-focus); outline-offset: 2px; box-shadow: 0 0 0 2px #fff; }
@media (prefers-reduced-motion: reduce) {
  body[data-p2-theme] main *, body[data-p2-theme] main *::before, body[data-p2-theme] main *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* ===== space-dark: /earth-space/ and /earth-space/iss/ =====
   Accent literals in earth-space.css and iss.css now read these tokens; this layer aligns surfaces, edges and glow. */
body[data-p2-theme="space-dark"] main#main :focus-visible { outline-color: var(--p2-gold); }
body[data-p2-theme="space-dark"] .iss-page { background: var(--p2-navy); color: var(--p2-text); }
body[data-p2-theme="space-dark"] .iss-hero { background: radial-gradient(120% 80% at 80% 0%, #10304f 0%, var(--p2-navy) 60%); }
body[data-p2-theme="space-dark"] .iss-kicker a { color: var(--p2-gold); }
body[data-p2-theme="space-dark"] .iss-sec { border-top-color: var(--p2-line); }
body[data-p2-theme="space-dark"] .iss-ms, body[data-p2-theme="space-dark"] .iss-ex details,
body[data-p2-theme="space-dark"] .iss-page .sah-more { background: var(--p2-glass); border-color: var(--p2-line); border-radius: var(--p2-r-m); }
body[data-p2-theme="space-dark"] .iss-ms { border-left-color: var(--p2-teal); }
body[data-p2-theme="space-dark"] :is(.iss-ms, .iss-ex details, .iss-ex-item, .iss-page .sah-more) { box-shadow: var(--p2-e-dark); }
body[data-p2-theme="space-dark"] main#main.es-page :is(.ch-why > div, .ch-sci) { box-shadow: var(--p2-e-dark); }
body[data-p2-theme="space-dark"] .iss-ex-item { background: rgba(2, 10, 22, .55); border-color: var(--p2-line); border-left-color: var(--p2-teal); }
body[data-p2-theme="space-dark"] .iss-page .st-btn:not(.st-btn-ghost) { background: var(--p2-teal); border-color: var(--p2-teal); color: var(--p2-ink); }
body[data-p2-theme="space-dark"] .iss-page .st-btn:not(.st-btn-ghost):hover,
body[data-p2-theme="space-dark"] .iss-page .st-btn:not(.st-btn-ghost):focus-visible { background: #fff; border-color: #fff; color: var(--p2-ink); box-shadow: var(--p2-ring-teal); }
body[data-p2-theme="space-dark"] .iss-row input { background: var(--p2-deep); border-color: rgba(238, 244, 248, .35); }
body[data-p2-theme="space-dark"] main#main.es-page .ch-why > div { border-radius: var(--p2-r-m); }
/* the daylight phase label was 4.0:1 (#b9c8e6 on #2a5d97); the theme text colour is 6.1:1 */
body[data-p2-theme="space-dark"] main#main.es-page .ns-phases li[data-phase="day"] { color: var(--p2-text); }
body[data-p2-theme="space-dark"] main#main.es-page .ch-sci { border-radius: var(--p2-r-m); border-color: var(--p2-line); }

/* ===== research-reading: /method/ (long-form text; founder 24 Nov 2026 keeps light reading surfaces selectively) =====
   Dark heroes stay (the homepage identity); reading sections sit on paper with white cards; the discovery
   instrument panel stays dark because its canvas colours are drawn for a dark ground. */
/* /discover/: the verified-discoveries register is a light, citable list */
body[data-p2-theme="research-reading"] .dx-pn.dc-new { background: var(--t-bg); color: var(--t-text); }
body[data-p2-theme="research-reading"] main#main .dc-new .pv-h3 { color: var(--t-text); }
body[data-p2-theme="research-reading"] main#main .dc-new .dc-intro { color: var(--t-muted); }
body[data-p2-theme="research-reading"] .dc-new .dc-card { background: var(--t-surface); border-color: var(--t-line); color: var(--t-muted); box-shadow: var(--t-shadow); border-radius: var(--p2-r-m); }
body[data-p2-theme="research-reading"] .dc-new .dc-card strong { color: var(--t-text); }
body[data-p2-theme="research-reading"] .dc-new .dc-kick { color: var(--t-eyebrow); }
body[data-p2-theme="research-reading"] .dc-new .dc-card:hover, body[data-p2-theme="research-reading"] .dc-new .dc-card:focus-visible { border-color: var(--t-accent); box-shadow: var(--p2-e-2); }
body[data-p2-theme="research-reading"] .dx-pn:not(.dc-new) { background: var(--p2-navy); }
body[data-p2-theme="research-reading"] .dx-pn:not(.dc-new) :focus-visible { outline-color: var(--p2-gold); }
/* /studies/ */
body[data-p2-theme="research-reading"] .lx-page, body[data-p2-theme="research-reading"] .lp-page { background: var(--t-bg); }
body[data-p2-theme="research-reading"] .rs-key { color: var(--t-muted); }
body[data-p2-theme="research-reading"] .rs-copy h2 { color: var(--t-text); }
body[data-p2-theme="research-reading"] .rs-copy > p, body[data-p2-theme="research-reading"] .rs-figs dd { color: var(--t-muted); }
body[data-p2-theme="research-reading"] .rs-stages li { color: #5d6b75; }
body[data-p2-theme="research-reading"] .rs-stages li::before { background: var(--t-line); }
body[data-p2-theme="research-reading"] .rs-stages li.rs-on { color: var(--t-eyebrow); }
body[data-p2-theme="research-reading"] .rs-stages li.rs-on::before { background: var(--t-accent); }
body[data-p2-theme="research-reading"] .rs-figs div { background: var(--t-surface); border-left-color: var(--t-accent); box-shadow: var(--t-shadow); }
body[data-p2-theme="research-reading"] .rs-figs dt { color: var(--t-accent); }
body[data-p2-theme="research-reading"] .rs-go { color: var(--t-link); }
body[data-p2-theme="research-reading"] .rs-fig { border-radius: var(--p2-r-m); }
body[data-p2-theme="research-reading"] .lx-index { background: var(--p2-navy); }
/* /method/ */
body[data-p2-theme="research-reading"] .pg-light { background: var(--t-bg); }
body[data-p2-theme="research-reading"] .pg-white { background: var(--t-surface); }
body[data-p2-theme="research-reading"] .pg-white .pg-kicker, body[data-p2-theme="research-reading"] .pg-light .pg-kicker { color: var(--t-eyebrow); }
body[data-p2-theme="research-reading"] .pg-white .pg-card, body[data-p2-theme="research-reading"] .pg-light .pg-card { border-color: var(--t-line); border-radius: var(--p2-r-m); box-shadow: var(--t-shadow); }
body[data-p2-theme="research-reading"] .pg-white .pg-card { background: var(--t-bg); box-shadow: none; }
body[data-p2-theme="research-reading"] .pg-night, body[data-p2-theme="research-reading"] .pg-deep { background: var(--p2-navy); }
/* Planet2Place character on paper (founder 23 Nov): a short teal rule over each section's eyebrow or heading, drawn
   absolutely so it takes no space; teal eyebrows; subtle depth on cards; dark atmospheric intros stay as they are */
body[data-p2-theme="research-reading"] :is(.pg-white, .pg-light) .pg-kicker, body[data-p2-theme="research-reading"] .rs-copy h2,
body[data-p2-theme="research-reading"] main#main .dc-new .pv-h3 { position: relative; }
body[data-p2-theme="research-reading"] :is(.pg-white, .pg-light) .pg-kicker::before, body[data-p2-theme="research-reading"] .rs-copy h2::before,
body[data-p2-theme="research-reading"] main#main .dc-new .pv-h3::before { content: ""; position: absolute; left: 0; top: -.7rem; width: 2.5rem; height: 3px; border-radius: 2px; background: var(--p2-teal); }
body[data-p2-theme="research-reading"] :is(.pg-white, .pg-light) .pg-card { box-shadow: var(--p2-e-1); }
body[data-p2-theme="research-reading"] :is(.pg-white, .pg-light) .pg-card:hover { box-shadow: var(--p2-e-2); }
body[data-p2-theme="research-reading"] :is(.pg-night, .pg-deep) :is(.pg-card, .pg-ladder li) { box-shadow: var(--p2-e-dark); }
body[data-p2-theme="research-reading"] .dx-pn:not(.dc-new) :is(.dx-fig, .dx-facts > div) { box-shadow: var(--p2-e-dark); }
/* charts: the evidence-kind palette and one frame style everywhere */
body[data-p2-theme="research-reading"] .pg-ladder .is-obs { --rung: var(--p2-chart-observed); } body[data-p2-theme="research-reading"] .pg-ladder .is-mod { --rung: var(--p2-chart-modelled); }
body[data-p2-theme="research-reading"] .pg-ladder .is-est { --rung: var(--p2-chart-estimated); } body[data-p2-theme="research-reading"] .pg-ladder .is-fc { --rung: var(--p2-chart-forecast); }
body[data-p2-theme="research-reading"] .pg-ladder .is-proj { --rung: var(--p2-chart-projected); } body[data-p2-theme="research-reading"] .pg-ladder .is-user { --rung: var(--p2-chart-user); }
body[data-p2-theme="research-reading"] .pg-kq { --kq-observed: var(--p2-chart-observed); --kq-modelled: var(--p2-chart-modelled); --kq-estimated: var(--p2-chart-estimated); --kq-forecast: var(--p2-chart-forecast); }
body[data-p2-theme="research-reading"] :is(.dx-fig, .pg-figure, .rs-fig) { border-radius: var(--p2-chart-frame-r); }
body[data-p2-theme="research-reading"] .dx-fig figcaption { color: var(--p2-muted); }
/* status chips: the former #2f8f87 chip was 4.0:1 with white text; teal ink is 7.4:1 */
body[data-p2-theme="research-reading"] .mth-live { background: var(--p2-teal-ink); color: #fff; }
body[data-p2-theme="research-reading"] .mth-research { background: #f4e2b8; color: #4d3a0b; }

/* ===== earth-natural: /coast/, /built-world/, /local-conditions/, /operating-conditions/, /readiness/ (and subpages), /resources/ =====
   Sage paper ground, sea-teal links, earth-green eyebrows. Headings and plain links use zero-specificity selectors, so any
   section that sets its own colour (the dark heroes and dark bands) keeps it. */
:where(body[data-p2-theme="earth-natural"]) main :where(h1, h2, h3) { color: var(--t-text); }
:where(body[data-p2-theme="earth-natural"]) main :where(a:not([class])) { color: var(--t-link); }
body[data-p2-theme="earth-natural"] main#main.bw-page, body[data-p2-theme="earth-natural"] main#main.ici-main.tp,
body[data-p2-theme="earth-natural"] main#main.pb-list-page { background: var(--t-bg); }
body[data-p2-theme="earth-natural"] .pg-light, body[data-p2-theme="earth-natural"] .band-tight.tp-work,
body[data-p2-theme="earth-natural"] .band-tight.rd-now { background: var(--t-bg); }
body[data-p2-theme="earth-natural"] .band-tight.field-tint, body[data-p2-theme="earth-natural"] .band-tight.ba-cta,
body[data-p2-theme="earth-natural"] .band-tight.tp-hero { background: var(--t-surface-2); }
body[data-p2-theme="earth-natural"] :is(.co-card, .bw-card, .pg-card, .pg-panel, li.resource, .tool-workspace, .lbc-panel, .pb-filterbar, .tp-where, .panel) { border-color: var(--t-line); }
body[data-p2-theme="earth-natural"] :is(.pg-light, .pg-white) .pg-kicker { color: var(--t-eyebrow); }

/* ===== alerts: /building-alerts/ and /confirm/, /manage/, /stop/ =====
   Clarity first: strong ink, underlined plain links, the two-tone focus ring, and no decorative motion at any setting.
   Colours only: no consent, form or email wording or field is touched, and targets already measure 44px or more. */
:where(body[data-p2-theme="alerts"]) main :where(h1, h2, h3) { color: var(--t-text); }
:where(body[data-p2-theme="alerts"]) main :where(a:not([class])) { color: var(--t-link); text-decoration-line: underline; }
body[data-p2-theme="alerts"] :is(.pg-light, .pg-white) .pg-kicker { color: var(--t-eyebrow); }
body[data-p2-theme="alerts"] :is(.ba-card, .pg-panel, .pa-why, .ba-signup, .ba-examples) { border-color: var(--t-line); }
body[data-p2-theme="alerts"] main .pg-rise { opacity: 1 !important; transform: none !important; transition: none !important; animation: none !important; }
body[data-p2-theme="alerts"] main :is(.pg-wave, .pg-fx, .pg-hero-art img), body[data-p2-theme="alerts"] main .pg-hero::after { animation: none !important; }
body[data-p2-theme="alerts"] main .ba-cat { transition: none; }
/* earth-natural contrast: white on the built-world teal was 3.9:1 (teal ink is 7.4:1); the seasonal kicker on sage is 5.6:1 in gold ink */
body[data-p2-theme="earth-natural"] main#main.bw-page { --bw-teal: var(--p2-teal-ink); }
body[data-p2-theme="earth-natural"] .rd-kicker { color: var(--p2-gold-ink); }
body[data-p2-theme="earth-natural"] .bw-chip.bw-calc { background: var(--p2-teal-ink); }
body[data-p2-theme="earth-natural"] .bw-steps [data-status="outside"] .bw-dot { color: #5d6b75; }
/* earth-natural, continued (24 Nov 2026): one hero ground and one card depth across the ten pages. Light heroes that
   were plain white (.pb-hero, .lbc-hero, the coast hero) take the sage surface the readiness/resources hero (.tp-hero)
   already uses, with a soft green illumination; every card takes the theme shadow. Backgrounds and shadows only. */
body[data-p2-theme="earth-natural"] :is(section.pb-hero, section.lbc-hero, section.co-hero, .band-tight.tp-hero) {
  background: radial-gradient(48rem 20rem at 88% 0%, rgba(46, 107, 79, .09), transparent 70%), var(--t-surface-2); }
body[data-p2-theme="earth-natural"] :is(.co-card, .pg-light .pg-card, .tp .panel, .lbc-panel) { box-shadow: var(--t-shadow); }

/* ===== home-light: /account/ (and /account/building/), /equipment/, /equipment/recalls/, /building-record/, /sample/ =====
   Approachable and practical (24 Nov 2026): a warm light ground, warm hero bands with a soft gold illumination, white
   cards with gentle depth, teal-ink links and gold-ink eyebrows. Screen only, so printed records and the sample report
   print exactly as before; the report sheet itself stays white. Colours, backgrounds and shadows only: no wording,
   form, consent or report text changes and nothing moves. */
@media screen {
  :where(body[data-p2-theme="home-light"]) main :where(h1, h2, h3) { color: var(--t-text); }
  :where(body[data-p2-theme="home-light"]) main :where(a:not([class])) { color: var(--t-link); }
  body[data-p2-theme="home-light"] main#main { background: var(--t-bg); }
  body[data-p2-theme="home-light"] :is(section.pb-hero, section.ds-page-hero, section.pb-doc-hero, section.ax-band) {
    background: radial-gradient(48rem 20rem at 88% 0%, rgba(244, 196, 99, .14), transparent 70%), var(--t-surface-2); }
  body[data-p2-theme="home-light"] .pa-section-white { background: var(--t-surface); }
  body[data-p2-theme="home-light"] :is(.ax-panel, .ds-card, .eq-filters, .eq-close-bounds) { border-color: var(--t-line); box-shadow: var(--t-shadow); }
  body[data-p2-theme="home-light"] .br-card { background: var(--t-surface); border-color: var(--t-line); }
  body[data-p2-theme="home-light"] :is(.pa-eyebrow, .pb-eyebrow, .ds-eyebrow) { color: var(--t-eyebrow); }
  /* forms stay light and readable (24 Nov 2026): field boundaries at 3:1 or better on white and on the warm grounds (WCAG 1.4.11) */
  body[data-p2-theme="home-light"] main :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]), select, textarea) { border-color: #6b7c89; }
}
@media print { body[data-p2-theme="home-light"] { background: #fff; } }   /* printed records and reports stay as before */

/* ===== research: /discover/, /studies/ (founder 24 Nov 2026) =====
   Interactive scientific exploration sits on branded dark, atmospheric grounds: navy with teal illumination, deep
   cards, light ink. /discover/ keeps its own dark sections; /studies/ (drawn light by landing.css) is turned dark here.
   Only colours, shadows and backgrounds change, so there is no layout shift. */
body[data-p2-theme="research"] .lx-page { background: radial-gradient(70rem 28rem at 85% 0%, rgba(47, 196, 192, .09), transparent 70%), var(--t-bg); }
body[data-p2-theme="research"] .rs-key { color: var(--t-muted); }
body[data-p2-theme="research"] .rs-copy h2, body[data-p2-theme="research"] main#main .dc-new .pv-h3 { position: relative; color: var(--t-text); }
body[data-p2-theme="research"] .rs-copy h2::before, body[data-p2-theme="research"] main#main .dc-new .pv-h3::before { content: ""; position: absolute; left: 0; top: -.7rem; width: 2.5rem; height: 3px; border-radius: 2px; background: var(--p2-teal); }
body[data-p2-theme="research"] .rs-copy > p, body[data-p2-theme="research"] .rs-figs dd { color: var(--t-muted); }
body[data-p2-theme="research"] .rs-status { color: var(--t-text) !important; }
body[data-p2-theme="research"] .rs-stages li { color: #8ea3b4; }
body[data-p2-theme="research"] .rs-stages li::before { background: rgba(160, 200, 230, .18); }
body[data-p2-theme="research"] .rs-stages li.rs-on { color: var(--t-link); }
body[data-p2-theme="research"] .rs-stages li.rs-on::before { background: var(--p2-teal); }
body[data-p2-theme="research"] .rs-figs div { background: var(--t-surface); border-left-color: var(--p2-teal); box-shadow: var(--t-shadow); }
body[data-p2-theme="research"] .rs-figs dt { color: var(--t-link); }
body[data-p2-theme="research"] .rs-go { color: var(--t-link); }
body[data-p2-theme="research"] :is(.rs-fig, .dx-fig) { border-radius: var(--p2-chart-frame-r); box-shadow: var(--t-shadow); }
body[data-p2-theme="research"] .lx-index { background: var(--p2-deep); border-top: 1px solid var(--t-line); }
body[data-p2-theme="research"] .dc-new .dc-card { box-shadow: var(--t-shadow); }
body[data-p2-theme="research"] .dc-new .dc-card:hover, body[data-p2-theme="research"] .dc-new .dc-card:focus-visible { border-color: var(--p2-teal); }
body[data-p2-theme="research"] .dx-pn :is(.dx-fig, .dx-facts > div) { box-shadow: var(--p2-e-dark); }
body[data-p2-theme="research"] .dx-fig figcaption { color: var(--p2-muted); }
/* research, hierarchy (founder 24 Nov 2026): the status sentence reads as a quiet callout (colours here; its spacing is in
   landing.css, so this file stays colours only) */
body[data-p2-theme="research"] .rs-status { border-left: 3px solid var(--p2-teal); background: rgba(47, 196, 192, .07); font-weight: 500; }
