/* Kindergarten deck-local · multi-pair clothesline conveyor (W7/W7p, W8/W8p) */

/* Title-only cards match leading plan title column width (5-col grid, first cell) */
.reveal .slides > section[data-cl-title-only] .fam.fm-days {
  --fm-n: 5;
}
.reveal .slides > section[data-cl-title-only] .fm-days-row {
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  justify-items: stretch;
}
.reveal .slides > section[data-cl-title-only] .fm-day {
  grid-column: 1;
  animation: none !important;
  opacity: 1 !important;
}

.reveal .slides > section[data-cl-track] .fm-day {
  animation: none !important;
  opacity: 1 !important;
  translate: 0 calc(var(--fm-sag, 0.25em) * var(--k, 0) * 0.35);
}
.reveal .slides > section[data-cl-track] svg.fm-line {
  height: 0.55em;
  top: 0.85em;
}
.reveal .slides > section[data-cl-track] .fam.fw-line,
.reveal .slides > section[data-cl-track] .fam.fw-line.in {
  opacity: 1 !important;
  animation: none !important;
}
.reveal .slides > section[data-cl-track] .num.plate-num {
  position: absolute; z-index: 1; left: auto; right: 84px; bottom: 96px;
  opacity: 0.85; pointer-events: none; font-size: clamp(3rem, 8vw, 5.5rem);
  line-height: 1; color: var(--teal-deep, #0A5C55);
}

/* During conveyor: hide live card tracks (chrome/bg stay) */
.reveal .slides > section[data-cl-track].cl-cards-hidden [data-cl-role="cards"] {
  visibility: hidden !important;
}

#cl-track-stage,
#cl-week7-stage /* legacy alias removed at runtime */ {
  position: absolute;
  inset: 0;
  z-index: 18;
  pointer-events: none;
  overflow: hidden;
  display: none;
}
#cl-track-stage.is-on { display: block; }
#cl-track-stage .cl-viewport {
  position: absolute;
  overflow: hidden;
}
#cl-track-stage .cl-rope {
  position: absolute;
  left: 2%;
  right: 2%;
  top: 0.85em;
  width: 96%;
  height: 0.55em;
  color: rgba(255, 255, 255, 0.92);
  z-index: 2;
  pointer-events: none;
  overflow: visible;
}
#cl-track-stage .cl-belt {
  position: absolute;
  left: 0; top: 0;
  height: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  will-change: transform;
  z-index: 1;
}
#cl-track-stage .cl-panel {
  height: 100%;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}
#cl-track-stage .cl-panel .fam {
  width: 100%;
  height: 100%;
  margin: 0;
}
#cl-track-stage .cl-panel .fm-day {
  animation: none !important;
  opacity: 1 !important;
}

@media (prefers-reduced-motion: reduce) {
  #cl-track-stage { display: none !important; }
  .reveal .slides > section[data-cl-track].cl-cards-hidden [data-cl-role="cards"] {
    visibility: visible !important;
  }
}
.static #cl-track-stage { display: none !important; }
.cl-track-ghost, .cl-track-hold { /* legacy killed */ }

/* Finish QA: keep weekly backgrounds fixed during card conveyors and avoid
   unbreakable Recognition/Watch titles painting across the neighboring card. */
.reveal .slides > section[data-cl-track] { transform: none !important; }
section[data-cl-track] .fm-day h3, section[data-cl-track] .fm-day h4 { overflow-wrap: anywhere; }

/* ---- Finish typography consistency pass (deck-level only; core CSS untouched) ----
   One headline leading, one lede leading, steadier body rhythm, shared label tracking,
   one pill size. Values chosen from the existing core scale, not a redesign. */
.reveal .slides > section h2:not(:has(.mk.circle)),
.reveal .slides > section h2.tight:not(:has(.mk.circle)) { line-height: 1.1; } /* circle marks keep core 1.16 for the ring */
.reveal .slides > section .lede { line-height: 1.4; }
.reveal .slides > section.l-bullets li { line-height: 1.36; }
.reveal .slides > section.l-cards-3 .card p { line-height: 1.38; }
.reveal .slides > section.l-text-sidebar .index-card li { line-height: 1.45; }
.reveal .slides > section.l-text-sidebar .index-card .label { line-height: 1.2; display: inline-block; margin-bottom: 0.5em; }
/* mono labels (slugs, taglines, card feet, step tags, station "when", part maps) share one tracking */
.reveal .slides > section :is(.slug, .tagline, .foot, .tag, .when, .part-map li) { letter-spacing: 0.12em; }
/* Montserrat small-caps labels share one tracking */
.reveal .slides > section .label { letter-spacing: 0.16em; }
/* pill stamps: one size and padding on every slide */
.reveal .slides > section .stamp-ink.press:not(.round) { font-size: 22px; padding: 8px 18px; letter-spacing: 0.1em; }
/* five-step numbered lists: tighter, even step rhythm so step 05 clears the ridge band */
.reveal .slides > section.l-numbered .num-list.tags:has(> li:nth-child(5)) { gap: 22px; margin-bottom: 64px; }
/* weekly pro tip line (replaces the old source/caption line; same caption size and colour) */
.reveal .slides > section .tip { font-size: var(--fs-caption); color: var(--muted); letter-spacing: .01em; line-height: 1.4; }
.reveal .slides > section .tip b { color: var(--fg); font-weight: 700; }
.reveal .slides > section .tip .tip-label { font-family: var(--f-mono); font-size: 22px; letter-spacing: 0.12em; text-transform: uppercase; margin-right: 0.5em; padding: 2px 10px; border-radius: 999px; border: 1.5px solid currentColor; }
.reveal .slides section[data-slide="R9"] .mf-stamp { top: 622px !important; } /* 2026-11-10: keep the stamp clear of the pro tip */
/* 2026-11-10b visual pass: cover kicker on one line (no orphan); A5 ink note clear of the "You lead" stamp */
.reveal .slides section[data-slide="A1"] .kicker { white-space: nowrap; }
.reveal .slides section[data-slide="A5"] .ink-note { translate: -190px -6px; }


/* PD Library overlay (content/high-school/deck.patch.css) */

/* ---- layout fixes (QA 2026-11-17) ---- */
/* text-sidebar: the drop cap tile split the first word ("t is not", "S it"); set the opening as a plain paragraph */
.reveal .slides section.l-text-sidebar p.drop::first-letter { float: none; font: inherit; line-height: inherit; color: inherit; background: none; border: 0; border-radius: 0; padding: 0; margin: 0; text-shadow: none; }
/* numbered: five steps ran under the ground band; tighter rhythm so step 05 clears the ridge */
.reveal .slides section.l-numbered:has(.num-list li:nth-child(5)) .num-list.tags { gap: 30px; }
.reveal .slides section.l-numbered:has(.num-list li:nth-child(5)) .num-list.tags li b { font-size: 40px; margin-bottom: 10px; }
.reveal .slides section.l-numbered:has(.num-list li:nth-child(5)) .num-list.tags li span { font-size: 30px; line-height: 1.3; }
/* agenda: Partner stood on the last line of the lede; smaller, and below it */
.reveal .slides section[data-slide="A2"] .partner { left: 700px !important; bottom: 52px !important; height: 300px !important; width: 201px !important; }
/* process: the hand note ran into the YOU LEAD tag; set it on the left, under the lede */
.reveal .slides section.l-process .ink-note { align-self: flex-start; margin-left: 0; translate: 0 -14px; }
.reveal .slides section[data-slide="W1"] .footnote p { display: inline-block; color: #fff; background: #022D41; padding: 6px 18px; border-radius: 10px; }
.reveal .slides section[data-slide="W1p"] .footnote p { display: inline-block; color: #fff; background: #022D41; padding: 6px 18px; border-radius: 10px; }
.reveal .slides section[data-slide="W3"] .footnote p { display: inline-block; color: #fff; background: #022D41; padding: 6px 18px; border-radius: 10px; }
.reveal .slides section[data-slide="W3p"] .footnote p { display: inline-block; color: #fff; background: #022D41; padding: 6px 18px; border-radius: 10px; }
.reveal .slides section[data-slide="W5"] .footnote p { display: inline-block; color: #fff; background: #022D41; padding: 6px 18px; border-radius: 10px; }
.reveal .slides section[data-slide="W5p"] .footnote p { display: inline-block; color: #fff; background: #022D41; padding: 6px 18px; border-radius: 10px; }
.reveal .slides section[data-slide="W7"] .footnote p { display: inline-block; color: #fff; background: #022D41; padding: 6px 18px; border-radius: 10px; }
.reveal .slides section[data-slide="W7p"] .footnote p { display: inline-block; color: #fff; background: #022D41; padding: 6px 18px; border-radius: 10px; }
.reveal .slides section[data-slide="W9"] .footnote p { display: inline-block; color: #fff; background: #022D41; padding: 6px 18px; border-radius: 10px; }
.reveal .slides section[data-slide="W9p"] .footnote p { display: inline-block; color: #fff; background: #022D41; padding: 6px 18px; border-radius: 10px; }
.reveal .slides section[data-slide="W11"] .footnote p { display: inline-block; color: #fff; background: #022D41; padding: 6px 18px; border-radius: 10px; }
.reveal .slides section[data-slide="W11p"] .footnote p { display: inline-block; color: #fff; background: #022D41; padding: 6px 18px; border-radius: 10px; }
/* R6: the last bullet sat on the ground ridge; tighter list */
.reveal .slides section[data-slide="R6"] .paws-list { gap: 22px; }
.reveal .slides section[data-slide="R6"] .paws-list li { font-size: 36px; }

/* PD Library: a note card where Partner's balloon carried content (Partner lives in the side viewer) */
.reveal .pd-note { position: absolute; z-index: 5; max-width: 360px; padding: 18px 22px; background: #fff; color: #022D41;
  border-radius: 16px; box-shadow: 0 14px 30px -12px rgba(2,45,65,.45); font: 600 26px/1.35 'Montserrat', sans-serif;
  border-top: 6px solid #34C6B9; }


/* PD Library house fixes (tools/library-deck.css) */
/* PD Library house fixes appended to every deck by ingest.py (QA 2026-11-17). One fix per block, labelled. */

/* text-sidebar: the drop cap tile split the first word ("S tructure"); set the opening as a plain paragraph */
.reveal .slides section.l-text-sidebar p.drop::first-letter { float: none; font: inherit; line-height: inherit; color: inherit; background: none; border: 0; border-radius: 0; padding: 0; margin: 0; text-shadow: none; }

/* pattern 1 · l-flow: the PRO TIP footnote sat at bottom 74px, on the mesa ridge, and the ground edge struck through it.
   Lift it clear of the desert band (200px tall, ridge peak about 115px) and give it a paper wash so a tall mesa never touches it. */
.reveal .slides section.l-flow > .footnote { bottom: 222px; z-index: 4; }
.reveal .slides section.l-flow > .footnote .tip { background: none; }

/* pattern 3 · hand-drawn circle mark in a headline: the loop reaches out into the gap before the mark (the gap is only a
   space wide, so the stroke touched the last letter of the word before it). A wider gap lets the loop stay clear of it. */
.reveal .slides section :is(h1, h2, h3, .big, .ask, .display, .quote) .mk.circle { margin-left: .3em; }
/* the full stop after a circled phrase wrapped onto a line of its own when the mark filled the line; keep the mark and the
   full stop on one unbreakable run by letting the mark sit in the line as inline text (the loop is measured to the letters,
   so the drawing does not move) */
.reveal .slides section :is(h1, h2, h3, .big, .ask, .display, .quote) > .mk.circle { display: inline; }

/* pattern 4 · l-cycle on yellow (and butter): the stage icons were navy on a navy tile. Print the icon in yellow, as t-teal does in teal. */
.t-yellow .orbit .node .icon, .t-butter .orbit .node .icon { background: var(--navy); border-color: var(--navy); color: var(--yellow); box-shadow: 0 0 0 10px var(--bg); }
.t-yellow .orbit .node .icon svg, .t-butter .orbit .node .icon svg { color: var(--yellow); stroke: currentColor; }

/* pattern 5 · l-definition: when the plate carries only the generic paw scene (no photo, no drawing of the thing), a bordered
   "Fig." card reads as a missing picture. Set the paw as a quiet printed mark instead: no card, no figure number, faint ink. */
.l-definition .fig:has(.ht-scene[data-scene="paw"]) { background: none; box-shadow: none; padding: 0; rotate: 0deg; right: 190px; top: 190px; }
.l-definition .fig:has(.ht-scene[data-scene="paw"]) .ht-scene { outline: 0; width: 520px; height: 520px; opacity: .22; }
.l-definition .fig:has(.ht-scene[data-scene="paw"]) figcaption { display: none; }
.reveal .slides > section.l-definition.mirror .fig:has(.ht-scene[data-scene="paw"]) { left: 190px; right: auto; rotate: 0deg; }

/* pattern 6 · title and call-to-action slides with no photo (or QR) for the sun to rise behind: a big whole yellow disc read as an
   empty frame. Make it a smaller sun resting on the horizon instead (kept inside the slide, so no clipping is needed). */
.l-title:not(:has(.plate, .cover-photo, .photo)) .ht-sun, .l-cta:not(:has(.qr-col)) .ht-sun { top: auto; bottom: 96px; right: 330px; width: 300px; height: 300px; }

/* pattern 7 · navy type on teal slides (owner 11-17: "navy font on teal slides" reads low): on the darker teal (t-teal, #20A296)
   navy #022D41 measured 4.59:1, the floor of AA, on every heading, lede, kicker and label. Ink teal slides in navy-deep
   (#011E2C) instead: 5.45:1 on the flat teal and more under the light glows. Navy cards and the ridge on a teal slide go a
   shade deeper with it, which only lifts the white type they carry. The coral "avoid" ink goes deeper too (3.74 to 4.76:1). */
.reveal .t-teal { --navy: #011E2C; --bad: #4E1009; }

/* owner 11-18 (phone screenshot, Behavior Camp S14): in the viewer (html.embed) the field-press masthead and its crop marks are
   pinned to the frame edges at fixed sizes, so in a small frame they cover the slide. The viewer has its own chrome: hide them. */
html.embed .press-frame { display: none !important; }

/* 11-18 timing pass (sync_check motion-late): every entrance lands within 3 s of the slide. Long authored delays on the
   infographic draws and the ink stamp are capped; their order is kept, only the tail is pulled in. */
.reveal .slides section.present .info .ig-draw,
.reveal .slides section.present .info-kpi .ig-draw { animation-delay: calc(min(var(--d, 0s), 1.7s) + var(--tx-hold, 0ms)) !important; }
.reveal .slides section.present .stamp-ink.press { animation-delay: min(var(--st-d, 1.2s), 1.8s) !important; }
