/* /benchmark: open models behind the same gate (GATE-BENCH-01). Builds on lab_updates.css and news.css tokens. */
.bm-status{ margin-top:22px; font-size:15px; color:var(--ink-soft); }
.bm-status strong{ color:var(--ink); font-weight:600; }
.bm-scroll{ overflow-x:auto; margin-top:8px; border:1px solid var(--line); border-radius:14px; background:var(--card); box-shadow:var(--shadow); }
.bm-table{ width:100%; min-width:880px; border-collapse:collapse; font-size:15px; color:var(--ink); }
.bm-table th{ text-align:left; vertical-align:bottom; padding:14px 16px; font-size:12.5px; font-weight:700; letter-spacing:.04em; text-transform:uppercase; color:var(--ink-dim); border-bottom:2px solid var(--ink); }
.bm-table td{ padding:14px 16px; vertical-align:top; border-bottom:1px solid var(--mz-sep); }
.bm-table tbody tr:last-child td{ border-bottom:0; }
.bm-table small{ display:block; margin-top:4px; font-size:12.5px; color:var(--ink-dim); line-height:1.35; }
.bm-model{ font-weight:600; min-width:190px; }
.bm-model small{ font-weight:400; max-width:30ch; }
.bm-num{ white-space:nowrap; color:var(--ink-soft); }
.bm-v{ font-weight:600; font-variant-numeric:tabular-nums; white-space:nowrap; }
.bm-v-s{ font-weight:500; }
.bm-warn{ color:var(--down) !important; font-weight:600; }
/* a bar is a gradient with a cover over the part not reached, never a single solid colour */
.bm-bar{ position:relative; overflow:hidden; height:6px; margin-top:6px; min-width:120px; border-radius:999px; background:linear-gradient(90deg, var(--up) 0%, var(--sec-tutorials) 55%, var(--down) 100%); }
.bm-cover{ position:absolute; top:0; right:0; bottom:0; background:var(--mz-sep); }
.bm-pending td{ color:var(--ink-dim); }
.bm-pending .bm-model{ font-weight:500; color:var(--ink-soft); }
.bm-tip{ position:relative; cursor:help; border-bottom:1px dotted var(--ink-dim); }
.bm-tip:hover::after{ content:attr(data-tooltip); position:absolute; left:0; top:calc(100% + 8px); z-index:5; width:280px; padding:10px 12px; border-radius:10px; background:var(--ink); color:var(--on-dark); font-size:13px; font-weight:400; letter-spacing:0; text-transform:none; line-height:1.4; box-shadow:var(--shadow); }
.bm-text{ margin-top:48px; max-width:76ch; }
.bm-text h2{ font-size:clamp(22px,2.4vw,28px); margin-bottom:10px; }
.bm-text p{ margin-top:12px; font-size:16.5px; color:var(--ink-soft); }
.bm-legend{ margin-top:22px; display:grid; grid-template-columns:minmax(160px,220px) 1fr; gap:10px 20px; font-size:14.5px; }
.bm-legend dt{ font-weight:600; color:var(--ink); }
.bm-legend dd{ margin:0; color:var(--ink-soft); }
@media (max-width:720px){
  .bm-legend{ grid-template-columns:1fr; gap:2px 0; }
  .bm-legend dd{ margin-bottom:10px; }
}

/* When, with which tests, and the public benchmarks: three facts under the status line. */
.bm-facts{ display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:12px; margin:18px 0 0; }
.bm-facts > div{ border:1px solid var(--line); border-radius:12px; padding:12px 14px; background:rgba(255,255,255,.6); }
.bm-facts dt{ font-size:12px; font-weight:700; letter-spacing:.04em; text-transform:uppercase; color:var(--ink-soft); margin-bottom:4px; }
.bm-facts dd{ margin:0; font-size:14.5px; line-height:1.45; }
.bm-facts ul{ margin:0; padding:0; list-style:none; }
.bm-facts li + li{ margin-top:3px; }
.bm-facts .bm-by{ color:var(--ink-soft); font-size:13px; }
@media (max-width:860px){ .bm-facts{ grid-template-columns:1fr; } }
/* The model family's logo before its name. */
.bm-name{ display:inline-flex; align-items:center; gap:8px; }
.bm-logo{ width:18px; height:18px; flex:none; display:block; }

/* AgentDojo (GATE-BENCH-02): a partial row is shown dimmed until its coverage reaches the declared floor. */
.bm-dojo{ margin-top:46px; }
.bm-dim .bm-v{ color:var(--ink-soft); }
.bm-dojo-note{ font-size:14.5px; color:var(--ink-soft); max-width:80ch; margin:12px 0 0; }
