/* Static final figures and animation layers share the same generated data. */
[data-benchmark-motion]{min-width:0}
.benchmark-original-stage{position:relative;isolation:isolate;background:#edf7ff;border-radius:6px}
.benchmark-original-stage .figure-button{position:relative;z-index:0}
.benchmark-original-stage .figure-button img{display:block;width:100%;height:auto;aspect-ratio:auto;object-fit:contain}
.benchmark-original-stage.bm-preparing .figure-button img{visibility:hidden}
.bm-reveal-layer{position:absolute;inset:0;z-index:1;pointer-events:none;overflow:hidden;border-radius:6px;background:#edf7ff}
.bm-clean-plate{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:fill}
.bm-reveal-plot,.bm-final-overlay{position:absolute;inset:0;display:block;width:100%;height:100%;pointer-events:none;overflow:visible}
.bm-reveal-plot{z-index:1}
.bm-final-overlay{z-index:2;opacity:0}
.bm-datum{opacity:0}
.bm-data-dot{fill:#c7efff;stroke:#00a2ff;stroke-width:2.2}
.bm-err .bm-data-dot{fill:#f5f5f5;stroke:#989898;stroke-width:2.2}
.bm-ours .bm-data-dot,.bm-robot .bm-data-dot{fill:#ffcf18;stroke:#fb7800;stroke-width:2.5}
.bm-zero-label,.bm-post-label{fill:#111;font-family:'Arial Narrow','Roboto Condensed',Arial,sans-serif;font-weight:700;letter-spacing:-.3px}
.bm-zero-label{font-size:13px}.bm-post-label{font-size:12px}
.bm-goal-label{fill:#111;font:700 19px Arial,Helvetica,sans-serif;letter-spacing:-.3px}
.bm-score-box{fill:#ffd08c}.bm-score-text{fill:#111;font:700 24px Arial,Helvetica,sans-serif}
.bm-callout-box,.bm-callout-tail{fill:#ffebc5;stroke:#ff9800;stroke-width:1.2}
.bm-callout-title{fill:#ae3007;font:700 24px Arial,Helvetica,sans-serif}
.bm-callout-score{fill:#9b2b05;font:700 34px Arial,Helvetica,sans-serif}
.bm-callout-detail{fill:#a3320e;font:500 18px Arial,Helvetica,sans-serif}
.bm-focus-marker{color:#237fc5}.bm-focus-marker.bm-ours{color:#ed7825}
.bm-aura{fill:currentColor;fill-opacity:.13;stroke:currentColor;stroke-opacity:.12;stroke-width:1.5}
.bm-ring-base{fill:none;stroke:#fff;stroke-opacity:.9;stroke-width:7}
.bm-ring{fill:none;stroke:currentColor;stroke-width:4;stroke-opacity:.95}
[data-benchmark-motion][data-state=complete] .bm-reveal-layer,[data-benchmark-motion][data-state=fallback] .bm-reveal-layer{opacity:0;visibility:hidden}
[data-benchmark-motion][data-state=playing] .bm-final-overlay,[data-benchmark-motion][data-state=paused] .bm-final-overlay,[data-benchmark-motion][data-state=complete] .bm-final-overlay{opacity:1}
[data-benchmark-motion][data-state=fallback] .bm-final-overlay{display:none}
.bm-original-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:72px;margin-top:16px;padding-top:16px;border-top:1px solid var(--line);font-family:var(--font-sans)}
.bm-focus-caption{min-width:0;font-size:15px;line-height:1.5}
.bm-focus-caption>span{display:block;font-size:12px;letter-spacing:.02em;color:var(--muted);margin-bottom:4px}
.bm-focus-caption>strong{display:block;color:var(--blue);font-weight:600;font-variant-numeric:tabular-nums}
[data-benchmark-motion][data-state=complete] .bm-focus-caption>strong{color:var(--orange-text)}
.bm-replay{display:inline-flex;align-items:center;justify-content:center;gap:6px;flex-shrink:0;font:inherit;font-size:var(--control-font-size);line-height:1.4;font-weight:600;color:var(--blue);border:1px solid var(--line);border-radius:8px;background:#fff;min-width:160px;min-height:44px;padding:10px 16px;cursor:pointer}
.bm-replay:hover{background:var(--blue-soft);border-color:var(--blue)}.bm-replay:disabled{cursor:wait;opacity:.5}
.bm-replay:focus-visible{outline:3px solid var(--orange);outline-offset:3px}
.bm-replay[hidden],.bm-original-footer[hidden]{display:none}
.bm-status{position:absolute;width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
@media(max-width:1100px){.bm-original-footer{align-items:flex-start;flex-direction:column;gap:12px}.bm-replay{align-self:flex-end}}
@media(prefers-reduced-motion:reduce){[data-benchmark-motion] .bm-reveal-layer{visibility:hidden}[data-benchmark-motion] .bm-final-overlay{opacity:1}}
