/* notes.css: the /notes/ section (index list + article extras) · C. Doherty · 2026-10-15 · STH-598
   Loaded after /apps.css and /studio.css, which supply the tokens, the top bar, the document column,
   .updated, p.lead, .note and .factbox. Light only, like the rest of the site. */

/* ── index: one ruled row per note ─────────────────────── */
.notes { list-style: none; margin: 8px 0 0; padding: 0; border-top: var(--edge); }
.notes li { border-bottom: var(--edge); margin: 0; }
.notes a { display: grid; grid-template-columns: 7.5rem 5.5rem minmax(0, 1fr); gap: 4px 18px;
  padding: 18px 4px; text-decoration: none; color: var(--ink); }
.notes a:hover { background: var(--paper-light); }
.notes a:hover .t { text-decoration: underline; text-decoration-color: var(--amber);
  text-decoration-thickness: 2px; text-underline-offset: 4px; }
.notes .d { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 12.5px; color: var(--dim);
  font-variant-numeric: tabular-nums; padding-top: 4px; }
.notes .k { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 11px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--amber-text); padding-top: 5px; }
.notes .b { min-width: 0; }
.notes .t { display: block; font-weight: 900; font-size: 22px; line-height: 1.15; letter-spacing: -.02em; text-wrap: balance; }
.notes .s { display: block; color: var(--soft); font-size: 15.5px; margin-top: 4px; max-width: 60ch; }
.notes .r { display: block; font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 11px;
  letter-spacing: .08em; text-transform: uppercase; color: var(--dim); margin-top: 6px; }

/* ── article extras ────────────────────────────────────── */
.doc .stamps { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 4px; }
.doc .stamps .updated { margin: 0; }
p.lead .tag { display: block; font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 11px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--amber-text); margin-bottom: 6px; }
.doc dl.factbox { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px 24px; margin: 22px 0; }
.doc dl.factbox div { min-width: 0; }
.doc dl.factbox dd { margin: 2px 0 0; font-size: 24px; font-weight: 900; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.doc dl.factbox dd small { display: block; font-size: 13px; font-weight: 500; letter-spacing: 0; color: var(--dim); }
.doc ol.sources { font-size: 14.5px; color: var(--soft); }

@media (max-width: 560px) {
  .notes a { grid-template-columns: auto minmax(0, 1fr); }
  .notes .k { justify-self: end; }
  .notes .b { grid-column: 1 / -1; }
}
