/* claire.html – Claire's own look (draft, 28 Nov 2026): a near-black, quiet "AI system" page: neutral black surfaces,
   off-white type, hairline borders, and ONE accent (the maps' cyan) – violet and rose only carry meaning
   (planned / survival), as they do on the maps. DARK ONLY:
   claire2.js sets <html data-theme="dark"> on this page (nothing is saved), and the theme switch is hidden.
   Loaded after site.css and the mc-*.css files. Everything is scoped to body.c2 or a c2_ class, so
   /claire and the rest of the site are untouched. site.css's own tokens (--bg, --surface, …) are
   re-pointed to this palette on body.c2, so its shared parts (account menu, chips, Progress card) follow.
   NOTE: #tree and its ancestors (main, body) must never get transform / filter / contain / opacity /
   z-index – full screen (minecraft.js) puts position:fixed boxes inside #tree. */

:root:has(body.c2) { color-scheme: dark; }

body.c2 {
    /* palette */
    --c2-bg: #07080a;
    --c2-panel: rgba(14, 16, 20, 0.8); /* a touch of glass: the mouse glow shows ever so slightly through the boxes (28 Nov) */
    --c2-panel-2: #15181e;
    --c2-line: #22262e;
    --c2-line-hi: #363d4a;
    --c2-text: #f2f4f7;
    --c2-muted: #9ba4b3;
    --c2-cyan: #7fe6f2;
    --c2-teal: #4fe0d4;
    --c2-blue: #8ab8ff;
    --c2-violet: #c9a6ff;
    --c2-rose: #ff9db0;
    --c2-amber: #f0c35a;
    --c2-ink: #07080a; /* text on a bright tile */
    /* type */
    --c2-sans: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
    --c2-mono: ui-monospace, "Cascadia Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
    --c2-gap: 16px;
    /* site.css's tokens, re-pointed (its shared parts read these) */
    --bg: var(--c2-bg);
    --surface: var(--c2-panel);
    --line: var(--c2-line);
    --text: var(--c2-text);
    --muted: var(--c2-muted);
    --accent: var(--c2-cyan);
    --accent-soft: #13222a;
    --up: #4fe0a8;
    --partial: var(--c2-amber);
    --down: #ff8080;

    color-scheme: dark;
    color: var(--c2-text);
    font-family: var(--c2-sans);
    font-size: 16px;
    line-height: 1.6;
    background-color: var(--c2-bg);
    background-image:
        radial-gradient(900px 520px at 8% -6%, rgba(60, 170, 200, 0.20), transparent 62%),
        radial-gradient(760px 520px at 104% 6%, rgba(140, 100, 235, 0.12), transparent 60%),
        radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1.6px);
    background-size: auto, auto, 30px 30px;
    background-repeat: no-repeat, no-repeat, repeat;
}
.c2 ::selection { background: rgba(127, 230, 242, 0.3); color: #fff; }

/* the page is wider than the site's 880px column */
.c2 .top, .c2 main, .c2 footer { width: min(1080px, 100%); padding-left: 20px; padding-right: 20px; }

/* focus: one clear ring everywhere */
.c2 a:focus-visible, .c2 button:focus-visible, .c2 summary:focus-visible, .c2 [tabindex]:focus-visible {
    outline: 2px solid var(--c2-cyan); outline-offset: 3px; border-radius: 6px;
}
.c2 .button:focus-visible, .c2 .filter_chips button:focus-visible, .c2 .account_button:focus-visible, .c2 .claire_signin:focus-visible { border-radius: 999px; }

/* ---- header ---- */
.c2 .top { padding-top: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--c2-line); gap: 22px; }
.c2 .theme_toggle { display: none; } /* dark only – nothing to switch */
.c2 .mark_front {
    background: linear-gradient(135deg, var(--c2-cyan), var(--c2-blue) 60%, var(--c2-violet)); color: var(--c2-ink);
    font-family: var(--c2-mono); font-weight: 800; font-size: 15px; box-shadow: 0 0 18px rgba(127, 230, 242, 0.28);
}
.c2 .sections { flex: 0 1 auto; min-width: 0; gap: 22px; overflow-x: auto; scrollbar-width: none; padding: 6px 2px; }
.c2 .sections::-webkit-scrollbar { display: none; }
.c2 .sections a { color: var(--c2-muted); font-size: 14px; font-weight: 600; letter-spacing: 0.01em; transition: color 0.15s ease; }
.c2 .sections a:hover { color: var(--c2-cyan); }
.c2 .tools { flex: none; margin-left: auto; }
.c2 .account_button { background: var(--c2-panel); border-color: var(--c2-line-hi); color: var(--c2-text); }
.c2 .status_panel { background: var(--c2-panel-2); border-color: var(--c2-line-hi); box-shadow: 0 18px 48px rgba(0, 0, 0, 0.6); }

/* ---- rhythm and type ---- */
.c2 main > section { padding: 44px 0; }
.c2 main > section[id] { scroll-margin-top: 20px; }
.c2 main h2 { margin: 0 0 20px; font-size: clamp(26px, 3.6vw, 36px); font-weight: 600; line-height: 1.15; letter-spacing: -0.025em; color: var(--c2-text); }
.c2 main h3 { line-height: 1.3; letter-spacing: -0.005em; color: var(--c2-text); }
.c2_eyebrow {
    display: flex; align-items: center; gap: 10px; margin: 0 0 10px;
    color: var(--c2-cyan); font-family: var(--c2-mono); font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
}
.c2_eyebrow::before { content: ""; flex: none; width: 22px; height: 1px; background: var(--c2-cyan); box-shadow: 0 0 8px var(--c2-cyan); }
.c2_lede { margin: -6px 0 22px; max-width: 46em; color: var(--c2-muted); font-size: 17px; }

/* surfaces */
.c2 .card {
    border: 1px solid var(--c2-line); border-radius: 16px; color: var(--c2-text);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0) 60%) var(--c2-panel);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.c2 .card p { color: var(--c2-muted); }
.c2 .prose p { color: var(--c2-text); }

/* buttons */
.c2 .button, .c2 .claire_signin {
    padding: 11px 22px; border: 1px solid transparent; border-radius: 999px;
    background: var(--c2-text); color: var(--c2-ink);
    font-size: 14.5px; font-weight: 650; box-shadow: none;
}
.c2 .button:hover, .c2 .claire_signin:hover { opacity: 1; filter: none; background: #fff; }
.c2 .button.c2_ghost { background: rgba(255, 255, 255, 0.04); border-color: var(--c2-line-hi); color: var(--c2-text); box-shadow: none; }
.c2 .button.c2_ghost:hover { border-color: var(--c2-cyan); color: var(--c2-cyan); background: rgba(255, 255, 255, 0.04); }

/* ---- hero ---- */
.c2 main > .c2_hero { padding: 64px 0 36px; }
.c2_hero h1 {
    margin: 0; font-size: clamp(68px, 15vw, 136px); font-weight: 650; line-height: 0.92; letter-spacing: -0.055em;
    color: var(--c2-cyan); width: fit-content; max-width: 100%; padding-right: 0.06em;
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
    .c2_hero h1 {
        background: linear-gradient(100deg, #ffffff 0%, #eafcff 34%, var(--c2-cyan) 68%, var(--c2-violet) 104%);
        -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
    }
}
.c2_expand { margin: 20px 0 0; max-width: 24em; color: var(--c2-text); font-size: clamp(20px, 3vw, 28px); font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }
.c2_expand strong { color: var(--c2-cyan); font-weight: 800; text-shadow: 0 0 16px rgba(127, 230, 242, 0.35); }
.c2_intro { margin: 18px 0 0; max-width: 42em; color: var(--c2-muted); font-size: 17px; }
.c2_cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }

/* the six letters: C L A I R E reads across the top, cyan through to violet */
.c2_acro {
    display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0;
    margin: 48px 0 0; padding: 0; list-style: none; overflow: hidden;
    border: 1px solid var(--c2-line); border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0) 70%) var(--c2-panel);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 24px 60px rgba(0, 0, 0, 0.35);
}
.c2_acro li { --c: var(--c2-cyan); display: flex; flex-direction: column; gap: 14px; padding: 22px 16px 24px; border-left: 1px solid var(--c2-line); }
.c2_acro li:first-child { border-left: 0; }
.c2_acro li:nth-child(2) { --c: #74d2f6; }
.c2_acro li:nth-child(3) { --c: var(--c2-blue); }
.c2_acro li:nth-child(4) { --c: #a5a6ff; }
.c2_acro li:nth-child(5) { --c: var(--c2-violet); }
.c2_acro li:nth-child(6) { --c: #f0a8dc; }
.c2_acro b {
    display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px;
    background: var(--c); color: var(--c2-ink); font-family: var(--c2-mono); font-size: 30px; font-weight: 800; line-height: 1;
    box-shadow: 0 0 22px color-mix(in srgb, var(--c) 28%, transparent);
}
.c2_acro span { color: var(--c2-muted); font-size: 13.5px; line-height: 1.5; }
.c2_acro span strong { display: block; margin-bottom: 4px; color: var(--c); font-size: 15.5px; font-weight: 700; }
@media (max-width: 900px) {
    .c2_acro { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .c2_acro li:nth-child(4) { border-left: 0; }
    .c2_acro li:nth-child(n + 4) { border-top: 1px solid var(--c2-line); }
}
@media (max-width: 560px) {
    .c2_acro { grid-template-columns: 1fr; margin-top: 32px; }
    .c2_acro li { flex-direction: row; align-items: center; gap: 14px; padding: 13px 14px; border-left: 0; }
    .c2_acro li + li { border-top: 1px solid var(--c2-line); }
    .c2_acro b { flex: none; width: 46px; height: 46px; font-size: 24px; border-radius: 12px; }
}

/* ---- the one-minute version: four numbered steps ---- */
.c2_steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--c2-gap); margin: 0; padding: 0; list-style: none; counter-reset: c2step; }
.c2_steps > li { position: relative; counter-increment: c2step; padding: 24px; }
.c2_steps > li::before {
    content: counter(c2step, decimal-leading-zero); display: block; margin-bottom: 12px;
    color: var(--c2-cyan); font-family: var(--c2-mono); font-size: 13px; font-weight: 700; letter-spacing: 0.12em;
}
.c2_steps .card h3 { margin: 0 0 8px; font-size: 19px; }
.c2_steps .card p { font-size: 15.5px; }
.c2_steps > li.c2_step_claire {
    border-color: rgba(127, 230, 242, 0.55);
    background: linear-gradient(160deg, rgba(127, 230, 242, 0.13), rgba(201, 166, 255, 0.07) 70%) var(--c2-panel);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 0 40px rgba(79, 224, 212, 0.08);
}
.c2_steps > li.c2_step_claire p { color: var(--c2-text); }
@media (max-width: 720px) { .c2_steps { grid-template-columns: 1fr; } .c2_steps > li { padding: 18px; } }

/* ---- how Claire works: the two loops ---- */
.c2_loops { display: grid; grid-template-columns: minmax(0, 1fr) 104px minmax(0, 1fr); gap: 0; align-items: stretch; }
.c2 .c2_loop { display: flex; flex-direction: column; padding: 24px; }
.c2_loop h3 { margin: 0; font-size: 19px; }
.c2_loop > p { margin-top: 0; font-size: 15.5px; }
.c2_ring { display: block; width: 100%; max-width: 360px; height: auto; margin: 12px auto 16px; --c2-ring: var(--c2-cyan); overflow: visible; }
.c2_loop_survival .c2_ring { --c2-ring: var(--c2-rose); }
.c2_loop_survival { border-color: rgba(255, 157, 176, 0.28); }
.c2_loop_task { border-color: rgba(127, 230, 242, 0.28); }
.c2_ring_track { fill: none; stroke: var(--c2-ring); stroke-width: 1.6; stroke-dasharray: 2 7; stroke-linecap: round; opacity: 0.7; }
.c2_ring_heads path { fill: none; stroke: var(--c2-ring); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.c2_ring_nodes rect { fill: #0b0d11; stroke: var(--c2-ring); stroke-width: 1.4; }
.c2_ring text { text-anchor: middle; font-family: inherit; }
.c2_ring_nodes text { fill: var(--c2-text); font-size: 13px; font-weight: 600; }
.c2_ring_mid { fill: var(--c2-ring); font-size: 20px; font-weight: 800; }
.c2_ring_sub { fill: var(--c2-muted); font-family: var(--c2-mono); font-size: 11.5px; }
.c2_orbit { transform-origin: 160px 150px; animation: c2_orbit 14s linear infinite; }
.c2_orbit circle { fill: #fff; filter: drop-shadow(0 0 6px var(--c2-ring)) drop-shadow(0 0 12px var(--c2-ring)); }
.c2_loop_survival .c2_orbit { animation-duration: 4s; }
@keyframes c2_orbit { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .c2_orbit { animation: none; } .c2 .sections a { transition: none; } }

/* the link between the loops */
.c2_link {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
    padding: 0 8px; color: var(--c2-muted); font-family: var(--c2-mono); font-size: 11px; line-height: 1.45; text-align: center;
}
.c2_link svg {
    width: 42px; height: 42px; padding: 9px; border: 1px solid var(--c2-rose); border-radius: 50%; background: var(--c2-panel);
    fill: none; stroke: var(--c2-rose); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; box-shadow: 0 0 20px rgba(255, 157, 176, 0.25);
}
@media (max-width: 800px) {
    .c2_loops { grid-template-columns: 1fr; }
    .c2_link { flex-direction: row; gap: 12px; padding: 12px 4px; text-align: left; font-size: 12px; }
    .c2_link svg { flex: none; transform: rotate(90deg); }
}

/* where AI is – and isn't – used */
.c2 .c2_ai { margin-top: var(--c2-gap); padding: 24px; }
.c2_ai h3 { margin: 0 0 6px; font-size: 19px; }
.c2_ai_rows { margin: 0; }
.c2_ai_rows > div { display: grid; grid-template-columns: 8.5em minmax(0, 1fr); gap: 4px 16px; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--c2-line); }
.c2_ai_rows > div:first-child { border-top: 0; }
.c2_ai_rows > div:last-child { padding-bottom: 0; }
.c2_ai_rows dt { color: var(--c2-text); font-family: var(--c2-mono); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.c2_ai_rows dd { margin: 0; color: var(--c2-muted); font-size: 15.5px; }
.c2_pill {
    display: inline-block; margin-right: 10px; padding: 1px 9px; border: 1px solid var(--c2-violet); border-radius: 6px;
    background: rgba(201, 166, 255, 0.1); color: var(--c2-violet);
    font-family: var(--c2-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; vertical-align: 1px; white-space: nowrap;
}
.c2_pill_code { border-color: var(--c2-teal); background: rgba(79, 224, 212, 0.1); color: var(--c2-teal); }
@media (max-width: 560px) {
    .c2_ai_rows > div { grid-template-columns: 1fr; }
    .c2_pill { display: table; margin: 2px 0 6px; }
}

/* ---- progress ---- */
.c2_stands {
    margin: 0 0 var(--c2-gap); padding: 14px 18px; border: 1px solid var(--c2-line); border-left: 3px solid var(--c2-amber); border-radius: 4px 12px 12px 4px;
    background: rgba(240, 195, 90, 0.06); color: var(--c2-text); font-size: 15.5px;
}
.c2_stands strong { color: var(--c2-amber); }
.c2 .mc_summary { padding: 24px; }
.c2 .mc_summary h3 { font-size: 19px; }
.c2 .mc_bar { height: 10px; background: #1c2028; }
.c2 .mc_bar span { background: linear-gradient(90deg, var(--c2-teal), var(--c2-cyan)); box-shadow: 0 0 12px rgba(127, 230, 242, 0.5); }
.c2 .mc_fresh { background: rgba(127, 230, 242, 0.08); border: 1px solid rgba(127, 230, 242, 0.18); }
.c2 .mc_today { background: rgba(240, 195, 90, 0.04); }

/* ---- the maps: the showpiece. Only spacing and width here – the panels keep their own styling ---- */
.c2 #tree .mc_toolbar { margin-bottom: 14px; }
.c2 #tree > h2 { margin-bottom: 16px; }
.c2 .filter_chips button { border-color: var(--c2-line-hi); color: var(--c2-muted); font-family: var(--c2-sans); }
.c2 .filter_chips button:hover { color: var(--c2-text); }
.c2 .mc_toolbar .filter_chips button[aria-pressed="true"] { border-color: var(--c2-cyan); background: rgba(127, 230, 242, 0.12); color: var(--c2-cyan); box-shadow: 0 0 16px rgba(127, 230, 242, 0.2); }
/* (the live maps used to reach out wider than the page on big screens; now the same width as every section – Trish 29 Nov) */
.c2 .mc_detail { border-color: rgba(127, 230, 242, 0.5); }
.c2 .status_note { color: var(--c2-muted); font-family: var(--c2-mono); font-size: 11.5px; }

/* ---- the ambition ---- */
.c2_quote {
    margin: 0 0 24px; max-width: 28em; color: var(--c2-text);
    font-size: clamp(21px, 3vw, 28px); font-weight: 600; line-height: 1.32; letter-spacing: -0.015em;
}
.c2_roadmap { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: var(--c2-gap); align-items: start; }
.c2 .c2_roadmap .card { height: 100%; padding: 24px; }
.c2 .c2_roadmap .card p { font-size: 15.5px; }
.c2 .c2_tag {
    display: inline-block; margin: 0 0 12px; padding: 2px 10px; border: 1px solid var(--c2-cyan); border-radius: 6px; background: rgba(127, 230, 242, 0.1);
    color: var(--c2-cyan); font-family: var(--c2-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
}
.c2 .c2_tag.c2_tag_planned { background: rgba(201, 166, 255, 0.08); border: 1px dashed var(--c2-violet); color: var(--c2-violet); }
.c2 .c2_next { border: 1px dashed rgba(201, 166, 255, 0.55); background: linear-gradient(160deg, rgba(201, 166, 255, 0.08), rgba(201, 166, 255, 0) 60%) var(--c2-panel); }
.c2_next strong { color: var(--c2-violet); }
@media (max-width: 800px) { .c2_roadmap { grid-template-columns: 1fr; } }

/* ---- why it matters for business ---- */
.c2_biz { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--c2-gap); }
.c2 .c2_biz .card { padding: 24px; }
.c2_biz .card h3 { margin: 0 0 8px; font-size: 18px; }
.c2_biz .card p { font-size: 15px; }
.c2_icon {
    display: block; width: 44px; height: 44px; margin: 0 0 16px; padding: 10px; border: 1px solid rgba(127, 230, 242, 0.3); border-radius: 12px;
    background: rgba(127, 230, 242, 0.08); fill: none; stroke: var(--c2-cyan); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.c2_inbiz { color: var(--c2-cyan); font-weight: 700; }
@media (max-width: 900px) { .c2_biz { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .c2_biz { grid-template-columns: 1fr; } .c2 .c2_biz .card { padding: 18px; } }

/* ---- dev log: the sign-in card ---- */
.c2 .c2_locked:not([hidden]) { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 44px 20px; text-align: center; border-style: dashed; border-color: var(--c2-line-hi); }
.c2_locked .c2_icon { margin-bottom: 10px; }
.c2 .mc_devlog { border-color: var(--c2-line-hi); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); }

/* ---- footer ---- */
.c2 footer { margin-top: 24px; padding-top: 24px; padding-bottom: 40px; border-top: 1px solid var(--c2-line); color: var(--c2-muted); font-family: var(--c2-mono); font-size: 12px; }
.c2 footer a { color: var(--c2-muted); }
.c2 footer a:hover { color: var(--c2-cyan); }

/* ---- phones ---- */
@media (max-width: 720px) {
    .c2 .top, .c2 main, .c2 footer { padding-left: 16px; padding-right: 16px; }
    .c2 .top { border-bottom: 0; padding-bottom: 8px; }
    .c2 .sections { border-bottom-color: var(--c2-line); }
    .c2 main > section { padding: 30px 0; }
    .c2 main > .c2_hero { padding: 34px 0 22px; }
    .c2_intro, .c2_lede { font-size: 16px; }
    .c2 .mc_summary, .c2 .c2_loop, .c2 .c2_ai, .c2 .c2_roadmap .card { padding: 18px; }
}

/* One box height for every map (Trish 28 Nov): the Achievement map, Neural map and Deep Neural Network
   all stand the same height – a little taller than the Achievement map was – so switching views does not
   make the page jump. The view inside each panel takes what is left; full screen keeps its own sizes. */
body.c2 { --c2-map-h: 600px; }
@media (max-width: 600px) { body.c2 { --c2-map-h: 480px; } }
.c2 .mc_view:not(.mc_full) .mcm_panel,
.c2 .mc_view:not(.mc_full) .mcd_panel { box-sizing: border-box; display: flex; flex-direction: column; height: var(--c2-map-h); }
.c2 .mc_view:not(.mc_full) .mcm_stage,
.c2 .mc_view:not(.mc_full) .mcd_stage { flex: 1 1 auto; min-height: 0; }
.c2 .mc_view:not(.mc_full) .mcm_view,
.c2 .mc_view:not(.mc_full) .mcd_view { height: 100%; }
.c2 .mc_view:not(.mc_full) .mcm_view:has(.mcm_empty),
.c2 .mc_view:not(.mc_full) .mcd_view:has(.mcd_empty) { height: auto; }
.c2 .mc_view:not(.mc_full) .mcn_wrap { box-sizing: border-box; height: var(--c2-map-h); }

/* the letter tiles in their own section (28 Nov) – no hero spacing above them */
.c2 .c2_name .c2_acro { margin-top: 0; }

/* ---- c3c: sequences (the diamond chain in #about, the Proposals flow in #ambition) ----
   Each step is a nowrap unit: [arrow][chip]. The arrow belongs to the chip it points TO, so when the row
   wraps, the arrow moves down with its chip – it never ends a line. The arrow is drawn (two borders), so it
   sits exactly on the chip's middle; accent colour; light chips. */
.c2_chain, .c2_flow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 0; padding: 0; list-style: none; font-family: var(--c2-mono); }
.c2_chain { margin: 16px 0 0; font-size: 11.5px; }
.c2_flow { margin: 18px 0 0; font-size: 12px; }
.c2_chain > span, .c2_flow > li { display: inline-flex; align-items: center; white-space: nowrap; }
.c2_chain > span:not(:first-child)::before, .c2_flow > li:not(:first-child)::before {
    content: ""; flex: none; width: 6px; height: 6px; margin: 0 10px 0 5px;
    border-top: 1.5px solid var(--c2-cyan); border-right: 1.5px solid var(--c2-cyan); transform: rotate(45deg);
}
.c2_chain i, .c2_flow li > span {
    font-style: normal; padding: 2px 8px; border: 1px solid var(--c2-line); border-radius: 6px;
    background: rgba(255, 255, 255, 0.03); color: #c6cedb; line-height: 1.5;
}
.c2_flow li > span { padding: 4px 10px; color: var(--c2-text); }
.c2_chain .c2_chain_end i { border-color: rgba(127, 230, 242, 0.6); background: rgba(127, 230, 242, 0.1); color: var(--c2-cyan); }
.c2_flow .c2_flow_human > span { border-color: rgba(201, 166, 255, 0.6); background: rgba(201, 166, 255, 0.12); color: var(--c2-violet); }

/* ---- c3c: the business story ---- */
.c2_hook { margin: 18px 0 0; max-width: 30em; color: var(--c2-cyan); font-size: clamp(17px, 2.2vw, 21px); font-weight: 600; line-height: 1.4; }
.c2_hook + .c2_intro { margin-top: 10px; }
.c2_problem { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--c2-gap); }
.c2 .c2_problem .card { padding: 24px; }
.c2_problem .card h3 { margin: 0 0 8px; font-size: 18px; }
.c2_problem .card p { font-size: 15.5px; }
.c2 .c2_problem .c2_third {
    border-color: rgba(127, 230, 242, 0.55);
    background: linear-gradient(160deg, rgba(127, 230, 242, 0.13), rgba(201, 166, 255, 0.07) 70%) var(--c2-panel);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 0 40px rgba(79, 224, 212, 0.08);
}
.c2 .c2_problem .c2_third p { color: var(--c2-text); }
@media (max-width: 860px) { .c2_problem { grid-template-columns: 1fr; } .c2 .c2_problem .card { padding: 18px; } }
/* the hand-over line at the end of a chapter */
.c2_bridge { margin: 26px 0 0; color: var(--c2-muted); font-size: 16px; }
.c2_bridge a { color: var(--c2-cyan); font-weight: 600; text-decoration: none; white-space: nowrap; }
.c2_bridge a::after { content: " ↓"; }
.c2_bridge a:hover { text-decoration: underline; }
/* the close */
.c2 main > .c2_close { margin-top: 20px; padding: 44px 28px; border: 1px solid var(--c2-line); border-radius: 18px; background: linear-gradient(160deg, rgba(127, 230, 242, 0.09), rgba(201, 166, 255, 0.05) 70%) var(--c2-panel); }
.c2_close .c2_lede { margin-bottom: 0; }
@media (max-width: 720px) { .c2 main > .c2_close { padding: 26px 18px; } }

/* "Why it matters for business" pings (Trish 28 Nov): a cyan ring that swells and fades from the button,
   every couple of seconds – a beacon, not a flash. Reduced motion: a steady ring instead. */
.c2 .c2_ping { position: relative; isolation: isolate; }
.c2 .c2_ping::before,
.c2 .c2_ping::after {
    content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
    box-shadow: 0 0 0 0 rgba(127, 230, 242, 0.6);
    animation: c2-ping 2.4s cubic-bezier(0.2, 0.6, 0.3, 1) infinite;
}
.c2 .c2_ping::after { animation-delay: 1.2s; }
@keyframes c2-ping {
    0% { box-shadow: 0 0 0 0 rgba(127, 230, 242, 0.6); }
    75%, 100% { box-shadow: 0 0 0 14px rgba(127, 230, 242, 0); }
}
@media (prefers-reduced-motion: reduce) {
    .c2 .c2_ping::before { animation: none; box-shadow: 0 0 0 3px rgba(127, 230, 242, 0.45); }
    .c2 .c2_ping::after { display: none; }
}

/* "The problem" diagrams (28 Nov): rose = a change that breaks a script, violet = free-running AI, cyan =
   Claire's way. The track draws itself, holds, and starts again; reduced motion shows it drawn. */
.c2_pv { display: block; width: 100%; height: auto; margin: -4px 0 6px; overflow: visible; }
.c2_pv * { vector-effect: non-scaling-stroke; }
.c2_pv_start { fill: var(--c2-muted); }
.c2_pv_line { fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.c2_pv_script .c2_pv_line { stroke: #8b94a3; }
.c2_pv_free .c2_pv_line { stroke: var(--c2-violet); stroke-dasharray: 2 5; }
.c2_pv_third .c2_pv_line { stroke: var(--c2-cyan); filter: drop-shadow(0 0 4px rgba(127, 230, 242, 0.45)); }
.c2_pv_change { fill: rgba(255, 157, 176, 0.14); stroke: var(--c2-rose); stroke-width: 1.6; }
.c2_pv_stop circle { fill: rgba(255, 157, 176, 0.16); stroke: var(--c2-rose); stroke-width: 1.6; }
.c2_pv_stop path { stroke: var(--c2-rose); stroke-width: 2; stroke-linecap: round; }
.c2_pv_lost { fill: none; stroke: #4a515d; stroke-width: 2; stroke-dasharray: 3 5; }
.c2_pv_flag { fill: var(--c2-cyan); stroke: var(--c2-cyan); stroke-width: 2; stroke-linejoin: round; }
.c2_pv_free .c2_pv_flag { fill: var(--c2-violet); stroke: var(--c2-violet); }
.c2_pv_flag.c2_pv_off { fill: none; stroke: #4a515d; }
.c2_pv_q { fill: var(--c2-violet); font: 700 15px var(--c2-mono); opacity: 0.75; }
.c2_pv_check circle { fill: var(--c2-bg); stroke: var(--c2-cyan); stroke-width: 1.6; }
.c2_pv_check path { fill: none; stroke: var(--c2-cyan); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.c2_pv_person circle { fill: var(--c2-amber); }
.c2_pv_person path { fill: none; stroke: var(--c2-amber); stroke-width: 2; stroke-linecap: round; }
.c2_pv_label { fill: var(--c2-muted); font: 10px var(--c2-mono); letter-spacing: 0.04em; }
.c2_pv_cap { margin: 0 0 12px; color: var(--c2-muted); font: 11.5px/1.4 var(--c2-mono); letter-spacing: 0.03em; text-transform: uppercase; }
.c2_third .c2_pv_cap { color: var(--c2-cyan); }
.c2_pv_draw { stroke-dasharray: 420; stroke-dashoffset: 420; animation: c2-pv-draw 5s ease-in-out infinite; }
.c2_pv_free .c2_pv_draw { stroke-dasharray: 2 5; stroke-dashoffset: 0; animation: c2-pv-wander 5s ease-in-out infinite; }
.c2_pv_stop, .c2_pv_check, .c2_pv_person { animation: c2-pv-pop 5s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.c2_pv_check:nth-of-type(2) { animation-delay: 0.25s; }
.c2_pv_check:nth-of-type(3), .c2_pv_person { animation-delay: 0.5s; }
@keyframes c2-pv-draw { 0% { stroke-dashoffset: 420; } 45%, 88% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes c2-pv-wander { 0% { opacity: 0; } 20%, 70% { opacity: 1; } 100% { opacity: 0.15; } }
@keyframes c2-pv-pop { 0%, 38% { opacity: 0; transform: scale(0.6); } 48%, 90% { opacity: 1; transform: scale(1); } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
    .c2_pv_draw, .c2_pv_free .c2_pv_draw, .c2_pv_stop, .c2_pv_check, .c2_pv_person { animation: none; stroke-dashoffset: 0; opacity: 1; transform: none; }
    .c2_pv_free .c2_pv_draw { stroke-dasharray: 2 5; }
}

/* The dock (28 Nov): claire.js sets --mag (0–1) per tile from the mouse's distance; the tile grows up from its
   base, eased in and out, and its name brightens. PC only – phones and tablets keep the still strip. */
@media (hover: hover) and (pointer: fine) and (min-width: 1000px) {
    .c2 .c2_acro li { padding-top: 38px; }
    .c2_acro b {
        transform-origin: 50% 100%;
        transform: scale(calc(1 + var(--mag, 0) * 0.42));
        transition: transform 0.32s cubic-bezier(0.45, 0, 0.55, 1), box-shadow 0.32s cubic-bezier(0.45, 0, 0.55, 1);
        box-shadow: 0 0 calc(22px + var(--mag, 0) * 22px) color-mix(in srgb, var(--c) calc(28% + var(--mag, 0) * 30%), transparent);
    }
    .c2_acro span { transition: color 0.32s cubic-bezier(0.45, 0, 0.55, 1); }
    .c2_acro li:hover span { color: var(--c2-text); }
}
@media (prefers-reduced-motion: reduce) { .c2_acro b { transform: none; transition: none; } }

/* Dots that glow under the mouse (28 Nov): a fixed layer with a lit copy of the background's 30px dot grid,
   kept in step with the page's dots (--sx/--sy) and shown only in a soft circle round the pointer. It sits
   under the content (body is its own stacking context) and never takes a click. */
body.c2 { isolation: isolate; }
@media (hover: hover) and (pointer: fine) {
    body.c2::before {
        content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
        background-image: radial-gradient(rgba(200, 250, 255, 1) 0, rgba(127, 230, 242, 0.8) 1.6px, rgba(127, 230, 242, 0.2) 3px, transparent 4.2px);
        background-size: 30px 30px;
        background-position: var(--sx, 0px) var(--sy, 0px);
        -webkit-mask-image: radial-gradient(170px circle at var(--mx, -999px) var(--my, -999px), #000 0%, rgba(0, 0, 0, 0.55) 45%, transparent 100%);
        mask-image: radial-gradient(170px circle at var(--mx, -999px) var(--my, -999px), #000 0%, rgba(0, 0, 0, 0.55) 45%, transparent 100%);
        opacity: 0;
        transition: opacity 0.35s ease-in-out;
    }
    body.c2.c2_lit::before { opacity: 1; }
}

/* Glow, tighter (Trish 28 Nov): sharp dots only close to the pointer (::before), and a blurred copy (::after)
   that takes over further out – the dots soften as they get further from the mouse, then fade. */
@media (hover: hover) and (pointer: fine) {
    body.c2::before {
        -webkit-mask-image: radial-gradient(45px circle at var(--mx, -999px) var(--my, -999px), #000 0%, rgba(0, 0, 0, 0.6) 55%, transparent 100%);
        mask-image: radial-gradient(45px circle at var(--mx, -999px) var(--my, -999px), #000 0%, rgba(0, 0, 0, 0.6) 55%, transparent 100%);
    }
    body.c2::after {
        content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
        background-image: radial-gradient(rgba(170, 245, 252, 0.9) 0, rgba(127, 230, 242, 0.55) 2px, rgba(127, 230, 242, 0.15) 3.6px, transparent 5px);
        background-size: 30px 30px;
        background-position: var(--sx, 0px) var(--sy, 0px);
        filter: blur(2.2px);
        -webkit-mask-image: radial-gradient(83px circle at var(--mx, -999px) var(--my, -999px), transparent 18%, rgba(0, 0, 0, 0.75) 45%, rgba(0, 0, 0, 0.35) 72%, transparent 100%);
        mask-image: radial-gradient(83px circle at var(--mx, -999px) var(--my, -999px), transparent 18%, rgba(0, 0, 0, 0.75) 45%, rgba(0, 0, 0, 0.35) 72%, transparent 100%);
        opacity: 0;
        transition: opacity 0.35s ease-in-out;
    }
    body.c2.c2_lit::after { opacity: 1; }
}

/* The dock warps the columns (28 Nov, second pass): claire.js sets grid-template-columns from each column's
   --mag; the widths ease in and out, the column lifts a little and lights up, and its tile grows with it.
   The strip's height is held while it warps (text in a narrower column may wrap once more – the extra room
   for that is the 1.5em of bottom padding). */
@media (hover: hover) and (pointer: fine) and (min-width: 1000px) {
    .c2_acro {
        transition: grid-template-columns 0.36s cubic-bezier(0.45, 0, 0.55, 1);
        align-items: stretch;
    }
    .c2 .c2_acro li {
        overflow: hidden;
        padding-bottom: 1.5em;
        background: linear-gradient(180deg, color-mix(in srgb, var(--c) calc(var(--mag, 0) * 9%), transparent), transparent 75%);
        transition: background 0.36s cubic-bezier(0.45, 0, 0.55, 1);
    }
    .c2_acro b {
        transform: scale(calc(1 + var(--mag, 0) * 0.32));
        transition: transform 0.36s cubic-bezier(0.45, 0, 0.55, 1), box-shadow 0.36s cubic-bezier(0.45, 0, 0.55, 1);
    }
    .c2_acro span strong { transition: transform 0.36s cubic-bezier(0.45, 0, 0.55, 1); transform-origin: 0 50%; transform: scale(calc(1 + var(--mag, 0) * 0.08)); }
}

/* The dock zooms (28 Nov, third pass): each column grows in BOTH width and height – the whole box scales up
   like a lifted card (border, ground, shadow fading in with --mag) while the grid widths make room beside it.
   The strip lets the zoomed column rise out of it; the nearest one sits on top (z-index from claire.js). */
@media (hover: hover) and (pointer: fine) and (min-width: 1000px) {
    .c2 .c2_acro { overflow: visible; }
    .c2 .c2_acro li {
        position: relative;
        overflow: visible;
        border-radius: 16px;
        transform-origin: 50% 50%;
        transform: scale(calc(1 + var(--mag, 0) * 0.14));
        background: linear-gradient(180deg, color-mix(in srgb, var(--c) calc(var(--mag, 0) * 10%), transparent), transparent 75%),
            color-mix(in srgb, #15181e calc(var(--mag, 0) * 100%), transparent);
        box-shadow: 0 calc(var(--mag, 0) * 18px) calc(var(--mag, 0) * 44px) rgba(0, 0, 0, calc(var(--mag, 0) * 0.6)),
            inset 0 0 0 1px color-mix(in srgb, var(--c) calc(var(--mag, 0) * 35%), transparent);
        transition: transform 0.36s cubic-bezier(0.45, 0, 0.55, 1), background 0.36s cubic-bezier(0.45, 0, 0.55, 1), box-shadow 0.36s cubic-bezier(0.45, 0, 0.55, 1);
    }
    .c2_acro b { transform: scale(calc(1 + var(--mag, 0) * 0.12)); }
    .c2_acro span strong { transform: none; }
}

/* No easing while it grows (Trish 28 Nov): the mouse is the motion, so the zoom follows it frame by frame.
   Only when the mouse leaves (nothing drives it then) does the strip glide back to rest. */
@media (hover: hover) and (pointer: fine) and (min-width: 1000px) {
    .c2 .c2_acro, .c2 .c2_acro li, .c2 .c2_acro b { transition: none; }
    .c2 .c2_acro.c2_dock_out { transition: grid-template-columns 0.3s ease-out; }
    .c2 .c2_acro.c2_dock_out li { transition: transform 0.3s ease-out, background 0.3s ease-out, box-shadow 0.3s ease-out; }
    .c2 .c2_acro.c2_dock_out b { transition: transform 0.3s ease-out, box-shadow 0.3s ease-out; }
}

/* No overlap between zoomed neighbours: each column lays out narrower by its own zoom (width ÷ scale, centred
   in its grid slot), so once scaled it fills its slot exactly – the slot widths (grid fr) do the widening, the
   scale does the growing, and the height rises above and below the strip. */
@media (hover: hover) and (pointer: fine) and (min-width: 1000px) {
    .c2 .c2_acro li { width: calc(100% / (1 + var(--mag, 0) * 0.14)); justify-self: center; box-sizing: border-box; }
}

/* The dock as ONE strip (Trish 28 Nov, fourth pass): no column lifts out as its own box – the strip's top line,
   bottom line and dividers stay joined at all times. The columns widen (grid fr from claire.js) and each
   column's content zooms with its --mag (CSS zoom, so it really takes the room); the row – and so the whole
   strip – grows taller to fit the biggest, and settles back when the mouse leaves. */
@media (hover: hover) and (pointer: fine) and (min-width: 1000px) {
    .c2 .c2_acro { overflow: hidden; }
    .c2 .c2_acro li {
        width: auto; justify-self: stretch;
        transform: none; border-radius: 0; box-shadow: none;
        background: linear-gradient(180deg, color-mix(in srgb, var(--c) calc(var(--mag, 0) * 8%), transparent), transparent 80%);
        zoom: calc(1 + var(--mag, 0) * 0.2);
        overflow: hidden;
        padding-bottom: 24px;
    }
    .c2_acro b { transform: none; }
    .c2 .c2_acro.c2_dock_out li { transition: zoom 0.3s ease-out, background 0.3s ease-out; }
}

/* The dock as a curve (28 Nov, fifth pass). claire.js draws the strip's outline, ground and dividers as one SVG
   (.c2_dock_svg) behind the columns, so the strip's own box only lays them out. Each column sits centred and
   takes its own height; while the mouse is on the strip (.c2_docking) the column's content zooms from 0.86 (far)
   to 1.2 (under the mouse) – far columns shorten, the near one grows – and the edges bend through them. */
@media (hover: hover) and (pointer: fine) and (min-width: 1000px) {
    .c2 .c2_acro.c2_dock {
        position: relative; isolation: isolate; overflow: visible;
        border: 0; background: none; box-shadow: none; border-radius: 0;
        align-items: center;
    }
    .c2_dock_svg { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
    .c2_dock_ground {
        fill: var(--c2-panel); stroke: none;
        filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.35));
    }
    .c2_dock_lines { fill: none; stroke: var(--c2-line); stroke-width: 1; vector-effect: non-scaling-stroke; }
    .c2 .c2_acro.c2_dock li { border-left: 0; background: none; overflow: visible; zoom: 1; padding-bottom: 24px; }
    .c2 .c2_acro.c2_dock.c2_docking li { zoom: calc(0.86 + var(--mag, 0) * 0.34); }
    .c2 .c2_acro.c2_dock.c2_dock_out li { transition: zoom 0.3s ease-out; }
}

/* At rest the strip is a straight panel (all columns one height); only while the mouse is on it do the columns
   centre and take their own heights. The height comes mostly from padding that grows with --mag, so the column
   under the mouse stands clearly tallest and the others step down smoothly – a bell, not a plateau. */
@media (hover: hover) and (pointer: fine) and (min-width: 1000px) {
    .c2 .c2_acro.c2_dock { align-items: stretch; }
    .c2 .c2_acro.c2_dock.c2_docking { align-items: center; }
    .c2 .c2_acro.c2_dock.c2_docking li { padding-top: calc(16px + var(--mag, 0) * 34px); padding-bottom: calc(16px + var(--mag, 0) * 34px); }
}

/* Ease in and out after all (Trish 28 Nov): the columns' widths, zoom and padding glide (~0.28s), so the strip's
   height changes smoothly and the sections below move with it instead of shaking. The curve follows (claire.js
   redraws it on every size change). */
@media (hover: hover) and (pointer: fine) and (min-width: 1000px) {
    .c2 .c2_acro.c2_dock, .c2 .c2_acro.c2_dock.c2_dock_out { transition: grid-template-columns 0.28s cubic-bezier(0.45, 0, 0.55, 1); }
    .c2 .c2_acro.c2_dock li, .c2 .c2_acro.c2_dock.c2_dock_out li {
        transition: zoom 0.28s cubic-bezier(0.45, 0, 0.55, 1), padding 0.28s cubic-bezier(0.45, 0, 0.55, 1);
    }
}

/* The problem as a versus (Trish 28 Nov): scripts VS free-running AI side by side, then the third way is born
   from the two – two lines run down from them, meet in a spark, and the idea's card lights up below. It plays
   once when it comes into view (claire.js adds .c2_in); reduced motion shows it finished. */
.c2_vs { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: stretch; gap: var(--c2-gap); }
.c2 .c2_vs .card { padding: 24px; }
.c2_vs_mark { display: grid; place-items: center; }
.c2_vs_mark span {
    display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
    border: 1px solid var(--c2-line-hi, #2c313a); background: var(--c2-bg);
    color: var(--c2-text); font: 800 17px/1 var(--c2-mono); letter-spacing: 0.06em;
    background-image: radial-gradient(circle at 30% 30%, rgba(255, 157, 176, 0.25), transparent 60%), radial-gradient(circle at 70% 70%, rgba(201, 166, 255, 0.28), transparent 60%);
    box-shadow: 0 0 0 6px rgba(7, 8, 10, 0.9), 0 0 26px rgba(201, 166, 255, 0.25);
}
.c2_born { position: relative; height: 92px; margin: 2px 0 -6px; }
.c2_born svg { display: block; width: 100%; height: 100%; overflow: visible; }
.c2_born path { fill: none; stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.c2_born_l { stroke: var(--c2-rose); }
.c2_born_r { stroke: var(--c2-violet); }
.c2_spark {
    position: absolute; left: 50%; bottom: -6px; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%;
    background: radial-gradient(circle, #fff 0, var(--c2-cyan) 40%, rgba(127, 230, 242, 0) 72%);
    box-shadow: 0 0 22px 6px rgba(127, 230, 242, 0.55);
}
.c2 .c2_born_card { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); column-gap: 32px; align-items: center; padding: 28px 32px; }
.c2 .c2_born_card .c2_pv { grid-row: 1 / span 4; margin: 0; }
.c2 .c2_born_card > :not(svg) { grid-column: 2; }
@media (max-width: 860px) {
    .c2_vs { grid-template-columns: 1fr; }
    .c2_vs_mark { margin: -6px 0; }
    .c2_born { height: 56px; }
    .c2 .c2_born_card { grid-template-columns: 1fr; padding: 20px; }
    .c2 .c2_born_card .c2_pv { grid-row: auto; margin-bottom: 8px; }
    .c2 .c2_born_card > :not(svg) { grid-column: 1; }
}
@media (prefers-reduced-motion: no-preference) {
    .c2_born path { stroke-dasharray: 1; stroke-dashoffset: 1; }
    .c2_spark { opacity: 0; transform: scale(0.2); }
    .c2_born_card { opacity: 0.35; transform: translateY(10px); }
    .c2_vs_mark span { transform: scale(0.6); opacity: 0; }
    .c2_in .c2_vs_mark span { animation: c2-vs-in 0.5s cubic-bezier(0.2, 1.4, 0.4, 1) 0.1s forwards; }
    .c2_in .c2_born path { animation: c2-born-draw 0.9s ease-in-out 0.55s forwards; }
    .c2_in .c2_spark { animation: c2-spark 0.9s ease-out 1.4s forwards; }
    .c2_in .c2_born_card { animation: c2-born-card 0.8s ease-out 1.6s forwards; }
}
@keyframes c2-vs-in { to { transform: scale(1); opacity: 1; } }
@keyframes c2-born-draw { to { stroke-dashoffset: 0; } }
@keyframes c2-spark { 0% { opacity: 0; transform: scale(0.2); } 40% { opacity: 1; transform: scale(2.2); } 100% { opacity: 1; transform: scale(1); } }
@keyframes c2-born-card { to { opacity: 1; transform: none; } }

/* the versus layout keeps the cards' look (the old .c2_problem wrapper is gone) */
#problem .card h3 { margin: 0 0 8px; font-size: 18px; }
#problem .card p { font-size: 15.5px; }
.c2 #problem .c2_third {
    border-color: rgba(127, 230, 242, 0.55);
    background: linear-gradient(160deg, rgba(127, 230, 242, 0.13), rgba(201, 166, 255, 0.07) 70%) var(--c2-panel);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 0 40px rgba(79, 224, 212, 0.12);
}
.c2 #problem .c2_third p { color: var(--c2-text); }

/* Phones and tablets keep the versus side by side (Trish 28 Nov: "optimize for phone view"): tablets keep the
   three-column row; phones get two compact cards with a smaller VS badge riding between their diagrams, and the
   two lines still meet in the spark above the idea's card. */
@media (max-width: 860px) {
    .c2_vs { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 12px; }
    .c2_vs_mark { margin: 0; }
    .c2_born { height: 72px; }
}
@media (max-width: 600px) {
    .c2_vs { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; position: relative; }
    .c2_vs_mark { position: absolute; left: 50%; top: 46px; transform: translate(-50%, -50%); z-index: 2; }
    .c2_vs_mark span { width: 40px; height: 40px; font-size: 12px; box-shadow: 0 0 0 4px var(--c2-bg), 0 0 18px rgba(201, 166, 255, 0.25); }
    .c2 .c2_vs .card { padding: 14px 12px 16px; }
    #problem .c2_vs .card h3 { font-size: 14.5px; line-height: 1.3; }
    #problem .c2_vs .card p { font-size: 13px; line-height: 1.5; }
    .c2_vs .c2_pv_cap { font-size: 9.5px; margin-bottom: 8px; }
    .c2_vs .c2_pv_label { font-size: 15px; }
    .c2_vs .c2_pv_q { font-size: 20px; }
    .c2_born_card .c2_pv_cap { font-size: 10.5px; }
    .c2_born { height: 46px; margin: 0 0 -4px; }
    .c2 .c2_born_card { padding: 16px; }
    .c2 .c2_born_card .c2_pv { max-width: 320px; }
}

/* Phones, second try (Trish: side by side "doesn't look good"): stacked – each card full width with its diagram
   kept compact and centred, a small VS between them, and the two coloured lines meeting in the spark above
   the idea's card. Captions stay one small line; diagram labels keep their normal size. */
@media (max-width: 600px) {
    .c2_vs { grid-template-columns: 1fr; gap: 10px; position: static; }
    .c2_vs_mark { position: static; transform: none; margin: -2px 0; }
    .c2_vs_mark span { width: 44px; height: 44px; font-size: 13px; box-shadow: 0 0 0 5px var(--c2-bg), 0 0 20px rgba(201, 166, 255, 0.25); }
    .c2 .c2_vs .card, .c2 .c2_born_card { padding: 16px 16px 18px; }
    #problem .c2_pv { max-width: 250px; margin: 0 auto 8px; }
    #problem .c2_pv_cap { font-size: 10.5px; letter-spacing: 0.02em; margin-bottom: 6px; }
    #problem .card h3 { font-size: 16px; }
    #problem .card p { font-size: 14px; line-height: 1.55; }
    .c2_vs .c2_pv_label { font-size: 10px; }
    .c2_vs .c2_pv_q { font-size: 15px; }
    .c2_born { height: 52px; margin: 2px 0 -4px; }
}

/* Phones, third try: rails. The scripts card sends a rose line down the left edge, the AI card a violet line
   down the right edge; below them the two curve in and meet in the spark – so both ideas visibly feed the third.
   Wider screens draw the lines from the two cards' centres instead (.c2_born_wide). */
.c2_born_phone { display: none; }
@media (max-width: 600px) {
    .c2_born_wide { display: none; }
    .c2_born_phone { display: inline; }
    .c2_vs { position: relative; padding: 0 14px; }
    .c2_vs::before {
        content: ""; position: absolute; left: 4px; top: 56px; bottom: 0; width: 2px; border-radius: 2px;
        background: linear-gradient(180deg, rgba(255, 157, 176, 0), var(--c2-rose) 30px);
    }
    .c2_vs > .card:last-child { position: relative; overflow: visible; }
    .c2_vs > .card:last-child::after {
        content: ""; position: absolute; right: -10px; top: 46px; bottom: -1px; width: 2px; border-radius: 2px;
        background: linear-gradient(180deg, rgba(201, 166, 255, 0), var(--c2-violet) 30px);
    }
    .c2 .c2_vs > .card:first-child { border-color: rgba(255, 157, 176, 0.32); }
    .c2 .c2_vs > .card:last-child { border-color: rgba(201, 166, 255, 0.32); }
    .c2_vs_mark { margin: -4px 0; }
    .c2_born { height: 64px; margin: 0 0 -2px; }
}

/* Overall progress in the Progress card (28 Nov): the big figure and bar, then three small meters. */
.c2 .mc_overall { margin: 16px 0 12px; padding: 16px 18px; border: 1px solid var(--c2-line); border-radius: 14px; background: rgba(255, 255, 255, 0.02); }
.c2 .mc_overall_head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.c2 .mc_overall_head span { color: var(--c2-muted); font: 600 11.5px/1.4 var(--c2-mono); letter-spacing: 0.08em; text-transform: uppercase; }
.c2 .mc_overall_head strong { color: var(--c2-text); font-size: 30px; font-weight: 650; letter-spacing: -0.02em; line-height: 1; }
.c2 .mc_bar.mc_bar_overall { height: 12px; margin: 10px 0 14px; }
.c2 .mc_bar.mc_bar_overall span { background: linear-gradient(90deg, var(--c2-teal), var(--c2-cyan) 55%, var(--c2-violet)); }
.c2 .mc_overall_parts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.c2 .mc_overall_part { display: grid; grid-template-columns: 1fr auto; align-items: baseline; column-gap: 8px; }
.c2 .mc_overall_name { color: var(--c2-muted); font-size: 13px; }
.c2 .mc_overall_num { color: var(--c2-text); font: 600 12.5px var(--c2-mono); }
.c2 .mc_overall_part .mc_bar { grid-column: 1 / -1; height: 6px; margin: 6px 0 0; }
@media (max-width: 600px) { .c2 .mc_overall_parts { grid-template-columns: 1fr; gap: 10px; } .c2 .mc_overall_head strong { font-size: 26px; } }

/* Phone rails joined to their cards (Trish: "missing lines"): each rail leaves its card through a rounded corner
   – rose out of the scripts card's left edge, violet out of the AI card's right edge – then runs down to the
   spark. One element per rail: its top border is the stub into the card, its side border the rail. */
@media (max-width: 600px) {
    .c2_vs::before {
        left: 4px; top: 58px; width: 10px; bottom: 0;
        background: none; border-radius: 12px 0 0 0;
        border-top: 2px solid var(--c2-rose); border-left: 2px solid var(--c2-rose);
    }
    .c2_vs > .card:last-child::after {
        right: -11px; top: 48px; width: 10px; bottom: -1px;
        background: none; border-radius: 0 12px 0 0;
        border-top: 2px solid var(--c2-violet); border-right: 2px solid var(--c2-violet);
    }
}

/* + and = (Trish 28 Nov): scripts + free-running AI = the idea. The "+" sits between the two cards, the "="
   where their lines meet, as a badge like the "+" but in the idea's cyan. */
.c2_vs_mark span { font-size: 26px; font-weight: 600; letter-spacing: 0; }
.c2_spark.c2_eq {
    display: grid; place-items: center; width: 44px; height: 44px; margin-left: -22px; bottom: -22px; z-index: 2;
    border: 1px solid rgba(127, 230, 242, 0.6); border-radius: 50%;
    background: radial-gradient(circle at 50% 40%, rgba(127, 230, 242, 0.28), rgba(7, 8, 10, 0.95) 70%);
    color: var(--c2-cyan); font: 600 24px/1 var(--c2-mono);
    box-shadow: 0 0 0 5px var(--c2-bg), 0 0 26px rgba(127, 230, 242, 0.45);
}
.c2_born { margin-bottom: 14px; }
@media (max-width: 600px) {
    .c2_vs_mark span { font-size: 22px; }
    .c2_spark.c2_eq { width: 38px; height: 38px; margin-left: -19px; bottom: -19px; font-size: 20px; }
}

/* Phone type scale (Trish 28 Nov: "some areas have big font size"): one step down for every level on phones –
   the title, headings, the ambition's quote, card headings and body text – so a screen holds more and nothing
   shouts. */
@media (max-width: 600px) {
    .c2 .c2_hero h1 { font-size: 56px; }
    .c2 main h2 { font-size: 23px; margin-bottom: 14px; }
    .c2 .c2_expand { font-size: 17px; }
    .c2 .c2_quote { font-size: 18px; line-height: 1.4; }
    .c2 main h3 { font-size: 16.5px !important; } /* (several card headings carry more specific desktop sizes) */
    .c2 .c2_intro, .c2 .c2_lede { font-size: 15px; line-height: 1.55; }
    .c2 main .card p, .c2 main dd, .c2 .c2_stands { font-size: 14.5px; line-height: 1.55; }
    .c2 .c2_acro span strong { font-size: 15px; }
}

/* "Does your business need it?" (28 Nov): three cards like the business ones; the contact card's small print. */
.c2_fit { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--c2-gap); }
.c2 .c2_fit .card { padding: 24px; }
.c2 .c2_fit .card h3 { margin: 0 0 8px; font-size: 18px; }
.c2 .c2_fit .card p { font-size: 15.5px; }
.c2 .c2_small { margin: 10px 0 0; color: var(--c2-muted); font-size: 13px; }
@media (max-width: 860px) { .c2_fit { grid-template-columns: 1fr; } .c2 .c2_fit .card { padding: 18px; } }
@media (max-width: 600px) { .c2 .c2_fit .card p { font-size: 14.5px; line-height: 1.55; } .c2 .c2_close .c2_lede { font-size: 15px; } }

/* Glow, third pass (Trish 28 Nov): no blur – the lit dots are as crisp and as small as the background's own;
   only their brightness fades with distance from the pointer. One layer; the blurred ring is gone. */
@media (hover: hover) and (pointer: fine) {
    body.c2::after { display: none; }
    body.c2::before {
        background-image: radial-gradient(rgba(200, 250, 255, 1) 0, rgba(127, 230, 242, 0.95) 1.1px, transparent 1.8px);
        -webkit-mask-image: radial-gradient(83px circle at var(--mx, -999px) var(--my, -999px), #000 0%, rgba(0, 0, 0, 0.7) 30%, rgba(0, 0, 0, 0.3) 62%, transparent 100%);
        mask-image: radial-gradient(83px circle at var(--mx, -999px) var(--my, -999px), #000 0%, rgba(0, 0, 0, 0.7) 30%, rgba(0, 0, 0, 0.3) 62%, transparent 100%);
    }
}

/* Dock, sixth pass: no transitions on the boxes or the grid – claire.js eases the whole strip as one and sets
   every column's zoom, padding and floor height itself each frame. Columns always sit centred; while the effect
   is off they carry no variables and the strip is the plain straight panel. */
@media (hover: hover) and (pointer: fine) and (min-width: 1000px) {
    .c2 .c2_acro.c2_dock, .c2 .c2_acro.c2_dock li, .c2 .c2_acro.c2_dock b { transition: none !important; }
    .c2 .c2_acro.c2_dock.c2_docking { align-items: center; }
    .c2 .c2_acro.c2_dock.c2_docking li {
        zoom: var(--z, 1);
        padding-top: var(--pt, 38px); padding-bottom: var(--pb, 24px);
        min-height: var(--minh, 0px);
    }
}

/* The strip keeps its resting height in the page while it bulges (Trish 28 Nov): claire.js holds the height and
   the row of columns centres on it, overflowing equally above and below into the space around – so the
   sections below never move. */
@media (hover: hover) and (pointer: fine) and (min-width: 1000px) {
    .c2 .c2_acro.c2_dock.c2_docking { align-content: unsafe center; }
}

/* A clean trapezoid (Trish 28 Nov): each column's height is set from its distance to the mouse alone – not from
   how much text it holds – so the shape always steps down evenly from the mouse, never sagging in the middle. */
@media (hover: hover) and (pointer: fine) and (min-width: 1000px) {
    .c2 .c2_acro.c2_dock.c2_docking li { height: var(--minh, auto); box-sizing: border-box; }
}

/* Dock, seventh pass – a picture, not a reflow (Trish 28 Nov). At rest the wrapper is display: contents. While the
   dock runs, each column drops its own padding and holds one box the size of a resting column (--w0 × --h0, with
   the resting padding and spacing inside), scaled by --s from its top-left corner – so the text keeps its line
   breaks and the font grows and shrinks with the column; the column's height is the resting height × --s. */
.c2_dock_in { display: contents; }
@media (hover: hover) and (pointer: fine) and (min-width: 1000px) {
    .c2 .c2_acro.c2_dock.c2_docking li {
        zoom: 1 !important; padding: 0 !important; min-height: 0 !important;
        height: var(--h, auto) !important; overflow: visible; gap: 0;
    }
    .c2 .c2_acro.c2_dock.c2_docking .c2_dock_in {
        display: flex; flex-direction: column; gap: 14px; box-sizing: border-box;
        width: var(--w0); height: var(--h0); padding: 38px 16px 24px;
        transform: scale(var(--s, 1)); transform-origin: 0 0;
    }
}

/* The ambition's quote (28 Nov): as wide as the cards under it, lines balanced, "day-to-day" never split. */
.c2 .c2_quote { max-width: none; text-wrap: balance; }
.c2_nowrap { white-space: nowrap; }

/* Hover (Trish 28 Nov): every see-through box tints ever so slightly – a touch lighter, a hint of teal – and
   its border lifts a little. Only the base colour changes, so each box keeps its own gradient on top. */
body.c2 { --c2-panel-hover: rgba(22, 28, 34, 0.8); }
.c2 main .card, .c2 main > .c2_close, .c2 .mc_overall, .c2 .c2_acro:not(.c2_dock) {
    transition: background-color 0.25s ease, border-color 0.25s ease;
}
@media (hover: hover) {
    .c2_dock_ground { transition: fill 0.25s ease; }
}
/* the hover tint takes its time (Trish 28 Nov): half a second, eased in and out */
.c2 main .card, .c2 main > .c2_close, .c2 .mc_overall, .c2 .c2_acro:not(.c2_dock) { transition: background-color 0.5s ease-in-out, border-color 0.5s ease-in-out; }
.c2_dock_ground { transition: fill 0.5s ease-in-out; }
/* the hover tint is bluish, not lighter (Trish 28 Nov): same darkness, shifted to the page's navy, and the border
   takes a hint of its cyan */
body.c2 { --c2-panel-hover: rgba(10, 20, 34, 0.8); }
@media (hover: hover) {
}

/* The mouse position stops at <main> (29 Nov, the map hang): nothing inside takes it from <body>; claire.js sets
   it on each spotlight box itself (inline, so it wins over this), so a mouse move restyles only those boxes. */
body.c2 main * { --mx: -999px; --my: -999px; --sx: 0px; --sy: 0px; }

/* One blue spotlight round the mouse across ALL the boxes (Trish 28 Nov – not box by box): each box carries a
   layer with the same radial gradient fixed to the window at the mouse (--mx/--my from claire.js), so the light
   runs continuously over neighbouring boxes – strongest near the pointer, fading with distance. It eases in and
   out (half a second) as the mouse enters and leaves the page. */
@media (hover: hover) and (pointer: fine) {
    .c2 main .card, .c2 main > .c2_close { position: relative; isolation: isolate; }
    .c2 main .card:not(.c2_vs > .card:last-child)::after, .c2 main > .c2_close::after { /* (::before numbers the steps; the last versus card's ::after is its phone rail) */
        content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
        background: radial-gradient(240px circle at var(--mx, -999px) var(--my, -999px), rgba(60, 140, 220, 0.2), rgba(60, 140, 220, 0.07) 45%, transparent 100%) fixed;
        opacity: 0; transition: opacity 0.5s ease-in-out;
    }
    body.c2.c2_lit main .card:not(.c2_vs > .card:last-child)::after, body.c2.c2_lit main > .c2_close::after { opacity: 1; }
    .c2_dock_glow { opacity: 0; transition: opacity 0.5s ease-in-out; pointer-events: none; }
    body.c2.c2_lit .c2_dock_glow { opacity: 1; }
}
/* the AI versus card keeps ::after for its phone rail, so on wider screens its spotlight rides on ::before */
@media (hover: hover) and (pointer: fine) and (min-width: 601px) {
    .c2 .c2_vs > .card:last-child { position: relative; isolation: isolate; }
    .c2 .c2_vs > .card:last-child::before {
        content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
        background: radial-gradient(240px circle at var(--mx, -999px) var(--my, -999px), rgba(60, 140, 220, 0.2), rgba(60, 140, 220, 0.07) 45%, transparent 100%) fixed;
        opacity: 0; transition: opacity 0.5s ease-in-out;
    }
    body.c2.c2_lit .c2_vs > .card:last-child::before { opacity: 1; }
}

/* The idea's card (Trish 28 Nov: "UI issue"): its caption back to the small cyan label (a card rule had made it
   15.5px and white), the text centred beside the diagram, and the "=" badge clear of the card's top. */
.c2 #problem .c2_born_card .c2_pv_cap { font: 600 11.5px/1.4 var(--c2-mono); letter-spacing: 0.03em; color: var(--c2-cyan); margin: 0 0 6px; }
.c2 .c2_born_card { grid-template-rows: auto auto auto; align-content: center; row-gap: 0; }
.c2 .c2_born_card .c2_pv { grid-row: 1 / span 3; align-self: center; }
.c2 .c2_born_card h3 { margin: 0 0 8px; }
.c2_born { margin-bottom: 30px; }
@media (max-width: 860px) { .c2 .c2_born_card { grid-template-rows: none; } .c2 .c2_born_card .c2_pv { grid-row: auto; } }
@media (max-width: 600px) { .c2 #problem .c2_born_card .c2_pv_cap { font-size: 10.5px; } .c2_born { margin-bottom: 26px; } }
/* (the text sits as one group in the middle rows; the diagram spans all of them) */
@media (min-width: 861px) {
    .c2 .c2_born_card { grid-template-rows: 1fr auto auto auto 1fr; }
    .c2 .c2_born_card .c2_pv { grid-row: 1 / -1; }
    .c2 .c2_born_card .c2_pv_cap { grid-row: 2; }
    .c2 .c2_born_card h3 { grid-row: 3; }
    .c2 .c2_born_card .c2_pv_cap ~ p { grid-row: 4; }
}

/* Header (28 Nov): seven stops, and where the row must still scroll its edge fades rather than cutting a word */
.c2 .sections {
    -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent);
    mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent);
    padding-right: 22px;
}
@media (min-width: 1100px) { .c2 .sections { -webkit-mask-image: none; mask-image: none; padding-right: 2px; } }
/* phones: the seven stops wrap onto two short rows – all visible, nothing to scroll */
@media (max-width: 600px) {
    .c2 .sections { flex-wrap: wrap; overflow: visible; gap: 6px 16px; padding-right: 2px; -webkit-mask-image: none; mask-image: none; }
    .c2 .sections a { font-size: 13.5px; }
}

/* Test runs (28 Nov): Server 3's repeat tests under Progress – the overall block's look, one row per test */
.c2 .mc_tests { margin-top: 16px; }
.c2 .mc_tests_list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 22px; }
.c2 .mc_test { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; column-gap: 8px; }
.c2 .mc_test .mc_bar { grid-column: 1 / -1; height: 6px; margin: 6px 0 0; }
.c2 .mc_test_note { grid-column: 1 / -1; margin-top: 5px; color: var(--c2-muted); font-size: 12.5px; }
.c2 .mc_test:not(.mc_test_all) .mc_bar span { background: linear-gradient(90deg, var(--c2-teal), var(--c2-cyan)); opacity: 0.75; }
@media (max-width: 600px) { .c2 .mc_tests_list { grid-template-columns: 1fr; gap: 12px; } }

/* Today / Planned tags (Trish 28 Nov): the card text rules (15.5px, phones 14.5px) had made these small labels
   as big as the text under them – back to label size everywhere */
.c2 main .c2_roadmap .card p.c2_tag { font-size: 11px; line-height: 1.6; padding: 2px 9px; }
@media (max-width: 600px) { .c2 main .c2_roadmap .card p.c2_tag { font-size: 10.5px; margin-bottom: 10px; } }

/* Deep Neural Network (Trish 28 Nov, "UI is not good"): the page's focus ring was drawn round the SVG nodes too –
   a box cutting through the dot. Inside the maps' SVG the nodes show focus with their own halo instead. */
.c2 svg [tabindex]:focus-visible, .c2 svg [tabindex]:focus { outline: none; }

/* What Claire is working on (28 Nov): the live pipeline strip above the maps */
.c2 .mc_pipe { margin: 4px 0 18px; padding: 16px 18px; }
.c2 .mc_pipe_head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.c2 .mc_pipe_head h3 { margin: 0; font-size: 15px; }
.c2 .mc_pipe_ago { color: var(--c2-muted); font: 500 12px var(--c2-mono); }
.c2 .mc_pipe_stage { display: inline-block; padding: 1px 8px; border: 1px solid var(--c2-line); border-radius: 999px; color: var(--c2-muted); font: 600 11px/1.6 var(--c2-mono); white-space: nowrap; }
.c2 .mc_pipe_s_building, .c2 .mc_pipe_s_testing { border-color: rgba(201, 166, 255, 0.55); color: var(--c2-violet); }
.c2 .mc_pipe_s_deployed { border-color: rgba(127, 230, 242, 0.45); color: var(--c2-cyan); }
.c2 .mc_pipe_s_harness { border-color: #c8ebff; color: #e6f6ff; background: rgba(200, 235, 255, 0.08); }
.c2 .mc_pipe_s_results, .c2 .mc_pipe_s_sim { border-color: rgba(76, 214, 160, 0.55); color: #7fe0b5; }
.c2 .mc_pipe_live { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 12px 0 0; padding: 8px 12px; border-radius: 10px; background: rgba(200, 235, 255, 0.06); font-size: 14px; }
.c2 .mc_pipe_pulse { width: 8px; height: 8px; border-radius: 50%; background: #c8ebff; box-shadow: 0 0 0 0 rgba(200, 235, 255, 0.6); animation: mc_pipe_ripple 1.8s ease-out infinite; }
@keyframes mc_pipe_ripple { to { box-shadow: 0 0 0 10px rgba(200, 235, 255, 0); } }
@media (prefers-reduced-motion: reduce) { .c2 .mc_pipe_pulse { animation: none; } }
.c2 .mc_pipe_items { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; }
.c2 .mc_pipe_item { padding: 10px 12px; border: 1px solid var(--c2-line); border-radius: 10px; }
.c2 .mc_pipe_row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 10px; }
.c2 .mc_pipe_row strong { color: var(--c2-text); font-size: 14.5px; font-weight: 600; }
.c2 .mc_pipe_meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-top: 6px; color: var(--c2-muted); font-size: 12.5px; }
.c2 .mc_pipe_steps { display: inline-flex; gap: 4px; }
.c2 .mc_pipe_steps i { width: 14px; height: 4px; border-radius: 2px; background: #252a33; }
.c2 .mc_pipe_steps i.past { background: rgba(127, 230, 242, 0.45); }
.c2 .mc_pipe_steps i.on { background: var(--c2-cyan); box-shadow: 0 0 6px rgba(127, 230, 242, 0.6); }
.c2 .mc_pipe_detail { margin: 6px 0 0; color: var(--c2-muted); font-size: 13px; }
.c2 .mc_pipe details { margin-top: 12px; }
.c2 .mc_pipe summary { cursor: pointer; color: var(--c2-muted); font-size: 13px; }
.c2 .mc_pipe_hist { margin: 8px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 13px; }
.c2 .mc_pipe_hist li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
/* the skill views' key: one plain line per status */
.c2 .mc_skill_key { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 22px; color: var(--c2-muted); font-size: 13px; }
.c2 .mc_skill_key[hidden] { display: none; }
@media (max-width: 600px) { .c2 .mc_skill_key { grid-template-columns: 1fr; } .c2 .mc_pipe { padding: 14px; } }

/* overall progress: drill progress beside "Skills learned" (28 Nov) */
.c2 .mc_overall_note { grid-column: 1 / -1; margin-top: 5px; color: var(--c2-muted); font-size: 12px; }

/* the skill maps' summary (28 Nov): planned → built → learning → trained → learned, top left over the map */
.c2 .mc_skill_sum { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin: 0 0 10px; color: var(--c2-muted); font-size: 13px; }
.c2 .mc_skill_sum[hidden] { display: none; }
.c2 .mc_sum_step strong { color: var(--c2-text); font: 650 15px var(--c2-mono); }
.c2 .mc_sum_learned strong { color: #ffffff; text-shadow: 0 0 8px rgba(255, 255, 255, 0.6); }
.c2 .mc_sum_failing { margin-left: 10px; color: #f0897f; }
.c2 .mc_sum_failing strong { color: #f0584c; }
.c2 .mc_sum_arrow { color: var(--c2-line); }

/* two Claires drilling at once (28 Nov): the live lines stack */
.c2 .mc_pipe_live + .mc_pipe_live { margin-top: 6px; }


/* status rules in the legend chips (28 Nov): hover / focus shows the rule; a tap keeps it open */
.mc_rule_chip { position: relative; cursor: help; text-decoration: underline dotted rgba(184, 194, 204, 0.45); text-underline-offset: 3px; border-radius: 4px; }
.mc_rule_chip:focus-visible { outline: 2px solid #5eead4; outline-offset: 2px; }
.mc_rule_tip {
    position: absolute; left: 0; bottom: calc(100% + 8px); z-index: 20; width: max-content; max-width: min(270px, 78vw);
    padding: 7px 10px; border-radius: 8px; background: #0c1826; border: 1px solid rgba(94, 234, 212, 0.35);
    color: #dbe7f0; font: 500 12px/1.4 system-ui, sans-serif; letter-spacing: 0; text-transform: none; text-decoration: none; white-space: normal;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45); pointer-events: none; opacity: 0; visibility: hidden; transform: translateY(3px);
    transition: opacity 0.12s, transform 0.12s, visibility 0s linear 0.12s;
}
.mc_rule_tip::before, .mc_rule_tip::after { content: none !important; }
.mc_rule_chip:hover .mc_rule_tip, .mc_rule_chip:focus-visible .mc_rule_tip, .mc_rule_chip.mc_rule_open .mc_rule_tip {
    opacity: 1; visibility: visible; transform: none; transition: opacity 0.12s, transform 0.12s;
}
@media (prefers-reduced-motion: reduce) { .mc_rule_tip { transition: none; transform: none; } }

/* ---- How Claire learns (28 Nov): the training loop as a flowchart; status looks as on the maps ---- */
.c2 { --c2-tr-ok: #3fd77f; --c2-tr-coach: #f0c35a; --c2-tr-fail: #ff9db0; }
.c2_train_lead { max-width: 760px; color: var(--c2-muted); }
.c2_train_phases { list-style: none; margin: 14px 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.c2_train_phases li { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px 5px 5px; border: 1px solid var(--c2-line-hi); border-radius: 999px; font-size: 13px; color: var(--c2-text); background: var(--c2-panel); }
.c2_train_phases li strong { display: inline-grid; place-items: center; min-width: 22px; height: 22px; border-radius: 999px; background: rgba(63, 215, 127, 0.16); color: var(--c2-tr-ok); font: 600 12px/1 var(--c2-mono); }
.c2_train_phases li:not(:last-child)::after { content: "→"; margin-left: 4px; color: var(--c2-muted); }
.c2_train_phases li.c2_train_more { padding: 5px 11px; color: var(--c2-muted); }
.c2 .card.c2_train { padding: 18px; }
.c2_train_svg { display: block; width: 100%; height: auto; overflow: visible; font-family: var(--c2-sans); }
.c2_train_phone { display: none; max-width: 420px; margin: 0 auto; }
@media (max-width: 760px) { .c2_train_wide { display: none; } .c2_train_phone { display: block; } .c2 .card.c2_train { padding: 12px 8px; } }
.c2_tr_box rect { fill: rgba(20, 26, 34, 0.95); stroke: var(--c2-line-hi); stroke-width: 1.2; }
.c2_tr_t { fill: var(--c2-text); font-size: 15px; font-weight: 600; }
.c2_tr_t_sm { font-size: 13.5px; }
.c2_tr_s { fill: var(--c2-muted); font-size: 11.5px; }
.c2_tr_k { fill: var(--c2-tr-coach); font: 10.5px var(--c2-mono); letter-spacing: 0.04em; text-transform: uppercase; }
.c2_tr_frame { fill: rgba(63, 215, 127, 0.035); stroke: rgba(63, 215, 127, 0.4); stroke-width: 1.2; stroke-dasharray: 6 5; }
.c2_tr_frame_t { fill: var(--c2-tr-ok); font: 600 11px var(--c2-mono); letter-spacing: 0.06em; text-transform: uppercase; }
.c2_tr_coach rect { fill: rgba(240, 195, 90, 0.05); stroke: rgba(240, 195, 90, 0.45); stroke-width: 1.2; stroke-dasharray: 3 4; }
.c2_tr_coach .c2_tr_t { fill: var(--c2-tr-coach); }
.c2_tr_exam rect { stroke: rgba(127, 230, 242, 0.6); }
.c2_tr_learned rect { stroke: rgba(63, 215, 127, 0.75); fill: rgba(63, 215, 127, 0.07); }
.c2_tr_arrow { fill: none; stroke: #8b95a5; stroke-width: 1.6; stroke-linejoin: round; }
.c2_tr_arrow_go { stroke: var(--c2-tr-ok); }
.c2_tr_arrow_fail { stroke: var(--c2-tr-fail); stroke-dasharray: 5 4; }
.c2_tr_arrow_coach { stroke: var(--c2-tr-coach); stroke-dasharray: 2 4; }
.c2_tr_head { fill: #8b95a5; }
.c2_tr_head_fail { fill: var(--c2-tr-fail); }
.c2_tr_head_coach { fill: var(--c2-tr-coach); }
.c2_tr_edge { fill: var(--c2-text); font-size: 11.5px; }
.c2_tr_edge_fail { fill: var(--c2-tr-fail); }
.c2_tr_edge_coach { fill: var(--c2-tr-coach); }
.c2_tr_note { fill: var(--c2-muted); font: 10.5px var(--c2-mono); letter-spacing: 0.05em; }
.c2_tr_repeat path { fill: none; stroke: var(--c2-muted); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.c2_tr_llm rect { fill: rgba(138, 184, 255, 0.14); stroke: rgba(138, 184, 255, 0.6); }
.c2_tr_llm text { fill: var(--c2-blue); font: 600 10px var(--c2-mono); letter-spacing: 0.04em; }
.c2_tr_surprise circle { fill: rgba(255, 157, 176, 0.16); stroke: var(--c2-tr-fail); }
.c2_tr_surprise text { fill: var(--c2-tr-fail); font: 700 12px var(--c2-sans); }
.c2_tr_who rect { fill: rgba(255, 255, 255, 0.025); stroke: var(--c2-line-hi); }
.c2_tr_who text { fill: var(--c2-muted); font-size: 12px; }
.c2_tr_who_k { fill: var(--c2-text); font-weight: 600; }
/* status looks, as on the maps: built dim solid · learning outline + centre · trained solid + bright ring · learned shining */
.c2_tr_st text { fill: var(--c2-muted); font: 10.5px var(--c2-mono); letter-spacing: 0.03em; }
.c2_tr_st_built circle { fill: var(--c2-tr-ok); opacity: 0.42; }
.c2_tr_st_learning circle { fill: none; stroke: var(--c2-tr-ok); stroke-width: 1.5; animation: c2_tr_pulse 2.6s ease-in-out infinite; }
.c2_tr_st_learning .c2_tr_core { fill: var(--c2-tr-ok); stroke: none; }
.c2_tr_st_trained circle { fill: var(--c2-tr-ok); }
.c2_tr_st_trained .c2_tr_ring { fill: none; stroke: #ebfff0; stroke-width: 1.2; }
.c2_tr_st_learned path { fill: #c9ffd9; filter: drop-shadow(0 0 4px rgba(63, 215, 127, 0.9)); }
.c2_tr_st_learned text { fill: var(--c2-tr-ok); }
@keyframes c2_tr_pulse { 0%, 100% { opacity: 0.55; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .c2_tr_st_learning circle { animation: none; } }
.c2_train_rules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--c2-gap); margin-top: var(--c2-gap); }
.c2_train_rules h3 { margin-top: 0; }
@media (max-width: 900px) { .c2_train_rules { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .c2_train_rules { grid-template-columns: 1fr; } }
.c2_tr_head_go { fill: var(--c2-tr-ok); }

/* "being switched on now" (28 Nov): drop when Server 3 says the debrief / experience / LLM check are live */
.c2_train_now { display: flex; align-items: baseline; gap: 9px; margin: 0 0 12px; padding: 9px 13px; border: 1px solid rgba(240, 195, 90, 0.4); border-radius: 10px; background: rgba(240, 195, 90, 0.06); color: var(--c2-muted); font-size: 13.5px; }
.c2_train_now strong { color: var(--c2-amber); }
.c2_train_now_dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--c2-amber); animation: c2_tr_pulse 2s ease-in-out infinite; transform: translateY(-1px); }
@media (prefers-reduced-motion: reduce) { .c2_train_now_dot { animation: none; } }

/* UI fixes (28 Nov): the repeat loop is a clean 3/4 circle with its head along the curve; the LLM badges are solid so box edges don't show through */
.c2_tr_repeat { fill: none; stroke: var(--c2-muted); stroke-width: 1.5; stroke-linecap: round; }
.c2_tr_head_rep { fill: var(--c2-muted); }
.c2_tr_llm rect { fill: #13203a; stroke: rgba(138, 184, 255, 0.7); }

/* balanced box text (Trish 28 Nov): a smaller title over the lines, the block centred in each box */
.c2_tr_t { font-size: 13.5px; }
.c2_tr_t_sm { font-size: 13px; }

/* flowchart info (Trish 28 Nov): every box has an (i); hover, focus or tap shows its text */
.c2 .card.c2_train { position: relative; }
.c2_tr_hot { cursor: help; outline: none; }
.c2_tr_hot:hover rect, .c2_tr_hot:focus-visible rect, .c2_tr_hot.c2_tr_on rect { stroke: var(--c2-cyan); }
.c2_tr_coach.c2_tr_hot:hover rect, .c2_tr_coach.c2_tr_on rect { stroke: var(--c2-tr-coach); }
.c2_tr_hot_label:focus-visible .c2_tr_i circle { stroke: var(--c2-cyan); stroke-width: 2; }
.c2_tr_i circle { fill: #10161f; stroke: #6b7686; stroke-width: 1.1; }
.c2_tr_i text { fill: #c4ccd6; font: italic 700 10px Georgia, "Times New Roman", serif; }
.c2_tr_hot:hover .c2_tr_i circle, .c2_tr_hot.c2_tr_on .c2_tr_i circle { stroke: var(--c2-cyan); }
.c2_tr_hot:hover .c2_tr_i text, .c2_tr_hot.c2_tr_on .c2_tr_i text { fill: var(--c2-cyan); }
.c2_train_pop { position: absolute; z-index: 5; width: max-content; max-width: min(320px, calc(100% - 24px)); padding: 11px 13px; border-radius: 10px;
    background: #0d151f; border: 1px solid rgba(127, 230, 242, 0.4); box-shadow: 0 10px 28px rgba(0, 0, 0, 0.55); pointer-events: none; }
.c2_train_pop[hidden] { display: none; }
.c2_train_pop h3 { margin: 0 0 4px; font-size: 14px; color: var(--c2-text); }
.c2_train_pop p { margin: 0; font-size: 13px; line-height: 1.5; color: var(--c2-muted); }

.c2 .c2_train .c2_train_pop h3 { margin: 0 0 4px; font-size: 14px; line-height: 1.3; }
.c2 .c2_train .c2_train_pop p { margin: 0; font-size: 13px; line-height: 1.5; }
body.c2 .c2_train .c2_train_pop h3 { font-size: 14px; }
/* the "being switched on now" line flows as one paragraph (phones too) */
.c2_train_now { display: block; }
.c2_train_now_dot { display: inline-block; margin-right: 8px; vertical-align: 1px; }
.c2 .c2_train .c2_train_pop .c2_pop_t { display: block; margin: 0 0 4px; font-size: 14px; line-height: 1.3; color: var(--c2-text); }

/* ways back (28 Nov): failing → drills (sim side planned), next phase → coaching */
.c2_tr_st_failing circle { fill: none; stroke: #ff6b81; stroke-width: 1.8; stroke-dasharray: 4 3; }
.c2_tr_st_failing text { fill: var(--c2-tr-fail); }
.c2_tr_planned { stroke-dasharray: 2 5; opacity: 0.85; }
.c2_tr_back { stroke-dasharray: none; opacity: 0.8; }

/* "How Claire learns" text (Trish 29 Nov): the intro runs the full width; the who-learns-what note is one paragraph that fills its box and wraps by itself */
.c2 #training .c2_lede { max-width: none; }
.c2 .c2_train .c2_train_who { margin: 14px 0 0; padding: 11px 14px; border: 1px solid var(--c2-line-hi); border-radius: 10px; background: rgba(255, 255, 255, 0.025); color: var(--c2-muted); font-size: 13.5px; line-height: 1.55; }
.c2 .c2_train .c2_train_who strong { color: var(--c2-text); }
/* a hidden rule bubble takes no room (29 Nov: on phones the right-hand ones widened the page) */
.mc_rule_tip { display: none; transition: none; }
.mc_rule_chip:hover .mc_rule_tip, .mc_rule_chip:focus-visible .mc_rule_tip, .mc_rule_chip.mc_rule_open .mc_rule_tip { display: block; }

/* the DNN's static strip sits under its panel (29 Nov): the tooltip is placed in the view box */
.c2 .mc_view:not(.mc_full) { position: relative; }
.mc_view.mc_full:has(.mcd_static) { overflow-y: auto; }

/* Test runs (29 Nov): the per-test list under a dropdown; 4 a row on wide screens, then 3, 2, 1 */
.c2 .mc_tests_more { margin-top: 12px; }
.c2 .mc_tests_more > summary { cursor: pointer; color: var(--c2-muted); font-size: 13px; }
.c2 .mc_tests_more[open] > summary { margin-bottom: 12px; }
.c2 .mc_tests_list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 20px; }
@media (max-width: 1100px) { .c2 .mc_tests_list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 820px) { .c2 .mc_tests_list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .c2 .mc_tests_list { grid-template-columns: 1fr; gap: 12px; } }
/* "What Claire is working on" sits under the maps (Trish 29 Nov) */
.c2 #tree .mc_pipe { margin-top: 16px; margin-bottom: 0; }

/* phones (Trish 29 Nov): Full screen as an icon in the map box's top-right corner; the views on one row (it scrolls sideways when the four don't fit);
   the status line on one line – all one small size, numbers bold */
.c2 .mc_full_in { position: absolute; top: 10px; right: 10px; z-index: 7; margin: 0; }
.c2 .mc_full_in .mc_fullbtn { padding: 7px; font-size: 0; gap: 0; border-radius: 9px; background: rgba(8, 16, 26, 0.85); }
.c2 .mc_full_in .mc_fullbtn svg { width: 15px; height: 15px; }
.c2 #mcNeural.mc_has_full .mcn_controls { right: 54px; }
@media (max-width: 600px) {
    .c2 #tree .mc_toolbar .mc_views { flex-wrap: nowrap; gap: 6px; max-width: 100%; min-width: 0; overflow-x: auto; scrollbar-width: none; }
    .c2 #tree .mc_toolbar .mc_views::-webkit-scrollbar { display: none; }
    .c2 #tree .mc_toolbar .mc_views button { flex: 0 0 auto; padding: 6px 10px; font-size: 12.5px; white-space: nowrap; }
    .c2 .mc_skill_sum { flex-wrap: nowrap; gap: 0 4px; font-size: 11.5px; white-space: nowrap; max-width: 100%; min-width: 0; overflow-x: auto; scrollbar-width: none; } /* (one line: it scrolls sideways when all the steps show) */
    .c2 .mc_sum_step strong { font: 700 11.5px var(--c2-sans); }
    .c2 .mc_sum_arrow { font-size: 10px; }
    .c2 .mc_sum_failing { margin-left: 4px; }
}
/* easier to tap on phones (29 Nov): the dropdown lines and the map legend's link toggles */
.c2 .mc_tests_more > summary, .c2 .mc_pipe details > summary { padding: 5px 0; }
@media (max-width: 600px) { .c2 .mcd_lg_toggle, .c2 .mcn_lg_toggle { padding: 4px 0; } }
@media (max-width: 600px) { .c2 .mc_pipe_live strong { display: block; } .c2 .mc_pipe_sep { display: none; } }
@media (max-width: 600px) { .c2 .mc_pipe_row strong { flex-basis: 100%; } } /* the stage badge always under the title on phones (29 Nov) */
/* the groups in the list: game drills, chat drills, the held-out check */
.c2 .mc_tests_sub { margin: 18px 0 10px; color: var(--c2-muted); font-size: 13px; font-weight: 600; }

/* ---- Phase table (Trish 29 Nov): every phase from 0 up, a fourth view by the maps; phones stack each row ---- */
.c2 .c2_phases { margin: 0; padding: 22px 24px; }
/* its own view (a fourth button by the maps): in full screen the table scrolls; on phones the Full screen icon sits top right, so the rule line keeps clear of it */
.mc_view.mc_full.c2_phases_view { overflow-y: auto; padding-top: 8px; }
.c2 .c2_phases_view.mc_has_full .c2_phases_rule { padding-right: 44px; }
.c2 .c2_phases .c2_phases_rule { margin: 0 0 14px; color: var(--c2-muted); font-size: 14px; }
.c2 .c2_phase_tbl { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.5; }
.c2 .c2_phase_tbl th { padding: 0 12px 8px 0; border-bottom: 1px solid var(--c2-line-hi); color: var(--c2-muted); font-family: var(--c2-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-align: left; text-transform: uppercase; }
.c2 .c2_phase_tbl td { padding: 11px 12px 11px 0; border-bottom: 1px solid var(--c2-line); color: var(--c2-text); vertical-align: top; }
.c2 .c2_phase_tbl tr:last-child td { border-bottom: 0; }
.c2 .c2_phase_tbl td:nth-child(2), .c2 .c2_phase_tbl td:nth-child(4) { color: var(--c2-muted); }
.c2 .c2_phase_tbl td:nth-child(4) { width: 22%; font-size: 13px; }
.c2 .c2_phase_tbl th:last-child, .c2 .c2_phase_tbl td:last-child { padding-right: 0; }
.c2 .c2_phase_tbl .c2_ph_id { width: 27%; }
.c2 .c2_phase_tbl .c2_ph_id strong { font-weight: 600; }
.c2 .c2_ph_no { display: inline-block; min-width: 22px; margin-right: 8px; padding: 1px 0; border: 1px solid var(--c2-line-hi); border-radius: 6px; color: var(--c2-cyan); font-family: var(--c2-mono); font-size: 12px; font-weight: 700; text-align: center; }
.c2 .c2_phase_tbl .c2_tag { margin: 0; white-space: nowrap; }
@media (max-width: 600px) {
    .c2 .c2_phases { padding: 18px 16px; }
    .c2 .c2_phase_tbl thead { display: none; }
    .c2 .c2_phase_tbl, .c2 .c2_phase_tbl tbody, .c2 .c2_phase_tbl tr, .c2 .c2_phase_tbl td { display: block; width: auto; }
    .c2 .c2_phase_tbl tr { padding: 12px 0; border-bottom: 1px solid var(--c2-line); }
    .c2 .c2_phase_tbl tr:last-child { border-bottom: 0; }
    .c2 .c2_phase_tbl td { padding: 0; border: 0; }
    .c2 .c2_phase_tbl .c2_ph_id { display: flex; align-items: center; justify-content: flex-start; margin-bottom: 4px; }
    .c2 .c2_phase_tbl .c2_ph_id, .c2 .c2_phase_tbl td:nth-child(4) { width: auto; }
    .c2 .c2_phase_tbl td:nth-child(3) { margin-top: 8px; }
    .c2 .c2_phase_tbl td:nth-child(4) { margin-top: 4px; font-size: 12.5px; }
}

/* The phases' progress bars (Trish 29 Nov): each skill once, at its step, furthest first. A planned phase is an empty track. */
.c2 .c2_phase_tbl td.c2_ph_st { width: 19%; min-width: 130px; }
.c2 .c2_pb { position: relative; height: 10px; margin: 7px 0 7px; border-radius: 99px; overflow: hidden; }
.c2 .c2_pb_track { position: absolute; inset: 0; border-radius: inherit; background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px var(--c2-line-hi); }
.c2 .c2_pb_seg { position: absolute; top: 0; bottom: 0; border-radius: 99px; }
/* every step is a solid fill: Built, Trained, Learned (and Failing) stand still; Building, Training, Learning pulse in the
   colour of the step they lead to (Trish 30 Nov) – with reduced motion they are a still, softer fill */
.c2 .c2_pb_built { background: #2a5d66; }
.c2 .c2_pb_trained, .c2 .c2_pb_training { background: #3fe6d8; }
.c2 .c2_pb_learned, .c2 .c2_pb_learning { background: #ffffff; }
.c2 .c2_pb_failing { background: #b8443a; }
.c2 .c2_pb_building { background: #3f8792; }
.c2 .c2_pb_seg { border-radius: 0; }
.c2 .c2_pb_ing { animation: c2_pb_breathe 1.8s ease-in-out infinite alternate; }
@keyframes c2_pb_breathe { from { opacity: 0.3; } to { opacity: 0.9; } }
@media (prefers-reduced-motion: reduce) { .c2 .c2_pb_ing { animation: none; opacity: 0.5; } }
.c2 .c2_pb_note { display: block; color: var(--c2-muted); font-size: 12px; line-height: 1.4; }
.c2 .c2_pb_key { display: flex; flex-wrap: wrap; gap: 1px 10px; color: var(--c2-muted); font-size: 12px; line-height: 1.5; }
.c2 .c2_pb_k { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; cursor: help; }
.c2 .c2_pb_k b { color: var(--c2-text); font-weight: 700; }
.c2 .c2_pb_k i { flex: 0 0 auto; width: 8px; height: 8px; border-radius: 2px; }
.c2 .c2_pb_k i.c2_pb_planned { box-shadow: inset 0 0 0 1px var(--c2-line-hi); }
@media (max-width: 600px) {
    .c2 .c2_phase_tbl td.c2_ph_st { width: auto; min-width: 0; max-width: 260px; }
}

/* Each phase opens (Trish 29 Nov): a chevron before the phase number (the whole row clicks too) shows its exam and
   the drills it trains against, each with its goal and latest result */
.c2 .c2_ph_row { cursor: pointer; }
.c2 .c2_ph_row:hover td { background: rgba(127, 230, 242, 0.03); }
.c2 .c2_ph_tog { display: inline-grid; place-items: center; width: 22px; height: 22px; margin: 0 6px 0 -4px; padding: 0; border: 0; border-radius: 6px; background: none; color: var(--c2-muted); cursor: pointer; vertical-align: middle; }
.c2 .c2_ph_tog:hover { color: var(--c2-cyan); background: rgba(127, 230, 242, 0.08); }
.c2 .c2_ph_tog svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transform: rotate(-90deg); transition: transform 0.2s ease; }
.c2 .c2_ph_open .c2_ph_tog { color: var(--c2-cyan); }
.c2 .c2_ph_open .c2_ph_tog svg { transform: none; }
.c2 .c2_ph_open td { border-bottom-color: transparent; }
.c2 .c2_phase_tbl tr.c2_ph_more > td { padding: 0 0 16px; }
.c2 .c2_ph_more[hidden] { display: none; }
.c2 .c2_ph_detail { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 14px 24px; margin-left: 0; padding: 14px 16px; border: 1px solid var(--c2-line); border-radius: 10px; background: rgba(255, 255, 255, 0.02); }
.c2 .c2_ph_detail p { margin: 0 0 6px; color: var(--c2-text); font-size: 13.5px; }
.c2 .c2_ph_detail .c2_ph_none { grid-column: 1 / -1; margin: 0; color: var(--c2-muted); }
.c2 .c2_ph_detail .c2_ph_h { margin: 0 0 8px; color: var(--c2-muted); font-family: var(--c2-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.c2 .c2_ph_h span { margin-left: 6px; letter-spacing: 0.04em; color: var(--c2-text); }
.c2 .c2_ph_exst { text-transform: none; font-family: var(--c2-sans); font-weight: 600; color: var(--c2-muted) !important; }
.c2 .c2_ph_ex_passed { color: #4fe0d4 !important; }
.c2 .c2_ph_ex_failed { color: #ff9c8f !important; }
.c2 .c2_ph_st .c2_pb_note { margin-top: 2px; }
.c2 .c2_ph_off { display: grid; grid-template-columns: 1fr; gap: 3px 12px; margin: 0 0 10px; padding: 0 0 10px; border-bottom: 1px solid var(--c2-line); }
@media (max-width: 600px) { .c2 .c2_ph_off { grid-template-columns: 1fr; } }
.c2 .c2_ph_rules { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0; padding: 0; list-style: none; }
.c2 .c2_ph_rules li { padding: 2px 9px; border: 1px solid var(--c2-line-hi); border-radius: 99px; color: var(--c2-muted); font-size: 12px; }
.c2 .c2_ph_drills ul { margin: 0; padding: 0; list-style: none; }
.c2 .c2_ph_drills li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding: 7px 0; border-top: 1px solid var(--c2-line); }
.c2 .c2_ph_drills li:first-child { border-top: 0; padding-top: 0; }
.c2 .c2_ph_dname { color: var(--c2-text); font-size: 13.5px; font-weight: 600; }
.c2 .c2_ph_dgoal { grid-column: 1 / -1; color: var(--c2-muted); font-size: 12.5px; }
.c2 .c2_ph_res { display: inline-flex; align-items: center; gap: 8px; color: var(--c2-muted); font-size: 12px; white-space: nowrap; }
.c2 .c2_ph_res b { color: var(--c2-text); font-weight: 700; }
.c2 .c2_ph_res .mc_bar { width: 60px; height: 6px; margin: 0; }
.c2 .c2_ph_res_none { font-style: italic; }
@media (max-width: 800px) { .c2 .c2_ph_detail { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
    .c2 .c2_phase_tbl tr.c2_ph_more { padding: 0 0 12px; border-bottom: 1px solid var(--c2-line); }
    .c2 .c2_phase_tbl tr.c2_ph_open { border-bottom: 0; padding-bottom: 8px; }
    .c2 .c2_phase_tbl tr.c2_ph_more > td { padding: 0; }
    .c2 .c2_ph_detail { margin-left: 0; padding: 12px; }
    .c2 .c2_ph_res .c2_ph_when { display: none; }
}

/* Test runs (30 Nov): one line for the game drills, the other checks as small bars, the rest as fine print */
.c2 .mc_tests .mc_tests_lead { margin: 0 0 18px; }
.c2 .mc_tests .mc_tests_small { list-style: none; margin: 18px 0 0; padding: 0; color: var(--c2-muted); font-size: 12px; line-height: 1.7; }

/* The status board (30 Nov): cards straight from Server 3's sim.board – one look per state, any number of cards */
.c2 .mcb_box[hidden] { display: none; }
.c2 .mcb_box { margin: 0 0 16px; padding: 14px 18px; border: 1px solid var(--c2-line); border-radius: 14px; background: var(--c2-panel); }
.c2 .mcb_wait { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--c2-line); color: var(--c2-muted); font-size: 13.5px; line-height: 1.5; }
.c2 .mcb_wait:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.c2 .mcb_wait p { margin: 0; }
.c2 .mcb_wait strong { color: var(--c2-amber); font-weight: 600; }
.c2 .mcb_wait ul { margin: 4px 0 0; padding-left: 18px; }
.c2 .c2_phases_view.mc_has_full .mcb_box { padding-right: 60px; }
.c2 .c2_ph_detail .c2_gate_more { margin: 6px 0 8px; padding-top: 14px; border-top: 1px solid var(--c2-line); }
.c2 .mcb_now { display: flex; align-items: baseline; gap: 10px; color: var(--c2-muted); font-size: 14px; line-height: 1.5; }
.c2 .mcb_now[hidden] { display: none; }
.c2 .mcb_now strong { color: var(--c2-text); margin-right: 4px; }
.c2 .mcb_now .mcb_dot { flex: 0 0 auto; width: 8px; height: 8px; border-radius: 50%; background: var(--c2-muted); align-self: center; }
.c2 .mcb_now_during .mcb_dot, .c2 .mcb_now_after .mcb_dot { background: var(--c2-teal); }
.c2 .mcb_now_before .mcb_dot { background: var(--c2-cyan); }
.c2 .mcb_now_waiting .mcb_dot { background: var(--c2-amber); }
.c2 .mcb_since { white-space: nowrap; font-size: 12px; }
.c2 .mcb_bar { position: relative; overflow: visible; height: 8px; margin: 0; }
.c2 .mcb_bar i { position: absolute; top: -3px; bottom: -3px; width: 2px; margin-left: -1px; border-radius: 1px; background: var(--c2-text); }
.c2 .mcb_rows { list-style: none; margin: 0; padding: 0; }
.c2 .mcb_row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 4px 12px; padding: 8px 0; border-top: 1px solid var(--c2-line); }
.c2 .mcb_row:first-child { border-top: 0; padding-top: 0; }
.c2 .mcb_label { color: var(--c2-text); font-size: 13.5px; overflow-wrap: anywhere; }
.c2 .mcb_num { display: inline-flex; flex-wrap: wrap; justify-content: flex-end; align-items: baseline; gap: 2px 8px; color: var(--c2-muted); font-size: 12.5px; }
.c2 .mcb_num b { color: var(--c2-text); font-weight: 700; }
.c2 .mcb_row .mcb_bar { grid-column: 1 / -1; height: 5px; }
.c2 .mcb_rnote { grid-column: 1 / -1; color: var(--c2-muted); font-size: 12.5px; line-height: 1.45; }
.c2 .mcb_miss, .c2 .mcb_miss b { color: #ff9c8f; }

/* The Phase table in full (Trish 30 Nov): the failed share over a bar from the right; a phase's summary, its totals per
   kind, and every drill with its passes and fails apart */
.c2 .c2_pb_fail, .c2 .mc_fail { background: #e2574c; animation: c2_fail_pulse 1.8s ease-in-out infinite alternate; }
@keyframes c2_fail_pulse { from { background-color: #e2574c; } to { background-color: #7d2a25; } }
.c2 .c2_pb_k .c2_pb_fail { animation: none; }
@media (prefers-reduced-motion: reduce) { .c2 .c2_pb_fail, .c2 .mc_fail { animation: none; } }
.c2 .mc_bar:has(> .mc_fail) { position: relative; }
.c2 .mc_fail { position: absolute; top: 0; right: 0; bottom: 0; border-radius: 0 999px 999px 0; }
.c2 .mc_bar:has(> .mc_fail) > span { border-radius: 999px 0 0 999px; box-shadow: none; }
.c2 .c2_ph_res_off { flex: 1 1 auto; }
.c2 .c2_ph_res.c2_ph_res_off .mc_bar { width: 110px; height: 8px; }
.c2 .c2_dr_l li > .c2_dr_bar { grid-column: 1 / -1; display: block; width: 100%; height: 5px; margin: 5px 0 0; }
.c2 .c2_pb_k .c2_pb_fail + b { color: var(--c2-text); }
.c2 .c2_ph_all { grid-column: 1 / -1; min-width: 0; }
.c2 .c2_dr { padding: 6px 0; border-top: 1px solid var(--c2-line); }
.c2 .c2_dr > summary { padding: 5px 0; cursor: pointer; color: var(--c2-text); font-size: 13.5px; font-weight: 600; }
.c2 .c2_dr_l { margin: 0; padding: 0; list-style: none; }
.c2 .c2_dr_l li { display: grid; grid-template-columns: minmax(0, 1fr) 84px 68px 76px 84px; gap: 2px 20px; align-items: start; padding: 8px 0; border-top: 1px solid var(--c2-line); color: var(--c2-text); font-size: 13px; font-variant-numeric: tabular-nums; }
.c2 .c2_dr_l li > span:not(.c2_dr_n):not(.c2_dr_all) { text-align: right; white-space: nowrap; }
.c2 .c2_dr_l li.c2_dr_h { border-top: 0; padding: 4px 0 6px; color: var(--c2-muted); font-size: 11.5px; }
.c2 .c2_dr_l li.c2_dr_h > span:first-child { text-align: left; }
.c2 .c2_dr_n { min-width: 0; }
.c2 .c2_dr_n b { display: block; font-weight: 600; font-size: 13.5px; }
.c2 .c2_dr_n span { display: block; color: var(--c2-muted); font-size: 12.5px; line-height: 1.45; overflow-wrap: anywhere; }
.c2 .c2_dr_l li > span:not(.c2_dr_n):not(.c2_dr_all) > b { display: block; font-size: 13.5px; font-weight: 600; }
.c2 .c2_dr_l i { display: block; color: var(--c2-muted); font-style: normal; font-size: 12px; line-height: 1.45; }
.c2 .c2_dr_l .mcb_miss i { color: inherit; opacity: 0.85; }
.c2 .c2_dr_ok { color: #4fe0d4; }
.c2 .c2_dr_zero { color: var(--c2-muted); opacity: 0.6; }
.c2 .c2_dr_l li > .c2_dr_none { grid-column: 2 / 5; color: var(--c2-muted); font-style: italic; }
@media (max-width: 800px) {
    .c2 .c2_dr_l li { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px 12px; }
    .c2 .c2_dr_l li.c2_dr_h { display: none; }
    .c2 .c2_dr_n { grid-column: 1 / -1; }
    .c2 .c2_dr_l li > span:not(.c2_dr_n):not(.c2_dr_all) { text-align: left; }
    .c2 .c2_dr_l li > span[data-l]::before { content: attr(data-l); display: block; color: var(--c2-muted); font-size: 11.5px; }
    .c2 .c2_dr_l li > .c2_dr_zero[data-l^="Didn"] { visibility: hidden; }
    .c2 .c2_dr_l li > .c2_dr_none { grid-column: 1 / -1; }
}
@media (max-width: 420px) { .c2 .c2_dr_l li { gap: 4px 14px; font-size: 12.5px; } .c2 .c2_dr_l li > span[data-l]::before { font-size: 11px; } }

/* The phase view tells one story (30 Nov): the answer in words, the ladder of steps, then the steps in full */
.c2 .c2_sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (min-width: 601px) { .c2 .c2_phase_tbl td.c2_ph_st.c2_ph_ans { width: 34%; } }
@media (min-width: 601px) { .c2 .c2_phase_tbl:has(.c2_ph_ans) .c2_ph_id { width: 24%; } }
@media (min-width: 601px) { .c2 .c2_phase_tbl:has(.c2_ph_ans) .c2_ph_row .c2_ph_id { position: relative; padding-left: 62px; } .c2 .c2_phase_tbl .c2_ph_row .c2_ph_id .c2_ph_tog { position: absolute; left: 0; } .c2 .c2_phase_tbl:has(.c2_ph_ans) .c2_ph_row .c2_ph_id .c2_ph_no { position: absolute; left: 26px; margin: 0; } }
@media (min-width: 601px) { .c2 .c2_phase_tbl:has(.c2_ph_ans) td:nth-child(4) { width: 16%; } }
.c2 .c2_phase_tbl p.c2_vd { margin: 0 0 10px; font-size: 15px; font-weight: 600; line-height: 1.4; color: var(--c2-text); }
.c2 .c2_phase_tbl p.c2_vd_failed { color: #ff9c8f; }
.c2 .c2_phase_tbl p.c2_vd_passed { color: #4fe0d4; }
.c2 .c2_phase_tbl p.c2_vd_open { color: var(--c2-muted); font-weight: 500; font-size: 14px; }
.c2 .c2_ld { display: flex; gap: 8px; margin: 0 0 8px; padding: 0; list-style: none; }
.c2 .c2_ld li { position: relative; flex: 1 1 0; min-width: 0; text-align: center; }
.c2 .c2_ld li + li::before { content: ""; position: absolute; top: 12px; right: calc(50% + 17px); width: calc(100% + 8px - 34px); height: 2px; background: var(--c2-line-hi); }
.c2 .c2_ld_b { display: inline-grid; place-items: center; width: 26px; height: 26px; border: 1px solid var(--c2-line-hi); border-radius: 50%; color: var(--c2-muted); font-size: 13px; font-weight: 700; line-height: 1; }
.c2 .c2_ld_passed > .c2_ld_b, .c2 .c2_gate_passed > .c2_ld_b { border-color: #3fe6d8; background: #3fe6d8; color: #07080a; }
.c2 .c2_ld_failed > .c2_ld_b, .c2 .c2_gate_failed > .c2_ld_b { border-color: transparent; background: #e2574c; color: #ffffff; animation: c2_fail_pulse 1.8s ease-in-out infinite alternate; }
.c2 .c2_ld_running > .c2_ld_b, .c2 .c2_gate_running > .c2_ld_b { border-color: var(--c2-cyan); color: var(--c2-cyan); animation: c2_pb_breathe 1.8s ease-in-out infinite alternate; }
@media (prefers-reduced-motion: reduce) { .c2 .c2_ld_b { animation: none !important; } }
.c2 .c2_ld_t { display: block; margin-top: 4px; color: var(--c2-muted); font-size: 11.5px; line-height: 1.3; }
.c2 .c2_ld_failed .c2_ld_t { color: #ff9c8f; font-weight: 600; }
.c2 .c2_phase_tbl p.c2_ld_miss { margin: 0 0 8px; color: #ff9c8f; font-size: 13px; }
.c2 .c2_ph_ans .c2_pb { height: 5px; margin: 8px 0 5px; }
.c2 .c2_gates { margin: 0; padding: 0; list-style: none; }
.c2 .c2_gate { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 14px; padding: 14px 0; border-top: 1px solid var(--c2-line); }
.c2 .c2_gate:first-child { border-top: 0; padding-top: 2px; }
.c2 .c2_gate_h { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 14px; }
.c2 .c2_gate_h strong { color: var(--c2-text); font-size: 15px; font-weight: 650; }
.c2 .c2_gate_st { color: var(--c2-muted); font-size: 12.5px; font-weight: 600; }
.c2 .c2_gate_passed .c2_gate_st { color: #4fe0d4; }
.c2 .c2_gate_failed .c2_gate_st { color: #ff9c8f; }
.c2 .c2_ph_detail .c2_gate_q { margin: 2px 0 0; color: var(--c2-muted); font-size: 13.5px; }
.c2 .c2_ph_detail .c2_gate_n { margin: 8px 0 7px; color: var(--c2-muted); font-size: 13.5px; }
.c2 .c2_gate_n b { color: var(--c2-text); font-size: 17px; font-weight: 650; }
.c2 .c2_ph_detail .c2_gate_x { margin: 8px 0 0; color: var(--c2-muted); font-size: 12.5px; }
.c2 .c2_gate .c2_dr { margin-top: 10px; border-top: 0; }
.c2 .c2_gate_rules { margin-top: 4px; padding: 14px 0 8px; border-top: 1px solid var(--c2-line); }
.c2 .c2_dr_sum { margin-left: 8px; color: var(--c2-muted); font-size: 12.5px; font-weight: 400; }
.c2 .c2_dr_g .c2_dr_l li { grid-template-columns: minmax(0, 1fr) 150px; gap: 2px 20px; align-items: start; }
.c2 .c2_dr_g .c2_dr_l li > .c2_dr_now { text-align: right; white-space: nowrap; }
.c2 .c2_dr_l li > .c2_dr_now i { font-size: 12px; }
.c2 .c2_dr_l li > .c2_dr_now i.c2_dr_ok { color: #4fe0d4; }
.c2 .c2_dr_l li > .c2_dr_now i.mcb_miss { color: #ff9c8f; opacity: 1; }
.c2 .c2_dr_l li > .c2_dr_now.c2_dr_none { grid-column: auto; }
.c2 .c2_dr_g .c2_dr_bar i { background: var(--c2-text); }
.c2 .c2_dr_l li > .c2_dr_all { grid-column: 1 / -1; text-align: left; white-space: normal; margin-top: 4px; color: var(--c2-muted); font-size: 12.5px; line-height: 1.5; }
.c2 .c2_dr_l li > .c2_dr_all b { display: inline; font-size: inherit; color: var(--c2-text); }
.c2 .c2_dr_l li > .c2_dr_all b.mcb_miss { color: #ff9c8f; }
.c2 .c2_dr_l li > .c2_dr_all b.c2_dr_zero { color: inherit; font-weight: 600; opacity: 1; }
.c2 .c2_dr_pf { display: block; color: var(--c2-muted); font-size: 13px; }
.c2 .c2_dr_l li > span .c2_dr_pf b { display: inline; color: var(--c2-text); font-size: 14px; }
.c2 .c2_dr_l li > span .c2_dr_pf b + b, .c2 .c2_dr_l li > span .c2_dr_pf b.mcb_miss { margin-left: 8px; }
.c2 .c2_dr_l li > span .c2_dr_pf b.mcb_miss { color: #ff9c8f; }
.c2 .c2_dr_l li > span .c2_dr_pf b.c2_dr_zero { margin-left: 8px; color: var(--c2-muted); opacity: 1; font-weight: 600; }
@media (max-width: 800px) {
    .c2 .c2_dr_g .c2_dr_l li.c2_dr_h { display: none; }
    .c2 .c2_dr_g .c2_dr_l li > .c2_dr_n { grid-column: auto; }
    .c2 .c2_dr_sum { display: block; margin-left: 0; }
}
@media (max-width: 600px) {
    .c2 .c2_phase_tbl td.c2_ph_st.c2_ph_ans { width: auto; max-width: none; }
    .c2 .c2_gate { grid-template-columns: 26px minmax(0, 1fr); gap: 10px; }
    .c2 .c2_dr_g .c2_dr_l li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
    .c2 .c2_dr_g .c2_dr_l li > .c2_dr_now { display: flex; align-items: baseline; gap: 12px; text-align: left; }
}
.c2 .c2_ph_detail .c2_ph_expl { margin: 4px 0 10px; padding: 9px 12px; border: 1px solid var(--c2-line); border-radius: 10px; color: var(--c2-muted); font-size: 13px; }

/* every kind of run, its own block (30 Nov) */
.c2 .c2_run_top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 8px 0 6px; padding-top: 14px; border-top: 1px solid var(--c2-line); }
.c2 .c2_ph_detail .c2_run_top .c2_ph_h { margin: 0; }
.c2 .c2_run_f { padding: 5px 12px; border: 1px solid var(--c2-line-hi); border-radius: 99px; background: none; color: var(--c2-muted); font: inherit; font-size: 12.5px; cursor: pointer; }
.c2 .c2_run_f:hover { color: var(--c2-text); }
.c2 .c2_run_f[aria-pressed="true"] { border-color: #ff9c8f; color: #ff9c8f; }
.c2 .c2_run > summary { font-size: 14.5px; }
.c2 .c2_run .c2_dr_sum b { color: var(--c2-text); font-weight: 600; }
.c2 .c2_run .c2_dr_sum b.mcb_miss { color: #ff9c8f; }
.c2 .c2_ph_detail .c2_run_sub { margin: 10px 0 2px; color: var(--c2-muted); font-size: 12.5px; }
.c2 .c2_run_grey { opacity: 0.6; }
.c2 .c2_dr_l li > span .c2_dr_pf b.c2_lead { margin-left: 0; }
.c2 .c2_dr_bar > span.c2_bar_bad { background: #e2574c; box-shadow: none; }
.c2 .c2_dr_l li > .c2_parts { display: flex; flex-wrap: wrap; gap: 2px 14px; }
.c2 .c2_only_bad .c2_run .c2_dr_l li:not(.c2_run_bad) { display: none; }
.c2 .c2_only_bad .c2_run:not(:has(.c2_run_bad)), .c2 .c2_only_bad .c2_run_sub { display: none; }
@media (max-width: 600px) { .c2 .c2_run .c2_dr_sum { display: block; margin-left: 0; } }

/* Levels (1 Dec, mc-levels.js): areas x levels; a cell opens its lessons under its row */
.c2 .lv_tabs { margin: 0 0 14px; }
.c2 .lv_tabs[hidden], .c2 .lv_card[hidden], .c2 .c2_phases[hidden] { display: none; }
.c2 .mcb_note { display: block; margin-top: 2px; }
.c2 .mcb_made { margin-top: 8px; }
.c2 .c2_phase_tbl p.c2_building { margin: 0 0 6px; color: var(--c2-cyan); font-size: 12.5px; font-weight: 600; }
.c2 .lv_small { display: block; color: var(--c2-muted); font-size: 12px; line-height: 1.45; }
.c2 .lv_small em, .c2 .lv_step em { font-style: normal; }
.c2 .lv_row { display: grid; grid-template-columns: minmax(110px, 0.8fr) repeat(var(--lv), minmax(0, 1fr)); gap: 10px; align-items: stretch; padding: 8px 0; border-top: 1px solid var(--c2-line); }
.c2 .lv_head { border-top: 0; align-items: end; padding-bottom: 10px; }
.c2 .lv_head strong, .c2 .lv_area strong { color: var(--c2-text); font-size: 14.5px; font-weight: 650; }
.c2 .lv_area { padding-top: 10px; }
.c2 .lv_wrap { display: grid; min-width: 0; }
.c2 .lv_cell { display: flex; flex-direction: column; gap: 5px; width: 100%; min-width: 0; padding: 11px 12px; border: 1px solid var(--c2-line); border-radius: 12px; background: rgba(255, 255, 255, 0.02); color: var(--c2-text); font: inherit; font-size: 13px; text-align: left; cursor: pointer; }
.c2 .lv_cell:hover { border-color: var(--c2-line-hi); background: rgba(127, 230, 242, 0.04); }
.c2 .lv_cell[aria-expanded="true"] { border-color: var(--c2-cyan); }
.c2 .lv_cell.lv_hi { border-color: rgba(226, 87, 76, 0.6); }
.c2 .lv_cell.lv_passed { border-color: rgba(63, 230, 216, 0.6); }
.c2 .lv_cell.lv_not_built { border-style: dashed; }
.c2 .lv_top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.c2 .lv_st { color: var(--c2-muted); font-size: 12px; font-weight: 600; }
.c2 .lv_passed .lv_st, .c2 .lv_lessons_passed .lv_st { color: #4fe0d4; }
.c2 .lv_below .lv_st { color: #ff9c8f; }
.c2 .lv_build { color: var(--c2-cyan); font-size: 11.5px; font-weight: 600; animation: c2_pb_breathe 1.8s ease-in-out infinite alternate; }
.c2 .lv_n b { font-size: 16px; font-weight: 650; }
.c2 .lv_n { color: var(--c2-muted); }
.c2 .lv_n b { color: var(--c2-text); }
.c2 .lv_bar { display: flex; flex-direction: column; gap: 3px; }
.c2 .lv_lane { position: relative; display: block; height: 7px; border-radius: 99px; overflow: hidden; background: #1c2028; }
.c2 .lv_lane > i { position: absolute; top: 0; bottom: 0; left: 0; }
.c2 .lv_lane > i.lv_b_low { left: auto; right: 0; }
.c2 .lv_big .lv_lane { height: 9px; }
.c2 .lv_k { display: inline-block; width: 9px; height: 9px; margin-right: 6px; border-radius: 2px; }
.c2 .lv_k.lv_b_low { animation: none; }
.c2 .lv_k_none { background: #1c2028; box-shadow: inset 0 0 0 1px var(--c2-line-hi); }
.c2 .lv_b_les { background: #8fd0ff; }
.c2 .lv_b_pra { background: #2f6df0; }
.c2 .lv_nums { display: flex; flex-wrap: wrap; gap: 1px 14px; color: var(--c2-muted); font-size: 12.5px; line-height: 1.6; }
.c2 .lv_nums b { color: var(--c2-text); font-weight: 650; white-space: nowrap; }
.c2 .lv_tick { color: #4fe0d4; font-weight: 700; }
.c2 .lv_step .lv_small { margin-top: 3px; }
.c2 .lv_mix span.lv_tick { color: #4fe0d4; }
.c2 .lv_mix em { font-style: normal; }
.c2 main .card .lv_key { display: flex; flex-wrap: wrap; gap: 2px 16px; margin: 0 0 12px; color: var(--c2-muted); font-size: 12.5px; }
.c2 .lv_big { margin: 12px 0 2px; }
.c2 .lv_big .lv_nums { margin-bottom: 6px; font-size: 14px; }
.c2 .lv_bar_none { display: block; height: 7px; border: 1px dashed var(--c2-line-hi); border-radius: 99px; }
.c2 .lv_b_low { background: #e2574c; animation: c2_fail_pulse 1.8s ease-in-out infinite alternate; }
@media (prefers-reduced-motion: reduce) { .c2 .lv_build, .c2 .lv_b_low { animation: none; } }
.c2 .lv_base { display: grid; grid-template-columns: minmax(110px, 0.8fr) minmax(0, 3fr); gap: 10px; padding: 8px 0 14px; }
.c2 .lv_cells { max-width: 340px; }
.c2 .lv_stages { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 6px; padding: 0 0 10px; }
.c2 .lv_sg { padding: 1px 9px; border: 1px solid var(--c2-line-hi); border-radius: 99px; color: var(--c2-muted); font-size: 11.5px; }
.c2 .lv_sg_done { border-color: #3fe6d8; color: #4fe0d4; }
.c2 .lv_sg_building { border-color: var(--c2-cyan); color: var(--c2-cyan); }
.c2 .lv_mix { display: flex; flex-direction: column; gap: 2px; padding: 9px 12px; border: 1px solid var(--c2-line); border-radius: 12px; color: var(--c2-muted); font-size: 12.5px; }
.c2 .lv_mix strong { color: var(--c2-text); font-weight: 600; }
.c2 .lv_mix_failed { border-color: rgba(226, 87, 76, 0.6); }
.c2 .lv_mix_failed span { color: #ff9c8f; }
.c2 .lv_mix_passed { border-color: rgba(63, 230, 216, 0.6); }
.c2 .lv_mix_passed span { color: #4fe0d4; }
.c2 .lv_mix_not_built { border-style: dashed; }
.c2 .lv_detail { margin: 4px 0 14px; padding: 16px 18px; border: 1px solid var(--c2-line-hi); border-radius: 14px; background: rgba(255, 255, 255, 0.02); }
.c2 .lv_dh { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.c2 .lv_dh h3 { margin: 0; font-size: 17px; }
.c2 .lv_x { margin-left: auto; width: 30px; height: 30px; border: 0; border-radius: 8px; background: none; color: var(--c2-muted); font-size: 20px; line-height: 1; cursor: pointer; }
.c2 .lv_x:hover { color: var(--c2-text); background: rgba(255, 255, 255, 0.06); }
.c2 main .card .lv_need { margin: 4px 0 0; color: var(--c2-muted); font-size: 13px; }
.c2 .lv_steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: 10px; margin: 12px 0 4px; padding: 0; list-style: none; }
.c2 .lv_step { position: relative; display: block; padding: 9px 12px; border: 1px solid var(--c2-line); border-radius: 10px; background: none; color: var(--c2-muted); font: inherit; font-size: 12.5px; line-height: 1.45; text-align: left; cursor: pointer; }
.c2 .lv_step:hover { background: rgba(127, 230, 242, 0.04); }
.c2 .lv_step strong { display: block; color: var(--c2-text); font-size: 13.5px; font-weight: 600; }
.c2 .lv_step_ok { border-color: rgba(63, 230, 216, 0.6); }
.c2 .lv_step_low { border-color: rgba(226, 87, 76, 0.6); }
.c2 .lv_step[aria-selected="true"] { border-color: var(--c2-cyan); background: rgba(127, 230, 242, 0.1); box-shadow: inset 0 -3px 0 var(--c2-cyan); }
.c2 .lv_step:focus-visible { outline: 2px solid var(--c2-cyan); outline-offset: 2px; }
.c2 main .card .lv_say { margin: 6px 0 4px; color: var(--c2-muted); font-size: 13.5px; }
.c2 .lv_say em { font-style: normal; }
.c2 main .card .lv_detail .lv_ph { margin-top: 14px; }
.c2 .lv_dot { display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; background: #e2574c; vertical-align: 1px; }
.c2 .lv_hold { margin-left: 6px; padding: 0 7px; border: 1px solid var(--c2-amber); border-radius: 99px; color: var(--c2-amber); font-size: 11px; font-weight: 600; }
.c2 .lv_list .c2_dr_n .lv_dot, .c2 .lv_list .c2_dr_n .lv_hold { display: inline-block; }
.c2 .lv_list .c2_dr_n .lv_hold { color: var(--c2-amber); font-size: 11px; line-height: 1.5; }
.c2 .c2_dr_l li > span.lv_right { color: var(--c2-muted); font-size: 13px; text-align: right; white-space: nowrap; }
.c2 .c2_dr_l.lv_list li > span.lv_right > b { display: inline; color: var(--c2-text); font-size: 14px; }
.c2 .c2_dr_l.lv_list li > span.lv_right > b.mcb_miss { color: #ff9c8f; }
.c2 .lv_right i.mcb_miss { color: #ff9c8f; opacity: 1; }
.c2 .lv_right i.c2_dr_ok { color: #4fe0d4; }
.c2 .lv_only .lv_list li:not(.lv_low) { display: none; }
.c2 main .card .lv_detail .c2_ph_h { margin: 0; color: var(--c2-muted); font: 700 11px/1.5 var(--c2-mono); letter-spacing: 0.1em; text-transform: uppercase; }
.c2 main .card .lv_detail .lv_mh { margin: 16px 0 6px; }
.c2 .lv_miss { margin: 0; padding: 0; list-style: none; }
.c2 .lv_miss li { display: flex; justify-content: space-between; gap: 14px; padding: 6px 0; border-top: 1px solid var(--c2-line); color: var(--c2-muted); font-size: 13px; }
.c2 .lv_miss li span:first-child { color: var(--c2-text); overflow-wrap: anywhere; }
.c2 .lv_miss li span:last-child { white-space: nowrap; }
.c2 .lv_miss li.lv_mb span:last-child { color: var(--c2-cyan); }
@media (max-width: 720px) {
    .c2 .lv_head { display: none; }
    .c2 .lv_row, .c2 .lv_base { grid-template-columns: 1fr; gap: 8px; padding: 12px 0; }
    .c2 .lv_area { padding-top: 0; }
    .c2 .lv_wrap[data-l]::before { content: attr(data-l); margin-bottom: 3px; color: var(--c2-muted); font-size: 11.5px; }
    .c2 .lv_cells { max-width: none; }
    .c2 .lv_detail { padding: 14px 12px; }
}
@media (max-width: 600px) { .c2 .c2_dr_l li > span.lv_right { display: flex; align-items: baseline; gap: 6px; text-align: left; } }
/* a lesson's own bar: how far it is, coloured by its pass rate */
.c2 .lv_run > span { box-shadow: none; }
.c2 .lv_run > span.lv_t_ok { background: #3fd77f; }
.c2 .lv_run > span.lv_t_mid { background: #f0c35a; }
.c2 .lv_run > span.lv_t_bad { background: #e2574c; }
.c2 .lv_k.lv_t_ok { background: #3fd77f; }
.c2 .lv_k.lv_t_mid { background: #f0c35a; }
.c2 .lv_k.lv_t_bad { background: #e2574c; }
.c2 main .card .lv_rkey { margin: 0 0 8px; }
/* Claire's brain (mc-brain.js, 3 Dec): five views under tabs, plus All */
.c2 .br_tabs { margin: 0 0 14px; }
.c2 #brain[hidden] { display: none; }
.c2 .br_box { display: grid; gap: var(--c2-gap); min-width: 0; }
.c2 main .card.br_card { min-width: 0; overflow: hidden; }
.c2 main .card .br_h { margin: 0 0 4px; font-size: 18px; }
.c2 main .card .br_h2 { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--c2-line); }
.c2 main .card .br_lede { margin: 0 0 12px; max-width: 52em; color: var(--c2-muted); font-size: 14px; }
.c2 main .card .br_sub { margin-top: 16px; }
.c2 main .card .br_note, .c2 main .card .br_pick { margin: 4px 0 0; color: var(--c2-muted); font-size: 12.5px; }
.c2 main .card .br_pick b { color: var(--c2-text); }
.c2 main .card .br_key { margin: 8px 0 4px; }
.c2 .br_k_sq { border-radius: 1px; }
.c2 .br_k_dot { border-radius: 50%; }
.c2 .br_k_dash { height: 0 !important; border-top: 2px dashed; background: none !important; vertical-align: middle; }
.c2 .br_k_line { width: 2px !important; height: 11px !important; vertical-align: -1px; }
.c2 .br_chart { width: 100%; min-width: 0; }
.c2 .br_svg { display: block; max-width: 100%; height: auto; font-family: var(--c2-sans); }
.c2 .br_svg circle[data-i], .c2 .br_svg [data-n] { cursor: pointer; }
.c2 .br_svg .br_axis { stroke: var(--c2-line); stroke-width: 1; }
.c2 .br_svg .br_grid { stroke: var(--c2-line); stroke-width: 1; }
.c2 .br_svg .br_ax { fill: var(--c2-muted); font-size: 11px; }
.c2 .br_svg .br_val { fill: var(--c2-text); }
.c2 .br_svg .br_lbl { fill: var(--c2-muted); font-size: 10.5px; pointer-events: none; }
.c2 .br_tools { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 0 0 8px; }
.c2 .br_sel { display: inline-flex; align-items: center; gap: 8px; color: var(--c2-muted); font-size: 13px; }
.c2 .br_sel select { max-width: 100%; padding: 5px 8px; border: 1px solid var(--c2-line-hi); border-radius: 8px; background: var(--c2-panel-2); color: var(--c2-text); font: inherit; font-size: 13px; }
.c2 .br_split { margin-top: 14px; }
.c2 .br_split_bar { display: flex; height: 9px; border-radius: 99px; overflow: hidden; background: #1c2028; }
.c2 .br_split_bar > i { display: block; height: 100%; }
.c2 main .card .br_days { display: flex; flex-wrap: wrap; gap: 2px 16px; margin: 6px 0 0; color: var(--c2-muted); font-size: 12.5px; }
.c2 main .card .br_days b { color: var(--c2-text); font-weight: 600; }
.c2 main .card .br_parts { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 0; padding: 0; list-style: none; }
.c2 .br_parts li { display: inline-flex; gap: 6px; padding: 3px 9px; border: 1px solid var(--c2-line-hi); border-radius: 99px; font-size: 12.5px; }
.c2 .br_parts li span { color: var(--c2-muted); }
.c2 main .card .br_say { margin: 0 0 10px; color: var(--c2-muted); font-size: 13.5px; }
.c2 main .card .br_say b { color: var(--c2-text); }
.c2 .br_mono { font-family: var(--c2-mono); font-size: 12px; }
.c2 main .card .br_opts { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.c2 .br_opt { display: grid; grid-template-columns: minmax(90px, 0.6fr) 1fr 1.4fr auto; align-items: center; gap: 6px 14px; padding: 9px 12px; border: 1px solid var(--c2-line); border-radius: 10px; font-size: 13px; }
.c2 .br_opt_on { border-color: var(--c2-cyan); background: rgba(127, 230, 242, 0.06); }
.c2 .br_opt_n { font-weight: 600; }
.c2 .br_opt_n em { color: var(--c2-cyan); font-style: normal; font-weight: 400; font-size: 12px; }
.c2 .br_opt_b { display: grid; gap: 3px; min-width: 0; }
.c2 .br_opt_v, .c2 .br_opt_s { color: var(--c2-muted); font-size: 12px; }
.c2 .br_opt_v em { font-style: normal; }
.c2 .br_opt_s b { color: var(--c2-text); }
.c2 .br_bar { position: relative; display: block; height: 8px; border-radius: 99px; background: #1c2028; }
.c2 .br_bar > i { position: absolute; top: 0; bottom: 0; border-radius: 99px; }
.c2 .br_bar > i.br_whisk { top: 3px; bottom: 3px; background: rgba(242, 244, 247, 0.55); border-radius: 0; }
.c2 .br_bar > b.br_lim { position: absolute; top: -3px; bottom: -3px; width: 2px; margin-left: -1px; background: var(--c2-text); }
.c2 .br_bar > b.br_lim_t { opacity: 0.5; }
@media (max-width: 640px) {
    .c2 .br_opt { grid-template-columns: 1fr; }
}
/* pass-check chips on lesson rows (mc-levels.js, 3 Dec): beside "On hold", same pill; red = short cut, yellow = unsure */
.c2 .lv_list .c2_dr_n .lv_hold.lv_ck_bad, .c2 .lv_hold.lv_ck_bad { border-color: #e2574c; color: #e2574c; }
.c2 .lv_list .c2_dr_n .lv_hold.lv_ck_mid, .c2 .lv_hold.lv_ck_mid { border-color: #f0c35a; color: #f0c35a; }
.c2 .lv_k.lv_ck_bad, .c2 .lv_k.lv_ck_mid { background: transparent; border: 1.5px solid #e2574c; border-radius: 99px; box-sizing: border-box; }
.c2 .lv_k.lv_ck_mid { border-color: #f0c35a; }
