/* ═══════════════════════════════════════════════════════════════════════════
   Motive — Explore. "The sky" (decision-record 2026-09-14 §C, D-AN), at bench
   density.

   Explore is the deepest layer of the product: the one room where the kernel's
   facts, every quality's ledger, the verdict cards and the packet are shown at
   the engine's own precision. It is dense on purpose. It is drawn in the same
   visual language as the consumer screens (web/), so that moving from a card on
   Now into its mechanics here reads as going deeper into one product, not as
   opening a different tool.

   THREE LAYERS, IN THIS ORDER.
   1. The two faces, shipped as files in explorer/fonts/ (C8: nothing is fetched
      from a third party at run time). Their OFL licences sit beside them.
   2. THE TOKEN BLOCK — copied verbatim from web/src/styles/tokens.css, names and
      values unchanged, so `diff` between the two files is the whole review.
      Explore cannot import from web/ (no build step here, by design), so the
      copy is the contract. Change one, change both.
   3. Explore's own derived layer: the few semantic tokens this page needs and
      the consumer screens do not (a third rule rung, the chart pair as TYPE, the
      channel triads, the ribbon's fills). Every one of them is a color-mix() of
      a token above. No component below names a raw colour.

   MEASURED, NOT EYEBALLED (bun, WCAG 2.x relative luminance):
   - the chart pair is validated as FILLS (tokens.css header). As TEXT it is not
     quite enough on the light ground (against 4.11:1, for 4.36:1), so the words
     and figures of a channel take the pair mixed 85% with ink: 5.11 / 5.33 on
     the light ground, 6.71 / 7.40 on the dark one;
   - tints that carry text are held at or under 7% so the quietest ink rung
     stays over 4.5:1 on them in the light appearance.

   Light and dark follow the device, and the reader's own choice in the app
   (`motive.appearance.v1`, stamped on <html data-theme> before first paint by
   the inline script in index.html) wins in both directions.
   ═══════════════════════════════════════════════════════════════════════════ */

@font-face {
  font-family: 'Geist';
  src: url('fonts/geist-latin-wght-normal.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Newsreader';
  src: url('fonts/newsreader-latin-opsz-normal.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

/* ─────────────────────────────────────────────────────────────────────────────
 * Motive design tokens — "the sky" (approved 2026-09-14).
 *
 * Bare :root is the light appearance; dark redefines TOKENS ONLY, under the
 * device preference unless the reader chose Light, and again under an explicit
 * [data-theme="dark"] so the Appearance setting wins in both directions.
 * Components never name a raw colour.
 *
 * Measured, not eyeballed:
 *  - the chart pair passes all six checks of the dataviz palette validator in both
 *    appearances (light against #C2533F / for #2C76B2: CVD ΔE 17.3, normal 25.5;
 *    dark against #D46A58 / for #5596CF: CVD ΔE 17.5, normal 23.4). It replaces the
 *    terrain-tinted support bar, which fell to ΔE 6 on warm hours;
 *  - every ink, verdict and terrain text colour is >= 4.5:1 on both the ground and
 *    the tile, in both appearances.
 * ───────────────────────────────────────────────────────────────────────────── */

:root {
  color-scheme: light;

  /* ── type ── */
  --font-ui: var(--font-geist), ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: var(--font-newsreader), 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;

  --fs-moment: clamp(3.25rem, 1.6rem + 6.4vw, 6.5rem);
  --fs-title: clamp(1.875rem, 1.4rem + 1.5vw, 2.625rem);
  --fs-sheet-title: clamp(1.625rem, 1.3rem + 1vw, 2rem);
  --fs-gloss: clamp(1.1875rem, 1rem + .55vw, 1.5rem);
  --fs-realm: 1.375rem;
  --fs-lead: 1.0625rem;
  --fs-body: 1rem;
  --fs-row: .9375rem;
  --fs-small: .875rem;
  --fs-label: .8125rem;
  --fs-meta: .75rem;

  --lh-tight: 1.15;
  --lh-snug: 1.32;
  --lh-body: 1.5;

  /* ── space: a 4px grid ── */
  --s-0: 2px; --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 20px;
  --s-6: 24px; --s-7: 28px; --s-8: 32px; --s-10: 40px; --s-12: 48px; --s-16: 64px; --s-20: 80px;

  --gutter: clamp(16px, 3.2vw, 48px);
  --page-max: 1320px;
  --measure: 62ch;

  /* ── radii ── */
  --r-xs: 6px; --r-sm: 10px; --r-md: 14px; --r-lg: 20px; --r-xl: 26px; --r-pill: 999px;

  /* ── hit targets ── */
  --control-h: 36px;
  --target: 44px;

  /* ── motion ── */
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.05, .7, .1, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --d-micro: 120ms; --d-small: 180ms; --d-medium: 280ms; --d-moment: 420ms; --d-slow: 700ms;

  /* ── ground, surfaces, ink ── */
  --ground: #F2F3F5;
  --ground-2: #E9EAED;
  --tile: rgba(255, 255, 255, .8);
  --tile-solid: #FFFFFF;
  --raised: #FFFFFF;
  --line: rgba(21, 22, 26, .085);
  --line-strong: rgba(21, 22, 26, .16);
  --wash: rgba(21, 22, 26, .045);
  --wash-2: rgba(21, 22, 26, .08);
  --ink: #15161A;
  --ink-2: #4D4E55;
  --ink-3: #67686E;
  --ink-inverse: #F7F7F8;
  --scrim: rgba(20, 21, 26, .32);

  /* ── the chart pair: against · for ── */
  --against: #C2533F;
  --for: #2C76B2;
  --axis: rgba(21, 22, 26, .32);
  --track: rgba(21, 22, 26, .06);

  /* ── verdicts: text colour; the soft fill is derived ── */
  --go: #2E7D4F;
  --favorable: #4E7230;
  --friction: #8A5D12;
  --hold: #A04A3E;

  --focus: #2C76B2;
  --sky-strength: 30%;
  --past: .42;
  --hatch: rgba(21, 22, 26, .28);

  --shadow-1: 0 1px 2px rgba(21, 22, 26, .05), 0 6px 20px rgba(21, 22, 26, .05);
  --shadow-2: 0 2px 6px rgba(21, 22, 26, .08), 0 18px 40px -12px rgba(21, 22, 26, .18);
  --shadow-3: 0 40px 90px -24px rgba(10, 11, 14, .38), 0 2px 8px rgba(10, 11, 14, .08);
  --blur: saturate(1.6) blur(20px);

  /* ── the ten terrains: a fill for strips and washes, a text colour for type ── */
  --bedrock-text: #7A5A36;      --bedrock-fill: #B08A62;
  --river-text: #2F6A8E;        --river-fill: #4F8FB8;
  --volcano-text: #A2432F;      --volcano-fill: #C8634D;
  --razors_edge-text: #5E4F86;  --razors_edge-fill: #8676B0;
  --garden-text: #9A4E6C;       --garden-fill: #C27896;
  --workshop-text: #85691F;     --workshop-fill: #BE9A45;
  --bonfire-text: #9A5424;      --bonfire-fill: #C98150;
  --deep_current-text: #2E6475; --deep_current-fill: #4F8A9C;
  --ember-text: #87553D;        --ember-fill: #AD7A60;
  --winter-text: #55606E;       --winter-fill: #8792A0;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --ground: #08090C; --ground-2: #0E0F13;
    --tile: rgba(255, 255, 255, .045); --tile-solid: #16171C; --raised: #1B1C22;
    --line: rgba(238, 235, 229, .085); --line-strong: rgba(238, 235, 229, .16);
    --wash: rgba(238, 235, 229, .05); --wash-2: rgba(238, 235, 229, .09);
    --ink: #EEEBE5; --ink-2: #AAA7A0; --ink-3: #8C8983; --ink-inverse: #121317;
    --scrim: rgba(0, 0, 0, .55);
    --against: #D46A58; --for: #5596CF; --axis: rgba(238, 235, 229, .32); --track: rgba(238, 235, 229, .07);
    --go: #6FB98A; --favorable: #9FBF8A; --friction: #C9A05B; --hold: #C9806F;
    --focus: #7FB3E0; --sky-strength: 40%; --past: .36; --hatch: rgba(0, 0, 0, .5);
    --shadow-1: 0 1px 0 rgba(255, 255, 255, .035) inset, 0 10px 30px rgba(0, 0, 0, .28);
    --shadow-2: 0 1px 0 rgba(255, 255, 255, .05) inset, 0 20px 44px -12px rgba(0, 0, 0, .6);
    --shadow-3: 0 1px 0 rgba(255, 255, 255, .06) inset, 0 40px 90px -20px rgba(0, 0, 0, .75);
    --bedrock-text: #C4A886;      --bedrock-fill: #7A6248;
    --river-text: #8FC3E0;        --river-fill: #3F7A9E;
    --volcano-text: #E09580;      --volcano-fill: #A64B39;
    --razors_edge-text: #B3A4D6;  --razors_edge-fill: #655787;
    --garden-text: #E0A8BC;       --garden-fill: #A6647E;
    --workshop-text: #DCC078;     --workshop-fill: #A6883F;
    --bonfire-text: #E0A578;      --bonfire-fill: #A6653A;
    --deep_current-text: #8FBFCF; --deep_current-fill: #3F6E80;
    --ember-text: #CFA085;        --ember-fill: #8A5A44;
    --winter-text: #A9B2BF;       --winter-fill: #5C6470;
  }
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --ground: #08090C; --ground-2: #0E0F13;
  --tile: rgba(255, 255, 255, .045); --tile-solid: #16171C; --raised: #1B1C22;
  --line: rgba(238, 235, 229, .085); --line-strong: rgba(238, 235, 229, .16);
  --wash: rgba(238, 235, 229, .05); --wash-2: rgba(238, 235, 229, .09);
  --ink: #EEEBE5; --ink-2: #AAA7A0; --ink-3: #8C8983; --ink-inverse: #121317;
  --scrim: rgba(0, 0, 0, .55);
  --against: #D46A58; --for: #5596CF; --axis: rgba(238, 235, 229, .32); --track: rgba(238, 235, 229, .07);
  --go: #6FB98A; --favorable: #9FBF8A; --friction: #C9A05B; --hold: #C9806F;
  --focus: #7FB3E0; --sky-strength: 40%; --past: .36; --hatch: rgba(0, 0, 0, .5);
  --shadow-1: 0 1px 0 rgba(255, 255, 255, .035) inset, 0 10px 30px rgba(0, 0, 0, .28);
  --shadow-2: 0 1px 0 rgba(255, 255, 255, .05) inset, 0 20px 44px -12px rgba(0, 0, 0, .6);
  --shadow-3: 0 1px 0 rgba(255, 255, 255, .06) inset, 0 40px 90px -20px rgba(0, 0, 0, .75);
  --bedrock-text: #C4A886;      --bedrock-fill: #7A6248;
  --river-text: #8FC3E0;        --river-fill: #3F7A9E;
  --volcano-text: #E09580;      --volcano-fill: #A64B39;
  --razors_edge-text: #B3A4D6;  --razors_edge-fill: #655787;
  --garden-text: #E0A8BC;       --garden-fill: #A6647E;
  --workshop-text: #DCC078;     --workshop-fill: #A6883F;
  --bonfire-text: #E0A578;      --bonfire-fill: #A6653A;
  --deep_current-text: #8FBFCF; --deep_current-fill: #3F6E80;
  --ember-text: #CFA085;        --ember-fill: #8A5A44;
  --winter-text: #A9B2BF;       --winter-fill: #5C6470;
}

/* A terrain class sets the two hour tokens everything else reads. */
.t-bedrock { --t-text: var(--bedrock-text); --t-fill: var(--bedrock-fill); }
.t-river { --t-text: var(--river-text); --t-fill: var(--river-fill); }
.t-volcano { --t-text: var(--volcano-text); --t-fill: var(--volcano-fill); }
.t-razors_edge { --t-text: var(--razors_edge-text); --t-fill: var(--razors_edge-fill); }
.t-garden { --t-text: var(--garden-text); --t-fill: var(--garden-fill); }
.t-workshop { --t-text: var(--workshop-text); --t-fill: var(--workshop-fill); }
.t-bonfire { --t-text: var(--bonfire-text); --t-fill: var(--bonfire-fill); }
.t-deep_current { --t-text: var(--deep_current-text); --t-fill: var(--deep_current-fill); }
.t-ember { --t-text: var(--ember-text); --t-fill: var(--ember-fill); }
.t-winter { --t-text: var(--winter-text); --t-fill: var(--winter-fill); }

/* ── end of the token block copied from web/src/styles/tokens.css ────────── */


/* ═══ EXPLORE'S DERIVED LAYER ═══════════════════════════════════════════════
   Everything here is a color-mix() of a token above, so it follows the
   appearance without a second definition. The one exception is `--notch`,
   which has to be darker than its neighbours in BOTH appearances and so takes
   the token `--hatch` differently in each. */
:root {
  /* The faces the token stacks name. next/font sets these on the web screens;
     Explore sets them to the families declared by the @font-face rules above. */
  --font-geist: 'Geist';
  --font-newsreader: 'Newsreader';

  /* A THIRD RULE RUNG. The tokens carry two (`--line` for rows, `--line-strong`
     for blocks); a dense bench also needs a boundary around a whole section's
     summary that reads as a stronger statement than a block's. */
  --rule-section: color-mix(in srgb, var(--ink) 24%, transparent);

  /* THE CHART PAIR AS TYPE — see the header's measurement. Fills and bars use
     `--against` / `--for` untouched. */
  --against-text: color-mix(in srgb, var(--against) 85%, var(--ink));
  --for-text: color-mix(in srgb, var(--for) 85%, var(--ink));

  /* THE FOUR CHANNEL TRIADS a quality row can carry — support, opposition, the
     ceiling, and contested (L4) — each one hue at three roles: its word, a tint,
     a rule. Support and opposition are the fixed chart pair (cool for, warm
     against: no green-good / red-bad, which is what C4 wants off a quality); the
     ceiling is Razor's Edge; contested keeps the page's own word colour,
     `--friction`. No verdict hue is among them — a quality is not an act. */
  --ch-s-text: var(--for-text);
  --ch-s-fill: color-mix(in srgb, var(--for) 8%, transparent);
  --ch-s-edge: color-mix(in srgb, var(--for) 42%, transparent);
  --ch-s-bar: var(--for);
  --ch-o-text: var(--against-text);
  --ch-o-fill: color-mix(in srgb, var(--against) 8%, transparent);
  --ch-o-edge: color-mix(in srgb, var(--against) 44%, transparent);
  --ch-o-bar: var(--against);
  --ch-c-text: var(--razors_edge-text);
  --ch-c-fill: color-mix(in srgb, var(--razors_edge-fill) 10%, transparent);
  --ch-c-edge: color-mix(in srgb, var(--razors_edge-fill) 48%, transparent);
  --ch-x-text: var(--friction);
  --ch-x-fill: color-mix(in srgb, var(--friction) 7%, transparent);
  --ch-x-edge: color-mix(in srgb, var(--friction) 40%, transparent);

  /* ── ribbon geometry. The four label-fitting numbers below are mirrored by
     FIT in ribbon.js under the same names; change one, change both. ──────── */
  --namecol: 104px;      /* the band-name column */
  --seg-pad: 6px;        /* FIT.padX      — a block's horizontal padding, one side */
  --seg-pad-short: 4px;  /* FIT.padXShort — an abbreviation may sit tighter */
  --seg-gap: 7px;        /* FIT.gap       — time prefix → name */

  /* ── ribbon fills. Hue separates KINDS of window; it never grades. Each hue is
     a terrain pair — the fill for the band, the text colour for its 12px
     legend glyph — and the eight day-parts stay neutral: they are the ruler. ── */
  --ribbon-ground: var(--tile-solid);
  --band-a: color-mix(in srgb, var(--ink) 4%, transparent);
  --band-b: color-mix(in srgb, var(--ink) 8%, transparent);
  --band-night: color-mix(in srgb, var(--deep_current-fill) 13%, transparent);
  --daylight: color-mix(in srgb, var(--workshop-fill) 10%, transparent);
  --notch: color-mix(in srgb, var(--hatch) 50%, transparent);   /* a veto window is a darkened notch */
  --seg-hover: color-mix(in srgb, var(--ink) 6%, transparent);   /* 6%, not 9%: --ink-3 must hold 4.5:1 on a lifted row in dark */
  --tick-solar: color-mix(in srgb, var(--workshop-fill) 75%, transparent);
  --tick-noon: color-mix(in srgb, var(--workshop-fill) 50%, transparent);
  --tick-reading: color-mix(in srgb, var(--ink) 50%, transparent);
  --tick-now: color-mix(in srgb, var(--ink) 40%, transparent);
  --glyph-hold: 80%;                         /* how much of a terrain text colour a key glyph may use */
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --notch: var(--hatch); }
}
:root[data-theme="dark"] { --notch: var(--hatch); }


/* ═══ THE PAGE ══════════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  /* Every jump on the page — the section index, a deep link, a card revealed
     from the glance — lands BELOW the sticky header, which publishes its own
     visible height as --chrome-h (app.js measureChrome). */
  scroll-padding-top: calc(var(--chrome-h, 0px) + 12px);
}
body {
  background: var(--ground); color: var(--ink);
  font-family: var(--font-ui); font-size: var(--fs-row); font-weight: 400; line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 3px; }
a { color: inherit; }
[hidden] { display: none !important; }

/* Three widths, one layout. The page is wide by design (README departure 4):
   67 qualities in nine columns, a 71-card grid, a nine-column planet table.
   Prose keeps its own measure inside it. */
.page { width: 100%; max-width: 1560px; margin: 0 auto; padding-inline: var(--gutter); padding-block: 4px 96px; }

/* The page's one loading idiom: a faint breath on the words that are waiting.
   No spinner, nothing that travels, and nothing at all under reduced motion. */
.pulse { animation: waitbreath 4s ease-in-out infinite; }
@keyframes waitbreath { 0%, 100% { opacity: 1 } 50% { opacity: .5 } }
@media (prefers-reduced-motion: reduce) { .pulse { animation: none; } }

/* ── type rungs ──────────────────────────────────────────────────────────────
   Section labels are SENTENCE CASE at 13/600 (spec §9). The page builds its
   labels from lowercase words in several modules, so the capital is set here,
   once, on the first letter — the words themselves are untouched and a label
   can never be capitalised twice. */
.label {
  display: inline-block;
  font-size: var(--fs-label); font-weight: 600; color: var(--ink-2);
}
.label::first-letter,
th::first-letter,
.row .k::first-letter,
button.bandtoggle::first-letter,
.keydetails > summary::first-letter,
.count .l::first-letter,
.gapcount .l::first-letter,
.glabel::first-letter,
.qp-axcell::first-letter,
.famrow .fam::first-letter,
.qgfam .fam::first-letter,
td.fam::first-letter,
.trxcell::first-letter,
.realmcap .rlabel::first-letter,
.qgcap .rlabel::first-letter { text-transform: uppercase; }
/* ::first-letter needs a block container; these two are inline spans inside a block. */
.famrow .fam, .qgfam .fam { display: inline-block; }

/* Figures stack, so they are tabular wherever they appear. Geist carries the
   numbers; there is no second, monospaced face on this page. */
.mono { font-family: var(--font-ui); font-variant-numeric: tabular-nums; }
.dim { color: var(--ink-2); }
.faint { color: var(--ink-3); }
.gloss { color: var(--ink-2); font-size: var(--fs-label); }

/* ═══ THE HEADER — sticky, compact, one place for every control ═════════════
   Three rows: who and what this is (with the one status line), the instant and
   the place, and the section index. On a wide window all three stay pinned. On
   a narrow or short one the header tucks: its first two rows scroll away and
   only the section index stays (app.js sets --topbar-tuck to the index's own
   offset, which makes a sticky `top` of minus that offset do exactly that). */
.topbar {
  position: sticky; top: calc(-1 * var(--topbar-tuck, 0px)); z-index: 40;
  background: color-mix(in srgb, var(--ground) 88%, transparent);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  border-bottom: 1px solid var(--line);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .topbar { background: var(--ground); }
}
.topbar-inner { max-width: 1560px; margin: 0 auto; padding-inline: var(--gutter); }

.topline { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; padding-block: 8px 2px; min-height: 48px; }
.brand {
  display: inline-flex; align-items: center; gap: 8px; min-height: var(--target);
  text-decoration: none; color: var(--ink); font-size: var(--fs-small); font-weight: 600;
  border-radius: var(--r-xs);
}
.brand:hover .brandword { text-decoration: underline; text-underline-offset: 3px; }
.brand svg { width: 22px; height: 22px; flex: none; }
.brand .mark-glow { fill: var(--bonfire-fill); }
.brand .mark-core, .brand .mark-hair { fill: var(--ink); }
.pagetitle {
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 500;
  line-height: var(--lh-tight); letter-spacing: -.01em; color: var(--ink);
}
.brandsep { color: var(--ink-3); font-size: 1.25rem; line-height: 1; }
/* The honesty claim, said once on the page, in the app's own words. */
.honesty {
  font-size: var(--fs-meta); font-weight: 500; color: var(--ink-2); white-space: nowrap;
  border: 1px solid var(--line-strong); border-radius: var(--r-pill); padding: 2px 10px;
}
/* The one status line: what was computed, what it cost, under whose lens — or
   what failed, with the way out of it. One line on a wide window. */
.meta {
  flex: 1 1 18rem; min-width: 0; text-align: right;
  font-size: var(--fs-label); color: var(--ink-3); font-variant-numeric: tabular-nums;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.meta.err { color: var(--hold); white-space: normal; }
button.retrybtn {
  font-size: var(--fs-meta); padding: 2px 10px; min-height: 26px; margin-left: 10px;
  color: var(--ink); border-color: var(--line-strong); background: var(--tile-solid);
  vertical-align: baseline;
}

/* ── the instant and the place ─────────────────────────────────────────────── */
.controls { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; padding-block: 4px 6px; }
.cluster { display: flex; align-items: center; gap: 6px; }
.cluster.grow { flex: 1 1 300px; min-width: 240px; }
.clabel { flex: none; font-size: var(--fs-meta); color: var(--ink-3); margin-right: 2px; }
/* The cursor's time is the one number the eye comes back to on every scrub, so
   it is the largest figure in the header and never wraps. */
#clock {
  font-size: 1.0625rem; font-weight: 600; color: var(--ink); line-height: 1.1;
  flex: none; white-space: nowrap; font-variant-numeric: tabular-nums;
}
.coords { font-size: var(--fs-meta); color: var(--ink-3); white-space: nowrap; }
.field { display: flex; flex-direction: column; gap: 5px; }
.field > .label { display: block; font-size: var(--fs-meta); }
.btnrow { display: flex; gap: 8px; }

input, select, button {
  font-family: var(--font-ui); font-size: var(--fs-small); color: var(--ink);
  background: var(--tile-solid); border: 1px solid var(--line-strong);
  border-radius: var(--r-xs); padding: 6px 10px; min-height: var(--control-h);
}
input[type="number"], input[type="date"], input[type="datetime-local"] { font-variant-numeric: tabular-nums; }
input[type="number"] { width: 8.5em; }
select { min-width: 11em; }
button { cursor: pointer; padding: 6px 14px; transition: background-color var(--d-micro) var(--ease), border-color var(--d-micro) var(--ease); }
button:hover { background-color: var(--wash); border-color: var(--axis); }
button.ghost { background: transparent; }
button.ghost:hover { background: var(--wash); }
@media (prefers-reduced-motion: reduce) { button { transition: none; } }

/* ‹ date › then Now, so the DOM order and the tab order are the reading order.
   The day arrows are a different glyph from the block stepper's ← → : one moves
   the day, the other moves inside it. */
button.navbtn {
  padding: 0 10px; min-width: var(--control-h); font-size: 1.125rem; line-height: 1;
  color: var(--ink-2); display: inline-flex; align-items: center; justify-content: center;
}
button.navbtn:hover { color: var(--ink); }
button.nowbtn { margin-left: 4px; font-size: var(--fs-label); font-weight: 600; padding: 0 14px; border-radius: var(--r-pill); }
/* now is not inside the day on screen — the button still works, it just means
   something slightly different, so it says so instead of going dead */
button.nowbtn.away { color: var(--ink-2); font-weight: 500; }
input[type="range"] {
  flex: 1 1 auto; width: auto; padding: 0; background: transparent; border: 0; min-height: 28px;
  accent-color: var(--focus);
}
button.stepbtn { padding: 0 10px; min-width: var(--control-h); color: var(--ink-2); }
button.stepbtn:hover { color: var(--ink); }

/* ── popovers: the place, the person, and "what this is" ─────────────────────
   Setup is not steering, so it opens OVER the page from the header rather than
   growing the header under the reader. One is open at a time; Escape or a press
   outside closes it (app.js). */
.pop > summary {
  list-style: none; cursor: pointer; user-select: none;
  display: inline-flex; align-items: center; gap: 6px; min-height: 32px;
  font-size: var(--fs-label); font-weight: 500; color: var(--ink-2);
  border: 1px solid var(--line-strong); border-radius: var(--r-pill); padding: 4px 12px;
}
.pop > summary::-webkit-details-marker { display: none; }
.pop > summary::after {
  content: ''; width: 6px; height: 6px; margin-left: 2px; margin-top: -3px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg);
  transition: transform var(--d-small) var(--ease);
}
.pop[open] > summary::after { transform: rotate(-135deg); margin-top: 3px; }
.pop > summary:hover { color: var(--ink); background: var(--wash); }
.pop[open] > summary { color: var(--ink); border-color: var(--axis); }
.whatis > summary { border-color: transparent; padding-inline: 8px; }
.popbody {
  position: absolute; top: calc(100% + 6px); left: var(--gutter); right: var(--gutter);
  margin-inline: auto; max-width: 760px; z-index: 41;
  max-height: min(72vh, 620px); overflow: auto; overscroll-behavior: contain;
  background: var(--raised); color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-2);
  padding: 16px 18px;
}
.setupbody { display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: flex-end; }
.setupbody > .gloss { flex: 1 1 100%; max-width: 82ch; }
.whatisbody p { color: var(--ink-2); font-size: var(--fs-small); max-width: 82ch; }
.whatisbody p + p { margin-top: 8px; }
.whatisbody a { color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .pop > summary::after { transition: none; } }

/* ── the section index ─────────────────────────────────────────────────────── */
.sectionnav {
  display: flex; gap: 2px; padding-block: 2px 8px; margin-inline: -8px;
  overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none;
}
.sectionnav::-webkit-scrollbar { display: none; }
.sectionnav a {
  flex: none; display: inline-flex; align-items: center; min-height: 32px;
  padding: 4px 10px; border-radius: var(--r-pill);
  font-size: var(--fs-label); font-weight: 500; color: var(--ink-2); text-decoration: none; white-space: nowrap;
  transition: background-color var(--d-micro) var(--ease), color var(--d-micro) var(--ease);
}
.sectionnav a:hover { color: var(--ink); background: var(--wash); }
.sectionnav a[aria-current="true"] { color: var(--ink); background: var(--wash-2); font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .sectionnav a { transition: none; } }

/* Narrow: each cluster takes its own line and the slider gets the width; the
   status line sits under the title instead of beside it. */
@media (max-width: 719px) {
  .controls { gap: 6px 12px; }
  .cluster, .cluster.grow { flex: 1 1 100%; min-width: 0; flex-wrap: wrap; }
  .cluster.grow #clock { margin-left: auto; }
  .cluster.grow input[type="range"] { flex: 1 1 100%; order: 3; }
  .meta { flex-basis: 100%; text-align: left; white-space: normal; }
  .honesty { white-space: normal; }
}

/* ═══ THE SECTIONS ══════════════════════════════════════════════════════════
   Seven, in the order they are read, each a translucent tile with its own title
   in the display face — Glance · Moment state · When today · For this person ·
   Trends · Underneath · Packet. A tile is where grouping helps (spec §9); inside
   one, hairlines do the rest. */
.xsec {
  margin-top: var(--s-6);
  padding: var(--s-5) clamp(14px, 2.2vw, 30px) var(--s-6);
  background: var(--tile); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-1);
}
.xhead { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; margin-bottom: var(--s-3); }
.xtitle {
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 500;
  line-height: var(--lh-tight); letter-spacing: -.01em; color: var(--ink);
}
.xgloss { font-size: var(--fs-label); color: var(--ink-3); }
/* A section whose title is also its disclosure (when today, trends): the whole
   title is the button, and a chevron says which way it is. */
.xtitle > button.bandtoggle {
  font: inherit; color: inherit; letter-spacing: inherit; background: none; border: 0;
  padding: 0; min-height: var(--target); display: inline-flex; align-items: center; gap: 10px;
}
.xtitle > button.bandtoggle:hover { background: none; }
.xtitle > button.bandtoggle::after {
  content: ''; width: 8px; height: 8px; margin-top: -4px;
  border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: rotate(45deg);
  transition: transform var(--d-small) var(--ease);
}
.xtitle > button.bandtoggle[aria-expanded="false"]::after { transform: rotate(-45deg); margin-top: 0; }
@media (prefers-reduced-motion: reduce) { .xtitle > button.bandtoggle::after { transition: none; } }

/* ── the day strip, inside the Glance section ─────────────────────────────── */
.dayband { margin-bottom: var(--s-5); }
.bandhead { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin-bottom: 6px; }
button.bandtoggle {
  border: 0; background: none; padding: 0; min-height: 28px;
  font-size: var(--fs-label); font-weight: 600; color: var(--ink-2);
}
button.bandtoggle:hover { background: none; color: var(--ink); }
.dayband button.bandtoggle::after { content: ' ▾'; color: var(--ink-3); }
.dayband button.bandtoggle[aria-expanded="false"]::after { content: ' ▸'; }
.bandsum { font-size: var(--fs-meta); color: var(--ink-3); }
.dayband .bandbody[hidden] { display: none; }

.keydetails { margin-top: 4px; }
.keydetails > summary {
  font-size: var(--fs-meta); font-weight: 600; color: var(--ink-3); cursor: pointer; list-style: none;
}
.keydetails > summary::-webkit-details-marker { display: none; }
.keydetails > summary::before { content: none; }
.keydetails > summary::after { content: ' ▸'; }
.keydetails[open] > summary::after { content: ' ▾'; }
.keydetails > summary:hover { color: var(--ink-2); }

/* ── underneath: the kernel's own report ─────────────────────────────────── */
.factsband .bandhead { margin-bottom: 0; }

/* ── the ribbon ──────────────────────────────────────────────────────────────
   Hierarchy is built from three things, in this order: the windows band is the
   tall one and the only one whose labels sit in full `ink`; the day's own light
   runs under every band so the ribbon reads as a day rather than a grid; and the
   three overlaid windows are told apart by texture — diagonal hatch, vertical
   striation, smooth lift — carrying a muted hue as well, so they can be found
   without being read. Texture is what survives if the hue is ever wrong; hue is
   what makes the band findable at a glance. Neither one grades anything.

   Verticals are rationed. Only five things may run the height of the plot: the
   three solar ticks, the cursor and the now-marker. Block edges are shown by the
   change of fill, reading instants by dots on their own lane, and pāda quarters
   by a 7px hairline that stays inside its band.
   ────────────────────────────────────────────────────────────────────────── */
.ribbonwrap { margin-bottom: 2px; }
.ribbon {
  position: relative; user-select: none; touch-action: none; cursor: crosshair;
  border: 1px solid var(--line-strong); border-radius: var(--r-sm); overflow: hidden;
  background: var(--ribbon-ground);
}

/* the day's own light — sunrise→sunset, under every band */
.ground { position: absolute; left: var(--namecol); right: 0; top: 0; bottom: 0;
  z-index: 0; pointer-events: none; }
.daylight { position: absolute; top: 0; bottom: 0; background: var(--daylight); }

/* ── bands ────────────────────────────────────────────────────────────────
   Heights are DENSER than they were (26 → 19, anchor 54 → 40). Seven bands at
   the old scale is a 200px wall before a word of the prediction is reached, and
   the founder's 2026-08-30 note names that as the page's worst fault. Nothing
   was removed to buy it: every band, every lane and every label tier survives,
   and the fitter in ribbon.js measures WIDTH, so a shorter band loses no text. */
.track { position: relative; height: 19px; border-top: 1px solid var(--line-strong); }
.ground + .track { border-top: 0; }
.track.anchor { height: 40px; }              /* the anchor row: two lanes */
.track.anchor.solo { height: 26px; }         /* …one, when nothing lies across */
.track.lagna { border-top-color: var(--rule-section); }   /* not fabric — its own thing */

.lane { position: absolute; left: 0; right: 0; }
.track.anchor .lane.main { top: 0; height: 24px; }
.track.anchor .lane.over { top: 24px; bottom: 0; border-top: 1px solid color-mix(in srgb, var(--ink) 5%, transparent); }
.track.anchor.solo .lane.main { top: 0; bottom: 0; height: auto; }
.track.anchor.solo .lane.over { display: none; }

/* ── blocks ─────────────────────────────────────────────────────────────── */
/* No border-left: a block's opening edge is the step in fill, which every band
   already gives it by alternating. Thirty-odd hairlines added nothing the fills
   were not already saying, and they read as part of the vertical clutter. */
.seg {
  position: absolute; top: 0; bottom: 0; overflow: hidden;
  display: flex; align-items: center; padding: 0 var(--seg-pad); white-space: nowrap;
  /* 13px is mirrored by FONT.name in ribbon.js — the fitter measures with that
     exact shorthand, so this size may not move without moving that one. The
     line-height is pinned to 1 so a 13px label sits inside a 19px band. */
  font-size: 13px; line-height: 1; color: var(--ink-2);
  transition: background-color 140ms ease, color 140ms ease;
}
.seg .lab { display: flex; align-items: center; gap: var(--seg-gap); min-width: 0; }
.seg .t { font-family: var(--font-ui); font-size: 12px;
  color: var(--ink-2); flex: none; }
.seg .nm, .seg .sh { flex: none; }
.seg .sh { display: none; }

/* The fitted tiers — see FIT and shortForm() in ribbon.js. A block takes the
   richest label it can pay for: time + name, name, the short form, or none at
   all. Nothing is ever cut mid-word, and `title` carries the whole truth at
   every tier. */
.seg[data-fit="name"] .t,
.seg[data-fit="short"] .t { display: none; }
.seg[data-fit="short"] .nm { display: none; }
.seg[data-fit="short"] .sh { display: block; }
.seg[data-fit="short"] { padding: 0 var(--seg-pad-short); }
.seg[data-fit="mark"] .lab { display: none; }

/* a span with empty lane beside it hangs its label off its edge rather than
   fall to a poorer tier — only the overlay lane ever has that room. Right by
   preference; left when the day runs out first. */
.seg.out, .seg.out-l { overflow: visible; z-index: 2; }
.seg.out .lab, .seg.out-l .lab { position: absolute; top: 50%; transform: translateY(-50%); }
.seg.out .lab { left: 100%; margin-left: 6px; }
.seg.out-l .lab { right: 100%; margin-right: 6px; }

.seg.a { background-color: var(--band-a); }
.seg.b { background-color: var(--band-b); }
.seg.night { background-color: var(--band-night); }

/* the anchor lane speaks one step louder than the fabric below it */
.track.anchor .lane.main .seg { color: var(--ink); }
.track.anchor .lane.main .seg.night { color: var(--ink-2); }

/* ── the three overlaid windows, by texture and hue. The legend swatches share
   these very rules, so the key cannot drift from the band. Each one keeps its
   texture as the top background layer and takes its hue as a flat layer under
   it, so tuning the colour can never cost the texture. ─────────────────── */

/* shadow octant — held back: a darkened notch, cool slate, under a fine hatch.
   Near black there is no room left for chroma, and the notch has to stay dark,
   so the slate wash is faint and the HATCH carries the hue instead — the
   texture is the thing with enough contrast to hold a colour up here. */
.seg.shadow, .legend .sw.shadow {
  background-color: var(--notch);
  background-image:
    repeating-linear-gradient(135deg, color-mix(in srgb, var(--winter-text) 13%, transparent) 0 1px, transparent 1px 5px),
    linear-gradient(color-mix(in srgb, var(--winter-fill) 12%, transparent), color-mix(in srgb, var(--winter-fill) 12%, transparent));
}
/* the poison stretch — darkest ground, finely striated in clay, closed with a
   clay rule. That rule used to be the `hold` verdict hue exactly; it is the
   Volcano terrain hue now, because a window kind must not borrow a verdict. */
.seg.visha, .legend .sw.visha {
  background-color: var(--notch);
  background-image:
    repeating-linear-gradient(90deg, color-mix(in srgb, var(--volcano-text) 10%, transparent) 0 1px, transparent 1px 4px),
    linear-gradient(color-mix(in srgb, var(--volcano-fill) 26%, transparent), color-mix(in srgb, var(--volcano-fill) 26%, transparent));
  box-shadow: inset 0 -1.5px 0 0 color-mix(in srgb, var(--volcano-fill) 55%, transparent);
}
/* Abhijit — the noon door: the one lift, warm, framed above and below */
.seg.abhijit, .legend .sw.abhijit {
  background-image: linear-gradient(180deg, color-mix(in srgb, var(--workshop-fill) 34%, transparent), color-mix(in srgb, var(--workshop-fill) 17%, transparent));
  box-shadow: inset 0 1px 0 0 color-mix(in srgb, var(--workshop-fill) 52%, transparent), inset 0 -1px 0 0 color-mix(in srgb, var(--workshop-fill) 52%, transparent);
}
.seg.abhijit { color: var(--ink); }
.seg.shadow, .seg.visha { color: var(--ink); }
.seg.shadow .t, .seg.visha .t { color: var(--ink-2); }

/* ── one hover lift, every kind ─────────────────────────────────────────────
   Each treatment used to hover differently and Abhijit did not hover at all,
   because a hue laid over black damps a change in the black underneath it. So
   the lift is a layer of its own instead: `.seg::before` is transparent until
   the pointer arrives, and then it is the same wash on a day-part, a shadow
   octant, the noon door and the poison stretch alike. The block list's rows
   lift by the same step for the same reason — they are the same target. */
.seg::before {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-color: transparent; transition: background-color 140ms ease;
}
.seg .lab { position: relative; z-index: 1; }
@media (hover: hover) {
  .seg:hover { color: var(--ink); }
  .seg:hover::before { background-color: var(--seg-hover); }
}
@media (prefers-reduced-motion: reduce) { .seg::before { transition: none; } }

/* ── ticks ────────────────────────────────────────────────────────────────
   The solar ticks are the ONLY full-height dashes left on the plot, and they
   keep the distinction they always had: sunrise and sunset dashed, solar noon
   dotted and a step fainter. Everything else that used to be a full-height dash
   is now a dot, a fill change, or gone. */
.padatick { position: absolute; bottom: 0; height: 7px;
  border-left: 1px solid color-mix(in srgb, var(--ink) 22%, transparent); }
.solartick { position: absolute; top: 0; bottom: 0; border-left: 1px dashed var(--tick-solar); }
.solartick.noon { border-left-style: dotted; border-left-color: var(--tick-noon); }

/* ── the reading marker lane ────────────────────────────────────────────────
   One dot per Oracle reading, on a lane of its own, 16px tall. Hover names the
   moment the Oracle gave the instant; a click moves the cursor exactly onto it.
   The ::after is the hit target — a 6px dot is honest at this density but is
   not something a hand can reliably hit. */
.track.marks { height: 13px; }
/* A real <button>, not a div with a click handler: the marker is a control that
   moves the cursor, so it has to be reachable by Tab and operable by Enter and
   Space like every other control on the page. Everything the element's own
   button styling would bring is reset here. */
.readingdot {
  position: absolute; top: 50%; left: 0; width: 6px; height: 6px;
  margin: -3px 0 0 -3px; border: 0; border-radius: 50%; padding: 0; min-height: 0;
  appearance: none; background: var(--tick-reading);
  cursor: pointer; transition: background-color 140ms ease, transform 140ms ease;
}
.readingdot:focus-visible { transform: scale(1.6); background: var(--ink); }
.readingdot::after { content: ''; position: absolute; inset: -5px -4px; }
@media (hover: hover) { .readingdot:hover { background: var(--ink); transform: scale(1.6); } }
@media (prefers-reduced-motion: reduce) { .readingdot { transition: none; } }

/* ── the band-name column ───────────────────────────────────────────────── */
.trackname {
  position: absolute; left: 0; top: 0; bottom: 0; width: var(--namecol); z-index: 3;
  display: flex; align-items: center; padding: 0 10px 0 12px;
  background: var(--ribbon-ground); border-right: 1px solid var(--line-strong);
  /* A 19px track has room for one line and no more: a two-word name that wraps
     draws its second line straight through the band below it. It clips instead,
     and the element's `title` (ribbon.js) still carries the whole word. */
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  /* It used to be `pointer-events: none`, which also meant no `title` could ever
     show on it. It takes the pointer now, and app.js declines to scrub when a
     press lands here — pressing a band's NAME used to throw the cursor to 00:00,
     because the name column sits left of the plot the press was mapped onto. */
  cursor: default;
}
.track.anchor > .trackname { color: var(--ink-2); }
.plot { position: absolute; left: var(--namecol); right: 0; top: 0; bottom: 0; }

/* ── cursor, selection, now-marker ──────────────────────────────────────────
   Two lines, and they must never be confused. The CURSOR (.nowline) is where
   you are looking: 1.5px of full ink, capped with a triangle at each end, and
   carrying the interface's one permanent motion — the 4s breath. The NOW-MARKER
   (.nowmark) is where the clock actually is: a still hairline at a third of
   ink, capped with a small dot, drawn only when the real instant falls inside
   the day on screen. Bright and moving is the thing you control; quiet and
   still is the thing that is simply true. */
.overlay { position: absolute; left: var(--namecol); right: 0; top: 0; bottom: 0;
  pointer-events: none; z-index: 4; }
.selband { position: absolute; top: 0; bottom: 0; background: color-mix(in srgb, var(--ink) 5%, transparent);
  box-shadow: inset 1px 0 0 0 color-mix(in srgb, var(--ink) 20%, transparent), inset -1px 0 0 0 color-mix(in srgb, var(--ink) 20%, transparent); }
.nowline { position: absolute; top: 0; bottom: 0; width: 1.5px; background: var(--ink);
  animation: breath 4s ease-in-out infinite; }
.nowline::before, .nowline::after {
  content: ''; position: absolute; left: -3.25px;
  border-left: 4px solid transparent; border-right: 4px solid transparent;
}
.nowline::before { top: 0; border-top: 5px solid var(--ink); }
.nowline::after { bottom: 0; border-bottom: 5px solid var(--ink); }

.nowmark { position: absolute; top: 0; bottom: 0; border-left: 1px solid var(--tick-now); }
.nowmark::before { content: ''; position: absolute; left: -2.5px; top: 0;
  width: 5px; height: 5px; border-radius: 50%; background: var(--tick-now); }
/* one-shot, on pressing Now — motion because the meaning changed, then still */
.nowmark.flash { animation: nowflash 900ms ease-out 2; }
@keyframes nowflash {
  0% { border-left-color: var(--ink); }
  100% { border-left-color: var(--tick-now); }
}

@keyframes breath { 0%, 100% { opacity: .95 } 50% { opacity: .55 } }
@media (prefers-reduced-motion: reduce) {
  .nowline { animation: none }
  .nowmark.flash { animation: none }
  .seg { transition: none }
}

/* ── axis ───────────────────────────────────────────────────────────────── */
.axis { position: relative; height: 20px; margin-left: var(--namecol); }
.axis .minor { position: absolute; top: 0; height: 3px;
  border-left: 1px solid color-mix(in srgb, var(--ink) 7%, transparent); }
.axis .tick { position: absolute; top: 6px; transform: translateX(-50%);
  font-family: var(--font-ui); font-size: 12px; font-variant-numeric: tabular-nums;
  color: var(--ink-2); }
.axis .tick::before { content: ''; position: absolute; left: 50%; top: -8px; height: 6px;
  border-left: 1px solid var(--rule-section); }
.axis .tick.edge-l { transform: none; }
.axis .tick.edge-l::before { left: 0; }
.axis .tick.edge-r { transform: translateX(-100%); }
.axis .tick.edge-r::before { left: 100%; }

/* ── legend ─────────────────────────────────────────────────────────────── */
.legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px;
  margin-top: 8px; margin-left: var(--namecol); font-size: 13px; color: var(--ink-2); }
.legend .k { display: inline-flex; align-items: center; gap: 8px; }
.legend .kn { display: inline-flex; align-items: center; gap: 6px; }
.legend .note { color: var(--ink-3); }

/* ── legend glyphs ──────────────────────────────────────────────────────────
   Inline SVG, stroked in currentColor at 12px (see GLYPH in ribbon.js for why
   they are not characters). Each window glyph takes its terrain's paired `text`
   variant, held back to --glyph-hold so a 12px key never outshouts the band it
   keys; the day-part and night entries take no glyph at all, because their
   swatch already says everything a mark could. */
.g { width: 12px; height: 12px; flex: none; fill: none; stroke: currentColor;
  stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; }
.legend .g-sunrise, .legend .g-noon, .legend .g-sunset {
  color: color-mix(in srgb, var(--workshop-text) var(--glyph-hold), transparent); }
.legend .g-shadow { color: color-mix(in srgb, var(--winter-text) var(--glyph-hold), transparent); }
.legend .g-abhijit { color: color-mix(in srgb, var(--workshop-text) var(--glyph-hold), transparent); }
.legend .g-visha { color: color-mix(in srgb, var(--volcano-text) var(--glyph-hold), transparent); }
.legend .g-reading { color: var(--tick-reading); }   /* the marker lane's own dot */
/* the swatch sits on the ribbon's own ground, so a low-alpha fill reads here
   exactly as it reads in the band — the key is the treatment, not a copy */
.legend .swwrap { flex: none; display: block; width: 22px; height: 12px;
  border: 1px solid var(--line-strong); border-radius: 2px; overflow: hidden;
  background: var(--ribbon-ground); }
.legend .swwrap.plain { width: 12px; height: 14px; border: 0; border-radius: 0; background: none; }
.legend .sw { display: block; width: 100%; height: 100%; }
.legend .sw.a { background-color: var(--band-a); }
.legend .sw.b { background-color: var(--band-b); }
.legend .sw.night { background-color: var(--band-night); }
.legend .sw.tick, .legend .sw.now { position: relative; }
.legend .sw.tick::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0;
  border-left: 1px dashed var(--tick-solar); }
.legend .sw.tick.noon::before { border-left-style: dotted; border-left-color: var(--tick-noon); }
/* the now-marker's key — the same token and the same dot cap as `.nowmark` */
.legend .sw.now::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0;
  border-left: 1px solid var(--tick-now); }
.legend .sw.now::after { content: ''; position: absolute; left: calc(50% - 2.5px); top: 0;
  width: 5px; height: 5px; border-radius: 50%; background: var(--tick-now); }

/* wide by design (README), but it must not fall apart when the window is not */
@media (max-width: 900px) {
  .ribbon, .axis { --namecol: 84px; }
  .legend { margin-left: 0; gap: 8px 18px; }
}
@media (max-width: 640px) {
  .ribbon, .axis { --namecol: 84px; }
  .trackname { font-size: 12px; padding: 0 6px 0 8px; }
  /* Nine hour labels across 300px is one grey smear. The six-hour ruler is still
     a ruler, and the minor marks keep every hour visible as a tick. */
  .axis .tick.three { display: none; }
}

/* ── the export packet controls ──────────────────────────────────────────────
   Sits between the ribbon and the panel because that is where the cursor's
   instant is: whatever the ribbon says is under the cursor is what these two
   buttons hand over. Quiet by intent — ghost buttons at the panel's own 13px,
   no fill, no accent; the only state either of them takes is a brief "Copied".
   ────────────────────────────────────────────────────────────────────────── */
.packetbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.packetbar > .label { margin-right: 2px; }
button.packetbtn {
  font-size: 13px; padding: 5px 11px; min-height: 28px;
  color: var(--ink-2); border-color: var(--line-strong);
  transition: color .18s ease, border-color .18s ease;
}
button.packetbtn:hover:not(:disabled) { color: var(--ink); border-color: var(--ink-3); }
button.packetbtn:disabled { cursor: progress; color: var(--ink-3); }
button.packetbtn.done { color: var(--go); border-color: color-mix(in srgb, var(--go) 42%, transparent); }
.packetnote { font-size: 13px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.packetnote.err { color: var(--hold); }
.packethint { flex: 1 1 24ch; min-width: 20ch; font-size: 13px; color: var(--ink-3); text-align: right; }
@media (max-width: 900px) { .packethint { text-align: left; } }
@media (prefers-reduced-motion: reduce) { button.packetbtn { transition: none; } }

/* ── the block panel ─────────────────────────────────────────────────────── */
.panelgrid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 44px; margin-top: 4px; }
@media (max-width: 980px) { .panelgrid { grid-template-columns: 1fr; gap: 30px } }

.blockhead { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px; }
.blockhead .span { font-family: var(--font-ui); font-size: 22px; color: var(--ink); font-variant-numeric: tabular-nums; }
.blockhead .dur { font-family: var(--font-ui); font-size: 13px; color: var(--ink-2); }
.edges { margin-top: 8px; font-size: 13px; color: var(--ink-2); }
.edges .cause { color: var(--ink); }

.section { border-top: 1px solid var(--line-strong); margin-top: 24px; padding-top: 16px; }
.section > .label { display: block; margin-bottom: 12px; }

/* The plain label leads; the engine's own field path follows it in `ink.faint`
   so a number on this page can always be traced back to the state that holds
   it — without a jargon wall standing in front of the reader. */
.sectionhead { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin-bottom: 12px; }
.sectionhead > .label { margin-bottom: 0; }
.sectionhead .tech { font-size: 12px; color: var(--ink-3); }

/* ONE section on the page is set at title size — the qualities panel, which is
   the page's subject rather than one of its parts (founder, 2026-08-31). A
   second `prime` would make it no longer prime, so there is exactly one. */
.section.prime { border-top-color: var(--rule-section); padding-top: 20px; }
.section.prime > .sectionhead > .label {
  font-family: var(--font-display); font-size: 1.375rem; font-weight: 500; letter-spacing: -.01em; color: var(--ink);
}

/* A demoted explainer. Everything the band used to print in full is here, one
   click away, and never between the reader and the numbers. */
details.note { margin: 6px 0 10px; }
details.note > summary {
  font-size: 12px; color: var(--ink-3); cursor: pointer; list-style: none; width: fit-content;
}
details.note > summary::-webkit-details-marker { display: none; }
details.note > summary::after { content: ' ▸'; }
details.note[open] > summary::after { content: ' ▾'; }
details.note > summary:hover { color: var(--ink-2); }
details.note > .gloss { margin-top: 6px; max-width: 82ch; }

.rows { display: grid; gap: 12px; }
.row { display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: 16px; align-items: baseline; }
/* a span that stacks — what a <button>'s phrasing-only content model leaves for
   building a two-line row out of (see the block list in panel.js) */
.stack { display: block; }

/* a row in the block list is the same target as a block on the ribbon, so it
   lifts by the same step on hover and reads as the same affordance. It is a
   <button> for the same reason the reading markers are: a row that moves the
   cursor must be reachable from the keyboard. */
.rows .row.blockrow {
  cursor: pointer; border: 0; border-radius: 3px; padding: 3px 7px; margin: -3px -7px;
  width: calc(100% + 14px); min-height: 0; text-align: left; font: inherit;
  background-color: transparent;
  color: var(--ink-2); transition: background-color 140ms ease, color 140ms ease;
}
.rows .row.blockrow.sel { color: var(--ink); background-color: color-mix(in srgb, var(--ink) 5%, transparent); }
@media (hover: hover) {
  .rows .row.blockrow:hover { color: var(--ink); background-color: color-mix(in srgb, var(--ink) 9%, transparent); }
}
@media (prefers-reduced-motion: reduce) { .rows .row.blockrow { transition: none; } }
@media (max-width: 560px) { .row { grid-template-columns: 1fr } }
.row .k { font-size: 12px; font-weight: 600; color: var(--ink-3); }
.row .k.mono { font-size: 13px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--ink-2); }
.row .v { font-size: 15px; }
.row .v .name { color: var(--ink); }
.row .v .when { font-family: var(--font-ui); font-size: 13px; color: var(--ink-2); }

.chiprow { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-size: 13px; font-weight: 500; color: var(--ink); border-radius: 999px; padding: 5px 12px;
  background: color-mix(in srgb, var(--ink) 6%, transparent); border: 1px solid var(--rule-section);
}
.chip.hold { background: color-mix(in srgb, var(--hold) 10%, transparent); border-color: color-mix(in srgb, var(--hold) 26%, transparent); }
.chip.open { background: color-mix(in srgb, var(--go) 9%, transparent); border-color: color-mix(in srgb, var(--go) 24%, transparent); }
.chip.quiet { color: var(--ink-2); }

details { margin-top: 6px; }
summary { cursor: pointer; font-size: 13px; color: var(--ink-2); list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::before { content: '▸ '; color: var(--ink-3); }
details[open] > summary::before { content: '▾ '; }
/* The header's popovers and the day strip's key carry their own markers. */
.pop { margin-top: 0; }
.pop > summary::before, .keydetails > summary::before { content: none; }

/* Every wide table on this page sits in one of these. The planet table is nine
   columns of nowrap measurements and the dimension tables are six; on a phone
   they used to push the whole DOCUMENT sideways, which loses the page's left
   edge for every other section too. A table may scroll; the page may not. */
.tablewrap { overflow-x: auto; overscroll-behavior-x: contain; }
.tablewrap > table { min-width: 34rem; }
.tablewrap > table.motifs, .tablewrap > table.planets, .tablewrap > table.graph { min-width: 40rem; }

table.planets { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 13px; }
table.planets th {
  text-align: left; font-size: 12px; font-weight: 600;
  color: var(--ink-3); padding: 0 10px 8px 0; border-bottom: 1px solid var(--line-strong); white-space: nowrap;
}
table.planets td { padding: 7px 10px 7px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
table.planets td.m { font-family: var(--font-ui); font-variant-numeric: tabular-nums; color: var(--ink-2); white-space: nowrap; }
table.planets td.n { color: var(--ink); }

/* ── the Oracle reading card — the only terrain color on this page ───────── */
.readingcard { border-top: 1px solid var(--terrain-hair, var(--line-strong)); margin-top: 24px; padding-top: 16px; }
.readingcard .moment { font-family: var(--font-display); font-weight: 500; font-size: 1.5rem; color: var(--terrain-text, var(--ink)); }
.readingcard .qual { color: var(--ink-3); }
.readingcard .prose { margin-top: 10px; font-size: 17px; line-height: 1.55; max-width: 62ch; }
.readingcard .src { margin-top: 10px; font-size: 13px; color: var(--ink-3); }
.readingcard .src .mono { color: var(--ink-2); }
.verdicts { display: grid; gap: 10px; margin-top: 16px; }
.verdictrow { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; align-items: baseline; }
.verdictrow .w { font-weight: 500; font-size: 1.0625rem; }
.verdictrow .w.go { color: var(--go) } .verdictrow .w.favorable { color: var(--favorable) }
.verdictrow .w.friction { color: var(--friction) } .verdictrow .w.hold { color: var(--hold) }
.verdictrow .a { font-size: 15px; }
.verdictrow .f { font-size: 13px; color: var(--ink-2); margin-top: 2px; }

/* ── the ENGINE band — P5, pre-Gate-A ────────────────────────────────────────
   Full width under the two panel columns, because what it shows is wide: 65
   dimensions across two lenses and 36 activity profiles do not fit a column.

   It carries NO verdict hue anywhere, for the same reason the ribbon carries
   none: the engine produces no verdict here (the pack's bands are
   uncalibrated), and painting one of the four hues on a status badge or an
   activity card would say otherwise. The `.averdict` rules below are the one
   exception and they are dormant — they only ever paint if a future build
   passes calibrated bands, and `unverdicted` is drawn in plain faint ink.
   ────────────────────────────────────────────────────────────────────────── */
/* The engine band is now the FIRST thing under the day strip, so it no longer
   needs the 44px of air that separated it from the panels above it. */
.enginepanel { margin-top: 0; }
.enginehead { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 16px; }
.enginehead .badge {
  font-size: 12px; font-weight: 600; color: var(--ink-2); white-space: nowrap;
  border: 1px solid var(--line-strong); border-radius: var(--r-pill); padding: 2px 10px;
}
.enginehead .engname { font-family: var(--font-display); font-weight: 500; font-size: 1.625rem; line-height: var(--lh-tight); color: var(--terrain-text, var(--ink)); }
.enginehead .engname .qual { color: var(--ink-3); }
.enginehead .engscore { font-size: 13px; color: var(--ink-2); }
.enginewhy { margin-top: 10px; max-width: 96ch; }

/* the one shared meter: a number over a hairline bar */
.mbar {
  display: block; width: 100%; max-width: 96px; height: 3px; margin-top: 3px;
  background: color-mix(in srgb, var(--ink) 7%, transparent); border-radius: 2px; overflow: hidden;
}
/* P1 — a bar is the channel's own hue, at the fill rung. The two evidence bars
   were an ink grey and a clay a reader had to squint at; they are now the two
   channel colours the words above them use, which is what makes a column of
   sixty-seven bars scannable at all. `sal` and the plain bar stay achromatic:
   salience is not a channel, it is how much of the moment a quality holds. */
.mbar .fill { display: block; height: 100%; background: color-mix(in srgb, var(--ink) 46%, transparent); }
.mbar.s .fill { background: var(--ch-s-bar); }
.mbar.o .fill { background: var(--ch-o-bar); }   /* obstruction reads as its own channel */
.mbar.sal .fill { background: color-mix(in srgb, var(--ink) 32%, transparent); }
.mbar.neg .fill { background: var(--ch-c-text); } /* a signed value below zero */

/* ── the glance — the shape of the instant, before its detail ────────────────
   Three measured figures (how much is happening, how much of it agrees, how fast
   it moves) and four counts, on one row directly under the band's name. They
   used to sit four sections down, behind thirty-six activity cards, which is the
   wrong place for the summary of everything below it. Nothing is duplicated: the
   old "shape of the whole" section is these three cells, moved. */
/* P5 — the strip is the band's summary, so its two rules are the SECTION rung,
   not the block rung: it is a boundary around the whole thing that follows. */
.glance {
  display: flex; flex-wrap: wrap; gap: 18px 36px; align-items: flex-start;
  margin-top: 14px; padding: 14px 0 16px;
  border-top: 1px solid var(--rule-section); border-bottom: 1px solid var(--rule-section);
}
.glance .metacell { min-width: 128px; }
.glance .counts { display: flex; flex-wrap: wrap; gap: 14px 26px; margin-left: auto; }
.glance .count { display: flex; flex-direction: column; gap: 2px; }
.glance .count .n {
  font-family: var(--font-ui); font-variant-numeric: tabular-nums;
  font-size: 19px; color: var(--ink);
}
.glance .count .l { font-size: 12px; color: var(--ink-3); }
@media (max-width: 720px) { .glance .counts { margin-left: 0; } }

/* ── the ledger — the lens, the holes, the receipt ───────────────────────────
   Three short sections that read together and each fit in a third of a wide
   page. Stacked they were three hairlines and a lot of air at the foot of the
   band; side by side they are one ledger, and they fall back to one column
   wherever a column would be narrower than its own contents. */
.ledger { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 0 40px; }
.ledger > .section { margin-top: 24px; }
.ledger .row { grid-template-columns: 92px minmax(0, 1fr); gap: 12px; }

/* meta */
.metarow { display: flex; flex-wrap: wrap; gap: 26px 40px; }
.metacell { display: flex; flex-direction: column; gap: 3px; min-width: 150px; }
.metacell .val { font-size: 19px; color: var(--ink); }
.metacell .gloss { font-size: 12px; max-width: 24ch; }

/* ══ THE QUALITIES OF THIS MOMENT ═══════════════════════════════════════════
   The head of the page: all 67 dimensions, grouped by the ontology's own two
   realms and nine families.

   COLOUR RULE, and it is the same one the rest of the band lives under: no
   verdict hue anywhere. A quality is not an act, and Go / Favorable / Friction /
   Hold are claims about acts. The only two hues on a quality row are the two
   already carrying the two channels everywhere else on this page — warm ink for
   support, clay for opposition — plus `--friction` for "contested", which this
   page has always used for exactly that word. Since §D-N item 4 it is the
   READING WORD's hue and nothing else's: a row that is merely a member of a
   tension does not take it, because a tension is a pair's condition and not
   that row's. "quiet" takes no hue at all, because quiet is not a finding about
   the moment, it is the absence of one. ────────────────────────────────────*/

/* One plain sentence at the head of a section, above its numbers: what the
   numbers ARE. Held to a reading measure and set in ink rather than ink-dim —
   it is the section's claim, not its footnote. */
.lede { margin-top: 2px; max-width: 88ch; font-size: 14px; color: var(--ink-2); }
.section > .lede { margin-bottom: 10px; }

.dimcontrols { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin: 12px 0 4px; }
.dimpills { display: flex; flex-wrap: wrap; gap: 6px; }
.dimpill {
  display: inline-flex; align-items: baseline; gap: 7px; cursor: pointer;
  padding: 5px 11px; border: 1px solid var(--line-strong); border-radius: 999px;
  background: transparent; color: var(--ink-2); font: inherit; font-size: 12px;
}
.dimpill .n { font-size: 12px; color: var(--ink-3); }
.dimpill:hover { border-color: var(--rule-section); color: var(--ink); }
.dimpill:focus-visible { outline: 2px solid var(--rule-section); outline-offset: 2px; }
/* The pressed pill is the current state, so it is the one drawn in full ink on a
   lifted ground; everything else is an option, held back. */
.dimpill[aria-pressed="true"] {
  color: var(--ink); border-color: var(--rule-section); background: color-mix(in srgb, var(--ink) 10%, transparent);
}
.dimpill[aria-pressed="true"] .n { color: var(--ink-2); }
/* ── verdict-tinted pills (the activities filter, 2026-08-31) ───────────────
   The four rung filters take the same four verdict hues the cards they select
   are laned in, at P1's fill and edge rungs — so the pill and the band of cards
   it isolates are the same colour, and pressing one is visibly the same act as
   scrolling to that band. Unpressed they carry only the edge; pressed they take
   the fill too, which keeps the existing pill's pressed/unpressed grammar. */
.dimpill.p-go { border-color: color-mix(in srgb, var(--go) 38%, transparent); }
.dimpill.p-go[aria-pressed="true"] { background: color-mix(in srgb, var(--go) 12%, transparent); border-color: color-mix(in srgb, var(--go) 55%, transparent); }
.dimpill.p-go .n { color: var(--go); }
.dimpill.p-favorable { border-color: color-mix(in srgb, var(--favorable) 38%, transparent); }
.dimpill.p-favorable[aria-pressed="true"] { background: color-mix(in srgb, var(--favorable) 12%, transparent); border-color: color-mix(in srgb, var(--favorable) 55%, transparent); }
.dimpill.p-favorable .n { color: var(--favorable); }
.dimpill.p-friction { border-color: color-mix(in srgb, var(--friction) 38%, transparent); }
.dimpill.p-friction[aria-pressed="true"] { background: color-mix(in srgb, var(--friction) 12%, transparent); border-color: color-mix(in srgb, var(--friction) 55%, transparent); }
.dimpill.p-friction .n { color: var(--friction); }
.dimpill.p-hold { border-color: color-mix(in srgb, var(--hold) 38%, transparent); }
.dimpill.p-hold[aria-pressed="true"] { background: color-mix(in srgb, var(--hold) 12%, transparent); border-color: color-mix(in srgb, var(--hold) 55%, transparent); }
.dimpill.p-hold .n { color: var(--hold); }
.dimpill.p-bound { border-color: var(--ch-o-edge); }
.dimpill.p-bound[aria-pressed="true"] { background: var(--ch-o-fill); border-color: var(--ch-o-edge); }
.dimpill.p-bound .n { color: var(--ch-o-text); }
/* "contested first" on the qualities table — the contested channel's own hue. */
.dimpill.p-contested { border-color: var(--ch-x-edge); }
.dimpill.p-contested[aria-pressed="true"] { background: var(--ch-x-fill); border-color: var(--ch-x-edge); }
.dimpill.p-contested .n { color: var(--ch-x-text); }
/* A lens that measured nothing is INERT (no click into an empty state — founder,
   2026-08-31); its title still says why, one hover away, so it stays focusable
   and hoverable rather than `disabled`. */
.dimpill.off { color: var(--ink-3); border-style: dashed; }
.dimpill[aria-disabled="true"] { cursor: default; }
.dimpill[aria-disabled="true"]:hover { border-color: var(--line-strong); color: var(--ink-3); }

.dimbody { margin-top: 4px; }

/* the headline strips — what is loudest, before the map */
.dimlead { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 12px; margin: 10px 0; }
.dimlead > .label { flex: 0 0 auto; min-width: 12rem; }
/* P1 again, at chip scale: the two headline strips are the same two channels,
   so they take the same two triads. Before this pass both strips were one grey
   chip and the only difference between "strongest right now" and "most opposed
   right now" was the label to their left. */
.leadchip {
  display: inline-flex; align-items: baseline; gap: 8px;
  padding: 3px 10px; border-radius: 999px; font-size: 13px;
  border: 1px solid var(--ch-s-edge); background: var(--ch-s-fill);
}
.leadchip .lname { color: var(--ink); }
.leadchip .lval { font-size: 12px; font-family: var(--font-ui); color: var(--ch-s-text); }
.leadchip.o { border-color: var(--ch-o-edge); background: var(--ch-o-fill); }
.leadchip.o .lval { color: var(--ch-o-text); }
@media (max-width: 640px) { .dimlead > .label { min-width: 0; flex-basis: 100%; } }

/* ── THE PROFILE — the page's ONE figure (panel.js qualityProfile) ───────────
   Founder, 2026-08-31: *"no charts and graphs for the purpose of charts and
   graphs. Only where it adds value."* This one draws the shape of the moment
   across all 67 qualities at once, which the table under it cannot do at any
   height. It is built from the same two channel triads as everything else on
   this page, so the blue above the line and the clay below it mean here exactly
   what they mean in the table's two columns.

   It scrolls inside its own wrapper on a narrow screen rather than compressing
   to a smear: a figure whose columns are sub-pixel is not a figure. */
.qprofile { margin: 14px 0 6px; }
/* The plot and its axis scroll together; the caption is prose and stays outside
   the scroller, so it keeps its own measure and never sits under the figure's
   own scrollbar. */
.qp-plot { overflow-x: auto; overscroll-behavior-x: contain; }
.qp-plot > svg, .qp-plot > .qp-axis { min-width: 34rem; }
.qp-plot svg { display: block; width: 100%; height: 108px; }
.qprofile .qp-base { stroke: var(--rule-section); stroke-width: 1; }
/* The family axis is HTML for exactly one reason: the svg above it is drawn
   under `preserveAspectRatio="none"`, and text under a non-uniform scale is
   text drawn wrong. Flex-grown cells line up with the columns at every width
   without anything being measured. */
.qp-axis { display: flex; margin-top: 5px; }
.qp-axcell {
  flex: 1 1 0; min-width: 0; overflow: hidden; white-space: nowrap;
  border-left: 1px solid var(--line-strong); padding-left: 4px;
  /* 11px, not 10 — EXPERIENCE §1.3's one permitted exception to the 13px floor
     is exactly "the 11px uppercase tracking labels", and this is one of them. */
  font-size: 12px; font-weight: 600;
  color: var(--ink-3);
}
.qprofile .qp-s { fill: var(--ch-s-bar); }
.qprofile .qp-o { fill: var(--ch-o-bar); }
.qprofile .qp-hit { fill: transparent; }
.qprofile .qp-col { cursor: pointer; }
@media (hover: hover) {
  .qprofile .qp-col:hover .qp-hit { fill: color-mix(in srgb, var(--ink) 7%, transparent); }
}
/* A contested column is the one L4 statement this figure exists to make legible,
   so it is marked a second time — both bars lift to full strength, where every
   other column sits at the fill rung. Nothing is added; the same two bars get
   louder, which is what "both channels loud at once" should look like. */
.qprofile .qp-col.rd-contested .qp-s { fill: var(--ch-s-text); }
.qprofile .qp-col.rd-contested .qp-o { fill: var(--ch-o-text); }
.qprofile figcaption { margin-top: 8px; font-size: 12px; max-width: 96ch; }

/* Landing on a row from the figure. One breath of the contested tint, then
   nothing — the page's only other animation is the 4s wait-breath, and this is
   held to the same restraint. Silent under reduced motion, where the row is
   simply scrolled to. */
@keyframes qflash { 0% { background-color: var(--ch-s-fill); } 100% { background-color: transparent; } }
table.dims.qualities tr.qrow.qflash td { animation: qflash 1.2s ease-out 1; }
@media (prefers-reduced-motion: reduce) {
  table.dims.qualities tr.qrow.qflash td { animation: none; }
}

/* a realm — the outer grouping, one hairline and a caption per realm */
.realmblock { margin-top: 22px; }
.realmcap { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; }
.realmcap .rlabel { font-family: var(--font-display); font-size: 1.1875rem; font-weight: 500; color: var(--ink); }
.realmcap .rid { font-size: 12px; color: var(--ink-3); }
.realmcap .gloss { flex: 1 1 22rem; }

table.dims, table.motifs { width: 100%; border-collapse: collapse; margin-top: 10px; font-size: 13px; }
table.dims th, table.motifs th {
  text-align: left; font-size: 12px; font-weight: 600;
  color: var(--ink-3); padding: 0 10px 8px 0; border-bottom: 1px solid var(--line-strong); white-space: nowrap;
}
table.dims td, table.motifs td {
  padding: 7px 10px 7px 0; border-bottom: 1px solid var(--line); vertical-align: top;
}
table.dims td.n, table.motifs td.n { color: var(--ink); }
table.dims td.m, table.motifs td.m {
  font-family: var(--font-ui); font-variant-numeric: tabular-nums; color: var(--ink-2); white-space: nowrap;
}
td.meter { min-width: 86px; }
td.meter .num {
  font-family: var(--font-ui); font-variant-numeric: tabular-nums; font-size: 12px; color: var(--ink-2);
}
/* ── a member row's tension cross-reference ──────────────────────────────────
   NOT `--friction`, and that is the whole point (§D-N item 4). This page uses
   `--friction` for the literal word "contested", which is L4's statement about
   ONE quality's own two channels. A tension is a collision between two channels
   on two DIFFERENT rows, so a member row wearing the contested hue said the
   same wrong thing the old "pulls both ways" wording said, in colour. The line
   is set in dim ink: it is a pointer to the pair below, not a reading of this
   row, and the row's own reading already has its word and its tint.

   Scoped to a CELL on purpose. Unscoped, a rule like this reaches anything in
   the table carrying the class — including a row classed by its reading — and
   `display: block` on a `<tr>` quietly destroys that row's columns. */
table.dims td .tension {
  display: block; width: 100%; margin-top: 3px; padding: 0;
  font: inherit; font-size: 12px; text-align: left; color: var(--ink-2);
  background: none; border: 0; border-left: 2px solid var(--rule-section);
  padding-left: 8px; cursor: pointer;
}
table.dims td .tension .thead { display: block; color: var(--ink-2); }
table.dims td .tension .tgloss { display: block; color: var(--ink-3); }
@media (hover: hover) {
  table.dims td .tension:hover { border-left-color: var(--ch-x-edge); }
  table.dims td .tension:hover .thead { color: var(--ink); }
}
table.dims td .tension:focus-visible { outline: 2px solid var(--ch-x-edge); outline-offset: 2px; }
/* Held to a reading measure so the two lines wrap under the name instead of
   widening the column. */
table.dims.qualities td.n .tension { max-width: 40ch; }

/* ── the qualities table itself ──────────────────────────────────────────────
   Nine columns of numbers that must all stay at full precision, so it scrolls
   inside its own .tablewrap rather than shrinking a figure. */
.tablewrap > table.dims.qualities { min-width: 62rem; }
.tablewrap > table.dims.qualities.grouped { min-width: 58rem; }

table.dims.qualities td.n { min-width: 13rem; }
table.dims.qualities .qname { color: var(--ink); }
table.dims.qualities .qnum { font-size: 12px; color: var(--ink-3); margin-left: 7px; }
table.dims.qualities td.fam { font-size: 12px; }

/* a family separator inside a realm's table: a ruled line with the family's own
   name on it, so the table reads as a map rather than as sixty-seven rows */
table.dims.qualities tr.famrow > td {
  padding: 16px 0 5px; border-bottom: 1px solid var(--rule-section);
}
table.dims.qualities tr.famrow:first-child > td { padding-top: 4px; }
table.dims.qualities tr.famrow .fam {
  font-size: 12px; font-weight: 600; color: var(--ink);
}
table.dims.qualities tr.famrow .famgloss { font-size: 12px; color: var(--ink-2); }
table.dims.qualities tr.famrow .famcount { font-size: 12px; color: var(--ink-3); }

/* The reading word. Its hue is the channel's own hue, never a verdict's. */
table.dims.qualities td.reading { white-space: nowrap; }
/* Two marks can sit here — the support/opposition reading, and the ceiling
   beside it when one stands over the quality. They are two different statements
   and are drawn as two words, never merged into one. */
table.dims.qualities td.reading .rword + .rword { margin-left: 8px; }
/* One word, one channel hue (P1/P3). Set at 500 rather than 400: at 12px a hue
   this far from the ink needs a little weight to hold its colour, and the four
   words are the column a reader scans. */
.rword { font-size: 12px; font-weight: 500; }
.rword.rd-supported { color: var(--ch-s-text); }
.rword.rd-opposed { color: var(--ch-o-text); }
.rword.rd-contested { color: var(--ch-x-text); }
.rword.rd-quiet { color: var(--ink-3); font-weight: 400; }
/* The cap is the THIRD statement and now the third hue — it used to be drawn in
   opposition's clay, which said "opposed" twice on a row that was not opposed. */
.rword.rd-capped { color: var(--ch-c-text); border-bottom: 1px dashed var(--ch-c-edge); }

/* A quiet row is held back so the eye lands on what is in play — the same
   reading-order discipline the inventory's "not present" rows use. */
table.dims.qualities tr.qrow.rd-quiet td { color: var(--ink-3); }
table.dims.qualities tr.qrow.rd-quiet .qname { color: var(--ink-2); }
/* The contested row's SECOND channel of separation (P3): the word is gold and
   the row is tinted, so the state never depends on telling 36° from 15° at
   12px. Raised from .045, where it was not a tint so much as a rumour. */
table.dims.qualities tr.qrow.rd-contested { background: var(--ch-x-fill); }
table.dims.qualities td.ceil.capped { color: var(--ch-c-text); }
/* The two evidence columns carry their channel's hue in the NUMBER as well as
   in the bar under it, so a reader scanning down a column is scanning one
   colour and the two columns never blur into each other. Selected off the bar
   the cell already contains rather than off a new class, so panel.js is
   untouched: `meterCell` puts `.mbar.s` / `.mbar.o` in the cell and that IS the
   statement of which channel the cell is. A quiet row's numbers stay held back,
   because a hue on 0.000 would be a colour claiming a finding. */
table.dims.qualities td.meter:has(.mbar.s) .num { color: var(--ch-s-text); }
table.dims.qualities td.meter:has(.mbar.o) .num { color: var(--ch-o-text); }
table.dims.qualities tr.qrow.rd-quiet td.meter .num { color: var(--ink-3); }

/* ── per-quality source attribution (panel.js sourceDetail) ──────────────────
   Every quality row expands into the ledger rows that put its numbers there.
   The row itself is the click target; the small disclosure control is the one
   the keyboard reaches, and the detail row is toggled by `hidden` so opening
   one costs nothing. Channel hues are the table's own: warm ink for support,
   clay for opposition and for a cap. */
table.dims tr[hidden] { display: none; }
tr.qrow.expandable { cursor: pointer; }
.qdisc {
  background: transparent; border: 0; padding: 0 7px 0 0; margin: 0;
  color: var(--ink-3); cursor: pointer; font: inherit; font-size: 12px;
}
tr.qrow.expandable:hover .qdisc { color: var(--ink); }
.qdisc:focus-visible { outline: 2px solid var(--rule-section); outline-offset: 2px; }
tr.qsrcrow > td {
  padding: 2px 10px 12px 22px;
  border-bottom: 1px solid var(--line);
}
.qsources { display: flex; flex-wrap: wrap; gap: 10px 36px; }
.qsources > .empty { margin: 2px 0 0; font-size: 12px; }
.qsrcgroup { min-width: 15rem; max-width: 30rem; }
.qsrcgroup .glabel {
  display: block; font-size: 12px; font-weight: 600; color: var(--ink-3);
}
/* The group's head: what the rows under it are, what the channel reached, and
   the rule that joins the two. The rule is set faint and small on purpose — it
   is there so nobody reads the rows as a column of addends, not to be read
   every time. */
.qsrchead { margin-bottom: 4px; }
.qsrchead .qsrcsum {
  display: block; font-size: 12px; color: var(--ink-2);
  font-variant-numeric: tabular-nums; margin-top: 1px;
}
.qsrchead .qsrcrule {
  display: block; font-size: 12px; line-height: 1.35; color: var(--ink-3);
  max-width: 44ch; margin-top: 1px;
}
.qsources > .gloss { flex-basis: 100%; font-size: 12px; margin: 4px 0 0; }
/* "supported by" / "against" / "capped by" — three groups, three channels, and
   until this pass the last two shared one clay, so an expansion's two right-hand
   groups read as one long list of things arguing against the quality. Each
   group now takes its channel's own hue, and carries a 1px rule of the same at
   the edge rung so the three read as three even when one of them is empty. */
.qsrcgroup { border-left: 1px solid var(--line); padding-left: 11px; }
.qsrcgroup.ch-s { border-left-color: var(--ch-s-edge); }
.qsrcgroup.ch-o { border-left-color: var(--ch-o-edge); }
.qsrcgroup.ch-c { border-left-color: var(--ch-c-edge); }
.qsrcgroup.ch-s .glabel { color: var(--ch-s-text); }
.qsrcgroup.ch-o .glabel { color: var(--ch-o-text); }
.qsrcgroup.ch-c .glabel { color: var(--ch-c-text); }
.srcline { display: flex; align-items: baseline; gap: 10px; font-size: 12px; padding: 1px 0; }
.srcline .smotif { color: var(--ink-2); }
.srcline .sweight { font-variant-numeric: tabular-nums; color: var(--ink); }
.srcline .sepi { font-size: 12px; color: var(--ink-3); }
.srcline .smask { font-size: 12px; color: var(--ch-o-text); }
.srcmore { font-size: 12px; color: var(--ink-3); margin-top: 2px; }

/* ── the whole inventory / the sources table (panel.js sourcesBlock) ─────────
   256 rows where the fired table has thirty, so the two things this section
   needs that no other table on the page does are a way to narrow it and a way to
   read an outcome at a glance without reading the word.

   The outcome hues are deliberately NOT the verdict palette: "not present" is
   not a bad outcome, it is the ordinary one, and painting two hundred rows in
   `--hold` would turn a plain inventory into an alarm. Only two rows-classes get
   a hue at all — fired takes `--go` and gated-to-zero takes `--friction` — and
   everything else is held in the neutral inks, which is also the reading order:
   the eye lands on what is present. */
.invcontrols { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 12px; }
.invsearch {
  flex: 1 1 17rem; min-width: 0; padding: 6px 9px; font-size: 12px;
  background: var(--ground); color: var(--ink);
  border: 1px solid var(--rule-section); border-radius: 3px;
}
.invsearch::placeholder { color: var(--ink-3); }
.invsearch:focus-visible { outline: 2px solid var(--rule-section); outline-offset: 1px; }
.invpills { display: flex; flex-wrap: wrap; gap: 6px; }
.invpill {
  display: inline-flex; align-items: baseline; gap: 7px; cursor: pointer;
  padding: 5px 10px; border: 1px solid var(--line-strong); border-radius: 999px;
  background: transparent; color: var(--ink-2); font: inherit; font-size: 12px;
}
.invpill .n { font-family: var(--font-ui); font-variant-numeric: tabular-nums; color: var(--ink); }
/* P1 — an outcome pill wears its own outcome's colour at the fill and edge
   rungs, and carries the count in that colour. The dot in the table's outcome
   column is the same hue, so a pill and the rows it governs are visibly one
   thing. `fired` and `gated to zero` were 30%-alpha borders and nothing else. */
.invpill.fired { border-color: color-mix(in srgb, var(--go) 42%, transparent); background: color-mix(in srgb, var(--go) 7%, transparent); }
.invpill.fired .n { color: var(--go); }
.invpill.zero { border-color: color-mix(in srgb, var(--friction) 42%, transparent); background: color-mix(in srgb, var(--friction) 7%, transparent); }
.invpill.zero .n { color: var(--friction); }
.invpill:hover { border-color: var(--rule-section); }
.invpill:focus-visible { outline: 2px solid var(--rule-section); outline-offset: 2px; }
/* An outcome the reader has switched off is dimmed, never removed — the count
   stays legible so "hidden" and "none of them" cannot look the same. */
.invpill[aria-pressed="false"] { opacity: .42; }
.invpill[aria-pressed="false"] .n { color: var(--ink-2); }
.invshown { font-size: 12px; color: var(--ink-3); margin-left: auto; }

.tablewrap > table.motifs.inventory { min-width: 58rem; }
table.motifs tr[hidden] { display: none; }
table.motifs td.outcome { white-space: nowrap; color: var(--ink-2); font-size: 12px; }
table.motifs td.meter .num.none { color: var(--ink-3); }
table.motifs .dot {
  display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  margin-right: 7px; vertical-align: middle; background: var(--ink-3);
}
table.motifs .dot.fired { background: var(--go); }
table.motifs .dot.zero { background: var(--friction); }
table.motifs .dot.unmatched { background: color-mix(in srgb, var(--ink) 20%, transparent); }
table.motifs .dot.lensoff { background: transparent; box-shadow: inset 0 0 0 1px var(--ink-3); }
table.motifs tr.inv.unmatched td, table.motifs tr.inv.lensoff td { color: var(--ink-3); }
table.motifs tr.inv.unmatched td.n, table.motifs tr.inv.lensoff td.n { color: var(--ink-2); }

/* A tension chip prints BOTH SIDES as themselves — which quality, which
   channel, its own number — then the §8 phrase, then the strength. The registry
   id lives in the chip's title, not on the surface.

   IT TAKES THE FRICTION TRIAD BECAUSE THIS PAGE'S GOLD IS THE HUE OF A
   COLLISION, not because a tension and a contested row are the same statement —
   they are not, and saying so in colour was half of §D-N item 4. What the
   shared hue buys is that a reader who has just scanned the gold-tinted
   contested rows in the table above finds the gold chips below them and reads
   both as "two things at once here"; what keeps them apart is that a member row
   no longer wears the hue on the strength of its membership (see the
   cross-reference rule up in the dims table). */
.chip.tension {
  display: inline-flex; align-items: baseline; gap: 9px; flex-wrap: wrap;
  background: var(--ch-x-fill); border-color: var(--ch-x-edge);
}
.chip.tension .tsides { display: inline-flex; align-items: baseline; gap: 7px; flex-wrap: wrap; }
.chip.tension .tside { display: inline-flex; align-items: baseline; gap: 5px; }
.chip.tension .tsdim { color: var(--ink); }
.chip.tension .tsch { font-size: 12px; color: var(--ink-3); }
.chip.tension .tsval { font-family: var(--font-ui); font-size: 12px; color: var(--ink-2); }
.chip.tension .tslens {
  font-size: 12px; color: var(--ink-3);
}
.chip.tension .tsx { color: var(--ink-3); }
.chip.tension .tid { color: var(--ink-2); font-size: 12px; }
.chip.tension .tval { color: var(--ch-x-text); font-family: var(--font-ui); font-size: 12px; }
/* Where a member row's cross-reference lands. A brief mark, so the eye finds
   the one chip that was asked for rather than the row of five it sits in. */
.chip.tension.jumped { outline: 2px solid var(--ch-x-text); outline-offset: 3px; }
.chip.tension:focus-visible { outline: 2px solid var(--ch-x-text); outline-offset: 3px; }

.gaplist { margin-top: 8px; display: grid; gap: 5px; }
.gapline { font-size: 13px; color: var(--ink-2); }

/* activities — one card per profile, as many across as fit. 300px rather than
   330 so a 1560px page shows four columns instead of three; `min(…, 100%)` so a
   phone shows one and the grid never overflows its container. */
.actgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 14px; }
.actcard {
  border: 1px solid var(--line); border-radius: var(--r-sm); padding: 12px 14px 12px 13px;
  background: var(--tile-solid);
  border-left: 3px solid var(--rule-section);
}
/* ── the verdict lane (2026-08-31) ─────────────────────────────────────────
   The cards are ordered by standing now (panel.js ACT_SORT), and an ordering
   the eye cannot see is an ordering the reader has to take on trust. Each card
   wears its rung on its left edge in that verdict's own hue, so scrolling the
   grid shows the four bands as bands — which is the whole value of having
   sorted it. This is the ONE place a verdict hue is allowed to touch a surface
   larger than a word, and it is allowed because a card here IS a claim about an
   act (C4's line is qualities, not activities).

   P1's recipe, applied to the four verdict hues of EXPERIENCE §1.2: the word
   keeps the pure hue, the lane takes it at the edge rung, the card's ground
   takes it at the fill rung. Nothing here shouts — `hold` is the clay-red §1.2
   calls guidance, not danger, and it is drawn no louder than `go`. */
.actcard.v-go { border-left-color: color-mix(in srgb, var(--go) 55%, transparent); background: color-mix(in srgb, var(--go) 4.5%, transparent); }
.actcard.v-favorable { border-left-color: color-mix(in srgb, var(--favorable) 55%, transparent); background: color-mix(in srgb, var(--favorable) 4%, transparent); }
.actcard.v-friction { border-left-color: color-mix(in srgb, var(--friction) 50%, transparent); background: color-mix(in srgb, var(--friction) 3.5%, transparent); }
.actcard.v-hold { border-left-color: color-mix(in srgb, var(--hold) 55%, transparent); background: color-mix(in srgb, var(--hold) 4.5%, transparent); }
.actcard.v-none { border-left-color: var(--line-strong); }
/* A card carrying a bound veto is the one a reader is looking for. It keeps its
   own mark on top of the lane — a bound veto is a fact about the card that the
   verdict rung does not carry (a clamped Friction and an unclamped Friction sit
   in the same rung and are not the same card) — so the mark moved from the left
   edge, which the lane now owns, to the head rule. */
.actcard.hasbound { box-shadow: inset 0 2px 0 var(--ch-o-edge); }
.acthead { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; }
.acthead .aid { font-size: 15px; color: var(--ink); }
.averdict { font-size: 13px; font-weight: 500; white-space: nowrap; }
.averdict.none { color: var(--ink-3); font-weight: 400; font-style: italic; }
.averdict.go { color: var(--go) } .averdict.favorable { color: var(--favorable) }
.averdict.friction { color: var(--friction) } .averdict.hold { color: var(--hold) }
.actsub { margin-top: 4px; display: flex; flex-direction: column; gap: 2px; font-size: 12px; color: var(--ink-2); }
.actsub .why { color: var(--ink-3); font-style: italic; }

/* ── the clamp map (§D-N item 2; DESIGN-EXPLORE.md §3) ───────────────────────
   One row per veto RAISED at this instant, above the card grid it explains. Not
   a chart: at a typical instant there are one to three of these, and a bar chart
   of two bars is decoration. The one quantity on the row is REACH, and that is
   the one thing drawn — a span bar against the number of activities the engine
   evaluated here.

   It carries no verdict hue of its own. The clamp rung is printed as the
   engine's own word and nothing paints it: a row here is a statement about a
   VETO, and the four hues are claims about an act (which is the activity card's
   licence, not this row's). `HARD` takes the opposition channel's edge because
   uncancellable is the fact the eye must find, and opposition is the channel
   that hue already means on this page. */
.clampmap { margin: 12px 0 4px; display: grid; gap: 5px; }
.clamphead { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-bottom: 3px; }
.clamphead .tech { font-size: 12px; color: var(--ink-3); }
.clamprow {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px;
  width: 100%; text-align: left; font: inherit; font-size: 12px; color: var(--ink-2);
  background: none; border: 1px solid var(--line-strong); border-radius: 4px; padding: 7px 10px; cursor: pointer;
}
.clamprow:hover { border-color: var(--rule-section); background: var(--seg-hover); }
.clamprow:focus-visible { outline: 2px solid var(--rule-section); outline-offset: 2px; }
.clamprow[aria-pressed="true"] { border-color: var(--ch-o-edge); background: var(--ch-o-fill); }
.clamprow:disabled { cursor: default; opacity: .72; border-style: dashed; }
.clamprow:disabled:hover { border-color: var(--line-strong); background: none; }
.clamprow .cid { color: var(--ink); font-size: 12px; }
/* The registry's plain display name beside the technical id — the id leads here,
   because this is the room for mechanics; the gloss says what it is in words. */
.clamprow .cgloss { color: var(--ink-2); font-size: 12px; }
.vrow .vgloss { color: var(--ink-2); }
.clamprow .ckind { font-size: 12px; color: var(--ink-3); }
.clamprow.hard .ckind {
  font-weight: 600; color: var(--ch-o-text);
  border: 1px solid var(--ch-o-edge); border-radius: 3px; padding: 0 4px;
}
.clamprow .cclamp { font-size: 12px; color: var(--ink-3); }
/* Reach, drawn once. Wider than a meter bar because it is the row's subject
   rather than a cell in a table, and it grows with the row so the same veto
   reads the same width on every screen. */
.clamprow .cspan {
  flex: 1 1 90px; min-width: 70px; max-width: 320px; height: 4px; border-radius: 2px;
  background: color-mix(in srgb, var(--ink) 7%, transparent); overflow: hidden;
}
.clamprow .cspan .fill { display: block; height: 100%; background: var(--ch-o-bar); }
.clamprow .cn { font-size: 12px; color: var(--ink-2); white-space: nowrap; }
.clamprow .cmask, .clamprow .clens { font-size: 12px; color: var(--ink-3); white-space: nowrap; }

/* ── the requirement bars (§D-N item 2; DESIGN-EXPLORE.md §1) ────────────────
   What the act ASKS FOR, above what clamped it and what carried it. One row per
   need: the dimension, the requirement in the pack's own level words, a bar at
   the engine's own `satisfaction`, and the one-word reason.

   THE BAR IS NEUTRAL AND THE WORD CARRIES THE HUE. The bar's length is closure
   against the requirement, so painting it in the failing channel's colour would
   read as "this much opposition" — the opposite of what its length means. The
   `why` word instead takes the hue of the CHANNEL that caused it, out of the
   page's existing triad (P1: one hue, three roles), so a card and a quality row
   say the same thing in the same colour and no hue is invented here. `met` and
   `quiet` are not a channel failing, so they take ink rungs. */
.actneeds { margin-top: 10px; display: grid; gap: 4px; }
.nhead { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-bottom: 2px; }
.nhead .ncount { font-size: 12px; color: var(--ink-3); }
/* Flex rather than grid, and deliberately: a flex item keeps `min-width: auto`,
   so the dimension's NAME cannot be squeezed below its own text and the
   requirement group wraps to a second line instead. On a 300px card that is the
   difference between `pr…  ≥ very high · o ≤ med  short` and a readable row. */
.nrow { display: flex; flex-wrap: wrap; align-items: center; column-gap: 8px; row-gap: 1px; font-size: 12px; }
.nrow .nname { color: var(--ink-2); }
.nrow .nfit { flex: 0 0 auto; margin-left: auto; display: inline-flex; align-items: center; gap: 8px; }
.nrow .nask { font-family: var(--font-ui); font-size: 12px; color: var(--ink-3); white-space: nowrap; }
.nrow .mbar { margin-top: 0; width: 54px; max-width: 54px; flex: 0 0 54px; }
.nrow .nobar { display: block; width: 54px; flex: 0 0 54px; }
.nrow .nwhy { font-size: 12px; white-space: nowrap; color: var(--ink-2); min-width: 3.4rem; }
.nrow .nhard {
  font-size: 12px; font-weight: 600;
  color: var(--ch-o-text); border: 1px solid var(--ch-o-edge); border-radius: 3px; padding: 0 4px;
}
.nrow.w-met .nwhy { color: var(--ink-3); }
.nrow.w-short .nwhy { color: var(--ch-s-text); }
.nrow.w-quiet .nwhy { color: var(--ink-3); font-style: italic; }
.nrow.w-opposed .nwhy { color: var(--ch-o-text); }
.nrow.w-capped .nwhy { color: var(--ch-c-text); }
/* An `ignored` need is not a failure and not a pass: the profile declared the
   dimension irrelevant so it "cannot accidentally penalise" (ACTIVITIES §5). It
   is drawn held back and carries NO bar — it has no satisfaction, and an empty
   track would read as zero. */
.nrow.ignored .nname, .nrow.ignored .nwhy { color: var(--ink-3); }
.ntail { font-size: 12px; color: var(--ink-3); }

.actvetoes { margin-top: 10px; display: grid; gap: 8px; }
.vrow { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 10px; align-items: baseline; font-size: 12px; }
.vstate {
  font-size: 12px; font-weight: 600;
  border: 1px solid var(--rule-section); border-radius: 3px; padding: 2px 5px; text-align: center;
}
.vstate.bound { color: var(--ch-o-text); background: var(--ch-o-fill); border-color: var(--ch-o-edge); }
.vstate.loose { color: var(--ink-3); }
.vrow .vid { color: var(--ink); }
.vrow .vmask, .vrow .vsupport { color: var(--ink-3); margin-top: 2px; }

.actdec { margin-top: 10px; display: grid; gap: 5px; }
.decrow { display: grid; grid-template-columns: minmax(0, 1fr) 60px 46px; gap: 8px; align-items: center; font-size: 12px; }
.decrow .dname { color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.decrow .dval { color: var(--ink-2); text-align: right; font-size: 12px; }
.decrow .dfrom {
  grid-column: 1 / -1; color: var(--ink-3); font-size: 12px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* the GAP strip — the engine against the Oracle's own expectation */
.gapstrip { margin-top: 18px; border: 1px solid var(--line-strong); border-radius: 4px; padding: 12px 14px; }
.gaphead { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; }
.gaphead .file { font-size: 12px; color: var(--ink-2); }
.gapcounts { display: flex; flex-wrap: wrap; gap: 8px 26px; margin-top: 10px; }
.gapcount { display: flex; flex-direction: column; }
.gapcount .n { font-family: var(--font-ui); font-size: 19px; color: var(--ink); font-variant-numeric: tabular-nums; }
.gapcount .l { font-size: 12px; color: var(--ink-3); }
.gapcount.good .n { color: var(--go); }
.gapcount.bad .n { color: var(--hold); }
.gapmiss { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin-top: 10px; }
.gapmiss .id { font-size: 12px; color: var(--ink-2); }
.gapstrip .gloss { margin-top: 10px; font-size: 12px; max-width: 96ch; }

/* ── the PERSONAL band — the personal layer, pre-P11 ─────────────────────────
   Deliberately the SAME furniture as the ENGINE band (same tables, same meters,
   same section rules): it is a third producer on one bench, not a second app,
   and giving it a look of its own would read as a claim about its standing. The
   two things it does own are its badge — a different honesty claim, so a
   different colour — and the deviation column, which is the one place on this
   page where a number is translated into the register the product speaks in.
   ────────────────────────────────────────────────────────────────────────── */
.personalpanel { margin-top: 0; }
.enginehead .badge.personal {
  color: var(--deep_current-text);
  border-color: color-mix(in srgb, var(--deep_current-fill) 45%, transparent);
  background: color-mix(in srgb, var(--deep_current-fill) 7%, transparent);
}

.chapline { display: flex; flex-wrap: wrap; gap: 12px 40px; margin-top: 4px; }
.chapcell { display: flex; flex-direction: column; gap: 2px; min-width: 190px; }
.chapcell .lord { font-family: var(--font-display); font-size: 1.25rem; font-weight: 500; color: var(--ink); }
.chapcell .dim { font-size: 12px; }
.chapcell .gloss { font-size: 12px; }

table.dims.personal td.devlabel { color: var(--ink-2); font-size: 12px; font-style: italic; }
table.dims td .devnum {
  display: block; margin-top: 3px; font-family: var(--font-ui); font-size: 12px;
  color: var(--ink-3); font-variant-numeric: tabular-nums;
}
table.dims.domains td.meter { min-width: 66px; }
table.dims.graph td.n { font-size: 12px; }
table.dims.graph .gapline { font-size: 12px; }
.whylive { font-size: 12px; color: var(--ink-2); }
.whylive.idle { color: var(--ink-3); }
.framel { font-size: 12px; line-height: 1.7; }

.empty { color: var(--ink-3); font-size: 13px; }
.boot { padding: 60px 0; color: var(--ink-2); }
.err { color: var(--hold); font-size: 13px; }
footer { margin-top: 40px; border-top: 1px solid var(--line); padding-top: 18px;
  display: flex; flex-wrap: wrap; gap: 10px 28px; color: var(--ink-3); font-size: 13px; }

/* ═══════════════════════════════════════════════════════════════════════════
   TRENDS — the same qualities, across a period (trends.js, 2026-09-01)

   Founder direction, 2026-09-01: *"select a week/month/year/day period, select a
   few semantic atomic units — protection, germination, clarity — plot how each
   fluctuates over the period, add multiple and see how they interact."*

   THE ONE COLOUR DECISION, stated where it is implemented. Everywhere else on
   this page hue is the CHANNEL — River blue for support, Volcano clay for
   opposition, Razor's Edge violet for the ceiling. On this chart four qualities
   are overlaid at once, so channel-hue would draw four identical blue lines and
   the reader could not tell protection from clarity. Here, and only here, hue
   carries WHICH QUALITY and the stroke carries WHICH CHANNEL — solid support,
   dashed opposition — and the legend says so in words rather than leaving it to
   be inferred. The four series hues are set inline from trends.js's SERIES ramp
   (four EXPERIENCE §1.2 terrain `text` variants) and land here as `--sh`; the
   ramp deliberately EXCLUDES this page's three channel hues and all four verdict
   hues, so a series can never be misread as a channel or as a verdict (C4).
   ═══════════════════════════════════════════════════════════════════════════ */

/* ══ WHEN TODAY — the same verdicts, across the day's blocks ═══════════════════
   §D-N item 2; DESIGN-EXPLORE.md §2. The band's furniture is the trends band's
   on purpose: a second analytical band on one bench, not a second look.

   THE LANE DRAWS ONE CATEGORICAL CHANNEL and nothing else — the engine's own
   verdict word, in EXPERIENCE §1.2's four hues at the fill rung the activity
   cards already use. That is the CARD's licence, applied where a card would be
   if it were drawn small: a claim about an ACT may wear a verdict hue (C4's line
   is qualities, not activities). A bound veto lives in the cell's `title` and
   never in its fill, because at most instants nearly every cell carries one and
   a constant encoding is noise. */
.whenband { margin: 0; }
.whenband .bandbody[hidden] { display: none; }
.whenband .bandbody { margin-top: 4px; }

.wd-controls { display: flex; flex-direction: column; gap: 10px; }
.wd-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 12px; }
.wd-row > .label { flex: 0 0 auto; min-width: 5rem; }
.wdlensnote { flex: 1 1 30rem; max-width: 88ch; font-size: 12px; }
/* Not a toggle, and it must not look like one — the trends lens pill's own rule,
   for the same measured reason. */
.wdlens { cursor: default; }
.wdlens:hover { border-color: var(--line-strong); color: var(--ink-2); }
input.wdsearch {
  flex: 1 1 18rem; max-width: 30rem; min-height: 30px; padding: 4px 10px;
  background: var(--tile-solid); border: 1px solid var(--line-strong); border-radius: 4px;
  color: var(--ink); font: inherit; font-size: 13px;
}
input.wdsearch::placeholder { color: var(--ink-3); }
.wdstatus { margin: 12px 0 2px; font-size: 12px; }
.wdheadline { margin: 0 0 8px; font-size: 13px; color: var(--ink); max-width: 96ch; }

.wdfig { margin: 6px 0 4px; }
/* Sixty-odd lanes is taller than most screens, so the grid scrolls in its own
   box and the controls, the axis and the caption stay on screen with it. */
.wdgridwrap { overflow-y: auto; overscroll-behavior-y: contain; border-top: 1px solid var(--line); }
.wdgrid { --cur: -10px; }
/* One three-column grid shared by every lane and by the axis under it, so a
   tick label can never sit anywhere but under its own position. */
.wdrow, .wdaxisrow {
  display: grid; grid-template-columns: minmax(6rem, 15rem) minmax(120px, 1fr) minmax(0, 11rem);
  gap: 0 10px; align-items: center;
}
.wdrow { min-height: 19px; border-bottom: 1px solid var(--line); }
.wdrow:hover { background: var(--seg-hover); }
.wdname {
  font-size: 12px; color: var(--ink-2); line-height: 1.25; padding-block: 2px;
  overflow-wrap: anywhere;
}
.wdrow:hover .wdname { color: var(--ink); }
/* The cursor rule is one `::after` per lane driven by a single custom property
   on the grid: scrubbing moves every lane's rule with two style writes and
   rebuilds nothing. */
.wdlane { position: relative; display: block; height: 13px; }
.wdlane svg { display: block; width: 100%; height: 13px; }
.wdlane::after {
  content: ''; position: absolute; top: -1px; bottom: -1px; left: var(--cur);
  width: 1px; background: color-mix(in srgb, var(--ink) 62%, transparent); pointer-events: none;
}
.wdcell { cursor: pointer; }
.wdcell.v-go { fill: color-mix(in srgb, var(--go) 58%, transparent); }
.wdcell.v-favorable { fill: color-mix(in srgb, var(--favorable) 48%, transparent); }
.wdcell.v-friction { fill: color-mix(in srgb, var(--friction) 40%, transparent); }
.wdcell.v-hold { fill: color-mix(in srgb, var(--hold) 34%, transparent); }
.wdcell.v-unverdicted { fill: color-mix(in srgb, var(--ink) 9%, transparent); }
/* Not yet evaluated is not a verdict, and it must not read as one: the grid
   draws as it computes, so the un-scanned tail is drawn as absence. */
.wdcell.v-pending { fill: color-mix(in srgb, var(--ink) 3.5%, transparent); }
.wdbest { display: flex; align-items: baseline; gap: 7px; font-size: 12px; white-space: nowrap; }
.wdrung.v-go { color: var(--go); } .wdrung.v-favorable { color: var(--favorable); }
.wdrung.v-friction { color: var(--friction); } .wdrung.v-hold { color: var(--hold); }
.wdrung.v-unverdicted { color: var(--ink-3); }
.wdbest .wdwin { color: var(--ink-2); }

.wdaxisrow { margin-top: 4px; }
.wdaxis { position: relative; height: 14px; }
.wdtick {
  position: absolute; top: 0; transform: translateX(-50%);
  font-size: 12px; color: var(--ink-3); white-space: nowrap;
}
.wdlegend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin-top: 10px; }
.wdkey { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: var(--ink-2); }
.wdkeynote { flex: 1 1 24rem; color: var(--ink-3); }
.wdsw { display: inline-block; width: 16px; height: 10px; border-radius: 2px; flex: none; }
.wdsw.v-go { background: color-mix(in srgb, var(--go) 58%, transparent); }
.wdsw.v-favorable { background: color-mix(in srgb, var(--favorable) 48%, transparent); }
.wdsw.v-friction { background: color-mix(in srgb, var(--friction) 40%, transparent); }
.wdsw.v-hold { background: color-mix(in srgb, var(--hold) 34%, transparent); }
.wdsw.v-unverdicted { background: color-mix(in srgb, var(--ink) 9%, transparent); }
.wdfig figcaption { margin-top: 8px; font-size: 12px; max-width: 96ch; }

@media (max-width: 640px) {
  .wd-row > .label { min-width: 0; flex-basis: 100%; }
  /* Narrow: the lane gives way, the two texts do not. A clipped `favorable
     05:02–1` is a window nobody can act on, and the lane still reads as a
     pattern at 64px. */
  .wdrow, .wdaxisrow { grid-template-columns: minmax(3rem, 1fr) minmax(64px, 1fr) auto; gap: 0 7px; }
}

.trendsband { margin: 0; }
.trendsband .bandbody[hidden] { display: none; }
.trendsband .bandbody { margin-top: 4px; }

.tr-controls { display: flex; flex-direction: column; gap: 10px; }
.tr-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 12px; }
.tr-row > .label { flex: 0 0 auto; min-width: 5rem; }
.trlensnote { flex: 1 1 30rem; max-width: 88ch; font-size: 12px; }
/* The lens is not a toggle here and must not look like one: no pressed state, no
   pointer, and its note says which cache layer the personal one waits on. A
   control that clicks into minutes of blocked worker would be worse than the
   sentence beside it. */
.trlens { cursor: default; }
.trlens:hover { border-color: var(--line-strong); color: var(--ink-2); }

input.trsearch {
  flex: 1 1 22rem; max-width: 34rem; min-height: 30px; padding: 4px 10px;
  background: var(--tile-solid); border: 1px solid var(--line-strong); border-radius: 4px;
  color: var(--ink); font: inherit; font-size: 13px;
}
input.trsearch::placeholder { color: var(--ink-3); }
.trcount { flex: 0 0 auto; font-size: 12px; }

/* The catalogue is 67 pills, so it scrolls in its own box rather than pushing
   the chart off the screen — the chart is the subject and the picker is a
   control. `overscroll-behavior` keeps a wheel inside it from scrolling the page
   out from under the reader once the list ends. */
.trcatalogue { max-height: 148px; overflow-y: auto; overscroll-behavior-y: contain;
  padding: 8px 2px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trchosen { min-height: 30px; align-items: center; }
.trchip { border-color: var(--sh); color: var(--ink); }
.trchip:hover { border-color: var(--sh); color: var(--ink); }
.trswatch {
  display: inline-block; width: 10px; height: 10px; border-radius: 2px;
  background: var(--sh); margin-right: 7px; vertical-align: -1px; flex: none;
}
.trstatus { margin: 12px 0 4px; font-size: 12px; }

/* ── the figure ────────────────────────────────────────────────────────────
   The plot svg is drawn under `preserveAspectRatio="none"` for the same reason
   the quality profile is: every stretch is a change of x-scale and nothing else,
   which is what lets one figure fill a 1560px page and a 380px phone without a
   second layout. Strokes carry `vector-effect: non-scaling-stroke`, so no line
   weight and no dash length moves with the stretch. ALL text is HTML — the y
   gutter outside the scroller, the day axis inside it — because text under a
   non-uniform scale is text drawn wrong. */
.trfig { margin: 6px 0 4px; }
.trreadout {
  min-height: 20px; font-size: 12px; color: var(--ink-2);
  white-space: nowrap; overflow-x: auto; overscroll-behavior-x: contain;
  padding-bottom: 2px;
}
.trchart { display: flex; align-items: stretch; gap: 6px; }
/* The gutter sits OUTSIDE the horizontal scroller, so the scale stays on screen
   while a 30-day plot is scrolled sideways under it. */
.tryaxis { position: relative; flex: 0 0 34px; height: 220px; }
.tryv {
  position: absolute; right: 0; transform: translateY(-50%);
  font-size: 12px; color: var(--ink-3); font-variant-numeric: tabular-nums;
}
.tryv.mark { color: var(--ink-2); }
.trplotwrap { flex: 1 1 auto; min-width: 0; overflow-x: auto; overscroll-behavior-x: contain; }
/* The plot, the contested lane and the day axis are three siblings that must
   share one x-scale, so they take the same width and the same min-width and
   scroll together inside this one wrapper. `display` is set per element below —
   the axis is a flex row and must not be flattened to a block here. */
.trplotwrap > svg, .trplotwrap > .trxaxis { width: 100%; min-width: 34rem; }
.trplotwrap > svg { display: block; }
svg.trplot { height: 220px; }
svg.trplot:focus-visible { outline: 1.5px solid var(--ink-2); outline-offset: 2px; }

.trnight rect { fill: color-mix(in srgb, var(--deep_current-fill) 10%, transparent); }
.trgrid line { stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.trgrid line.base { stroke: var(--rule-section); }
/* The one horizontal rule the summary table counts against is drawn as a dash so
   it reads as a reading aid rather than as a level in the data. */
.trgrid line.above { stroke: var(--line-strong); stroke-dasharray: 2 4; }
.trgrid line.day { stroke: var(--line-strong); }
.trgrid line.rise { stroke: color-mix(in srgb, var(--workshop-fill) 30%, transparent); stroke-dasharray: 3 5; }

/* Support solid, opposition dashed, one hue per quality. Both strokes are
   non-scaling so the dash pattern is the same length at every page width — a
   dash that stretches with the viewport stops reading as a dash. */
.trseries path { fill: none; stroke: var(--sh); vector-effect: non-scaling-stroke; }
.trseries path.trs { stroke-width: 1.6; }
.trseries path.tro { stroke-width: 1.4; stroke-dasharray: 4 3; opacity: .82; }
.trcursor line { stroke: var(--ink-2); stroke-width: 1; vector-effect: non-scaling-stroke; }
.trcursor circle { fill: var(--sh); stroke: var(--ground); stroke-width: 1; vector-effect: non-scaling-stroke; }
.trcursor circle.tro { fill: none; stroke: var(--sh); stroke-width: 1.4; }
.trcursor[hidden] { display: none; }

/* The contested lane. It is a second mark for the one statement this chart
   exists to make findable and the eye is worst at: two lines both moderately
   high look like neither is doing much, and L4 says that state has a name. One
   row per series, in the legend's order, marked wherever BOTH channels stand at
   or above the same floor the reading words turn over at. */
svg.trlane { margin-top: 3px; }
.trlanebg { fill: var(--line); }
.trlanehit { fill: var(--sh); opacity: .85; }

.trxaxis { display: flex; margin-top: 4px; }
.trxcell {
  flex: 1 1 0; min-width: 0; overflow: hidden; white-space: nowrap;
  border-left: 1px solid var(--line); padding-left: 3px;
  font-size: 12px; font-weight: 600;
  color: var(--ink-3);
}

.trlegend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin-top: 10px; }
.trlegitem { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: var(--ink); }
svg.trkey { width: 34px; height: 12px; flex: none; }
svg.trkey line { stroke: var(--sh); vector-effect: non-scaling-stroke; }
svg.trkey line.trs { stroke-width: 1.6; }
svg.trkey line.tro { stroke-width: 1.4; stroke-dasharray: 4 3; opacity: .82; }
.trlegrule { flex: 1 1 24rem; font-size: 12px; }
.trfig figcaption { margin-top: 8px; font-size: 12px; max-width: 96ch; }

/* ── the summary rows ──────────────────────────────────────────────────────
   Display statistics, and the note under the table says so. Two rows per
   quality — support and opposition, never one folded row — so the table cannot
   quietly do the netting the chart refuses (L4). */
.trstats { margin-top: 18px; }
.tablewrap > table.dims.trstatstable { min-width: 44rem; }
table.dims.trstatstable td { font-size: 12px; }
.trstatstable td.trstatname { color: var(--ink); white-space: nowrap; vertical-align: middle; }
.trstatstable tr.first td { border-top: 1px solid var(--line-strong); }
.trstatstable td.trch { color: var(--ink-2); white-space: nowrap; }
.trstatstable td.tr-s { color: var(--ch-s-text); }
.trstatstable td.tr-o { color: var(--ch-o-text); }
.trstats .gloss { margin-top: 10px; max-width: 96ch; }
.trnotes { margin-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.trnotes .gloss { max-width: 96ch; }

@media (max-width: 640px) {
  .tr-row > .label { min-width: 0; flex-basis: 100%; }
  .tryaxis { flex-basis: 28px; }
}

/* ── the stale-build bar (2026-09-01) ─────────────────────────────────────────
 * One line, top of the page, only when the served build and this page's pinned
 * build disagree. Friction hue: it is guidance, not an alarm. */
.stalebar {
  display: flex; gap: 12px; align-items: center; flex-wrap: wrap;
  padding: 10px 16px; font-size: 13px;
  color: var(--friction);
  border-bottom: 1px solid color-mix(in srgb, var(--friction) 35%, transparent);
  background: color-mix(in srgb, var(--friction) 8%, transparent);
}
.stalebar button {
  font: inherit; color: inherit; background: none; cursor: pointer;
  border: 1px solid color-mix(in srgb, var(--friction) 45%, transparent);
  border-radius: 4px; padding: 4px 10px; min-height: 32px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   AT A GLANCE — the compiled band (decision-record 2026-09-02 §D-Q item 6)
   ═══════════════════════════════════════════════════════════════════════════

   The founder, on the deployed first screen: "What about the explore view? I
   don't see any progress there." This is §D-N item 2's first shipped step, and
   the shape of it is settled by §D-Q 2: a quality is ONE diverging chart, not
   two progress bars.

   WHY A DIVERGING GRID AND NOT A RADAR. §D-N item 2 asked for "radar/grid
   shapes where they fit" and in the same breath for restraint — "when you think
   that by adding a visual we are not adding value to it, then don't add it." A
   radar fits a handful of unsigned axes whose position around the circle means
   something. This is 67 axes, each carrying TWO channels that ONTOLOGY L3/L4
   forbid folding into one, ordered by a priority ranking rather than by a cycle.
   One radius per spoke would require `s - o`; 67 spokes would draw a scribble.
   A diverging bar grid gives every quality its own axis, keeps the two channels
   apart and comparable, and makes "contested" visible as GEOMETRY (both wings
   long) instead of as a word repeated down the page.

   THE ROW BUDGET. `GLANCE_V0.row_height` is 18px including the rule, which puts
   a realm's rows inside one laptop viewport under the band's head. The columns
   (name / opposition figure / track / support figure / ceiling figure) are fixed
   widths from the same constants, so the centre axis of every row in a column
   lands on the same x — a diverging chart whose axis wanders cannot be read.

   THE HUES ARE THE PAGE'S OWN, unchanged: `--ch-o-*` left, `--ch-s-*` right,
   `--ch-c-*` for the ceiling stop. No verdict hue touches a quality, here as
   everywhere else on this page: Go / Favorable / Friction / Hold are claims
   about an ACT. The verdict hues appear in this band exactly once, on the act
   rows, through the same `.averdict` rules the cards below use. */

.glancepanel { margin: 0; }
.glancepanel .ghead {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 16px;
}
.glancepanel .gvalid { font-size: 13px; }
.glancepanel .glede { margin-top: 10px; max-width: 96ch; }
.glancepanel .gsection { margin-top: 22px; padding-top: 14px; border-top: 1px solid var(--line-strong); }
.glancepanel .gsection > .label { display: block; margin-bottom: 8px; }
.glancepanel .gcharthead {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-bottom: 4px;
}
.glancepanel .gcharthead .mono { font-size: 12px; }

/* ── the 67-quality grid ───────────────────────────────────────────────────
   Two realm columns side by side from `GLANCE_V0.two_col_min` (1100px), where
   each column still gives the track ~300px — 3px per whole number of a full
   channel, the coarsest the geometry may get before two different values draw
   the same wing. Below that they stack, and the page never scrolls sideways. */
.qgrid { display: grid; grid-template-columns: 1fr; gap: 26px 34px; }
@media (min-width: 1100px) { .qgrid { grid-template-columns: 1fr 1fr; } }

.qgrealm { min-width: 0; }
.qgcap { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.qgcap .rlabel { font-family: var(--font-display); font-size: 1.1875rem; font-weight: 500; color: var(--ink); }
.qgcap .rid { font-size: 12px; color: var(--ink-3); }
.qgcap .qgcount { font-size: 12px; }
.qgrealm .qgrgloss { margin-top: 3px; font-size: 12px; }

.qgfam {
  margin-top: 12px; padding-bottom: 3px; border-bottom: 1px solid var(--line);
}
.qgfam .fam {
  font-size: 12px; font-weight: 600;
  color: var(--ink-2);
}
.qgfam .famgloss { font-size: 12px; color: var(--ink-3); }

/* ONE quality, ONE chart. The five columns are the constants in
   glance-model.js; `1fr` in the middle is the track. */
.qgrow {
  display: grid;
  grid-template-columns: 124px 24px 1fr 24px 22px;
  align-items: center; gap: 0 6px;
  height: 18px; font-size: 12px;
}
.qgrow .qgname {
  color: var(--ink); font-size: 12px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.qgrow .qgnum {
  font-family: var(--font-ui); font-variant-numeric: tabular-nums; font-size: 12px;
  text-align: right;
}
/* The two figures sit at the OUTER ends of the track (§D-Q 2), so opposition's
   is flush left and support's flush right. A figure of 0 is a real reading and
   is drawn: a row whose opposition is genuinely nothing must not read as a
   number the surface failed to print. */
.qgrow .qgnum.o { color: var(--ch-o-text); text-align: left; }
.qgrow .qgnum.s { color: var(--ch-s-text); }
.qgrow .qgceil {
  font-family: var(--font-ui); font-variant-numeric: tabular-nums; font-size: 12px;
  color: var(--ch-c-text); text-align: left;
}

.qgtrack {
  display: grid; grid-template-columns: 1fr 1fr; align-items: stretch;
  height: 7px; min-width: 0;
  background: color-mix(in srgb, var(--ink) 5%, transparent); border-radius: 2px; overflow: hidden;
}
/* The centre axis: one hairline on the boundary of the two halves, at the
   rule-strong rung so it reads as the chart's zero and not as a fill. */
.qghalf { position: relative; display: flex; min-width: 0; height: 100%; }
.qghalf.o { justify-content: flex-end; border-right: 1px solid var(--rule-section); }
.qghalf.s { justify-content: flex-start; }
.qghalf .qgfill { display: block; height: 100%; }
.qghalf.o .qgfill { background: var(--ch-o-bar); }
.qghalf.s .qgfill { background: var(--ch-s-bar); }
/* The ceiling: a faint stop-mark on the SUPPORT half at the ceiling's own
   position — the roof over what support may reach (L3), never a quantity. Its
   whole number is the row's last cell. */
.qghalf.s .qgstop {
  position: absolute; top: 0; bottom: 0; width: 1px;
  background: var(--ch-c-text); opacity: .85;
}

/* A contested row carries the page's own contested tint as well as its
   geometry, so a reader scanning rather than reading has a second cue. */
.qgrow.qg-contested { background: var(--ch-x-fill); }
.qgrow.qg-capped .qgname { color: var(--ch-c-text); }

.qgquiet { margin-top: 10px; font-size: 12px; color: var(--ink-3); line-height: 1.5; }
.qgquiet .label { margin-right: 4px; }

/* ── tensions, and what to do ───────────────────────────────────────────── */
.gtension {
  margin-top: 12px; padding-left: 10px;
  border-left: 2px solid var(--ch-x-edge);
}
.gthead { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.gthead .gtname { font-size: 15px; font-weight: 400; color: var(--ink); }
.gthead .gtnum { font-size: 13px; color: var(--friction); font-family: var(--font-ui); }
.gthead .gtid { font-size: 12px; }
.gtension .gtis { margin-top: 4px; font-size: 13px; color: var(--ink-2); max-width: 84ch; }
.gtension .gtdo { margin-top: 3px; font-size: 13px; color: var(--ink); max-width: 84ch; }
.gtension .gtpair { margin-top: 4px; font-size: 12px; color: var(--ink-3); }

/* ── what this means ────────────────────────────────────────────────────── */
.gmean { margin-top: 10px; padding-left: 10px; border-left: 2px solid var(--line-strong); }
.gmean.gm-veto { border-left-color: var(--hold); }
.gmean.gm-tension { border-left-color: var(--ch-x-edge); }
.gmean .gmname { font-size: 14px; color: var(--ink); }
.gmean .gmnum { font-size: 12px; color: var(--ink-2); margin-left: 8px; }
.gmean .gmis { margin-top: 3px; font-size: 13px; color: var(--ink-2); max-width: 84ch; }
.gmean .gmdo { margin-top: 3px; font-size: 13px; color: var(--ink); max-width: 84ch; }

/* ── acts by verdict ────────────────────────────────────────────────────── */
.gacts { display: grid; grid-template-columns: 1fr; gap: 16px 28px; }
@media (min-width: 720px) { .gacts { grid-template-columns: repeat(3, 1fr); } }
.gactcol { min-width: 0; }
.gactcol > .label { display: block; margin-bottom: 6px; }
.gactrow {
  display: flex; align-items: baseline; gap: 8px; padding: 3px 0;
  border-bottom: 1px solid var(--line); font-size: 13px;
}
.gactrow .gactname {
  flex: 1 1 auto; min-width: 0; color: var(--ink); overflow-wrap: anywhere;
}
a.gactname { text-decoration: none; }
a.gactname:hover { text-decoration: underline; }
.gactrow .gactnum {
  flex: none; font-size: 12px; color: var(--ink-2);
  font-family: var(--font-ui); font-variant-numeric: tabular-nums;
}
.gactrow .gacthard { flex: none; color: var(--hold); font-weight: 600; }

/* The card the AT A GLANCE band jumped to, marked for one breath so the eye
   lands on the card it asked for rather than on whatever is mid-viewport. */
.actcard.landed { outline: 1.5px solid var(--ink-2); outline-offset: 3px; }

/* On a phone the name column gives way first: the two whole numbers and the
   chart are the reading, and a truncated name still carries its `title`. */
@media (max-width: 560px) {
  .qgrow { grid-template-columns: 92px 22px 1fr 22px 20px; gap: 0 5px; }
  .qgrow .qgname { font-size: 12px; }
}
/* One faint aside on a meaning row — the lens a veto was read in. The band is a
   single list (§D-Q 3: no second section repeating the first), so this is the
   only qualifier a row carries beside its name. */
.gmean .gmref { font-size: 12px; color: var(--ink-3); margin-left: 8px; }
