/* Benchmark page only (dark/de/benchmark, dark/en/benchmark). */
.bm-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.bm-tbl { min-width: 860px; font-variant-numeric: tabular-nums; }
.bm-tbl th, .bm-tbl td { padding: 10px 10px; white-space: nowrap; }
.bm-tbl tbody tr:last-child td { border-bottom: 0; }
.bm-tbl .n { text-align: right; }
.bm-tbl td.n, .bm-tbl td.q { color: var(--body); }
.bm-tbl td.q { font-family: var(--mono); font-size: 0.82rem; }
.bm-tbl td.s { display: flex; align-items: center; gap: 12px; min-width: 170px; }
.bm-tbl td.s b { color: var(--text); font-weight: 650; min-width: 3.2ch; text-align: right; }
.bm-bar { flex: 1; height: 10px; border-radius: 5px; background: var(--line); overflow: hidden; }
.bm-bar i { display: block; height: 100%; border-radius: 5px; background: var(--line-2); }
.bm-tbl tr.fit-card .bm-bar i, .bm-tbl tr.fit-ram .bm-bar i { background: var(--acc); }
.bm-tbl tr.fit-tight .bm-bar i { background: var(--amber); }
.bm-tbl tr.fit-no td { opacity: 0.5; }
.bm-fit {
  display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 10px;
  font-family: var(--mono); font-size: 0.7rem; color: var(--acc-bright);
  border: 1px solid rgba(87, 208, 164, 0.35);
}
.bm-tbl tr.fit-card .bm-fit { color: var(--acc-ink); background: var(--acc); border-color: var(--acc); }
.bm-tbl tr.fit-tight .bm-fit { color: var(--amber); border-color: rgba(227, 181, 102, 0.4); }
.bm-tbl tr.fit-no .bm-fit { color: var(--dim); border-color: var(--line-2); }

/* "your computer" selector */
.bm-filter {
  display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px 22px;
  margin-bottom: 18px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel);
}
.bm-filter-h { flex-basis: 100%; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--acc); }
.bm-filter label { display: flex; flex-direction: column; gap: 6px; font-size: 0.85rem; color: var(--body); }
.bm-filter select {
  min-width: 190px; padding: 9px 12px; border-radius: 8px; border: 1px solid var(--line-2);
  background: var(--bg-raise); color: var(--text); font: inherit;
}
.bm-filter select:focus-visible, .bm-filter input:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }
.bm-filter .bm-only { flex-direction: row; align-items: center; gap: 8px; padding-bottom: 9px; }
.bm-filter .bm-only input { accent-color: var(--acc); width: 16px; height: 16px; }
.bm-best { flex-basis: 100%; margin: 0; color: var(--text); font-size: 0.98rem; min-height: 1.5em; }
.bm-h3 { margin: 44px 0 14px; }

/* scope strip under the lead: what is measured, which models, what is left out */
.bm-scope { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 26px 0 0; }
.bm-scope div { padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.bm-scope dt { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--acc); }
.bm-scope dd { margin: 6px 0 0; color: var(--text); font-size: 0.95rem; }
@media (max-width: 760px) { .bm-scope { grid-template-columns: 1fr; } }
