/* ==========================================================================
   Lung cancer · KRAS G12C — patient hub
   Static, cookie-free, no external fonts or trackers.

   Visual idea: bright, clean, trustworthy. White space first, one clear
   petrol accent (pairs with the gold of logo and photos), neutral greys, soft colour accents only to help orientation.
   Material-style shapes: pill buttons, quiet elevation, tab underlines.
   ========================================================================== */

:root {
  color-scheme: light;

  /* Neutrals */
  --bg: #ffffff;
  --bg-alt: #f8f9fa;
  --surface: #ffffff;
  --surface-2: #f1f3f4;
  --line: #dadce0;
  --line-soft: #e8eaed;

  /* Text */
  --ink: #202124;
  --ink-2: #3c4043;
  --ink-soft: #5f6368;
  --ink-faint: #80868b;

  /* Petrol accent: between trust blue and calm green, partner colour to the gold.
     #1f6f6b on white = about 5.9:1 contrast (WCAG AA for text). */
  --brand: #1f6f6b;
  --brand-hover: #195d5a;
  --brand-strong: #144a47;
  --brand-soft: #e6f2f1;
  --brand-line: #c9e2df;
  --on-brand: #ffffff;

  /* Gold (rank 1, with petrol) and rank 2 supporting colours, see docs/farbsystem.html.
     *-strong is for text and icons, *-soft for backgrounds. Never for buttons or links. */
  --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;

  /* Soft accents (orientation only) */
  --green: #137333;  --green-soft: #e6f4ea;
  --yellow: #b06000; --yellow-soft: #fef7e0;
  --teal: #1967d2;   --teal-soft: #e8f0fe;   /* soft blue now; name kept so existing rules work */
  --purple: #8430ce; --purple-soft: #f3e8fd;

  /* Logo */
  --logo-bg: #fcefdc;      /* warm cream tile */
  --logo-a: #c48c50;       /* gold from the golden-hour photos */
  --logo-b: #e6c49a;       /* the same gold, lighter (like the light-blue lobe of the first logo) */
  --logo-stem: #c48c50;

  /* Shape & motion */
  --r-sm: 8px;
  --r: 12px;
  --r-lg: 16px;
  --r-xl: 28px;
  --e1: 0 1px 2px 0 rgba(60, 64, 67, 0.3), 0 1px 3px 1px rgba(60, 64, 67, 0.15);
  --e2: 0 1px 2px 0 rgba(60, 64, 67, 0.3), 0 2px 6px 2px rgba(60, 64, 67, 0.15);
  --e3: 0 4px 8px 3px rgba(60, 64, 67, 0.15), 0 1px 3px rgba(60, 64, 67, 0.3);
  --ease: cubic-bezier(0.2, 0, 0, 1);
  --focus: 0 0 0 2px #ffffff, 0 0 0 4px var(--brand);

  /* Layout */
  --wide: 72rem;
  --text: 42rem;
  --header-h: 7rem;

  /* Type: clean system sans on every device. No 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;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
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: rgba(255, 255, 255, 0.96);
  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: 1rem; 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); }

.lang-switch { display: flex; gap: 0; list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.lang-switch li + li { border-left: 1px solid var(--line); }
.lang-switch a {
  display: grid; place-items: center; min-width: 3rem; min-height: 2.25rem; padding: 0 0.8rem;
  font-size: 0.85rem; font-weight: 500; letter-spacing: 0.02em; color: var(--ink-2);
}
.lang-switch a:hover { background: var(--surface-2); color: var(--ink); text-decoration: none; }
.lang-switch a[aria-current="page"] { background: var(--brand-soft); color: var(--brand-strong); }

/* Tabs */
.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, rgba(255, 255, 255, 0), #ffffff);
}
.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 {
  position: relative; display: inline-flex; align-items: center; min-height: 3rem; padding: 0 0.8rem;
  white-space: nowrap; font-size: 0.92rem; font-weight: 500; color: var(--ink-soft);
}
.menu a::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 { color: var(--ink); background: var(--bg-alt); text-decoration: none; }
.menu a[aria-current="page"] { color: var(--brand); }
.menu a[aria-current="page"]::after { background: var(--brand); }

.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); }

/* ---------- Buttons, badges ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 3rem; padding: 0 1.5rem; border-radius: 999px;
  font: inherit; font-size: 0.98rem; 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: #ffffff; color: var(--brand); border-color: var(--line); }
.btn-ghost:hover { background: var(--brand-soft); color: var(--brand-strong); border-color: var(--line); }

.badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--yellow-soft); color: var(--yellow);
  font-size: 0.78rem; font-weight: 500; line-height: 1.3;
  padding: 0.3rem 0.75rem; border-radius: 999px;
}
.badge::before { content: ""; width: 0.45rem; height: 0.45rem; border-radius: 50%; background: currentColor; }

.eyebrow { display: inline-flex; align-items: center; gap: 0.6rem; margin: 0 0 1rem; 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.2rem; height: 1.2rem; }

/* Open points: visible and honest, but calm. Editors find them via class="ph". */
.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) ---------- */
.page-hero { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(1.5rem, 3vw, 2.25rem); background: var(--bg); }
.page-hero h1 { font-size: clamp(2.2rem, 4.8vw, 3.5rem); line-height: 1.12; letter-spacing: -0.02em; font-weight: 400; margin: 0 0 1rem; max-width: 22ch; }
.lead { font-size: clamp(1.15rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--ink-soft); max-width: 40rem; margin: 0 0 1.4rem; }
.meta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.25rem; list-style: none; margin: 0; padding: 1.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; }

/* ---------- Page layout ---------- */
.page-layout { padding: 1rem 0 3.5rem; }
.page-layout .content { max-width: var(--text); }
.toc { display: none; }
@media (min-width: 1080px) {
  .page-layout.has-toc { display: grid; grid-template-columns: minmax(0, var(--text)) 15rem; gap: 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: 500; color: var(--ink-soft); margin: 0.2rem 0 0.6rem; }
.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 { margin: 0 0 2.5rem; }
.content h2 { font-size: clamp(1.5rem, 2.4vw, 1.85rem); line-height: 1.25; letter-spacing: -0.01em; font-weight: 400; margin: 0 0 0.85rem; }
.content h3 { font-size: 1.15rem; line-height: 1.35; font-weight: 500; margin: 1.6rem 0 0.6rem; }
.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-radius: var(--r-lg); padding: 1.4rem 1.6rem 1.1rem; }
.content .in-brief h2 { display: flex; align-items: center; gap: 0.55rem; font-family: var(--font); font-size: 0.95rem; font-weight: 500; 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.9rem; margin: 0.6rem 0; color: var(--ink); font-size: 1.06rem; }
.in-brief li::before {
  content: ""; position: absolute; left: 0; top: 0.3em; width: 1.15rem; height: 1.15rem; 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.75rem no-repeat;
}

/* Checklists */
.checklist { list-style: none; padding: 0 !important; }
.checklist li { position: relative; background: #ffffff; border: 1px solid var(--line); border-radius: var(--r); padding: 0.85rem 1rem 0.85rem 3.1rem; margin: 0.5rem 0; }
.checklist li::before { content: ""; position: absolute; left: 1.1rem; top: 1.05rem; width: 1.1rem; height: 1.1rem; border-radius: 3px; border: 2px solid var(--ink-soft); }

/* Glossary */
.glossary { margin: 0; border-top: 1px solid var(--line); }
.glossary dt { font-weight: 500; color: var(--ink); margin: 0; padding-top: 0.9rem; }
.glossary dd { margin: 0.15rem 0 0; color: var(--ink-soft); padding-bottom: 0.9rem; border-bottom: 1px solid var(--line); }

/* Country chips and boxes */
.country-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin: 1rem 0 1.4rem; }
.country-nav-label { font-weight: 500; font-size: 0.9rem; color: var(--ink-soft); margin-right: 0.2rem; }
.country-nav a { display: inline-flex; align-items: center; min-height: 2.25rem; padding: 0 1rem; border: 1px solid var(--line); border-radius: 8px; font-size: 0.9rem; font-weight: 500; color: var(--ink-2); background: #ffffff; }
.country-nav a:hover { background: var(--surface-2); color: var(--ink); text-decoration: none; }

.country { background: #ffffff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.15rem 1.35rem 0.5rem; margin: 0 0 0.9rem; transition: box-shadow 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.6rem; font-size: 1.1rem; 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); }
.country ul { padding-left: 1.1rem; }

/* FAQ */
.qa { border-bottom: 1px solid var(--line); padding-bottom: 1.4rem; }
.content .qa h2 { font-size: 1.3rem; }

/* Sources */
.sources { font-size: 0.92rem; color: var(--ink-soft); background: var(--bg-alt); border-radius: var(--r-lg); padding: 1.2rem 1.4rem 0.6rem; }
.content .sources h2 { font-family: var(--font); font-size: 0.95rem; font-weight: 500; color: var(--ink); }
.sources ol { padding-left: 1.3rem; }
.sources li { margin: 0.35rem 0; }

/* Next steps */
.next-steps h2 { margin-bottom: 1rem !important; }
.next-steps ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
.next-steps li { margin: 0; }
.next-steps a {
  display: flex; align-items: center; gap: 1rem; padding: 0.95rem 1.1rem;
  background: #ffffff; border: 1px solid var(--line); border-radius: var(--r-lg);
  color: var(--ink); font-weight: 500;
  transition: box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}
.next-steps a:hover { box-shadow: var(--e2); border-color: transparent; text-decoration: none; color: var(--ink); }
.next-steps a span { flex: 1; }
.step-icon { width: 2.5rem; height: 2.5rem; padding: 0.6rem; border-radius: 50%; background: var(--brand-soft); color: var(--brand); }
.step-arrow { color: var(--ink-faint); transition: transform 0.2s var(--ease), color 0.2s var(--ease); }
.next-steps a:hover .step-arrow { transform: translateX(3px); color: var(--brand); }

/* 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; }
.care-note p { margin: 0; color: var(--ink-2); }
.care-icon { width: 1.5rem; height: 1.5rem; color: var(--brand); }
.print-btn { grid-column: 1 / -1; justify-self: start; min-height: 2.5rem; font-size: 0.92rem; padding: 0 1.1rem; }
.print-btn:hover .icon { transform: none; }
@media (min-width: 640px) { .care-note { grid-template-columns: auto 1fr auto; } .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-2); }
.trust-icon { width: 1.5rem; height: 1.5rem; color: var(--green); }

/* Vela link */
.vela-link { display: block; padding: 1.1rem 1.25rem; border-radius: var(--r-lg); border: 1px solid var(--line); background: #ffffff; color: var(--ink-soft); transition: box-shadow 0.2s var(--ease), border-color 0.2s var(--ease); }
.vela-link:hover { box-shadow: var(--e2); border-color: transparent; text-decoration: none; color: var(--ink-soft); }
.vela-link strong { display: block; color: var(--brand); font-size: 1.05rem; font-weight: 500; margin-bottom: 0.2rem; }

/* Colour cycle for icon tiles (orientation, not decoration) */
.tone-0 { --tone: var(--brand); --tone-soft: var(--brand-soft); }
.tone-1 { --tone: var(--green); --tone-soft: var(--green-soft); }
.tone-2 { --tone: var(--yellow); --tone-soft: var(--yellow-soft); }
.tone-3 { --tone: var(--teal); --tone-soft: var(--teal-soft); }
.tone-sage { --tone: var(--sage-strong); --tone-soft: var(--sage-soft); }
.tone-clay { --tone: var(--clay-strong); --tone-soft: var(--clay-soft); }
.tone-sky { --tone: var(--sky-strong); --tone-soft: var(--sky-soft); }
.tone-gold { --tone: var(--gold-strong); --tone-soft: var(--gold-soft); }

/* ---------- Home ---------- */
.home-hero { padding: clamp(3rem, 8vw, 6rem) 0 clamp(3rem, 6vw, 5rem); background: var(--bg); }
.home-hero-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 960px) { .home-hero-grid { grid-template-columns: 1.3fr 1fr; } }
.home-hero h1 { font-size: clamp(2.6rem, 6.4vw, 4.5rem); line-height: 1.08; letter-spacing: -0.025em; font-weight: 400; margin: 0 0 1.25rem; max-width: 15ch; }
.home-hero .lead { color: var(--ink-soft); }
.cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.9rem 0 1.6rem; }
.assurances { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; list-style: none; padding: 0; margin: 0 0 1.3rem; color: var(--ink-soft); font-size: 0.93rem; }
.assurances li { display: inline-flex; align-items: center; gap: 0.45rem; }
.assurances .icon { color: var(--green); width: 1.15rem; height: 1.15rem; }
.hero-badge { margin: 0; }

/* Calm "breathing" motif: slow, ambient, still for reduced motion */
.breath { position: relative; width: min(24rem, 80vw); aspect-ratio: 1; margin-inline: auto; display: grid; place-items: center; }
.breath .ring { position: absolute; inset: 0; border-radius: 50%; animation: breathe 10s var(--ease) infinite; }
.breath .r1 { background: #eef6f5; }
.breath .r2 { inset: 14%; background: var(--brand-soft); animation-delay: 0.4s; }
.breath .r3 { inset: 28%; background: #ffffff; box-shadow: var(--e2); animation-delay: 0.8s; }
.breath-logo { position: relative; width: 24%; height: auto; }
.breath-sm { width: 8rem; margin: 0 auto 1.5rem; }
@keyframes breathe { 0%, 100% { transform: scale(0.95); } 40%, 55% { transform: scale(1.03); } }
@media (max-width: 959px) { .home-hero .breath { width: 11rem; margin: 0 auto; } }

.home-section { padding: clamp(3rem, 7vw, 5rem) 0; border-top: 1px solid var(--line-soft); }
.home-section.alt { background: var(--bg-alt); border-top: 0; }
.home-section h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.6rem; font-weight: 400; }
.section-kicker { font-size: 0.85rem; font-weight: 500; color: var(--brand); margin: 0 0 0.5rem; }
.section-lead { color: var(--ink-soft); font-size: 1.1rem; max-width: 38rem; margin: 0 0 2rem; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.steps li { margin: 0; }
.steps a {
  display: flex; flex-direction: column; gap: 0.35rem; height: 100%; padding: 1.35rem 1.25rem;
  border-radius: var(--r-lg); background: #ffffff; border: 1px solid var(--line); color: var(--ink-2);
  transition: box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}
.steps a:hover { box-shadow: var(--e2); border-color: transparent; text-decoration: none; color: var(--ink-2); }
.step-num { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; margin-bottom: 0.6rem; border-radius: 50%; background: var(--brand); color: #ffffff; font-weight: 500; }
.steps strong { font-family: var(--font-display); font-weight: 500; font-size: 1.08rem; line-height: 1.3; color: var(--ink); }
.steps a > span:last-child { color: var(--ink-soft); font-size: 0.93rem; line-height: 1.5; }

.card-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr)); margin-top: 1.8rem; }
.card {
  position: relative; display: flex; flex-direction: column; gap: 0.3rem; padding: 1.4rem 1.35rem;
  border-radius: var(--r-lg); background: #ffffff; 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: transparent; text-decoration: none; color: var(--ink-2); }
.card-icon { display: grid; place-items: center; width: 3rem; height: 3rem; margin-bottom: 0.7rem; border-radius: 50%; background: var(--brand-soft); color: var(--brand); }
.card:nth-child(4n+2) .card-icon { background: var(--green-soft); color: var(--green); }
.card:nth-child(4n+3) .card-icon { background: var(--yellow-soft); color: var(--yellow); }
.card:nth-child(4n+4) .card-icon { background: var(--teal-soft); color: var(--teal); }
.card-icon .icon { width: 1.45rem; height: 1.45rem; }
.card strong { font-family: var(--font-display); font-size: 1.2rem; font-weight: 500; line-height: 1.3; color: var(--ink); padding-right: 1.5rem; }
.card .blurb { color: var(--ink-soft); font-size: 0.93rem; line-height: 1.5; }
.card-arrow { position: absolute; top: 1.6rem; right: 1.35rem; 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(18rem, 1fr)); }
.country-card { padding: 1.2rem 1.25rem 1.15rem; border-radius: var(--r-lg); background: #ffffff; border: 1px solid var(--line); }
.country-card h3 { display: flex; align-items: center; gap: 0.5rem; margin: 0 0 0.85rem; font-size: 1.12rem; font-weight: 500; }
.country-card h3 .icon { color: var(--brand); }
.country-card p { display: flex; flex-wrap: wrap; gap: 0.4rem; 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(--ink-2); font-size: 0.86rem; font-weight: 500; }
.country-card a:hover { background: var(--brand-soft); border-color: var(--brand-line); color: var(--brand-strong); text-decoration: none; }

.home-end { max-width: var(--text); padding: 2.5rem 0 3rem; }
.home-end > * { margin-bottom: 1.5rem; }

/* ---------- Language chooser ---------- */
.chooser { min-height: calc(100vh - 9rem); 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.9rem, 4vw, 2.6rem); font-weight: 400; letter-spacing: -0.02em; line-height: 1.2; margin: 0 0 0.6rem; }
.chooser .lead { margin-inline: auto; }
.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: #ffffff; 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: transparent; text-decoration: none; color: var(--ink-2); }
.lang-card strong { display: block; font-family: var(--font-display); font-size: 1.15rem; font-weight: 500; color: var(--ink); }
.lang-card span { color: var(--ink-soft); font-size: 0.93rem; }
.lang-card .card-arrow { top: 50%; margin-top: -0.6em; }
.muted { color: var(--ink-soft); font-size: 0.9rem; }

/* ---------- 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: 500; 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: 500; 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; }
.vela-credit { color: var(--ink-2); }
.site-footer-slim { padding-top: 0.5rem; }
.site-footer-slim .footer-bottom { margin-top: 0; border-top: 0; text-align: center; }

/* ---------- Tables ---------- */
.table-wrap { margin: 1rem 0 1.2rem; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: #ffffff; }
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: 500; 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: 400; color: var(--ink); }
table.data tbody tr:hover { background: #fafbfc; }
.ok { display: inline-flex; align-items: flex-start; gap: 0.35rem; color: var(--ink); }
.ok .icon { color: var(--green); width: 1.05rem; height: 1.05rem; margin-top: 0.2em; }
.cell-note { display: block; font-size: 0.83rem; color: var(--ink-soft); margin-top: 0.25rem; }
.overview tbody th a { font-weight: 500; color: var(--ink); }
.overview tbody th a:hover { color: var(--brand); }

/* ---------- Journey: the path after diagnosis ---------- */
.journey { list-style: none; padding: 0 !important; margin: 1.2rem 0 0.6rem; display: grid; }
.journey li { position: relative; display: grid; grid-template-columns: 2.5rem 1fr; gap: 1rem; padding: 0 0 1.4rem; margin: 0; }
.journey li::before { content: ""; position: absolute; left: 1.25rem; top: 2.5rem; bottom: 0; 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.5rem; height: 2.5rem; border-radius: 50%; background: var(--brand); color: #ffffff; font-weight: 500; }
.j-body strong { display: block; font-family: var(--font-display); font-weight: 500; font-size: 1.08rem; color: var(--ink); margin: 0.35rem 0 0.2rem; }
.j-body p { margin: 0 0 0.5rem; font-size: 0.97rem; }
.j-body .j-ask { display: inline-block; margin: 0; background: var(--brand-soft); color: var(--brand-strong); border-radius: 8px; padding: 0.35rem 0.7rem; font-size: 0.9rem; line-height: 1.45; }
.j-ask span { font-weight: 500; }
.journey-note { margin-top: 0; }
@media (min-width: 1000px) {
  .home-section .journey { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem; }
  .home-section .journey li { grid-template-columns: 1fr; grid-template-rows: auto 1fr; gap: 0.6rem; padding: 0; }
  .home-section .journey li::before { left: 2.75rem; right: -1rem; top: 1.25rem; bottom: auto; width: auto; height: 2px; margin: -1px 0 0; }
  .home-section .journey .j-body { background: #ffffff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 0.9rem 1rem 1rem; height: 100%; }
  .home-section .journey .j-body strong { margin-top: 0; }
}

/* ---------- Example report with numbered marks ---------- */
.report-example { margin: 1.2rem 0 1.4rem; display: grid; gap: 1.4rem; }
@media (min-width: 900px) { .report-example { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: start; } }
.report { background: #ffffff; border: 1px solid var(--line); border-radius: 6px; box-shadow: var(--e2); padding: 1.2rem 1.3rem 0.9rem; }
.r-stamp { display: inline-block; margin: 0 0 0.7rem; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--yellow); background: var(--yellow-soft); border-radius: 4px; padding: 0.2rem 0.5rem; }
.r-title { margin: 0 0 0.6rem; padding-bottom: 0.6rem; border-bottom: 2px solid var(--ink); font-weight: 500; color: var(--ink); font-size: 1rem; }
.report dl { margin: 0; }
.r-row { display: grid; grid-template-columns: 7rem 1fr; gap: 0.75rem; padding: 0.55rem 0; border-bottom: 1px dashed var(--line); }
.r-row:last-child { border-bottom: 0; }
.r-row dt { color: var(--ink-soft); font-family: ui-monospace, "Cascadia Mono", Consolas, Menlo, monospace; font-size: 0.8rem; padding-top: 0.1rem; }
.r-row dd { margin: 0; display: flex; justify-content: space-between; align-items: flex-start; gap: 0.6rem; color: var(--ink); font-family: ui-monospace, "Cascadia Mono", Consolas, Menlo, monospace; font-size: 0.82rem; line-height: 1.45; }
.r-row.hl { background: #fef7e0; margin: 0 -0.6rem; padding: 0.55rem 0.6rem; border-radius: 4px; box-shadow: inset 3px 0 0 #f9ab00; }
.r-mark, .r-legend li::before { flex: none; display: grid; place-items: center; width: 1.4rem; height: 1.4rem; border-radius: 50%; background: var(--brand); color: #ffffff; font-family: var(--font); font-size: 0.74rem; font-weight: 500; }
.r-legend { counter-reset: r; list-style: none; padding: 0 !important; margin: 0 0 0.6rem; }
.r-legend li { counter-increment: r; position: relative; padding-left: 2.1rem; margin: 0 0 0.7rem; font-size: 0.95rem; line-height: 1.5; }
.r-legend li::before { content: counter(r); position: absolute; left: 0; top: 0.1em; }

/* ---------- KRAS switch diagram ---------- */
.kras-diagram { margin: 1.4rem 0 1.4rem; }
.kd-panels { display: grid; gap: 1rem; }
@media (min-width: 640px) { .kd-panels { grid-template-columns: 1fr 1fr; } }
.kd-panel { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.1rem 1.2rem 0.6rem; background: #ffffff; }
.kd-normal { border-top: 4px solid var(--brand); }
.kd-g12c { border-top: 4px solid #f9ab00; background: #fffdf5; }
.kd-panel svg { display: block; width: 100%; max-width: 15rem; height: auto; margin: 0.4rem auto 0.2rem; }
.content .kd-title { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: 1.05rem; color: var(--ink); }
.content .kd-tag { display: table; margin: 0 auto 0.7rem; padding: 0.15rem 0.7rem; border-radius: 999px; font-size: 0.82rem; font-weight: 500; }
.kd-normal .kd-tag { background: var(--brand-soft); color: var(--brand-strong); }
.kd-g12c .kd-tag { background: var(--yellow-soft); color: var(--yellow); }
.kd-panel p:last-child { font-size: 0.95rem; }
.kras-diagram figcaption { margin-top: 0.8rem; font-size: 0.92rem; color: var(--ink-soft); }

/* ---------- Folded details ---------- */
details.more { margin: 0.4rem 0 1.2rem; border: 1px solid var(--line); border-radius: var(--r-lg); background: #ffffff; }
details.more > summary, details.qa > summary { list-style: none; cursor: pointer; }
details.more > summary::-webkit-details-marker, details.qa > summary::-webkit-details-marker { display: none; }
details.more > summary { display: flex; align-items: center; gap: 0.6rem; padding: 0.85rem 1.1rem; font-weight: 500; color: var(--brand); border-radius: var(--r-lg); }
details.more > summary:hover { background: var(--bg-alt); }
.more-chev, .qa-chev { flex: none; transition: transform 0.2s var(--ease); }
details[open] > summary .more-chev, details[open] > summary .qa-chev { transform: rotate(180deg); }
.more-body { padding: 0.2rem 1.2rem 0.6rem; border-top: 1px solid var(--line-soft); }
.more-block .more-body > section { margin: 1.2rem 0 0.4rem; }
.more-block .more-body h2 { font-size: 1.25rem !important; }

/* ---------- FAQ accordion ---------- */
.qa-tools { display: flex; justify-content: flex-end; margin: 0 0 0.6rem; }
.btn-sm { min-height: 2.4rem; padding: 0 1rem; font-size: 0.9rem; }
.qa-list { border-top: 1px solid var(--line); }
details.qa { border-bottom: 1px solid var(--line); }
details.qa > summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 0.25rem; border-radius: 8px; }
details.qa > summary:hover .qa-q { color: var(--brand); }
.qa-q { font-family: var(--font-display); font-size: 1.15rem; line-height: 1.35; color: var(--ink); }
.qa-chev { color: var(--ink-soft); width: 1.4rem; height: 1.4rem; }
.qa-a { padding: 0 0.25rem 0.9rem; }
.qa-a p { margin: 0 0 0.8rem; }

/* ---------- Map of the Western Balkans ---------- */
.bmap { margin: 1.2rem 0 1.6rem; }
.content .bmap-hint { margin: 0 0 0.6rem; font-size: 0.9rem; color: var(--ink-soft); }
.bmap-stage { position: relative; width: 100%; border-radius: var(--r-lg); box-shadow: 0 0 0 1px var(--line); }
.bmap-svg { display: block; width: 100%; height: 100%; border-radius: var(--r-lg); }
.bmap-sea { fill: #eaf1fb; }
.bmap-nb { fill: #f1f3f4; stroke: #ffffff; stroke-width: 1.2; stroke-linejoin: round; }
.bmap-c { fill: #ffffff; stroke: #9aa0a6; stroke-width: 1.1; stroke-linejoin: round; transition: fill 0.2s var(--ease); }
.bmap-svg a { cursor: pointer; }
.bmap-svg a:hover .bmap-c { fill: var(--brand-soft); }
.bmap-svg a:focus { box-shadow: none; outline: none; }
.bmap-svg a:focus-visible .bmap-c { fill: var(--brand-soft); stroke: var(--brand); stroke-width: 2.5; }

.bmap-country, .bmap-nb-label, .bmap-sea-label, .bmap-city { position: absolute; pointer-events: none; white-space: nowrap; line-height: 1.2; }
.bmap-country, .bmap-nb-label, .bmap-sea-label { transform: translate(-50%, -50%); }
.bmap-country { font-size: 0.7rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: #80868b; }
.bmap-nb-label { font-size: 0.68rem; letter-spacing: 0.06em; color: #a8adb2; }
.bmap-sea-label { font-size: 0.74rem; font-style: italic; letter-spacing: 0.18em; color: #8ab4f8; }
.bmap-city { display: flex; align-items: center; gap: 4px; font-size: 0.78rem; font-weight: 500; color: var(--ink-2);
  text-shadow: 0 0 2px #ffffff, 0 0 2px #ffffff, 0 0 3px #ffffff, 0 0 4px #ffffff; }
.bmap-city i { flex: none; width: 6px; height: 6px; border-radius: 50%; background: #5f6368; box-shadow: 0 0 0 1.5px #ffffff; visibility: hidden; }
.bmap-city.has-dot i { visibility: visible; }
.bmap-city.side-r { transform: translate(-3px, -50%); }
.bmap-city.side-r:not(.has-dot) span { padding-left: 8px; }
.bmap-city.side-b { flex-direction: column; gap: 0; transform: translate(-50%, 11px); }
.bmap-city.side-b i { display: none; }

.bmap-pin-wrap { position: absolute; z-index: 2; transform: translate(-50%, -50%); }
.bmap-pin-wrap:hover, .bmap-pin-wrap.is-open, .bmap-pin-wrap:focus-within { z-index: 6; }
.bmap-pin {
  position: relative; display: block; width: 16px; height: 16px; padding: 0; cursor: pointer;
  border-radius: 50%; background: var(--brand); border: 2.5px solid #ffffff;
  box-shadow: 0 1px 3px rgba(60, 64, 67, 0.45); transition: transform 0.15s var(--ease), background 0.15s var(--ease);
}
.bmap-pin::before { content: ""; position: absolute; inset: -10px; border-radius: 50%; }
.bmap-pin::after { content: ""; position: absolute; inset: -7px; border-radius: 50%; background: rgba(31, 111, 107, 0.16); z-index: -1; }
.bmap-pin:hover, .bmap-pin-wrap.is-open .bmap-pin { transform: scale(1.25); background: var(--brand-strong); }
.bmap-pin:focus-visible { box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px var(--brand); border-radius: 50%; }

.bmap-pop {
  position: absolute; width: 15.5rem; z-index: 10;
  background: #ffffff; border-radius: 12px; box-shadow: var(--e3);
  padding: 0.8rem 0.95rem 0.8rem; font-size: 0.88rem; line-height: 1.4; color: var(--ink-2);
  opacity: 0; visibility: hidden; transform: translateY(4px);
  transition: opacity 0.15s var(--ease), transform 0.15s var(--ease), visibility 0.15s;
}
.bmap-pop::before { content: ""; position: absolute; left: 0; right: 0; height: 14px; }
.va .bmap-pop { bottom: calc(100% + 12px); }
.va .bmap-pop::before { bottom: -14px; }
.vb .bmap-pop { top: calc(100% + 12px); transform: translateY(-4px); }
.vb .bmap-pop::before { top: -14px; }
.ac .bmap-pop { left: 50%; margin-left: -7.75rem; }
.al .bmap-pop { left: -14px; }
.ar .bmap-pop { right: -14px; }
.bmap-pin-wrap:hover .bmap-pop, .bmap-pin-wrap.is-open .bmap-pop, .bmap-pin-wrap:focus-within .bmap-pop { opacity: 1; visibility: visible; transform: none; }
.bmap-pop strong { display: block; font-size: 0.95rem; font-weight: 500; color: var(--ink); line-height: 1.35; }
.bmap-pop-place { display: flex; align-items: center; gap: 0.3rem; margin: 0.3rem 0 0.7rem; font-size: 0.82rem; color: var(--ink-soft); }
.bmap-pop-place .icon { width: 1rem; height: 1rem; color: var(--brand); }
.bmap-pop-links { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.bmap-pop-links a {
  display: inline-flex; align-items: center; gap: 0.3rem; min-height: 2rem; padding: 0 0.75rem;
  border-radius: 999px; border: 1px solid var(--line); font-size: 0.82rem; font-weight: 500; color: var(--brand); text-decoration: none;
}
.bmap-pop-links a:first-child { background: var(--brand); border-color: var(--brand); color: #ffffff; }
.bmap-pop-links a:first-child:hover { background: var(--brand-hover); color: #ffffff; }
.bmap-pop-links a:hover { background: var(--brand-soft); text-decoration: none; }
.bmap-pop-links a .icon { width: 0.95rem; height: 0.95rem; }
.bmap-pop-note { font-size: 0.8rem; color: var(--ink-soft); width: 100%; }

.bmap figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 1.2rem; margin-top: 0.75rem; font-size: 0.85rem; color: var(--ink-soft); }
.bmap-key { display: inline-flex; align-items: center; gap: 0.45rem; }
.key-centre { width: 12px; height: 12px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 2px #ffffff, 0 0 0 5px rgba(31, 111, 107, 0.16); }
.key-city { width: 6px; height: 6px; border-radius: 50%; background: #5f6368; }
.bmap-note { flex-basis: 100%; font-size: 0.8rem; color: var(--ink-faint); }

@media (max-width: 600px) {
  .bmap-city.minor, .bmap-nb-label { display: none; }
  .bmap-city { font-size: 0.7rem; }
  .bmap-country { font-size: 0.6rem; letter-spacing: 0.08em; }
  .bmap-sea-label { font-size: 0.62rem; letter-spacing: 0.1em; }
  .bmap-pin { width: 14px; height: 14px; border-width: 2px; }
  .bmap-pop { width: 13.5rem; }
  .ac .bmap-pop { margin-left: -6.75rem; }
}
@media print { .bmap-pop, .bmap-hint { display: none !important; } }

/* ---------- Community page: warmer ---------- */
.page-gemeinschaft .page-hero { background: linear-gradient(180deg, #fff6ec 0%, #fffaf5 60%, #ffffff 100%); }
.page-gemeinschaft .eyebrow-icon { background: #fde2c8; color: #b0541a; }
.page-gemeinschaft .in-brief { background: #fff6ec; }
.page-gemeinschaft .content .in-brief h2 { color: #8a4a12; }
.page-gemeinschaft .in-brief li::before { background-color: #e8710a; }

.comm-intro { display: grid; gap: 1rem 1.6rem; align-items: center; }
@media (min-width: 640px) { .comm-intro { grid-template-columns: 13rem 1fr; } }
.comm-art { width: 100%; max-width: 13rem; height: auto; margin: 0 auto; display: block; }

.org-list { display: grid; gap: 1rem; margin-top: 0.4rem; }
.org { background: #ffffff; border: 1px solid var(--line); border-radius: 20px; padding: 1.25rem 1.35rem 1rem; transition: box-shadow 0.2s var(--ease); }
.org:hover { box-shadow: var(--e1); }
.org:target { border-color: #e8710a; box-shadow: 0 0 0 3px #fde2c8; }
.org-head { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 0.7rem; }
.org-mono { flex: none; width: 3.4rem; height: 3.4rem; border-radius: 50%; }
.org-logo { flex: none; width: 4rem; height: 4rem; padding: 0.35rem; object-fit: contain; border-radius: 18px; background: #ffffff; border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(60, 64, 67, 0.08); }
.org-mono { display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; letter-spacing: 0.02em; background: var(--tone-soft, var(--brand-soft)); color: var(--tone, var(--brand)); }
.org-mono .icon { width: 1.5rem; height: 1.5rem; }
.tone-empty { --tone: #80868b; --tone-soft: #f1f3f4; }
.tone-warm { --tone: #b0541a; --tone-soft: #fde2c8; }
.content .org-country { margin: 0; font-size: 0.78rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); }
.content .org h3 { margin: 0.1rem 0 0.15rem; font-size: 1.15rem; line-height: 1.3; font-weight: 500; }
.content .org-city { display: flex; align-items: center; gap: 0.3rem; margin: 0; font-size: 0.88rem; color: var(--ink-soft); }
.org-city .icon { width: 1rem; height: 1rem; color: #e8710a; }
.content .org-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0 0 0.8rem; }
.org-tag { display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.2rem 0.65rem; border-radius: 999px; font-size: 0.8rem; font-weight: 500; background: var(--tone-soft); color: var(--tone); }
.org-tag .icon { width: 0.95rem; height: 0.95rem; }
.content .org-sub { margin: 0.2rem 0 0.4rem; font-size: 0.85rem; font-weight: 500; color: var(--ink); }
.content .org-offers { list-style: none; padding: 0; margin: 0 0 0.9rem; display: grid; gap: 0.35rem; }
.org-offers li { display: flex; gap: 0.5rem; margin: 0; font-size: 0.97rem; }
.org-offers .icon { flex: none; color: var(--green); width: 1.1rem; height: 1.1rem; margin-top: 0.25em; }
.content .org-contact { list-style: none; padding: 0; margin: 0 0 0.9rem; display: grid; gap: 0.45rem; }
.org-contact li { margin: 0; }
.org-c { display: flex; align-items: center; gap: 0.75rem; padding: 0.6rem 0.8rem; border-radius: 12px; background: var(--bg-alt); color: var(--ink-2); text-decoration: none; }
a.org-c { color: var(--ink); }
a.org-c:hover { background: #fff1e3; text-decoration: none; color: var(--ink); }
.org-c > .icon { flex: none; width: 2.2rem; height: 2.2rem; padding: 0.5rem; border-radius: 50%; background: #ffffff; color: #e8710a; box-shadow: 0 0 0 1px var(--line-soft); }
.org-c strong { display: block; font-weight: 500; overflow-wrap: anywhere; }
.org-c-note { display: block; font-size: 0.82rem; color: var(--ink-soft); }
.content .org-webnote { font-size: 0.93rem; color: var(--ink-soft); }
.content .org-links { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 0.8rem; }
.content .org-checked { margin: 0; padding-top: 0.6rem; border-top: 1px solid var(--line-soft); font-size: 0.8rem; color: var(--ink-faint); }
.org-empty { background: #fcfcfc; border-style: dashed; }

.comm-first { background: #fff6ec; border-radius: 20px; padding: 1.4rem 1.5rem 0.6rem; }
.comm-say { margin: 0.4rem 0 1.1rem; padding: 1rem 1.2rem; border-radius: 16px; background: #ffffff; font-family: var(--font-display); font-size: 1.15rem; line-height: 1.45; color: var(--ink); box-shadow: inset 4px 0 0 #e8710a; }
.comm-first .checklist li { border-color: #f6dcc3; }
.comm-family h2 { display: flex; align-items: center; gap: 0.5rem; }
.comm-family h2 .icon { color: #e8710a; }
.org-europe { background: var(--bg-alt); }

/* ---------- Hospital details (centres page) ---------- */
.bmap-pop { width: 18.5rem; }
.ac .bmap-pop { margin-left: -9.25rem; }
.bmap-pop-head { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 0.55rem; }
.bmap-pop-head img { flex: none; width: 2.6rem; height: 2.6rem; padding: 0.2rem; object-fit: contain; border-radius: 12px; border: 1px solid var(--line); background: #ffffff; }
.bmap-pop-head .bmap-pop-place { margin: 0.15rem 0 0; }
.bmap-pop-row { display: flex; align-items: flex-start; gap: 0.5rem; margin: 0 0 0.45rem; font-size: 0.82rem; color: var(--ink-soft); line-height: 1.35; }
.bmap-pop-row b { display: block; font-weight: 500; color: var(--ink-2); }
.bmap-pop-row .icon { flex: none; width: 1rem; height: 1rem; margin-top: 0.1rem; color: var(--brand); }
a.bmap-pop-tel { padding: 0.45rem 0.6rem; border-radius: 10px; background: var(--bg-alt); text-decoration: none; margin-bottom: 0.7rem; }
a.bmap-pop-tel:hover { background: var(--brand-soft); text-decoration: none; }
a.bmap-pop-tel b { color: var(--ink); }

.hosp-country { margin: 1.6rem 0 0.4rem; }
.content .hosp-country-h { display: flex; align-items: center; gap: 0.5rem; font-size: 1.25rem; font-weight: 400; margin: 0 0 0.7rem; }
.content .hosp-country-h::before { content: ""; width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--brand); }
.hosp-country:target .hosp-country-h { color: var(--brand); }
.hosp:target { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-line); }
.content .hosp-director { margin: 0 0 0.7rem; font-size: 0.88rem; color: var(--ink-soft); }
.content .hosp-depts { list-style: none; padding: 0; margin: 0 0 0.9rem; display: grid; gap: 0.5rem; }
.hosp-depts li { margin: 0; padding: 0.7rem 0.85rem; border-radius: 12px; border: 1px solid var(--line-soft); background: #fbfcfe; }
.hosp-depts strong { display: block; font-weight: 500; color: var(--ink); line-height: 1.35; }
.hd-head { display: flex; align-items: center; gap: 0.35rem; margin-top: 0.3rem; font-size: 0.9rem; color: var(--ink-2); }
.hd-head .icon { width: 1rem; height: 1rem; color: var(--brand); }
a.hd-tel { display: inline-flex; align-items: center; gap: 0.35rem; margin-top: 0.35rem; font-weight: 500; font-size: 0.92rem; text-decoration: none; }
a.hd-tel .icon { width: 1rem; height: 1rem; }
.hosp-depts .org-c-note { display: inline; margin-left: 0.3rem; }
.content .hosp-extra { display: flex; gap: 0.5rem; margin: 0 0 0.9rem; padding: 0.7rem 0.85rem; border-radius: 12px; background: var(--brand-soft); font-size: 0.93rem; color: var(--ink-2); }
.hosp-extra .icon { flex: none; width: 1.1rem; height: 1.1rem; margin-top: 0.2rem; color: var(--brand); }
.hosp-booking { margin: 0 0 0.9rem; padding: 0.75rem 0.9rem; border-radius: 12px; background: #fff8e1; }
.content .hosp-booking p { margin: 0; font-size: 0.93rem; }
.content .hosp-booking .org-sub { margin-bottom: 0.25rem; color: #8a5a00; }
/* Phones: the info card becomes a sheet at the bottom of the screen, always fully visible. */
@media (max-width: 600px) {
  .bmap-pin-wrap { transform: none; margin: -7px 0 0 -7px; }
  .bmap-pop, .ac .bmap-pop, .al .bmap-pop, .ar .bmap-pop, .va .bmap-pop, .vb .bmap-pop {
    position: fixed; left: 0.75rem; right: 0.75rem; top: auto; bottom: 0.75rem;
    width: auto; margin: 0; z-index: 50; transform: translateY(12px);
    padding: 1rem 1.1rem; border-radius: 18px;
  }
  .bmap-pop::before { display: none; }
  .bmap-pin-wrap:hover .bmap-pop { opacity: 0; visibility: hidden; }
  .bmap-pin-wrap.is-open .bmap-pop, .bmap-pin-wrap:focus-within .bmap-pop { opacity: 1; visibility: visible; transform: none; }
}

/* ---------- Living with it: warm, patient at the centre ---------- */
.page-leben .page-hero { background: linear-gradient(180deg, #fff6ec 0%, #fffaf5 60%, #ffffff 100%); }
.page-leben .eyebrow-icon { background: #fde2c8; color: #b0541a; }
.page-leben .in-brief { background: #fff6ec; }
.page-leben .content .in-brief h2 { color: #8a4a12; }
.page-leben .in-brief li::before { background-color: #e8710a; }

/* Life wheel: no values, just the areas around the person */
.lw { margin: 1.2rem 0 0.4rem; }
/* Ring geometry: --r = distance of the areas from the centre, as a share of the stage width */
.lw-stage { --r: 34%; --dot: 3.4rem; position: relative; width: min(100%, 30rem); 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: radial-gradient(circle, #fdf3e4 0%, #fcf0de 60%, #fbecd6 100%);
  border: 1.5px solid #ead5b4;
}
.lw-centre {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 31%; aspect-ratio: 1; border-radius: 50%; display: grid; place-content: center; justify-items: center; text-align: center;
  background: #ffffff; box-shadow: 0 10px 28px -14px rgba(160, 110, 50, 0.45), 0 0 0 6px rgba(255, 255, 255, 0.55);
}
.lw-centre-icon { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: #c48c50; color: #ffffff; margin-bottom: 0.3rem; }
.lw-centre-icon .icon { width: 1.35rem; height: 1.35rem; }
.lw-centre strong { font-family: var(--font-display); font-size: 1.3rem; font-weight: 500; line-height: 1.1; color: var(--ink); }
.lw-centre span:last-child { font-size: 0.76rem; color: var(--ink-soft); }
/* Each area: a zero-size anchor exactly on the ring; dot centred on it, label pushed outward */
.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: #ffffff; color: var(--brand); border: 1px solid #ead9bf;
  box-shadow: 0 6px 16px -10px rgba(160, 110, 50, 0.55);
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.lw-dot .icon { width: 1.5rem; height: 1.5rem; }
.lw-label {
  position: absolute; width: max-content; max-width: 8.5rem;
  font-size: 0.95rem; 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; color: var(--ink); }
.lw-node:hover .lw-dot, .lw-node:focus-visible .lw-dot { transform: translate(-50%, -50%) scale(1.08); 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; }
/* Phones: not enough room beside the ring, so every label sits under its dot */
@media (max-width: 640px) {
  .lw-stage { --r: 37%; --dot: 2.7rem; }
  .lw-dot .icon { width: 1.25rem; height: 1.25rem; }
  .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: 29%; }
  .lw-centre-icon { width: 1.9rem; height: 1.9rem; margin-bottom: 0.15rem; }
  .lw-centre-icon .icon { width: 1.05rem; height: 1.05rem; }
  .lw-centre strong { font-size: 1rem; }
  .lw-centre span:last-child { font-size: 0.64rem; }
}
.content .lw-hint { text-align: center; font-size: 0.85rem; color: var(--ink-soft); margin: 0.6rem 0 0; }

/* One block per area, in the same colour as its node */
.topic { padding: 1.2rem 1.3rem 0.5rem; border-radius: 20px; background: #ffffff; border: 1px solid var(--line); }
.topic-head { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.7rem; }
.content .topic-head h2 { margin: 0; font-size: 1.35rem; }
.tip-icon { flex: none; display: grid; place-items: center; width: 2.8rem; height: 2.8rem; border-radius: 50%; background: var(--tone-soft); color: var(--tone); }
.tip-icon .icon { width: 1.4rem; height: 1.4rem; }
.topic:target { border-color: var(--tone); box-shadow: 0 0 0 3px var(--tone-soft); }
.help-callout { display: flex; gap: 0.8rem; align-items: flex-start; margin: 0 0 1rem; padding: 1rem 1.1rem; border-radius: 16px; background: #fce8e6; color: var(--ink); }
.help-callout p { margin: 0; }
.help-icon { flex: none; width: 1.5rem; height: 1.5rem; color: #c5221f; margin-top: 0.1rem; }
.content .diary-tip { display: flex; gap: 0.6rem; align-items: flex-start; padding: 0.8rem 1rem; border-radius: 14px; background: var(--brand-soft); }
.diary-tip .icon { flex: none; color: var(--brand); margin-top: 0.15rem; }
.family-card { display: grid; gap: 1rem 1.4rem; align-items: center; padding: 0.2rem 0 0.4rem; }
@media (min-width: 640px) { .family-card { grid-template-columns: 9.5rem 1fr; } }
.family-card .comm-art { max-width: 9.5rem; }

@media (max-width: 600px) {
  .topic { padding: 1rem 1rem 0.4rem; }
}

/* ---------- Full-width hero photos (docs/bildsprache.md) ---------- */
.page-hero.has-photo, .home-hero.has-photo { position: relative; overflow: hidden; background: #fffbf6; border-bottom: 0; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 60% var(--fy, 45%); }
.hero-media::after { content: ""; position: absolute; inset: 0; }
/* The photo itself fades out (mask), so its edge can never show as a line against the background */
.hero-media img {
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.1) 30%, rgba(0, 0, 0, 0.45) 50%, #000 70%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.1) 30%, rgba(0, 0, 0, 0.45) 50%, #000 70%);
}
.page-hero.has-photo .wrap, .home-hero.has-photo .wrap { position: relative; }
.page-hero.has-photo { padding: clamp(4rem, 9vw, 7rem) 0 clamp(3rem, 7vw, 5.5rem); min-height: clamp(30rem, 30vw, 42rem); display: flex; align-items: center; }
.page-hero.has-photo .wrap { width: min(var(--wide), calc(100% - 3rem)); }
.page-hero.has-photo .hero-text { max-width: 36rem; }
.page-hero.has-photo .meta-row { border-top-color: rgba(32, 33, 36, 0.12); }
.home-hero.has-photo { min-height: min(46rem, 88vh); display: flex; align-items: center; }
.home-hero.has-photo .home-hero-grid { grid-template-columns: 1fr; }
.home-hero.has-photo .home-hero-text { max-width: 38rem; }
/* The picture never gets wider than about twice its height, so faces are not cut on wide screens */
.hero-media.split { left: max(40%, calc(100% - 80rem)); }
.home-hero.has-photo .hero-media { left: auto; right: 0; width: min(100%, 96rem); }
.hero-media.split img { object-position: 50% var(--fy, 40%); }
/* long, eased fade so the photo melts into the warm background */
.hero-media.split img { -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.06) 8%, rgba(0, 0, 0, 0.2) 17%, rgba(0, 0, 0, 0.42) 27%, rgba(0, 0, 0, 0.66) 37%, rgba(0, 0, 0, 0.85) 47%, rgba(0, 0, 0, 0.96) 56%, #000 64%); mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.06) 8%, rgba(0, 0, 0, 0.2) 17%, rgba(0, 0, 0, 0.42) 27%, rgba(0, 0, 0, 0.66) 37%, rgba(0, 0, 0, 0.85) 47%, rgba(0, 0, 0, 0.96) 56%, #000 64%); }
.hero-media.split.tall { left: max(56%, calc(100% - 36rem)); }
.page-hero.has-photo:has(.hero-media.tall) { min-height: 38rem; }
.photo-note { margin: 0.5rem 0 0; text-align: right; font-size: 0.74rem; color: var(--ink-faint); }

/* Phones and small tablets: picture as a wide band on top, text below on the warm background */
@media (max-width: 760px) {
  .page-hero.has-photo, .home-hero.has-photo { display: block; min-height: 0; padding: 0 0 2rem; }
  .hero-media, .hero-media.split { position: relative; left: 0; height: 15rem; }
  .hero-media.split { height: 19rem; }
  .hero-media.split.tall { left: 0; height: 28rem; }
  .home-hero.has-photo .hero-media { height: 17rem; }
  .hero-media img, .hero-media.split img { -webkit-mask-image: none; mask-image: none; }
  .hero-media::after, .hero-media.split::after { background: linear-gradient(180deg, rgba(255, 251, 246, 0) 40%, rgba(255, 251, 246, 0.2) 58%, rgba(255, 251, 246, 0.55) 75%, rgba(255, 251, 246, 0.85) 89%, rgba(255, 251, 246, 1) 100%); }
  .page-hero.has-photo .wrap, .home-hero.has-photo .wrap { margin-top: -0.5rem; }
  .photo-note { text-align: left; }
}

/* ---------- Small screens ---------- */
@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: 0.98rem; white-space: normal; line-height: 1.2; }
  .lang-switch a { min-width: 2.5rem; padding: 0 0.55rem; }
  .menu a { min-height: 2.75rem; }
  .in-brief { padding: 1.2rem 1.15rem 0.9rem; }
  .cta .btn { flex: 1 1 100%; }
  /* Tables become one card per row */
  .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: #ffffff; 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: 500; 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; }
  table.data tbody tr:hover { background: #ffffff; }
  .r-row { grid-template-columns: 5.6rem 1fr; }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Print: a clean sheet to take to the doctor ---------- */
@media print {
  .site-header, .site-footer, .skip, .toc, .next-steps, .print-btn, .country-nav, .breath, .cta, .progress { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; line-height: 1.5; }
  .page-hero, .home-hero { padding: 0 0 1rem; }
  .page-hero h1 { font-size: 20pt; }
  .page-layout { padding: 0; display: block; }
  .content { max-width: none; }
  .in-brief, .care-note, .country, .checklist li, .sources { box-shadow: none; background: #fff; border: 1px solid #999; break-inside: avoid; }
  a { color: #000; }
}

/* ---------- Home: "Start here" as cards, "The path" as a short flow ---------- */
.step-grid { margin-top: 1.4rem; }
@media (min-width: 1000px) { .step-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.step-card .step-icon { background: var(--brand); color: #ffffff; font-family: var(--font-display); font-size: 1.15rem; font-weight: 500; }
.step-card strong { font-size: 1.1rem; }

.journey-flow { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); counter-reset: none; }
.journey-flow li { position: relative; margin: 0; display: flex; flex-direction: column; gap: 0.25rem; }
.jf-num { position: relative; z-index: 1; display: grid; place-items: center; width: 2.5rem; height: 2.5rem; margin-bottom: 0.55rem; border-radius: 50%; background: #ffffff; border: 2px solid var(--brand); color: var(--brand); font-weight: 500; }
.journey-flow strong { font-family: var(--font-display); font-weight: 500; font-size: 1.05rem; color: var(--ink); }
.journey-flow li > span:last-child { color: var(--ink-soft); font-size: 0.93rem; line-height: 1.5; }
@media (min-width: 1000px) {
  .journey-flow { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  /* thin line joining the numbers */
  .journey-flow li:not(:last-child)::after { content: ""; position: absolute; top: 1.25rem; left: 2.9rem; right: -0.8rem; height: 2px; background: var(--brand-line); }
}
.journey-more { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.4rem 1.2rem; margin: 1.6rem 0 0; }
.journey-more .text-link { display: inline-flex; align-items: center; gap: 0.35rem; font-weight: 500; }
.journey-more .text-link .icon { width: 1rem; height: 1rem; }
.journey-more .meta { margin: 0; }
@media (max-width: 720px) {
  .step-grid { gap: 0.6rem; }
  .step-card { display: grid; grid-template-columns: 2.5rem 1fr; column-gap: 0.9rem; row-gap: 0.1rem; align-items: center; padding: 0.9rem 1rem; }
  .step-card .step-icon { grid-row: span 2; width: 2.5rem; height: 2.5rem; margin: 0; font-size: 1rem; }
  .step-card strong { font-size: 1.02rem; }
  .step-card .card-arrow { top: 50%; transform: translateY(-50%); }
}

/* ---------- Home: patient-centred diagram next to a short intro ---------- */
.home-wheel { display: grid; gap: 1.5rem 3rem; align-items: center; }
.home-wheel .lw { margin: 0; }
.home-wheel-text .btn { margin-top: 0.4rem; }
@media (min-width: 900px) { .home-wheel { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); } }
/* Home page: a little smaller than on Living with it */
.lw-compact .lw-stage { width: min(100%, 27rem); }
.home-section:has(.home-wheel) { padding: clamp(2.5rem, 5vw, 3.5rem) 0; }


/* ---------- Home: how treatment is organised (lines, trials, alongside) ---------- */
.tx { display: grid; gap: 1rem; margin-top: 1.6rem; }
.tx-lanes { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.9rem; }
.tx-lane {
  position: relative; margin: 0; display: flex; flex-direction: column; gap: 0.3rem;
  padding: 1.3rem 1.3rem 1.2rem; border-radius: var(--r-lg); background: #ffffff; border: 1px solid var(--line);
}
.tx-num { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; margin-bottom: 0.4rem; border-radius: 50%; background: var(--brand); color: #ffffff; font-family: var(--font-display); font-size: 1.1rem; font-weight: 500; }
.tx-lane:nth-child(2) .tx-num { background: var(--brand-hover); }
.tx-lane:nth-child(3) .tx-num { background: var(--brand-strong); }
.tx-kicker { font-size: 0.8rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand); }
.tx-lane strong { font-family: var(--font-display); font-size: 1.2rem; font-weight: 500; line-height: 1.3; color: var(--ink); }
.tx-text { color: var(--ink-soft); font-size: 0.95rem; line-height: 1.55; }
.tx-tag { align-self: flex-start; margin-top: auto; padding: 0.2rem 0.7rem; border-radius: 999px; font-size: 0.8rem; font-weight: 500; background: var(--brand-soft); color: var(--brand-strong); }
.tx-lane .tx-text { margin-bottom: 0.6rem; }
/* The line where KRAS G12C matters gets the gold accent */
.tx-lane.key { border-color: var(--gold-line); box-shadow: 0 10px 28px -20px rgba(160, 110, 50, 0.6); }
.tx-lane.key .tx-tag { background: var(--gold-soft); color: var(--gold-strong); }
/* Arrows between the lines */
.tx-lane:not(:last-child)::after {
  content: ""; position: absolute; z-index: 1; width: 1.6rem; height: 1.6rem; border-radius: 50%;
  background: #ffffff no-repeat center / 0.95rem url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f6f6b' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v14M6 13l6 6 6-6'/%3E%3C/svg%3E");
  border: 1px solid var(--line); left: 50%; bottom: -1.25rem; transform: translateX(-50%);
}
@media (min-width: 900px) {
  .tx-lanes { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; }
  .tx-lane:not(:last-child)::after { left: auto; right: -1.3rem; bottom: auto; top: 50%; transform: translateY(-50%) rotate(-90deg); }
}
/* Trials: one band that runs along all three lines */
.tx-trials {
  display: flex; align-items: center; gap: 0.9rem; padding: 0.95rem 1.2rem; border-radius: var(--r-lg);
  background: var(--sky-soft); border: 1px dashed var(--sky-line); color: var(--ink); text-decoration: none;
}
.tx-trials:hover { text-decoration: none; color: var(--ink); border-style: solid; border-color: var(--sky); }
.tx-trials > span:nth-child(2) { display: flex; flex-wrap: wrap; gap: 0.1rem 0.8rem; align-items: baseline; flex: 1; min-width: 0; }
.tx-trials strong { font-family: var(--font-display); font-weight: 500; font-size: 1.08rem; color: var(--sky-strong); }
.tx-trials > span:nth-child(2) > span { color: var(--ink-soft); font-size: 0.95rem; }
.tx-trials .tx-sicon { background: #ffffff; color: var(--sky-strong); }
.tx-arrow { flex: none; color: var(--sky-strong); width: 1.1rem; height: 1.1rem; }
.tx-sicon { flex: none; display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--tone-soft); color: var(--tone); }
.tx-sicon .icon { width: 1.3rem; height: 1.3rem; }
/* Alongside: supporting treatments */
.tx-alongside { display: grid; gap: 0.6rem; margin-top: 0.4rem; }
.tx-label { margin: 0; font-size: 0.8rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); }
.tx-supports { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.8rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.tx-support { margin: 0; display: flex; gap: 0.8rem; align-items: flex-start; padding: 0.95rem 1.1rem; border-radius: var(--r-lg); background: #ffffff; border: 1px solid var(--line); }
.tx-support > span:last-child { display: grid; gap: 0.1rem; }
.tx-support strong { font-family: var(--font-display); font-weight: 500; font-size: 1.02rem; color: var(--ink); }
.tx-support > span:last-child > span { color: var(--ink-soft); font-size: 0.92rem; line-height: 1.5; }
.tx-note { margin: 0.2rem 0 0; }
#behandlung .btn { margin-top: 0.6rem; }
/* Lane cards with their options */
.tx-lane { padding: 1.2rem 1.2rem 1.1rem; gap: 0.8rem; }
.tx-head { display: flex; gap: 0.75rem; align-items: center; }
.tx-head .tx-num { margin: 0; flex: none; }
.tx-head > span:last-child { display: grid; }
.tx-title { font-family: var(--font-display); font-size: 1.15rem; font-weight: 500; line-height: 1.25; color: var(--ink); }
.tx-opts { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.tx-opts li { margin: 0; display: grid; gap: 0.15rem; padding: 0.7rem 0.8rem; border-radius: 12px; background: var(--bg-alt); border-left: 3px solid var(--brand-line); }
.tx-opts strong { font-size: 0.98rem; font-weight: 500; color: var(--ink); }
.tx-when { font-size: 0.9rem; line-height: 1.45; color: var(--ink-2); }
.tx-ex { font-size: 0.82rem; color: var(--ink-soft); font-style: italic; }
.tx-lane.key .tx-opts li:first-child { background: var(--gold-soft); border-left-color: var(--gold); }
.tx-lane .tx-tag { margin-top: auto; }
.tx-note a { color: inherit; }

/* ---------- Grouped menu: drop-down panels below the bar ---------- */
.menu { position: relative; }
.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-group:hover { color: var(--ink); background: var(--bg-alt); }
.menu-group:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; }
.menu-group::after { content: ""; position: absolute; left: 0.5rem; right: 0.5rem; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: transparent; }
.menu-group[aria-current="true"] { color: var(--brand); }
.menu-group[aria-current="true"]::after { background: var(--brand); }
.menu-group[aria-expanded="true"] { color: var(--ink); background: var(--bg-alt); }
.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: #ffffff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px -22px rgba(32, 33, 36, 0.45); }
.menu-panel ul { list-style: none; margin: 0; padding: 0.8rem 0 1rem; display: grid; gap: 0.3rem 1rem; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); }
.menu-panel li { margin: 0; }
.menu-panel a { display: grid; gap: 0.05rem; padding: 0.6rem 0.75rem; border-radius: 10px; color: var(--ink); text-decoration: none; }
.menu-panel a:hover { background: var(--bg-alt); text-decoration: none; }
.menu-panel a strong { font-weight: 500; font-size: 0.97rem; }
.menu-panel a span { font-size: 0.82rem; color: var(--ink-soft); }
.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; }

/* ---------- My path ---------- */
.pt-hero { background: #fffbf6; padding-block: clamp(2.2rem, 5vw, 3.4rem) 1.8rem; border-bottom: 1px solid var(--line-soft); }
.pt-hero .wrap { display: grid; gap: 0.7rem; }
.pt-hero h1 { margin: 0; }
.pt-hero .lead { max-width: 44rem; margin: 0; }
.pt-privacy { display: inline-flex; align-items: center; gap: 0.45rem; margin: 0; font-size: 0.88rem; color: var(--ink-soft); }
.pt-privacy .icon { width: 1rem; height: 1rem; }
.pt-noscript { margin: 1rem 0 0; padding: 0.8rem 1rem; border-radius: 12px; background: var(--gold-soft); }
.pt-grid { display: grid; gap: 1.8rem; padding-block: 2rem 2.6rem; }
@media (min-width: 960px) { .pt-grid { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); align-items: start; } }
.pt-tree { display: grid; gap: 1.2rem; margin-top: 0.9rem; }
.pt-level { position: relative; display: grid; grid-template-columns: 2.4rem 1fr; gap: 0.85rem; }
.pt-level::before { content: ""; position: absolute; left: 1.2rem; top: 2.4rem; bottom: -1.2rem; width: 2px; margin-left: -1px; background: var(--line); }
.pt-level:last-child::before { display: none; }
.pt-level.is-done::before { background: var(--brand-line); }
.pt-num { position: relative; z-index: 1; display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; border: 2px solid var(--line); background: #ffffff; color: var(--ink-soft); font-weight: 500; }
.pt-level.is-done .pt-num { background: var(--brand); border-color: var(--brand); color: #ffffff; }
.pt-level.is-off .pt-num { opacity: 0.45; }
.pt-body { display: grid; gap: 0.45rem; min-width: 0; }
.pt-q { margin: 0; padding-top: 0.4rem; font-weight: 500; font-size: 1.05rem; color: var(--ink); }
.pt-help { margin: 0; font-size: 0.88rem; color: var(--ink-soft); }
.pt-chips { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.pt-chip {
  all: unset; box-sizing: border-box; cursor: pointer; padding: 0.55rem 0.9rem; border-radius: 999px; border: 1px solid var(--line);
  background: #ffffff; font-size: 0.95rem; color: var(--ink-2); transition: background 0.15s, border-color 0.15s, opacity 0.15s;
}
.pt-chip:hover { border-color: var(--brand); }
.pt-chip:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.pt-chip[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #ffffff; font-weight: 500; }
.pt-chip.is-unknown { border-style: dashed; }
.pt-chip.is-unknown[aria-pressed="true"] { background: var(--gold-soft); border: 1px solid var(--gold); color: var(--gold-strong); }
.pt-level.is-done .pt-chip:not([aria-pressed="true"]) { opacity: 0.6; }
.pt-level.is-off .pt-chips { opacity: 0.4; }
.pt-chip:disabled { cursor: default; }
.pt-off { margin: 0; font-size: 0.86rem; font-style: italic; color: var(--ink-soft); }
.pt-reset { all: unset; cursor: pointer; margin: 1rem 0 0 3.25rem; font-size: 0.9rem; color: var(--brand); }
.pt-reset:focus-visible { outline: 2px solid var(--brand); }
.pm { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: #ffffff; min-height: 10rem; }
.pm-head { padding: 1.1rem 1.3rem; background: var(--brand-soft); display: grid; gap: 0.35rem; }
.pm-head h2 { margin: 0; font-size: 1.45rem; }
.pm-crumbs { margin: 0; display: flex; flex-wrap: wrap; gap: 0.3rem; align-items: center; font-size: 0.85rem; color: var(--brand-strong); }
.pm-c { background: #ffffff; border: 1px solid var(--brand-line); border-radius: 999px; padding: 0.1rem 0.6rem; }
.pm-body { padding: 1.1rem 1.3rem 1.3rem; display: grid; gap: 1.2rem; }
.pm-blk h3 { margin: 0 0 0.55rem; font-size: 0.8rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); font-family: var(--font); }
.pm-steps { list-style: none; margin: 0; padding: 0 !important; display: grid; gap: 0.6rem; }
.pm-steps li { margin: 0; display: grid; grid-template-columns: 1.9rem 1fr; gap: 0.65rem; align-items: start; }
.pm-n { display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%; font-size: 0.85rem; font-weight: 500; background: #ffffff; color: var(--brand); border: 1.5px solid var(--brand-line); }
.pm-steps li:first-child .pm-n { background: var(--brand); color: #ffffff; border-color: var(--brand); }
.pm-steps strong { display: block; font-weight: 500; color: var(--ink); }
.pm-steps div > span { display: block; font-size: 0.94rem; color: var(--ink-2); }
.pm-asks { list-style: none; margin: 0; padding: 0 !important; display: grid; gap: 0.4rem; }
.pm-asks li { margin: 0; display: flex; gap: 0.6rem; padding: 0.6rem 0.75rem; border-radius: 10px; background: var(--bg-alt); font-size: 0.95rem; }
.pm-asks li::before { content: "?"; flex: none; display: grid; place-items: center; width: 1.35rem; height: 1.35rem; margin-top: 0.1rem; border-radius: 50%; background: var(--gold-soft); color: var(--gold-strong); font-weight: 500; font-size: 0.78rem; }
.pm-reads { margin: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pm-reads a { display: inline-flex; padding: 0.45rem 0.85rem; border-radius: 10px; border: 1px solid var(--brand-line); font-weight: 500; font-size: 0.93rem; text-decoration: none; }
.pm-reads a:hover { background: var(--brand-soft); text-decoration: none; }
.pm-note { margin: 0; font-size: 0.85rem; color: var(--ink-soft); }
.pm-share { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; padding-top: 1rem; border-top: 1px solid var(--line-soft); }
.pm-url { font-size: 0.8rem; color: var(--ink-soft); word-break: break-all; min-width: 0; }
.pt-trunk { margin-top: 1.2rem; }
@media (min-width: 820px) { .pt-trunk { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pt-extra { display: none; margin-top: 0.5rem; align-self: flex-start; padding: 0.25rem 0.6rem; border-radius: 8px; font-size: 0.8rem; font-weight: 500; background: var(--gold-soft); color: var(--gold-strong); }
.pt-card.has-tip .pt-extra { display: inline-block; }

/* Hint on shared pages when opened from My path */
.path-tip { margin: 0 0 1.6rem; padding: 1rem 1.2rem; border-radius: 16px; border: 1px solid var(--gold-line); background: var(--gold-soft); }
.content .path-tip h2 { margin: 0 0 0.2rem; font-size: 1.15rem; color: var(--gold-strong); }
.path-tip .pt-tip-kicker { margin: 0 0 0.4rem; font-size: 0.85rem; color: var(--ink-soft); }
.path-tip ul { margin: 0 0 0.5rem; }
.path-tip p:last-child { margin: 0; }
.menu-panel a { white-space: normal; min-height: 0; font-size: inherit; color: var(--ink); }
.menu-panel a::after, .menu-panel .wrap::after { display: none; }
.menu-panel ul { overflow: visible; }
.pt-hero h1 { font-size: clamp(2.2rem, 4.8vw, 3.5rem); line-height: 1.12; letter-spacing: -0.02em; font-weight: 400; max-width: 22ch; }

/* My path: tests with status, treatment lanes */
.pm-tests { list-style: none; margin: 0; padding: 0 !important; display: grid; gap: 0.45rem; }
.pm-tests li { margin: 0; display: grid; grid-template-columns: 7.2rem 1fr; gap: 0.7rem; align-items: start; padding: 0.55rem 0.7rem; border-radius: 10px; border: 1px solid var(--line-soft); }
.pm-tests strong { display: block; font-weight: 500; color: var(--ink); }
.pm-tests div > span { display: block; font-size: 0.9rem; color: var(--ink-2); }
.pm-st { justify-self: start; padding: 0.15rem 0.55rem; border-radius: 999px; font-size: 0.76rem; font-weight: 500; line-height: 1.4; }
.pm-tests .is-done .pm-st { background: var(--sage-soft); color: var(--sage-strong); }
.pm-tests .is-done .pm-st::before { content: "\2713\00a0"; }
.pm-tests .is-next .pm-st { background: var(--brand-soft); color: var(--brand-strong); }
.pm-tests .is-ask .pm-st { background: var(--gold-soft); color: var(--gold-strong); }
.pm-tests .is-later .pm-st { background: var(--sky-soft); color: var(--sky-strong); }
.pm-tests .is-done { background: #fbfcfb; }
.pm-tests .is-done strong { color: var(--ink-2); }
.pm-lanes { list-style: none; margin: 0; padding: 0 !important; display: grid; gap: 0.6rem; counter-reset: none; }
.pm-lane { margin: 0; display: grid; grid-template-columns: 7.2rem 1fr; gap: 0.7rem; padding: 0.7rem; border-radius: 12px; border: 1px solid var(--line); background: #ffffff; }
.pm-lane.is-key { border-color: var(--gold-line); background: var(--gold-soft); }
.pm-lane-l { display: grid; align-content: start; gap: 0.3rem; font-weight: 500; font-size: 0.92rem; color: var(--brand-strong); }
.pm-lane.is-key .pm-lane-l { color: var(--gold-strong); }
.pm-lane-l em { font-style: normal; font-weight: 500; font-size: 0.72rem; line-height: 1.3; color: var(--gold-strong); }
.pm-lane ul { list-style: none; margin: 0; padding: 0 !important; display: grid; gap: 0.45rem; }
.pm-lane ul li { margin: 0; display: grid; gap: 0.05rem; padding: 0.5rem 0.65rem; border-radius: 9px; background: var(--bg-alt); }
.pm-lane.is-key ul li { background: #ffffff; }
.pm-lane ul strong { font-weight: 500; color: var(--ink); font-size: 0.95rem; }
.pm-ex { font-size: 0.85rem; color: var(--brand-strong); }
.pm-when { font-size: 0.87rem; color: var(--ink-2); }
@media (max-width: 520px) {
  .pm-tests li, .pm-lane { grid-template-columns: 1fr; gap: 0.4rem; }
  .pm-lane-l { grid-auto-flow: column; justify-content: start; align-items: baseline; gap: 0.6rem; }
}
@media (min-width: 960px) { .pt-grid > section:first-child { position: sticky; top: 1.5rem; } }

/* Marker cards and tables (one data source) */
.mk-ex { font-size: 0.88em; color: var(--brand-strong); }
.mk-cards { display: grid; gap: 1rem; }
.mk-card { scroll-margin-top: 5rem; padding: 1.1rem 1.25rem 1.2rem; border: 1px solid var(--line); border-radius: 16px; background: #ffffff; }
.content .mk-card h3 { margin: 0 0 0.4rem; font-size: 1.2rem; }
.mk-facts { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0 0 0.7rem; }
.mk-pill { padding: 0.15rem 0.6rem; border-radius: 999px; font-size: 0.82rem; background: var(--sky-soft); color: var(--sky-strong); }
.mk-pill:first-child { background: var(--brand-soft); color: var(--brand-strong); }
.mk-card > p { margin: 0 0 0.8rem; }
.mk-dl { display: grid; gap: 0.5rem; margin: 0; }
@media (min-width: 640px) { .mk-dl { grid-template-columns: 1fr 1fr; } }
.mk-dl div { padding: 0.65rem 0.8rem; border-radius: 10px; background: var(--bg-alt); }
.mk-dl dt { font-size: 0.78rem; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-soft); }
.mk-dl dd { margin: 0.2rem 0 0; }
.mk-src { margin: 0.7rem 0 0 !important; font-size: 0.84rem; color: var(--ink-soft); }
#ros1 { scroll-margin-top: 5rem; }

/* My path: compact summary on top, full-width detail area below */
.pm-jump { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; padding-top: 0.9rem; border-top: 1px solid var(--line-soft); font-size: 0.9rem; color: var(--ink-soft); }
.pm-jump span { margin-right: 0.2rem; }
.pm-jump a { padding: 0.3rem 0.7rem; border-radius: 999px; background: var(--brand-soft); color: var(--brand-strong); font-weight: 500; text-decoration: none; }
.pm-jump a:hover { background: var(--brand-line); text-decoration: none; }
.pd { background: #fffbf6; border-top: 1px solid var(--line-soft); padding-block: 2.4rem 2.8rem; }
.pd-top { display: grid; gap: 0.4rem; margin-bottom: 1.6rem; }
.pd-top h2 { margin: 0; }
.pd-sec { scroll-margin-top: 1.5rem; margin-top: 2.2rem; }
.pd-sec h3 { margin: 0 0 0.3rem; font-size: 1.3rem; }
.pd-lead { margin: 0 0 1rem; color: var(--ink-soft); max-width: 46rem; }
.pd-tests { list-style: none; margin: 0; padding: 0 !important; display: grid; gap: 0.8rem; grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr)); }
.pd-tests li { margin: 0; display: flex; flex-direction: column; gap: 0.3rem; padding: 0.95rem 1rem; border-radius: 14px; border: 1px solid var(--line); background: #ffffff; }
.pd-tests strong { font-weight: 500; font-size: 1.02rem; color: var(--ink); }
.pd-why { font-size: 0.92rem; color: var(--ink-2); }
.pd-st { align-self: flex-start; padding: 0.15rem 0.6rem; border-radius: 999px; font-size: 0.76rem; font-weight: 500; }
.pd-tests .is-done .pd-st { background: var(--sage-soft); color: var(--sage-strong); }
.pd-tests .is-done .pd-st::before { content: "\2713\00a0"; }
.pd-tests .is-next .pd-st { background: var(--brand-soft); color: var(--brand-strong); }
.pd-tests .is-ask .pd-st { background: var(--gold-soft); color: var(--gold-strong); }
.pd-tests .is-later .pd-st { background: var(--sky-soft); color: var(--sky-strong); }
.pd-tests .is-ask { border-color: var(--gold-line); }
.pd-more { margin-top: auto; padding-top: 0.4rem; display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.88rem; font-weight: 500; text-decoration: none; }
.pd-more .icon { width: 0.95rem; height: 0.95rem; }
.pd-more:hover { text-decoration: underline; }
.pd-lanes { list-style: none; margin: 0; padding: 0 !important; display: grid; gap: 0.9rem; }
.pd-lane { margin: 0; display: grid; gap: 0.8rem; padding: 1rem; border-radius: 16px; border: 1px solid var(--line); background: #ffffff; }
@media (min-width: 820px) { .pd-lane { grid-template-columns: 11rem minmax(0, 1fr); padding: 1.1rem 1.2rem; } }
.pd-lane.is-key { border-color: var(--gold-line); background: var(--gold-soft); }
.pd-lane-l { display: flex; flex-direction: column; gap: 0.3rem; }
.pd-lane-l span { font-family: var(--font-display, inherit); font-size: 1.15rem; font-weight: 500; color: var(--brand-strong); }
.pd-lane.is-key .pd-lane-l span { color: var(--gold-strong); }
.pd-lane-l em { font-style: normal; font-size: 0.78rem; font-weight: 500; color: var(--gold-strong); }
.pd-lane-b { display: grid; gap: 0.6rem; min-width: 0; }
.pd-sub { margin: 0; font-size: 0.76rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); }
.pd-opts { list-style: none; margin: 0; padding: 0 !important; display: grid; gap: 0.6rem; grid-template-columns: repeat(auto-fill, minmax(14.5rem, 1fr)); }
.pd-opts li { margin: 0; display: flex; flex-direction: column; gap: 0.15rem; padding: 0.7rem 0.85rem; border-radius: 11px; background: var(--bg-alt); }
.pd-lane.is-key .pd-opts li { background: #ffffff; }
.pd-opts strong { font-weight: 500; color: var(--ink); }
.pd-trial { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 0.9rem; padding: 0.7rem 0.9rem; border-radius: 11px; border: 1px dashed var(--sky-line); background: var(--sky-soft); }
.pd-trial-ic { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: #ffffff; color: var(--sky-strong); flex: none; }
.pd-trial-ic .icon { width: 1.1rem; height: 1.1rem; }
.pd-trial-t { display: grid; gap: 0.05rem; flex: 1 1 14rem; min-width: 0; }
.pd-trial-t strong { font-weight: 500; font-size: 0.92rem; color: var(--sky-strong); }
.pd-trial-t span { font-size: 0.9rem; color: var(--ink-2); }
.pd-trial-a { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.45rem 0.85rem; border-radius: 999px; background: #ffffff; border: 1px solid var(--sky-line); color: var(--sky-strong); font-size: 0.88rem; font-weight: 500; text-decoration: none; white-space: nowrap; }
.pd-trial-a .icon { width: 0.95rem; height: 0.95rem; }
.pd-trial-a:hover { background: #ffffff; border-color: var(--sky); text-decoration: none; }
.pd-trial .ph { font-size: 0.8rem; }
.pd-cols { display: grid; gap: 0 2rem; }
@media (min-width: 900px) { .pd-cols { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); } }
.pd-final { margin-top: 2rem !important; }
@media (max-width: 520px) { .pd-trial-a { white-space: normal; } }
.pd-sec > .pm-note { margin: 0.8rem 0 0; }
.pd-sec > .pm-note + .pm-note { margin-top: 0.35rem; }


.page-hero .pt-privacy { margin-top: 0.4rem; }

/* Costs: what health insurance pays (public lists) */
.access td div, .access-detail td div { font-size: 0.93rem; }
.acc-yes { color: var(--ink); }
.acc-no { color: var(--ink-soft); font-style: italic; }
.access sup { color: var(--gold-strong); font-weight: 500; margin-left: 0.1rem; }
.acc-note { margin: 0.35rem 0 0 !important; font-size: 0.86rem; color: var(--ink-soft); }
.acc-status { margin: 0 0 0.6rem !important; font-size: 0.88rem; color: var(--ink-soft); }
.country h4 { margin: 1.1rem 0 0.35rem; font-size: 1rem; }
.acc-where { margin: 0.3rem 0 0.6rem; padding-left: 1.2rem; }
.acc-where li { margin: 0.15rem 0; }
.access { font-size: 0.86rem; }
.access th, .access td { padding-left: 0.6rem !important; padding-right: 0.6rem !important; }
.access td div { font-size: 0.86rem; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
.acc-note:last-of-type { margin-bottom: 1rem !important; }

/* My path: medicine comparison per treatment line (no ranking) */
.pd-cmp { border-radius: 11px; border: 1px solid var(--brand-line); background: #ffffff; }
.pd-cmp > summary { cursor: pointer; padding: 0.65rem 0.9rem; font-weight: 500; font-size: 0.93rem; color: var(--brand-strong); list-style: none; display: flex; align-items: center; gap: 0.5rem; }
.pd-cmp > summary::-webkit-details-marker { display: none; }
.pd-cmp > summary::before { content: "+"; display: grid; place-items: center; width: 1.3rem; height: 1.3rem; border-radius: 50%; background: var(--brand-soft); font-weight: 600; }
.pd-cmp[open] > summary::before { content: "−"; }
.pd-cmp[open] > summary { border-bottom: 1px solid var(--line-soft); }
.pd-cmp-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.pd-cmp-t { border-collapse: collapse; width: 100%; min-width: 34rem; font-size: 0.88rem; }
.pd-cmp-t th, .pd-cmp-t td { padding: 0.55rem 0.7rem; vertical-align: top; text-align: left; border-bottom: 1px solid var(--line-soft); }
.pd-cmp-t thead th { font-size: 1rem; font-weight: 600; color: var(--ink); min-width: 12rem; }
.pd-cmp-t tbody th { position: sticky; left: 0; z-index: 1; background: #fbfaf7; width: 9.5rem; min-width: 8rem; font-weight: 500; font-size: 0.8rem; color: var(--ink-soft); }
.pd-cmp-t td { color: var(--ink-2); }
.pd-cmp-t tr:last-child th, .pd-cmp-t tr:last-child td { border-bottom: 0; }
.pd-cmp .pm-note { margin: 0; padding: 0.6rem 0.9rem 0.8rem; border-top: 1px solid var(--line-soft); }
.pd-lane { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 820px) { .pd-lane { grid-template-columns: 11rem minmax(0, 1fr); } }
.pd-cmp { min-width: 0; max-width: 100%; }
.pd-cmp-hint { display: none; margin: 0; padding: 0.4rem 0.9rem 0; font-size: 0.8rem; color: var(--ink-soft); }
@media (max-width: 700px) { .pd-cmp-hint { display: block; } }

/* Out of 100 people: dot grids (medicine vs comparator of the same study) */
.lm + .lm { margin-top: 0.8rem; padding-top: 0.7rem; border-top: 1px dashed var(--line-soft); }
.lm-h { margin: 0 0 0.4rem; font-weight: 500; font-size: 0.86rem; color: var(--ink); }
.lm-pair { display: flex; gap: 0.9rem; flex-wrap: wrap; }
.lm-col { display: flex; gap: 0.5rem; align-items: center; }
.lm-col p { margin: 0; font-size: 0.8rem; line-height: 1.3; color: var(--ink-soft); }
.lm-col p strong { font-size: 1.05rem; color: var(--ink); }
.dots { width: 3.6rem; height: 3.6rem; flex: none; }
.dots .off { fill: #e7e2d9; }
.dots.drug .on { fill: var(--brand); }
.dots.comp .on { fill: #9aa3a8; }
.lm-src { margin: 0.35rem 0 0; font-size: 0.76rem; color: var(--ink-soft); }
.lm-none { font-size: 0.84rem; color: var(--ink-soft); font-style: italic; }
/* comparison spans the whole lane (label column included) */
.pd-lane > .pd-cmp { grid-column: 1 / -1; }
.pd-cmp-t tbody th { width: 8rem; min-width: 7rem; }
.pd-cmp-t thead th { min-width: 10.5rem; }
.pd-cmp-t thead th { min-width: 9.2rem; }
.pd-cmp-t th, .pd-cmp-t td { padding-left: 0.6rem; padding-right: 0.6rem; }
.pd-cmp-t { table-layout: fixed; width: 100%; }
.pd-cmp-t thead td, .pd-cmp-t tbody th { width: 8rem; }
.pd-cmp-t thead th { min-width: 0; }
.pd-cmp-t td, .pd-cmp-t th { overflow-wrap: break-word; hyphens: auto; }
.med-sub { font-size: 0.78rem; color: var(--ink-soft); }

/* ==========================================================================
   My path: guided chat, branch card, treatment matrix, medicine pop-up
   ========================================================================== */
.pt-grid { padding-block: 1.8rem 2.4rem; }
@media (min-width: 960px) { .pt-grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); } }
@media (min-width: 960px) { .pt-grid > section:first-child { position: static; } }
.ch { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line); border-radius: 18px; background: #ffffff; overflow: hidden; box-shadow: 0 1px 2px rgba(60, 64, 67, 0.06), 0 10px 30px -18px rgba(60, 64, 67, 0.28); }
.ch-head { display: flex; align-items: center; gap: 0.75rem; padding: 0.8rem 1rem; border-bottom: 1px solid var(--line-soft); background: var(--brand-soft); }
.ch-head > div { display: grid; flex: 1; min-width: 0; }
.ch-head strong { font-weight: 500; color: var(--brand-strong); }
.ch-head > div > span { font-size: 0.8rem; color: var(--ink-soft); }
.ch-av { flex: none; display: grid; place-items: center; width: 2.3rem; height: 2.3rem; border-radius: 50%; background: #ffffff; border: 1px solid var(--gold-line); overflow: hidden; }
.ch-av .ch-logo { width: 1.7rem; height: 1.7rem; }
.ch-restart { all: unset; flex: none; cursor: pointer; font-size: 0.85rem; font-weight: 500; color: var(--brand); padding: 0.35rem 0.7rem; border-radius: 999px; }
.ch-restart:hover { background: #ffffff; }
.ch-restart:focus-visible { outline: 2px solid var(--brand); }
.ch-log { display: flex; flex-direction: column; gap: 0.65rem; padding: 1.1rem 1rem 1.3rem; height: clamp(26rem, 64vh, 38rem); overflow-y: auto; overscroll-behavior: contain; scroll-behavior: smooth; background: #fcfbf8; }
.ch-row { display: flex; gap: 0.55rem; align-items: flex-end; max-width: 92%; }
.ch-row .ch-av { width: 1.9rem; height: 1.9rem; }
.ch-row .ch-av .ch-logo { width: 1.4rem; height: 1.4rem; }
.ch-row.me { align-self: flex-end; justify-content: flex-end; }
.ch-msg { padding: 0.65rem 0.9rem; border-radius: 16px; background: #ffffff; border: 1px solid var(--line-soft); font-size: 0.96rem; color: var(--ink-2); min-width: 0; }
.ch-row.bot .ch-msg { border-bottom-left-radius: 5px; }
.ch-msg p { margin: 0; }
.ch-msg p + p { margin-top: 0.35rem; }
.ch-q { font-weight: 500; color: var(--ink); }
.ch-help { font-size: 0.86rem; color: var(--ink-soft); }
.ch-row.me .ch-msg { background: var(--brand); border-color: var(--brand); color: #ffffff; border-bottom-right-radius: 5px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.2rem 0.75rem; }
.ch-edit { all: unset; cursor: pointer; font-size: 0.78rem; color: #ffffff; opacity: 0.85; text-decoration: underline; text-underline-offset: 2px; }
.ch-edit:hover { opacity: 1; }
.ch-edit:focus-visible { outline: 2px solid #ffffff; outline-offset: 2px; }
.ch-opts { display: flex; flex-wrap: wrap; gap: 0.45rem; padding-left: 2.45rem; }
.ch-chip { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 0.05rem; text-align: left; max-width: 100%; }
.ch-chip small { font-size: 0.76rem; color: var(--ink-soft); }
.ch-go { font-weight: 500; }
.ch-typing { display: inline-flex; gap: 0.28rem; padding: 0.85rem 1rem; }
.ch-typing i { width: 0.45rem; height: 0.45rem; border-radius: 50%; background: var(--ink-faint); animation: ch-dot 1s infinite ease-in-out; }
.ch-typing i:nth-child(2) { animation-delay: 0.15s; }
.ch-typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes ch-dot { 0%, 80%, 100% { opacity: 0.3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.ch-row.is-new, .ch-opts.is-new { animation: ch-in 0.35s ease-out both; }
.ch-opts.is-new { animation-delay: 0.08s; }
@keyframes ch-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .ch-row.is-new, .ch-opts.is-new, .ch-typing i { animation: none; } .ch-log { scroll-behavior: auto; } }
@media (max-width: 600px) {
  .ch-log { height: auto; min-height: 22rem; max-height: 72vh; padding-inline: 0.75rem; }
  .ch-opts { padding-left: 0; }
  .ch-row { max-width: 100%; }
  .ch-head > div > span { display: none; }
}

/* branch card */
.pm-kicker { margin: 0 0 0.55rem; font-size: 0.78rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand-strong); }
.pm-title { margin: 0; font-size: 1.4rem; }
.pb-tree { list-style: none; margin: 0; padding: 0 !important; display: grid; }
.pb-node { position: relative; margin: 0; display: grid; grid-template-columns: 1.9rem minmax(0, 1fr); gap: 0.7rem; padding-bottom: 0.6rem; }
.pb-node:last-child { padding-bottom: 0; }
.pb-node::before { content: ""; position: absolute; left: 0.95rem; top: 1.9rem; bottom: 0; width: 2px; margin-left: -1px; background: var(--brand-line); }
.pb-node:last-child::before { display: none; }
.pb-dot { position: relative; z-index: 1; display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%; border: 2px solid var(--brand-line); background: #ffffff; font-size: 0.82rem; font-weight: 500; color: var(--ink-soft); }
.pb-node.is-done .pb-dot { background: var(--brand); border-color: var(--brand); color: #ffffff; }
.pb-node.is-cur .pb-dot { border-color: var(--brand); color: var(--brand); box-shadow: 0 0 0 4px rgba(31, 111, 107, 0.15); }
.pb-node.is-off { opacity: 0.5; }
.pb-node > div { display: grid; gap: 0.05rem; min-width: 0; }
.pb-k { font-size: 0.72rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-soft); }
.pb-v { all: unset; font-weight: 500; color: var(--ink); overflow-wrap: anywhere; }
button.pb-v { cursor: pointer; }
button.pb-v:hover { color: var(--brand); text-decoration: underline; }
button.pb-v:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.pb-node.is-open .pb-v, .pb-node.is-cur .pb-v, .pb-node.is-off .pb-v { font-weight: 400; color: var(--ink-faint); }

/* treatment matrix */
.mx-ctx { margin: 0 0 0.5rem; display: flex; flex-wrap: wrap; gap: 0.5rem 0.8rem; align-items: center; font-size: 0.93rem; color: var(--ink-2); }
.mx-all { all: unset; cursor: pointer; font-size: 0.86rem; font-weight: 500; color: var(--brand); padding: 0.25rem 0.75rem; border: 1px solid var(--brand-line); border-radius: 999px; background: #ffffff; }
.mx-all:hover { background: var(--brand-soft); }
.mx-all:focus-visible { outline: 2px solid var(--brand); }
.mx-hint { margin: 0 0 1rem; font-size: 0.88rem; color: var(--ink-soft); }
.mx { display: grid; gap: 0.9rem; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 720px) { .mx { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .mx { grid-template-columns: repeat(var(--n), minmax(0, 1fr)); } }
.mx-col { display: flex; flex-direction: column; gap: 0.7rem; min-width: 0; padding: 0.9rem; border-radius: 16px; border: 1px solid var(--line); background: #ffffff; }
.mx-col.is-key { border-color: var(--gold-line); }
.mx-col.is-now { border: 2px solid var(--brand); padding: calc(0.9rem - 1px); box-shadow: 0 10px 28px -18px rgba(31, 111, 107, 0.6); }
.mx-col.is-done { background: var(--bg-alt); }
.mx-col.is-next { border-style: dashed; }
.mx-head { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 0.45rem; padding-bottom: 0.6rem; border-bottom: 1px solid var(--line-soft); }
.mx-head h4 { margin: 0; flex: 1 1 100%; font-family: var(--font-display, inherit); font-size: 1.15rem; font-weight: 500; color: var(--brand-strong); }
.mx-st, .mx-key { padding: 0.12rem 0.55rem; border-radius: 999px; font-size: 0.74rem; font-weight: 500; }
.mx-st { background: var(--surface-2); color: var(--ink-soft); }
.mx-col.is-now .mx-st { background: var(--brand); color: #ffffff; }
.mx-col.is-done .mx-st { background: var(--sage-soft); color: var(--sage-strong); }
.mx-key { background: var(--gold-soft); color: var(--gold-strong); }
.mx-opts { display: grid; gap: 0.6rem; }
.mx-opt { display: grid; gap: 0.4rem; padding: 0.75rem 0.8rem; border-radius: 12px; border: 1px solid var(--line-soft); background: #ffffff; }
.mx-opt strong { font-weight: 500; color: var(--ink); line-height: 1.3; }
.mx-opt p { margin: 0; font-size: 0.87rem; color: var(--ink-2); }
.mx-opt.is-had { border-color: var(--sage-line); background: var(--sage-soft); }
.mx-opt.is-cur { border-color: var(--brand); background: var(--brand-soft); }
.mx-opt.is-still { border-style: dashed; border-color: var(--brand-line); }
.mx-tag { justify-self: start; padding: 0.1rem 0.5rem; border-radius: 999px; font-size: 0.72rem; font-weight: 500; background: #ffffff; color: var(--sage-strong); border: 1px solid var(--sage-line); }
.mx-opt.is-cur .mx-tag, .mx-opt.is-still .mx-tag { color: var(--brand-strong); border-color: var(--brand-line); }
.mx-rx { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 0.4rem; }
.mx-g { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0.25rem; }
.mx-plus, .mx-or { font-size: 0.78rem; color: var(--ink-faint); }
.mx-txt { font-size: 0.85rem; color: var(--ink-2); }
.mx-med { all: unset; box-sizing: border-box; cursor: pointer; padding: 0.2rem 0.6rem; border-radius: 999px; border: 1px solid var(--brand-line); background: var(--brand-soft); color: var(--brand-strong); font-size: 0.85rem; font-weight: 500; line-height: 1.4; transition: background 0.15s, color 0.15s, border-color 0.15s; }
.mx-med:hover, .mx-med[aria-expanded="true"] { background: var(--brand); border-color: var(--brand); color: #ffffff; }
.mx-med:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.mx-med.is-had { background: #ffffff; border-color: var(--sage); color: var(--sage-strong); }
.mx-med.is-had::before { content: "\2713\00a0"; }
.mx-med.is-had:hover, .mx-med.is-had[aria-expanded="true"] { background: var(--sage-strong); border-color: var(--sage-strong); color: #ffffff; }
.mx-empty { margin: 0; font-size: 0.88rem; color: var(--ink-soft); font-style: italic; }
.mx-col .pd-trial { margin-top: auto; flex-direction: column; align-items: flex-start; gap: 0.5rem; padding: 0.7rem 0.75rem; }
.mx-col .pd-trial-t { flex: none; }
.mx-col .pd-trial-a { white-space: normal; }
#pd-treat .pm-note { max-width: 60rem; }

/* medicine pop-up */
.mx-pop { position: absolute; z-index: 60; width: min(25rem, calc(100vw - 2rem)); max-height: min(80vh, 44rem); overflow-y: auto; overscroll-behavior: contain; padding: 1rem 1.1rem 1.1rem; border-radius: 16px; border: 1px solid var(--line); background: #ffffff; box-shadow: 0 22px 60px -20px rgba(32, 33, 36, 0.4), 0 2px 6px rgba(32, 33, 36, 0.08); }
.mx-pop[hidden] { display: none; }
.mx-pop.is-sheet { position: fixed; left: 0; right: 0; bottom: 0; top: auto; width: auto; max-height: 82vh; border-radius: 18px 18px 0 0; padding-bottom: calc(1.1rem + env(safe-area-inset-bottom)); }
.mx-pop-h { display: flex; gap: 0.8rem; align-items: flex-start; justify-content: space-between; padding-bottom: 0.7rem; margin-bottom: 0.7rem; border-bottom: 1px solid var(--line-soft); }
.mx-pop-h h3 { margin: 0.1rem 0 0.15rem; font-size: 1.35rem; }
.mx-pop-kind { margin: 0; font-size: 0.74rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-soft); }
.mx-pop-brand { margin: 0; font-size: 0.95rem; color: var(--ink); font-weight: 500; }
.mx-pop-brand span { font-weight: 400; color: var(--ink-soft); font-size: 0.82rem; }
.mx-x { all: unset; cursor: pointer; flex: none; display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; font-size: 1.35rem; line-height: 1; color: var(--ink-soft); }
.mx-x:hover { background: var(--surface-2); }
.mx-x:focus-visible { outline: 2px solid var(--brand); }
.mx-dl { margin: 0; display: grid; gap: 0.6rem; }
.mx-dl > div { display: grid; gap: 0.1rem; }
.mx-dl dt { font-size: 0.76rem; font-weight: 500; color: var(--ink-soft); }
.mx-dl dd { margin: 0; font-size: 0.88rem; color: var(--ink-2); }
.mx-dl .mx-r-land { padding: 0.6rem 0.7rem; border-radius: 12px; background: #fbfaf7; }
.mx-pop-note { margin: 0.8rem 0 0; padding-top: 0.6rem; border-top: 1px solid var(--line-soft); font-size: 0.78rem; color: var(--ink-soft); }
@media print { .ch-opts, .ch-restart, .ch-edit, .mx-pop { display: none !important; } .ch-log { height: auto; overflow: visible; } }
.ch-av { background: none; border: 0; border-radius: 0; }
.ch-av .ch-logo, .ch-row .ch-av .ch-logo { width: 100%; height: 100%; }

/* My path v2: messenger-style conversation, calmer overview (overrides the block above) */
.ch-head { background: #ffffff; }
.ch-head strong { font-size: 1.02rem; }
.ch-log { gap: 0; padding: 1.2rem 1rem 1rem; height: clamp(24rem, 58vh, 32rem); background: #ffffff; }
.ch-row { margin-top: 0.85rem; max-width: 86%; align-items: flex-end; }
.ch-row:first-child { margin-top: 0; }
.ch-row.cont { margin-top: 0.3rem; }
.ch-av, .ch-av-sp { flex: none; width: 1.9rem; height: 1.9rem; }
.ch-row .ch-msg { border: 0; background: var(--surface-2); border-radius: 18px; padding: 0.6rem 0.9rem; color: var(--ink); font-size: 0.97rem; line-height: 1.45; }
.ch-row.bot.tail .ch-msg { border-bottom-left-radius: 6px; }
.ch-q { font-weight: 500; }
.ch-help { margin-top: 0.2rem !important; font-size: 0.85rem; color: var(--ink-soft); }
.ch-row.me { align-self: flex-end; }
.ch-me { all: unset; box-sizing: border-box; cursor: pointer; display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.6rem 0.9rem; border-radius: 18px 18px 6px 18px; background: var(--brand); color: #ffffff; font-size: 0.97rem; line-height: 1.4; }
.ch-me:hover { background: var(--brand-hover); }
.ch-me:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.ch-pen { font-size: 0.85rem; opacity: 0.55; }
.ch-me:hover .ch-pen, .ch-me:focus-visible .ch-pen { opacity: 1; }
.ch-typing { padding: 0.75rem 0.95rem !important; }
.ch-reply { border-top: 1px solid var(--line-soft); padding: 0.85rem 1rem 1rem; background: #fcfbf8; min-height: 3.6rem; transition: opacity 0.2s; }
.ch-reply.is-wait { opacity: 0.4; }
.ch-chips { display: flex; flex-wrap: wrap; gap: 0.45rem; justify-content: flex-end; }
.ch-chip { all: unset; box-sizing: border-box; cursor: pointer; display: inline-flex; flex-direction: column; align-items: flex-start; max-width: 100%; padding: 0.5rem 0.95rem; border-radius: 999px; border: 1.5px solid var(--brand); background: #ffffff; color: var(--brand-strong); font-size: 0.94rem; font-weight: 500; line-height: 1.3; transition: background 0.15s, color 0.15s; animation: ch-in 0.3s ease-out both; }
.ch-chip small { font-weight: 400; font-size: 0.76rem; color: var(--ink-soft); }
.ch-chip:hover { background: var(--brand); color: #ffffff; }
.ch-chip:hover small { color: rgba(255, 255, 255, 0.85); }
.ch-chip:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.ch-chip.is-unknown { border-style: dashed; border-color: var(--line); color: var(--ink-soft); font-weight: 400; }
.ch-chip.is-unknown:hover { background: var(--surface-2); color: var(--ink); }
.ch-chip:has(small) { border-radius: 16px; }
.ch-cta { display: inline-flex; align-items: center; padding: 0.55rem 1.1rem; border-radius: 999px; background: var(--brand); color: #ffffff !important; font-weight: 500; text-decoration: none; }
.ch-cta:hover { background: var(--brand-hover); text-decoration: none; }
@media (prefers-reduced-motion: reduce) { .ch-chip { animation: none; } }
@media (max-width: 600px) { .ch-log { height: 62vh; min-height: 20rem; max-height: none; } .ch-row { max-width: 92%; } .ch-chips { justify-content: flex-start; } .ch-head > div > span { display: block; } }

/* branch card v2 */
.pm { border-color: var(--line-soft); }
.pm-head { padding: 1.1rem 1.2rem; }
.pb-node.is-done .pb-dot { font-size: 0.85rem; }
.pm-body { gap: 0.8rem; padding: 1.1rem 1.2rem 1.2rem; }
.pm-title { font-size: 1.2rem; }
.pm-steps { gap: 0.55rem; }
.pm-steps div > span { font-size: 0.9rem; color: var(--ink-soft); }
.pm-foot { margin: 0.2rem 0 0; }
.pm-copy { all: unset; cursor: pointer; font-size: 0.86rem; font-weight: 500; color: var(--brand); }
.pm-copy:hover { text-decoration: underline; }
.pm-copy:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

/* overview v2 */
.pd { padding-block: 2.6rem 3rem; }
.pd-first { margin-top: 0; }
.pd-sec > h2 { margin: 0.2rem 0 0.35rem; font-size: clamp(1.5rem, 3vw, 1.9rem); }
.mx-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.6rem; margin: 0 0 1rem; }
.mx-bar-k { font-size: 0.78rem; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-soft); margin-right: 0.2rem; }
.mx-pill { padding: 0.3rem 0.75rem; border-radius: 999px; background: var(--sage-soft); border: 1px solid var(--sage-line); color: var(--sage-strong); font-size: 0.88rem; }
.mx-pill strong { font-weight: 500; color: var(--ink); }
.mx-all { margin-left: auto; }
@media (min-width: 1100px) { .mx { grid-template-columns: repeat(var(--n), minmax(0, 1fr)); } }
@media (min-width: 720px) and (max-width: 1099px) { .mx { grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); } }
.mx-col { padding: 1rem; gap: 0.75rem; }
.mx-col.is-now { padding: calc(1rem - 1px); }
.mx-col.is-next { border-style: solid; border-color: var(--line-soft); background: #fdfdfc; }
.mx-head h3 { margin: 0; flex: 1 1 100%; font-size: 1.2rem; font-weight: 500; color: var(--brand-strong); }
.mx-opt { border-color: transparent; background: var(--bg-alt); }
.mx-col.is-now .mx-opt { background: #ffffff; border-color: var(--line-soft); }
.mx-opt p { font-size: 0.85rem; color: var(--ink-soft); }
.mx-trial { margin: auto 0 0; display: flex; gap: 0.55rem; align-items: flex-start; padding-top: 0.7rem; border-top: 1px dashed var(--line); font-size: 0.88rem; }
.mx-trial > .icon { flex: none; width: 1.1rem; height: 1.1rem; margin-top: 0.15rem; color: var(--sky-strong); }
.mx-trial span { display: grid; gap: 0.1rem; }
.mx-trial a { font-weight: 500; }
.mx-trial small { font-size: 0.8rem; color: var(--ink-soft); }
.mx-along { display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; align-items: baseline; margin-top: 1rem; padding: 0.8rem 1rem; border-radius: 14px; background: var(--bg-alt); font-size: 0.88rem; color: var(--ink-soft); }
.mx-along strong { font-weight: 500; color: var(--ink); }
.pd-notes { margin-top: 1.2rem; border-top: 1px solid var(--line-soft); padding-top: 0.8rem; }
.pd-notes > summary { cursor: pointer; font-size: 0.92rem; font-weight: 500; color: var(--brand); }
.pd-notes p { margin: 0.6rem 0 0; max-width: 60rem; font-size: 0.86rem; color: var(--ink-soft); }
.pd-sec + .pd-sec, .pd-cols { margin-top: 3rem; }
@media (max-width: 600px) { .ch-log { height: 46vh; min-height: 17rem; } .ch-reply { padding: 0.7rem 0.75rem 0.8rem; } .ch-chip { padding: 0.45rem 0.85rem; font-size: 0.9rem; } }
.mx-trial .ph { justify-self: start; margin: 0.1rem 0; padding: 0.05rem 0.4rem; font-size: 0.74rem; }

/* My path v3: one timeline, tests and treatment lines interleaved; treatments as coloured building blocks */
.tk { all: unset; box-sizing: border-box; display: inline-flex; align-items: center; padding: 0.2rem 0.65rem; border-radius: 999px; border: 1px solid; font-size: 0.86rem; font-weight: 500; line-height: 1.4; }
button.tk { cursor: pointer; transition: filter 0.15s, box-shadow 0.15s; }
button.tk:hover, button.tk[aria-expanded="true"] { box-shadow: 0 0 0 2px currentColor inset; }
button.tk:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.tk-io { background: var(--brand-soft); color: var(--brand-strong); border-color: var(--brand-line); }
.tk-chemo { background: var(--clay-soft); color: var(--clay-strong); border-color: var(--clay-line); }
.tk-tab { background: var(--gold-soft); color: var(--gold-strong); border-color: var(--gold-line); }
.tk-ab { background: var(--sky-soft); color: var(--sky-strong); border-color: var(--sky-line); }
.tk-local { background: var(--sage-soft); color: var(--sage-strong); border-color: var(--sage-line); font-size: 0.95rem; }
.tk-txt { background: #ffffff; color: var(--ink-2); border-color: var(--line); font-weight: 400; }
.tk.is-had::before { content: "\2713\00a0"; }
.tk-plus, .tk-or { font-size: 0.78rem; color: var(--ink-faint); margin: 0 0.1rem; }
.tl-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1rem; margin: 0 0 1.4rem; }
.tl-legend { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; font-size: 0.84rem; color: var(--ink-soft); }
.tl-legend span { display: inline-flex; align-items: center; gap: 0.4rem; }
.tk-sw { display: inline-block; width: 0.85rem; height: 0.85rem; border-radius: 4px; border: 1px solid; }
.tl { list-style: none; margin: 0; padding: 0 !important; max-width: 56rem; }
.tl-row { position: relative; margin: 0; display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: 0.9rem; padding-bottom: 1.1rem; }
.tl-row::before { content: ""; position: absolute; left: 1rem; top: 0.4rem; bottom: -0.4rem; width: 2px; margin-left: -1px; background: var(--line); }
.tl-row:last-child::before { display: none; }
.tl-dot { position: relative; z-index: 1; justify-self: center; margin-top: 0.3rem; width: 0.9rem; height: 0.9rem; border-radius: 50%; border: 2px solid var(--ink-faint); background: #ffffff; }
.tl-test.is-done .tl-dot { background: var(--sage); border-color: var(--sage); }
.tl-test.is-next .tl-dot { border-color: var(--brand); }
.tl-test.is-ask .tl-dot { border-color: var(--gold); background: var(--gold-soft); }
.tl-mini .tl-dot { width: 0.6rem; height: 0.6rem; margin-top: 0.45rem; }
.tl-line .tl-dot { width: 1.4rem; height: 1.4rem; margin-top: 1rem; border-color: var(--brand-line); background: var(--brand-soft); }
.tl-line.is-now .tl-dot { background: var(--brand); border-color: var(--brand); box-shadow: 0 0 0 4px rgba(31, 111, 107, 0.15); }
.tl-line.is-done .tl-dot { background: var(--sage); border-color: var(--sage); }
.tl-tb { min-width: 0; }
.tl-th { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.2rem 0.6rem; }
.tl-th strong { font-weight: 500; color: var(--ink); }
.tl-st { font-size: 0.74rem; font-weight: 500; padding: 0.05rem 0.5rem; border-radius: 999px; background: var(--surface-2); color: var(--ink-soft); }
.tl-test.is-done .tl-st { background: var(--sage-soft); color: var(--sage-strong); }
.tl-test.is-done .tl-st::before { content: "\2713\00a0"; }
.tl-test.is-next .tl-st { background: var(--brand-soft); color: var(--brand-strong); }
.tl-test.is-ask .tl-st { background: var(--gold-soft); color: var(--gold-strong); }
.tl-why { margin: 0.15rem 0 0; font-size: 0.9rem; color: var(--ink-2); }
.tl-why b { font-weight: 500; color: var(--sage-strong); }
.tl-mini .tl-why { color: var(--ink-soft); font-size: 0.85rem; }
.tl-more { display: inline-block; margin-top: 0.15rem; font-size: 0.84rem; font-weight: 500; }
.tl-card { min-width: 0; padding: 1rem 1.1rem; border-radius: 16px; border: 1px solid var(--line); background: #ffffff; }
.tl-line.is-now .tl-card { border: 2px solid var(--brand); padding: calc(1rem - 1px) calc(1.1rem - 1px); box-shadow: 0 10px 28px -18px rgba(31, 111, 107, 0.6); }
.tl-line.is-done .tl-card { background: var(--bg-alt); padding-block: 0.75rem; }
.tl-lh { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 0.5rem; }
.tl-lh h3 { margin: 0 0.3rem 0 0; font-size: 1.2rem; font-weight: 500; color: var(--brand-strong); }
.tl-had { margin: 0.4rem 0 0; font-size: 0.92rem; color: var(--sage-strong); }
.tl-had strong { font-weight: 500; color: var(--ink); }
.tl-opts { display: grid; margin-top: 0.6rem; }
.tl-opt { display: grid; gap: 0.35rem; padding: 0.75rem 0; border-top: 1px solid var(--line-soft); }
.tl-opt:first-child { border-top: 0; padding-top: 0.2rem; }
.tl-opt > strong { font-weight: 500; color: var(--ink); }
.tl-opt > p { margin: 0; font-size: 0.84rem; color: var(--ink-soft); }
.tl-opt.is-had, .tl-opt.is-cur { margin: 0.2rem -0.6rem; padding: 0.7rem 0.6rem; border-radius: 12px; border-top: 0; }
.tl-opt.is-had { background: var(--sage-soft); }
.tl-opt.is-cur { background: var(--brand-soft); }
.tl-opt.is-still > strong::after { content: ""; }
.tl-rx { display: flex; flex-wrap: wrap; align-items: center; gap: 0.3rem; }
.tl-card .mx-trial { margin-top: 0.6rem; }
@media (max-width: 600px) {
  .tl-row { grid-template-columns: 1.3rem minmax(0, 1fr); gap: 0.6rem; }
  .tl-row::before { left: 0.65rem; }
  .tl-card { padding: 0.85rem 0.9rem; }
  .tl-line.is-now .tl-card { padding: calc(0.85rem - 1px) calc(0.9rem - 1px); }
  .tl-line .tl-dot { width: 1.1rem; height: 1.1rem; }
}
.tk-sw.tk-io { background: var(--brand-line); } .tk-sw.tk-chemo { background: var(--clay-line); } .tk-sw.tk-tab { background: var(--gold-line); }
.tk-sw.tk-ab { background: var(--sky-line); } .tk-sw.tk-local { background: var(--sage-line); }
.tl-line.is-now .mx-st { background: var(--brand); color: #ffffff; }
.tl-line.is-done .mx-st { background: var(--sage-soft); color: var(--sage-strong); }

/* My path v4: step-by-step branch selector (no chat), forks instead of dead ends, country, what next */
.pt-grid.ps-grid { display: block; }
.ps-wrap { max-width: 56rem; }
.ps { list-style: none; margin: 0.9rem 0 0; padding: 0 !important; display: grid; }
.ps-step { position: relative; margin: 0; display: grid; grid-template-columns: 2.3rem minmax(0, 1fr); gap: 0.9rem; padding-bottom: 1.4rem; }
.ps-step::before { content: ""; position: absolute; left: 1.15rem; top: 2.3rem; bottom: 0; width: 2px; margin-left: -1px; background: var(--brand-line); }
.ps-step:last-child::before { display: none; }
.ps-num { position: relative; z-index: 1; display: grid; place-items: center; width: 2.3rem; height: 2.3rem; border-radius: 50%; border: 2px solid var(--brand-line); background: #ffffff; font-weight: 500; color: var(--ink-soft); }
.ps-step.is-done .ps-num { background: var(--brand); border-color: var(--brand); color: #ffffff; }
.ps-step.is-cur .ps-num { border-color: var(--brand); color: var(--brand); box-shadow: 0 0 0 5px rgba(31, 111, 107, 0.14); }
.ps-body { display: grid; gap: 0.5rem; min-width: 0; padding-top: 0.3rem; }
.ps-q { margin: 0; font-weight: 500; font-size: 1.08rem; color: var(--ink); }
.ps-step.is-done .ps-q { font-size: 0.95rem; color: var(--ink-soft); font-weight: 400; }
.ps-help { margin: 0; font-size: 0.88rem; color: var(--ink-soft); }
.ps-opt { font-size: 0.78rem; font-weight: 400; color: var(--ink-soft); }
.ps-chips { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.ps-chip { display: inline-flex; flex-direction: column; align-items: flex-start; text-align: left; max-width: 100%; }
.ps-chip small { font-size: 0.76rem; color: var(--ink-soft); }
.ps-chip[aria-pressed="true"] small { color: rgba(255, 255, 255, 0.85); }
.ps-step.is-done .ps-chip:not([aria-pressed="true"]) { opacity: 0.55; padding: 0.4rem 0.75rem; font-size: 0.88rem; }
.ps-step.is-done .ps-chip:not([aria-pressed="true"]):hover { opacity: 1; }
.ps-ack { margin: 0; padding: 0.55rem 0.8rem; border-radius: 12px; background: var(--brand-soft); color: var(--brand-strong); font-size: 0.92rem; justify-self: start; }
.ps-assumed { margin: 0; justify-self: start; padding: 0.15rem 0.6rem; border-radius: 999px; background: var(--gold-soft); color: var(--gold-strong); font-size: 0.8rem; font-weight: 500; }
.ps-fork { display: grid; gap: 0.6rem; padding: 0.8rem 0.95rem; border-radius: 14px; border: 1px dashed var(--gold-line); background: #fffdf8; }
.ps-find { font-weight: 500; text-decoration: none; }
.ps-find span { font-weight: 400; color: var(--ink-soft); }
.ps-find:hover { text-decoration: underline; }
.ps-explore { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; font-size: 0.88rem; color: var(--ink-soft); }
.ps-explore > span { flex: 1 1 100%; }
.ps-try { all: unset; cursor: pointer; padding: 0.3rem 0.75rem; border-radius: 999px; border: 1px dashed var(--brand); color: var(--brand-strong); font-size: 0.88rem; font-weight: 500; }
.ps-try:hover { background: var(--brand-soft); }
.ps-try:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.ps-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem 1.4rem; margin: 0.2rem 0 0 3.2rem; }
.ps-end { margin: 0; flex: 1 1 100%; font-size: 1rem; color: var(--ink); }
.ps-tools { display: inline-flex; gap: 1.2rem; }
.tl-pay { margin: 0.1rem 0 0; display: flex; flex-wrap: wrap; gap: 0.3rem 0.5rem; align-items: baseline; font-size: 0.8rem; }
.tl-pay b { font-weight: 500; color: var(--ink-soft); margin-right: 0.1rem; }
.pay { padding: 0.05rem 0.5rem; border-radius: 999px; }
.pay-lung, .pay-yes { background: var(--sage-soft); color: var(--sage-strong); }
.pay-lung::before, .pay-yes::before { content: "\2713\00a0"; }
.pay-listed, .pay-other { background: var(--gold-soft); color: var(--gold-strong); }
.pay-no { background: var(--surface-2); color: var(--ink-soft); }
.tl-landnote { margin: 0 0 1.2rem; padding: 0.7rem 0.9rem; border-radius: 12px; background: var(--gold-soft); color: var(--gold-strong); font-size: 0.9rem; max-width: 56rem; }
.nx { display: grid; gap: 0.7rem; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); }
.nx-card { all: unset; box-sizing: border-box; cursor: pointer; position: relative; display: flex; flex-direction: column; gap: 0.25rem; padding: 0.95rem 2.4rem 0.95rem 1rem; border-radius: 14px; border: 1px solid var(--line); background: #ffffff; color: var(--ink); text-decoration: none; transition: border-color 0.15s, box-shadow 0.15s; }
.nx-card:hover { border-color: var(--brand); box-shadow: 0 8px 22px -16px rgba(31, 111, 107, 0.6); text-decoration: none; }
.nx-card:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.nx-card strong { font-weight: 500; }
.nx-card span { font-size: 0.86rem; color: var(--ink-soft); }
.nx-card .icon { position: absolute; right: 0.9rem; top: 1.05rem; width: 1rem; height: 1rem; color: var(--brand); }
.nx-card[data-fwd] { border-color: var(--brand-line); background: var(--brand-soft); }
@media (max-width: 600px) { .ps-step { grid-template-columns: 1.9rem minmax(0, 1fr); gap: 0.7rem; } .ps-num { width: 1.9rem; height: 1.9rem; } .ps-step::before { left: 0.95rem; top: 1.9rem; } .ps-foot { margin-left: 0; } }

/* My path v5: tests in the tree, treatments alone and larger below */
.ps-tests .ps-num { background: var(--sage-soft); border-color: var(--sage-line); color: var(--sage-strong); }
.ps-tests .ps-num .icon { width: 1.15rem; height: 1.15rem; }
.ps-q-strong { font-weight: 500 !important; font-size: 1.08rem !important; color: var(--ink) !important; }
.pt-tests { list-style: none; margin: 0.2rem 0 0; padding: 0 !important; display: grid; gap: 0.6rem; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); }
.pt-test { margin: 0; display: flex; flex-direction: column; gap: 0.25rem; padding: 0.8rem 0.9rem; border-radius: 12px; border: 1px solid var(--line-soft); background: #ffffff; }
.pt-test .tl-st { align-self: flex-start; }
.pt-test strong { font-weight: 500; color: var(--ink); }
.pt-why { font-size: 0.86rem; color: var(--ink-2); }
.pt-why b { font-weight: 500; color: var(--sage-strong); }
.pt-test.is-done .tl-st { background: var(--sage-soft); color: var(--sage-strong); }
.pt-test.is-done .tl-st::before { content: "\2713\00a0"; }
.pt-test.is-next .tl-st { background: var(--brand-soft); color: var(--brand-strong); }
.pt-test.is-ask { border-color: var(--gold-line); }
.pt-test.is-ask .tl-st { background: var(--gold-soft); color: var(--gold-strong); }
.pt-test.is-later .tl-st { background: var(--sky-soft); color: var(--sky-strong); }

.tx > h2 { font-size: clamp(1.7rem, 3.4vw, 2.2rem); }
.tx-ctl { display: grid; gap: 1rem; margin: 0 0 1.6rem; padding: 1.1rem 1.2rem; border-radius: 16px; border: 1px solid var(--line); background: #ffffff; max-width: 64rem; }
.tx-row { display: grid; gap: 0.45rem; }
.tx-row + .tx-row { padding-top: 1rem; border-top: 1px solid var(--line-soft); }
.tx-q { margin: 0; font-weight: 500; color: var(--ink); display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.6rem; }
.tx-row:not(.is-open) .ps-chip:not([aria-pressed="true"]) { opacity: 0.6; }
.tx-row:not(.is-open) .ps-chip:not([aria-pressed="true"]):hover { opacity: 1; }

.tx .tl { max-width: 64rem; }
.tx .tl-row { grid-template-columns: 2.4rem minmax(0, 1fr); gap: 1.1rem; padding-bottom: 1.6rem; }
.tx .tl-row::before { left: 1.2rem; top: 1.6rem; }
.tx .tl-line .tl-dot { width: 1.8rem; height: 1.8rem; margin-top: 1.5rem; }
.tx .tl-card { padding: 1.4rem 1.6rem; border-radius: 20px; }
.tx .tl-line.is-now .tl-card { padding: calc(1.4rem - 1px) calc(1.6rem - 1px); }
.tx .tl-line.is-done .tl-card { padding-block: 1rem; }
.tx .tl-lh h3 { font-size: 1.55rem; }
.tx .tl-lh .mx-st, .tx .tl-lh .mx-key { font-size: 0.8rem; padding: 0.2rem 0.7rem; }
.tx .tl-opts { margin-top: 0.9rem; }
.tx .tl-opt { gap: 0.55rem; padding: 1.05rem 0; }
.tx .tl-opt > strong { font-size: 1.15rem; }
.tx .tl-opt > p { font-size: 0.95rem; }
.tx .tl-rx { gap: 0.4rem; }
.tx .tk { font-size: 0.98rem; padding: 0.32rem 0.85rem; }
.tx .tk-plus, .tx .tk-or { font-size: 0.85rem; }
.tx .tl-pay { font-size: 0.86rem; }
.tx .tl-had { font-size: 1rem; }
.tx .tl-opt.is-had, .tx .tl-opt.is-cur { margin: 0.3rem -0.8rem; padding: 0.95rem 0.8rem; }
.tx .mx-along { font-size: 0.95rem; max-width: 64rem; }
@media (max-width: 600px) {
  .tx .tl-row { grid-template-columns: 1.4rem minmax(0, 1fr); gap: 0.6rem; }
  .tx .tl-row::before { left: 0.7rem; }
  .tx .tl-line .tl-dot { width: 1.2rem; height: 1.2rem; }
  .tx .tl-card, .tx .tl-line.is-now .tl-card { padding: 1rem 1rem; }
  .tx .tl-lh h3 { font-size: 1.3rem; }
  .tx-ctl { padding: 0.9rem; }
}

/* My path: purpose statement, options usual for other results, sources on cards */
.ps-purpose { display: flex; gap: 0.7rem; align-items: flex-start; margin: 0.9rem 0 0.4rem; padding: 0.85rem 1rem; border-radius: 14px; border: 1px solid var(--line); background: var(--bg-alt); font-size: 0.9rem; color: var(--ink-2); max-width: 56rem; }
.ps-purpose .icon { flex: none; width: 1.2rem; height: 1.2rem; margin-top: 0.1rem; color: var(--ink-soft); }
.ps-purpose p { margin: 0; }
.ps-purpose strong { font-weight: 500; color: var(--ink); }
.tl-opt.is-other { opacity: 0.6; }
.tl-opt.is-other:hover, .tl-opt.is-other:focus-within { opacity: 1; }
.tl-opt.is-other .mx-tag { color: var(--ink-soft); border-color: var(--line); }
.tl-opt.is-other .tl-pay { display: none; }
.mx-pop-src { margin: 0.5rem 0 0; font-size: 0.74rem; color: var(--ink-soft); }

/* My path: two biomarkers */
.tl-tags { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.tl-src { padding: 0.1rem 0.55rem; border-radius: 999px; font-size: 0.74rem; font-weight: 500; background: var(--sky-soft); color: var(--sky-strong); border: 1px solid var(--sky-line); }
.ps-two { font-style: italic; }
.tl-none { margin: 0 0 0.6rem; padding: 0.8rem 1rem; border-radius: 12px; background: var(--brand-soft); color: var(--brand-strong); font-size: 0.95rem; }
.tl-conds { margin: 0; padding-left: 1.1rem; display: grid; gap: 0.25rem; font-size: 0.95rem; color: var(--ink-2); }
.tl-conds li { margin: 0; }

/* My path: study building block (blue) and its hover card */
.tk-study { background: #e8f0fe; color: #1a4f9c; border-color: #a9c4f2; text-decoration: none; cursor: pointer; }
a.tk-study:hover, .tk-study[aria-expanded="true"] { background: #1a4f9c; border-color: #1a4f9c; color: #ffffff; text-decoration: none; box-shadow: none; }
a.tk-study:focus-visible { outline: 2px solid #1a4f9c; outline-offset: 2px; }
.tk-sw.tk-study { background: #a9c4f2; border-color: #a9c4f2; }
.tl-study { border-top: 1px dashed var(--line) !important; }
.tl-study > strong { color: #1a4f9c !important; }
.mx-study-t { margin: 0 0 0.9rem; font-size: 0.92rem; color: var(--ink-2); }
.mx-study-a { display: inline-flex; align-items: center; padding: 0.55rem 1rem; border-radius: 999px; background: #1a4f9c; color: #ffffff !important; font-weight: 500; text-decoration: none; }
.mx-study-a:hover { background: #143d79; text-decoration: none; }
.mx-study-t b { font-weight: 500; color: var(--ink); }

/* Medicine: preview (hover) and side panel (click) */
.md-works { margin: 0 0 0.5rem; font-size: 0.95rem; color: var(--ink); }
.md-p { margin: 0.35rem 0; font-size: 0.9rem; color: var(--ink-2); }
.md-p b { font-weight: 500; color: var(--ink); }
.md-k { margin: 0.8rem 0 0.3rem; font-size: 0.76rem; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-soft); }
.md-prev-eff { margin: 0.6rem 0 0; padding: 0.6rem 0.7rem; border-radius: 12px; background: #fbfaf7; }
.md-full { all: unset; cursor: pointer; display: inline-flex; margin-top: 0.8rem; padding: 0.5rem 1rem; border-radius: 999px; background: var(--brand); color: #ffffff; font-weight: 500; font-size: 0.9rem; }
.md-full:hover { background: var(--brand-hover); }
.md-full:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

.md { position: fixed; z-index: 80; top: 0; right: 0; bottom: 0; width: min(32rem, 100vw); overflow-y: auto; overscroll-behavior: contain; background: #ffffff; border-left: 1px solid var(--line); box-shadow: -24px 0 60px -30px rgba(32, 33, 36, 0.45); outline: none; }
.md[hidden] { display: none; }
.md-h { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; padding: 1.1rem 1.3rem 0.6rem; background: #ffffff; }
.md-h h2 { margin: 0.1rem 0 0; font-size: 1.6rem; }
.md-nav { position: sticky; top: 4.6rem; z-index: 2; display: flex; gap: 0.35rem; overflow-x: auto; padding: 0.4rem 1.3rem 0.7rem; background: #ffffff; border-bottom: 1px solid var(--line-soft); scrollbar-width: none; }
.md-nav a { flex: none; padding: 0.3rem 0.75rem; border-radius: 999px; border: 1px solid var(--line); font-size: 0.82rem; font-weight: 500; color: var(--ink-2); text-decoration: none; }
.md-nav a:hover { border-color: var(--brand); color: var(--brand-strong); }
.md-body { padding: 0.4rem 1.3rem 1.6rem; }
.md-sec { padding: 1rem 0; border-bottom: 1px solid var(--line-soft); scroll-margin-top: 7.5rem; }
.md-sec h3 { margin: 0 0 0.6rem; font-size: 1.1rem; color: var(--brand-strong); }
.md-sum { padding-top: 0.6rem; }
.md-note { margin: 0 0 0.6rem; padding: 0.55rem 0.75rem; border-radius: 10px; background: var(--gold-soft); color: var(--gold-strong); font-size: 0.86rem; }
.md-norank { margin-top: 1rem; background: var(--bg-alt); color: var(--ink-soft); }
.md-study { margin: 0.6rem 0 0; font-size: 0.86rem; color: var(--ink-soft); }
.md-more { margin-top: 0.6rem; }
.md-more > summary { cursor: pointer; font-size: 0.88rem; font-weight: 500; color: var(--brand); }
.md-src { margin: 0.4rem 0 0; font-size: 0.78rem; color: var(--ink-soft); }
.md-link { display: inline-block; margin-top: 0.6rem; font-size: 0.9rem; font-weight: 500; }
.md-foot { margin-top: 0.6rem; }
.md-foot > summary { cursor: pointer; font-size: 0.84rem; color: var(--ink-soft); }
.md-foot p { font-size: 0.78rem; color: var(--ink-soft); }

/* time bars for the median */
.mb { margin-top: 0.8rem; }
.mb-r { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr) 5.5rem; gap: 0.5rem; align-items: center; margin: 0.25rem 0; font-size: 0.84rem; }
.mb-l { color: var(--ink-2); overflow-wrap: anywhere; }
.mb-t { height: 0.7rem; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.mb-t i { display: block; height: 100%; border-radius: 999px; }
.mb-t i.drug { background: var(--brand); }
.mb-t i.comp { background: #9aa3a8; }
.mb-v { font-weight: 500; color: var(--ink); text-align: right; white-space: nowrap; }

/* side effects with frequency */
.ae-list { display: grid; gap: 0.45rem; }
.ae { display: grid; grid-template-columns: minmax(0, 1fr) 6.5rem 5.6rem; gap: 0.6rem; align-items: center; font-size: 0.88rem; }
.ae-list.is-mini .ae { grid-template-columns: minmax(0, 1fr) 4.5rem 4.6rem; font-size: 0.84rem; }
.ae-n { color: var(--ink); }
.ae-t { position: relative; height: 0.65rem; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.ae-t i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--clay-line); }
.ae-t b { position: absolute; left: 0; top: 0; bottom: 0; background: var(--clay-strong); }
.ae-v { font-weight: 500; color: var(--ink); text-align: right; white-space: nowrap; }
.ae-v small { display: block; font-weight: 400; font-size: 0.74rem; color: var(--clay-strong); }
.ae-cat { grid-column: 2 / -1; justify-self: end; padding: 0.1rem 0.55rem; border-radius: 999px; font-size: 0.76rem; font-weight: 500; }
.ae-vc { background: var(--clay-soft); color: var(--clay-strong); }
.ae-c { background: var(--surface-2); color: var(--ink-2); }
.md-legend { display: flex; align-items: center; gap: 0.4rem; margin: 0 0 0.5rem; font-size: 0.78rem; color: var(--ink-soft); }
.md-legend i { display: inline-block; width: 0.9rem; height: 0.55rem; border-radius: 999px; }
.md-legend .lg-a { background: var(--clay-line); }
.md-legend .lg-s { background: var(--clay-strong); margin-left: 0.5rem; }
.md-serious { margin-top: 0.9rem; padding: 0.75rem 0.9rem; border-radius: 12px; border: 1px solid var(--clay-line); background: var(--clay-soft); }
.md-serious b { display: block; font-weight: 500; color: var(--clay-strong); margin-bottom: 0.2rem; }
.md-serious p { margin: 0; font-size: 0.88rem; color: var(--ink); }

/* daily life */
.md-life { margin: 0; display: grid; gap: 0.55rem; }
.md-life-r { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: 0.6rem; padding: 0.55rem 0.7rem; border-radius: 10px; background: var(--bg-alt); }
.md-life-r dt { font-size: 0.8rem; font-weight: 500; color: var(--ink-soft); }
.md-life-r dd { margin: 0; font-size: 0.9rem; color: var(--ink); }
.md-life-watch { background: var(--gold-soft); }

/* insurance */
.md-pay { display: flex; justify-content: space-between; gap: 0.8rem; margin: 0.25rem 0; padding: 0.35rem 0.6rem; border-radius: 8px; font-size: 0.86rem; color: var(--ink-2); }
.md-pay span { color: var(--ink-soft); }
.md-pay.is-big { padding: 0.65rem 0.8rem; font-size: 0.98rem; font-weight: 500; }
.md-pay.is-big span { color: inherit; }
.md-pay.pay-lung, .md-pay.pay-yes { background: var(--sage-soft); color: var(--sage-strong); }
.md-pay.pay-listed, .md-pay.pay-other { background: var(--gold-soft); color: var(--gold-strong); }
.md-pay.pay-no { background: var(--surface-2); }

@media (max-width: 760px) {
  .md { top: 6vh; width: 100vw; border-left: 0; border-radius: 18px 18px 0 0; box-shadow: 0 -20px 50px -20px rgba(32, 33, 36, 0.45); }
  .md-h h2 { font-size: 1.35rem; }
  .ae { grid-template-columns: minmax(0, 1fr) 4.5rem 4.8rem; }
  .mb-r { grid-template-columns: 5.5rem minmax(0, 1fr) 4.8rem; }
  .md-life-r { grid-template-columns: 1fr; gap: 0.15rem; }
}
.ae-q4, .ae-q5 { background: var(--clay-soft); color: var(--clay-strong); }
.ae-cat small { display: block; font-weight: 400; font-size: 0.72rem; text-align: right; }
/* side effects: one format for exact figures and published frequency classes */
.ae-t u { position: absolute; top: 0; bottom: 0; text-decoration: none; background: repeating-linear-gradient(135deg, var(--clay-line) 0 3px, transparent 3px 6px); opacity: 0.7; }
.md-legend .lg-m { background: repeating-linear-gradient(135deg, var(--clay-line) 0 3px, transparent 3px 6px); border: 1px solid var(--clay-line); margin-left: 0.5rem; }
@media (max-width: 760px) { .ae { grid-template-columns: minmax(0, 1fr) 4rem 5.4rem; } }

/* main treatments without a medicine (surgery, radiotherapy): clickable like the medicines */
button.tk.tk-local { cursor: pointer; font: inherit; }
button.tk.tk-local:hover, button.tk.tk-local[aria-expanded="true"] { filter: brightness(0.95); box-shadow: 0 0 0 2px var(--sage-strong, #3c6e57) inset; }
button.tk.tk-local:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.md-se { margin: 0.2rem 0 0; padding-left: 1.1rem; display: grid; gap: 0.3rem; font-size: 0.9rem; color: var(--ink); }
.md-se.is-mini { font-size: 0.86rem; gap: 0.15rem; }

/* reimbursement list not yet checked (new SCLC medicines) */
.pay.pay-unk, .md-pay.pay-unk { background: var(--surface-2); color: var(--ink-soft); font-style: italic; }
.pay.pay-notHere, .md-pay.pay-notHere { background: var(--gold-soft); color: var(--gold-strong); }

/* My path: acknowledge before the treatments (curtain with a preview) */
.ps-pshort, .ps-pmore { display: none; }
.ps-purpose.is-short .ps-plong { display: none; }
.ps-purpose.is-short .ps-pshort { display: inline; }
.ps-purpose.is-short .ps-pmore { all: unset; display: inline; cursor: pointer; color: var(--brand); font-weight: 500; text-decoration: underline; text-underline-offset: 2px; }
.ps-purpose.is-short .ps-pmore:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.ps-purpose.is-short { padding: 0.55rem 0.9rem; }
#pd-treat h2:focus { outline: none; }
.cv { margin-top: 1rem; padding: 1.3rem 1.4rem 1.5rem; border: 1px solid var(--line); border-radius: 20px; background: #ffffff; }
.cv-count { margin: 0 0 1rem; font-size: 1.2rem; font-weight: 500; color: var(--ink); }
.cv-prev { display: grid; gap: 0.75rem; -webkit-mask-image: linear-gradient(#000 45%, transparent); mask-image: linear-gradient(#000 45%, transparent); user-select: none; }
.cv-lane { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 0.9rem; align-items: center; }
.cv-lh { font-weight: 500; color: var(--ink-2); }
.cv-lh b { display: inline-grid; place-items: center; min-width: 1.5rem; height: 1.5rem; margin-left: 0.3rem; padding: 0 0.35rem; border-radius: 999px; background: var(--brand-soft); color: var(--brand-strong); font-size: 0.8rem; font-weight: 500; }
.cv-bars { display: flex; flex-wrap: wrap; gap: 0.5rem; filter: blur(3px); }
.cv-bars i { display: block; height: 2.3rem; max-width: 100%; border-radius: 12px; background: var(--surface-2); }
.cv-bars .cv-io { background: var(--brand-line); } .cv-bars .cv-chemo { background: var(--clay-line); } .cv-bars .cv-tab { background: var(--gold-line); }
.cv-bars .cv-ab { background: var(--sky-line); } .cv-bars .cv-local { background: var(--sage-line); }
.cv-card { position: relative; max-width: 33rem; margin: -2.2rem auto 0; padding: 1.2rem 1.3rem 1.3rem; border: 1px solid var(--line); border-radius: 18px; background: #ffffff; box-shadow: 0 22px 50px -26px rgba(32, 33, 36, 0.5); }
.cv-h { margin: 0 0 0.5rem; font-size: 1.1rem; font-weight: 500; color: var(--ink); }
.cv-list { margin: 0 0 1rem; padding-left: 1.15rem; display: grid; gap: 0.3rem; font-size: 0.95rem; color: var(--ink-2); }
.cv-btn { all: unset; cursor: pointer; display: inline-flex; padding: 0.7rem 1.25rem; border-radius: 999px; background: var(--brand); color: #ffffff; font-weight: 500; font-size: 1rem; }
.cv-btn:hover { background: var(--brand-hover); }
.cv-btn:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
@media (max-width: 760px) {
  .cv { padding: 1rem 1rem 1.2rem; }
  .cv-lane { grid-template-columns: 1fr; gap: 0.35rem; }
  .cv-card { margin-top: -1.5rem; }
  .cv-btn { display: flex; justify-content: center; text-align: center; }
}

/* My path: "What next?" in groups */
.nx-g { margin-top: 1.1rem; }
.nx-gh { margin: 0 0 0.5rem; font-size: 0.78rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); }
.nx-more { margin: 1.1rem 0 0; font-size: 0.92rem; color: var(--ink-soft); }
.nx-more span { margin-right: 0.3rem; }
/* My questions for the appointment */
#pd-ask .pd-lead { max-width: 46rem; }
.aq-g { margin-top: 1rem; }
.aq-gh { margin: 0 0 0.45rem; font-size: 0.78rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand-strong); }
.aq-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; max-width: 46rem; }
.aq { padding: 0.6rem 0.8rem; border: 1px solid var(--line); border-radius: 12px; background: #ffffff; }
.aq.is-on { border-color: var(--brand-line); background: var(--brand-soft); }
.aq label { display: flex; gap: 0.65rem; 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.15rem; accent-color: var(--brand); }
.aq-why { margin: 0.25rem 0 0 1.8rem; }
.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.2rem 0 0 1.8rem; font-size: 0.82rem; color: var(--ink-soft); text-decoration: underline; }
.aq-own { display: flex; gap: 0.5rem; margin-top: 1rem; max-width: 46rem; }
.aq-own input { flex: 1; min-width: 0; padding: 0.6rem 0.8rem; border: 1px solid var(--line); border-radius: 10px; font: inherit; font-size: 0.95rem; background: #ffffff; 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.55rem 1rem; border-radius: 999px; border: 1px solid var(--line); background: #ffffff; color: var(--ink); font-weight: 500; font-size: 0.92rem; }
.aq-btn:hover { border-color: var(--brand); color: var(--brand-strong); }
.aq-btn.is-main { background: var(--brand); border-color: var(--brand); color: #ffffff; }
.aq-btn.is-main:hover { background: var(--brand-hover); color: #ffffff; }
.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); }
.aq-print { display: none; }
@media (max-width: 760px) { .aq-own { flex-direction: column; } .aq-own .aq-btn { text-align: center; } }
@media print {
  html.print-asks .pa-hide { display: none !important; }
  html.print-asks body, html.print-asks .pd, html.print-asks .wrap, html.print-asks .pd-sec { background: #ffffff !important; box-shadow: none !important; }
  html.print-asks .pd-cols { display: block; }
  html.print-asks .aq-list, html.print-asks .wrap { max-width: none; }
  html.print-asks #pd-ask { margin: 0; padding: 0; width: 100%; }
  html.print-asks .aq-own, html.print-asks .aq-tools, html.print-asks .aq-why, html.print-asks .aq-del, html.print-asks #pd-ask .pd-lead, html.print-asks .aq input { display: none; }
  html.print-asks .has-pick .aq:not(.is-on), html.print-asks .aq-g.is-empty { display: none; }
  html.print-asks .aq-print { display: block; font-size: 0.9rem; color: #444; }
  html.print-asks .aq { border: 0; border-bottom: 1px solid #bbb; border-radius: 0; background: none; padding: 0.5rem 0 1.6rem; }
}

/* Verstehen pages (17.11.2026): building blocks in tables, step tables, daily life box, path links */
.vs-types th .tk, .lane-table .tk { font-size: 0.9rem; }
.lane-table th[scope="row"] strong { color: var(--brand-strong); }
.vs-life { margin: 0.6rem 0 1rem; max-width: 46rem; }
.vs-path { margin-top: 0.8rem; font-weight: 500; }
.vs-path a::after { content: " →"; }

/* Verstehen -> My path: box under the summary, link under the question lists */
.vs-pathbox { display: flex; gap: 0.9rem; align-items: flex-start; margin: 0 0 1.6rem; padding: 1rem 1.1rem; border: 1px solid var(--brand-line); border-radius: 16px; background: var(--brand-soft); }
.vs-pb-icon { flex: none; display: grid; place-items: center; width: 2.3rem; height: 2.3rem; border-radius: 999px; background: #ffffff; color: var(--brand); }
.vs-pb-icon .icon { width: 1.2rem; height: 1.2rem; }
.vs-pb-h { margin: 0; font-weight: 500; color: var(--brand-strong); }
.vs-pb-sub { margin: 0.15rem 0 0.6rem; font-size: 0.92rem; color: var(--ink-2); }
.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.4rem 0.85rem; border-radius: 999px; background: #ffffff; border: 1px solid var(--brand-line); color: var(--brand-strong); font-weight: 500; font-size: 0.92rem; text-decoration: none; }
.vs-pb-link:hover { border-color: var(--brand); }
.vs-pb-link .icon { width: 0.95rem; height: 0.95rem; }
.vs-asklink { display: flex; gap: 0.5rem; align-items: center; margin-top: 0.8rem; font-weight: 500; }
.vs-asklink .icon { width: 1.1rem; height: 1.1rem; color: var(--brand); flex: none; }
@media print { .vs-pathbox, .vs-asklink { display: none; } }

/* Verstehen pages: clickable medicines and treatments (same cards as "My path") */
.mk-ex { display: block; margin-top: 0.35rem; }
.vs-rxs { display: flex; flex-wrap: wrap; gap: 0.35rem 0.4rem; align-items: center; margin-top: 0.3rem; }
.vs-rx { display: inline-flex; flex-wrap: wrap; gap: 0.25rem; align-items: center; }
.vs-rxs .tk, .lane-table button.tk { font-size: 0.82rem; padding: 0.15rem 0.6rem; }
.vs-rxs .tk-plus, .vs-rxs .tk-or { font-size: 0.8rem; color: var(--ink-soft); }
button.tk.mx-med { cursor: pointer; font-family: inherit; }
button.tk.mx-med:hover, button.tk.mx-med[aria-expanded="true"] { box-shadow: 0 0 0 2px currentColor inset; }
button.tk.mx-med:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.mx-pop .cv-list { margin: 0.4rem 0 0.2rem; }

/* My path: note when the treatment question cannot appear yet */
.tx-wait { margin: 0.4rem 0 0; padding: 0.7rem 0.9rem; border-radius: 12px; background: var(--bg-alt); color: var(--ink-2); font-size: 0.95rem; }
.ps-q .ps-opt { font-size: 0.8rem; font-weight: 400; color: var(--ink-soft); }

/* My path: link from "If it comes back" into the stage IV branch */
.tl-recur { margin: 0.6rem 0 0; font-weight: 500; }

/* Verstehen: tickable lists (same look as "My questions" on My path) */
.content .vs-aq { list-style: none; margin: 0.4rem 0 0; padding: 0 !important; max-width: 46rem; }
.content .vs-aq li { margin: 0; }
.content ol.vs-aq { counter-reset: none; }
.content .aq-gh, .content h3.aq-gh { margin: 1.2rem 0 0.45rem; font-family: var(--font); font-size: 0.78rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand-strong); }
.vs-aq-tools { max-width: 46rem; }
.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 print {
  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; }
}
/* "What you can do next" as cards */
.vs-next ul { display: none; }
.vs-next .nx { margin-top: 0.4rem; }
.nx-kick { font-size: 0.72rem !important; font-weight: 500; 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); }
/* timing labels in test tables */
.vs-when { display: inline-block; margin: 0.3rem 0 0; padding: 0.08rem 0.55rem; border-radius: 999px; font-size: 0.74rem; font-weight: 500; background: var(--surface-2); color: var(--ink-2); }
th .vs-when { display: table; }
.vs-when.is-next { background: var(--brand-soft); color: var(--brand-strong); }
.vs-when.is-ask { background: var(--gold-soft); color: var(--gold-strong); }
.vs-when.is-done { background: var(--sage-soft); color: var(--sage-strong); }
/* calmer, firmer headings like on My path */
.content h2 { font-weight: 600; letter-spacing: -0.015em; }
.content h3 { font-weight: 600; }
.content .vs-own { list-style: none; padding: 0 !important; margin: 0; max-width: 46rem; display: grid; gap: 0.45rem; }
.content .vs-aq { display: grid; gap: 0.45rem; }
.vs-next .nx-card { text-align: left; align-items: flex-start; }

/* Tests: made-up report as an annotated document (explanations level with each line) */
.rx-doc { margin: 1.2rem 0 1.4rem; }
.rx-tip { margin: 0 0 0.6rem; font-size: 0.85rem; color: var(--ink-soft); }
.rx-lines { list-style: none; margin: 0; padding: 0 !important; }
.rx-line { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 2rem; margin: 0; outline: none; }
.rx-sheet { display: grid; grid-template-columns: 6.6rem minmax(0, 1fr); gap: 0.7rem; align-items: start; padding: 0.7rem 1.1rem; background: #ffffff; border-left: 1px solid var(--line); border-right: 1px solid var(--line); border-bottom: 1px dashed var(--line); font-family: ui-monospace, "Cascadia Mono", Consolas, Menlo, monospace; font-size: 0.82rem; line-height: 1.45; transition: background 0.15s; }
.rx-top { display: block; padding: 1.1rem 1.1rem 0.8rem; border-top: 1px solid var(--line); border-radius: 10px 10px 0 0; border-bottom: 2px solid var(--ink); font-family: var(--font); }
.rx-bottom { display: block; padding: 0.6rem 1.1rem 0.8rem; border-bottom: 1px solid var(--line); border-radius: 0 0 10px 10px; text-align: center; }
.rx-stamp { display: inline-block; margin: 0 0 0.6rem; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--yellow); background: var(--yellow-soft); border-radius: 4px; padding: 0.2rem 0.5rem; }
.rx-title { margin: 0; font-weight: 600; font-size: 1.02rem; color: var(--ink); }
.rx-lab { margin: 0.15rem 0 0; font-size: 0.78rem; color: var(--ink-soft); }
.rx-end { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }
.rx-k { color: var(--ink-soft); }
.rx-v { color: var(--ink); display: flex; flex-wrap: wrap; gap: 0.35rem 0.5rem; align-items: center; }
.rx-pill { display: inline-block; padding: 0.05rem 0.55rem; border-radius: 999px; font-family: var(--font); font-size: 0.76rem; font-weight: 600; }
.rx-pill.is-pos { background: var(--clay-soft); color: var(--clay-strong); }
.rx-pill.is-neg { background: var(--surface-2); color: var(--ink-2); font-weight: 500; }
.rx-line.is-hl .rx-sheet { background: #fef7e0; box-shadow: inset 3px 0 0 #f9ab00; }
.rx-note { position: relative; align-self: center; margin: 0.35rem 0; padding: 0.55rem 0.8rem; border-radius: 10px; border: 1px solid transparent; font-size: 0.9rem; line-height: 1.45; color: var(--ink-2); transition: border-color 0.15s, background 0.15s, color 0.15s; }
.rx-note strong { font-weight: 600; color: var(--ink); }
.rx-note::before { content: ""; position: absolute; left: -2rem; top: 50%; width: 1.7rem; border-top: 1px dashed var(--line); }
.rx-note::after { content: ""; position: absolute; left: -0.45rem; top: calc(50% - 0.2rem); width: 0.4rem; height: 0.4rem; border-radius: 50%; background: var(--line); }
.rx-line:hover .rx-sheet, .rx-line:focus .rx-sheet { background: var(--brand-soft); }
.rx-line:hover .rx-note, .rx-line:focus .rx-note { background: var(--brand-soft); border-color: var(--brand-line); color: var(--ink); }
.rx-line:hover .rx-note::before, .rx-line:focus .rx-note::before { border-top: 1px solid var(--brand); }
.rx-line:hover .rx-note::after, .rx-line:focus .rx-note::after { background: var(--brand); }
.rx-doc figcaption { margin-top: 0.7rem; }
@media (max-width: 760px) {
  .rx-tip { display: none; }
  .rx-line { grid-template-columns: 1fr; background: #ffffff; border-left: 1px solid var(--line); border-right: 1px solid var(--line); border-bottom: 1px dashed var(--line); }
  .rx-sheet { border: 0; grid-template-columns: 5.4rem minmax(0, 1fr); padding: 0.7rem 0.9rem 0.3rem; }
  .rx-headrow { border-top: 1px solid var(--line); border-radius: 10px 10px 0 0; border-bottom: 2px solid var(--ink); }
  .rx-footrow { border-bottom: 1px solid var(--line); border-radius: 0 0 10px 10px; }
  .rx-top, .rx-bottom { border: 0; }
  .rx-line > span:empty { display: none; }
  .rx-note { margin: 0.2rem 0.9rem 0.7rem; padding: 0.45rem 0.7rem; background: var(--bg-alt); font-size: 0.86rem; }
  .rx-note::before, .rx-note::after { display: none; }
  .rx-line.is-hl { background: #fef7e0; box-shadow: inset 3px 0 0 #f9ab00; }
  .rx-line.is-hl .rx-sheet { background: transparent; box-shadow: none; }
}
@media print { .rx-tip { display: none; } .rx-note { border: 0; } }
.content .rx-lines > li { margin: 0 !important; padding: 0; }
.content .rx-lines > li::before { content: none; }
.rx-line:focus, .rx-line:focus-visible { outline: none; box-shadow: none; }
.rx-line:focus-visible .rx-note { box-shadow: 0 0 0 2px var(--brand); }
/* Tests: report example as a normal table (same style as the other tables on the page) */
.rx-ex { margin: 1.2rem 0 1.4rem; }
.rx-ex-h { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.7rem; margin: 0 0 0.6rem; }
.rx-ex-h strong { font-weight: 600; color: var(--ink); }
.rx-ex-stamp { display: inline-block; padding: 0.1rem 0.6rem; border-radius: 999px; background: var(--gold-soft); color: var(--gold-strong); font-size: 0.76rem; font-weight: 500; }
.rx-v2 { display: inline-flex; flex-wrap: wrap; gap: 0.3rem 0.45rem; align-items: center; }
.rx-table .rx-pill { font-family: var(--font); }
.rx-ex figcaption { margin-top: 0.6rem; }

/* NSCLC topic pages: one pointer to the small cell page */
.vs-sclc { margin: 0 0 1rem; padding: 0.7rem 0.95rem; border-radius: 12px; background: var(--bg-alt); border: 1px solid var(--line); font-size: 0.92rem; color: var(--ink-2); max-width: 46rem; }
.vs-sclc a { font-weight: 500; white-space: nowrap; }

/* Start page: "My path" section right after the header */
.hp-grid { display: grid; gap: 2rem 3.5rem; align-items: center; }
@media (min-width: 900px) { .hp-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.hp-text .section-lead { margin-bottom: 1.2rem; }
.hp-feats { list-style: none; margin: 0 0 1.4rem; padding: 0; display: grid; gap: 0.55rem; }
.hp-feats li { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 1.02rem; color: var(--ink); }
.hp-feats .icon { flex: none; width: 1.25rem; height: 1.25rem; margin-top: 0.12rem; padding: 0.15rem; border-radius: 999px; background: var(--brand-soft); color: var(--brand); }
.hp-text .cta { margin: 0 0 0.8rem; }
.hp-privacy { display: flex; gap: 0.45rem; align-items: center; margin: 0; font-size: 0.88rem; color: var(--ink-soft); }
.hp-privacy .icon { width: 1rem; height: 1rem; }
.hp-preview { padding: 1.3rem 1.4rem; border-radius: 20px; background: #ffffff; border: 1px solid var(--line); box-shadow: var(--e2); }
.hp-steps { list-style: none; margin: 0; padding: 0; position: relative; }
.hp-step { position: relative; display: grid; grid-template-columns: 2.1rem minmax(0, 1fr); gap: 0.9rem; padding: 0 0 1.1rem; align-items: start; }
.hp-step:not(:last-child)::before { content: ""; position: absolute; left: 1.05rem; top: 2.1rem; bottom: 0; border-left: 2px solid var(--line); }
.hp-num { display: grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 999px; background: var(--brand); color: #ffffff; font-weight: 500; }
.hp-step.is-next .hp-num { background: #ffffff; color: var(--ink-faint); border: 2px solid var(--line); }
.hp-step.is-next > span:last-child { padding-top: 0.35rem; color: var(--ink-faint); }
.hp-q { margin: 0.3rem 0 0.15rem; font-weight: 500; color: var(--ink); }
.hp-help { margin: 0 0 0.7rem; font-size: 0.88rem; color: var(--ink-soft); }
.hp-chips { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.hp-chip { display: inline-flex; align-items: center; padding: 0.45rem 0.95rem; border-radius: 999px; border: 1px solid var(--brand-line); background: #ffffff; color: var(--brand-strong); font-weight: 500; font-size: 0.95rem; text-decoration: none; }
.hp-chip:hover { background: var(--brand-soft); border-color: var(--brand); text-decoration: none; }
.hp-chip:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.hp-chip.is-unknown { border-style: dashed; border-color: var(--line); color: var(--ink-2); }
@media (max-width: 600px) { .hp-preview { padding: 1.1rem 1rem; } }

/* Start page "My path" teaser v2: collage of My path building blocks */
.home-path .hp-grid { grid-template-columns: 1fr; }
@media (min-width: 900px) { .home-path .hp-grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); } }
.home-path h2 { margin-bottom: 0.5rem; }
.hp-stage { position: relative; min-height: 25rem; }
.hp-card { position: absolute; background: #ffffff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 24px 50px -28px rgba(32, 33, 36, 0.45); }
.hp-card-k { margin: 0 0 0.7rem; font-size: 0.74rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand-strong); }
.hp-tl { top: 0; right: 0; width: 80%; padding: 1.1rem 1.2rem 1.2rem; }
.hp-lanes { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.hp-lane { display: grid; gap: 0.4rem; padding: 0.65rem 0.75rem; border-radius: 12px; border: 1px solid var(--line-soft); background: #fbfaf7; }
.hp-lane.is-now { border-color: var(--brand-line); background: var(--brand-soft); }
.hp-lane-h { display: flex; justify-content: space-between; align-items: center; gap: 0.6rem; font-weight: 500; font-size: 0.92rem; color: var(--ink); }
.hp-lane-h b { padding: 0.08rem 0.55rem; border-radius: 999px; background: var(--brand); color: #ffffff; font-size: 0.72rem; font-weight: 500; }
.hp-lane-h b.is-next { background: #ffffff; color: var(--ink-2); border: 1px solid var(--line); }
.hp-blocks { display: flex; flex-wrap: wrap; gap: 0.3rem; align-items: center; }
.hp-blocks .tk { font-size: 0.8rem; padding: 0.15rem 0.6rem; }
.hp-blocks .tk-plus, .hp-blocks .tk-or { font-size: 0.78rem; color: var(--ink-soft); }
.hp-q { left: 0; bottom: 0.5rem; width: 62%; padding: 1rem 1.1rem 1.1rem; z-index: 2; box-shadow: 0 28px 60px -24px rgba(31, 111, 107, 0.45); border-color: var(--brand-line); }
.hp-q-h { display: flex; align-items: center; gap: 0.6rem; margin: 0 0 0.7rem; font-weight: 500; color: var(--ink); }
.hp-q .hp-num { width: 1.8rem; height: 1.8rem; font-size: 0.9rem; flex: none; }
.hp-q .hp-chips { gap: 0.4rem; }
.hp-q .hp-chip { font-size: 0.88rem; padding: 0.38rem 0.8rem; }
.hp-ask { right: 1.2rem; bottom: -1.2rem; width: 46%; padding: 0.9rem 1rem; z-index: 1; }
.hp-ask ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.hp-ask li { display: flex; gap: 0.5rem; align-items: flex-start; font-size: 0.84rem; color: var(--ink); }
.hp-box { flex: none; display: grid; place-items: center; width: 1.05rem; height: 1.05rem; margin-top: 0.1rem; border-radius: 4px; background: var(--brand); color: #ffffff; }
.hp-box .icon { width: 0.8rem; height: 0.8rem; }
@media (max-width: 899px) {
  .hp-stage { min-height: 0; display: grid; gap: 0.8rem; }
  .hp-card { position: static; width: auto; }
  .hp-q { order: -1; }
  .hp-ask { display: none; }
}
@media (min-width: 900px) {
  .hp-stage { min-height: 27rem; }
  .hp-tl { width: 82%; }
  .hp-q { width: 54%; bottom: 1.5rem; }
  .hp-ask { width: 41%; right: 0; bottom: -0.6rem; }
}

/* Hilfe vor Ort: country switcher (Kosten, Gemeinschaft) */
[data-cs-p][hidden], .cs-btn[hidden], .cs-empty[hidden] { display: none !important; }
.cs-nav .cs-btn[aria-current="true"] { background: var(--brand); border-color: var(--brand); color: #ffffff; }
.cs-nav .cs-all { border-style: dashed; color: var(--ink-soft); }
.cs-empty { margin: 0 0 1rem; padding: 0.8rem 1rem; border-radius: 12px; background: var(--bg-alt); border: 1px solid var(--line); color: var(--ink-2); }
.cs-compare > summary { cursor: pointer; display: inline-flex; align-items: center; gap: 0.4rem; min-height: 2.5rem; padding: 0 1rem; border: 1px solid var(--line); border-radius: 10px; background: #ffffff; font-weight: 500; color: var(--brand-strong); }
.cs-compare[open] > summary { margin-bottom: 1rem; }
table.access .cs-col { background: var(--brand-soft); }
table.access th.cs-col { color: var(--brand-strong); }

/* Country switcher v2: quiet underline tabs, open sections instead of boxes */
.cs-nav { display: flex; flex-wrap: nowrap; align-items: flex-end; gap: 0; margin: 1.4rem 0 1.6rem; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.cs-nav::-webkit-scrollbar { display: none; }
.cs-nav .country-nav-label { flex: none; align-self: center; margin: 0 1rem 0 0; font-size: 0.74rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-faint); }
.cs-nav .cs-btn { flex: none; min-height: 0; padding: 0.7rem 0.95rem 0.75rem; border: 0; border-radius: 0; background: none; color: var(--ink-soft); font-size: 0.95rem; font-weight: 500; box-shadow: inset 0 -2px 0 transparent; transition: color 0.15s var(--ease), box-shadow 0.15s var(--ease); white-space: nowrap; }
.cs-nav .cs-btn:hover { background: none; color: var(--ink); box-shadow: inset 0 -2px 0 var(--line); }
.cs-nav .cs-btn[aria-current="true"] { background: none; color: var(--brand-strong); box-shadow: inset 0 -2px 0 var(--brand); }
.cs-nav .cs-all { margin-left: auto; border: 0; font-size: 0.88rem; font-weight: 400; color: var(--ink-faint); }
.cs-empty { padding: 0.1rem 0 0.1rem 1rem; border: 0; border-left: 2px solid var(--brand-line); border-radius: 0; background: none; color: var(--ink-soft); }

/* Kosten: each country as an open section separated by a hairline */
#ueberblick .country { background: none; border: 0; border-radius: 0; padding: 0 0 1.4rem; margin: 0 0 1.6rem; border-bottom: 1px solid var(--line-soft); box-shadow: none; }
#ueberblick .country:last-of-type { border-bottom: 0; }
#ueberblick .country:target { box-shadow: none; }
.content #ueberblick .country h3 { font-size: 1.35rem; font-weight: 600; margin: 0 0 0.3rem; }
.content #ueberblick .country h3::before { display: none; }
#ueberblick .acc-status { margin-bottom: 1rem !important; }
#ueberblick .table-wrap, #vergleich .table-wrap { border: 0; border-radius: 0; background: none; overflow: visible; }
#ueberblick table.data thead th, #vergleich table.data thead th { background: none; padding-left: 0; font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-faint); border-bottom: 1px solid var(--line); }
#ueberblick table.data tbody th, #ueberblick table.data td, #vergleich table.data tbody th, #vergleich table.data td { padding-left: 0; }
#ueberblick table.data tbody th { font-weight: 500; color: var(--ink-soft); font-size: 0.9rem; }
#ueberblick table.data tbody tr:hover, #vergleich table.data tbody tr:hover { background: none; }
#vergleich table.access .cs-col { background: var(--brand-soft); }
#vergleich table.access td.cs-col, #vergleich table.access th.cs-col { padding-left: 0.6rem; }

/* comparison toggle as a quiet text link */
.cs-compare > summary { list-style: none; min-height: 0; padding: 0; border: 0; background: none; color: var(--brand); font-weight: 500; }
.cs-compare > summary::-webkit-details-marker { display: none; }
.cs-compare > summary::after { content: ""; width: 0.45rem; height: 0.45rem; margin-left: 0.15rem; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform 0.15s var(--ease); }
.cs-compare[open] > summary::after { transform: rotate(-135deg) translate(-2px, 0); }
.cs-compare > summary:hover { text-decoration: underline; }
@media (max-width: 720px) {
  /* Kosten on phones: each row as an open entry (marker, medicine, what for), no boxes */
  #ueberblick table.stack tr { background: none; border: 0; border-radius: 0; border-bottom: 1px solid var(--line-soft); margin: 0; padding: 0.9rem 0; }
  #ueberblick table.stack tbody tr:last-child { border-bottom: 0; }
  #ueberblick table.stack tbody th { padding: 0 0 0.2rem; border: 0; font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand); }
  #ueberblick table.stack td { display: block; padding: 0; border: 0; }
  #ueberblick table.stack td::before { content: none; }
  #ueberblick table.stack td + td { margin-top: 0.2rem; color: var(--ink-soft); }
  .cs-nav { margin-left: -1rem; margin-right: -1rem; padding: 0 1rem; }
}
/* tabs: the section heading already says "your country", so the label is for screen readers only; tighter tabs fit all six */
.cs-nav .country-nav-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.cs-nav .cs-btn { padding: 0.7rem 0.62rem 0.75rem; font-size: 0.92rem; }
.cs-nav .cs-btn:first-of-type { padding-left: 0; }
@media (max-width: 720px) {
  .cs-nav .cs-btn:first-of-type { padding-left: 0.62rem; }
  .cs-nav { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
}
.cs-wrap { display: flex; flex-direction: column; }
.cs-wrap .cs-nav { margin-bottom: 1.6rem; }
.cs-wrap .cs-all { align-self: flex-end; margin: -1.3rem 0 1.2rem; font-size: 0.86rem; color: var(--ink-soft); }
.cs-wrap .cs-all:hover { color: var(--brand); }
@media (max-width: 720px) { .cs-nav::after { content: ""; flex: none; width: 3rem; } }

/* Clinic cards: prepare the call (replaces the website button; the website stays as source below) */
.hosp-prep { display: flex; gap: 0.55rem; align-items: flex-start; margin: 0.9rem 0 0.2rem; font-size: 0.93rem; color: var(--ink-2); }
.hosp-prep .icon { flex: none; width: 1.1rem; height: 1.1rem; margin-top: 0.2rem; color: var(--brand); }
.hosp-prep a { font-weight: 500; }

/* Clinic cards: call preparation inside the appointment box */
.hosp-booking .hosp-prep { margin: 0.75rem 0 0; padding-top: 0.7rem; border-top: 1px solid var(--gold-line); font-size: 0.92rem; }
.hosp-booking .hosp-prep .icon { color: var(--gold-strong); }
.hosp-booking .hosp-prep strong { color: var(--gold-strong); }

/* "Before you call" hint (first tap on a clinic number) */
.cp { width: min(30rem, calc(100vw - 2rem)); padding: 1.4rem 1.5rem 1.2rem; border: 0; border-radius: 20px; box-shadow: 0 30px 80px -20px rgba(32, 33, 36, 0.45); color: var(--ink); background: #ffffff; }
.cp::backdrop { background: rgba(32, 33, 36, 0.35); }
.cp-x { position: absolute; top: 0.6rem; right: 0.7rem; margin: 0; }
.cp-x button { width: 2.2rem; height: 2.2rem; border: 0; border-radius: 50%; background: none; font-size: 1.4rem; line-height: 1; color: var(--ink-soft); cursor: pointer; }
.cp-x button:hover { background: var(--surface-2); }
.cp-k { display: flex; align-items: center; gap: 0.45rem; margin: 0 2rem 0.3rem 0; font-size: 0.8rem; color: var(--ink-soft); }
.cp-k .icon { width: 0.95rem; height: 0.95rem; color: var(--brand); flex: none; }
.cp-h { margin: 0 0 0.8rem; font-size: 1.35rem; font-weight: 600; }
.cp-list { list-style: none; margin: 0 0 1.2rem; padding: 0; display: grid; gap: 0.5rem; }
.cp-list li { display: flex; gap: 0.55rem; align-items: flex-start; font-size: 0.97rem; }
.cp-list .icon { flex: none; width: 1.05rem; height: 1.05rem; margin-top: 0.22rem; color: var(--brand); }
.cp-actions { display: grid; gap: 0.55rem; }
.cp-actions .btn { justify-content: center; gap: 0.5rem; }
.cp-actions .icon { width: 1.05rem; height: 1.05rem; }
.cp-more { margin: 0.9rem 0 0; font-size: 0.85rem; color: var(--ink-soft); text-align: center; }

/* Zentren v2: same open style as Kosten. One card per clinic, inside it lines instead of boxes;
   the yellow appointment box stays the only highlight. */
.content .hosp-country { margin: 2.2rem 0 0.4rem; }
.content .hosp-country-h { font-size: 1.35rem; font-weight: 600; margin: 0 0 0.9rem; }
.content .hosp-country-h::before { display: none; }
.content .hosp .org-sub { margin: 0.6rem 0 0.1rem; font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-faint); }
.content .hosp .hosp-depts { gap: 0; margin-bottom: 0.4rem; }
.hosp .hosp-depts li { padding: 0.6rem 0; border: 0; border-bottom: 1px solid var(--line-soft); border-radius: 0; background: none; }
.hosp .hosp-depts li:last-child { border-bottom: 0; }
.content .hosp .org-contact { gap: 0; margin: 0.2rem 0 1rem; border-top: 1px solid var(--line-soft); }
.hosp .org-c { padding: 0.6rem 0; border-radius: 0; background: none; border-bottom: 1px solid var(--line-soft); gap: 0.7rem; }
.hosp a.org-c:hover { background: none; color: var(--brand-strong); }
.hosp a.org-c:hover strong { text-decoration: underline; }
.hosp .org-c > .icon { width: 1.15rem; height: 1.15rem; padding: 0; border-radius: 0; background: none; box-shadow: none; color: var(--brand); }
.content .hosp .hosp-extra { padding: 0; background: none; color: var(--ink-soft); }
.content .hosp .hosp-booking .org-sub { margin-top: 0; color: var(--gold-strong); }
.hosp .org-city .icon { color: var(--brand); }
/* city line: one flowing line of text (it was a flex row, so "City · local name" split into columns on phones) */
.content .org-city { display: block; }
.content .org-city .icon { display: inline-block; vertical-align: -0.15em; margin-right: 0.3rem; }

/* Gemeinschaft v2: organisation cards in the same open style as the clinic cards on Zentren */
.content .org .org-sub { margin: 0.6rem 0 0.2rem; font-size: 0.74rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-faint); }
.content .org .org-offers .icon { color: var(--brand); }
.content .org .org-contact { gap: 0; margin: 0.2rem 0 1rem; border-top: 1px solid var(--line-soft); }
.org .org-c { padding: 0.6rem 0; border-radius: 0; background: none; border-bottom: 1px solid var(--line-soft); gap: 0.7rem; }
.org a.org-c:hover { background: none; color: var(--brand-strong); }
.org a.org-c:hover strong { text-decoration: underline; }
.org .org-c > .icon { width: 1.15rem; height: 1.15rem; padding: 0; border-radius: 0; background: none; box-shadow: none; color: var(--brand); }
.org .org-city .icon { color: var(--brand); }
.content .org-social { margin: 0 0 0.8rem; font-size: 0.88rem; color: var(--ink-soft); }

/* Leben: sick pay overview */
.sick-table td div { font-size: 0.92rem; }
.sick-src { display: block; margin-top: 0.45rem; font-size: 0.8rem; color: var(--ink-faint); }
.table-wrap:has(.sick-table) { border: 0; border-radius: 0; background: none; overflow: visible; }
table.data.sick-table thead th { background: none; padding-left: 0; font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-faint); }
table.data.sick-table tbody th, table.data.sick-table td { padding-left: 0; }
table.data.sick-table tbody th { font-weight: 500; }
table.data.sick-table tbody tr:hover { background: none; }
@media (max-width: 720px) {
  table.stack.sick-table tr { background: none; border: 0; border-radius: 0; border-bottom: 1px solid var(--line-soft); margin: 0; padding: 0.9rem 0; }
  table.data.sick-table tbody th { padding: 0 0 0.3rem; border: 0; font-size: 1rem; }
  table.stack.sick-table td { display: block; padding: 0.15rem 0; border: 0; }
  table.stack.sick-table td::before { display: block; margin-bottom: 0.1rem; font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-faint); }
}

/* Language menu (9 languages): compact dropdown */
.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: #ffffff; }
.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; 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: #ffffff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 40px -20px rgba(32, 33, 36, 0.35); }
.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: 2rem; font-size: 0.75rem; font-weight: 500; color: var(--ink-faint); }
/* Draft translation note */
.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; }
.lang-menu .lm-chev { fill: none; stroke: currentColor; stroke-width: 2; }

/* ---------- Updates ("Aktuelles", 18.11.2026) ---------- */
.nw-list { list-style: none; padding: 0; 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: #ffffff; border: 1px solid var(--line); border-radius: 20px; color: var(--ink); text-decoration: none; transition: box-shadow 0.2s var(--ease), border-color 0.2s var(--ease); }
.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.1rem; font-weight: 600; line-height: 1.35; }
.nw-lead { color: var(--ink-2); font-size: 0.97rem; }
.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: 500; 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: #ffffff; color: var(--ink-2); font: inherit; font-size: 0.92rem; cursor: pointer; transition: background 0.15s var(--ease), border-color 0.15s var(--ease); }
.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.25rem; height: 1.25rem; color: var(--brand); }
.nw-types dd { margin: 0.2rem 0 0 1.8rem; color: var(--ink-2); }
.nw-related { margin: 2.4rem 0 1.6rem; padding: 1.3rem 1.4rem 1.1rem; border-radius: var(--r-lg); background: var(--bg-alt); }
.nw-related h2 { margin: 0 0 0.2rem; font-size: 1.15rem; }
.nw-related .nw-list { margin-top: 0.8rem; }
.nw-more { margin: 0.9rem 0 0; }
.nw-back { margin: 1.8rem 0 0.4rem; }
@media (max-width: 600px) {
  .nw-card { padding: 1rem 1.05rem 1.05rem; }
  .nw-flabel { min-width: 0; width: 100%; }
  .nw-related { padding: 1.1rem 1rem 1rem; }
}
.content .nw-list, .nw-list { padding-left: 0; }
.content li a.nw-card, .content li a.nw-card:hover, a.nw-card:hover { text-decoration: none; }

/* ---------- Contact form (19.11.2026) ---------- */
.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: #ffffff; 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); color: var(--ink-2); }
.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); }
