/*
 * v4's stylesheet.
 *
 * DENSITY IS A TOKEN, NOT A LITERAL. Richard prefers the current root board's
 * feel, so every value below was measured off v2 running against real data
 * rather than guessed: 15px/1.55 base, rows at 9px 13px, 14px titles, 10px
 * uppercase chips. v2's own stylesheet is a flat file of hard-coded pixels that
 * happens to land somewhere good; these are the same numbers with a dial on
 * them, so "a touch tighter" is one edit here and not forty edits everywhere.
 *
 * The one deliberate divergence: tap targets. v2's rows are 15px tall inside
 * 9px padding, which is fine with a mouse and cramped with a thumb. The phone
 * gets more vertical padding without changing the type scale — same density of
 * information, enough room to hit a row.
 */

:root {
  /* ---- density, measured off v2 ---- */
  --font-base: 15px;
  --line-base: 1.55;
  --row-pad-y: 9px;
  --row-pad-x: 13px;
  --row-gap: 9px;
  --title-size: 14px;
  --chip-size: 10px;
  --meta-size: 12.5px;
  --wrap-max: 980px;

  /* ---- ink and ground ---- */
  --bg: #0f1116;
  --card: #161a22;
  --raise: #1c212b;
  --line: #252b37;
  --line2: #333b4a;
  --ink: #e8ecf3;
  --dim: #98a2b3;
  --faint: #6b7688;
  --brand: #ff6a3d;

  /* ---- the six states ---- */
  --s-new: #7f8aa0;
  --s-ready: #3d8bd6;
  --s-in-dev: #ff8a4c;
  --s-built: #2bb673;
  --s-live: #8b6ef0;
  --s-held: #d99000;
  --s-unclassified: #ff4d6d;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--ink);
  font: var(--font-base) / var(--line-base) system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button, input { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
a { color: var(--brand); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
.hidden { display: none !important; }

/* ---- sign in ------------------------------------------------------------ */
.signin { min-height: 100vh; display: grid; place-items: center; padding: 20px; }
.signin form {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 28px; display: flex; flex-direction: column; gap: 12px; min-width: 300px;
}
.signin h1 { font-size: 20px; margin-bottom: 4px; }
.signin input {
  background: var(--bg); border: 1px solid var(--line2); border-radius: 7px;
  padding: 10px 12px; width: 100%;
}
.signin button {
  background: var(--raise); border: 1px solid var(--line2); border-radius: 7px;
  padding: 9px 15px; font-weight: 700;
}
.err { color: #ff8a90; font-size: 13px; min-height: 18px; }

/* ---- header ------------------------------------------------------------- */
.top {
  position: sticky; top: 0; z-index: 20; background: var(--bg);
  border-bottom: 1px solid var(--line);
  padding: 7px clamp(14px, 4vw, 40px) 0;
}
.top-util {
  display: flex; align-items: center; gap: 8px;
  padding-bottom: 7px; border-bottom: 1px solid var(--line);
}
.brand {
  font-size: 11px; font-weight: 800; letter-spacing: .12em;
  color: var(--faint); flex: none;
}
.search-wrap { position: relative; flex: 1; min-width: 0; max-width: 380px; }
.search {
  width: 100%; padding: 5px 11px; font-size: var(--meta-size); border-radius: 999px;
  background: var(--card); border: 1px solid var(--line2); color: var(--ink);
}
.sr {
  position: absolute; top: calc(100% + 5px); left: 0; right: 0; z-index: 30;
  background: var(--card); border: 1px solid var(--line2); border-radius: 9px;
  box-shadow: 0 12px 32px rgba(0,0,0,.55); padding: 6px; max-height: 60vh; overflow: auto;
}
.sr-item {
  display: flex; gap: 8px; align-items: baseline; width: 100%; text-align: left;
  padding: 7px 9px; border-radius: 6px;
}
.sr-item:hover, .sr-item:focus-visible { background: var(--raise); }
.sr-id { color: var(--brand); font-weight: 800; font-size: 12px; flex: none; }
.sr-title { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sr-board { color: var(--faint); font-size: 11px; margin-left: auto; flex: none; }
.sr-empty { padding: 8px; color: var(--dim); font-size: var(--meta-size); }

.needsyou, .ghost {
  font-size: 12px; padding: 4px 11px; border-radius: 999px;
  border: 1px solid var(--line2); color: var(--dim); flex: none;
}
.needsyou { border-color: var(--brand); color: var(--brand); font-weight: 700; }

/* board tabs */
.boards { display: flex; gap: 7px; overflow-x: auto; padding: 8px 0; scrollbar-width: thin; }
.board-tab {
  display: flex; align-items: center; gap: 6px; flex: none;
  padding: 6px 13px; border-radius: 999px; border: 1px solid var(--line2);
  color: var(--dim); font-size: 13px; font-weight: 700; white-space: nowrap;
}
.board-tab[aria-current="true"] { background: var(--brand); border-color: var(--brand); color: #1a0d07; }
.board-tab .n {
  font-size: var(--chip-size); background: rgba(255,255,255,.14);
  padding: 1px 6px; border-radius: 999px; font-weight: 800;
}
.board-tab[aria-current="true"] .n { background: rgba(0,0,0,.22); }

/* ---- page --------------------------------------------------------------- */
.wrap { max-width: var(--wrap-max); margin: 0 auto; padding: 22px clamp(14px, 4vw, 40px) 80px; }
h1 { font-size: 24px; font-weight: 800; }
h1 span { color: var(--brand); }
.sub { color: var(--dim); font-size: 13.5px; margin: 6px 0 16px; }

.views { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.pill {
  padding: 6px 13px; border-radius: 999px; border: 1px solid var(--line2);
  color: var(--dim); font-size: 13px; font-weight: 700;
}
.pill[aria-pressed="true"] { background: var(--raise); color: var(--ink); border-color: var(--line2); }
.pill .n {
  margin-left: 6px; font-size: var(--chip-size); background: rgba(255,255,255,.14);
  padding: 1px 6px; border-radius: 999px;
}

/* legend + owner chips, both filters */
.legend {
  background: var(--card); border: 1px solid var(--line); border-radius: 10px;
  padding: 11px 13px; display: flex; flex-direction: column; gap: 9px; margin-bottom: 16px;
}
.legend-row { display: flex; gap: 6px; flex-wrap: wrap; }
.lg {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 4px 9px; border-radius: 999px; border: 1px solid transparent;
  color: var(--dim); font-size: var(--meta-size);
}
.lg:hover { border-color: var(--line2); }
.lg[aria-pressed="true"] { border-color: var(--brand); color: var(--ink); background: var(--raise); }
.lg .n { font-weight: 800; font-size: 12px; color: var(--ink); font-variant-numeric: tabular-nums; }
.owner-chip { font-size: 11px; font-weight: 800; letter-spacing: .04em; }

.dot { width: 9px; height: 9px; border-radius: 50%; flex: none; display: inline-block; }
.dot.new { background: var(--s-new); }
.dot.ready { background: var(--s-ready); }
.dot.in-dev { background: var(--s-in-dev); }
.dot.built-and-tested { background: var(--s-built); }
.dot.live { background: var(--s-live); }
.dot.held { background: var(--s-held); }
.dot.unclassified { background: var(--s-unclassified); }
.dot.rejected { background: var(--faint); }

.filterbar {
  display: flex; align-items: center; gap: 9px; margin-bottom: 12px;
  font-size: var(--meta-size); color: var(--dim);
}
.clearfilter {
  border: 1px solid var(--line2); border-radius: 999px; padding: 3px 10px;
  font-size: 12px; color: var(--ink);
}

/* ---- rows --------------------------------------------------------------- */
.list { display: flex; flex-direction: column; gap: 5px; }
.group { margin-bottom: 18px; }
.group-head {
  display: flex; align-items: baseline; gap: 9px; margin: 0 0 8px;
  font-size: var(--meta-size); color: var(--dim); font-weight: 700;
}
.group-head .n { color: var(--faint); font-weight: 400; }

.item { background: var(--card); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.item.state-live { border-left: 3px solid var(--s-live); }
.item.state-built-and-tested { border-left: 3px solid var(--s-built); }
.item.state-in-dev { border-left: 3px solid var(--s-in-dev); }
.item.state-ready { border-left: 3px solid var(--s-ready); }
.item.state-held { border-left: 3px solid var(--s-held); }
.item.state-new { border-left: 3px solid var(--s-new); }
.item.state-unclassified { border-left: 3px solid var(--s-unclassified); }

.row {
  display: flex; align-items: center; gap: var(--row-gap);
  padding: var(--row-pad-y) var(--row-pad-x); width: 100%; text-align: left;
  /* Nothing on a row is allowed to push another element out of it. */
  overflow: hidden;
}
.row:hover { background: var(--raise); }
.row .id { color: var(--faint); font-size: 12px; font-weight: 700; flex: none; font-variant-numeric: tabular-nums; }
/* The title wins the row. It gets the flexible space and a floor below which
   nothing may squeeze it — a row that shows an explanation but not the ticket
   it explains is worse than one that shows nothing. */
.row .ttl {
  font-size: var(--title-size); font-weight: 600;
  flex: 1 1 auto; min-width: 9rem;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
/* The reason is secondary: it yields first and never grows. */
.row .state-text {
  font-size: 12px; color: var(--dim);
  flex: 0 1 auto; min-width: 0; max-width: 38%;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: right;
}
.tag, .badge {
  font-size: var(--chip-size); font-weight: 800; text-transform: uppercase;
  letter-spacing: .05em; padding: 2px 7px; border-radius: 999px; flex: none;
}
.tag { background: rgba(41,171,226,.15); color: #6fc9f2; }
.badge { background: var(--raise); color: var(--dim); border: 1px solid var(--line2); }
.livenow { background: rgba(43,182,115,.16); color: var(--s-built); }

.body { padding: 2px 14px 13px 30px; display: flex; flex-direction: column; gap: 9px; }
.desc { white-space: pre-wrap; color: var(--dim); font-size: 14px; }
.kv { font-size: var(--meta-size); color: var(--dim); }
.kv b { color: var(--ink); font-weight: 600; }

.empty {
  border: 1px dashed var(--line2); border-radius: 10px; padding: 22px;
  text-align: center; color: var(--dim);
}
.empty b { color: var(--ink); }

/* ---- phone -------------------------------------------------------------- */
@media (max-width: 620px) {
  :root {
    /* Same type scale, more room for a thumb. Density is about information per
       screen, not about how hard a row is to hit. */
    --row-pad-y: 12px;
    --row-gap: 7px;
    --row-pad-x: 11px;
  }
  .wrap { padding-top: 16px; }

  /* The reason yields entirely — there is not room for the title AND an
     explanation of it, and the title is the thing you are looking for. */
  .row .state-text { display: none; }

  /* The tag goes too, for the same reason. "Who is holding this" is the one
     thing a glance down a phone list has to answer, so the owner chip stays;
     the tag is one tap away in the expanded row and is a filter chip above. */
  .row .tag { display: none; }
  .row .ttl { min-width: 6rem; }

  /* Search gets its own line rather than being crushed to four characters
     between the brand and two buttons. */
  .top-util { flex-wrap: wrap; }
  .search-wrap { order: 3; flex-basis: 100%; max-width: none; margin-bottom: 2px; }
  .needsyou { margin-left: auto; }
}

@media (prefers-reduced-motion: no-preference) {
  .row, .lg, .pill, .board-tab { transition: background-color .12s ease, border-color .12s ease; }
}

/* ---- kanban -------------------------------------------------------------- */
/*
 * Six columns, always. The board is wider than the reading column the list view
 * uses, so it breaks out of --wrap-max and scrolls sideways INSIDE ITSELF —
 * the page body never scrolls horizontally.
 */
/* The list view reads best in a narrow column; a Kanban needs the window. */
body[data-layout="kanban"] .wrap { max-width: 1680px; }

.kanban {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(210px, 1fr);
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 12px;
  scrollbar-width: thin;
}
.kcol {
  background: var(--card); border: 1px solid var(--line); border-radius: 10px;
  padding: 10px; display: flex; flex-direction: column; gap: 8px; min-width: 0;
}
.kcol-head {
  display: flex; align-items: center; gap: 7px;
  font-size: var(--meta-size); font-weight: 700; color: var(--dim);
}
.kcol-head .n {
  margin-left: auto; font-size: 12px; font-weight: 800; color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.klist { display: flex; flex-direction: column; gap: 6px; }
.kempty { font-size: 12px; color: var(--faint); font-style: italic; padding: 4px 2px; }

.kcard {
  background: var(--raise); border: 1px solid var(--line2); border-radius: 7px;
  padding: 8px 9px; display: flex; flex-direction: column; gap: 5px;
}
.kcard-top { display: flex; align-items: center; gap: 7px; }
.kcard-top .id { color: var(--faint); font-size: 11px; font-weight: 700; }
.kcard-top .badge { margin-left: auto; }
.kcard-title {
  font-size: 13px; line-height: 1.35; font-weight: 600;
  /* Three lines, then stop. A card that grows with its title turns one long
     ticket into a column nobody can scan past. */
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
  overflow: hidden;
}
.kcard .tag { align-self: flex-start; }

/* The column tint is the state's own colour, so the six columns are
   recognisable at a glance without reading a single heading. */
.k-new { border-top: 2px solid var(--s-new); }
.k-ready { border-top: 2px solid var(--s-ready); }
.k-in-dev { border-top: 2px solid var(--s-in-dev); }
.k-built-and-tested { border-top: 2px solid var(--s-built); }
.k-live { border-top: 2px solid var(--s-live); }
.k-held { border-top: 2px solid var(--s-held); }

@media (max-width: 620px) {
  /* On a phone the columns stay columns and you swipe — stacking them would
     just be the list view with extra headings. */
  .kanban { grid-auto-columns: minmax(78vw, 78vw); }
}

/* ---- the ticket overlay -------------------------------------------------- */
/*
 * A modal, the way the old board did it. Clicking a search result used to
 * expand the row in the list, which on a long board scrolled somewhere off
 * screen and looked like nothing had happened.
 */
.overlay {
  position: fixed; inset: 0; z-index: 60;
  background: rgba(6, 8, 12, .72);
  display: flex; align-items: flex-start; justify-content: center;
  padding: clamp(12px, 5vh, 64px) 14px;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.sheet {
  background: var(--card); border: 1px solid var(--line2); border-radius: 12px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, .6);
  width: min(760px, 100%);
  padding: 16px 18px 20px;
  display: flex; flex-direction: column; gap: 10px;
}
.sheet-head { display: flex; align-items: center; gap: 9px; }
.sheet-head .id { color: var(--faint); font-size: 12px; font-weight: 700; }
.sheet-state { font-size: var(--meta-size); color: var(--ink); font-weight: 600; }
.sheet-board { font-size: 12px; color: var(--faint); }
.sheet-close {
  margin-left: auto; font-size: 16px; line-height: 1; color: var(--dim);
  border: 1px solid var(--line2); border-radius: 8px; padding: 5px 10px;
}
.sheet-close:hover { color: var(--ink); border-color: var(--brand); }
.sheet-title { font-size: 19px; font-weight: 700; line-height: 1.3; }
.sheet-reason { font-size: var(--meta-size); color: var(--dim); }
.sheet-body { display: flex; flex-direction: column; gap: 9px; }
.sheet-h {
  font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: var(--faint); margin-top: 6px;
}
.sheet-body .desc { white-space: pre-wrap; font-size: 14px; color: var(--ink); }
.upd {
  border-left: 3px solid var(--line2); border-radius: 0 8px 8px 0;
  background: rgba(127, 127, 127, .06);
  padding: 8px 11px; font-size: 13px; line-height: 1.5; white-space: pre-wrap;
}
.upd-meta { font-size: 11px; color: var(--faint); margin-bottom: 3px; white-space: normal; }

@media (max-width: 620px) {
  /* On a phone the sheet is the screen. Anything less is a dialog you fight. */
  .overlay { padding: 0; }
  .sheet { border-radius: 0; min-height: 100vh; width: 100%; }
}

/* ---- owner actions ------------------------------------------------------- */
/*
 * The board's whole job for its owner is approving, rejecting and answering.
 * These controls were missing entirely until 2026-08-21 — the API had every
 * verb and the page offered no way to reach one.
 */
.actions { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; margin-top: 4px; }
.act {
  font-size: 13px; font-weight: 700; padding: 7px 13px; border-radius: 7px;
  border: 1px solid var(--line2); background: var(--raise); color: var(--ink);
}
.act:hover { border-color: var(--brand); }
.act[disabled] { opacity: .5; cursor: default; }
.act-approve { border-color: var(--s-built); color: var(--s-built); }
.act-reject { border-color: #ff7b6e; color: #ff7b6e; }
.act-live { border-color: var(--s-live); color: var(--s-live); }
.act-hint { font-size: 12px; color: var(--faint); flex-basis: 100%; }

/*
 * Controls sitting directly on a row, for the tickets waiting on him.
 * Indented to the title so they read as belonging to that ticket rather than
 * floating between two of them, and given room above so a wall of rows does
 * not turn into a wall of buttons.
 */
.item > .actions { padding: 2px 14px 12px 46px; margin-top: -4px; }
.item > .actions .act-hint { display: none; }
.item > .actions .answer-box { flex-basis: 100%; max-width: 620px; }
.act-answer { border-color: var(--s-held); color: var(--s-held); }

.answer-box { display: flex; flex-direction: column; gap: 7px; margin-top: 8px; width: 100%; }
.answer-box textarea {
  width: 100%; min-height: 84px; resize: vertical;
  background: var(--bg); color: var(--ink);
  border: 1px solid var(--line2); border-radius: 8px; padding: 9px 11px;
  font: inherit; font-size: 14px; line-height: 1.5;
}
.answer-box textarea:focus { border-color: var(--brand); outline: none; }
.answer-row { display: flex; gap: 8px; align-items: center; }

/* ---- toasts -------------------------------------------------------------- */
.toasts {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: 18px; z-index: 80;
  display: flex; flex-direction: column; gap: 8px; width: min(620px, calc(100vw - 24px));
}
.toast {
  background: var(--card); border: 1px solid var(--line2); border-left-width: 3px;
  border-radius: 8px; padding: 11px 14px; font-size: 13.5px; line-height: 1.5;
  box-shadow: 0 12px 32px rgba(0,0,0,.5); color: var(--ink);
}
.toast.ok { border-left-color: var(--s-built); }
/* A refusal is not an error to be dismissed — it is the gate explaining itself,
   so it is readable prose and it stays until it is dismissed. */
.toast.refused { border-left-color: var(--s-held); }
.toast.failed { border-left-color: #ff7b6e; }
.toast b { display: block; margin-bottom: 3px; }
.toast button { float: right; color: var(--faint); font-size: 15px; margin-left: 10px; }

/* ---- the board picker ---------------------------------------------------- */
/*
 * A hundred projects will not fit a one-click row even with no mistakes at all,
 * so the row carries the boards that need you and this holds everything.
 */
.board-more { border-style: dashed; }
.picker {
  position: absolute; z-index: 40; margin-top: 4px;
  width: min(420px, calc(100vw - 28px));
  background: var(--card); border: 1px solid var(--line2); border-radius: 10px;
  box-shadow: 0 16px 40px rgba(0,0,0,.55);
  padding: 8px; display: flex; flex-direction: column; gap: 7px;
}
.picker-list { display: flex; flex-direction: column; gap: 2px; max-height: 52vh; overflow: auto; }
.picker-item {
  display: flex; align-items: center; gap: 9px; width: 100%; text-align: left;
  padding: 8px 10px; border-radius: 7px; color: var(--dim); font-size: 13.5px;
}
.picker-item:hover, .picker-item:focus-visible { background: var(--raise); color: var(--ink); }
.picker-item[aria-current="true"] { color: var(--ink); border-left: 3px solid var(--brand); }
.picker-name { font-weight: 700; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.picker-meta { font-size: 11.5px; color: var(--faint); flex: none; }

/* ---- retiring a board ---------------------------------------------------- */
/*
 * At the bottom of the page, behind a typed reason. Approving a ticket and
 * removing a whole board should not be adjacent clicks.
 */
.board-admin {
  margin-top: 34px; padding-top: 16px; border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 10px; align-items: flex-start;
}
.board-admin .answer-box { max-width: 520px; }
.retired-note {
  width: 100%; font-size: 13.5px; line-height: 1.5; color: var(--ink);
  background: rgba(217, 144, 0, .10); border: 1px solid var(--s-held);
  border-radius: 8px; padding: 11px 13px;
}
.retired-note b { color: var(--s-held); }

/*
 * Delete looks different from everything else on the page, on purpose. It is the
 * only control here that destroys anything, and a destructive verb that is
 * visually indistinguishable from Retire is one that gets clicked by muscle
 * memory. Red outline only, never a filled red button — filled reads as the
 * primary action, and this is never the primary action.
 */
.reason-control { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.reason-control .answer-box { max-width: 520px; }
button.danger { border-color: #ff7b6e; color: #ff7b6e; }
button.danger:hover:not([disabled]) { border-color: #ff5a4a; color: #ff5a4a; }
button.danger[disabled] { opacity: .45; }

/*
 * And when it is NOT possible, the page says so in one quiet line instead of
 * hiding the idea entirely. Somebody who came looking for a delete button needs
 * to learn why there isn't one, and what to use instead.
 */
.cannot-delete {
  max-width: 640px; font-size: 13px; line-height: 1.55; color: var(--faint);
}
.cannot-delete b { color: var(--ink); }
.sheet-body .cannot-delete { margin-top: 14px; }
.picker-sep {
  font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: var(--faint); padding: 10px 10px 4px;
  border-top: 1px solid var(--line); margin-top: 4px;
}
.picker-item.retired .picker-name { color: var(--faint); font-weight: 600; }
.picker-item.retired .picker-meta { color: var(--s-held); }

/*
 * THE BATON TRAIL.
 *
 * Failures are styled to be findable at a glance, not to be tasteful. A stuck
 * ticket is read for one reason — to find the hop that did not complete — and
 * a trail where success and failure look similar makes the reader do the work
 * the page should have done.
 */
.baton { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.baton-now { font-size: 14px; line-height: 1.6; color: var(--ink); }
.baton-stuck {
  margin-left: 8px; font-weight: 800; font-size: 12px; color: #ff7b6e;
  border: 1px solid #ff7b6e; border-radius: 999px; padding: 1px 8px;
}
.baton-drift, .baton-note {
  font-size: 12.5px; line-height: 1.5; color: var(--faint); margin-top: 6px; max-width: 640px;
}
.baton-drift { color: var(--s-held); }

.baton-trail { list-style: none; margin: 12px 0 0; padding: 0; }
.hop {
  display: grid;
  grid-template-columns: 16px minmax(150px, auto) auto auto;
  gap: 4px 12px; align-items: baseline;
  padding: 7px 0; border-top: 1px solid var(--line);
  font-size: 13px;
}
.hop-mark { color: var(--s-built); }
.hop.bad .hop-mark { color: #ff7b6e; }
.hop-move { font-weight: 700; color: var(--ink); }
.hop-verb { color: var(--faint); font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px; }
.hop-at { color: var(--faint); font-size: 12px; }
.hop-fail {
  grid-column: 2 / -1; font-weight: 800; font-size: 11px; letter-spacing: .06em; color: #ff7b6e;
}
.hop-why { grid-column: 2 / -1; color: var(--faint); line-height: 1.5; }
.hop.bad .hop-why { color: #ffb3aa; }
.hop-ref {
  grid-column: 2 / -1; font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 11.5px; color: var(--faint);
}
