/* Retention Max — shell.css  (Phase-1 reduced-scope console)
 * App shell, layout primitives, typography, spacing.
 * Ported from docs/wireframes/shared/shell.css (D-43 — the Decisions MAX
 * design language). Tokens live in tokens.css; this file is the shell/layout
 * rules that consume them: nav bar, main content area, centered-card, and
 * the keyboard-focus reset. Component-level primitives (badges, filters,
 * tables, etc.) live in components.css.
 *
 * NO escalation / monitoring / scoring-config styling — those surfaces are
 * dropped (IA §02 §4.6).
 */

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text-primary);
  background: var(--color-bg);
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 400; margin: 0; }

a { color: var(--color-brand); }
a:hover { color: var(--color-brand-hover); }
a:focus-visible { outline: 2px solid var(--color-brand); outline-offset: 2px; border-radius: 2px; }

.text-muted { color: var(--color-text-muted); }
.text-subtle { color: var(--color-text-subtle); }
.mono { font-variant-numeric: tabular-nums; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ── Navbar (top-bar shell) ─────────────────────────────────── */
/* STICKY, and `nowrap` is part of that rather than a separate preference:
 * anything else on the page that sticks has to be offset by the nav's height
 * (see .detail-tabs), and a wrapping nav has no single height to offset by —
 * at a narrow viewport it became two rows and covered whatever parked beneath
 * it. With nowrap the height is exactly --nav-height, always.
 *
 * z-index 200 sits ABOVE the filter dropdowns (50) and info popovers (60),
 * and deliberately BELOW the export drawer (301) and its overlay (300), the
 * modal overlay (320), and the toast stack (400) — an overlay that did not
 * cover the nav would leave a live control above a modal.
 *
 * The narrow-viewport fallback is a scrolling links strip, not a clipped one:
 * `min-width: 0` lets the strip shrink below its content width (a flex item's
 * default `min-width: auto` refuses to, which is what forces PAGE-level
 * horizontal scroll), and `overflow-x: auto` keeps the overflow inside the
 * nav. Clipping instead would silently hide navigation. */
.app-nav {
  background: var(--color-navy-dark);
  color: white;
  padding: 0 20px;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
  flex-wrap: nowrap;
  position: sticky;
  top: 0;
  z-index: 200;
}

/* No typographic properties here any more: the wordmark lives inside the inline
 * lockup SVG, so this element wraps a single graphic and holds no text node. */
.app-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

/* Height, not width, is the anchor, and the number is derived rather than
 * picked: this value is whatever renders the TILE at the same size Decisions
 * MAX renders its own. Both marks are a 92-unit rounded square in a 56px nav,
 * but the viewBoxes are not comparable — Decisions MAX's `377x92` is trimmed
 * flush to the tile and renders at height 32, while this lockup's `396x120`
 * pads the tile with 14 units above and below. So matching the height
 * ATTRIBUTE (36px, what shipped) renders this tile at 92*36/120 = 27.6px
 * against their 32px, which is the ~14% deficit Jordan spotted. The parity
 * height is 120*32/92 = 41.7 -> 42px. Any change to the asset's viewBox
 * padding invalidates this number; recompute it, don't nudge it.
 * `width: auto` lets the aspect ratio carry the rest rather than trusting the
 * attribute. */
.app-brand-lockup { height: 42px; width: auto; display: block; flex-shrink: 0; }

/* `min-width: 0` and `overflow-x: auto`: see .app-nav's comment — without the
 * former, this strip refuses to shrink and the whole PAGE scrolls sideways. */
.app-nav-links { display: flex; gap: 18px; flex: 1; align-items: center; align-self: stretch; min-width: 0; overflow-x: auto; }
.app-nav-links a {
  color: rgba(255,255,255,0.72);
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: stretch;
  padding: 0 2px;
  border-bottom: 2px solid transparent;
}
.app-nav-links a:hover { color: white; }
.app-nav-links a.active { color: white; border-bottom-color: var(--color-brand); }
.app-nav-links a:focus-visible { outline: 2px solid var(--color-brand); outline-offset: 2px; border-radius: 2px; }

.app-nav-user { display: flex; gap: 10px; align-items: center; font-size: 12px; color: white; flex-shrink: 0; }
.app-nav-user a { color: rgba(255,255,255,0.65); text-decoration: none; font-size: 12px; font-weight: 800; }
.app-nav-user a:hover { color: white; }
.role-chip {
  background: rgba(255,255,255,0.14); color: white;
  padding: 2px 8px; border-radius: var(--radius-sm);
  font-size: 11px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase;
}

/* ── Messages (Django messages framework) ───────────────────── */
.app-messages { list-style: none; margin: 0; padding: 10px 20px 0; display: flex; flex-direction: column; gap: 8px; }
.app-message {
  padding: 10px 14px; border-radius: var(--radius-md); font-size: 13px; font-weight: 800;
  line-height: 1.5; border: 1px solid transparent;
}
.app-message-success { background: var(--color-severity-success-bg); border-color: var(--color-severity-success-line); color: var(--color-severity-success-fg); }
.app-message-warning { background: rgba(245,184,46,0.14); border-color: rgba(245,184,46,0.5); color: #92400E; }
.app-message-error   { background: rgba(233,75,60,0.10); border-color: rgba(233,75,60,0.4); color: #9F1239; }
.app-message-info,
.app-message-debug    { background: var(--color-cyan-tint); border-color: var(--color-cyan); color: #0E7490; }

/* ── Main content ───────────────────────────────────────────── */
.app-main { padding: 16px 20px 40px; max-width: 1500px; margin: 0 auto; }

.page-header { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; gap: 16px; flex-wrap: wrap; }
.page-header h1 { font-size: 22px; letter-spacing: 0.01em; }
.page-header-actions { display: flex; gap: 8px; align-items: center; }
.page-header-meta { font-size: 12px; color: var(--color-text-muted); font-weight: 800; }

.breadcrumb { font-size: 12px; color: var(--color-text-muted); margin-bottom: 8px; font-weight: 800; }
.breadcrumb a { color: var(--color-brand); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .sep { margin: 0 6px; color: var(--color-text-subtle); }

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; min-height: 32px; border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 13px; font-weight: 800;
  cursor: pointer; border: 1px solid transparent; text-decoration: none; line-height: 1;
}
.btn:focus-visible { outline: 2px solid var(--color-brand); outline-offset: 2px; }
.btn-primary { background: var(--color-brand); color: white; border-color: var(--color-brand); }
.btn-primary:hover { background: var(--color-brand-hover); border-color: var(--color-brand-hover); color: white; }
.btn-secondary { background: var(--color-surface); color: var(--color-text-primary); border-color: var(--color-border-strong); }
.btn-secondary:hover { background: var(--color-bg); }
.btn-ghost { background: transparent; color: var(--color-brand); border-color: transparent; }
.btn-ghost:hover { background: var(--color-brand-tint); }
.btn-sm { padding: 5px 10px; min-height: 30px; font-size: 12px; }

/* ── Form primitives ────────────────────────────────────────── */
.form-input, .form-select, .form-textarea {
  padding: 6px 10px; min-height: 32px;
  border: 1px solid var(--color-border-strong); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 13px;
  background: var(--color-surface); color: var(--color-text-primary); width: 100%;
}
.form-input:focus, .form-select:focus, .form-textarea:focus { outline: 2px solid var(--color-brand); outline-offset: 0; border-color: transparent; }
.form-label { display: block; font-size: 12px; font-weight: 800; color: var(--color-text-primary); margin-bottom: 4px; }
.form-hint { font-size: 11px; color: var(--color-text-muted); margin-top: 4px; }

/* ── Cards & sections ───────────────────────────────────────── */
.card {
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-md); padding: 14px 16px; margin-bottom: 12px;
}
.card-header { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 10px; gap: 12px; }
.card-title { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-text-muted); }

/* ── Table primitives ───────────────────────────────────────── */
.table-container { background: var(--color-surface); border-radius: var(--radius-md); border: 1px solid var(--color-border); overflow: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.data-table th {
  padding: 10px 16px; text-align: left; background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  font-weight: 800; font-size: 11px; text-transform: uppercase;
  color: var(--color-text-muted); letter-spacing: 0.06em; white-space: nowrap;
  position: sticky; top: 0; z-index: 1;
}
.data-table td { padding: 12px 16px; border-bottom: 1px solid #f1f5f9; vertical-align: middle; }
.data-table tr:last-child td { border-bottom: none; }
.data-table tbody tr[data-rowlink] { cursor: pointer; transition: background 100ms; }
.data-table tbody tr[data-rowlink]:hover td { background: #f8fafc; }
.data-table tbody tr:focus-within td { background: var(--color-brand-tint); }
/* NO differential row styling by risk tier — the tier lives only inside its quiet badge cell,
 * never as a row-level stripe/prominence cue (that would be prioritization-by-prominence, §07 R12). */
.data-table tbody tr[data-terminal="1"] td { background: #fbfcfd; color: var(--color-text-muted); }
.data-table th .th-note { font-family: var(--font-body); font-weight: 800; font-size: 9px; letter-spacing: 0.02em; text-transform: none; color: var(--color-text-subtle); margin-left: 4px; }
.queue-colnote { font-size: 11px; font-weight: 800; color: var(--color-text-subtle); margin: 0 4px 10px; line-height: 1.4; }

.data-table .col-narrow { width: 1%; white-space: nowrap; }
.data-table .num { text-align: right; font-variant-numeric: tabular-nums; }

.sortable {
  cursor: pointer; white-space: nowrap; background: transparent; border: none;
  color: inherit; font: inherit; padding: 0; text-transform: inherit; letter-spacing: inherit;
}
.sortable::after { content: " \2195"; color: var(--color-text-subtle); font-size: 10px; }
.sortable.sort-asc::after  { content: " \2191"; color: var(--color-brand); }
.sortable.sort-desc::after { content: " \2193"; color: var(--color-brand); }
.sortable:focus-visible { outline: 2px solid var(--color-brand); outline-offset: 2px; }

/* ── Pagination (list-view page nav) — no ported counterpart exists;
 * reuses .btn/.btn-secondary/.btn-sm for the Previous/Next links rather
 * than a new button style. ──────────────────────────────────────────── */
.pagination { display: flex; align-items: center; gap: 12px; margin-top: 12px; font-size: 12px; font-weight: 800; color: var(--color-text-muted); }

/* ── Empty state ────────────────────────────────────────────── */
.empty-state { padding: 40px 24px; text-align: center; color: var(--color-text-muted); font-size: 13px; font-weight: 800; }
.empty-state h3 { font-family: var(--font-body); font-size: 14px; font-weight: 800; margin-bottom: 6px; color: var(--color-text-primary); }
.empty-state p { font-weight: 800; margin: 4px 0 12px; }

/* ── Under-construction placeholder ─────────────────────────── */
.coming-soon {
  padding: 48px 28px; max-width: 680px; margin: 40px auto;
  background: var(--color-surface); border: 2px dashed var(--color-border-strong);
  border-radius: var(--radius-md);
}
.coming-soon h2 { font-size: 22px; color: var(--color-navy-dark); margin-bottom: 12px; }
.coming-soon p { color: var(--color-text-muted); font-weight: 800; margin: 6px 0; line-height: 1.5; }
.coming-soon .cs-meta {
  display: inline-block; margin-top: 16px; padding: 4px 10px; border-radius: 4px;
  background: var(--color-brand-tint); color: var(--color-brand-hover);
  font-size: 12px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase;
}
.coming-soon a { color: var(--color-brand); font-weight: 800; }
.coming-soon dl { margin: 16px 0 0; display: grid; grid-template-columns: 140px 1fr; gap: 6px 14px; font-size: 12px; }
.coming-soon dt { color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 0.04em; font-size: 10px; font-weight: 800; }
.coming-soon dd { margin: 0; color: var(--color-text-primary); font-weight: 800; }

/* ── Alerts (design-language) ───────────────────────────────── */
.alert { padding: 10px 14px; border-radius: var(--radius-md); font-size: 13px; font-weight: 800; line-height: 1.5; border: 1px solid transparent; margin-bottom: 12px; }
.alert-warning { background: rgba(245,184,46,0.14); border-color: rgba(245,184,46,0.5); color: #92400E; }
.alert-danger  { background: rgba(233,75,60,0.10); border-color: rgba(233,75,60,0.4); color: #9F1239; }
.alert-info    { background: var(--color-cyan-tint); border-color: var(--color-cyan); color: #0E7490; }

/* ── Centered card (auth/utility screens: logout, unauthorized) ── */
.centered-card {
  max-width: 480px; margin: 80px auto; padding: 32px;
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.login-brand { margin: 0 0 16px; }

/* 277px is derived, and the thing it derives from is the NAV lockup: this is
 * exactly 2x .app-brand-lockup's 42px, which renders the 92-unit tile at 64px
 * against the nav's 32px. That 2x is not a new rule — the outgoing 238x72 was
 * already exactly double the outgoing nav's 119x36, which is precisely how the
 * nav's 14% size deficit propagated here unnoticed. Decisions MAX has no styled
 * login card to borrow a constant from, so the nav is the only anchor available;
 * keeping the two surfaces locked is what stops one being corrected while the
 * other silently goes stale. Pinned by
 * tests/test_design_system.py::test_login_lockup_holds_the_nav_lockups_scale.
 *
 * Anchored on WIDTH here, unlike the nav's height, because this lockup is a
 * hero in a 416px content column (480px card less 2x32px padding) rather than a
 * passenger in a fixed-height bar — `height: auto` plus `max-width: 100%` is
 * what lets it shrink with the card instead of overflowing it. */
.login-brand img { display: block; width: 277px; height: auto; max-width: 100%; }

/* ── Focus reset for keyboard navigation ────────────────────── */
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--color-brand); outline-offset: 2px; }

/* ── Reporting: navbar badge (S-13) ─────────────────────────── */
.reports-badge-slot { display: flex; align-items: center; flex-shrink: 0; position: relative; }
.reports-badge {
  display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 4px 10px;
  border-radius: var(--radius-sm); border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.08); color: white;
  font-family: var(--font-body); font-size: 12px; font-weight: 800; cursor: pointer; white-space: nowrap;
}
.reports-badge:hover { background: rgba(255,255,255,0.16); }
.reports-badge:focus-visible { outline: 2px solid var(--color-cyan); outline-offset: 2px; }
.reports-badge .rb-count {
  display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px;
  padding: 0 5px; border-radius: 9px; background: var(--color-cyan); color: var(--color-navy-dark);
  font-size: 11px; font-weight: 800;
}
.reports-badge--running { border-color: rgba(245,184,46,0.65); }
.reports-badge .rb-fail-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--color-red); flex-shrink: 0; }
.rb-spinner { width: 13px; height: 13px; border: 2px solid rgba(255,255,255,0.35); border-top-color: var(--color-amber); border-radius: 50%; animation: rx-spin .8s linear infinite; flex-shrink: 0; }
@keyframes rx-spin { to { transform: rotate(360deg); } }

/* Completion / failure toast */
.report-toast {
  position: fixed; top: 66px; right: 20px; z-index: 400; max-width: 340px;
  background: var(--color-surface); border: 1px solid var(--color-border-strong);
  border-left: 4px solid var(--color-cyan); border-radius: var(--radius-md);
  box-shadow: 0 12px 32px rgba(20,38,74,0.22); padding: 12px 14px;
  display: flex; gap: 10px; align-items: flex-start;
}
.report-toast--fail { border-left-color: var(--color-red); }
.report-toast .rt-title { font-size: 13px; font-weight: 800; color: var(--color-navy-dark); }
.report-toast .rt-sub { font-size: 12px; font-weight: 700; color: var(--color-text-muted); margin-top: 2px; }
.report-toast .rt-act { margin-top: 6px; }
.report-toast a { color: var(--color-cyan); font-weight: 800; text-decoration: none; font-size: 12px; }
.report-toast a:hover { text-decoration: underline; }
.report-toast .rt-close { margin-left: auto; background: transparent; border: none; color: var(--color-text-subtle); cursor: pointer; font-size: 15px; line-height: 1; }
.report-toast .rt-close:focus-visible { outline: 2px solid var(--color-cyan); outline-offset: 2px; }

/* Exports drawer (overlay panel) */
.report-drawer-overlay { position: fixed; inset: 0; background: rgba(20,38,74,0.35); z-index: 300; }
.report-drawer-panel {
  position: fixed; top: 0; right: 0; height: 100vh; width: 388px; max-width: 92vw; z-index: 301;
  background: var(--color-surface); border-left: 1px solid var(--color-border-strong);
  box-shadow: -12px 0 40px rgba(20,38,74,0.20); display: flex; flex-direction: column;
}
.report-drawer-header { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--color-border); }
.report-drawer-title { font-family: var(--font-display); font-size: 16px; color: var(--color-navy-dark); }
.report-drawer-close { background: transparent; border: none; font-size: 16px; color: var(--color-text-muted); cursor: pointer; width: 34px; height: 34px; border-radius: var(--radius-sm); }
.report-drawer-close:hover { background: var(--color-bg); }
.report-drawer-close:focus-visible { outline: 2px solid var(--color-cyan); outline-offset: 2px; }
.report-drawer-note { font-size: 11px; font-weight: 800; color: #92400E; background: rgba(245,184,46,0.12); border-bottom: 1px solid var(--color-border); padding: 8px 16px; line-height: 1.4; }
.report-drawer-body { flex: 1; overflow: auto; padding: 10px 12px; }
.report-drawer-footer { padding: 10px 16px; border-top: 1px solid var(--color-border); font-size: 11px; font-weight: 800; color: var(--color-text-subtle); }
.report-drawer-empty { padding: 44px 16px; text-align: center; color: var(--color-text-muted); font-size: 13px; font-weight: 800; }

.report-job { border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 12px; margin-bottom: 10px; background: var(--color-surface); }
.report-job-head { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.report-job-icon { width: 18px; height: 18px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 900; color: white; flex-shrink: 0; }
/* NOT --color-risk-low-line: the D-33 risk tokens are consumed ONLY by
   .risk-badge-* (tests/test_design_system.py::
   test_risk_tokens_are_not_referenced_outside_the_risk_badge). This is a
   success glyph on a completed export, not a risk-tier indicator, so it
   reaches for the decoupled --color-severity-* palette instead — the
   wireframe source this block was ported from predates that separation. */
.report-job-icon--ok { background: var(--color-severity-success-line); }
.report-job-icon--fail { background: var(--color-red); }
.report-job-title { font-size: 13px; font-weight: 800; color: var(--color-navy-dark); }
.report-job-rows { font-size: 11px; font-weight: 800; color: var(--color-text-subtle); margin-left: 2px; }
.report-job-meta { font-size: 11px; font-weight: 800; color: var(--color-text-muted); margin-bottom: 6px; }
.report-job-expired { color: var(--color-red); }
.report-job-filters { font-size: 11px; font-weight: 700; color: var(--color-text-muted); background: var(--color-bg); border-radius: var(--radius-sm); padding: 6px 8px; margin-bottom: 8px; line-height: 1.4; }
.report-job-action { display: flex; gap: 8px; }
.report-job-btn {
  display: inline-flex; align-items: center; gap: 4px; min-height: 34px; padding: 6px 12px;
  border-radius: var(--radius-sm); border: 1px solid var(--color-border-strong);
  background: var(--color-surface); color: var(--color-navy-dark);
  font-family: var(--font-body); font-size: 12px; font-weight: 800; cursor: pointer; text-decoration: none;
}
.report-job-btn--primary { background: var(--color-cyan); border-color: var(--color-cyan); color: white; }
.report-job-btn:hover { filter: brightness(0.97); }
.report-job-btn:focus-visible { outline: 2px solid var(--color-cyan); outline-offset: 2px; }

/* Report-request modal */
.modal-overlay { position: fixed; inset: 0; background: rgba(20,38,74,0.35); z-index: 320; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal-dialog { width: 470px; max-width: 95vw; background: var(--color-surface); border-radius: var(--radius-lg); box-shadow: 0 20px 60px rgba(20,38,74,0.35); overflow: hidden; }
.modal-header { font-family: var(--font-display); font-size: 16px; color: var(--color-navy-dark); padding: 16px; border-bottom: 1px solid var(--color-border); }
.modal-body { padding: 16px; font-size: 13px; font-weight: 700; line-height: 1.5; }
.modal-footer { padding: 12px 16px; border-top: 1px solid var(--color-border); display: flex; justify-content: flex-end; gap: 8px; }
.report-req-filters { background: var(--color-bg); border: 1px solid var(--color-border); border-radius: var(--radius-sm); padding: 10px 12px; margin: 8px 0 14px; font-size: 12px; font-weight: 700; line-height: 1.6; }
.report-req-filters .rf-k { color: var(--color-text-muted); text-transform: uppercase; font-size: 10px; letter-spacing: 0.04em; margin-right: 6px; }
.report-format { display: flex; gap: 10px; margin: 6px 0 14px; }
.report-format label { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--color-border-strong); border-radius: var(--radius-sm); padding: 8px 14px; cursor: pointer; font-weight: 800; font-size: 13px; min-height: 40px; }
.report-format input { accent-color: var(--color-cyan); width: 16px; height: 16px; }
.report-format label:has(input:checked) { background: var(--color-cyan-tint); border-color: var(--color-cyan); }
/* .report-req-fine removed 2026-08-14 along with its only user: the export
   panel's text-normalisation disclosure was dropped from the copy, and the
   panel's remaining note is the amber .report-req-note below. */
.report-req-note { font-size: 11px; font-weight: 800; color: #92400E; background: rgba(245,184,46,0.12); border-left: 3px solid var(--color-amber); padding: 8px 10px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; line-height: 1.5; }

/* Closing-gate item C2 — the export metadata now rendered on S-07's
   platform-activity table (templates/admin_console/partials/platform_activity.html).
   The Activity Log is the sole control on export egress (Jordan, decision 3,
   2026-08-10), and its two load-bearing halves — the resolved column set and
   the applied filters — were database rows no surface displayed. Styled as a
   subordinate line under the detail string rather than as new table columns:
   the column set is long and only the three export classes carry it, so two
   mostly-empty columns would push the table past its width for every other
   event family. Colour comes from the shared muted token, not a new one. */
.activity-meta { margin-top: 4px; font-size: 11px; font-weight: 700; line-height: 1.5;
  color: var(--color-text-muted); word-break: break-word; }
.activity-meta .am-k { text-transform: uppercase; font-size: 10px; letter-spacing: 0.04em;
  margin-right: 6px; font-weight: 800; }
