/* ============================================================================
   EPOQ III — THE MONOLITH · styles.css
   ONE page, ONE stylesheet (D-010). Figma decides, HTML implements (D-013):
   source of truth = Figma "Design — Brand SYSTEMS" (YW6hpKp918kbfFrVQQzH5y),
   tokens transcribed from frame 653:363 "EPQ III — Text Styles" + 653:393 Colors (2026-06-28).
   Never disobeyed. Deltas → canon/FIGMA_CANON_SCAN_V01.md §0.6 register.
   ========================================================================== */

/* THE TOKEN SPINE — generated from system.json by build-system.py.
   Tokens are NOT defined here; the system lives in its own file (system.json →
   system.css). Edit system.json, run build-system.py. styles.css is showcase only. */
@import "system.css";

/* —— ground ————————————————————————————————————————————————— */
* { box-sizing: border-box; margin: 0; }
html { background: var(--paper); overflow-x: clip; } /* the viewport never scrolls sideways —
                                      hidden glass capsules occupy layout; the root
                                      clip is the page-level guarantee (pass 26) */
body {
  background: var(--paper);
  color: var(--ink);
  overflow-x: clip;                /* hidden glass notes occupy layout; clipping the
                                      axis kills stray horizontal scrollbars at every
                                      width (pass 26 — capsules stay capped at 55cqw) */
  -webkit-font-smoothing: antialiased;   /* match Figma's grayscale AA (ruled pass 8: text read thicker than the file) */
  -moz-osx-font-smoothing: grayscale;
  font-family: var(--font-serif);
  font-size: var(--fz-body-1);
  line-height: var(--lh-body-1);
  letter-spacing: var(--track-body-1);
  width: 100%;
  padding-bottom: var(--s-5); /* clearance for the fixed .status-bar — never sits over the canon-footer */
}
.stage { width: 100%; }
.canvas { margin: 0 auto; container-type: inline-size; container-name: monolith; }
.frame,
.epoq-container {
  width: min(100%, calc(var(--viewport-desktop) + 2 * var(--grid-unit)));
  max-width: calc(var(--content) + 2 * var(--gutter));
  margin-inline: auto;
  padding: var(--grid-unit) var(--gutter) var(--section-gap);
}

/* ── GRID LAW · section · row · debug (spacing canon pass 2026-06-28) ─── */
section,
.epoq-section {
  width: 100%;
  margin-block: 0;
}
section + section,
.epoq-section + .epoq-section {
  padding-top: var(--section-gap);
}
section[data-density="tight"],
.epoq-section[data-density="tight"] {
  padding-top: var(--section-gap-tight);
}
section[data-density="loose"],
.epoq-section[data-density="loose"] {
  padding-top: var(--section-gap-loose);
}
.epoq-row {
  display: grid;
  grid-template-columns: repeat(3, var(--column-unit));
  column-gap: var(--gutter-unit);
  row-gap: var(--grid-unit);
}
.epoq-row-strict {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--column-unit)), var(--column-unit)));
  gap: var(--gutter-unit);
}
@media (max-width: 900px) {
  .epoq-container { width: min(100%, calc(var(--viewport-tablet) + 2 * var(--grid-unit))); }
  .epoq-row { grid-template-columns: repeat(2, var(--column-unit)); }
}
@media (max-width: 480px) {
  .epoq-container { width: min(100%, var(--viewport-mobile)); padding-inline: var(--grid-half); }
  .epoq-row { grid-template-columns: 1fr; }
}
html.show-grid body::before,
body.show-grid::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  background-image:
    linear-gradient(to right, color-mix(in srgb, var(--dusk) 12%, transparent) 1px, transparent 1px),
    linear-gradient(to bottom, color-mix(in srgb, var(--dusk) 12%, transparent) 1px, transparent 1px); /* canon-lint:allow — dev-only grid overlay */
  background-size: var(--grid-unit) var(--grid-unit);
}
html.show-grid body::after,
body.show-grid::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  background-image:
    linear-gradient(to bottom, color-mix(in srgb, var(--hum) 8%, transparent) 1px, transparent 1px); /* canon-lint:allow — dev-only section-band overlay */
  background-size: 100% var(--section-gap);
}

/* ── THE ROW TRANSFORMATION LAW (D-020, foundational) ───────────────────
   units never stretch · rows re-wrap, order sacred · silence is placed ·
   the phone is the single column (400 yields one notch → 360).
   Mechanically: fixed unit widths + wrap + DOM order = the law emerges. */
.gridrow { display: flex; flex-wrap: wrap; gap: var(--gutter); }
.u-minor { width: var(--minor); }
.u-major { width: var(--major); }
.frame { --minor: var(--col); --major: var(--col-2); }



/* —— THE ORPHAN LAW (D-031, lineage: the operator's creative director at
      Wednesday) — no word falls alone to the last line. Headlines balance;
      prose wraps pretty; display headlines also bind their final pair. —— */
.serif-display, .serif-page-title, .serif-heading-3, .section-mark .sec-tagline, .hub-tier > .sec-desc, .thesis h2 { text-wrap: balance; }
.lede, .serif-body-1, .m-line, .method-coda, .passage p { text-wrap: pretty; }

/* —— registers · the six Figma styles (653:363) ——————————————— */
.mono   { font-family: var(--font-mono); font-weight: 400; }
.caps   { text-transform: uppercase; letter-spacing: var(--track-caps); }
.m6     { font-size: var(--fz-mono-6); line-height: var(--lh-mono-6); letter-spacing: var(--track-code); text-transform: uppercase; color: var(--ink); }
.m6.ann { color: var(--ink); }
.m6.c-grey { color: var(--ink); }
.m6.c-graphite { color: var(--ink); }
.m6.c-dusk { color: var(--ink); }
.m6.c-hum { color: var(--ink); }
.serif-display    { font-size: var(--fz-display); line-height: var(--lh-display); letter-spacing: var(--track-display); color: var(--ink); }
.serif-page-title { font-size: var(--fz-page-title); line-height: var(--lh-page-title); letter-spacing: var(--track-page-title); color: var(--ink); }
.serif-heading-3  { font-size: var(--fz-heading-3); line-height: var(--lh-heading-3); letter-spacing: var(--track-heading-3); color: var(--ink); }
.serif-body-1     { font-size: var(--fz-body-1); line-height: var(--lh-body-1); letter-spacing: var(--track-body-1); color: var(--ink); }
.serif-8-caps     { font-size: var(--fz-serif-8); line-height: var(--lh-serif-8); text-transform: uppercase; letter-spacing: var(--track-caps); color: var(--ink); }
.ink-60 { color: var(--ink); }
.ink-40 { color: var(--ink); }

/* —— header (Figma: WEB INDEX 262:717) — sticky nav · logo hides on scroll —— */
header,
.epoq-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--paper);
  min-height: var(--space-4);
  padding-top: 0;
  padding-bottom: 0;
}
header.is-scrolled { padding-top: var(--s-4); }
.masthead {
  display: flex; justify-content: space-between; align-items: baseline;
  overflow: hidden; max-height: var(--s-5);
  transition: max-height .2s ease, opacity .2s ease, margin .2s ease; /* canon-lint:allow — E6 logo collapse scroll transition */
}
header:not(.site-masthead).is-scrolled .masthead {
  max-height: 0; opacity: 0; margin: 0; pointer-events: none;
}
.masthead .brand {
  letter-spacing: var(--track-code); line-height: var(--lh-mono-6);
  transition: max-height .2s ease, opacity .2s ease, width .2s ease, margin .2s ease; /* canon-lint:allow — E6 brand collapse */
}
header.site-masthead.is-scrolled .brand {
  max-height: 0; opacity: 0; width: 0; margin: 0; overflow: hidden; pointer-events: none;
}
.brand .cursor {
  animation: cursor-blink 1.1s steps(2, start) infinite; /* canon-lint:allow — K-002: only one element may blink; this is it (D-025) */
}
@keyframes cursor-blink { /* canon-lint:allow — D-025, the one blink */
  to { visibility: hidden; }
}
/* the nav is CHROME, not content — chrome ALWAYS holds 3 columns (D-020 nav exception):
   content rows fold to 2 then 1; the header menu stays 3-up on every viewport,
   tightening column-gap on narrow glass so labels keep one line. */
.nav-block {
  margin-top: var(--s-1);
  padding-bottom: var(--s-1);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: var(--gutter);
  row-gap: var(--s-1); /* canon-lint:allow — nav chrome exception: one flat grid for main + archive rows */
  align-items: baseline;
  width: 100%;
}
.nav-block > nav.index { display: contents; margin: 0; padding: 0; }
header:not(.site-masthead).is-scrolled .nav-block { margin-top: 0; }
nav.index,
.epoq-nav {
  margin-top: var(--s-1);
  padding-bottom: var(--s-1);
  display: grid;
  grid-template-columns: repeat(3, var(--col));
  column-gap: var(--gutter);
  row-gap: var(--s-1); /* canon-lint:allow — nav chrome exception: tight 8px row rhythm */
  align-items: baseline;
}
header:not(.site-masthead).is-scrolled nav.index { margin-top: 0; padding-bottom: var(--s-1); }
nav.index a {
  display: block;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.4; /* canon-lint:allow — nav chrome exception: mono m6 lh-2 (14px box) stacked the header */
}
nav.index a:hover, nav.index a:focus { color: var(--ink); transition: color 0.15s ease; }   /* all text ink — hover stays black */
nav.index a:focus-visible { outline: var(--focus-ring) solid var(--ink); outline-offset: var(--focus-offset); }
/* the prompt-mark reveal — "> " precedes a nav link on hover/focus. Reserved always
   at opacity 0 so the reveal costs no layout shift; opacity is the one lawful hover
   transition (motion doctrine §2.2 — colour/opacity ≤0.15s), the same rule the
   009_theatre numeric strip's circle-on-hover already follows. */
nav.index a::before { content: "> "; opacity: 0; transition: opacity 0.15s ease; }
nav.index a:hover::before, nav.index a:focus-visible::before { opacity: 1; }
section.line-archive { opacity: 0.92; }
section.line-machine {
  opacity: 0.88;
}

/* —— sections ——————————————————————————————————————————————— */
.section-mark { margin-bottom: var(--space-3); }  /* section header — h2 code + serif-8-caps tagline (000_system grammar) */
.section-mark .serif-page-title,
.system-hero .serif-page-title { margin: 0 0 var(--s-1); text-transform: uppercase; }
.sec-tagline { margin: 0 0 var(--s-3); max-width: var(--content); text-wrap: balance; }
.sec-code { display: block; margin-bottom: var(--s-1); font-family: var(--font-mono); font-size: var(--fz-mono-6); line-height: var(--lh-mono-6); letter-spacing: var(--track-code); text-transform: uppercase; color: var(--ink); }  /* hub-tier title code */
.sec-desc { display: block; margin-top: var(--s-1); max-width: var(--content); font-family: var(--font-serif); font-size: var(--fz-body-1); line-height: var(--lh-body-1); letter-spacing: var(--track-body-1); color: var(--ink); }  /* hub-tier subtitle */
.hub-tier > .sec-code { margin-bottom: var(--s-1); }
.hub-tier > .sec-desc { margin-top: 0; margin-bottom: var(--s-3); max-width: var(--content); }
.hub-tier-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gutter);
  margin-bottom: var(--s-4);
}
.hub-family {
  border: var(--hairline) solid var(--line-box);
  padding: var(--s-2) var(--s-3);
  min-width: 0;
}
.hub-family-cap { margin: 0 0 var(--s-2); }
.hub-family-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(128px, 1fr));
  gap: var(--s-2) var(--s-3);
  align-items: start;
}
.hub-atom {
  display: flex;
  flex-direction: column;
  gap: var(--s-1);
  min-width: 0;
}
/* .hub-atom--wide — apply to atoms displaying multiple items or full-width content (e.g., labels, notes, key-value rows) */
.hub-atom--wide { grid-column: 1 / -1; }
.hub-family--wide { grid-column: 1 / -1; }
.hub-atom-demo { margin-top: 0; }
/* balances a short demo (e.g. the 3-line PANE box-drawing specimen) against the
   180px .hub-glass-stage--atom neighbours it sits beside in the same grid row —
   without this the grid row still takes the tall neighbour's height (CSS Grid
   sizes rows to their tallest cell) and the short demo reads as an empty box. */
.hub-atom-demo--center { min-height: var(--viewport-thumb); display: flex; align-items: center; justify-content: center; }
.hub-atom-spec { line-height: var(--lh-mono-6); }
/* section intro — the framing block after .section-mark (000–005 · offer/index).
   Same measure as .sec-desc (--content / 1280): header-adjacent, NOT the 840 academic
   register. col-2 stays for footnotes · method-coda · catalogue running body.
   The + p + .passage chain covers gloss-then-passage (what-it-is-not). Nested
   .section-mark (proof-ledger · re-authoring) uses the same adjacent rules.
   (his ruling 2026-06-27) */
.section-mark { max-width: var(--content); }
.sec-lede,
.section-mark + p,
.section-mark + .passage,
.section-mark + .passage p,
.section-mark + p + .passage,
.section-mark + p + .passage p { max-width: var(--content); }
.whisper { color: var(--ink); }  /* all text is ink */

/* —— the manifesto (Figma 491:618) —————————————————————————— */
.manifesto h1 { font-weight: 400; max-width: none;  /* pass 60: one line — the 64px head is 1040px, the old 1040 cap tipped it to two */
  /* underline DROPPED 2026-06-17 (his ruling, canon): text-decoration:underline ran straight
     through the synthetic-oblique tism on "system" and rendered weird under the skewed glyph.
     The hero states bare; the lean alone carries the stress. (was: underline 3.5% solid · BASE GRID 288:1093) */
}
.manifesto > .sec-code { max-width: var(--content); }
.manifesto .lede { margin-top: var(--s-2); max-width: var(--content); color: var(--ink); }  /* 000_studio lede — content measure, same band as .sec-desc (2026-06-27) */
.manifesto .lede.col-2 { max-width: var(--col-2); }  /* opt-in narrow — academic manifesto only */
.manifesto .lede.fullwidth { max-width: var(--content); }  /* alias — fullwidth = content measure on offer pages */
.manifesto .section-mark { margin-top: var(--s-5); }

/* —— 008 · FORMATTING FRAME (Figma 491:618) — row bands on the 40-law —— */
.formatting-frame { max-width: var(--content); }
.block--hero,
.block--section { display: flex; flex-direction: column; max-width: var(--content); min-width: 0; }
.block--hero { min-height: var(--frame-hero-h); }
.block--section { min-height: var(--frame-section-h); }
.format-row-label {
  display: block; margin: 0; overflow: hidden;
  min-height: var(--frame-row-label); height: var(--frame-row-label);
  line-height: var(--lh-mono-6);
}
.format-row-display {
  display: block; margin: 0; overflow: hidden; font-weight: 400; text-decoration: none;
  min-height: var(--frame-row-display); height: var(--frame-row-display);
  line-height: var(--lh-display); letter-spacing: var(--track-display); text-wrap: wrap;
}
.format-row-heading {
  display: block; margin: 0; overflow: hidden; font-weight: 400;
  min-height: var(--frame-row-heading); height: var(--frame-row-heading);
  line-height: var(--lh-page-title); letter-spacing: var(--track-page-title);
}
.format-row-body {
  display: block; margin: 0; overflow: hidden;
  min-height: var(--frame-row-body); height: var(--frame-row-body);
  line-height: var(--lh-body-1);
}
.format-row-body-col {
  display: block; margin: 0; overflow: hidden;
  min-height: var(--frame-row-body-col); height: var(--frame-row-body-col);
  line-height: var(--lh-body-1);
}
.about-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, var(--col)));
  gap: var(--gutter); max-width: var(--content); margin-top: var(--s-5); justify-content: start;
}
.about-col {
  display: grid; grid-template-rows: auto auto; min-width: 0;
  width: var(--col); min-height: var(--frame-about-h);
}
.about-col .about-lab { display: block; font-weight: 400; color: var(--ink); margin: 0; }
.prose-stack { display: flex; flex-direction: column; gap: 0; max-width: var(--content); }
.prose-stack > p {
  margin: 0; overflow: hidden;
  min-height: var(--frame-row-body); height: var(--frame-row-body);
  line-height: var(--lh-body-1);
}
.block--section + .prose-stack,
.block--section + .lineage-prose,
.block--section + .wn-prose { margin-top: var(--s-3); }
.med-text {
  display: flex; flex-direction: column; min-width: 0;
}
.med-text .format-row-label,
.med-text .format-row-heading,
.med-text .format-row-body { width: 100%; }
@container monolith (max-width: 919px) {
  .about-grid { grid-template-columns: 1fr; gap: var(--s-4); }
  .about-col { width: 100%; }
}


/* —— the thesis (KEEP-001 — II's line, by the operator's hand) ————— */
.thesis h2 { font-weight: 400; max-width: var(--measure-thesis); }
.thesis-caption { margin-top: var(--s-3); max-width: var(--col-2); }

/* —— 001 · METHOD — six stages as a receipt + the coda (D-024) ————— */
.method-ledger { border: var(--hairline) solid var(--line-box); }
.m-row {
  display: grid;
  grid-template-columns: var(--s-4) calc(var(--s-6) * 2) 1fr;
  align-items: center;
  height: var(--s-4);            /* the STRICT 40 grid — every row exactly s-4, never breaks (his ruling 2026-06-23); the old 10px off-spine pad retired */
  padding: 0 var(--s-3);
}
.m-row + .m-row { border-top: var(--hairline) solid var(--line-box); }
.method-coda { margin-top: var(--s-4); max-width: var(--col-2); }

/* —— 002 · THE TYPE LEDGER — the whole type system as one coded specimen grid.
   Replaces the 8 stacked stations (his ruling 2026-06-23): four voices, ten roles,
   coded 00–09, grouped by family — one pedagogical overview, each specimen on itself.
   The strong rule divides the voices; each row baseline-aligns the specimen with its
   measured mono spec. Reuses the 001 ledger grammar (coded rows in a hairline box). —— */
.type-ledger { border: var(--hairline) solid var(--line-box); }
.tl-band + .tl-band, .tl-foot { border-top: var(--hairline) solid var(--ink); }
.tl-voice { display: flex; align-items: baseline; gap: var(--s-3); flex-wrap: wrap; padding: var(--s-3); }
.tl-row { display: grid; grid-template-columns: var(--s-4) minmax(0, 1fr) auto; column-gap: var(--s-4); align-items: baseline; padding: var(--s-3); }
.tl-row + .tl-row { border-top: var(--hairline) solid var(--line-quiet); }
.tl-samp { min-width: 0; overflow-wrap: anywhere; }
.tl-spec { display: flex; gap: var(--s-2); flex-wrap: wrap; justify-content: flex-end; text-align: right; align-items: baseline; }
.tl-foot { display: block; padding: var(--s-3); color: var(--ink); }
@container monolith (max-width: 600px) {
  .tl-row { grid-template-columns: var(--s-4) 1fr; }
  .tl-spec { grid-column: 2; justify-content: flex-start; text-align: left; margin-top: var(--s-1); }
}

/* —— type stations (Figma 491:491 → 491:559) ———————————————— */
.station {
  border: var(--hairline) solid var(--line-box); /* pass 5 outline law · pass 6 optical hairline */
  margin-top: var(--s-4);
}
.station .stage { padding: var(--s-4); }
.station .sample { display: block; letter-spacing: normal; overflow-wrap: anywhere; }
.station .alphabet { display: block; margin-top: var(--s-3); color: var(--ink); text-transform: none; letter-spacing: normal; overflow-wrap: anywhere; }  /* pass 11: the alphabet wraps inside its box on any glass */
.station .alphabet.small { font-size: var(--fz-body-1); }
.spec-rail {
  display: flex;
  flex-wrap: nowrap;                     /* D-033: the rail is ALWAYS one line — "always one line of course";
                                            copy is authored to fit its tile (supersedes the pass-8 wrap) */
  overflow-x: auto;                      /* glass too narrow = the rail extends, never stacks */
  border-top: var(--hairline) solid var(--line-box);
}
.spec-rail span {
  height: var(--s-4);                 /* base-40 confirmed (pass 5): rail boxes ARE 40 */
  display: flex;
  align-items: center;
  padding: 0 var(--s-2);
  border-left: var(--hairline) solid var(--line-box);
  white-space: nowrap;
  color: var(--ink);
}
.spec-rail span:first-child { border-left: none; }
.spec-rail .family { color: var(--ink); }   /* rail labels — ink only; prominence is size */
.spec-rail .role { color: var(--ink); }
.spec-rail .open-ruling { color: var(--ink); }

/* symbol station internals (Figma 491:559) */
.symbol-note { margin-top: var(--s-3); }
.symbol-note .m6.ann { color: var(--ink); }
.symbol-note:first-child { margin-top: 0; }

/* —— email signup — STRUCK 2026-06-21: the section is gone from index.html; its dead CSS
   carried to _GRAVEYARD.md (ENTRY 003). The 48px control-row exception lived only here. —— */


/* —— 002 · WRITING — the citation register (D-017, pass 4) ——————
      bold banned in running text; (fig. n) is its one legal cell · italic for
      titles + foreign phrases (true-italic face: ruling open, faux meanwhile) ·
      sup footnotes · the partial as link mark · glass notes on hover ——— */
.figref { position: relative; color: var(--ink); text-decoration: none; }
.figref b { font-weight: 700; } /* canon-lint:allow — D-017/D-030: bold = the explainer · one weight (700), per E3 */
/* D-030 — THE RHETORICAL TYPOGRAPHY CANON: roman states · italic = the tism
   (rhetorical stress) · bold = the explainer, NEVER without its glass box. */
.gloss { position: relative; }
.gloss b { font-weight: 700; } /* canon-lint:allow — D-030: bold = the explainer, glass attached */
.gloss:hover .gnote, .gloss:focus-within .gnote { opacity: 1; visibility: visible; }
i { font-style: normal; }   /* italic is the TISM ALONE (his ruling 2026-06-21): every bare italic tag holds its roman — only .tism leans */
.tism { font-style: italic; }   /* THE TISM — the one rhetorical lean, set in the font's TRUE italic. The custom 22° skew retired 2026-06-21 (his ruling): the tism is the only italic the system uses; titles, names, foreign all hold roman. */
.figref:hover, .figref:focus { color: var(--ink); transition: color 0.15s ease; }
.fn { font-size: 0.6em; vertical-align: super; line-height: 0; }   /* canon-lint:allow — E17 super-script: footnote-marker .fn at 0.6em (relative super sizing) */
.dlink { color: var(--ink); text-decoration: none; }
.dlink .dmark { font-family: var(--times); }   /* canon-lint:allow — E11: the ∂ link-mark, a Θ-class glyph in Times */
.dlink:hover, .dlink:focus { color: var(--ink); transition: color 0.15s ease; }
.gnote { /* the liquid-glass note — the material's first duty (491:618: glass live) */
  position: absolute; bottom: 130%; left: 0; z-index: 2;
  white-space: normal; width: max-content; max-width: min(var(--measure-note), 55cqw); /* long notes wrap inside the capsule —
                                      hidden notes still occupy layout; unwrapped they poked past the frame and
                                      raised horizontal scrollbars (pass 25/26 sweep catches) */
  pointer-events: none;
  padding: var(--s-1) var(--s-2);
  color: var(--ink);
  background: var(--glass-tint);
  backdrop-filter: blur(var(--glass-blur)); /* canon-lint:allow — glass is live (491:618), first application D-017 */
  -webkit-backdrop-filter: blur(var(--glass-blur)); /* canon-lint:allow — glass is live (491:618) */
  border-radius: var(--radius-capsule); /* capsule glass — 491:618: radius 0 print · capsule glass */
  border: var(--hairline) solid var(--ink-12);
  box-shadow: var(--shadow-spec); /* canon-lint:allow — the canon shadow token, glass only (491:618) */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease; /* canon-lint:allow — glass may move one breath; ink stays still (D-017) */
}
.figref:hover .gnote, .figref:focus .gnote { opacity: 1; visibility: visible; }
.reg-rail { margin-top: var(--s-4); border: var(--hairline) solid var(--line-box); }  /* AMEND: closed on the sides too — the register is a full box, not an open strip */
.footnotes { margin-top: var(--s-5); padding-top: var(--s-2); border-top: var(--hairline) solid var(--line-quiet); color: var(--ink); max-width: var(--col-2); }   /* airier block rhythm (his word 2026-06-18) — s-4 → s-5 */
/* the conspectus siglorum (the device-key) — each device shown on itself. THE LINE
   LEDGER (2026-06-20): the OUTER BOX is KILLED (PROHIBITED_CLICHES A2 — "the boxed
   comparison table"; the box fenced a table the per-row ledger-rules already structure).
   The per-row rules stay (each divides one datum-row from the next — EXERCISED); SPACE
   divides the caption from the table; the strong ink rule is RESERVED for the statute
   rule + the apparatus signature, so the conspectus opens clean. */
.wk-cap { display: block; padding-bottom: var(--s-3); }   /* space, not a rule, divides label from table */
.wk-grid { margin-top: 0; }
.wk-row { display: grid; grid-template-columns: minmax(var(--s-6), max-content) minmax(0, calc(var(--col) - var(--s-5))) 1fr; gap: var(--s-3); align-items: baseline; padding: var(--s-2) 0; border-top: var(--hairline) solid var(--line-quiet); }   /* the per-row ledger rule — columns spine-derived (label ≥ s-6 120 · example ≤ col−s-5 320 · spec 1fr), no magic px; row padding tightened s-3 → s-2 (2026-06-20) — the 48px row air read airy against the small serif, 32px reads denser, the ledger-rule rhythm kept */
.wk-row:first-child { border-top: none; }   /* the table opens clean — the rows ARE the structure */
.wk-d { color: var(--ink); }
.wk-r { align-self: center; }
.footnotes p { margin-top: var(--s-1); }
.footnotes sup { font-size: 0.7em; }   /* canon-lint:allow — E17 super-script: footnotes sup at 0.7em (relative super sizing) */


/* —— 004 · OHM — the instruments (operator drop, D-021) ——————————
      motion exception: these are SIGNED INSTRUMENTS — the stillness law
      governs chrome; instruments are lawful performers (II §2.2.1 carried). */
.ohm-cell { border: var(--hairline) solid var(--line-box); display: flex; flex-direction: column; }
.ohm-stage { height: var(--stage); display: flex; align-items: center; justify-content: center; }
.held-glyph {
  font-family: var(--times);   /* canon-lint:allow — E11: the held Θ, a Θ-class glyph in Times */
  font-size: 280px;   /* canon-lint:allow — E17 signed-instrument: OHM held-glyph display numeral */
  line-height: 1;
  letter-spacing: var(--track-display);
  animation: held 4.5s cubic-bezier(.5,0,.5,1) infinite; /* canon-lint:allow — D-021: instruments lawful; the Θ breathes */
}
@keyframes held { /* canon-lint:allow — D-021 instrument */
  0%, 100% { opacity: 0; }
  35%, 65% { opacity: 1; }
}
.primes-block { width: 76%; display: flex; flex-direction: column; gap: 56px; font-family: var(--font-serif); font-size: 34px; line-height: 1; }   /* canon-lint:allow — OHM D-021 instrument: the symbol-voice numerals render in the MAIN font now (his ruling 2026-06-21 — Times stays Θ-glyphs only; OK if the numerals read plainer); 34/56 are the instrument's sanctioned display sizes */
.p-row { display: flex; justify-content: space-between; align-items: baseline; }
.p-row span { visibility: hidden; }
.p-cap { margin-top: var(--s-3); text-align: center; white-space: pre; min-height: 1em; }

/* the card read (operator seed, pass 32) — the primes mechanic applied to
   project cards; the record is DATA read on demand, not markup. The empty
   body at rest is placed silence — the record arrives through the head. */
.ohm-apply { margin-top: var(--s-4); margin-bottom: var(--s-4); }  /* ruled pass 34: 40 below the annotation */
.read-card {
  border: var(--hairline) solid var(--line-box);   /* the container grammar — a card IS a tile */
  display: flex; flex-direction: column;
  cursor: pointer;
}
.read-card .rc-stage { padding: var(--s-3); display: flex; flex-direction: column; gap: var(--s-2); }
.rc-title { font-weight: 400; }
.rc-meta {
  font-family: var(--font-serif);     /* canon-lint:allow — OHM D-021 instrument: numerals in the MAIN font (his ruling 2026-06-21; Times = Θ-glyphs only); 20px is the instrument's read-meta size */
  font-size: 20px; line-height: 1;   /* canon-lint:allow — E17 signed-instrument: OHM read-card readout */
  min-height: 20px;                   /* the slot is placed before the numbers arrive */   /* canon-lint:allow — E19 instrument: OHM read-card readout slot, placed before the numbers arrive */
  white-space: pre;
}
.rc-legend { margin-top: -6px; }   /* canon-lint:allow — E15: −6px sub-atomic optical pull-up (below s-1) */
.rc-body { min-height: var(--s-6); }
.read-card .spec-rail { margin-top: auto; }
.read-card:focus-visible { outline: var(--focus-ring) solid var(--ink); outline-offset: var(--focus-offset); }
@media (prefers-reduced-motion: reduce) {
  .held-glyph { animation: none; opacity: 1; }
  .brand .cursor { animation: none; }
}

/* —— 006 · CONTAINERS — the html containers (WEB INDEX 262:717) ————
      tile = content + its system-info strip, paired; heights 480 / 240
      (the 240 variant entered the canon 2026-06-11, node 508:25).
      DELTA flagged: the frame draws 1px black; the line law (D-019) says
      0.5 the only stroke — the law holds until the operator rules. ——— */
.u-full { width: 100%; }
.container-tile { border: var(--hairline) solid var(--line-structural); background: var(--paper); display: flex; flex-direction: column; }  /* D-032: tile + its rail, one box (the station grammar) */

/* type specimen boxes (003_type and similar rules cards) — content lives inside the m-stage */
.container-tile .m-stage {
  padding: var(--s-3);
  display: flex;
  flex-direction: column;
  min-height: 72px; /* canon-lint:allow — E19 type specimen card height */
}
.container-tile .ts-samp {
  flex: 1;
  display: block;
  line-height: 1.1;
}
/* type labels sit small above the specimen in the box */
.container-tile .m-stage > .mono.m6 {
  margin-bottom: var(--s-1);
  font-size: var(--fz-mono-6);
}
.c-stage.h480 { height: var(--stage); }
.c-stage.h240 { height: var(--stage-half); }
.c-group { margin-top: var(--s-4); }  /* ruled pass 31: "this spacing is more like 80 than 40" —
                                          group gap drops to the row gap; one rhythm, 40 */
.c-group:first-of-type { margin-top: 0; }
.c-group .gridrow + .gridrow { margin-top: var(--s-4); }
.sysinfo { max-width: var(--col); color: var(--ink); }  /* pass 17: the redhat goes black (ruled); bible lines as the captions */
.sysinfo p { margin: 0; line-height: 1.5; }

/* —— 007 · COLOR — the palette (operator drop 2026-06-11, pass 27).
      Nine inks presented in the reference's grammar: full-height columns,
      widths compose hierarchy (flex shares of 32), hexes + names rotated
      vertical, one annotation arrow over the violet run. The band stands
      STILL — chrome is still; presentation is not an instrument. Text ink
      per column is MEASURED: paper on L < .62 grounds, ink on Rose (L .68).
      On phone the columns become rows — same shares, rotated grammar. —— */
.palette { position: relative; display: flex; height: var(--stage); }  /* APPROVED 2026-06-17 (Figma 525:28 · 007_COLOR — the palette — APPROVED): the tall working-family columns — keys above, vertical names inside, widths ≈ real usage */
.pal-legend { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4); margin-top: var(--s-3); }
.pal-leg { display: inline-flex; align-items: center; gap: 7px; color: var(--ink); }   /* canon-lint:allow — E15: 7px micro-rhythm dot↔label gap; Jacob KEEP */
.pal-leg .pal-sw { display: inline-block; width: 12px; height: 12px; flex: none; border: var(--hairline) solid var(--line-box); }   /* canon-lint:allow — E19 instrument: palette-legend swatch tick (12px specimen marker) */
.pal-leg .pal-hexv { color: var(--ink); }
.pal-leg .pal-oklch { color: var(--ink); }   /* the ink's own OKLCH coordinates — the specimen reading (007) */
.pal-col.thin .pal-name { display: none; }   /* a column too narrow for its name — the legend carries it */
.pal-col { position: relative; }
.pal-hex { display: none; position: absolute; top: var(--s-2); left: 0; right: 0; text-align: center; color: var(--paper); }  /* desktop: keys ride ABOVE (pal-keys, APPROVED 525:28); the hex rides inside only on phone, where pal-keys is hidden */
.pal-col.paper { border: var(--hairline) solid var(--line-quiet); }  /* white reads on white via a quiet frame */
.pal-col.paper .pal-name, .pal-col.paper .pal-hex { color: var(--ink); }  /* ink text on the paper column */
.pal-name {
  position: absolute; bottom: var(--s-2); left: 50%;
  writing-mode: vertical-rl;
  transform: translateX(-50%) rotate(180deg);
  font-family: var(--font-serif);
  font-size: var(--fz-page-title);            /* 32 — APPROVED 525:28: white serif vertical names, bottom-anchored */
  line-height: 1;
  white-space: nowrap;
  color: var(--paper);
}
/* Rose carries paper text BY THE OPERATOR'S WORD (pass 28: "rose should also
   be in white text") — the measured L .68 contrast logic is overruled; taste
   wins, the overrule is named here, never silent. Pass 30: the box around
   the palette is DEAD; the working-family label + the hex keys sit ABOVE the
   blocks, black, centered — his word. */
.pal-head { position: relative; height: var(--s-4); }
.pal-note {
  position: absolute; top: 50%; left: 0; width: 56%;  /* pass 54: spans the paper column — labelling the base */
  transform: translateY(-50%);
  display: flex; align-items: center; gap: var(--s-2);
  color: var(--ink);                              /* black text — ruled pass 30 */
  pointer-events: none;
}
.pal-note .pal-line { flex: 1; border-top: var(--hairline) solid var(--line-box); }
.pal-note .pal-label { white-space: nowrap; }
.pal-keys { display: flex; margin-bottom: var(--s-1); color: var(--ink); }  /* the codes above the blocks — black, centered (pass 30) */
.pal-keys span { text-align: center; }
.pal-strip { display: flex; gap: var(--gutter); align-items: flex-start; }
.pal-cell { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: var(--s-1); }
.pal-swatch { height: var(--stage-half); border: var(--hairline) solid var(--line-structural); box-sizing: border-box; } /* canon-lint:allow — palette specimen swatch, not a layout box */
.pal-cap, .pal-hx, .pal-oklch { color: var(--ink); }
.pal-sig { color: var(--ink); }
.pal-cell:last-child .pal-sig { color: var(--ink); }


/* the field-press study (T-016) was removed by the operator's word, pass 30. */

/* —— 009 · CONTROLS — buttons, pills, chips, dots (pass 35, his word).
      Print controls are SQUARE (radius 0 — button · pill · chip · dot). Type:
      Scheherazade New 8px · tracking +20% · lh 100% · weight 400. Glass tint
      may still carry on pills; shape stays print. Hover = lawful colour only
      (≤0.15s ease). ——— */
.ctl-row { display: flex; align-items: center; gap: var(--s-2); flex-wrap: wrap; margin-top: var(--s-4); }
.ctl-btn,
.ctl-chip,
.ctl-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  appearance: none;
  font-family: var(--font-serif);
  font-size: var(--fz-mono-6);
  font-weight: 400;
  line-height: 1;
  letter-spacing: var(--track-caps);
  border-radius: var(--radius-print);
}
.ctl-btn {
  height: var(--s-4);                       /* base-40 — the signup row holds 48; delta flagged, his ruling */
  padding: 0 var(--s-2);
  background: var(--paper);
  border: var(--hairline) solid var(--line-box);
  color: var(--graphite);
  cursor: pointer;
}
.ctl-btn.primary { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.ctl-btn.primary:hover { color: var(--paper-70); }
.ctl-btn:disabled { color: var(--graphite); border-color: var(--line-quiet); cursor: default; }
.ctl-btn:focus-visible { outline: var(--focus-ring) solid var(--ink); outline-offset: var(--focus-offset); }
.ctl-chips { display: flex; gap: 2px; flex-wrap: wrap; align-items: center; }   /* canon-lint:allow — E15: 2px chip micro-gap */
.ctl-chip {
  height: var(--s-4);
  padding: 0 var(--s-2);
  background: var(--paper);
  border: var(--hairline) solid var(--line-box);
  color: var(--ink);
  cursor: pointer;
}
.ctl-chip.active { background: var(--ink); color: var(--paper); }
.ctl-chip.na { color: var(--ink); cursor: default; }
.ctl-chip:focus-visible { outline: var(--focus-ring) solid var(--ink); outline-offset: var(--focus-offset); }
.ctl-pill {
  height: var(--s-3);
  padding: 0 var(--s-2);
  background: var(--glass-tint);
  backdrop-filter: blur(var(--glass-blur)); /* canon-lint:allow — glass is live (491:618); the pill is D-017's register */
  -webkit-backdrop-filter: blur(var(--glass-blur)); /* canon-lint:allow — glass register */
  border: var(--hairline) solid var(--ink-12);
  box-shadow: var(--shadow-spec); /* canon-lint:allow — the canon shadow token, glass only (491:618) */
  color: var(--graphite);
}

/* —— 009 interactive (pass 38) — the controls behave: print · switch · breathe
      · announce. Lawful colour ≤0.15s + the glass breath only; no transforms. */
.ctl-btn,
.ctl-chip,
.ctl-pill {
  transition: color .15s ease, background-color .15s ease, border-color .15s ease;
}
.ctl-btn:hover:not(:disabled):not(.primary) { color: var(--graphite); border-color: var(--ink); }
.ctl-btn:active:not(:disabled) { background: var(--ink); color: var(--paper); border-color: var(--ink); }  /* the press = a hard ink flip, not a bounce */
.ctl-receipt { font-family: var(--font-mono); font-size: var(--fz-mono-6); line-height: 1.5; color: var(--ink); min-height: 1.5em; margin-top: var(--s-2); border-top: var(--hairline) dashed var(--line-quiet); padding-top: var(--s-1); white-space: pre; }
.ctl-receipt .cur { color: var(--ink); }
.ctl-chip:hover:not(.na):not(.active) { background-color: var(--ink-03); }
.ctl-pill { cursor: pointer; }
.ctl-pill:hover { background-color: var(--paper-82); }              /* the breath — the tint deepens (lawful) */
.ctl-pill.on { background-color: var(--ink); color: var(--paper); border-color: var(--ink); }
.pill-lead { width: 6px; height: 6px; border-radius: var(--radius-print); background: var(--signal-go); margin-right: 7px; flex: none; display: inline-block; }   /* canon-lint:allow — E15: 7px micro-rhythm pill-lead→text gap; Jacob KEEP */


/* —— COMPONENTS — composed from the primitives (the glass-file lift, canon-adapted,
      pass 53). Forms · table · card · tabs · indicators · dialog · toast. Every
      gradient → the nine inks / the signal; every motion → colour or the glass
      breath ≤0.15s; blur only via backdrop-filter; one hairline. ——————————— */
.cmp-stack { display: flex; flex-direction: column; gap: var(--s-3); margin-top: var(--s-4); }
.cmp-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3); margin-top: var(--s-3); }
/* the component + device stations sit at their natural height — no stretch, no empty box, the receipt closes each box at its true bottom (pass 56, his word) */
#components .gridrow, #devices .gridrow { align-items: flex-start; }

.field { display: flex; flex-direction: column; gap: 6px; }   /* canon-lint:allow — E15: 6px form micro-rhythm label↔input gap; Jacob KEEP */
.field label { font-family: var(--font-mono); font-size: var(--fz-mono-6); line-height: var(--lh-mono-6); letter-spacing: var(--track-code); text-transform: uppercase; color: var(--ink); }
.field input, .field select, .field textarea { font-family: var(--font-mono); font-size: var(--fz-mono-6); color: var(--ink); padding: 12px; background: var(--paper); border: var(--hairline) solid var(--line-box); border-radius: var(--radius-print); transition: border-color .15s ease; }   /* canon-lint:allow — E15: 12px control inner-pad sized to the mono-10 field text */
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--signal-go); outline: none; }   /* the field lights with the go-signal — colour as instrument */
.field input::placeholder, .field textarea::placeholder { color: var(--ink); }
.field .hint { color: var(--ink); }
/* .is-error — marks field with validation error; signal-attn border on input/textarea */
.field.is-error input, .field.is-error textarea { border-color: var(--signal-attn); }
.field.is-error .hint { color: var(--ink); }

.toggle { position: relative; width: calc(var(--s-4) + var(--s-1)); height: var(--s-3); display: inline-block; cursor: pointer; flex: none; }   /* 48×24 — re-spined to the spine (s-4+s-1 wide × s-3 tall); his ruling 2026-06-23 */
.toggle input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.toggle .lane { position: absolute; inset: 0; border-radius: var(--radius-capsule); border: var(--hairline) solid var(--line-box); background: var(--paper); transition: background-color .15s ease; }
.toggle .knob { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: var(--radius-capsule); background: var(--glass-tint);   /* canon-lint:allow — control-atom: knob geometry inside the 24-tall lane (18 = lane − 2×3 inset), sub-spine like the sibling .field/.check/.radio controls */
  backdrop-filter: blur(var(--glass-blur)); /* canon-lint:allow — glass register, D-017 */
  -webkit-backdrop-filter: blur(var(--glass-blur)); /* canon-lint:allow — glass register */
  border: var(--hairline) solid var(--ink-12); box-shadow: var(--shadow-spec); } /* canon-lint:allow — glass shadow token */
.toggle input:checked ~ .lane { background-color: var(--signal-go); }   /* on = the go-signal (was a dead-ramp gradient) */
.toggle input:checked ~ .knob { left: 27px; background: var(--paper-90); }  /* canon-lint:allow — control-atom: the knob's snap travel = 48 − 18 − 3; no position motion (E6) */
.toggle input:focus-visible ~ .lane { outline: var(--focus-ring) solid var(--ink); outline-offset: var(--focus-offset); }

.check, .radio { display: inline-flex; gap: 10px; align-items: center; cursor: pointer; font-size: var(--fz-body-1); }   /* canon-lint:allow — E15: 10px form micro-rhythm box↔label gap; Jacob KEEP */
.check input, .radio input { appearance: none; -webkit-appearance: none; width: 16px; height: 16px; border: var(--hairline) solid var(--ink); margin: 0; cursor: pointer; display: grid; place-items: center; background: var(--paper); }   /* canon-lint:allow — E19 control-atom: checkbox/radio box (16px) — sub-spine, like the sibling .field/.toggle controls */
.radio input { border-radius: var(--radius-capsule); }
.check input:checked { background: var(--ink); }
.check input:checked::after { content: ""; width: 6px; height: 6px; background: var(--paper); }   /* canon-lint:allow — E19 control-atom: the checkbox tick (6px, 1-bit) */
.radio input:checked::after { content: ""; width: 8px; height: 8px; border-radius: var(--radius-capsule); background: var(--ink); }  /* solid ink — the print register (was a dead-ramp radial gradient) */   /* canon-lint:allow — E19 control-atom: the radio dot (8px, 1-bit) */
.check input:focus-visible, .radio input:focus-visible { outline: var(--focus-ring) solid var(--ink); outline-offset: var(--focus-offset); }

.meter { width: 100%; max-width: var(--col); height: 14px; border: 1px solid var(--ink); overflow: hidden; background: var(--paper); }   /* pixel track (pass 57) */ /* canon-lint:allow — pixel-atom: the 1-bit pixel grid IS the specimen (1px crisp · pixelated/crispEdges · pass 57/60); the hairline is the editorial register, the pixel grid earns its 1px */
.meter i { display: block; height: 100%; }
.meter--ink i { background: var(--ink); }   /* the solid 1-bit fill */
.meter--dither i { background-color: var(--paper); background-image: conic-gradient(var(--ink) 0deg 90deg, transparent 90deg 180deg, var(--ink) 180deg 270deg, transparent 270deg 360deg); background-size: 4px 4px; }   /* the 50% Mac dither — transparent-stop → E5-exempt */

.badge { display: inline-grid; place-items: center; width: 22px; height: 22px; border: 1px solid var(--ink); background: var(--paper); font-family: var(--font-mono); font-size: var(--fz-mono-6); color: var(--ink); }   /* pixel badge (pass 57) */ /* canon-lint:allow — pixel-atom: the 1-bit pixel grid IS the specimen (1px crisp · pixelated/crispEdges · pass 57/60); the hairline is the editorial register, the pixel grid earns its 1px */
.badge--dither { background-color: var(--paper); background-image: conic-gradient(var(--ink) 0deg 90deg, transparent 90deg 180deg, var(--ink) 180deg 270deg, transparent 270deg 360deg); background-size: 4px 4px; }   /* the 1-bit 'glass' — a dithered bitmap badge */
.badge--dither .b-chip { background: var(--paper); display: inline-grid; place-items: center; width: 14px; height: 14px; color: var(--ink); }   /* canon-lint:allow — E19 pixel-atom: the dithered badge chip (14px, 1-bit) */
/* pixel dots — 1-bit status by pattern (the Mac way): solid · ring · dither */
.pix-dot { width: 12px; height: 12px; display: inline-block; flex: none; }   /* canon-lint:allow — E19 pixel-atom: the pixel status dot (12px, 1-bit) */
.pix-dot.done { background: var(--ink); }
.pix-dot.live { background: var(--paper); box-shadow: inset 0 0 0 1px var(--ink); }
.pix-dot.idle { background-color: var(--paper); background-image: conic-gradient(var(--ink) 0deg 90deg, transparent 90deg 180deg, var(--ink) 180deg 270deg, transparent 270deg 360deg); background-size: 4px 4px; box-shadow: inset 0 0 0 1px var(--ink-12); }

.tabs { margin-top: var(--s-3); border-bottom: var(--hairline) solid var(--ink); display: flex; gap: var(--s-4); }  /* pass 60: space after the caption */
.tabs button { font-family: var(--font-mono); font-size: var(--fz-mono-6); letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--ink); background: none; border: none; border-bottom: var(--hairline) solid transparent; padding: 0 0 var(--s-1); margin-bottom: calc(-1 * var(--hairline)); cursor: pointer; transition: color .15s ease, border-color .15s ease; }
.tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.tabs button:focus-visible { outline: var(--focus-ring) solid var(--ink); outline-offset: var(--focus-offset); }
.tabpanel { margin-top: var(--s-3); }
.tabpanel[hidden] { display: none; }

table.roster { width: 100%; border-collapse: collapse; margin-top: var(--s-4); }
table.roster th { font-family: var(--font-mono); font-size: var(--fz-mono-6); line-height: var(--lh-mono-6); letter-spacing: var(--track-code); text-transform: uppercase; text-align: left; padding: 0 var(--s-3) 10px 0; border-bottom: var(--hairline) solid var(--ink); color: var(--ink); }   /* canon-lint:allow — E15: 10px table-header underline-gap */
table.roster td { padding: var(--s-1) var(--s-3) var(--s-1) 0; border-bottom: var(--hairline) solid var(--line-quiet); vertical-align: baseline; }
table.roster td.name { font-size: var(--fz-serif-8); text-transform: uppercase; letter-spacing: var(--track-caps); }
table.roster td.role { font-family: var(--font-mono); font-size: var(--fz-mono-6); color: var(--ink); }   /* canon: mono 10 = black */
table.roster td.stat { font-family: var(--font-mono); font-size: var(--fz-mono-6); }

.cmp-card { border: var(--hairline) solid var(--ink); padding: var(--s-4); position: relative; background: var(--paper); margin-top: var(--s-4); }
.cmp-card .badge { position: absolute; top: -12px; left: -12px; border-width: var(--hairline); }  /* pass 60: the card badge box is the standard hairline, not 1px */   /* canon-lint:allow — E19 control-atom: card-badge corner offset (negative nudge, pixel-positioned) */
.cmp-card .numeral { font-size: var(--fz-body-1); text-transform: uppercase; letter-spacing: var(--track-caps); }
.cmp-card .room { font-size: var(--fz-body-1); text-transform: uppercase; letter-spacing: var(--track-caps); }
.cmp-card .verb { font-size: var(--fz-serif-8); text-transform: uppercase; letter-spacing: var(--track-caps); color: var(--ink); }
.cmp-card .note { margin-top: var(--s-3); }
.cmp-card .note .tick { display: block; width: 20px; border-top: var(--hairline) solid var(--ink); margin-bottom: 6px; }   /* canon-lint:allow — E15: 6px micro-rhythm gap under the 20px tick */

dialog.cmp-dialog { border: var(--hairline) solid var(--ink); padding: var(--s-4); max-width: var(--measure-note); width: calc(100% - var(--s-5)); background: var(--paper); color: var(--ink); }
dialog.cmp-dialog::backdrop { background: var(--glass-tint); backdrop-filter: blur(var(--glass-blur)); } /* canon-lint:allow — glass backdrop, the agency layer over the record */
dialog.cmp-dialog .actions { display: flex; gap: var(--s-2); margin-top: var(--s-3); }

.cmp-toast { display: none; position: fixed; left: 50%; bottom: var(--s-4); transform: translateX(-50%); z-index: 9; padding: 12px var(--s-3); border-radius: var(--radius-capsule); color: var(--ink); background: var(--glass-tint);   /* canon-lint:allow — E15: 12px control inner-pad (toast capsule), matches .field */
  backdrop-filter: blur(var(--glass-blur)); /* canon-lint:allow — glass register */
  -webkit-backdrop-filter: blur(var(--glass-blur)); /* canon-lint:allow — glass register */
  border: var(--hairline) solid var(--ink-12); box-shadow: var(--shadow-spec); } /* canon-lint:allow — glass shadow token */
.cmp-toast.show { display: block; }

/* —— PIXEL register (pass 57) — Susan Kare 1-bit: bitmap controls, ink on paper,
      crisp pixels, the go-signal for ON. Low-res made iconic (the Deep Pattern). —— */
.pix-ctl { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: var(--fz-body-1); position: relative; }   /* canon-lint:allow — E15: 10px form micro-rhythm toggle↔label; Jacob KEEP */
.pix-ctl > input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pix-check { position: relative; width: 18px; height: 18px; flex: none; background: var(--paper); border: 1px solid var(--ink); } /* canon-lint:allow — pixel-atom: the 1-bit pixel grid IS the specimen (1px crisp · pixelated/crispEdges · pass 57/60); the hairline is the editorial register, the pixel grid earns its 1px */
.pix-check svg { position: absolute; left: 2px; top: 2px; width: 12px; height: 12px; display: none; color: var(--ink); image-rendering: pixelated; shape-rendering: crispEdges; }   /* canon-lint:allow — E19 pixel-atom: the 1-bit pixel-check sprite (image-rendering:pixelated) */
.pix-ctl > input:checked ~ .pix-check svg { display: block; }
.pix-radio { position: relative; width: 18px; height: 18px; flex: none; }   /* canon-lint:allow — E19 pixel-atom: the 1-bit pixel-radio control */
.pix-radio svg { position: absolute; inset: 0; width: 18px; height: 18px; color: var(--ink); image-rendering: pixelated; shape-rendering: crispEdges; }   /* canon-lint:allow — E19 pixel-atom: the 1-bit pixel-radio sprite */
.pix-radio .core { display: none; }
.pix-ctl > input:checked ~ .pix-radio .core { display: block; }
.pix-toggle { position: relative; width: 40px; height: 20px; flex: none; }   /* canon-lint:allow — E19 pixel-atom: the 1-bit pixel-toggle control */
.pix-toggle .lane { position: absolute; inset: 0; background: var(--paper); border: 1px solid var(--ink); } /* canon-lint:allow — pixel-atom: the 1-bit pixel grid IS the specimen (1px crisp · pixelated/crispEdges · pass 57/60); the hairline is the editorial register, the pixel grid earns its 1px */
.pix-toggle .knob { position: absolute; top: 4px; left: 4px; width: 12px; height: 12px; background: var(--ink); }  /* centred — equal white above + below */   /* canon-lint:allow — E19 pixel-atom: the pixel-toggle knob */
.pix-ctl > input:checked ~ .pix-toggle .lane { background: var(--ink); border-color: var(--ink); }  /* ON = black, 1-bit (no purple, his word) */
.pix-ctl > input:checked ~ .pix-toggle .knob { left: 24px; background: var(--paper); }   /* canon-lint:allow — E19 pixel-atom: the pixel-toggle knob travel */


/* —— TREATMENTS — the rendering hands, restored by Jacob's pointing (pass 52,
      D-011). One subject, five code-native hands; every figure MEASURED from the
      real geometry (no fake provenance — the "critic" stamp is gone). ————————— */
.circle-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: var(--s-4); margin-top: var(--s-4); }
.circle { margin: 0; }
.circle-box { width: 100%; aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; overflow: hidden; }  /* no outline (Jacob 2026-06-20): the treatment specimens float on the white field — the sphere IS the specimen, the box was a frame it didn't need */
.circle-art { width: 100%; height: 100%; object-fit: contain; display: block; }
.circle-cap { display: flex; flex-direction: column; gap: var(--s-1); margin-top: var(--s-2); }
.circle-nm { font-family: var(--font-serif); font-size: var(--fz-body-1); color: var(--ink); }
.circle-fig { color: var(--ink); }

/* ════ THE SPECIMEN — canonical image grammar (his ask 2026-06-21; ported from the im-site
      hero, Jacob 2026-06-20). Every presented work-image is a clean specimen: just the work.
      On hover/focus its forensic label DEVELOPS — black text in the frame's corners, on the
      40-grid; no lines, no scrim, no effects. The work stands alone; the metadata is revealed
      on inspection. USE: .specimen on the frame + a .spec-chrome inside (.spec-top = caption ·
      .spec-bot = meta row, .role pushes right). --spec-pad scales the inset: .is-hero = s-4 ·
      default = s-3 · .is-sm = s-2. Dark images add .on-dark (white label — the one allowed
      inversion, still no scrim). reduced-motion: instant. ———————————————————————————————— */
.specimen { position: relative; overflow: hidden; --spec-pad: var(--s-3); }
.specimen > img, .specimen > video { object-position: center; }
.spec-chrome { position: absolute; inset: 0; z-index: 2; opacity: 0; transition: opacity 0.45s ease; pointer-events: none; color: var(--ink); }   /* canon-lint:allow — THE SPECIMEN develops SLOW (0.45s): the photographic "develops" metaphor IS the rule (his ruling 2026-06-21) — a sanctioned reveal beside the glass breath; opacity-only, the ink stays still */
.specimen:hover .spec-chrome, .specimen:focus-within .spec-chrome { opacity: 1; }
.spec-top { position: absolute; top: var(--spec-pad); left: var(--spec-pad); right: var(--spec-pad); line-height: 1.5; }
.spec-bot { position: absolute; left: var(--spec-pad); right: var(--spec-pad); bottom: var(--spec-pad); display: flex; gap: var(--s-3); line-height: 1.5; }
.spec-bot .role { margin-left: auto; color: var(--ink); }
.spec-chrome.on-dark { color: var(--paper); }
.spec-chrome.on-dark .role { color: var(--paper-62); }
.specimen.is-hero { --spec-pad: var(--s-4); }
.specimen.is-sm { --spec-pad: var(--s-2); }
@media (prefers-reduced-motion: reduce) { .spec-chrome { transition: none; } }

/* —— 012_CONSUMER — site vocabulary (the press · press-site.py) ————
      Patterns consumer pages compose. No surface may fork these into
      page CSS — they ship here and pages link the live weblink. ——— */
.m-stage {
  padding: var(--s-3);
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  flex: 1;
}
.ms-name { font-weight: 400; margin: 0; }
.ms-text { margin: 0; }
.container-tile .spec-rail { margin-top: auto; }
/* .reg-rail's own 40px clearance (line 460) loses to the rule above when a reg-rail
   sits inside a tile (015_cli's tier-demo) — margin-top collapses to auto/0, and its
   own top hairline lands flush against the tile's bottom hairline: two 0.5px strokes
   read as one thick one. Restore the register's real clearance in that context. */
.container-tile .spec-rail.reg-rail { margin-top: var(--s-4); }
a.container-tile,
a.tile-link {
  color: inherit;
  text-decoration: none;
}
a.tile-link:hover,
a.tile-link:focus-visible {
  color: var(--ink);
  transition: color 0.15s ease;
}
a.tile-link:focus-visible {
  outline: var(--focus-ring) solid var(--ink);
  outline-offset: var(--focus-offset);
}
.media-tile .specimen > img {
  display: block;
  width: 100%;
  height: auto;
}
.media-tile .m-stage { padding-top: var(--s-2); }
.page-hero { margin-bottom: var(--s-5); }
.page-hero .serif-display { margin: var(--s-2) 0 var(--s-3); }
.page-hero .serif-body-1 { max-width: var(--col-2); }
.system-hero {
  text-align: left;
  padding-block: var(--space-5) 0;  /* bottom pad struck 2026-07-01: section+section owns the 120 boundary (grid audit) */
  margin-inline: 0;
  margin-bottom: 0;
  max-width: var(--content);
}


.system-hero .lede {
  margin: 0;
  max-width: var(--col-2);
  color: var(--ink);
  text-wrap: pretty;
}
#system .sys-block:first-of-type { margin-top: var(--space-3); }
.site-masthead {
  border-bottom: var(--hairline) solid var(--line-box);
  padding-bottom: var(--s-2);
}
.site-masthead .masthead {
  max-height: none; opacity: 1; margin: 0; pointer-events: auto;
  flex-wrap: nowrap; gap: var(--gutter);
}
.site-masthead nav.index {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: var(--gutter);
  row-gap: 0;
  margin-top: 0; padding-bottom: 0; margin-left: auto;
  flex: 1 1 auto; justify-content: flex-end;
  grid-template-columns: unset;
}
header.site-masthead.is-scrolled nav.index { margin-left: 0; justify-content: flex-start; }
.site-masthead nav.index a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-thickness: from-font;
}
.prose-article { max-width: var(--col-2); }
.prose-article p + p { margin-top: var(--s-2); }
.c-group { margin-bottom: var(--s-4); }
.c-group:last-child { margin-bottom: 0; }

/* —— the footer · Figma 489:18 verbatim ———————————————————————— */
.canon-footer { margin-top: var(--section-gap-loose); }  /* one boundary, the loose 160 page-close — was 120+120 stacked (grid audit 2026-07-01) */
.f-crumbs { display: flex; justify-content: space-between; gap: var(--gutter); }
.f-bar { position: relative; margin-top: var(--s-3); }
.f-bar svg { display: block; width: calc(100% - var(--s-5)); height: var(--s-5); }  /* 489:18: barcode 1200, the rail lives in the 80 margin */
.f-rail {
  position: absolute;
  right: 0;
  top: 50%;
  transform: rotate(-90deg) translateX(50%); /* canon-lint:allow — the canon's own rotated rail (489:18), structure not motion */
  transform-origin: 100% 50%;
  display: flex;
  flex-direction: column;
}
.f-rail a { color: var(--ink); text-decoration: underline; text-decoration-thickness: from-font; line-height: 1.5; }
.f-rail a:hover, .f-rail a:focus { color: var(--ink); transition: color 0.15s ease; }
.f-group { display: inline-block; margin-top: var(--s-3); color: var(--ink); text-decoration: underline; text-decoration-thickness: from-font; }
.f-group:hover, .f-group:focus { color: var(--ink); transition: color 0.15s ease; }

/* —— page close ————————————————————————————————————————————— */
.colophon { margin-top: var(--s-6); padding-top: var(--s-2); border-top: var(--hairline) solid var(--line-quiet); display: flex; justify-content: space-between; color: var(--ink); }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ── 011_INDEX · THE SPECIMEN INDEX — STRUCK 2026-06-20. Section + .spx* CSS + the
   measured-count IIFE removed; registry.json line[011] status="struck". ── */

/* ── THE PLATFORM RULES (responsive @container blocks) live at the END of this sheet —
   relocated 2026-06-18: they must come AFTER all base rules or a later base rule wins the
   cascade (that was the responsive bug — col-line / two-col overrides lost). ── */

/* ── 019_COLOPHON · self-audit · the closed line · provenance — STRUCK 2026-06-20.
   Section + .col-* / .lcell CSS + the byte-diff IIFE removed; registry.json line[019]
   status="struck". (The .col-audit rule below belongs to 003_WRITING — KEPT.) ── */

/* ── 010_GLASS · the milky square glass + break-to-reveal — STRUCK 2026-06-20. Section +
   .g-* CSS + the break-canvas IIFE removed; registry.json line[010] status="struck".
   The glass MATERIAL (.gnote / .ctl-pill / .cmp-* glass / --glass-* tokens) survives —
   E1 (bold carries its glass) depends on it across the page. ── */


/* ── 003_WRITING · the apparatus criticus + the references (live orphan-count) — 2026-06-18 ──
   The blocks now mount inside the STATIONS (.station appcrit / .station refs — §003 catalogue
   above); the .station box + its s-4 stage padding set the rhythm, so no block-level top margin
   here (the station governs station rhythm). The inner ac-/ref- rules below are unchanged. */
.ac-text { margin-top: var(--s-2); }
.ac-line { display: flex; gap: var(--s-3); align-items: baseline; }
.ac-ln { color: var(--ink); width: 1.5em; flex: none; text-align: right; }
.ac-app { margin-top: var(--s-2); padding-top: var(--s-2); border-top: var(--hairline) solid var(--line-box); display: flex; flex-direction: column; gap: var(--s-1); color: var(--ink); }   /* the lemma above, the variae lectiones below the rule */
.ac-row { display: flex; gap: var(--s-2); align-items: baseline; }
.ac-loc { color: var(--ink); width: 1.5em; flex: none; text-align: right; }
.ac-lemma { color: var(--ink); }
.ac-var { color: var(--ink); }
.ac-sig { color: var(--ink); }   /* the siglum — a quiet signal tick keying the variant to real provenance */
.ac-legend { margin-top: var(--s-2); }
.ref-list { margin-top: var(--s-2); list-style: none; padding: 0; display: flex; flex-direction: column; gap: var(--s-3); }   /* larger distance between rows (his word 2026-06-18) — s-2 → s-3 */
.ref { display: grid; grid-template-columns: max-content 1fr max-content; gap: var(--s-2) var(--s-3); align-items: baseline; }
.ref-n { color: var(--ink); }
.ref-body { color: var(--ink); line-height: 1.5; }
.ref-bk { color: var(--ink); white-space: nowrap; }
.ref.orphan .ref-n, .ref.orphan .ref-bk { color: var(--ink); }   /* the orphan — flagged, never hidden */
.ref.orphan .ref-body { text-decoration: line-through; text-decoration-color: var(--ink-12); }
.cite { color: var(--ink); }
.cite:hover { color: var(--ink); transition: color .15s ease; }

/* ── 003 · THE STATION DEVICES (the verbatim inner devices re-housed into the stations;
   canon: #000 ink · tism 22° · 0.5px hairline only). The abstract/telemetry/two-col/acad-h
   presentation shells were RETIRED with .paper-flow 2026-06-20 — the station system (§003
   above) carries those roles now (.st-abstract / the conformance rail / .mv-grid / .mv-h).
   What stays: the drop cap, the proposition, the forensic trail, the column audit — the
   devices the movements still mount, unchanged. ───────────────────────────────────────── */
.ab-label { display: block; margin-bottom: var(--s-2); }
.ab-body { margin: 0; }
.tl-target { display: flex; gap: var(--s-2); }
.col-audit { display: block; margin-top: var(--s-2); color: var(--ink); }   /* the movements' column audit reports its own measured config */
/* the proposition — a claim cut to the grid, reading its real trim (the measured prop-trim
   rail reads the cut; the drawn crop-crosses were retired 2026-06-20 — they read random in
   the clean station system) */
.prop { position: relative; padding: var(--s-3) 0; margin: var(--s-3) 0; break-inside: avoid; counter-increment: prop; }
.prop .prop-head { display: block; margin-bottom: var(--s-1); }
.prop .prop-no::before { content: counter(prop, decimal-leading-zero); }
.prop .prop-trim { display: block; margin-top: var(--s-2); }   /* the box's real px geometry, measured at render */
/* the forensic edit-trail — the document's own RECORDED revision (the dashed stroke is the track-change tell, kept) */
.audit-del { text-decoration: line-through; text-decoration-color: var(--ink-40); color: var(--ink); }
.audit-ins { border-bottom: var(--hairline) dashed var(--ink); }   /* canon-lint:allow — the one dashed stroke on the page · the forensic tell, kept by the inversion law · 0.5px hairline */
.audit-note { font-family: var(--font-mono); font-size: var(--fz-mono-6); line-height: var(--lh-mono-6); letter-spacing: var(--track-code); text-transform: uppercase; color: var(--ink); margin-left: 2px; /* canon-lint:allow — 2px optical siglum nudge, sub-atomic */ }
/* the engineered drop cap — a measured, annotated initial (the meta value is computed, never typed) */
.drop { float: left; margin: var(--s-1) var(--s-2) 0 0; }
.drop .drop-cap { display: block; font-family: var(--font-serif); font-size: var(--fz-display); line-height: 0.75; color: var(--ink); }   /* canon-lint:allow — E18 deliberate drop-cap leading: the engineered initial at 0.75 (the cap sits into the text) */
.drop .drop-meta { display: block; margin-top: var(--s-1); text-align: center; }

/* ── 003_WRITING — THE SPECIMEN CATALOGUE · the station system (landed 2026-06-20 from
   _study_writing-stations.html; both critics SHIP) ──
   The self-proving citation register, re-presented as ONE ordered catalogue of measured
   STATIONS — the same clear, framed-and-measured presentation unit as 002_TYPE, so the page
   reads as a SYSTEM (not the two-lane spread that read random). The .station / .stage /
   .spec-rail rules come from §002 above UNCHANGED — they ARE the system; this block only:
     (a) lays the catalogue into ONE reading column on the 1280 measure;
     (b) re-houses the verbatim content's inner devices (drop-cap, prop, audit, wk-grid,
         appcrit, refs, footnotes) into each .station .stage;
     (c) governs the LIVE spec-rail cells (.rail-live) the IIFEs write into.
   THE LINE LEDGER · EXACTLY TWO strong ink rules survive: the HEAD statute border-bottom
   (the masthead the catalogue hangs under) + the .ac-app border-top (ESTABLISHED TEXT |
   VARIANTS). Every other line is the quiet station border --line-box. LAYOUT ONLY — every
   value resolves through the spine (--content / --col / --col-2 / --gutter / --s-* / the
   fonts / --hairline / --line-*). What DIED: .paper-flow, the two .lane-tags, the .spine, the
   400|840 grid. The collapse query is at the END of the sheet with the @container monolith blocks. */

/* the catalogue body — ONE reading column on the 1280 measure. No two-lane spread. */
.catalogue { max-width: var(--content); }

/* THE HEAD — the running head / statute. NOT a station — the masthead the catalogue hangs
   under. Its border-bottom is STRONG RULE 1/2 (the statute rule). */
.catalogue > .section-mark {
  margin-bottom: var(--s-4);
  padding-bottom: var(--s-3);
  border-bottom: var(--hairline) solid var(--ink);   /* STRONG RULE 1/2 — the statute rule */
}
.catalogue > .section-mark .sec-tagline { max-width: var(--content); }
.tok-band + .tok-band { margin-top: var(--subsection-gap); }   /* sub-block rhythm within one section — distinct from section+section's --section-gap so intra-section breaks never read as section boundaries (spacing-canon fix 2026-07-01) */

/* ── THE SPEC-RAIL, COMPUTED. The §002 rail is reused verbatim; this only governs the LIVE
   cells (.rail-live) the IIFEs write into. The .role cell carries the demoted register-pole. ── */
.spec-rail .rail-live { color: var(--ink); }            /* the measured datum reads black — it is the proof */
.spec-rail .rail-live .ann { color: var(--ink); }    /* labels stay ink */
.spec-rail .rail-live .fail .val,
.spec-rail .rail-live.fail .val { color: var(--ink); }   /* drift reads FAIL in public — the kept law (per-cell) */

/* ── STATION 1 · ABSTRACT — the claim on the stage, the findings in the rail ────── */
.st-abstract .ab-label { display: block; margin-bottom: var(--s-2); }
.st-abstract .ab-body { margin: 0; max-width: var(--col-2); }

/* ── STATION 2 · CONFORMANCE — the target on the stage, the audit distributed across the
   rail's EQUAL cells (each datum its own 40px cell, divided by the canon border-left). ── */
.st-conformance .tl-target { display: flex; gap: var(--s-2); flex-wrap: wrap; max-width: var(--col-2); }

/* ── STATIONS 3–5 · THE THREE MOVEMENTS — three facets of ONE proposition, set as a
   tier-grid of 3 sharing ONE rail. The established-text lede (praefatio) opens the station
   full-width on the 840 measure, above the three numbered facets; the heading numbers are
   DOM-counted (no typed depth). ── */
.movements { counter-reset: mv prop; }
.mv-lede { max-width: var(--col-2); margin-bottom: var(--s-4); }   /* tightened s-5 → s-4 (2026-06-20): the 80px gap above the grid read airy; 40px matches the station stage rhythm */
.lede-box .mv-lede { margin-bottom: 0; }   /* in its own box (2026-06-22): the stage padding sets the rhythm; the lede keeps its col-2 reading measure */
.lede-box .ref-list { margin-top: var(--s-3); max-width: var(--col-2); }
.mv-lede p { margin: 0; }
.mv-lede p + p { margin-top: var(--s-2); }
.mv-grid { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: var(--gutter); align-items: start; }
.mv-cell { min-width: 0; }
/* .mv-h (the movement titles + their counter) removed 2026-06-23 — his ruling: drop the titles, the three movements run untitled on the drop-cap opener. */
.mv-cell p { margin: 0; }
.mv-cell p + p, .mv-cell .prop + p { margin-top: var(--s-2); }   /* the movements run as multi-paragraph papers now — paragraph rhythm on the spine */
/* the movements keep their own verbatim devices — drop-cap, the crop-marked prop, the
   forensic del/ins trail — scoped to the cell (the base §003 rules below still apply). */
.mv-cell .drop { margin: var(--s-1) var(--s-2) 0 0; }
.mv-cell .prop { padding: 0; margin: 0; }   /* flows on the same s-2 paragraph rhythm — no extra top/bottom air (his ruling 2026-06-23: uniform, no double-break) */

/* ── STATION 6 · DEVICE-KEY — the conspectus shown ON itself. The wk-grid (§002 above);
   the per-row ledger-rule stays (EXERCISED), the outer box stays killed (the .station IS
   the box). ── */
.devicekey .wk-cap { display: block; padding-bottom: var(--s-3); }
.devicekey .wk-grid { margin-top: 0; }

/* ── STATION 7 · APPARATUS CRITICUS — the canon line + variant rows + legend. The .ac-app
   border-top is STRONG RULE 2/2 (the ESTABLISHED-TEXT | VARIANTS division), drawn in full
   ink-structural weight — the cleanest, most deliberate hairline in the catalogue. ── */
.appcrit .ac-text { margin-top: 0; }
.appcrit .ac-app { border-top-color: var(--line-structural); }   /* STRONG RULE 2/2 — the edition's exemplary hairline */

/* ── THE APPARATUS · references + footnotes, in context — the FOOT of the established text
   (the movements' lede draws on [1]/[2]; the reader meets the source where the mark is). ref
   [3] = the load-bearing orphan, NEVER resolved. The detached STATION 8 + its "every mark
   drains here" framing died 2026-06-20. A quiet --line-quiet rule sets the apparatus off the
   movements above; the foot holds the 840 measure. ── */
.mv-apparatus { margin-top: var(--s-4); padding-top: var(--s-3); border-top: var(--hairline) solid var(--line-quiet); max-width: var(--col-2); }
.mv-apparatus .ref-list { margin-top: var(--s-3); }
.mv-apparatus .footnotes { margin-top: var(--s-3); padding-top: var(--s-2); border-top: var(--hairline) solid var(--line-quiet); max-width: var(--col-2); }

/* ── COLOPHON — the .reg-rail closed box, full width under the stack (the one deliberately
   enclosed object; the §002 rule closes it on all sides). ── */
.catalogue > .reg-rail { margin-top: var(--s-4); }

/* ── 012_DISCARD · the de-accession register — STRUCK 2026-06-20. Section + .dsc-* /
   .discard-reg CSS (incl. its max-width:920px @media) + the discard-verdict IIFE removed;
   registry.json line[012] status="struck". discard.json kept on disk, unreferenced. ── */


/* —— 013 · HUB — atoms · rows · shell · glass · graph (HHG Cortex)
      Authored in hub-atoms.json · specimens in hub.html. Print = square;
      glass = hub-mo-glass on the motion ramp. Color is instrument only. ——————————— */

/* 100 · pill variants (extend ctl-pill) — print square · motion register */
.ctl-pill.ghost { border-color: transparent; background: var(--ink-03); backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; }
.ctl-pill.accent { border-color: var(--signal-go); color: var(--graphite); }
.ctl-pill.attention { border-color: var(--signal-attn); color: var(--graphite); }
.ctl-pill.filled { background: var(--ink); color: var(--paper); border-color: var(--ink); backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; }
.ctl-pill.accent,
.ctl-pill.attention { backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; }

/* 100 · motion register — Figma GFVDHzPgeMjx4KSkjyW4NE · L-ramp · ghost .12 ·
      square cells · opacity settle .5s · stagger .15s. Product-scale atoms for
      dots · warmth · chips · buttons (draft expanded to fit §005_HUB). */
#hub,
.hub-page,
.hub-spec-demo,
.hub-motion-plate {
  --mo-L0: var(--graphite);
  --mo-L1: var(--grey-51);
  --mo-L2: var(--grey-51);
  --mo-L3: var(--dusk);
  --mo-L4: var(--hum);
  --mo-L5: #afb6ee; /* canon-lint:allow — motion ramp tail · Figma GFVDHzPgeMjx4KSkjyW4NE */
  --mo-ghost: 0.12;
  --mo-track: var(--line-quiet);
}
#hub .pix-dot,
.hub-page .pix-dot,
.hub-spec-demo .pix-dot,
.hub-shell .pix-dot,
.hub-card .pix-dot,
.hub-pres .pix-dot {
  border-radius: var(--radius-print);
  transition: opacity .5s ease-in-out, background-color .5s ease-in-out;
}
#hub .pix-dot.idle,
.hub-page .pix-dot.idle,
.hub-spec-demo .pix-dot.idle,
.hub-shell .pix-dot.idle,
.hub-card .pix-dot.idle,
.hub-pres .pix-dot.idle {
  background: var(--graphite);
  opacity: 0.12;
  box-shadow: none;
  background-image: none;
}
#hub .pix-dot.done,
.hub-page .pix-dot.done,
.hub-spec-demo .pix-dot.done,
.hub-shell .pix-dot.done {
  background: var(--graphite);
  opacity: 1;
  box-shadow: none;
  background-image: none;
}
#hub .pix-dot.accent,
.hub-page .pix-dot.accent,
.hub-spec-demo .pix-dot.accent,
.hub-shell .pix-dot.accent,
.hub-card .pix-dot.accent,
.hub-pres .pix-dot.accent {
  background: var(--hum);
  opacity: 1;
  box-shadow: none;
  background-image: none;
}
#hub .pix-dot.live,
.hub-page .pix-dot.live,
.hub-spec-demo .pix-dot.live,
.hub-shell .pix-dot.live,
.hub-card .pix-dot.live,
.hub-pres .pix-dot.live {
  background: var(--hum);
  animation: hub-pixpulse 2.4s ease-in-out infinite; /* canon-lint:allow — E6 hub live pulse: opacity only · motion concentric period */
}
@keyframes hub-pixpulse { 0%, 100% { opacity: 1; } 37.5% { opacity: 0.12; } 75% { opacity: 1; } }

/* 100 · warmth bar — loading-bar cells at hub scale */
.hub-warmth {
  display: flex; gap: 2px; align-items: stretch; height: var(--s-2);   /* canon-lint:allow — E15: hub motion cell gap */
}
.hub-warmth .cell {
  width: var(--s-1); flex: none; border-radius: var(--radius-print);
  background: var(--grey-51);
  opacity: 0.12;
  transition: opacity .5s ease-in-out, background-color .5s ease-in-out;
}
.hub-warmth .cell.hot { background: var(--hum); opacity: 1; }
.hub-warmth .cell.is-warm { background: var(--dusk); opacity: 1; }
.hub-warmth.is-live .cell { transition: opacity .5s ease-in-out, background-color .5s ease-in-out; }

/* 100 · motion plate — four Figma instruments at hub scale (GFVDHzPgeMjx4KSkjyW4NE) */
.hub-motion-plate {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gutter);
  margin-top: var(--s-2);
}
.hub-mo-panel {
  display: flex; flex-direction: column; gap: var(--s-2);
  padding-top: var(--s-2);
  border-top: var(--hairline) solid var(--line-quiet);
  min-height: calc(var(--s-6) + var(--s-2));
}
.hub-mo-panel .hub-motion-cap {
  font-family: var(--font-mono); font-size: var(--fz-mono-6);
  letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--ink);
}
.hub-mo-legend {
  color: var(--ink);
}

/* 1 · glyph display → Nokia-style dot matrix (5×7 glyphs · 11×7 window) */
.hub-mo-glyph-unit {
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--s-1);
  width: max-content;
}
.hub-mo-glyph-rule {
  display: block;
  width: 100%;
  height: var(--hairline);
  background: var(--line-quiet);
  flex: none;
}
.hub-mo-glyph-readout {
  display: block;
  width: 100%;
  font-family: var(--font-serif);
  font-size: var(--fz-mono-6);
  font-weight: 400;
  line-height: 1;
  letter-spacing: var(--track-caps);
  text-align: center;
  color: var(--mo-L2);
}
.hub-mo-glyph {
  display: grid;
  grid-template-columns: repeat(var(--glyph-cols, 11), var(--s-1));
  grid-template-rows: repeat(var(--glyph-rows, 7), var(--s-1));
  gap: 2px;   /* canon-lint:allow — E15: hub motion glyph cell gap */
  width: max-content;
}
.hub-mo-glyph-cell {
  width: var(--s-1); height: var(--s-1);
  border-radius: var(--radius-print);
  background: var(--mo-L0);
  opacity: var(--mo-ghost);
  transition: opacity .5s ease-in-out, background-color .5s ease-in-out;
}
.hub-mo-glyph-cell.is-on {
  background: var(--mo-L4);
  opacity: 1;
}

.hub-mo-dot-ramp {
  display: inline-flex; gap: 3px; align-items: center;   /* canon-lint:allow — E15: hub motion dot ramp gap */
}
.hub-mo-d {
  width: 12px; height: 12px; border-radius: var(--radius-print); flex: none;   /* canon-lint:allow — E19: hub motion instrument dot */
}
.hub-mo-d.l0 { background: var(--mo-L0); }
.hub-mo-d.l1 { background: var(--mo-L1); }
.hub-mo-d.l2 { background: var(--mo-L2); }
.hub-mo-d.l3 { background: var(--mo-L3); }
.hub-mo-d.l4 { background: var(--mo-L4); }
.hub-mo-d.l5 { background: var(--mo-L5); }
.hub-mo-d.is-ghost { opacity: var(--mo-ghost); }

/* 2 · loading bar → warmth */
.hub-mo-load {
  display: flex; gap: 2px; align-items: stretch;   /* canon-lint:allow — E15: hub motion load cell gap */
}
.hub-mo-load .blk {
  width: var(--s-1); height: var(--s-2);
  border-radius: var(--radius-print);
  opacity: var(--mo-ghost);
  transition: opacity .5s ease-in-out;
  transition-delay: calc(var(--i, 0) * .15s);
}
.hub-mo-load .blk.l0 { background: var(--mo-L0); }
.hub-mo-load .blk.l1 { background: var(--mo-L1); }
.hub-mo-load .blk.l2 { background: var(--mo-L2); }
.hub-mo-load .blk.l3 { background: var(--mo-L3); }
.hub-mo-load .blk.l4 { background: var(--mo-L4); }
.hub-mo-load .blk.l5 { background: var(--mo-L5); }
.hub-mo-load.lit .blk { opacity: 1; }
.hub-mo-load.reset .blk { transition: none; opacity: var(--mo-ghost); }
.hub-mo-load--sm .blk { width: 6px; height: var(--s-2); }   /* canon-lint:allow — E19: hub motion sm cell */

.hub-mo-status-track {
  width: 100%; max-width: var(--col);
  height: var(--s-1);
  background: var(--mo-track);
  overflow: hidden;
  border-radius: var(--radius-print);
}
.hub-mo-status-fill {
  height: 100%; width: 0;
  border-radius: var(--radius-print);
  background: linear-gradient(90deg, var(--mo-L1) 0%, var(--mo-L2) 40%, var(--mo-L3) 70%, var(--mo-L4) 100%);   /* canon-lint:allow — E5: hub motion status ramp · Figma instrument */
  animation: hub-mo-statusfill 3.2s ease-in-out infinite; /* canon-lint:allow — E6 hub motion plate: width+opacity only · Figma status bar */
}
@keyframes hub-mo-statusfill {   /* canon-lint:allow — E19: hub motion status sweep geometry */
  0% { width: 1px; opacity: 1; }   /* canon-lint:allow — E19: hub motion status sweep geometry */
  93.75% { width: 100%; opacity: 1; }
  97% { width: 100%; opacity: 0; }
  100% { width: 1px; opacity: 0; }   /* canon-lint:allow — E19: hub motion status sweep geometry */
}

/* 3 · segment reveal → filter chips */
.hub-mo-chips .ctl-chip {
  opacity: var(--mo-ghost);
  background: var(--paper);
  color: var(--mo-L2);
  border-color: var(--line-box);
  transition: opacity .5s ease-in-out, background-color .5s ease-in-out, color .5s ease-in-out, border-color .5s ease-in-out;
  transition-delay: calc(var(--i, 0) * .15s);
}
.hub-mo-chips.lit .ctl-chip {
  opacity: 1;
  color: var(--mo-L0);
  border-color: var(--mo-L0);
  background: var(--paper);
}
.hub-mo-chips.lit .ctl-chip.active {
  background: var(--mo-L0);
  border-color: var(--mo-L0);
  color: var(--paper);
}
.hub-mo-chips.reset .ctl-chip { transition: none; opacity: var(--mo-ghost); }

/* 4 · concentric squares → buttons (Figma 600×600 proportions · scaled to plate) */
.hub-mo-concentric-stack {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: var(--s-4);
  width: 100%;
}
.hub-mo-sqf {
  display: grid;
  place-items: center;
  width: var(--s-5);
  height: var(--s-5);
  flex: none;
  overflow: hidden;
}
.hub-mo-concentric {
  position: relative; flex: none; pointer-events: none;
}
.hub-mo-concentric--plate {
  width: 100%; height: 100%;
}
.hub-mo-concentric--sm {
  width: var(--s-4); height: var(--s-4);
}
.hub-mo-concentric .sq {
  position: absolute; left: 50%; top: 50%;
  border-radius: var(--radius-print);
  transform: translate(-50%, -50%) scale(1);
  transform-origin: center center;
  animation: hub-mo-sqpulse 2.4s ease-in-out infinite; /* canon-lint:allow — E6 hub motion plate: concentric ripple · Figma instrument 4 */
}
/* motion.html artboard ratios: 490/365/258/176 in 600 — sizes as % of frame, center-anchored */
.hub-mo-concentric .sq-l4 {
  width: 81.667%; height: 81.667%;
  background: var(--mo-L4); animation-delay: .45s;
}
.hub-mo-concentric .sq-l3 {
  width: 60.833%; height: 60.833%;
  background: var(--mo-L3); animation-delay: .30s;
}
.hub-mo-concentric .sq-l2 {
  width: 43%; height: 43%;
  background: var(--mo-L2); animation-delay: .15s;
}
.hub-mo-concentric .sq-l0 {
  width: 29.333%; height: 29.333%;
  background: var(--mo-L0); animation-delay: 0s;
}
@keyframes hub-mo-sqpulse {
  0% { transform: translate(-50%, -50%) scale(1); opacity: var(--mo-ghost); }
  37.5% { transform: translate(-50%, -50%) scale(1.07); opacity: 1; }
  75%, 100% { transform: translate(-50%, -50%) scale(1); opacity: var(--mo-ghost); }
}
.hub-mo-btn-row {
  display: flex; flex-wrap: nowrap; align-items: center; justify-content: center;
  gap: var(--s-2);
  width: 100%;
  max-width: max-content;
}
.hub-mo-panel:has(.hub-mo-concentric-stack) .hub-mo-concentric-stack {
  align-self: center;
}
.hub-mo-btn-row.is-live .ctl-btn {
  transition: color .15s ease, background-color .15s ease, border-color .15s ease;
}
.hub-mo-btn-row.is-live .ctl-btn.is-press-demo:not(.primary) {
  background: var(--graphite);
  color: var(--paper);
  border-color: var(--graphite);
}
.hub-mo-btn-row.is-live .ctl-btn.glass.is-press-demo {
  backdrop-filter: none; /* canon-lint:allow — press demo: hard ink flip overrides glass */
  -webkit-backdrop-filter: none; /* canon-lint:allow — press demo */
  box-shadow: none;
}
.hub-mo-live-dot {
  display: inline-grid; place-items: center;
  width: var(--s-4); height: var(--s-4);
  vertical-align: middle;
}
.hub-mo-live-dot .hub-mo-concentric,
.hub-mo-live-dot .pix-dot.live {
  grid-area: 1 / 1;
}
.hub-mo-live-dot .hub-mo-concentric {
  width: 100%; height: 100%;
}
.hub-mo-live-dot .pix-dot.live {
  z-index: 1;
}

/* 100 · filter chips · hub colour ramp (print timing — motion stagger lives on .hub-mo-chips only) */
#hub .ctl-chip:not(.active):not(.is-hover):not(.na),
.hub-page .ctl-chip:not(.active):not(.is-hover):not(.na),
.hub-spec-demo .ctl-chip:not(.active):not(.is-hover):not(.na),
.hub-shell .ctl-chip:not(.active):not(.is-hover):not(.na) {
  color: var(--ink);
}
#hub .ctl-chip.is-hover,
.hub-page .ctl-chip.is-hover,
.hub-spec-demo .ctl-chip.is-hover,
.hub-shell .ctl-chip.is-hover {
  color: var(--ink);
  border-color: var(--graphite);
  background: var(--ink-03);
}
#hub .ctl-chip.active,
.hub-page .ctl-chip.active,
.hub-spec-demo .ctl-chip.active,
.hub-shell .ctl-chip.active {
  background: var(--graphite);
  border-color: var(--graphite);
  color: var(--paper);
}

/* 100 · buttons · hub colour ramp */
#hub .ctl-btn.primary,
.hub-page .ctl-btn.primary,
.hub-spec-demo .ctl-btn.primary,
.hub-shell .ctl-btn.primary {
  background: var(--graphite);
  border-color: var(--graphite);
}
#hub .ctl-btn:hover:not(:disabled):not(.primary),
.hub-page .ctl-btn:hover:not(:disabled):not(.primary),
.hub-spec-demo .ctl-btn:hover:not(:disabled):not(.primary),
.hub-shell .ctl-btn:hover:not(:disabled):not(.primary) {
  color: var(--graphite);
  border-color: var(--graphite);
}
#hub .ctl-btn:active:not(:disabled),
.hub-page .ctl-btn:active:not(:disabled),
.hub-spec-demo .ctl-btn:active:not(:disabled),
.hub-shell .ctl-btn:active:not(:disabled) {
  background: var(--graphite);
  color: var(--paper);
  border-color: var(--graphite);
}
#hub .ctl-btn.accent,
.hub-page .ctl-btn.accent,
.hub-spec-demo .ctl-btn.accent,
.hub-shell .ctl-btn.accent {
  border-color: var(--dusk);
  color: var(--graphite);
}
#hub .ctl-btn.quiet,
.hub-page .ctl-btn.quiet,
.hub-spec-demo .ctl-btn.quiet,
.hub-shell .ctl-btn.quiet,
#controls .ctl-btn.quiet {
  border-color: var(--line-quiet);
  color: var(--graphite);
}

/* 006_controls · same atom register as 005_hub (100_atoms) */
#controls .ctl-btn.primary {
  background: var(--graphite);
  border-color: var(--graphite);
}
#controls .ctl-btn:hover:not(:disabled):not(.primary) {
  color: var(--graphite);
  border-color: var(--graphite);
}
#controls .ctl-btn:active:not(:disabled) {
  background: var(--graphite);
  color: var(--paper);
  border-color: var(--graphite);
}
#controls .ctl-btn.accent {
  border-color: var(--dusk);
  color: var(--graphite);
}
#controls .ctl-chip:not(.active):not(.is-hover):not(.na) {
  color: var(--ink);
}
#controls .ctl-chip.active {
  background: var(--graphite);
  border-color: var(--graphite);
  color: var(--paper);
}
#controls .ctl-register { margin-top: var(--s-2); }

@media (max-width: 900px) {
  .hub-motion-plate { grid-template-columns: 1fr; }
}

/* 100 · file badges */
.hub-fbadge {
  display: inline-flex; align-items: center; gap: var(--s-1);
  height: var(--s-2); padding: 0 var(--s-1);
  font-family: var(--font-mono); font-size: var(--fz-mono-6);
  letter-spacing: var(--track-caps); text-transform: uppercase;
  border: var(--hairline) solid var(--line-box); color: var(--ink);
}
.hub-fbadge .fb-dot { width: 6px; height: 6px; flex: none; }   /* canon-lint:allow — E19: hub badge dot */
.hub-fbadge.is-polished .fb-dot { background: var(--ink); }
.hub-fbadge.is-draft .fb-dot { background: var(--paper); box-shadow: inset 0 0 0 1px var(--ink-12); }
.hub-fbadge.is-locked .fb-dot { background: var(--paper); box-shadow: inset 0 0 0 1px var(--ink); }

.ctl-btn.glass {
  border-radius: var(--radius-print);
  background: color-mix(in srgb, var(--mo-L4) 12%, var(--paper));
  backdrop-filter: blur(4px); /* canon-lint:allow — motion-scale glass */
  -webkit-backdrop-filter: blur(4px); /* canon-lint:allow — motion-scale glass */
  border-color: var(--line-quiet);
  box-shadow: none;
  transition: background-color .5s ease-in-out, border-color .5s ease-in-out; /* canon-lint:allow — E6 hub motion glass: opacity settle */
}
#hub .ctl-btn.glass:hover,
.hub-page .ctl-btn.glass:hover,
.hub-spec-demo .ctl-btn.glass:hover {
  background: color-mix(in srgb, var(--mo-L3) 18%, var(--paper));
  border-color: var(--mo-L2);
}
.ctl-btn.is-sm { height: var(--s-3); padding: 0 var(--s-1); }

.hub-label {
  display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-2);
  font-family: var(--font-mono); font-size: var(--fz-mono-6);
  letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--ink);
}
.hub-label .hub-label-meta { color: var(--ink); }
.hub-note {
  border-left: 2px solid var(--ink);   /* canon-lint:allow — E10: hub note accent rule */
  padding: var(--s-1) var(--s-2);
  color: var(--ink);
  font-size: var(--fz-body-1);
  line-height: var(--lh-body-1);
}
.hub-kv { display: flex; gap: var(--s-2); align-items: baseline; font-size: var(--fz-body-1); }
.hub-kv-key { width: var(--s-5); flex: none; color: var(--ink); font-family: var(--font-mono); font-size: var(--fz-mono-6); }
.hub-kv-val { color: var(--ink); flex: 1; min-width: 0; }

/* 200 · rows & cards */
.hub-card {
  position: relative; padding: var(--s-2) 0 var(--s-3);
  border-top: var(--hairline) solid var(--line-box);
  display: flex; flex-direction: column; min-width: 0;
}
.hub-card-top { display: flex; align-items: center; justify-content: space-between; gap: var(--s-1); }
.hub-card-id { display: inline-flex; align-items: baseline; gap: 6px; color: var(--ink); font-family: var(--font-mono); font-size: var(--fz-mono-6); }   /* canon-lint:allow — E15: hub card meta gap */
.hub-card-state { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-family: var(--font-mono); font-size: var(--fz-mono-6); white-space: nowrap; }   /* canon-lint:allow — E15: hub card meta gap */
.hub-card-name { margin-top: var(--s-2); display: flex; align-items: baseline; gap: var(--s-1); }
.hub-card-no { font-family: var(--font-serif); font-size: var(--fz-body-1); color: var(--ink); flex: none; }
.hub-card-nm { font-family: var(--font-serif); font-size: var(--fz-body-1); line-height: 1.15; color: var(--ink); }
.hub-card-next { margin-top: var(--s-1); color: var(--ink); font-size: var(--fz-body-1); line-height: 1.4; }
.hub-card-tags { margin-top: var(--s-2); display: flex; flex-wrap: wrap; gap: 6px; }   /* canon-lint:allow — E15: hub tag chip gap */
.hub-card.is-hot { border-top-color: var(--ink); }
.hub-card.is-hot::before {
  content: ""; position: absolute; top: -1px; left: 0; width: var(--s-3);   /* canon-lint:allow — E19: hub hot beat nudge */
  border-top: 2px solid var(--signal-attn);   /* canon-lint:allow — E10: hub signal beat */
}
.hub-card.is-dim { color: var(--ink); border-top-color: var(--line-quiet); }
.hub-card.is-dim .hub-card-nm, .hub-card.is-dim .hub-card-next { color: var(--ink); }

/* 200 · plate card · per-variant stagger on card content */
.hub-card-plate {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  min-width: 0;
}
.hub-card-plate-stack {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.hub-card-plate .hub-card.is-live > .hub-card-top,
.hub-card-plate .hub-card.is-live > .hub-card-name,
.hub-card-plate .hub-card.is-live > .hub-card-next,
.hub-card-plate .hub-card.is-live > .hub-card-tags,
.hub-card-plate .hub-card.is-live > .hub-card-mo {
  opacity: var(--mo-ghost);
  transition: opacity .5s ease-in-out; /* canon-lint:allow — E6 hub motion plate-card: row stagger fade */
  transition-delay: calc(var(--j, 0) * .15s);
}
.hub-card-plate .hub-card.is-hot.is-live > .hub-card-top,
.hub-card-plate .hub-card.is-hot.is-live > .hub-card-name,
.hub-card-plate .hub-card.is-hot.is-live > .hub-card-next,
.hub-card-plate .hub-card.is-hot.is-live > .hub-card-tags,
.hub-card-plate .hub-card.is-hot.is-live > .hub-card-mo {
  transition-delay: calc(var(--j, 0) * .1s);
}
.hub-card-plate .hub-card.is-dim.is-live > .hub-card-top,
.hub-card-plate .hub-card.is-dim.is-live > .hub-card-name,
.hub-card-plate .hub-card.is-dim.is-live > .hub-card-next {
  transition-delay: calc(var(--j, 0) * .2s);
}
.hub-card-plate .hub-card.lit > .hub-card-top,
.hub-card-plate .hub-card.lit > .hub-card-name,
.hub-card-plate .hub-card.lit > .hub-card-next,
.hub-card-plate .hub-card.lit > .hub-card-tags,
.hub-card-plate .hub-card.lit > .hub-card-mo { opacity: 1; }
.hub-card-plate .hub-card.is-dim.lit > .hub-card-top,
.hub-card-plate .hub-card.is-dim.lit > .hub-card-name,
.hub-card-plate .hub-card.is-dim.lit > .hub-card-next { opacity: 0.45; }
.hub-card-plate .hub-card.reset > .hub-card-top,
.hub-card-plate .hub-card.reset > .hub-card-name,
.hub-card-plate .hub-card.reset > .hub-card-next,
.hub-card-plate .hub-card.reset > .hub-card-tags,
.hub-card-plate .hub-card.reset > .hub-card-mo { transition: none; opacity: var(--mo-ghost); }
.hub-card-mo {
  margin-top: var(--s-2);
  max-width: var(--col);
}
.hub-card-plate-specs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-2) var(--s-3);
}

.hub-action {
  display: grid; grid-template-columns: var(--s-5) 1fr auto;
  gap: var(--s-2) var(--s-3); padding: var(--s-2) 0;
  border-bottom: var(--hairline) solid var(--line-quiet); align-items: baseline;
}
.hub-action-time { font-family: var(--font-mono); font-size: var(--fz-mono-6); color: var(--ink); }
.hub-action-body { display: flex; flex-direction: column; gap: var(--s-1); min-width: 0; }
.hub-action-title { font-size: var(--fz-body-1); color: var(--ink); }
.hub-action-meta { display: flex; flex-wrap: wrap; gap: var(--s-1); }
.hub-action-acts { display: flex; flex-wrap: wrap; gap: var(--s-1); justify-content: flex-end; }
.hub-action.is-due .hub-action-time { color: var(--ink); }
.hub-action.is-working { border-left: 2px solid var(--signal-go); padding-left: var(--s-2); }   /* canon-lint:allow — E10: hub working beat */

.hub-item {
  display: grid; grid-template-columns: var(--s-3) 1fr auto;
  gap: var(--s-2); padding: var(--s-2) 0;
  border-bottom: var(--hairline) solid var(--line-quiet); align-items: center;
}
.hub-item-title { font-size: var(--fz-body-1); color: var(--ink); }
.hub-item-meta { font-family: var(--font-mono); font-size: var(--fz-mono-6); color: var(--ink); white-space: nowrap; }

.hub-sigrow {
  display: grid; grid-template-columns: var(--s-5) 1fr auto;  /* lead column on the spine (grid audit 2026-07-01) */
  gap: var(--s-2); padding: var(--s-1) 0;
  border-bottom: var(--hairline) solid var(--line-quiet);
  font-family: var(--font-mono); font-size: var(--fz-mono-6); color: var(--ink);
  align-items: baseline;
}
.hub-sigrow .sig-txt { color: var(--ink); font-family: var(--font-serif); font-size: var(--fz-body-1); }
.hub-sigrow .sig-delta { color: var(--ink); }

.hub-databar { display: grid; grid-template-columns: auto 1fr auto; gap: var(--s-2); align-items: center; }
.hub-databar-label { font-family: var(--font-mono); font-size: var(--fz-mono-6); color: var(--ink); text-transform: uppercase; letter-spacing: var(--track-caps); }
.hub-databar-track { height: var(--s-1); border: var(--hairline) solid var(--line-box); background: var(--paper); overflow: hidden; }
.hub-databar-fill { display: block; height: 100%; background: var(--ink); }
.hub-databar-num { font-family: var(--font-mono); font-size: var(--fz-mono-6); color: var(--ink); }

.hub-activity {
  display: grid; grid-template-columns: var(--s-5) var(--s-5) 1fr;  /* time + actor on the spine (grid audit 2026-07-01) */
  gap: var(--s-2); padding: var(--s-1) 0;
  border-bottom: var(--hairline) solid var(--line-quiet); align-items: baseline;
  font-size: var(--fz-body-1);
}
.hub-activity .act-ts { font-family: var(--font-mono); font-size: var(--fz-mono-6); color: var(--ink); }
.hub-activity .act-who { font-family: var(--font-mono); font-size: var(--fz-mono-6); letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--ink); }
.hub-activity .act-who.is-agent { color: var(--ink); }
.hub-activity .act-ev { color: var(--ink); }

.hub-stream {
  position: relative; display: grid;
  grid-template-columns: var(--s-3) auto 1fr;
  grid-template-rows: auto auto auto;
  gap: var(--s-1) var(--s-3); padding: var(--s-3) 0;
  border-bottom: var(--hairline) solid var(--line-quiet); align-items: start;
}
.hub-stream-grip { grid-row: 1 / -1; color: var(--ink); font-family: var(--font-mono); font-size: var(--fz-mono-6); text-align: center; cursor: grab; }
.hub-stream-p { font-family: var(--font-mono); font-size: var(--fz-mono-6); color: var(--ink); }
.hub-stream-p.is-attn { color: var(--ink); }
.hub-stream-title { margin: 0; font-size: var(--fz-body-1); line-height: 1.2; color: var(--ink); grid-column: 3; }
.hub-stream-next { margin: 0; color: var(--ink); font-size: var(--fz-body-1); grid-column: 3; max-width: var(--col-2); }
.hub-stream-meta { grid-column: 3; display: flex; flex-wrap: wrap; gap: var(--s-1); align-items: center; color: var(--ink); font-family: var(--font-mono); font-size: var(--fz-mono-6); }
.hub-stream.is-hot { border-bottom-color: var(--ink); }
.hub-stream.is-hot::before { content: ""; position: absolute; top: -1px; left: 0; width: var(--s-3); border-top: 2px solid var(--signal-attn); }   /* canon-lint:allow — E10/E19: hub stream hot beat */

.hub-child {
  display: flex; align-items: baseline; gap: var(--s-2);
  padding: var(--s-2) 0 var(--s-2) var(--s-3);
  border-bottom: var(--hairline) solid var(--line-quiet);
  font-size: var(--fz-body-1); color: var(--ink);
}
.hub-child .hub-child-st { margin-left: auto; font-family: var(--font-mono); font-size: var(--fz-mono-6); color: var(--ink); }

.hub-pres { padding: var(--s-1) var(--s-2); border: var(--hairline) solid var(--line-box); }
.hub-pres-top { display: flex; align-items: center; justify-content: space-between; gap: var(--s-1); }
.hub-pres-ch { font-family: var(--font-mono); font-size: var(--fz-mono-6); color: var(--ink); }
.hub-pres-focus { margin-top: var(--s-1); font-size: var(--fz-body-1); color: var(--ink); }

.hub-entity { padding: var(--s-2); border: var(--hairline) solid var(--line-box); display: flex; flex-direction: column; gap: var(--s-1); }
.hub-entity-st { font-family: var(--font-mono); font-size: var(--fz-mono-6); color: var(--ink); text-transform: uppercase; letter-spacing: var(--track-caps); }
.hub-entity-title { font-family: var(--font-serif); font-size: var(--fz-body-1); color: var(--ink); }
.hub-entity-body { font-size: var(--fz-body-1); color: var(--ink); line-height: 1.4; }
.hub-entity-foot { font-family: var(--font-mono); font-size: var(--fz-mono-6); color: var(--ink); }

.hub-comment { border-left: 2px solid var(--ink); padding: var(--s-2) var(--s-2) var(--s-2) var(--s-3); }   /* canon-lint:allow — E10: hub comment accent rule */
.hub-comment-anchor { font-family: var(--font-mono); font-size: var(--fz-mono-6); color: var(--ink); margin-bottom: var(--s-1); }
.hub-comment-body { font-size: var(--fz-body-1); color: var(--ink); margin-bottom: var(--s-2); }
.hub-comment-verdict { display: flex; gap: var(--s-1); flex-wrap: wrap; }

.hub-lock-band { border: var(--hairline) solid var(--ink); padding: var(--s-3); }
.hub-lock-band-msg { font-family: var(--font-serif); font-size: var(--fz-body-1); color: var(--ink); margin-bottom: var(--s-2); }
.hub-lock-band-row { display: flex; flex-wrap: wrap; gap: var(--s-2); align-items: center; justify-content: space-between; }

/* 300 · shell */
.hub-stage { width: 100%; background: var(--paper); }
.hub-stage:not(.hub-shell-specimen) { min-height: 100vh; }
.hub-shell-specimen { overflow: hidden; }
.hub-shell-specimen .hub-rail { position: relative; height: auto; min-height: var(--stage-phone); align-self: stretch; }
.hub-shell-specimen .hub-stage { min-height: 0; }
.hub-shell { display: grid; grid-template-columns: 208px 1fr; min-height: 100vh; }   /* canon-lint:allow — E19: hub shell rail width instrument */
.hub-rail {
  position: sticky; top: 0; align-self: start; height: 100vh;
  display: flex; flex-direction: column;
  padding: var(--s-3) var(--s-2);
  border-right: var(--hairline) solid var(--line-box);
}
.hub-rail-brand { display: flex; flex-direction: column; gap: 4px; }   /* canon-lint:allow — E15: hub rail brand micro-gap */
.hub-brand-name { color: var(--ink); letter-spacing: var(--track-caps); }
.hub-brand-tag { color: var(--ink); line-height: 1.4; font-size: var(--fz-body-1); }
.hub-build-line { margin-top: var(--s-1); color: var(--ink); }
.hub-cmd-btn {
  margin-top: var(--s-2); display: inline-flex; align-items: center; gap: var(--s-1);
  padding: var(--s-1) var(--s-2); border: var(--hairline) solid var(--line-box);
  font-family: var(--font-mono); font-size: var(--fz-mono-6); letter-spacing: var(--track-caps);
  text-transform: uppercase; color: var(--ink); cursor: pointer;
}
.hub-cmd-btn:hover { color: var(--ink); border-color: var(--ink); transition: color 0.15s ease, border-color 0.15s ease; }
.hub-nav-group { margin-top: var(--s-4); }
.hub-nav-group-label { display: block; margin-bottom: var(--s-1); color: var(--ink); }
.hub-views { display: flex; flex-direction: column; gap: 0; }
.hub-view {
  display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-1);
  width: 100%;
  padding: 7px var(--s-1) 7px var(--s-2); color: var(--ink); text-decoration: none;   /* canon-lint:allow — E15: hub nav row pad */
  border: none; border-left: 2px solid transparent;   /* canon-lint:allow — E10: hub nav active beat slot */
  background: none; font: inherit; text-align: left; cursor: pointer;
}
.hub-view:hover { color: var(--ink); transition: color 0.15s ease; }
.hub-view.active { color: var(--ink); border-left-color: var(--ink); }
.hub-view-ct { color: var(--ink); font-family: var(--font-serif); font-size: var(--fz-body-1); }
.hub-rail-spacer { flex: 1; }
.hub-rail-foot { padding-top: var(--s-2); border-top: var(--hairline) solid var(--line-quiet); color: var(--ink); }
.hub-foot-who { color: var(--ink); }
.hub-main { min-width: 0; display: flex; flex-direction: column; }
.hub-topbar {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-3);
  padding: var(--s-3) var(--gutter); border-bottom: var(--hairline) solid var(--line-box);
  position: sticky; top: 0; z-index: 50; background: var(--paper);
}
.hub-topbar-title { font-family: var(--font-serif); font-size: var(--fz-page-title); font-weight: 400; line-height: 1; color: var(--ink); }
.hub-topbar-ctx { font-family: var(--font-mono); font-size: var(--fz-mono-6); color: var(--ink); margin-top: 4px; }   /* canon-lint:allow — E15: hub topbar meta nudge */
.hub-topbar-right { display: flex; align-items: center; gap: var(--s-2); flex-wrap: wrap; }
.hub-body { padding: var(--s-3) var(--gutter) var(--s-5); }

/* 400 · glass / agency — motion-ramp dialect (square · opacity settle · light blur) */
.lib-glass {
  --n: 0.22;
  background: color-mix(in srgb, var(--paper) calc((4% + 42% * var(--n))), transparent); /* canon-lint:allow — glass FILL α(n) */
  border: var(--hairline) solid var(--ink-12);
  -webkit-backdrop-filter: blur(calc(8px + 40px * var(--n))) saturate(1.1) contrast(1.02); /* canon-lint:allow — glass BACKDROP */
  backdrop-filter: blur(calc(8px + 40px * var(--n))) saturate(1.1) contrast(1.02); /* canon-lint:allow — glass BACKDROP */
  box-shadow: inset 0 0.5px 0 var(--paper-70), var(--shadow-spec); /* canon-lint:allow — glass SPECULAR + shadow */
  transition: --n 0.18s ease, background-color 0.18s ease; /* canon-lint:allow — glass SETTLE */
}
@property --n { syntax: "<number>"; inherits: false; initial-value: 0.22; }

#hub .hub-mo-glass,
.hub-page .hub-mo-glass {
  border-radius: var(--radius-print);
  background: color-mix(in srgb, var(--mo-L4) 12%, var(--paper));
  border: var(--hairline) solid var(--line-quiet);
  box-shadow: none;
  -webkit-backdrop-filter: blur(4px); /* canon-lint:allow — hub agency glass · motion-scale blur */
  backdrop-filter: blur(4px); /* canon-lint:allow — hub agency glass */
  transition: background-color .5s ease-in-out, border-color .5s ease-in-out, opacity .5s ease-in-out; /* canon-lint:allow — E6 hub motion glass: opacity settle */
}
#hub .hub-mo-glass:hover,
.hub-page .hub-mo-glass:hover,
#hub .hub-mo-glass.is-hover,
.hub-page .hub-mo-glass.is-hover {
  background: color-mix(in srgb, var(--mo-L3) 18%, var(--paper));
  border-color: var(--mo-L2);
}
#hub .hub-mo-glass.is-live,
.hub-page .hub-mo-glass.is-live {
  background: color-mix(in srgb, var(--mo-L4) 28%, var(--paper));
  border-color: var(--mo-L4);
}
#hub .hub-mo-glass--chip,
.hub-page .hub-mo-glass--chip {
  display: inline-flex;
  align-items: center;
  height: var(--s-3);
  padding: 0 var(--s-2);
  font-family: var(--font-serif);
  font-size: var(--fz-mono-6);
  letter-spacing: var(--track-caps);
  color: var(--graphite);
}
#hub .hub-mo-glass-ramp,
.hub-page .hub-mo-glass-ramp {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-2);
}
#hub .hub-glass-plate .hub-mo-panel,
.hub-page .hub-glass-plate .hub-mo-panel {
  min-height: calc(var(--s-5) + var(--s-3));
}

/* 400 · glass stage — HÄGG dialect · iOS glass over ASCII grid · crisp window panels */
.hub-glass-stage {
  --hub-glass-frost: 32%;
  --hub-glass-frost-blur: 22px;
  --hub-glass-frost-saturate: 1.14;
  --hub-glass-window-border: var(--ink);
  --hub-glass-window-border-hover: var(--ink);
  --hub-glass-window-border-live: var(--hum);
  position: relative;
  isolation: isolate;
  padding: var(--s-4);
  min-height: calc(var(--s-6) * 3);
  overflow: hidden;
  color: var(--paper);
}
.hub-glass-stage--atom {
  padding: var(--s-4);
  min-height: var(--viewport-thumb);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.hub-glass-stage--panel {
  min-height: var(--stage-phone);
  padding: var(--s-3);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--s-2);
  width: 100%;
}
.hub-glass-plate .hub-mo-panel {
  gap: var(--s-2);
}
.hub-glass-stage-field {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hub-glass-bones {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hub-glass-stage-field::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background-color: var(--glass-stage);
  background-image: linear-gradient(128deg, color-mix(in srgb, var(--paper) 18%, transparent) 0%, color-mix(in srgb, var(--paper) 10%, var(--dusk)) 42%, color-mix(in srgb, var(--paper) 8%, var(--hum)) 72%, color-mix(in srgb, var(--paper) 6%, var(--mo-L5)) 100%); /* canon-lint:allow — E5: hub glass field · soft light over terminal stage */
  pointer-events: none;
  transition: opacity .22s ease; /* canon-lint:allow — E6 glass layer peel */
}
.hub-glass-stage-field::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: color-mix(in srgb, var(--paper) var(--hub-glass-frost), transparent); /* canon-lint:allow — hub glass stage milk frost */
  -webkit-backdrop-filter: blur(var(--hub-glass-frost-blur)) saturate(var(--hub-glass-frost-saturate)); /* canon-lint:allow — hub glass stage backdrop */
  backdrop-filter: blur(var(--hub-glass-frost-blur)) saturate(var(--hub-glass-frost-saturate)); /* canon-lint:allow — hub glass stage backdrop */
  pointer-events: none;
  transition: opacity .22s ease, backdrop-filter .22s ease; /* canon-lint:allow — E6 glass layer peel */
}
.hub-glass-stage-field.is-hide-bones .hub-glass-bones { opacity: 0; }
.hub-glass-stage-field.is-hide-light::before { opacity: 0; }
.hub-glass-stage-field.is-hide-frost::after {
  opacity: 0;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}.hub-glass-layer-rail,
.hub-glass-win-rail { flex-wrap: wrap; }
.hub-glass-layer-rail .ctl-chip:not(.active),
.hub-glass-win-rail .ctl-chip:not(.active) {
  background: var(--glass-tint);
  -webkit-backdrop-filter: blur(var(--glass-blur)); /* canon-lint:allow — glass is live (491:618); the lab's own controls carry the material they toggle */
  backdrop-filter: blur(var(--glass-blur)); /* canon-lint:allow — glass register */
  border-color: var(--ink-12);
  box-shadow: var(--shadow-spec); /* canon-lint:allow — the canon shadow token, glass only (491:618) */
}
.hub-glass-stage--lab {
  min-height: var(--stage-half);
  padding: var(--s-3);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: var(--s-2);
}.hub-glass-readout {
  color: var(--paper);
  letter-spacing: var(--track-caps);
  text-transform: uppercase;
  border-top: var(--hairline) solid var(--ink-12);
  padding-top: var(--s-1);
  line-height: 1.5;
  max-width: 100%;
}.hub-glass-stage--agency { min-height: var(--stage-half); }

/* ── 400_glassci · THE HUB SLICE — iOS glass × ASCII × ASCII art × CLI (his definition, 2026-07-02).
      The record is DRAWN in characters (.tui — box-drawing, ls 0 so the rules join); agency floats
      on iOS glass; the bones are presence; the prompt is the door. Placeholder content only. ── */
.tui { font-family: var(--font-mono); font-size: var(--fz-mono-6); line-height: 1.1; letter-spacing: 0; white-space: pre; overflow-x: auto; color: var(--ink); margin: 0; padding: 0; background: none; border: none; }
.slice-grid > .tui { background: var(--paper); color: var(--ink); padding: var(--s-3); position: relative; z-index: 1; }
.tui-art { font-family: var(--font-mono); font-size: var(--fz-mono-6); line-height: 1.1; letter-spacing: 0; white-space: pre; color: var(--ink); margin: 0; padding: 0; background: none; border: none; }
.hub-glass-stage .tui-art { color: var(--paper); }
.tui-prompt { font-family: var(--font-mono); font-size: var(--fz-mono-6); line-height: var(--lh-mono-6); letter-spacing: var(--track-code); text-transform: uppercase; }
.hub-glass-stage .tui-prompt { color: var(--paper); }
.tui-receipt { color: var(--paper-62); }
.slice-grid { display: grid; grid-template-columns: var(--col-2) var(--col); gap: var(--gutter); align-items: start; position: relative; z-index: 1; }
.slice-stage { position: relative; padding: var(--s-3); display: flex; flex-direction: column; gap: var(--s-3); min-height: var(--stage); }
.slice-head { position: relative; z-index: 1; display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s-3); flex-wrap: wrap; }
.slice-agency { display: flex; flex-direction: column; gap: var(--s-2); }
.slice-agency .gtel { position: static; }
.pres-chip { display: inline-flex; align-items: center; gap: var(--s-1); font-family: var(--font-mono); font-size: var(--fz-mono-6); line-height: var(--lh-mono-6); letter-spacing: var(--track-code); text-transform: uppercase; color: var(--ink); }
.tier-window { display: inline-flex; align-items: center; gap: var(--s-1); padding: var(--s-1) var(--s-2); }
.pres-chip .pix-dot, .tier-window .pix-dot { box-shadow: none; }
.is-live .pix-dot { background: var(--hum); }
.is-bright .pix-dot { background: var(--hum); }
.is-faded .pix-dot { background: var(--dusk); }
.is-stale .pix-dot { background: var(--grey-51); }
.is-live .tier-label { color: var(--hum); }
@media (max-width: 919px) { .slice-grid { grid-template-columns: 1fr; } }

/* ── 400_glassci · GLASS TELEMETRY — the CLI rack, glass-skinned, riding the bones (2026-07-01) ── */
.hub-glass-telemetry { display: flex; flex-direction: column; gap: var(--s-2); }
.hub-glass-stage--gtel { min-height: var(--stage-half); }
.gtel {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}
.hub-glass-stage--gtel .gtel {
  position: absolute;
  inset: var(--s-3);
  z-index: 1;
}
.gtel-toolbar { display: flex; align-items: center; justify-content: space-between; gap: var(--s-2); flex-wrap: wrap; }
.gtel-feed { display: flex; flex-direction: column; gap: var(--s-1); line-height: 1.5; color: var(--ink); overflow: hidden; flex: 1; min-height: 0; }
.gtel-line {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer; /* canon-lint:allow — E22 n/a: cursor affordance; each line is click-to-pin (the CLI rack law) */
}
.gtel-line:hover { background: var(--ink-03); }
.gtel-line.is-pinned { background: var(--ink-03); }
.gtel-line.is-filtered-out { display: none; }
.gtel-mark { background: var(--hum); color: var(--ink); padding: 0 4px; } /* canon-lint:allow — E15 inline mark tint padding, matches the cli-receipt-mark precedent */
.gtel--atom { position: absolute; inset: var(--s-2); z-index: 1; gap: var(--s-1); }
.hub-glass-stage > :not(.hub-glass-stage-field) {
  position: relative;
  z-index: 1;
}
.hub-glass-stage .hub-mo-legend {
  color: var(--paper-62);
  letter-spacing: var(--track-caps);
  text-transform: uppercase;
  max-width: var(--col);
}
.hub-glass-stage--panel .hub-mo-glass-ramp {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--s-1);
  width: 100%;
  max-width: var(--col);
}
.hub-glass-stage--panel .hub-mo-glass--chip.hub-glass-material,
.hub-glass-stage--panel .hub-glass-btn.hub-glass-material {
  justify-content: center;
  width: 100%;
  min-height: var(--s-4);
  text-transform: uppercase;
}
.hub-glass-stage--panel .hub-glass-agency {
  align-items: stretch;
  width: 100%;
}
#hub .hub-glass-stage--panel .hub-cmdk,
.hub-page .hub-glass-stage--panel .hub-cmdk,
#hub .hub-glass-stage--atom .hub-cmdk,
.hub-page .hub-glass-stage--atom .hub-cmdk {
  position: relative;
  z-index: 1;
  background: color-mix(in srgb, var(--paper) var(--hub-glass-frost), transparent); /* canon-lint:allow — reuses the stage's own milk-frost recipe; the popup is a live surface, glass=agency */
  -webkit-backdrop-filter: blur(var(--hub-glass-frost-blur)) saturate(var(--hub-glass-frost-saturate)); /* canon-lint:allow — hub glass stage backdrop */
  backdrop-filter: blur(var(--hub-glass-frost-blur)) saturate(var(--hub-glass-frost-saturate)); /* canon-lint:allow — hub glass stage backdrop */
  border: var(--hairline) solid var(--line-box);
  box-shadow: none;
  min-height: 100%;
  width: 100%;
}
#hub .hub-glass-stage--panel .hub-approval.hub-glass-material,
.hub-page .hub-glass-stage--panel .hub-approval.hub-glass-material {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
  gap: var(--s-3);
  padding: var(--s-3);
}
#hub .hub-glass-stage .hub-mo-glass.hub-glass-material,
.hub-page .hub-glass-stage .hub-mo-glass.hub-glass-material {
  border-radius: var(--radius-print);
  background: var(--paper);
  border: var(--hairline) solid var(--hub-glass-window-border);
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  transition: border-color .18s ease, box-shadow .18s ease; /* canon-lint:allow — hub glass window settle */
}
#hub .hub-glass-stage .hub-mo-glass.hub-glass-material:hover,
.hub-page .hub-glass-stage .hub-mo-glass.hub-glass-material:hover,
#hub .hub-glass-stage .hub-mo-glass.hub-glass-material.is-hover,
.hub-page .hub-glass-stage .hub-mo-glass.hub-glass-material.is-hover {
  border-color: var(--hub-glass-window-border-hover);
}
#hub .hub-glass-stage .hub-mo-glass.hub-glass-material.is-live,
.hub-page .hub-glass-stage .hub-mo-glass.hub-glass-material.is-live {
  border-color: var(--hub-glass-window-border-live);
}
#hub .hub-glass-stage .hub-mo-glass--chip.hub-glass-material,
.hub-page .hub-glass-stage .hub-mo-glass--chip.hub-glass-material,
#hub .hub-glass-stage .hub-glass-btn.hub-glass-material,
.hub-page .hub-glass-stage .hub-glass-btn.hub-glass-material {
  font-family: var(--font-mono);
  color: var(--ink);
}
#hub .hub-glass-stage .hub-diff,
.hub-page .hub-glass-stage .hub-diff,
#hub .hub-glass-stage .hub-diff del,
.hub-page .hub-glass-stage .hub-diff del,
#hub .hub-glass-stage .hub-diff ins,
.hub-page .hub-glass-stage .hub-diff ins {
  color: var(--ink);
}
#hub .hub-glass-agency,
.hub-page .hub-glass-agency {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--gutter);
  align-items: start;
  width: 100%;
}
@container monolith (max-width: 600px) {
  #hub .hub-glass-agency,
  .hub-page .hub-glass-agency { grid-template-columns: 1fr; }
}

.hub-cmdk-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: color-mix(in srgb, var(--ink) 34%, transparent);
  display: flex; align-items: flex-start; justify-content: center; padding-top: 12vh;
}
.hub-cmdk {
  width: min(var(--col-2), calc(100% - var(--s-5)));  /* the house modal clamp, same as dialog.cmp-dialog (grid audit 2026-07-01) */ max-height: 70vh; display: flex; flex-direction: column;
  background: var(--paper); border: var(--hairline) solid var(--line-box);
  box-shadow: none;
  color: var(--ink);
}
.hub-cmdk--sm { width: 100%; max-height: none; }
.hub-cmdk-input {
  border: none; border-bottom: var(--hairline) solid var(--line-box); outline: none;
  padding: var(--s-3) var(--s-3); font-family: var(--font-serif); font-size: var(--fz-body-1); color: var(--ink); background: transparent;
}
.hub-cmdk-results { overflow-y: auto; }
.hub-cmdk-row {
  display: flex; align-items: baseline; gap: var(--s-2); padding: var(--s-2) var(--s-3);
  border-bottom: var(--hairline) solid var(--line-quiet); text-decoration: none; color: inherit;
}
.hub-cmdk-row:hover, .hub-cmdk-row.is-sel { background: color-mix(in srgb, var(--signal-go) 6%, transparent); }
#hub .hub-cmdk-row:hover,
#hub .hub-cmdk-row.is-sel,
.hub-page .hub-cmdk-row:hover,
.hub-page .hub-cmdk-row.is-sel {
  background: color-mix(in srgb, var(--mo-L4) 12%, var(--paper));
}
.hub-cmdk-row .ty { width: 88px; flex: none; font-family: var(--font-mono); font-size: var(--fz-mono-6); color: var(--ink); }   /* canon-lint:allow — E19: hub cmdk type column */
.hub-cmdk-row .ti { flex: 1; font-size: var(--fz-body-1); }

.hub-approval { padding: var(--s-3); border: var(--hairline) solid var(--line-box); display: flex; flex-direction: column; gap: var(--s-2); }
.hub-diff { font-family: var(--font-mono); font-size: var(--fz-mono-6); line-height: 1.5; }
.hub-diff del { color: var(--ink); text-decoration: line-through; }
.hub-diff ins { color: var(--ink); text-decoration: none; border-bottom: var(--hairline) dashed var(--signal-go); }
.hub-diff .sig { color: var(--ink); }

.hub-agent-panel { display: flex; flex-direction: column; gap: var(--s-2); }
.hub-agent-panel textarea {
  width: 100%; border: var(--hairline) solid var(--line-box); padding: var(--s-2);
  font-size: var(--fz-body-1); background: var(--paper); color: var(--ink); resize: vertical; min-height: calc(var(--s-4) + var(--s-3));
}
.hub-chooser { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-2); }
.hub-chooser-item {
  padding: var(--s-2); border: var(--hairline) solid var(--line-box); cursor: pointer;
  font-family: var(--font-mono); font-size: var(--fz-mono-6); text-transform: uppercase; letter-spacing: var(--track-caps);
}
.hub-chooser-item:hover { border-color: var(--ink); color: var(--ink); transition: color 0.15s ease, border-color 0.15s ease; }
.hub-glass-btn {
  display: inline-flex; align-items: center; gap: var(--s-1);
  height: var(--s-3); padding: 0 var(--s-2);
  font-family: var(--font-serif); font-size: var(--fz-mono-6); font-weight: 400;
  line-height: 1; letter-spacing: var(--track-caps);
  color: var(--graphite);
  cursor: pointer;
  appearance: none;
}

/* 500 · graph */
.hub-graph-plate {
  display: flex; flex-direction: column; gap: var(--s-2);
  margin-top: var(--s-2);
  border: var(--hairline) solid var(--line-box);
  background: var(--paper);
  overflow: hidden;
}
.hub-graph-plate .hub-graph-head,
.hub-graph-plate .hub-graph-rail {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-2);
  min-height: var(--s-4); padding: 0 var(--s-2);
  font-family: var(--font-mono); font-size: var(--fz-mono-6);
  letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--ink);
  border-bottom: var(--hairline) solid var(--line-box);
}
.hub-graph-plate .hub-graph-rail { border-bottom: 0; border-top: var(--hairline) solid var(--line-box); }
/* THE BOUNDARY is a single full-width instrument (per the reference — one held frame,
   not a cramped middle-of-three). The plate stacks vertically: a thin horizontal view
   lens bar, the full-width boundary field, then the thin hydra presence strip. */
.hub-graph-viewsbar {
  display: flex; align-items: stretch; gap: var(--s-2);
  padding-left: var(--s-2);
  border-bottom: var(--hairline) solid var(--line-box);
}
.hub-graph-viewsbar-cap {
  display: flex; align-items: center;
  letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--ink-40);
  flex: none;
}
.hub-graph-viewsbar .hub-views { display: flex; flex-direction: row; align-items: stretch; }
.hub-graph-viewsbar .hub-view {
  width: auto; flex: none;
  padding: var(--s-1) var(--s-2);
  border: none; border-bottom: 2px solid transparent; border-left: var(--hairline) solid var(--line-quiet);   /* canon-lint:allow — E10: hub view active-beat slot (was left-border on the vertical rail; now bottom on the horizontal bar) */
  gap: var(--s-1);
}
.hub-graph-viewsbar .hub-view.active { border-left-color: var(--line-quiet); border-bottom-color: var(--ink); }
.hub-graph-field { position: relative; width: 100%; }
/* a definite height (not just min-height) so the hydra canvas's height:100% resolves —
   without it the canvas falls back to its drawing-buffer height and feedback-loops tall. */
.hub-graph-plate .hub-graph-presence { height: var(--s-6); border-top: var(--hairline) solid var(--line-box); }
.hub-graph-plate .hub-graph-hydra { min-height: 0; height: 100%; }

/* ════ THE BOUNDARY — EEM dialect (his ask 2026-07-01: "look like EEM" — epoq3's
      own name for this nodes/edges/feedback register, hub-graph.js:1). Ported from
      the im-site's 000_STUDIO "What it is not" boundary-survey instrument: a held
      frame with named entities on its PERIMETER (tick-marked to their exact border
      point) instead of floating mid-field — forensic, wall-label, D-011's rendering-
      hand register applied to a relationship diagram. .hub-graph-boundary is the
      frame; .hub-graph-boundary-corner × 4 is the museum accession tag; .hub-graph-
      pnode is a perimeter entity + its .hub-graph-tick stub to the border; .hub-graph-
      boundary-centre is the held statement (never left empty — the reference's
      whole thesis is a held centre). Edges keep .hub-graph-edge (SVG), now drawn
      point-to-point between each node's actual border anchor, not centre-to-centre.
      The prior mid-field grammar (.hub-graph-field-inner .hub-gnode absolute +
      centre-to-centre SVG) is retired; .hub-gnode/.hub-edge themselves stay — H-502…
      H-507 in hub-atoms.json still cite them as individual atom swatches. */
.hub-graph-boundary {
  position: relative;
  width: 100%;
  max-width: 100%;
  border: var(--hairline) solid var(--line-box);
  background: var(--paper);
  aspect-ratio: 2.4 / 1;
  min-height: var(--stage-half);
}
.hub-graph-boundary-corner {
  position: absolute;
  max-width: calc(50% - var(--s-2));
  font-family: var(--font-mono); font-size: var(--fz-mono-6);
  letter-spacing: var(--track-caps); text-transform: uppercase;
  color: var(--ink-40);
  line-height: var(--lh-mono-6);
  /* one accession line, never wrapped — nowrap + clip so a narrow frame clips the
     tail cleanly instead of breaking one char per line (which, absolutely
     positioned, would inflate the field to tens of thousands of px). */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: none;
  z-index: 3;
}
.hub-graph-boundary-corner[data-corner="tl"] { top: var(--s-1); left: var(--s-1); text-align: left; }
.hub-graph-boundary-corner[data-corner="tr"] { top: var(--s-1); right: var(--s-1); text-align: right; }
.hub-graph-boundary-corner[data-corner="bl"] { bottom: var(--s-1); left: var(--s-1); text-align: left; }
.hub-graph-boundary-corner[data-corner="br"] { bottom: var(--s-1); right: var(--s-1); text-align: right; }
.hub-graph-field-inner {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  /* clearance for the perimeter nodes' outward stacks (they sit OUTSIDE the frame,
     per the reference) — the mount reserves room on all 4 sides so a node's
     caption/number/tick never escapes the component's own box. --s-5 (80px) berths
     the compact stack (.hub-graph-pnode max-width var(--s-5)) on every edge;
     proportional to the spine, not a raw px guess. Relative (not absolute) so the
     inner sizes to the boundary's own aspect-ratio height instead of needing a
     pre-sized parent — the frame can never collapse to a sliver. */
  padding: var(--s-5);
}

/* the held centre — the composed statement a boundary diagram must hold (never
   empty); here it doubles as the live view readout — the one place state resolves. */
.hub-graph-boundary-centre {
  position: absolute; z-index: 2;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  max-width: var(--col);
  display: flex; flex-direction: column; align-items: center; gap: var(--s-1);
  text-align: center;
  padding: var(--s-2);
  background: var(--paper);
}
.hub-graph-boundary-headline {
  font-family: var(--font-serif); font-size: var(--fz-heading-3); line-height: var(--lh-heading-3);
  letter-spacing: var(--track-heading-3); color: var(--ink); margin: 0;
}
.hub-graph-boundary-caption {
  font-family: var(--font-mono); font-size: var(--fz-mono-6); letter-spacing: var(--track-caps);
  text-transform: uppercase; color: var(--ink-40); line-height: var(--lh-mono-6);
}

/* perimeter node — a stack pinned to its exact border coordinate (data-edge decides
   which axis reads as the "outward" direction so the caption/number never overlaps
   the frame). x/y arrive as inline style percentages from hub-graph.js's edge-
   weighted layout (same per-instance-geometry pattern the prior mid-field nodes
   used — legit dynamic placement, not off-grid drift). */
.hub-graph-pnode {
  position: absolute;
  z-index: 4;
  display: flex; flex-direction: column; align-items: center; gap: 2px;   /* canon-lint:allow — E15: hub boundary pnode micro-gap (caption↔number↔tick rhythm) */
  font-family: var(--font-mono); font-size: var(--fz-mono-6);
  letter-spacing: var(--track-caps); text-transform: uppercase;
  color: var(--ink); text-align: center;
  max-width: var(--s-5);
}
/* the 4px is a pnode↔tick clearance nudge inside transform: translate() — canon-lint
   scans no geometry property here (E19 covers width/height/inset/top/…, not transform),
   so no allow tag is needed; the offset is tighter than --s-1 so the caption stack fits
   the tick's --s-4 berth without overlapping the frame. */
.hub-graph-pnode[data-edge="top"]    { transform: translate(-50%, calc(-100% - 4px)); }
.hub-graph-pnode[data-edge="bottom"] { transform: translate(-50%, 4px); flex-direction: column-reverse; }
.hub-graph-pnode[data-edge="left"]   { transform: translate(calc(-100% - 4px), -50%); }
.hub-graph-pnode[data-edge="right"]  { transform: translate(4px, -50%); }
.hub-graph-pnode-gloss { font-style: normal; color: var(--ink-40); }   /* the caption line — mono holds roman (D-030: italic is .tism alone) */
.hub-graph-pnode-title { font-family: var(--font-serif); font-size: var(--fz-body-1); letter-spacing: var(--track-body-1); text-transform: none; color: var(--ink); }
.hub-graph-pnode-no { color: var(--ink-40); }
.hub-graph-pnode-x {
  display: block; width: 6px; height: 6px; line-height: 6px;   /* canon-lint:allow — E19/E15: hub boundary tick mark (the "×" glyph pinned to the exact border point) */
  color: var(--ink);
}
.hub-graph-pnode.is-hot { color: var(--signal-attn); }
.hub-graph-pnode.is-hot .hub-graph-pnode-title { color: var(--ink); }
.hub-graph-pnode.is-hot .hub-graph-pnode-x { color: var(--signal-attn); }
.hub-graph-pnode.is-session .hub-graph-pnode-title { color: var(--hum); }
.hub-graph-pnode.is-item .hub-graph-pnode-title { font-size: var(--fz-mono-6); font-family: var(--font-mono); letter-spacing: var(--track-caps); }

/* tick — a short stub PERPENDICULAR to its edge, from the node's stack to the frame
   border (not a line to the centre — the reference's "×" mark reads as a stub, not
   a spoke). top/bottom ticks run vertical, left/right run horizontal. */
.hub-graph-tick {
  position: absolute; z-index: 3;
  background: var(--line-structural);
  pointer-events: none;
}
.hub-graph-tick[data-edge="top"],
.hub-graph-tick[data-edge="bottom"] {
  width: var(--hairline); height: var(--s-1);
  transform: translateX(-50%);
}
.hub-graph-tick[data-edge="top"] { top: 0; }
.hub-graph-tick[data-edge="bottom"] { bottom: 0; }
.hub-graph-tick[data-edge="left"],
.hub-graph-tick[data-edge="right"] {
  height: var(--hairline); width: var(--s-1);
  transform: translateY(-50%);
}
.hub-graph-tick[data-edge="left"] { left: 0; }
.hub-graph-tick[data-edge="right"] { right: 0; }

/* edges — point-to-point between two perimeter nodes' border anchors, crossing the
   frame interior; distinct register from the short .hub-graph-tick stubs (those are
   node→border; this is border→border, the real epoq3 relationship the reference's
   12 independent categories don't carry). */
.hub-graph-edges {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1;
  pointer-events: none;
}
.hub-graph-edge {
  stroke: var(--ink-40); stroke-width: 1; fill: none;
  vector-effect: non-scaling-stroke;
}
.hub-graph-edge.is-proposed {
  stroke: var(--signal-go); stroke-dasharray: 4 3;
}
.hub-graph-edge.is-pulse {
  stroke: var(--hum);
  animation: hub-graph-edge-pulse 1.2s ease-in-out infinite; /* canon-lint:allow — E6 graph edge pulse */
}
@keyframes hub-graph-edge-pulse {
  0%, 100% { stroke-opacity: 1; stroke-dashoffset: 0; }
  50% { stroke-opacity: 0.45; stroke-dashoffset: 8; }
}
.hub-graph-presence {
  position: relative;
  min-height: 0;
  background: var(--glass-stage);
  overflow: hidden;
}
.hub-graph-hydra {
  display: block; width: 100%; height: 100%; min-height: var(--stage-half);
}
.hub-graph-lane {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--s-1) var(--s-2);
  font-family: var(--font-mono); font-size: var(--fz-mono-6);
  letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--paper-62);
  border-top: var(--hairline) solid var(--ink-12);
  background: color-mix(in srgb, var(--glass-stage) 72%, transparent); /* canon-lint:allow — hydra lane scrim */
}
.hub-graph-canvas { border: var(--hairline) solid var(--line-box); background: var(--ink-03); min-height: var(--stage-half); }
.hub-graph-canvas svg { display: block; width: 100%; height: var(--stage-half); }
/* the atom-swatch nodes (H-502…H-507) — unchanged, individual demos only; the live
   field/plate no longer instantiates these (superseded by .hub-graph-pnode above). */
.hub-gnode {
  display: inline-flex; flex-direction: column; gap: 4px;   /* canon-lint:allow — E15: hub graph node gap */
  padding: var(--s-2); border: var(--hairline) solid var(--line-box); background: var(--paper);
  font-family: var(--font-mono); font-size: var(--fz-mono-6); min-width: var(--s-6);
}
.hub-gnode-label { font-family: var(--font-serif); font-size: var(--fz-body-1); color: var(--ink); }
.hub-gnode.is-hot { border-color: var(--signal-attn); }
.hub-gnode.is-live { border-color: var(--hum); }
.hub-gnode.is-item { min-width: 96px; padding: var(--s-1); }   /* canon-lint:allow — E19: hub graph item node */
.hub-gnode.is-session {
  background: var(--paper);
  border-color: var(--line-box);
  border-radius: var(--radius-print);
}
.hub-edge { display: block; height: 1px; background: var(--ink-40); width: var(--s-5); }   /* canon-lint:allow — E19: hub graph edge hairline */
.hub-edge.is-proposed { background: none; border-top: var(--hairline) dashed var(--signal-go); height: 0; }

/* hub specimen layout helpers */
.hub-spec-grid { display: flex; flex-wrap: wrap; gap: var(--s-2); align-items: center; }
.hub-spec-stack { display: flex; flex-direction: column; gap: var(--s-2); }
.hub-spec-demo { margin-top: var(--s-2); }
#hub .wk-row,
.hub-page .wk-row {
  align-items: center;
}
#hub .hub-spec-demo:has(> .pix-dot),
#hub .hub-spec-demo:has(> .hub-mo-live-dot),
#hub .hub-spec-demo:has(> .hub-mo-dot-ramp),
#hub .hub-spec-demo:has(> .ctl-btn),
#hub .hub-spec-demo:has(> .ctl-chip),
#hub .hub-spec-demo:has(> .ctl-pill),
#hub .hub-spec-demo:has(> .ctl-chips),
#hub .hub-spec-demo:has(> .hub-mo-glyph-unit),
#hub .hub-spec-demo:has(> .hub-mo-chips),
.hub-page .hub-spec-demo:has(> .hub-mo-glyph-unit),
.hub-page .hub-spec-demo:has(> .pix-dot),
.hub-page .hub-spec-demo:has(> .hub-mo-live-dot),
.hub-page .hub-spec-demo:has(> .hub-mo-dot-ramp),
.hub-page .hub-spec-demo:has(> .ctl-btn),
.hub-page .hub-spec-demo:has(> .ctl-chip),
.hub-page .hub-spec-demo:has(> .ctl-pill),
.hub-page .hub-spec-demo:has(> .ctl-chips),
.hub-page .hub-spec-demo:has(> .hub-mo-chips) {
  display: inline-flex;
  align-items: center;
  min-height: var(--s-4);
}
.hub-tier-demo { margin-top: 0; }
.hub-shell-specimen { min-height: var(--stage); border: var(--hairline) solid var(--line-box); }
.hub-cmdk-demo { position: relative; max-height: var(--frame-row-body-col); }
.hub-glass-pad { border-radius: var(--radius-print); padding: var(--s-2); }
.hub-create-btn { margin-top: var(--s-2); width: 100%; }
.hub-graph-nodes { margin-bottom: var(--s-3); }

/* —— 015 · CLI — terminal design · hydra · repl · rack (HHG Cortex)
      Authored in cli-atoms.json · motion in cli-terminal.js ——————————————— */

.cli-spec-stack { display: flex; flex-direction: column; gap: var(--s-2); }
.cli-plate { display: flex; flex-direction: column; gap: var(--s-3); width: 100%; }
.cli-panel { display: flex; flex-direction: column; gap: var(--s-2); }
.cli-panel--repl { /* explicit modifier: second panel, command-line spine */ }
.cli-panel--rack { /* explicit modifier: third panel, the widened receipt rack */ }
.cli-panel-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gutter);
  align-items: stretch;
}
.cli-cap {
  letter-spacing: var(--track-caps);
  text-transform: uppercase;
  color: var(--ink);
}
.cli-legend {
  color: var(--ink-40);
  letter-spacing: var(--track-caps);
  text-transform: uppercase;
  max-width: var(--col);
}
.cli-stage {
  position: relative;
  overflow: hidden;
  border: var(--hairline) solid var(--line-box); /* canon-lint:allow — E22: cli terminal stage frame */
  min-height: var(--stage-half);
}
.cli-stage--repl {
  display: flex;
  flex-direction: column;
  min-height: calc(var(--s-6) + var(--s-2));
  background: var(--glass-stage);
  color: var(--paper);
  padding: var(--s-2);
  gap: var(--s-1);
}
.cli-repl-head {
  display: flex;
  gap: var(--s-1);
  letter-spacing: var(--track-caps);
  text-transform: uppercase;
  color: var(--paper-62);
  border-bottom: var(--hairline) solid var(--ink-12);
  padding-bottom: var(--s-1);
}
.cli-repl-sep { opacity: 0.5; }
.cli-repl-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;   /* canon-lint:allow — E15: cli repl line gap */
  min-height: var(--s-4);
  color: var(--mo-L5);
  line-height: 1.5;
}
.cli-repl-line { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cli-repl-out { color: var(--hum); }
.cli-repl-prompt {
  display: flex;
  align-items: baseline;
  gap: var(--s-1);
  border-top: var(--hairline) solid var(--ink-12);
  padding-top: var(--s-1);
  color: var(--paper);
}
.cli-prompt-glyph { color: var(--signal-go); }
.cli-cursor {
  animation: cli-cursor-blink 1.06s step-end infinite; /* canon-lint:allow — E6 cli cursor · lawful blink */
}
@keyframes cli-cursor-blink { /* canon-lint:allow — E6 cli cursor · lawful 1.06s blink */
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}
.cli-stage--rack {
  min-height: calc(var(--s-6) * 2);
  background: var(--paper);
  padding: var(--s-2);
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}
.cli-rack-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-2);
  flex-wrap: wrap;
}
.cli-rack-cell {
  border: var(--hairline) solid var(--line-box); /* canon-lint:allow — E22: cli rack instrument cell */
  padding: var(--s-2);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: var(--s-5);
}
.cli-rack-log { align-items: stretch; justify-content: flex-start; background: var(--ink-03); }
.cli-rack-log--wide { flex: 1; min-height: calc(var(--s-6) + var(--s-3)); }
.cli-receipt-log {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--s-1);
  line-height: 1.5;
  color: var(--ink);
}
.cli-receipt-line {
  display: flex;
  align-items: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer; /* canon-lint:allow — E22 n/a: cursor affordance, not a box; each line is click-to-pin */
}
.cli-receipt-line:hover { background: var(--ink-03); }
.cli-receipt-line.is-pinned { background: var(--ink-03); }
.cli-receipt-line.is-filtered-out { display: none; }
.cli-receipt-mark { background: var(--hum); color: var(--ink); padding: 0 4px; } /* canon-lint:allow — E15 inline mark tint padding, matches bare <mark> precedent */
.cli-tier-demo { margin-top: 0; }

@media (max-width: 919px) {
  .cli-panel-row { grid-template-columns: 1fr; }
}

/* ── 016_IDENTITY · the wordmark register — six faces as specimens (from Figma Wordmarks, 2026-07-01) ── */
.container-tile .m-stage.wm-stage { flex: none; height: var(--stage-half); align-items: center; justify-content: center; text-align: center; }  /* the canon stage lock, same as .st-240 (grid audit 2026-07-01) */
.wm-word { font-family: var(--font-serif); font-size: var(--fz-display); line-height: var(--lh-display); letter-spacing: var(--track-display); }
.wm-caps { font-family: var(--font-serif); font-size: var(--fz-page-title); line-height: 1.4; letter-spacing: var(--track-caps); text-transform: uppercase; }
.wm-glyph { font-family: var(--times); line-height: 1; } /* canon-lint:allow — E11: Θ-class glyph plates only (Θ · Φ · Π), never numerals or Latin text */
.wm-glyph { font-size: 96px; } /* canon-lint:allow — E17: signed instrument size — the glyph PLATE scale (like OHM instruments), not a text tier */
.wm-arrows svg { display: block; width: calc(var(--s-6) + var(--s-4)); height: calc(var(--s-6) + var(--s-4)); }

/* ── 002 · THE GRID + CONTAINERS at true scale (rebuilt 2026-07-01 — no toy-scale demos) ── */
.grid-anatomy { display: grid; grid-template-columns: repeat(3, var(--col)); gap: var(--gutter); }
.grid-col-ghost { background: var(--ink-03); height: var(--stage-half); display: flex; align-items: center; justify-content: center; }
.rec-stack { display: flex; flex-direction: column; gap: var(--s-4); }  /* the ruled row rhythm — one rhythm, 40 (grid audit 2026-07-01) */
.container-tile .m-stage.st-480 { flex: none; height: var(--stage); align-items: center; justify-content: center; } /* flex:none — .m-stage ships flex:1 1 0%, whose basis overrides height in the column axis */
.container-tile .m-stage.st-240 { flex: none; height: var(--stage-half); align-items: center; justify-content: center; }

/* ── 009_THEATRE · the anatomical theatre — the avant-garde layer (2026-07-01).
      Margiela: the coded numeric strip · deconstruction as intelligence (we expose our own atom's seams).
      Helmut Lang: the clinical strike · variant readings. Old book: drop cap · marginal sigla · catchword.
      Linux: man epoq(3). Latest CSS as signed instruments: @property counter · :has() · scroll-driven.
      Motion law: every hover is colour/opacity ≤.15s; keyframed instruments carry signed allows. ── */

/* A · the numeric strip — the coded label; the worn number is circled */
.th-strip { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; justify-content: center; }
.th-no { position: relative; display: inline-flex; align-items: center; justify-content: center; padding: var(--s-1) var(--s-2); color: var(--ink); text-decoration: none; }
.th-no svg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .15s ease; }
.th-no:hover svg { opacity: 1; }
.th-no.is-worn svg { opacity: 1; }

/* A2 · the status bar — the numeric strip promoted to a live instrument (2026-07-02).
   Fixed to the true viewport (a direct <body> child, past .canvas's container-type —
   containment would otherwise pin it to the scrolling frame, not the screen).
   Presentation register: dark stage, paper marks, gnote tooltips open upward (unchanged
   bottom:130% — already correct for a bottom-anchored bar). Scroll-spy: status-bar.js. */
.status-bar {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-1) var(--gutter);
  background: var(--glass-stage);
  border-top: var(--hairline) solid var(--ink-12);
}
.status-bar-now { flex: 0 0 auto; color: var(--paper); white-space: nowrap; }
.status-bar .th-strip { flex: 1 1 auto; flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; overflow-y: visible; scrollbar-width: none; }
.status-bar .th-strip::-webkit-scrollbar { display: none; } /* canon-lint:allow — E15: -webkit-scrollbar has no spine equivalent; hides the bar's own scrollbar chrome only */
.status-bar .th-no { flex: 0 0 auto; color: var(--paper); }
.status-bar .th-no ellipse { stroke: var(--paper); } /* overrides the mark's inline stroke="#000" — presentation attributes always lose to author CSS */
@media (max-width: 480px) {
  .status-bar { padding-inline: var(--grid-half); gap: var(--s-2); }
  .status-bar-now { display: none; }
}


/* C · the seam map — hover develops the construction (the forensic label DEVELOPS) */
.th-seam { position: relative; }
.th-seam .th-ann { opacity: 0; transition: opacity .15s ease; color: var(--ink); }
.th-seam:hover .th-ann { opacity: 1; }
.th-ann-rule { border-top: var(--hairline) dashed var(--dusk); position: absolute; left: 0; right: 0; }
.th-ann-tag { position: absolute; background: var(--paper); padding: 0 var(--s-1); }

/* D · the variant reading — the clinical strike; hover restores the struck reading */
.th-variant del { text-decoration: line-through; text-decoration-thickness: from-font; color: var(--ink); }
.th-variant ins { text-decoration: none; color: var(--grey-51); opacity: 0; transition: opacity .15s ease; }
.th-variant:hover ins { opacity: 1; }
.th-variant .sig { color: var(--dusk); }
.th-dropcap::first-letter { font-size: var(--fz-display); float: left; line-height: 1; padding-right: var(--s-1); } /* canon-lint:allow — E17: the drop cap reads the display tier; an old-book instrument */
.th-catchword { text-align: right; font-style: italic; color: var(--grey-51); }
.th-marginal { position: absolute; right: calc(-1 * var(--s-6)); top: var(--s-4); width: var(--s-6); } /* canon-lint:allow — E19: marginalia live IN the margin, one spine step outboard */

/* E · man epoq(3) — the linux page; pre keeps the columns */
.th-man { white-space: pre; overflow-x: auto; }

/* F · the three instruments — @property · :has() · scroll-driven */
@property --th-n { syntax: '<integer>'; initial-value: 0; inherits: false; } /* canon-lint:allow — the registered custom property IS the specimen (latest-CSS instrument) */
.th-odo { counter-reset: thn calc(var(--th-n)); }
.th-odo:hover { animation: th-count 1.6s steps(18) forwards; } /* canon-lint:allow — E6: signed instrument — the counter counts to 018 once on hover */
@keyframes th-count { to { --th-n: 18; } } /* canon-lint:allow — E6: the @property counter keyframe, signed */
.th-odo-read { font-family: var(--font-mono); letter-spacing: var(--track-code); }
.th-odo-read::after { content: "0" counter(thn, decimal-leading-zero); font-size: 96px; line-height: 1; display: block; } /* canon-lint:allow — E17: instrument plate size, matches the wm-glyph 96 precedent */
.th-knows { display: flex; align-items: center; gap: var(--s-2); padding: var(--s-2); border-top: var(--hairline) solid var(--line-quiet); transition: background-color .15s ease, border-color .15s ease; }
.th-knows:has(input:checked) { background: var(--ink-03); border-top-color: var(--signal-go); }
.th-knows input { accent-color: var(--ink); }
.th-spine-track { position: relative; height: var(--stage-half); display: flex; justify-content: center; }
.th-spine-line { width: var(--hairline); background: var(--ink); transform-origin: top; }
@supports (animation-timeline: view()) {
  .th-spine-line { animation: th-draw linear forwards; animation-timeline: view(); animation-range: entry 0% cover 60%; } /* canon-lint:allow — E6: scroll-driven instrument — the spine draws as it enters the viewport */
}
@keyframes th-draw { from { transform: scaleY(0); } to { transform: scaleY(1); } } /* canon-lint:allow — E6: the scroll-spine keyframe, signed */

/* G · the glass veil — paper becomes glass over the live bones (opacity swap, lawful) */
.th-veil-stage { position: relative; min-height: var(--stage-half); }
.th-veil-paper { position: absolute; inset: var(--s-3); background: var(--paper); display: flex; align-items: center; justify-content: center; z-index: 2; transition: opacity .15s ease; }
.th-veil-glass { position: absolute; inset: var(--s-3); display: flex; align-items: center; justify-content: center; z-index: 1; color: var(--paper-62); }
.th-veil-stage:hover .th-veil-paper { opacity: 0; }

/* ── 019_ANNEX · the playground artifacts, accessioned (from the Figma PLAYGROUND page, 2026-07-02).
      The engineering sheet · the HITM ruler · the receipts · the NEG SPC floor plan + phone · the credits.
      Drawing internals use single-side hairlines (dividers/rules, the tabular register) — the tile is the only box. ── */
.ax-sheet { position: relative; padding: var(--s-4); min-height: var(--stage); }
.ax-refs-x { position: absolute; left: var(--s-4); right: var(--s-4); display: flex; justify-content: space-between; padding: 0 var(--s-5); }
.ax-refs-x.is-top { top: var(--s-1); }
.ax-refs-x.is-bottom { bottom: var(--s-1); }
.ax-refs-y { position: absolute; top: var(--s-4); bottom: var(--s-4); display: flex; flex-direction: column; justify-content: space-between; padding: var(--s-4) 0; }
.ax-refs-y.is-left { left: var(--s-1); }
.ax-refs-y.is-right { right: var(--s-1); }
.ax-area { position: relative; min-height: var(--stage); border-top: var(--hairline) solid var(--ink); border-bottom: var(--hairline) solid var(--ink); border-left: var(--hairline) solid var(--ink); border-right: var(--hairline) solid var(--ink); } /* the drawing frame — four instrument rules of the sheet, not a UI box */
.ax-lens { position: absolute; inset: 0 0 var(--s-6) 0; display: flex; align-items: center; justify-content: center; }
.ax-lens svg { width: var(--stage-phone); height: var(--stage-phone); display: block; }
.ax-rev { position: absolute; top: 0; right: 0; width: var(--col); background: var(--paper); }
.ax-row { display: grid; grid-template-columns: var(--s-4) 1fr var(--s-6) var(--s-5); border-bottom: var(--hairline) solid var(--ink); border-left: var(--hairline) solid var(--ink); }
.ax-row > span { padding: var(--s-1); border-right: var(--hairline) solid var(--ink); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.ax-title { position: absolute; right: 0; bottom: 0; width: var(--col); border-top: var(--hairline) solid var(--ink); border-left: var(--hairline) solid var(--ink); background: var(--paper); }
.ax-title .ax-kv { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; }
.ax-title .ax-kv > span { padding: var(--s-1); border-right: var(--hairline) solid var(--ink); border-bottom: var(--hairline) solid var(--ink); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.ax-title .ax-full { grid-column: 1 / -1; }
.ax-note { position: absolute; left: var(--s-4); bottom: var(--s-4); max-width: calc(var(--col) - var(--s-5)); color: var(--grey-51); }
.ax-tol { position: absolute; left: calc(var(--col) + var(--s-4)); bottom: var(--s-4); max-width: calc(var(--col) - var(--s-6)); border-top: var(--hairline) solid var(--ink); padding-top: var(--s-1); }

.hitm-ruler { position: relative; padding: var(--s-2) 0; }
.hitm-line { border-top: var(--hairline) solid var(--ink); }
.hitm-ticks { display: flex; justify-content: space-between; }
.hitm-ticks span { border-left: var(--hairline) solid var(--ink); height: var(--s-2); }
.hitm-ticks span:nth-child(2) { height: var(--s-3); }
.hitm-labels { display: flex; justify-content: space-between; padding-bottom: var(--s-1); }

.ax-plan { position: relative; min-height: var(--stage); }
.ax-room { position: absolute; border-top: var(--hairline) solid var(--ink); border-bottom: var(--hairline) solid var(--ink); border-left: var(--hairline) solid var(--ink); border-right: var(--hairline) solid var(--ink); padding: var(--s-2); } /* architectural room outline — plan rules, not a UI box */
.ax-room .rm-no { font-family: var(--times); } /* canon-lint:allow — E11: roman-numeral room heads are Θ-class symbol glyphs on the plan */
.ax-badge { position: absolute; top: calc(-1 * var(--s-2)); left: calc(-1 * var(--s-2)); width: var(--s-3); height: var(--s-3); display: flex; align-items: center; justify-content: center; background: var(--paper); border-top: var(--hairline) solid var(--ink); border-bottom: var(--hairline) solid var(--ink); border-left: var(--hairline) solid var(--ink); border-right: var(--hairline) solid var(--ink); }
.ax-sight { position: absolute; border-left: var(--hairline) dashed var(--dusk); }

.ax-phone { width: var(--stage-phone); margin: 0 auto; }
.ax-phone .m-stage { align-items: stretch; }
.ax-ph-bar { display: flex; justify-content: space-between; padding-bottom: var(--s-2); border-bottom: var(--hairline) solid var(--line-quiet); }
.ax-ph-title { padding: var(--s-5) 0; text-align: center; }
.ax-ph-nav { display: flex; justify-content: space-between; border-top: var(--hairline) solid var(--line-quiet); padding-top: var(--s-2); }
.ax-ph-nav span { display: flex; flex-direction: column; align-items: center; gap: var(--s-1); }

.ax-credits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(30, auto); grid-auto-flow: column; gap: 0 var(--gutter); }
.ax-credits p { margin: 0; padding: var(--s-1) 0; border-top: var(--hairline) solid var(--line-quiet); display: flex; justify-content: space-between; }
.ax-receipt { white-space: pre; overflow-x: auto; }

/* ── CODEX 900 · the invented register — novel × apparatus × terminal × proof (his ruling 2026-07-02).
      Marginal numbers count the blocks the way editors number lines; the theorem carries the law;
      the apparatus records the system's real variants; the plates are engraved in character. ── */
.cx { counter-reset: cxl; }
.cx .cx-l { position: relative; }
.cx .cx-l::before { counter-increment: cxl 5; content: counter(cxl); position: absolute; left: calc(-1 * var(--s-4)); top: 0; font-family: var(--font-mono); font-size: var(--fz-mono-6); line-height: var(--lh-mono-6); letter-spacing: var(--track-code); color: var(--ink); }
.cx-epigraph { max-width: var(--col); margin-left: auto; text-align: right; }
.cx-chapter { text-align: center; }
.cx-argument { text-align: center; max-width: var(--col-2); margin: 0 auto; }
.cx-theorem { border-left: var(--hairline) solid var(--ink); padding-left: var(--s-2); max-width: var(--col-2); }
.cx-math { font-family: var(--times); } /* canon-lint:allow — E11: mathematical symbol glyphs (ε · ∈ · ∎ · ≤), never numerals-as-text or Latin prose */
.cx-qed { display: block; text-align: right; }
.cx-apparatus { border-top: var(--hairline) solid var(--line-quiet); padding-top: var(--s-1); max-width: var(--col-2); }
.cx-plate-cap { text-align: center; }

/* theatre + annex helper geometry — annotation positions and plan rooms (the drawing IS the content) */
.th-seam-anchor { position: relative; width: 100%; }
.th-ann-rule.th-ann-top { top: calc(-1 * var(--hairline)); }
.th-ann-tag.th-tag-top { top: calc(-1 * var(--s-1) - 2px); right: 0; } /* canon-lint:allow — E19: annotation tag sits ON the seam it names */
.th-ann-tag.th-tag-bottom { bottom: calc(-1 * var(--s-1) + 4px); left: 0; } /* canon-lint:allow — E19: annotation tag position */
.th-variant-stage { position: relative; }
.th-knows-stage { justify-content: center; }
.ax-rm-wing   { left: 0;    top: 15%;   width: 20%; height: 55%; }
.ax-rm-main   { left: 26%;  top: 10%;   width: 42%; height: 60%; }
.ax-rm-lounge { right: 0;   top: 0;     width: 26%; height: 38%; }
.ax-rm-listen { right: 0;   top: 46%;   width: 26%; height: 30%; }
.ax-rm-arrive { left: 34%;  bottom: 0;  width: 22%; height: 16%; }
.ax-sight { left: 45%; top: 72%; height: 12%; }

/* ── 017_SITE · website components — working specimens (from Figma Website Components, 2026-07-01) ── */
.site-img { display: block; width: 100%; height: var(--stage-half); object-fit: cover; }
.site-img.tall { height: var(--stage); }
.site-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); padding: 0 var(--s-3) var(--s-3); }  /* matches .m-stage's own s-3 inset (line 535) — .container-tile itself carries no padding, so a sibling with zero horizontal padding sits flush against the tile edge while .m-stage content above it is inset, misaligning the two */
.site-cols p { margin: 0; }
.site-signup { display: flex; gap: var(--s-2); align-items: flex-end; }
.site-signup .field { flex: 1; }
.cap-atom { display: flex; flex-direction: column; gap: var(--grid-half); align-items: center; }
.cap-box { width: calc(var(--s-6) + var(--s-4)); height: var(--grid-half); display: flex; align-items: center; justify-content: center; border: var(--hairline) solid var(--line-box); } /* canon-lint:allow — E22: the caption ATOM (Figma Grid Info) is an instrument box, not a layout cell */

@media (max-width: 919px) {
  .site-cols { grid-template-columns: 1fr; }
  .site-signup { flex-direction: column; align-items: stretch; }
}


/* ── GRID AUDIT 2026-07-01 · the rhythm laws the audit confirmed missing ── */
.hub-tier + .hub-tier { margin-top: var(--subsection-gap); }   /* tier boundaries carry the 80 sub-block rhythm */
.epoq-section > .gridrow + .gridrow { margin-top: var(--s-4); }   /* sibling rows separate by the 40 row rhythm (016/017) */
section.line-machine > .lede { margin-bottom: var(--s-4); }   /* the station rhythm under hub/cli ledes */
.field input, .field select { height: var(--s-4); box-sizing: border-box; }   /* form controls sit on the 40 spine, flush with ctl-btn */

/* ════════════════════════════════════════════════════════════════════
   THE PLATFORM RULES — TRULY last in the sheet BY LAW. Responsive overrides
   must follow every base rule; new base CSS had drifted in after them. ════ */
@container monolith (max-width: 1359px) {
  .frame { max-width: calc(var(--col-2) + 2 * var(--gutter)); }
  .tier-grid { grid-template-columns: repeat(2, 1fr); row-gap: var(--s-5); }
  /* 003_WRITING — THE SPECIMEN CATALOGUE folds AT the frame-clamp (840+2·40=920): the head
     sec-desc takes the full measure. The three movements + the device-key rows hold their
     desktop layout until the 919 leaf below stacks them — the spec-rails stay one-line
     (they scroll, never wrap — D-033), exactly as 002's rails do. */
  .catalogue > .section-mark .sec-tagline { max-width: var(--content); }
}
@container monolith (max-width: 919px) {
  .frame { --minor: 100%; --major: 100%; padding: var(--s-4) var(--gutter) var(--s-6); }   /* iPad portrait + phone-landscape fill the viewport comfortably (frame inherits the 840 cap, fills when narrower) — was forced to a 360 column, which gave iPads a cramped phone layout. true phones tighten below 600 (his word 2026-06-18) */
  .masthead { flex-wrap: wrap; row-gap: var(--s-2); }
  .masthead .brand { width: 100%; }
  header:not(.site-masthead) .nav-block {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: var(--s-2); /* canon-lint:allow — nav chrome exception: 16px gutter on iPad/narrow leaf; content uses 1 col, nav stays 3 */
  }
  .site-masthead .masthead { flex-wrap: wrap; }
  .site-masthead nav.index { flex-direction: column; align-items: flex-start; margin-left: 0; justify-content: flex-start; width: 100%; }
  .tier-grid { grid-template-columns: 1fr; row-gap: var(--s-5); }
  .tier-cell { border-top: var(--hairline) solid var(--line-quiet); padding-top: var(--s-3); }
  .tier-cell:first-child { border-top: none; padding-top: 0; }
  .section-mark .whisper { padding-left: 0; }  /* pass 58: flush-left on phone too (base is the tight stack) */
  .gnote { white-space: normal; max-width: min(var(--measure-note), 80cqw); }
  .m-row { grid-template-columns: var(--s-4) 1fr; height: auto; padding: var(--s-2) var(--s-3); align-items: baseline; }   /* below 919 the row grows with its wrapping line; the strict 40 holds at desktop */
  .mv-grid { grid-template-columns: 1fr; row-gap: var(--s-5); }   /* the three movements collapse to one column on a narrow leaf — three cells side by side are unreadably narrow (the col-audit reads '1 column' truthfully) */
  .wk-row { grid-template-columns: 1fr; gap: var(--s-1); }   /* the device|example|spec table stacks — the derived 3 columns overflowed + crushed the spec on phone */
  .wk-r { text-align: left; }   /* the spec annotation left-aligns when the row stacks (it is right-column on desktop) */
  .hub-tier-grid { grid-template-columns: 1fr; }
  .hub-family-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gram-tier-grid { grid-template-columns: 1fr; }
  .gram-family-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* (responsive overrides for .col-line/.lcell [019] and .spx-row/.spx-states [011] removed
     with their struck sections, 2026-06-20) */
  .c-stage.h480 { height: var(--stage-phone); }
  .m-row .m-line { grid-column: 2; padding-bottom: var(--s-2); }
  .ohm-stage { height: var(--stage-phone); }
  .held-glyph { font-size: 200px; }   /* canon-lint:allow — E17 signed-instrument: held-glyph at the phone breakpoint */
  .primes-block { font-size: 22px; gap: var(--s-4); }   /* canon-lint:allow — E17 signed-instrument: primes-block readout at the phone breakpoint */
  .f-rail { position: static; transform: none; flex-direction: row; gap: var(--s-3); margin-top: var(--s-2); }
  .pal-head { display: none; }                /* the annotation re-columns away on phone (D-022's spirit) */
  .pal-keys { display: none; }                /* the key row can't align over stacked rows — the hex rides inside */
  .palette { flex-direction: column; }        /* the columns become rows — same shares,
                                                 the grammar rotates with the glass */
  .pal-hex {
    display: block;
    position: absolute;
    color: var(--paper);
    top: 50%; left: auto; right: var(--s-3);
    transform: translateY(-50%);
  }
  .pal-name {
    writing-mode: horizontal-tb;
    bottom: auto; top: 50%; left: var(--s-3);
    transform: translateY(-50%);
    font-size: var(--fz-body-1);              /* 18 — the narrowest row is 45px tall */
  }
}
/* the TRUE PHONE — below the smallest tablet (iPad portrait is 744+). Tighten the gutter
   so the single column hits the D-020 360 target; iPads keep the comfortable 40 gutter. */
@container monolith (max-width: 600px) {
  .frame { padding-left: var(--s-1); padding-right: var(--s-1); }
  header:not(.site-masthead) .nav-block {
    column-gap: var(--s-1); /* canon-lint:allow — nav chrome exception: 8px gutter on phone; nav stays 3-up */
  }
}

/* ── BARE HTML LAYER · global styles (conformance default) ── */

h1 {
  font-family: var(--font-serif);
  font-size: var(--fz-display);
  line-height: var(--lh-display);
  letter-spacing: var(--track-display);
  font-weight: 400;
  color: var(--ink);
  margin: 0 0 var(--s-2);
}
h2 {
  font-family: var(--font-serif);
  font-size: var(--fz-page-title);
  line-height: var(--lh-page-title);
  letter-spacing: var(--track-page-title);
  font-weight: 400;
  color: var(--ink);
  margin: 0 0 var(--s-2);
}
h3, h4 {
  font-family: var(--font-serif);
  font-size: var(--fz-heading-3);
  line-height: var(--lh-heading-3);
  letter-spacing: var(--track-heading-3);
  font-weight: 400;
  color: var(--ink);
  margin: 0 0 var(--s-2);
}
h5, h6 {
  font-family: var(--font-mono);
  font-size: var(--fz-mono-6);
  line-height: var(--lh-mono-6);
  letter-spacing: var(--track-code);
  text-transform: uppercase;
  font-weight: 400;
  color: var(--ink);
  margin: 0 0 var(--s-2);
}
p {
  font-family: var(--font-serif);
  font-size: var(--fz-body-1);
  line-height: var(--lh-body-1);
  color: var(--ink);
  margin: 0 0 var(--s-2);
}

/* Inline rhetoric */
em {
  font-style: italic;
}
strong {
  font-family: var(--font-serif);
  font-size: var(--fz-serif-8);
  line-height: var(--lh-serif-8);
  font-weight: 400;
  letter-spacing: var(--track-caps);
  text-transform: uppercase;
}
mark {
  background: var(--ink-12);
  color: var(--ink);
  padding: 0 4px; /* canon-lint:allow — E15 inline mark tint padding */
}
kbd {
  font-family: var(--font-mono);
  font-size: var(--fz-mono-6);
  background: var(--paper);
  border: var(--hairline) solid var(--line-box);
  border-radius: var(--radius-capsule);
  padding: 1px 4px; /* canon-lint:allow — E15 inline kbd keyboard key padding */
}
abbr {
  text-decoration: underline dotted var(--ink-40);
  cursor: help;
}

/* Lists */
ul {
  list-style: none;
  padding-left: var(--s-3);
  margin: var(--s-2) 0;
}
ul li {
  position: relative;
  color: var(--ink);
}
ul li::before {
  content: "—";
  position: absolute;
  left: calc(-1 * var(--s-2));
  color: var(--ink);
}
ol {
  list-style: none;
  counter-reset: ol-counter;
  padding-left: var(--s-3);
  margin: var(--s-2) 0;
}
ol li {
  position: relative;
  counter-increment: ol-counter;
}
ol li::before {
  content: counter(ol-counter, decimal-leading-zero) " ";
  font-family: var(--font-mono);
  font-size: var(--fz-mono-6);
  color: var(--ink);
  position: absolute;
  left: calc(-1 * var(--s-4));
}
dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--s-1) var(--s-3);
  margin: var(--s-2) 0;
}
dt {
  font-family: var(--font-mono);
  font-size: var(--fz-mono-6);
  letter-spacing: var(--track-caps);
  text-transform: uppercase;
  color: var(--ink);
}
dd {
  margin: 0;
  color: var(--ink);
}

/* Blockquote */
blockquote {
  margin: var(--s-3) 0;
  padding-left: var(--s-3);
  border-left: var(--hairline) solid var(--ink);
}
blockquote cite {
  display: block;
  margin-top: var(--s-1);
  font-family: var(--font-mono);
  font-size: var(--fz-mono-6);
  letter-spacing: var(--track-caps);
  text-transform: uppercase;
  color: var(--ink);
  font-style: normal;
}

/* Code */
code {
  font-family: var(--font-mono);
  font-size: var(--fz-mono-6);
  background: var(--ink-03);
  padding: 2px 4px; /* canon-lint:allow — E15 code inner padding */
}
pre {
  margin: var(--s-2) 0;
  padding: var(--s-2);
  background: var(--paper);
  border-top: var(--hairline) solid var(--line-box);
  border-bottom: var(--hairline) solid var(--line-box);
  overflow-x: auto;
}
pre code {
  background: none;
  padding: 0;
}

/* Rule */
hr {
  border: none;
  border-top: var(--hairline) solid var(--line-box);
  margin: var(--s-2) 0;
}
hr.statute {
  border-top: var(--hairline) solid var(--line-structural);
}

/* Details */
details {
  border-top: var(--hairline) solid var(--line-box);
  padding: var(--s-2) 0;
}
summary {
  font-family: var(--font-mono);
  font-size: var(--fz-mono-6);
  letter-spacing: var(--track-caps);
  text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-left: var(--s-3);
}
summary::-webkit-details-marker {
  display: none;
}
summary::before {
  content: "+";
  position: absolute;
  left: 0;
  color: var(--ink);
}
details[open] summary::before {
  content: "—";
}

/* Table */
table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--s-3) 0;
}
table caption {
  font-family: var(--font-mono);
  font-size: var(--fz-mono-6);
  letter-spacing: var(--track-caps);
  text-transform: uppercase;
  color: var(--ink);
  text-align: left;
  margin-bottom: var(--s-2);
}
th {
  font-family: var(--font-mono);
  font-size: var(--fz-mono-6);
  letter-spacing: var(--track-caps);
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: var(--hairline) solid var(--ink);
  padding: var(--s-1) var(--s-2);
  text-align: left;
}
td {
  font-family: var(--font-serif);
  font-size: var(--fz-body-1);
  color: var(--ink);
  padding: var(--s-1) var(--s-2);
  border-bottom: var(--hairline) solid var(--line-quiet);
}

/* Figure */
figure {
  margin: var(--s-3) 0;
}
figure img {
  display: block;
  max-width: 100%;
  height: auto;
}
figcaption {
  margin-top: var(--s-1);
  font-family: var(--font-mono);
  font-size: var(--fz-mono-6);
  letter-spacing: var(--track-caps);
  text-transform: uppercase;
  color: var(--ink);
}

/* 012_SYSTEM · canon apparatus specimens on index.html */
.sys-block { margin-top: var(--s-5); }
.sys-block:first-of-type { margin-top: var(--s-3); }
.tok-band .wk-cap { padding-bottom: var(--s-1); }
.tok-band .spine-row { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-1); padding: var(--s-1) 0; }  /* stacked 2026-07-01 (grid audit): bars start at the grid edge so the 1280 ruler lands exactly on the frame */
.tok-band .spine-key { width: 120px; flex: none; } /* canon-lint:allow — specimen key column */
.tok-band .spine-bar {
  height: var(--s-2);
  background: var(--paper);
  border: var(--hairline) solid var(--line-structural); /* canon-lint:allow — spine specimen width bar, not a layout box */
  box-sizing: border-box;
  flex: none;
  max-width: 100%;
}

/* section-vs-subsection stacking demo (002_tokens) — real classes, real tokens, no inline styles.
   The blocks themselves reuse .container-tile (the only lawful box, E22) + .m-stage; only the
   GAP between them is bespoke, and it carries no border of its own (a dashed rule, not a box). */
.stack-demo-gap { display: flex; align-items: center; padding-left: var(--s-3); border-left: var(--hairline) dashed var(--line-quiet); margin-left: var(--s-2); }
.stack-demo-gap.is-section { height: var(--section-gap); }
.stack-demo-gap.is-subsection { height: var(--subsection-gap); }

/* 011_WRITING · #apparatus map + compressed grammar ledger */
.apparatus-map {
  max-width: var(--content);
  margin-bottom: var(--s-3);
  color: var(--ink);
}
.apparatus-map-svg {
  display: block;
  width: 100%;
  height: auto;
}
.gram-tier-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gutter);
  margin-bottom: var(--s-4);
}
.gram-family {
  border: var(--hairline) solid var(--line-box);
  padding: var(--s-2) var(--s-3);
  min-width: 0;
}
.gram-family-cap { margin: 0 0 var(--s-2); }
.gram-family-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(128px, 1fr));
  gap: var(--s-2) var(--s-3);
  align-items: start;
}
.gram-atom {
  display: flex;
  flex-direction: column;
  gap: var(--s-1);
  min-width: 0;
}
.gram-atom-label { line-height: var(--lh-mono-6); }
.gram-atom-spec { line-height: var(--lh-mono-6); }
.gram-tier-grid > .writing-register,
.gram-tier-grid > .container-tile.u-full { grid-column: 1 / -1; }

/* 011_WRITING · live demo + ledger */
.writing-demo { margin-bottom: var(--space-4); }
.writing-demo-body {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.writing-demo-body > .mono.m6.ann { margin-bottom: var(--s-1); }

/* 003_TYPE · tight specimen sheet — left-aligned, one-fold grid */
.type-gallery {
  display: grid;
  grid-template-columns: var(--col) var(--col-2);
  column-gap: var(--gutter);
  row-gap: var(--s-3);
  max-width: var(--content);  /* 400+40+840 = 1280 — grid-legal (grid audit 2026-07-01; was 2×600+80, inexpressible in the grid) */
}
.type-specimen {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: var(--s-1);
  padding: 0;
}
.type-meta { color: var(--ink); }
.type-sample {
  display: block;
  max-width: 100%;
  text-wrap: balance;
}
.type-specimen .serif-body-1.type-sample { max-width: 100%; line-height: var(--lh-body-1); }
.type-measure { color: var(--ink); }
@container monolith (max-width: 919px) {
  .type-gallery { column-gap: var(--s-3); row-gap: var(--s-2); }
}
@container monolith (max-width: 600px) {
  .type-gallery { grid-template-columns: 1fr; row-gap: var(--s-3); }
}
/* 008_CONTAINERS · recipe playground — tight instrument, chips switch the row */
.cont-playground {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  max-width: var(--content);
  margin-inline: auto;
}
.cont-toolbar {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--s-2);
}
.cont-stage { min-height: calc(var(--stage-half) + var(--s-5)); }
.cont-stage .gridrow { align-items: stretch; }
.cont-section .container-tile { cursor: pointer; }
.cont-section .container-tile.is-selected { border-color: var(--ink); }
.cont-cell {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cont-cell .cont-spec {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.cont-section .container-tile.is-selected .cont-cell::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--ink-12);
  z-index: 1;
}
.cont-measure {
  position: relative;
  z-index: 2;
  padding: var(--s-1) var(--s-2);
  background: var(--paper);
  color: var(--ink);
  letter-spacing: var(--track-code);
}
.cont-rail { margin-top: var(--s-1); }
.cont-section .ctl-receipt { max-width: var(--col-2); margin-inline: auto; }
@container monolith (max-width: 600px) {
  .cont-playground { gap: var(--space-2); }
}

.mk-art { width: 200px; height: 200px; background: var(--paper); margin-top: var(--s-2); } /* canon-lint:allow — mark specimen frame */
.mk-art svg { display: block; width: 100%; height: 100%; }
.ascii { white-space: pre; line-height: 1.4; }
