/*
 * The xDR Coach — brand and interface system: Obsidian & Gold.
 *
 * Quiet luxury. The marketing site is obsidian (body.site); the signed-in app is a light reading mode for all-day use,
 * framed by an obsidian sidebar. Gold is the rocket's colour and is spent sparingly: it marks the exact words that prove
 * a finding (a low highlighter band under what the seller said), the single most important action, and the active place.
 * Buyer words get a cool grey-blue band. Headlines: Sora 600, tight. Reading: IBM Plex Sans.
 * Every colour is a token on :root, re-pointed for the dark site under body.site. No inline styles (CSP style-src 'self').
 */
@font-face { font-family: "Sora"; src: url("/assets/fonts/sora.woff2") format("woff2"); font-weight: 100 800; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("/assets/fonts/plex-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("/assets/fonts/plex-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("/assets/fonts/plex-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("/assets/fonts/plex-600.woff2") format("woff2"); font-weight: 600 700; font-style: normal; font-display: swap; }

:root {
  /* Fixed brand colours (the same in every mode). */
  --obsidian: #0B0C10; --graphite: #1B1E26; --obs-line: #2A2E38; --obs-line-2: #3A3F4B; --bone: #F2EFE8; --obs-muted: #A3A9B5; --obs-soft: #C9CDD5;
  --gold: #FFD700; --gold-hover: #FFE44D; --gold-deep: #E6C200; --on-gold: #1A1405;

  /* Light reading mode (the app). */
  --paper: #F4F5F7; --surface: #FFFFFF; --surface-2: #F8F9FA; --field: #FFFFFF;
  --line: #E2E4E9; --line-2: #CDD1D9; --line-hover: #A9AFBB;
  --text: #16181D; --heading: #0B0C10; --lead: #3A404C; --muted: #5A616E; --muted-2: #6A717E; --placeholder: #8A909B;
  --link: #16181D; --link-line: #E6C200; --accent-text: #6E5A00;
  --primary: #0B0C10; --primary-hover: #262A34; --on-primary: #FFFFFF;
  --mark: rgba(255, 215, 0, 0.55); --mark-buyer: rgba(110, 132, 168, 0.24);
  --focus: #0B0C10; --focus-ring: rgba(255, 215, 0, 0.55);
  --good: #177245; --good-bg: #E5F4EC; --warn: #8A5A00; --warn-bg: #FFF4D6; --bad: #B42318; --bad-bg: #FDECEA; --info: #2F4A7A; --info-bg: #E9EEF6;
  --violet: #0B0C10; --violet-bg: #FCEFC4;
  --rule: #0B0C10; --ladder-on: #1B1E26; --ladder-on-text: #FFFFFF; --track: #E4E6EB;
  --redact: #1B1E26; --shadow: 0 24px 60px -32px rgba(11, 12, 16, 0.35);
  --r-panel: 14px; --r-inner: 10px; --r-btn: 999px;
  --font: "IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --display: "Sora", "IBM Plex Sans", ui-sans-serif, system-ui, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color-scheme: light;
}

/* The marketing site, sign-in pages and shared records: obsidian. */
body.site {
  --paper: #0B0C10; --surface: #14161C; --surface-2: #111318; --field: #0F1116;
  --line: #2A2E38; --line-2: #3A3F4B; --line-hover: #5A606D;
  --text: #E6E3DC; --heading: #F2EFE8; --lead: #B9BEC8; --muted: #A3A9B5; --muted-2: #959CA8; --placeholder: #7D8491;
  --link: #FFD700; --link-line: rgba(255, 215, 0, 0.45); --accent-text: #FFD700;
  --primary: #FFD700; --primary-hover: #FFE44D; --on-primary: #1A1405;
  --mark: rgba(255, 215, 0, 0.45); --mark-buyer: rgba(157, 180, 232, 0.24);
  --focus: #FFD700; --focus-ring: rgba(255, 215, 0, 0.3);
  --good: #57D38C; --good-bg: rgba(87, 211, 140, 0.13); --warn: #FFD700; --warn-bg: rgba(255, 215, 0, 0.12); --bad: #FF8A8A; --bad-bg: rgba(255, 122, 122, 0.13); --info: #9DB4E8; --info-bg: rgba(157, 180, 232, 0.13);
  --violet: #FFD700; --violet-bg: rgba(255, 215, 0, 0.13);
  --rule: rgba(255, 215, 0, 0.55); --ladder-on: #2A2E38; --ladder-on-text: #F2EFE8; --track: #2A2E38;
  --redact: #4A505C; --shadow: 0 40px 80px -40px rgba(255, 215, 0, 0.25);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { background: var(--paper); -webkit-text-size-adjust: 100%; }
html:has(body.site) { background: var(--obsidian); }
body.site { background: radial-gradient(1100px 640px at 78% -120px, rgba(255, 215, 0, 0.08), transparent 70%) no-repeat, var(--paper); }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 16px/1.6 var(--font); min-height: 100vh; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
a { color: var(--link); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; text-decoration-color: var(--link-line); }
a:hover { text-decoration-color: currentColor; }
h1, h2, h3, .display { font-family: var(--display); color: var(--heading); font-weight: 600; line-height: 1.12; letter-spacing: -0.025em; margin: 0 0 0.45em; text-wrap: balance; }
h1 { font-size: clamp(26px, 3vw, 32px); }
h2 { font-size: clamp(19px, 2vw, 22px); letter-spacing: -0.02em; }
h3, h2.h3 { font-size: 16.5px; letter-spacing: -0.012em; line-height: 1.25; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
li + li { margin-top: 0.25em; }
small, .muted { color: var(--muted); }
strong { font-weight: 600; }
.mono, code { font-family: var(--mono); font-size: 0.9em; }
p.mono { overflow-wrap: anywhere; }
::selection { background: rgba(255, 215, 0, 0.4); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; box-shadow: 0 0 0 5px var(--focus-ring); border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--obsidian); color: var(--bone); padding: 8px 12px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }
.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; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ------------------------------------------------------------------ layout */
.wrap { max-width: 1160px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.narrow { max-width: 560px; margin: 56px auto; padding: 0 16px; }
.grid { display: grid; gap: 18px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .g3, .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } .wrap { padding-left: 16px; padding-right: 16px; } }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.row:has(> .badge) { gap: 8px; }
.between { justify-content: space-between; }
.stack > * + * { margin-top: 14px; }
.mt { margin-top: 20px; }
.mt2 { margin-top: 36px; }
.right { text-align: right; }
@media (max-width: 640px) { .hide-sm { display: none; } }

/* ------------------------------------------------------------------ brand mark */
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--heading); text-decoration: none; font-family: var(--display); font-weight: 650; letter-spacing: -0.015em; font-size: 17px; }
.brand img { width: 36px; height: 36px; display: block; }
.brand:hover { text-decoration: none; }

/* ------------------------------------------------------------------ public header / footer */
.sandbox-banner { background: var(--gold); color: var(--on-gold); text-align: center; font-weight: 600; font-size: 12.5px; padding: 7px 12px; letter-spacing: 0.06em; }
.top { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
body.site .top { background: rgba(11, 12, 16, 0.82); }
.top .wrap { display: flex; align-items: center; gap: 18px; min-height: 70px; flex-wrap: wrap; }
.pubnav { display: flex; gap: 26px; flex-wrap: wrap; margin-left: auto; align-items: center; }
.pubnav a { color: var(--muted); font-weight: 500; font-size: 15px; text-decoration: none; padding: 4px 0; border-bottom: 1.5px solid transparent; }
body.site .pubnav a { color: var(--obs-soft); }
.pubnav a:hover, .pubnav a.on { color: var(--heading); border-bottom-color: var(--gold); }
.pubnav a.btn, .pubnav a.btn:hover, body.site .pubnav a.btn { border-bottom: 0; padding: 9px 18px; color: var(--on-primary); }
@media (max-width: 640px) {
  .top { position: static; }
  .top .wrap { gap: 6px 18px; padding-top: 12px; padding-bottom: 12px; }
  .pubnav { margin-left: 0; width: 100%; gap: 8px 16px; }
  .pubnav a.btn { margin-left: auto; }
}
.foot { background: #08090C; color: var(--obs-muted); margin-top: 104px; padding: 56px 0 64px; font-size: 14px; border-top: 1px solid var(--obs-line); }
.foot strong { color: var(--bone); display: block; margin-bottom: 10px; font-family: var(--display); font-weight: 600; letter-spacing: -0.01em; }
.foot .cols { display: grid; grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)); gap: 24px; }
.foot .cols > div:first-child p { max-width: 30ch; }
@media (max-width: 800px) { .foot .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.foot a { color: var(--obs-muted); display: block; padding: 3px 0; text-decoration: none; }
.foot a:hover { color: var(--gold); }
.foot a.brand { color: var(--bone); margin-bottom: 14px; display: inline-flex; }
.foot :focus-visible { outline-color: var(--gold); box-shadow: none; }
main:has(> .band:last-child) + .foot { margin-top: 0; }
.agent-fallback { position: fixed; right: 16px; bottom: 16px; z-index: 30; }
.agent-fallback .btn.ghost { background: var(--surface); box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.5); }

/* ------------------------------------------------------------------ marketing sections */
.hero { padding-top: 80px; padding-bottom: 48px; }
.hero h1, .display { font-size: clamp(36px, 5vw, 60px); font-weight: 600; line-height: 1.04; letter-spacing: -0.035em; max-width: 17ch; }
.hero p.lead, .lead { font-size: clamp(17px, 1.55vw, 19.5px); color: var(--lead); max-width: 58ch; line-height: 1.55; }
@media (max-width: 640px) { .hero { padding-top: 36px; padding-bottom: 20px; } }
.eyebrow { font-size: 13px; font-weight: 600; color: var(--accent-text); margin-bottom: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 64px; align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 36px; } }
.section { padding-top: 88px; }
@media (max-width: 640px) { .section { padding-top: 56px; } }
.section > h2, .section-head h2, .section > .split > h2, .section > .split > div > h2, .band .split > h2 { font-size: clamp(27px, 3.1vw, 40px); letter-spacing: -0.03em; line-height: 1.08; max-width: 22ch; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.section-head p { max-width: 52ch; color: var(--muted); margin: 0; }
.band { background: var(--obsidian); color: var(--obs-soft); margin-top: 88px; padding: 80px 0; }
body.site .band { background: radial-gradient(1100px 380px at 80% 0%, rgba(255, 215, 0, 0.07), transparent 60%), #111318; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band h2, .band h3 { color: var(--bone); }
.band a:not(.btn) { color: var(--gold); }
.band .muted, .band p.lead { color: var(--obs-muted); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; gap: 24px; } }
.cols3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
@media (max-width: 800px) { .cols3 { grid-template-columns: 1fr; gap: 28px; } }
.cols3 h3 { font-size: 19px; }
.rule-top { border-top: 1px solid var(--rule); padding-top: 18px; }
.band .rule-top { border-top-color: rgba(255, 215, 0, 0.55); }

/* Illustrative product views on the website: drawn with the app's own components, in its light reading mode. */
.feature { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 56px; align-items: center; padding: 40px 0; border-top: 1px solid var(--line); }
.section-head + .feature { border-top: 0; padding-top: 8px; }
.feature.flip { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
.feature.flip > :first-child { order: 2; }
.feature h3 { font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -0.025em; }
.feature p { color: var(--lead); }
@media (max-width: 900px) { .feature, .feature.flip { grid-template-columns: 1fr; gap: 24px; } .feature.flip > :first-child { order: 0; } }
.view {
  --paper: #F4F5F7; --surface: #FFFFFF; --surface-2: #F8F9FA; --line: #E2E4E9; --line-2: #CDD1D9;
  --text: #16181D; --heading: #0B0C10; --lead: #3A404C; --muted: #5A616E; --muted-2: #6A717E; --accent-text: #6E5A00;
  --primary: #0B0C10; --on-primary: #FFFFFF; --mark: rgba(255, 215, 0, 0.55); --mark-buyer: rgba(110, 132, 168, 0.24);
  --good: #177245; --good-bg: #E5F4EC; --warn: #8A5A00; --warn-bg: #FFF4D6; --bad: #B42318; --bad-bg: #FDECEA; --info: #2F4A7A; --info-bg: #E9EEF6;
  margin: 0; background: var(--paper); color: var(--text); border-radius: 16px; overflow: hidden; border: 1px solid #2A2E38; box-shadow: 0 40px 80px -40px rgba(255, 215, 0, 0.22), 0 20px 40px -24px rgba(0, 0, 0, 0.6);
}
.view-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--obsidian); color: var(--bone); padding: 11px 16px; font: 600 13.5px var(--display); letter-spacing: -0.01em; }
.view-tag { font: 500 11px var(--font); color: var(--obs-muted); letter-spacing: 0.08em; text-transform: uppercase; }
.view-body { padding: 18px 20px; font-size: 14.5px; }
.view-body .table { font-size: 13.5px; background: var(--surface); }
.view-body .table td { color: var(--text); }
.view-body .gap-row { grid-template-columns: 150px 110px minmax(0, 1fr); gap: 10px; padding: 10px 0; }
.view-body .quote { background: var(--surface); }
.view-body h3 { color: var(--heading); }
@media (max-width: 720px) { .view-body .gap-row { grid-template-columns: 1fr; gap: 4px; } .view-body { padding: 14px; } }
.section.tight { padding-top: 24px; }
.proof .eyebrow { margin-bottom: 18px; }
.faq { max-width: 820px; }
.faq details { padding: 14px 18px; }
.faq summary { font-size: 16px; }
.faq p { margin: 10px 0 0; color: var(--lead); }
ol.steps.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.band ol.steps p { color: var(--obs-muted); }
@media (max-width: 900px) { ol.steps.four { grid-template-columns: 1fr; } }

/* Legal documents */
.legal { max-width: 820px; padding-top: 56px; }
.legal h2 { font-size: 20px; margin-top: 36px; scroll-margin-top: 90px; }
.legal p, .legal li { color: var(--text); }
.legal-nav { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 20px 0 8px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.legal-nav a { text-decoration: none; color: var(--muted); font-weight: 500; }
.legal-nav a.on { color: var(--heading); border-bottom: 1.5px solid var(--gold); }
.todo { background: var(--warn-bg); color: var(--warn); border: 1px dashed var(--warn); border-radius: 6px; padding: 0 6px; font-weight: 500; font-size: 0.92em; }

/* Client results: real figures, so a large-number treatment is earned here. The first figure carries the gold. */
.results { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; border-top: 1px solid var(--line); padding-top: 28px; }
.results strong { display: block; font-family: var(--display); font-size: clamp(32px, 3.8vw, 48px); font-weight: 600; color: var(--heading); letter-spacing: -0.035em; line-height: 1.05; }
.results > div:first-child strong { color: var(--accent-text); }
.results span { display: block; color: var(--muted); margin-top: 8px; max-width: 22ch; font-size: 15px; }
@media (max-width: 800px) { .results { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* A real sequence, so it is numbered. */
ol.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; counter-reset: step; }
ol.steps li { counter-increment: step; padding: 20px 20px 0 0; border-top: 1px solid var(--obs-line-2); margin: 0; position: relative; }
ol.steps li::before { content: counter(step); position: absolute; top: -15px; left: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--graphite); border: 1px solid rgba(255, 215, 0, 0.6); color: var(--gold); font: 600 13px var(--display); display: grid; place-items: center; }
ol.steps li.on { border-top-color: var(--gold); }
ol.steps h3 { margin-top: 12px; }
ol.steps p { color: var(--muted); font-size: 15px; }
.band ol.steps p { color: var(--obs-muted); }
ol.steps.vertical { grid-template-columns: 1fr; gap: 0; max-width: 760px; }
ol.steps.vertical li { border-top: 0; border-left: 1px solid var(--line-2); padding: 0 0 30px 34px; }
ol.steps.vertical li:last-child { border-left-color: var(--gold); }
ol.steps.vertical li::before { top: 0; left: -15px; }
ol.steps.vertical h3 { margin-top: 3px; font-size: 19px; }
ol.steps.vertical p { color: var(--text); font-size: 16px; max-width: 62ch; }
@media (max-width: 900px) { ol.steps { grid-template-columns: 1fr; gap: 28px; } ol.steps li { border-top: 0; border-left: 1px solid var(--obs-line-2); padding: 0 0 0 28px; } ol.steps li::before { top: 0; left: -15px; } ol.steps h3 { margin-top: 3px; } }

/* The transcript excerpt: the signature visual. */
.transcript { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 24px 24px 20px; box-shadow: var(--shadow); }
.transcript .t-head { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--muted); border-bottom: 1px solid var(--line); padding-bottom: 12px; margin-bottom: 12px; }
.transcript .t-line { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 12px; padding: 7px 0; font-size: 15.5px; }
.transcript .t-who { color: var(--muted); font-size: 13px; padding-top: 2px; }
.transcript .t-note { margin: 4px 0 6px 82px; font-size: 13px; display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; color: var(--muted); }
@media (max-width: 480px) { .transcript .t-line { grid-template-columns: 1fr; gap: 0; } .transcript .t-note { margin-left: 0; } }
mark { background: linear-gradient(transparent 56%, var(--mark) 56%); background-repeat: no-repeat; color: inherit; padding: 0 2px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
mark.buyer { background-image: linear-gradient(transparent 56%, var(--mark-buyer) 56%); }
.hero .transcript mark.sweep { background-size: 0 100%; animation: sweep 900ms 500ms cubic-bezier(0.6, 0.1, 0.2, 1) forwards; }
@keyframes sweep { to { background-size: 100% 100%; } }
@media (prefers-reduced-motion: reduce) { .hero .transcript mark.sweep { background-size: 100% 100%; } }
.missed { text-decoration: underline wavy var(--bad); text-underline-offset: 5px; text-decoration-thickness: 1.5px; }
.redact { background: var(--redact); color: transparent; border-radius: 3px; padding: 0 2px; user-select: none; }
.redact-label { background: var(--redact); color: #FFFFFF; border-radius: 4px; padding: 0 6px; font-size: 0.82em; font-weight: 500; white-space: nowrap; }

/* ------------------------------------------------------------------ cards and panels */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel); padding: 22px; }
.card.flat { background: var(--surface-2); }
.card.accent { border-color: var(--gold-deep); box-shadow: inset 0 3px 0 var(--gold); }
.card h2, .card h3 { margin-top: 0; }
.card .card { border-radius: var(--r-inner); }
.card.mission { background: radial-gradient(700px 260px at 100% 0%, rgba(255, 215, 0, 0.1), transparent 60%), var(--obsidian); border-color: var(--obsidian); color: var(--obs-soft); }
.card.mission h2, .card.mission h3 { color: var(--bone); }
.card.mission .eyebrow { color: var(--gold); }
.card.mission .muted, .card.mission small { color: var(--obs-muted); }
.card.mission a { color: var(--bone); text-decoration-color: rgba(255, 215, 0, 0.6); }
.card.mission .quote { background: rgba(255, 255, 255, 0.05); color: var(--bone); border-color: rgba(255, 255, 255, 0.1); }
.card.mission .quote mark { color: var(--on-gold); background: var(--gold); }
.card.mission .quote small { color: var(--obs-muted); }
.card.mission .btn.ghost { color: var(--bone); border-color: var(--obs-line-2); background: transparent; }
.card.mission .btn.ghost:hover { border-color: var(--gold); }
.card.mission .ladder span { border-color: var(--obs-line-2); color: var(--obs-muted); background: transparent; }
.card.mission .ladder span.on { background: var(--obs-line); color: var(--bone); border-color: transparent; }
.card.mission .ladder span.now { background: var(--gold); color: var(--on-gold); border-color: var(--gold); }
.card.mission .btn:not(.ghost) { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }
.card.mission .btn:not(.ghost):hover { background: var(--gold-hover); border-color: var(--gold-hover); }
.card.mission :focus-visible { outline-color: var(--gold); box-shadow: none; }
.metric small { display: block; font-size: 13px; font-weight: 500; color: var(--muted); }
.metric strong { display: block; font-family: var(--display); font-size: 28px; font-weight: 600; color: var(--heading); letter-spacing: -0.03em; margin-top: 4px; line-height: 1.1; }
.metric strong.long { font-size: 18px; line-height: 1.3; letter-spacing: -0.015em; }
.metric span { display: block; color: var(--muted); font-size: 13px; margin-top: 4px; }

/* Evidence quotes: seller words get the gold band, buyer words a cool one (see markQuotes in ui.ts). */
.quote { margin: 10px 0; padding: 11px 14px; background: var(--surface-2); border-radius: var(--r-inner); border: 1px solid var(--line); color: var(--text); line-height: 1.65; }
.quote small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 4px; }
.quote.buyer { background: var(--surface); }
.finding-list { list-style: none; margin: 0; padding: 0; }
.finding-list > li + li { border-top: 1px solid var(--line); padding-top: 14px; }
fieldset.plain { border: 0; padding: 0; margin: 18px 0 6px; min-width: 0; }
fieldset.plain > legend { font-weight: 600; color: var(--heading); margin-bottom: 6px; padding: 0; }

/* ------------------------------------------------------------------ badges */
.badge { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 500; border: 1px solid var(--line); background: var(--surface-2); color: var(--muted); white-space: nowrap; vertical-align: 0.1em; line-height: 1.55; }
.badge::first-letter { text-transform: uppercase; }
.badge.good { color: var(--good); background: var(--good-bg); border-color: transparent; }
.badge.warn { color: var(--warn); background: var(--warn-bg); border-color: transparent; }
.badge.bad { color: var(--bad); background: var(--bad-bg); border-color: transparent; }
.badge.info { color: var(--info); background: var(--info-bg); border-color: transparent; }
.badge.violet { color: var(--violet); background: var(--violet-bg); border-color: transparent; }
.band .badge { background: rgba(255, 255, 255, 0.08); color: var(--bone); border-color: transparent; }

/* ------------------------------------------------------------------ progress and the maturity ladder */
progress.bar { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border: 0; border-radius: 99px; background: var(--track); overflow: hidden; }
progress.bar::-webkit-progress-bar { background: var(--track); border-radius: 99px; }
progress.bar::-webkit-progress-value { background: var(--primary); border-radius: 99px; }
progress.bar::-moz-progress-bar { background: var(--primary); border-radius: 99px; }
.ladder { display: flex; gap: 4px; flex-wrap: wrap; }
.ladder span { flex: 1 1 88px; text-align: center; font-size: 12.5px; font-weight: 500; padding: 6px 4px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); background: var(--surface); }
.ladder span.on { color: var(--ladder-on-text); background: var(--ladder-on); border-color: var(--ladder-on); }
.ladder span.now { color: var(--on-gold); background: var(--gold); border-color: var(--gold); font-weight: 600; }

/* ------------------------------------------------------------------ tables */
.table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.table th, .table td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { color: var(--muted); font-weight: 500; font-size: 12.5px; background: var(--surface-2); letter-spacing: 0.02em; }
.tablewrap { overflow-x: auto; }
.table select { width: auto; max-width: 100%; padding: 7px 10px; }
.table form.row { gap: 8px; }
.table label.check { margin: 0; }
.table.std { table-layout: fixed; }
.table.std td:nth-child(1) { width: 32%; }
.table.std td:nth-child(2) { width: 44%; }
.table.std td:nth-child(4) { width: 56px; text-align: right; }
@media (max-width: 640px) {
  .table.stackable thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
  .table.stackable, .table.stackable tbody, .table.stackable tr, .table.stackable td { display: block; width: 100%; }
  .table.stackable tr { padding: 10px 0; border-bottom: 1px solid var(--line); }
  .table.stackable td { border: 0; padding: 3px 0; }
  .table.stackable td[data-label]::before { content: attr(data-label); display: block; color: var(--muted-2); font-size: 12px; font-weight: 500; }
  .table.stackable td:first-child::before { display: none; }
  .table.stackable td:first-child { font-weight: 600; }
  .table.stackable td:empty { display: none; }
  .table.std, .table.std tbody, .table.std tr, .table.std td { display: block; width: 100% !important; text-align: left !important; }
  .table.std tr { padding: 10px 0; border-bottom: 1px solid var(--line); }
  .table.std td { border: 0; padding: 3px 0; }
  .grid.g4:has(> .metric) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ------------------------------------------------------------------ checklists */
ul.checklist { list-style: none; padding: 0; }
ul.checklist li { position: relative; padding: 3px 0 3px 30px; }
ul.checklist li::before { content: ""; position: absolute; left: 0; top: 6px; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--line-2); background: var(--surface); }
ul.checklist li.done::before { content: "✓"; border-color: var(--good); background: var(--good); color: #FFFFFF; font-weight: 700; font-size: 11px; line-height: 15px; text-align: center; }
ul.checklist li.done a { color: var(--muted); text-decoration: line-through; text-decoration-color: currentColor; }
.card.mission ul.checklist li::before { background: transparent; border-color: var(--obs-line-2); }
.card.mission ul.checklist li.done::before { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }
.card.mission ul.checklist li.done a { color: var(--obs-muted); }

/* ------------------------------------------------------------------ forms */
form.inline { display: inline; }
form.row > input[type="text"], form.row > input[type="search"] { flex: 1 1 200px; width: auto; min-width: 0; }
label { display: block; font-weight: 500; font-size: 14.5px; margin: 14px 0 6px; color: var(--heading); }
label.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--text); }
label.check input { margin-top: 5px; accent-color: var(--primary); }
input[type="text"], input[type="email"], input[type="password"], input[type="number"], input[type="url"], input[type="datetime-local"], input[type="date"], input[type="search"], select, textarea {
  width: 100%; background: var(--field); border: 1px solid var(--line-2); color: var(--text); border-radius: var(--r-inner); padding: 11px 13px; font: inherit; font-size: 15.5px;
}
/* Round 45: iOS zooms the page into any field whose text is under 16px. Touch screens and phone widths get 16px. */
@media (max-width: 860px), (pointer: coarse) {
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]), select, textarea { font-size: 16px !important; }
}
input:hover, select:hover, textarea:hover { border-color: var(--line-hover); }
input:focus-visible, select:focus-visible, textarea:focus-visible { border-color: var(--focus); border-radius: var(--r-inner); }
input[type="file"] { font: inherit; }
::placeholder { color: var(--placeholder); }
textarea { min-height: 120px; resize: vertical; line-height: 1.55; }
textarea.tall { min-height: 280px; font-family: var(--mono); font-size: 13.5px; }
.help { font-size: 13.5px; color: var(--muted); margin-top: 5px; }

/* ------------------------------------------------------------------ buttons: pills */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--primary); border-radius: var(--r-btn); padding: 11px 20px; font: 500 15px var(--font); cursor: pointer; color: var(--on-primary); background: var(--primary); text-decoration: none; line-height: 1.2; transition: background-color 120ms, border-color 120ms; }
.btn:hover { background: var(--primary-hover); border-color: var(--primary-hover); text-decoration: none; }
.btn.accent, .btn.violet { background: var(--gold); border-color: var(--gold); color: var(--on-gold); font-weight: 600; }
.btn.accent:hover, .btn.violet:hover { background: var(--gold-hover); border-color: var(--gold-hover); }
.btn.ghost { background: transparent; color: var(--heading); border-color: var(--line-2); }
.btn.ghost:hover { border-color: var(--heading); background: transparent; }
body.site .btn.ghost:hover { border-color: var(--gold); }
.btn.danger { background: transparent; color: var(--bad); border-color: var(--bad); }
.btn.danger:hover { background: var(--bad-bg); }
.btn.small { padding: 7px 14px; font-size: 13.5px; }
.btn[disabled], .btn.disabled { opacity: 0.5; cursor: not-allowed; }
.band .btn.ghost { color: var(--bone); border-color: var(--obs-line-2); }
.band .btn.ghost:hover { border-color: var(--gold); }
.mic.listening { box-shadow: 0 0 0 3px var(--bad-bg); border-color: var(--bad); color: var(--bad); background: transparent; }

/* ------------------------------------------------------------------ notices */
.notice { border: 1px solid var(--line); border-left-width: 3px; border-radius: var(--r-inner); padding: 12px 14px; margin: 12px 0; background: var(--surface); }
.notice.warn { border-left-color: var(--warn); background: var(--warn-bg); }
.notice.bad { border-left-color: var(--bad); background: var(--bad-bg); }
.notice.good { border-left-color: var(--good); background: var(--good-bg); }
.notice.info { border-left-color: var(--info); background: var(--info-bg); }
.notice.warn, .notice.bad, .notice.good, .notice.info { border-top-color: transparent; border-right-color: transparent; border-bottom-color: transparent; }

/* ------------------------------------------------------------------ app shell: obsidian frame, light reading surface */
.shell { display: grid; grid-template-columns: 256px minmax(0, 1fr); min-height: 100vh; background: linear-gradient(to right, var(--obsidian) 256px, transparent 256px); }
.side { background: var(--obsidian); color: var(--obs-soft); padding: 20px 14px; position: sticky; top: 0; height: 100vh; overflow-y: auto; border-right: 1px solid #16181E; }
.side .brand { color: var(--bone); padding: 2px 8px 4px; }
.side .ws { margin: 18px 8px 10px; padding-bottom: 14px; border-bottom: 1px solid var(--obs-line); }
.side .ws strong { color: var(--bone); font-weight: 500; }
.side .ws small, .side .ws a.muted { color: var(--obs-muted); }
.side .ws a.muted { font-size: 14px; }
.side a { color: var(--obs-soft); }
.side nav a { display: block; padding: 8px 12px; border-radius: 9px; color: var(--obs-soft); font-weight: 400; font-size: 14.5px; text-decoration: none; position: relative; }
.side nav a:hover { background: rgba(255, 255, 255, 0.05); color: var(--bone); }
.side nav a.on { background: rgba(255, 215, 0, 0.09); color: var(--bone); font-weight: 500; }
.side nav a.on::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px; border-radius: 2px; background: var(--gold); }
.side .group { margin: 20px 0 6px 12px; font-size: 11.5px; font-weight: 500; color: #8A919E; letter-spacing: 0.08em; text-transform: uppercase; }
.side :focus-visible { outline-color: var(--gold); box-shadow: none; }
.side .btn.ghost { background: transparent; color: var(--bone); border-color: var(--obs-line-2); }
.side .btn.ghost:hover { border-color: var(--gold); }
.side .signout { margin: 20px 8px 0; }
.main { padding: 32px 40px 72px; min-width: 0; max-width: 1240px; }
.apphead { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.apphead h1 { margin-bottom: 4px; }
.apphead p { margin: 0; color: var(--muted); }
@media (max-width: 860px) {
  .shell { grid-template-columns: 1fr; background: none; }
  .side { position: static; height: auto; padding: 12px 16px; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "brand out" "ws ws" "nav nav"; align-items: center; border-right: 0; }
  .side .brand { grid-area: brand; padding: 0; }
  .side .signout { grid-area: out; margin: 0; }
  .side .ws { grid-area: ws; margin: 8px 0; padding-bottom: 8px; }
  .side nav { grid-area: nav; position: relative; display: flex; flex-wrap: nowrap; gap: 4px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px 2px; }
  .side nav a { white-space: nowrap; flex: 0 0 auto; }
  .side nav a.on::before { left: 12px; right: 12px; top: auto; bottom: 2px; width: auto; height: 2px; }
  .side .group { display: none; }
  .main { padding: 22px 16px 48px; }
}

/* ------------------------------------------------------------------ trainer chat */
.chat { display: flex; flex-direction: column; gap: 10px; max-height: 60vh; overflow-y: auto; padding: 4px; }
.bubble { max-width: 82%; padding: 10px 14px; border-radius: 16px; line-height: 1.55; }
.bubble.buyer { background: var(--surface); border: 1px solid var(--line); align-self: flex-start; border-bottom-left-radius: 4px; }
.bubble.rep { background: var(--violet-bg); border: 1px solid transparent; align-self: flex-end; border-bottom-right-radius: 4px; }
.bubble small { display: block; color: var(--muted); font-size: 12px; margin-bottom: 2px; }

/* ------------------------------------------------------------------ pricing */
.price { font-family: var(--display); font-size: 38px; font-weight: 600; letter-spacing: -0.035em; color: var(--heading); margin: 6px 0 10px; }
.price small { font-family: var(--font); font-size: 14px; font-weight: 400; letter-spacing: 0; }
.plan ul { padding-left: 18px; color: var(--lead); }
.plan.featured { border-color: rgba(255, 215, 0, 0.7); box-shadow: inset 0 3px 0 var(--gold), var(--shadow); }
details { border: 1px solid var(--line); border-radius: var(--r-inner); padding: 12px 14px; margin: 8px 0; background: var(--surface); }
details[open] { border-color: var(--line-2); }
summary { cursor: pointer; font-weight: 500; color: var(--heading); }
.kbd { border: 1px solid var(--line-2); border-radius: 6px; padding: 1px 6px; font-size: 12px; }
.qr svg { width: 192px; height: 192px; background: #FFFFFF; border-radius: 10px; padding: 6px; border: 1px solid var(--line); }
pre.code { background: var(--obsidian); color: #E6E3DC; border: 1px solid var(--obs-line); border-radius: var(--r-inner); padding: 14px 16px; overflow-x: auto; font: 13px/1.55 var(--mono); white-space: pre; }

/* ------------------------------------------------------------------ feature components */
.gap-row { display: grid; grid-template-columns: 210px 130px minmax(0, 1fr); gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); align-items: start; }
.gap-row:last-child { border-bottom: 0; }
.gap-row .quote { margin: 0; }
@media (max-width: 720px) { .gap-row { grid-template-columns: 1fr; gap: 6px; } }
.draft { white-space: pre-wrap; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-inner); padding: 14px 16px; font-size: 15px; line-height: 1.65; margin: 0; font-family: var(--font); }
.preview-transcript { max-height: 460px; overflow-y: auto; border: 1px solid var(--line); border-radius: var(--r-inner); padding: 12px 14px; background: var(--surface); font-size: 15px; line-height: 1.7; }
.preview-transcript p { margin: 0 0 8px; }
.preview-transcript b { color: var(--heading); font-weight: 600; }
.win-item { padding: 10px 0; border-bottom: 1px solid var(--line); }
.win-item:last-child { border-bottom: 0; }
.win-item label.check { margin: 0; }
.brag { max-width: 760px; margin: 0 auto; }
.brag h1 { font-size: clamp(30px, 4vw, 44px); letter-spacing: -0.035em; }
.brag .win { padding: 16px 0; border-bottom: 1px solid var(--line); }
.brag .win h3 { margin-bottom: 2px; }

@media print {
  .side, .top, .foot, .sandbox-banner, .agent-fallback, .no-print { display: none !important; }
  body, body.site {
    --paper: #FFFFFF; --surface: #FFFFFF; --surface-2: #FFFFFF; --line: #CCCCCC; --line-2: #BBBBBB;
    --text: #111111; --heading: #000000; --lead: #333333; --muted: #555555; --link: #111111; --accent-text: #000000;
    --good: #177245; --good-bg: #FFFFFF; --warn: #8A5A00; --warn-bg: #FFFFFF; --bad: #B42318; --bad-bg: #FFFFFF; --info: #2F4A7A; --info-bg: #FFFFFF;
  }
  body, html, html:has(body.site) { background: #FFFFFF; }
  .shell { display: block; }
  .main { padding: 0; }
  .card { border-color: #CCCCCC; }
  mark { background: #FFF2A8 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* Company identity facts (About, Contact) */
dl.facts{display:grid;grid-template-columns:minmax(8rem,max-content) 1fr;gap:.35rem 1rem;margin:.5rem 0}
dl.facts dt{color:var(--muted,#6b7280)}
dl.facts dd{margin:0}
@media (max-width:560px){dl.facts{grid-template-columns:1fr}dl.facts dd{margin-bottom:.4rem}}

/* ------------------------------------------------------------------ public website (Round 20): audience routing, real screenshots */
.choose { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.choose.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.choose li { display: flex; }
.choose-card { flex: 1; display: flex; flex-direction: column; gap: 8px; text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel); padding: 24px; color: var(--text); transition: border-color 0.15s; }
.choose-card:hover, .choose-card:focus-visible { border-color: var(--gold); text-decoration: none; }
.choose-card .eyebrow { margin: 0; }
.choose-card strong { font-family: var(--display); font-size: clamp(19px, 1.8vw, 23px); color: var(--heading); letter-spacing: -0.02em; line-height: 1.25; }
.choose-card .go { margin-top: auto; color: var(--accent-text); font-weight: 600; }
@media (max-width: 800px) { .choose, .choose.three { grid-template-columns: 1fr; } }
.view.shot { margin: 0; }
.view.shot .shot-open { display: block; cursor: zoom-in; }
.view.shot .shot-open:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
.view.shot picture, .view.shot img { display: block; width: 100%; height: auto; }
.view.shot figcaption { font-size: 13px; color: var(--muted); padding: 10px 16px; border-top: 1px solid var(--line); background: var(--surface); }
ol.hiw { list-style: none; margin: 0; padding: 0; display: grid; gap: 48px; }
ol.hiw li { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 48px; align-items: center; }
ol.hiw li:nth-child(even) { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); }
ol.hiw li:nth-child(even) > div { order: 2; }
@media (max-width: 900px) { ol.hiw li, ol.hiw li:nth-child(even) { grid-template-columns: 1fr; gap: 20px; } ol.hiw li:nth-child(even) > div { order: 0; } }
.privacy-card { border-color: rgba(255, 215, 0, 0.45); }
.plans .price { font-family: var(--display); font-size: 30px; color: var(--heading); margin: 8px 0; }
.plans .price small { font-size: 14px; color: var(--muted); font-family: var(--font); }
.plans .card { display: flex; flex-direction: column; }
.plans .card > .btn { margin-top: auto; align-self: flex-start; }
table.compare th[scope="row"] { font-weight: 500; text-align: left; }
ul.plain { list-style: none; padding: 0; margin: 0; }
ul.plain li { padding: 10px 0; border-top: 1px solid var(--line); }
.faq-split { align-items: start; }
.feature > div > h2 { font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -0.025em; }
.stack { display: grid; gap: 10px; }
.stack fieldset { border: 0; padding: 0; margin: 6px 0; }
.stack legend { font-weight: 500; margin-bottom: 6px; }
.field-error { color: var(--bad, #b42318); font-size: 14px; margin: 2px 0 4px; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.notice-small { font-size: 13.5px; color: var(--muted); }
.founder { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 28px; align-items: start; }
.founder img { width: 100%; height: auto; border-radius: var(--r-panel); display: block; }
@media (max-width: 640px) { .founder { grid-template-columns: 1fr; } .founder picture { max-width: 220px; } }
#team fieldset { border: 0; padding: 0; margin: 10px 0; } #team legend { font-weight: 500; margin-bottom: 4px; }
/* Header: the main call to action sits beside the nav on wide screens; on phones it shares the brand row and the
   links scroll sideways in one row, so font loading can't re-wrap the header and push the page down. */
.top-cta { display: flex; align-items: center; }
.top-cta .btn { padding: 9px 18px; }
@media (max-width: 640px) {
  .top .wrap { flex-wrap: wrap; }
  .top-cta { margin-left: auto; order: 2; }
  .pubnav { order: 3; width: 100%; flex-wrap: nowrap; overflow-x: auto; gap: 18px; padding-bottom: 2px; scrollbar-width: none; }
  .pubnav::-webkit-scrollbar { display: none; }
  .pubnav a { white-space: nowrap; flex: 0 0 auto; }
}
@media (max-width: 640px) {
  .top .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
  .top .brand { min-width: 0; }
  .top .brand span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .top .pubnav { grid-column: 1 / -1; }
  .top-cta { margin-left: 0; }
}
@media (max-width: 640px) { .hero .row > .btn { flex: 1 1 100%; text-align: center; justify-content: center; } }

/* Learning sprint */
.sprint-status { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 12px 0; }
.sprint-status > div { border: 1px solid var(--line); border-radius: var(--r-inner); padding: 10px 12px; display: grid; gap: 4px; }
.sprint-steps li { padding-bottom: 10px; }
.sprint-steps .quote { margin-top: 8px; }
.mt-xs { margin-top: 6px; }
.check-options { display: grid; gap: 8px; margin: 8px 0; }
@media (max-width: 640px) { .sprint-status { grid-template-columns: 1fr; } }

/* Screenshot lightbox (assets/app.js). Native <dialog>: Escape closes, focus is trapped and returned. */
dialog.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1400px, calc(100vw - 32px)); width: 100%; max-height: calc(100vh - 32px); color: #F4F5F7; }
dialog.lightbox::backdrop { background: rgba(5, 6, 8, 0.86); }
html.lb-open { overflow: hidden; }
.lightbox .lb-frame { background: #111318; border: 1px solid #2A2E38; border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; max-height: calc(100vh - 32px); }
.lightbox .lb-bar { display: flex; align-items: center; gap: 12px; padding: 10px 12px 10px 16px; border-bottom: 1px solid #2A2E38; font-weight: 600; }
.lightbox .lb-title { flex: 1; }
.lightbox .lb-count { color: #A9AFBA; font-weight: 400; font-size: 14px; }
.lightbox button { font: inherit; color: #F4F5F7; background: #1B1E26; border: 1px solid #2A2E38; border-radius: 999px; padding: 8px 16px; min-height: 44px; cursor: pointer; }
.lightbox button:hover { border-color: var(--gold); }
.lightbox button:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.lightbox .lb-stage { overflow: auto; background: #0B0C10; flex: 1; min-height: 0; }
.lightbox .lb-img { display: block; width: 100%; height: auto; }
.lightbox .lb-caption { margin: 0; padding: 10px 16px; color: #C9CDD4; font-size: 14px; border-top: 1px solid #2A2E38; }
.lightbox .lb-nav { display: flex; justify-content: space-between; gap: 12px; padding: 0 12px 12px; }
.lightbox .lb-nav[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) { dialog.lightbox[open] { animation: lb-in 160ms ease-out; } @keyframes lb-in { from { opacity: 0; transform: scale(0.98); } to { opacity: 1; transform: none; } } }

/* ------------------------------------------------------------------ capability stage track (ui.ts ladder) */
.stages { display: grid; grid-template-columns: 2fr 3fr; gap: 10px; margin: 6px 0 4px; }
.stage-group { border: 1px solid var(--line); border-radius: var(--r-inner); padding: 8px 10px 10px; background: var(--surface-2); min-width: 0; }
.stage-group.field { border-color: var(--line-2); background: var(--surface); }
.sg-label { display: block; font-size: 11.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.stage-group ol { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.stage-group li { flex: 1 1 0; margin: 0; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 500; color: var(--muted); text-align: center; position: relative; min-width: 0; }
.stage-group li .dot { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--line-2); background: var(--surface); }
.stage-group li.done .dot { background: var(--ladder-on); border-color: var(--ladder-on); }
.stage-group li.done { color: var(--text); }
.stage-group li.now .dot { background: var(--gold); border-color: var(--gold-deep); box-shadow: 0 0 0 4px var(--focus-ring); }
.stage-group li.now { color: var(--heading); font-weight: 600; }
@media (max-width: 480px) { .stages { grid-template-columns: 1fr; } }
.card.mission .stage-group { background: rgba(255, 255, 255, 0.04); border-color: var(--obs-line-2); }
.card.mission .sg-label { color: var(--obs-muted); }
.card.mission .stage-group li { color: var(--obs-muted); }
.card.mission .stage-group li.done { color: var(--bone); }
.card.mission .stage-group li.done .dot { background: var(--obs-soft); border-color: var(--obs-soft); }
.card.mission .stage-group li .dot { background: transparent; border-color: var(--obs-line-2); }
.card.mission .stage-group li.now { color: var(--gold); }
.card.mission .stage-group li.now .dot { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 0 4px rgba(255, 215, 0, 0.25); }

/* ------------------------------------------------------------------ "Your focus" card (My Coach) */
.focus .fc-because { margin: 8px 0 0; }
.focus .fc-step { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--obs-line); }
.focus .fc-label { font-family: var(--font); font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); margin: 0 0 6px; }
.focus .fc-src { font-size: 13px; color: var(--obs-muted); margin: 0 0 6px; }
.focus .fc-move { margin: 0 0 6px; color: var(--bone); }
.focus .quote small { margin: 0 0 3px; }
.focus .quote.buyer { background: rgba(157, 180, 232, 0.08); }
.focus .quote.try { border-color: rgba(255, 215, 0, 0.45); background: rgba(255, 215, 0, 0.07); }
.focus details.fc-why { margin-top: 14px; border: 1px solid var(--obs-line); border-radius: var(--r-inner); padding: 10px 14px; }
.focus details.fc-why summary { cursor: pointer; color: var(--bone); font-weight: 600; min-height: 28px; }
.focus details.fc-why ul { margin: 8px 0 6px; }

/* ------------------------------------------------------------------ tabs, skills, library, short sessions */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.tabs .tab { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; color: var(--muted); font-weight: 500; text-decoration: none; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs .tab:hover { color: var(--heading); }
.tabs .tab.on { color: var(--heading); border-bottom-color: var(--gold-deep); font-weight: 600; }
.card.skill.is-focus { border-color: var(--gold-deep); box-shadow: inset 0 3px 0 var(--gold); }
.skill-rows { margin: 12px 0 8px; display: grid; gap: 8px; }
.skill-rows > div { display: grid; grid-template-columns: 170px 1fr; gap: 10px; font-size: 14px; padding-top: 8px; border-top: 1px solid var(--line); }
.skill-rows dt { font-weight: 600; color: var(--heading); }
.skill-rows dt .muted { display: block; font-weight: 400; font-size: 12px; }
.skill-rows dd { margin: 0; }
@media (max-width: 520px) { .skill-rows > div { grid-template-columns: 1fr; gap: 2px; } }
.skill-next { font-size: 14px; margin: 6px 0; }
.chapter-list { list-style: none; padding: 0; margin: 0; border: 1px solid var(--line); border-radius: var(--r-panel); background: var(--surface); overflow: hidden; }
.chapter-list li { margin: 0; }
.chapter-list li + li { border-top: 1px solid var(--line); }
.chapter-row { display: grid; grid-template-columns: 52px 1fr auto; gap: 14px; padding: 14px 16px; text-decoration: none; color: var(--text); align-items: start; }
.chapter-row:hover { background: var(--surface-2); }
.chapter-row .ch-id { font-family: var(--display); font-weight: 600; color: var(--accent-text); font-size: 15px; }
.chapter-row .ch-main strong { display: block; color: var(--heading); }
.chapter-row .ch-main small { display: block; color: var(--muted); }
.chapter-row .ch-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
@media (max-width: 640px) { .chapter-row { grid-template-columns: 40px 1fr; } .chapter-row .ch-meta { grid-column: 2; align-items: flex-start; flex-direction: row; flex-wrap: wrap; } }
.plain-list { list-style: none; padding: 0; margin: 0; }
.plain-list li + li { border-top: 1px solid var(--line); padding-top: 8px; margin-top: 8px; }
.session-tile h3 { margin: 6px 0 10px; }
.stepper { list-style: none; padding: 0; margin: 0 0 16px; display: flex; gap: 6px; flex-wrap: wrap; }
.stepper li { margin: 0; flex: 1 1 140px; }
.stepper a { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--text); text-decoration: none; font-size: 14px; font-weight: 500; }
.stepper .n { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--line-2); font-size: 12.5px; font-weight: 600; flex: none; }
.stepper li.done .n { background: var(--ladder-on); color: var(--ladder-on-text); border-color: var(--ladder-on); }
.session .step { margin-top: 16px; scroll-margin-top: 80px; }
.step-n { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--gold); color: var(--on-gold); font-size: 14px; margin-right: 6px; vertical-align: 2px; }
.choices { list-style: none; padding: 0; margin: 10px 0; display: grid; gap: 8px; }
.choices li { margin: 0; border: 1px solid var(--line); border-radius: var(--r-inner); padding: 10px 14px; }
.choices li p { margin: 0 0 4px; }
.choices li.good { border-color: var(--good); background: var(--good-bg); }
.choices li.picked { border-color: var(--warn); background: var(--warn-bg); }
.why { font-size: 14px; color: var(--muted); margin: 4px 0 0; }
.why.ok strong { color: var(--good); }
.why.no strong { color: var(--bad); }
.filters .grid > div > label { display: block; }

/* ------------------------------------------------------------------ situation playbook */
.cat-grid { list-style: none; padding: 0; margin: 16px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; }
.cat-grid li { margin: 0; }
.cat-grid a { display: flex; flex-direction: column; justify-content: center; min-height: 64px; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--r-inner); text-decoration: none; color: var(--text); background: var(--surface-2); }
.cat-grid a:hover { border-color: var(--gold-deep); }
.cat-grid strong { color: var(--heading); }
.cat-grid small { color: var(--muted); }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-2); text-decoration: none; color: var(--text); font-size: 14px; background: var(--surface); }
.chip.on { background: var(--ladder-on); color: var(--ladder-on-text); border-color: var(--ladder-on); }
.play-tile h3 { margin: 6px 0; }
.play-tile h3 a { text-decoration: none; color: var(--heading); }
.play-tile h3 a:hover { text-decoration: underline; text-decoration-color: var(--link-line); }
.quote.say { border-left: 3px solid var(--gold-deep); }
.fav-form { margin: 0; }
.btn.fav { min-height: 36px; }
.btn.fav.on span[aria-hidden] { color: var(--gold-deep); }
.branches { padding-left: 1.2em; }
.branches li + li { margin-top: 10px; }
.buyer-says { margin: 0 0 2px; font-weight: 600; color: var(--info); }
.live-search { display: grid; grid-template-columns: 1fr auto; gap: 8px 10px; align-items: end; position: sticky; top: 0; background: var(--paper); padding: 8px 0; z-index: 5; }
.live-search label { grid-column: 1 / -1; font-weight: 600; font-size: 18px; color: var(--heading); }
.live-search input { font-size: 20px; min-height: 52px; }
.live-search small { grid-column: 1 / -1; }
.live-list { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; }
.live-list li { margin: 0; }
.live-list details { margin: 0; padding: 12px 16px; }
.live-list summary { cursor: pointer; display: flex; justify-content: space-between; gap: 12px; align-items: baseline; min-height: 32px; }
.live-sit { font-size: 18px; font-weight: 600; color: var(--heading); }
.live-say { font-size: 20px; line-height: 1.5; margin: 10px 0; color: var(--heading); }
.live-branch { font-size: 16px; margin: 4px 0; }
.card.mission details { background: transparent; border-color: var(--obs-line); color: var(--obs-soft); }
.card.mission details[open] { border-color: var(--obs-line-2); }
.stack.top { align-content: start; }

/* ------------------------------------------------------------------ conversational Coach */
.coach-answer { font-size: 17px; color: var(--heading); }
.cr-part { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); }
.cr-part h3 { font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; font-family: var(--font); margin-bottom: 6px; }
.cr-part h3 .muted { text-transform: none; letter-spacing: 0; font-weight: 400; }
.cr-part.facts h3 { color: var(--good); }
.cr-part.read h3 { color: var(--info); }
.cr-part.missing h3 { color: var(--warn); }
.cr-part.method h3 { color: var(--accent-text); }

/* ------------------------------------------------------------------ live voice sparring */
.voice-spar { margin-top: 16px; border: 1px solid var(--line-2); border-radius: var(--r-panel); padding: 16px; background: var(--surface-2); }
.voice-spar h2 { margin: 0; font-size: 18px; }
.vs-state { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; padding: 4px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.vs-state::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.voice-spar[data-state="listening"] .vs-state::before { background: var(--good); }
.voice-spar[data-state="buyer"] .vs-state::before { background: var(--gold-deep); }
.voice-spar[data-state="sending"] .vs-state::before { background: var(--info); }
.voice-spar[data-state="error"] .vs-state::before { background: var(--bad); }
.vs-meter { height: 8px; border-radius: 99px; background: var(--track); margin: 14px 0 8px; overflow: hidden; }
.vs-meter span { display: block; height: 100%; width: 0; background: var(--good); transition: width 80ms linear; }
.voice-spar[data-state="buyer"] .vs-meter span { background: var(--gold-deep); }
.vs-hint { margin: 0 0 12px; font-size: 14.5px; }
.vs-labels { margin: 10px 0 0; }
@media (prefers-reduced-motion: reduce) { .vs-meter span { transition: none; } }
[hidden] { display: none !important; }

/* ------------------------------------------------------------------ achievements */
.ach-list { list-style: none; padding: 0; margin: 10px 0 0; border: 1px solid var(--line); border-radius: var(--r-panel); background: var(--surface); }
.ach-list li { margin: 0; display: grid; grid-template-columns: 1fr auto; gap: 14px; padding: 14px 16px; align-items: start; }
.ach-list li + li { border-top: 1px solid var(--line); }
.ach-list li strong { display: block; color: var(--heading); }
.ach-list li small { display: block; color: var(--muted); }
.ach-list li:not(.got) strong { color: var(--muted); }
.ach-act { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.ach-progress { margin-top: 6px; max-width: 320px; }
@media (max-width: 640px) { .ach-list li { grid-template-columns: 1fr; } .ach-act { align-items: flex-start; flex-direction: row; flex-wrap: wrap; } }
.ach-card { margin: 8px 0 12px; aspect-ratio: 1200 / 627; background: radial-gradient(500px 300px at 95% 0%, rgba(255, 215, 0, 0.16), transparent 70%), #0B0C10; border-radius: var(--r-panel); padding: 6% 6%; color: #F2EFE8; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid #2A2E38; }
.ach-top { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.ach-kind { color: #FFD700; font-family: var(--display); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; font-size: clamp(11px, 1.6vw, 15px); border-left: 3px solid #FFD700; padding-left: 10px; }
.ach-brand { color: #A3A9B5; font-size: clamp(11px, 1.4vw, 14px); }
.ach-title { font-family: var(--display); font-weight: 600; font-size: clamp(18px, 3vw, 32px); line-height: 1.15; margin: 0; color: #F2EFE8; }
.ach-name { margin: 0; color: #C9CDD5; font-size: clamp(12px, 1.6vw, 17px); }
.ach-note { color: #A3A9B5; font-size: clamp(10px, 1.3vw, 13px); }
@media print { .side, .tabs, .no-print, nav, .btn { display: none !important; } .ach-list li { break-inside: avoid; } }
.table.facts th[scope="row"] { width: 34%; background: transparent; color: var(--heading); font-size: 14px; font-weight: 600; letter-spacing: 0; }
.timeline { list-style: none; padding: 0 0 0 16px; border-left: 2px solid var(--line-2); margin: 8px 0; }
.timeline li { position: relative; padding: 2px 0 8px 10px; }
.timeline li::before { content: ""; position: absolute; left: -23px; top: 9px; width: 10px; height: 10px; border-radius: 50%; background: var(--surface); border: 2px solid var(--gold-deep); }

/* ---- Data requests */
.req-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.req-list > li { border-top: 1px solid var(--line); padding-top: 12px; }
.req-list > li:first-child { border-top: 0; padding-top: 0; }
.req-list p { margin: 6px 0; }

/* ---- Evidence visuals (shape carries meaning, not only colour) */
.ev-fig { margin: 8px 0 0; }
.ev-strip { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 6px; }
.ev { display: inline-block; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--good); box-sizing: border-box; vertical-align: middle; }
.ev.shown { background: var(--good); }
.ev.partly { background: linear-gradient(90deg, var(--warn) 50%, transparent 50%); border-color: var(--warn); }
.ev.not_shown { background: transparent; border-color: var(--muted); border-style: dashed; }
.ev-fig figcaption { display: grid; gap: 2px; font-size: .9em; }
.ev-key { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; color: var(--muted); font-size: .85em; }
.ev-key .ev { width: 12px; height: 12px; }
.barlist { margin: 0; }
.barlist figcaption { display: grid; gap: 2px; margin-bottom: 8px; }
.barlist ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.barlist li { display: grid; grid-template-columns: minmax(120px, 1.2fr) 2fr auto; gap: 10px; align-items: center; }
.barlist progress { width: 100%; height: 10px; }
@media (max-width: 560px) { .barlist li { grid-template-columns: 1fr auto; } .barlist progress { grid-column: 1 / -1; } }

/* ---- Website: interactive coach demo */
.card h2.mt2, .card h3.mt2 { margin-top: 36px; }
.card h2.mt, .card h3.mt { margin-top: 16px; }

/* ---- Chapter lessons (Round 26 curriculum) ---- */
.lv { margin: 16px 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-inner); background: var(--surface-2); }
.lv figcaption { font-family: var(--display); font-weight: 600; color: var(--heading); margin-bottom: 10px; }
.lv ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.lv li strong { display: block; color: var(--heading); }
.lv li span { color: var(--lead); font-size: 14px; }
.lv-steps ol { counter-reset: lvs; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.lv-steps li { counter-increment: lvs; position: relative; padding: 10px 12px 10px 40px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-inner); }
.lv-steps li::before { content: counter(lvs); position: absolute; left: 10px; top: 10px; width: 22px; height: 22px; border-radius: 50%; background: var(--primary); color: var(--on-primary); font-size: 12.5px; font-weight: 700; display: grid; place-items: center; }
.lv-cycle ol { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.lv-cycle li { padding: 10px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; text-align: center; }
.lv-layers li { padding: 10px 12px; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--gold-deep); border-radius: var(--r-inner); }
.lv-layers li.depth-1 { margin-left: 4%; } .lv-layers li.depth-2 { margin-left: 8%; } .lv-layers li.depth-3 { margin-left: 12%; } .lv-layers li.depth-4 { margin-left: 16%; } .lv-layers li.depth-5 { margin-left: 20%; }
.lv-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lv-cols > div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-inner); padding: 10px 12px; }
.lv-cols > div:last-child { border-color: var(--good); }
.lv-col-h { margin: 0 0 6px; font-weight: 700; color: var(--heading); }
.lv-cols ul { margin: 0; padding-left: 18px; }
.lv-matrix table, .lv-zones table, .lv-data { width: 100%; border-collapse: collapse; font-size: 14px; }
.lv-matrix th, .lv-matrix td, .lv-zones th, .lv-zones td, .lv-data th, .lv-data td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; background: var(--surface); }
.lv-zones .z-danger { background: var(--bad-bg); } .lv-zones .z-healthy { background: var(--warn-bg); } .lv-zones .z-elite { background: var(--good-bg); }
.lv-data { margin: 10px 0; } .lv-data tr.flag th, .lv-data tr.flag td { background: var(--warn-bg); }
.lv-terms { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; }
.lv-term { padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-2); }
.lv-term.result { background: var(--primary); color: var(--on-primary); border-color: var(--primary); }
.lv-op { color: var(--muted); font-weight: 700; }
.lv-dialogue { margin: 10px 0; padding: 10px 14px; border-left: 3px solid var(--line-2); }
.lv-dialogue p { margin: 4px 0; }
.situation { margin-top: 14px; }
.frameworks { display: grid; gap: 12px; }
.framework { padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-inner); background: var(--surface-2); }
.framework .fw-name { margin: 0 0 4px; font-weight: 700; color: var(--heading); }
.fw-steps { margin: 6px 0; padding-left: 20px; }
.book-quote { margin: 10px 0 0; padding: 10px 14px; border-left: 3px solid var(--gold-deep); background: var(--surface); border-radius: 0 var(--r-inner) var(--r-inner) 0; font-style: italic; }
.book-quote p { margin: 0 0 6px; }
.book-quote footer { font-style: normal; font-size: 12.5px; color: var(--muted); }
.branch-path { list-style: none; padding: 0; margin: 10px 0; display: grid; gap: 10px; }
.branch-path > li { padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-inner); }
.branch-path > li.current { border-color: var(--line-hover); background: var(--surface-2); }
.buyer-says { font-weight: 600; } .buyer-says::before { content: "Buyer: "; color: var(--muted); font-weight: 400; }
.you-said { margin: 4px 0; }
.why.ok { color: var(--good); } .why.no { color: var(--bad); }
.order-items, .sort-items { list-style: none; padding: 0; margin: 10px 0; display: grid; gap: 8px; }
.order-items li, .sort-items li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 10px; border: 1px solid var(--line); border-radius: var(--r-inner); }
.order-items select, .sort-items select { flex: 0 0 auto; max-width: 45%; }
.order-result li.ok, .sort-result li.ok { color: var(--good); }
.order-result li.no, .sort-result li.no { color: var(--bad); }
.ask-chapter textarea { min-height: 70px; }
.ask-chapter-tag { margin: 0 0 8px; }
.cr-n { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--primary); color: var(--on-primary); font-size: 12px; margin-right: 4px; }
.cr-part.book .teachings { padding-left: 18px; }
.history { padding-left: 18px; }
.history li { margin: 3px 0; }
@media (max-width: 640px) {
  .lv-cols { grid-template-columns: 1fr; }
  .order-items li, .sort-items li { flex-direction: column; align-items: stretch; }
  .order-items select, .sort-items select { max-width: 100%; }
  .lv-matrix, .lv-zones { overflow-x: auto; }
}

/* ---- Daily coaching (Round 27): My Coach as the daily workspace ---- */
.ic { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; vertical-align: -3px; }
.ic.sm { width: 14px; height: 14px; vertical-align: -2px; }
.ic.xs { width: 12px; height: 12px; }
.ic.lg { width: 28px; height: 28px; }
.ic.ok { color: var(--good); }
.linkish { background: none; border: 0; padding: 0; font: inherit; color: var(--link); text-decoration: underline; text-decoration-color: var(--link-line); text-underline-offset: 3px; cursor: pointer; }
.btn.gold { background: var(--gold); border-color: var(--gold); color: var(--on-gold); font-weight: 600; }
.btn.gold:hover { background: var(--gold-hover); border-color: var(--gold-hover); }
.btn.ghost-light { background: transparent; color: var(--bone); border-color: var(--obs-line-2); }
.btn.ghost-light:hover { border-color: var(--gold); background: transparent; }
form.inline { display: inline; }

.hero-band { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: 26px 28px; border-radius: var(--r-panel); color: var(--obs-soft); background: radial-gradient(640px 240px at 100% 0%, rgba(255, 215, 0, 0.14), transparent 60%), var(--obsidian); }
.hero-band .hb-text { flex: 1 1 380px; min-width: 0; }
.hb-greet { margin: 0 0 6px; color: var(--gold); font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.hb-msg { margin: 0; color: var(--bone); font-family: var(--display); font-size: 22px; line-height: 1.35; font-weight: 500; }
.hb-basis { margin: 8px 0 0; color: var(--obs-muted); }
.hb-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-band :focus-visible { outline-color: var(--gold); }

.today-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 20px; margin-top: 20px; align-items: start; }
.tg-main, .tg-side { display: grid; gap: 20px; min-width: 0; }
@media (max-width: 980px) { .today-grid { grid-template-columns: 1fr; } }

.today { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel); padding: 20px 22px; }
.today-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.today-head h2 { margin: 0; font-size: 20px; }
.today-count { color: var(--muted); font-size: 13.5px; }
.time-chips { margin-left: auto; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.chip { border: 1px solid var(--line-2); background: transparent; color: var(--heading); border-radius: 999px; padding: 4px 11px; font: 500 13px var(--font); cursor: pointer; }
.chip.on { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.chip:hover:not(.on) { border-color: var(--heading); }
.ta-list { list-style: none; margin: 0; padding: 0; }
.ta { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto auto auto; gap: 4px 14px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.ta:first-child { border-top: 0; }
.ta-ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--violet-bg); color: var(--heading); }
.ta-title { margin: 0; font-weight: 600; color: var(--heading); }
.ta-why { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.ta-change { margin: 4px 0 0; font-size: 13px; color: var(--info); }
.ta-min { color: var(--muted); font-size: 13px; white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; }
.ta-state { font-size: 13.5px; color: var(--muted); display: inline-flex; gap: 6px; align-items: center; }
.ta.done .ta-title { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--line-2); }
.ta.done .ta-ic { background: var(--good-bg); color: var(--good); }
.ta.skipped, .ta.postponed { opacity: 0.6; }
.ta-more { position: relative; }
.ta-more > summary { list-style: none; cursor: pointer; font-size: 13px; color: var(--muted); padding: 6px 8px; border-radius: 8px; }
.ta-more > summary::-webkit-details-marker { display: none; }
.ta-more > summary:hover { color: var(--heading); background: var(--surface-2); }
.ta-menu { position: absolute; right: 0; top: 100%; z-index: 5; min-width: 220px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-inner); box-shadow: var(--shadow); padding: 8px; display: grid; gap: 2px; }
.ta-menu .linkish { display: block; width: 100%; text-align: left; padding: 7px 8px; border-radius: 6px; text-decoration: none; color: var(--text); }
.ta-menu .linkish:hover { background: var(--surface-2); }
.ta-note { margin-top: 8px; }
.ta-note > summary { cursor: pointer; font-size: 14px; font-weight: 500; }
.ta-note-body { margin-top: 8px; padding: 12px; background: var(--surface-2); border-radius: var(--r-inner); }
.ta-note-body label { font-size: 13.5px; }
.today-empty, .today-done { margin: 8px 0 0; color: var(--muted); display: flex; gap: 8px; align-items: center; }
@media (max-width: 640px) {
  .ta { grid-template-columns: 32px minmax(0, 1fr) auto; }
  .ta-min { grid-column: 2; }
  .ta-go { grid-column: 2; }
  .ta-more { grid-column: 3; grid-row: 1; }
  .time-chips { margin-left: 0; width: 100%; }
  .ta-menu { right: 0; left: auto; }
}

.journey { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel); padding: 20px 22px; }
.journey .eyebrow { margin-bottom: 4px; }
.journey h2 { margin: 0; font-size: 19px; }
.jr-day { margin: 4px 0 14px; }
.jr-steps { list-style: none; padding: 0; margin: 0 0 14px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; position: relative; }
.jr-steps li { display: grid; justify-items: center; gap: 6px; text-align: center; position: relative; font-size: 12px; color: var(--muted); }
.jr-steps li::before { content: ""; position: absolute; top: 13px; left: -50%; width: 100%; height: 2px; background: var(--track); z-index: 0; }
.jr-steps li:first-child::before { display: none; }
.jr-steps li.done::before, .jr-steps li.cur::before { background: var(--gold-deep); }
.jd { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 2px solid var(--line-2); font-weight: 600; font-size: 12.5px; color: var(--muted); position: relative; z-index: 1; }
.jr-steps li.done .jd { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }
.jr-steps li.cur .jd { border-color: var(--heading); color: var(--heading); box-shadow: 0 0 0 4px var(--focus-ring); }
.jr-steps li.cur .jl { color: var(--heading); font-weight: 600; }
.jr-next { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; background: var(--surface-2); border-radius: var(--r-inner); margin: 0 0 10px; }
.jr-next p { margin: 2px 0 0; }
.jr-next .help { margin-top: 4px; }
.jr-prog { margin: 0 0 6px; color: var(--muted); font-size: 13.5px; display: flex; align-items: center; gap: 6px; }
.jr-more > summary { cursor: pointer; font-size: 13.5px; color: var(--muted); }
.jr-detail { padding-left: 18px; }
.jr-detail li { margin: 6px 0; }
.journey.complete { border-color: var(--gold-deep); box-shadow: inset 0 3px 0 var(--gold); }
.jr-summary { list-style: none; padding: 0; display: flex; gap: 18px; flex-wrap: wrap; }
.jr-summary strong { font-family: var(--display); font-size: 20px; color: var(--heading); }
.journey.empty p { color: var(--muted); }

.progress-strip { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel); padding: 18px; }
.ps { display: grid; gap: 4px; padding: 10px 12px; border-radius: var(--r-inner); background: var(--surface-2); min-width: 0; }
.ps small { color: var(--muted); font-size: 12.5px; }
.ps strong { font-family: var(--display); font-size: 22px; color: var(--heading); font-weight: 600; }
.ps strong .muted { font-size: 14px; font-weight: 400; }
.segs { display: grid; grid-template-columns: repeat(14, 1fr); gap: 2px; }
.segs span { height: 6px; border-radius: 2px; background: var(--track); }
.segs span.on { background: var(--good); }
.spark { width: 100%; max-width: 120px; height: 24px; }
.spark rect.on { fill: var(--gold-deep); }
.spark rect.off { fill: var(--track); }
.days { display: grid; grid-template-columns: repeat(14, 1fr); gap: 3px; }
.days span { height: 8px; border-radius: 50%; aspect-ratio: 1; background: var(--track); }
.days span.on { background: var(--heading); }
.ps-mile { grid-column: 1 / -1; margin: 0; font-size: 13.5px; display: flex; gap: 6px; align-items: center; }
.ps-note { grid-column: 1 / -1; margin: 0; color: var(--muted); }

.upload-drop { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; border: 2px dashed var(--line-2); border-radius: var(--r-panel); background: var(--surface); transition: border-color 120ms, background-color 120ms; }
.upload-drop.over { border-color: var(--gold-deep); background: var(--violet-bg); }
.upload-drop.busy { opacity: 0.85; }
.upload-drop h2 { margin: 0 0 4px; font-size: 18px; }
.upload-drop p { margin: 0; }
.upload-drop .help { margin-top: 6px; }
.ud-ic { width: 48px; height: 48px; border-radius: 12px; background: var(--gold); color: var(--on-gold); display: grid; place-items: center; flex: 0 0 auto; }
.ud-pick { position: relative; }
.ud-pick input[type=file] { position: absolute; inset: 0; opacity: 0; width: 100%; cursor: pointer; }
.ud-pick:focus-within { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.ud-status { margin-top: 8px !important; font-weight: 500; }
.upload-drop.compact { padding: 16px 18px; }
.upload-drop.compact .ud-ic { width: 40px; height: 40px; }

.up-steps { list-style: none; padding: 0; margin: 16px 0; display: flex; gap: 6px; flex-wrap: wrap; counter-reset: up; }
.up-steps li { counter-increment: up; font-size: 13px; color: var(--muted); padding: 5px 12px 5px 8px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); }
.up-steps li::before { content: counter(up); display: inline-grid; place-items: center; width: 18px; height: 18px; margin-right: 6px; border-radius: 50%; background: var(--track); color: var(--heading); font-size: 11px; font-weight: 600; }
.up-steps li.done::before { background: var(--gold); color: var(--on-gold); content: "✓"; }
.up-steps li.cur { color: var(--heading); border-color: var(--heading); font-weight: 600; }
.file-chip { display: inline-flex; gap: 10px; align-items: center; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--r-inner); background: var(--surface); }
.up-form fieldset { margin: 16px 0; }
.up-kind .check { align-items: flex-start; }
.sp-grid { display: grid; gap: 8px; }
.sp-row { display: grid; grid-template-columns: minmax(80px, 140px) minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.sp-old { font-size: 13px; color: var(--muted); }
@media (max-width: 640px) { .sp-row { grid-template-columns: 1fr; } }
.cov { list-style: none; padding: 0; display: grid; gap: 10px; }
.cov li { display: flex; gap: 10px; align-items: flex-start; }
.cov-dot { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--line-2); margin-top: 3px; flex: 0 0 auto; }
.notes-text p { margin: 0 0 10px; }

.more-home { margin-top: 20px; }
.more-home > summary { cursor: pointer; }
.more-home[open] > summary { margin-bottom: 12px; }
.plan-detail { margin-top: 0; }
.plan-detail .card.sprint { border: 0; padding: 0; }
.call-rows { list-style: none; padding: 0; }
.call-rows li { padding: 8px 0; border-top: 1px solid var(--line); display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.call-rows li:first-child { border-top: 0; }

.dev-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.dev-primary { grid-column: 1 / -1; }
@media (max-width: 900px) { .dev-grid { grid-template-columns: 1fr; } }
.dev-list { padding-left: 0; list-style: none; }
.dev-list li { padding: 8px 0; border-top: 1px solid var(--line); }
.dev-list li:first-child { border-top: 0; }
.dev-list.ranked { counter-reset: r; }
.dev-list.ranked li { counter-increment: r; padding-left: 28px; position: relative; }
.dev-list.ranked li::before { content: counter(r); position: absolute; left: 0; top: 9px; width: 20px; height: 20px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; font-size: 12px; font-weight: 600; }
.ta-more { border: 0; padding: 0; margin: 0; background: none; }
.ta-more[open] { border: 0; }
.ta-note { border: 0; padding: 0; margin: 8px 0 0; background: none; }
.ta-note > summary { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; background: var(--primary); color: var(--on-primary); font-size: 13.5px; }
.ta-note > summary::-webkit-details-marker { display: none; }
.ta-note[open] > summary { background: var(--surface-2); color: var(--heading); }
.jr-more { border: 0; padding: 0; background: none; margin: 4px 0 0; }
.ud-pick { display: inline; margin: 0; font-weight: 600; font-size: inherit; }
.journey details.jr-more[open] { border: 0; }
.today .ta-note-body label { margin-top: 8px; }
.ta-note-body .btn { margin-top: 10px; }
.days span { height: auto; width: 100%; max-width: 10px; aspect-ratio: 1; }
.days { gap: 2px; align-items: center; }

/* ================================================================== Round 28: the seller experience
 * Four destinations, section tabs, Ask Coach, growth layers, Learn & Playbook, My Sales and Practise.
 * Premium means fewer boxes: seller pages use lighter cards (no border, a faint lift), one gold action, and space.
 */
.shell.seller .main .card { border-color: transparent; box-shadow: 0 1px 2px rgba(11, 12, 16, 0.04), 0 8px 24px -18px rgba(11, 12, 16, 0.18); }
.shell.seller .main .card .card { box-shadow: none; border-color: var(--line); }
.shell.seller .main details.card { border-color: transparent; }

/* Sidebar: the four destinations lead, with icons; Ask Coach sits under them. */
.side .seller-nav .primary-group { display: none; }
.side .seller-nav a.prim { display: flex; align-items: center; gap: 10px; padding: 10px 12px; font-size: 15px; color: var(--bone); }
.side .seller-nav a.prim:first-of-type { margin-top: 14px; }
.nav-ic { width: 18px; height: 18px; flex: 0 0 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; opacity: 0.85; }
.side a.ask-coach-btn { display: flex; align-items: center; gap: 10px; margin: 12px 0 4px; padding: 10px 12px; border-radius: 10px; border: 1px solid rgba(255, 215, 0, 0.45); color: var(--gold); font-weight: 500; font-size: 14.5px; text-decoration: none; }
.side a.ask-coach-btn:hover { background: rgba(255, 215, 0, 0.08); color: var(--gold-hover); }

/* Floating Ask Coach on phones and tablets: bottom right, clear of content (the main area gets matching space). */
.ask-coach-fab { display: none; }
@media (max-width: 860px) {
  .ask-coach-fab { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 40; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px; border-radius: 999px; background: var(--obsidian); color: var(--gold); font-weight: 600; text-decoration: none; box-shadow: 0 10px 30px -10px rgba(11, 12, 16, 0.55); border: 1px solid rgba(255, 215, 0, 0.5); }
  .ask-coach-fab svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
  .shell.seller .main { padding-bottom: 96px; }
  .side a.ask-coach-btn { display: none; }
  .side .seller-nav a.prim { color: var(--obs-soft); font-size: 14.5px; padding: 8px 12px; }
  .side .seller-nav a.prim:first-of-type { margin-top: 0; }
  .side .seller-nav a.prim .nav-ic { display: none; }
}

/* The Ask Coach panel: a right-hand side sheet on desktop, a full-height sheet on phones. */
dialog.coach-panel { position: fixed; inset: 0 0 0 auto; margin: 0; width: min(480px, 100vw); max-width: 100vw; height: 100dvh; max-height: 100dvh; padding: 0; border: 0; border-left: 1px solid var(--line); background: var(--surface); color: var(--text); display: none; flex-direction: column; box-shadow: -24px 0 60px -30px rgba(11, 12, 16, 0.45); }
dialog.coach-panel[open] { display: flex; }
dialog.coach-panel::backdrop { background: rgba(11, 12, 16, 0.35); }
.coach-panel .cp-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; background: var(--obsidian); color: var(--bone); }
.coach-panel .cp-head h2 { margin: 0; font-size: 18px; color: var(--bone); }
.coach-panel .cp-close { background: transparent; border: 1px solid var(--obs-line-2); color: var(--bone); width: 36px; height: 36px; border-radius: 999px; font-size: 20px; line-height: 1; cursor: pointer; }
.coach-panel .cp-close:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.coach-panel .cp-context { margin: 0; padding: 10px 20px; border-bottom: 1px solid var(--line); }
.coach-panel .cp-log { flex: 1 1 auto; overflow-y: auto; padding: 16px 20px; display: flex; flex-direction: column; gap: 12px; }
.coach-panel .cp-turn { display: flex; flex-direction: column; gap: 8px; }
.coach-panel .cp-about { margin: 0; color: var(--muted); }
.coach-panel .coach-reply.in-panel { padding: 14px; margin: 0; box-shadow: none; border: 1px solid var(--line); }
.coach-panel .coach-reply.in-panel h3 { font-size: 14.5px; }
.coach-panel .cp-pending { font-style: italic; }
.coach-panel .cp-error { color: var(--bad); }
.coach-panel .cp-form { border-top: 1px solid var(--line); padding: 12px 20px calc(14px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; gap: 8px; background: var(--surface-2); }
.coach-panel .cp-form textarea { width: 100%; resize: vertical; min-height: 64px; }
.coach-panel .cp-form.busy { opacity: 0.7; }
.coach-panel .cp-prompts { display: flex; flex-wrap: wrap; gap: 6px; }
.coach-panel .cp-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.coach-panel .cp-actions a { margin-left: auto; font-size: 14px; }
.btn.gold { background: var(--gold); color: var(--on-gold); border-color: var(--gold); }
.btn.gold:hover { background: var(--gold-hover); }

/* Section tabs under the page title. Learn & Playbook labels its two modes. */
.section-tabs { display: flex; align-items: center; gap: 4px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: -8px 0 22px; padding-bottom: 2px; border-bottom: 1px solid var(--line); }
.section-tabs::-webkit-scrollbar { display: none; }
.section-tabs .st { flex: 0 0 auto; padding: 9px 12px; color: var(--muted); text-decoration: none; font-size: 14.5px; border-bottom: 2px solid transparent; margin-bottom: -3px; white-space: nowrap; }
.section-tabs .st:hover { color: var(--heading); }
.section-tabs .st.on { color: var(--heading); font-weight: 600; border-bottom-color: var(--gold); }
.section-tabs .st-group { flex: 0 0 auto; margin: 0 2px 0 14px; padding: 2px 8px; border-radius: 999px; font-size: 11.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }
.section-tabs .st-group.learn { background: var(--info-bg); color: var(--info); }
.section-tabs .st-group.use { background: var(--violet-bg); color: var(--accent-text); }

/* Your growth (Layer 1): one verified count, a map of the skills by stage, moves, and effort kept separate. */
.growth { background: var(--surface); border-radius: var(--r-panel); padding: 20px 22px; box-shadow: 0 1px 2px rgba(11, 12, 16, 0.04), 0 8px 24px -18px rgba(11, 12, 16, 0.18); margin-top: 16px; }
.gr-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.gr-head h2 { margin: 0; font-size: 19px; }
.gr-top { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin: 12px 0 8px; }
.gr-big { display: flex; align-items: baseline; gap: 8px; }
.gr-big strong { font-family: var(--display); font-size: 40px; font-weight: 600; letter-spacing: -0.03em; color: var(--heading); line-height: 1; }
.gr-big span { color: var(--muted); font-size: 14px; max-width: 12em; line-height: 1.3; }
.gm-map { display: grid; grid-template-columns: repeat(7, 18px); gap: 6px; }
.gm { display: inline-block; width: 18px; height: 18px; border-radius: 5px; background: var(--track); border: 1px solid transparent; }
a.gm:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.gm.no_evidence { background: var(--track); }
.gm.learned { background: #D9DEE8; }
.gm.demonstrated { background: #AEB8CC; }
.gm.observed { background: #6E84A8; }
.gm.verified { background: var(--gold-deep); }
.gm.sustained { background: var(--obsidian); box-shadow: inset 0 0 0 2px var(--gold); }
.gm.focus { outline: 2px solid var(--obsidian); outline-offset: 1px; }
.gm-legend { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 14px; padding: 0; margin: 4px 0 10px; font-size: 12.5px; color: var(--muted); }
.gm-legend li { display: inline-flex; align-items: center; gap: 6px; }
.gm-legend .gm { width: 11px; height: 11px; border-radius: 3px; }
.gr-moves { list-style: none; padding: 0; margin: 8px 0; display: grid; gap: 4px; font-size: 14.5px; }
.gr-moves .up span { color: var(--good); font-weight: 700; }
.gr-moves .down span { color: var(--bad); font-weight: 700; }
.gr-mile { display: flex; align-items: center; gap: 6px; margin: 8px 0; font-size: 14px; }
.gr-effort { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 12px 0 6px; padding-top: 12px; border-top: 1px solid var(--line); }
.gr-effort small { display: block; color: var(--muted); font-size: 12.5px; }
.gr-effort strong { font-family: var(--display); font-size: 20px; font-weight: 600; color: var(--heading); }
.growth .ps-note { margin: 4px 0 0; }

/* Your skills (Layer 2). */
.skill-map { margin-top: 20px; }
.skill-map .sm-fam { margin-top: 14px; }
.skill-map h3 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted); margin: 0 0 8px; }
.skill-map ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px; }
.skill-tile { display: grid; grid-template-columns: 14px minmax(0, 1fr); grid-template-areas: "dot name" "dot state"; column-gap: 10px; padding: 12px 14px; border-radius: var(--r-inner); background: var(--surface); text-decoration: none; color: var(--text); box-shadow: 0 1px 2px rgba(11, 12, 16, 0.05); border: 1px solid var(--line); }
.skill-tile:hover { border-color: var(--line-hover); }
.skill-tile.focus { border-color: var(--gold-deep); }
.skill-tile .st-dot { grid-area: dot; width: 14px; height: 14px; margin-top: 4px; }
.skill-tile .st-name { grid-area: name; font-weight: 500; color: var(--heading); }
.skill-tile .st-state { grid-area: state; font-size: 13.5px; color: var(--muted); }
.dir { font-weight: 700; }
.dir.up { color: var(--good); }
.dir.down { color: var(--bad); }
.dir.flat { color: var(--muted); }

/* Layer 3: one skill's evidence. */
.skill-head { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: flex-start; }
.skill-head .lead { max-width: 60ch; margin: 0; }
.ev-list { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 10px; }
.ev-list li { padding: 10px 0; border-top: 1px solid var(--line); }
.ev-list .quote { margin-top: 6px; }
ul.facts { padding-left: 18px; margin: 6px 0 12px; }
ul.facts li { margin: 3px 0; }
.progress-top { display: grid; gap: 14px; }

/* Learn & Playbook home. */
.lp-search { display: flex; gap: 8px; margin-bottom: 18px; }
.lp-search input { flex: 1 1 auto; min-height: 46px; font-size: 16px; }
.modes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.mode { background: var(--surface); border-radius: var(--r-panel); padding: 20px 22px; box-shadow: 0 1px 2px rgba(11, 12, 16, 0.04), 0 8px 24px -18px rgba(11, 12, 16, 0.18); border-top: 3px solid var(--info); }
.mode.use { border-top-color: var(--gold); }
.mode-top h2 { margin: 2px 0 4px; }
.mode-tag, .mode-h { display: inline-block; margin: 0; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.mode.learn .mode-tag, .mode-h.learn { background: var(--info-bg); color: var(--info); }
.mode.use .mode-tag, .mode-h.use { background: var(--violet-bg); color: var(--accent-text); }
.mode h3 { font-size: 14px; margin: 16px 0 6px; color: var(--muted); }
.lp-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.lp-row { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 9px 8px; border-radius: 9px; text-decoration: none; color: var(--text); }
.lp-row:hover { background: var(--surface-2); }
.lp-ch { display: inline-flex; justify-content: center; align-items: center; height: 30px; border-radius: 8px; background: var(--info-bg); color: var(--info); font: 600 12.5px var(--mono); }
.lp-ch.play { background: var(--violet-bg); color: var(--accent-text); font-family: var(--display); }
.lp-main strong { display: block; color: var(--heading); font-weight: 500; line-height: 1.35; }
.lp-main small { color: var(--muted); }
.lp-row .bar { width: 64px; }
.lp-results { margin-bottom: 20px; }
.cat-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 12px 0 4px; }
.lp-browse { margin-top: 24px; }
.month-strip { list-style: none; padding: 0; margin: 8px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.month-strip a { display: block; height: 100%; padding: 10px 12px; border-radius: var(--r-inner); background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--text); }
.month-strip a:hover { border-color: var(--line-hover); }
.ms-n { display: block; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.ms-t { display: block; font-weight: 500; color: var(--heading); }
.ms-p { display: block; font-size: 12.5px; color: var(--muted); }
@media (max-width: 860px) { .modes { grid-template-columns: 1fr; } }

/* My Sales. */
.sales-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: stretch; }
.sales-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; background: var(--surface); border-radius: var(--r-panel); padding: 18px 20px; box-shadow: 0 1px 2px rgba(11, 12, 16, 0.04), 0 8px 24px -18px rgba(11, 12, 16, 0.18); }
.sales-stats small { display: block; color: var(--muted); font-size: 12.5px; }
.sales-stats strong { font-family: var(--display); font-size: 28px; font-weight: 600; color: var(--heading); }
.sales-list { list-style: none; padding: 0; margin: 8px 0 0; }
.sales-list li { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 0; border-top: 1px solid var(--line); }
.sales-list li:first-child { border-top: 0; }
.sales-list a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.sl-meta { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
@media (max-width: 860px) { .sales-top { grid-template-columns: 1fr; } }

/* Practise. */
.practise-lead { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.practise-lead > section { background: var(--surface); border-radius: var(--r-panel); padding: 20px 22px; box-shadow: 0 1px 2px rgba(11, 12, 16, 0.04), 0 8px 24px -18px rgba(11, 12, 16, 0.18); }
.practise-lead .pl-today { border-top: 3px solid var(--gold); }
.practise-lead .pl-continue { background: var(--obsidian); color: var(--obs-soft); }
.practise-lead .pl-continue h2 { color: var(--bone); }
.practise-lead .pl-continue .muted, .practise-lead .pl-continue small { color: var(--obs-muted); }
.practise-lead .pl-continue .eyebrow { color: var(--gold); }
.practise-lead h2 { font-size: 19px; margin: 2px 0 6px; }
.practise-lead .row small { display: inline-flex; align-items: center; gap: 4px; }
.pq-list { list-style: none; padding: 0; margin: 6px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; }
.pq { display: flex; flex-direction: column; justify-content: space-between; gap: 10px; padding: 14px; border: 1px solid var(--line); border-radius: var(--r-inner); }
.pq p { margin: 4px 0 0; }
details.customise > summary { padding: 4px 0; }
.back-to { display: inline-block; margin-bottom: 10px; font-size: 14px; color: var(--muted); }
.prep .row, .mission .row { gap: 8px; }
@media (max-width: 640px) { .gr-effort { grid-template-columns: 1fr 1fr 1fr; } .gr-big strong { font-size: 34px; } .lp-search { flex-direction: column; } }

/* ================================================================== Round 29: the Coach is the product
 * The conversation leads the home page: the Coach's opening on obsidian, the conversation, and a composer where the
 * microphone is as prominent as the text box. Mode pills make Coach and Buyer unmistakable.
 */
.coach-home { margin-bottom: 24px; }
.co-status { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.co-status .co-links { margin-left: auto; font-size: 14px; color: var(--muted); }
.mode-pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.mode-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.mode-pill.coach { background: var(--obsidian); color: var(--gold); }
.mode-pill.buyer { background: var(--info-bg); color: var(--info); }
.coach-home .hero-band { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.coach-home .co-line { font-family: var(--display); font-size: 24px; line-height: 1.3; color: var(--bone); margin: 0; letter-spacing: -0.01em; }
.coach-home .co-basis { margin: 6px 0 0; color: var(--obs-muted); }
.coach-home .co-prompts { grid-column: 1; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.coach-home .co-prompts .chip { background: transparent; color: var(--bone); border-color: var(--obs-line-2); }
.coach-home .co-prompts .chip:hover { border-color: var(--gold); color: var(--gold); }
.coach-home .co-side { grid-column: 2; grid-row: 1 / span 2; display: grid; gap: 10px; }
.co-rec, .co-win { background: rgba(255, 255, 255, 0.04); border: 1px solid var(--obs-line); border-radius: var(--r-inner); padding: 12px 14px; display: grid; gap: 6px; }
.co-rec small, .co-win small { color: var(--obs-muted); text-transform: uppercase; letter-spacing: 0.06em; font-size: 11.5px; }
.co-rec strong, .co-win strong { color: var(--bone); font-weight: 500; }
.co-win .muted { color: var(--obs-muted); font-size: 13px; }
.co-log { display: flex; flex-direction: column; gap: 12px; margin: 16px 0 12px; }
.co-log:empty { display: none; }
.co-log.readonly { margin: 0; }
.ct { max-width: 760px; }
.ct-seller { align-self: flex-end; }
.ct-seller .bubble, .ct-buyer .bubble { max-width: none; }
.ct-buyer .bubble { background: var(--info-bg); border-color: transparent; }
.ct-coach { background: var(--surface); border-radius: var(--r-panel); padding: 16px 18px; box-shadow: 0 1px 2px rgba(11, 12, 16, 0.04), 0 8px 24px -18px rgba(11, 12, 16, 0.18); border-left: 3px solid var(--gold); }
.ct-answer { margin: 0; font-size: 16.5px; line-height: 1.6; color: var(--heading); white-space: pre-line; }
.ct-engine { margin: 8px 0 0; color: var(--muted); }
.ct-notice { margin: 8px 0 0; color: var(--warn); font-size: 14px; }
.ct-mode { align-self: stretch; max-width: none; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 10px 14px; border-radius: var(--r-inner); background: var(--info-bg); color: var(--info); }
.ct-mode p { margin: 0; }
.ct-system { align-self: center; color: var(--muted); font-size: 14px; }
.ct-system p { margin: 0; }
.ct-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.ct-saved { display: inline-flex; align-items: center; gap: 10px; margin-top: 10px; padding: 6px 10px; border-radius: 999px; background: var(--good-bg); color: var(--good); font-size: 14px; }
.ct-saved.undone { background: var(--surface-2); color: var(--muted); }
.ct-assess { margin-top: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-inner); }
.linkish { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font: inherit; }
.linkish.danger { color: var(--bad); }
.coach-sources { margin: 12px 0 0; border: 0; padding: 0; background: none; }
.coach-sources > summary { font-size: 14px; color: var(--muted); font-weight: 500; }
.coach-sources[open] > summary { margin-bottom: 8px; }
.cs-part { margin-top: 10px; }
.cs-part h4 { margin: 0 0 6px; font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.cs-part ul { margin: 0; padding-left: 18px; }
.cs-teach { margin: 0 0 6px; }
.composer { background: var(--surface); border-radius: var(--r-panel); padding: 12px; box-shadow: 0 1px 2px rgba(11, 12, 16, 0.05), 0 10px 30px -20px rgba(11, 12, 16, 0.3); border: 1px solid var(--line); }
.composer.in-buyer { border-color: var(--info); box-shadow: inset 0 3px 0 var(--info); }
.composer.busy { opacity: 0.75; }
.composer-row { display: flex; align-items: flex-end; gap: 10px; }
.composer textarea { flex: 1 1 auto; min-height: 48px; max-height: 180px; resize: none; border: 0; background: transparent; font: 16px/1.5 var(--font); padding: 12px 4px; }
.composer textarea:focus-visible { outline: none; }
.composer:focus-within { border-color: var(--line-hover); }
.composer .send { min-height: 48px; padding: 0 22px; }
.mic-btn { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-width: 64px; min-height: 56px; border-radius: 16px; border: 1px solid var(--obs-line-2); background: var(--obsidian); color: var(--gold); cursor: pointer; font: 600 12px var(--font); text-decoration: none; }
.mic-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.mic-btn:hover { background: var(--graphite); }
.mic-btn.on { background: var(--gold); color: var(--on-gold); border-color: var(--gold); }
.mic-btn.listening { box-shadow: 0 0 0 4px rgba(255, 215, 0, 0.35); }
.mic-btn.locked { background: var(--surface-2); color: var(--muted); border-color: var(--line-2); font-weight: 500; text-align: center; padding: 0 8px; }
.composer-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 22px; padding: 4px 4px 0; }
.voice-state { font-size: 13.5px; color: var(--muted); }
.co-privacy { margin: 8px 2px 0; color: var(--muted); }
.coach-panel .composer { box-shadow: none; border-radius: 0; border: 0; border-top: 1px solid var(--line); }
.coach-panel .cp-head .mode-pill { margin-left: auto; margin-right: 10px; }
.session-list { list-style: none; padding: 0; margin: 0; }
.session-list > li { padding: 12px 0; border-top: 1px solid var(--line); }
.session-list > li:first-child { border-top: 0; }
.memory-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.memory-list > li { padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-inner); display: grid; gap: 8px; }
.memory-list > li.done { opacity: 0.7; }
.mem-head { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.mem-edit { display: flex; gap: 8px; }
.mem-edit input { flex: 1 1 auto; }
.setting-row { display: grid; grid-template-columns: 220px minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); }
.setting-row label { font-weight: 500; }
.rec-month { margin: 18px 0 6px; font-size: 14px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.record { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.record .rec { position: relative; display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 4px 12px; padding: 8px 0 8px 16px; }
.record .rec::before { content: ""; position: absolute; left: -6px; top: 14px; width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.record .rec.stage::before { background: var(--gold-deep); }
.record .rec.stage.down::before { background: var(--bad); }
.record .rec.practice::before { background: var(--info); }
.record .rec.session::before { background: var(--obsidian); }
.rec-kind { font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); padding-top: 2px; }
.rec-title { color: var(--heading); }
.record .rec small { grid-column: 2; }
@media (max-width: 860px) {
  .coach-home .hero-band { grid-template-columns: 1fr; }
  .coach-home .co-side { grid-column: 1; grid-row: auto; }
  .coach-home .co-line { font-size: 20px; }
  .co-status .co-links { margin-left: 0; width: 100%; }
  .setting-row { grid-template-columns: 1fr; }
  .record .rec { grid-template-columns: 1fr; }
  .record .rec small { grid-column: 1; }
}
@media (max-width: 480px) {
  .composer-row { flex-wrap: wrap; }
  .composer textarea { order: -1; flex-basis: 100%; }
  .mic-btn { flex: 1 1 auto; flex-direction: row; min-height: 48px; }
  .composer .send { flex: 1 1 auto; }
}
.coach-home .co-new { margin-top: 10px; display: inline-block; }
.coach-home .co-new .chip { background: transparent; color: var(--bone); border-color: var(--obs-line-2); }

/* Round 29: call review status */
.call-status.working { border-left: 4px solid var(--gold); }
.call-status.failed { border-left: 4px solid var(--bad); }

/* ---------------------------------------------------------------- Round 30: progress, scores and Levels */
.score-ring { --size: 112px; position: relative; width: var(--size); height: var(--size); margin: 0; flex: none; }
.score-ring svg { width: 100%; height: 100%; }
.score-ring circle { fill: none; stroke-width: 9; }
.score-ring .track { stroke: var(--track); }
.score-ring .value { stroke: var(--gold-deep); stroke-linecap: round; }
.score-ring figcaption { position: absolute; inset: 0; display: flex; align-items: baseline; justify-content: center; padding-top: calc(var(--size) * 0.33); font-family: var(--display); color: var(--heading); }
.score-ring figcaption strong { font-size: calc(var(--size) * 0.3); line-height: 1; }
.score-ring figcaption small { font-size: 13px; color: var(--muted); margin-left: 2px; }
.score-card .score-main { display: flex; gap: 20px; align-items: center; }
.score-card h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; }
.score-card .lead-sm { margin: 0 0 6px; color: var(--lead); }
.score-card .how { margin-top: 12px; }
.grade { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; font-size: 15px; font-weight: 700; background: var(--surface-2); border: 1px solid var(--line-2); color: var(--heading); }
.grade.g-A, .grade.g-B { background: var(--good-bg); color: var(--good); border-color: transparent; }
.grade.g-C { background: var(--warn-bg); color: var(--warn); border-color: transparent; }
.grade.g-D, .grade.g-F { background: var(--bad-bg); color: var(--bad); border-color: transparent; }
.lv-badge { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; flex: none; font-family: var(--display); font-size: 24px; font-weight: 700; background: var(--obsidian); color: var(--gold); box-shadow: inset 0 0 0 2px var(--gold-deep); }
.lv-badge.l0 { background: var(--surface-2); color: var(--muted); box-shadow: inset 0 0 0 2px var(--line-2); }
.level-card .lv-head { display: flex; gap: 16px; align-items: center; }
.level-card .eyebrow { margin: 0 0 2px; }
.level-card h2 { margin: 0; }
.lv-claim { margin: 4px 0 0; color: var(--lead); font-style: italic; }
.lv-next { margin-top: 16px; }
.lv-bar { height: 10px; border-radius: 999px; background: var(--track); overflow: hidden; margin-bottom: 10px; }
.lv-bar span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--gold-deep), var(--gold)); }
.lv-more { margin: 10px 0 0; }
.lv-ladder { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 12px; }
.lv-ladder li { display: flex; gap: 14px; padding: 14px; border: 1px solid var(--line); border-radius: var(--r-inner); background: var(--surface); }
.lv-ladder li.here { border-color: var(--gold-deep); box-shadow: 0 0 0 3px var(--focus-ring); }
.lv-ladder li.ahead { border-style: dashed; }
.lv-ladder h3 { margin: 0 0 6px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.lv-ladder p { margin: 4px 0; }
.score-chart .chart { width: 100%; height: auto; display: block; }
.score-chart .grid { stroke: var(--line); stroke-width: 1; }
.score-chart .axis { fill: var(--muted); font-size: 11px; }
.score-chart .line { fill: none; stroke: var(--primary); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.score-chart .dot { fill: var(--surface); stroke: var(--primary); stroke-width: 2; }
.score-chart .dot.last { fill: var(--gold); }
.score-chart .hit { fill: transparent; }
.score-chart .pt:hover .dot { r: 7; }
.score-chart .direct { fill: var(--heading); font-size: 13px; font-weight: 700; }
.score-chart h2 { margin: 0; }
.progress-band { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 16px 0; }
.pb-item { display: flex; gap: 12px; align-items: center; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel); color: var(--text); text-decoration: none; }
.pb-item:hover { border-color: var(--line-hover); }
.pb-item small { display: block; color: var(--muted); font-size: 12.5px; }
.pb-item strong { display: block; font-family: var(--display); font-size: 22px; color: var(--heading); }
.pb-item .unit { font-size: 13px; color: var(--muted); font-weight: 500; margin-left: 2px; }
.pb-item em { display: block; font-style: normal; font-size: 12.5px; color: var(--lead); }
.progress-hero { align-items: start; margin-bottom: 16px; }
@media (max-width: 860px) { .progress-band { grid-template-columns: 1fr; } .score-card .score-main { flex-direction: column; align-items: flex-start; } }
.debrief .eyebrow { margin: 0 0 4px; }
.debrief h2 { margin: 0 0 8px; }
.debrief.good { border-top: 4px solid var(--good); }
.debrief.partly { border-top: 4px solid var(--gold-deep); }
/* Rep redesign, Milestone 1: the coaching summary and the next-action panel (existing tokens and fonts only). */
.cs-page { display: grid; gap: 16px; max-width: 980px; }
.cs .cs-head h2 { margin: 4px 0 6px; }
.cs .cs-head .db-progress { margin-bottom: 0; }
.cs-jump { display: none; margin: 10px 0 -4px; }
.cs-jump a { font-weight: 600; }
.cs-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 14px 0; }
.cs-grid.one { grid-template-columns: minmax(0, 1fr); }
.cs-block { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-inner); padding: 16px 18px; margin: 0; }
.cs-block h3 { margin: 0 0 8px; font-size: 17px; }
/* Quotes inside a block: an excerpt with a rule, not another box. */
.cs-block .quote { margin: 8px 0 10px; padding: 0 0 0 12px; background: none; border: 0; border-left: 3px solid var(--line-2); border-radius: 0; }
.cs-block .quote small { margin: 0 0 2px; }
.cs-block .quote.try { border-left-color: var(--gold-deep); }
.cs-block p { margin: 6px 0 0; }
.cs-block.worked { border-left: 4px solid var(--good); }
.cs-block.fix { border-left: 4px solid var(--gold-deep); }
.cs-next { margin: 4px 0 0; padding: 22px 24px; border-radius: var(--r-panel); background: var(--obsidian); color: var(--bone); }
.cs-next .eyebrow { color: var(--gold); margin: 0 0 6px; }
.cs-next h3 { color: var(--bone); margin: 0 0 6px; font-size: 22px; }
.cs-next .cs-why { color: var(--obs-soft); margin: 0 0 14px; }
.cs-next .cs-status { color: var(--obs-muted); font-size: 14px; margin: 0 0 10px; }
.cs-next .cs-kicker { color: var(--obs-muted); font-size: 13px; font-weight: 600; letter-spacing: 0.04em; margin: 0 0 2px; }
.cs-next .cs-notice { color: var(--obs-soft); }
.cs-primary { margin: 4px 0 0; }
.cs-primary .btn { min-height: 48px; padding-left: 26px; padding-right: 26px; font-size: 16px; }
.cs-secondary { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--obs-line); }
.cs-secondary .cs-or { margin: 0 0 6px; color: var(--obs-muted); font-size: 13px; }
.cs-secondary ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cs-secondary li { margin: 0; display: flex; align-items: flex-start; gap: 10px; }
.cs-secondary li::before { content: "→"; color: var(--obs-muted); }
.cs-secondary form { display: inline; }
.cs-link, .cs-next a.cs-link { background: none; border: 0; padding: 0; min-height: 0; color: var(--bone); font: inherit; font-weight: 500; text-align: left; text-decoration: underline; text-decoration-color: var(--gold-deep); text-underline-offset: 4px; cursor: pointer; }
.cs-link:hover, .cs-next a.cs-link:hover { color: var(--gold-hover); }
/* The floating Ask Coach button (below 860px) never covers the end of this page; Coach stays one tap away. */
/* ---------------------------------------------------------------- Rep redesign, Milestone 2: shell and What's Next */
/* Existing tokens only. The Rep shell is the one whose header carries Ask Coach (.side:has(.ask-coach-head)). */
.ask-coach-head { display: none; }
@media (max-width: 860px) {
  /* Ask Coach in the header beside Menu, replacing the floating button for reps (managers keep theirs). */
  .side:has(.ask-coach-head) { grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: "brand ask out" "ws ws ws" "nav nav nav"; column-gap: 8px; }
  .side:has(.ask-coach-head):has(.areas) { grid-template-areas: "brand ask out" "ws ws ws" "areas areas areas" "nav nav nav"; }
  .side .ask-coach-head { grid-area: ask; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--gold-deep); color: var(--gold); font-weight: 600; font-size: 14.5px; text-decoration: none; }
  .side .ask-coach-head .nav-ic { width: 16px; height: 16px; flex-basis: 16px; opacity: 1; }
  .side .ask-coach-head:hover { color: var(--gold-hover); }
  .side .ask-coach-head:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
  .shell.seller:has(.ask-coach-head) .main { padding-bottom: 48px; }
  /* The five destinations as one even row of icon and label, never wrapping or scrolling sideways. */
  .side.js-nav:not(.nav-open):has(.ask-coach-head) nav { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2px; margin-top: 10px; }
  .side:has(.ask-coach-head) .seller-nav a.prim { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 2px 9px; font-size: 12px; line-height: 1.2; text-align: center; white-space: normal; color: var(--obs-soft); }
  .shell.seller .side:has(.ask-coach-head) .seller-nav a.prim .nav-ic { display: block; width: 20px; height: 20px; flex-basis: 20px; }
  .side:has(.ask-coach-head) .seller-nav a.prim.on { color: var(--bone); }
  .side:has(.ask-coach-head) .seller-nav a.prim.on .nav-ic { color: var(--gold); opacity: 1; }
  .side.js-nav:not(.nav-open):has(.ask-coach-head) .seller-nav a.prim.on::before { left: 30%; right: 30%; bottom: 0; }
  /* The open menu shows every link under Account, Support and You (an earlier rule hid them on phones). */
  .shell .side.js-nav.nav-open:has(.ask-coach-head) nav > a:not(.ask-coach-btn):not(.prim) { display: block; }
  .side.js-nav.nav-open:has(.ask-coach-head) .seller-nav a.prim { flex-direction: row; justify-content: flex-start; text-align: left; gap: 10px; font-size: 14.5px; padding: 8px 12px; }
}
@media (max-width: 380px) {
  .side .ask-coach-head span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .side .ask-coach-head { padding: 0 12px; }
  .side:has(.ask-coach-head) .seller-nav a.prim { font-size: 11px; }
}

/* What's Next: the one recommended action leads (the same panel as after a practice), then the rest of the day. */
.wn-page { display: grid; gap: 22px; }
.wn-page > * { margin-top: 0; margin-bottom: 0; }
.wn-page .cs-next { margin: 0; }
.wn-later { margin-top: 2px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; font-size: 14px; color: var(--obs-muted); }
.wn-later form { display: inline; }
.wn-later .linkish { color: var(--obs-soft); text-decoration: underline; text-decoration-color: var(--obs-line-2); text-underline-offset: 3px; }
.wn-later .linkish:hover { color: var(--bone); }
.wn-section-h { margin: 0 0 10px; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.wn-progress { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; }
.wn-progress p { margin: 0; }
.wn-progress nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.cs-next.cs-top { padding: 26px 28px; }
.cs-next.cs-top h2 { color: var(--bone); margin: 0 0 8px; font-size: 26px; line-height: 1.2; }
.cs-next.cs-top .cs-why { max-width: 62ch; }
.today-main { display: grid; gap: 16px; min-width: 0; }
/* Continuous development, not a checklist: no "x of y done" tally on What's Next. */
.today-main .today-count { display: none; }
.dt-more > summary { cursor: pointer; font-weight: 600; margin: 12px 0 4px; color: var(--link); }
.us-compact > summary { cursor: pointer; }
.us-compact > summary small { margin-left: 6px; }
/* Before the first win the Academy mission is the recommended action: the same dark panel as What's Next. */
.wn-lead .ac-card { background: var(--obsidian); color: var(--bone); border-color: var(--obsidian); padding: 26px 28px; }
.wn-lead .ac-card h2 { color: var(--bone); font-size: 26px; line-height: 1.2; margin: 6px 0 8px; }
.wn-lead .ac-card p { color: var(--obs-soft); }
.wn-lead .ac-card .ac-eyebrow { color: var(--gold); }
.wn-lead .ac-card .ac-small { color: var(--obs-muted); }
.wn-lead .ac-card .linkish { color: var(--obs-soft); }
.wn-lead .ac-card .ac-row .btn.gold { min-height: 48px; padding: 0 26px; font-size: 16px; }
.wn-lead .ac-card .ac-row .btn.ghost { background: transparent; color: var(--bone); border-color: var(--obs-line-2); }
@media (max-width: 640px) { .wn-lead .ac-card { padding: 20px 18px; } .wn-lead .ac-card h2 { font-size: 22px; } }
@media (max-width: 640px) { .cs-next.cs-top { padding: 20px 18px; } .cs-next.cs-top h2 { font-size: 22px; } }
.cs-link:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.cs-mission { color: var(--obs-soft); }
.cs-more > summary { cursor: pointer; font-weight: 600; }
.cs-more[open] > summary { margin-bottom: 12px; }
@media (max-width: 640px) { .cs-jump { display: block; } .cs-grid { grid-template-columns: minmax(0, 1fr); } .cs-next { padding: 18px; } .cs-block { padding: 14px; } .cs .cs-head .db-progress { font-size: 13.5px; } .cs-primary .btn, .cs-primary form, .cs-primary a { width: 100%; justify-content: center; text-align: center; } .cs-primary form button { width: 100%; } .cs-next h3 { font-size: 20px; } }
.debrief.notyet { border-top: 4px solid var(--bad); }
.db-progress { display: inline-block; margin: 0 0 12px; padding: 6px 12px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); font-size: 14px; color: var(--lead); }
.db-block { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.db-block h3, .db-next h3 { margin: 0 0 10px; font-size: 16px; }
.db-block.worked h3::before { content: "✓ "; color: var(--good); }
.db-block.fix h3::before { content: "→ "; color: var(--accent-text); }
.db-block .quote { margin: 8px 0; }
.db-book { margin-top: 14px; }
.db-next { margin-top: 18px; padding: 16px; border-radius: var(--r-inner); background: var(--surface-2); }
.db-next p { margin: 0 0 12px; }
.db-note { margin-top: 14px; }
.deal-tasks { border-left: 4px solid var(--gold-deep); }
.deal-tasks h2 { margin: 0; }
.dt-list { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 12px; }
.dt-item { padding: 14px; border: 1px solid var(--line); border-radius: var(--r-inner); background: var(--surface); }
.dt-head { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.dt-head h3 { margin: 0; font-size: 16px; }
.dt-kind { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; padding: 3px 8px; border-radius: 999px; background: var(--info-bg); color: var(--info); }
.dt-kind.call { background: var(--warn-bg); color: var(--warn); }
.dt-item p { margin: 8px 0; }
.dt-item details { margin: 8px 0; }
.dt-done { margin: 12px 0 0; color: var(--muted); }
.co-task { margin-top: 12px; }
.cb-help { display: block; margin-top: 4px; }
.coach-home .co-task .chip.gold { background: var(--gold); color: var(--on-gold); border-color: var(--gold); }
.coach-home .co-task .chip.ghost { opacity: 0.8; }
.grid > .stack { align-content: start; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chip-row .chip small { margin-left: 6px; color: var(--muted); }
.sit-nav { position: sticky; top: 0; z-index: 2; padding: 10px 0; background: var(--paper); }
.sit-list { list-style: none; padding: 0; margin: 12px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; }
.sit-card { display: flex; flex-direction: column; justify-content: space-between; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: var(--r-inner); background: var(--surface); }
.sit-card h3 { margin: 0 0 6px; font-size: 16px; }
.sit-card p { margin: 0 0 6px; }
.sit-meta { color: var(--muted); }
@media (max-width: 860px) { .sit-list { grid-template-columns: 1fr; } }
.sit-list > li { margin: 0; }
/* Round 30: square share card (matches the 1080 x 1080 PNG drawn in app.js) */
.ach-card.sq { aspect-ratio: 1 / 1; max-width: 460px; width: 100%; margin: 0 0 14px; padding: 7%; display: flex; flex-direction: column; justify-content: space-between; border-radius: 18px; color: var(--bone); background: radial-gradient(120% 90% at 100% 0%, rgba(255, 215, 0, 0.2), rgba(255, 215, 0, 0) 55%), var(--obsidian); box-shadow: var(--shadow); container-type: inline-size; }
.sq-brand { display: flex; align-items: center; gap: 10px; }
.sq-brand img { width: 11cqw; height: auto; }
.sq-brand .wm { display: flex; flex-direction: column; line-height: 0.95; font-family: var(--display); }
.sq-brand .wm small { font-size: 3cqw; font-weight: 700; color: var(--bone); letter-spacing: 0.04em; }
.sq-brand .wm b { font-size: 6cqw; color: var(--gold); }
.sq-eyebrow { margin: 0 0 2cqw; color: var(--gold); font: 700 3.2cqw var(--font); letter-spacing: 0.12em; text-transform: uppercase; }
.sq-headline { margin: 0; font: 700 13cqw/1 var(--display); color: #fff; letter-spacing: -0.02em; }
.sq-subject { margin: 3cqw 0 0; font: 600 6cqw/1.15 var(--display); color: var(--bone); }
.sq-line { margin: 2.5cqw 0 0; font-size: 3.6cqw; color: var(--obs-soft); }
.sq-foot { display: flex; flex-direction: column; gap: 1.5cqw; }
.sq-level { align-self: flex-start; padding: 1.4cqw 3cqw; border-radius: 999px; border: 2px solid var(--gold); color: var(--gold); font: 700 3.2cqw var(--font); letter-spacing: 0.06em; text-transform: uppercase; }
.sq-name { font-size: 3.4cqw; color: var(--obs-soft); }
.btn.linkedin { background: #0A66C2; color: #fff; border-color: #0A66C2; }
.btn.linkedin:hover { background: #004182; border-color: #004182; }
/* ---------------------------------------------------------------- Round 30: Sales Capability Report (A4) */
.report-cta { display: flex; gap: 20px; align-items: center; justify-content: space-between; border-left: 4px solid var(--gold-deep); }
.report-cta h2 { margin: 0 0 6px; }
.report-cta p { margin: 0; }
.doc-body { background: var(--paper); color: var(--text); }
.report { max-width: 210mm; margin: 24px auto; padding: 18mm 16mm; background: #fff; box-shadow: var(--shadow); font-size: 13.5px; }
.report-actions { display: flex; gap: 10px; align-items: center; margin: -6mm 0 8mm; flex-wrap: wrap; }
.rp-head { display: flex; gap: 22px; align-items: center; padding: 18px 20px; margin: 0 0 18px; border-radius: 14px; color: var(--bone); background: radial-gradient(120% 140% at 100% 0%, rgba(255, 215, 0, 0.22), rgba(255, 215, 0, 0) 55%), var(--obsidian); -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.rp-brand { display: flex; gap: 8px; align-items: center; }
.rp-brand .wm { display: flex; flex-direction: column; line-height: 0.95; font-family: var(--display); }
.rp-brand .wm small { font-size: 11px; font-weight: 700; }
.rp-brand .wm b { font-size: 22px; color: var(--gold); }
.rp-title h1 { margin: 2px 0; color: #fff; font-size: 28px; }
.rp-eyebrow { margin: 0; color: var(--gold); font-weight: 700; font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; }
.rp-headline { margin: 2px 0; color: var(--bone); }
.rp-meta { margin: 4px 0 0; color: var(--obs-soft); font-size: 12px; }
.rp-hero { display: grid; grid-template-columns: 1.3fr 1fr 0.9fr; gap: 12px; margin-bottom: 16px; }
.rp-hero > div { display: flex; gap: 12px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: 12px; }
.rp-k { margin: 0; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }
.rp-v { margin: 2px 0; font: 700 17px var(--display); color: var(--heading); }
.rp-claim { margin: 0; font-style: italic; color: var(--lead); font-size: 12.5px; }
.rp-s { margin: 2px 0 0; font-size: 12px; color: var(--lead); }
.rp-big { margin: 2px 0; font: 700 32px/1 var(--display); color: var(--heading); }
.rp-big small { font-size: 15px; color: var(--muted); font-weight: 500; }
.rp-block { margin: 0 0 16px; break-inside: avoid; }
.rp-block h2 { font-size: 16px; margin: 0 0 8px; padding-bottom: 6px; border-bottom: 2px solid var(--gold-deep); }
.rp-next { color: var(--lead); }
.rp-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.rp-table th, .rp-table td { text-align: left; vertical-align: top; padding: 8px 6px; border-bottom: 1px solid var(--line); }
.rp-table thead th { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.rp-table tbody th { font-weight: 600; width: 24%; }
.rp-pill { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; background: var(--good-bg); color: var(--good); }
.rp-pill.sustained { background: var(--obsidian); color: var(--gold); -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.rp-dev { color: var(--lead); }
.rp-chart .card { padding: 0; border: 0; box-shadow: none; }
.rp-chart details { display: none; }
.rp-effort-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.rp-effort-list li { padding: 10px; border-radius: 10px; background: var(--surface-2); }
.rp-effort-list strong { display: block; font: 700 22px var(--display); color: var(--heading); }
.rp-effort-list span { font-size: 12px; color: var(--lead); }
.rp-method p { font-size: 12px; color: var(--lead); }
.rp-privacy { font-weight: 600; }
.rp-foot { margin-top: 14px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 11px; color: var(--muted); text-align: center; }
@media (max-width: 760px) { .report { margin: 0; padding: 16px; } .rp-hero, .rp-effort-list { grid-template-columns: 1fr; } .rp-head { flex-direction: column; align-items: flex-start; } }
@media print {
  @page { size: A4; margin: 12mm; }
  .doc-body { background: #fff; }
  .report { margin: 0; padding: 0; box-shadow: none; max-width: none; }
  .report .btn { display: none !important; }
}
.rp-hero { grid-template-columns: 1.1fr 1.3fr 0.9fr; }
.rp-hero > div > div { min-width: 0; flex: 1; }
.db-verdict { margin: 0 0 6px; }
.score-ring.md { --size: 92px; }
.score-ring.sm { --size: 70px; }
svg.lv-bar { display: block; width: 100%; height: 10px; margin-bottom: 10px; background: none; overflow: visible; }
svg.lv-bar .t { fill: var(--track); }
svg.lv-bar .v { fill: var(--gold-deep); }
.rp-tablewrap { overflow-x: auto; }
@media (max-width: 760px) { .rp-table thead { display: none; } .rp-table tr { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 10px; padding: 8px 0; border-bottom: 1px solid var(--line); } .rp-table th, .rp-table td { border: 0; padding: 2px 0; } .rp-table tbody th, .rp-table td:last-child { grid-column: 1 / -1; width: auto; } .report { overflow-wrap: anywhere; } }
@media (max-width: 760px) { .rp-hero { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- Round 31: Team results (manager evidence) */
:root { --ord-0: #C7AE55; --ord-1: #A88618; --ord-2: #7D6210; --ord-3: #52400A; --ord-4: #261E06; }
.rs-actions { gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.kpi { padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel); }
.kpi-k { margin: 0; font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.kpi-v { margin: 4px 0 2px; font: 700 34px/1.1 var(--display); color: var(--heading); display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.kpi-s { margin: 0; font-size: 13px; color: var(--lead); }
.delta { font: 600 13px var(--font); padding: 2px 8px; border-radius: 999px; background: var(--surface-2); color: var(--muted); white-space: nowrap; }
.delta.up { background: var(--good-bg); color: var(--good); }
.delta.down { background: var(--bad-bg); color: var(--bad); }
.findings { margin-top: 14px; border-left: 4px solid var(--gold-deep); }
.findings h2 { margin-top: 0; }
.findings ul { margin: 0; padding-left: 20px; }
.findings li { margin: 6px 0; }
.rs-block h2 { margin-top: 0; }
.tchart { margin: 8px 0 0; }
.tchart .chart, .spark, .imp-svg { width: 100%; height: auto; display: block; overflow: visible; }
.tchart .grid, .spark .grid, .imp-svg .grid { stroke: var(--line); stroke-width: 1; }
.tchart .axis { fill: var(--muted); font-size: 11px; }
.tchart .line, .spark .line { fill: none; stroke: var(--primary); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.tchart .dot, .spark .dot { fill: var(--surface); stroke: var(--primary); stroke-width: 2; }
.tchart .dot.last, .spark .dot.last { fill: var(--gold); }
/* A point from a single call: a limited sample, drawn with a dashed outline (the label says so too). */
.tchart .dot.limited, .score-chart .dot.limited { stroke-dasharray: 2 2; }
.tchart .hit { fill: transparent; }
.tchart .pt:hover .dot { r: 7; }
.tchart .direct { fill: var(--heading); font-size: 13px; font-weight: 700; }
.tchart .bar1 { fill: var(--primary); }
.tchart .bar1:hover { fill: var(--gold-deep); }
.tchart figcaption { margin-top: 6px; font-size: 13px; }
.lvl-0 { fill: var(--line-2); background: var(--line-2); } .lvl-1 { fill: var(--ord-1); background: var(--ord-1); } .lvl-2 { fill: var(--ord-2); background: var(--ord-2); } .lvl-3 { fill: var(--ord-3); background: var(--ord-3); } .lvl-4 { fill: var(--ord-4); background: var(--ord-4); }
.ord-0 { fill: var(--ord-0); background: var(--ord-0); } .ord-1 { fill: var(--ord-1); background: var(--ord-1); } .ord-2 { fill: var(--ord-2); background: var(--ord-2); } .ord-3 { fill: var(--ord-3); background: var(--ord-3); } .ord-4 { fill: var(--ord-4); background: var(--ord-4); }
.legend { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 0; margin: 8px 0 4px; font-size: 13px; color: var(--lead); }
.legend li { display: inline-flex; align-items: center; gap: 6px; }
.sw { display: inline-block; width: 14px; height: 14px; border-radius: 4px; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.multiples { list-style: none; padding: 0; margin: 10px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.mult { padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-inner); background: var(--surface-2); break-inside: avoid; }
.mult-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.mult-num { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; margin: 4px 0; }
.mult-num strong { font: 700 26px/1 var(--display); color: var(--heading); }
.mult-num small { color: var(--muted); font-size: 12px; }
.spark { margin-top: 4px; }
.lv-chip { display: inline-block; min-width: 24px; padding: 1px 8px; border-radius: 999px; font: 700 12px/1.6 var(--font); text-align: center; color: #fff; background: var(--ord-2); -webkit-print-color-adjust: exact; print-color-adjust: exact; white-space: nowrap; }
.lv-chip.l0 { background: var(--surface); color: var(--muted); box-shadow: inset 0 0 0 1px var(--line-2); }
.lv-chip.l1 { background: var(--ord-1); color: var(--text); }
.lv-chip.l2 { background: var(--ord-2); }
.lv-chip.l3 { background: var(--ord-3); }
.lv-chip.l4 { background: var(--ord-4); color: var(--gold); }
.lv-chip.moved { outline: 2px solid var(--good); outline-offset: 1px; }
.lv-chip.moved.down { outline-color: var(--bad); }
.lv-table td, .lv-table th { text-align: center; }
.lv-table th[scope="row"], .lv-table thead th:first-child { text-align: left; }
.lv-mini { padding-left: 20px; font-size: 14px; }
.heatmap { font-variant-numeric: tabular-nums; }
.heatmap th[scope="row"] { font-weight: 500; white-space: nowrap; }
.heatmap td { text-align: center; font-weight: 600; min-width: 52px; border: 2px solid var(--surface); border-radius: 6px; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.heatmap thead th { text-align: center; }
.heatmap thead th:first-child { text-align: left; }
.hm-na { background: var(--surface-2); }
.hm-0 { background: #F4ECCD; color: var(--text); } .hm-1 { background: var(--ord-0); color: var(--text); } .hm-2 { background: var(--ord-1); color: var(--text); } .hm-3 { background: var(--ord-2); color: #fff; } .hm-4 { background: var(--ord-4); color: #fff; }
.hm-team { font-weight: 700; background: var(--surface-2); }
.vmark { margin-left: 2px; font-size: 11px; }
.heat figcaption small { display: block; margin-top: 4px; }
.impact { display: grid; gap: 4px; }
.imp-row { display: grid; grid-template-columns: minmax(140px, 1fr) minmax(160px, 2fr) auto; gap: 12px; align-items: center; }
.imp-label { display: flex; flex-direction: column; }
.imp-label small { color: var(--muted); }
.imp-link { stroke-width: 3; stroke: var(--line-2); }
.imp-link.up { stroke: var(--good); }
.imp-link.down { stroke: var(--bad); }
.imp-before { fill: var(--surface); stroke: var(--muted); stroke-width: 2; }
.imp-after { fill: var(--primary); }
.imp-nums { font-variant-numeric: tabular-nums; white-space: nowrap; }
.imp-key { display: inline-block; width: 12px; height: 12px; border-radius: 50%; vertical-align: middle; margin: 0 4px 0 10px; }
.imp-key.before { border: 2px solid var(--muted); }
.imp-key.after { background: var(--primary); }
.legend-line { font-size: 13px; color: var(--lead); margin: 8px 0 0; }
.method ul { padding-left: 20px; }
.team-report .card { box-shadow: none; }
.team-report .kpi-v { font-size: 28px; }
.team-report .rs-block { break-inside: avoid; }
@media print { .team-report .tablewrap { overflow: visible; } .team-report .mt { margin-top: 10px; } }
@media (max-width: 900px) { .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .kpis { grid-template-columns: 1fr; } .imp-row { grid-template-columns: 1fr auto; } .imp-row .imp-svg { grid-column: 1 / -1; grid-row: 2; } }
.chart-scroll { overflow-x: auto; }
.heatmap th[scope="row"] { position: sticky; left: 0; background: var(--surface); z-index: 1; }
@media (max-width: 640px) { .tchart .chart { min-width: 560px; } .heatmap th[scope="row"] { white-space: normal; min-width: 130px; } }
.tchart, .chart-scroll, .heat, .rs-block > * { min-width: 0; max-width: 100%; }

/* ---------------------------------------------------------------- Round 31: Team training */
.tt-lead { border-left: 4px solid var(--gold-deep); }
.tt-lead h2 { margin: 0; font-size: 26px; }
.tt-rate { margin: 0; text-align: right; }
.tt-rate strong { display: block; font: 700 30px/1 var(--display); color: var(--heading); }
.tt-rate small { color: var(--muted); font-size: 12px; }
.row.wrap { flex-wrap: wrap; gap: 12px; }
.tt-head h2 { margin: 4px 0 8px; font-size: 28px; }
.tt-parts { list-style: none; padding: 0; margin: 14px 0; display: grid; gap: 12px; counter-reset: none; }
.tt-parts > li { break-inside: avoid; }
.tt-parts h3 { margin: 0; display: flex; align-items: center; gap: 10px; }
.tt-n { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--obsidian); color: var(--gold); font: 700 14px var(--display); -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.tt-say-k { margin: 12px 0 2px; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-text); }
.tt-say { margin: 0; font-size: 18px; line-height: 1.55; color: var(--heading); }
.tt-do { margin: 10px 0 0; color: var(--lead); }
.tt-ex { margin: 12px 0 0; padding: 12px; border-radius: var(--r-inner); background: var(--surface-2); border: 1px solid var(--line); }
.tt-ex figcaption { font-size: 13px; margin-bottom: 8px; }
.tt-ex.ex-good figcaption::before { content: "✓ "; color: var(--good); font-weight: 700; }
.tt-ex.ex-miss figcaption::before { content: "✗ "; color: var(--bad); font-weight: 700; }
@media print { .tt-say { font-size: 14pt; } .tt-parts > li { border: 1px solid #ccc; } }

/* ---------------------------------------------------------------- Round 31: Who needs me and 1:1 prep */
.wn-links { margin: 12px 0 0; font-size: 14px; }
.wn-score strong { font: 700 22px var(--display); color: var(--heading); }
.wn-score small { color: var(--muted); }
.wn-table td:nth-child(2) { white-space: nowrap; }
.q-label { display: block; margin-bottom: 2px; font-size: 11.5px; font-weight: 600; letter-spacing: 0.02em; color: var(--muted); }
.quote.good { border-left-color: var(--good); }
.mt-s { margin-top: 8px; }
.prep-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 12px; align-items: stretch; }
.prep-top > .card { margin: 0; }
.prep-score { display: flex; gap: 14px; align-items: center; }
.prep-score .kpi-v { margin: 0; font-size: 30px; }
.prep-score p { margin: 2px 0; }
.prep-deals { padding-left: 18px; }
.prep-deals li { margin: 6px 0; }
@media (max-width: 1000px) { .prep-top { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- Round 31: the manager's Coach */
.mgr-ask { margin-top: 14px; border: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(255, 215, 0, 0.07), transparent 60%), var(--surface); }
.mgr-ask h2 { margin: 0 0 8px; font-size: 18px; }
.mgr-ask.compact h2 { font-size: 16px; }
.mga-row { gap: 8px; flex-wrap: nowrap; }
.mga-row input { flex: 1; min-width: 0; }
.mgr-ask .chip-row { display: flex; flex-wrap: wrap; gap: 6px; }
.mga-q { margin: 0 0 6px; font-weight: 600; color: var(--muted); }
.mga-q::before { content: "You asked: "; font-weight: 500; }
.mga-a { margin: 0 0 14px; white-space: pre-line; }
.mga-answer { font-size: 18px; color: var(--heading); margin: 4px 0 8px; }
.mga-actions { gap: 8px; flex-wrap: wrap; margin: 10px 0; }
@media (max-width: 520px) { .mga-row { flex-wrap: wrap; } .mga-row .btn { width: 100%; } }
@media (max-width: 1000px) { .prep-grid { grid-template-columns: minmax(0, 1fr); } }
.tt-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px 16px; flex-wrap: wrap; }
.tt-top h2 { margin: 0; }
.tt-top .eyebrow { margin-bottom: 4px; }
.tt-top .tt-rate { text-align: right; }
.card:not(.tt-lead) .tt-top .tt-rate { text-align: left; width: 100%; }
.card:not(.tt-lead) .tt-top .tt-rate strong { display: inline; font-size: 22px; margin-right: 6px; }
.heatmap thead th { white-space: nowrap; }
@media print {
  .team-report details { display: none; }
  .team-report .heatmap { font-size: 10px; }
  .team-report .heatmap td { min-width: 30px; padding: 3px 4px; }
  .team-report .heatmap th[scope="row"] { white-space: normal; position: static; }
  .team-report .lv-table { font-size: 11px; }
}
.kpis-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 10px 0; } @media (max-width: 700px) { .kpis-3 { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- Round 32: Deals at risk */
.dr-list { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 12px; }
.dr-card { margin: 0; border-left: 4px solid var(--line-2); }
.dr-card.dr-high { border-left-color: var(--bad); }
.dr-card.dr-medium { border-left-color: var(--warn); }
.dr-card.dr-low { border-left-color: var(--info); }
.dr-card.dr-none { border-left-color: var(--good); }
.dr-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.dr-head h3 { margin: 0 0 2px; }
.dr-meta { text-align: right; }
.dr-meta p { margin: 2px 0; }
.dr-amount { font: 700 20px var(--display); color: var(--heading); }
.dr-signals { margin: 10px 0 6px; padding-left: 18px; }
.dr-signals li { margin: 2px 0; }
.dr-ask { margin: 6px 0 0; color: var(--lead); }
.dr-actions { gap: 8px; flex-wrap: wrap; margin-top: 10px; }
@media (max-width: 520px) { .dr-meta { text-align: left; } }

/* ---------------------------------------------------------------- Round 32: Team calls review queue */
.cq-picks .card { margin: 0; }
.cq-picks h2 { margin-top: 0; font-size: 18px; }
.cq-pick-list { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 8px; }
.cq-pick { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: var(--r-inner); background: var(--surface-2); border-left: 3px solid var(--line-2); }
.cq-pick.share { border-left-color: var(--good); }
.cq-pick.review { border-left-color: var(--warn); }
.cq-pick p { margin: 4px 0 0; }
.cq-pick-score { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.cq-pick-score strong { font: 700 24px/1 var(--display); color: var(--heading); }
.cq-pick-score small { color: var(--muted); }
.cq-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)) auto; gap: 10px; align-items: end; }
.cq-grid label { margin: 0; font-size: 13px; }
.cq-grid select { width: 100%; }
.cq-go { padding-bottom: 2px; }
.cq-score strong { font: 700 18px var(--display); color: var(--heading); }
.cq-pager { gap: 10px; align-items: center; margin-top: 12px; }
@media (max-width: 1100px) { .cq-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) { .cq-grid { grid-template-columns: 1fr; } }
.kpi-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.kpi-v-sm { font-size: 22px; }
.kpi.kpi-na .kpi-v { color: var(--muted); font-size: 17px; }
.tb-table td, .tb-table th { white-space: nowrap; }
@media (max-width: 900px) { .kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .kpi-grid { grid-template-columns: 1fr; } }
.wk-card { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.wk-card h2 { margin: 0 0 4px; font-size: 18px; }
.wk-card p { margin: 0; }
.wk-preview { white-space: pre-wrap; font: 14px/1.6 var(--font); background: var(--surface-2); padding: 14px; border-radius: var(--r-inner); border: 1px solid var(--line); overflow-wrap: anywhere; }
.cq-pick-score .btn { white-space: nowrap; }

/* ---------------------------------------------------------------- Round 33: doors, call scripts, company knowledge */
.door-strip { width: 100%; min-width: 680px; height: auto; display: block; }
.ds-track { fill: var(--track); }
.ds-seg { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.ds-label { font: 600 13px var(--font); fill: var(--text); pointer-events: none; }
.ds-label.on-dark { fill: #fff; }
.ds-axis { font: 12px var(--font); fill: var(--muted); }
.map-card h2 { margin-top: 0; }
.map-missing { margin: 10px 0; padding: 9px 12px; border-left: 3px solid var(--warn); background: var(--warn-bg); border-radius: var(--r-inner); }
.door-table th[scope="row"] { white-space: nowrap; }
.fo-list, .align-list { list-style: none; padding: 0; margin: 8px 0 0; }
.fo-list li, .align-list li { padding: 8px 0; border-top: 1px solid var(--line); }
.fo-list li:first-child, .align-list li:first-child { border-top: 0; }
.quote.small-quote { margin: 6px 0 0; padding: 7px 11px; font-size: 14px; }
.plain { list-style: none; padding: 0; margin: 6px 0 0; }
.plain > li + li { margin-top: 10px; }
.quote.approved { border-left: 3px solid var(--gold-deep); }
.cand { padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.cand:last-child { border-bottom: 0; }
.cand-meta { margin: 4px 0 6px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.door-card h3 { margin: 0; }
.door-card h4 { margin: 14px 0 4px; font-size: 14px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
.door-card.heavy { border-left: 4px solid var(--gold-deep); }
.scripts-table td, .scripts-table th { vertical-align: top; }
.kn-sec h3 { margin-top: 0; }
.kn-row { border: 1px solid var(--line); border-radius: var(--r-inner); padding: 12px 14px; margin: 12px 0; min-width: 0; }
.kn-row legend { font-weight: 600; padding: 0 6px; }
.kn-inline { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: end; }
.kn-rm { margin-top: 8px; }
.kn-inline .kn-rm { margin: 0 0 8px; }
.kn-view h2 { margin-top: 0; }
.kn-product + .kn-product { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.kn-product h3 { margin: 0 0 4px; }
.kn-dl, .kn-qa { margin: 8px 0 0; }
.kn-dl dt, .kn-qa dt { font-weight: 600; margin-top: 8px; }
.kn-dl dd, .kn-qa dd { margin: 2px 0 0; }
.kn-ref { white-space: pre-wrap; font-size: 14px; color: var(--lead); }
.bad-text { color: var(--bad); }
.pack .pack-kind { break-inside: avoid-page; }
.pack-table td, .pack-table th { vertical-align: top; font-size: 13px; }
.pack-table p { margin: 0 0 4px; }
@media (max-width: 640px) {
  .kn-inline { grid-template-columns: 1fr; }
}
@media print {
  .pack .rs-block { break-inside: avoid; }
}
.kn-row textarea { min-height: 72px; }
.pack .rs-block + .rs-block, .pack .kn-view + .kn-view { margin-top: 24px; }

/* ---------------------------------------------------------------- Round 34: the manager gets the seller's design */
.mgr-home .hero-band { margin-bottom: 0; }
.coach-home .hero-band > div:first-child { grid-column: 1; }
.ct-points { margin: 6px 0 0; padding-left: 20px; }
.ct-points li { margin: 4px 0; }
.ct-engine .ct-listen { margin-left: 8px; font-size: 13px; }
.mgr-inline { margin: 18px 0; }
.mgr-inline .co-status { margin-bottom: 8px; }
.mgr-inline-h { margin: 0; font-size: 17px; }
.mgr-inline .co-log { margin: 0 0 10px; }
.wn-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 10px; }
.wn-grid > li + li { margin-top: 0; }
.wn-card { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.wn-card h3 { margin: 0; font-size: 19px; }
.wn-card p { margin: 0; }
.wn-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.wn-right { text-align: right; flex: 0 0 auto; }
.wn-right .kpi-k { margin-bottom: 2px; }
.wn-foot { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.wn-foot p { flex: 1 1 220px; }
.shell.seller .main .wn-card.wn-escalate { box-shadow: inset 4px 0 0 var(--bad), 0 1px 2px rgba(11, 12, 16, 0.04), 0 8px 24px -18px rgba(11, 12, 16, 0.18); }
.shell.seller .main .wn-card.wn-you_should_coach { box-shadow: inset 4px 0 0 var(--gold-deep), 0 1px 2px rgba(11, 12, 16, 0.04), 0 8px 24px -18px rgba(11, 12, 16, 0.18); }
.shell.manager .kpis { margin-top: 18px; }
@media (max-width: 900px) {
  .wn-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .shell.seller .side .seller-nav a.prim .nav-ic { display: none; }
}
.co-rec .btn { justify-self: start; }
.book-coach .co-status .ask-chapter-tag { color: var(--muted); }
.ct-book { max-width: 100%; }
.ct-book > .card { box-shadow: none; border: 0; padding: 0; background: transparent; }

/* ---------------------------------------------------------------- Round 35: the executive's pages */
:root { --tr-on: #2E9E62; --tr-watch: #E0A100; --tr-risk: #D0413A; --tr-none: #BFC4CD; --db-did: #2F4A7A; --db-not: #FFFFFF; }
.trust, .dumbbell { margin: 8px 0 0; }
.trust-rows, .db-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.trust-rows li { display: grid; grid-template-columns: minmax(120px, 200px) minmax(0, 1fr) auto; gap: 14px; align-items: center; }
.tr-label { font-weight: 600; color: var(--heading); text-align: right; }
.tr-bar { width: 100%; height: 30px; display: block; }
.tr-total { font-weight: 600; color: var(--lead); font-size: 14px; min-width: 88px; }
.tr-bar .tr-on, .trust-legend .sw.tr-on { fill: var(--tr-on); background: var(--tr-on); }
.tr-bar .tr-watch, .trust-legend .sw.tr-watch { fill: var(--tr-watch); background: var(--tr-watch); }
.tr-bar .tr-risk, .trust-legend .sw.tr-risk { fill: var(--tr-risk); background: var(--tr-risk); }
.tr-bar .tr-none, .trust-legend .sw.tr-none { fill: var(--tr-none); background: var(--tr-none); }
.trust-legend { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 0; margin: 12px 0 0; font-size: 13px; color: var(--lead); }
.trust-legend li { display: flex; align-items: center; gap: 7px; }
.trust-legend .sw { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.trust-legend .sw.db-did-sw { background: var(--db-did); border-radius: 50%; }
.trust-legend .sw.db-not-sw { background: var(--db-not); border: 2px solid var(--db-did); border-radius: 50%; }
.trust-legend .sw.db-weak-sw { background: var(--line-hover); border-radius: 50%; }
.db-rows { gap: 6px; }
.db-row { display: grid; grid-template-columns: minmax(150px, 280px) minmax(0, 1fr) 64px; gap: 14px; align-items: center; }
.db-head { margin-bottom: 2px; }
.db-axis { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin: 0 -10px; }
.db-label { font-weight: 600; color: var(--heading); text-align: right; font-size: 14px; }
.db-row.weak .db-label { font-weight: 500; color: var(--muted); }
.db-track { width: 100%; height: 30px; display: block; overflow: visible; }
.db-track .grid { stroke: var(--line); stroke-width: 1; }
.db-track .db-line { stroke: var(--line-2); stroke-width: 3; stroke-linecap: round; }
.db-row.clear .db-line { stroke: var(--db-did); stroke-width: 4; }
.db-track .db-not-ring { stroke: var(--db-did); stroke-width: 15; stroke-linecap: round; }
.db-track .db-not { stroke: var(--db-not); stroke-width: 10; stroke-linecap: round; }
.db-track .db-did { stroke: var(--db-did); stroke-width: 16; stroke-linecap: round; }
.db-row.weak .db-did { stroke: var(--line-hover); }
.db-row.weak .db-not-ring { stroke: var(--line-hover); }
.db-val { font-weight: 600; font-size: 13px; color: var(--lead); }
@media (max-width: 640px) {
  .trust-rows li { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; }
  .tr-label { grid-column: 1 / -1; text-align: left; }
  .db-row { grid-template-columns: minmax(0, 1fr) 52px; gap: 0 10px; }
  .db-label { grid-column: 1 / -1; text-align: left; margin-top: 6px; }
  .db-head > span:first-child { display: none; }
}
h2.mt-lg { margin-top: 36px; font-size: 20px; }
.rp-summary { border: 1px solid var(--line); border-left: 4px solid var(--gold-deep); border-radius: var(--r-panel); padding: 16px 20px; margin: 18px 0; break-inside: avoid; }
.rp-summary h2 { margin: 0 0 8px; font-size: 18px; }
.bs-list { margin: 0; display: grid; gap: 10px; }
.bs-list div { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 14px; }
.bs-list dt { font-weight: 600; color: var(--heading); }
.bs-list dd { margin: 0; color: var(--lead); }
@media (max-width: 640px) { .bs-list div { grid-template-columns: 1fr; gap: 2px; } }
.rp-summary > p { margin: 12px 0 0; }

/* ---------------------------------------------------------------- Round 36: team switcher, team pages, requests */
.team-switch { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.team-switch label { font-size: 13px; color: var(--muted); font-weight: 600; margin: 0; }
.team-switch select { min-width: 180px; padding: 6px 10px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--surface); font: inherit; }
.row-between { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.team-cards { list-style: none; padding: 0; margin: 12px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.tcard { padding: 0; }
.tcard-link { display: block; padding: 18px 20px; color: inherit; text-decoration: none; border-radius: inherit; }
.tcard-link:hover { background: var(--surface-2); }
.tcard-link:focus-visible { outline: 3px solid var(--gold-deep); outline-offset: 2px; }
.tcard h3 { margin: 0 0 2px; font-size: 18px; }
.tcard-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; margin: 14px 0 0; }
.tcard-stats dt { font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.tcard-stats dd { margin: 2px 0 0; font: 700 20px/1.2 var(--display); color: var(--heading); }
.tcard-ask { margin: 12px 0 0; color: var(--accent-text, var(--warn)); font-weight: 600; }
.asks .ask { padding: 12px 0; border-top: 1px solid var(--line); }
.asks .ask:first-child { border-top: 0; padding-top: 4px; }
.asks .ask p { margin: 2px 0; }
.ask-topic { font-weight: 600; color: var(--heading); }
.ask-reply { color: var(--lead); }
.ask-done { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 8px; }
.ask-done input { flex: 1 1 220px; min-width: 0; padding: 7px 10px; border: 1px solid var(--line-2); border-radius: 10px; font: inherit; background: var(--surface); }
.ask-presets { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; margin-top: 10px; }
.ask-preset { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; background: var(--surface); display: flex; flex-direction: column; gap: 10px; justify-content: space-between; }
.ask-preset p { margin: 0; }
.ask-preset .btn { align-self: start; }
@media (max-width: 640px) { .team-switch { margin-left: 0; width: 100%; } .team-switch select { flex: 1; min-width: 0; } }
.team-cards > li { margin: 0; }

/* ---------------------------------------------------------------- Round 37: marketing */
:root { --mk-bar: #2F5FA8; --mk-bar-2: #8FB0DE; }
.period { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; }
.period a { padding: 5px 12px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 13.5px; color: var(--lead); text-decoration: none; background: var(--surface); }
.period a:hover { border-color: var(--line-hover); color: var(--heading); }
.period a.on { background: var(--ladder-on); color: var(--ladder-on-text); border-color: var(--ladder-on); font-weight: 600; }
.mk-funnel, .mk-bars { margin: 6px 0 0; }
.mk-funnel ul, .mk-bars ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.mk-funnel li, .mk-bars li { display: grid; grid-template-columns: minmax(96px, 150px) minmax(0, 1fr) minmax(64px, auto); gap: 12px; align-items: center; }
.mf-label { font-size: 14px; font-weight: 600; color: var(--heading); overflow-wrap: anywhere; }
.mf-bar { width: 100%; height: 14px; display: block; }
.mf-track { fill: var(--track); }
.mf-fill { fill: var(--mk-bar); }
.mf-val { font-size: 14px; font-weight: 600; color: var(--lead); white-space: nowrap; }
.mk-bars figcaption, .mk-months figcaption { margin: 10px 0 0; }
.mk-multiples { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px 22px; }
.mk-months { margin: 0; }
.mk-months figcaption { margin: 0 0 6px; }
.mk-months ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; align-items: end; }
.mk-months li { display: grid; grid-template-rows: auto 72px auto; gap: 3px; text-align: center; }
.mm-val { font-size: 11.5px; font-weight: 600; color: var(--lead); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mm-bar { width: 100%; height: 72px; display: block; }
.mm-fill { fill: var(--mk-bar); }
.mk-months li:last-child .mm-fill { fill: var(--mk-bar-2); }
.mm-label { font-size: 11px; color: var(--muted); white-space: nowrap; }
.mk-card .tcard-stats dd small { font: 500 12px var(--font); }
.mk-why { margin: 12px 0 0; color: var(--lead); }
.badge.vb { white-space: normal; text-align: left; }
.proj li + li { margin-top: 8px; }
.tag-list { display: grid; gap: 8px; margin: 10px 0; }
.tag-list li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.tag-chip { display: inline-block; padding: 3px 12px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line-2); font-weight: 600; font-size: 14px; color: var(--heading); }
.tag-chip.loose { border-style: dashed; font-weight: 500; }
.tag-add input { flex: 1 1 180px; }
form.inline { display: inline; margin: 0; }
.spend-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px 14px; align-items: end; margin-top: 8px; }
.spend-grid label { font-size: 13px; }
.spend-grid small { display: block; font-size: 11.5px; margin-top: 3px; }
.spend-save { grid-column: 1 / -1; }
.target-set { border: 1px solid var(--line); border-radius: var(--r-inner); padding: 10px 12px; margin: 0; }
.target-set legend { font-size: 13px; font-weight: 600; padding: 0 4px; }
.voice-card .quote { margin: 8px 0 0; font-size: 14.5px; }
.rp-tag { margin: 16px 0 0; padding-top: 12px; border-top: 1px solid var(--line); break-inside: avoid; }
.rp-tag h3 { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.usage-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px 18px; }
.usage-strip .us-k { font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; margin: 0; }
.usage-strip .us-v { font: 700 18px/1.3 var(--display); color: var(--heading); margin: 2px 0 6px; }
.usage-strip .us-s { font-size: 12.5px; color: var(--muted); margin: 6px 0 0; }
.usage-strip .us-near .us-v { color: var(--warn, #9A5B00); }
@media (max-width: 560px) {
  .mk-funnel li, .mk-bars li { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; }
  .mk-funnel .mf-bar, .mk-bars .mf-bar { grid-column: 1 / -1; grid-row: 2; }
  .mk-multiples { grid-template-columns: 1fr 1fr; gap: 14px; }
}
@media print { .period { display: none; } .mk-multiples { grid-template-columns: repeat(3, 1fr); } }
.spend-grid > div:not(.spend-save) { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.target-set { display: grid; gap: 4px; }
.target-set input { max-width: 220px; }
.rp-block.mk-rp { break-inside: auto; }
.mk-rp .tablewrap { break-inside: avoid; }
.mk-rp h2 { break-after: avoid; }
.role-guide dt { font-weight: 600; margin-top: 8px; } .role-guide dd { margin: 2px 0 0; color: var(--lead); font-size: 14px; }

/* ---------------------------------------------------------------- Round 39: feedback button on every page */
.fb-widget { position: relative; margin-left: auto; align-self: flex-start; z-index: 30; }
.fb-widget > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-2); font-size: 13px; font-weight: 600; color: var(--heading); white-space: nowrap; }
.fb-widget > summary::-webkit-details-marker { display: none; }
.fb-widget > summary:hover { border-color: var(--line-hover); }
.fb-widget > summary:focus-visible { outline: 3px solid var(--gold-deep); outline-offset: 2px; }
.fb-widget[open] > summary { background: var(--ladder-on); color: var(--ladder-on-text); border-color: var(--ladder-on); }
.fb-form { position: absolute; right: 0; top: calc(100% + 8px); width: min(360px, calc(100vw - 32px)); background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-panel); padding: 16px; box-shadow: 0 12px 32px rgba(11, 12, 16, 0.18); }
.fb-kind { border: 0; padding: 0; margin: 0 0 10px; display: grid; gap: 4px; }
.fb-kind legend { font-weight: 600; font-size: 14px; margin-bottom: 4px; }
.fb-form textarea { min-height: 84px; }
@media print { .fb-widget { display: none; } }

/* ---------------------------------------------------------------- Round 39: the guided tour */
.tour-shade { position: fixed; inset: 0; background: rgba(11, 12, 16, 0.42); z-index: 60; pointer-events: none; }
.tour-lit { position: relative; z-index: 61; outline: 3px solid var(--gold); outline-offset: 4px; border-radius: var(--r-panel); }
.fb-widget.tour-lit { position: relative; }
.tour-card { position: fixed; z-index: 70; left: 50%; bottom: 24px; transform: translateX(-50%); width: min(460px, calc(100vw - 32px)); background: var(--surface); color: var(--text); border: 1px solid var(--line-2); border-radius: var(--r-panel); padding: 18px 20px; box-shadow: 0 18px 48px rgba(11, 12, 16, 0.35); }
.tour-card.tour-intro { bottom: auto; top: 50%; transform: translate(-50%, -50%); }
.tour-card h2 { margin: 2px 0 8px; font-size: 19px; }
.tour-count { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-text); }
.tour-see, .tour-do { margin: 0 0 10px; line-height: 1.55; }
.tour-actions { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.tour-nav { display: inline-flex; gap: 8px; }
.tour-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
@media (max-width: 720px) { .tour-card { bottom: 12px; } }
@media print { .tour-card, .tour-shade { display: none; } }
.tour-card.tour-top { bottom: auto; top: 24px; }

/* ---------------------------------------------------------------- Round 39: website dropdown menus */
.top .wrap { position: relative; }
.nav-dd { position: relative; }
.nav-dd > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; color: var(--muted); font-weight: 500; font-size: 15px; padding: 4px 0; border-bottom: 1.5px solid transparent; }
body.site .nav-dd > summary { color: var(--obs-soft); }
.nav-dd > summary::-webkit-details-marker { display: none; }
.nav-dd > summary svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform 0.15s; }
.nav-dd[open] > summary svg { transform: rotate(180deg); }
.nav-dd > summary:hover, .nav-dd.on > summary, .nav-dd[open] > summary { color: var(--heading); border-bottom-color: var(--gold); }
body.site .nav-dd > summary:hover, body.site .nav-dd.on > summary, body.site .nav-dd[open] > summary { color: #fff; }
.nav-dd > summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 4px; }
.dd-menu { position: absolute; top: calc(100% + 12px); left: -16px; min-width: 300px; display: grid; gap: 2px; padding: 8px; background: #14161C; border: 1px solid #2A2E38; border-radius: 14px; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45); z-index: 30; }
.pubnav .dd-menu a { display: grid; gap: 2px; padding: 10px 12px; border-radius: 10px; border-bottom: 0; color: #E6E3DC; }
.pubnav .dd-menu a strong { font-weight: 600; font-size: 15px; color: #F2EFE8; }
.pubnav .dd-menu a small { font-size: 13px; color: #A3A9B5; }
.pubnav .dd-menu a:hover, .pubnav .dd-menu a[aria-current] { background: #1E2129; }
.pubnav .dd-menu a[aria-current] strong { color: var(--gold); }
@media (max-width: 900px) {
  .pubnav { overflow: visible !important; flex-wrap: wrap !important; gap: 6px 18px !important; }
  .nav-dd { position: static; }
  .dd-menu { left: 16px; right: 16px; top: auto; margin-top: 10px; min-width: 0; }
  /* The phone header keeps its top-level links on one line (white-space: nowrap); menu entries must wrap inside the panel. */
  .dd-menu { overflow: hidden; }
  .pubnav .dd-menu a { white-space: normal; min-width: 0; flex: none; }
  .pubnav .dd-menu a strong, .pubnav .dd-menu a small { overflow-wrap: anywhere; }
}
/* Round 39: four audiences on the home page. */
.choose.choose4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 640px) { .choose.choose4 { grid-template-columns: 1fr; } }
.pubnav details.nav-dd { border: 0; background: none; padding: 0; margin: 0; box-shadow: none; border-radius: 0; }
details.fb-widget, details.fb-widget[open] { border: 0; background: none; padding: 0; margin: 0 0 0 auto; }

/* Round 40: call-back brief on the practice page */
.callback-brief{border-left:3px solid var(--gold-deep);background:var(--surface-2);padding:12px 14px;border-radius:var(--r-inner);margin-bottom:12px}
.callback-brief h2{margin:2px 0 6px}
.callback-brief ul{margin:4px 0 8px 18px;padding:0}
.callback-brief p{margin:4px 0}

/* Round 40: four tiles when the rep's deals are shown; what the numbers mean */
.progress-band.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .progress-band.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .progress-band.four { grid-template-columns: 1fr; } }
.pb-explain { margin: -6px 0 16px; font-size: 13.5px; color: var(--lead); }
.pb-explain summary { cursor: pointer; color: var(--muted); }
.pb-explain ul { margin: 8px 0 0 18px; padding: 0; }
.pb-explain li { margin: 4px 0; }
.dl-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 12px 0; }
@media (max-width: 640px) { .dl-cols { grid-template-columns: 1fr; } }
.dl-col { border: 1px solid var(--line); border-radius: var(--r-inner); padding: 12px 14px; }
.dl-col p { margin: 4px 0; }
.dl-big { font-family: var(--display); font-size: 28px; color: var(--heading); }
.dl-big small { font-family: var(--font); font-size: 13px; color: var(--muted); }
.dl-link { border-left: 3px solid var(--gold-deep); padding-left: 10px; }

/* Round 40: Start here, the story strip and section labels */
.sec-label { font-family: var(--font); font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 26px 0 -4px; }
.start-here { border: 1px solid var(--line-2); border-top: 4px solid var(--gold); }
.start-here .sh-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.start-here .sh-head form { margin: 0; }
.start-here h2 { margin: 2px 0 4px; }
.start-here .sh-intro { color: var(--lead); margin: 0 0 12px; }
.story-strip { list-style: none; margin: 0 0 16px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.story-strip li { display: flex; gap: 10px; align-items: flex-start; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-inner); padding: 10px 12px; position: relative; }
.story-strip li strong { display: block; font-size: 14.5px; color: var(--heading); }
.story-strip li small { display: block; color: var(--muted); font-size: 12.5px; line-height: 1.35; }
.story-strip li:not(:last-child)::after { content: "→"; position: absolute; right: -9px; top: 50%; transform: translateY(-50%); width: 14px; text-align: center; color: var(--muted); font-size: 13px; background: var(--surface); line-height: 1; z-index: 1; }
@media (max-width: 860px) { .story-strip li::after { display: none; } }
.start-here + .coach-home, .start-here + section { margin-top: 18px; }
@media (max-width: 860px) { .story-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .story-strip li { padding: 8px 10px; } .story-strip li small { font-size: 12px; } }
.sh-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sh-step { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: var(--r-inner); }
.sh-step.now { background: var(--warn-bg); border: 1px solid var(--gold-deep); }
.sh-step.done .sh-title { color: var(--muted); text-decoration: line-through; }
.sh-step.later .sh-title { color: var(--muted); }
.sh-mark { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 13px; border: 2px solid var(--line-2); color: var(--muted); }
.sh-step.now .sh-mark { background: var(--obsidian); color: var(--gold); border-color: var(--obsidian); }
.sh-step.done .sh-mark { background: var(--good-bg); color: var(--good); border-color: var(--good); }
.sh-title { margin: 3px 0 0; font-weight: 600; color: var(--heading); }
.sh-why { margin: 4px 0 8px; color: var(--lead); }
.sh-go { margin-top: 4px; }
.sh-go form { display: inline; }
.start-here.slim { display: flex; gap: 16px; align-items: center; justify-content: space-between; padding: 12px 16px; background: var(--surface); border: 1px solid var(--line-2); border-left: 4px solid var(--gold); border-top-width: 1px; border-radius: var(--r-panel); margin-bottom: 16px; }
.start-here.slim p { margin: 0; font-size: 14px; }
.start-here.slim .sh-slim-go { display: flex; gap: 12px; align-items: center; flex: none; }
.start-here.slim .sh-slim-go form { margin: 0; }
.start-here.slim .btn { padding: 6px 14px; font-size: 13.5px; }
@media (max-width: 720px) { .start-here.slim { flex-direction: column; align-items: flex-start; } }

/* Round 41: the leader's admin pages folded under one heading */
.side details.nav-fold > summary.group { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 6px; }
.side details.nav-fold > summary.group::-webkit-details-marker { display: none; }
.side details.nav-fold > summary.group::before { content: "▸"; font-size: 10px; }
.side details.nav-fold[open] > summary.group::before { content: "▾"; }
.side details.nav-fold > summary small { font-size: 11px; color: var(--obs-muted); letter-spacing: 0; }
.menu-btn { display: none; }

/* Round 41: phones. The main pages stay in view (wrapping, never sideways); everything else is under Menu. */
@media (max-width: 860px) {
  .side { grid-template-areas: "brand out" "ws ws" "nav nav"; }
  .side .menu-btn:not([hidden]) { display: inline-flex; grid-area: out; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--obs-line-2); background: transparent; color: var(--bone); font: inherit; font-weight: 500; cursor: pointer; }
  .side .menu-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
  .side nav { flex-wrap: wrap; overflow: visible; margin: 0; padding: 0; }
  .side .signout { grid-area: auto; margin: 0; flex-basis: 100%; }
  .side.js-nav nav > a:not(.nav-top):not(.prim), .side.js-nav nav > details.nav-fold, .side.js-nav nav > .group, .side.js-nav nav > .signout { display: none; }
  .side.js-nav.nav-open nav { flex-direction: column; flex-wrap: nowrap; gap: 0; padding-top: 6px; }
  .side.js-nav.nav-open nav > a, .side.js-nav.nav-open nav > details.nav-fold { display: block; }
  .side.js-nav.nav-open nav > .group:not(.primary-group) { display: block; margin: 14px 0 4px 12px; }
  .side.js-nav.nav-open nav > .signout { display: block; margin: 16px 0 4px; }
  .side.js-nav.nav-open nav a.on::before { left: 0; right: auto; top: 8px; bottom: 8px; width: 3px; height: auto; }
  .side.js-nav:not(.nav-open) .ws { display: none; }
  /* Page tabs that run past the edge fade out, so it's clear there's more to swipe to. */
  .section-tabs, .tabs { -webkit-mask-image: linear-gradient(to right, #000 88%, transparent); mask-image: linear-gradient(to right, #000 88%, transparent); }
}
.side details.nav-fold { background: none; border: 0; padding: 0; margin: 0; box-shadow: none; border-radius: 0; }
.side details.nav-fold > summary.group { margin: 20px 0 6px 12px; padding: 0; background: none; border: 0; font-size: 11.5px; }
@media (max-width: 860px) { .side.js-nav.nav-open nav > a.ask-coach-btn { display: none; } }

/* Round 41: the practice goal */
.practice-goal { border-left: 3px solid var(--gold-deep); background: var(--surface-2); padding: 12px 14px; border-radius: var(--r-inner); margin-bottom: 12px; }
.practice-goal .pg-goal { font-size: 16px; font-weight: 500; color: var(--heading); margin: 2px 0 6px; }
.practice-goal p { margin: 4px 0; }
.db-path { border: 1px solid var(--gold-deep); background: var(--warn-bg); border-radius: var(--r-inner); padding: 12px 14px; margin: 12px 0; }
.db-path p { margin: 0 0 8px; }

/* Round 42: reliving a call */
.relive-points { list-style: none; margin: 8px 0; padding: 0; display: grid; gap: 6px; }
.relive-points li { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); }
.relive-points li:first-child { border-top: 0; }
@media (max-width: 640px) { .relive-points li { flex-direction: column; align-items: flex-start; } }
.replay-brief { border-left: 3px solid var(--gold-deep); background: var(--surface-2); padding: 12px 14px; border-radius: var(--r-inner); margin-bottom: 12px; }
.replay-brief h2 { margin: 2px 0 6px; }
.replay-brief p { margin: 4px 0; }
.replay-brief .chat.past { max-height: 240px; opacity: .85; margin: 8px 0; }
.t-row form { margin-left: 6px; }
.vs-timing { margin: 4px 0 0; font-size: 13px; }

/* Round 43: leaders' alerts */
.alerts-card { border-left: 3px solid var(--gold-deep); }
.alerts-card h2 .count { display: inline-block; min-width: 1.6em; padding: 0 6px; border-radius: 999px; background: var(--gold); color: #111; font-size: 13px; text-align: center; vertical-align: middle; }
.alert-list { list-style: none; margin: 8px 0 0; padding: 0; }
.alert-item { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; padding: 10px 0; border-top: 1px solid var(--line); }
.alert-item:first-child { border-top: 0; }
.alert-item p { margin: 2px 0; }
.alert-kind { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.alert-item.k-quiet_seller .alert-kind, .alert-item.k-team_slipping .alert-kind { color: var(--warn, #9a6700); }
@media (max-width: 640px) { .alert-item { flex-direction: column; } }

/* ------------------------------------------------------------------ our sales methodology (/commercial-standard)
   Scoped to this page: every rule hangs off an mth- class or the sections that follow .mth-hero. */
.mth-hero ~ .section h2 { font-size: clamp(25px, 3.2vw, 38px); line-height: 1.1; letter-spacing: -0.03em; max-width: 22ch; }
.mth-hero ~ .section .section-head p { max-width: 46ch; color: var(--lead); }
.mth-hero .mth-sub { color: var(--muted); max-width: 62ch; font-size: 16.5px; line-height: 1.6; margin-top: 4px; }
.mth-facts { list-style: none; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.mth-facts li { padding: 18px 18px 0 0; margin: 0; }
.mth-facts strong { display: block; font-family: var(--display); font-weight: 600; font-size: clamp(28px, 3vw, 38px); line-height: 1; color: var(--gold); letter-spacing: -0.03em; }
.mth-facts span { display: block; margin-top: 8px; font-size: 14px; color: var(--muted); line-height: 1.35; }
.mth-split { align-items: start; }
.mth-split p { color: var(--text); }
.mth-influences { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 0 32px; }
.mth-influences li { border-top: 1px solid var(--line); padding: 16px 0 18px; margin: 0; }
.mth-influences strong { display: block; font-family: var(--display); font-weight: 600; color: var(--heading); font-size: 17px; letter-spacing: -0.01em; margin-bottom: 4px; }
.mth-influences span { color: var(--muted); font-size: 15px; line-height: 1.5; }
.mth-note { margin-top: 18px; max-width: 80ch; }
.mth-vols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.mth-vol { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-top: 2px solid var(--gold); border-radius: var(--r-panel); padding: 22px 22px 20px; }
.mth-vol-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 14px; }
.mth-vol-n { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-text); }
.mth-vol h3 { font-size: 22px; letter-spacing: -0.025em; margin: 0 0 6px; }
.mth-vol-stage { margin: 0 0 12px; font-size: 14px; color: var(--muted); }
.mth-vol p { font-size: 15px; line-height: 1.55; }
.mth-vol-topics { list-style: none; padding: 0; margin: 4px 0 18px; }
.mth-vol-topics li { position: relative; padding: 5px 0 5px 16px; font-size: 14.5px; color: var(--text); line-height: 1.4; }
.mth-vol-topics li::before { content: ""; position: absolute; left: 0; top: 12px; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.mth-vol-foot { margin: auto 0 0 !important; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13.5px !important; color: var(--muted); }
.mth-vol-foot span { color: var(--muted-2); }
.mth-flex { margin: 22px 0 0; max-width: 78ch; color: var(--text); }
.mth-flex strong { color: var(--heading); }
.mth-steps { margin-top: 8px; }
.mth-steps li { padding-right: 28px; }
.mth-proof { margin-top: 48px; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel); padding: 28px; }
.mth-proof h3 { font-size: 20px; }
.mth-proof p { color: var(--text); }
.mth-proof p:last-child { margin-bottom: 0; }
.mth-ladder { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; counter-reset: mth; }
.mth-ladder li { margin: 0; counter-increment: mth; display: flex; align-items: center; gap: 12px; padding: 10px 14px; border: 1px solid var(--line-2); border-radius: var(--r-inner); color: var(--text); font-size: 15px; background: var(--surface-2); }
.mth-ladder li::before { content: counter(mth); flex: 0 0 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 12.5px; font-weight: 600; color: var(--muted); border: 1px solid var(--line-2); }
.mth-ladder li.proof { border-color: rgba(255, 215, 0, 0.55); color: var(--heading); }
.mth-ladder li.proof::before { color: var(--on-gold); background: var(--gold); border-color: var(--gold); }
.mth-checklist { margin: 4px 0 0; }
.mth-checklist li { padding-top: 8px; padding-bottom: 8px; color: var(--text); }
.mth-checklist li.done::before { top: 11px; }
.mth-pair .card h3 { font-size: 19px; }
.mth-pair .card p { margin-bottom: 0; color: var(--text); }
.mth-families { display: grid; gap: 12px; }
details.mth-family { margin: 0; padding: 0; border-radius: var(--r-panel); background: var(--surface); }
details.mth-family > summary { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr) 28px; grid-template-areas: "head icon" "skills icon"; gap: 6px 16px; padding: 18px 20px; min-height: 48px; border-radius: var(--r-panel); }
details.mth-family > summary::-webkit-details-marker { display: none; }
details.mth-family > summary::after { content: ""; grid-area: icon; align-self: center; justify-self: end; width: 10px; height: 10px; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(45deg) translate(-2px, -2px); transition: transform 0.15s; }
details.mth-family[open] > summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
details.mth-family > summary:hover { background: var(--surface-2); }
details.mth-family > summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.mth-fam-head { grid-area: head; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.mth-fam-name { font-family: var(--display); font-size: 19px; font-weight: 600; color: var(--heading); letter-spacing: -0.015em; }
.mth-fam-book { font-size: 13.5px; font-weight: 500; color: var(--accent-text); }
.mth-fam-skills { grid-area: skills; font-size: 14.5px; font-weight: 400; color: var(--muted); line-height: 1.5; }
.mth-skills { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 4px 20px 20px; }
.mth-skill { border: 1px solid var(--line); border-radius: var(--r-inner); padding: 16px 18px; background: var(--surface-2); }
.mth-skill h3 { font-size: 17px; margin-bottom: 10px; }
.mth-skill dl { margin: 0; }
.mth-skill dt { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted-2); margin-top: 10px; }
.mth-skill dt:first-child { margin-top: 0; }
.mth-skill dd { margin: 3px 0 0; font-size: 15px; line-height: 1.55; color: var(--text); }
@media (max-width: 1100px) { .mth-vols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .mth-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 8px; }
  .mth-proof { grid-template-columns: 1fr; gap: 24px; padding: 22px; }
}
@media (max-width: 800px) { .mth-skills { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .mth-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 32px; }
  .mth-facts li { padding-right: 10px; }
  .mth-vols { grid-template-columns: 1fr; }
  .mth-influences { grid-template-columns: 1fr; margin-top: 28px; }
  details.mth-family > summary { padding: 16px; }
  .mth-skills { padding: 0 12px 14px; }
  .mth-skill { padding: 14px; }
}
.mth-after { margin-top: 18px; }
.mth-vol-n { white-space: nowrap; }
@media (min-width: 1101px) { .mth-vol-top { flex-direction: column; align-items: flex-start; gap: 8px; } }

/* ------------------------------------------------------------------ how it works (/how-it-works)
   Scoped to this page: every rule hangs off an hw- class or the sections that follow .hw-hero. */
.hw-hero ~ .section h2 { font-size: clamp(25px, 3.2vw, 38px); line-height: 1.1; letter-spacing: -0.03em; max-width: 24ch; color: var(--gold); font-weight: 700; }
.hw-hero ~ .section .section-head { margin-bottom: 36px; row-gap: 20px; }
.hw-hero ~ .section .section-head p { max-width: 46ch; color: var(--lead); }
.hw-hero .hw-sub { color: var(--muted); max-width: 62ch; font-size: 16.5px; line-height: 1.6; margin-top: 4px; }
.hw-more { display: inline-block; margin-top: 20px; font-weight: 600; font-size: 15px; }
.hw-more::after { content: " \2192"; }
.hw-sources { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.hw-sources li { margin: 0; display: flex; flex-direction: column; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel); padding: 22px; }
.hw-sources h3 { font-size: 19px; margin: 12px 0 8px; }
.hw-sources p { color: var(--text); font-size: 15px; line-height: 1.55; flex: 1; }
.hw-src-n { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; font-size: 14px; color: var(--gold); border: 1px solid rgba(255, 215, 0, 0.6); background: var(--graphite); }
.hw-into { padding-top: 26px; background: linear-gradient(var(--gold), var(--gold)) 16.6% 0 / 1px 26px no-repeat, linear-gradient(var(--gold), var(--gold)) 50% 0 / 1px 26px no-repeat, linear-gradient(var(--gold), var(--gold)) 83.4% 0 / 1px 26px no-repeat; }
.hw-into span { display: block; text-align: center; padding: 13px 18px; border: 1px solid rgba(255, 215, 0, 0.55); border-radius: 999px; background: var(--surface); color: var(--heading); font-weight: 600; font-size: 15px; }
.hw-data .card h3 { font-size: 19px; }
.hw-data .checklist li { padding-top: 6px; padding-bottom: 6px; color: var(--text); margin: 0; }
.hw-data .checklist li.done::before { top: 9px; }
.hw-needs { list-style: none; padding: 0; margin: 0 0 12px; }
.hw-needs li { position: relative; margin: 0; padding: 6px 0 6px 30px; color: var(--text); }
.hw-needs li::before { content: ""; position: absolute; left: 0; top: 9px; width: 18px; height: 18px; border-radius: 50%; border: 1.5px dashed var(--muted-2); }
.hw-start { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; }
.hw-start > div { border-top: 1px solid var(--rule); padding-top: 18px; }
.hw-start h3 { font-size: 19px; color: var(--gold); font-weight: 700; }
.hw-start p { color: var(--text); max-width: 52ch; margin-bottom: 20px; }
.hw-flow { margin-top: 8px; }
.hw-flow li { padding-right: 28px; }
.hw-evidence { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel); padding: 28px; }
.hw-evidence h3 { font-size: 20px; }
.hw-evidence p { color: var(--text); }
.hw-evidence p.help { color: var(--muted); margin-bottom: 0; }
.hw-stages { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.hw-stages li { margin: 0; padding: 10px 14px; border: 1px solid var(--line-2); border-radius: var(--r-inner); background: var(--surface-2); }
.hw-stages strong { display: block; color: var(--heading); font-size: 15px; }
.hw-stages span { display: block; color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.hw-stages li.proof { border-color: rgba(255, 215, 0, 0.55); }
.hw-stages li.proof strong { color: var(--gold); }
.hw-tabs { display: flex; gap: 8px; margin-bottom: 20px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.hw-tabs::-webkit-scrollbar { display: none; }
.hw-tabs[hidden] { display: none; }
.hw-tabs [role="tab"] { flex: 0 0 auto; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--gold); font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; white-space: nowrap; }
.hw-tabs [role="tab"]:hover { border-color: var(--gold); }
.hw-tabs [role="tab"][aria-selected="true"] { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }
.hw-tabs [role="tab"]:focus-visible, .hw-panel:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.hw-panel { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 32px; align-items: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel); padding: 26px; }
.hw-panel + .hw-panel { margin-top: 36px; }
.hw-panel[hidden] { display: none; }
.hw-panel .shot { margin: 0; }
.hw-role { margin: 0 0 8px; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-text); }
.hw-panel h3 { font-size: clamp(21px, 2.2vw, 26px); letter-spacing: -0.025em; margin-bottom: 20px; color: var(--heading); font-weight: 700; }
.hw-dl { margin: 0; }
.hw-dl dt { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted-2); margin-top: 20px; }
.hw-dl dt:first-child { margin-top: 0; }
.hw-dl dd { margin: 6px 0 0; color: var(--text); font-size: 15.5px; line-height: 1.55; }
.hw-datanote { margin: 20px 0 0; padding: 10px 14px; border-left: 2px solid var(--gold); background: var(--surface-2); border-radius: 0 var(--r-inner) var(--r-inner) 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.hw-chain { list-style: none; padding: 0; margin: 0 0 8px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.hw-chain li { position: relative; margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel); padding: 20px; }
.hw-chain li + li::before { content: "\2192"; position: absolute; left: -14px; top: 22px; color: var(--gold); font-weight: 700; }
.hw-chain p { color: var(--text); font-size: 15px; line-height: 1.55; margin: 10px 0 0; }
.hw-who { display: inline-block; padding: 3px 12px; border-radius: 999px; background: rgba(255, 215, 0, 0.12); color: var(--gold); font-weight: 600; font-size: 13px; }
.hw-privacy h3 { font-size: 19px; }
.hw-privacy p { color: var(--text); }
.hw-privacy p:last-child { margin-bottom: 0; }
details.hw-detail { margin: 20px 0 0; padding: 0; border-radius: var(--r-panel); background: var(--surface); }
details.hw-detail > summary { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr) 24px; gap: 0 16px; padding: 20px; min-height: 48px; border-radius: var(--r-panel); }
details.hw-detail > summary::-webkit-details-marker { display: none; }
details.hw-detail .hw-detail-title { display: block; grid-column: 1; font-family: var(--display); font-size: 18px; font-weight: 700; line-height: 1.3; color: var(--gold); }
details.hw-detail .hw-detail-desc { display: block; grid-column: 1; margin-top: 6px; font-size: 14px; font-weight: 400; line-height: 1.5; color: var(--muted); }
details.hw-detail > summary::after { content: ""; grid-column: 2; grid-row: 1 / span 2; align-self: center; justify-self: end; width: 10px; height: 10px; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(45deg) translate(-2px, -2px); transition: transform 0.15s; }
details.hw-detail[open] > summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
details.hw-detail > summary:hover { background: var(--surface-2); }
details.hw-detail > summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.hw-detail-body { padding: 6px 20px 22px; }
.hw-detail-body .cols3 p, .hw-detail-body li { color: var(--text); }
@media (max-width: 1000px) { .hw-chain { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hw-chain li:nth-child(3)::before { display: none; } }
@media (max-width: 900px) {
  .hw-sources { grid-template-columns: 1fr; }
  .hw-into { background: linear-gradient(var(--gold), var(--gold)) 50% 0 / 1px 26px no-repeat; }
  .hw-evidence { grid-template-columns: 1fr; gap: 20px; padding: 20px; }
  .hw-panel { grid-template-columns: 1fr; gap: 36px; padding: 20px; }
}
@media (max-width: 640px) {
  .hw-start { grid-template-columns: 1fr; }
  .hw-chain { grid-template-columns: 1fr; gap: 22px; }
  .hw-chain li + li::before { content: "\2193"; left: 22px; top: -21px; display: block !important; }
  .hw-detail-body { padding: 4px 20px 20px; }
}
@media (max-width: 640px) { .hw-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; } .hw-tabs [role="tab"] { white-space: normal; padding: 8px 12px; line-height: 1.25; font-size: 14.5px; border-radius: 14px; } }

/* ------------------------------------------------------------------ product overview (/product)
   Scoped to this page: every rule hangs off a pv- class or the sections that follow .pv-hero. Same heading treatment
   and spacing steps (20px, 36px) as /how-it-works. */
.pv-hero ~ .section h2 { font-size: clamp(25px, 3.2vw, 38px); line-height: 1.1; letter-spacing: -0.03em; max-width: 24ch; color: var(--gold); font-weight: 700; }
.pv-hero ~ .section .section-head { margin-bottom: 36px; row-gap: 20px; }
.pv-hero ~ .section .section-head p { max-width: 46ch; color: var(--lead); }
.pv-hero h1 { max-width: 20ch; }
.pv-for { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pv-for li { margin: 0; }
.pv-for a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--gold); font-weight: 600; font-size: 14.5px; text-decoration: none; }
.pv-for a:hover { border-color: var(--gold); }
.pv-pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pv-pillar { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-top: 2px solid var(--gold); border-radius: var(--r-panel); padding: 22px; }
.pv-n { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; font-size: 14px; color: var(--gold); border: 1px solid rgba(255, 215, 0, 0.6); background: var(--graphite); }
.pv-pillar h3 { font-size: 21px; font-weight: 700; color: var(--gold); margin: 14px 0 8px; letter-spacing: -0.02em; }
.pv-outcome { color: var(--heading); font-size: 16px; line-height: 1.5; margin: 0 0 14px; }
.pv-pillar .checklist { margin: 0 0 20px; }
.pv-pillar .checklist li { margin: 0; padding-top: 5px; padding-bottom: 5px; color: var(--text); font-size: 15px; }
.pv-pillar .checklist li.done::before { top: 8px; }
.pv-note { margin: -8px 0 20px; padding: 8px 12px; border-left: 2px solid var(--gold); background: var(--surface-2); border-radius: 0 var(--r-inner) var(--r-inner) 0; color: var(--muted); font-size: 14px; }
.pv-pillar .shot { margin: auto 0 0; }
.pv-roles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.pv-role { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel); padding: 22px; }
.pv-role h3 { font-size: 18px; font-weight: 700; color: var(--gold); margin: 0 0 8px; }
.pv-role p { margin: 0 0 20px; flex: 1; color: var(--text); font-size: 15px; line-height: 1.5; }
.pv-record { margin-top: 20px; background: var(--surface); border: 1px solid rgba(255, 215, 0, 0.55); border-radius: var(--r-panel); padding: 22px; }
.pv-record h3 { font-size: 19px; font-weight: 700; color: var(--gold); margin: 0 0 8px; }
.pv-record p { margin: 0; color: var(--text); font-size: 15.5px; line-height: 1.55; max-width: 92ch; }
.pv-more { font-weight: 600; font-size: 15px; }
.pv-more::after { content: "\00a0\2192"; }
.pv-loop { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: pv; }
.pv-loop li { position: relative; margin: 0; counter-increment: pv; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel); padding: 22px; }
.pv-loop li::before { content: counter(pv); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font-weight: 600; font-size: 14px; color: var(--on-gold); background: var(--gold); margin-bottom: 14px; }
.pv-loop li + li::after { content: "\2192"; position: absolute; left: -14px; top: 26px; color: var(--gold); font-weight: 700; }
.pv-loop h3 { font-size: 18px; font-weight: 700; color: var(--heading); margin-bottom: 8px; }
.pv-loop p { color: var(--text); font-size: 15px; line-height: 1.55; margin: 0; }
.pv-after { margin: 20px 0 0; color: var(--text); }
.pv-stages { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pv-stages li { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel); padding: 22px; }
.pv-stages h3 { font-size: 19px; font-weight: 700; color: var(--gold); margin: 14px 0 8px; }
.pv-stages p { color: var(--text); font-size: 15px; line-height: 1.55; margin: 0; }
.pv-paths { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.pv-path { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel); padding: 20px; text-decoration: none; }
.pv-path:hover { border-color: var(--gold); }
.pv-path strong { display: block; color: var(--gold); font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.pv-path strong::after { content: "\00a0\2192"; }
.pv-path span { display: block; color: var(--text); font-size: 15px; line-height: 1.5; }
@media (max-width: 1100px) { .pv-roles, .pv-loop, .pv-paths { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pv-loop li:nth-child(3)::after { display: none; } }
@media (max-width: 900px) { .pv-pillars, .pv-stages { grid-template-columns: 1fr; } .pv-pillar .shot { max-width: 560px; } }
@media (max-width: 640px) {
  .pv-roles, .pv-loop, .pv-paths { grid-template-columns: 1fr; }
  .pv-loop { gap: 22px; }
  .pv-loop li + li::after { content: "\2193"; left: 22px; top: -21px; display: block !important; }
  .pv-pillar, .pv-role, .pv-loop li, .pv-stages li { padding: 20px; }
}
@media (min-width: 641px) and (max-width: 900px) { .pv-pillar { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 24px; align-items: start; } .pv-pillar > * { grid-column: 1; } .pv-pillar .shot { grid-column: 2; grid-row: 1 / span 6; margin: 0; max-width: none; } }

/* ------------------------------------------------------------------ Round 46: Your areas (sidebar) and the Setup Centre */
.side .areas { margin: 0 8px 14px; padding-bottom: 14px; border-bottom: 1px solid var(--obs-line); }
.side .areas-label { display: block; margin: 0 0 8px 4px; font-size: 11.5px; font-weight: 500; color: #8A919E; letter-spacing: 0.08em; text-transform: uppercase; }
.side .areas-list { display: flex; flex-wrap: wrap; gap: 6px; }
.side .areas-list a { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border: 1px solid var(--obs-line-2); border-radius: 999px; color: var(--bone); font-size: 13.5px; font-weight: 500; text-decoration: none; }
.side .areas-list a:hover { border-color: var(--gold); }
.side .areas-list a.on { border-color: var(--gold); color: var(--gold); background: rgba(255, 215, 0, 0.09); }
.side .areas-list a.areas-setup { border-style: dashed; color: var(--obs-soft); }
.side .areas-list a.areas-setup.on { border-style: solid; color: var(--gold); }
.side .areas-list a:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
@media (max-width: 860px) {
  .side { grid-template-areas: "brand out" "ws ws" "areas areas" "nav nav"; }
  .side .areas { grid-area: areas; margin: 10px 0 6px; padding-bottom: 10px; }
  .side .areas-list { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .side .areas-list::-webkit-scrollbar { display: none; }
  .side .areas-list a { flex: 0 0 auto; white-space: nowrap; min-height: 36px; }
}

.su-hero { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.su-hero h2 { margin-top: 4px; }
.su-hero .bar { width: 100%; margin-top: 8px; }
.su-progress { margin: 8px 0 0; }
.su-next { border: 1px solid var(--line); border-left: 3px solid var(--accent-text, #b08900); border-radius: var(--r-inner); padding: 16px; background: var(--surface-2); }
.su-next .eyebrow { margin-bottom: 6px; }
.su-next-title { font-weight: 600; font-size: 17px; margin: 0 0 4px; color: var(--heading); }
.su-areas, .su-features, .su-journey, .su-help { margin-top: 32px; }
.su-area-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; margin-top: 12px; }
.su-area { display: block; border: 1px solid var(--line); border-radius: var(--r-panel); padding: 14px 16px; background: var(--surface); text-decoration: none; color: var(--text); }
.su-area:hover { border-color: var(--line-hover); }
.su-area strong { display: block; color: var(--heading); margin-bottom: 4px; }
.su-area span { font-size: 14px; color: var(--muted); }
.su-feature { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; border: 1px solid var(--line); border-radius: var(--r-panel); padding: 16px 18px; background: var(--surface); margin-top: 12px; }
.su-feature h3 { margin: 0 0 6px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.su-feature p { margin: 0 0 6px; }
.su-feature p:last-child { margin-bottom: 0; }
.su-jhead { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 16px; }
.su-jhead h2 { margin: 0; }
.su-count { font-size: 14px; color: var(--muted); }
.su-items { display: grid; gap: 10px; margin-top: 12px; }
details.su-item { margin: 0; padding: 0; border-radius: var(--r-panel); background: var(--surface); }
details.su-item > summary { list-style: none; display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 14px 16px; min-height: 48px; border-radius: var(--r-panel); }
details.su-item > summary::-webkit-details-marker { display: none; }
details.su-item > summary:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.su-dot { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--line-2); }
.su-done .su-dot { background: var(--good); border-color: var(--good); }
.su-attention .su-dot { border-color: var(--warn); background: var(--warn-bg); }
.su-skipped .su-dot { border-style: dashed; }
.su-title { font-weight: 600; color: var(--heading); }
.su-done .su-title { color: var(--muted); }
.su-tags { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.su-body { padding: 0 16px 16px 46px; }
.su-dl { margin: 0; }
.su-dl dt { font-size: 12px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted-2); margin-top: 12px; }
.su-dl dt:first-child { margin-top: 0; }
.su-dl dd { margin: 3px 0 0; color: var(--text); line-height: 1.5; }
.su-note { margin: 12px 0 0; padding: 8px 12px; border-left: 3px solid var(--warn); background: var(--warn-bg); border-radius: 0 var(--r-inner) var(--r-inner) 0; }
.su-actions { margin-top: 14px; gap: 8px; }
@media (max-width: 760px) {
  .su-hero { grid-template-columns: 1fr; gap: 18px; }
  .su-feature { grid-template-columns: 1fr; }
  details.su-item > summary { grid-template-columns: 18px minmax(0, 1fr); }
  .su-tags { grid-column: 2; justify-content: flex-start; }
  .su-body { padding: 0 14px 14px; }
}
/* Round 47: the admin and Setup Centre chips mark the page you are on; the product chip marks the active product. */
.side .areas-list a.on-page { border-color: var(--gold); color: var(--gold); background: rgba(255, 215, 0, 0.09); }
/* Round 47: the Setup Centre is a page of step cards with buttons; on phones and tablets its Ask your Coach button sits
   at the end of the page instead of floating over a step's actions. Every other page keeps the floating button. */
@media (max-width: 860px) {
  body:has(.su-hero) .ask-coach-fab { position: static; display: flex; width: fit-content; margin: 8px 16px calc(24px + env(safe-area-inset-bottom, 0px)) auto; box-shadow: none; }
  body:has(.su-hero) .shell.seller .main { padding-bottom: 24px; }
}
/* Round 47: visually hidden labels inside a scrolling table (sr-only is position: absolute) stay inside its scroll area
   instead of widening the page. */
.tablewrap { position: relative; }
.access-item { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-right: 8px; }
.access-level { max-width: 100%; font-size: 13px; padding: 2px 6px; }

/* ======================================================================= First Win Academy
   One guide at a time: orientation (first visit to a product), the mission bar or completion moment, the next-mission
   card on home pages, and Learn in every page header. The Academy page holds tracks, phases and missions. */
.ac-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-text); margin: 0; }
.ac-k { font-size: 11.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 0; }
.ac-small { font-size: 13px; color: var(--muted); margin: 0; }
.ac-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ac-row .muted { font-size: 13.5px; }
.ac-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--surface-2); color: var(--muted); border: 1px solid var(--line); white-space: nowrap; }
.ac-chip.ok { background: var(--good-bg); color: var(--good); border-color: transparent; }
.ac-chip.now { background: var(--violet-bg); color: var(--accent-text); border-color: transparent; }
.ac-chip.warn { background: var(--warn-bg); color: var(--warn); border-color: transparent; }
.ac-note { margin: 0; font-size: 14px; color: var(--warn); }
.ac-blocked { border: 1px solid var(--line); border-left: 3px solid var(--warn); background: var(--warn-bg); border-radius: var(--r-inner); padding: 10px 12px; display: grid; gap: 6px; }
.ac-blocked p { margin: 0; }

/* Orientation: in the page without JavaScript; a modal dialog with it (app.js). */
dialog.ac-orient { position: static; width: auto; max-width: none; margin: 0 0 18px; padding: 0; border: 0; border-radius: var(--r-panel); background: var(--obsidian); color: #E7E9EE; box-shadow: var(--shadow); }
dialog.ac-orient:modal { position: fixed; inset: 0; margin: auto; width: min(560px, calc(100vw - 32px)); max-height: calc(100dvh - 48px); overflow: auto; }
dialog.ac-orient::backdrop { background: rgba(11, 12, 16, 0.32); }
dialog.ac-orient form { display: grid; gap: 14px; padding: 24px; }
dialog.ac-orient h2 { color: #FFFFFF; font: 600 clamp(21px, 2.6vw, 26px)/1.25 var(--display); margin: 0; text-wrap: balance; }
dialog.ac-orient .ac-eyebrow { color: var(--gold); }
.ac-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: acp; }
.ac-points li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; color: #C9CDD5; line-height: 1.45; }
.ac-points li::before { counter-increment: acp; content: counter(acp); width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold); display: grid; place-items: center; font-size: 12.5px; font-weight: 600; }
.ac-first { margin: 0; color: #C9CDD5; font-size: 14px; }
.ac-first span { color: var(--gold); font-size: 11.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin-right: 6px; }
.ac-first strong { color: #FFFFFF; }
dialog.ac-orient .btn.ghost { color: #E7E9EE; border-color: #3A3F4B; }
dialog.ac-orient .btn.ghost:hover { border-color: #C9CDD5; }
dialog.ac-orient .ac-small { color: var(--obs-muted); }

/* The mission bar: sticky at the top of the page while a mission is in progress. Never blocks the page. */
.ac-bar { position: sticky; top: calc(8px + env(safe-area-inset-top, 0px)); z-index: 25; display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; background: var(--obsidian); color: #E7E9EE; border-radius: var(--r-panel); padding: 12px 14px; margin: 0 0 16px; box-shadow: 0 14px 30px -22px rgba(11, 12, 16, 0.65); }
.ac-ring { --p: 0; width: 38px; height: 38px; border-radius: 50%; background: conic-gradient(var(--gold) calc(var(--p) * 1%), #3A3F4B 0); display: grid; place-items: center; flex: none; }
.ac-ring span { width: 30px; height: 30px; border-radius: 50%; background: var(--obsidian); display: grid; place-items: center; font-size: 11px; font-weight: 600; color: var(--gold); }
.ac-bar-text { min-width: 0; display: grid; gap: 2px; }
.ac-bar-text p { margin: 0; color: #C9CDD5; font-size: 14.5px; line-height: 1.45; }
.ac-bar-text .ac-bar-title { color: #FFFFFF; font: 600 14.5px var(--display); }
.ac-bar-acts { display: flex; flex-wrap: wrap; gap: 6px 14px; justify-content: flex-end; }
.ac-bar .linkish, .ac-bar a.linkish { color: #E7E9EE; font-size: 13.5px; text-decoration-color: var(--gold-deep); }
.ac-bar .ac-check { margin-top: 8px; color: #E7E9EE; }
.ac-bar .ac-check legend, .ac-bar .ac-check label { color: #E7E9EE; }
.ac-bar .ac-blocked { background: #1B1E26; border-color: #3A3F4B; color: #E7E9EE; }
.ac-lit { outline: 3px solid var(--gold) !important; outline-offset: 4px; border-radius: 10px; scroll-margin: 120px; }
@media (prefers-reduced-motion: no-preference) { .ac-lit { animation: ac-pulse 1.2s ease-out 2; } @keyframes ac-pulse { 0% { outline-color: rgba(255, 215, 0, 1); } 50% { outline-color: rgba(255, 215, 0, 0.35); } 100% { outline-color: rgba(255, 215, 0, 1); } } }

/* The completion moment. */
.ac-win { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel); padding: 18px; margin: 0 0 18px; display: grid; gap: 14px; box-shadow: var(--shadow); }
.ac-win-top { display: flex; gap: 14px; align-items: center; }
.ac-win h2 { font: 600 20px/1.25 var(--display); margin: 2px 0 0; color: var(--heading); }
.ac-seal { width: 44px; height: 44px; border-radius: 50%; background: var(--obsidian); color: var(--gold); display: grid; place-items: center; font: 700 18px var(--display); flex: none; }
.ac-win-cols { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.ac-win-cols > div { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-inner); padding: 10px 12px; display: grid; gap: 4px; align-content: start; }
.ac-win-cols p { margin: 0; }
.ac-ladder { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.ac-ladder li { font-size: 12.5px; padding: 4px 9px; border-radius: 6px; background: var(--track); color: var(--muted); }
.ac-ladder li.on { background: var(--ladder-on); color: var(--ladder-on-text); }

/* The next-mission card (home pages). */
.ac-card { display: grid; gap: 10px; border-color: var(--line-2); }
.ac-card h2 { font: 600 20px/1.25 var(--display); margin: 0; color: var(--heading); }
.ac-card > p { margin: 0; }
.ac-card-head { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.ac-card.slim h2 { font-size: 17px; }
.ac-card.ac-milestone { border-color: var(--gold-deep); }
.ac-milestone h2::before { content: "\2713  "; color: var(--gold-deep); }
.ac-check { display: grid; gap: 8px; }
.ac-check fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 6px; }
.ac-check legend { font-weight: 600; margin-bottom: 4px; }
.ac-feedback { margin: 0; font-size: 14px; }
.ac-feedback.warn { color: var(--warn); }
.ac-ws-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ac-ws-list li { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ac-ws-list li.acm-done a { color: var(--muted); }

/* Learn, in every page header (beside Feedback). */
.ac-learn { position: relative; margin-left: auto; align-self: flex-start; z-index: 31; }
.ac-learn + .fb-widget { margin-left: 8px; }
.ac-learn > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-2); font-size: 13px; font-weight: 600; color: var(--heading); }
.ac-learn > summary::-webkit-details-marker { display: none; }
.ac-learn > summary:focus-visible { outline: 3px solid var(--gold-deep); outline-offset: 2px; }
.ac-learn[open] > summary { background: var(--ladder-on); color: var(--ladder-on-text); border-color: var(--ladder-on); }
.ac-learn-body { position: absolute; right: 0; top: calc(100% + 8px); width: min(320px, calc(100vw - 32px)); background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-panel); padding: 14px; box-shadow: 0 12px 32px rgba(11, 12, 16, 0.18); display: grid; gap: 8px; }
.ac-learn-body ul { list-style: none; margin: 0; padding: 0; display: grid; }
.ac-learn-body li { padding: 7px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 8px; align-items: baseline; font-size: 14px; }
.ac-learn-body li:last-child { border-bottom: 0; }
.ac-learn-body small { color: var(--muted); white-space: nowrap; }
@media print { .ac-learn, .ac-bar, dialog.ac-orient, .ac-win { display: none; } }

/* The Academy page. */
.ac-hero { background: var(--obsidian); color: #E7E9EE; border-radius: var(--r-panel); padding: clamp(18px, 3vw, 28px); display: grid; gap: 18px; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: center; }
.ac-hero h2 { color: #FFFFFF; font: 600 clamp(24px, 3vw, 32px)/1.2 var(--display); margin: 4px 0 8px; text-wrap: balance; }
.ac-hero p { margin: 0; color: #C9CDD5; }
.ac-hero .ac-eyebrow { color: var(--gold); }
.ac-rec { background: var(--graphite); border: 1px solid #3A3F4B; border-radius: var(--r-inner); padding: 16px; display: grid; gap: 8px; min-width: 0; }
.ac-rec .ac-rec-title { color: #FFFFFF; font: 600 18px/1.3 var(--display); }
.ac-rec-why { font-size: 14px; }
.btn.ghost.on-dark { color: #E7E9EE; border-color: #3A3F4B; }
.btn.ghost.on-dark:hover { border-color: #C9CDD5; }
.ac-invite { margin-top: 16px; }
.ac-tracks { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); margin: 18px 0 8px; }
.ac-track-card { display: grid; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel); padding: 14px; text-decoration: none; color: var(--text); min-width: 0; }
.ac-track-card:hover { border-color: var(--line-hover); text-decoration: none; }
.ac-track-card:focus-visible { outline: 3px solid var(--gold-deep); outline-offset: 2px; }
.ac-track-card.won { border-color: var(--gold-deep); }
.ac-track-name { font: 600 15px var(--display); color: var(--heading); }
.ac-track-line { font-size: 13px; color: var(--muted); }
.ac-path { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; flex-wrap: wrap; row-gap: 6px; }
.ac-path li { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line-2); background: var(--surface); flex: none; position: relative; }
.ac-path li + li { margin-left: 18px; }
.ac-path li + li::before { content: ""; position: absolute; right: 100%; top: 50%; width: 18px; height: 2px; background: var(--line-2); transform: translate(-2px, -50%); }
.ac-path li.done { background: var(--obsidian); border-color: var(--obsidian); }
.ac-path li.now { border-color: var(--gold-deep); box-shadow: 0 0 0 4px rgba(255, 215, 0, 0.3); }
.ac-track { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); display: grid; gap: 14px; scroll-margin-top: 16px; }
.ac-track-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; align-items: flex-end; }
.ac-track-head h2 { font: 600 24px/1.2 var(--display); margin: 4px 0 6px; color: var(--heading); }
.ac-track-head p { margin: 0; max-width: 62ch; }
.ac-ms { display: grid; gap: 2px; text-align: right; border: 1px solid var(--line); border-radius: var(--r-inner); padding: 8px 12px; background: var(--surface); }
.ac-ms strong { font-family: var(--display); }
.ac-ms span:last-child { font-size: 13px; color: var(--muted); }
.ac-ms.won { border-color: var(--gold-deep); }
.ac-ms.won span:last-child { color: var(--good); font-weight: 600; }
.ac-phase h3 { font: 600 13px var(--font); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin: 6px 0 8px; }
.ac-missions { display: grid; gap: 8px; }
details.ac-mission { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-inner); scroll-margin-top: 96px; }
details.ac-mission > summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 12px 14px; }
details.ac-mission > summary::-webkit-details-marker { display: none; }
details.ac-mission > summary:focus-visible { outline: 3px solid var(--gold-deep); outline-offset: 2px; border-radius: var(--r-inner); }
details.ac-mission[open] > summary { border-bottom: 1px solid var(--line); }
.ac-dot { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--line-2); }
.acm-done .ac-dot { background: var(--good); border-color: var(--good); }
.acm-active .ac-dot { border-color: var(--gold-deep); box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.3); }
.acm-attention .ac-dot, .acm-blocked .ac-dot { border-color: var(--warn); }
.ac-mtitle { font-weight: 600; min-width: 0; }
.acm-done .ac-mtitle { color: var(--muted); }
.ac-mmeta { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; align-items: center; }
.ac-min { font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.ac-mbody { padding: 12px 14px 14px; display: grid; gap: 12px; }
.ac-dl { display: grid; grid-template-columns: 150px 1fr; gap: 6px 14px; margin: 0; font-size: 14.5px; }
.ac-dl dt { color: var(--muted); font-weight: 500; }
.ac-dl dd { margin: 0; min-width: 0; }
.ac-steps { margin: 0; padding-left: 1.2em; display: grid; gap: 4px; font-size: 14.5px; }
.ac-did { margin: 0; color: var(--good); }
.ac-did strong { color: var(--heading); }
.ac-example { margin: 0; border: 1px dashed var(--line-2); border-radius: var(--r-inner); padding: 12px; background: repeating-linear-gradient(135deg, var(--surface), var(--surface) 12px, var(--surface-2) 12px, var(--surface-2) 24px); display: grid; gap: 8px; }
.ac-example figcaption { font-size: 13.5px; color: var(--muted); }
.ac-example-tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; background: var(--obsidian); color: var(--gold); padding: 3px 7px; border-radius: 4px; margin-right: 4px; }
.ac-example dl { display: grid; grid-template-columns: minmax(120px, 0.4fr) 1fr; gap: 6px 12px; margin: 0; font-size: 14px; }
.ac-example dt { font-weight: 600; }
.ac-example dd { margin: 0; }
.ac-ready { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel); padding: 16px; display: grid; gap: 12px; }
.ac-ready h3, .ac-features h3 { font: 600 17px var(--display); margin: 0; }
.ac-ready-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.ac-ready-grid > div { min-width: 0; display: grid; gap: 6px; align-content: start; }
.ac-ready h4 { margin: 0; font-size: 14.5px; }
.ac-ready ul { margin: 0; padding-left: 1.1em; display: grid; gap: 3px; font-size: 14px; overflow-wrap: anywhere; }
.ac-ready small { color: var(--muted); }
.ac-ready .help { margin: 0; }
.ac-count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--warn-bg); color: var(--warn); font-size: 12px; margin-left: 4px; }
.ac-features { display: grid; gap: 10px; }
.ac-feature { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-inner); padding: 14px; }
.ac-feature > div:first-child { min-width: 0; flex: 1 1 320px; }
.ac-feature h3 { font-size: 16px; margin: 0 0 4px; }
.ac-feature p { margin: 4px 0 0; }
.ac-feature-act { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-start; }
.ac-help { margin-top: 32px; }
.ac-ms-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }

@media (max-width: 760px) {
  .ac-hero { grid-template-columns: 1fr; }
  .ac-bar { grid-template-columns: auto 1fr; padding: 10px 12px; gap: 10px; }
  .ac-bar-acts { grid-column: 1 / -1; justify-content: flex-start; }
  .ac-dl { grid-template-columns: 1fr; gap: 2px; }
  .ac-dl dt { margin-top: 6px; }
  details.ac-mission > summary { grid-template-columns: auto 1fr; }
  .ac-mmeta { grid-column: 2; justify-content: flex-start; }
  .ac-ms { text-align: left; }
  .ac-example dl { grid-template-columns: 1fr; }
  .apphead .ac-learn { margin-left: 0; }
}
/* Learn sits beside Feedback with the same pill look (not the generic details card). */
details.ac-learn, details.ac-learn[open] { border: 0; background: none; padding: 0; margin: 0 0 0 auto; }
details.ac-learn + details.fb-widget { margin-left: 8px; }
details.ac-mission { margin: 0; padding: 0; }
.ac-check > button { justify-self: start; }

/* ------------------------------------------------------------------ homepage (/)
   Round 49. Scoped to this page: every rule hangs off an hm- class. Brand tokens only; the shared screenshot frame
   (.view.shot), buttons, badges, checklists, FAQ and band come from the rules above. */
.hm-hero { padding-top: 56px; padding-bottom: 0; }
.hm-hero-grid { display: grid; gap: 44px; }
.hm-hero-copy { text-align: center; max-width: 1040px; margin: 0 auto; }
.hm-hero-copy .row { justify-content: center; }
.hm-hero h1 { font-size: clamp(38px, 5vw, 64px); line-height: 1.04; letter-spacing: -0.035em; max-width: none; margin: 0 0 24px; }
.hm-hero h1 span { color: var(--gold); display: block; }
.hm-hero .lead { margin: 0 auto; max-width: 66ch; }
.hm-ctas { margin-top: 30px; gap: 12px; }
.hm-ctas .btn { padding: 14px 24px; font-size: 16px; }
.hm-reassure { margin: 18px auto 0; color: var(--lead); font-size: 15px; line-height: 1.5; max-width: 62ch; }
.hm-reassure strong { color: var(--heading); font-weight: 600; }
.hm-solo { margin: 8px 0 0; color: var(--muted); font-size: 14.5px; }
.hm-hero .shot { max-width: 1080px; margin: 0 auto; width: 100%; box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 215, 0, 0.18); }
.hm-for { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hm-for li { margin: 0; }
.hm-for li + li { border-left: 1px solid var(--line); }
.hm-for a { display: flex; flex-direction: column; gap: 3px; height: 100%; padding: 18px 20px; text-decoration: none; }
.hm-for strong { color: var(--heading); font-size: 15.5px; font-weight: 600; }
.hm-for span { color: var(--muted); font-size: 14px; }
.hm-for span::after { content: "\00a0\2192"; color: var(--gold); }
.hm-for a:hover { background: var(--surface-2); }
.hm-for a:hover strong { color: var(--gold); }

.hm-head { max-width: 780px; margin-bottom: 36px; }
.hm-head h2 { font-size: clamp(27px, 3.4vw, 42px); line-height: 1.08; letter-spacing: -0.03em; color: var(--gold); font-weight: 700; margin: 0 0 14px; }
.hm-head p { color: var(--lead); font-size: 17px; line-height: 1.55; margin: 0; max-width: 62ch; }
.hm-who { margin: 0 0 8px; font-size: 12.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-text); }

.hm-gaps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.hm-gaps li { margin: 0; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel); padding: 24px; }
.hm-gaps h3 { font-size: 20px; color: var(--heading); margin: 0 0 8px; letter-spacing: -0.015em; }
.hm-gaps p { color: var(--text); font-size: 15.5px; line-height: 1.55; margin: 0 0 20px; }
.hm-gaps dl { margin: auto 0 0; border-top: 1px solid var(--line); }
.hm-gaps dl > div { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 12px; padding: 10px 0 0; }
.hm-gaps dt { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); padding-top: 2px; }
.hm-gaps dd { margin: 0; color: var(--lead); font-size: 15px; }
.hm-gaps .miss dt { color: var(--gold); }
.hm-gaps .miss dd { color: var(--heading); font-weight: 600; }
.hm-bridge { margin: 28px 0 0; font-size: 18px; color: var(--lead); }
.hm-bridge strong { color: var(--gold); font-weight: 600; }

.hm-lead { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 48px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-top: 2px solid var(--gold); border-radius: var(--r-panel); padding: 36px; }
.hm-lead h3 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.12; letter-spacing: -0.025em; color: var(--heading); margin: 0 0 12px; }
.hm-lead-p { color: var(--text); font-size: 17px; line-height: 1.55; margin: 0 0 16px; }
.hm-lead .checklist { margin: 0 0 20px; }
.hm-lead .checklist li { color: var(--text); font-size: 15.5px; }
.hm-roles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.hm-role { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel); padding: 24px; }
.hm-role h3 { font-size: 20px; line-height: 1.2; color: var(--heading); margin: 0 0 8px; letter-spacing: -0.015em; }
.hm-role > p:not(.hm-who):not(.hm-note) { color: var(--text); font-size: 15px; line-height: 1.55; margin: 0 0 14px; }
.hm-note { margin: 0 0 14px; padding: 7px 12px; border-left: 2px solid var(--gold); background: var(--surface-2); border-radius: 0 var(--r-inner) var(--r-inner) 0; color: var(--muted); font-size: 13.5px; }
.hm-role .pv-more { margin-bottom: 18px; }
.hm-role .shot { margin-top: auto; }

.hm-story-sec { margin-top: 88px; padding: 80px 0; background: var(--surface-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hm-story { list-style: none; margin: 0; padding: 0; position: relative; }
.hm-story::before { content: ""; position: absolute; left: 17px; top: 18px; bottom: 18px; width: 2px; background: linear-gradient(var(--gold), rgba(255, 215, 0, 0.15)); }
.hm-story > li { position: relative; margin: 0; padding-left: 64px; }
.hm-story > li + li { margin-top: 48px; }
.hm-story > li > div { max-width: 60ch; }
.hm-story > li.wide { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 44px; align-items: start; }
.hm-n { position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--on-gold); font-weight: 700; font-size: 15px; }
.hm-story h3 { font-size: 22px; line-height: 1.2; color: var(--heading); margin: 0 0 8px; letter-spacing: -0.02em; }
.hm-story p { color: var(--text); font-size: 16px; line-height: 1.6; margin: 0; }
.hm-story p.hm-who { margin: 6px 0 6px; font-size: 12.5px; line-height: 1.4; }
.hm-play { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel); padding: 22px 24px; }
.hm-play figcaption { font-size: 12.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.hm-play p, .hm-play blockquote { margin: 0 0 14px; }
.hm-play span { display: block; font-size: 12.5px; font-weight: 600; color: var(--muted); margin-bottom: 3px; }
.hm-play-buyer { color: var(--heading); font-size: 18px; font-family: var(--display); }
.hm-play-avoid { color: var(--lead); font-size: 15px; }
.hm-play blockquote { padding: 12px 16px; border-left: 3px solid var(--gold); background: var(--surface-2); border-radius: 0 var(--r-inner) var(--r-inner) 0; color: var(--heading); font-size: 16px; line-height: 1.55; }
.hm-play blockquote span { color: var(--gold); }
.hm-play p.help { margin: 0; font-size: 13.5px; color: var(--muted); }
.hm-cta-row { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 16px 24px; flex-wrap: wrap; }
.hm-cta-row > p { margin: 0; font-family: var(--display); font-size: 22px; color: var(--heading); letter-spacing: -0.02em; }

.hm-academy { margin-top: 16px; padding: 20px 24px; background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: var(--r-panel); }
.hm-academy h3 { font-size: 19px; color: var(--heading); margin: 0 0 6px; }
.hm-academy p { margin: 0; color: var(--text); font-size: 15.5px; line-height: 1.55; max-width: 80ch; }

.hm-diffs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.hm-diffs article { border-top: 2px solid var(--gold); padding-top: 22px; display: flex; flex-direction: column; }
.hm-diffs h3 { font-size: 21px; line-height: 1.2; color: var(--heading); margin: 0 0 10px; letter-spacing: -0.02em; }
.hm-diffs p { color: var(--text); font-size: 15.5px; line-height: 1.6; margin: 0 0 16px; }
.hm-diffs .pv-more { margin-top: auto; }
.hm-facts { list-style: none; margin: 48px 0 0; padding: 26px 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hm-facts li { margin: 0; display: flex; flex-direction: column; gap: 4px; }
.hm-facts strong { font: 700 clamp(30px, 3.4vw, 44px)/1 var(--display); color: var(--gold); letter-spacing: -0.03em; }
.hm-facts span { color: var(--lead); font-size: 14.5px; }

.hm-buy { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 40px; align-items: start; }
.hm-qa { margin: 0; display: grid; }
.hm-qa > div { padding: 18px 0; border-bottom: 1px solid var(--line); }
.hm-qa > div:first-child { padding-top: 0; }
.hm-qa dt { font: 600 18px/1.3 var(--display); color: var(--heading); letter-spacing: -0.01em; margin: 0 0 6px; }
.hm-qa dd { margin: 0; color: var(--text); font-size: 15.5px; line-height: 1.6; max-width: 72ch; }
.hm-price { background: var(--surface); border: 1px solid rgba(255, 215, 0, 0.55); border-radius: var(--r-panel); padding: 26px; }
.hm-price-n { margin: 0 0 18px; display: flex; flex-direction: column; gap: 2px; }
.hm-price-n strong { font: 700 48px/1 var(--display); color: var(--heading); letter-spacing: -0.03em; }
.hm-price-n span { color: var(--muted); font-size: 14.5px; }
.hm-price .checklist { margin: 0 0 14px; }
.hm-price .checklist li { color: var(--text); font-size: 14.5px; }
.hm-price .row .btn { flex: 1 1 auto; }

@media (max-width: 1000px) {
  .hm-roles { grid-template-columns: 1fr; }
  .hm-role { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 28px; align-items: start; }
  .hm-role > * { grid-column: 1; }
  .hm-role .shot { grid-column: 2; grid-row: 1 / span 6; margin: 0; }
  .hm-buy { grid-template-columns: 1fr; }
  .hm-price { max-width: 560px; }
}
@media (max-width: 900px) {
  .hm-hero-grid { gap: 36px; }
  .hm-lead, .hm-story > li.wide { grid-template-columns: 1fr; gap: 28px; }
  .hm-for { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hm-for li:nth-child(3) { border-left: 0; }
  .hm-for li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .hm-gaps, .hm-diffs { grid-template-columns: 1fr; }
  .hm-diffs { gap: 28px; }
  .hm-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 24px; }
  .hm-lead { padding: 28px; }
}
@media (max-width: 640px) {
  .hm-hero { padding-top: 32px; }
  .hm-hero-copy { text-align: left; }
  .hm-hero-copy .row { justify-content: flex-start; }
  .hm-hero h1 span { display: inline; }
  .hm-hero h1 { font-size: clamp(34px, 10vw, 44px); }
  .hm-ctas .btn { flex: 1 1 100%; }
  .hm-for { margin-top: 36px; }
  .hm-for a { padding: 14px 12px; }
  .hm-for strong { font-size: 14.5px; }
  .hm-for span { font-size: 13px; }
  .hm-role { display: flex; }
  .hm-role .shot { margin-top: 4px; }
  .hm-lead, .hm-role, .hm-gaps li { padding: 20px; }
  .hm-story-sec { margin-top: 56px; padding: 56px 0; }
  .hm-story::before { left: 14px; }
  .hm-story > li { padding-left: 46px; }
  .hm-story > li + li { margin-top: 40px; }
  .hm-n { width: 30px; height: 30px; font-size: 14px; }
  .hm-play { padding: 18px; }
  .hm-cta-row .row, .hm-cta-row .row .btn { width: 100%; }
  .hm-cta-row .row .btn { flex: 1 1 100%; }
  .hm-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hm-price-n strong { font-size: 42px; }
}

/* ------------------------------------------------------------------ for sales reps (/for/reps)
   Round 50. Scoped to this page: every rule hangs off an rps- class. Same tokens, heading treatment and spacing steps as
   the homepage; the practice, Save this deal and Relive sections are the visual centre. */
.rps-hero { padding-top: 56px; padding-bottom: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 44px; }
.rps-hero-copy { text-align: center; max-width: 960px; margin: 0 auto; }
.rps-hero-copy .row { justify-content: center; }
.rps-hero h1 { font-size: clamp(38px, 5.4vw, 68px); line-height: 1.03; letter-spacing: -0.035em; max-width: none; margin: 0 0 22px; }
.rps-hero h1 span { color: var(--gold); }
.rps-hero .lead { margin: 0 auto; max-width: 60ch; }
.rps-ctas { margin-top: 28px; gap: 12px; }
.rps-ctas .btn { padding: 14px 26px; font-size: 16px; }
.rps-reassure { margin: 16px auto 0; color: var(--lead); font-size: 15px; line-height: 1.5; max-width: 60ch; }
.rps-reassure strong { color: var(--heading); font-weight: 600; }
.rps-hero .shot { max-width: 1080px; margin: 0 auto; width: 100%; box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 215, 0, 0.18); }

.rps-head { max-width: 780px; margin-bottom: 36px; }
.rps-head h2, .rps-split h2 { font-size: clamp(27px, 3.4vw, 42px); line-height: 1.08; letter-spacing: -0.03em; color: var(--gold); font-weight: 700; margin: 0 0 14px; }
.rps-head p { color: var(--lead); font-size: 17px; line-height: 1.55; margin: 0; max-width: 62ch; }
.rps-head-c { text-align: center; margin-left: auto; margin-right: auto; }
.rps-head-c p { margin: 0 auto; }
.rps-fine { margin: 20px 0 0; color: var(--muted); font-size: 14.5px; }
.rps-note { margin: 18px 0 0; padding: 10px 14px; border-left: 2px solid var(--gold); background: var(--surface-2); border-radius: 0 var(--r-inner) var(--r-inner) 0; color: var(--lead); font-size: 14.5px; line-height: 1.55; }
.rps-lead { color: var(--text); font-size: 17px; line-height: 1.6; margin: 0 0 20px; }

.rps-moments { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.rps-moments li { margin: 0; padding: 22px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel); font: 600 clamp(19px, 1.9vw, 23px)/1.3 var(--display); color: var(--heading); letter-spacing: -0.015em; }
.rps-moments span { display: block; margin-bottom: 10px; font: 600 12.5px/1.4 var(--font); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

.rps-practice { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 40px; align-items: start; }
.rps-challenge { margin: 0; background: var(--surface); border: 1px solid rgba(255, 215, 0, 0.55); border-radius: var(--r-panel); padding: 26px; }
.rps-challenge figcaption { font-size: 12.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.rps-says { margin: 0 0 18px; font: 600 clamp(20px, 2vw, 25px)/1.3 var(--display); color: var(--heading); letter-spacing: -0.015em; }
.rps-says span, .rps-k { display: block; font: 600 12.5px/1.4 var(--font); letter-spacing: 0.02em; color: var(--accent-text); margin: 0 0 6px; }
.rps-hidden { padding: 14px 16px; margin: 0 0 18px; background: var(--surface-2); border-radius: var(--r-inner); border: 1px dashed var(--line-2); }
.rps-hidden ul { margin: 0 0 12px; padding-left: 18px; }
.rps-hidden li { color: var(--text); font-size: 15px; margin: 2px 0; }
.rps-hidden p:not(.rps-k) { margin: 0; color: var(--text); font-size: 15px; }
.rps-ladder { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; counter-reset: rl; }
.rps-ladder li { margin: 0; display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 12px; align-items: baseline; padding: 8px 0; border-top: 1px solid var(--line); }
.rps-ladder strong { color: var(--heading); font-size: 15px; }
.rps-ladder strong .badge { margin-left: 4px; font-size: 11px; }
.rps-ladder span { color: var(--lead); font-size: 14.5px; line-height: 1.5; }
.rps-steps, .rps-numbered { list-style: none; margin: 0; padding: 0; counter-reset: rs; display: grid; gap: 22px; }
.rps-steps li, .rps-numbered li { margin: 0; position: relative; padding-left: 46px; counter-increment: rs; }
.rps-steps li::before, .rps-numbered li::before { content: counter(rs); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--on-gold); font-weight: 700; font-size: 14px; }
.rps-steps h3, .rps-numbered h3 { font-size: 19px; line-height: 1.25; color: var(--heading); margin: 2px 0 4px; letter-spacing: -0.015em; }
.rps-steps p, .rps-numbered p { margin: 0; color: var(--text); font-size: 15.5px; line-height: 1.55; }

.rps-story-sec { margin-top: 88px; padding: 80px 0; background: var(--surface-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.rps-save { display: grid; gap: 36px; }
.rps-save .shot { max-width: 1080px; width: 100%; }
.rps-save .rps-numbered { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }

.rps-relive-sec { padding: 88px 0 80px; background: radial-gradient(ellipse at 50% 0%, rgba(255, 215, 0, 0.07), transparent 60%); }
.rps-relive-sec .shot { max-width: 1080px; margin: 0 auto; box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 215, 0, 0.18); }
.rps-relive-points { list-style: none; margin: 36px auto 0; padding: 0; max-width: 1080px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.rps-relive-points li { margin: 0; border-top: 2px solid var(--gold); padding-top: 18px; }
.rps-relive-points h3 { font-size: 20px; line-height: 1.2; color: var(--heading); margin: 0 0 8px; letter-spacing: -0.02em; }
.rps-relive-points p { margin: 0; color: var(--text); font-size: 15.5px; line-height: 1.6; }
.rps-relive-sec .rps-fine { text-align: center; }

.rps-split { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 52px; align-items: center; }
.rps-split.flip > :first-child { order: 2; }
.rps-chain { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; counter-reset: rc; }
.rps-chain li { margin: 0; counter-increment: rc; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--heading); font-size: 14.5px; font-weight: 500; background: var(--surface); }
.rps-chain li::before { content: counter(rc); width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--graphite); border: 1px solid rgba(255, 215, 0, 0.6); color: var(--gold); font-size: 12.5px; font-weight: 700; }
.rps-record { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.rps-record li { margin: 0; padding-left: 16px; border-left: 2px solid var(--gold); }
.rps-record h3 { font-size: 18.5px; color: var(--heading); margin: 0 0 4px; letter-spacing: -0.015em; }
.rps-record p { margin: 0; color: var(--text); font-size: 15.5px; line-height: 1.55; }

.rps-privacy { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.rps-privacy > div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel); padding: 22px; }
.rps-privacy h3 { font-size: 18px; color: var(--heading); margin: 0 0 8px; }
.rps-privacy p { margin: 0; color: var(--text); font-size: 15px; line-height: 1.6; }

.rps-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 960px; }
.rps-plan { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel); padding: 28px; }
.rps-plan.pro { border-color: rgba(255, 215, 0, 0.55); }
.rps-plan-name { margin: 0 0 6px; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-text); }
.rps-price { margin: 0 0 18px; display: flex; flex-direction: column; gap: 2px; }
.rps-price strong { font: 700 46px/1 var(--display); color: var(--heading); letter-spacing: -0.03em; }
.rps-price span { color: var(--muted); font-size: 14.5px; }
.rps-plan-lead { margin: 0 0 8px; color: var(--heading); font-weight: 600; }
.rps-plan .checklist { margin: 0 0 22px; }
.rps-plan .checklist li { color: var(--text); font-size: 15px; }
.rps-plan .row { margin-top: auto; }

@media (max-width: 1000px) {
  .rps-practice { grid-template-columns: 1fr; gap: 32px; }
  .rps-save .rps-numbered { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rps-challenge { max-width: 640px; }
}
@media (max-width: 900px) {
  .rps-split, .rps-split.flip { grid-template-columns: 1fr; gap: 32px; }
  .rps-split.flip > :first-child { order: 0; }
  .rps-moments, .rps-relive-points, .rps-privacy { grid-template-columns: 1fr; }
  .rps-relive-points { gap: 22px; }
}
@media (max-width: 640px) {
  .rps-hero { padding-top: 32px; gap: 32px; }
  .rps-hero-copy { text-align: left; }
  .rps-hero-copy .row { justify-content: flex-start; }
  .rps-hero h1 { font-size: clamp(34px, 10.5vw, 46px); }
  .rps-ctas .btn { flex: 1 1 100%; }
  .rps-moments li, .rps-privacy > div { padding: 18px 20px; }
  .rps-challenge { padding: 20px; }
  .rps-ladder li { grid-template-columns: 1fr; gap: 2px; }
  .rps-story-sec { margin-top: 56px; padding: 56px 0; }
  .rps-relive-sec { padding: 56px 0; }
  .rps-head-c { text-align: left; }
  .rps-relive-sec .rps-fine { text-align: left; }
  .rps-plans, .rps-save .rps-numbered { grid-template-columns: 1fr; }
  .rps-plan { padding: 22px; }
  .rps-plan .row .btn { flex: 1 1 100%; }
}

/* ------------------------------------------------------------------ for sales managers (/for/managers)
   Round 51. Scoped to this page: every rule hangs off an mgp- class. Same tokens, heading treatment and spacing as the
   homepage and the Sales Reps page; the manager's week is the visual centre. */
.mgp-hero { padding-top: 56px; padding-bottom: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 44px; }
.mgp-hero-copy { text-align: center; max-width: 1000px; margin: 0 auto; }
.mgp-hero-copy .row { justify-content: center; }
.mgp-hero h1 { font-size: clamp(36px, 5vw, 62px); line-height: 1.05; letter-spacing: -0.035em; max-width: none; margin: 0 0 22px; }
.mgp-hero h1 span { color: var(--gold); display: block; }
.mgp-hero .lead { margin: 0 auto; max-width: 62ch; }
.mgp-ctas { margin-top: 28px; gap: 12px; }
.mgp-ctas .btn { padding: 14px 24px; font-size: 16px; }
.mgp-reassure { margin: 16px auto 0; color: var(--lead); font-size: 15px; line-height: 1.5; max-width: 62ch; }
.mgp-reassure strong { color: var(--heading); font-weight: 600; }
.mgp-hero .shot { max-width: 1080px; margin: 0 auto; width: 100%; box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 215, 0, 0.18); }

.mgp-head { max-width: 780px; margin-bottom: 32px; }
.mgp-head h2, .mgp-split h2, .mgp-plan h2 { font-size: clamp(27px, 3.4vw, 42px); line-height: 1.08; letter-spacing: -0.03em; color: var(--gold); font-weight: 700; margin: 0 0 14px; }
.mgp-head p { color: var(--lead); font-size: 17px; line-height: 1.55; margin: 0; max-width: 64ch; }
.mgp-p { color: var(--text); font-size: 16px; line-height: 1.6; margin: 0 0 14px; }
.mgp-fine { margin: 18px 0 0; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.mgp-when { margin: 0 0 6px; font-size: 12.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-text); }

.mgp-chain { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; counter-reset: mc; }
.mgp-chain li { margin: 0; position: relative; counter-increment: mc; padding: 16px 16px 16px 52px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel); color: var(--heading); font-weight: 600; font-size: 15px; line-height: 1.3; display: flex; align-items: center; min-height: 64px; }
.mgp-chain li::before { content: counter(mc); position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--on-gold); font-size: 13px; font-weight: 700; }

.mgp-week-sec { margin-top: 88px; padding: 80px 0; background: var(--surface-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.mgp-day { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 48px; align-items: start; padding: 44px 0; border-top: 1px solid var(--line); }
.mgp-day:first-of-type { border-top: 0; padding-top: 8px; }
.mgp-day.flip > :first-child { order: 2; }
.mgp-day h3 { font-size: clamp(23px, 2.4vw, 30px); line-height: 1.15; letter-spacing: -0.025em; color: var(--heading); margin: 0 0 12px; }
.mgp-big { grid-template-columns: minmax(0, 1fr); gap: 24px; }
.mgp-big .mgp-day-head { max-width: 760px; }
.mgp-big .shot { max-width: 1080px; width: 100%; }
.mgp-states { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.mgp-states li { margin: 0; display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 14px; align-items: baseline; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-inner); }
.mgp-states li.hot { border-color: rgba(255, 215, 0, 0.6); }
.mgp-states li.quiet { border-style: dashed; }
.mgp-states strong { color: var(--heading); font-size: 15.5px; }
.mgp-states li.hot strong { color: var(--gold); }
.mgp-states span { color: var(--text); font-size: 15px; line-height: 1.5; }
.mgp-ticks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 24px; }
.mgp-ticks.two { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 4px 0 0; }
.mgp-ticks li { margin: 0; position: relative; padding-left: 22px; color: var(--heading); font-size: 15.5px; line-height: 1.45; }
.mgp-ticks li::before { content: ""; position: absolute; left: 0; top: 7px; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); }
.mgp-flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: mf; }
.mgp-flow li { margin: 0; position: relative; counter-increment: mf; padding: 18px 20px 18px 62px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel); }
.mgp-flow li::before { content: counter(mf); position: absolute; left: 18px; top: 18px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--on-gold); font-weight: 700; font-size: 14px; }
.mgp-flow li + li::after { content: "\2193"; position: absolute; left: 28px; top: -16px; color: var(--gold); font-weight: 700; }
.mgp-flow strong { display: block; color: var(--heading); font-size: 17px; margin-bottom: 4px; }
.mgp-flow span { color: var(--text); font-size: 15px; line-height: 1.55; }
.mgp-day .checklist { margin: 0 0 14px; }
.mgp-day .checklist li { color: var(--text); font-size: 15.5px; }
.mgp-read { margin: 6px 0 0; display: grid; gap: 8px; }
.mgp-read > div { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 14px; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-inner); }
.mgp-read dt { color: var(--heading); font-weight: 600; font-size: 15px; }
.mgp-read dd { margin: 0; color: var(--text); font-size: 15px; line-height: 1.5; }
.mgp-cta-row { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 16px 24px; flex-wrap: wrap; }
.mgp-cta-row > p { margin: 0; font-family: var(--display); font-size: 22px; color: var(--heading); letter-spacing: -0.02em; max-width: 34ch; }

.mgp-split { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 52px; align-items: center; }
.mgp-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.mgp-steps li { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel); padding: 22px; }
.mgp-steps h3 { font-size: 19px; color: var(--heading); margin: 14px 0 8px; letter-spacing: -0.015em; }
.mgp-steps p { margin: 0; color: var(--text); font-size: 15px; line-height: 1.55; }
.mgp-plan { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 48px; align-items: start; }
.mgp-price { background: var(--surface); border: 1px solid rgba(255, 215, 0, 0.55); border-radius: var(--r-panel); padding: 26px; }
.mgp-price-n { margin: 0 0 18px; display: flex; flex-direction: column; gap: 4px; }
.mgp-price-n strong { font: 700 48px/1 var(--display); color: var(--heading); letter-spacing: -0.03em; }
.mgp-price-n span { color: var(--muted); font-size: 14.5px; }
.mgp-price .checklist { margin: 0 0 14px; }
.mgp-price .checklist li { color: var(--text); font-size: 14.5px; }
.mgp-price .help { margin: 0 0 16px; }

@media (max-width: 1100px) { .mgp-chain { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .mgp-day, .mgp-day.flip, .mgp-split, .mgp-plan { grid-template-columns: 1fr; gap: 28px; }
  .mgp-day.flip > :first-child { order: 0; }
  .mgp-ticks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mgp-steps { grid-template-columns: 1fr; }
  .mgp-chain { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mgp-price { max-width: 560px; }
}
@media (max-width: 640px) {
  .mgp-hero { padding-top: 32px; gap: 32px; }
  .mgp-hero-copy { text-align: left; }
  .mgp-hero-copy .row { justify-content: flex-start; }
  .mgp-hero h1 { font-size: clamp(32px, 9.6vw, 42px); }
  .mgp-hero h1 span { display: inline; }
  .mgp-ctas .btn { flex: 1 1 100%; }
  .mgp-chain { grid-template-columns: 1fr; }
  .mgp-week-sec { margin-top: 56px; padding: 56px 0; }
  .mgp-day { padding: 36px 0; }
  .mgp-states li { grid-template-columns: 1fr; gap: 4px; }
  .mgp-ticks, .mgp-ticks.two { grid-template-columns: 1fr; }
  .mgp-read > div { grid-template-columns: 1fr; gap: 4px; }
  .mgp-cta-row .row, .mgp-cta-row .row .btn, .mgp-price .row .btn { width: 100%; }
  .mgp-cta-row .row .btn, .mgp-price .row .btn { flex: 1 1 100%; }
  .mgp-price { padding: 22px; }
}

/* ------------------------------------------------------------------ for CROs and sales directors (/for/leaders)
   Round 52. Scoped to this page: every rule hangs off a cro- class. Same tokens and heading treatment as the newer pages,
   with an executive rhythm: a contrast panel, the action flow as the centre, and the data-path tiers. */
.cro-hero { padding-top: 56px; padding-bottom: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 44px; }
.cro-hero-copy { text-align: center; max-width: 1020px; margin: 0 auto; }
.cro-hero-copy .row { justify-content: center; }
.cro-hero h1 { font-size: clamp(34px, 4.6vw, 58px); line-height: 1.06; letter-spacing: -0.035em; max-width: none; margin: 0 0 22px; }
.cro-hero h1 span { color: var(--gold); display: block; }
.cro-hero .lead { margin: 0 auto; max-width: 62ch; }
.cro-ctas { margin-top: 28px; gap: 12px; }
.cro-ctas .btn { padding: 14px 24px; font-size: 16px; }
.cro-reassure { margin: 16px auto 0; color: var(--lead); font-size: 15px; max-width: 60ch; }
.cro-hero .shot { max-width: 1080px; margin: 0 auto; width: 100%; box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 215, 0, 0.18); }

.cro-head { max-width: 800px; margin-bottom: 32px; }
.cro-head h2, .cro-split h2 { font-size: clamp(27px, 3.4vw, 42px); line-height: 1.08; letter-spacing: -0.03em; color: var(--gold); font-weight: 700; margin: 0 0 14px; }
.cro-head p { color: var(--lead); font-size: 17px; line-height: 1.55; margin: 0; max-width: 64ch; }
.cro-p { color: var(--text); font-size: 16.5px; line-height: 1.6; margin: 0 0 16px; }
.cro-fine { margin: 18px 0 0; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.cro-k { margin: 0 0 12px; font-size: 12.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

.cro-versus { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 16px; }
.cro-versus > div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel); padding: 24px 26px; }
.cro-versus > div.on { border-color: rgba(255, 215, 0, 0.55); }
.cro-versus > div.on .cro-k { color: var(--gold); }
.cro-versus ul { margin: 0; padding-left: 18px; }
.cro-versus li { color: var(--lead); font-size: 16px; line-height: 1.5; margin: 6px 0; }
.cro-versus .on li { color: var(--heading); font-weight: 500; }
.cro-versus .on .cro-fine { margin-top: 14px; }

.cro-split { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 52px; align-items: center; }
.cro-split.flip > :first-child { order: 2; }
.cro-ticks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; }
.cro-ticks.one { grid-template-columns: 1fr; }
.cro-ticks li { margin: 0; position: relative; padding-left: 22px; color: var(--heading); font-size: 15.5px; line-height: 1.45; }
.cro-ticks li::before { content: ""; position: absolute; left: 0; top: 7px; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); }
.cro-trio { margin-top: 40px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cro-trio > div { border-top: 2px solid var(--gold); padding-top: 16px; }
.cro-trio h3, .cro-diffs h3 { font-size: 18px; color: var(--heading); margin: 0 0 6px; letter-spacing: -0.015em; }
.cro-trio p, .cro-diffs p { margin: 0; color: var(--text); font-size: 15px; line-height: 1.55; }

.cro-action-sec { margin-top: 88px; padding: 80px 0; background: var(--surface-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cro-flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; counter-reset: cf; }
.cro-flow li { margin: 0; position: relative; counter-increment: cf; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel); padding: 22px 20px; }
.cro-flow li:first-child { border-color: rgba(255, 215, 0, 0.55); }
.cro-flow li::before { content: counter(cf); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--gold); color: var(--on-gold); font-weight: 700; font-size: 14px; margin-bottom: 14px; }
.cro-flow li + li::after { content: "\2192"; position: absolute; left: -13px; top: 26px; color: var(--gold); font-weight: 700; }
.cro-who { display: block; font-size: 12.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 6px; }
.cro-flow h3 { font-size: 18px; line-height: 1.25; color: var(--heading); margin: 0 0 8px; letter-spacing: -0.015em; }
.cro-flow p { margin: 0; color: var(--text); font-size: 14.5px; line-height: 1.55; }

.cro-rules { margin: 0; display: grid; gap: 12px; }
.cro-rules > div { background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: var(--r-inner); padding: 16px 18px; }
.cro-rules dt { color: var(--heading); font-weight: 600; font-size: 16px; margin: 0 0 4px; }
.cro-rules dd { margin: 0; color: var(--text); font-size: 15px; line-height: 1.55; }

.cro-diffs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 32px; }
.cro-diffs > div { border-top: 1px solid var(--line-2); padding-top: 16px; }

.cro-tiers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cro-tiers li { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel); padding: 22px; }
.cro-tiers li:first-child { border-color: rgba(255, 215, 0, 0.55); }
.cro-tiers h3 { font-size: 19px; color: var(--heading); margin: 14px 0 8px; letter-spacing: -0.015em; }
.cro-tiers p { margin: 0; color: var(--text); font-size: 15px; line-height: 1.55; }
.cro-price { margin-top: 20px; display: flex; justify-content: space-between; align-items: center; gap: 16px 32px; flex-wrap: wrap; padding: 20px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel); }
.cro-price p { margin: 0; color: var(--text); font-size: 15px; line-height: 1.6; max-width: 70ch; }
.cro-price strong { color: var(--heading); }

@media (max-width: 1100px) {
  .cro-flow { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cro-flow li:nth-child(4)::after { display: none; }
}
@media (max-width: 900px) {
  .cro-split, .cro-split.flip, .cro-versus { grid-template-columns: 1fr; gap: 28px; }
  .cro-split.flip > :first-child { order: 0; }
  .cro-versus { gap: 16px; }
  .cro-trio, .cro-tiers { grid-template-columns: 1fr; }
  .cro-diffs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cro-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cro-flow li:nth-child(3)::after, .cro-flow li:nth-child(5)::after { display: none; }
  .cro-flow li:nth-child(4)::after { display: block; }
}
@media (max-width: 640px) {
  .cro-hero { padding-top: 32px; gap: 32px; }
  .cro-hero-copy { text-align: left; }
  .cro-hero-copy .row { justify-content: flex-start; }
  .cro-hero h1 { font-size: clamp(30px, 8.8vw, 40px); }
  .cro-hero h1 span { display: inline; }
  .cro-ctas .btn { flex: 1 1 100%; }
  .cro-ticks, .cro-diffs, .cro-flow { grid-template-columns: 1fr; }
  .cro-flow { gap: 22px; }
  .cro-flow li + li::after { content: "\2193"; left: 24px; top: -21px; display: block !important; }
  .cro-action-sec { margin-top: 56px; padding: 56px 0; }
  .cro-versus > div, .cro-price { padding: 20px; }
  .cro-price .row, .cro-price .row .btn { width: 100%; }
  .cro-price .row .btn { flex: 1 1 100%; }
}

/* ------------------------------------------------------------------ Coach set-up (/onboarding)
   Round 53: three short questions; the starting point is one large, tappable answer per line. */
.ob { max-width: 760px; }
.ob-step h2 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 20px; margin: 0 0 10px; }
.ob-step h2 small { font-size: 13px; font-weight: 500; }
.ob-n { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--primary); color: var(--on-primary); font-size: 14px; font-weight: 700; flex: none; }
.ob-step > p.muted { margin: 0 0 14px; }
.ob-choices { border: 0; margin: 0; padding: 0; min-width: 0; }
.ob-choices ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ob-choices li { margin: 0; position: relative; }
.ob-choices li[hidden] { display: none; }
.ob-choices input[type=radio] { position: absolute; left: 16px; top: 18px; width: 20px; height: 20px; margin: 0; accent-color: var(--primary); }
.ob-choices label { display: grid; gap: 2px; padding: 14px 16px 14px 48px; border: 1px solid var(--line-2); border-radius: var(--r-inner); background: var(--surface); cursor: pointer; min-height: 52px; }
.ob-choices label strong { color: var(--heading); font-size: 15.5px; font-weight: 600; line-height: 1.35; }
.ob-choices label span { color: var(--muted); font-size: 14px; line-height: 1.45; }
.ob-choices input:checked + label { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary); background: var(--surface-2); }
.ob-choices input:focus-visible + label { outline: 2px solid var(--focus); outline-offset: 2px; box-shadow: 0 0 0 5px var(--focus-ring); }
.start-point p { margin: 0 0 10px; }
@media (max-width: 640px) { .ob .row .btn { flex: 1 1 100%; } .ob-choices label { padding: 13px 14px 13px 46px; } }

/* ------------------------------------------------------------------ call review: three outcomes (Round 54)
   Presentation only. Shown, Partway and Not shown each have their own section; the first finding in each is open and
   the rest sit behind "Show N more". A Partway card has its own amber edge so it reads as progress, not a pass. */
.rv-brief h2 { margin: 0 0 12px; }
.rv-brief-list { list-style: none; margin: 0 0 4px; padding: 0; display: grid; gap: 10px; }
.rv-brief-list li { margin: 0; display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 12px; align-items: baseline; }
.rv-k { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.rv-k.good { color: var(--good); }
.rv-k.part { color: var(--warn); }
.rv-k.next { color: var(--heading); }
/* v2: the review in five parts; Human Edge is set apart and never scored. */
.rv-five .rv-part { padding: 12px 0; border-top: 1px solid var(--line, rgba(0,0,0,0.08)); }
.rv-five .rv-part:first-of-type { border-top: 0; padding-top: 0; }
.rv-five .rv-part h3 { margin: 0 0 8px; }
.rv-five .rv-brief-list li { display: block; }
.rv-k.edge { color: var(--accent-text); }
.rv-k small { text-transform: none; letter-spacing: 0; font-weight: 400; margin-left: 6px; }
.also-worth .aw-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.rv-findings .rv-group h2 { display: flex; align-items: baseline; gap: 8px; margin-bottom: 10px; }
.rv-findings .rv-group h2 small { font-size: 14px; font-weight: 500; }
.rv-group > p.muted { margin: -4px 0 12px; max-width: 72ch; }
.rv-card.shown { border-left: 3px solid var(--good); }
.rv-card.partly { border-left: 3px solid var(--warn); }
.rv-card.missed { border-left: 3px solid var(--line-2); }
.rv-card p { margin: 8px 0; }
.rv-try-label { margin-bottom: 4px; }
.rv-more { margin-top: 10px; border: 0; background: none; padding: 0; }
.rv-more > summary { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px; border: 1px solid var(--line-2); border-radius: var(--r-btn); background: var(--surface); font-weight: 600; font-size: 14.5px; cursor: pointer; list-style: none; }
.rv-more > summary::-webkit-details-marker { display: none; }
.rv-more[open] > summary { margin-bottom: 10px; }
.rv-context { margin: 6px 0 10px; }
.rv-context > summary { cursor: pointer; font-size: 14px; font-weight: 600; }
.rv-turns { margin-top: 8px; border-left: 3px solid var(--line-2); padding-left: 10px; }
.rv-turns .rv-flagged { font-weight: 600; background: var(--surface); }
.score-meaning { font-size: 14px; margin: 6px 0 0; max-width: 70ch; }
@media (max-width: 640px) {
  .rv-brief-list li { grid-template-columns: 1fr; gap: 2px; }
  .rv-more > summary { width: 100%; justify-content: center; }
}

/* ------------------------------------------------------------------ Practice: Buyer difficulty (Round 55)
   A compact segmented choice above the practice starts; the description under it says what the level changes. */
.pd { margin: 0 0 16px; padding: 16px 18px; border: 1px solid var(--line); }
.pd-legend { float: left; width: 100%; padding: 0; margin: 0 0 10px; font-weight: 700; color: var(--heading); font-size: 16px; }
.pd-opts { clear: both; display: flex; flex-wrap: wrap; gap: 8px; }
.pd-opt { position: relative; display: inline-flex; margin: 0; }
.pd-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pd-opt span { display: inline-flex; align-items: center; gap: 4px; min-height: 40px; padding: 8px 16px; border: 1px solid var(--line-2); border-radius: var(--r-btn); background: var(--surface); color: var(--heading); font-weight: 600; font-size: 14.5px; cursor: pointer; }
.pd-opt span small { font-weight: 500; color: var(--muted); }
.pd-opt input:checked + span { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.pd-opt input:checked + span small { color: inherit; }
.pd-opt input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; box-shadow: 0 0 0 5px var(--focus-ring); }
.pd-opt input:disabled + span { opacity: 0.55; cursor: not-allowed; }
.pd-desc { margin: 10px 0 4px; color: var(--text); }
.pd-note { margin: 0; }
@media (max-width: 640px) { .pd-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); } .pd-opt span { width: 100%; justify-content: center; } }

/* ------------------------------------------------------------------ Who needs me: early value (Round 57)
   On a seller without enough reviewed calls yet: their latest practice, assigned practice and latest reviewed call. */
.wn-early { margin: 8px 0 10px; padding-left: 18px; }
.wn-early li { margin: 3px 0; overflow-wrap: anywhere; }

/* ------------------------------------------------------------------ Call review: provisional coaching (Round 57)
   Seen by one review pass, not confirmed by the other: visibly different from confirmed findings, never just by colour. */
.rv-prov > .muted { max-width: 70ch; }
.rv-prov-h3 { margin: 18px 0 8px; font-size: 16px; }
.rv-card.rv-prov-card { border-style: dashed; border-left-style: dashed; }
.rv-prov-verdict { margin: 0 0 8px; color: var(--muted); }
.rv-trouble p { max-width: 70ch; }
/* The site-wide .missed (the homepage sample transcript's wavy underline) must not style call-review cards. */
.rv-card.missed { text-decoration: none; }

/* ---------------------------------------------------------------- Rep redesign, Milestone 3: Progress and Skills */
/* Existing tokens and the existing stage colours (.gm) only. Real calls (proof) are the dark card; practice and
   learning (readiness) the light one, so the two are never confused. */

/* The one ⓘ pattern: a native disclosure (keyboard, touch, screen readers). */
details.ii { display: inline; position: relative; margin: 0; padding: 0; border: 0; background: none; box-shadow: none; vertical-align: baseline; }
details.ii > summary { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid currentColor; color: var(--muted); font: 600 12px/1 var(--font); cursor: pointer; list-style: none; vertical-align: text-bottom; opacity: 0.85; }
details.ii > summary::-webkit-details-marker { display: none; }
details.ii > summary::marker { content: ""; }
details.ii > summary:hover, details.ii[open] > summary { color: var(--text); opacity: 1; }
details.ii > summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
details.ii[open] > .ii-body { display: block; margin: 8px 0 4px; padding: 10px 12px; border-radius: var(--r-inner); background: var(--surface-2); border: 1px solid var(--line); color: var(--text); font-size: 14px; line-height: 1.55; font-weight: 400; }
.ii-list { margin: 0; padding-left: 18px; display: grid; gap: 6px; }

/* Stage meter: two effort cells, a gap, three real-call cells. */
.stage-meter { display: inline-flex; gap: 3px; align-items: center; }
.stage-meter i { display: block; width: 14px; height: 8px; border-radius: 3px; background: var(--track); border: 0; }
.stage-meter i.split { margin-right: 5px; }

/* All skills as one strip of cells, sorted by stage. */
.stage-strip { margin: 12px 0 4px; }
.ss-cells { display: flex; flex-wrap: wrap; gap: 4px; }
.ss-cells .gm { width: 22px; height: 22px; border-radius: 6px; }
.ss-legend { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13.5px; color: var(--lead); }
.ss-legend li { display: inline-flex; align-items: center; gap: 6px; }
.ss-legend li.zero { color: var(--muted-2); }
.ss-legend .gm { width: 12px; height: 12px; border-radius: 3px; }

/* The two tracks. */
.tracks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-bottom: 20px; align-items: start; }
.track-card { border-radius: var(--r-panel); padding: 22px 24px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.track-card h2 { margin: 0; font-size: 21px; }
.track-card.practice { background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.track-card.calls { background: var(--obsidian); color: var(--bone); }
.track-card.calls h2, .track-card.calls strong { color: var(--bone); }
.track-card.calls .muted, .track-card.calls small { color: var(--obs-soft); }
.tc-eyebrow { margin: 0; font-size: 12.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-deep); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.tc-eyebrow span { text-transform: none; letter-spacing: 0; font-weight: 500; padding: 2px 8px; border-radius: 999px; background: var(--surface-2); color: var(--lead); }
.track-card.calls .tc-eyebrow { color: var(--gold); }
.track-card.calls .tc-eyebrow span { background: var(--graphite); color: var(--bone); }
.tc-top { display: flex; gap: 16px; align-items: center; }
.tc-empty-ring { width: 92px; height: 92px; flex: none; border-radius: 50%; border: 8px solid var(--track); display: grid; place-items: center; color: var(--muted); font-size: 22px; }
.tc-k { margin: 0; font-size: 13px; color: var(--muted); }
.track-card.calls .tc-k { color: var(--obs-muted); }
.tc-v { margin: 2px 0 0; }
.tc-v strong { font-family: var(--display); font-size: 30px; line-height: 1.1; }
.tc-best { margin: 6px 0 0; font-size: 14px; }
.tc-note { margin: 0; font-size: 14px; }
.dl-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.dl-rows li { display: grid; grid-template-columns: 78px minmax(0, 1fr) auto; gap: 10px; align-items: center; font-size: 13.5px; }
.dl-k { color: var(--lead); }
.dl-bar { width: 100%; height: 8px; display: block; }
.dl-bar .t { fill: var(--track); }
.dl-bar .a { fill: var(--line-2); }
.dl-bar .p { fill: var(--gold-deep); }
.dl-v { white-space: nowrap; }
.tc-stats { list-style: none; margin: 0; padding: 12px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(auto-fit, minmax(92px, 1fr)); gap: 10px 14px; }
.track-card.calls .tc-stats { border-top-color: var(--obs-line); }
.tc-stats li { display: grid; gap: 2px; }
.tc-stats strong { font-family: var(--display); font-size: 22px; line-height: 1.1; }
.tc-stats span { font-size: 12.5px; color: var(--muted); line-height: 1.35; }
.track-card.calls .tc-stats span { color: var(--obs-soft); }
.tc-foot { margin: auto 0 0; font-size: 13px; display: flex; gap: 12px; justify-content: space-between; align-items: baseline; flex-wrap: wrap; }
.tc-level { display: flex; gap: 14px; align-items: center; color: inherit; text-decoration: none; }
.tc-level > span:last-child { display: grid; gap: 2px; }
.tc-level strong { font-size: 18px; }
.tc-level:hover strong { text-decoration: underline; text-decoration-color: var(--gold); }
.track-card svg.lv-bar { margin: -4px 0 0; }
.track-card.calls svg.lv-bar .t { fill: var(--obs-line); }
.track-card.calls svg.lv-bar .v { fill: var(--gold); }
.tc-score { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
svg.spark { width: 132px; height: 36px; flex: none; }
svg.spark polyline { fill: none; stroke: var(--gold); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
svg.spark circle { fill: var(--gold); }
.tc-wait { padding: 14px 16px; border-radius: var(--r-inner); border: 1px dashed var(--obs-line-2); }
.tc-wait p { margin: 0 0 10px; color: var(--obs-soft); font-size: 14.5px; line-height: 1.55; }
.tc-wait p:last-child { margin: 0; }
.tc-wait .btn.ghost { color: var(--bone); border-color: var(--obs-line-2); background: transparent; }
.track-card.calls a:not(.btn):not(.tc-level) { color: var(--bone); }
.skills-glance .sg-sub { margin: 4px 0 0; }
.skills-glance { margin-bottom: 20px; }
.tracks + .pb-explain { margin: -8px 0 20px; }
.tc-deals { display: grid; gap: 2px; padding: 12px 0 0; border-top: 1px solid var(--obs-line); color: inherit; text-decoration: none; }
.tc-deals > span { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.tc-deals strong { font-family: var(--display); font-size: 22px; }
.tc-deals em { font-style: normal; font-size: 13px; color: var(--obs-soft); }

/* The Skills page: the competency map. */
.skills-head .sh-top { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; flex-wrap: wrap; }
.skills-head h2 { margin: 0 0 4px; }
.skills-head p { margin: 0; }
.sh-level { display: flex; gap: 10px; align-items: center; color: inherit; text-decoration: none; }
.sh-level .lv-badge { width: 40px; height: 40px; font-size: 19px; border-radius: 11px; }
.sh-level > span:last-child { display: grid; }
.cmap { display: grid; gap: 18px; margin-top: 18px; }
.cmap-fam { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel); padding: 18px 20px 10px; }
.cf-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 6px; }
.cf-head h2 { margin: 0; font-size: 18px; }
.cf-head p { margin: 0; }
.sk-list { list-style: none; margin: 0; padding: 0; }
.sk-list > li { border-top: 1px solid var(--line); margin: 0; }
.sk-list > li:first-child { border-top: 0; }
details.sk-row { margin: 0; padding: 0; border: 0; background: none; box-shadow: none; border-radius: 0; }
details.sk-row > summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 4px; cursor: pointer; list-style: none; }
details.sk-row > summary::-webkit-details-marker { display: none; }
details.sk-row > summary::marker { content: ""; }
details.sk-row > summary::before { content: "▸"; color: var(--muted); font-size: 12px; flex: none; transition: transform 0.15s; }
details.sk-row[open] > summary::before { transform: rotate(90deg); }
details.sk-row > summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 8px; }
details.sk-row > summary:hover .sk-name { text-decoration: underline; text-decoration-color: var(--gold); }
.sk-name { flex: 1 1 auto; font-weight: 500; min-width: 0; }
.sk-tag { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--accent-text); color: var(--bone); vertical-align: 1px; }
.sk-tag.warn { background: var(--warn-bg); color: var(--warn); }
.sk-right { display: flex; align-items: center; gap: 12px; flex: none; }
.sk-best { font-size: 12.5px; color: var(--muted); }
.sk-stage { width: 104px; font-size: 13px; color: var(--lead); }
.sk-body { padding: 2px 4px 16px 22px; display: grid; gap: 8px; }
.sk-body p { margin: 0; }
.sk-plain { font-size: 16px; color: var(--text); }
.sk-where, .sk-ev { font-size: 14.5px; line-height: 1.55; }
.ev-stage { margin: 0 0 1em; line-height: 1.55; }
.sk-next { font-size: 14px; }
.sk-body .row { margin-top: 4px; }
.sk-desc { margin-top: 6px; }

@media (max-width: 900px) {
  .tracks { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .track-card { padding: 18px; }
  .cmap-fam { padding: 14px 14px 6px; }
  details.sk-row > summary { flex-wrap: wrap; row-gap: 6px; }
  .sk-name { flex-basis: calc(100% - 24px); }
  .sk-right { margin-left: 22px; gap: 10px; flex-wrap: wrap; }
  .sk-stage { width: auto; }
  .sk-body { padding-left: 4px; }
  .ss-cells .gm { width: 18px; height: 18px; border-radius: 5px; }
}

/* What's Next › Your development: compact, quiet, above the one dominant recommendation. Existing tokens only. */
.dev-sum { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel); padding: 14px 18px 16px; }
.ds-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 10px; }
.ds-head h2 { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-deep); font-family: var(--font); }
.ds-head a { font-size: 14px; }
.ds-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.ds-cell { padding: 0 16px; border-left: 1px solid var(--line); min-width: 0; }
.ds-cell:first-child { padding-left: 0; border-left: 0; }
.ds-cell p { margin: 0; }
.ds-cell .ds-k { font-size: 12.5px; color: var(--muted); margin-bottom: 4px; }
.ds-v { display: flex; align-items: baseline; gap: 2px; }
.ds-v strong { font-family: var(--display); font-size: 26px; line-height: 1.1; }
.ds-v span { color: var(--muted); font-size: 13px; }
.ds-cell .ds-s { font-size: 12.5px; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.ds-next { font-size: 14px; font-weight: 500; line-height: 1.35; }
.ds-pair { display: grid; font-size: 14px; line-height: 1.3; }
.ds-cell .ds-pair + .ds-pair { margin-top: 6px; }
.ds-pair small { font-size: 12px; color: var(--muted); }
.ds-pair.calls small { color: var(--gold-deep); }
.ds-level { display: flex; align-items: center; gap: 8px; font-size: 14px; line-height: 1.3; }
.ds-level .lv-badge { width: 30px; height: 30px; font-size: 15px; border-radius: 8px; }
.ds-skills { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ds-skills li { display: grid; font-size: 14px; line-height: 1.3; }
.ds-skills small { font-size: 12px; color: var(--muted); }
@media (max-width: 900px) {
  .ds-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 14px; }
  .ds-cell:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 640px) {
  .dev-sum .ds-s, .ds-pair small { display: none; }
  .ds-head { margin-bottom: 8px; }
  .ds-grid { row-gap: 10px; }
  .ds-v strong { font-size: 22px; }
}
@media (max-width: 420px) {
  .dev-sum { padding: 12px 14px 14px; }
  .ds-cell { padding: 0 10px; }
}
.ds-cell .ds-link { font-size: 14px; margin-top: 2px; }

/* ---------------------------------------------------------------- Rep redesign, Milestone 4: Learn and Playbook */
/* Existing tokens only. Lists are one line per item (title, its own plain sentence, status); topics and categories are
   disclosures; one dark lead panel on the Learn home (the same panel as What's Next). */
.ln-search { display: flex; gap: 8px; margin: 0 0 18px; }
.ln-search input { flex: 1 1 auto; min-width: 0; min-height: 48px; font-size: 16px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); }
.ln-search input:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }
.ln-search .btn { min-height: 48px; padding: 0 22px; }
.ln-search.small input, .ln-search.small .btn { min-height: 42px; font-size: 15px; }
.ln-search.small { margin: 12px 0 14px; }
.ln-sub { margin: 0 0 16px; font-size: 15px; line-height: 1.55; max-width: 78ch; }
.ln-sub details.ii { margin-left: 2px; }
.ln-count { margin: 4px 0 10px; font-size: 14px; }

/* What Learn, Playbook and Practice are each for. */
.ln-modes { list-style: none; margin: 18px 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ln-modes a { display: grid; gap: 3px; height: 100%; padding: 14px 16px; border-radius: var(--r-panel); border: 1px solid var(--line); background: var(--surface); color: var(--text); text-decoration: none; }
.ln-modes a:hover { border-color: var(--line-hover); }
.ln-modes .here a { border-color: var(--gold-deep); box-shadow: inset 3px 0 0 var(--gold); }
.md-name { font-family: var(--display); font-weight: 600; font-size: 17px; }
.md-what { font-size: 14px; color: var(--lead); line-height: 1.45; }
.ln-modes small { font-size: 12.5px; color: var(--muted); }

/* The two sections of the Learn home. */
.ln-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; }
.ln-sec { margin: 0; }
.ln-sec-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.ln-sec-h h2 { margin: 0 0 6px; font-size: 20px; }
.ln-sec .ln-sub { font-size: 14px; margin-bottom: 12px; }
.ln-h3 { margin: 22px 0 6px; font-size: 14px; font-weight: 600; color: var(--muted); letter-spacing: 0.04em; text-transform: uppercase; }
.ln-foot { margin: 14px 0 0; color: var(--muted); }
.ln-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ln-chips a { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); color: var(--text); text-decoration: none; font-size: 14px; }
.ln-chips a:hover { border-color: var(--gold-deep); }
.ln-chips small { color: var(--muted); font-size: 12.5px; }

/* One line per lesson or situation. */
.ln-list { list-style: none; margin: 0; padding: 0; }
.ln-list.card { padding: 4px 18px; }
.ln-list > li { margin: 0; border-top: 1px solid var(--line); }
.ln-list > li:first-child { border-top: 0; }
.ln-row { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 12px 2px; color: var(--text); text-decoration: none; }
.ln-row:hover strong { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.ln-row:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 8px; }
.ln-main { display: grid; gap: 2px; min-width: 0; }
.ln-main strong { font-weight: 600; font-size: 15.5px; }
.ln-plain { font-size: 14px; color: var(--lead); line-height: 1.45; }
.ln-why { font-size: 12.5px; color: var(--gold-deep); font-weight: 500; }
.ln-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex: none; text-align: right; }
.ln-meta small { font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.ln-st { font-size: 12px; font-weight: 600; padding: 2px 9px; border-radius: 999px; white-space: nowrap; }
.ln-st.done { background: var(--good-bg); color: var(--good); }
.ln-st.doing { background: var(--info-bg); color: var(--info); }
.ln-saved { color: var(--gold-deep); }

/* Topics and categories as disclosures. */
.ln-block { margin: 0 0 22px; }
.ln-block h2 { margin: 0 0 10px; font-size: 20px; }
.ln-topics { display: grid; gap: 10px; }
details.ln-topic { margin: 0; padding: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel); box-shadow: none; }
details.ln-topic > summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; cursor: pointer; list-style: none; }
details.ln-topic > summary::-webkit-details-marker { display: none; }
details.ln-topic > summary::marker { content: ""; }
details.ln-topic > summary::before { content: "▸"; color: var(--muted); font-size: 12px; margin-right: -2px; transition: transform 0.15s; }
details.ln-topic[open] > summary::before { transform: rotate(90deg); }
details.ln-topic > summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.ln-t { flex: 1 1 auto; font-weight: 600; font-size: 16px; }
.ln-c { font-size: 13px; color: var(--muted); white-space: nowrap; }
.ln-c strong { color: var(--good); font-weight: 600; }
details.ln-topic > .ln-list { padding: 0 18px 6px; border-top: 1px solid var(--line); }
.ln-history { margin-top: 8px; }
.ln-filters { margin: 0 0 6px; }
.ln-filter-chips { margin: 0 0 6px; }

/* Detail pages: the way back and what the lesson is for. */
.ln-back { margin: 0 0 12px; font-size: 14px; }
.ln-back a { color: var(--lead); text-decoration: none; }
.ln-back a:hover { color: var(--text); text-decoration: underline; text-decoration-color: var(--gold); }
.ln-objective { padding: 18px 22px; border-radius: var(--r-panel); background: var(--obsidian); color: var(--bone); max-width: 860px; }
.ln-objective .eyebrow { color: var(--gold); margin: 0 0 6px; }
.ln-obj { font-family: var(--display); font-size: 21px; line-height: 1.35; margin: 0 0 8px; color: var(--bone); }
.ln-obj-meta { color: var(--obs-soft); }
.ln-obj-meta small { color: var(--obs-soft); }
.ln-obj-meta a { color: var(--bone); }
.ln-objective details.ii > summary { color: var(--obs-soft); }
.session { max-width: 860px; }
.session .step p, .session .step li { line-height: 1.65; }
.session .step > p { max-width: 72ch; }

@media (max-width: 900px) {
  .ln-cols { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .ln-modes { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .ln-modes a { grid-template-columns: auto minmax(0, 1fr); column-gap: 10px; padding: 10px 14px; }
  .ln-modes .md-name { grid-row: span 2; align-self: center; min-width: 82px; font-size: 16px; }
  .ln-modes .md-what { font-size: 13.5px; }
  .ln-modes small { display: none; }
  .ln-chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .ln-chips a { display: flex; justify-content: space-between; min-height: 40px; padding: 6px 12px; border-radius: 12px; font-size: 13.5px; line-height: 1.25; height: 100%; }
  .ln-sec-h { flex-wrap: wrap; }
  .ln-list.card { padding: 2px 14px; }
  details.ln-topic > summary { padding: 13px 14px; }
  details.ln-topic > .ln-list { padding: 0 14px 4px; }
  .ln-row { align-items: flex-start; }
  .ln-search .btn { padding: 0 16px; }
  .ln-objective { padding: 16px; }
  .ln-obj { font-size: 18px; }
}

/* ---------------------------------------------------------------- Rep redesign, Milestone 5: Calls & Deals */
/* Existing tokens only. States say where they come from: confirmed (evidence), partly, came up and not explored,
   not covered yet (neutral). Drafts and preparation are clearly suggestions. */
.dq-st { display: inline-block; font-size: 12px; font-weight: 600; padding: 2px 9px; border-radius: 999px; white-space: nowrap; background: var(--surface-2); color: var(--lead); border: 1px solid var(--line); }
.dq-st.q-known { background: var(--good-bg); color: var(--good); border-color: transparent; }
.dq-st.q-partly { background: var(--warn-bg); color: var(--warn); border-color: transparent; }
.dq-st.q-missed { background: var(--bad-bg); color: var(--bad); border-color: transparent; }
.dl-sub { margin: 0 0 12px; font-size: 14px; }

/* What's Next and the deals list: one line per deal. */
.dl-attn { margin: 0; }
.dl-list { list-style: none; margin: 0; padding: 0; }
.dl-list.card { padding: 4px 18px; }
.dl-list > li { margin: 0; border-top: 1px solid var(--line); }
.dl-list > li:first-child { border-top: 0; }
.dl-row { display: flex; align-items: center; gap: 14px; padding: 12px 2px; color: var(--text); text-decoration: none; }
.dl-row:hover strong { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.dl-row:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 8px; }
.dl-main { display: grid; gap: 3px; flex: 1 1 auto; min-width: 0; }
.dl-main strong { font-size: 15.5px; font-weight: 600; }
.dl-main small { font-size: 13px; color: var(--muted); }
.dl-qs { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 3px; }
.dl-q { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--lead); }
.dl-go { color: var(--muted); flex: none; }

/* The deal page. */
.dl-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel); padding: 14px 6px; margin: 0 0 18px; }
.dl-facts > div { display: grid; gap: 2px; padding: 0 14px; border-left: 1px solid var(--line); min-width: 0; }
.dl-facts > div:first-child { border-left: 0; }
.dl-facts small { font-size: 12.5px; color: var(--muted); }
.dl-facts strong { font-size: 16px; }
.dl-facts span { font-size: 12.5px; color: var(--muted); }
.dl-two { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 18px; align-items: start; margin-bottom: 18px; }
.dl-col > h2 { margin: 0 0 6px; font-size: 20px; display: flex; align-items: center; gap: 8px; }
.dl-empty { margin: 0; padding: 14px 16px; border: 1px dashed var(--line-2); border-radius: var(--r-inner); font-size: 14.5px; }
.dq { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel); padding: 14px 16px; margin: 0 0 10px; box-shadow: inset 3px 0 0 var(--line-2); }
.dq.q-known { box-shadow: inset 3px 0 0 var(--good); }
.dq.q-missed { box-shadow: inset 3px 0 0 var(--bad); }
.dq.q-partly { box-shadow: inset 3px 0 0 var(--warn); }
.dq-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.dq-h h3 { margin: 0; font-size: 16px; }
.dq p { margin: 6px 0 0; font-size: 14.5px; line-height: 1.55; }
.dq-why { color: var(--lead); }
.dq .quote { margin: 8px 0 0; }
.dq .row { margin-top: 8px; }
.dl-follow { margin-top: 18px; }
.dl-follow h2 { margin: 0 0 4px; }
.dl-draft-form { display: flex; flex-wrap: wrap; gap: 6px 28px; align-items: flex-end; }
.dl-draft-form fieldset { margin: 0; }
.dl-draft-form .btn { margin-bottom: 4px; }
.dl-drafts { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 14px; }
.dl-drafts h3 { margin: 0 0 4px; }
.dl-draft { margin: 12px 0 0; padding: 14px 16px; border-radius: var(--r-inner); background: var(--surface-2); border: 1px solid var(--line); display: grid; gap: 6px; }
.dl-draft label { font-size: 13px; font-weight: 600; color: var(--muted); }
.dl-draft input, .dl-draft textarea { width: 100%; font: inherit; font-size: 15px; line-height: 1.55; }
.dl-addr { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.dl-tag { padding: 2px 9px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-2); color: var(--lead); font-size: 12.5px; }
.dl-calls { list-style: none; margin: 0; padding: 0; }
.dl-calls li { display: flex; align-items: center; gap: 14px; padding: 10px 0; border-top: 1px solid var(--line); }
.dl-calls li:first-child { border-top: 0; }
.dl-date { width: 92px; flex: none; font-size: 13px; color: var(--muted); }
.dl-ct { flex: 1 1 auto; min-width: 0; }

@media (max-width: 900px) {
  .dl-two { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .dl-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 12px; }
  .dl-facts > div:nth-child(3) { border-left: 0; }
  .dl-list.card { padding: 2px 14px; }
  .dl-calls li { flex-wrap: wrap; gap: 4px 12px; }
  .dl-date { width: auto; }
}

/* Rep-reported deal facts: always visibly "reported, unverified" (dashed), never styled like confirmed evidence. */
.dq-st.q-reported { background: var(--info-bg); color: var(--info); border: 1px dashed var(--info); }
.dq.q-reported { border-style: dashed; box-shadow: inset 3px 0 0 var(--info); }
.dl-rep-h { margin: 18px 0 8px; font-size: 17px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.dq-prov { display: grid; gap: 4px; margin: 8px 0 0; font-size: 14px; }
.dq-prov > div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 8px; }
.dq-prov dt { color: var(--muted); font-weight: 500; }
.dq-prov dd { margin: 0; overflow-wrap: anywhere; }
.dq-hist { margin-top: 8px; font-size: 13.5px; }
.dq-hist ol { margin: 6px 0 0; padding-left: 18px; }
details.dq-claim { margin: 8px 0 0; padding: 0; border: 0; background: none; box-shadow: none; }
details.dq-claim > summary { cursor: pointer; font-size: 14px; font-weight: 500; color: var(--lead); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.dq-claim-form { display: grid; gap: 6px; margin-top: 10px; padding: 12px 14px; border-radius: var(--r-inner); background: var(--surface-2); border: 1px solid var(--line); max-width: 560px; }
.dq-claim-form label { font-size: 13px; font-weight: 600; }
.dq-claim-form .help { margin: 2px 0 4px; }
.dq-claim-form .btn { justify-self: start; }
.dr-reported { margin: 6px 0 0; color: var(--info); }
@media (max-width: 640px) {
  .dq-prov > div { grid-template-columns: minmax(0, 1fr); gap: 0; }
}

/* Round 59: deal identity. The link-or-separate question, and fixing which calls belong to a deal. */
.deal-choice { padding: 14px 16px; border-radius: var(--r-inner); border: 1px solid var(--gold-deep); background: var(--surface-2); }
.deal-choice h3 { margin: 0 0 4px; font-size: 16px; }
.deal-choice ul { margin: 10px 0 0; display: grid; gap: 8px; }
.deal-choice .row { align-items: center; gap: 10px; flex-wrap: wrap; }
.deal-choice label { font-size: 14px; }
.dl-fix > summary { cursor: pointer; }
.dl-fix-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 12px; }
.dl-fix-list > li { padding-top: 12px; border-top: 1px solid var(--line); }
.dl-fix-list > li:first-child { border-top: 0; padding-top: 0; }
.dl-fix-call { margin: 0 0 6px; }
.dl-fix .row { gap: 8px; flex-wrap: wrap; align-items: center; }
.dl-fix select, .dl-fix input[type="text"] { min-width: 0; max-width: 100%; }
.dl-hist { margin: 6px 0 0; padding-left: 18px; font-size: 13.5px; display: grid; gap: 4px; }

/* Round 59: a reported fact waiting for its author after the deal's calls changed. Not counted; clearly not evidence. */
.dq-st.q-flagged { background: var(--warn-bg); color: var(--warn); border: 1px dashed var(--warn); }
.dq.q-flagged { border-style: dashed; box-shadow: inset 3px 0 0 var(--warn); }

/* Analytics consent (public marketing pages only, web/analytics.ts): an opt-in bar, and a footer control to change it. */
.consent-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: #08090C; color: var(--bone); border-top: 1px solid var(--obs-line); padding: 14px 0; font-size: 14px; }
.consent-bar[hidden] { display: none; }
.consent-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; }
.consent-inner p { margin: 0; max-width: 70ch; color: var(--obs-muted); }
.consent-inner a { color: var(--gold); }
.consent-actions { display: flex; gap: 10px; }
.consent-bar .btn.ghost { color: var(--bone); border-color: var(--obs-line-2); }
.consent-bar .btn.ghost:hover { border-color: var(--bone); }
.consent-bar :focus-visible { outline-color: var(--gold); }
.foot .foot-link { display: block; padding: 3px 0; background: none; border: 0; color: var(--obs-muted); font: inherit; cursor: pointer; text-align: left; }
.foot .foot-link:hover { color: var(--gold); }
.foot .foot-link[hidden] { display: none; }

/* The Human Edge across a person's calls (Progress → Skills; a manager's view of one person). Recognition, visually apart from the scored skills: no meters, numbers or colours of rank. */
.he-section { border-left: 3px solid var(--accent-text); }
.he-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.he-tag { font-size: 12px; color: var(--accent-text); border: 1px solid var(--line-2); border-radius: 999px; padding: 2px 10px; }
.he-list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 14px; }
.he-item { background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.he-item h3 { margin: 0 0 4px; font-size: 17px; }
.he-meaning { margin: 0 0 10px; color: var(--muted); }
.he-parts { margin: 0; display: grid; gap: 8px; }
.he-parts dt { font-size: 12px; font-weight: 600; letter-spacing: 0.02em; color: var(--muted); }
.he-parts dd { margin: 2px 0 0; }
.he-quote { margin: 2px 0 0; padding: 4px 0 4px 12px; border-left: 2px solid var(--line-2); font-style: italic; }
.he-reply { margin: 6px 0 0; font-size: 14px; color: var(--muted); }
.he-explore { margin: 10px 0 0; font-size: 14px; }
.he-empty { margin: 12px 0 0; color: var(--muted); }
.he-people-list { margin: 8px 0 0; padding-left: 18px; columns: 2; }
@media (max-width: 600px) { .he-people-list { columns: 1; } }

/* Methodology refresh: two sides of great selling, the Human Edge, competencies by conversation area. */
.mth-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.mth-two-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel); padding: 26px; }
.mth-two-card.edge { border-color: rgba(255, 215, 0, 0.55); }
.mth-two-k { margin: 0 0 6px; font: 600 12.5px/1.4 var(--font); letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-text); }
.mth-two-card h3 { font-size: 21px; margin: 0 0 8px; }
.mth-two-card p:not(.mth-two-k) { color: var(--text); margin: 0 0 12px; }
.mth-skill-fam { margin: -4px 0 8px; font-size: 13px; color: var(--muted); }
.mth-edge { padding-top: 72px; padding-bottom: 72px; }
.mth-edge-head { max-width: 780px; margin-bottom: 32px; }
.mth-edge-head h2 { color: var(--gold); }
.mth-edge-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 40px; align-items: start; }
.mth-edge-grid h3 { font-size: 18px; margin: 0 0 6px; }
.mth-edge-grid p { color: var(--text); margin: 0 0 20px; }
.mth-edge-rules { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.mth-edge-rules li { margin: 0; padding-left: 16px; border-left: 2px solid var(--gold); color: var(--text); }
.mth-edge-rules strong { color: var(--heading); }
.mth-edge-signals { margin: 0; padding: 18px 20px 20px; display: grid; gap: 12px; }
.mth-edge-signals dt { font-weight: 600; color: var(--heading); }
.mth-edge-signals dd { margin: 2px 0 0; color: var(--text); font-size: 15px; }

/* For sales reps refresh: the journey, the deal page and Human Edge illustrations. */
.rps-journey { margin-top: 8px; }
.rps-journey ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; counter-reset: rj; }
.rps-journey li { margin: 0; counter-increment: rj; }
.rps-journey a { display: block; height: 100%; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r-inner); background: var(--surface); color: var(--heading); font-weight: 600; text-decoration: none; }
.rps-journey a:hover { border-color: rgba(255, 215, 0, 0.55); }
.rps-journey a span { display: block; font: 600 12px/1.4 var(--font); letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 4px; }
.rps-journey a span::before { content: counter(rj) ". "; }
.rps-deal-qs { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.rps-deal-qs li { margin: 0; padding: 12px 14px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-inner); }
.rps-deal-qs strong { display: block; color: var(--heading); }
.rps-deal-qs p { margin: 6px 0 0; color: var(--text); font-size: 15px; }
.rps-q { display: inline-block; margin-top: 4px; font-size: 12.5px; font-weight: 600; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); }
.rps-q-missed { color: var(--warn); background: var(--warn-bg); border-color: transparent; }
.rps-q-partly { color: var(--heading); }
.rps-deal-foot { margin: 14px 0 0; font-size: 13px; color: var(--muted); }
.rps-edge-sec { padding: 88px 0 80px; background: var(--surface-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.rps-edge h3 { font-size: 21px; margin: 0 0 4px; }
.rps-edge-meaning { margin: 0 0 14px; color: var(--muted); }
.rps-edge-parts { margin: 0; display: grid; gap: 10px; }
.rps-edge-parts dt { font-size: 12.5px; font-weight: 600; letter-spacing: 0.02em; color: var(--accent-text); }
.rps-edge-parts dd { margin: 2px 0 0; color: var(--text); }
.rps-edge-parts blockquote { margin: 2px 0 0; padding: 4px 0 4px 12px; border-left: 2px solid var(--gold); font-style: italic; color: var(--heading); }
.rps-edge-reply { margin: 6px 0 0; font-size: 14.5px; color: var(--muted); }
@media (max-width: 900px) {
  .mth-two, .mth-edge-grid { grid-template-columns: 1fr; gap: 20px; }
  .rps-journey ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .rps-journey ol { grid-template-columns: 1fr; }
}

/* The development journey card (What's Next → Your development): one priority, five stages as lights. */
.djc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel); padding: 22px 24px; margin: 4px 0 18px; container-type: inline-size; }
.djc.done { border-color: rgba(255, 215, 0, 0.55); }
.djc-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px 24px; flex-wrap: wrap; }
.djc-eyebrow { margin: 0 0 4px; font: 600 12px/1.4 var(--font); letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-text); }
.djc-tag { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 11px; letter-spacing: 0.02em; text-transform: none; color: var(--muted); }
.djc-tag.req { color: var(--heading); }
.djc h2 { margin: 0 0 4px; font-size: clamp(21px, 2.4vw, 27px); }
.djc-why { margin: 0; color: var(--muted); font-size: 14.5px; max-width: 62ch; }
.djc-meta { margin: 0; display: grid; justify-items: end; gap: 2px; text-align: right; }
.djc-meta strong { color: var(--heading); }
.djc-meta span { font-size: 13px; color: var(--text); }
.djc-meta small { color: var(--muted); }
.djc-stages { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.djc-stages li { margin: 0; position: relative; }
.djc-stages form { margin: 0; height: 100%; }
.djc-tile { display: grid; align-content: start; grid-template-columns: auto 1fr; grid-template-areas: "light title" "light detail"; column-gap: 10px; row-gap: 2px; align-items: start; height: 100%; width: 100%; text-align: left; padding: 12px; border: 1px solid var(--line); border-radius: var(--r-inner); background: var(--surface-2); color: var(--text); font: inherit; text-decoration: none; cursor: pointer; }
a.djc-tile:hover, button.djc-tile:hover { border-color: var(--line-hover); text-decoration: none; }
div.djc-tile { cursor: default; }
.djc-stage.active .djc-tile { border-color: rgba(255, 215, 0, 0.7); box-shadow: inset 0 0 0 1px rgba(255, 215, 0, 0.35); }
.djc-stage.locked .djc-tile { opacity: 0.72; }
.djc-light { grid-area: light; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--line-2); background: var(--surface); }
.djc-light svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.djc-light.lit { background: var(--gold); border-color: var(--gold); color: var(--on-gold); box-shadow: 0 0 0 4px rgba(255, 215, 0, 0.18); }
.djc-light.active { border-color: var(--gold); }
.djc-light.locked { color: var(--muted); }
.djc-n { display: none; }
.djc-t { grid-area: title; font-weight: 600; color: var(--heading); }
.djc-d { grid-area: detail; font-size: 13px; color: var(--muted); line-height: 1.4; }
.djc-complete { margin: 14px 0 0; font-weight: 600; color: var(--heading); }
.djc-note { margin: 10px 0 0; font-size: 13.5px; color: var(--muted); }
.djc-cycle { margin: 14px 0 0; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.djc-cycle small, .djc-cycle-note { color: var(--muted); font-size: 13px; }
.djc-cycle-note { margin: 14px 0 0; }
.djc-choose { margin: 14px 0 0; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.djc-choose select { max-width: 100%; }
/* The card lays out by its own width, so it works in the wide What's Next column and the narrow 1:1 prep column alike. */
@container (max-width: 760px) {
  .djc-stages { grid-template-columns: 1fr; gap: 8px; }
  .djc-meta { justify-items: start; text-align: left; }
}
@media (max-width: 520px) {
  .djc { padding: 18px 16px; }
}
