/* ============================================================================
   Private terminal — flat editorial design language, pass 3 (see
   design/SPEC-V3.md, design/CLONE-SPEC.md, design/HB-TOKENS.md).
   Monochrome law: black and white only. #EBEBEB canvas, 0.8px #AFAFAF
   hairlines (the house rule — never rounded up to 1px except the link-hover
   underline, which is 1px per the reference site), full-black frames on
   hover, sharp corners everywhere (circles stay circles), zero shadows by
   law — hierarchy comes from rules and type, never from elevation.
   Archivo stands in for Neue Plak; EB Garamond carries body
   copy, nav links and superscripts. Accent = #000. Light mode only.
   Spacing sits on an 8px grid (4 allowed inside tight chips); motion is
   opacity / border-color / small translate at 150ms ease-out, 250ms for
   palette and sheet enters. Palette whitelist: #000 #222 #333 #514C4A
   #AFAFAF #CCCCCC #D9D9D9 #EBEBEB #F5F5F5 #FAFAFA #FFFFFF.
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Archivo", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.875rem; line-height: 1.5;
  color: var(--ink);
  background: var(--bg-base);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  overflow-x: clip;
}

/* ---------------------------------------------------------------- tokens */
:root {
  color-scheme: light;

  --ink:   #000000;
  --ink-h: #222222;             /* heading ink */
  --ink-2: #333333;
  --ink-3: #514C4A;             /* warm gray */
  --ink-4: #AFAFAF;
  --hair:  #AFAFAF;             /* the 0.8px rule */
  --hair-2: #EBEBEB;            /* quiet-button border on raised surfaces */
  --line:  #000000;             /* emphasis / hover frame */

  --accent: #000000;            /* monochrome law — the accent is black */

  --bg-base: #EBEBEB;           /* flat light gray canvas */
  --surface: #EBEBEB;           /* cards sit on the canvas, bordered */
  --paper:   #FFFFFF;           /* elevated/focus surfaces, sparingly */
  --paper-2: #FAFAFA;           /* quiet-button ground */
  --paper-3: #F5F5F5;           /* quiet-button hover ground (white-smoke) */
  --tile:    #D9D9D9;           /* monogram / icon tiles */
  --track:   #CCCCCC;           /* ring + bar tracks */

  --font-ui:    "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-serif: "EB Garamond", Georgia, serif;

  /* motion tokens. --ease-spring reads as a critically damped spring
     (damping 1.0 — fast start, smooth settle, ZERO overshoot). Nothing in
     this interface bounces: bounce is reserved for momentum gestures, and
     there are none — motion here informs, it never entertains. */
  --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-spring: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 150ms;
  --t-slow: 250ms;
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.05ms !important; }
  html { scroll-behavior: auto !important; }
  dialog[open], dialog[open]::backdrop, .pal, .pal-overlay.open, .sent-body.in { animation: none !important; }
}

:focus-visible { outline: 1px solid #000; outline-offset: 2px; }

/* superscript index motif — EB Garamond 400 at 0.44x the heading size,
   never uppercased (site truth) */
.supnum {
  font-family: var(--font-serif); font-weight: 400; color: #222;
  font-size: 0.44em; vertical-align: super; letter-spacing: 0; margin-left: 2px;
  text-transform: none;
}

/* text links — content-area law: color inherit, no underline at rest;
   hover draws the 1px rule (the one hairline the site keeps at 1px).
   The transparent rest border reserves the height so nothing jumps. */
a { color: inherit; }
.wrap a:not([class]), .board a:not([class]) {
  text-decoration: none; padding-bottom: 1px; border-bottom: 1px solid transparent;
}
.wrap a:not([class]):hover, .board a:not([class]):hover {
  border-bottom: 1px solid #333;
}

/* ------------------------------------------------------------ surfaces */
/* Flat bordered surfaces; the "glass" name is kept for the templates. */
.glass {
  background: var(--surface);
  border: 0.8px solid var(--hair);
}
.glass-strong { background: var(--paper); }

/* =========================================================== top chrome
   72px, transparent, no border, no box — pure text on the canvas.
   Functional links only; quiet source-status dots; garamond sign-out.
   .nav-link:hover { opacity: .7 } is the reference site's own rule. */
.topbar {
  display: flex; align-items: center; gap: 24px;
  height: 72px; margin: 0;
  padding: 0 max(24px, env(safe-area-inset-right)) 0 max(24px, env(safe-area-inset-left));
}
.topnav { display: flex; align-items: center; gap: 24px; }
.nav-link {
  font-family: var(--font-serif); font-size: 1rem; color: var(--ink);
  text-decoration: none; transition: opacity var(--t-fast) var(--ease-out);
}
.nav-link:hover { opacity: .7; }

.topbar .spacer { flex: 1; }

/* keyboard hint chip — desktop only, opens the command palette */
kbd { font-family: var(--font-ui); font-style: normal; }
.kbd-chip {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 8px; cursor: pointer;
  background: transparent; border: 0.8px solid var(--hair); color: var(--ink-3);
  font-family: var(--font-ui); font-size: 0.6875rem; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
  transition: border-color var(--t-fast) var(--ease-out);
}
.kbd-chip kbd { font: inherit; }
.kbd-chip:hover { border-color: #000; color: var(--ink); }

/* source status — quiet garamond text with a status dot, no boxes */
.src-pills { display: flex; gap: 16px; }
.src-pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-serif); font-size: 0.9375rem; font-weight: 400;
  color: var(--ink-3); text-transform: none; letter-spacing: 0;
  padding: 0; background: transparent; border: 0;
}
.src-pill .led { width: 6px; height: 6px; border-radius: 50%; background: #AFAFAF; }
.src-pill.on .led { background: #000; }
.src-pill.off .led { background: #AFAFAF; }

.iconbtn {
  width: 32px; height: 32px; border: 0.8px solid var(--hair);
  background: transparent; color: var(--ink-2); display: grid; place-items: center;
  cursor: pointer; transition: border-color var(--t-fast) var(--ease-out);
}
.iconbtn:hover { border-color: #000; color: var(--ink); }
.iconbtn svg { width: 15px; height: 15px; }

.linkbtn {
  background: none; border: 0; color: var(--ink-2); cursor: pointer; padding: 0;
  font-family: var(--font-serif); font-size: 1rem; font-weight: 400;
  text-transform: none; letter-spacing: 0; transition: opacity var(--t-fast) var(--ease-out);
}
.linkbtn:hover { opacity: .7; }

/* =============================================================== board */
.board-head { padding: 8px 24px 0; }
.board-head h1 { margin: 8px 0 0; font-size: 2.75rem; font-weight: 300; letter-spacing: 0.01em; text-transform: uppercase; line-height: 1.1; color: #222; }
.board-head p { margin: 0; color: var(--ink-3); font-size: 1rem; font-family: var(--font-serif); line-height: 1.3; }

.board {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(288px, 1fr);
  gap: 16px; align-items: start;
  padding: 16px max(16px, env(safe-area-inset-right)) 40px max(16px, env(safe-area-inset-left));
  overflow-x: auto; scroll-snap-type: x proximity;
}
@media (max-width: 1180px){ .board { grid-auto-columns: 82vw; } }

.col { scroll-snap-align: start; display: flex; flex-direction: column; gap: 8px; min-height: 60px; }
/* per-column accent tints removed — stage hooks stay neutral */
.col.acc-chemistry, .col.acc-conviction, .col.acc-offer, .col.acc-updates { background: transparent; }
/* editorial column head — no card box, a 0.8px rule underneath; the canvas
   background keeps sticky heads legible over scrolled cards */
.col-head {
  /* .board is the scroll container (overflow-x:auto), so any positive top
     offset just displaces the header over the first card — pin at 0. */
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: flex-end; gap: 8px;
  padding: 8px 0;
  /* sticky head reads as a light material while cards scroll beneath it */
  background: rgba(235, 235, 235, 0.72);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 0; border-bottom: 0.8px solid var(--hair);
}
.col-head h2 { margin: 0; font-size: 0.9375rem; font-weight: 400; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.2; color: var(--ink-h); }
.col-head .sub { font-size: 0.8125rem; color: var(--ink-3); font-weight: 400; font-family: var(--font-serif); font-style: italic; }
.col-head .count {
  margin-left: auto; font-size: 0.9375rem; font-weight: 400; color: var(--ink-2);
  font-family: var(--font-serif); font-variant-numeric: tabular-nums;
  background: transparent; border: 0;
  min-width: 0; height: auto; padding: 0;
  display: block;
}
/* legacy stage dot, if ever rendered: small and neutral */
.col-head .dot { width: 6px; height: 6px; border-radius: 50%; flex: none; background: var(--hair); }
.col-body { display: flex; flex-direction: column; gap: 8px; }

/* ---------------------------------------------------------- deal card
   the accordion move: 0.8px #AFAFAF frame turns full black on hover —
   never a background change, never a translate/scale */
.card {
  display: block; text-decoration: none; color: inherit;
  padding: 16px; position: relative;
  transition: border-color var(--t-fast) var(--ease-out);
}
.card:hover { border-color: #000; }
.card .row1 { display: flex; gap: 8px; align-items: flex-start; }
.logo {
  width: 44px; height: 44px; flex: none;
  display: grid; place-items: center; overflow: hidden;
  background: var(--paper); border: 0.8px solid var(--hair);
}
.logo img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
/* no real logo yet -> neutral monogram tile (never an emoji/symbol) */
.logo.initial {
  color: var(--ink); font-weight: 500; font-size: 1.125rem; letter-spacing: 0;
  background: var(--tile); border: 0.8px solid var(--hair);
}
.card .nm { font-size: 0.9375rem; font-weight: 500; letter-spacing: 0; margin: 1px 0 2px; }
.card .ol { font-size: 0.875rem; color: var(--ink-2); line-height: 1.3; font-family: var(--font-serif);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card .row2 { display: flex; align-items: center; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.card .meta { margin-left: auto; font-size: 0.6875rem; color: var(--ink-3); font-weight: 400; }

.score {
  display: inline-flex; align-items: center; gap: 4px;
  font-variant-numeric: tabular-nums; font-weight: 500; font-size: 0.75rem;
  padding: 4px 8px; color: var(--ink);
  background: transparent; border: 0.8px solid var(--hair);
}
/* score ring — black conic on the #CCCCCC track */
.score .ring {
  --p: 0; width: 14px; height: 14px; border-radius: 50%;
  background: conic-gradient(var(--accent) calc(var(--p) * 1%), var(--track) 0);
  -webkit-mask: radial-gradient(circle 4px at center, transparent 98%, #000 0);
          mask: radial-gradient(circle 4px at center, transparent 98%, #000 0);
}

/* chips / tags — sharp outlined rectangles, all neutral, 0.8px frames;
   selected/active = black frame + black text */
.chip {
  display: inline-flex; align-items: center; gap: 4px; font-size: 0.6875rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.05em;
  padding: 4px 8px; color: var(--ink-2);
  background: transparent; border: 0.8px solid var(--hair); white-space: nowrap;
}
/* .chip.sector / .risk / .round / .geo intentionally share the neutral look */

/* update card (column 4) */
.upd { padding: 16px; text-decoration: none; color: inherit; display: block;
  transition: border-color var(--t-fast) var(--ease-out); }
.upd:hover { border-color: #000; }
.upd .u-top { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.upd .u-kind { font-size: 0.6875rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em;
  padding: 4px 8px; color: var(--ink-2);
  background: transparent; border: 0.8px solid var(--hair); }
.upd .u-co { font-size: 0.75rem; font-weight: 500; color: var(--ink-2); display: inline-flex; align-items: center; gap: 4px; }
.upd .u-co .lg { width: 18px; height: 18px; display: grid; place-items: center; overflow: hidden;
  font-size: 0.625rem; font-weight: 500; color: var(--ink);
  background: var(--tile); border: 0.8px solid var(--hair); }
.upd .u-co .lg img { width: 100%; height: 100%; object-fit: contain; background: var(--paper); }
.upd .u-when { margin-left: auto; font-size: 0.6875rem; color: var(--ink-3); }
.upd .u-title { font-size: 0.875rem; font-weight: 500; letter-spacing: 0; margin: 0 0 4px; line-height: 1.3; }
.upd .u-body { font-size: 0.875rem; color: var(--ink-2); line-height: 1.3; font-family: var(--font-serif);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* =============================================================== profile */
.wrap {
  max-width: 1080px; margin: 0 auto;
  padding: 8px max(24px, env(safe-area-inset-right)) 56px max(24px, env(safe-area-inset-left));
}
/* back link — small quiet button */
.back { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); text-decoration: none;
  font-size: 0.6875rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em;
  padding: 8px 16px 8px 8px;
  background: var(--paper-2); border: 0.8px solid var(--hair-2);
  transition: border-color var(--t-fast) var(--ease-out); }
.back:hover { color: var(--ink); border-color: #333; background: var(--paper-3); }
.back svg { width: 15px; height: 15px; }

.hero { padding: 24px; margin-top: 16px; }
.hero .h-top { display: flex; gap: 16px; align-items: flex-start; }
.hero .logo { width: 72px; height: 72px; }
.hero .logo.initial { font-size: 1.875rem; }
.hero .logo img { padding: 8px; }
.hero h1 { margin: 0 0 4px; font-size: 2.75rem; font-weight: 300; letter-spacing: 0.01em; text-transform: uppercase; line-height: 1.1; color: #222; }
.hero .ol { font-size: 1rem; color: var(--ink-2); margin: 0 0 4px; max-width: 62ch; line-height: 1.3; font-family: var(--font-serif); }
.hero .facts-line { font-size: 0.75rem; color: var(--ink-3); display: flex; gap: 16px; flex-wrap: wrap; margin-top: 8px; }
.hero .facts-line b { color: var(--ink-2); font-weight: 500; }
.hero .h-score { margin-left: auto; text-align: center; flex: none; }
/* big ring — black conic on the #CCCCCC track */
.bigring {
  --p: 0; width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center;
  background: conic-gradient(var(--accent) calc(var(--p) * 1%), var(--track) 0);
  -webkit-mask: radial-gradient(circle 33px at center, transparent 98%, #000 0);
          mask: radial-gradient(circle 33px at center, transparent 98%, #000 0);
}
.bigring-wrap { position: relative; width: 92px; height: 92px; margin: 0 auto; }
.bigring-val { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 300; font-size: 1.625rem; font-variant-numeric: tabular-nums; letter-spacing: 0; }
.h-score .lbl { font-size: 0.6875rem; color: var(--ink-3); font-weight: 500; margin-top: 8px; text-transform: uppercase; letter-spacing: 0.06em; }

.tagrow { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.tag {
  position: relative; cursor: default;
  display: inline-flex; align-items: center; gap: 4px; font-size: 0.6875rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.05em;
  padding: 4px 12px; color: var(--ink-2);
  background: transparent; border: 0.8px solid var(--hair);
  text-decoration: none;
}
a.tag:hover { border-color: #000; color: var(--ink); }
.tag[data-note]:hover::after {
  content: attr(data-note); position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%);
  width: max-content; max-width: 240px; padding: 8px 12px;
  background: var(--paper); border: 1px solid var(--line);
  font-size: 0.8125rem; font-weight: 400; color: var(--ink); line-height: 1.35; z-index: 30; white-space: normal; text-align: left;
  font-family: var(--font-serif); text-transform: none; letter-spacing: 0;
}
/* .tag.k-sector / .k-risk intentionally share the neutral look */

/* section titles — editorial labels, warm gray. Type ramp: 500/12
   uppercase, letter-spacing .06em, #514C4A; section gap 24px. */
.sec { margin: 24px 0 8px; display: flex; align-items: baseline; gap: 8px; }
.sec h3 { margin: 0; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.sec .n { font-size: 0.8125rem; color: var(--ink-3); font-weight: 400; font-family: var(--font-serif); font-style: italic; }
.sec .grow { flex: 1; }

/* ------------------------------------------------- compact tile grid */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; }
.tile {
  position: relative; aspect-ratio: 1 / 1; padding: 16px;
  display: flex; flex-direction: column; justify-content: space-between;
  text-align: left; text-decoration: none; color: inherit; width: 100%;
  transition: border-color var(--t-fast) var(--ease-out);
}
button.tile { cursor: pointer; font: inherit; }
.tile.click:hover { border-color: #000; }
.tile .t-ico { width: 26px; height: 26px; display: grid; place-items: center;
  background: var(--tile); color: var(--ink); }
.tile .t-ico svg { width: 15px; height: 15px; }
.tile .t-val { font-size: 1.6875rem; font-weight: 300; letter-spacing: 0; font-variant-numeric: tabular-nums; line-height: 1; }
.tile .t-val small { font-size: 0.8125rem; font-weight: 400; color: var(--ink-3); margin-left: 2px; letter-spacing: 0; }
.tile .t-lbl { font-size: 0.6875rem; color: var(--ink-3); font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; }
.tile .t-sub { font-size: 0.75rem; color: var(--ink-3); font-weight: 400; font-family: var(--font-serif); }
.tile .t-arrow { position: absolute; top: 16px; right: 16px; color: var(--ink-4); opacity: 0; transition: opacity var(--t-fast) var(--ease-out); }
.tile.click:hover .t-arrow { opacity: 1; color: var(--ink); }
/* .tile.excite intentionally shares the neutral look */

/* mini bar for excitement scale — black on the track gray */
.exscale { display: flex; gap: 2px; margin-top: 4px; }
.exscale i { height: 4px; flex: 1; background: var(--track); }
.exscale i.on { background: var(--accent); }

/* ------------------------------------------------- email timeline */
.timeline { display: flex; flex-direction: column; gap: 8px; }
.mail { display: flex; gap: 16px; padding: 16px; align-items: flex-start; }
.mail .dir { width: 30px; height: 30px; flex: none; display: grid; place-items: center;
  font-size: 0.75rem; background: var(--tile); color: var(--ink); }
/* .dir.sent / .dir.received intentionally share the neutral look */
.mail .m-body { flex: 1; min-width: 0; }
.mail .m-h { display: flex; align-items: baseline; gap: 8px; }
.mail .m-sub { font-size: 0.875rem; font-weight: 500; letter-spacing: 0; }
.mail .m-who { font-size: 0.6875rem; color: var(--ink-3); }
.mail .m-when { margin-left: auto; font-size: 0.6875rem; color: var(--ink-3); white-space: nowrap; }
.mail .m-snip { font-size: 0.875rem; color: var(--ink-2); margin-top: 4px; line-height: 1.35; font-family: var(--font-serif);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rolechip { font-size: 0.625rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em;
  padding: 0 8px; color: var(--ink-3); background: transparent; border: 0.8px solid var(--hair); }

/* ------------------------------------------------- media footer */
.media-scroll { display: flex; gap: 16px; overflow-x: auto; padding: 4px 0 16px; scroll-snap-type: x mandatory; }
.mediacard { flex: none; width: 224px; scroll-snap-align: start; text-decoration: none; color: inherit;
  overflow: hidden; transition: border-color var(--t-fast) var(--ease-out); }
.mediacard:hover { border-color: #000; }
.mediacard .cover { aspect-ratio: 16/10; position: relative; display: grid; place-items: center;
  background: var(--tile); background-size: cover; background-position: center;
  border-bottom: 0.8px solid var(--hair); }
/* .cover.gen0 … .gen4 intentionally share the flat neutral cover */
.mediacard .cover .play { width: 40px; height: 40px; border-radius: 50%; background: var(--paper);
  border: 0.8px solid var(--hair); display: grid; place-items: center; }
.mediacard .cover .play svg { width: 16px; height: 16px; color: var(--ink); margin-left: 2px; }
.mediacard .cover .ktag { position: absolute; top: 8px; left: 8px; font-size: 0.625rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-2); padding: 4px 8px;
  background: var(--paper); border: 0.8px solid var(--hair); }
.mediacard .mc-body { padding: 16px; }
.mediacard .mc-title { font-size: 0.875rem; font-weight: 500; line-height: 1.3; letter-spacing: 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mediacard .mc-src { font-size: 0.6875rem; color: var(--ink-3); margin-top: 4px; display: flex; gap: 8px; }

/* ------------------------------------------------- dialogs / modals
   white, sharp, 1px black frame (the deliberate emphasis border);
   enter = 250ms rise, ease-out */
dialog {
  border: 1px solid var(--line); padding: 0; max-width: 560px; width: calc(100vw - 40px);
  background: var(--paper);
  color: var(--ink); overflow: hidden;
}
dialog::backdrop { background: rgba(235, 235, 235, 0.55);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
/* materialize, don't just fade: scale + rise + backdrop blur ramp together,
   on a critically damped curve — the surface arrives, nothing bounces */
dialog[open] { animation: dlg-in var(--t-slow) var(--ease-spring); }
@keyframes dlg-in { from { opacity: 0; transform: translateY(4px) scale(0.985); } to { opacity: 1; transform: none; } }
dialog[open]::backdrop { animation: veil-in var(--t-slow) var(--ease-out); }
@keyframes veil-in {
  from { background: rgba(235, 235, 235, 0);
         -webkit-backdrop-filter: blur(0); backdrop-filter: blur(0); }
}
.dlg-head { display: flex; align-items: center; gap: 8px; padding: 16px 24px; border-bottom: 0.8px solid var(--hair); }
.dlg-head h3 { margin: 0; font-size: 1.25rem; font-weight: 400; letter-spacing: 0; text-transform: none; }
.dlg-head .x { margin-left: auto; }
.dlg-body { padding: 16px 24px 24px; max-height: 66vh; overflow-y: auto; }
.dlg-body > p { font-family: var(--font-serif); font-size: 1rem; line-height: 1.3; }
.dlg-list { display: flex; flex-direction: column; gap: 8px; }
.dlg-item { padding: 16px; background: transparent; border: 0.8px solid var(--hair); }
.dlg-item .di-t { font-size: 0.875rem; font-weight: 500; }
.dlg-item .di-m { font-size: 0.6875rem; color: var(--ink-3); margin: 4px 0 8px; display: flex; gap: 8px; text-transform: uppercase; letter-spacing: 0.04em; }
.dlg-item .di-b { font-size: 0.875rem; color: var(--ink-2); line-height: 1.4; font-family: var(--font-serif); }

/* ------------------------------------------------- sentinel form */
.field { margin-bottom: 16px; }
.field > label { display: block; font-size: 0.6875rem; font-weight: 500; color: var(--ink-2); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.05em; }
.slider-wrap { display: flex; align-items: center; gap: 16px; }
.slider-wrap output { font-variant-numeric: tabular-nums; font-weight: 300; font-size: 1.25rem; letter-spacing: 0;
  min-width: 36px; text-align: center; color: var(--ink); }
input[type=range] { -webkit-appearance: none; appearance: none; height: 6px; flex: 1;
  background: var(--track); outline: none; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--paper); border: 1px solid var(--line); cursor: grab; }
input[type=range]::-webkit-slider-thumb:active { cursor: grabbing; }
.seg { display: flex; gap: 4px; padding: 4px; background: transparent; border: 0.8px solid var(--hair); }
.seg label { flex: 1; text-align: center; font-size: 0.75rem; font-weight: 400; padding: 4px 8px; border: 0.8px solid transparent; cursor: pointer; color: var(--ink-2); transition: border-color var(--t-fast) var(--ease-out); }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg input:checked + label { background: var(--paper); color: var(--ink); font-weight: 500; border-color: #000; }
textarea, input[type=text], input[type=password], input[type=email] {
  width: 100%; font: inherit; font-size: 0.875rem; color: var(--ink); padding: 12px 16px;
  background: var(--paper); border: 0.8px solid var(--hair); resize: vertical; outline: none;
  transition: border-color var(--t-fast) var(--ease-out);
}
textarea:focus, input[type=text]:focus, input[type=password]:focus, input[type=email]:focus {
  border-color: #000;
}
::placeholder { color: var(--ink-4); }

/* buttons — the quiet button is the house default (bg #FAFAFA, 0.8px
   #EBEBEB frame, 8px 24px 12px, 16px type — measured values, law).
   Primary = solid black; hover/active = full inverse at 150ms ease-out. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer;
  font: inherit; font-family: var(--font-ui); font-size: 1rem; font-weight: 400; letter-spacing: 0; text-transform: none;
  padding: 8px 24px 12px; border: 0.8px solid transparent; line-height: 1.3;
  transition: border-color var(--t-fast) var(--ease-out);
}
.btn.primary { background: #000; border-color: #000; color: #FFFFFF;
  transition: background-color var(--t-fast) var(--ease-out), color var(--t-fast) var(--ease-out), border-color var(--t-fast) var(--ease-out); }
.btn.primary:hover, .btn.primary:active { background: #FFFFFF; color: #000; border-color: #000; }
.btn.ghost { background: #FAFAFA; border: 0.8px solid #EBEBEB; color: #222; }
.btn.ghost:hover { border-color: #333; background: #F5F5F5; }
.btn.wide { width: 100%; }
.btn kbd { font-family: inherit; font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.06em;
  border: 0.8px solid currentColor; padding: 0 4px; margin-left: 4px; opacity: 0.7; line-height: 1.4; }

/* =============================================================== login
   Split page: solid black left panel (no photo, no name), #EBEBEB right
   with the centered stack. Mobile: single column, 64px black band on top. */
.login-split {
  min-height: 100dvh; display: grid; grid-template-columns: 45% 1fr;
  background: var(--bg-base);
}
.login-black { background: #000; }
.login-panel {
  position: relative; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 16px;
  padding: 24px; text-align: center;
}
.login-panel h1 {
  margin: 0; font-size: 2rem; font-weight: 300; letter-spacing: 0.04em;
  text-transform: uppercase; line-height: 1.1; color: #222;
}
.login-panel p { margin: 0; font-family: var(--font-serif); font-size: 1rem; line-height: 1.3; color: var(--ink-3); }
.login-panel a { color: inherit; font-family: var(--font-serif); text-decoration: none;
  padding-bottom: 1px; border-bottom: 1px solid transparent; }
.login-panel a:hover { border-bottom: 1px solid #333; }
.signin-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; min-width: 240px; padding: 8px 24px; cursor: pointer;
  background: var(--paper); color: var(--ink); border: 0.8px solid #000;
  font-family: var(--font-ui); font-size: 1rem; font-weight: 400; text-decoration: none;
  transition: background-color var(--t-fast) var(--ease-out), color var(--t-fast) var(--ease-out);
}
.signin-btn:hover, .signin-btn:active { background: #000; color: #FFFFFF; }
/* version marker — functional, garamond, bottom-right */
.login-version, .pair-version {
  position: fixed; right: 16px; bottom: 16px;
  font-family: var(--font-serif); font-size: 0.875rem; color: #514C4A;
}
@media (max-width: 899px) {
  .login-split { grid-template-columns: 1fr; grid-template-rows: 64px 1fr; }
  .login-black { height: 64px; }
}

/* the centered stacks inside the login/pair shells */
.login-stack {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.pair-stack {
  display: flex; flex-direction: column; align-items: center; gap: 24px;
}
.login-pairlink, .pair-lan, .pair-backlink {
  font-family: var(--font-serif); font-size: 1rem; line-height: 1.3; margin: 0;
}

/* errors — monochrome law: black text in a 0.8px black frame */
.login-err, .pair-err {
  background: var(--paper); color: var(--ink);
  border: 0.8px solid #000; font-size: 0.8125rem; font-weight: 500;
  padding: 8px 16px; margin: 0;
}

/* pairing page — phone hand-off; ≥44px controls */
.pair-wrap {
  min-height: 100dvh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 24px;
  padding: 24px; background: var(--bg-base); text-align: center;
}
.pair-wrap h1 { margin: 0; font-size: 2rem; font-weight: 300; letter-spacing: 0.04em;
  text-transform: uppercase; line-height: 1.1; color: #222; }
.pair-wrap p { margin: 0; }
.pair-wrap a { color: inherit; font-family: var(--font-serif); text-decoration: none;
  padding-bottom: 1px; border-bottom: 1px solid transparent; }
.pair-wrap a:hover { border-bottom: 1px solid #333; }
.pair-label { font-size: 0.6875rem; font-weight: 500; color: var(--ink-2);
  text-transform: uppercase; letter-spacing: 0.05em; }
.pair-code {
  font-family: var(--font-ui); font-weight: 300; font-size: 3.5rem; line-height: 1.1;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink);
  font-variant-numeric: tabular-nums; word-break: break-all;
}
.pair-form { display: flex; flex-direction: column; gap: 16px; width: min(320px, 100%); }
.pair-form input[type=text] {
  min-height: 44px; text-align: center; font-size: 1.25rem;
  letter-spacing: 0.12em; text-transform: uppercase;
}
.pair-form button, .pair-form .btn { min-height: 44px; }
/* pair submit — the primary move: solid black, 150ms inverse on hover */
.pair-submit {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  cursor: pointer; font-family: var(--font-ui); font-size: 1rem; font-weight: 400;
  padding: 8px 24px 12px; line-height: 1.3;
  background: #000; color: #FFFFFF; border: 0.8px solid #000;
  transition: background-color var(--t-fast) var(--ease-out), color var(--t-fast) var(--ease-out), border-color var(--t-fast) var(--ease-out);
}
.pair-submit:hover, .pair-submit:active { background: #FFFFFF; color: #000; border-color: #000; }
.pair-note { font-family: var(--font-serif); font-size: 1rem; color: var(--ink-3);
  max-width: 44ch; line-height: 1.3; margin: 0; }
.pair-wrap code { background: var(--tile); color: var(--ink); padding: 4px 8px;
  font-size: 0.875rem; font-family: ui-monospace, Consolas, monospace; }

/* scrollbars */
.board::-webkit-scrollbar, .media-scroll::-webkit-scrollbar, .dlg-body::-webkit-scrollbar, .pal-body::-webkit-scrollbar { height: 10px; width: 10px; }
.board::-webkit-scrollbar-thumb, .media-scroll::-webkit-scrollbar-thumb, .dlg-body::-webkit-scrollbar-thumb, .pal-body::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.16); border: 3px solid transparent; background-clip: content-box; }
.board::-webkit-scrollbar-thumb:hover { background: rgba(0, 0, 0, 0.26); background-clip: content-box; }

.empty { padding: 24px 16px; text-align: center; color: var(--ink-3); font-size: 0.875rem;
  font-family: var(--font-serif); font-style: italic;
  border: 0.8px dashed var(--hair); }

/* ------------------------------------------------- weekly review cycle */
.bh-row { display: flex; align-items: flex-end; gap: 16px; }
.bh-row > div:first-child { flex: 1; min-width: 0; }
.view-toggle {
  display: inline-flex; gap: 2px; padding: 4px;
  background: transparent; border: 0.8px solid var(--hair);
}
.view-toggle a {
  text-decoration: none; font-size: 0.6875rem; font-weight: 500; color: var(--ink-3);
  text-transform: uppercase; letter-spacing: 0.05em;
  padding: 8px 12px; border: 0.8px solid transparent;
  transition: border-color var(--t-fast) var(--ease-out);
}
.view-toggle a:hover { color: var(--ink); }
.view-toggle a.on { background: var(--paper); color: var(--ink); border-color: #000; }

/* card is a div; the stretched link keeps the whole card clickable while
   leaving the hover quick-actions on top of it */
.card-link { position: absolute; inset: 0; z-index: 1; }
.card-acts {
  position: absolute; top: 8px; right: 8px; z-index: 2;
  opacity: 0; transition: opacity var(--t-fast) var(--ease-out);
}
.card:hover .card-acts, .card:focus-within .card-acts { opacity: 1; }
.card-acts form { display: flex; gap: 4px; margin: 0; }
.card-acts .act {
  width: 26px; height: 26px; border: 0.8px solid var(--hair-2);
  background: var(--paper-2); color: var(--ink-2); display: grid; place-items: center;
  cursor: pointer; transition: border-color var(--t-fast) var(--ease-out);
}
.card-acts .act:hover { border-color: #333; background: var(--paper-3); color: var(--ink); }
.card-acts .act svg { width: 13px; height: 13px; }

.chip.state { color: var(--ink-3); background: transparent; border-style: dashed; }
.review-row { flex-wrap: wrap; row-gap: 8px; }

/* ------------------------------------------------- inbox suggestions strip */
.inbox-strip {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  padding: 8px 24px 0;
}
.is-label { font-size: 0.6875rem; font-weight: 500; color: var(--ink-3); margin-right: 2px; text-transform: uppercase; letter-spacing: 0.05em; }
.is-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 4px 8px 4px 12px;
}
.is-dom { font-size: 0.75rem; font-weight: 500; }
.is-meta { font-size: 0.6875rem; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.is-act {
  font: inherit; font-size: 0.6875rem; font-weight: 500; cursor: pointer;
  text-transform: uppercase; letter-spacing: 0.05em;
  border: 0.8px solid var(--hair-2); background: var(--paper-2); color: var(--ink-2);
  padding: 4px 8px; transition: border-color var(--t-fast) var(--ease-out);
}
.is-act:hover { border-color: #333; background: var(--paper-3); color: var(--ink); }
.is-act.track { background: #000; border-color: #000; color: #FFFFFF;
  transition: background-color var(--t-fast) var(--ease-out), color var(--t-fast) var(--ease-out), border-color var(--t-fast) var(--ease-out); }
.is-act.track:hover { background: #FFFFFF; color: #000; border-color: #000; }

/* ============================================================= scout
   Founder-first sourcing screens — same flat editorial idiom: sharp
   corners, 0.8px #AFAFAF rules (black frames on hover/emphasis), Archivo
   uppercase labels, EB Garamond body. Monochrome throughout. */

/* shared page header for full-width screens (mirrors .board-head type) */
.page-head { padding: 8px 0 0; margin-top: 16px; }
.page-head h1 { margin: 8px 0 0; font-size: 2.75rem; font-weight: 300; letter-spacing: 0.01em; text-transform: uppercase; line-height: 1.1; color: #222; }
.page-head p { margin: 0; color: var(--ink-3); font-size: 1rem; font-family: var(--font-serif); line-height: 1.3; }

/* garamond-style text link: quiet at rest, 1px rule on hover */
.inline-link { color: inherit; text-decoration: none; padding-bottom: 1px; border-bottom: 1px solid transparent; }
.inline-link:hover { border-bottom: 1px solid #333; }

/* board banner strip — latest run, under a week old */
.scout-banner {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  margin: 16px 24px 0; padding: 8px 16px;
  background: var(--surface); border: 0.8px solid var(--hair);
}
.scout-banner .sb-week { font-size: 0.6875rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em;
  color: #FFFFFF; background: #000; padding: 4px 12px; }
.scout-banner .sb-text { font-size: 0.875rem; color: var(--ink-2); font-family: var(--font-serif); }
.scout-banner .sb-link {
  margin-left: auto; font-size: 0.6875rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--ink); text-decoration: none;
  background: var(--paper-2); border: 0.8px solid var(--hair-2); padding: 4px 12px;
  transition: border-color var(--t-fast) var(--ease-out);
}
.scout-banner .sb-link:hover { border-color: #333; background: var(--paper-3); }

/* scout-born card chip — emphasis = black frame, black text */
.chip.scout { border-color: #000; color: #000; }

/* confidence chip — the verification ladder, always visible */
.conf {
  display: inline-flex; align-items: center; font-size: 0.625rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.05em; white-space: nowrap;
  padding: 0 8px; color: var(--ink-3); background: transparent; border: 0.8px solid var(--hair);
}
.conf.c-verified { border-color: #000; color: #000; }
/* .c-single-source / .c-inferred / .c-best-guess / .c-unverified share the neutral look */

/* ------------------------------------------------------ runs index */
.runlist { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.run-row { position: relative; display: flex; gap: 16px; align-items: flex-start;
  padding: 16px; transition: border-color var(--t-fast) var(--ease-out); }
.run-row:hover { border-color: #000; }
.rr-week { font-size: 1.25rem; font-weight: 300; letter-spacing: 0.01em; font-variant-numeric: tabular-nums;
  min-width: 112px; line-height: 1.2; }
.rr-body { flex: 1; min-width: 0; }
.rr-counts { font-size: 0.75rem; font-weight: 500; color: var(--ink-2); text-transform: uppercase; letter-spacing: 0.04em; }
.rr-obs { font-size: 0.875rem; color: var(--ink-2); margin-top: 4px; line-height: 1.35;
  font-family: var(--font-serif); font-style: italic; }
.rr-side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; flex: none; }
.rr-when { font-size: 0.6875rem; color: var(--ink-3); }
.rr-drive { position: relative; z-index: 2; font-size: 0.6875rem; font-weight: 500; text-transform: uppercase;
  letter-spacing: 0.05em; color: var(--ink-2); text-decoration: none;
  background: var(--paper-2); border: 0.8px solid var(--hair-2); padding: 4px 12px;
  transition: border-color var(--t-fast) var(--ease-out); }
.rr-drive:hover { border-color: #333; background: var(--paper-3); color: var(--ink); }

/* ------------------------------------------------------ run screen */
.obs { display: flex; align-items: baseline; gap: 16px; margin-top: 16px; padding: 16px;
  font-size: 1rem; color: var(--ink-2); line-height: 1.3; font-family: var(--font-serif); font-style: italic; }
.obs .obs-lbl { flex: none; font-family: var(--font-ui); font-style: normal; font-size: 0.6875rem; font-weight: 500;
  color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.05em; }

.cand { padding: 16px; margin-bottom: 16px; transition: border-color var(--t-fast) var(--ease-out); }
.cand:hover { border-color: #000; }
.cd-head { display: flex; gap: 16px; align-items: flex-start; }
.cd-title { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cd-name { font-size: 0.9375rem; font-weight: 500; letter-spacing: 0; color: inherit; text-decoration: none;
  padding-bottom: 1px; border-bottom: 1px solid transparent; }
a.cd-name:hover { border-bottom: 1px solid #333; }
.cd-score { flex: none; text-align: right; }
.cd-fit { font-size: 1.6875rem; font-weight: 300; letter-spacing: 0; font-variant-numeric: tabular-nums; line-height: 1; }
.cd-fit small { font-size: 0.8125rem; font-weight: 400; color: var(--ink-3); margin-left: 2px; }
.cd-out { font-size: 0.6875rem; color: var(--ink-3); font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; margin-top: 4px; }
.cd-ol { margin: 8px 0 0; font-size: 1rem; color: var(--ink-2); line-height: 1.3; font-family: var(--font-serif); max-width: 70ch; }
.cd-block { margin-top: 16px; }
.cd-lbl { display: block; font-size: 0.6875rem; font-weight: 500; color: var(--ink-3);
  text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 8px; }
.cd-block p { margin: 0; font-size: 0.875rem; color: var(--ink-2); line-height: 1.4; font-family: var(--font-serif); max-width: 74ch; }

.sigs { display: flex; flex-direction: column; gap: 8px; }
.sig { display: flex; align-items: baseline; gap: 8px; font-size: 0.8125rem; color: var(--ink-2); line-height: 1.4; }
.sig-txt { font-family: var(--font-serif); font-size: 0.875rem; min-width: 0; }
.sig-txt em { font-style: italic; color: var(--ink-3); }
/* evidence/source links — garamond, with the site's .underlining variant:
   a 0.8px #222 rule at rest */
.sig-url { flex: none; font-family: var(--font-serif); font-size: 0.875rem; font-weight: 400;
  text-transform: none; letter-spacing: 0;
  color: var(--ink-2); text-decoration: none; border-bottom: 0.8px solid #222;
  transition: border-color var(--t-fast) var(--ease-out); }
.sig-url:hover { color: #000; border-color: #000; }

.fnd-row { display: flex; gap: 8px; flex-wrap: wrap; }
.fnd { display: inline-flex; align-items: baseline; gap: 8px; text-decoration: none; color: inherit;
  padding: 8px 12px; background: transparent; border: 0.8px solid var(--hair);
  transition: border-color var(--t-fast) var(--ease-out); }
a.fnd:hover { border-color: #000; }
.fnd-name { font-size: 0.875rem; font-weight: 500; }
.fnd-role { font-size: 0.75rem; color: var(--ink-3); font-family: var(--font-serif); font-style: italic; }

.ev-row { display: flex; gap: 16px; flex-wrap: wrap; }
.ev-link { font-family: var(--font-serif); font-size: 0.875rem; font-weight: 400;
  text-transform: none; letter-spacing: 0;
  color: var(--ink-2); text-decoration: none; padding: 0 0 1px;
  background: transparent; border: 0; border-bottom: 0.8px solid #222;
  transition: border-color var(--t-fast) var(--ease-out); max-width: 100%;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ev-link:hover { border-bottom-color: #000; color: #000; }

.cd-foot { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 16px; padding-top: 8px;
  border-top: 0.8px solid var(--hair); font-size: 0.75rem; color: var(--ink-3);
  font-family: var(--font-serif); }
.cd-foot .conf { font-family: var(--font-ui); }
.cd-conv { margin-left: auto; font-family: var(--font-ui); font-size: 0.6875rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-2); }

/* preemption watch + autopsy rows */
.watch, .autopsy { padding: 16px; margin-bottom: 8px; }
.watch.esc { border-color: #000; }
.w-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.w-co { font-size: 0.875rem; font-weight: 500; color: inherit; text-decoration: none;
  padding-bottom: 1px; border-bottom: 1px solid transparent; }
a.w-co:hover { border-bottom: 1px solid #333; }
.w-count { font-size: 0.6875rem; color: var(--ink-3); font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; }
.w-why { font-size: 0.875rem; color: var(--ink-2); margin: 8px 0; line-height: 1.35; font-family: var(--font-serif); }
.au-row { display: flex; gap: 16px; align-items: baseline; margin-top: 8px; }
.au-k { flex: none; width: 192px; font-size: 0.6875rem; font-weight: 500; color: var(--ink-3);
  text-transform: uppercase; letter-spacing: 0.04em; }
.au-v { font-size: 0.875rem; color: var(--ink-2); line-height: 1.35; font-family: var(--font-serif); }

/* coverage footer */
.coverage { padding: 16px; }
.cov-line { display: flex; gap: 16px; flex-wrap: wrap; font-size: 0.8125rem; color: var(--ink-3);
  font-family: var(--font-serif); }
.cov-line b { color: var(--ink); font-weight: 500; font-family: var(--font-ui); font-size: 0.75rem; }
.cov-sources { margin-top: 16px; }
.cov-notes { margin-top: 16px; padding-top: 8px; border-top: 0.8px solid var(--hair);
  font-size: 0.875rem; color: var(--ink-2); line-height: 1.4; font-family: var(--font-serif); font-style: italic; }

/* ------------------------------------------------------ founder profile */
.markers { display: flex; flex-direction: column; gap: 8px; }
.marker { display: flex; gap: 16px; padding: 16px; align-items: flex-start; }
/* .marker.done intentionally shares the base bordered look (.glass) */
.marker.probe { border: 0.8px dashed var(--hair); background: transparent; }
.mk-ico { width: 26px; height: 26px; flex: none; display: grid; place-items: center;
  font-size: 0.875rem; font-weight: 400; }
.mk-ico.check { background: var(--ink); color: #FFFFFF; }
.mk-ico.check svg { width: 14px; height: 14px; }
.mk-ico.q { background: transparent; border: 0.8px solid var(--hair); color: var(--ink-3); }
.mk-body { flex: 1; min-width: 0; }
.mk-name { font-size: 0.75rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; margin: 4px 0 0; }
.marker.probe .mk-name { color: var(--ink-3); }
.mk-ev { display: flex; align-items: baseline; gap: 8px; margin-top: 8px; }
.mk-txt { font-size: 0.875rem; color: var(--ink-2); line-height: 1.4; font-family: var(--font-serif); min-width: 0; }
.mk-probe { font-size: 0.875rem; color: var(--ink-2); line-height: 1.4; margin-top: 4px;
  font-family: var(--font-serif); font-style: italic; }

/* warm paths */
.warmlist { display: flex; flex-direction: column; gap: 8px; }
.warm { display: flex; align-items: baseline; gap: 8px; padding: 16px; flex-wrap: wrap; }
.wm-label { font-size: 0.875rem; font-weight: 500; letter-spacing: 0; }
.wm-kind { font-size: 0.6875rem; font-weight: 500; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.05em;
  padding: 0 8px; border: 0.8px solid var(--hair); }
.wm-count { font-size: 0.75rem; color: var(--ink-2); font-variant-numeric: tabular-nums; font-family: var(--font-serif); }
.wm-when { margin-left: auto; font-size: 0.6875rem; color: var(--ink-3); }

/* chemistry read form */
.read-form { padding: 16px; }
.read-form .btn { padding: 8px 16px 12px; font-size: 0.875rem; }

/* ------------------------------------------------------ profile people row */
.people-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px; }
.person { display: flex; gap: 8px; padding: 16px; align-items: flex-start;
  text-decoration: none; color: inherit; transition: border-color var(--t-fast) var(--ease-out); }
.person:hover { border-color: #000; }
.p-avatar { width: 40px; height: 40px; flex: none; display: grid; place-items: center;
  font-weight: 500; font-size: 1rem; color: var(--ink);
  background: var(--tile); border: 0.8px solid var(--hair); }
.p-body { flex: 1; min-width: 0; }
.p-name { font-size: 0.875rem; font-weight: 500; letter-spacing: 0; }
.p-role { font-size: 0.6875rem; color: var(--ink-3); font-weight: 500; text-transform: uppercase; letter-spacing: 0.04em; margin-top: 4px; }
.p-ped { font-size: 0.8125rem; color: var(--ink-2); line-height: 1.35; margin-top: 4px;
  font-family: var(--font-serif); font-style: italic;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ======================================================= command palette
   Sharp white panel, 0.8px black frame, top-centered at 12vh. Injected by
   app.js behind the mount comment in base.html. 250ms enter. */
.pal-overlay {
  position: fixed; inset: 0; z-index: 90; display: none;
  background: rgba(235, 235, 235, 0.55);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.pal-overlay.open { display: block; animation: veil-in var(--t-slow) var(--ease-out); }
body:has(.pal-overlay.open) { overflow: hidden; }
.pal {
  position: absolute; top: 12vh; left: 50%; transform: translateX(-50%);
  width: min(560px, calc(100vw - 32px));
  background: var(--paper); border: 0.8px solid var(--line);
  animation: pal-in var(--t-slow) var(--ease-spring);
}
@keyframes pal-in {
  from { opacity: 0; transform: translate(-50%, 4px) scale(0.985); }
  to   { opacity: 1; transform: translate(-50%, 0); }
}
@keyframes sheet-in {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}
.pal-top { display: flex; align-items: center; gap: 8px; padding: 8px 16px; border-bottom: 0.8px solid var(--hair); }
.pal-input {
  flex: 1; min-width: 0; border: 0; outline: none; background: transparent;
  font-family: var(--font-ui); font-size: 1rem; color: var(--ink); padding: 8px 0;
}
.pal-input::placeholder { color: var(--ink-4); }
.pal-close {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  padding: 4px 8px; cursor: pointer;
  background: transparent; border: 0.8px solid var(--hair); color: var(--ink-3);
  font-family: var(--font-ui); font-size: 0.6875rem; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
  transition: border-color var(--t-fast) var(--ease-out);
}
.pal-close:hover { border-color: #000; color: var(--ink); }
.pal-close kbd { font: inherit; }
.pal-body { max-height: 48vh; overflow-y: auto; padding: 8px; overscroll-behavior: contain; }
.pal-sec { padding: 8px 8px 4px; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--ink-3); }
.pal-item {
  display: flex; align-items: baseline; gap: 8px; padding: 8px;
  border: 0.8px solid transparent; text-decoration: none; color: inherit;
}
.pal-item.sel { border-color: #000; }
.pi-name { font-size: 0.875rem; font-weight: 500; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pi-meta { margin-left: auto; flex: none; max-width: 55%; font-family: var(--font-serif); font-size: 0.875rem; color: var(--ink-3);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* visible waiting / empty states — garamond line */
.pal-hint { padding: 16px; font-family: var(--font-serif); font-style: italic; font-size: 0.875rem; color: var(--ink-3); }

/* ========================================================= bottom tabs
   Mobile-only bottom tab bar: Dealflow · Scout · Search. */
.tabbar { display: none; }

/* ============================================================= mobile */
@media (max-width: 740px) {
  body:has(.tabbar) { padding-bottom: calc(56px + env(safe-area-inset-bottom)); }

  .topbar { height: 56px; gap: 16px;
    padding: 0 max(16px, env(safe-area-inset-right)) 0 max(16px, env(safe-area-inset-left)); }
  .topnav, .kbd-chip { display: none; }   /* tabs take over navigation */
  .src-pills { gap: 8px; }
  .src-pill { font-size: 0; gap: 0; }     /* dots only on phone */
  .src-pill .led { width: 8px; height: 8px; }
  .linkbtn { min-height: 44px; display: inline-flex; align-items: center; }

  .tabbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
    display: flex; align-items: stretch;
    /* floating chrome as a translucent material — content scrolls under it */
    background: rgba(235, 235, 235, 0.72);
    -webkit-backdrop-filter: blur(20px) saturate(1.8);
    backdrop-filter: blur(20px) saturate(1.8);
    border-top: 0.8px solid var(--hair);
    padding: 0 max(0px, env(safe-area-inset-right)) env(safe-area-inset-bottom) max(0px, env(safe-area-inset-left));
  }
  .tabbar .tab {
    flex: 1; display: flex; align-items: center; justify-content: center;
    min-height: 48px; text-decoration: none;
    font-family: var(--font-ui); font-size: 0.6875rem; font-weight: 500;
    letter-spacing: 0.06em; text-transform: uppercase;
    color: var(--ink-3); border-top: 2px solid transparent;
  }
  .tabbar .tab.on { color: var(--ink); border-top-color: #000; }

  .board-head { padding: 8px 16px 0; }
  .board-head h1, .page-head h1, .hero h1 { font-size: 2rem; }
  .bh-row { flex-wrap: wrap; align-items: center; row-gap: 8px; }

  .board {
    grid-auto-columns: 86vw; scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 16px max(16px, env(safe-area-inset-right)) 24px max(16px, env(safe-area-inset-left));
  }
  .col { scroll-snap-stop: always; }
  .scout-banner { margin: 16px 16px 0; }
  .inbox-strip { padding: 8px 16px 0; }

  .wrap { padding: 8px max(16px, env(safe-area-inset-right)) 48px max(16px, env(safe-area-inset-left)); }
  .hero { padding: 16px; }
  .hero .h-top { flex-wrap: wrap; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .people-row { grid-template-columns: 1fr; }
  .cd-head { flex-wrap: wrap; }
  .au-row { flex-wrap: wrap; }
  .au-k { width: 100%; }

  /* ≥44px touch targets */
  .btn, .is-act, .back, .rr-drive, .sb-link, .view-toggle a, .seg label,
  a.tag, a.fnd, .pal-close { min-height: 44px; }
  .is-act, .back, .rr-drive, .sb-link, .view-toggle a,
  a.tag, a.fnd { display: inline-flex; align-items: center; justify-content: center; }
  .seg label { display: flex; align-items: center; justify-content: center; }
  .iconbtn { width: 44px; height: 44px; }
  .card-acts .act { width: 44px; height: 44px; }
  textarea, input[type=text], input[type=password], input[type=email], select { min-height: 44px; }
  input[type=range]::-webkit-slider-thumb { width: 28px; height: 28px; }

  /* dialogs become full-screen sheets — 250ms rise, sticky head, ≥44 close */
  dialog { margin: 0; width: 100dvw; max-width: 100dvw; height: 100dvh; max-height: 100dvh; border: 0; }
  dialog[open] { display: flex; flex-direction: column; animation: sheet-in var(--t-slow) var(--ease-out); }
  .dlg-head { flex: none; padding: 8px 16px; }
  .dlg-body { flex: 1; max-height: none;
    padding: 16px 16px calc(24px + env(safe-area-inset-bottom)); }

  /* the palette is a full-screen sheet on phones */
  .pal { top: 0; left: 0; transform: none; width: 100dvw; height: 100dvh;
    display: flex; flex-direction: column; border: 0;
    animation: sheet-in var(--t-slow) var(--ease-out); }
  .pal-top { flex: none; padding: max(8px, env(safe-area-inset-top)) 16px 8px; }
  .pal-body { flex: 1; max-height: none; padding: 8px 8px calc(16px + env(safe-area-inset-bottom)); }
}

/* touch devices — quick actions are never hover-gated */
@media (hover: none) {
  .card-acts {
    position: relative; top: auto; right: auto; z-index: 2;
    opacity: 1; display: flex; justify-content: flex-end; margin-top: 8px;
  }
  .card-acts .act { width: 44px; height: 44px; }
  .tile .t-arrow { opacity: 1; }
}

/* ------------------------------------------------- THIS WEEK band (board foot) */
.tw { padding: 8px 24px 48px; }
.tw-head { display: flex; align-items: baseline; gap: 16px; padding: 24px 0 8px; border-top: 0.8px solid #AFAFAF; }
.tw-head h2 { margin: 0; font-family: var(--font-display, Archivo), sans-serif; font-weight: 300; font-size: 1.75rem; text-transform: uppercase; letter-spacing: 0.01em; color: #222222; }
.tw-sub { font-family: "EB Garamond", Georgia, serif; font-style: italic; font-size: 0.875rem; color: #514C4A; }
.tw-funnel { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: baseline; padding: 8px 0 16px; border-bottom: 0.8px solid #AFAFAF; }
.twf-item { font-size: 0.875rem; color: #222222; }
.twf-item b { font-weight: 600; font-variant-numeric: tabular-nums; }
.twf-note { margin-left: auto; font-family: "EB Garamond", Georgia, serif; font-style: italic; font-size: 0.8125rem; color: #514C4A; }
.tw-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; }
.tw-sec { padding: 16px 0 8px; border-bottom: 0.8px solid #EBEBEB; min-width: 0; }
.tw-sec h3 { margin: 0 0 2px; font-size: 0.75rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; color: #222222; }
.tw-note { font-family: "EB Garamond", Georgia, serif; font-style: italic; font-size: 0.8125rem; color: #514C4A; margin-bottom: 8px; }
.tw-row { display: flex; flex-direction: column; gap: 1px; padding: 6px 0; border-top: 0.8px solid #EBEBEB; }
.twr-t { font-size: 0.8438rem; color: #000000; line-height: 1.35; }
.twr-t a { color: #000000; }
.twr-b { font-family: "EB Garamond", Georgia, serif; font-size: 0.8438rem; color: #514C4A; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.twr-co { font-size: 0.8438rem; font-weight: 600; color: #000000; }
.twr-act { align-self: flex-start; font-size: 0.625rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: #FFFFFF; background: #000000; padding: 2px 8px; margin-top: 3px; }
.tw-quiet { font-family: "EB Garamond", Georgia, serif; font-style: italic; font-size: 0.8438rem; color: #AFAFAF; padding: 6px 0; }
.tw-digest { font-family: "EB Garamond", Georgia, serif; font-size: 0.8438rem; color: #333333; white-space: pre-wrap; line-height: 1.45; margin: 4px 0 0; padding: 10px 12px; background: #FAFAFA; border: 0.8px solid #EBEBEB; max-height: 220px; overflow: hidden; }
.digest-md { font-family: "EB Garamond", Georgia, serif; font-size: 0.9375rem; color: #222222; white-space: pre-wrap; line-height: 1.5; padding: 20px; background: #FFFFFF; border: 0.8px solid #AFAFAF; margin-top: 16px; }
@media (max-width: 740px) {
  .tw { padding: 8px 16px 96px; }
  .tw-grid { grid-template-columns: 1fr; }
  .twf-note { margin-left: 0; width: 100%; }
}
/* hero stage select — the quiet replacement for the old stage strip */
.stage-inline { display: inline-flex; align-items: center; gap: 6px; }
.stage-inline select { font-family: inherit; font-size: 0.7812rem; color: #222222; background: #FAFAFA; border: 0.8px solid #AFAFAF; padding: 6px 8px; border-radius: 0; }
.stage-inline select:focus { outline: 1px solid #000000; }

/* ------------------------------------------------- sentiment wizard
   One dimension per screen: score row, because box, back/next. Category
   pick is screen zero. Backdrop blurs the page behind it (user directive). */
dialog.sent { width: min(520px, 92vw); }
.sent-head { display: flex; align-items: center; padding: 16px 24px 0; min-height: 40px; }
.sent-head .x { margin-left: auto; }
.sent-count { font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.05em;
  text-transform: uppercase; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.sent-body { padding: 0 24px; min-height: 280px; display: flex; flex-direction: column; }
.sent-title { margin: 8px 0 4px; font-size: 1.625rem; font-weight: 400; letter-spacing: 0; }
.sent-hint { margin: 0 0 20px; font-family: var(--font-serif); font-style: italic;
  font-size: 0.9375rem; line-height: 1.35; color: var(--ink-2); }
.ss-row { display: flex; gap: 4px; margin-bottom: 16px; }
.ss-row button { flex: 1; min-width: 0; height: 44px; background: #FAFAFA;
  border: 0.8px solid #EBEBEB; color: #222; font: inherit; font-size: 0.875rem;
  font-variant-numeric: tabular-nums; cursor: pointer;
  transition: border-color var(--t-fast) var(--ease-out), background var(--t-fast) var(--ease-out); }
.ss-row button:hover { border-color: #333; }
.ss-row button.on { background: #000; border-color: #000; color: #FFF; }
.sent-because { width: 100%; min-height: 96px; padding: 12px; background: #FFF;
  border: 0.8px solid var(--hair); font: inherit; font-size: 0.875rem; line-height: 1.4;
  color: var(--ink); resize: vertical; }
.sent-because:focus { outline: none; border-color: #333; }
.sent-foot { display: flex; justify-content: space-between; gap: 8px; padding: 16px 24px 24px; }
.sent-foot .btn { padding: 8px 24px 12px; }
.sent-cats { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.sent-cat { text-align: left; padding: 20px; background: #FAFAFA; border: 0.8px solid #EBEBEB;
  cursor: pointer; font: inherit; transition: border-color var(--t-fast) var(--ease-out); }
.sent-cat:hover { border-color: #000; }
.sent-cat b { display: block; font-size: 1rem; font-weight: 500; margin-bottom: 2px; }
.sent-cat span { font-family: var(--font-serif); font-style: italic; font-size: 0.875rem; color: var(--ink-2); }

/* archive — quiet, collapsible, every read kept verbatim */
.sent-arch { border: 0.8px solid var(--hair); padding: 0 16px; }
.sent-arch summary { display: flex; align-items: baseline; gap: 8px; padding: 12px 0;
  cursor: pointer; list-style: none; font-size: 0.875rem; }
.sent-arch summary::-webkit-details-marker { display: none; }
.sent-arch summary b { font-weight: 500; }
.sent-arch .sa-sum { color: var(--ink-3); font-size: 0.75rem; }
.sent-arch[open] summary { border-bottom: 0.8px solid var(--hair); }
.sa-row { display: flex; align-items: baseline; gap: 8px; padding: 8px 0 2px; }
.sa-row .sa-t { font-size: 0.8125rem; color: var(--ink-2); }
.sa-row .sa-s { font-variant-numeric: tabular-nums; font-weight: 500; }
.sa-b { font-family: var(--font-serif); font-size: 0.875rem; line-height: 1.4; color: var(--ink-2);
  padding: 0 0 8px; border-bottom: 0.8px dotted var(--hair); }
.sent-arch > .sa-row:last-of-type, .sent-arch > .sa-b:last-child { border-bottom: 0; }

@media (max-width: 740px) {
  .sent-body { flex: 1; min-height: 0; overflow-y: auto; }
  .ss-row { gap: 2px; }
  .ss-row button { font-size: 0.8125rem; }
}

/* ================================================== fluid & comfort pass
   apple-design skill applied to the monochrome system. Laws of this pass:
   feedback lands on pointer-DOWN and is instant; every motion is critically
   damped (zero overshoot — bounce is for momentum gestures and none exist);
   nothing loops, pulses or nags — motion informs, it never persuades;
   translucent chrome floats over content; the user's motion / transparency /
   contrast preferences always win. */

/* kill input latency: no tap-highlight flash, no double-tap zoom delay */
a, button, input, select, textarea, summary, label,
[role="button"] { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }

html { scroll-behavior: smooth; }
body { font-optical-sizing: auto; }
h1, h2, h3 { text-wrap: balance; }
::selection { background: #000; color: #FFFFFF; }

/* large mixed-case titles carry slight negative tracking (size-specific
   tracking law) — the uppercase display heads keep the site's own +0.01em */
.sent-title, .dlg-head h3 { letter-spacing: -0.01em; }

/* respond on press — instant scale, released instantly. Uses the `scale`
   property so existing transforms are untouched. */
.btn:active, .kbd-chip:active, .iconbtn:active, .pal-close:active,
.tile.click:active, .sent-cat:active, .ss-row button:active,
.card-acts .act:active, .tabbar .tab:active, .src-pill:active { scale: 0.97; }
.card:active, .person:active, .mediacard:active, .pal-item:active,
.sent-cat:active { scale: 0.99; }

/* ~10px invisible hit padding around small targets (gesture hysteresis) */
.iconbtn, .kbd-chip, .pal-close { position: relative; }
.iconbtn::before, .kbd-chip::before, .pal-close::before {
  content: ""; position: absolute; inset: -6px; }
.card-acts .act { position: relative; }
.card-acts .act::before { content: ""; position: absolute; inset: -2px; }

/* scrolling comfort: a scroll that ends inside a panel never yanks the page */
.board, .dlg-body, .sent-body, .media-scroll, .people-row { overscroll-behavior: contain; }
body:has(dialog[open]) { overflow: hidden; }

/* sentiment wizard steps: each dimension arrives with a quiet cross-fade */
.sent-body.in { animation: step-in 160ms var(--ease-spring); }
@keyframes step-in { from { opacity: 0; transform: translateY(3px); } }

/* the user's system preferences always win over the material layer */
@media (prefers-reduced-transparency: reduce) {
  dialog::backdrop, .pal-overlay { background: #EBEBEB;
    -webkit-backdrop-filter: none; backdrop-filter: none; }
  .tabbar, .col-head { background: var(--bg-base);
    -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  .glass, .card, .dlg-item, .sent-arch, .sent-cat, .ss-row button,
  .tile, .kbd-chip, .iconbtn { border-color: #000; }
}

/* ==================================================== sentiment graph
   The path a company's reads have taken, 0-10, chronological. Facts only:
   filled point = post-meeting, hollow = first look, no color, no area fill. */
.sg-wrap { padding: 16px; border: 0.8px solid var(--hair); overflow-x: auto; }
.sg-wrap svg { display: block; }
.sg-legend { display: flex; gap: 16px; margin-top: 8px;
  font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.05em;
  text-transform: uppercase; color: var(--ink-3); }
.sg-legend i { font-style: normal; }

/* ================================================= whole-UI craft pass 2
   Continuity, reading comfort, keyboard productivity. Same laws as pass 1:
   critically damped, informative, never persuasive. */

/* page-to-page continuity: same-origin navigations cross-fade instead of
   flashing white (Chrome view transitions; other engines simply ignore) */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) {
  animation-duration: 150ms; animation-timing-function: var(--ease-out); }
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
}

/* kanban snap aligns with the board's own padding */
.board { scroll-padding-left: 16px; }

/* digest reads like a letter: measured line, generous leading */
.digest-md { max-width: 72ch; line-height: 1.6; }

/* pairing code entry mirrors the code's own shape */
.pair-form input[type=text] {
  text-transform: uppercase; letter-spacing: 0.18em;
  text-align: center; font-variant-numeric: tabular-nums; }

/* sentiment wizard keyboard hint — desktop only, quiet */
.sent-keys { align-self: center; font-size: 0.6875rem; font-weight: 500;
  letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-4); }
@media (max-width: 740px) { .sent-keys { display: none; } }

/* ================================================ Signals diligence board
   Grouped metric catalog. A muted tile means "tracked, not yet on file" —
   the gap is the information; nothing pretends to know. */
.sig-h { display: flex; align-items: baseline; gap: 8px; margin: 20px 0 8px; }
.sig-h h4 { margin: 0; font-size: 0.8125rem; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); }
.sig-h .n { font-family: var(--font-serif); font-size: 0.875rem;
  color: var(--ink-3); font-variant-numeric: tabular-nums; }
.tile.na { border-color: #D9D9D9; }
.tile.na .t-val { color: var(--ink-4); font-weight: 300; }
.tile.na .t-ico { opacity: 0.35; }
.tile.na .t-sub { color: var(--ink-4); }

/* ===================================================== funding history
   Chronological round ledger: date rail on the left, hairline rows,
   investors as quiet chips — lead and angels marked in words, no symbols. */
.frounds { border: 0.8px solid var(--hair); }
.fr-row { display: flex; gap: 16px; padding: 12px 16px; }
.fr-row + .fr-row { border-top: 0.8px solid var(--hair); }
.fr-date { flex: none; width: 84px; font-family: var(--font-serif);
  font-size: 0.9375rem; color: var(--ink-3); font-variant-numeric: tabular-nums;
  padding-top: 1px; }
.fr-main { flex: 1; min-width: 0; }
.fr-head { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.fr-stage { font-size: 0.875rem; font-weight: 500; }
.fr-amt { font-size: 0.875rem; font-variant-numeric: tabular-nums; color: var(--ink-2); }
.fr-val { font-family: var(--font-serif); font-style: italic; font-size: 0.875rem;
  color: var(--ink-2); }
.fr-inv { display: flex; flex-wrap: wrap; gap: 4px 8px; margin-top: 6px; }
.fr-i { font-size: 0.8125rem; color: var(--ink-2); padding: 2px 8px;
  border: 0.8px solid var(--hair-2); background: var(--paper-2); }
.fr-i.lead { border-color: #000; color: var(--ink); }
.fr-i em { font-style: normal; font-size: 0.6875rem; color: var(--ink-3);
  text-transform: uppercase; letter-spacing: 0.04em; }
@media (max-width: 740px) {
  .fr-row { flex-direction: column; gap: 4px; }
  .fr-date { width: auto; }
}

/* tile text discipline: squares never overflow, long values drop to the
   small text style and clamp at three lines (full value in the tooltip) */
.tile { overflow: hidden; min-width: 0; }
.tile .t-val { overflow-wrap: anywhere; }
.tile.txt .t-val { font-size: 0.875rem; font-weight: 400; line-height: 1.25;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; }
.tile .t-sub, .tile .t-lbl { overflow: hidden; text-overflow: ellipsis;
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; }

/* mobile sheets are draggable by the head: quiet grab bar (sharp, per the
   corner law), and the head owns its touches so 1:1 tracking never fights
   the scroll gesture. Body scrolling is untouched. */
@media (max-width: 740px) {
  .dlg-head, .sent-head { touch-action: none; position: relative; }
  .dlg-head::before, .sent-head::before {
    content: ""; position: absolute; top: 6px; left: 50%;
    transform: translateX(-50%); width: 32px; height: 3px; background: #D9D9D9; }
}

/* audit fix: source links reach the 44px touch target on phones */
@media (max-width: 740px) {
  .sig-url { display: inline-flex; align-items: center; min-height: 44px; }
}

/* ============================================== proportion discipline
   Every inline glyph is glyph-sized — an unsized svg must never be able to
   explode a layout. Memo bodies keep their line breaks and wrap long URLs. */
.dlg-head > svg { width: 18px; height: 18px; flex: none; }
.btn svg { width: 14px; height: 14px; flex: none; }
.sec h3 svg, .sec .n svg { width: 14px; height: 14px; flex: none; }
.dlg-item .di-b { white-space: pre-line; overflow-wrap: anywhere; }

/* hero: quiet average-excitement box beside the name */
.h1-row { display: flex; align-items: center; gap: 12px; min-width: 0; }
.h1-row h1 { margin: 0; }
.exc-avg { flex: none; padding: 4px 10px; border: 0.8px solid var(--hair);
  background: var(--paper-2); font-size: 1rem; font-weight: 500;
  font-variant-numeric: tabular-nums; letter-spacing: 0; }
.exc-avg small { font-size: 0.6875rem; font-weight: 400; color: var(--ink-3); margin-left: 1px; }

/* two sentiment graphs side by side, captioned, same form behind both */
.sg-row { display: flex; gap: 16px; flex-wrap: wrap; }
.sg-row .sg-wrap { flex: 1; min-width: 300px; }
.sg-cap { font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.05em;
  text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; }
.sg-row + .sg-legend { margin-top: 8px; }

/* ================================================= Companies House mirror
   The official record, one readable block per data type: overview grid,
   deadlines, officers, PSCs, filings, charges. Registry words only. */
.ch { border: 0.8px solid var(--hair); padding: 0 16px 16px; }
.ch-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.ch-row { display: flex; gap: 12px; align-items: baseline; padding: 10px 0;
  border-bottom: 0.8px solid var(--hair-2); min-width: 0; }
.ch-k { flex: none; width: 148px; font-size: 0.6875rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-3); }
.ch-v { font-size: 0.875rem; color: var(--ink); min-width: 0; overflow-wrap: anywhere; }
.ch-v b { color: #000; }
.ch-sub { display: flex; align-items: baseline; gap: 8px; margin: 20px 0 4px; }
.ch-sub h4 { margin: 0; font-size: 0.8125rem; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); }
.ch-sub .n { font-family: var(--font-serif); font-size: 0.875rem; color: var(--ink-3); }
.ch-item { display: flex; gap: 12px; align-items: baseline; padding: 8px 0;
  border-bottom: 0.8px dotted var(--hair-2); font-size: 0.875rem; }
.ch-item:last-child { border-bottom: 0; }
.ch-item b { font-weight: 500; flex: none; }
.ch-item.former { color: var(--ink-4); }
.ch-item.former b { font-weight: 400; color: var(--ink-3); }
.ch-m { color: var(--ink-2); min-width: 0; overflow-wrap: anywhere; }
.ch-item.former .ch-m { color: var(--ink-4); }
.ch-date { flex: none; width: 84px; font-family: var(--font-serif);
  font-size: 0.875rem; color: var(--ink-3); font-variant-numeric: tabular-nums; }
@media (max-width: 740px) {
  .ch-grid { grid-template-columns: 1fr; }
  .sg-row .sg-wrap { min-width: 100%; }
}

/* fact detail popup — the tile stays clean, everything lives here */
#dlg-fact { width: min(420px, 92vw); }
.df-value { font-size: 1.375rem; font-weight: 300; line-height: 1.3;
  overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.df-unit { font-family: var(--font-serif); font-style: italic; font-size: 0.9375rem;
  color: var(--ink-2); margin-top: 4px; }
.df-unit:empty { display: none; }
.df-meta { display: flex; align-items: baseline; gap: 12px; margin-top: 16px;
  padding-top: 12px; border-top: 0.8px solid var(--hair-2); }
.df-src { font-size: 0.75rem; color: var(--ink-3); text-transform: uppercase;
  letter-spacing: 0.05em; }
/* unread cards say so quietly — no number is honest, not shameful */
.score.unread { font-family: var(--font-serif); font-style: italic; font-weight: 400;
  text-transform: none; letter-spacing: 0; color: var(--ink-3); border-color: var(--hair-2); }

/* registry list dialogs: quiet source line at the top */
.ch-srcline { margin: 0 0 12px; font-family: var(--font-serif); font-size: 0.875rem;
  color: var(--ink-3); display: flex; align-items: baseline; gap: 8px; }

/* ---------------------------------------------- tile legibility pass
   Numbers never break mid-word; a value is one line and ellipses if it
   cannot fit. Labels get two lines instead of being cut. Wider columns
   so real values (dates, £ figures, ranks) have room to breathe. */
.tiles { grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); gap: 12px; }
.tile { aspect-ratio: auto; min-height: 132px; padding: 14px; gap: 10px; }
.tile .t-val { font-size: 1.5rem; line-height: 1.15; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis; overflow-wrap: normal; }
.tile.txt .t-val { font-size: 0.9375rem; font-weight: 400; line-height: 1.3;
  white-space: normal; display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden; }
.tile .t-lbl { line-height: 1.25; white-space: normal; -webkit-line-clamp: 2;
  display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
.tile .t-ico { width: 22px; height: 22px; }
.tile .t-ico svg { width: 13px; height: 13px; }

/* popup: the plain-language explainer under the value */
.df-hint { margin: 12px 0 0; font-family: var(--font-serif); font-size: 0.9375rem;
  line-height: 1.4; color: var(--ink-2); }
.df-hint:empty { display: none; }

/* ================================================== breakout signals
   The playbook's 2-signal bar, shown as a count and a line of evidence.
   The black frame is the only emphasis — a measurement, not an alarm. */
.bo { border: 0.8px solid var(--hair); padding: 12px 16px; }
.bo.hot { border-color: #000; }
.bo-head { display: flex; align-items: baseline; gap: 12px; padding-bottom: 8px; }
.bo-n { font-size: 1.75rem; font-weight: 300; line-height: 1;
  font-variant-numeric: tabular-nums; }
.bo-verdict { font-family: var(--font-serif); font-size: 0.9375rem; color: var(--ink-2); }
.bo.hot .bo-verdict { color: var(--ink); }
.bo-row { display: flex; align-items: baseline; gap: 8px; padding: 8px 0;
  border-top: 0.8px solid var(--hair-2); font-size: 0.875rem; }
.bo-row.quiet { font-family: var(--font-serif); color: var(--ink-3); display: block; }
.bo-kind { flex: none; font-size: 0.6875rem; font-weight: 500; text-transform: uppercase;
  letter-spacing: 0.05em; color: var(--ink-3); width: 76px; }
.bo-detail { min-width: 0; overflow-wrap: anywhere; }
.bo-val { font-variant-numeric: tabular-nums; color: var(--ink-2); }
.bo-when { flex: none; font-size: 0.75rem; color: var(--ink-3); }
.chip.sig { border-color: #000; color: #000; }
@media (max-width: 740px) {
  .bo-row { flex-wrap: wrap; }
  .bo-kind { width: auto; }
}

/* ====================================================== sidebar (desktop)
   Quiet left rail: black mark, three links, hairline edge. Content shifts
   right; the mobile tabbar replaces it under 740px. */
.sidebar {
  position: fixed; top: 0; bottom: 0; left: 0; width: 168px; z-index: 60;
  display: flex; flex-direction: column; gap: 24px;
  padding: 24px 0 16px;
  background: var(--bg-base); border-right: 0.8px solid var(--hair);
}
.sb-mark { display: block; width: 18px; height: 18px; background: #000; margin: 0 24px; flex: none; }
.sb-nav { display: flex; flex-direction: column; }
.sb-link {
  display: block; padding: 10px 24px; text-decoration: none;
  font-family: var(--font-serif); font-size: 1rem; color: var(--ink-2);
  border-left: 2px solid transparent;
  transition: color var(--t-fast) var(--ease-out);
}
.sb-link:hover { color: var(--ink); }
.sb-link.on { color: var(--ink); border-left-color: #000; font-weight: 500; }
.sb-foot { margin-top: auto; padding: 0 24px; }
.sb-v { font-size: 0.6875rem; color: var(--ink-4); letter-spacing: 0.06em; text-transform: uppercase; }
body:has(.sidebar) { padding-left: 168px; }
@media (max-width: 740px) {
  .sidebar { display: none; }
  body:has(.sidebar) { padding-left: 0; }
}

/* ================================================= home — raising now
   Two stacked lists; inside each row the round facts sit SIDE BY SIDE:
   stage · round size · valuation · status · investors · evidence · source. */
.home-wrap { padding-top: 0; }
.lr-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 8px; }
.lr { padding: 16px; }
.lr-head { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.lr-name { font-size: 1rem; font-weight: 500; color: inherit; text-decoration: none; }
a.lr-name:hover { border-bottom: 1px solid #333; }
.lr-when { font-size: 0.75rem; color: var(--ink-3); }
.lr-fit { margin-top: 4px; font-family: var(--font-serif); font-style: italic;
  font-size: 0.9375rem; color: var(--ink-2); }
.lr-round { display: flex; align-items: baseline; gap: 24px; flex-wrap: wrap;
  margin-top: 12px; padding-top: 10px; border-top: 0.8px solid var(--hair-2); }
.lr-cell { display: flex; flex-direction: column; gap: 2px; }
.lr-cell i { font-style: normal; font-size: 0.6875rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-3); }
.lr-cell b { font-size: 0.875rem; font-weight: 500; font-variant-numeric: tabular-nums; }
.lr-inv { display: flex; flex-wrap: wrap; gap: 4px 8px; margin-top: 8px; }
.lr-ev { margin-top: 8px; font-family: var(--font-serif); font-size: 0.875rem;
  color: var(--ink-2); }
@media (max-width: 740px) { .lr-round { gap: 12px 20px; } }

/* home layout: the two raising-now boxes sit side by side; single column
   when the viewport can't hold both honestly */
.home-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; align-items: start; }
.home-col { min-width: 0; }
@media (max-width: 1100px) { .home-grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------- collapsible sidebar
   State lives on <html>.sb-closed (set pre-paint from localStorage, no
   flash). The rail slides out on the critically damped curve; a small
   fixed button brings it back. Mobile keeps the tabbar, none of this. */
.sb-top { display: flex; align-items: center; justify-content: space-between;
  padding: 0 16px 0 24px; }
.sb-top .sb-mark { margin: 0; }
.sb-toggle { width: 28px; height: 28px; display: grid; place-items: center;
  background: transparent; border: 0.8px solid transparent; color: var(--ink-3);
  cursor: pointer; transition: border-color var(--t-fast) var(--ease-out); }
.sb-toggle:hover { border-color: var(--hair); color: var(--ink); }
.sidebar { transition: transform var(--t-slow) var(--ease-spring),
  visibility 0s linear var(--t-slow); }
html.sb-closed .sidebar { transform: translateX(-100%); visibility: hidden; }
body:has(.sidebar) { transition: padding-left var(--t-slow) var(--ease-spring); }
html.sb-closed body:has(.sidebar) { padding-left: 0; }
.sb-open { position: fixed; top: 20px; left: 16px; z-index: 59;
  width: 32px; height: 32px; display: none; place-items: center;
  background: var(--paper-2); border: 0.8px solid var(--hair); color: var(--ink-2);
  cursor: pointer; transition: border-color var(--t-fast) var(--ease-out); }
.sb-open:hover { border-color: #000; color: var(--ink); }
html.sb-closed .sb-open { display: grid; }
@media (max-width: 740px) { .sb-open { display: none !important; } }
@media (prefers-reduced-motion: reduce) {
  .sidebar, body:has(.sidebar) { transition: none; }
}

/* ------------------------------------------------- home widget board
   Every section is a bordered widget card on one grid. */
.widgets { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
  align-items: start; }
.widget { border: 0.8px solid var(--hair); background: var(--surface);
  padding: 16px; min-width: 0; }
.widget.w-wide { grid-column: span 1; }
.w-h { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap;
  padding-bottom: 8px; margin-bottom: 8px; border-bottom: 0.8px solid var(--hair-2); }
.w-h h3 { margin: 0; font-size: 0.9375rem; font-weight: 400; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--ink-h); }
.w-h .n { font-family: var(--font-serif); font-style: italic; font-size: 0.875rem;
  color: var(--ink-3); }
.widget .lr { padding: 12px 0 4px; border: 0; border-top: 0.8px solid var(--hair-2); }
.widget .lr:first-child { border-top: 0; }
.widget .lr-list { gap: 0; margin-bottom: 0; }
.w-funnel { border: 0; padding: 8px 0 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
@media (max-width: 1100px) { .widgets { grid-template-columns: 1fr; } }

/* --------------------------------------- compact live-round rows (home)
   One line per round: monogram, name, valuation, size. The row opens to a
   horizontal detail band — nothing on the board is lost, only folded. */
.lrd { border-top: 0.8px solid var(--hair-2); }
.lrd:first-of-type { border-top: 0; }
.lrc { display: flex; align-items: center; gap: 10px; padding: 8px 0;
  cursor: pointer; list-style: none; min-width: 0; }
.lrc::-webkit-details-marker { display: none; }
.lrc .lg { width: 26px; height: 26px; flex: none; display: grid; place-items: center;
  background: var(--tile); border: 0.8px solid var(--hair);
  font-size: 0.75rem; font-weight: 500; }
.lrc-name { font-size: 0.875rem; font-weight: 500; min-width: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lrc-name a { color: inherit; text-decoration: none; }
.lrc-name a:hover { border-bottom: 1px solid #333; }
.lrc-name em { font-family: var(--font-serif); font-style: italic; font-weight: 400;
  font-size: 0.8125rem; color: var(--ink-3); margin-left: 6px; }
.lrc-cell { flex: none; display: flex; flex-direction: column; align-items: flex-end; }
.lrc-cell i { font-style: normal; font-size: 0.625rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-4); }
.lrc-cell b { font-size: 0.8125rem; font-weight: 500; font-variant-numeric: tabular-nums;
  white-space: nowrap; }
.lrc-chev { flex: none; color: var(--ink-4);
  transition: transform var(--t-fast) var(--ease-out); }
.lrd[open] .lrc-chev { transform: rotate(90deg); }
.lrx { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: baseline;
  padding: 4px 0 12px 36px; }
.lrx-cell { display: flex; flex-direction: column; gap: 1px; }
.lrx-cell i { font-style: normal; font-size: 0.625rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-3); }
.lrx-cell b { font-size: 0.8125rem; font-weight: 500; }
.lrx-inv { display: flex; flex-wrap: wrap; gap: 4px 8px; width: 100%; }
.lrx-fit, .lrx-ev { width: 100%; font-family: var(--font-serif); font-size: 0.875rem;
  color: var(--ink-2); }
.lrx-fit { font-style: italic; }
.lrx-src { display: flex; align-items: baseline; gap: 12px; width: 100%; }

/* dense one-screen tuning: tighter head + widget padding on home */
.home-head { padding-bottom: 0; }
.home-head h1 { font-size: 2rem; margin-top: 0; }
.widget { padding: 12px 16px 14px; }
.widget .tw-row { padding: 6px 0; }

/* one-screen law for the home board: three columns when the width is there,
   so all nine widgets share one viewport without a scrollbar */
@media (min-width: 1200px) {
  .widgets { grid-template-columns: repeat(3, 1fr); gap: 12px; }
}
.home-head { padding-top: 0; }
.home-head h1 { margin: 4px 0 0; }
.home-head p { font-size: 0.875rem; }
.home-wrap { padding-bottom: 24px; }
.widget .w-h { padding-bottom: 6px; margin-bottom: 6px; }
.widget .tw-quiet { padding: 4px 0; }

/* masonry columns: each column flows independently, so one tall widget no
   longer stretches a whole grid row — the board packs into one screen */
.widgets { display: block; columns: 1; column-gap: 12px; }
.widget { break-inside: avoid; margin-bottom: 12px; }
@media (min-width: 900px)  { .widgets { columns: 2; } }
@media (min-width: 1200px) { .widgets { columns: 3; } }

/* final one-screen shave */
.home-head { padding: 4px 24px 0; }
.home-head h1 { font-size: 1.75rem; }
.home-head p { margin-top: 2px; }
.home-wrap { padding-bottom: 8px; padding-top: 8px; }
.widget { margin-bottom: 10px; }

/* ====================================================== dashboard fill
   The home is a control panel: on desktop the nine widgets stretch to fill
   the ENTIRE viewport — equal cells, no voids, the page itself never
   scrolls. A widget taller than its cell scrolls quietly inside. The top
   row (the two raising lists + funnel) gets the extra height. */
@media (min-width: 1200px) {
  body:has(.home-wrap) { height: 100dvh; overflow: hidden;
    display: flex; flex-direction: column; }
  body:has(.home-wrap) .topbar, body:has(.home-wrap) .home-head { flex: none; }
  .home-wrap { flex: 1; min-height: 0; padding-bottom: 12px; }
  .widgets { display: grid; height: 100%; columns: auto;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 1.35fr 1fr 1fr; gap: 10px; }
  .widget { margin-bottom: 0; min-height: 0; overflow-y: auto;
    overscroll-behavior: contain; }
  .widget::-webkit-scrollbar { width: 8px; }
  .widget::-webkit-scrollbar-thumb { background: var(--track); }
}

/* fr rows must be allowed to shrink below content height — otherwise the
   tallest widget silently stretches its whole row past the viewport */
@media (min-width: 1200px) {
  .widgets { grid-template-rows: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 1fr); }
}

/* dashboard cells stretch to their track — the track, not the content,
   owns the height; overflow stays inside the cell */
@media (min-width: 1200px) {
  .widgets { align-items: stretch; }
}

/* ================================================ no-scrollbar dashboard
   Three independent flex columns fill the viewport exactly; spare space is
   distributed to the widgets (flex-grow), so there are no voids. Nothing
   scrolls — a widget that cannot fit folds its tail rows into a quiet
   "+N more" line (app.js fitter). */
.wcol { display: contents; }
@media (min-width: 1200px) {
  .widgets { display: flex; gap: 10px; height: 100%; columns: auto; }
  .wcol { display: flex; flex-direction: column; gap: 10px;
    flex: 1; min-width: 0; min-height: 0; }
  .widget { flex: 1 1 auto; min-height: 0; margin-bottom: 0;
    overflow: hidden; }
}
.w-more { font-family: var(--font-serif); font-style: italic;
  font-size: 0.8125rem; color: var(--ink-3); padding-top: 4px; }

/* an opened round detail earns its room: its widget grows, neighbours fold
   (fitter), and the long prose lines are held to three lines on the board —
   the full text always lives one click away on the source */
@media (min-width: 1200px) {
  .wcol .widget { transition: flex-grow var(--t-slow) var(--ease-spring); }
  .widget .lrx-fit, .widget .lrx-ev {
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
    overflow: hidden; }
}

/* while a detail is open, its column-mates keep only their natural height —
   every spare pixel goes to the reading; long values hold to three lines */
@media (min-width: 1200px) {
  .widget .lrx-cell b { display: -webkit-box; -webkit-line-clamp: 3;
    -webkit-box-orient: vertical; overflow: hidden; }
}

/* open-detail arithmetic: neighbours never squeeze below their natural
   height, and the detail band itself is compact — two-line clamps, tighter
   gaps — so summary + detail always land inside the column's spare space */
@media (min-width: 1200px) {
  .widget .lrx { gap: 6px 16px; padding: 2px 0 8px 36px; }
  .widget .lrx-fit, .widget .lrx-ev, .widget .lrx-cell b { -webkit-line-clamp: 2; }
  .widget .lrx .fr-i { font-size: 0.75rem; padding: 1px 6px; }
}

/* class-driven open state (set by app.js) — same law as the :has rules,
   immune to style-engine invalidation quirks */
@media (min-width: 1200px) {
  .widget.w-open { flex-grow: 7; }
  .wcol.col-open .widget:not(.w-open) { flex-grow: 0; flex-shrink: 0; }
}

/* while a round is open, its column-mates fold to their title line — the
   reading gets the room; everything returns the instant the detail closes */
@media (min-width: 1200px) {
  .wcol.col-open .widget:not(.w-open) > :not(.w-h) { display: none; }
}

/* the dashboard owns the whole screen — no centered column, no side voids;
   wider cells wrap less, so more rows stay unfolded */
.home-wrap { max-width: none; }
@media (min-width: 1200px) {
  .home-wrap { padding-left: 24px; padding-right: 24px; }
  .widgets { gap: 12px; }
  .wcol { gap: 12px; }
}

/* ------------------------------------------------- raising-now banner
   Live state, black frame — a fact strip, not an alarm. Disappears the
   week the round closes or goes stale. */
.raise-strip { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
  border: 0.8px solid #000; padding: 10px 16px; margin-bottom: 8px; }
.rs-k { font-size: 0.6875rem; font-weight: 500; text-transform: uppercase;
  letter-spacing: 0.06em; }
.rs-cell { font-size: 0.875rem; font-weight: 500; font-variant-numeric: tabular-nums; }
.rs-status { font-family: var(--font-serif); font-style: italic; font-weight: 400;
  color: var(--ink-2); }
.rs-inv { font-size: 0.8125rem; color: var(--ink-2); }
.rs-when { font-size: 0.75rem; color: var(--ink-3); }
.raise-ev { font-family: var(--font-serif); font-size: 0.875rem; color: var(--ink-2);
  padding: 0 16px; margin-bottom: 16px; }

/* raising-row logo tiles carry the real mark; monogram stays the fallback */
.lrc .lg img { width: 100%; height: 100%; object-fit: contain; padding: 3px; }
.lrc .lg:not(.initial) { background: var(--paper); }

/* board drag — lifted card, placeholder gap, framed drop column */
.no-select { user-select: none; -webkit-user-select: none; }
.card.dragging { border-color: #000; background: var(--paper); cursor: grabbing; }
.card-ph { border: 0.8px dashed var(--hair); }
.col.drop .col-head { border-bottom-color: #000; }
.col.drop .col-body { background: var(--paper-3); }
.board .card { cursor: grab; }

/* hero link chips — the company's own public doors, one row, quiet */
.hero-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.hl { font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.05em;
  text-transform: uppercase; color: var(--ink-2); text-decoration: none;
  padding: 3px 10px; border: 0.8px solid var(--hair);
  transition: border-color var(--t-fast) var(--ease-out); }
.hl:hover { border-color: #000; color: var(--ink); }

/* founder photos — real faces from published sources, monogram fallback */
.p-avatar.has-img { overflow: hidden; padding: 0; background: var(--paper); }
.p-avatar.has-img img { width: 100%; height: 100%; object-fit: cover; }
