/* ======================================================================================================================
   THE DECK PAGES (owner, 2026-11-25: "break it the same way into pages ... make it more compact same design as the new defxn
   core site", then his designs GenesisNetwork, GenesisExplore and GenesisStart). Layer: app.
   This file holds the pages that are words and kit parts only: home (/), Our network (/chain), Explore (/explore), Four
   questions (/story) and Network numbers (/network); each is a .view.gd in index.html. The initiation (/step/<id>), the split
   (/split, /part/<id>) and Start a network (/start) are laid out in css/genesis-inner.css.
   Superseded the same day: the one long Chains home (.gm-hero, .gm-chains, .gm-band, .gm-steps, .gm-foot) and its own ground.
   Layout and page type only: every part is the kit's (.dx-) or the clean card below (.g-card, .g-tabs). Colours are theme roles (hsl(var(--role))); the ground is the
   direction's, as on fxn-core-site, so a view paints none. Type is the kit's scale only (--fs-display 76, --fs-hero 47,
   --fs-primary 29, --fs-secondary 18, --fs-tertiary 11); faces are --font-display, --font-sans and --font-mono. Space is --sp-*.
   A deck page follows the core site's deck (fxn-core-site css/home.css, .home-deckhead and .home-deckrow): words and one action
   at the left, the 3D place at the right, one row of clean cards. It fits 1280x720 and 1440x900 with no scroll; below that its
   view scrolls inside itself. An empty place for a 3D piece is .gm-slot: a hairline box with the piece's name in its corner; none
   holds a fake picture. Nothing moves on hover.
   ====================================================================================================================== */
.g-app > .view.gd { --gd-col: 1280px; overflow: hidden; background: none; color: hsl(var(--text)); font: 400 var(--fs-secondary)/1.5 var(--font-sans); }
.gd-scroll { block-size: 100%; overflow-y: auto; overflow-x: clip; scrollbar-gutter: stable; }
.gd :where(h1, h2, h3, p, ol, ul, dl, dd, figure) { margin: 0; padding: 0; }
.gd :where(ol, ul) { list-style: none; }
/* A button that is a link (.dx-btn) keeps the kit's own ink: a page link colour on the filled button made its label unreadable. */
/* The same for a popup's mech key (.mx-key, 2026-11-25): its ink is the kit's. */
.gd a:not(.dx-btn):not(.mx-key) { color: hsl(var(--text-strong)); }
.gd a:not(.dx-btn):not(.mx-key):hover { color: hsl(var(--primary)); }
.gd :focus-visible { outline: 2px solid hsl(var(--primary)); outline-offset: 4px; }
.gd-wrap { inline-size: calc(100vw - 2 * var(--dxt-col)); margin-inline: var(--dxt-col) 0; box-sizing: border-box; }
.gd-page { display: grid; gap: var(--sp-6); align-content: start; padding-block: var(--sp-6) var(--sp-7); }

/* ======================================================================================================================
   CLEAN CARD (owner 2026-11-25: "too match mesh elements use the clean cards ainstead", that is: too many mech parts, use the
   clean cards). Layer: app. The one card, the one tab row and the one button pair of every Genesis page, defined here once.
   Superseded the same day: the kit's mech parts on Genesis (defxn-mech.css: the cut-corner card and tile frames with a top tab
   and a foot strip, the bevel keys with an under-strip, the bevel tab plates). Genesis no longer uses any mech part.
   - .g-card: the kit's clean glass (defxn-product.css, the home footer and the Products panel): the ground through a 72% canvas
     layer, a 1px subtle edge, 12px corners, one inset top light. No cut corners, no tabs, no strips, no pseudo-element ornament.
     A chosen or current card takes a 1px primary edge. Each layout class (.gd-tile, .g-step, .l-panel ...) sets its own padding
     after this rule, so the card gives only the dress.
   - .g-tabs / .g-tab: plain text tabs: mono 11px capitals, a hairline under the row, the chosen tab marked by a 2px primary
     underline (aria-selected for a tablist, aria-pressed for a filter group).
   - Buttons are the kit's own: one .dx-btn.dx-btn--solid per view (the dominant action), every other one .dx-btn--ghost or a
     .gd-link text link when it only navigates.
   ====================================================================================================================== */
/* THE CARD IS THE KIT'S (owner 2026-11-25, after he read the kit's system page: "The cards used inside the system page is the
   cards that should be default everywhere"). This supersedes the .g-card glass of the note above: every card on Genesis is the
   kit's own .dx-card (defxn-direction.parts.draft.css under defxn-teal: the graphite plate, two cut corners, its plate edge).
   Genesis keeps no card dress of its own; it adds only position, link ink and the chosen-card ring below. */
.dx-card { position: relative; box-sizing: border-box; }
/* THE CARD'S RHYTHM (spacing round, 2026-11-25; owner: "There's a spacing issue > Custody and this is a cmon iussue across all pages").
   The kit's card sets padding and no inner gap, and its headings have no margin, so a card whose layout class sets no gap stacked its
   parts with none. One rule, at zero specificity: a card with no layout of its own is a column with an 11px (sp-4) step. Every layout
   class (.gd-tile, .gd-box, .g-step, .l-panel ...) still sets its own display and gap and wins. A hidden card stays hidden. */
:where(.dx-card:not([hidden])) { display: flex; flex-direction: column; gap: var(--sp-4); }a.dx-card { text-decoration: none; color: inherit; }
a.dx-card:hover { outline: 1px solid hsl(var(--border-strong)); outline-offset: -1px; }
.dx-card:is([aria-current="true"], [aria-current="page"], [aria-selected="true"], [aria-pressed="true"]) { outline: 1px solid hsl(var(--primary)); outline-offset: -1px; }
/* the kit's track (.dx-tabs): a well, and the chosen one is the raised key in it with the mint strip */
.g-tabs { display: flex; flex-wrap: wrap; inline-size: fit-content; gap: var(--sp-2); padding: var(--sp-2); border-radius: var(--dxt-r); background: var(--dxt-well); box-shadow: var(--dxt-well-edge); }
.g-tab {
  position: relative; display: inline-flex; align-items: center; gap: var(--sp-3); min-block-size: var(--dxt-key-h); margin: 0; padding: 0 var(--sp-5);
  border: 0; border-radius: var(--dxt-r); background: none; box-shadow: none; cursor: pointer; white-space: nowrap;
  font: 600 var(--fs-tertiary)/1 var(--font-sans); letter-spacing: var(--dxt-key-space); text-transform: uppercase; color: hsl(var(--text-muted));
}
.g-tab:hover { color: hsl(var(--text-strong)); background: hsl(var(--text-strong) / .06); }
.g-tab:is([aria-selected="true"], [aria-pressed="true"]) { background: hsl(var(--raised)); box-shadow: var(--dxt-key); color: hsl(var(--text-strong)); }
.g-tab:is([aria-selected="true"], [aria-pressed="true"])::after { content: ""; position: absolute; left: 30%; right: 30%; bottom: -3px; block-size: 3px; background: hsl(var(--primary)); clip-path: polygon(8% 0, 92% 0, 100% 100%, 0 100%); }
.g-tab:focus-visible { outline: 2px solid hsl(var(--primary)); outline-offset: 2px; }
.g-tab small { font: 500 var(--fs-tertiary)/1 var(--font-mono); color: hsl(var(--text-muted)); }
.g-tab[aria-selected="true"] small { color: hsl(var(--primary)); }
a.dx-btn { text-decoration: none; }

/* type: a capital label, the title, the lede, a note, a quiet link */
/* A caps label is mono on every page, a heading too: ".dx-page :is(h1, h2, h3)" in genesis.css gave h2.gd-cap the display face
   at -.015em ("Who holds what", "Review before you launch", "Every release, by year" read as sans beside the mono labels). */
.gd-cap, .dx-page :is(h2, h3).gd-cap { font: 600 var(--fs-tertiary)/1.3 var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: hsl(var(--text-muted)); }
.gd-h1 { font: 700 var(--fs-primary)/1.1 var(--font-display); letter-spacing: -.02em; color: hsl(var(--text-strong)); }
.gd-hero .gd-h1 { font-size: var(--fs-hero); line-height: 1.04; }
.gd-h1 > span { color: hsl(var(--text-muted)); }
.gd-h2 { font: 700 var(--fs-secondary)/1.2 var(--font-display); letter-spacing: -.01em; color: hsl(var(--text-strong)); }
.gd-h3 { font: 700 var(--fs-secondary)/1.3 var(--font-display); color: hsl(var(--text-strong)); }
.gd-lede { max-inline-size: 52ch; color: hsl(var(--text)); }
.gd-note { font: 400 var(--fs-tertiary)/1.45 var(--font-sans); color: hsl(var(--text-muted)); }
.gd-note[data-state="unread"] { color: hsl(var(--warning)); }
.gd-link { display: inline-flex; align-items: center; min-block-size: var(--dxt-key-h); justify-self: start; font: 600 var(--fs-tertiary)/1 var(--font-sans); letter-spacing: .14em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 6px; }
.gd-copy { display: grid; gap: var(--sp-4); align-content: start; min-inline-size: 0; }
.gd-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-3) var(--sp-6); }
.gd-tag { display: inline-flex; align-items: center; align-self: center; block-size: 18px; padding-inline: var(--sp-3); border-radius: 4px; background: hsl(var(--primary) / .14); color: hsl(var(--primary)); font: 600 var(--fs-tertiary)/1 var(--font-sans); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.gd-titlerow { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-4); }

/* an empty place for a 3D piece (shared with the split's tile on the initiation) */
.gm-slot { position: relative; display: block; border: 1px dashed hsl(var(--border-strong)); border-radius: 11px; background: hsl(var(--depth) / .4); overflow: clip; }
/* a place with its model drawn: the canvas fills it, and the dashed edge and the label go */
.gm-slot__canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.gm-slot[data-live] { border-style: solid; border-color: transparent; background: none; }
.gm-slot[data-live]::after { content: none; }
.gm-slot[data-slot]:not([data-live])::after { content: "Picture: " attr(data-slot); position: absolute; inset-block-end: var(--sp-4); inset-inline-start: var(--sp-4); font: 600 var(--fs-tertiary)/1 var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: hsl(var(--text-muted)); }

/* the split, as one bar: a segment per band, its tone the legend row's (js/genesis-home.js sets data-tone on both) */
.gm-split { display: flex; gap: var(--sp-1); block-size: 8px; border-radius: 4px; overflow: clip; background: hsl(var(--text-strong) / .08); }
.gm-split > i { flex: 1 1 0; min-inline-size: 2px; background: var(--tone, hsl(var(--text-faint))); }
.gd-legend { display: grid; gap: var(--sp-2); }
.gd-legend > li { display: flex; align-items: center; gap: var(--sp-3); font: 400 var(--fs-tertiary)/1.4 var(--font-sans); color: hsl(var(--text)); }
.gd-legend > li::before { content: ""; inline-size: 8px; block-size: 8px; border-radius: 2px; flex: none; background: var(--tone, hsl(var(--text-faint))); }
.gd-legend > li > b { margin-inline-start: auto; color: hsl(var(--text-strong)); font-variant-numeric: tabular-nums; }

/* a deck tile: a name, one line, Open (the core site's .home-fact, compact) */
.gd-tile, .gd-q { display: grid; gap: var(--sp-3); align-content: start; padding: var(--sp-5); text-decoration: none; color: hsl(var(--text)); font: 400 var(--fs-tertiary)/1.45 var(--font-sans); }
.gd-tile__name { font: 700 var(--fs-secondary)/1.2 var(--font-display); color: hsl(var(--text-strong)); }
.gd-tile__go { align-self: end; margin-block-start: auto; font: 600 var(--fs-tertiary)/1 var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: hsl(var(--primary)); }

/* ---------- HOME (/) ---------- */
.gd-hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--sp-7); align-items: center; padding-block: var(--sp-6) var(--sp-5); }
.gd-hero__slot { block-size: clamp(220px, 38svh, 380px); }
.gd-hero__net:empty { display: none; }
.gd-second { display: grid; gap: var(--sp-5); padding-block-end: var(--sp-6); }
.gd-deck { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: var(--sp-4); }
.gd-deck > .gd-tile { min-block-size: clamp(132px, 19svh, 176px); }
.gd-family { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-2) var(--sp-6); padding-block-start: var(--sp-4); border-block-start: 1px solid hsl(var(--border-subtle)); }
.gd-site { display: inline-grid; gap: var(--sp-2); min-block-size: 44px; align-content: center; text-decoration: none; }
.gd-site > b { font: 700 var(--fs-tertiary)/1.2 var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: hsl(var(--text-strong)); }
.gd-site > i { font: 400 var(--fs-tertiary)/1.3 var(--font-mono); font-style: normal; color: hsl(var(--text-muted)); }

/* ---------- the head of a page: words at the left, its actions or its search at the right ---------- */
.gd-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--sp-5) var(--sp-7); }
.gd-head > .gd-copy { flex: 1 1 520px; }

/* ---------- OUR NETWORK (/chain) ---------- */
.gd-glance { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; padding: 0; margin: 0; }
.gd-glance > div { display: grid; gap: var(--sp-2); align-content: start; padding: var(--sp-5); }
.gd-glance > div + div { border-inline-start: 1px solid hsl(var(--border-subtle)); }
.gd-glance dd { margin: 0; }
.gd-glance__v { font: 700 var(--fs-primary)/1.1 var(--font-display); color: hsl(var(--text-strong)); font-variant-numeric: tabular-nums; }
.gd-glance__v[data-state="notbuilt"] { color: hsl(var(--text-muted)); }
.gd-split2 { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: var(--sp-6); align-items: start; }
/* a section head stands one step (sp-5) above the card it names (spacing round: "Every part, by date" sat 11px over its table) */
.gd-time { display: grid; gap: var(--sp-5); }
.gd-sechead { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-3) var(--sp-5); }
.gd-filter { display: inline-flex; }
.gd-timeline { display: grid; }
.gd-timeline > li { position: relative; display: grid; grid-template-columns: minmax(0, 200px) minmax(0, 1fr); gap: var(--sp-1) var(--sp-5); padding: var(--sp-3) 0 var(--sp-3) var(--sp-5); border-inline-start: 2px solid hsl(var(--border-default)); font: 400 var(--fs-tertiary)/1.45 var(--font-sans); }
.gd-timeline > li[hidden] { display: none; }
.gd-timeline > li::before { content: ""; position: absolute; inset-inline-start: -5px; inset-block-start: calc(var(--sp-3) + 3px); inline-size: 8px; block-size: 8px; border-radius: 50%; background: hsl(var(--text-faint)); }
.gd-timeline > li[data-tone="done"]::before { background: hsl(var(--primary)); }
.gd-timeline > li[data-tone="done"] > .gd-cap { color: hsl(var(--primary)); }
.gd-timeline > li > .gd-cap { grid-row: span 2; }
.gd-timeline > li > strong { font: 700 var(--fs-secondary)/1.3 var(--font-display); color: hsl(var(--text-strong)); }
.gd-timeline > li > span:not(.gd-cap) { color: hsl(var(--text)); }
.gd-proof { grid-column: 2; }
.gd-proof > summary { display: inline-flex; align-items: center; min-block-size: var(--dxt-key-h); cursor: pointer; font: 600 var(--fs-tertiary)/1 var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: hsl(var(--text-muted)); }
.gd-proof > summary:hover { color: hsl(var(--primary)); }
.gd-proof > p { padding-block: var(--sp-2) var(--sp-3); color: hsl(var(--text-muted)); }
.gd-proof code { font: 400 var(--fs-tertiary)/1 var(--font-mono); color: hsl(var(--text)); }
.gd-side { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--sp-4); align-content: start; }
.gd-box > .gd-note { min-inline-size: 0; overflow-wrap: anywhere; }
.gd-box { display: grid; gap: var(--sp-3); align-content: start; padding: var(--sp-5); font: 400 var(--fs-tertiary)/1.45 var(--font-sans); }

/* ---------- EXPLORE (/explore) ---------- */
.gd-search { flex: 1 1 420px; display: grid; gap: var(--sp-3); max-inline-size: 560px; }
.gd-search__in { inline-size: 100%; box-sizing: border-box; }
.gd-explore { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); grid-template-rows: auto 1fr; gap: var(--sp-3) var(--sp-6); align-items: start; }
.gd-list { display: grid; gap: var(--sp-3); grid-column: 1; }
.gd-list > li[hidden] { display: none; }
#chainSearchNone { grid-column: 1; }
.gd-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--sp-2) var(--sp-4); align-items: center; padding: var(--sp-4) var(--sp-5); text-decoration: none; }
.gd-item > .gd-note { grid-column: 1 / -1; }
.gd-item__name { font: 700 var(--fs-secondary)/1.2 var(--font-display); color: hsl(var(--text-strong)); }
.gd-item--add { border: 1px dashed hsl(var(--border-strong)); border-radius: 11px; }
.gd-detail { grid-column: 2; grid-row: 1 / span 2; display: grid; gap: var(--sp-4); align-content: start; padding: var(--sp-5); }
.gd-detail__slot { block-size: clamp(140px, 22svh, 220px); }
.gd-detail > .dx-btn { justify-self: start; }
.gd-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-4); margin: 0; }
.gd-facts dd { margin: var(--sp-1) 0 0; font: 600 var(--fs-secondary)/1.3 var(--font-sans); color: hsl(var(--text-strong)); }

/* ---------- FOUR QUESTIONS (/story): the core site's deck head and its row of four ---------- */
.gd-deckhead { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--sp-7); align-items: center; }
.gd-deckart { block-size: clamp(160px, 26svh, 260px); }
.gd-row4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-4); }
.gd-q__slot { block-size: clamp(72px, 11svh, 120px); }

/* ---------- NETWORK NUMBERS (/network): the card is css/genesis-inner.css's .cs-net ---------- */

/* A deck page draws no 3D behind it and no app footer: the ground is the direction's, the view is the whole screen under the bar. */
body:is([data-view="home"], [data-view="overview"], [data-view="explore"], [data-view="story"], [data-view="numbers"]) :is(.scene, .scrim) { visibility: hidden; }
body:is([data-view="home"], [data-view="overview"], [data-view="explore"], [data-view="story"], [data-view="numbers"]) #siteFooter { display: none; }

@media (max-width: 1100px) {
  .gd-deck { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .gd-glance { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gd-glance > div:nth-child(3) { border-inline-start: 0; }
  .gd-split2 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .gd-wrap { inline-size: 100%; margin-inline: 0; padding-inline: var(--sp-5); }
  .gd-hero .gd-h1 { font-size: var(--fs-primary); }
  .gd-hero, .gd-deckhead, .gd-explore { grid-template-columns: minmax(0, 1fr); }
  .gd-hero__slot, .gd-deckart { block-size: 200px; }
  .gd-deck, .gd-row4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gd-glance { grid-template-columns: minmax(0, 1fr); }
  .gd-glance > div + div { border-inline-start: 0; border-block-start: 1px solid hsl(var(--border-subtle)); }
  .gd-detail { grid-column: 1; grid-row: auto; }
  .gd-facts { grid-template-columns: minmax(0, 1fr); }
  .gd-timeline > li { grid-template-columns: minmax(0, 1fr); }
  .gd-timeline > li > .gd-cap { grid-row: auto; }
  .gd-proof { grid-column: 1; }
}
@media (prefers-reduced-motion: reduce) { .gd-scroll { scroll-behavior: auto; } }

/* ======================================================================================================================
   RELEASE SCHEDULE (/schedule, 2026-11-25): a deck page like /chain and /start. Eyebrow, title, lede, then the timeline in a card
   with Next and Mining so far beside it, the parts as one table, and the four network pages as tiles. js/genesis-schedule.js
   writes every row; it sizes the chart from its host's height, so the host has a height only once the chart is drawn. Until then
   "Reading…" is one line.
   ====================================================================================================================== */
body[data-view="schedule"] :is(.scene, .scrim) { visibility: hidden; }
/* The script hides #schedule on its way out; the view itself leaves with the router, so the page never blanks mid-exit. */
#schedule.gd-sched[hidden] { display: grid; }
.gd-sched .gd-close { color: hsl(var(--text-muted)); }
.gd-sched .gd-close:hover { color: hsl(var(--text-strong)); }
.g-sched__key { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-4); margin: 0; font: 500 var(--fs-tertiary)/1.3 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: hsl(var(--text-muted)); }
#schedKey .g-key { display: inline-flex; align-items: center; gap: var(--sp-2); font: inherit; word-break: normal; color: inherit; }
#schedKey .g-key::before { content: ""; inline-size: 14px; block-size: 10px; border-radius: 2px; }
#schedKey .g-key--done::before { background: hsl(var(--primary)); }
#schedKey .g-key--due::before { background: hsl(var(--primary) / .16); box-shadow: inset 0 0 0 1px hsl(var(--primary) / .6); }
#schedKey .g-key--vote::before { background: repeating-linear-gradient(45deg, hsl(var(--reference) / .7) 0 1.5px, transparent 1.5px 4px); box-shadow: inset 0 0 0 1px hsl(var(--reference)); }
#schedKey .g-key--sale::before { background: hsl(var(--secondary) / .2); box-shadow: inset 0 0 0 1.5px hsl(var(--secondary)); }
.g-sched__chart { min-inline-size: 0; }
#schedTimeline:has(> svg) { block-size: clamp(260px, 42svh, 420px); }
.g-sched__wait, .g-next__wait, .g-mine__wait, .g-pays__none, #schedSub, #schedParts td { min-inline-size: 0; overflow-wrap: anywhere; }
.g-sched__wait, .g-next__wait, .g-mine__wait, .g-pays__none { margin: 0; padding: var(--sp-2) 0; font: 400 var(--fs-tertiary)/1.45 var(--font-sans); color: hsl(var(--text-muted)); }

/* The timeline svg. Global, because the part pages copy its shapes into their strip (js/genesis-inner.js). */
.g-tl { display: block; overflow: visible; }
.g-tl .g-tl__year, .g-tl .g-tl__group, .g-tl .g-tl__share, .g-tl .g-tl__nowlabel { font: 500 var(--fs-tertiary) var(--font-mono); letter-spacing: .08em; }
.g-tl .g-tl__name, .g-tl .g-tl__rule { font: 600 var(--fs-tertiary) var(--font-sans); }
.g-tl .g-tl__rule { font-weight: 400; }
.g-tl .g-tl__year { fill: hsl(var(--text-muted)); }
.g-tl .g-tl__group { fill: hsl(var(--text-faint)); text-transform: uppercase; }
.g-tl .g-tl__name { fill: hsl(var(--text-strong)); }
.g-tl :is(.g-tl__share, .g-tl__rule) { fill: hsl(var(--text-muted)); }
.g-tl .g-tl__tick { stroke: hsl(var(--border-subtle)); stroke-width: 1; }
.g-tl .g-tl__base { stroke: hsl(var(--border-default)); stroke-width: 1; }
.g-tl .g-tl__step { fill: hsl(var(--primary) / .16); }
.g-tl .g-tl__step--done { fill: hsl(var(--primary)); }
.g-tl .g-tl__step--vote { fill: url(#gTlHatch); }
.g-tl .g-tl__step--sale { fill: hsl(var(--secondary) / .2); stroke: hsl(var(--secondary)); stroke-width: 1.5; }
.g-tl .g-tl__hatch { stroke: hsl(var(--reference) / .8); stroke-width: 1.5; }
.g-tl .g-tl__bar { fill: hsl(var(--primary) / .24); }
.g-tl .g-tl__bar--done { fill: hsl(var(--primary)); }
.g-tl .g-tl__now { stroke: hsl(var(--text-strong)); stroke-width: 1.25; stroke-dasharray: 3 3; }
.g-tl .g-tl__nowlabel { fill: hsl(var(--text-strong)); }
.g-tl .g-tl__link { cursor: pointer; }
.g-tl .g-tl__link:is(:hover, :focus-visible) .g-tl__name { fill: hsl(var(--reference)); text-decoration: underline; }

/* Next: one row per release, date, what, amount. */
.g-next { display: grid; margin: 0; padding: 0; list-style: none; }
.g-next__row { display: grid; grid-template-columns: 7em minmax(0, 1fr) auto; align-items: center; gap: var(--sp-4); padding: var(--sp-3) 0; border-block-start: 1px solid hsl(var(--border-subtle)); }
.g-next__row:first-child { border-block-start: 0; }
.g-next__when, .g-next__what { display: grid; min-inline-size: 0; line-height: 1.3; }
.g-next__date { font: 500 var(--fs-tertiary)/1.3 var(--font-mono); letter-spacing: .08em; color: hsl(var(--text-strong)); white-space: nowrap; }
.g-next__row--open .g-next__date { color: hsl(var(--primary)); }
.g-next__in, .g-next__how { font: 400 var(--fs-tertiary)/1.3 var(--font-sans); color: hsl(var(--text-muted)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.g-next__name { font: 600 var(--fs-tertiary)/1.3 var(--font-sans); color: hsl(var(--text-strong)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.g-next__amt { font: 600 var(--fs-tertiary)/1.3 var(--font-mono); color: hsl(var(--text-strong)); font-variant-numeric: tabular-nums; white-space: nowrap; text-align: end; }

/* Mining so far: the facts, then the payouts as rows. */
.g-mine { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-3) var(--sp-5); margin: 0; }
.g-mine__fact { display: grid; gap: var(--sp-1); min-inline-size: 0; }
.g-mine dt { font: 500 var(--fs-tertiary)/1.3 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: hsl(var(--text-muted)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.g-mine dd { margin: 0; font: 700 var(--fs-secondary)/1.25 var(--font-display); color: hsl(var(--text-strong)); font-variant-numeric: tabular-nums; white-space: nowrap; }
.g-mine__note { font: 400 var(--fs-tertiary)/1.3 var(--font-sans); color: hsl(var(--text-muted)); }
.g-mine__wait { grid-column: 1 / -1; }
/* No scroll box in a card (owner 2026-11-25): the list shows its first eight payouts at full height, and "Show all" (js/genesis-schedule.js) opens the rest. */
.g-pays { display: grid; align-content: start; margin: 0; padding: 0; list-style: none; }
.g-pays:not([data-all]) > .g-pays__row:nth-child(n+10) { display: none; }
.g-pays__head, .g-pays__row { display: grid; grid-template-columns: 6.6em minmax(0, 1fr) minmax(0, 1fr) 7.4em; align-items: center; gap: var(--sp-3); min-block-size: 32px; font: 400 var(--fs-tertiary)/1.3 var(--font-sans); }
.g-pays__head { position: sticky; inset-block-start: 0; background: hsl(var(--surface)); font-family: var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: hsl(var(--text-muted)); border-block-end: 1px solid hsl(var(--border-subtle)); }
.g-pays__head > :is(:nth-child(2), :nth-child(3)) { text-align: end; }
.g-pays__row { border-block-end: 1px solid hsl(var(--border-subtle)); color: hsl(var(--text)); }
.g-pays__row .g-num { font: 500 var(--fs-tertiary)/1.3 var(--font-mono); text-align: end; }
.g-pays__cid { min-block-size: var(--dxt-key-h); padding: 0 var(--sp-3); border: 0; border-radius: var(--dxt-r); background: hsl(var(--raised)); box-shadow: var(--dxt-key); cursor: pointer; font: 400 var(--fs-tertiary)/1 var(--font-mono); color: hsl(var(--text)); text-align: start; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.g-pays__cid:hover { border-color: hsl(var(--border-strong)); color: hsl(var(--text-strong)); }
.g-pays__cid:focus-visible { outline: 2px solid hsl(var(--reference)); outline-offset: 1px; }

/* ======================================================================================================================
   THE DRAWER PAGES (/distribution, /funds, /dao/<id>, /fees, /operations, 2026-11-25). Each has its own address, so each is a page
   in the same frame as /start: the 1280 column, the crumbs as the eyebrow, the title at 47 px, then the drawer itself with no
   frame of its own. The drawer's head holds its state line, its one dominant key and Close. Its h2 is for screen readers: the page
   title names it.
   ====================================================================================================================== */
body[data-view="page"]:is([data-page="distribution"], [data-page="funds"], [data-page="dao"], [data-page="fees"], [data-page="ops"]) :is(.scene, .scrim) { visibility: hidden; }
body[data-view="page"]:is([data-page="distribution"], [data-page="funds"], [data-page="dao"], [data-page="fees"], [data-page="ops"]) .view.page[data-view="page"] {
  --gm-col: calc(100vw - 2 * var(--dxt-col)); display: block; overflow-y: auto; overflow-x: clip;
  padding: var(--sp-5) 0 var(--sp-6) var(--dxt-col);
}
body[data-view="page"]:is([data-page="distribution"], [data-page="funds"], [data-page="dao"], [data-page="fees"], [data-page="ops"]) :is(#pageStage, #pageTurns, #originDisc) { display: none; }
body[data-view="page"]:is([data-page="distribution"], [data-page="funds"], [data-page="dao"], [data-page="fees"], [data-page="ops"]) .page-top { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--sp-3); inline-size: var(--gm-col); max-width: none; padding-block-end: var(--sp-5); }
body[data-view="page"]:is([data-page="distribution"], [data-page="funds"], [data-page="dao"], [data-page="fees"], [data-page="ops"]) .page-title { font: 700 var(--fs-primary)/1.1 var(--font-display); letter-spacing: -.03em; text-shadow: none; }
body[data-view="page"]:is([data-page="distribution"], [data-page="funds"], [data-page="dao"], [data-page="fees"], [data-page="ops"]) .page-lede { max-width: 52ch; text-shadow: none; }
body[data-view="page"]:is([data-page="distribution"], [data-page="funds"], [data-page="dao"], [data-page="fees"], [data-page="ops"]) .crumbs .path { font: 500 var(--fs-tertiary)/1.3 var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: hsl(var(--text-muted)); }
body[data-view="page"]:is([data-page="distribution"], [data-page="funds"], [data-page="dao"], [data-page="fees"], [data-page="ops"]) .sheet-slot { display: block; inline-size: var(--gm-col); }
body[data-view="page"]:is([data-page="distribution"], [data-page="funds"], [data-page="dao"], [data-page="fees"], [data-page="ops"]) .g-app .sheet-slot > #genesisCard {
  position: static; inset: auto; inline-size: auto; max-inline-size: none; block-size: auto; max-block-size: none; display: block; padding: 0; border: 0; border-radius: 0; overflow: visible;
  background: none !important; box-shadow: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; transform: none;
}
body[data-view="page"]:is([data-page="distribution"], [data-page="funds"], [data-page="dao"], [data-page="fees"], [data-page="ops"]) .g-app .sheet-slot > #genesisCard > :is(.g-act__top, .g-step, .gi-locked) { display: none !important; }

.g-drawer { position: static; display: grid; gap: var(--sp-5); align-content: start; padding: 0; overflow: visible; background: none; font: 400 var(--fs-secondary)/1.5 var(--font-sans); color: hsl(var(--text)); }
.g-drawer[hidden] { display: none; }
.g-drawer__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-3) var(--sp-6); }
.g-drawer__state { margin: 0; font: 400 var(--fs-tertiary)/1.45 var(--font-sans); color: hsl(var(--text-muted)); }
.g-drawer__head > .g-drawer__state { flex: 1 1 320px; }
/* The filled button that is a link keeps the button's ink, not the page's link colour; Close is a word, not a box. */
.g-drawer__head a.dx-btn--solid { color: hsl(var(--secondary-ink)); }
:is(.g-drawer__head, .gd-sched .gd-actions) button.gd-link { padding: 0; border: 0; background: none; box-shadow: none; color: hsl(var(--text-muted)); cursor: pointer; }
:is(.g-drawer__head, .gd-sched .gd-actions) button.gd-link:hover { color: hsl(var(--text-strong)); }
.g-drawer__card { display: grid; gap: var(--sp-4); padding: var(--sp-5); min-inline-size: 0; }
.g-drawer :is(h3, h4) { margin: 0; }
.g-drawer p { margin: 0; }
.g-drawer code { font: 400 var(--fs-tertiary)/1.4 var(--font-mono); overflow-wrap: anywhere; }
.g-drawer .dx-disclosure { border-block-start: 1px solid hsl(var(--border-subtle)); }
.g-drawer .dx-disclosure > summary { min-block-size: var(--dxt-row-h); display: flex; align-items: center; font: 500 var(--fs-tertiary)/1.3 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: hsl(var(--text-muted)); cursor: pointer; }
.g-drawer .dx-disclosure > summary:hover { color: hsl(var(--text-strong)); }
.g-drawer .dx-disclosure__body { display: grid; gap: var(--sp-3); padding-block-end: var(--sp-4); font-size: var(--fs-tertiary); color: hsl(var(--text-muted)); }

/* Distribution: the facts, then every part as one table. A band's row is its head; its parts follow it. */
.g-drawer__table { border-block-start: 1px solid hsl(var(--border-subtle)); }
.g-alloc .g-alloc__name { display: block; color: hsl(var(--text-strong)); }
.g-alloc .g-alloc__who { display: block; font: 400 var(--fs-tertiary)/1.4 var(--font-sans); color: hsl(var(--text-muted)); }
.g-alloc tr.g-alloc__band > * { border-block-start: 1px solid hsl(var(--border-default)); }
.g-alloc tr.g-alloc__band .g-alloc__name { font: 600 var(--fs-tertiary)/1.3 var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: hsl(var(--primary)); }
.g-alloc tr.g-alloc__safe > th { padding-inline-start: var(--sp-6); }
.g-alloc td { font-size: var(--fs-tertiary); }
.g-alloc td.g-num { font: 500 var(--fs-tertiary)/1.4 var(--font-mono); font-variant-numeric: tabular-nums; white-space: nowrap; color: hsl(var(--text-strong)); }
.g-alloc td.g-unset { color: hsl(var(--text-muted)); }
.g-alloc tr[data-focus] > * { background: hsl(var(--primary) / .08); }
.g-alloc tbody:empty { display: none; }
.g-alloc tfoot :is(th, td) { border-block-start: 1px solid hsl(var(--border-default)); font: 600 var(--fs-tertiary)/1.4 var(--font-mono); color: hsl(var(--text-strong)); }
#drawerDistribution .gi-partlink { color: inherit; text-decoration: none; border-block-end: 1px solid hsl(var(--text-faint)); }
#drawerDistribution .gi-partlink:hover { color: hsl(var(--reference)); border-color: hsl(var(--reference)); }

/* Funds and one DAO: two cards, then a DAO's detail in its own card. */
.g-tlist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-5); align-items: start; }
.g-tlist[hidden], .g-tdetail[hidden] { display: none; }
.g-tdetail { display: grid; gap: var(--sp-4); align-content: start; min-inline-size: 0; }
.g-daos { display: grid; margin: 0; padding: 0; list-style: none; }
.g-gov__act { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-3) var(--sp-5); }
.g-gov__act[hidden] { display: none; }

/* Fees and operations: tabs in the card, then the panel. */
.g-drawer .dx-tabs { display: flex; flex-wrap: wrap; gap: var(--sp-2); border-block-end: 1px solid hsl(var(--border-subtle)); }
.g-drawer__head .g-fees__foot { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-3) var(--sp-5); }
.g-ops__more { font-size: var(--fs-tertiary); color: hsl(var(--text-muted)); }

@media (max-width: 980px) {
  body[data-view="page"]:is([data-page="distribution"], [data-page="funds"], [data-page="dao"], [data-page="fees"], [data-page="ops"]) .view.page[data-view="page"] { --gm-col: 100%; padding: var(--sp-5); }
  .g-tlist { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .g-next__row { grid-template-columns: 6em minmax(0, 1fr) auto; gap: var(--sp-3); }
  .g-pays { max-block-size: none; overflow: visible; }
  .g-pays__head, .g-pays__row { grid-template-columns: 6.2em minmax(0, 1fr) minmax(0, 1fr) 6.2em; }
  #schedTimeline:has(> svg) { block-size: 260px; }
  .g-drawer__card { padding: var(--sp-4); }
}
