/* ==========================================================================
   Aiterna logistics blueprint, v0.6 alignment pass. Loaded last.
   Every rule is prefixed .v6 (the <html> element) so it outranks the v0.4
   rules without !important. The only !important block is the 11px label floor.

   One system, written down once:
   - Surfaces   dark #08090C authority bands and light #F5F5F5 reading bands, full-bleed, alternating.
   - Type       Libre Franklin 500, lowercase, -0.08em for headings; Carrois Gothic +0.03em for body;
                11px lowercase labels at 0.08em (codes 0.12em). Acronyms keep their case.
   - Lime       #E2FF70 marks one thing: where a person is accountable (gates, approvals, decisions).
                On light it is a bar, a fill with ink text or an underline; text on light is Acid Ink.
   - Exhibits   every figure has the same anatomy: kicker (code left, status right), title, lede,
                body, source line.
   ========================================================================== */

.v6 {
  --ink: #08090c;
  --paper: #f5f5f5;
  --surface-dark: #12131a;
  --white: #ffffff;
  --border-dark: #1e1f28;
  --line: #d9dade;
  --muted: #6b6c78;
  --acid: #e2ff70;
  --acid-hover: #c8e650;
  --acid-ink: #22300d;
  --gx: max(1.5rem, calc((100vw - 90rem) / 2 + 1.5rem));
  --indent: 0px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-move: cubic-bezier(.4, 0, .2, 1);
  --text-display: clamp(3rem, 2.27rem + 3.03vw, 5.909rem);
  --t-chapter: clamp(2rem, 1.45rem + 2.1vw, 3.25rem);
  --t-section: clamp(1.75rem, 1.4rem + 1.2vw, 2.75rem);
  --t-sub: clamp(1.5rem, 1.3rem + .7vw, 2rem);
}
@media (min-width: 1000px) {
  .v6 { --indent: clamp(0px, calc((100vw - 1000px) * .35), 200px); }
}
@media (max-width: 700px) {
  .v6 { --gx: 1.25rem; }
}

/* ---- base and type ------------------------------------------------------ */
.v6 body {
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.4 "Carrois Gothic", Arial, sans-serif;
  letter-spacing: .03em;
}
.v6 h1, .v6 h2, .v6 h3, .v6 h4 {
  font-family: "Libre Franklin", Arial, sans-serif;
  font-weight: 500;
  letter-spacing: -.08em;
  line-height: 1.08;
  text-wrap: balance;
}
/* lowercase is part of the identity; acronyms (wrapped in .acr) keep their case */
.v6 :where(h1, h2, h3, h4, .meta, .status, .chip, .node-index, .chapter-nav a:not(.nav-brand), button, figcaption, summary,
        .read-link, .read-layer-link, .back-to-case, .exhibit-reading-link a, .static-lenses strong,
        .transaction-static strong, dt, .model-key span, .photo-label span, .closing-band .text-link) {
  text-transform: lowercase;
}
.v6 .acr.acr, .v6 .cta, .v6 .nav-brand, .v6 .meta.designation { text-transform: none; }

.v6 .meta, .v6 .node-index { font-size: .6875rem; letter-spacing: .08em; line-height: 1.5; color: var(--muted); }
.v6 .meta-code, .v6 .code { font-size: .6875rem; letter-spacing: .12em; font-variant-numeric: tabular-nums; }

.v6 :focus-visible { outline: 2px solid var(--acid-ink); outline-offset: 4px; }
.v6 .night :focus-visible, .v6 .hero :focus-visible, .v6 .day-explorer :focus-visible,
.v6 .system-exhibit :focus-visible, .v6 .closing-band :focus-visible, .v6 .chapter-nav :focus-visible { outline-color: var(--acid); }

/* ---- fixed corner nav: surface-aware, like the site's adaptive editorial chrome ------ */
.v6 .chapter-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  display: flex; align-items: baseline; justify-content: space-between; gap: 1.5rem;
  padding: 1rem var(--gx);
  background: transparent; backdrop-filter: none; border: 0; border-bottom: 1px solid transparent;
  color: var(--paper);
  transition: background-color 250ms var(--ease-move), color 250ms var(--ease-move), border-color 250ms var(--ease-move);
}
.v6 .chapter-nav[data-surface="light"] { background: var(--paper); color: var(--ink); border-bottom-color: var(--line); }
.v6 .chapter-nav[data-surface="dark"] { background: var(--ink); color: var(--paper); border-bottom-color: var(--border-dark); }
.v6 .nav-brand {
  margin-right: auto; font: 400 clamp(.7rem, 1.2vw, .92rem)/1.2 Sansita, Georgia, serif;
  letter-spacing: .1em; color: inherit;
}
.v6 .chapter-nav[data-surface="dark"] .nav-brand, .v6 .chapter-nav[data-surface="hero"] .nav-brand { color: var(--acid); }
.v6 .chapter-nav a:not(.nav-brand) {
  display: inline-flex; gap: .5rem; align-items: baseline; white-space: nowrap;
  font: 400 .875rem/1.2 "Libre Franklin", Arial, sans-serif; letter-spacing: -.04em;
  color: inherit; opacity: .6; transition: opacity 200ms ease;
}
.v6 .chapter-nav a:not(.nav-brand):hover, .v6 .chapter-nav a[aria-current="true"] { opacity: 1; }
.v6 .chapter-nav a[aria-current="true"] { text-decoration: underline; text-decoration-color: var(--acid); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.v6 .chapter-nav[data-surface="light"] a[aria-current="true"] { text-decoration-color: var(--acid-ink); text-decoration-thickness: 1px; }
.v6 .chapter-nav a > span.code { display: inline; font: 400 .6875rem/1 "Carrois Gothic", Arial, sans-serif; letter-spacing: .12em; color: inherit; }
.v6 .reading-progress-line { background: var(--ink); }

/* ---- hero ------------------------------------------------------------------ */
.v6 .hero-content { padding: 5rem var(--gx) 2rem; }
.v6 .mast { display: flex; justify-content: space-between; align-items: baseline; gap: 1.5rem; padding: 0 0 1rem; border-bottom: 1px solid rgba(245, 245, 245, .2); }
.v6 .mast > .meta, .v6 .hero .meta { margin: 0; color: rgba(245, 245, 245, .62); }
.v6 .hero h1 { font-size: var(--text-display); line-height: .96; letter-spacing: -.08em; }
.v6 .hero-lede { font-size: 1.3125rem; line-height: 1.4; letter-spacing: .03em; color: var(--line); }
.v6 .read-link { font: 400 .875rem/1.2 "Libre Franklin", Arial, sans-serif; letter-spacing: -.04em; }

/* ---- reading bands: flat #F5F5F5, hairlines, no white panels ------------ */
.v6 .reading-publication, .v6 .reading-chapter, .v6 .reading-chapter[data-reading-field] { background: transparent; }
.v6 .reading-chapter { max-width: none; margin: 0; padding: 0; border: 0; }
.v6 .chapter-opening {
  position: relative; max-width: none; margin: 0;
  padding: clamp(4rem, 8vw, 7rem) var(--gx) clamp(2.5rem, 4vw, 4rem);
  background: transparent; border-top: 1px solid var(--line); color: var(--ink);
}
.v6 .chapter-opening:before, .v6 #chapter-2 .chapter-opening:before {
  content: ""; position: static; display: block; width: 2rem; height: 2px; background: var(--acid); margin: 0 0 1.5rem;
}
.v6 .chapter-opening .kicker-duo, .v6 .closing-band .kicker-duo, .v6 .figure-head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
}
.v6 .chapter-opening .kicker-duo { margin-bottom: 2rem; }
.v6 .chapter-opening .kicker-duo > .meta:last-child { text-align: right; }
.v6 .chapter-opening .source-block { max-width: none; margin: 0; }
.v6 .chapter-opening h2 { font-size: var(--t-chapter); line-height: 1.06; letter-spacing: -.08em; max-width: 18em; }
.v6 #chapter-2 .chapter-opening { background: var(--ink); color: var(--paper); border-top: 0; }
.v6 #chapter-2 .chapter-opening .meta { color: rgba(245, 245, 245, .62); }
.v6 #chapter-2 .chapter-opening h2 { color: var(--paper); }
.v6 #chapter-6 .chapter-opening { background: transparent; border-top: 1px solid var(--line); }

.v6 .chapter-reading {
  max-width: none; margin: 0; padding: clamp(2.5rem, 5vw, 4rem) var(--gx) clamp(3rem, 6vw, 5rem);
  background: transparent; color: var(--ink);
  font-size: 1.125rem; line-height: 1.7; letter-spacing: .03em;
}
.v6 .chapter-reading > .source-block,
.v6 .chapter-reading > .scene-prose { max-width: 46rem; margin-left: var(--indent); margin-right: 0; }
.v6 .source-block { margin: 0 0 1.5rem; }
.v6 .source-block p { line-height: 1.7; letter-spacing: .03em; }
.v6 .source-block p + p { margin-top: 1.25rem; }
.v6 .source-block h3, .v6 .scene-prose h3 { font-size: var(--t-sub); letter-spacing: -.08em; line-height: 1.12; margin: 3.5rem 0 1.25rem; color: var(--ink); }
.v6 .source-block strong { font-family: "Libre Franklin", Arial, sans-serif; font-weight: 600; font-size: .94em; letter-spacing: -.025em; color: var(--ink); }
.v6 .source-block a { color: var(--acid-ink); text-decoration: underline; text-decoration-color: var(--acid); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.v6 .source-block a:hover { text-decoration-color: var(--acid-ink); }
/* the two key statements use the site's accent bar */
.v6 .source-block[data-source-id="87271621-149e-4e8d-8816-2995d0e8338b"],
.v6 .source-block[data-source-id="3c7ccae7-4a05-43cf-b23a-35eac2874ea6"] { border-left: 3px solid var(--acid); padding-left: 1.25rem; }
.v6 .scene-prose { border-top: 1px solid var(--line); }
.v6 #chapter-2 .scene-prose:first-of-type { border-top-color: var(--line); }

.v6 .table-wrap { width: min(72rem, calc(100vw - 2 * var(--gx) - var(--indent) + min(var(--indent), 8rem))); max-width: none; margin: 2.5rem 0 3rem calc(-1 * min(var(--indent), 8rem)); }
.v6 .table-wrap table { font-size: .9375rem; }
.v6 .table-wrap th { font-size: .6875rem; letter-spacing: .08em; text-transform: lowercase; font-weight: 400; color: var(--muted); background: transparent; border-top: 1px solid var(--ink); }
.v6 .table-wrap td { border-bottom: 1px solid var(--line); }

/* ---- exhibits: full-bleed bands, one anatomy ------------------------------ */
.v6 .chapter-reading > .wide-exhibit {
  width: auto; max-width: none; margin: clamp(2.5rem, 5vw, 4rem) calc(-1 * var(--gx));
  padding: clamp(2.5rem, 5vw, 4rem) var(--gx);
  background: transparent; color: var(--ink);
  border-block: 1px solid var(--line); border-top-color: var(--line);
}
.v6 .wide-exhibit.inline-exhibit, .v6 .chapter-reading > .inline-exhibit { background: transparent; }
.v6 .system-exhibit, .v6 .autonomy-exhibit, .v6 .transaction-explorer { background: transparent; box-shadow: none; }
.v6 .day-explorer, .v6 #system-inspection { border-block: 0; }

.v6 .figure-head { margin: 0; padding: 0 0 1.75rem; border: 0; flex-wrap: wrap; }
.v6 .figure-head > div { display: contents; }
.v6 .figure-head .meta { order: 1; }
.v6 .figure-head .status { order: 2; margin-left: auto; }
.v6 .figure-head h3 {
  order: 3; flex: 0 0 100%; width: 100%; margin: 1.25rem 0 0; max-width: none; padding-right: 12%;
  font-size: var(--t-section); line-height: 1.05; letter-spacing: -.08em;
}
.v6 .exhibit-intro { max-width: 40rem; margin: 0 0 2rem; font-size: 1rem; line-height: 1.5; letter-spacing: .03em; color: var(--muted); }
.v6 figcaption {
  max-width: 60rem; margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--line);
  font-size: .6875rem; line-height: 1.6; letter-spacing: .08em; color: var(--muted);
}

/* status: marker plus word, no box (the site's StatusChip) */
.v6 .status {
  display: inline-flex; gap: .5rem; align-items: center; border: 0; padding: 0; background: transparent;
  max-width: none; text-align: right; white-space: normal;
  font-size: .6875rem; letter-spacing: .08em; line-height: 1.5; color: var(--muted);
}
.v6 .status:before { content: ""; flex: none; width: .4375rem; height: .4375rem; border: 1.5px solid currentColor; border-radius: 50%; }
/* evidence chips: glyph plus word, plain */
.v6 .chip { display: inline-block; border: 0; padding: 0; margin-top: 1.25rem; background: transparent; font-size: .6875rem; letter-spacing: .08em; line-height: 1.5; color: var(--muted); }
.v6 .chip.gate-chip { background: var(--acid); color: var(--ink); padding: .25rem .5rem; }

/* controls: square, hairline, 1-2px feedback only */
.v6 .round-button { border-radius: 0; width: 2.5rem; height: 2.5rem; border: 1px solid rgba(245, 245, 245, .4); color: var(--paper); background: transparent; font-size: 1rem; }
.v6 .round-button:hover:not(:disabled) { background: var(--border-dark); border-color: var(--paper); }
.v6 button { transition: background-color 200ms var(--ease-move), color 200ms var(--ease-move), border-color 200ms var(--ease-move); }
.v6 .lens-tabs button > .code { font-size: .6875rem; letter-spacing: .12em; color: var(--muted); align-self: baseline; }
.v6 .lens-tabs button, .v6 .autonomy-tabs button, .v6 .phase-list button, .v6 .transaction-index button { font-size: .875rem; letter-spacing: .03em; }
.v6 .transaction-controls button, .v6 .phase-controls button { font: 400 .875rem/1.2 "Libre Franklin", Arial, sans-serif; letter-spacing: -.04em; }
.v6 .layer-explore-hint { margin-top: 1.5rem; }
.v6 .dossier { box-shadow: none; border-radius: 0; background: transparent; border: 1px solid var(--line); }
.v6 .dossier-states > div.is-active { background: transparent; }

.v6 .transaction-index button { opacity: 1; color: var(--muted); }
.v6 .transaction-index button[aria-current="step"] { color: var(--ink); }

/* lime = a person is accountable here */
.v6 .case-figure .chain-node.gate { border-top: 3px solid var(--acid); }
.v6 .case-figure .chain-node.gate.is-current { border-color: var(--acid); }
.v6 .transaction-gate, .v6 .layer-artifact.human, .v6 .accountability-rail { border-left: 3px solid var(--acid); }
.v6 .case-ledger .human-row { border-top: 3px solid var(--acid); }
.v6 .case-ledger .human-row dt, .v6 .transaction-gate > .meta, .v6 .layer-artifact.human > .meta, .v6 .transaction-gate > small { color: var(--acid-ink); }
.v6 .transaction-gate button, .v6 .gate-button { background: var(--ink); border-color: var(--ink); color: var(--paper); border-radius: 0; }
.v6 .transaction-gate button:hover, .v6 .gate-button:hover { background: var(--acid); border-color: var(--acid); color: var(--ink); }
.v6 .case-figure .chain-node.gate:after { display: none; }

/* ---- dark exhibit: the architecture. Tokens are remapped, so every v0.4 rule inside flips. ---- */
.v6 .chapter-reading > #system-inspection, .v6 #system-inspection {
  background: #08090c; color: #f5f5f5; border-block: 0;
  --paper: #08090c; --ink: #f5f5f5; --white: #12131a; --line: #1e1f28;
  --muted: rgba(245, 245, 245, .62); --border-dark: #2a2b36; --acid-ink: #e2ff70;
}
.v6 #system-inspection .figure-head h3, .v6 #system-inspection h4, .v6 #system-inspection strong { color: #f5f5f5; }
.v6 #system-inspection .meta, .v6 #system-inspection .status, .v6 #system-inspection .exhibit-intro, .v6 #system-inspection figcaption { color: rgba(245, 245, 245, .66); }
.v6 #system-inspection figcaption { border-top-color: rgba(245, 245, 245, .15); }
.v6 #system-inspection .lens-tabs, .v6 #system-inspection .phase-list { border-color: rgba(245, 245, 245, .15); }
.v6 #system-inspection .lens-tabs button { border-color: rgba(245, 245, 245, .15); color: rgba(245, 245, 245, .7); }
.v6 #system-inspection .lens-tabs button[aria-selected="true"] { color: #f5f5f5; box-shadow: inset 0 2px #f5f5f5; background: transparent; }
.v6 #system-inspection .layer-shortcuts button { border-color: rgba(245, 245, 245, .25); color: rgba(245, 245, 245, .7); background: transparent; }
.v6 #system-inspection .layer-shortcuts button:hover, .v6 #system-inspection .layer-shortcuts button[aria-pressed="true"] { background: #f5f5f5; color: #08090c; }
.v6 #system-inspection .phase-list button[aria-current="step"] { background: transparent; color: #f5f5f5; box-shadow: inset 0 2px #f5f5f5; }
.v6 #system-inspection .case-ledger > div, .v6 #system-inspection .layer-artifact, .v6 #system-inspection .phase-controls { border-color: rgba(245, 245, 245, .15); }
.v6 #system-inspection .case-ledger .human-row { border-top-color: var(--acid); }
.v6 #system-inspection .relationship-key, .v6 #system-inspection .active-layer-list { background: transparent; border: 1px solid rgba(245, 245, 245, .15); }
.v6 #system-inspection .relationship-key li { border-top-color: rgba(245, 245, 245, .15); }
.v6 #system-inspection .back-to-case, .v6 #system-inspection .read-layer-link { border-bottom-color: rgba(245, 245, 245, .4); color: #f5f5f5; }
.v6 #system-inspection #draft-grid path { stroke: rgba(245, 245, 245, .09); }
.v6 #system-inspection .slab { fill: #12131a; stroke: rgba(245, 245, 245, .5); }
.v6 #system-inspection .slab-edge { fill: #08090c; stroke: rgba(245, 245, 245, .35); }
.v6 #system-inspection .record-tile { fill: #1e1f28; stroke: rgba(245, 245, 245, .3); }
.v6 #system-inspection .floor-callout { stroke: rgba(245, 245, 245, .3); }
.v6 #system-inspection .system-floor.is-primary .slab { fill: #12131a; stroke: #f5f5f5; stroke-width: 2; }
.v6 #system-inspection .system-floor[data-system-floor="6"] .slab { stroke: var(--acid); }
.v6 #system-inspection .system-floor[data-system-floor="6"] .slab, .v6 #system-inspection .system-floor[data-system-floor="6"] .slab-edge { opacity: .9; }
.v6 #system-inspection .system-floor[data-system-floor="6"] .slab-edge { stroke: rgba(226, 255, 112, .6); }
.v6 #system-inspection .system-floor[data-system-floor="6"] .model-number { fill: var(--acid); }
.v6 #system-inspection .system-floor[data-system-floor="6"].is-primary .slab { stroke: var(--acid); stroke-width: 2; }
.v6 #system-inspection .system-floor[data-system-floor="6"].is-primary .model-label,
.v6 #system-inspection .system-floor[data-system-floor="6"].is-primary .model-number { fill: var(--acid); }
.v6 #system-inspection .system-floor .model-label, .v6 #system-inspection .system-floor.is-relevant .model-label { fill: rgba(245, 245, 245, .7); }
.v6 #system-inspection .system-floor.is-primary .model-label { fill: #f5f5f5; }
.v6 #system-inspection .model-number, .v6 #system-inspection .model-artifact { fill: rgba(245, 245, 245, .55); }

/* the drawing: bigger, legible, no empty margins */
.v6 .system-layout { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.v6 .model-panel { width: 100%; max-width: none; margin: 0; }
.v6 .system-model { width: 100%; max-height: none; }
.v6 .model-number { font-size: 16px; }
.v6 .model-label { font-size: 18px; }
.v6 .model-artifact { font-size: 14px; }
.v6 .model-note { display: none; }
.v6 .model-key { font-size: .6875rem; letter-spacing: .08em; text-transform: lowercase; border-top: 1px solid rgba(245, 245, 245, .15); }
@media (min-width: 701px) { .v6 .layer-explore-hint .layer-shortcuts { display: none; } }

/* ---- day explorer (dark band) ---------------------------------------------- */
.v6 .day-explorer .day-tabs button { font-size: .875rem; }
.v6 .day-explorer .story-detail.decision { border-top: 3px solid var(--acid); }
.v6 .day-explorer .exhibit-reading-link > a { font: 400 .875rem/1.2 "Libre Franklin", Arial, sans-serif; letter-spacing: -.04em; }
.v6 .photo-label > span:first-child { font-size: clamp(2.25rem, 1.8rem + 1.6vw, 3.25rem); letter-spacing: -.08em; }
.v6 .day-explorer .day-story h3, .v6 .transaction-detail h4, .v6 .layer-focus h4, .v6 .ledger-panel h4 {
  font-size: var(--t-sub); letter-spacing: -.08em; line-height: 1.12;
}


/* ---- day explorer: authority band ------------------------------------------------------- */
.v6 .chapter-reading > #day-explorer { background: var(--ink); color: var(--paper); border-block: 0; }
.v6 #day-explorer .meta, .v6 #day-explorer .status, .v6 #day-explorer .exhibit-intro,
.v6 #day-explorer figcaption, .v6 #day-explorer .exhibit-reading-link { color: rgba(245, 245, 245, .66); }
.v6 #day-explorer .figure-head h3, .v6 #day-explorer .day-story h3, .v6 #day-explorer .photo-label > span:first-child { color: var(--paper); }
.v6 #day-explorer figcaption { border-top-color: var(--border-dark); }
.v6 #day-explorer .day-tabs { border-top-color: rgba(245, 245, 245, .25); }
.v6 #day-explorer .day-tabs button { color: rgba(245, 245, 245, .66); border-bottom-color: var(--border-dark); }
.v6 #day-explorer .day-tabs button[aria-selected="true"] { color: var(--paper); border-top: 2px solid var(--paper); }
.v6 #day-explorer .story-detail { border-top-color: rgba(245, 245, 245, .25); }
.v6 #day-explorer .story-detail.decision { border-top: 3px solid var(--acid); }
.v6 #day-explorer .story-detail.decision > .meta { color: var(--acid); }
.v6 #day-explorer .day-story > p:not(.meta), .v6 #day-explorer .day-state > p, .v6 #day-explorer .day-value > p { color: var(--line); }
.v6 #day-explorer .day-layout, .v6 #day-explorer .day-value { border-color: var(--border-dark); }
.v6 #day-explorer .exhibit-reading-link > a { border-bottom-color: rgba(245, 245, 245, .4); }
.v6 #day-explorer .static-only, .v6 #day-explorer .day-static { color: var(--line); }

/* ---- closing band: the single funnel ---------------------------------------- */
.v6 .closing-band { background: var(--ink); color: var(--paper); padding: clamp(4rem, 8vw, 7rem) var(--gx) 3rem; }
.v6 .closing-inner { max-width: 90rem; margin: 0 auto; }
.v6 .closing-band .kicker-duo { margin-bottom: 3rem; }
.v6 .closing-band .meta { color: rgba(245, 245, 245, .62); }
.v6 .closing-band h2 { font-size: clamp(2.25rem, 1.5rem + 2.5vw, 4.5rem); line-height: 1.05; letter-spacing: -.08em; font-weight: 500; }
.v6 .closing-body { max-width: 36rem; margin-top: 1.5rem; color: var(--line); font-size: 1.0625rem; line-height: 1.5; }
.v6 .closing-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 2.5rem; margin-top: 2.5rem; }
.v6 .cta {
  display: inline-block; background: var(--acid); color: var(--ink); padding: .9rem 1.5rem;
  font: 400 1rem/1.2 "Libre Franklin", Arial, sans-serif; letter-spacing: -.04em; border: 0;
  transition: background-color 200ms var(--ease-move);
}
.v6 .cta:hover { background: var(--acid-hover); }
.v6 .text-link { font: 400 .875rem/1.2 "Libre Franklin", Arial, sans-serif; letter-spacing: -.04em; border-bottom: 1px solid rgba(245, 245, 245, .4); padding-bottom: .35rem; }

/* ---- label floor: nothing below the site's 11px meta size ------------------ */
.v6 .day-explorer .meta, .v6 .day-explorer .exhibit-reading-link > .meta, .v6 .day-explorer figcaption, .v6 .day-story > .meta,
.v6 .layer-explore-hint > .meta, .v6 .layer-shortcuts button, .v6 .ledger-panel > .meta, .v6 .case-ledger dt, .v6 .phase-list button > span,
.v6 .phase-list button, .v6 .model-key, .v6 .active-layer-list, .v6 .layer-focus > .meta, .v6 .layer-artifact > .meta,
.v6 .autonomy-rung > .meta, .v6 .accountability-rail > .meta, .v6 .transaction-meta, .v6 .transaction-gate > .meta,
.v6 .transaction-gate > small, .v6 .simulation-note, .v6 .dossier-head > .meta, .v6 .dossier-states .meta, .v6 .dossier-evidence > .meta,
.v6 .dossier-evidence > .chip, .v6 .transaction-index button > span, .v6 .transaction-index button, .v6 .mini-detail > .chip, .v6 .chip,
.v6 .figure-head .meta, .v6 .figure-head .status, .v6 .illustration-note, .v6 .section-source, .v6 .relationship-key,
.v6 .reading-image figcaption, .v6 .node-index, .v6 .case-figure figcaption, .v6 .inline-exhibit .figure-head,
.v6 .transaction-explorer figcaption, .v6 .system-exhibit figcaption, .v6 .autonomy-exhibit figcaption, .v6 .lens-tabs button > .code {
  font-size: .6875rem !important;
}
.v6 .layer-shortcuts button, .v6 .transaction-index button { font-size: .75rem !important; }

/* ---- no-script: interactive shells stay hidden; the static equivalents carry the content ---- */
.v6:not(.reading-enhanced) :is(.interactive, .layer-explore-hint, .system-layout, .phase-list) { display: none !important; }
.v6:not(.experience-enhanced) :is(.transaction-workbench, .transaction-index, .transaction-branches, .mini-inspection, .autonomy-graphic, .autonomy-scrub) { display: none !important; }
.v6 .mast > .meta, .v6 .hero .meta, .v6 .day-state > p, .v6 .day-explorer .day-state > p { font-size: .6875rem !important; }

/* ---- phone ---------------------------------------------------------------------- */
@media (max-width: 700px) {
  .v6 .chapter-nav { padding: .875rem var(--gx); gap: 1rem; }
  .v6 .chapter-nav a > span.label { display: none; }
  .v6 .chapter-nav a:not(.nav-brand) { font-size: .8125rem; }
  .v6 .hero-content { padding-top: 4.5rem; }
  .v6 .chapter-reading > .wide-exhibit { margin-inline: calc(-1 * var(--gx)); width: auto; }
  .v6 .chapter-reading > .source-block, .v6 .chapter-reading > .scene-prose { margin-left: 0; max-width: none; }
  .v6 .chapter-reading { font-size: 1.0625rem; }
  .v6 .table-wrap { width: 100%; margin-left: 0; }
  .v6 .figure-head h3 { font-size: 1.75rem; }
  .v6 .model-number { font-size: 24px; }
  .v6 .system-layout { display: block; }
}
@media (max-width: 1000px) and (min-width: 701px) {
  .v6 .system-layout { grid-template-columns: minmax(0, 1fr); }
  .v6 .model-panel { max-width: 48rem; margin: 0 auto; }
}

/* ---- print: bands collapse to white, lime becomes Acid Ink ----------------------- */
@media print {
  .v6 .chapter-nav, .v6 .closing-actions { display: none !important; }
  .v6 .closing-band, .v6 .day-explorer, .v6 #system-inspection, .v6 #chapter-2 .chapter-opening {
    background: #fff; color: #08090c;
    --paper: #f5f5f5; --ink: #08090c; --white: #fff; --line: #d9dade; --muted: #6b6c78; --acid-ink: #22300d; --border-dark: #1e1f28;
  }
  .v6 .closing-band .meta, .v6 .closing-body, .v6 #chapter-2 .chapter-opening .meta, .v6 #day-explorer .meta, .v6 #day-explorer .exhibit-intro, .v6 #day-explorer figcaption { color: #6b6c78; }
  .v6 .chapter-reading > #day-explorer, .v6 #day-explorer .figure-head h3, .v6 #day-explorer .day-story h3 { background: #fff; color: #08090c; }
  .v6 .closing-band h2, .v6 #chapter-2 .chapter-opening h2 { color: #08090c; }
  .v6 #system-inspection .slab { fill: #fff; stroke: #6b6c78; }
  .v6 #system-inspection .slab-edge { fill: #f5f5f5; }
  .v6 #system-inspection .record-tile { fill: #d9dade; }
  .v6 #system-inspection .system-floor .model-label, .v6 #system-inspection .model-number, .v6 #system-inspection .model-artifact { fill: #08090c; }
  .v6 #system-inspection #draft-grid path { stroke: #d9dade; }
}

/* ---- drawn markers: one shape language for chips, keys and the dossier spine -------------
   ring = reported/source, dashed ring = agent draft, square = human gate, dotted ring = receipt.
   Replaces the text glyphs (which rendered at inconsistent weights and sizes). */
.v6 .mk {
  display: inline-block; flex: none; width: .6875rem; height: .6875rem; margin-right: .5rem;
  vertical-align: -.1em; border: 1.5px solid currentColor; box-sizing: border-box; border-radius: 50%;
}
.v6 .mk-draft { border-style: dashed; }
.v6 .mk-gate { border-radius: 0; }
.v6 .mk-receipt { background: radial-gradient(circle, currentColor 0 26%, transparent 30%); }
.v6 .mk-layers { border-radius: 0; transform: skewX(-32deg); }
.v6 .mk-source { border-radius: 0; background: repeating-linear-gradient(0deg, transparent 0 2px, currentColor 2px 3px); }
.v6 .model-key span:last-child .mk, .v6 .chip.gate-chip .mk { border-color: currentColor; }
.v6 #system-inspection .model-key span:last-child .mk { border-color: var(--acid); color: var(--acid); }
.v6 .chip { display: inline-flex; align-items: center; }

.v6 .dossier-states { padding-top: .5rem; }
.v6 .dossier-states:before { left: .5rem; top: 2.1rem; bottom: 2.1rem; width: 1px; background: var(--line); }
.v6 .dossier-states > div { gap: 1.5rem; align-items: flex-start; padding: 1.1rem 0; opacity: .6; }
.v6 .dossier-states > div.is-active { opacity: 1; background: transparent; }
.v6 .dossier-states .dossier-icon {
  position: relative; flex: none; width: 1rem; height: 1rem; margin-top: .4rem; padding: 0;
  background: transparent; border: 0; font-size: 0; line-height: 0; color: transparent;
}
.v6 .dossier-states .dossier-icon:before {
  content: ""; position: absolute; inset: 0; box-sizing: border-box;
  border: 1.5px solid var(--muted); border-radius: 50%; background: var(--paper);
}
.v6 .dossier-states > div[data-dossier-state="1"] .dossier-icon:before { border-style: dashed; }
.v6 .dossier-states > div[data-dossier-state="2"] .dossier-icon:before { border-radius: 0; }
.v6 .dossier-states > div[data-dossier-state="3"] .dossier-icon:before { background: radial-gradient(circle, var(--ink) 0 26%, var(--paper) 30%); }
.v6 .dossier-states > div.is-active .dossier-icon:before { border-color: var(--ink); }
.v6 .dossier-states > div[data-dossier-state="2"].is-active .dossier-icon:before { background: var(--acid); }
.v6 .dossier-states p { color: var(--ink); }

/* chain connectors: a drawn chevron on the rule instead of a text arrow */
.v6 .case-chain .chain-node:not(:last-child):after {
  content: ""; right: -.7rem; top: -.3rem; width: .5rem; height: .5rem; padding: 0; background: transparent;
  border-top: 1px solid var(--muted); border-right: 1px solid var(--muted); transform: rotate(45deg);
}

/* Keep the cover message in the open ground below the parked vehicles. */
@media (min-height: 900px) {
  .v6 .hero-title { margin-top: auto; padding-top: clamp(1rem, 2vh, 2rem); }
  .v6 .hero-bottom { margin-top: auto; }
}

/* The in-app preview is shorter than a full-screen browser. Keep the cover message
   below the truck line there too, scaling its type to fit the visible ground. */
@media (min-width: 701px) and (max-height: 899px) {
  .v6 .hero-title { margin-top: auto; padding-top: 1rem; }
  .v6 .hero-title h1 { font-size: clamp(3rem, 5.8vw, 5rem); line-height: .94; }
  .v6 .hero-title > .meta { margin-bottom: .75rem; }
  .v6 .hero-lede { font-size: clamp(1rem, 1.5vw, 1.2rem); line-height: 1.35; margin-top: 1rem; }
  .v6 .hero-bottom { margin-top: auto; }
}
