#results .compact-benchmarks { margin-top:48px; }
#results .compact-benchmarks>h3 { margin-bottom:8px; }
#results .compact-benchmarks>.caption { margin:0; }
#results .compact-benchmarks>.filters { gap:24px; margin:20px 0 0; padding:0; border-bottom:1px solid #dce5df; }
#results .compact-benchmarks>.filters button { position:relative; border:0; border-radius:0; background:none; margin:0 0 -1px; padding:10px 0 13px; color:#7b8780; font-size:12px; }
#results .compact-benchmarks>.filters button::after { content:""; position:absolute; bottom:0; left:0; width:100%; height:2px; background:#5c9e87; transform:scaleX(0); transition:transform .28s ease; }
#results .compact-benchmarks>.filters button.active { color:#285d49; font-weight:650; }
#results .compact-benchmarks>.filters button.active::after { transform:scaleX(1); }
.benchmark-deck { margin-top:18px; padding:0; }
.bench-case-bar { display:flex; justify-content:space-between; align-items:center; gap:16px; margin-bottom:14px; }
.bench-case-bar>div,.bench-actions { display:flex; align-items:center; gap:14px; }
.bench-counter { font:11px ui-monospace,monospace; color:#809288; white-space:nowrap; }
.bench-case-title { font-size:14px; color:#344f42; font-weight:600; }
.bench-actions button { padding:5px 8px; background:none; border:0; border-radius:4px; font-size:11px; color:#6f8177; cursor:pointer; }
.bench-actions button:hover { color:#265d48; background:#e9f1ec; }
.bench-actions [data-bench-prev],.bench-actions [data-bench-next] { font-size:19px; padding:2px 8px; }
.bench-stage-scroll { position:relative; overflow:hidden; }
.bench-stage-outgoing { position:absolute; inset:0; pointer-events:none; z-index:1; }
.bench-stage,.bench-zoom-content { display:grid; grid-template-columns:repeat(var(--bench-cols,3),minmax(0,1fr)); gap:12px; }
.bench-view { margin:0; min-width:0; border:1px solid #dce4df; border-radius:6px; overflow:hidden; background:#fff; }
.bench-view.is-ours { border-color:#92bda9; }
.bench-view figcaption { display:flex; align-items:center; gap:9px; padding:9px 12px; margin:0; border-bottom:1px solid #e8eeea; color:#617269; font-size:11px; line-height:1.5; }
.bench-view figcaption span { font:9px ui-monospace,monospace; color:#96a39b; }
.bench-view.is-ours figcaption { background:#edf6f0; color:#31694f; font-weight:600; }
.bench-view.is-ours figcaption span { color:#5b9c7c; }
.bench-frame { display:flex; align-items:center; justify-content:center; aspect-ratio:1; width:100%; background:#f5f6f3; overflow:hidden; }
.bench-frame>img { display:block; width:100%; height:100%; object-fit:cover; }
.bench-frame.is-dark { background:#080908; }
.bench-prompt { padding:20px; }
.bench-prompt>span { display:block; font-size:10px; color:#7d9687; margin-bottom:10px; }
.bench-prompt strong { display:block; font-size:14px; line-height:1.6; color:#385744; }
.bench-prompt p { margin:10px 0 0; font-size:12px; line-height:1.9; color:#77867c; }
.has-mesh .bench-frame { flex-direction:column; }
.has-mesh .bench-prompt { padding:12px 16px 8px; flex:none; }
.has-mesh .bench-prompt>span { display:none; }
.has-mesh .bench-prompt strong { font-size:12px; }
.has-mesh .bench-prompt p { font-size:10px; line-height:1.65; margin-top:4px; }
.has-mesh .bench-frame>.bench-reference-mesh { min-height:0; flex:1; object-fit:contain; padding:0 12px 10px; }
.bench-case-strip { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:10px; margin-top:14px; }
.bench-case-strip button { position:relative; display:flex; gap:10px; align-items:center; min-width:0; padding:8px; border:1px solid transparent; border-radius:5px; background:transparent; cursor:pointer; text-align:left; overflow:hidden; color:#88958b; transition:background .2s,border-color .2s,color .2s; }
.bench-case-strip button>img { display:block; width:58px; height:40px; object-fit:cover; background:#e8ece7; border-radius:3px; opacity:.65; transition:opacity .2s; }
.bench-case-strip button>span { font-size:11px; line-height:1.45; }
.bench-case-strip small { display:block; font:9px ui-monospace,monospace; margin-bottom:3px; color:#a1ada5; }
.bench-case-strip button.active { background:#edf4ef; border-color:#d5e5da; color:#2a6148; }
.bench-case-strip button.active>img,.bench-case-strip button:hover>img { opacity:1; }
.bench-case-strip button.active small { color:#6e9981; }
.bench-case-strip button i { position:absolute; height:2px; bottom:0; left:0; width:var(--progress,0%); background:#79af91; }
.benchmark-deck button:focus-visible,.compact-benchmarks .filters button:focus-visible { outline:2px solid #6aa58b; outline-offset:2px; }
.benchmark-zoom { width:min(1500px,96vw); max-height:94vh; padding:22px; border:1px solid #d3ddd5; border-radius:10px; background:#fafcf9; }
.benchmark-zoom::backdrop { background:#11251dcc; backdrop-filter:blur(6px); }
.bench-zoom-bar { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-bottom:18px; }
.bench-zoom-bar strong { font-size:15px; color:#355843; }
.bench-zoom-bar button { font-size:24px; padding:0 8px; border:0; background:none; color:#5b7161; cursor:pointer; }
.benchmark-deck[data-benchmark="bw"] .bench-frame,.benchmark-zoom[data-benchmark="bw"] .bench-frame { aspect-ratio:16/10; }
.benchmark-zoom .bench-frame { height:auto; }
@media(max-width:850px) {
  .bench-actions { gap:3px; }
  .bench-case-title { font-size:12px; }
  .bench-case-strip button { flex-direction:column; align-items:stretch; padding:5px; gap:5px; }
  .bench-case-strip button>img { width:100%; height:50px; }
  .bench-case-strip small { display:none; }
  .bench-stage { min-width:700px; }
  #results .compact-benchmarks>.filters { gap:16px; flex-wrap:wrap; }
  .bench-zoom-content { min-width:680px; }
}
@media(prefers-reduced-motion:reduce) { .compact-benchmarks * { transition:none!important; } }

.bench-task-note{margin:0 0 14px;min-height:22px;font-size:12px;line-height:22px;color:#77867c}
