/* tokens.css — THE DESK build-v1 · CIPHER DESIGN SYSTEM v0.1 tokens
 * One light source, always. Every glow is a state, every hairline a boundary.
 * Motion inventory (six items, nothing else moves — spec §11.2):
 *   1 cursor blink · 2 state-dot pulse · 3 edge flow · 4 warmup shimmer ·
 *   5 typing · 6 plate reveal.  All respect prefers-reduced-motion.
 * FIXTURE LAW: safety.liveData=false — no pulses/shimmer fire in this build;
 * the keyframes exist for the registry to earn, not for decoration.
 */

:root {
  /* physics */
  --void: #020302;
  --ink-1: #060503;
  --ink-2: #0a0805;
  --ink-3: #0e0b06;
  --ink-4: #121008;
  --rule: #261d0b;
  --rule-strong: #453413;
  --line: rgba(232, 160, 60, 0.16);
  --line2: rgba(232, 160, 60, 0.07);

  /* voices */
  --phosphor: #e8a03c;   /* THE accent — live data, links, active states */
  --hot: #f5cf8e;        /* highlights, endpoints, hero digits */
  --bone: #e9e2d2;       /* serif + bright labels */
  --ivory: #e6dcc2;
  --dim: #8c7a52;        /* secondary mono */
  --muted-2: #5f4d28;
  --ember: #6e5a2e;      /* BLOCKED / GATED / SEALED / DORMANT — always dashed */
  --ash: #59492a;        /* zero-states — never red, never empty */
  --green: #7fd89b;      /* VERIFIED / RUNNING ONLY — never decoration */
  --red: #d66b64;        /* falsified / weakens */
  --violet: #8f84b8;     /* REGISTERED / ghost lane / book plates */

  /* type */
  --mono: "SF Mono", "Menlo", "Consolas", "IBM Plex Mono", monospace;
  --serif: "Didot", "Playfair Display", "Georgia", serif;

  /* shell geometry */
  --dock-w: 220px;
  --dock-spine-w: 16px;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  background: var(--void);
  color: #cdb27a;
  font-family: var(--mono);
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: tabular-nums;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(120% 90% at 50% 30%, rgba(232, 160, 60, 0.045), transparent 60%),
    repeating-linear-gradient(0deg, transparent 0 62px, rgba(232, 160, 60, 0.028) 62px 63px),
    repeating-linear-gradient(90deg, transparent 0 62px, rgba(232, 160, 60, 0.028) 62px 63px);
}
html::after {
  content: "";
  position: fixed; inset: 0; pointer-events: none; z-index: 90;
  background: radial-gradient(135% 100% at 50% 42%, transparent 56%, rgba(0, 0, 0, 0.55) 100%);
}
::selection { background: rgba(232, 160, 60, 0.28); }
a { color: var(--phosphor); text-decoration: none; }

/* ---------------------------------------------------------------- type law */
.serif {
  font-family: var(--serif);
  font-weight: 300;
  color: var(--bone);
  letter-spacing: 0;
  line-height: 1.5;
}
.serif-q {  /* the ONE serif declarative/question per surface */
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(19px, 2.6vw, 32px);
  color: var(--bone);
  line-height: 1.45;
  max-width: 44ch;
  margin: 0;
}
.serif-lede { /* plate lede — bone italic, verbatim */
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(14px, 1.8vw, 20px);
  color: var(--bone);
  line-height: 1.7;
  max-width: 60ch;
}
.lbl   { font-size: 11px; letter-spacing: 0.2em; color: var(--dim);  text-transform: uppercase; }
.lbl-2 { font-size: 11px; letter-spacing: 0.16em; color: var(--ember); text-transform: uppercase; }
.lbl-3 { font-size: 11px; letter-spacing: 0.14em;  color: var(--ash);  text-transform: uppercase; }
.hero-n {
  font-weight: 200;
  font-size: clamp(64px, 12vw, 180px);
  line-height: 0.92;
  letter-spacing: 0.03em;
  color: var(--phosphor);
  text-shadow: 0 0 26px rgba(232, 160, 60, 0.45), 0 0 110px rgba(232, 160, 60, 0.2);
}
.hero-n .off { color: #4a3a16; text-shadow: none; }

/* -------------------------------------------------------------- state chips */
.chip {
  display: inline-block;
  padding: 3px 9px;
  font-size: 11px;
  letter-spacing: 0.2em;
  border: 1px solid var(--rule-strong);
  color: var(--dim);
  white-space: nowrap;
  text-transform: uppercase;
}
.chip-ready        { color: var(--phosphor); border-color: var(--phosphor); background: transparent; }
.chip-observed     { color: var(--phosphor); border-color: var(--phosphor); background: rgba(232,160,60,0.07); }
.chip-hist         { color: var(--hot); border-color: var(--hot); }
.chip-registered   { color: var(--violet); border-color: var(--violet); }
.chip-method       { color: var(--dim); border-color: var(--ember); }
.chip-blocked, .chip-gated, .chip-sealed, .chip-dormant
                   { color: var(--ember); border-color: var(--ember); border-style: dashed; }
.chip-zero         { color: var(--ash); border-color: var(--ash); }
.chip-verified, .chip-running { color: var(--green); border-color: var(--green); }
.chip-failed, .chip-weakens   { color: var(--red); border-color: var(--red); }
.chip-rule         { color: var(--violet); border-color: var(--violet); }
.chip-receipt      { color: var(--dim); border-color: var(--rule-strong); }
.tick-ok { color: var(--green); }

/* ------------------------------------------------------------- rows of law */
.rol { border-top: 1px solid var(--line2); }
.rol-row {
  display: grid;
  grid-template-columns: minmax(120px, 200px) 1fr auto;
  gap: clamp(10px, 1.6vw, 26px);
  align-items: baseline;
  padding: 12px 10px;
  border-bottom: 1px solid var(--line2);
  cursor: pointer;
  transition: background 0.22s;
}
.rol-row:hover { background: linear-gradient(90deg, rgba(232,160,60,0.05), rgba(232,160,60,0.02) 60%, transparent); }
.rol-row .id   { font-size: 11px; letter-spacing: 0.16em; color: var(--phosphor); white-space: nowrap; }
.rol-row .name { font-size: 12px; letter-spacing: 0.12em; color: #a08d5f; }
.rol-row:hover .name { color: var(--hot); }
.rol-row .law  { font-size: 12px; letter-spacing: 0.08em; color: var(--dim); line-height: 1.7; }

/* ---------------------------------------------------- the dashed firewall */
.bezel {
  border: 1px dashed var(--ember);
  padding: clamp(14px, 2.4vw, 30px);
  position: relative;
}
.bezel-violet { border-color: var(--violet); }
.bezel > .bezel-tag {
  position: absolute;
  top: -8px; left: 14px;
  background: var(--void);
  padding: 0 8px;
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--ember);
  text-transform: uppercase;
}

/* MECHANISM strip — id + title ONLY, never plate copy (§6 law 3) */
.mechanism {
  border: 1px dashed var(--ember);
  padding: 10px 14px;
  margin-top: 18px;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--dim);
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.mechanism .id { color: var(--violet); }

/* ---------------------------------------------------------- chamber pager */
.chamber { min-height: 100%; }
.chamber-pager {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--ash);
  margin: 10px 0 18px;
}
.chamber-pager .on { color: var(--phosphor); }
.chamber-caption {
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--dim);
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
  margin-bottom: 18px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

/* -------------------------------------------------------------- the shell */
.shell {
  position: relative; z-index: 1;
  display: flex; flex-direction: column;
  height: 100vh;
}
.session-line {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap;
  padding: 10px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 11px; letter-spacing: 0.16em; color: var(--dim);
  background: rgba(2, 3, 2, 0.94);
}
.session-line b { color: var(--hot); font-weight: 400; }
.session-line .clock-chip { color: var(--phosphor); cursor: pointer; white-space: nowrap; }
.deck {
  display: flex; align-items: baseline; gap: 10px;
  padding: 8px 18px;
  border-bottom: 1px solid var(--line2);
  font-size: 11px; letter-spacing: 0.08em;
}
.deck .addr { color: var(--dim); white-space: nowrap; letter-spacing: 0.14em; font-size: 11px; }
.deck .gt { color: var(--phosphor); }
.deck input {
  flex: 1;
  background: transparent; border: 0; outline: 0;
  color: var(--hot); font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em;
  caret-color: var(--phosphor);
}
.deck-echo {
  padding: 4px 18px 8px;
  font-size: 11px; letter-spacing: 0.14em; color: var(--dim);
  border-bottom: 1px solid var(--line2);
  min-height: 18px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.deck-echo .stat { color: var(--ember); }
.main-row { flex: 1; display: flex; min-height: 0; }
.dock {
  width: var(--dock-w);
  flex: none;
  border-right: 1px solid var(--line2);
  overflow-y: auto;
  padding: 14px 10px;
}
.stage {
  flex: 1;
  overflow-y: auto;
  padding: clamp(16px, 3vw, 42px);
  position: relative;
}
.ticker {
  border-top: 1px solid var(--line2);
  padding: 8px 18px;
  font-size: 11px; letter-spacing: 0.1em; color: var(--dim);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ticker .chat { color: var(--phosphor); }
.ticker .alex { font-family: var(--serif); font-style: italic; color: var(--bone); letter-spacing: 0.02em; }
.ticker .changed { color: var(--dim); }
.ticker .receipt { color: var(--ash); }
.statute-footer {
  border-top: 1px solid var(--line);
  padding: 8px 18px;
  font-size: 11px; letter-spacing: 0.18em; color: var(--ember);
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
}
.statute-footer .fixture { color: var(--ash); }

/* ------------------------------------------------------------ dock marks */
.dock-node {
  display: flex; align-items: center; gap: 7px;
  font-size: 10px; letter-spacing: 0.08em; color: var(--ash);
  padding: 1px 0;
  cursor: pointer;
}
.dock-node .mark { width: 8px; height: 8px; flex: none; border: 1px solid var(--dim); }
.dock-node.m-ready  .mark { border-color: var(--phosphor); }
.dock-node.m-method .mark { border-color: var(--ember); }
.dock-node.m-blocked .mark { border-style: dashed; border-color: var(--ember); }
.dock-node.m-hist   .mark { border-color: var(--hot); background: rgba(245,207,142,0.25); }
.dock-node.m-rule   .mark { border-color: var(--violet); }
.dock-node.caret { color: var(--hot); }
.dock-node.caret .mark { box-shadow: 0 0 8px rgba(232,160,60,0.7); border-color: var(--hot); }
.dock-layer-rule { border-bottom: 1px solid var(--line2); margin: 4px 0; }
.dock-root .mark { background: #000; border-color: var(--ember); border-style: dashed; }

/* ------------------------------------------------------ chrome collapse law */
body.chrome-collapsed .dock { width: var(--dock-spine-w); padding: 14px 3px; }
body.chrome-collapsed .dock-node { font-size: 0; gap: 0; justify-content: center; }
body.chrome-collapsed .deck, body.chrome-collapsed .deck-echo { display: none; }
body.chrome-collapsed .ticker { padding: 2px 18px; font-size: 0; height: 3px; overflow: hidden; }

/* ------------------------------------------------------------------ motion */
.cursor {
  display: inline-block; width: 0.5em; height: 1em;
  background: var(--phosphor); vertical-align: -0.14em; margin-left: 6px;
}
@media (prefers-reduced-motion: no-preference) {
  .cursor { animation: blink 1.1s steps(1) infinite; }           /* item 1 */
  @keyframes blink { 50% { opacity: 0; } }
  .pulse { animation: statepulse 3.2s ease infinite; }           /* item 2 — VERIFIED things only */
  @keyframes statepulse { 50% { opacity: 0.55; } }
  .edge-flow { stroke-dasharray: 4 8; animation: edgeflow 2.6s linear infinite; } /* item 3 */
  @keyframes edgeflow { to { stroke-dashoffset: -48; } }
  .warmup-shimmer i { animation: shimmer 3.4s ease-in-out infinite; } /* item 4 */
  @keyframes shimmer { 50% { filter: brightness(1.35); } }
  .plate-reveal > * { animation: platein 0.5s ease both; }       /* item 6 */
  @keyframes platein { from { opacity: 0; transform: translateY(4px); } }
  /* item 7 — THE ARRIVAL. A discrete object enters a feed lane (translate +
   * fade, ~300ms). SANCTIONED ONLY inside the fenced Act III horizon walk
   * (/OBJ-…/walk/); it never fires on any measured/instrument surface. The
   * usage fence is enforced by assert-site's ACT3_HORIZON family, not by CSS. */
  .act3-arrival { animation: arrival 0.3s ease both; }           /* item 7 */
  @keyframes arrival { from { opacity: 0; transform: translateY(6px); } }
}
@media (prefers-reduced-motion: reduce) {
  .cursor, .pulse, .edge-flow, .warmup-shimmer i, .plate-reveal > *, .act3-arrival { animation: none !important; }
}

/* ------------------------------------------------------------- charts base */
.chart-ground { border: 1px solid var(--line2); background: transparent; }
.zero-series { stroke: var(--ember); stroke-dasharray: 5 5; }

/* ---------------------------------------------------------------- fork strip */
.fork-strip, .book-strip {
  position: absolute; left: 50%; bottom: 8vh; transform: translateX(-50%);
  background: rgba(2,3,2,0.97);
  padding: 12px 18px;
  font-size: 11px; letter-spacing: 0.14em; color: var(--dim);
  z-index: 40;
}
.fork-strip { border: 1px solid var(--rule-strong); }   /* registered-edge chooser */
.book-strip { border: 1px dashed var(--ember); }        /* deliberately different costume — no edge glyphs */
.fork-strip .row, .book-strip .row { padding: 5px 4px; cursor: pointer; }
.fork-strip .row.sel, .book-strip .row.sel { color: var(--hot); background: rgba(232,160,60,0.06); }

/* ---------------------------------------------------------------- surfaces */
.surface-caption {
  font-size: 11px; letter-spacing: 0.18em; color: var(--dim);
  margin-bottom: 16px; padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}
.raw-dump {
  font-size: 12px; line-height: 1.8; color: var(--dim);
  white-space: pre-wrap; word-break: break-word;
  border: 1px solid var(--line2); padding: 14px;
  max-width: 100ch; overflow-x: auto;
}
.stub-tag { font-size: 11px; letter-spacing: 0.28em; color: var(--ash); margin: 8px 0 14px; }
.routing-law { margin: 18px 0; font-size: 12px; letter-spacing: 0.1em; line-height: 2.1; color: var(--dim); }
.routing-law b { color: var(--phosphor); font-weight: 400; }
.gated-by { font-size: 11px; letter-spacing: 0.22em; color: var(--ember); margin: 10px 0; }
.terminus { font-size: 11px; letter-spacing: 0.2em; color: var(--hot); margin: 10px 0; }

/* -------------------------------------------------------- mobile (§2 port) */
@media (max-width: 760px) {
  .dock { display: none; }
  .deck { display: none; }
  .deck.summoned { display: flex; }
  .session-line { font-size: 11px; padding: 8px 12px; }
  .stage { padding: 14px; }
  .softkeys {
    display: flex; justify-content: space-around;
    border-top: 1px solid var(--line2);
    padding: 8px 0;
    font-size: 11px; letter-spacing: 0.2em; color: var(--dim);
  }
  .softkeys span { cursor: pointer; padding: 4px 10px; }
  .statute-footer { font-size: 11px; }
}
@media (min-width: 761px) { .softkeys { display: none; } }

/* ========================================================================= */
/* APPENDIX — surfaces/feeds.js (module-scoped classes only)                 */
/* The loop's three voices + motion item 5 (TYPING — the only item of the    */
/* six this module may use). One-shot, fill-forwards, staggered by inline    */
/* animation-delay, gated on prefers-reduced-motion. Nothing loops.          */
/* ========================================================================= */
.feed-chat { color: var(--phosphor); font-size: 11px; letter-spacing: 0.08em; }
.feed-alex {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  color: var(--bone); font-size: 13px; letter-spacing: 0.02em; line-height: 1.6;
}
.feed-reg { font-size: 11px; letter-spacing: 0.2em; color: var(--ash); text-transform: uppercase; white-space: nowrap; }
@media (prefers-reduced-motion: no-preference) {
  .type-chat .type-line, .type-alex .type-line {
    display: inline-block; overflow: hidden; white-space: nowrap;
    max-width: 100%; vertical-align: bottom;
  }
  /* motion item 5a — chat types fast, jittery, mono */
  .type-chat .type-line { width: 0; animation: feed-type 0.55s steps(22, end) forwards; }
  @keyframes feed-type {
    0% { width: 0; } 12% { width: 9%; } 16% { width: 9%; }
    34% { width: 30%; } 38% { width: 31%; } 100% { width: 100%; }
  }
  /* motion item 5b — alex settles slow, bone serif italic */
  .type-alex .type-line { opacity: 0; filter: blur(2px); animation: feed-settle 1.4s ease-out forwards; }
  @keyframes feed-settle {
    0% { opacity: 0; filter: blur(2px); letter-spacing: 0.06em; }
    100% { opacity: 1; filter: blur(0); letter-spacing: 0.02em; }
  }
}
/* THE INDEX — dense rows + filter chips (data-idxf, never data-cmd) */
.idx-dense .rol-row { padding: 6px 8px; gap: 10px; }
.idx-chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: baseline; margin: 8px 0; }
.idx-chips .lbl-3 { min-width: 44px; }
.idx-chips .chip { cursor: pointer; }
.idx-chips .chip.idx-on { color: var(--hot); border-color: var(--hot); background: rgba(232, 160, 60, 0.08); }
.idx-box { margin: 4px 0 12px; }
.idx-box input {
  background: transparent; border: 0; border-bottom: 1px solid var(--rule-strong); outline: 0;
  color: var(--hot); font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em;
  padding: 4px 2px; width: min(420px, 100%); caret-color: var(--phosphor);
}

/* ========================================================================= */
/* APPENDED SECTION — surfaces/standing.js (THE STANDING + THE DOCK).        */
/* Module-scoped classes only (sv-*, svd-*, svm-*), appended per the build   */
/* assignment; nothing above this marker was modified.                       */
/* ========================================================================= */

/* ----- the survey, full scale ----- */
.sv-root-svg { display: block; width: 100%; height: auto; }
.sv-e { fill: none; stroke: rgba(232, 160, 60, 0.3); stroke-width: 0.9; cursor: pointer; transition: opacity 0.25s ease; }
.sv-e.sv-trunk { stroke: rgba(232, 160, 60, 0.5); stroke-width: 1.4; }
.sv-e.sv-dash { stroke: var(--ember); stroke-dasharray: 5 4; }
.sv-flow { fill: none; stroke: var(--phosphor); stroke-width: 1.1; opacity: 0; pointer-events: none; }
.sv-n { cursor: pointer; transition: opacity 0.25s ease; }
.sv-mark { fill: none; stroke-width: 1.2; }
.svm-ready   { stroke: var(--phosphor); }
.svm-method  { stroke: var(--ash); }   /* hatched honest zero — fill is the hatch pattern */
.svm-blocked { stroke: var(--ember); stroke-dasharray: 3 3; }
.svm-hist    { stroke: var(--hot); fill: rgba(245, 207, 142, 0.28); }
.svm-rule    { stroke: var(--violet); }
.svm-zero    { stroke: var(--dim); }
.svm-root    { fill: var(--void); stroke: var(--ember); stroke-dasharray: 4 3; stroke-width: 1.3; }
.sv-tick     { stroke: var(--phosphor); stroke-width: 1; opacity: 0.75; }
.sv-cap-line { stroke: var(--hot); stroke-width: 1.3; }   /* terminal end-caps */
.sv-iso      { fill: none; stroke: var(--ash); stroke-dasharray: 3 4; stroke-width: 0.9; }
.sv-sep      { stroke: var(--rule-strong); stroke-dasharray: 2 6; stroke-width: 1; }
.sv-id    { font-size: 6.4px; fill: var(--ash); letter-spacing: 0.06em; }
.sv-q     { font-size: 7.4px; fill: var(--dim); letter-spacing: 0.03em; }
.sv-label { font-size: 6.7px; fill: var(--ivory); letter-spacing: 0.02em; } /* plain-language foreground */
.sv-ctrl { font-size: 6.6px; fill: var(--hot); letter-spacing: 0.2em; }
.sv-lyr  { font-size: 6.8px; fill: var(--ash); opacity: 0.55; }

/* focus cones — hover lights the true upstream/downstream cones */
.sv-root-svg.focus .sv-e { opacity: 0.1; }
.sv-root-svg.focus .sv-e.lit { opacity: 1; stroke: var(--phosphor); }
.sv-root-svg.focus .sv-e.sv-dash.lit { stroke: var(--ember); }
.sv-root-svg.focus .sv-n { opacity: 0.22; }
.sv-root-svg.focus .sv-n.lit { opacity: 1; }
.sv-root-svg.focus .sv-n.lit .sv-id { fill: var(--hot); }
.sv-root-svg.focus .sv-n.lit .sv-label { fill: var(--hot); }

.sv-cap { border-top: 1px solid var(--line2); margin-top: 12px; padding: 10px 2px; font-size: 9.5px; letter-spacing: 0.14em; color: var(--dim); min-height: 34px; }
.sv-1140 { margin: 10px 0 6px; display: flex; align-items: baseline; flex-wrap: wrap; }
.sv-clock { color: var(--phosphor); cursor: pointer; white-space: nowrap; }

/* ----- the dock, silhouette scale ----- */
.svd-head { display: flex; justify-content: space-between; align-items: baseline; cursor: pointer; font-size: 10px; letter-spacing: 0.2em; color: var(--dim); text-transform: uppercase; margin-bottom: 6px; }
.svd-head .svd-key { color: var(--phosphor); border: 1px solid var(--rule-strong); padding: 0 4px; }
.svd-caret-line { font-size: 9px; letter-spacing: 0.14em; color: var(--ash); margin-bottom: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.svd-svg { display: block; width: 100%; height: auto; aspect-ratio: 200 / 400; transition: transform 0.35s ease; transform-origin: 50% 0; }
.dock:hover .svd-svg { transform: scale(1.05); }   /* hover swells (spec §2 ③) */
.svd-e { stroke-width: 0.7; pointer-events: none; }
.sv-e.svd-e.sv-dash { stroke-dasharray: 3 3; }
.svd-n { cursor: pointer; transition: opacity 0.25s ease; }
.svd-svg.focus .svd-n { opacity: 0.3; }
.svd-svg.focus .svd-n.lit { opacity: 1; }
.svd-ctrl { font-size: 4.5px; fill: var(--hot); letter-spacing: 0.16em; }
.svd-wake { fill: none; stroke: var(--dim); stroke-width: 1; }
.svd-caret { fill: none; stroke: var(--hot); stroke-width: 1.2; filter: drop-shadow(0 0 4px rgba(232, 160, 60, 0.8)); }
body.chrome-collapsed .dock .svd-head,
body.chrome-collapsed .dock .svd-caret-line { display: none; }
body.chrome-collapsed .dock .svd-svg { aspect-ratio: auto; height: 74vh; }  /* the 16px spine of ticks */

/* the idle breath — ONE staggered sweep of motion item 3 (edge flow):
 * entries downward, dying short of the dark root. iteration-count 1 —
 * it never loops ambiently; reduced motion renders still. */
@media (prefers-reduced-motion: no-preference) {
  .sv-flow { stroke-dasharray: 4 8; animation: sv-breath 3s linear 1 both; animation-delay: var(--svd, 0s); }
  @keyframes sv-breath {
    0%   { opacity: 0; stroke-dashoffset: 0; }
    14%  { opacity: 0.85; }
    82%  { opacity: 0.6; }
    100% { opacity: 0; stroke-dashoffset: -60; }
  }
}
@media (prefers-reduced-motion: reduce) {
  .sv-flow { animation: none !important; opacity: 0 !important; }
  .dock:hover .svd-svg { transform: none; }
}

/* ========================================================================= */
/* APPENDIX — THE PERSISTENT TOP-NAV (index.html #session-nav) + THE THEMED   */
/* SCROLLBARS. Token-native (void / amber / bone), micro-easing on hover only */
/* (input-reactive, never ambient); no animation. Nothing below was above.    */
/* ========================================================================= */

/* the four top-nav doors — subtle, sitting beside the wordmark, not competing
 * with the session line. Each is a data-cmd door the engine grammar resolves. */
.session-nav {
  display: flex; flex-wrap: wrap; gap: 4px;
  align-items: center;
  margin-left: 4px;
}
.session-nav-link {
  cursor: pointer;
  padding: 3px 9px;
  font-size: 10px; letter-spacing: 0.16em;
  color: var(--dim); text-transform: uppercase;
  border: 1px solid var(--line2);
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
  white-space: nowrap; user-select: none;
}
.session-nav-link:hover { color: var(--hot); border-color: var(--rule-strong); background: rgba(232,160,60,0.05); }
.session-nav-link:focus-visible { outline: 1px solid var(--phosphor); outline-offset: 1px; }
@media (max-width: 760px) {
  .session-nav { gap: 3px; }
  .session-nav-link { font-size: 10px; padding: 2px 6px; }
}

/* ----- the themed scrollbars — void track, amber-rule thumb, never white ----- */
.stage, .dock, .dock-col { scrollbar-width: thin; scrollbar-color: var(--rule-strong) var(--ink-1); }
html { scrollbar-width: thin; scrollbar-color: var(--rule-strong) var(--void); }
.stage::-webkit-scrollbar,
.dock::-webkit-scrollbar,
.dock-col::-webkit-scrollbar,
.raw-dump::-webkit-scrollbar,
body::-webkit-scrollbar { width: 10px; height: 10px; }
.stage::-webkit-scrollbar-track,
.dock::-webkit-scrollbar-track,
.dock-col::-webkit-scrollbar-track,
.raw-dump::-webkit-scrollbar-track,
body::-webkit-scrollbar-track { background: var(--ink-1); }
.stage::-webkit-scrollbar-thumb,
.dock::-webkit-scrollbar-thumb,
.dock-col::-webkit-scrollbar-thumb,
.raw-dump::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb { background: var(--rule-strong); border: 2px solid var(--ink-1); }
.stage::-webkit-scrollbar-thumb:hover,
.dock::-webkit-scrollbar-thumb:hover,
.dock-col::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover { background: var(--muted-2); }
.stage::-webkit-scrollbar-corner,
.dock-col::-webkit-scrollbar-corner,
body::-webkit-scrollbar-corner { background: var(--void); }

/* the seal glyph — fix #6, the folded statute footer */
.statute-drawer summary { cursor: pointer; list-style: none; letter-spacing: 0.18em; color: var(--ember); }
.statute-drawer summary::-webkit-details-marker { display: none; }
.statute-drawer[open] summary { margin-bottom: 6px; }
.statute-drawer-body { display: flex; flex-wrap: wrap; gap: 6px 22px; }
