/* DecisionBench, the ten tasks (docs/decisionbench-tasks.html). Wireframe
   scratchpad/design/wireframes/decisionbench-layers-2026-11-15.md (read 1 PASS). Library records yc-marengo-table and
   yc-inventoryquant-table (plain comparison rows, header set apart by weight and a rule), jtd-table-scroll-shadow (faint
   row lines), docsy-responsive-table-extend (avoided: on a phone the row becomes stacked lines, not a scrolled table).
   One cue only: a light tint on a cell where that model missed a check, always beside its text. Page tokens only. */
.rb { margin: 8px 0 24px; }
.rb-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 16px; }
.rb-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.rb-chip { min-height: 36px; padding: 6px 14px; border: 1px solid var(--border); border-radius: 999px; background: var(--panel);
  color: var(--soft); font: inherit; font-size: 14px; line-height: 20px; cursor: pointer; }
.rb-chip[aria-pressed="true"] { background: var(--accent-soft); border-color: transparent; color: var(--accent-text); font-weight: 600; }
.rb-diff { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; font-size: 14px; line-height: 20px; color: var(--text); cursor: pointer; }
.rb-diff input { width: 18px; height: 18px; margin: 0; accent-color: var(--accent); }
.rb-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--text); }
.rb-list li { border-bottom: 1px solid var(--border); }
.rb-row { display: grid; grid-template-columns: minmax(0, 1fr) 96px repeat(3, 116px) 24px; align-items: center; gap: 8px; width: 100%;
  min-height: 48px; padding: 10px 4px; border: 0; background: none; color: var(--text); font: inherit; font-size: 15px;
  line-height: 22px; text-align: left; cursor: pointer; }
.rb-row:hover { background: var(--alt); }
.rb-row[aria-expanded="true"] { background: var(--alt); }
.rb-head { cursor: default; min-height: 0; padding: 0 4px 8px; font-size: 13px; line-height: 18px; font-weight: 600; color: var(--soft); }
.rb-head:hover { background: none; }
.rb-row .rb-k { color: var(--soft); font-size: 14px; }
.rb-row .rb-m { font-variant-numeric: tabular-nums; padding: 2px 8px; border-radius: 6px; justify-self: start; }
.rb-row .rb-m.rb-miss { background: color-mix(in srgb, var(--red) 12%, transparent); }
.rb-row .rb-m.rb-nr { color: var(--faint); padding-left: 8px; }
.rb-head .rb-m { padding: 0 8px; }
.rb-row .rb-c { position: relative; color: var(--faint); text-align: center; }
.rb-row[aria-expanded="true"] .rb-c { transform: rotate(180deg); }
.rb-slot { padding: 4px 4px 20px; }
.rb-open p { margin: 8px 0; font-size: 15px; line-height: 22px; color: var(--text); }
.rb-open p b { font-weight: 600; }
table.rb-checks, table.rb-runs { width: 100%; border-collapse: collapse; margin: 12px 0 8px; font-size: 14px; line-height: 20px; }
table.rb-checks th, table.rb-checks td, table.rb-runs th, table.rb-runs td { text-align: left; padding: 8px 12px 8px 0; border-bottom: 1px solid var(--border); vertical-align: top; }
table.rb-checks thead th, table.rb-runs thead th { font-size: 13px; font-weight: 600; color: var(--soft); }
table.rb-checks tbody th { font-weight: 400; color: var(--text); }
table.rb-checks td { color: var(--text); }
table.rb-checks td.rb-miss { background: color-mix(in srgb, var(--red) 12%, transparent); }
table.rb-runs td { font-variant-numeric: tabular-nums; color: var(--text); }
.rb-cost { font-size: 14px !important; color: var(--soft) !important; }
.rb-fold summary { cursor: pointer; font-size: 14px; line-height: 44px; color: var(--accent-text); }
.rb-note { font-size: 13px !important; color: var(--soft) !important; }
.rb-empty { margin: 16px 0; color: var(--soft); }
@media (max-width: 899px) {
  .rb-head { display: none; }
  /* A phone row: the title and the chevron, the kind, then the models that ran on one line ("Qwen3 4 of 4  Claude 4 of 4"). */
  .rb-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 12px 4px; }
  .rb-row .rb-t { flex: 1 1 calc(100% - 40px); font-weight: 600; }
  .rb-row .rb-c { flex: none; }
  .rb-row .rb-k { flex: 1 1 100%; font-size: 14px; margin-top: -2px; }
  .rb-row .rb-m { flex: none; font-size: 15px; padding: 2px 8px; margin-left: -8px; }
  .rb-row .rb-m.rb-nr { display: none; }
  .rb-row .rb-m::before { content: attr(data-s) " "; color: var(--soft); }
  table.rb-checks thead, table.rb-runs thead { display: none; }
  table.rb-checks, table.rb-checks tbody, table.rb-checks tr, table.rb-runs, table.rb-runs tbody, table.rb-runs tr { display: block; }
  table.rb-checks tr, table.rb-runs tr { padding: 8px 0; border-bottom: 1px solid var(--border); }
  table.rb-checks th, table.rb-checks td, table.rb-runs th, table.rb-runs td { display: block; border: 0; padding: 2px 0; font-size: 15px; line-height: 22px; }
  table.rb-checks tbody th, table.rb-runs tbody th { font-weight: 600; }
  table.rb-checks td::before, table.rb-runs td::before { content: attr(data-l) ": "; color: var(--soft); }
  table.rb-checks td.rb-miss { display: inline-block; padding: 2px 8px; margin: 2px 0 2px -8px; border-radius: 6px; }
  .rb-open p { font-size: 16px; line-height: 24px; }
}
/* What each model wrote: two columns on a laptop, stacked on a phone; each answer scrolls inside its own box. */
.rb-out-grid { display: grid; grid-template-columns: 1fr; gap: 12px; margin: 8px 0; }
@media (min-width: 900px) { .rb-out-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.rb-out-h { margin: 0 0 6px !important; font-size: 14px !important; font-weight: 600; color: var(--text) !important; }
.rb-out-text { margin: 0; max-height: 420px; overflow: auto; padding: 12px; border: 1px solid var(--border); border-radius: 8px;
  background: var(--alt); color: var(--text); font: 14px/21px var(--mono); white-space: pre-wrap; overflow-wrap: anywhere; }
