/* Assay design system — warm paper, copper, editorial serif.
   The identity from the design doc, executed as a product.

   The second accent is not decoration: copper oxidises to VERDIGRIS, so the
   teal that marks work-in-progress is the same material aged. Amber is the
   third state (waiting on a human), and the semantic pair stays green/red.
   Four hues, each with a job, so a page reads at a glance instead of being one
   beige field with a single orange button in it. */

:root {
  --bg: #fbf8f2;
  --bg2: #f4efe4;
  --surface: #ffffff;
  --surface-tint: #fffdf9;
  --ink: #201a12;
  --muted: #6f6553;
  --faint: #a2977f;
  --line: #ece2cf;
  --line2: #dcd0b6;

  --copper: #c05a1b;
  --copper-bright: #e0762f;
  --copper-deep: #96430f;
  --copper-soft: #fbe9d8;

  /* copper, aged: work in flight, links, informational state */
  --verdigris: #0e7c72;
  --verdigris-bright: #14a396;
  --verdigris-soft: #ddf2ef;

  /* waiting on a person */
  --amber: #a8620a;
  --amber-soft: #fdf0d7;

  --good: #15803d;
  --good-soft: #e2f4e8;
  --bad: #b42318;
  --bad-soft: #fce9e6;

  --shadow: 0 1px 2px rgba(60, 45, 20, .05), 0 10px 28px -14px rgba(60, 45, 20, .22);
  --shadow-lift: 0 2px 4px rgba(60, 45, 20, .07), 0 18px 40px -18px rgba(60, 45, 20, .32);
  --radius: 14px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #17140f;
    --bg2: #1f1b15;
    --surface: #211d16;
    --surface-tint: #262118;
    --ink: #f3ece0;
    --muted: #a99c86;
    --faint: #7d7160;
    --line: #332c22;
    --line2: #43392c;

    --copper: #e88b45;
    --copper-bright: #f5a463;
    --copper-deep: #c96a2e;
    --copper-soft: #3a2415;

    --verdigris: #4fc7b8;
    --verdigris-bright: #6fdccd;
    --verdigris-soft: #12332f;

    --amber: #e0a54a;
    --amber-soft: #33260f;

    --good: #5cc98a;
    --good-soft: #14301f;
    --bad: #f08b7f;
    --bad-soft: #371915;

    --shadow: 0 1px 2px rgba(0, 0, 0, .5), 0 10px 28px -14px rgba(0, 0, 0, .7);
    --shadow-lift: 0 2px 6px rgba(0, 0, 0, .55), 0 20px 44px -18px rgba(0, 0, 0, .8);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  /* a wash of copper and verdigris at the top, so the page opens with colour
     instead of a flat field */
  background:
    radial-gradient(1100px 340px at 12% -8%, var(--copper-soft) 0%, transparent 70%),
    radial-gradient(900px 300px at 88% -12%, var(--verdigris-soft) 0%, transparent 68%),
    var(--bg);
  background-attachment: fixed;
  color: var(--ink);
  font: 16px/1.62 "Seravek", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  min-height: 100vh;
}
h1 {
  font-family: "Iowan Old Style", Charter, Georgia, serif;
  font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.4rem);
  line-height: 1.15; letter-spacing: -.015em; text-wrap: balance;
  margin: 1.6rem 0 .35rem;
}
h1 + .sub { max-width: 62ch; color: var(--muted); font-size: .97rem; text-wrap: pretty; }
h3 { font-family: "Iowan Old Style", Charter, Georgia, serif; letter-spacing: -.01em; }
.serif { font-family: "Iowan Old Style", "Charter", Georgia, serif; }
.mono { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; }

/* -- shell ------------------------------------------------------------- */
.topbar {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 1.4rem;
  padding: .85rem 2rem;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand {
  font-family: "Iowan Old Style", "Charter", Georgia, serif;
  font-size: 1.35rem; font-weight: 700; color: var(--ink);
  text-decoration: none; letter-spacing: .01em;
}
.brand .spark { color: var(--copper); }
.topbar nav { display: flex; gap: .2rem; }
.topbar nav a {
  color: var(--muted); text-decoration: none; font-size: .9rem; font-weight: 500;
  padding: .38rem .9rem; border-radius: 999px;
}
.topbar nav a:hover { color: var(--ink); background: var(--copper-soft); }
.topbar nav a.active { color: var(--copper); background: var(--copper-soft); font-weight: 700; }
.conn {
  margin-left: auto; font-size: .8rem; color: var(--muted); font-weight: 600;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  padding: .35rem .9rem; cursor: pointer; font-family: inherit;
  box-shadow: 0 1px 2px rgba(60,45,20,.05);
}
.conn:hover { border-color: var(--copper); color: var(--ink); }
.conn .dot { color: var(--faint); }
.conn.ok .dot { color: var(--good); }

main { max-width: 880px; margin: 0 auto; padding: 3rem 1.4rem 7rem; }
main.wide { max-width: 1060px; }

h1 { font-family: "Iowan Old Style", "Charter", Georgia, serif;
     font-size: 2.5rem; font-weight: 700; margin: 0 0 .5rem;
     letter-spacing: -.01em; text-wrap: balance; }
.sub { color: var(--muted); margin: 0 0 2rem; max-width: 58ch; font-size: 1.04rem; }

/* -- cards ------------------------------------------------------------- */
.card {
  position: relative;
  background: linear-gradient(180deg, var(--surface-tint), var(--surface) 42%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.6rem;
  margin: 1rem 0;
  box-shadow: var(--shadow);
  animation: rise .3s ease both;
  overflow: hidden;
}
/* the rail is what makes a wall of cards scannable: it carries the card's STATE,
   so colour means something instead of decorating */
.card::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 3px;
  background: linear-gradient(180deg, var(--copper), var(--copper-bright));
  opacity: 0;
}
.card.accent::before, .card.state-run::before { opacity: 1; }
.card.state-run::before { background: linear-gradient(180deg, var(--verdigris), var(--verdigris-bright)); }
.card.state-wait::before { opacity: 1; background: var(--amber); }
.card.state-ok::before { opacity: 1; background: var(--good); }
.card.state-bad::before { opacity: 1; background: var(--bad); }
.card.hoverable { transition: box-shadow .16s ease, transform .16s ease, border-color .16s ease; }
.card.hoverable:hover {
  box-shadow: var(--shadow-lift); transform: translateY(-2px);
  border-color: var(--line2);
}
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) { .card { animation: none; } }
.card h3 {
  margin: 0 0 .7rem; font-size: .72rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--copper);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
}
.card .why { color: var(--muted); font-size: .86rem; margin-top: .3rem; }
.item { padding: .8rem 0; border-top: 1px solid var(--line); }
.item:first-of-type { border-top: 0; padding-top: .2rem; }
.item b { font-size: 1.02rem; }

/* -- controls ---------------------------------------------------------- */
.btn {
  background: linear-gradient(180deg, var(--copper-bright), var(--copper));
  color: #fff; border: 0; border-radius: 10px;
  padding: .65rem 1.4rem; font: inherit; font-weight: 700; font-size: .92rem;
  cursor: pointer; letter-spacing: .01em;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .28) inset,
              0 3px 10px -2px rgba(176, 90, 36, .45);
  transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
}
.btn:hover { filter: saturate(1.08) brightness(1.04); transform: translateY(-1px);
             box-shadow: 0 1px 0 rgba(255,255,255,.3) inset,
                         0 6px 16px -4px rgba(176, 90, 36, .5); }
.btn:active { transform: translateY(0); box-shadow: 0 1px 4px rgba(176,90,36,.4); }
/* the second action on a page: same weight, aged copper */
.btn.secondary { background: linear-gradient(180deg, var(--verdigris-bright), var(--verdigris));
                 box-shadow: 0 1px 0 rgba(255,255,255,.25) inset,
                             0 3px 10px -2px rgba(14, 124, 114, .45); }
.btn:focus-visible, .ghost:focus-visible, .chip:focus-visible, .conn:focus-visible
  { outline: 2px solid var(--copper); outline-offset: 2px; }
.btn[disabled] { opacity: .45; cursor: default; box-shadow: none; }
.ghost {
  background: var(--surface); color: var(--ink); border: 1px solid var(--line2);
  border-radius: 10px; padding: .55rem 1.1rem; font: inherit; font-size: .87rem;
  font-weight: 600; cursor: pointer;
}
.ghost { transition: border-color .14s ease, color .14s ease, background .14s ease; }
.ghost:hover { border-color: var(--copper); color: var(--copper); background: var(--copper-soft); }
.ghost[disabled] { opacity: .45; cursor: default; }
input[type="text"], textarea, select {
  width: 100%; background: var(--surface); color: var(--ink);
  border: 1px solid var(--line2); border-radius: 12px;
  padding: .9rem 1.1rem; font: inherit;
}
textarea { min-height: 104px; resize: vertical; }
input:focus, textarea:focus, select:focus
  { outline: none; border-color: var(--copper);
    box-shadow: 0 0 0 3px var(--copper-soft); }
::placeholder { color: var(--faint); }

.chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.chip {
  border: 1px solid var(--line2); background: var(--surface); color: var(--muted);
  border-radius: 999px; padding: .32rem .95rem; font-size: .8rem; font-weight: 600;
  cursor: pointer; font-family: inherit;
}
.chip:hover { color: var(--copper); border-color: var(--copper); }
.chip.on { color: #fff; border-color: var(--copper); background: var(--copper); }
.chip.agree { color: var(--good); border-color: var(--good); background: var(--good-soft); }
.chip.disagree { color: var(--bad); border-color: var(--bad); background: var(--bad-soft); }
.tag {
  display: inline-block; border-radius: 999px; padding: .14rem .65rem;
  font-size: .7rem; font-weight: 700;
  font-family: ui-monospace, Menlo, monospace;
  background: var(--copper-soft); color: var(--copper);
}
.tag.dim { background: var(--bg2); color: var(--muted); }
.tag.good { color: var(--good); background: var(--good-soft); }
.tag.bad { color: var(--bad); background: var(--bad-soft); }
.tag.info { color: var(--verdigris); background: var(--verdigris-soft); }
.tag.warn { color: var(--amber); background: var(--amber-soft); }
/* a state dot reads faster than a word at the start of a row */
.dot { width: .5rem; height: .5rem; border-radius: 50%; display: inline-block;
       background: var(--faint); flex: none; }
.dot.run { background: var(--verdigris); box-shadow: 0 0 0 3px var(--verdigris-soft); }
.dot.ok { background: var(--good); box-shadow: 0 0 0 3px var(--good-soft); }
.dot.bad { background: var(--bad); box-shadow: 0 0 0 3px var(--bad-soft); }
.dot.wait { background: var(--amber); box-shadow: 0 0 0 3px var(--amber-soft); }

/* -- data -------------------------------------------------------------- */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
         gap: 1rem; margin: 1.2rem 0; }
.tile { background: var(--surface); border: 1px solid var(--line);
        border-radius: 14px; padding: 1rem 1.2rem; box-shadow: var(--shadow); }
.tile { transition: transform .16s ease, box-shadow .16s ease; }
.tile:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.tile .n { font-size: 2.1rem; font-weight: 700; line-height: 1.05;
           font-family: "Iowan Old Style", Charter, Georgia, serif;
           font-variant-numeric: tabular-nums;
           background: linear-gradient(135deg, var(--copper-deep), var(--copper-bright));
           -webkit-background-clip: text; background-clip: text; color: transparent; }
.tile .l { color: var(--muted); font-size: .74rem; letter-spacing: .08em;
           text-transform: uppercase; font-weight: 600; }
.tablebox { overflow-x: auto; border: 1px solid var(--line);
            border-radius: 12px; margin: .8rem 0; background: var(--surface); }
table { border-collapse: collapse; width: 100%; font-size: .86rem; }
th { text-align: left; color: var(--muted); font-size: .66rem;
     letter-spacing: .1em; text-transform: uppercase;
     font-family: ui-monospace, Menlo, monospace;
     padding: .6rem .95rem; background: var(--bg2);
     border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: .55rem .95rem; border-bottom: 1px solid var(--line);
     font-variant-numeric: tabular-nums; }
tr:last-child td { border-bottom: 0; }
tbody tr:nth-child(even) td { background: color-mix(in srgb, var(--bg2) 45%, transparent); }
tr:hover td { background: var(--copper-soft); }
th { position: sticky; top: 0; z-index: 2; }

.bar { height: 7px; border-radius: 4px; background: var(--bg2);
       overflow: hidden; margin-top: .4rem; }
.bar i { display: block; height: 100%;
         background: linear-gradient(90deg, var(--copper), var(--copper-bright)); }

.status { color: var(--muted); font-size: .88rem; display: flex;
          align-items: center; gap: .55rem; margin: 1rem 0; }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--copper);
         animation: pulse 1.1s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .2; } }

details { margin-top: .6rem; }
summary { cursor: pointer; color: var(--muted); font-size: .82rem; font-weight: 600; }
summary:hover { color: var(--copper); }
pre.sql { background: #2a241a; color: #f0e8d6; border-radius: 10px;
          padding: .8rem 1rem; overflow-x: auto;
          font-size: .8rem; line-height: 1.55; }

/* -- modal ------------------------------------------------------------- */
dialog {
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--line); border-radius: 18px;
  padding: 1.6rem 1.8rem; max-width: 430px; width: 92%;
  box-shadow: 0 24px 60px -12px rgba(60, 45, 20, .35);
}
dialog::backdrop { background: rgba(42, 36, 26, .45); backdrop-filter: blur(2px); }

/* the sticky nav must never eat clicks on scrolled-to controls (prod E2E P3):
   anything scrolled into view clears the bar's height */
* { scroll-margin-top: 4.5rem; }

/* -- leaderboard -------------------------------------------------------- */
/* every score keeps its NUMBER (scannable, sortable, comparable) and gains a
   fill behind it, so a column of near-identical values still reads visually */
th.sortable { cursor: pointer; user-select: none; }
th.sortable:hover { color: var(--copper); }
th.sortable.on { color: var(--copper); }
th.num, td.num { text-align: right; }
td.score { position: relative; font-weight: 600; }
td.score .fill {
  position: absolute; left: 0; top: 0; bottom: 0; opacity: .18; z-index: 0;
}
td.score .v { position: relative; z-index: 1; }
td.score.d .fill { background: var(--copper); }
td.score.s .fill { background: var(--good); }
td.score.t .fill { background: #7a8fb0; }
td.total { font-family: "Iowan Old Style", Charter, Georgia, serif;
           font-size: 1rem; font-weight: 700; text-align: right; }
tr.top1 td.total, tr.top2 td.total, tr.top3 td.total { color: var(--copper); }
td.trend.hot { color: var(--copper); font-weight: 700; }
td .ideaname { font-weight: 600; color: var(--ink); text-decoration: none; }
td .ideaname:hover { color: var(--copper); text-decoration: underline; }
td .gapflag { color: var(--bad); font-size: .7rem; }

.podium { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
          gap: 1rem; margin: 1.2rem 0; }
.podium .p {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  padding: 1rem 1.15rem; box-shadow: var(--shadow); position: relative;
}
.podium .p.first { border-color: var(--copper); }
.podium .p .badge {
  position: absolute; top: -.6rem; left: 1rem; background: var(--copper);
  color: #fff; border-radius: 999px; padding: .1rem .6rem;
  font-size: .68rem; font-weight: 700; letter-spacing: .04em;
}
.podium .p h4 { margin: .5rem 0 .1rem; font-size: .98rem; line-height: 1.3; }
.podium .p h4 a { color: var(--ink); text-decoration: none; }
.podium .p h4 a:hover { color: var(--copper); }
.podium .p .score {
  font-family: "Iowan Old Style", Charter, Georgia, serif;
  font-size: 2rem; font-weight: 700; color: var(--copper); line-height: 1;
}
.podium .p .why { font-size: .78rem; margin-top: .45rem; }

.lbhead { display: grid; grid-template-columns: 2.6rem 1fr 12rem 4.5rem 3.4rem;
          gap: .9rem; padding: .5rem .9rem; border-bottom: 2px solid var(--line);
          font-size: .72rem; text-transform: uppercase; letter-spacing: .06em;
          color: var(--muted); font-weight: 700; }
.lbhead button { background: none; border: 0; padding: 0; font: inherit;
                 color: inherit; cursor: pointer; text-align: inherit; }
.lbhead button:hover { color: var(--copper); }
.lbhead button.on { color: var(--copper); }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
       overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* the compact line carries the same evidence in TEXT — narrow screens must not
   lose the numbers a decision rests on (PR #38 P2) */
td .compact { display: none; }
@media (max-width: 720px) {
  th.num, td.num, td.score, td.total { font-size: .82rem; }
  td .compact { display: block; margin-top: .15rem; }
  /* hidden by FIELD KEY, never by column position: nth-child put values under
     the wrong headings as soon as a group collapsed (PR #38 P1). The compact
     line above keeps the numbers a decision rests on. */
  .f-domain_id, .f-status, .f-submitted_at, .f-sub_domain, .f-author,
  .f-one_liner, .f-blockers, .f-supply_note, .f-tooling_note,
  .f-supply_confidence, .f-time_to_launch, .f-link { display: none; }
}

/* sortable headers are BUTTONS — keyboard reachable, with a visible focus ring
   (they were mouse-only click handlers on <th>, PR #38 P2) */
th.sortable { padding: 0; }
th.sortable > button { background: none; border: 0; font: inherit; color: inherit;
  cursor: pointer; width: 100%; text-align: inherit; padding: .55rem .95rem;
  text-transform: inherit; letter-spacing: inherit; }
th.sortable > button:hover { color: var(--copper); }
th.sortable > button:focus-visible { outline: 2px solid var(--copper); outline-offset: -2px; }
th.sortable.num > button { text-align: right; }
th.sortable.on > button { color: var(--copper); }

/* -- leaderboard: sticky idea column, scrollable field groups ------------- */
.lbscroll { overflow-x: auto; overflow-y: visible; }
.lbscroll table { min-width: max-content; }
/* the idea (rank + name) stays put while every other field scrolls */
.lbscroll th.stick, .lbscroll td.stick {
  position: sticky; background: var(--surface); z-index: 3;
  box-shadow: 1px 0 0 var(--line);
}
.lbscroll th.stick { z-index: 5; background: var(--bg2); }
.lbscroll th.stick-rank, .lbscroll td.stick-rank { left: 0; width: 3rem; }
.lbscroll th.stick-idea, .lbscroll td.stick-idea { left: 3rem; min-width: 17rem; }
.lbscroll tr:hover td.stick { background: var(--copper-soft); }
/* group header row */
.lbscroll tr.groups th {
  border-bottom: 1px solid var(--line); text-align: left; padding: .35rem .95rem;
  background: var(--bg2); font-size: .64rem;
}
.lbscroll tr.groups th.g { cursor: pointer; color: var(--copper); }
.lbscroll tr.groups th.g:hover { text-decoration: underline; }
.lbscroll td.long { max-width: 22rem; white-space: normal; font-size: .8rem;
                    color: var(--muted); }
.lbscroll td.untracked { color: var(--faint); font-style: italic; }
.grouptoggles { display: flex; gap: .4rem; flex-wrap: wrap; padding: .6rem 1rem;
                border-bottom: 1px solid var(--line); align-items: center; }


/* -- work tray: agent work is followable from every page ------------------- */
.topbar .work { display: inline-flex; align-items: center; gap: .35rem; margin-left: auto;
  background: var(--copper-soft); color: var(--copper); border: 1px solid var(--line);
  border-radius: 999px; padding: .2rem .6rem; font-size: .78rem; cursor: pointer; }
.topbar .work + .conn { margin-left: .5rem; }
.topbar .work .spin { display: inline-block; animation: workspin 1.6s linear infinite; }
@keyframes workspin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .topbar .work .spin { animation: none; } }
.worklist { position: absolute; top: 100%; right: 5.5rem; z-index: 20; min-width: 22rem;
  max-width: 30rem; background: var(--surface); border: 1px solid var(--line);
  border-radius: .5rem; box-shadow: 0 10px 30px rgba(0,0,0,.18); padding: .3rem 0; }
.worklist .workitem { display: block; padding: .45rem .6rem; text-decoration: none;
  color: inherit; border-bottom: 1px solid var(--line); }
.worklist .workitem:last-of-type { border-bottom: 0; }
.worklist .workitem:hover { background: var(--copper-soft); }
.worklist .workitem b { font-weight: 600; font-size: .85rem; }
.worklist .workitem .why { display: block; margin-top: .1rem; }


/* -- the sample loop ------------------------------------------------------
   A lane is a pipeline, so it should look like one: a rail down the left, a
   state dot per stage, and colour that means what it says (verdigris = running,
   green = done, amber = waiting on a person, red = refused). */
/* NAMESPACED. `.lane` was already a section wrapper on the idea page, and a
   generic grid here turned its <h2> into a 1.3rem column — the heading wrapped
   one letter per line and overlapped the prose beside it. A shared component
   gets a prefix; the page keeps its own names. */
.steprow {
  display: grid; grid-template-columns: 1.3rem 7.2rem 1fr auto;
  gap: .35rem .7rem; align-items: baseline;
  padding: .3rem 0; font-size: .88rem; position: relative;
}
.steprow + .steprow { border-top: 1px dashed var(--line); }
.steprow .st {
  font-family: ui-monospace, Menlo, monospace;
  font-size: .7rem; letter-spacing: .09em; text-transform: uppercase;
  color: var(--faint);
}
.steprow.done .st { color: var(--good); }
.steprow.refused .st { color: var(--bad); }
.steprow.next .st { color: var(--copper); }
.steprow.next { background: linear-gradient(90deg, var(--copper-soft), transparent 60%);
                border-radius: 8px; }
.steprow .v { color: var(--ink); }
.steprow .why, .steprow .v .why { color: var(--muted); }

/* the idea a sample is built FROM: the thing you pick, so it must invite a click */
.pick {
  display: grid; gap: .4rem; padding: .85rem 1rem; border-radius: 12px;
  border: 1px solid var(--line); background: var(--surface);
  margin-top: .7rem; transition: border-color .15s ease, box-shadow .15s ease,
                                transform .15s ease;
}
.pick:hover { border-color: var(--copper); box-shadow: var(--shadow); transform: translateY(-1px); }
.pick.blocked { background: var(--bg2); border-style: dashed; }
.pick.blocked:hover { transform: none; border-color: var(--line2); box-shadow: none; }
.pick .head { display: flex; gap: .5rem; align-items: baseline; flex-wrap: wrap; }
.pick .head b { font-size: 1rem; }
.pick .meta { font-size: .78rem; color: var(--muted);
              font-family: ui-monospace, Menlo, monospace; }

/* the gate table earns colour: five verdicts read as five verdicts */
table.gate td:first-child { font-weight: 700; font-family: ui-monospace, Menlo, monospace; }
.verdict { display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; }

/* an empty state should say what to do, not sit blank */
.empty { padding: 1.6rem; text-align: center; color: var(--muted);
         border: 1px dashed var(--line2); border-radius: var(--radius);
         background: var(--bg2); }
.empty b { display: block; color: var(--ink); font-size: 1rem; margin-bottom: .3rem;
           font-family: "Iowan Old Style", Charter, Georgia, serif; }

@media (prefers-reduced-motion: reduce) {
  .card, .card.hoverable:hover, .tile:hover, .btn:hover, .pick:hover
    { animation: none; transition: none; transform: none; }
}
