/* ==========================================================================
   ME/CFS patient hub (Europe) — low-stimulation, accessible stylesheet.
   Static, cookie-free, no external fonts or trackers.

   Visual philosophy: calm, clear, trustworthy. Generous breathing room,
   petrol as primary action colour, warm gold/sand for gentle balance,
   soft supporting tones only for orientation. Seamless dimmed/dark mode
   engineered for light-sensitive ME/CFS readers (low glare, WCAG AA/AAA).
   ========================================================================== */

:root {
  color-scheme: light;

  /* Neutrals */
  --bg: #ffffff;
  --bg-alt: #f7f8f7;
  --surface: #ffffff;
  --surface-2: #f1f3f2;
  --surface-warm: #faf7f2;
  --header-bg: rgba(255, 255, 255, 0.96);
  --line: #dadce0;
  --line-soft: #e8eaed;

  /* Text */
  --ink: #202124;
  --ink-2: #3c4043;
  --ink-soft: #5f6368;
  --ink-faint: #757b80;

  /* Petrol accent (#1f6f6b on white ≈ 5.9:1 WCAG AA) */
  --brand: #1f6f6b;
  --brand-hover: #195d5a;
  --brand-strong: #144a47;
  --brand-soft: #e6f2f1;
  --brand-line: #c4dfdc;
  --on-brand: #ffffff;

  /* Warm gold & calm supporting tones (orientation, diagrams) */
  --gold: #c48c50;  --gold-strong: #8a5a24;  --gold-line: #ead5b4;  --gold-soft: #fcefdc;
  --sage: #5e8b6e;  --sage-strong: #3d6b4f;  --sage-line: #cfe0d4;  --sage-soft: #edf4ef;
  --clay: #c2714f;  --clay-strong: #9a4a2e;  --clay-line: #efcdbd;  --clay-soft: #fbeee8;
  --sky: #4f7a94;   --sky-strong: #2f5f7c;   --sky-line: #c8dbe6;   --sky-soft: #ebf2f6;

  /* Status accents */
  --green: #137333;  --green-soft: #e6f4ea;
  --yellow: #9a5700; --yellow-soft: #fef7e0;
  --teal: #1967d2;   --teal-soft: #e8f0fe;

  /* Logo */
  --logo-bg: #fcefdc;
  --logo-a: #c48c50;
  --logo-b: #e6c49a;
  --logo-stem: #c48c50;

  /* Abstract hero & diagram tokens (light mode) */
  --art-bg: #f6f8f7;
  --art-card-bg: #f8faf9;
  --art-glow: #e4f1ef;
  --art-wave-1: rgba(31, 111, 107, 0.08);
  --art-wave-2: rgba(196, 140, 80, 0.11);
  --art-wave-3: rgba(79, 122, 148, 0.07);
  --art-stroke-1: rgba(31, 111, 107, 0.28);
  --art-stroke-2: rgba(196, 140, 80, 0.36);
  --art-orb: rgba(196, 140, 80, 0.18);
  --art-dot: #1f6f6b;
  --chart-axis: #c6c9cc;
  --chart-grid: #eceef0;
  --chart-limit: #b07d3c;
  --chart-over: rgba(194, 113, 79, 0.22);
  --chart-over-stroke: #b85d3b;
  --chart-delay: rgba(31, 111, 107, 0.08);
  --chart-act: #1f6f6b;
  --lw-orbit-bg: radial-gradient(circle, #fdf5e8 0%, #faf0e0 62%, #f6e9d4 100%);
  --lw-orbit-line: #ead5b4;

  /* Shape & motion */
  --r-sm: 8px;
  --r: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --e1: 0 1px 2px 0 rgba(60, 64, 67, 0.18), 0 1px 3px 1px rgba(60, 64, 67, 0.10);
  --e2: 0 2px 6px 0 rgba(60, 64, 67, 0.12), 0 6px 18px -4px rgba(60, 64, 67, 0.12);
  --e3: 0 6px 20px -4px rgba(60, 64, 67, 0.20), 0 2px 6px rgba(60, 64, 67, 0.12);
  --ease: cubic-bezier(0.2, 0, 0, 1);
  --focus: 0 0 0 2px var(--bg), 0 0 0 4px var(--brand);

  /* Layout */
  --wide: 72rem;
  --text: 43rem;
  --header-h: 7rem;

  /* Typography: clean system sans, zero downloads */
  --font: Roboto, "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Noto Sans", Arial, sans-serif;
  --font-display: "Segoe UI Variable Display", Roboto, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Noto Sans", Arial, sans-serif;
}

/* ---------- Dimmed / Dark mode (low-glare slate for light-sensitive readers) ---------- */
html.dim {
  color-scheme: dark;

  --bg: #16191c;
  --bg-alt: #1d2125;
  --surface: #20252a;
  --surface-2: #282e34;
  --surface-warm: #242422;
  --header-bg: rgba(22, 25, 28, 0.96);
  --line: #363d44;
  --line-soft: #2a3036;

  --ink: #e8eceb;
  --ink-2: #cfd6d8;
  --ink-soft: #9aa5ab;
  --ink-faint: #818d94;

  --brand: #6cc2bc;
  --brand-hover: #86d2cd;
  --brand-strong: #a7e0dc;
  --brand-soft: #1c3132;
  --brand-line: #2d4e4f;
  --on-brand: #0e1c1b;

  --gold: #d6a469;  --gold-strong: #e8be8a;  --gold-line: #4d3f2d;  --gold-soft: #2b241c;
  --sage: #85b896;  --sage-strong: #a6d1b5;  --sage-line: #324a3b;  --sage-soft: #1d2c23;
  --clay: #df9071;  --clay-strong: #f0b199;  --clay-line: #54372e;  --clay-soft: #30201b;
  --sky: #83b2ce;   --sky-strong: #a7cce3;   --sky-line: #304757;   --sky-soft: #1c2932;

  --green: #7bc793;  --green-soft: #1c2e22;
  --yellow: #e3b263; --yellow-soft: #2c2519;
  --teal: #7db4f0;   --teal-soft: #1b2938;

  --logo-bg: #2a241c;
  --logo-a: #d6a469;
  --logo-b: #9b7444;
  --logo-stem: #d6a469;

  --art-bg: #1a1f23;
  --art-card-bg: #1c2227;
  --art-glow: #213739;
  --art-wave-1: rgba(108, 194, 188, 0.11);
  --art-wave-2: rgba(214, 164, 105, 0.10);
  --art-wave-3: rgba(131, 178, 206, 0.08);
  --art-stroke-1: rgba(108, 194, 188, 0.32);
  --art-stroke-2: rgba(214, 164, 105, 0.34);
  --art-orb: rgba(214, 164, 105, 0.18);
  --art-dot: #6cc2bc;
  --chart-axis: #4a545d;
  --chart-grid: #293036;
  --chart-limit: #d6a469;
  --chart-over: rgba(223, 144, 113, 0.24);
  --chart-over-stroke: #e09272;
  --chart-delay: rgba(108, 194, 188, 0.10);
  --chart-act: #6cc2bc;
  --lw-orbit-bg: radial-gradient(circle, #242320 0%, #202124 62%, #1d2024 100%);
  --lw-orbit-line: #433b30;

  --e1: 0 1px 3px rgba(0, 0, 0, 0.35);
  --e2: 0 4px 14px rgba(0, 0, 0, 0.40);
  --e3: 0 10px 28px rgba(0, 0, 0, 0.50);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; }
h1, h2, h3 { font-family: var(--font-display); color: var(--ink); text-wrap: balance; }
p, li { text-wrap: pretty; }
a { color: var(--brand); text-decoration: none; transition: color 0.15s var(--ease); }
a:hover { color: var(--brand-hover); text-decoration: underline; text-underline-offset: 0.2em; }
.content p a, .content li a, .content dd a { text-decoration: underline; text-decoration-color: var(--brand-line); text-underline-offset: 0.2em; }
.content p a:hover, .content li a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 6px; }
::selection { background: var(--brand-line); color: var(--ink); }
strong { font-weight: 600; color: var(--ink); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.wrap { width: min(var(--wide), calc(100% - 3rem)); margin-inline: auto; }
.icon { width: 1.25em; height: 1.25em; flex: none; vertical-align: -0.22em; }

.skip {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--brand); color: var(--on-brand);
  padding: 0.6rem 1rem; border-radius: 999px; font-weight: 500;
}
.skip:focus { top: 1rem; color: var(--on-brand); }

main [id] { scroll-margin-top: calc(var(--header-h) + 1rem); }

/* ---------- Logo ---------- */
.logo { width: 2.4rem; height: 2.4rem; flex: none; }
.logo .logo-bg { fill: var(--logo-bg); }
.logo .logo-a { fill: var(--logo-a); }
.logo .logo-b { fill: var(--logo-b); }
.logo .logo-stem { stroke: var(--logo-stem); }
.logo-lg { width: 2.75rem; height: 2.75rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 0.85rem; min-height: 4rem; }
.brand { display: flex; align-items: center; gap: 0.75rem; color: var(--ink); min-width: 0; }
.brand:hover { color: var(--ink); text-decoration: none; }
.brand-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.brand-title { font-family: var(--font-display); font-weight: 500; font-size: 1.12rem; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-kicker { font-size: 0.78rem; color: var(--ink-soft); }

.header-actions { display: flex; align-items: center; gap: 0.5rem; flex: none; }
.dim-toggle {
  display: inline-flex; align-items: center; gap: 0.4rem;
  min-height: 2.25rem; padding: 0 0.85rem;
  border: 1px solid var(--line); border-radius: 999px;
  background: var(--surface); color: var(--ink-2);
  font: inherit; font-size: 0.84rem; font-weight: 500; cursor: pointer;
  transition: background 0.15s var(--ease), border-color 0.15s var(--ease), color 0.15s var(--ease);
}
.dim-toggle:hover { background: var(--surface-2); border-color: var(--brand-line); color: var(--ink); }
.dim-toggle .icon { width: 1.05rem; height: 1.05rem; color: var(--brand); }
.dim-ic-sun { display: none; }
html.dim .dim-ic-moon { display: none; }
html.dim .dim-ic-sun { display: inline-block; color: var(--gold); }

/* Language menu */
.lang-menu { position: relative; }
.lang-menu > summary {
  list-style: none; display: inline-flex; align-items: center; gap: 0.3rem;
  min-height: 2.25rem; padding: 0 0.75rem; border: 1px solid var(--line); border-radius: 999px;
  font-size: 0.85rem; font-weight: 500; letter-spacing: 0.02em; color: var(--ink-2);
  cursor: pointer; background: var(--surface);
}
.lang-menu > summary::-webkit-details-marker { display: none; }
.lang-menu > summary:hover { background: var(--surface-2); color: var(--ink); }
.lang-menu .lm-chev { width: 0.9rem; height: 0.9rem; fill: none; stroke: currentColor; stroke-width: 2; transition: transform 0.15s var(--ease); }
.lang-menu[open] .lm-chev { transform: rotate(180deg); }
.lang-menu ul {
  position: absolute; right: 0; top: calc(100% + 0.4rem); z-index: 50; min-width: 13rem;
  margin: 0; padding: 0.35rem; list-style: none;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--e3);
}
.lang-menu li { margin: 0; }
.lang-menu a { display: flex; align-items: center; gap: 0.6rem; padding: 0.5rem 0.65rem; border-radius: 9px; color: var(--ink-2); font-size: 0.93rem; text-decoration: none; }
.lang-menu a:hover { background: var(--surface-2); color: var(--ink); text-decoration: none; }
.lang-menu a[aria-current="page"] { background: var(--brand-soft); color: var(--brand-strong); }
.lang-menu .lm-code { flex: none; width: 1.7rem; font-size: 0.75rem; font-weight: 500; color: var(--ink-faint); }
.lang-menu .lm-flag { flex: none; width: 20px; height: 15px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(128, 128, 128, 0.25); object-fit: cover; }
.lang-menu > summary .lm-flag { margin-right: 0.1rem; }

/* Navigation tabs + grouped dropdowns */
.menu { position: relative; }
.menu .wrap { position: relative; }
.menu .wrap::after {
  content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 2.5rem; pointer-events: none;
  background: linear-gradient(to right, transparent, var(--bg));
}
.menu ul { display: flex; gap: 0.25rem; list-style: none; margin: 0; padding: 0 2rem 0 0; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.menu ul::-webkit-scrollbar { display: none; }
.menu li { flex: none; }
.menu a, .menu-group {
  position: relative; display: inline-flex; align-items: center; gap: 0.3rem;
  min-height: 3rem; padding: 0 0.8rem;
  white-space: nowrap; font-size: 0.92rem; font-weight: 500; color: var(--ink-soft);
}
.menu-group { all: unset; box-sizing: border-box; position: relative; cursor: pointer; display: inline-flex; align-items: center; gap: 0.3rem; min-height: 3rem; padding: 0 0.8rem; white-space: nowrap; font-size: 0.92rem; font-weight: 500; color: var(--ink-soft); }
.menu a::after, .menu-group::after {
  content: ""; position: absolute; left: 0.5rem; right: 0.5rem; bottom: 0; height: 3px;
  border-radius: 3px 3px 0 0; background: transparent; transition: background 0.2s var(--ease);
}
.menu a:hover, .menu-group:hover { color: var(--ink); background: var(--bg-alt); text-decoration: none; }
.menu a[aria-current="page"], .menu-group[aria-current="true"] { color: var(--brand); }
.menu a[aria-current="page"]::after, .menu-group[aria-current="true"]::after { background: var(--brand); }
.menu-group[aria-expanded="true"] { color: var(--ink); background: var(--bg-alt); }
.menu-group:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; }
.menu-chev { width: 0.7rem; height: 0.7rem; transition: transform 0.2s var(--ease); }
.menu-group[aria-expanded="true"] .menu-chev { transform: rotate(180deg); }
.menu-panel {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 30;
  background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  box-shadow: var(--e3);
}
.menu-panel .wrap::after { display: none; }
.menu-panel ul { list-style: none; margin: 0; padding: 0.85rem 0 1rem; display: grid; gap: 0.35rem 1rem; grid-template-columns: repeat(auto-fill, minmax(14.5rem, 1fr)); overflow: visible; }
.menu-panel li { margin: 0; }
.menu-panel a { display: grid; gap: 0.08rem; padding: 0.65rem 0.8rem; border-radius: 10px; color: var(--ink); text-decoration: none; white-space: normal; min-height: 0; font-size: inherit; }
.menu-panel a::after { display: none; }
.menu-panel a:hover { background: var(--bg-alt); text-decoration: none; }
.menu-panel a strong { font-weight: 500; font-size: 0.97rem; color: var(--ink); }
.menu-panel a span { font-size: 0.83rem; color: var(--ink-soft); line-height: 1.4; }
.menu-panel a[aria-current="page"] { background: var(--brand-soft); }
.menu-panel a[aria-current="page"] strong { color: var(--brand-strong); }
.menu-panel .menu-sub { grid-column: 1 / -1; padding: 0.6rem 0.75rem 0; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); border-top: 1px solid var(--line-soft); margin-top: 0.3rem; }

.progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; overflow: hidden; }
.progress span { display: block; height: 100%; transform-origin: 0 50%; transform: scaleX(0); background: var(--brand); }

.draft-note { margin: 0; padding: 0.55rem 0; background: var(--gold-soft); border-bottom: 1px solid var(--gold-line); font-size: 0.88rem; color: var(--gold-strong); }
.draft-note .wrap { display: flex; gap: 0.5rem; align-items: center; }
.draft-note .icon { flex: none; width: 1rem; height: 1rem; }

/* ---------- Buttons, badges ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 2.9rem; padding: 0 1.4rem; border-radius: 999px;
  font: inherit; font-size: 0.97rem; font-weight: 500; letter-spacing: 0.01em; cursor: pointer;
  border: 1px solid transparent;
  transition: box-shadow 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.btn:hover { text-decoration: none; }
.btn .icon { transition: transform 0.2s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn-primary { background: var(--brand); color: var(--on-brand); }
.btn-primary:hover { background: var(--brand-hover); color: var(--on-brand); box-shadow: var(--e1); }
.btn-ghost { background: var(--surface); color: var(--brand); border-color: var(--line); }
.btn-ghost:hover { background: var(--brand-soft); color: var(--brand-strong); border-color: var(--brand-line); }
.btn-sm { min-height: 2.4rem; padding: 0 1rem; font-size: 0.9rem; }

.eyebrow { display: inline-flex; align-items: center; gap: 0.6rem; margin: 0 0 0.9rem; font-size: 0.9rem; font-weight: 500; color: var(--ink-soft); }
.eyebrow-icon { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: var(--brand-soft); color: var(--brand); }
.eyebrow-icon .icon { width: 1.15rem; height: 1.15rem; }

.ph { color: var(--ink-soft); font-style: italic; background: var(--yellow-soft); border-radius: 4px; padding: 0.05rem 0.35rem; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

/* ---------- Page hero (topic pages, low-stimulation abstract art) ---------- */
.page-hero {
  position: relative; overflow: hidden;
  padding: clamp(2.5rem, 5.5vw, 4rem) 0 clamp(1.6rem, 3vw, 2.25rem);
  background: var(--bg);
}
.page-hero.has-art {
  background: linear-gradient(180deg, var(--art-bg) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line-soft);
}
.hero-art {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
}
.hero-art svg {
  position: absolute; right: 0; top: 0; width: min(46rem, 100%); height: 100%; display: block;
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero .hero-text { max-width: var(--text); }
.page-hero h1 { font-size: clamp(2.1rem, 4.5vw, 3.2rem); line-height: 1.14; letter-spacing: -0.02em; font-weight: 500; margin: 0 0 0.9rem; max-width: 24ch; }
.lead { font-size: clamp(1.1rem, 1.55vw, 1.25rem); line-height: 1.55; color: var(--ink-soft); max-width: 40rem; margin: 0 0 1.3rem; }
.meta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.25rem; list-style: none; margin: 0; padding: 1rem 0 0; font-size: 0.88rem; color: var(--ink-soft); border-top: 1px solid var(--line-soft); max-width: var(--text); }
.meta-row li { display: inline-flex; align-items: center; gap: 0.4rem; margin: 0; }
.meta { color: var(--ink-soft); font-size: 0.9rem; }

.read-tools { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 0.85rem 0 0; }
.read-tools button {
  display: inline-flex; align-items: center; gap: 0.45rem;
  min-height: 2.5rem; padding: 0.35rem 0.95rem; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); color: var(--brand-strong);
  font: inherit; font-size: 0.88rem; font-weight: 500; cursor: pointer;
  transition: background 0.15s var(--ease), border-color 0.15s var(--ease);
}
.read-tools button:hover { background: var(--brand-soft); border-color: var(--brand-line); }
.read-tools .icon { width: 1rem; height: 1rem; }

/* ---------- Page layout ---------- */
.page-layout { padding: 1.5rem 0 3.5rem; }
.page-layout .content { max-width: var(--text); }
.page-layout.is-wide .content { max-width: 64rem; }
.toc { display: none; }
@media (min-width: 1080px) {
  .page-layout.has-toc { display: grid; grid-template-columns: minmax(0, var(--text)) 15.5rem; gap: 4.5rem; }
  .page-layout.has-toc .content { grid-column: 1; grid-row: 1; }
  .toc { display: block; grid-column: 2; grid-row: 1; position: sticky; top: calc(var(--header-h) + 1.5rem); align-self: start; }
}
.toc-title { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-soft); margin: 0.2rem 0 0.65rem; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.toc li { margin: 0; }
.toc a { display: block; padding: 0.35rem 0 0.35rem 1rem; margin-left: -1px; border-left: 2px solid transparent; font-size: 0.9rem; line-height: 1.4; color: var(--ink-soft); }
.toc a:hover { color: var(--ink); text-decoration: none; }
.toc a[aria-current] { color: var(--brand); border-left-color: var(--brand); font-weight: 500; }

/* ---------- Content ---------- */
.content > section, .content > nav, .content > aside, .content > figure { margin: 0 0 2.4rem; }
.content h2 { font-size: clamp(1.45rem, 2.3vw, 1.8rem); line-height: 1.25; letter-spacing: -0.015em; font-weight: 600; margin: 0 0 0.85rem; }
.content h3 { font-size: 1.15rem; line-height: 1.35; font-weight: 600; margin: 1.5rem 0 0.55rem; }
.content p { margin: 0 0 1rem; }
.content ul, .content ol { padding-left: 1.25rem; margin: 0 0 1.1rem; }
.content li { margin: 0.4rem 0; }
.content li::marker { color: var(--ink-faint); }

/* In brief */
.in-brief { background: var(--brand-soft); border: 1px solid var(--brand-line); border-radius: var(--r-lg); padding: 1.35rem 1.55rem 1.05rem; }
.content .in-brief h2 { display: flex; align-items: center; gap: 0.55rem; font-family: var(--font); font-size: 0.95rem; font-weight: 600; color: var(--brand-strong); margin: 0 0 0.6rem; }
.in-brief ul { list-style: none; padding: 0; margin: 0; }
.in-brief li { position: relative; padding-left: 1.85rem; margin: 0.55rem 0; color: var(--ink); font-size: 1.03rem; }
.in-brief li::before {
  content: ""; position: absolute; left: 0; top: 0.34em; width: 1.1rem; height: 1.1rem; border-radius: 50%;
  background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 0.72rem no-repeat;
}
html.dim .in-brief li::before {
  background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e1c1b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 0.72rem no-repeat;
}

/* Path box */
.vs-pathbox { display: flex; gap: 0.9rem; align-items: flex-start; margin: 0 0 1.8rem; padding: 1rem 1.15rem; border: 1px solid var(--brand-line); border-radius: var(--r-lg); background: var(--surface); }
.vs-pb-icon { flex: none; display: grid; place-items: center; width: 2.3rem; height: 2.3rem; border-radius: 999px; background: var(--brand-soft); color: var(--brand); }
.vs-pb-icon .icon { width: 1.15rem; height: 1.15rem; }
.vs-pb-h { margin: 0; font-weight: 600; color: var(--ink); }
.vs-pb-sub { margin: 0.15rem 0 0.65rem; font-size: 0.92rem; color: var(--ink-soft); }
.vs-pb-links { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 0; }
.vs-pb-link { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.42rem 0.9rem; border-radius: 999px; background: var(--brand-soft); border: 1px solid var(--brand-line); color: var(--brand-strong); font-weight: 500; font-size: 0.91rem; text-decoration: none; }
.vs-pb-link:hover { border-color: var(--brand); text-decoration: none; }
.vs-pb-link .icon { width: 0.95rem; height: 0.95rem; }
.vs-asklink { display: flex; gap: 0.5rem; align-items: center; margin-top: 0.9rem; font-weight: 500; }
.vs-asklink .icon { width: 1.1rem; height: 1.1rem; color: var(--brand); flex: none; }

/* Glossary */
.glossary { margin: 0; border-top: 1px solid var(--line); }
.glossary dt { font-weight: 600; color: var(--ink); margin: 0; padding-top: 0.9rem; }
.glossary dd { margin: 0.2rem 0 0; color: var(--ink-2); padding-bottom: 0.9rem; border-bottom: 1px solid var(--line-soft); }

/* Country switcher (tabs + filtered boxes) */
[data-cs-p][hidden], .cs-btn[hidden], .cs-empty[hidden] { display: none !important; }
.cs-wrap { display: flex; flex-direction: column; margin: 0.6rem 0 1.4rem; }
.cs-nav {
  display: flex; flex-wrap: wrap; align-items: flex-end; gap: 0.25rem 0.1rem;
  margin: 0 0 1.2rem; border-bottom: 1px solid var(--line);
}
.cs-nav .country-nav-label {
  flex: none; align-self: center; margin: 0 0.75rem 0.2rem 0;
  font-size: 0.76rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-faint);
}
.cs-nav .cs-btn {
  flex: none; display: inline-flex; align-items: center; padding: 0.65rem 0.9rem 0.7rem;
  border: 0; border-radius: 0; background: none; color: var(--ink-soft);
  font-size: 0.94rem; font-weight: 500; white-space: nowrap;
  box-shadow: inset 0 -2px 0 transparent;
  transition: color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.cs-nav .cs-btn:hover { color: var(--ink); box-shadow: inset 0 -2px 0 var(--line); text-decoration: none; }
.cs-nav .cs-btn[aria-current="true"] { color: var(--brand-strong); box-shadow: inset 0 -2px 0 var(--brand); }
.cs-wrap .cs-all { align-self: flex-end; margin: -0.7rem 0 0.6rem; font-size: 0.86rem; color: var(--ink-soft); }
.cs-wrap .cs-all:hover { color: var(--brand); }
.cs-empty { padding: 0.4rem 0 0.4rem 1rem; border-left: 2px solid var(--brand-line); color: var(--ink-soft); margin: 0 0 1rem; }

.country {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 1.2rem 1.4rem 0.6rem; margin: 0 0 1rem; transition: box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}
.country:target { border-color: var(--brand); box-shadow: 0 0 0 2px var(--brand-line); }
.content .country h3 { margin: 0 0 0.65rem; font-size: 1.15rem; display: flex; align-items: center; gap: 0.55rem; }
.content .country h3::before { content: ""; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--brand); flex: none; }
.country ul { padding-left: 1.15rem; }

/* FAQ accordion */
.qa-tools { display: flex; justify-content: flex-end; margin: 0 0 0.8rem; }
.qa-list { border-top: 1px solid var(--line); }
details.qa { border-bottom: 1px solid var(--line); }
details.qa > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 0.25rem; border-radius: 8px; }
details.qa > summary::-webkit-details-marker { display: none; }
details.qa > summary:hover .qa-q { color: var(--brand); }
.qa-q { font-family: var(--font-display); font-size: 1.12rem; font-weight: 500; line-height: 1.35; color: var(--ink); }
.qa-chev { flex: none; color: var(--ink-soft); width: 1.35rem; height: 1.35rem; transition: transform 0.2s var(--ease); }
details[open] > summary .qa-chev { transform: rotate(180deg); }
.qa-a { padding: 0 0.25rem 1.05rem; }
.qa-a p { margin: 0 0 0.8rem; }
.qa-a p:last-child { margin-bottom: 0; }

/* Tickable question checklists (ASK_JS) */
.aq-g { margin-top: 1rem; }
.aq-gh, .content .aq-gh { margin: 1.1rem 0 0.45rem; font-family: var(--font); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand-strong); }
.aq-list, .content .vs-aq, .content .vs-own { list-style: none; margin: 0.4rem 0 0; padding: 0 !important; display: grid; gap: 0.45rem; max-width: 48rem; }
.content .vs-aq li { margin: 0; }
.aq { padding: 0.65rem 0.85rem; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.aq.is-on { border-color: var(--brand-line); background: var(--brand-soft); }
.aq label { display: flex; gap: 0.7rem; align-items: flex-start; cursor: pointer; font-size: 0.98rem; color: var(--ink); }
.aq input[type="checkbox"] { flex: none; width: 1.15rem; height: 1.15rem; margin-top: 0.2rem; accent-color: var(--brand); }
.aq-why { margin: 0.3rem 0 0 1.85rem; }
.aq-why > summary { cursor: pointer; font-size: 0.84rem; color: var(--brand); }
.aq-why p { margin: 0.25rem 0 0; font-size: 0.88rem; color: var(--ink-2); }
.aq-del { all: unset; cursor: pointer; margin: 0.25rem 0 0 1.85rem; font-size: 0.82rem; color: var(--ink-soft); text-decoration: underline; }
.aq-own { display: flex; gap: 0.5rem; margin-top: 0.9rem; max-width: 48rem; }
.aq-own input { flex: 1; min-width: 0; padding: 0.6rem 0.85rem; border: 1px solid var(--line); border-radius: 10px; font: inherit; font-size: 0.95rem; background: var(--surface); color: var(--ink); }
.aq-own input:focus { outline: 2px solid var(--brand); outline-offset: 1px; }
.aq-tools { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; margin-top: 0.8rem; }
.aq-btn { all: unset; cursor: pointer; padding: 0.52rem 1rem; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-weight: 500; font-size: 0.91rem; }
.aq-btn:hover { border-color: var(--brand); color: var(--brand-strong); }
.aq-btn.is-main { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.aq-btn.is-main:hover { background: var(--brand-hover); color: var(--on-brand); }
.aq-btn:focus-visible, .aq-del:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.aq-hint { font-size: 0.84rem; color: var(--ink-soft); }
.vs-aq-tools { max-width: 48rem; }
.vs-aq[data-mode="todo"] .aq.is-on span { color: var(--ink-soft); text-decoration: line-through; text-decoration-color: var(--ink-soft); }
.aq-sheet { display: none; }
@media (max-width: 720px) { .aq-own { flex-direction: column; } .aq-own .aq-btn { text-align: center; } }

/* Sources */
.sources { font-size: 0.92rem; color: var(--ink-soft); background: var(--bg-alt); border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: 1.25rem 1.45rem 0.7rem; }
.content .sources h2 { font-family: var(--font); font-size: 0.95rem; font-weight: 600; color: var(--ink); }
.sources ol { padding-left: 1.3rem; }
.sources li { margin: 0.35rem 0; }

/* Next steps */
.next-steps h2 { margin-bottom: 1rem !important; }
.nx { display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.nx-card {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 0.25rem;
  padding: 1rem 2.6rem 1rem 1.15rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  color: var(--ink); text-decoration: none;
  transition: box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}
.nx-card:hover { box-shadow: var(--e2); border-color: var(--brand-line); text-decoration: none; color: var(--ink); }
.nx-card strong { font-weight: 600; color: var(--ink); font-size: 1.02rem; }
.nx-card > span:not(.nx-kick) { font-size: 0.88rem; color: var(--ink-soft); line-height: 1.45; }
.nx-card .icon { position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); color: var(--ink-faint); transition: transform 0.2s var(--ease), color 0.2s var(--ease); }
.nx-card:hover .icon { transform: translate(3px, -50%); color: var(--brand); }
.nx-kick { font-size: 0.72rem !important; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand-strong) !important; }
.vs-nx.is-next { border-color: var(--brand-line); background: var(--brand-soft); }

/* Care note and trust */
.care-note { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 0.75rem 1rem; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.1rem 1.25rem; background: var(--surface); }
.care-note p { margin: 0; color: var(--ink-2); }
.care-icon { width: 1.5rem; height: 1.5rem; color: var(--brand); }
.care-note .print-btn { grid-column: 1 / -1; justify-self: start; min-height: 2.5rem; font-size: 0.9rem; padding: 0 1.1rem; }
.care-note .print-btn:hover .icon { transform: none; }
@media (min-width: 640px) { .care-note { grid-template-columns: auto 1fr auto; } .care-note .print-btn { grid-column: auto; } }
.trust { display: grid; grid-template-columns: auto 1fr; gap: 1rem; font-size: 0.88rem; color: var(--ink-soft); padding-top: 0.4rem; }
.trust p { margin: 0 0 0.6rem; color: var(--ink-soft); }
.trust strong { color: var(--ink); }
.trust-icon { width: 1.5rem; height: 1.5rem; color: var(--green); }

/* ---------- Home ---------- */
.home-hero {
  position: relative; overflow: hidden;
  padding: clamp(2.8rem, 6.5vw, 4.8rem) 0 clamp(2.6rem, 5vw, 4.2rem);
  background: linear-gradient(180deg, var(--art-bg) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line-soft);
}
.home-hero-grid { display: grid; gap: 2.2rem 3rem; align-items: center; }
@media (min-width: 960px) { .home-hero-grid { grid-template-columns: 1.2fr 1fr; } }
.home-hero h1 { font-size: clamp(2.35rem, 5.2vw, 3.8rem); line-height: 1.1; letter-spacing: -0.025em; font-weight: 500; margin: 0 0 1.1rem; max-width: 16ch; }
.home-hero .lead { color: var(--ink-soft); margin-bottom: 1.4rem; }
.cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.6rem 0 1.5rem; }
.assurances { display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; list-style: none; padding: 0; margin: 0; color: var(--ink-soft); font-size: 0.92rem; }
.assurances li { display: inline-flex; align-items: center; gap: 0.45rem; }
.assurances .icon { color: var(--green); width: 1.1rem; height: 1.1rem; }

/* Low-stimulation static Horizon hero artwork (works identically in Light & Dimmed mode) */
.horizon-card {
  position: relative;
  border-radius: var(--r-xl);
  border: 1px solid var(--line-soft);
  background: var(--art-card-bg);
  overflow: hidden;
  box-shadow: var(--e1);
}
.horizon-svg { display: block; width: 100%; height: auto; }
@media (max-width: 959px) {
  .horizon-card { max-width: 30rem; margin-inline: auto; }
}

.home-section { padding: clamp(2.8rem, 6vw, 4.5rem) 0; border-top: 1px solid var(--line-soft); background: var(--bg); }
.home-section.alt { background: var(--bg-alt); border-top: 0; }
.home-section h2 { font-size: clamp(1.75rem, 3.2vw, 2.35rem); line-height: 1.18; letter-spacing: -0.02em; margin: 0 0 0.6rem; font-weight: 500; }
.section-kicker { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--brand); margin: 0 0 0.45rem; }
.section-lead { color: var(--ink-soft); font-size: 1.07rem; max-width: 42rem; margin: 0 0 1.7rem; }

/* Home: My path preview (clean, no v2 collision!) */
.hp-grid { display: grid; gap: 2rem 3.2rem; align-items: center; }
@media (min-width: 900px) { .hp-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); } }
.hp-text .section-lead { margin-bottom: 1.2rem; }
.hp-text .cta { margin: 0 0 0.9rem; }
.hp-privacy { display: flex; gap: 0.45rem; align-items: flex-start; margin: 0; font-size: 0.88rem; color: var(--ink-soft); }
.hp-privacy .icon { width: 1rem; height: 1rem; margin-top: 0.2rem; color: var(--brand); }
.hp-preview { padding: 1.35rem 1.45rem; border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--e1); }
.hp-steps { list-style: none; margin: 0; padding: 0; position: relative; }
.hp-step { position: relative; display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: 0.85rem; padding: 0 0 1.05rem; align-items: start; }
.hp-step:last-child { padding-bottom: 0; }
.hp-step:not(:last-child)::before { content: ""; position: absolute; left: 1rem; top: 2rem; bottom: 0; border-left: 2px solid var(--line-soft); }
.hp-num { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 999px; background: var(--brand); color: var(--on-brand); font-size: 0.9rem; font-weight: 600; }
.hp-q { margin: 0.15rem 0 0.45rem; font-weight: 600; font-size: 0.98rem; color: var(--ink); }
.hp-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.hp-chip {
  display: inline-flex; align-items: center; padding: 0.38rem 0.85rem; border-radius: 999px;
  border: 1px solid var(--brand-line); background: var(--surface); color: var(--brand-strong);
  font-weight: 500; font-size: 0.9rem; text-decoration: none;
  transition: background 0.15s var(--ease), border-color 0.15s var(--ease);
}
.hp-chip:hover { background: var(--brand-soft); border-color: var(--brand); text-decoration: none; }
.hp-chip.is-unknown { border-style: dashed; border-color: var(--line); color: var(--ink-soft); font-weight: 400; }

/* Home: Journey */
.journey { list-style: none; padding: 0 !important; margin: 1.2rem 0 0.4rem; display: grid; gap: 1rem; }
.journey li { position: relative; display: grid; grid-template-columns: 2.4rem 1fr; gap: 0.9rem; margin: 0; }
.journey li::before { content: ""; position: absolute; left: 1.2rem; top: 2.4rem; bottom: -1rem; width: 2px; margin-left: -1px; background: var(--brand-line); }
.journey li:last-child::before { display: none; }
.j-num { position: relative; z-index: 1; display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--brand); color: var(--on-brand); font-weight: 600; }
.j-body strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.06rem; color: var(--ink); margin: 0.25rem 0 0.25rem; }
.j-body p { margin: 0 0 0.45rem; font-size: 0.95rem; color: var(--ink-2); }
@media (min-width: 960px) {
  .home-section .journey.j-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
  .home-section .journey li { grid-template-columns: 1fr; grid-template-rows: auto 1fr; gap: 0.65rem; }
  .home-section .journey li::before { left: 2.7rem; right: -1rem; top: 1.2rem; bottom: auto; width: auto; height: 2px; margin: -1px 0 0; }
  .home-section .journey .j-body { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1rem 1.1rem; height: 100%; }
  .home-section .journey .j-body strong { margin-top: 0; }
}

/* Home: Life wheel ("Sie im Mittelpunkt") */
.home-wheel { display: grid; gap: 1.5rem 3rem; align-items: center; }
@media (min-width: 900px) { .home-wheel { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); } }
.lw { margin: 0; }
.lw-stage { --r: 34%; --dot: 3.3rem; position: relative; width: min(100%, 27rem); aspect-ratio: 1; margin: 0 auto; }
.lw-orbit {
  position: absolute; left: 50%; top: 50%; width: calc(var(--r) * 2); aspect-ratio: 1; transform: translate(-50%, -50%);
  border-radius: 50%; background: var(--lw-orbit-bg); border: 1.5px solid var(--lw-orbit-line);
}
.lw-centre {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 32%; aspect-ratio: 1; border-radius: 50%; display: grid; place-content: center; justify-items: center; text-align: center;
  background: var(--surface); border: 1px solid var(--line-soft); box-shadow: var(--e2);
}
.lw-centre-icon { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--gold); color: #ffffff; margin-bottom: 0.3rem; }
html.dim .lw-centre-icon { color: #16191c; }
.lw-centre-icon .icon { width: 1.3rem; height: 1.3rem; }
.lw-centre strong { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; line-height: 1.1; color: var(--ink); }
.lw-centre span:last-child { font-size: 0.74rem; color: var(--ink-soft); }
.lw-node { position: absolute; width: 0; height: 0; left: calc(50% + var(--r) * var(--c)); top: calc(50% + var(--r) * var(--s)); color: var(--ink); text-decoration: none; }
.lw-dot {
  position: absolute; left: 0; top: 0; transform: translate(-50%, -50%);
  display: grid; place-items: center; width: var(--dot); height: var(--dot); border-radius: 50%;
  background: var(--surface); color: var(--brand); border: 1px solid var(--gold-line); box-shadow: var(--e1);
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.lw-dot .icon { width: 1.45rem; height: 1.45rem; }
.lw-label { position: absolute; width: max-content; max-width: 8.5rem; font-size: 0.93rem; font-weight: 500; line-height: 1.25; color: var(--ink); text-wrap: balance; }
.at-top .lw-label { bottom: calc(var(--dot) / 2 + 0.45rem); left: 0; transform: translateX(-50%); text-align: center; }
.at-bottom .lw-label { top: calc(var(--dot) / 2 + 0.45rem); left: 0; transform: translateX(-50%); text-align: center; }
.at-right .lw-label { left: calc(var(--dot) / 2 + 0.6rem); top: 0; transform: translateY(-50%); text-align: left; }
.at-left .lw-label { right: calc(var(--dot) / 2 + 0.6rem); top: 0; transform: translateY(-50%); text-align: right; }
.lw-node:hover { text-decoration: none; }
.lw-node:hover .lw-dot, .lw-node:focus-visible .lw-dot { transform: translate(-50%, -50%) scale(1.06); border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.lw-node:hover .lw-label { color: var(--brand-strong); }
.lw-node:focus-visible { box-shadow: none; outline: none; }
@media (max-width: 640px) {
  .lw-stage { --r: 37%; --dot: 2.7rem; }
  .lw-dot .icon { width: 1.2rem; height: 1.2rem; }
  .lw-label, .at-left .lw-label, .at-right .lw-label, .at-top .lw-label {
    top: calc(var(--dot) / 2 + 0.3rem); bottom: auto; left: 0; right: auto; transform: translateX(-50%);
    text-align: center; max-width: 6rem; font-size: 0.78rem;
  }
  .lw-centre { width: 30%; }
  .lw-centre-icon { width: 1.85rem; height: 1.85rem; margin-bottom: 0.15rem; }
  .lw-centre strong { font-size: 0.98rem; }
  .lw-centre span:last-child { font-size: 0.64rem; }
}

/* Topic cards & country cards */
.card-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr)); margin-top: 1.5rem; }
.card {
  position: relative; display: flex; flex-direction: column; gap: 0.35rem; padding: 1.35rem 1.3rem;
  border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); color: var(--ink-2);
  transition: box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}
.card:hover { box-shadow: var(--e2); border-color: var(--brand-line); text-decoration: none; color: var(--ink-2); }
.card-icon { display: grid; place-items: center; width: 2.85rem; height: 2.85rem; margin-bottom: 0.6rem; border-radius: 50%; background: var(--brand-soft); color: var(--brand); }
.card:nth-child(4n+2) .card-icon { background: var(--sage-soft); color: var(--sage-strong); }
.card:nth-child(4n+3) .card-icon { background: var(--gold-soft); color: var(--gold-strong); }
.card:nth-child(4n+4) .card-icon { background: var(--sky-soft); color: var(--sky-strong); }
.card-icon .icon { width: 1.35rem; height: 1.35rem; }
.card strong { font-family: var(--font-display); font-size: 1.12rem; font-weight: 600; line-height: 1.3; color: var(--ink); padding-right: 1.4rem; }
.card .blurb { color: var(--ink-soft); font-size: 0.92rem; line-height: 1.5; }
.card-arrow { position: absolute; top: 1.5rem; right: 1.25rem; color: var(--ink-faint); transition: transform 0.2s var(--ease), color 0.2s var(--ease); }
.card:hover .card-arrow, .lang-card:hover .card-arrow { transform: translateX(3px); color: var(--brand); }

.country-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); }
.country-card { display: flex; flex-direction: column; padding: 1.25rem 1.3rem; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.country-card h3 { display: flex; align-items: center; gap: 0.5rem; margin: 0 0 0.65rem; font-size: 1.1rem; font-weight: 600; }
.country-card .cc-text { display: block; margin: 0 0 1rem; color: var(--ink-2); font-size: 0.95rem; line-height: 1.55; flex: 1; }
.country-card p:last-child { margin: 0; }
.country-card a { display: inline-flex; align-items: center; min-height: 2.1rem; padding: 0 0.85rem; border-radius: 8px; border: 1px solid var(--line); color: var(--brand-strong); font-size: 0.86rem; font-weight: 500; background: var(--bg-alt); }
.country-card a:hover { background: var(--brand-soft); border-color: var(--brand-line); text-decoration: none; }

.home-end { max-width: var(--text); padding: 2.5rem 0 3rem; }
.home-end > * { margin-bottom: 1.5rem; }

/* ---------- Redesigned Low-Stimulation Diagrams (.explain) ---------- */
.explain {
  margin: 0 0 1.8rem;
  padding: 1.25rem 1.35rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--surface);
}
.explain-head {
  margin: 0 0 0.85rem;
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--brand-strong);
}
.explain svg { width: 100%; height: auto; display: block; }
.explain figcaption { margin: 0.85rem 0 0; font-size: 0.92rem; color: var(--ink-soft); line-height: 1.55; }
.explain-legend { display: flex; flex-wrap: wrap; gap: 0.6rem 1.3rem; list-style: none; margin: 0.75rem 0 0; padding: 0; font-size: 0.88rem; color: var(--ink-2); }
.explain-legend li { display: inline-flex; align-items: center; gap: 0.45rem; margin: 0; }
.swatch { width: 1.4rem; height: 0.25rem; border-radius: 99px; display: inline-block; }
.swatch.limit { background: none; height: 0; border-top: 2.5px dashed var(--chart-limit); }
.swatch.act { background: var(--chart-act); }
.swatch.over { height: 0.65rem; background: var(--chart-over); border: 1px solid var(--chart-over-stroke); border-radius: 4px; }

/* Diagram: SVG text styling (adapts to light & dark) */
.svg-axis-label { font-family: var(--font); font-size: 12px; fill: var(--ink-soft); font-weight: 500; }
.svg-note { font-family: var(--font); font-size: 12.5px; fill: var(--ink); font-weight: 600; }
.svg-sub { font-family: var(--font); font-size: 11.5px; fill: var(--ink-soft); }
.svg-warn { font-family: var(--font); font-size: 12px; fill: var(--clay-strong); font-weight: 600; }
.svg-gold { font-family: var(--font); font-size: 12px; fill: var(--gold-strong); font-weight: 600; }

/* Diagram: Battery comparison (Ordinary tiredness vs. delayed PEM) */
.bat-compare { display: grid; gap: 0.9rem; }
.bat-group {
  padding: 0.95rem 1.05rem; border-radius: var(--r-lg);
  background: var(--bg-alt); border: 1px solid var(--line-soft);
}
.bat-group.is-pem { background: var(--surface-warm); border-color: var(--gold-line); }
.bat-group-title { margin: 0 0 0.7rem; font-size: 0.94rem; font-weight: 600; color: var(--ink); }
.bat-track { display: grid; gap: 0.65rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .bat-track { grid-template-columns: repeat(3, 1fr); gap: 0.85rem; } }
.bat-step { display: grid; gap: 0.35rem; align-content: start; }
.bat-shell {
  display: block; height: 1.55rem; padding: 3px;
  border: 1.75px solid var(--ink-soft); border-radius: 6px;
  background: var(--surface); position: relative; max-width: 9rem;
}
.bat-shell::after {
  content: ""; position: absolute; right: -5px; top: 50%; transform: translateY(-50%);
  width: 4px; height: 0.6rem; border-radius: 0 2px 2px 0; background: var(--ink-soft);
}
.bat-fill { display: block; height: 100%; border-radius: 3px; background: var(--brand); }
.bat-step.is-mid .bat-fill { background: var(--gold); }
.bat-step.is-low .bat-fill { background: var(--clay); }
.bat-step.is-low .bat-shell { border-color: var(--clay-strong); }
.bat-step.is-low .bat-shell::after { background: var(--clay-strong); }
.bat-step strong { font-size: 0.88rem; color: var(--ink); font-weight: 600; }
.bat-step span { font-size: 0.83rem; color: var(--ink-soft); line-height: 1.35; }

/* Diagram: Qualitative Severity Spectrum (4 bands, no fake %) */
.sev-grid { display: grid; gap: 0.65rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .sev-grid { grid-template-columns: repeat(2, 1fr); } }
.sev-card {
  padding: 0.85rem 1rem; border-radius: var(--r);
  background: var(--bg-alt); border: 1px solid var(--line-soft);
  border-left: 4px solid var(--brand); display: grid; gap: 0.25rem;
}
.sev-card.is-mo { border-left-color: var(--sky); }
.sev-card.is-se { border-left-color: var(--gold); }
.sev-card.is-vs { border-left-color: var(--clay); }
.sev-card strong { font-size: 0.96rem; color: var(--ink); font-weight: 600; }
.sev-card span { font-size: 0.88rem; color: var(--ink-soft); line-height: 1.45; }

/* Diagram: 3-step Diagnosis flow */
.dx-flow { display: grid; gap: 0.75rem; grid-template-columns: 1fr; list-style: none; margin: 0; padding: 0 !important; }
@media (min-width: 640px) { .dx-flow { grid-template-columns: repeat(3, 1fr); } }
.dx-step {
  margin: 0 !important; padding: 0.9rem 1rem; border-radius: var(--r);
  background: var(--bg-alt); border: 1px solid var(--line-soft);
  display: flex; flex-direction: column; gap: 0.3rem;
}
.dx-num {
  display: inline-grid; place-items: center; width: 1.75rem; height: 1.75rem;
  border-radius: 50%; background: var(--brand-soft); color: var(--brand-strong);
  font-size: 0.84rem; font-weight: 600; margin-bottom: 0.2rem;
}
.dx-step strong { font-size: 0.95rem; color: var(--ink); line-height: 1.3; }
.dx-step span { font-size: 0.86rem; color: var(--ink-soft); line-height: 1.45; }

/* Diagnostic criteria cards (IOM 2015 vs NICE NG206 on Diagnose page) */
.dx-crit-grid { display: grid; gap: 0.9rem; grid-template-columns: 1fr; margin: 1rem 0 1.1rem; }
@media (min-width: 720px) { .dx-crit-grid { grid-template-columns: 1fr 1fr; } }
.dx-crit-card {
  padding: 1.15rem 1.25rem 0.9rem; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line);
  border-top: 3.5px solid var(--sky);
}
.dx-crit-card.is-iom { border-top-color: var(--brand); }
.dx-crit-k {
  margin: 0 0 0.3rem !important; font-size: 0.74rem; font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase; color: var(--brand-strong);
}
.dx-crit-card:not(.is-iom) .dx-crit-k { color: var(--sky-strong); }
.content .dx-crit-card h3 { margin: 0 0 0.45rem; font-size: 1.06rem; line-height: 1.3; }
.dx-crit-sub { margin: 0 0 0.75rem !important; font-size: 0.88rem; color: var(--ink-soft); }
.dx-crit-card ul { margin: 0; padding-left: 1.15rem; }
.dx-crit-card li { font-size: 0.91rem; line-height: 1.55; margin: 0.35rem 0; }

/* Diagram: Symptom hierarchy (3 core + 1 of 2 additional) */
.sym-map { display: grid; gap: 0.8rem; }
.sym-tier { padding: 0.9rem 1rem; border-radius: var(--r); background: var(--bg-alt); border: 1px solid var(--line-soft); }
.sym-tier.is-core { background: var(--brand-soft); border-color: var(--brand-line); }
.sym-tier-label { margin: 0 0 0.55rem; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--brand-strong); }
.sym-tier:not(.is-core) .sym-tier-label { color: var(--ink-soft); }
.sym-pills { display: flex; flex-wrap: wrap; gap: 0.45rem; list-style: none; margin: 0; padding: 0 !important; }
.sym-pills li {
  margin: 0 !important; padding: 0.42rem 0.8rem; border-radius: 10px;
  background: var(--surface); border: 1px solid var(--line-soft);
  font-size: 0.91rem; font-weight: 500; color: var(--ink);
}
.sym-also { margin: 0; font-size: 0.86rem; color: var(--ink-soft); }

/* Symptom areas: expandable cards & medicine safety grid */
.sym-tools { display: flex; justify-content: flex-end; margin: 0.25rem 0 0.75rem; }
.sym-cards { display: grid; gap: 0.65rem; }
.sym-card {
  border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface);
  transition: border-color 0.15s var(--ease), background 0.15s var(--ease);
}
.sym-card:hover { border-color: var(--brand-line); }
.sym-card[open] { background: var(--bg-alt); }
.sym-card-sum {
  list-style: none; cursor: pointer;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 0.85rem; align-items: center;
  padding: 0.9rem 1rem;
}
.sym-card-sum::-webkit-details-marker { display: none; }
.sym-card-sum:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; border-radius: var(--r-lg); }
.sym-ic {
  display: grid; place-items: center; width: 2.35rem; height: 2.35rem; border-radius: 50%; flex: none;
  background: var(--brand-soft); color: var(--brand);
}
.sym-ic.is-clay { background: var(--clay-soft); color: var(--clay-strong); }
.sym-ic.is-gold { background: var(--gold-soft); color: var(--gold-strong); }
.sym-ic.is-sky { background: var(--sky-soft); color: var(--sky-strong); }
.sym-ic.is-sage { background: var(--sage-soft); color: var(--sage-strong); }
.sym-ic .icon { width: 1.15rem; height: 1.15rem; }
.sym-card-head { display: grid; gap: 0.18rem; min-width: 0; }
.sym-card-head strong { font-size: 1.01rem; font-weight: 600; color: var(--ink); line-height: 1.3; }
.sym-card-gist { font-size: 0.89rem; color: var(--ink-soft); line-height: 1.45; }
.sym-chev-wrap {
  display: grid; place-items: center; width: 1.85rem; height: 1.85rem; border-radius: 50%;
  background: var(--bg-alt); color: var(--ink-soft); flex: none;
  transition: background 0.15s var(--ease), color 0.15s var(--ease);
}
.sym-card:hover .sym-chev-wrap { background: var(--brand-soft); color: var(--brand-strong); }
.sym-chev { width: 1rem; height: 1rem; transition: transform 0.2s var(--ease); }
.sym-card[open] .sym-chev { transform: rotate(180deg); }
.sym-card-body {
  padding: 0.2rem 1rem 1rem 4.2rem; border-top: 1px solid var(--line-soft);
}
.sym-card-body p { margin: 0.65rem 0 0; font-size: 0.94rem; color: var(--ink-2); line-height: 1.62; }
@media (max-width: 560px) { .sym-card-body { padding-left: 1rem; } }

.sym-rules { display: grid; gap: 0.75rem; grid-template-columns: 1fr; margin: 0.3rem 0 0; }
@media (min-width: 640px) { .sym-rules { grid-template-columns: 1fr 1fr; } }
.sym-rule {
  padding: 1rem 1.1rem; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line); border-left: 3.5px solid var(--brand);
  display: grid; gap: 0.35rem; align-content: start;
}
.sym-rule.is-warm { border-left-color: var(--gold); background: var(--surface-warm); }
.sym-rule strong { font-size: 0.97rem; font-weight: 600; color: var(--ink); line-height: 1.3; }
.sym-rule p { margin: 0 !important; font-size: 0.91rem; color: var(--ink-2); line-height: 1.55; }

/* Diagram: Support pathways (Money, work, school) */
.door-grid { display: grid; gap: 0.75rem; grid-template-columns: 1fr; list-style: none; margin: 0; padding: 0 !important; }
@media (min-width: 640px) { .door-grid { grid-template-columns: repeat(3, 1fr); } }
.door-card {
  margin: 0 !important; padding: 0.95rem 1rem; border-radius: var(--r);
  background: var(--bg-alt); border: 1px solid var(--line-soft);
  display: flex; flex-direction: column; gap: 0.25rem;
}
.door-card strong { font-size: 0.95rem; color: var(--ink); }
.door-card span { font-size: 0.86rem; color: var(--ink-soft); line-height: 1.45; }

/* Diagram: Country strip (Care & Organisations) */
.country-strip { display: grid; gap: 0.6rem; grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr)); list-style: none; margin: 0; padding: 0 !important; }
.country-strip li {
  margin: 0 !important; padding: 0.7rem 0.85rem; border-radius: var(--r);
  background: var(--bg-alt); border: 1px solid var(--line-soft);
  display: flex; flex-direction: column; gap: 0.15rem;
}
.country-strip li.is-active { background: var(--brand-soft); border-color: var(--brand-line); }
.country-strip strong { font-size: 0.92rem; color: var(--ink); }
.country-strip span { font-size: 0.8rem; color: var(--ink-soft); }

/* ---------- My path (guided step rail, sticky summary & collapsible timeline) ---------- */
.mp { display: grid; gap: 2rem; }
.mp-kicker {
  margin: 0 0 0.45rem;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--brand-strong);
}

/* Purpose & privacy strip */
.mp-purpose {
  display: grid; grid-template-columns: auto 1fr; gap: 0.75rem 0.9rem; align-items: start;
  padding: 0.95rem 1.15rem; border-radius: var(--r-lg);
  background: var(--bg-alt); border: 1px solid var(--line-soft);
}
.mp-purpose-ic {
  display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--brand-soft); color: var(--brand); margin-top: 0.05rem;
}
.mp-purpose-ic .icon { width: 1rem; height: 1rem; }
.mp-purpose-body p { margin: 0; font-size: 0.93rem; color: var(--ink-2); }
.mp-purpose-body strong { color: var(--ink); font-weight: 600; }
.mp-purpose-more { margin-top: 0.45rem; }
.mp-purpose-more > summary {
  cursor: pointer; font-size: 0.87rem; font-weight: 500; color: var(--brand-strong);
  display: inline-flex; align-items: center; gap: 0.3rem;
}
.mp-purpose-more ul { margin: 0.55rem 0 0.1rem; padding-left: 1.2rem; font-size: 0.9rem; color: var(--ink-2); }
.mp-purpose-more li { margin: 0.25rem 0; }

/* 3-Phase journey navigation bar with visual stepper connector & emblems */
.mp-phases {
  display: grid; gap: 0.7rem; grid-template-columns: 1fr;
}
@media (min-width: 780px) {
  .mp-phases { grid-template-columns: repeat(3, 1fr); gap: 1.15rem; }
}
.mp-phase-tab {
  position: relative;
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.85rem; align-items: center;
  padding: 0.9rem 1.05rem; border-radius: var(--r-lg); text-decoration: none; color: inherit;
  background: var(--surface); border: 1.5px solid var(--line);
  transition: border-color 0.15s var(--ease), background 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
@media (min-width: 780px) {
  .mp-phase-tab:not(:last-child)::after {
    content: "→"; position: absolute; right: -0.95rem; top: 50%; transform: translateY(-50%);
    font-size: 0.88rem; font-weight: 600; color: var(--ink-faint); pointer-events: none;
  }
}
.mp-phase-tab:hover { border-color: var(--brand-line); text-decoration: none; color: inherit; }
.mp-phase-tab:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.mp-phase-tab.is-active {
  border-color: var(--brand); background: var(--brand-soft);
  box-shadow: 0 0 0 1px var(--brand-line);
}
.mp-pt-vis {
  position: relative; display: grid; place-items: center; flex: none;
  width: 2.75rem; height: 2.75rem; border-radius: 12px;
  background: var(--bg-alt); border: 1px solid var(--line-soft); color: var(--ink-soft);
  transition: background 0.15s var(--ease), border-color 0.15s var(--ease), color 0.15s var(--ease);
}
.mp-pt-ic { display: grid; place-items: center; }
.mp-pt-ic .icon { width: 1.25rem; height: 1.25rem; }
.mp-phase-tab.is-active .mp-pt-vis {
  background: var(--surface); border-color: var(--brand-line); color: var(--brand-strong);
}
.mp-pt-num {
  position: absolute; top: -0.38rem; left: -0.38rem;
  display: grid; place-items: center; width: 1.28rem; height: 1.28rem; border-radius: 50%;
  background: var(--surface); border: 1.5px solid var(--line); color: var(--ink-soft);
  font-size: 0.7rem; font-weight: 700; line-height: 1;
}
.mp-phase-tab.is-active .mp-pt-num {
  background: var(--brand); border-color: var(--brand); color: var(--on-brand);
}
.mp-pt-body { display: grid; gap: 0.12rem; min-width: 0; }
.mp-pt-k {
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--ink-soft);
}
.mp-phase-tab.is-active .mp-pt-k { color: var(--brand-strong); }
.mp-pt-body strong { font-size: 0.99rem; font-weight: 600; color: var(--ink); line-height: 1.24; }
.mp-pt-sub { font-size: 0.81rem; color: var(--ink-soft); line-height: 1.36; margin-top: 0.08rem; }

/* Continuous vertical 3-phase flow */
.mp-journey { display: grid; gap: 2.85rem; }
.mp-phase-sec {
  scroll-margin-top: calc(var(--header-h) + 1rem);
  display: grid; gap: 1.15rem;
  padding-bottom: 2.65rem; border-bottom: 1.5px solid var(--line);
}
.mp-phase-sec:last-child { padding-bottom: 0; border-bottom: 0; }
.mp-psec-head {
  display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); gap: 0.85rem; align-items: center;
}
.mp-psec-num {
  display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%;
  background: var(--brand); color: var(--on-brand); font-size: 1rem; font-weight: 700; flex: none;
}
.content .mp-psec-head h2 { margin: 0; font-size: clamp(1.28rem, 2.3vw, 1.52rem); line-height: 1.22; }
.content .mp-sym-head h3 { margin: 0; font-size: 1.12rem; line-height: 1.28; }

.mp-sum-phases, .content .mp-sum-phases { list-style: none; margin: 0; padding: 0 !important; display: grid; gap: 0.3rem; }
.mp-sum-phases li { margin: 0 !important; }
.mp-sum-phases a {
  display: flex; align-items: center; justify-content: space-between; gap: 0.5rem;
  padding: 0.48rem 0.7rem; border-radius: 10px; background: var(--bg-alt);
  border: 1px solid var(--line-soft); color: var(--ink-2); font-size: 0.86rem; font-weight: 500;
  text-decoration: none;
  transition: border-color 0.15s var(--ease), background 0.15s var(--ease);
}
.mp-sum-phases a:hover { border-color: var(--brand-line); color: var(--ink); text-decoration: none; }
.mp-sum-phases a.is-active {
  background: var(--brand-soft); border-color: var(--brand-line); color: var(--brand-strong); font-weight: 600;
}
.mp-sum-phases strong { font-size: 0.79rem; color: var(--brand-strong); }

/* Unified country-free phase action guides */
.mp-phase-guide { display: grid; gap: 0.75rem; }
.content .mp-phase-guide h2 { margin: 0; font-size: 1.32rem; line-height: 1.25; }
.mp-pguide-lead { margin: -0.25rem 0 0.15rem; font-size: 0.94rem; color: var(--ink-soft); }
.mp-pcards { display: grid; gap: 0.6rem; }
.mp-pcard {
  border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface);
  transition: border-color 0.15s var(--ease), background 0.15s var(--ease);
}
.mp-pcard:hover { border-color: var(--brand-line); }
.mp-pcard.is-priority { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold-line); }
.mp-pdet[open] { background: var(--bg-alt); border-radius: inherit; }
.mp-psum {
  list-style: none; cursor: pointer;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 0.85rem; align-items: center;
  padding: 0.9rem 1rem;
}
.mp-psum::-webkit-details-marker { display: none; }
.mp-psum:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; border-radius: var(--r-lg); }
.mp-psum-t { display: grid; gap: 0.18rem; min-width: 0; }
.mp-pcard-top { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 0.55rem; }
.mp-psum-t strong { font-size: 1rem; font-weight: 600; color: var(--ink); line-height: 1.3; }
.mp-pcard-gist { font-size: 0.88rem; color: var(--ink-soft); line-height: 1.45; }
.mp-pdet[open] .mp-chev { transform: rotate(180deg); }
.mp-pbody { padding: 0.2rem 1rem 1rem 4.2rem; border-top: 1px solid var(--line-soft); }
.mp-pbody p { margin: 0.6rem 0 0; font-size: 0.93rem; color: var(--ink-2); line-height: 1.6; }
@media (max-width: 560px) { .mp-pbody { padding-left: 1rem; } }

.mp-sev-mini { display: grid; gap: 0.45rem; margin: 0.65rem 0 0.25rem; }
.mp-sev-row {
  padding: 0.65rem 0.85rem; border-radius: var(--r); background: var(--surface);
  border: 1px solid var(--line-soft); display: grid; gap: 0.16rem;
  transition: border-color 0.15s var(--ease), background 0.15s var(--ease);
}
.mp-sev-row.is-active {
  border-color: var(--brand); background: var(--brand-soft);
  box-shadow: 0 0 0 1px var(--brand-line);
}
.mp-sev-top { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; }
.mp-sev-row strong { font-size: 0.9rem; color: var(--ink); }
.mp-sev-row span { font-size: 0.84rem; color: var(--ink-soft); line-height: 1.46; }
.mp-sev-row.is-active span { color: var(--ink-2); }
.mp-sev-pill[hidden] { display: none; }

/* Phase 2 & 3 contextual panels, parts & transition bridge */
.mp-p2-panel .mp-steps, .mp-p3-panel .mp-steps { margin-top: 0; }
.mp-p2-panel .mp-step { padding-bottom: 1.05rem; }
.mp-p2-panel .mp-step:last-child { padding-bottom: 0; }
.mp-p3-panel .mp-fs legend {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.mp-p2-eval[data-level="severe"] .mp-eval-badge,
.mp-p3-eval[data-level="severe"] .mp-eval-badge {
  background: var(--gold-soft); color: var(--gold-strong); border-color: var(--gold-line);
}
.mp-p2-eval[data-level="confirmed"] .mp-eval-badge,
.mp-p2-eval[data-level="suspected"] .mp-eval-badge,
.mp-p3-eval[data-level="active"] .mp-eval-badge,
.mp-p3-eval[data-level="sym"] .mp-eval-badge {
  background: var(--surface); color: var(--brand-strong); border-color: var(--brand-line);
}
.mp-p2-eval[data-level="partial"] .mp-eval-badge {
  background: var(--sky-soft); color: var(--sky-strong); border-color: var(--sky-line);
}
.mp-p2-part {
  margin-top: 0.65rem; padding: 0.65rem 0.85rem; border-radius: var(--r);
  background: var(--surface); border: 1px solid var(--line-soft);
}
.mp-p2-part[hidden] { display: none; }
.mp-p2-part.is-focus { border-color: var(--brand); background: var(--brand-soft); }
.mp-p2-part > p:first-child { margin-top: 0 !important; }
.mp-p2-part > p:last-child { margin-bottom: 0; }
.mp-p2-next-row {
  margin-top: 0.25rem; padding-top: 0.65rem; border-top: 1px solid var(--line-soft);
  display: flex; justify-content: flex-end;
}
.mp-p2-next {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.42rem 0.85rem; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--brand-line);
  color: var(--brand-strong); font-size: 0.85rem; font-weight: 600; text-decoration: none;
  transition: background 0.15s var(--ease), border-color 0.15s var(--ease);
}
.mp-p2-next:hover { background: var(--brand); border-color: var(--brand); color: var(--on-brand); text-decoration: none; }
.mp-phase-next { margin-top: 0.25rem; }

/* Per-phase collapsible doctor questions box */
.mp-qbox {
  margin-top: 0.25rem;
  border: 1px solid var(--brand-line); border-radius: var(--r-lg);
  background: var(--surface); overflow: hidden;
}
.mp-qbox-sum {
  list-style: none; cursor: pointer;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 0.8rem; align-items: center;
  padding: 0.9rem 1.05rem; background: var(--brand-soft);
}
.mp-qbox-sum::-webkit-details-marker { display: none; }
.mp-qbox-sum:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; }
.mp-qbox-ic {
  display: grid; place-items: center; width: 2.15rem; height: 2.15rem; border-radius: 50%;
  background: var(--surface); color: var(--brand); border: 1px solid var(--brand-line); flex: none;
}
.mp-qbox-ic .icon { width: 1.05rem; height: 1.05rem; }
.mp-qbox-t { display: grid; gap: 0.14rem; min-width: 0; }
.mp-qbox-t strong { font-size: 0.98rem; font-weight: 600; color: var(--ink); line-height: 1.3; }
.mp-qbox-t span { font-size: 0.84rem; color: var(--ink-2); line-height: 1.4; }
.mp-qbox-r { display: inline-flex; align-items: center; gap: 0.45rem; flex: none; }
.mp-qbox[open] > summary .mp-chev { transform: rotate(180deg); }
.mp-qbox-body { padding: 1rem 1.1rem 1.15rem; border-top: 1px solid var(--brand-line); }
.mp-qbox-hint { margin: 0 0 0.75rem !important; font-size: 0.87rem; color: var(--ink-soft); line-height: 1.45; }
.mp-qbox-body .vs-aq { max-width: none; }
.mp-qbox-body .vs-aq-tools, .mp-qbox-body .aq-own { max-width: none; }
.aq.is-tailored { border-color: var(--brand-line); }
.mp-aq-badge {
  display: inline-block; margin: 0.35rem 0 0 1.85rem; padding: 0.08rem 0.55rem; border-radius: 999px;
  background: var(--brand-soft); border: 1px solid var(--brand-line); color: var(--brand-strong);
  font-size: 0.72rem; font-weight: 600;
}
.mp-aq-badge[hidden] { display: none; }

/* Personalized appointment phrasing box in Phase 1 */
.mp-tailored-pill {
  display: inline-flex; align-items: center; padding: 0.1rem 0.55rem; border-radius: 999px;
  background: var(--brand-soft); border: 1px solid var(--brand-line); color: var(--brand-strong);
  font-size: 0.72rem; font-weight: 600;
}
.mp-tailored-pill.is-gold {
  background: var(--gold-soft); border-color: var(--gold-line); color: var(--gold-strong);
}
.mp-tailored-pill[hidden] { display: none; }
.mp-script-box {
  margin: 0.75rem 0 0.55rem; padding: 1rem 1.1rem; border-radius: var(--r);
  background: var(--surface); border: 1px dashed var(--line);
  display: grid; gap: 0.72rem; justify-items: stretch;
}
.mp-script-box.is-live { border-style: solid; border-color: var(--brand-line); background: var(--brand-soft); }
.mp-script-label {
  margin: 0 !important; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.05em;
  text-transform: uppercase; color: var(--brand-strong);
}
.mp-script-idle { margin: 0 !important; font-size: 0.91rem; color: var(--ink-soft); line-height: 1.55; }
.mp-script-lead { margin: 0 !important; font-size: 0.94rem; font-weight: 500; color: var(--ink); line-height: 1.52; }
.mp-script-list, .content .mp-script-list {
  list-style: none; margin: 0 !important; padding: 0 !important;
  display: grid; gap: 0.55rem;
}
.mp-script-list li {
  position: relative; margin: 0 !important; padding: 0.52rem 0.72rem 0.52rem 1.3rem;
  border-radius: 10px; background: var(--surface); border: 1px solid var(--line-soft);
  font-size: 0.91rem; color: var(--ink-2); line-height: 1.52;
}
.mp-script-list li::before {
  content: ""; position: absolute; left: 0.55rem; top: 0.92rem;
  width: 0.36rem; height: 0.36rem; border-radius: 50%; background: var(--brand);
}
.mp-script-list li strong { color: var(--ink); font-weight: 600; }
.mp-script-close {
  margin: 0 !important; padding-top: 0.65rem; border-top: 1px solid var(--brand-line);
  font-size: 0.92rem; color: var(--ink); line-height: 1.52;
}
.mp-script-close strong { color: var(--brand-strong); font-weight: 600; }
.mp-script-box [data-script-copy] { justify-self: start; }
.mp-script-box [hidden] { display: none; }
.mp-eval-sync { margin: 0; font-size: 0.84rem; font-weight: 500; color: var(--brand-strong); }
.mp-eval-sync[hidden] { display: none; }

/* Sticky summary updates */
.mp-sum-phase { margin: 0; font-family: var(--font-display); font-size: 1.06rem; font-weight: 600; color: var(--ink); line-height: 1.3; }
.mp-quick-links, .content .mp-quick-links { list-style: none; margin: 0; padding: 0 !important; display: grid; gap: 0.35rem; }
.mp-quick-links li { margin: 0 !important; }
.mp-quick-links a {
  display: flex; align-items: center; justify-content: space-between; gap: 0.5rem;
  padding: 0.48rem 0.68rem; border-radius: 10px; background: var(--bg-alt);
  border: 1px solid var(--line-soft); color: var(--ink-2); font-size: 0.86rem; font-weight: 500;
  text-decoration: none;
}
.mp-quick-links a:hover { border-color: var(--brand-line); color: var(--ink); text-decoration: none; }
.mp-quick-links strong { font-size: 0.8rem; color: var(--brand-strong); font-variant-numeric: tabular-nums; }

/* Optional collapsible Country Guidelines Drawer */
.mp-country-drawer {
  border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--surface);
  overflow: hidden;
}
.mp-cd-head {
  list-style: none; cursor: pointer;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem;
  padding: 1.2rem 1.35rem; background: var(--bg-alt);
}
.mp-cd-head::-webkit-details-marker { display: none; }
.mp-cd-head:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; }
.content .mp-cd-head h2 { margin: 0; font-size: 1.24rem; line-height: 1.25; }
.mp-cd-sub { margin: 0.25rem 0 0; font-size: 0.9rem; color: var(--ink-soft); max-width: 44rem; }
.mp-cd-right { display: inline-flex; align-items: center; gap: 0.55rem; flex: none; margin-top: 0.15rem; }
.mp-country-drawer[open] > summary .mp-chev { transform: rotate(180deg); }
.mp-cd-body { padding: 1.25rem 1.35rem 1.45rem; border-top: 1px solid var(--line-soft); }
.mp-cc-bar {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 0.85rem 1.2rem; margin-bottom: 1rem;
}
.mp-steps.is-flat .mp-step { grid-template-columns: 1fr; padding-bottom: 0; }
.mp-steps.is-flat .mp-step::before, .mp-steps.is-flat .mp-snum { display: none; }

/* Two-column builder (symptom check + steps left, sticky summary right) */
.mp-builder { display: grid; gap: 1.75rem 2.2rem; align-items: start; }
@media (min-width: 960px) {
  .mp-builder { grid-template-columns: minmax(0, 1.32fr) minmax(18.5rem, 0.78fr); }
}
.mp-main-col { display: grid; gap: 1.85rem; min-width: 0; }

/* Symptom orientation check card */
.mp-sym-panel {
  border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--surface);
  overflow: hidden;
}
.mp-sym-head {
  list-style: none; cursor: pointer;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem;
  padding: 1.15rem 1.3rem; background: var(--bg-alt); border-bottom: 1px solid var(--line-soft);
}
.mp-sym-panel:not([open]) .mp-sym-head { border-bottom: 0; }
.mp-sym-head::-webkit-details-marker { display: none; }
.mp-sym-head:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; }
.mp-sym-head-t { display: grid; gap: 0.2rem; min-width: 0; }
.content .mp-sym-head h2 { margin: 0; font-size: 1.24rem; line-height: 1.25; }
.mp-sym-sub { margin: 0.1rem 0 0; font-size: 0.91rem; color: var(--ink-soft); line-height: 1.45; }
.mp-sym-head-r { display: inline-flex; align-items: center; gap: 0.5rem; flex: none; margin-top: 0.1rem; }
.mp-sym-panel[open] > summary .mp-chev { transform: rotate(180deg); }

.mp-sym-body { padding: 1.15rem 1.3rem 1.3rem; display: grid; gap: 0.85rem; }
.mp-sym-dur {
  margin-top: 0.25rem; padding-top: 0.9rem; border-top: 1px solid var(--line-soft);
}
.mp-sym-group-h {
  margin: 0.25rem 0 0; font-size: 0.76rem; font-weight: 600; letter-spacing: 0.05em;
  text-transform: uppercase; color: var(--ink-soft);
}
.mp-sym-group-h:first-child { margin-top: 0; }
.mp-sym-grid { display: grid; gap: 0.55rem; grid-template-columns: 1fr; }
@media (min-width: 680px) { .mp-sym-grid { grid-template-columns: 1fr 1fr; } }

.mp-sym-opt {
  position: relative; display: grid; grid-template-columns: 1.15rem 2rem minmax(0, 1fr);
  gap: 0.55rem 0.6rem; align-items: start; padding: 0.72rem 0.85rem;
  border: 1px solid var(--line); border-radius: var(--r); background: var(--surface);
  cursor: pointer; user-select: none;
  transition: border-color 0.15s var(--ease), background 0.15s var(--ease);
}
.mp-sym-ic {
  display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 9px;
  background: var(--bg-alt); border: 1px solid var(--line-soft); color: var(--brand-strong);
  flex: none; margin-top: 0.02rem;
}
.mp-sym-ic .icon { width: 1.05rem; height: 1.05rem; }
.mp-sym-ic.is-hallmark { background: var(--gold-soft); border-color: var(--gold-line); color: var(--gold-strong); }
.mp-sym-ic.is-key { background: var(--sky-soft); border-color: var(--sky-line); color: var(--sky-strong); }
.mp-sym-opt:has(input:checked) .mp-sym-ic {
  background: var(--surface); border-color: var(--brand-line); color: var(--brand-strong);
}
.mp-sym-opt:has(input:checked) .mp-sym-ic.is-hallmark {
  background: var(--gold-soft); border-color: var(--gold); color: var(--gold-strong);
}
.mp-sym-opt:hover { border-color: var(--brand-line); }
.mp-sym-opt input {
  position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none;
}
.mp-sym-opt:has(input:focus-visible) { outline: 2px solid var(--brand); outline-offset: 2px; }
.mp-sym-opt:has(input:checked) {
  border-color: var(--brand); background: var(--brand-soft);
}
.mp-sym-box {
  width: 1.15rem; height: 1.15rem; margin-top: 0.12rem; border-radius: 5px;
  border: 1.6px solid var(--line); background: var(--bg-alt); position: relative;
}
.mp-sym-opt:has(input:checked) .mp-sym-box {
  border-color: var(--brand); background: var(--brand);
}
.mp-sym-opt:has(input:checked) .mp-sym-box::after {
  content: ""; position: absolute; left: 4px; top: 1px; width: 4px; height: 8px;
  border: solid var(--on-brand); border-width: 0 2px 2px 0; transform: rotate(42deg);
}
.mp-sym-content { display: grid; gap: 0.25rem; min-width: 0; }
.mp-sym-top { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 0.45rem; }
.mp-sym-t { font-size: 0.93rem; font-weight: 600; color: var(--ink); line-height: 1.3; }
.mp-sym-badge {
  display: inline-flex; align-items: center; padding: 0.06rem 0.45rem; border-radius: 999px;
  font-size: 0.7rem; font-weight: 600; background: var(--bg-alt); color: var(--ink-soft);
  border: 1px solid var(--line-soft);
}
.mp-sym-badge.is-hallmark {
  background: var(--gold-soft); color: var(--gold-strong); border-color: var(--gold-line);
}
.mp-sym-badge.is-key {
  background: var(--sky-soft); color: var(--sky-strong); border-color: var(--sky-line);
}
.mp-sym-d { font-size: 0.83rem; color: var(--ink-soft); line-height: 1.42; }

/* Unified Input -> Connected Live Result unit (.mp-io) */
.mp-io { display: grid; gap: 0; }
.mp-io-bridge {
  position: relative; display: flex; justify-content: center; align-items: center;
  padding: 0.65rem 0;
}
.mp-io-bridge::before {
  content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px;
  transform: translateX(-50%); background: var(--line);
  transition: background 0.2s var(--ease);
}
.mp-io[data-has-picks="true"] .mp-io-bridge::before { background: var(--brand); }
.mp-io[data-has-picks="true"][data-tone="gold"] .mp-io-bridge::before { background: var(--gold); }
.mp-io[data-has-picks="true"][data-tone="sky"] .mp-io-bridge::before { background: var(--sky); }
.mp-io-pill {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; gap: 0.38rem;
  padding: 0.24rem 0.78rem; border-radius: 999px;
  background: var(--surface); border: 1.5px solid var(--line);
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.02em; color: var(--ink-soft);
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.mp-io-arr { width: 0.85rem; height: 0.85rem; flex: none; }
.mp-io[data-has-picks="true"] .mp-io-pill {
  background: var(--brand); border-color: var(--brand); color: var(--on-brand);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.14);
}
.mp-io[data-has-picks="true"][data-tone="gold"] .mp-io-pill {
  background: var(--gold-soft); border-color: var(--gold); color: var(--gold-strong);
}
.mp-io[data-has-picks="true"][data-tone="sky"] .mp-io-pill {
  background: var(--sky-soft); border-color: var(--sky); color: var(--sky-strong);
}

/* Live result panel (clearly paired with selection above, never looks like a separate section) */
.mp-sym-eval {
  margin-top: 0; padding: 1.05rem 1.15rem 1.15rem; border-radius: var(--r-xl);
  background: var(--bg-alt); border: 1.5px dashed var(--line);
  border-top: 3px solid var(--line); display: grid; gap: 0.62rem;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.25s var(--ease);
}
.mp-io[data-has-picks="true"] .mp-sym-eval {
  border-style: solid; border-color: var(--brand-line); border-top: 3px solid var(--brand);
  box-shadow: var(--e1);
}
.mp-sym-eval[data-level="strong"],
.mp-p2-eval[data-level="severe"],
.mp-p3-eval[data-level="severe"] {
  border-style: solid; border-color: var(--gold-line); border-top: 3px solid var(--gold);
  background: var(--surface-warm);
}
.mp-sym-eval[data-level="pem"],
.mp-p2-eval[data-level="confirmed"],
.mp-p2-eval[data-level="suspected"],
.mp-p3-eval[data-level="active"],
.mp-p3-eval[data-level="sym"] {
  border-style: solid; border-color: var(--brand-line); border-top: 3px solid var(--brand);
  background: var(--brand-soft);
}
.mp-sym-eval[data-level="other"],
.mp-sym-eval[data-level="single"],
.mp-p2-eval[data-level="partial"] {
  border-style: solid; border-color: var(--sky-line); border-top: 3px solid var(--sky);
}
@media (prefers-reduced-motion: no-preference) {
  .mp-io.is-pulse .mp-sym-eval { box-shadow: 0 0 0 3px var(--brand-soft), var(--e2); }
  .mp-io.is-pulse[data-tone="gold"] .mp-sym-eval { box-shadow: 0 0 0 3px var(--gold-soft), var(--e2); }
}

.mp-eval-bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.45rem;
}
.mp-eval-k {
  display: inline-flex; align-items: center; gap: 0.42rem;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-soft);
}
.mp-live-dot {
  width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--line); flex: none;
  transition: background 0.2s var(--ease);
}
.mp-io[data-has-picks="true"] .mp-eval-k { color: var(--brand-strong); }
.mp-io[data-has-picks="true"] .mp-live-dot { background: var(--brand); }
.mp-io[data-has-picks="true"][data-tone="gold"] .mp-eval-k { color: var(--gold-strong); }
.mp-io[data-has-picks="true"][data-tone="gold"] .mp-live-dot { background: var(--gold); }
.mp-io[data-has-picks="true"][data-tone="sky"] .mp-eval-k { color: var(--sky-strong); }
.mp-io[data-has-picks="true"][data-tone="sky"] .mp-live-dot { background: var(--sky); }

.mp-eval-picks { display: flex; flex-wrap: wrap; gap: 0.32rem; margin: -0.1rem 0 0.08rem; }
.mp-eval-picks[hidden] { display: none; }
.mp-eval-pick {
  display: inline-flex; align-items: center; padding: 0.1rem 0.56rem; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--brand-line);
  font-size: 0.74rem; font-weight: 500; color: var(--ink);
}
.mp-io[data-tone="gold"] .mp-eval-pick { border-color: var(--gold-line); }
.mp-io[data-tone="sky"] .mp-eval-pick { border-color: var(--sky-line); }

.mp-eval-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.45rem; }
.mp-eval-badge {
  display: inline-flex; align-items: center; padding: 0.16rem 0.68rem; border-radius: 999px;
  font-size: 0.82rem; font-weight: 600; background: var(--surface); color: var(--ink);
  border: 1px solid var(--line);
}
.mp-sym-eval[data-level="strong"] .mp-eval-badge {
  background: var(--gold-soft); color: var(--gold-strong); border-color: var(--gold-line);
}
.mp-sym-eval[data-level="pem"] .mp-eval-badge {
  background: var(--surface); color: var(--brand-strong); border-color: var(--brand-line);
}
.mp-sym-eval[data-level="other"] .mp-eval-badge,
.mp-sym-eval[data-level="single"] .mp-eval-badge {
  background: var(--sky-soft); color: var(--sky-strong); border-color: var(--sky-line);
}
.mp-eval-text { margin: 0; font-size: 0.92rem; color: var(--ink); line-height: 1.48; }
.mp-eval-notes, .content .mp-eval-notes {
  list-style: none; margin: 0 !important; padding: 0 !important;
  display: grid; gap: 0.32rem;
}
.mp-eval-notes li {
  position: relative; margin: 0 !important; padding-left: 0.9rem;
  font-size: 0.85rem; color: var(--ink-2); line-height: 1.44;
}
.mp-eval-notes li::before {
  content: ""; position: absolute; left: 0.15rem; top: 0.56rem;
  width: 0.32rem; height: 0.32rem; border-radius: 50%; background: var(--brand);
}
.mp-eval-notes li strong { color: var(--ink); font-weight: 600; }
.mp-eval-notes[hidden], .mp-eval-actions[hidden], .mp-eval-clear[hidden] { display: none; }
.mp-eval-prep {
  margin-top: 0.35rem; padding-top: 0.85rem; border-top: 1px solid var(--line-soft);
  display: grid; gap: 0.6rem;
}
.mp-eval-prep-h {
  margin: 0 !important; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.055em;
  text-transform: uppercase; color: var(--brand-strong);
}
.mp-eval-prep .mp-pcards { gap: 0.55rem; }
.mp-eval-clear {
  all: unset; cursor: pointer; font-size: 0.8rem; color: var(--ink-soft);
  text-decoration: underline; padding: 0.1rem 0.25rem;
}
.mp-eval-clear:hover { color: var(--ink); }
.mp-eval-clear:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
.mp-eval-safe {
  margin: 0.2rem 0 0; padding-top: 0.55rem; border-top: 1px solid var(--line-soft);
  font-size: 0.78rem; color: var(--ink-soft); line-height: 1.42;
}

.mp-sum-sym { padding-bottom: 0.75rem; border-bottom: 1px solid var(--line-soft); }
.mp-sum-sym-link {
  display: flex; align-items: center; justify-content: space-between; gap: 0.5rem;
  padding: 0.5rem 0.7rem; border-radius: 10px; background: var(--bg-alt);
  border: 1px solid var(--line-soft); color: var(--ink-2); font-size: 0.88rem; font-weight: 500;
  text-decoration: none;
}
.mp-sum-sym-link:hover { border-color: var(--brand-line); color: var(--ink); text-decoration: none; }
.mp-sum-sym-link strong { font-size: 0.82rem; color: var(--brand-strong); }

/* Vertical numbered step rail */
.mp-steps, .content .mp-steps {
  list-style: none; margin: 0.25rem 0 0; padding: 0 !important;
  display: grid; gap: 0;
}
.mp-step {
  position: relative; display: grid; grid-template-columns: 2.15rem minmax(0, 1fr);
  gap: 0.9rem; margin: 0 !important; padding: 0 0 1.35rem;
}
.mp-step:last-child { padding-bottom: 0; }
.mp-step:not(:last-child)::before {
  content: ""; position: absolute; left: 1.075rem; top: 2.15rem; bottom: 0;
  width: 2px; margin-left: -1px; background: var(--line);
  transition: background 0.2s var(--ease);
}
.mp-step.is-answered:not(:last-child)::before { background: var(--brand-line); }
.mp-snum {
  position: relative; z-index: 1;
  display: grid; place-items: center; width: 2.15rem; height: 2.15rem; border-radius: 50%;
  background: var(--surface); border: 2px solid var(--line); color: var(--ink-soft);
  font-size: 0.88rem; font-weight: 600;
  transition: background 0.15s var(--ease), border-color 0.15s var(--ease), color 0.15s var(--ease);
}
.mp-snum .mp-chk { display: none; width: 1.05rem; height: 1.05rem; }
.mp-step.is-answered .mp-snum { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.mp-step.is-answered .mp-snum-n { display: none; }
.mp-step.is-answered .mp-snum .mp-chk { display: block; }

.mp-fs { border: 0; margin: 0; padding: 0; min-width: 0; }
.mp-fs legend {
  padding: 0.18rem 0 0.45rem; font-size: 1rem; font-weight: 600; color: var(--ink); line-height: 1.35;
}
.mp-opt-tag {
  display: inline-block; margin-left: 0.35rem; padding: 0.08rem 0.5rem; border-radius: 999px;
  background: var(--bg-alt); border: 1px solid var(--line-soft);
  font-size: 0.74rem; font-weight: 500; color: var(--ink-soft); vertical-align: 0.06em;
}
.mp-inline-help { margin: 0 0 0.55rem; }
.mp-inline-help > summary {
  cursor: pointer; font-size: 0.84rem; font-weight: 500; color: var(--brand-strong);
  display: inline-block;
}
.mp-inline-help p {
  margin: 0.45rem 0 0.2rem; padding: 0.7rem 0.9rem; border-radius: var(--r);
  background: var(--bg-alt); border: 1px solid var(--line-soft);
  font-size: 0.88rem; color: var(--ink-2); line-height: 1.5;
}

/* Clean pill chips (accessible visually-hidden native radio/checkbox) */
.mp-opts { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.mp-opt {
  position: relative; display: inline-flex; align-items: center; gap: 0.42rem;
  min-height: 2.45rem; padding: 0.35rem 0.88rem;
  border: 1px solid var(--line); border-radius: 999px;
  background: var(--surface); color: var(--ink-2); font-size: 0.91rem; line-height: 1.25;
  cursor: pointer; user-select: none;
  transition: background 0.15s var(--ease), border-color 0.15s var(--ease), color 0.15s var(--ease);
}
.mp-opt:hover { border-color: var(--brand-line); color: var(--ink); }
.mp-opt input {
  position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none;
}
.mp-opt:has(input:focus-visible) { outline: 2px solid var(--brand); outline-offset: 2px; }
.mp-opt:has(input:checked) {
  border-color: var(--brand); background: var(--brand); color: var(--on-brand); font-weight: 500;
}
.mp-opt.is-unknown { border-style: dashed; color: var(--ink-soft); background: var(--bg-alt); }
.mp-opt.is-unknown:hover { border-color: var(--gold); color: var(--ink); }
.mp-opt.is-unknown:has(input:checked) {
  border-style: solid; border-color: var(--gold); background: var(--gold-soft);
  color: var(--gold-strong); font-weight: 600;
}
.mp-opt.is-unknown:has(input:checked)::before {
  content: ""; width: 0.45rem; height: 0.45rem; border-radius: 50%;
  background: var(--gold); flex: none;
}
.mp-box {
  width: 0.95rem; height: 0.95rem; border-radius: 4px; flex: none;
  border: 1.5px solid var(--line); background: var(--surface); position: relative;
}
.mp-opt.is-multi:has(input:checked) .mp-box {
  border-color: var(--on-brand); background: rgba(255, 255, 255, 0.22);
}
.mp-opt.is-multi:has(input:checked) .mp-box::after {
  content: ""; position: absolute; left: 3px; top: 1px; width: 4px; height: 7px;
  border: solid var(--on-brand); border-width: 0 2px 2px 0; transform: rotate(42deg);
}
.mp-opt-ic { width: 0.95rem; height: 0.95rem; color: var(--brand-strong); flex: none; opacity: 0.9; }
.mp-opt:has(input:checked) .mp-opt-ic { color: var(--on-brand); opacity: 1; }

/* Calm 4-bar visual capacity meter for Severity (Mild -> Very severe) */
.mp-meter {
  display: inline-flex; align-items: flex-end; gap: 2px; height: 0.85rem; flex: none;
}
.mp-mb {
  display: block; width: 3px; border-radius: 1.5px;
  background: var(--line); opacity: 0.55;
}
.mp-mb:nth-child(1) { height: 35%; }
.mp-mb:nth-child(2) { height: 56%; }
.mp-mb:nth-child(3) { height: 78%; }
.mp-mb:nth-child(4) { height: 100%; }
.mp-meter.is-mi .mp-mb.is-on { background: var(--brand); opacity: 1; }
.mp-meter.is-mo .mp-mb.is-on { background: var(--brand); opacity: 0.95; }
.mp-meter.is-se .mp-mb.is-on { background: var(--gold); opacity: 1; }
.mp-meter.is-vs .mp-mb.is-on { background: var(--clay-strong); opacity: 1; }
.mp-meter.is-lg { height: 1.05rem; gap: 2.5px; margin-right: 0.12rem; }
.mp-meter.is-lg .mp-mb { width: 4px; border-radius: 2px; }
.mp-opt:has(input:checked) .mp-mb { background: rgba(255, 255, 255, 0.32); opacity: 1; }
.mp-opt:has(input:checked) .mp-mb.is-on { background: var(--on-brand); opacity: 1; }

/* Compact calm inline SVG diagrams inside My Path collapsible cards */
.mp-mini-viz {
  margin: 0.65rem 0 0.2rem; padding: 0.35rem 0.25rem;
  border-radius: var(--r); background: var(--surface); border: 1px solid var(--line-soft);
}
.mp-viz-svg { display: block; width: 100%; height: auto; }
.mpv-card { fill: var(--bg-alt); stroke: var(--line); stroke-width: 1.2; }
.mpv-card.is-warn { fill: var(--gold-soft); stroke: var(--gold-line); }
.mpv-card.is-brand { fill: var(--brand-soft); stroke: var(--brand-line); }
.mpv-pill { fill: var(--surface); stroke: var(--brand-line); stroke-width: 1.25; }
.mpv-line { stroke: var(--ink-faint); stroke-width: 1.6; stroke-dasharray: 4 3; }
.mpv-arrow { fill: none; stroke: var(--ink-faint); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.mpv-t { font-family: var(--font); font-size: 13px; font-weight: 600; fill: var(--ink); }
.mpv-t.is-warn { fill: var(--gold-strong); }
.mpv-t.is-brand { fill: var(--brand-strong); }
.mpv-s { font-family: var(--font); font-size: 11px; fill: var(--ink-soft); }
.mpv-pt { font-family: var(--font); font-size: 12px; font-weight: 600; fill: var(--brand-strong); }
.mpv-ps { font-family: var(--font); font-size: 10.5px; fill: var(--ink-soft); }
.mpv-limit { stroke: var(--chart-limit); stroke-width: 1.6; stroke-dasharray: 5 4; }
.mpv-lim-t { font-family: var(--font); font-size: 10.5px; font-weight: 600; fill: var(--gold-strong); }
.mpv-curve { fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.mpv-curve.is-warn { stroke: var(--gold); }
.mpv-curve.is-brand { stroke: var(--brand); }
.mpv-dot-warn { fill: var(--gold); stroke: var(--surface); stroke-width: 1.5; }
.mpv-dot-brand { fill: var(--brand); stroke: var(--surface); stroke-width: 1.5; }

/* Sticky right-hand overview card */
.mp-summary {
  border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--surface);
  overflow: hidden; box-shadow: var(--e1);
}
@media (min-width: 960px) {
  .mp-summary { position: sticky; top: calc(var(--header-h) + 1rem); }
}
.mp-sum-head {
  padding: 1rem 1.2rem; background: var(--brand-soft); border-bottom: 1px solid var(--brand-line);
}
.mp-sum-k {
  margin: 0 0 0.15rem; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--brand-strong);
}
.mp-sum-count { margin: 0; font-family: var(--font-display); font-size: 1.35rem; color: var(--ink); line-height: 1.25; }
.mp-sum-count strong { font-weight: 700; color: var(--brand-strong); }
.mp-sum-count span { font-size: 0.95rem; font-weight: 400; color: var(--ink-2); }
.mp-sum-body { padding: 1.05rem 1.2rem 1.2rem; display: grid; gap: 1.05rem; }
.mp-sum-label {
  margin: 0 0 0.45rem; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--ink-faint);
}
.mp-crumbs { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.mp-crumbs-empty { margin: 0; font-size: 0.87rem; color: var(--ink-soft); line-height: 1.45; }
.mp-crumb {
  all: unset; cursor: pointer; display: inline-flex; align-items: center;
  padding: 0.22rem 0.65rem; border-radius: 999px;
  background: var(--brand-soft); border: 1px solid var(--brand-line);
  color: var(--brand-strong); font-size: 0.81rem; font-weight: 500;
}
.mp-crumb:hover { border-color: var(--brand); }
.mp-crumb:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

.mp-nav-list, .content .mp-nav-list {
  list-style: none; margin: 0; padding: 0 !important; display: grid; gap: 0.32rem;
}
.mp-nav-item { margin: 0 !important; }
.mp-nav-item a {
  display: grid; gap: 0.28rem; padding: 0.48rem 0.65rem; border-radius: 10px;
  color: var(--ink-2); text-decoration: none; border: 1px solid transparent;
  transition: background 0.15s var(--ease), border-color 0.15s var(--ease);
}
.mp-nav-item a:hover { background: var(--bg-alt); border-color: var(--line-soft); color: var(--ink); text-decoration: none; }
.mp-nav-item.is-prio a { background: var(--gold-soft); border-color: var(--gold-line); color: var(--ink); }
.mp-nav-item.is-termin { margin-top: 0.25rem !important; padding-top: 0.35rem; border-top: 1px solid var(--line-soft); }
.mp-nav-row { display: flex; align-items: center; gap: 0.45rem; font-size: 0.88rem; }
.mp-nav-t { flex: 1; font-weight: 500; min-width: 0; }
.mp-nav-prio {
  font-size: 0.7rem; font-weight: 600; padding: 0.05rem 0.45rem; border-radius: 999px;
  background: var(--surface); color: var(--gold-strong); border: 1px solid var(--gold-line);
}
.mp-nav-n {
  flex: none; min-width: 1.5rem; text-align: right; font-size: 0.8rem; font-weight: 600;
  color: var(--brand-strong); font-variant-numeric: tabular-nums;
}
.mp-nav-item.is-note-only .mp-nav-n { color: var(--ink-faint); }
.mp-nav-bar { display: block; height: 4px; border-radius: 99px; background: var(--line-soft); overflow: hidden; }
.mp-nav-bar > span { display: block; height: 100%; border-radius: 99px; background: var(--brand); }
.mp-nav-item.is-prio .mp-nav-bar > span { background: var(--gold); }

.mp-sum-actions { display: grid; gap: 0.55rem; padding-top: 0.75rem; border-top: 1px solid var(--line-soft); }
.mp-go-btn { width: 100%; justify-content: center; }
.mp-sum-subactions { display: grid; grid-template-columns: 1fr 1fr; gap: 0.45rem; }
.mp-sum-subactions .btn { width: 100%; padding: 0 0.7rem; font-size: 0.84rem; min-height: 2.35rem; }

/* Results header & country legend */
.mp-results { padding-top: 1.5rem; border-top: 1px solid var(--line); }
.mp-results-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 0.85rem 1.5rem; margin-bottom: 1rem;
}
.content .mp-results-title { margin: 0 0 0.35rem; font-size: clamp(1.4rem, 2.5vw, 1.75rem); }
.mp-results-lead { margin: 0; color: var(--ink-soft); font-size: 0.96rem; max-width: 44rem; }
.mp-expand-btn { flex: none; }

.mp-legend {
  display: flex; flex-wrap: wrap; gap: 0.45rem 1.25rem;
  margin: 0 0 1.65rem; padding: 0.65rem 1rem;
  border-radius: var(--r); background: var(--bg-alt); border: 1px solid var(--line-soft);
  font-size: 0.84rem; color: var(--ink-2);
}
.mp-legend span { display: inline-flex; align-items: center; gap: 0.45rem; }
.mp-sw { width: 0.65rem; height: 0.65rem; border-radius: 50%; display: inline-block; flex: none; }
.mp-sw.is-uk { background: var(--brand); }
.mp-sw.is-de { background: var(--sky); }
.mp-sw.is-nl { background: var(--sage); }
.mp-sw.is-no { background: var(--gold); }

/* Vertical timeline of lanes */
.mp-timeline { display: grid; gap: 0; }
.mp-lane {
  position: relative; display: grid; grid-template-columns: 2.5rem minmax(0, 1fr);
  gap: 1rem; margin: 0; padding: 0 0 1.65rem;
}
.mp-lane:last-child { padding-bottom: 0; }
.mp-lane:not(:last-child)::before {
  content: ""; position: absolute; left: 1.25rem; top: 2.5rem; bottom: 0;
  width: 2px; margin-left: -1px; background: var(--line);
}
.mp-lane.is-empty { display: none; }
.mp-lane-dot {
  position: relative; z-index: 1;
  display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%;
  background: var(--brand-soft); border: 1px solid var(--brand-line); color: var(--brand);
}
.mp-lane-dot .icon { width: 1.15rem; height: 1.15rem; }
.mp-lane.is-priority .mp-lane-dot { background: var(--gold-soft); border-color: var(--gold-line); color: var(--gold-strong); }

.mp-lane-box {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: 1.15rem 1.3rem 1.25rem; display: grid; gap: 0.85rem; min-width: 0;
}
.mp-lane.is-priority .mp-lane-box { border-color: var(--gold-line); box-shadow: 0 0 0 1px var(--gold-soft); }
.mp-lane-head {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 0.5rem 1rem; padding-bottom: 0.65rem; border-bottom: 1px solid var(--line-soft);
}
.mp-lane-hl { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.65rem; }
.content .mp-lane-head h2 { margin: 0; font-size: 1.25rem; line-height: 1.25; }
.mp-lane-count {
  display: inline-flex; align-items: center; padding: 0.14rem 0.6rem; border-radius: 999px;
  background: var(--bg-alt); border: 1px solid var(--line-soft);
  font-size: 0.78rem; font-weight: 600; color: var(--ink-soft);
}
.mp-prio {
  display: inline-flex; align-items: center; padding: 0.14rem 0.6rem; border-radius: 999px;
  background: var(--gold-soft); border: 1px solid var(--gold-line);
  font-size: 0.76rem; font-weight: 600; color: var(--gold-strong);
}
.mp-prio[hidden] { display: none; }
.mp-lane-link {
  display: inline-flex; align-items: center; gap: 0.3rem;
  font-size: 0.86rem; font-weight: 500; color: var(--brand-strong); white-space: nowrap;
}
.mp-lane-link .icon { width: 0.9rem; height: 0.9rem; }

.mp-note {
  margin: 0; padding: 0.75rem 0.95rem; border-radius: var(--r);
  background: var(--bg-alt); border: 1px solid var(--line-soft);
  color: var(--ink-2); font-size: 0.91rem; line-height: 1.5;
}
.mp-lane-empty {
  margin: 0; padding: 0.85rem 1rem; border-radius: var(--r);
  background: var(--bg-alt); color: var(--ink-soft); font-size: 0.91rem;
}
.mp-lane-empty[hidden] { display: none; }

/* Collapsible cards inside each lane */
.mp-cards { display: grid; gap: 0.55rem; }
.mp-card {
  border: 1px solid var(--line); border-radius: var(--r); background: var(--surface);
  transition: border-color 0.15s var(--ease), background 0.15s var(--ease);
}
.mp-card:hover { border-color: var(--brand-line); }
.mp-det[open] { background: var(--bg-alt); border-radius: inherit; }
.mp-sum {
  list-style: none; cursor: pointer;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.75rem; align-items: center;
  padding: 0.8rem 0.95rem;
}
.mp-sum::-webkit-details-marker { display: none; }
.mp-sum:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; border-radius: var(--r); }
.mp-sum-main { display: grid; gap: 0.22rem; min-width: 0; }
.mp-card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.3rem 0.4rem; }

.mp-cc {
  display: inline-flex; align-items: center; padding: 0.1rem 0.55rem; border-radius: 999px;
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.02em;
}
.mp-cc.is-uk { background: var(--brand-soft); color: var(--brand-strong); border: 1px solid var(--brand-line); }
.mp-cc.is-de { background: var(--sky-soft); color: var(--sky-strong); border: 1px solid var(--line-soft); }
.mp-cc.is-nl { background: var(--sage-soft); color: var(--sage-strong); border: 1px solid var(--line-soft); }
.mp-cc.is-no { background: var(--gold-soft); color: var(--gold-strong); border: 1px solid var(--gold-line); }

.mp-if-flag {
  display: inline-flex; align-items: center; padding: 0.1rem 0.55rem; border-radius: 999px;
  background: var(--gold-soft); color: var(--gold-strong); border: 1px solid var(--gold-line);
  font-size: 0.73rem; font-weight: 600;
}
.mp-if-flag[hidden] { display: none; }
.mp-tags { display: inline-flex; flex-wrap: wrap; gap: 0.3rem; }
.mp-tags:empty { display: none; }
.mp-tag {
  display: inline-block; padding: 0.08rem 0.52rem; border-radius: 999px;
  border: 1px dashed var(--line); background: var(--bg-alt); color: var(--ink-soft); font-size: 0.75rem;
}
.content .mp-card-title { margin: 0.08rem 0 0; font-size: 1.02rem; font-weight: 600; color: var(--ink); line-height: 1.3; }
.mp-card-gist { font-size: 0.89rem; color: var(--ink-soft); line-height: 1.45; }

.mp-chev-wrap {
  display: grid; place-items: center; width: 1.85rem; height: 1.85rem; border-radius: 50%;
  background: var(--bg-alt); color: var(--ink-soft); flex: none;
  transition: background 0.15s var(--ease), color 0.15s var(--ease);
}
.mp-card:hover .mp-chev-wrap { background: var(--brand-soft); color: var(--brand-strong); }
.mp-chev { width: 1rem; height: 1rem; transition: transform 0.2s var(--ease); }
.mp-det[open] .mp-chev { transform: rotate(180deg); }

.mp-det-body {
  padding: 0.15rem 0.95rem 0.95rem; border-top: 1px solid var(--line-soft);
  margin-top: 0.1rem;
}
.mp-det-body p { font-size: 0.93rem; margin: 0.65rem 0 0; color: var(--ink-2); line-height: 1.6; }
.mp-det-body [data-sent] p[data-sent-tag] { margin-top: 0.35rem; }
.mp-det-body [data-sent] p[data-sent-tag]:empty { display: none; }

.mp-ready .is-out { display: none !important; }
.mp-ready .mp-if { display: none; }
.mp-ready .mp-if.is-on {
  display: block; margin-top: 0.65rem; padding: 0.6rem 0.8rem; border-radius: 10px;
  background: var(--gold-soft); border: 1px solid var(--gold-line); color: var(--gold-strong);
  font-size: 0.89rem; font-weight: 500;
}

/* Appointment questions box & shared trunk */
.mp-termin-box {
  padding: 1.4rem 1.5rem; border-radius: var(--r-xl);
  background: var(--surface); border: 1px solid var(--line);
}
.mp-termin-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 0.5rem 1rem; margin-bottom: 0.5rem;
}
.content .mp-termin-head h2 { margin: 0; font-size: 1.38rem; }
.mp-termin-box > p { margin: 0 0 1rem; color: var(--ink-soft); font-size: 0.95rem; }

.mp-trunk { padding-top: 1.2rem; border-top: 1px solid var(--line); }
.content .mp-trunk h2 { margin: 0 0 0.25rem; font-size: 1.38rem; }
.mp-trunk .card-grid { margin-top: 1rem; }

@media (max-width: 640px) {
  .mp-lane { grid-template-columns: 1fr; gap: 0.55rem; padding-bottom: 1.25rem; }
  .mp-lane:not(:last-child)::before, .mp-lane-dot { display: none; }
  .mp-lane-box { padding: 1rem 1rem 1.05rem; }
  .mp-termin-box { padding: 1.15rem 1.1rem; }
  .mp-step { grid-template-columns: 1.85rem minmax(0, 1fr); gap: 0.7rem; }
  .mp-step:not(:last-child)::before { left: 0.925rem; }
  .mp-snum { width: 1.85rem; height: 1.85rem; font-size: 0.82rem; }
}

/* ---------- Updates ("Aktuelles") ---------- */
.nw-list, .content .nw-list { list-style: none; padding: 0 !important; margin: 1rem 0 0; display: grid; gap: 0.9rem; }
.nw-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); }
.nw-list li { margin: 0; }
.nw-item[hidden] { display: none; }
.nw-card {
  display: flex; flex-direction: column; gap: 0.5rem; height: 100%;
  padding: 1.15rem 1.3rem 1.2rem; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); color: var(--ink); text-decoration: none;
  transition: box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}
.content li a.nw-card, .content li a.nw-card:hover, a.nw-card:hover { text-decoration: none; }
.nw-card:hover { border-color: var(--brand-line); box-shadow: var(--e1); }
.nw-card:hover .nw-title { color: var(--brand-strong); }
.nw-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.3rem 0.9rem; font-size: 0.84rem; color: var(--ink-soft); }
.nw-type { display: inline-flex; align-items: center; gap: 0.35rem; color: var(--brand-strong); font-weight: 500; }
.nw-type .icon { width: 1rem; height: 1rem; }
.nw-title { font-family: var(--font-display); font-size: 1.08rem; font-weight: 600; line-height: 1.35; color: var(--ink); }
.nw-lead { color: var(--ink-2); font-size: 0.95rem; }
.nw-filter { margin: 0.6rem 0 0.4rem; }
.nw-filter[hidden] { display: none; }
.nw-frow { display: flex; flex-wrap: wrap; align-items: center; gap: 0.45rem; margin: 0 0 0.7rem; }
.nw-flabel { flex: none; min-width: 4.5rem; margin-right: 0.3rem; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-faint); }
.nw-chip { padding: 0.4rem 0.9rem; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink-2); font: inherit; font-size: 0.91rem; cursor: pointer; }
.nw-chip:hover { border-color: var(--brand-line); }
.nw-chip[aria-pressed="true"] { background: var(--brand-soft); border-color: var(--brand-line); color: var(--brand-strong); font-weight: 500; }
.nw-empty { color: var(--ink-soft); }
.nw-empty[hidden] { display: none; }
.nw-types { display: grid; gap: 1rem; margin: 0.6rem 0 0; }
.nw-types div { margin: 0; }
.nw-types dt { display: flex; align-items: center; gap: 0.55rem; font-weight: 600; color: var(--ink); }
.nw-types dt .icon { flex: none; width: 1.2rem; height: 1.2rem; color: var(--brand); }
.nw-types dd { margin: 0.2rem 0 0 1.75rem; color: var(--ink-2); }
.nw-related { margin: 2.2rem 0 1.6rem; padding: 1.25rem 1.4rem 1.1rem; border-radius: var(--r-lg); background: var(--bg-alt); border: 1px solid var(--line-soft); }
.nw-related h2 { margin: 0 0 0.2rem; font-size: 1.12rem; }
.nw-related .nw-list { margin-top: 0.8rem; }
.nw-more { margin: 0.9rem 0 0; }
.nw-back { margin: 1.8rem 0 0.4rem; }

/* ---------- Contact form ---------- */
.cf { max-width: 40rem; margin: 1.2rem 0 0; }
.cf-field { display: flex; flex-direction: column; gap: 0.35rem; margin: 0 0 1.1rem; }
.cf-field label { font-weight: 500; color: var(--ink); }
.cf input[type=text], .cf input[type=email], .cf select, .cf textarea {
  width: 100%; box-sizing: border-box; padding: 0.7rem 0.85rem;
  border: 1px solid var(--line); border-radius: 12px;
  background: var(--surface); color: var(--ink); font: inherit; font-size: 1rem;
}
.cf textarea { resize: vertical; min-height: 9rem; }
.cf input:focus, .cf select:focus, .cf textarea:focus { outline: 2px solid var(--brand); outline-offset: 1px; border-color: var(--brand); }
.cf-hint { font-size: 0.88rem; color: var(--ink-soft); }
.cf-legal { font-size: 0.9rem; color: var(--ink-soft); }
.cf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf-note { display: flex; gap: 0.7rem; align-items: flex-start; margin: 1rem 0 0.4rem; padding: 0.9rem 1.1rem; border-radius: var(--r); background: var(--gold-soft); border: 1px solid var(--gold-line); color: var(--ink); }
.cf-note .icon { flex: none; width: 1.25rem; height: 1.25rem; margin-top: 0.15rem; color: var(--gold-strong); }
.cf-note p { margin: 0; }
.cf-msg { display: none; max-width: 40rem; margin: 1rem 0; padding: 0.9rem 1.1rem; border-radius: var(--r); }
.cf-msg.is-on, .cf-msg:target { display: block; }
.cf-ok { background: var(--green-soft); color: var(--green); font-weight: 500; }
.cf-bad { background: var(--clay-soft); color: var(--clay-strong); font-weight: 500; }
.cf-busy { background: var(--bg-alt); color: var(--ink-soft); }

/* Corrections log */
.corr-list { list-style: none; padding-left: 0; margin: 1rem 0 1.2rem; display: grid; gap: 0.8rem; }
.corr-list li { margin: 0; padding: 0.9rem 1.1rem; border-left: 3px solid var(--gold-line); background: var(--bg-alt); border-radius: 0 var(--r) var(--r) 0; }

/* Cookie banner */
.cc { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 0 16px 16px; }
.cc[hidden] { display: none; }
.cc-in { max-width: 46rem; margin: 0 auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--e3); padding: 1rem 1.2rem; display: grid; gap: 0.8rem; }
.cc-in p { margin: 0; font-size: 0.95rem; color: var(--ink-2); }
.cc-btns { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: flex-end; }
.cc-btn { min-width: 9rem; padding: 0.6rem 1.1rem; border-radius: 999px; border: 1px solid var(--brand); background: var(--surface); color: var(--brand-strong); font: inherit; font-weight: 600; cursor: pointer; }
.cc-btn:hover, .cc-btn:focus-visible { background: var(--brand); color: var(--on-brand); }
.cc-open { color: inherit; text-decoration: underline; }

/* 404 / Chooser */
.chooser { min-height: calc(100vh - 6rem); display: grid; place-items: center; padding: 3rem 1.25rem; background: var(--bg); }
.chooser-inner { width: min(34rem, 100%); text-align: center; }
.chooser h1 { font-size: clamp(1.8rem, 3.8vw, 2.4rem); font-weight: 500; letter-spacing: -0.02em; line-height: 1.25; margin: 0 0 0.6rem; }
.lang-cards { display: grid; gap: 0.75rem; margin: 2rem 0 1.6rem; text-align: left; }
.lang-card { position: relative; display: block; padding: 1.1rem 3.5rem 1.1rem 1.35rem; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); transition: box-shadow 0.2s var(--ease), border-color 0.2s var(--ease); }
.lang-card:hover { box-shadow: var(--e2); border-color: var(--brand-line); text-decoration: none; color: var(--ink-2); }
.lang-card strong { display: block; font-family: var(--font-display); font-size: 1.12rem; font-weight: 600; color: var(--ink); }
.lang-card span { color: var(--ink-soft); font-size: 0.92rem; }
.lang-card .card-arrow { top: 50%; margin-top: -0.6em; }
.breath-sm { position: relative; width: 6.5rem; aspect-ratio: 1; margin: 0 auto 1.4rem; display: grid; place-items: center; }
.breath-sm .ring { position: absolute; inset: 0; border-radius: 50%; }
.breath-sm .r1 { background: var(--brand-soft); }
.breath-sm .r2 { inset: 16%; background: var(--surface); border: 1px solid var(--brand-line); }
.breath-sm .r3 { display: none; }
.breath-logo { position: relative; width: 42%; height: auto; }

/* ---------- Tables ---------- */
.table-wrap { margin: 1rem 0 1.2rem; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); }
table.data { width: 100%; border-collapse: collapse; font-size: 0.95rem; line-height: 1.5; }
table.data thead th { background: var(--bg-alt); color: var(--ink-soft); font-weight: 600; font-size: 0.84rem; text-align: left; padding: 0.75rem 1rem; border-bottom: 1px solid var(--line); }
table.data tbody th, table.data td { text-align: left; vertical-align: top; padding: 0.85rem 1rem; border-bottom: 1px solid var(--line-soft); }
table.data tbody tr:last-child > * { border-bottom: 0; }
table.data tbody th { font-weight: 500; color: var(--ink); }

/* ---------- Specialist care interactive map (Natural Earth SVG, Light + Dark) ---------- */
.bmap {
  margin: 0.75rem 0 1.4rem; padding: 1.05rem 1.15rem 1rem;
  border: 1px solid var(--line); border-radius: var(--r-xl);
  background: var(--surface); display: grid; gap: 0.75rem;
}
.bmap-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.65rem; }
.bmap-hint { margin: 0 !important; font-size: 0.87rem; color: var(--ink-soft); }
.bmap-filter { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.bmap-chip {
  display: inline-flex; align-items: center; gap: 0.35rem;
  min-height: 2.1rem; padding: 0.28rem 0.78rem; border-radius: 999px;
  border: 1px solid var(--line); background: var(--bg-alt); color: var(--ink-2);
  font: inherit; font-size: 0.83rem; font-weight: 500; cursor: pointer;
  transition: background 0.15s var(--ease), border-color 0.15s var(--ease), color 0.15s var(--ease);
}
.bmap-chip:hover { border-color: var(--brand-line); color: var(--ink); }
.bmap-chip[aria-pressed="true"] {
  background: var(--brand); border-color: var(--brand); color: var(--on-brand); font-weight: 600;
}
.bmap-stage {
  position: relative; width: 100%; max-width: 41.5rem; margin: 0 auto;
  border-radius: var(--r-lg); overflow: visible; border: 1px solid var(--line-soft);
  background: var(--bg-alt);
}
.bmap-svg {
  display: block; width: 100%; height: auto; border-radius: var(--r-lg); overflow: hidden;
}
.bmap-sea { fill: #e9f1f4; }
.bmap-nb { fill: #e5e8e6; stroke: #cfd6d3; stroke-width: 0.9; vector-effect: non-scaling-stroke; }
.bmap-c {
  fill: #d4e6e4; stroke: #6a9e99; stroke-width: 1.25; vector-effect: non-scaling-stroke;
  transition: fill 0.18s var(--ease), opacity 0.18s var(--ease); cursor: pointer;
}
.bmap-c:hover, .bmap-c.is-active { fill: #b7dad6; stroke: var(--brand); stroke-width: 1.7; }
.bmap-c.is-dim { opacity: 0.36; }
html.dim .bmap-sea { fill: #151c20; }
html.dim .bmap-nb { fill: #1d2327; stroke: #2c353b; }
html.dim .bmap-c { fill: #203437; stroke: #488c87; }
html.dim .bmap-c:hover, html.dim .bmap-c.is-active { fill: #27484b; stroke: #76cdc7; }

.bmap-sea-label {
  position: absolute; transform: translate(-50%, -50%); pointer-events: none;
  font-size: 0.72rem; font-style: italic; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-soft); opacity: 0.65; white-space: nowrap;
}
.bmap-country {
  position: absolute; transform: translate(-50%, -50%); pointer-events: none;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--brand-strong); opacity: 0.88; white-space: nowrap;
  text-shadow: 0 1px 4px var(--surface);
}
.bmap-pin-wrap {
  position: absolute; margin: -0.575rem 0 0 -0.575rem; z-index: 4;
  transition: opacity 0.18s var(--ease);
}
.bmap-pin-wrap.is-dim { opacity: 0.24; pointer-events: none; }
.bmap-pin-wrap.is-open { z-index: 25; }
.bmap-pin {
  position: relative; display: grid; place-items: center;
  width: 1.15rem; height: 1.15rem; padding: 0; border-radius: 50%;
  background: var(--brand); border: 2.5px solid var(--surface);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28); cursor: pointer;
  transition: transform 0.15s var(--ease), background 0.15s var(--ease);
}
.bmap-pin.is-child { background: var(--gold); }
.bmap-pin:hover, .bmap-pin-wrap.is-open .bmap-pin { transform: scale(1.22); }
.bmap-pin:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
.bmap-pin-city {
  position: absolute; top: 50%; transform: translateY(-50%); pointer-events: none;
  padding: 0.06rem 0.38rem; border-radius: 6px; font-size: 0.72rem; font-weight: 600;
  color: var(--ink); background: color-mix(in srgb, var(--surface) 88%, transparent);
  border: 1px solid var(--line-soft); white-space: nowrap;
}
.bmap-pin-wrap.lbl-r .bmap-pin-city { left: 1.35rem; }
.bmap-pin-wrap.lbl-l .bmap-pin-city { right: 1.35rem; }
.bmap-pin-wrap.lbl-t .bmap-pin-city { top: auto; bottom: 1.35rem; left: 50%; transform: translateX(-50%); }

.bmap-pop {
  display: none; position: absolute; width: min(21rem, 80vw);
  padding: 0.9rem 1rem; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--brand-line);
  box-shadow: var(--e3); text-align: left; z-index: 30;
}
.bmap-pin-wrap.is-open .bmap-pop { display: grid; gap: 0.5rem; }
.bmap-pin-wrap.va .bmap-pop { bottom: calc(100% + 0.6rem); }
.bmap-pin-wrap.vb .bmap-pop { top: calc(100% + 0.6rem); }
.bmap-pin-wrap.al .bmap-pop { left: -0.5rem; }
.bmap-pin-wrap.ar .bmap-pop { right: -0.5rem; }
.bmap-pin-wrap.ac .bmap-pop { left: 50%; transform: translateX(-50%); }
.bmap-pop-head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.65rem; align-items: center; }
.bmap-pop-title { display: grid; gap: 0.14rem; min-width: 0; }
.bmap-pop-place {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-size: 0.74rem; font-weight: 600; color: var(--brand-strong);
}
.bmap-pop strong { font-size: 0.93rem; color: var(--ink); line-height: 1.28; }
.bmap-pop-scope { margin: 0 !important; font-size: 0.82rem; color: var(--ink-2); line-height: 1.44; }
.bmap-pop-meta { display: grid; gap: 0.42rem; }
.bmap-pop-row {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.48rem; align-items: start;
  font-size: 0.78rem; color: var(--ink-soft); line-height: 1.38; text-decoration: none;
}
.bmap-pop-row .icon { width: 0.95rem; height: 0.95rem; color: var(--brand); margin-top: 0.14rem; flex: none; }
.bmap-pop-row > span { display: grid; gap: 0.06rem; min-width: 0; overflow-wrap: anywhere; }
.bmap-pop-row b { font-size: 0.84rem; font-weight: 600; color: var(--ink); }
.bmap-pop-tel {
  padding: 0.48rem 0.62rem; border-radius: var(--r);
  background: var(--bg-alt); border: 1px solid var(--line-soft);
  transition: border-color 0.15s var(--ease), background 0.15s var(--ease);
}
.bmap-pop-tel:hover { border-color: var(--brand-line); background: var(--brand-soft); text-decoration: none; }
.bmap-pop-tel b { color: var(--brand-strong); }
.bmap-pop-links {
  display: flex; flex-wrap: wrap; gap: 0.45rem 0.9rem; margin-top: 0.1rem;
  padding-top: 0.45rem; border-top: 1px solid var(--line-soft); font-size: 0.83rem; font-weight: 600;
}
.bmap-foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 0.45rem 1rem; font-size: 0.8rem; color: var(--ink-soft);
}
.bmap-legend { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; }
.bmap-legend span { display: inline-flex; align-items: center; gap: 0.38rem; }
.bmap-dot {
  width: 0.68rem; height: 0.68rem; border-radius: 50%; background: var(--brand);
  border: 1.5px solid var(--surface); box-shadow: 0 0 0 1px var(--brand-line);
}
.bmap-dot.is-child { background: var(--gold); box-shadow: 0 0 0 1px var(--gold-line); }
.bmap-note { margin: 0 !important; font-size: 0.79rem; color: var(--ink-soft); }

/* Inline SVG country flags & crisp official logo badges (Light + Dark safe) */
.cc-flag {
  display: inline-block; width: 18px; height: 12px; flex: none;
  border-radius: 2px; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.16);
}
.care-logo-box {
  display: grid; place-items: center; flex: none;
  width: 4.9rem; height: 3.5rem; padding: 0.38rem 0.5rem;
  border-radius: 11px; background: #ffffff;
  border: 1px solid var(--line); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}
.care-logo-box.is-sm { width: 3.4rem; height: 2.55rem; padding: 0.28rem 0.35rem; border-radius: 9px; }
.care-logo-box img {
  max-width: 100%; max-height: 100%; width: auto; height: auto;
  object-fit: contain; display: block;
}

/* Care directory cards below map (reference-lung hospital card polish) */
.care-groups { display: grid; gap: 1.5rem; margin-top: 0.85rem; }
.care-group[hidden] { display: none; }
.care-group-h {
  display: inline-flex; align-items: center; gap: 0.5rem;
  margin: 0 0 0.7rem !important; font-size: 1.12rem; font-weight: 600; color: var(--ink);
  scroll-margin-top: calc(var(--header-h) + 1rem);
}
.care-cards { display: grid; gap: 0.85rem; }
@media (min-width: 880px) { .care-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.care-card {
  padding: 1.1rem 1.2rem; border-radius: var(--r-xl);
  background: var(--surface); border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 0.7rem;
  scroll-margin-top: calc(var(--header-h) + 1.2rem);
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.care-card:hover { border-color: var(--brand-line); }
.care-card:target { border-color: var(--brand); box-shadow: 0 0 0 2px var(--brand-soft); }
.care-head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.85rem; align-items: start; }
.care-head-t { display: grid; gap: 0.2rem; min-width: 0; }
.care-card-top { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 0.55rem; }
.care-cc-row {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase;
  color: var(--ink-soft);
}
.care-card h4 { margin: 0 !important; font-size: 1.03rem; font-weight: 600; color: var(--ink); line-height: 1.3; }
.care-tag {
  display: inline-flex; align-items: center; padding: 0.08rem 0.55rem; border-radius: 999px;
  font-size: 0.72rem; font-weight: 600; background: var(--brand-soft);
  border: 1px solid var(--brand-line); color: var(--brand-strong);
}
.care-tag.is-child { background: var(--gold-soft); border-color: var(--gold-line); color: var(--gold-strong); }
.care-meta {
  display: inline-flex; align-items: center; gap: 0.3rem;
  margin: 0 !important; font-size: 0.83rem; font-weight: 500; color: var(--ink-soft);
}
.care-meta .icon { width: 0.85rem; height: 0.85rem; color: var(--brand); flex: none; }
.care-desc { margin: 0 !important; font-size: 0.9rem; color: var(--ink-2); line-height: 1.54; }
.care-block {
  display: grid; gap: 0.42rem;
  padding-top: 0.65rem; border-top: 1px solid var(--line-soft);
}
.care-sub-k {
  margin: 0 !important; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.05em;
  text-transform: uppercase; color: var(--ink-soft);
}
.care-leads, .care-contact {
  list-style: none; padding: 0 !important; margin: 0 !important;
  display: grid; gap: 0.42rem;
}
.care-leads li {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.5rem; align-items: start;
  font-size: 0.86rem; color: var(--ink-2); line-height: 1.4;
}
.care-leads li .icon { width: 0.95rem; height: 0.95rem; color: var(--brand); margin-top: 0.18rem; flex: none; }
.care-leads li > span { display: grid; gap: 0.08rem; min-width: 0; }
.care-leads strong { color: var(--ink); font-weight: 600; }
.care-leads li.is-team { color: var(--ink-soft); font-size: 0.83rem; }
.care-c {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.5rem; align-items: start;
  font-size: 0.85rem; color: var(--ink-2); line-height: 1.4; text-decoration: none;
}
.care-c .icon { width: 0.95rem; height: 0.95rem; color: var(--brand); margin-top: 0.16rem; flex: none; }
.care-c > span { display: grid; gap: 0.06rem; min-width: 0; overflow-wrap: anywhere; }
.care-c strong { color: var(--ink); font-weight: 600; }
.care-c.is-link {
  padding: 0.42rem 0.58rem; margin: 0 -0.2rem; border-radius: var(--r);
  background: var(--bg-alt); border: 1px solid var(--line-soft);
  transition: border-color 0.15s var(--ease), background 0.15s var(--ease);
}
.care-c.is-link strong { color: var(--brand-strong); }
.care-c.is-link:hover { border-color: var(--brand-line); background: var(--brand-soft); text-decoration: none; }
.care-sub { font-size: 0.78rem; color: var(--ink-soft); line-height: 1.38; }
.care-access {
  padding: 0.72rem 0.88rem; border-radius: var(--r);
  background: var(--bg-alt); border: 1px solid var(--line-soft);
  display: grid; gap: 0.32rem; margin-top: auto;
}
.care-access-k {
  margin: 0 !important; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.05em;
  text-transform: uppercase; color: var(--brand-strong);
}
.care-access p { margin: 0 !important; font-size: 0.84rem; color: var(--ink-2); line-height: 1.46; }
.care-prep {
  display: grid; grid-template-columns: auto 1fr; gap: 0.4rem; align-items: start;
  margin-top: 0.25rem !important; padding-top: 0.42rem; border-top: 1px solid var(--line-soft);
  font-size: 0.82rem !important;
}
.care-prep .icon { width: 0.9rem; height: 0.9rem; color: var(--brand); margin-top: 0.16rem; }
.care-prep strong { color: var(--ink); font-weight: 600; }
.care-foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 0.5rem 0.75rem; padding-top: 0.35rem;
}
.care-checked { font-size: 0.75rem; color: var(--ink-soft); }

@media (max-width: 600px) {
  .bmap { padding: 0.85rem; }
  .bmap-pin-city { display: none; }
  .bmap-country { font-size: 0.62rem; }
  .bmap-pin-wrap.is-open .bmap-pop {
    position: fixed; left: 50%; right: auto; top: auto; bottom: 1rem;
    transform: translateX(-50%); width: min(22rem, calc(100vw - 2rem)); z-index: 60;
  }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-alt); color: var(--ink-soft); border-top: 1px solid var(--line); padding: clamp(2.5rem, 6vw, 3.5rem) 0 2rem; font-size: 0.92rem; }
.site-footer a { color: var(--ink-2); }
.site-footer a:hover { color: var(--brand); }
.footer-grid { display: grid; gap: 2rem 3rem; grid-template-columns: 1fr; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-title { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; color: var(--ink); margin: 0.8rem 0 0.35rem; }
.footer-brand p { max-width: 24rem; }
.site-footer h2 { font-family: var(--font); font-size: 0.85rem; font-weight: 600; color: var(--ink); margin: 0.3rem 0 0.9rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 1.5rem; }
.site-footer li { margin: 0 0 0.55rem; break-inside: avoid; }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 2.2rem; padding-top: 1.3rem; font-size: 0.84rem; color: var(--ink-soft); }
.footer-bottom p { margin: 0.3rem 0; }

/* ---------- Responsive ---------- */
@media (max-width: 720px) {
  :root { --header-h: 6.6rem; }
  body { font-size: 1.03rem; }
  .wrap { width: calc(100% - 2rem); }
  .header-inner { min-height: 3.6rem; }
  .logo { width: 2.1rem; height: 2.1rem; }
  .brand-kicker { display: none; }
  .brand-title { font-size: 1rem; }
  .dim-toggle { padding: 0 0.65rem; font-size: 0.8rem; }
  .menu a, .menu-group { min-height: 2.75rem; }
  .in-brief { padding: 1.2rem 1.15rem 0.95rem; }
  .cta .btn { flex: 1 1 100%; }
  .explain { padding: 1rem 1rem 0.9rem; }
  .hp-preview { padding: 1.1rem 1rem; }
  .table-wrap { border: 0; border-radius: 0; overflow: visible; background: transparent; }
  table.stack, table.stack tbody, table.stack tr, table.stack th, table.stack td { display: block; }
  table.stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
  table.stack tr { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); margin: 0 0 0.75rem; padding: 0.2rem 1rem; }
  table.stack tbody th { font-size: 1.02rem; font-weight: 600; padding: 0.7rem 0 0.55rem; border-bottom: 1px solid var(--line-soft); }
  table.stack td { display: grid; grid-template-columns: minmax(6rem, 36%) 1fr; gap: 0.75rem; padding: 0.6rem 0; border-bottom: 1px solid var(--line-soft); }
  table.stack tr > :last-child { border-bottom: 0; }
  table.stack td::before { content: attr(data-label); font-size: 0.8rem; font-weight: 500; color: var(--ink-soft); line-height: 1.4; }
}
@media (max-width: 440px) {
  .dim-toggle [data-dim-label] { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
  .dim-toggle { padding: 0 0.6rem; }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .skip, .toc, .next-steps, .print-btn, .read-tools, .cs-wrap, .cta, .progress, .cc, .vs-pathbox, .vs-asklink, .hero-art, .horizon-card { display: none !important; }
  html, body { background: #ffffff !important; color: #111111 !important; font-size: 11pt; line-height: 1.5; }
  .page-hero, .home-hero { padding: 0 0 1rem; background: none !important; border: 0; }
  .page-hero h1 { font-size: 20pt; }
  .page-layout { padding: 0; display: block; }
  .content { max-width: none !important; }
  .in-brief, .care-note, .country, .sources, .explain, .mp-card { box-shadow: none; background: #ffffff !important; border: 1px solid #999; break-inside: avoid; }
  a { color: #000000; }
  html.print-asks .pa-hide { display: none !important; }
  html.print-asks .aq-sheet { display: block; padding: 0; font-family: var(--font); color: #111; }
  html.print-asks .aq-sheet h2 { font-size: 1.4rem; margin: 0.2rem 0 1rem; }
  html.print-asks .aq-sheet-k { font-size: 0.85rem; color: #555; margin: 0; }
  html.print-asks .aq-sheet .aq-gh { margin: 1rem 0 0.3rem; }
  html.print-asks .aq-sheet-list { margin: 0; padding-left: 1.2rem; }
  html.print-asks .aq-sheet-list li { padding: 0.45rem 0 1.4rem; border-bottom: 1px solid #bbb; }
  .vs-aq-tools, .vs-aq .aq-why { display: none; }
}
