/* Version 2 slide styles of Coder B: the opening and part 1 (plan 01, step 3).
   Same rules as part-b.css: colors only from tokens (var(--...)) and color-mix() of tokens, every rule scoped :is(#id, [data-ov="id"])
   so the overview thumbnails look like their slides. This file is linked after part-b.css and part-c.css, so it overrides them.
   The illustrations (img/illus/*.svg) are inlined in the slides; their own rules are scoped to their root class (ix- classes). */

/* ================================================================== title */
:is(#title, [data-ov="title"]) .ill-core { position: absolute; right: 56px; top: 54px; width: 620px; height: 620px; }
:is(#title, [data-ov="title"]) .title-map { margin: auto 0 0; }
:is(#title, [data-ov="title"]) .byline { margin-top: 0; padding-top: 30px; }
/* E14: the longer title (broken after the colon) and subtitle stay left of the hex-core art and clear of the part cards */
:is(#title, [data-ov="title"]) .display { font-size: 80px; max-width: 1130px; }
:is(#title, [data-ov="title"]) .lead { max-width: 1100px; }
/* E15: with the kicker gone the title block starts lower, so the gap above it and the gap above the part cards are even */
:is(#title, [data-ov="title"]) { padding-top: 172px; }

/* ================================================================== speaker: outlined chips and HUD cards in the opening's cyan */
:is(#speaker, [data-ov="speaker"]) .speaker-areas li {
  display: flex; align-items: center; gap: 14px; background: color-mix(in oklab, var(--part-0) 7%, var(--surface));
  border: 2px solid var(--part-0); border-radius: 999px; padding: 10px 26px 10px 20px; }
:is(#speaker, [data-ov="speaker"]) .speaker-areas li::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--part-0); flex: none; }
:is(#speaker, [data-ov="speaker"]) .speaker-areas h3 { color: var(--part-0); letter-spacing: .14em; }
:is(#speaker, [data-ov="speaker"]) .speaker-work h3 { color: var(--part-0); letter-spacing: .14em; }
:is(#speaker, [data-ov="speaker"]) .sp-card {
  position: relative; background: color-mix(in oklab, var(--part-0) 5%, var(--surface)); border: 2px solid var(--rule-2);
  border-top: 6px solid var(--part-0); border-radius: 4px 4px var(--r2) var(--r2); box-shadow: 0 -14px 40px -26px var(--part-0); padding-bottom: 46px; }
:is(#speaker, [data-ov="speaker"]) .sp-card::before, :is(#speaker, [data-ov="speaker"]) .sp-card::after {
  content: ""; position: absolute; width: 22px; height: 22px; border: 0 solid var(--part-0); pointer-events: none; }
:is(#speaker, [data-ov="speaker"]) .sp-card::before { right: 12px; bottom: 12px; border-right-width: 3px; border-bottom-width: 3px; }
:is(#speaker, [data-ov="speaker"]) .sp-card::after { left: 12px; bottom: 12px; border-left-width: 3px; border-bottom-width: 3px; }
:is(#speaker, [data-ov="speaker"]) .sp-venue { font-family: var(--font-mono); font-weight: 600; letter-spacing: .1em; color: var(--part-0); }
:is(#speaker, [data-ov="speaker"]) .sp-title { font-weight: 650; }

/* ================================================================== part 1 opener: the terminal window */
:is(#p1-divider, [data-ov="p1-divider"]) .divider-mark .ill-div { position: absolute; inset: 0; width: 100%; height: 100%; }
:is(#p1-divider, [data-ov="p1-divider"]) .divider-mark .ill-div .ix-frame-halo { stroke-opacity: var(--halo); }
/* In capture mode (the checks) the cursor stays lit instead of running a paused animation: a paused animation keeps a compositing layer under the
   numeral whose glyph edge then survives the contrast check's hidden-text shot. At phase 0 the blink is lit anyway, so the picture is the same. */
:root[data-capture] :is(#p1-divider, [data-ov="p1-divider"]) .blink { animation: none; }

/* ================================================================== p1-tasks: task chips joined to logic cards by circuit traces */
:is(#p1-tasks, [data-ov="p1-tasks"]) .node--task { fill: var(--surface-2); }
:is(#p1-tasks, [data-ov="p1-tasks"]) .ix-tile { fill: color-mix(in oklab, var(--era-1) 14%, var(--surface)); stroke: none; }
:is(#p1-tasks, [data-ov="p1-tasks"]) .ix-halo { fill: none; stroke: var(--part); stroke-opacity: var(--halo); stroke-width: 14; stroke-linecap: round; }
:is(#p1-tasks, [data-ov="p1-tasks"]) .diagram g[data-build]:not(.is-current) path.edge { stroke: var(--part); stroke-width: 3.5; }
:is(#p1-tasks, [data-ov="p1-tasks"]) .ix-via { fill: var(--bg); stroke: var(--part); stroke-width: 4; }
:is(#p1-tasks, [data-ov="p1-tasks"]) .diagram g[data-build].is-current .ix-via { stroke: var(--accent); }
:is(#p1-tasks, [data-ov="p1-tasks"]) .diagram g[data-build].is-current .ix-halo { stroke: var(--accent); }

/* ================================================================== p1-example: the running example (illustration overlay) */
:is(#p1-example, [data-ov="p1-example"]) .slide-title { margin-bottom: 30px; }
:is(#p1-example, [data-ov="p1-example"]) .body-line { margin: 0 0 4px; font: 400 var(--fs-body)/1.3 var(--font-sans); color: var(--ink-2); }
:is(#p1-example, [data-ov="p1-example"]) .body-line + .body-line { margin: 0 0 22px; color: var(--ink); }
:is(#p1-example, [data-ov="p1-example"]) .tag-line { margin: -6px 0 14px; font: 400 var(--fs-body-min)/1.3 var(--font-sans); color: var(--ink-2); }
:is(#p1-tasks, [data-ov="p1-tasks"]) .diagram .node--run { stroke: var(--accent); stroke-width: 4; }
:is(#p1-example, [data-ov="p1-example"]) .diagram .edge { stroke: var(--accent); stroke-width: 3.5; }
:is(#p1-example, [data-ov="p1-example"]) .diagram .edge-halo { fill: none; stroke: var(--accent); stroke-opacity: var(--halo); stroke-width: 14; }
:is(#p1-example, [data-ov="p1-example"]) .fo-r { font: 650 28px/1.25 var(--font-sans); color: var(--bad-ink); text-align: right; }
:is(#p1-example, [data-ov="p1-example"]) .fo-edge { font: 600 24px/1.2 var(--font-sans); color: var(--ink-2); text-align: center; }

/* ================================================================== p1-rules-signature: pattern bars in era 1, a dim miss */
:is(#p1-rules-signature, [data-ov="p1-rules-signature"]) .ctx-bar { fill: var(--era-1); }
:is(#p1-rules-signature, [data-ov="p1-rules-signature"]) .node--muted { fill: var(--surface-2); stroke: var(--rule-3); stroke-dasharray: 10 8; }
:is(#p1-rules-signature, [data-ov="p1-rules-signature"]) .diagram > rect.node:not(.node--muted) { stroke: var(--era-1); }

/* ================================================================== p1-rules-static: the hit row in the accent wash, gauges in --line with --ink needles */
:is(#p1-rules-static, [data-ov="p1-rules-static"]) .gauge { stroke: var(--line); stroke-width: 7; stroke-linecap: round; }
:is(#p1-rules-static, [data-ov="p1-rules-static"]) .gauge-needle { stroke: var(--ink); stroke-width: 4.5; }
:is(#p1-rules-static, [data-ov="p1-rules-static"]) .warn-row { fill: var(--surface-2); stroke: var(--rule-3); stroke-dasharray: 2 7; stroke-linecap: round; }
:is(#p1-rules-static, [data-ov="p1-rules-static"]) .node--hit { filter: drop-shadow(0 0 12px var(--glow-accent)); }

/* ================================================================== p1-rules-fuzz: the fuzzer art (inline) */
svg.ill-fuzz .ix-loop { stroke-opacity: calc(var(--halo) * .6); }
:is(#p1-rules-fuzz, [data-ov="p1-rules-fuzz"]) .ill-fuzz { position: absolute; left: 0; top: 0; overflow: visible; }

/* ================================================================== p1-rules-symex: the chosen path lit, the other branch dim */
:is(#p1-rules-symex, [data-ov="p1-rules-symex"]) .diagram > rect[x="0"][y="170"] { fill: var(--surface-2); stroke-dasharray: 10 8; }
:is(#p1-rules-symex, [data-ov="p1-rules-symex"]) .diagram > path[d^="M330"] { stroke: var(--rule-3); stroke-dasharray: 10 8; }
:is(#p1-rules-symex, [data-ov="p1-rules-symex"]):not([data-step="0"]) .diagram > path[d^="M530"],
:is(#p1-rules-symex, [data-ov="p1-rules-symex"]):not([data-step="0"]) .diagram > rect[x="460"][y="170"] { stroke: var(--accent); stroke-width: 4; }
:is(#p1-rules-symex, [data-ov="p1-rules-symex"]) .node--model { filter: drop-shadow(0 0 14px var(--glow-accent)); }

/* ================================================================== p1-rules-cgc: steps as stations on a bus, the DECREE card hatched */
:is(#p1-rules-cgc, [data-ov="p1-rules-cgc"]) .ix-bus { fill: none; stroke: var(--part); stroke-width: 4; stroke-linecap: round; }
:is(#p1-rules-cgc, [data-ov="p1-rules-cgc"]) .ix-stub { fill: none; stroke: var(--part); stroke-width: 4; stroke-linecap: round; }
:is(#p1-rules-cgc, [data-ov="p1-rules-cgc"]) .ix-bus-via { fill: var(--bg); stroke: var(--part); stroke-width: 4; }
:is(#p1-rules-cgc, [data-ov="p1-rules-cgc"]) .ix-bus-halo { fill: none; stroke: var(--part); stroke-opacity: calc(var(--halo) * .5); stroke-width: 18; }
:is(#p1-rules-cgc, [data-ov="p1-rules-cgc"]) .ix-hatch-line { stroke: var(--rule-2); stroke-width: 5; }
:is(#p1-rules-cgc, [data-ov="p1-rules-cgc"]) .ix-hatch-fill { fill: url(#cgc-hatch); }
:is(#p1-rules-cgc, [data-ov="p1-rules-cgc"]) .node--muted { fill: color-mix(in oklab, var(--surface) 78%, transparent); }
:is(#p1-rules-cgc, [data-ov="p1-rules-cgc"]) .num-ring { fill: var(--surface); }

/* ================================================================== p1-ml-why: cards with an era 2 bar, icon tiles, mono figures */
:is(#p1-ml-why, [data-ov="p1-ml-why"]) .bar-era2 { filter: drop-shadow(0 -6px 14px color-mix(in oklab, var(--era-2) 55%, transparent)); }
:is(#p1-ml-why, [data-ov="p1-ml-why"]) .ix-tile { fill: color-mix(in oklab, var(--era-2) 14%, var(--surface)); stroke: none; }

/* ================================================================== p1-ml-needs: mono heads, hairlines, zebra rows */
:is(#p1-ml-needs, [data-ov="p1-ml-needs"]) .gh { font: 600 24px/60px var(--font-mono); letter-spacing: .1em; color: var(--part); }
:is(#p1-ml-needs, [data-ov="p1-ml-needs"]) .gc { border-top: 1.5px solid var(--rule); padding-left: 16px; }
:is(#p1-ml-needs, [data-ov="p1-ml-needs"]) .gc:nth-child(odd) { background: var(--surface-2); }
:is(#p1-ml-needs, [data-ov="p1-ml-needs"]) .gc-sys { font: 700 26px var(--font-sans); }

/* ================================================================== p1-ml-shift: drift arrow from ink to the warning color, the evasion file */
:is(#p1-ml-shift, [data-ov="p1-ml-shift"]) .ix-stop-a { stop-color: var(--ink); }
:is(#p1-ml-shift, [data-ov="p1-ml-shift"]) .ix-stop-b { stop-color: var(--bad); }
:is(#p1-ml-shift, [data-ov="p1-ml-shift"]) .diagram g[data-build]:not(.is-current) .edge--strong { stroke: url(#shift-grad); stroke-width: 5; }
:is(#p1-ml-shift, [data-ov="p1-ml-shift"]) .file { fill: var(--surface-2); stroke: var(--rule-3); stroke-width: 3; stroke-linejoin: round; }
:is(#p1-ml-shift, [data-ov="p1-ml-shift"]) .add-block { fill: var(--accent); filter: drop-shadow(0 0 8px var(--glow-accent)); }
:is(#p1-ml-shift, [data-ov="p1-ml-shift"]) .dot-hi { fill: var(--ink); }
:is(#p1-ml-shift, [data-ov="p1-ml-shift"]) .dot-lo { fill: var(--bad); }

/* ================================================================== p1-llm-ctf: unit meters (a cell per task) and a glowing solved band */
:is(#p1-llm-ctf, [data-ov="p1-llm-ctf"]) .slide-title { font-size: 52px; max-width: 1680px; margin-bottom: 26px; }
:is(#p1-llm-ctf, [data-ov="p1-llm-ctf"]) .strip-solved { fill: var(--era-3); }
:is(#p1-llm-ctf, [data-ov="p1-llm-ctf"]) .strip-mark { fill: var(--bad); }
:is(#p1-llm-ctf, [data-ov="p1-llm-ctf"]) .fo-strip.fo-c { font: 500 22px/1.25 var(--font-mono); color: var(--ink-2); }
:is(#p1-llm-ctf, [data-ov="p1-llm-ctf"]) .strip-axis, :is(#p1-llm-ctf, [data-ov="p1-llm-ctf"]) .strip-tick { stroke: var(--line); stroke-width: 2; }
:root[data-theme="dark"] :is(#p1-llm-ctf, [data-ov="p1-llm-ctf"]) .strip-solved { filter: drop-shadow(0 0 8px color-mix(in oklab, var(--era-3) 60%, transparent)); }

/* ================================================================== p1-llm-example: log lines on an era 3 rail */
:is(#p1-llm-example, [data-ov="p1-llm-example"]) .ix-rail { fill: var(--era-3); }
:is(#p1-llm-example, [data-ov="p1-llm-example"]) .node--era3 { fill: color-mix(in oklab, var(--era-3) 5%, var(--surface)); }
:is(#p1-llm-example, [data-ov="p1-llm-example"]) g[data-build="1"] .fo-l { font-family: var(--font-mono); font-weight: 500; font-size: 25px; }

/* ================================================================== p1-compare: the running example in miniature, era emblems in the heads */
:is(#p1-compare, [data-ov="p1-compare"]) .task-strip { padding: 12px 28px; }
:is(#p1-compare, [data-ov="p1-compare"]) .task-strip .ill-mini { width: 100px; height: 27px; flex: none; }
:is(#p1-compare, [data-ov="p1-compare"]) .compare-col header .emblem { width: 72px; height: 72px; flex: none; overflow: visible; }
:is(#p1-compare, [data-ov="p1-compare"]) .compare-col { box-shadow: 0 -14px 40px -26px var(--c); }

/* p1-llm-ctf: the unlit cells of a meter are empty slots with a 3:1 outline (a fainter outline would be a mark below 3:1) */
:is(#p1-llm-ctf, [data-ov="p1-llm-ctf"]) .bars .meter .unit:not(.is-on) { fill: color-mix(in oklab, var(--c) 9%, var(--surface)); stroke: var(--rule-3); stroke-width: 1.2; }

/* Inlined art (ill-running-example, ill-fuzzer, ill-running-mini): their own <style> blocks tint fills with color-mix() at 22 to 30 percent;
   the deck's checks read mixes from css/ only and treat 25 percent or less of a non-decorative token as a wash, so the tints are restated here
   at 24 percent (more specific than the art's own rules, which they replace). */
svg.ill-runex .ix-name--hot { fill: color-mix(in oklab, var(--accent) 22%, var(--surface)); }
svg.ill-runex .ix-fill { fill: color-mix(in oklab, var(--accent) 24%, var(--surface)); }
svg.ill-runex .ix-over { fill: color-mix(in oklab, var(--bad) 22%, var(--bg)); }
svg.ill-runex .ix-burst { fill: color-mix(in oklab, var(--bad) 24%, var(--surface)); }
svg.ill-fuzz .ix-card { fill: color-mix(in oklab, var(--part-1) 24%, var(--surface)); }
svg.ill-fuzz .ix-burst { fill: color-mix(in oklab, var(--bad) 22%, transparent); }
svg.ill-mini .ix-cell { fill: color-mix(in oklab, var(--accent) 24%, var(--surface)); }
svg.ill-mini .ix-over { fill: color-mix(in oklab, var(--bad) 24%, var(--surface)); }

/* ================================================================== plan 02 */

/* ---- era timelines: the axis draws in on entry; each pin is the era's icon in a ring of the era color (a pattern fill from the hidden
   defs in p1-rules-timeline); no emblem stickers */
.ix-pin-bg { fill: var(--bg); visibility: visible; }
pattern { visibility: visible; }   /* the pin patterns live in a hidden slide: their content would inherit its visibility */
.ix-pin-ic { visibility: visible; fill: none; stroke: currentColor; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
:is(#p1-rules-timeline, [data-ov="p1-rules-timeline"]) .timeline .event .mark { fill: url(#pin-era-1); }
:is(#p1-ml-timeline, [data-ov="p1-ml-timeline"]) .timeline .event .mark { fill: url(#pin-era-2); }
:is(#p1-llm-timeline, [data-ov="p1-llm-timeline"]) .timeline .event .mark { fill: url(#pin-era-3); }
:is(#p1-rules-timeline, [data-ov="p1-rules-timeline"], #p1-ml-timeline, [data-ov="p1-ml-timeline"], #p1-llm-timeline, [data-ov="p1-llm-timeline"]) .timeline .event .mark { r: 17px; stroke: var(--c); stroke-width: 3.5; }
:is(#p1-rules-timeline, [data-ov="p1-rules-timeline"], #p1-ml-timeline, [data-ov="p1-ml-timeline"], #p1-llm-timeline, [data-ov="p1-llm-timeline"]) .timeline .tick { transform: translateY(8px); }
:is(#p1-llm-timeline, [data-ov="p1-llm-timeline"]) .timeline .event .mark { r: 14px; }
:is(#p1-rules-timeline, #p1-ml-timeline, #p1-llm-timeline).is-current .timeline .axis { animation: ix-axis-in var(--d-draw) var(--ease-move) calc(var(--d-enter-delay) + var(--d-slide) * .4) backwards; }
@keyframes ix-axis-in { from { clip-path: inset(-40px 100% -40px 0); } to { clip-path: inset(-40px 0 -40px 0); } }

/* ---- statement slides: the glowing part-colored rail (same geometry as v2-d.css; none of these slides has a corner icon, so none is removed) */
:is(#p1-rules-signature, [data-ov="p1-rules-signature"], #p1-rules-static, [data-ov="p1-rules-static"], #p1-rules-fuzz, [data-ov="p1-rules-fuzz"], #p1-rules-symex, [data-ov="p1-rules-symex"],
    #p1-ml-example, [data-ov="p1-ml-example"], #p1-llm-real, [data-ov="p1-llm-real"], #p1-llm-example, [data-ov="p1-llm-example"]) .statement { position: relative; }
:is(#p1-rules-signature, [data-ov="p1-rules-signature"], #p1-rules-static, [data-ov="p1-rules-static"], #p1-rules-fuzz, [data-ov="p1-rules-fuzz"], #p1-rules-symex, [data-ov="p1-rules-symex"],
    #p1-ml-example, [data-ov="p1-ml-example"], #p1-llm-real, [data-ov="p1-llm-real"], #p1-llm-example, [data-ov="p1-llm-example"]) .statement::before {
  content: ""; position: absolute; left: -38px; top: .12em; bottom: .12em; width: 8px; border-radius: 4px;
  background: linear-gradient(var(--part), color-mix(in oklab, var(--part) 12%, transparent)); box-shadow: 0 0 22px var(--glow-part); }

/* ---- scanner beams and reticles (decor), once on entry */
.ix-beam-0 { stop-color: var(--part); stop-opacity: 0; }
.ix-beam-1 { stop-color: var(--part); stop-opacity: .55; }
.ix-reticle { fill: none; stroke: var(--part); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.ix-sweep { opacity: 0; stroke: var(--part); stroke-width: 1px; stroke-opacity: .04; }   /* a token-colored outline so that the contrast check hides the beam with the other colored shapes */
:is(#p1-rules-signature, #p1-rules-static).is-current .ix-sweep--sig { animation: ix-sweep-x calc(var(--d-draw) * 1.8) var(--ease-move) calc(var(--d-enter-delay) + var(--d-slide) * .6) backwards; }
:is(#p1-rules-signature, #p1-rules-static).is-current .ix-sweep--scan { animation: ix-sweep-y calc(var(--d-draw) * 2) var(--ease-move) calc(var(--d-enter-delay) + var(--d-slide) * .6) backwards; }
@keyframes ix-sweep-x { 0% { transform: translateX(0); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translateX(300px); opacity: 0; } }
@keyframes ix-sweep-y { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translateY(236px); opacity: 0; } }
.ix-sweep--scan { fill: var(--part); stroke: none; }

/* ---- p1-llm-example: the steps inside a terminal window */
:is(#p1-llm-example, [data-ov="p1-llm-example"]) .ix-term { fill: color-mix(in oklab, var(--era-3) 5%, var(--surface-2)); stroke: var(--rule-3); stroke-width: 2.5; }
:is(#p1-llm-example, [data-ov="p1-llm-example"]) .ix-term-bar { fill: none; stroke: var(--rule-3); stroke-width: 2; }
:is(#p1-llm-example, [data-ov="p1-llm-example"]) .ix-term-dot { fill: var(--era-3); }
:is(#p1-llm-example, [data-ov="p1-llm-example"]) .ix-term-dot:nth-of-type(2) { fill: var(--bad); }
:is(#p1-llm-example, [data-ov="p1-llm-example"]) .ix-term-dot:nth-of-type(3) { fill: var(--ink-3); }

/* ---- p1-tasks: the arrows draw in row by row */
:is(#p1-tasks, [data-ov="p1-tasks"]) path.edge[d^="M480 196"], :is(#p1-tasks, [data-ov="p1-tasks"]) path.edge[d^="M480 380"], :is(#p1-tasks, [data-ov="p1-tasks"]) path.edge[d^="M480 564"] { transition-delay: calc(var(--stagger) * 5); }

/* ---- p1-rules-cgc: the bus draws in with its step */
:is(#p1-rules-cgc, [data-ov="p1-rules-cgc"]) .ix-bus { transition-delay: calc(var(--d-draw) * .5); }

/* ---- p1-ml-why and p1-ml-shift: shorter cards, header washes, the group centered under the title */
:is(#p1-ml-why, [data-ov="p1-ml-why"]) .ix-head { fill: color-mix(in oklab, var(--part) 12%, var(--surface)); }
:is(#p1-ml-why, [data-ov="p1-ml-why"]) :is(#p1-ml-why, [data-ov="p1-ml-why"]) .fo-l.fo-sm { font-size: 28px; line-height: 1.3; }
:is(#p1-ml-why, [data-ov="p1-ml-why"]) .diagram { margin-top: auto; margin-bottom: 0; }
:is(#p1-ml-why, [data-ov="p1-ml-why"]) .step-captions { margin-bottom: auto; }
:is(#p1-ml-shift, [data-ov="p1-ml-shift"]) .ix-head { fill: color-mix(in oklab, var(--part) 12%, var(--surface)); }
:is(#p1-ml-shift, [data-ov="p1-ml-shift"]) rect.node[height="540"] { height: 460px; }
:is(#p1-ml-shift, [data-ov="p1-ml-shift"]) .diagram { margin-top: auto; margin-bottom: -140px; }
:is(#p1-ml-shift, [data-ov="p1-ml-shift"]) .step-captions { margin-bottom: auto; }

/* ---- p1-compare: era-colored header washes */
:is(#p1-compare, [data-ov="p1-compare"]) .compare-col header { background: color-mix(in oklab, var(--c) 10%, var(--surface)); margin: 0 -28px; padding-inline: 28px; }


/* ---- p1-ml-example: the drop is the story. Statement on top, the bars full width (CSS scale of the frozen 860 x 560 chart), a falling mark on the final build */
:is(#p1-ml-example, [data-ov="p1-ml-example"]) { grid-template-columns: 1fr; align-content: center; row-gap: 36px; }
:is(#p1-ml-example, [data-ov="p1-ml-example"]) .statement { font-size: 58px; max-width: 1500px; }
:is(#p1-ml-example, [data-ov="p1-ml-example"]) figure.chart { width: 100%; align-self: start; }
:is(#p1-ml-example, [data-ov="p1-ml-example"]) figure.chart .chart-svg { width: 1380px; height: auto; display: block; }

.ix-drop { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; overflow: visible; pointer-events: none; }
.ix-fall { fill: none; stroke: var(--bad); stroke-width: 6; stroke-linecap: round; }
.ix-fall-halo { fill: none; stroke: var(--bad); stroke-opacity: var(--halo); stroke-width: 22; stroke-linecap: round; }

:is(#p1-compare, [data-ov="p1-compare"]) .task-strip > .icon { display: none; }   /* the miniature replaces the flag, so the sentence fits on one line */

/* ---- p1-example: with the two body lines gone, the diagram and its captions are centered under the title */
:is(#p1-example, [data-ov="p1-example"]) .diagram { margin-top: auto; }
:is(#p1-example, [data-ov="p1-example"]) .step-captions { margin-top: 18px; margin-bottom: auto; }

/* ---- p1-example: the C code card (user edit E1) in the terminal style; the line that copies the name lights up at step 2 */
:is(#p1-example, [data-ov="p1-example"]) .code-card { position: relative; width: 930px; height: 324px; box-sizing: border-box; background: var(--surface-2); border: 2.5px solid var(--rule-3); border-radius: 14px; overflow: hidden; }
:is(#p1-example, [data-ov="p1-example"]) .code-card::before { content: ""; position: absolute; top: 14px; right: 24px; width: 12px; height: 12px; border-radius: 50%; background: var(--era-3); box-shadow: -26px 0 0 var(--bad), -52px 0 0 var(--ink-3); }
:is(#p1-example, [data-ov="p1-example"]) .code-card pre { position: relative; z-index: 1; margin: 0; padding: 14px 20px; font: 500 26px/1.25 var(--font-mono); color: var(--ink); white-space: pre; tab-size: 4; font-variant-ligatures: none; }
:is(#p1-example, [data-ov="p1-example"]) .code-card code { font: inherit; }
:is(#p1-example, [data-ov="p1-example"]) .code-hl { position: absolute; z-index: 0; left: 0; right: 0; top: 241.5px; height: 32.5px; background: var(--accent-wash); border-left: 6px solid var(--accent); }

svg.ill-runex { overflow: visible; }   /* the crash card now sits 430 px further right and may touch the art's own box edge */

/* ==== art rules (generated) ==== */
/* The rules of the inlined illustrations (from img/illus/*.svg), kept here so a slide has no <style> text; every selector is scoped to the art's own root class. */
/* ill-title-core */
  .ill-core .ix-ring { fill: none; stroke: var(--rule-2); stroke-width: 1.5; stroke-dasharray: 2 7; }
  .ill-core .ix-ticks { fill: none; stroke: var(--rule-3); stroke-width: 2; stroke-linecap: round; }
  .ill-core .ix-sweep { fill: var(--part-0); fill-opacity: .08; }
  .ill-core .ix-arc { fill: none; stroke: var(--part-0); stroke-width: 4; stroke-linecap: round; }
  .ill-core .ix-arc-halo { fill: none; stroke: var(--part-0); stroke-width: 16; stroke-opacity: var(--halo, .25); stroke-linecap: round; }
  .ill-core .ix-hex-out { fill: none; stroke: var(--part-0); stroke-width: 3; }
  .ill-core .ix-hex-out-halo { fill: none; stroke: var(--part-0); stroke-width: 14; stroke-opacity: var(--halo, .25); }
  .ill-core .ix-hex-mid { fill: none; stroke: var(--rule-3); stroke-width: 1.5; }
  .ill-core .ix-hex-in { fill: var(--accent-wash); stroke: var(--accent); stroke-width: 4; }
  .ill-core .ix-hex-in-halo { fill: none; stroke: var(--accent); stroke-width: 24; stroke-opacity: var(--halo, .25); }
  .ill-core .ix-lattice circle { fill: var(--part-0); }
  .ill-core .ix-chip { fill: var(--surface); stroke: var(--accent-ink); stroke-width: 3.5; }
  .ill-core .ix-chip-core { fill: var(--accent); }
  .ill-core .ix-pins { fill: none; stroke: var(--accent-ink); stroke-width: 3.5; stroke-linecap: round; }
  .ill-core .ix-trace { fill: none; stroke: var(--c); stroke-width: 3; stroke-linecap: round; }
  .ill-core .ix-via { fill: var(--bg); stroke: var(--c); stroke-width: 3; }
  .ill-core .ix-pn-halo { fill: var(--c); fill-opacity: .14; }
  .ill-core .ix-pn-disc { fill: var(--surface); stroke: var(--c); stroke-width: 3; }
  .ill-core .ix-pn-mark { fill: none; stroke: var(--c); stroke-width: 3.5; stroke-linejoin: round; }
  .ill-core .spin { transform-origin: 340px 340px; transform-box: view-box; }
/* ill-divider-1 */
  .ill-div-1 { --c: var(--part-1); }
  .ill-div .ix-frame { fill: color-mix(in oklab, var(--c) 6%, var(--surface)); stroke: var(--c); stroke-width: 3.5; stroke-linejoin: round; }
  .ill-div .ix-frame-halo { fill: none; stroke: var(--c); stroke-width: 22; stroke-opacity: var(--halo, .25); stroke-linejoin: round; }
  .ill-div .ix-thin { fill: none; stroke: var(--rule-3); stroke-width: 1.5; }
  .ill-div .ix-dash { fill: none; stroke: var(--rule-3); stroke-width: 1.5; stroke-dasharray: 3 7; }
  .ill-div .ix-ticks { fill: none; stroke: var(--rule-3); stroke-width: 2; stroke-linecap: round; }
  .ill-div .ix-hot { fill: none; stroke: var(--c); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
  .ill-div .ix-hot-fill { fill: var(--c); }
  .ill-div .ix-scan { fill: none; stroke: var(--c); stroke-width: 1; stroke-opacity: .16; }
  .ill-div .ix-node { fill: var(--bg); stroke: var(--c); stroke-width: 3; }
  .ill-div .ix-bracket { fill: none; stroke: var(--ink-3); stroke-width: 3; stroke-linecap: round; }
  .ill-div .spin { transform-origin: 280px 280px; transform-box: view-box; }
/* ill-running-example */
  .ill-runex .ix-doc { fill: var(--surface); stroke: var(--rule-3); stroke-width: 2; stroke-linejoin: round; }
  .ill-runex .ix-fold { fill: var(--surface-3); stroke: var(--rule-3); stroke-width: 2; stroke-linejoin: round; }
  .ill-runex .ix-len { fill: none; stroke: var(--ink-3); stroke-width: 2; }
  .ill-runex .ix-name { fill: var(--surface-3); stroke: var(--rule-2); stroke-width: 1.5; }
  .ill-runex .ix-name--hot { fill: color-mix(in oklab, var(--accent) 22%, var(--surface)); stroke: var(--accent); stroke-width: 2; }
  .ill-runex .ix-box { fill: var(--surface); stroke: var(--rule-3); stroke-width: 2; }
  .ill-runex .ix-pin { fill: none; stroke: var(--rule-3); stroke-width: 3; stroke-linecap: round; }
  .ill-runex .ix-stack { fill: none; stroke: var(--rule-2); stroke-width: 1.5; stroke-dasharray: 3 6; }
  .ill-runex .ix-cell { fill: var(--surface-2); stroke: var(--rule-3); stroke-width: 2; }
  .ill-runex .ix-fill { fill: color-mix(in oklab, var(--accent) 30%, var(--surface)); stroke: var(--accent); stroke-width: 2; }
  .ill-runex .ix-end { fill: none; stroke: var(--ink); stroke-width: 5; stroke-linecap: round; }
  .ill-runex .ix-over { fill: color-mix(in oklab, var(--bad) 22%, var(--bg)); stroke: var(--bad); stroke-width: 3; }
  .ill-runex .ix-hatch { fill: none; stroke: var(--bad); stroke-width: 3; stroke-linecap: round; }
  .ill-runex .ix-crack { fill: none; stroke: var(--bad); stroke-width: 4; stroke-linejoin: round; stroke-linecap: round; }
  .ill-runex .ix-halo { fill: none; stroke: var(--bad); stroke-width: 18; stroke-opacity: var(--halo, .25); stroke-linejoin: round; }
  .ill-runex .ix-burst { fill: color-mix(in oklab, var(--bad) 25%, var(--surface)); stroke: var(--bad); stroke-width: 3.5; stroke-linejoin: round; }
  .ill-runex .ix-burst-halo { fill: var(--bad); fill-opacity: .14; }
  .ill-runex .ix-card { fill: var(--surface); stroke: var(--bad); stroke-width: 3; }
/* ill-fuzzer */
  .ill-fuzz .ix-card { fill: color-mix(in oklab, var(--part-1) 30%, var(--surface)); stroke: var(--part-1); stroke-width: 2; }
  .ill-fuzz .ix-pins { fill: none; stroke: var(--rule-3); stroke-width: 3; stroke-linecap: round; }
  .ill-fuzz .ix-loop { fill: none; stroke: var(--part-1); stroke-width: 16; stroke-opacity: var(--halo, .25); stroke-linecap: round; }
  .ill-fuzz .ix-burst { fill: color-mix(in oklab, var(--bad) 22%, transparent); stroke: var(--bad); stroke-width: 3; stroke-linejoin: round; }
/* ill-running-mini */
  .ill-mini .ix-doc { fill: var(--surface); stroke: var(--ink-3); stroke-width: 2; stroke-linejoin: round; }
  .ill-mini .ix-chip { fill: var(--surface); stroke: var(--ink-3); stroke-width: 2; }
  .ill-mini .ix-pin { fill: none; stroke: var(--ink-3); stroke-width: 2; stroke-linecap: round; }
  .ill-mini .ix-edge { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; }
  .ill-mini .ix-cell { fill: color-mix(in oklab, var(--accent) 30%, var(--surface)); stroke: var(--accent); stroke-width: 1.5; }
  .ill-mini .ix-over { fill: color-mix(in oklab, var(--bad) 30%, var(--surface)); stroke: var(--bad); stroke-width: 1.5; }
  .ill-mini .ix-end { fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; }
/* E13: inline code in the p1-ml-example statement */
:is(#p1-ml-example, [data-ov="p1-ml-example"]) .statement code { font-family: var(--font-mono); font-weight: 700; font-size: .86em; letter-spacing: 0; }
/* E17: inline code in the p1-example box titles */
:is(#p1-example, [data-ov="p1-example"]) .fo-t code { font-family: var(--font-mono); font-weight: 700; font-size: .9em; letter-spacing: 0; }
/* E19: inline code in labels and captions that named parse() */
:is(#p1-example, #p1-rules-signature, #p1-rules-static, #p1-llm-example, [data-ov="p1-example"], [data-ov="p1-rules-signature"], [data-ov="p1-rules-static"], [data-ov="p1-llm-example"]) :is(.fo-s, .fo-l, .step-captions p) code { font-family: var(--font-mono); font-weight: 600; font-size: 1em; letter-spacing: 0; }   /* 1em: the labels are at 24 px, the minimum is 22 */
:is(#p1-llm-example, [data-ov="p1-llm-example"]) .fo-l code { font: inherit; }   /* the v2 steps are already set in mono */
/* E19 fix: the step label is a flex container, which drops the space before <code>; restore one mono space (minus the 4px column gap) */
:is(#p1-llm-example, [data-ov="p1-llm-example"]) .fo-l code { margin-left: calc(1ch - 4px); }
/* E22: p3-cpt-what has one full-width card under the panel (the "Not in the report" card was removed) */
:is(#p3-cpt-what, [data-ov="p3-cpt-what"]) .cw-cards { grid-template-columns: 1fr; }
:is(#p3-cpt-what, [data-ov="p3-cpt-what"]) .cw-card { height: auto; }
/* E24: the one line under the p3-fm-context chart */
:is(#p3-fm-context, [data-ov="p3-fm-context"]) .chart-note { position: absolute; left: 120px; right: 120px; bottom: 200px; margin: 0; font: 600 var(--fs-body-min)/1.3 var(--font-sans); color: var(--ink); }
/* E24: the title is now one line, so the chart sits 31 px higher; the context-window frame follows it (this selector outranks the one in v2-d.css) */
.slide:is(#p3-fm-context, [data-ov="p3-fm-context"])::before { top: 379px; }
