/* DRAW IT ANYWAY — Manifesto CSS
 * Reference register: Kruger, Kalman, Saul Bass, McLuhan/Fiore, Berger, Koolhaas/Mau, Swiss Style.
 * v0.2.1 — applies taste-skill + reference-style review fixes:
 *   - Stripped POSTER chrome (no foot, minimal index)
 *   - Pushed POSTER type past comfort (17vw cap, 0.78 leading)
 *   - Tokenized spacing
 *   - Solid colors, no muddy opacity on chrome
 *   - Hardware-accelerated hover (transform, not padding)
 *   - Print color-adjust
 *   - backdrop-filter @supports fallback
 *   - Spread 05 demonstrates whitespace (small slogan, big paper)
 *   - Spread 09 closes at thumbnail scale (the joke earns the page)
 *   - Phase divider gets a hard bottom rule
 *   - Visible grid hairlines (Swiss made visual fact)
 */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600&family=IBM+Plex+Sans:wght@200;300;400;500;600;700&family=IBM+Plex+Serif:ital,wght@0,400;0,600;1,400;1,600&display=swap');

:root {
  /* Paper + Ink — constants */
  --paper: #FAF8F5;
  --paper-edge: #ECE6DA;
  --paper-muted: #D8D2C5;     /* solid alternative to opacity-on-paper */
  --paper-rule: rgba(245, 242, 236, 0.32);  /* hairline on color slabs */
  --ink: #1A1A1A;
  --ink-soft: #4A4A4A;
  --ink-faint: #8B8680;

  /* Accent pool — Bass discipline, one per spread */
  --cobalt: #1A2B4C;
  --cobalt-deep: #0F1F3D;
  --warm: #B85A2B;            /* saffron/rust */
  --critical: #C13B2C;        /* Kruger vermilion-adjacent */
  --jet: #0A0907;             /* near-black, denser than --ink */

  /* Per-spread overrides set on the section element */
  --spread-color: var(--cobalt);
  --spread-on-color: var(--paper);

  /* Hair rules */
  --rule: 1px solid var(--paper-edge);
  --rule-strong: 1px solid var(--ink);
  --rule-slab: 1px solid var(--paper-rule);

  /* Type stack */
  --sans: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  --serif: 'IBM Plex Serif', Georgia, 'Times New Roman', serif;
  --mono: 'IBM Plex Mono', 'SF Mono', Menlo, Consolas, monospace;

  /* Sizing tokens */
  --max-page: 1400px;
  --gutter: clamp(1.25rem, 3vw, 2.5rem);
  --pad-section: clamp(4rem, 8vw, 7.5rem);
  --pad-section-tight: clamp(2.5rem, 5vw, 4rem);
  --measure-body: 48ch;
  --measure-proof: 60ch;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background: var(--paper);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.55;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

@media (min-width: 900px) { body { font-size: 18px; } }

/* ============================================================
   STICKY CHROME
   ============================================================ */

.site-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 56px;
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: var(--rule);
  z-index: 100;
  display: flex;
  align-items: center;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink);
}

@supports not (backdrop-filter: blur(8px)) {
  .site-bar { background: var(--paper); }
}

.site-bar__inner {
  width: 100%;
  max-width: var(--max-page);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.site-bar__brand {
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--ink);
  text-decoration: none;
}

.site-bar__progress {
  display: flex;
  gap: 0.5rem;
  align-items: baseline;
  flex: 0 0 auto;
}

.site-bar__progress .count { font-weight: 500; }
.site-bar__progress .total { color: var(--ink-faint); }
.site-bar__progress .phase {
  margin-left: 1rem;
  color: var(--ink-soft);
  font-weight: 500;
  letter-spacing: 0.18em;
}

.site-bar__nav {
  display: flex;
  gap: 1.5rem;
}

.site-bar__nav a {
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 120ms ease;
}

.site-bar__nav a:hover { color: var(--ink); }

@media (max-width: 720px) {
  .site-bar__nav { display: none; }
}

/* ============================================================
   COVER
   ============================================================ */

.cover {
  min-height: 100vh;
  background: var(--paper);
  display: grid;
  grid-template-rows: 1fr auto;
  padding: 7rem var(--gutter) 4rem;
  position: relative;
  border-bottom: var(--rule-strong);
}

.cover__inner {
  max-width: var(--max-page);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-content: center;
}

@media (min-width: 1000px) {
  .cover__inner { grid-template-columns: 1.4fr 1fr; align-items: end; }
}

.cover__title {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(3.5rem, 13vw, 12rem);
  line-height: 0.82;
  letter-spacing: -0.05em;
  color: var(--ink);
  margin: 0;
  text-transform: uppercase;
}

.cover__title .accent {
  color: var(--cobalt-deep);
  display: inline-block;
}

.cover__subtitle {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  line-height: 1.35;
  color: var(--ink-soft);
  margin: 2.25rem 0 0;
  max-width: 32ch;
}

.cover__meta {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-faint);
  display: grid;
  gap: 0.5rem;
  align-self: end;
}

.cover__meta strong {
  color: var(--ink);
  font-weight: 500;
  letter-spacing: 0.12em;
}

.cover__phase-list {
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.4rem;
  font-family: var(--mono);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.cover__phase-list a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--paper-edge);
  padding-bottom: 0.4rem;
  display: inline-block;
  transition: transform 160ms ease, border-color 160ms ease;
  will-change: transform;
}

.cover__phase-list a:hover {
  border-bottom-color: var(--ink);
  transform: translateX(4px);
}

.cover__phase-list .roman {
  display: inline-block;
  width: 2.2rem;
  font-weight: 600;
  color: var(--ink-faint);
}

.cover__rule {
  grid-column: 1 / -1;
  border-top: var(--rule-strong);
  margin-top: 3rem;
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* ============================================================
   PHASE DIVIDER
   ============================================================ */

.phase-divider {
  min-height: 70vh;
  background: var(--ink);
  color: var(--paper);
  display: grid;
  align-items: center;
  padding: var(--pad-section) var(--gutter);
  position: relative;
  border-bottom: 6px solid var(--paper);
}

.phase-divider__inner {
  max-width: var(--max-page);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 800px) {
  .phase-divider__inner { grid-template-columns: 1fr 2fr; gap: 3rem; align-items: end; }
}

.phase-divider__label {
  font-family: var(--mono);
  font-size: 0.85rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--paper-muted);
}

.phase-divider__title {
  font-family: var(--sans);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(3rem, 11vw, 9rem);
  line-height: 0.86;
  letter-spacing: -0.045em;
  margin: 0;
  color: var(--paper);
}

.phase-divider__caption {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(245, 242, 236, 0.25);
  margin-top: 2rem;
  padding-top: 1.5rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.15rem, 1.6vw, 1.45rem);
  line-height: 1.45;
  max-width: var(--measure-proof);
  color: var(--paper);
}

/* ============================================================
   SPREAD — per-spread accent assignments
   Distribution rotates 5 accents over 9 spreads, never adjacent dupes.
   Spread 09 changed from --ink to --cobalt-deep to avoid fuse w/ phase divider.
   Spread 05 inverts to paper (whitespace demonstration).
   ============================================================ */

.spread { /* no border — phase divider supplies the boundary */ }

.spread[data-spread="01"] { --spread-color: var(--cobalt-deep); }
.spread[data-spread="02"] { --spread-color: var(--critical); }
.spread[data-spread="03"] { --spread-color: var(--warm); }
.spread[data-spread="04"] { --spread-color: var(--jet); }
.spread[data-spread="05"] {
  --spread-color: var(--paper);
  --spread-on-color: var(--ink);
}
.spread[data-spread="06"] { --spread-color: var(--cobalt); }
.spread[data-spread="07"] { --spread-color: var(--warm); }
.spread[data-spread="08"] { --spread-color: var(--critical); }
.spread[data-spread="09"] { --spread-color: var(--cobalt-deep); }

/* Hard rule between spreads on paper sequences */
.spread + .spread { border-top: var(--rule-strong); }

/* ============================================================
   POSTER beat
   Strip chrome. Slogan IS the page. One tiny mono index, top-left.
   ============================================================ */

.beat--poster {
  background: var(--spread-color);
  color: var(--spread-on-color, var(--paper));
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr;
  padding: 6rem var(--gutter) 4rem;
  position: relative;
  overflow: hidden;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}

/* Spread 05 — the whitespace demonstration.
   Tiny slogan, vast paper, nothing else. */
.spread[data-spread="05"] .beat--poster {
  background: var(--paper);
  color: var(--ink);
  border-bottom: var(--rule);
  min-height: 100vh;
  grid-template-rows: auto 1fr auto;
}

/* Spread 09 — closes at thumbnail scale.
   The joke earns the page: tiny slogan, alone. */
.spread[data-spread="09"] .beat--poster {
  grid-template-rows: auto 1fr auto;
}

.beat--poster__index {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--spread-on-color, var(--paper));
  max-width: var(--max-page);
  margin: 0 auto;
  width: 100%;
  font-weight: 500;
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 1.25rem;
}

.beat--poster__index .index-no { font-weight: 600; }
.beat--poster__index .index-rule {
  flex: 1;
  height: 1px;
  background: currentColor;
  opacity: 0.4;
  align-self: center;
  margin-top: 0;
}

.beat--poster__slogan {
  max-width: var(--max-page);
  margin: 0 auto;
  width: 100%;
  align-self: end;
  padding-bottom: 0.5rem;
}

.beat--poster__slogan h1 {
  font-family: var(--sans);
  font-weight: 700;
  /* Conservative cap — every line must fit at 1280px viewport without natural wrap.
     The longest segment is "FLASHLIGHT." at 10 chars; at ~6rem it spans ~620px. */
  font-size: clamp(2.25rem, 9vw, 6.5rem);
  line-height: 1.0;
  letter-spacing: -0.02em;       /* gentle tracking — preserves word spaces */
  word-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0;
  text-align: left;
}

/* Each manual break renders as its own block; nowrap guarantees no natural wrap
   inside a segment. This is what makes "NOT A" stay on one line and not collapse
   onto its neighbour. */
.beat--poster__slogan .line {
  display: block;
  white-space: nowrap;
  /* Defensive: if a single segment somehow exceeds viewport, scale it down rather
     than wrap or overflow. Modern browsers honour this; older browsers fall back to
     just clipping which is acceptable. */
  max-width: 100%;
}

.beat--poster__slogan .line + .line {
  margin-top: 0.08em;            /* tiny vertical breathing room between lines */
}

/* Spread 05 — slogan small, paper enormous */
.spread[data-spread="05"] .beat--poster__slogan h1 {
  font-size: clamp(1.5rem, 3.5vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: 0;
  word-spacing: normal;
  max-width: 16ch;
}

.spread[data-spread="05"] .beat--poster__slogan .line {
  display: inline;
  white-space: normal;
}

.spread[data-spread="05"] .beat--poster__slogan {
  align-self: end;
  padding-bottom: 3rem;
}

/* Spread 09 — closes at thumbnail scale */
.spread[data-spread="09"] .beat--poster__slogan h1 {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: 0;
  word-spacing: normal;
  max-width: 22ch;
}

.spread[data-spread="09"] .beat--poster__slogan .line {
  display: inline;
  white-space: normal;
}

.spread[data-spread="09"] .beat--poster__slogan {
  align-self: center;
  text-align: left;
}

/* Footnote for spread 09 — the "joke earns the page" caption */
.beat--poster__thumb-note {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--spread-on-color);
  opacity: 0.7;
  max-width: var(--max-page);
  margin: 0 auto;
  width: 100%;
  border-top: 1px solid currentColor;
  padding-top: 0.85rem;
  display: none;
}

.spread[data-spread="09"] .beat--poster__thumb-note { display: block; }

/* Spread 05 — whitespace caption */
.beat--poster__whitespace-cue {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-faint);
  max-width: var(--max-page);
  margin: 0 auto;
  width: 100%;
  border-top: 1px solid var(--paper-edge);
  padding-top: 0.85rem;
  display: none;
}

.spread[data-spread="05"] .beat--poster__whitespace-cue { display: block; }

/* ============================================================
   PROOF beat — paper bg, two-column with sticky artifact label.
   Visible left-rule on the artifact column gives Swiss the visual fact.
   ============================================================ */

.beat--proof {
  background: var(--paper);
  color: var(--ink);
  padding: var(--pad-section) var(--gutter) var(--pad-section-tight);
  border-top: var(--rule);
}

.beat--proof__inner {
  max-width: var(--max-page);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 900px) {
  .beat--proof__inner {
    grid-template-columns: minmax(220px, 1fr) 2.3fr;
    gap: 4rem;
    align-items: start;
  }
}

.beat--proof__label {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--spread-color);
  border-top: 3px solid var(--spread-color);
  padding-top: 1rem;
  position: sticky;
  top: 80px;
  align-self: start;
  font-weight: 600;
}

.beat--proof__label .artifact {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.35;
  letter-spacing: -0.005em;
  text-transform: none;
  color: var(--ink);
  margin-top: 0.65rem;
}

.beat--proof__label .year {
  display: block;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: var(--ink-faint);
  margin-top: 0.4rem;
}

/* Optional proof image slot — populated by build when v2/proof-images/spread-NN.* exists */
.beat--proof__image {
  margin: 0 0 1.5rem;
  border: 1px solid var(--paper-edge);
  background: var(--paper-muted);
}

.beat--proof__image img {
  display: block;
  width: 100%;
  height: auto;
  filter: grayscale(0.15) contrast(1.05);
}

.beat--proof__image figcaption {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  padding: 0.65rem 1rem;
  border-top: 1px solid var(--paper-edge);
  background: var(--paper);
}

.beat--proof__body {
  font-family: var(--serif);
  font-weight: 400;
  font-style: normal;
  font-size: clamp(1.3rem, 1.85vw, 1.7rem);
  line-height: 1.42;
  letter-spacing: -0.005em;
  color: var(--ink);
  max-width: var(--measure-proof);
}

.beat--proof__body p { margin: 0 0 1.1rem; }
.beat--proof__body p:last-child { margin-bottom: 0; }

/* ============================================================
   MECHANICS beat — body register, ink on paper, asymmetric weight.
   Heavier top padding pulls eye through; lighter bottom releases.
   ============================================================ */

.beat--mechanics {
  background: var(--paper);
  color: var(--ink);
  padding: var(--pad-section-tight) var(--gutter) var(--pad-section);
  border-top: var(--rule);
}

.beat--mechanics__inner {
  max-width: var(--max-page);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 900px) {
  .beat--mechanics__inner {
    grid-template-columns: minmax(220px, 1fr) 2.3fr;
    gap: 4rem;
    align-items: start;
  }
}

.beat--mechanics__label {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-faint);
  border-top: 1px solid var(--ink);
  padding-top: 1rem;
  font-weight: 600;
}

.beat--mechanics__body {
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  max-width: var(--measure-body);
  font-weight: 400;
}

.beat--mechanics__body p { margin: 0 0 1rem; }
.beat--mechanics__body p:last-child { margin-bottom: 0; }

/* The dot — the only ornament. */
.dot {
  display: inline-block;
  width: 0.55em;
  height: 0.55em;
  background: var(--spread-color);
  border-radius: 50%;
  vertical-align: 0.18em;
  margin: 0 0.4em;
}

/* ============================================================
   COLOPHON
   ============================================================ */

.colophon {
  background: var(--paper);
  border-top: var(--rule-strong);
  padding: var(--pad-section) var(--gutter);
}

.colophon__inner {
  max-width: var(--max-page);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 800px) {
  .colophon__inner { grid-template-columns: 1fr 1fr; gap: 4rem; }
}

.colophon__title {
  font-family: var(--sans);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(2rem, 5vw, 3.75rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  margin: 0;
  color: var(--ink);
}

.colophon__body {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: var(--measure-body);
}

.colophon__body p { margin: 0 0 1rem; }

.colophon__meta {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
  display: grid;
  gap: 0.65rem;
}

.colophon__meta strong {
  color: var(--ink);
  font-weight: 500;
}

.colophon__meta a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

/* ============================================================
   IO FADE-UP — hardware-accelerated, reduced-motion-respectful
   ============================================================ */

[data-io] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms cubic-bezier(0.2, 0.6, 0.2, 1),
              transform 600ms cubic-bezier(0.2, 0.6, 0.2, 1);
  will-change: opacity, transform;
}

[data-io].in {
  opacity: 1;
  transform: none;
}

[data-io-delay="1"] { transition-delay: 80ms; }
[data-io-delay="2"] { transition-delay: 160ms; }
[data-io-delay="3"] { transition-delay: 240ms; }

@media (prefers-reduced-motion: reduce) {
  [data-io] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  html { scroll-behavior: auto; }
}

/* ============================================================
   ANCHORS + UTILITY
   ============================================================ */

a.inline {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  text-decoration-color: var(--ink-faint);
  transition: text-decoration-color 120ms ease;
}

a.inline:hover { text-decoration-color: currentColor; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  border: 0;
}

/* ============================================================
   PROMPTS / METHOD / VOICE — secondary pages
   ============================================================ */

.prompts {
  padding: var(--pad-section) var(--gutter);
  background: var(--paper);
  color: var(--ink);
}

.prompts__inner {
  max-width: 900px;
  margin: 0 auto;
}

.prompts h1 {
  font-family: var(--sans);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(2.25rem, 5vw, 4rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin: 0 0 2rem;
}

.prompts h2 {
  font-family: var(--sans);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 1.25rem;
  letter-spacing: 0.06em;
  margin: 3rem 0 1rem;
  padding-top: 1rem;
  border-top: var(--rule);
}

.prompts h3 {
  font-family: var(--mono);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 1.5rem 0 0.5rem;
}

.prompts p {
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  margin: 0 0 1rem;
  max-width: var(--measure-body);
}

.prompts pre {
  font-family: var(--mono);
  font-size: 0.82rem;
  line-height: 1.55;
  background: var(--paper);
  border: 1px solid var(--paper-edge);
  border-left: 3px solid var(--cobalt);
  padding: 1rem 1.25rem;
  margin: 0.75rem 0 1.5rem;
  overflow-x: auto;
  white-space: pre-wrap;
  word-wrap: break-word;
}

.prompts code {
  font-family: var(--mono);
  font-size: 0.9em;
  background: rgba(26, 43, 76, 0.06);
  padding: 0.05em 0.35em;
  border-radius: 1px;
}

/* PRINT -------------------------------------------------------- */

@media print {
  .site-bar { display: none; }
  body { background: white; color: black; }
  .beat--poster {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
    min-height: 0;
    page-break-inside: avoid;
  }
  .phase-divider { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; min-height: 0; }
  .spread, .phase-divider { page-break-after: always; }
  [data-io] { opacity: 1; transform: none; }
}
