/* The site's shell (O1, O2): the theme's dark tokens (storyboard_tigrex_10_15/theme.md, set
   2026-10-15 with mark B), laid out as the frames draw them (storyboard_tigrex_11_05/recipe/frames.py).
   Nothing is fetched from another site, and no page carries an inline style, so the CSP refuses
   none. Inter, then Helvetica and Arial; every command, path and number in the monospace. */

/* Inter, the official web font the frames were drawn in (fonts/OFL.txt, its licence), served
   from this site; the stack's next face shows until it loads. */
@font-face {
  font-family: 'Inter';
  src: url('/static/fonts/InterVariable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('/static/fonts/InterVariable-Italic.woff2') format('woff2');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ground: #080D14;
  --glass: #17212C;
  --field: #090F17;
  --strong: #FFFFFF;
  --ink: #E9EEF5;
  --muted: #A4AFBE;
  --line: #293544;
  --accent: #F2682A;
  --on-accent: #010101;
  --signal: #023F89;
  --link: #91B5DA;
  --page: linear-gradient(135deg, #101923 0%, #080D14 55%, #010101 100%);
  --pane: linear-gradient(160deg, color-mix(in srgb, #17212C 95%, transparent), color-mix(in srgb, #0A1018 95%, transparent));
  --body: Inter, Helvetica, Arial, sans-serif;
  --mono: 'SF Mono', Menlo, Consolas, monospace;
  --edge: 32px;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--ground);
  background: var(--page);
  color: var(--ink);
  font: 14px/1.45 var(--body);
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; color: var(--strong); }
p { margin: 0; }
code, .field, .loaded { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.hint { color: var(--muted); font-size: 13px; }

/* The header: mark B once, small; TIGREX at weight 650, widely spaced; the tabs; who is in. */
.top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 64px;
  padding: 0 var(--edge);
  background: color-mix(in srgb, var(--glass) 72%, transparent);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 11px; }
.mark { display: block; width: 28px; height: 28px; }
.wordmark { color: var(--strong); font-size: 18px; font-weight: 650; letter-spacing: .16em; }
.note { margin-left: 6px; color: var(--muted); font-size: 12.5px; }
.tabs { display: flex; gap: 6px; align-self: stretch; }
.tabs a { display: flex; align-items: center; padding: 0 14px; color: var(--muted); border-bottom: 2px solid transparent; white-space: nowrap; }
.tabs a.on { color: var(--strong); border-bottom-color: var(--accent); }
.tabs .short { display: none; }
.who { grid-column: 3; display: flex; align-items: center; gap: 16px; font-size: 13px; }

/* Buttons: outlined, and the orange one for each page's one main action. */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}
.button:hover { border-color: var(--muted); }
.button:focus-visible, .tabs a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.button.accent { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.button.accent:hover { filter: brightness(1.08); }
.button.wide { width: 100%; min-height: 3rem; font-size: 14px; }

/* A page's body, its head and its glass cards. */
.page { flex: 1; width: 100%; max-width: 1376px; margin: 0 auto; padding: 22px var(--edge) 32px; }
.head { margin-bottom: 20px; }
.eyebrow { margin-bottom: 6px; color: var(--muted); font: 600 11.5px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.head h1 { font-size: 28px; font-weight: 650; letter-spacing: -.01em; text-wrap: balance; }
.card { padding: 24px 28px; background: var(--glass); background: var(--pane); border: 1px solid var(--line); border-radius: 16px; }

/* The dashboard: the Connect Claude card's rows, each value in a field to copy. */
.connect h2 { margin-bottom: 8px; font-size: 20px; font-weight: 650; }
.row { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 24px; padding: 18px 0; border-top: 1px solid var(--line); }
.connect h2 + .row { border-top: 0; }
.label { padding-top: 9px; font-size: 14px; font-weight: 650; }
.body { display: grid; gap: 10px; min-width: 0; }
.copy { display: flex; align-items: stretch; gap: 14px; min-width: 0; }
.field {
  display: block;
  flex: 1;
  min-width: 0;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--field);
  color: var(--ink);
  font-size: 13px;
  overflow-wrap: anywhere;
  user-select: all;
}
.field.line { white-space: nowrap; overflow-x: auto; overflow-wrap: normal; }  /* one line, swiped across: never broken inside a token (m14) */

/* The public page: the art, the sign-in card, the faint signal lines (gradients, no image). */
.page.public {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 30rem) minmax(0, 1fr);
  align-items: center;
  gap: 48px;
}
.art img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 16px; }
.hero { display: grid; gap: 18px; padding: 40px 48px; }
.hero h1 { font-size: 28px; font-weight: 650; }
.lead { color: var(--muted); }
.notice { padding-left: 12px; border-left: 3px solid var(--accent); }
.signal {
  align-self: stretch;
  min-height: 24rem;
  opacity: .8;
  background: repeating-radial-gradient(circle at 120% 130%, transparent 0 26px, color-mix(in srgb, var(--signal) 75%, transparent) 26px 27.5px);
  -webkit-mask-image: linear-gradient(100deg, transparent 5%, black 55%, transparent 98%);
  mask-image: linear-gradient(100deg, transparent 5%, black 55%, transparent 98%);
}

/* The state page: what happened and where to go. */
.state { display: grid; gap: 18px; max-width: 52rem; }

/* The footer: the Loaded line, the id's first 8 hex small; the plain note signed out. */
.loaded { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; padding: 12px var(--edge) 14px; color: var(--muted); font-size: 12.5px; border-top: 1px solid var(--line); }
.loaded .id { font-size: 10.5px; opacity: .75; }
.foot { padding: 14px var(--edge) 18px; color: var(--muted); font-size: 12px; border-top: 1px solid var(--line); }

/* Narrow screens: the public page stacks; where the header no longer fits on one line (the brand,
   the four tabs and who is in need about 1,025 px in Inter, more in its fallback) the tabs move
   under the brand and scroll; at a phone's width their short words show and the card's rows stack. */
@media (max-width: 1080px) {
  .top { grid-template-columns: 1fr auto; gap: 10px; padding-top: 10px; }
  .who { grid-column: 2; gap: 10px; }
  .tabs { grid-column: 1 / -1; grid-row: 2; height: 44px; margin: 0 calc(-1 * var(--edge)); padding: 0 6px; overflow-x: auto; scrollbar-width: none; border-top: 1px solid var(--line); }
  .tabs a { padding: 0 10px; }
}
@media (max-width: 960px) {
  .page.public { grid-template-columns: minmax(0, 1fr); }
  .hero { order: -1; }
  .signal { display: none; }
}
@media (max-width: 700px) {
  :root { --edge: 16px; }
  .top .note { display: none; }
  .tabs .long { display: none; }
  .tabs .short { display: inline; }
  .head h1, .hero h1 { font-size: 22px; }
  .card { padding: 18px 16px; }
  .hero { padding: 28px 20px; }
  .row { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .label { padding-top: 0; }
  .copy { flex-direction: column; }
}

/* The organization map (frame `org-map`): the headline; the tools; the grid scrolling in its box,
   its head held at the top, the folder column held as it swipes and the totals held at its foot;
   each kind's count shaded by its column's largest (a class a bucket: the theme's dark scale),
   No kind read a dashed gap; the checks under the grid, a failure marked in the theme's unsound. */
:root {
  --zero: #0C1722;
  --scale-low: #0B2A48;
  --scale-high: #356F9D;
  --sound: #4FAF7E;
  --unsound: #E5484D;
}
.head .sub { margin-top: 8px; color: var(--muted); }
.card.map { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.tools input, .tools select { padding: 7px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--field); color: var(--ink); font: inherit; font-size: 13px; }
.tools input { width: 18rem; }
.tools input:focus-visible, .tools select:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.tools .count { margin-left: auto; color: var(--muted); font-size: 13px; }
.tools .miss { width: 100%; padding-left: 12px; border-left: 3px solid var(--accent); color: var(--ink); font-size: 13px; }  /* a find nothing holds, and where to look (M7) */
.tools .miss a.n { color: var(--link); }
.tools .miss a.n:hover { text-decoration: underline; }
.swipe { display: none; }
.scroll { max-height: 516px; overflow: auto; }  /* the head, 12 whole rows and the totals: 79 + 12 x 33 + 41 */
table.m { width: 100%; min-width: 1310px; border-collapse: separate; border-spacing: 0; table-layout: fixed; font-variant-numeric: tabular-nums; }
.page.wide { max-width: 1392px; }  /* the grid whole at 1440 beside its box's own scrollbar (15 px where scrollbars take room) */
.m col.f { width: 104px; }  /* a folder's name breaks after its `_` (m13) */
.m col.n { width: 60px; }  /* the totals' 18,574 whole */
.m col.k { width: 60px; }  /* "Touchstone" and "Component" whole (m10) */
.m col.r { width: 90px; }  /* "482 of 486" whole */
.m col.w { width: 84px; }  /* "47.15 GHz", the widest read to four digits (p8), whole */
/* A top value and its files of the row's (M8, "HFSS, 1,295 of 1,836 files") in two lines at most */
.m col.t { width: 96px; }  /* "HFSS, 1,295" over "of 1,836 files" */
.m col.p { width: 110px; }  /* "GSSSSSSSSG," over "114 of 454 files" */
.m col.o { width: 96px; }  /* "OPTH, 114" over "of 1,836 files"; "none named" and the head whole */
.m col.a { width: 40px; }  /* the columns come to 1,310 px, the card's inside at 1440: no value cut (B8) */
.m th, .m td { height: 33px; padding: 0 6px; border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); white-space: nowrap; text-align: right; font: 13px var(--mono); color: var(--ink); }
.m thead th { position: sticky; top: 0; z-index: 2; height: 52px; padding-bottom: 7px; vertical-align: bottom; background: var(--glass); color: var(--muted); font: 650 10.5px/1.25 var(--mono); letter-spacing: .06em; text-transform: uppercase; white-space: normal; }
.m thead tr.g th { height: 26px; padding-bottom: 2px; border-bottom: 0; }
.m thead tr.g + tr th { top: 26px; }
.m thead th.group { text-align: center; }
.m thead th.kind { padding: 0 2px 7px; text-align: center; font: 600 10px/1.2 var(--body); letter-spacing: 0; text-transform: none; }
.m th.f { position: sticky; left: 0; z-index: 1; text-align: left; background: var(--glass); color: var(--strong); font: 600 13.5px/1.25 var(--body); white-space: normal; overflow-wrap: anywhere; }  /* a long folder name wraps, never cut */
.m thead th.f, .m tfoot th.f { z-index: 3; }
.m th.f a.name { color: inherit; }  /* a folder's name opens its files (m11) */
.m th.f a.name:hover { text-decoration: underline; }
.m th.f a.name:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.m td.k { padding: 0 3px; }
.m .shade { display: block; height: 26px; line-height: 26px; border-radius: 6px; text-align: center; font-size: 12px; }
.m .shade-zero { background: var(--zero); color: var(--muted); }
.m .shade-low { background: color-mix(in srgb, var(--scale-high) 22%, var(--scale-low)); }
.m .shade-mid { background: color-mix(in srgb, var(--scale-high) 45%, var(--scale-low)); }
.m .shade-high { background: color-mix(in srgb, var(--scale-high) 70%, var(--scale-low)); }
.m .shade-top { background: var(--scale-high); color: var(--strong); }
.m .shade-gap { height: 24px; line-height: 22px; background: transparent; border: 1px dashed var(--muted); color: var(--muted); }
.m a.n { color: var(--link); }
.m .shade a.n { color: inherit; }  /* a kind's count in its cell's ink, as the frame draws it */
.m a.n:hover { text-decoration: underline; }
.m a.n:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.m td.t, .m th.t { text-align: left; font: 12.5px var(--body); }  /* never ellipsized: every value whole (B8) */
.m td.t { line-height: 15px; white-space: normal; overflow-wrap: anywhere; }  /* two lines in the row's 33 px */
.m thead th.t { font: 650 10.5px/1.25 var(--mono); }
.m td.c, .m th.c { text-align: center; color: var(--sound); font-family: var(--body); }
.m td.c.fails { color: var(--unsound); }
.m tbody tr:hover td, .m tbody tr:hover th { background: color-mix(in srgb, var(--accent) 9%, var(--glass)); }
.m tbody tr:hover th.f { box-shadow: inset 3px 0 0 var(--accent); }
.m tfoot td, .m tfoot th { position: sticky; bottom: 0; z-index: 2; height: 40px; background: var(--glass); border-top: 1px solid var(--line); border-bottom: 0; color: var(--strong); font-weight: 650; }
.m tfoot .shade { background: transparent; }
.checks { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0; padding: 10px 16px 12px; list-style: none; border-top: 1px solid var(--line); color: var(--muted); font-size: 12.5px; }
.checks b { margin-right: 6px; color: var(--sound); font-weight: 600; }
.checks .fails, .checks .fails b { color: var(--unsound); }

/* The map below 1,440 px: its grid, 1,310 px, swipes in its card, said so by the swipe line, its
   folder column held and its totals at the rows' end, so no row hides under a held footer; its box
   516 px high as at 1440, so its sideways bar is on the screen with it (p6). */
@media (max-width: 1439px) {
  .card.map .swipe { display: block; padding: 8px 16px 6px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12.5px; }
  .m tfoot td, .m tfoot th { position: static; }
  .m tfoot th.f { bottom: auto; }  /* the label held at the left with its row, never at the box's foot (B2): outranks .m th.f */
}

/* The map at a phone's width: the tools wrap, the grid swipes with its folder column held, its
   rows down the page with its totals row at their end, so every column and every row is reached
   (S-22). */
@media (max-width: 700px) {
  .tools { padding: 10px 12px; }
  .tools label, .tools input { width: 100%; }
  .tools .count { width: 100%; margin-left: 0; }
  .swipe { display: block; padding: 8px 12px 6px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12.5px; }
  .card.map .scroll { max-height: none; }  /* the rows scroll with the page, in no box of their own (m13) */
  .m tfoot td, .m tfoot th { position: static; }
  .checks { font-size: 12px; }
}

/* The breakdowns (frame `org-breakdowns`): the ways as chips, More's under a disclosure; the
   bars beside the heat map, each bar a meter against the largest (no track), the gap dashed, a lit
   bar the scale's blue with an accent edge; the heat map's cells shaded as the map's, a lit cell
   ringed in the accent; a row's check by its mark: it adds (sound), a coverage gap (muted, no
   mark), a failure (unsound); the lit cell's line in an accent box. */
.ways { margin: 0 0 18px; }
.ways .eyebrow { margin: 0 0 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chip { display: inline-block; padding: 7px 13px; border: 1px solid var(--line); border-radius: 999px; background: var(--field); color: var(--ink); font-size: 13.5px; cursor: pointer; }
.chip:hover { border-color: var(--muted); }
.chip.on { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 16%, var(--field)); color: var(--strong); }
.chip:focus-visible, .more summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.more summary { list-style: none; }
.more summary::-webkit-details-marker { display: none; }
.more summary::after { content: " ▾"; }
.more[open] summary::after { content: " ▴"; }
.more .chips { margin-top: 8px; }
.more:not([open]) > .chips { display: none; }  /* closed, More's chips lay out no box */
.lists { margin: 10px 0 0; color: var(--muted); font-size: 12.5px; }
.lists.key { margin: 6px 0 0; }
.keys { margin: 0; padding: 0 16px 10px; color: var(--muted); font-size: 12.5px; }
.folder-card .hint.key { margin: 6px 0 0; font-size: 12.5px; }
.split { display: grid; grid-template-columns: minmax(300px, 430px) minmax(0, 1fr); gap: 18px; align-items: start; }
.card.bars, .card.heat { padding: 18px 20px; }
.card.bars h2, .card.heat h2 { margin: 0; color: var(--strong); font-size: 17px; font-weight: 650; }
.card.bars .sub, .card.heat .sub { margin: 4px 0 14px; color: var(--muted); font-size: 13px; }
ul.bars { margin: 0; padding: 0; list-style: none; }
.bar { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; margin-bottom: 12px; }
.bar .what { color: var(--ink); font-size: 14px; overflow-wrap: anywhere; }
.bar .n { color: var(--muted); font: 12.5px var(--mono); white-space: nowrap; }
.bar .n a.n { color: var(--ink); }
.bar meter { grid-column: 1 / -1; width: 100%; height: 8px; appearance: none; border: 0; background: transparent; }
.bar meter::-webkit-meter-bar { height: 8px; border: 0; border-radius: 4px; background: transparent; }
.bar meter::-webkit-meter-optimum-value, .bar meter::-webkit-meter-suboptimum-value, .bar meter::-webkit-meter-even-less-good-value { border-radius: 4px; background: var(--scale-high); }
.bar meter::-moz-meter-bar { border-radius: 4px; background: var(--scale-high); }
.bar.gap meter::-webkit-meter-optimum-value { background: transparent; border: 1px dashed var(--muted); box-sizing: border-box; }
.bar.gap meter::-moz-meter-bar { background: transparent; border: 1px dashed var(--muted); }
.bar.lit meter::-webkit-meter-optimum-value { background: color-mix(in srgb, var(--scale-high) 80%, var(--link)); box-shadow: 0 0 0 2px var(--accent); }
.bar.lit .what { color: var(--strong); font-weight: 600; }
.bar a.n:focus-visible, .h a.n:focus-visible, .lit-line a:focus-visible, .legend a:focus-visible, .box a:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.box { margin: 4px 0 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; color: var(--muted); font-size: 12.5px; }
.card.bars .checks { padding: 8px 0 0; }
.card.heat .scroll { max-height: none; overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; }  /* every row asked runs down the page */
table.h { width: 100%; min-width: 760px; border-collapse: separate; border-spacing: 0; font-variant-numeric: tabular-nums; }
.h th, .h td { height: 30px; padding: 0 3px; border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent); text-align: center; white-space: nowrap; font: 12.5px var(--mono); color: var(--ink); }
.h thead th { position: sticky; top: 0; z-index: 2; height: 44px; padding: 0 4px 6px; vertical-align: bottom; background: var(--glass); color: var(--muted); font: 600 10.5px/1.2 var(--body); white-space: normal; overflow-wrap: anywhere; }
.h th.f { position: sticky; left: 0; z-index: 1; min-width: 120px; max-width: 170px; padding: 0 10px; text-align: left; background: var(--glass); color: var(--strong); font: 600 13px/1.25 var(--body); white-space: normal; overflow-wrap: anywhere; }
.h thead th.f { z-index: 3; }
.h tr.all th, .h tr.all td { color: var(--strong); font-weight: 650; letter-spacing: .04em; }
.h tr.all a.n, .h a.n { color: inherit; }
.h a.n:hover, .lit-line a:hover, .legend a:hover, .box a:hover { text-decoration: underline; }
.h .shade { display: block; min-width: 64px; height: 24px; line-height: 24px; border-radius: 6px; font-size: 12px; }
.h .shade-zero { background: var(--zero); color: var(--muted); }
.h .shade-low, .legend .shade-low { background: color-mix(in srgb, var(--scale-high) 22%, var(--scale-low)); }
.h .shade-mid, .legend .shade-mid { background: color-mix(in srgb, var(--scale-high) 45%, var(--scale-low)); }
.h .shade-high, .legend .shade-high { background: color-mix(in srgb, var(--scale-high) 70%, var(--scale-low)); }
.h .shade-top, .legend .shade-top { background: var(--scale-high); color: var(--strong); }
.h .shade-gap, .legend .shade-gap { height: 22px; line-height: 20px; background: transparent; border: 1px dashed var(--muted); color: var(--muted); }
.h .shade.lit { box-shadow: inset 0 0 0 2px var(--accent); color: var(--strong); }
/* Where a press lands (p2): a pressed cell with rows above it in view, a toggle on its card's heading. */
.h td#lit { scroll-margin: 96px 8px 0 180px; }
.card.bars h2, .card.heat h2 { scroll-margin-top: 16px; }
.h td.c { min-width: 96px; padding: 0 8px; text-align: left; color: var(--muted); font-size: 12px; }
.h td.c.adds { color: var(--sound); }
.h td.c.fails { color: var(--unsound); }
.lit-line { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 16px; margin: 14px 0 0; padding: 12px 16px; border: 1px solid color-mix(in srgb, var(--accent) 60%, var(--line)); border-radius: 12px; background: color-mix(in srgb, var(--accent) 8%, var(--glass)); color: var(--ink); font-size: 14px; }
.lit-line a { color: var(--link); white-space: nowrap; }
.legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 12px 0 0; color: var(--muted); font-size: 12.5px; }
.legend .key { display: inline-block; width: 22px; height: 10px; border-radius: 3px; }
.legend .key.shade-gap { height: 10px; }
.legend a, .box a { color: var(--link); }  /* the toggles read as links: the base rule inherits the text's colour */

/* The breakdowns below 1,080 px: the bars over the heat map; at a phone's width the chips wrap,
   every one on the page, and the heat map swipes with its folder column held (S-22). */
@media (max-width: 1080px) {
  .split { grid-template-columns: minmax(0, 1fr); }
  .card.heat .swipe { display: block; padding: 0 0 8px; border: 0; }
}
@media (max-width: 700px) {
  .card.bars, .card.heat { padding: 14px 12px; }
  .chip { padding: 6px 11px; font-size: 13px; }
  .h th.f { min-width: 104px; max-width: 120px; }
}

/* The files page (S-7): the rows a count opens, each file's name over its two links in the
   monospace, wrapping anywhere so a long path never widens the page; a folder's SIG cases as a
   table that swipes at a phone's width; the cut said above the rows, and under them the links to
   the earlier and the next files, apart at the card's two edges, the next at the right alone. */
.card.listing { padding: 18px 20px; }
.card.listing .cut { margin: 0 0 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; color: var(--muted); font-size: 13px; }
ol.rows { margin: 0; padding: 0; list-style: none; }
.rows .row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 10px 0; border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent); min-width: 0; }
.rows .row:last-child { border-bottom: 0; }
.rows .name { color: var(--strong); font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }
.rows .path { color: var(--muted); font: 12.5px var(--mono); overflow-wrap: anywhere; }
.rows a.path { color: var(--link); }
.rows a.path:hover { text-decoration: underline; }
.rows a.path:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.rows .copy { display: flex; align-items: baseline; gap: 10px; min-width: 0; }  /* the network path and its Copy (T1) */
.rows .copy .path { flex: 1; min-width: 0; }
.rows .copy .button { padding: 1px 10px; border-radius: 8px; font-size: 12px; }
.card.listing .copy-line { margin: 0 0 8px; }
.head .back { margin-bottom: 10px; font-size: 13.5px; }  /* the way back to the view that sent the reader (p5) */
.head .back a { color: var(--link); }
.head .back a:hover { text-decoration: underline; }
.head .back a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.cases a.n { color: var(--link); }
.cases a.n:hover { text-decoration: underline; }
.cases a.n:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.card.listing .pager { display: flex; flex-wrap: wrap; gap: 12px; margin: 12px 0 0; padding-top: 12px; border-top: 1px solid var(--line); }
.pager a { color: var(--link); font-size: 14px; font-weight: 600; }
.pager a[rel="next"] { margin-left: auto; }
.pager a:hover { text-decoration: underline; }
.pager a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.card.listing .scroll { overflow-x: auto; }
table.cases { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.cases th, .cases td { padding: 8px 10px; border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent); text-align: left; white-space: nowrap; }
.cases thead th { color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .04em; }
.cases tbody th { color: var(--strong); font: 600 13px var(--mono); }
.cases td { color: var(--ink); font: 13px var(--mono); }
@media (max-width: 700px) {
  .card.listing { padding: 14px 12px; }
  .cases tbody th { white-space: normal; }  /* "SIG case" over its number (m12): the table within a phone */
}

/* The cases page's table runs down the page: the map's `.scroll` box (516 px high) is the grid's,
   never a listing's, so a folder's SIG cases are never folded in a box no line names. */
.card.listing .scroll { max-height: none; }

/* The knowledge graph (frame `org-graph`): at a desk's width five columns at the widths and gaps
   `site_graph`'s layout names (COLUMN_X, COLUMN_W; HEAD, BOX and PITCH: a 34 px head, 48 px boxes
   10 px apart; the cases column's 22 px line, its dots 11 a line at 13 px and 14 px before the
   opened case), so the curves its view draws meet the boxes; the curves in the scale's blue, the
   opened path's in the accent; a node opened ringed in the accent, the three buckets dashed, the
   gap's leaf dashed; the opened folder's card at the right, each kind's bar by its shade; under
   1,340 px the same nodes as an outline from the family down, the card below it. */
.graph-split { display: grid; grid-template-columns: minmax(0, 958px) minmax(0, 1fr); gap: 18px; align-items: start; }
.card.graph { padding: 20px; overflow-x: auto; }
.graph .cols { position: relative; display: grid; grid-template-columns: 200px 124px 160px 146px 142px; column-gap: 36px; width: 916px; }
.graph .curves { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.graph .curves path { fill: none; stroke: color-mix(in srgb, var(--scale-high) 80%, transparent); stroke-width: 1.2; }
.graph .curves path.lit { stroke: var(--accent); stroke-width: 1.6; }
.graph .col { position: relative; min-width: 0; }
.graph .colhead { height: 34px; margin: 0; color: var(--muted); font: 650 10.5px/1.25 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.graph ol.nodes { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.graph .node { display: flex; flex-direction: column; justify-content: center; height: 48px; padding: 2px 10px; overflow: hidden; border: 1px solid var(--line); border-radius: 9px; background: var(--glass); }
.graph .node .open { display: flex; gap: 6px; color: var(--strong); font: 600 12.5px/14px var(--body); overflow-wrap: anywhere; }  /* two lines and the files fit the box */
.graph .node .n { color: var(--muted); font: 11.5px/13px var(--mono); }
.graph .node a.n:hover, .graph .node a.open:hover { text-decoration: underline; }
.graph .node.on { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, var(--glass)); }
.graph .k-no_family, .graph .k-several_families, .graph .k-top_level { border-style: dashed; background: transparent; }
.graph .k-case { margin-top: 14px; }
.graph .leaf { background: transparent; }
.graph .leaf-no_kind_read { border-style: dashed; }
.caret::before { content: "▸"; color: var(--muted); font-size: 10px; }
.on > .open .caret::before { content: "▾"; color: var(--accent); }
.graph .more-line { margin: 10px 0 0; padding: 0 10px; color: var(--muted); font: 11.5px var(--mono); }
.graph .cases-line { height: 22px; margin: 0; color: var(--strong); font-size: 13px; font-weight: 600; }
.dots { display: flex; flex-wrap: wrap; width: 143px; }
.dot { position: relative; display: block; width: 13px; height: 13px; }
.dot::before { content: ""; position: absolute; left: 3px; top: 3px; width: 7px; height: 7px; border-radius: 50%; background: var(--scale-high); }
.dot:hover::before { background: var(--link); }
.dot.on::before { background: var(--accent); box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 35%, transparent); }
.dot:focus-visible, .graph a:focus-visible, .outline a:focus-visible, .folder-card a:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.card.outline { display: none; padding: 16px 18px; }
.outline .o-head { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 8px; padding: 0 12px; color: var(--muted); font: 650 10.5px/1.25 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.outline ul { margin: 0; padding: 0; list-style: none; }
.outline ul ul { margin-left: 10px; padding-left: 10px; border-left: 1px solid var(--line); }
.outline .o-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 6px 12px; border: 1px solid transparent; border-radius: 10px; }
.outline .o-row .open { display: flex; gap: 8px; min-width: 0; color: var(--ink); font-size: 15px; overflow-wrap: anywhere; }
.outline .o-row .n { color: var(--muted); font: 13px var(--mono); white-space: nowrap; }
.outline .o-row.on { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, var(--glass)); }
.outline .o-row.k-no_family, .outline .o-row.k-several_families, .outline .o-row.k-top_level { border-color: var(--line); border-style: dashed; }
.outline .more-line { padding: 8px 12px; color: var(--muted); font: 12.5px var(--mono); }
.outline .cases-line { margin: 0; padding: 8px 12px 4px; color: var(--strong); font-size: 14px; font-weight: 600; }
.outline .dots { width: auto; padding: 0 8px 6px; }
.outline .dot { width: 24px; height: 24px; }
.outline .dot::before { left: 8px; top: 8px; width: 8px; height: 8px; }
.folder-card { padding: 20px 22px; }
.folder-card h2 { color: var(--strong); font: 650 21px/1.25 var(--mono); overflow-wrap: anywhere; }
.folder-card .place { margin: 4px 0 12px; color: var(--muted); font-size: 13px; }
.folder-card .big { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.folder-card .big a.n { color: var(--strong); font-size: 26px; font-weight: 650; }
.folder-card a.go, .folder-card .go-cases a { color: var(--link); font-size: 13.5px; }
.folder-card .go-cases { margin: 6px 0 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.folder-card a:hover { text-decoration: underline; }
.folder-card .lines a.n { color: var(--link); }  /* a read's counts, each its files (m11) */
.folder-card ul { margin: 0; padding: 0; list-style: none; }
.folder-card .lines li { padding: 2px 0; color: var(--ink); font-size: 13.5px; }
.folder-card .eyebrow { margin: 14px 0 8px; }
.folder-card .kinds li { display: grid; grid-template-columns: minmax(0, 1fr) 96px 48px; align-items: center; gap: 10px; padding: 2px 0; color: var(--muted); font-size: 12.5px; }
.folder-card .kinds a.n { color: var(--ink); font: 12.5px var(--mono); text-align: right; }
.folder-card .bar { height: 6px; border-radius: 3px; background: var(--scale-high); }
.folder-card .bar.shade-zero { width: 4px; background: var(--zero); }
.folder-card .bar.shade-low { width: 25%; }
.folder-card .bar.shade-mid { width: 50%; }
.folder-card .bar.shade-high { width: 78%; }
.folder-card .bar.shade-top { width: 100%; }
.folder-card .bar.shade-gap { width: 22px; height: 8px; background: transparent; border: 1px dashed var(--muted); }
.graph-checks { margin-top: 14px; border-top: 0; padding: 0; }
.graph-checks .note { color: var(--muted); }
/* A column drawn whole (M3) keeps its way back in its head's second line, so its boxes keep the
   rows the curves meet; a folder of a family's series counted under In two families tagged on a
   line of its own; the card's SIG case picker (p3), a form with no script; under 1,340 px the card
   in the outline, right under its folder's row (p4). */
.graph .col > .less { position: absolute; top: 16px; left: 0; margin: 0; font: 11px/14px var(--mono); }
.graph .more-line a, .graph .less a, .outline .more-line a, .outline .less a { color: var(--link); }
.graph .more-line a:hover, .graph .less a:hover, .outline .more-line a:hover, .outline .less a:hover { text-decoration: underline; }
.outline .less { padding: 8px 12px; font: 12.5px var(--mono); }
.graph .node .nt, .outline .o-row .nt { display: flex; align-items: baseline; gap: 8px; }
.graph .node .nt .tag { order: 1; color: var(--muted); font: 10.5px/13px var(--body); }
.outline .o-row .nt .tag { color: var(--muted); font-size: 12px; white-space: nowrap; }
.folder-card .pick { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; margin: 0 0 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.folder-card .pick label { color: var(--muted); font-size: 12.5px; }
.folder-card .pick-row { display: flex; gap: 8px; }
.folder-card .pick select { flex: 1 1 0; min-width: 0; min-height: 36px; padding: 4px 8px; border: 1px solid var(--line); border-radius: 8px; background: var(--glass); color: var(--ink); font: 13px var(--mono); }
.folder-card .pick select:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.folder-card .pick .hint { font-size: 12px; }
.folder-card .variant { margin: 0 0 12px; color: var(--ink); font-size: 13px; }
.outline .o-card { margin: 8px 0; }
@media (max-width: 1339px) {
  .graph-split { grid-template-columns: minmax(0, 1fr); }
  .card.graph { display: none; }
  .card.outline { display: block; }
  .folder-card.held { display: none; }
}
@media (max-width: 700px) {
  .card.outline { padding: 12px 8px; }
  .folder-card { padding: 16px; }
}
