.benchmark-history{margin-top:42px;border:1px solid var(--line);background:#fff}
.history-heading{display:flex;justify-content:space-between;align-items:center;gap:28px;padding:26px 28px;border-bottom:1px solid var(--line)}
.history-kicker{font:12px/1.5 var(--mono);letter-spacing:.06em;color:var(--muted)}
.history-heading h3{font:600 30px/1.15 var(--heading);letter-spacing:-.025em;margin:8px 0}
.history-heading p{font-size:1rem;margin:0;color:var(--muted)}
.history-heading .select-label{flex-shrink:0;font-size:.875rem}
.history-legend{display:flex;flex-wrap:wrap;align-items:center;gap:8px 18px;padding:14px 28px;border-bottom:1px solid var(--line)}
.history-legend button{display:flex;align-items:center;gap:8px;min-height:40px;padding:5px 8px;border:1px solid transparent;background:transparent;color:var(--ink);font:14px var(--mono);cursor:pointer}
.history-legend button span{width:10px;height:10px;background:var(--lab-color)}
.history-legend button[aria-pressed=true]{border-color:var(--lab-color);background:var(--soft)}
.history-legend-hint{font-size:12px;color:var(--muted);margin-left:auto}
.history-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px}
.history-plot-wrap{min-width:0;padding:24px 18px 18px}
.history-axis-title,.history-date-label{font:12px/1.5 var(--mono);color:var(--muted)}
.history-axis-title{margin:0 0 10px 12px}.history-date-label{text-align:center}
#history-plot svg{width:100%;height:auto;display:block;overflow:visible}
.history-svg-tick{font:18px var(--mono);fill:#44534b}.history-svg-version{font:16px var(--mono);fill:#637369}
.history-inspector{padding:22px;border-left:1px solid var(--line);background:#f6f8f7}
.history-editions{display:flex;gap:8px}
.history-editions button{min-height:40px;flex:1;border:1px solid var(--line);background:#fff;color:var(--ink);font:14px var(--mono);cursor:pointer}
.history-editions button[aria-pressed=true]{background:var(--ink);border-color:var(--ink);color:white}
.history-detail-date{font:500 14px/1.5 var(--mono);margin:18px 0 3px}.history-detail-metric{font-size:12px;color:var(--muted);margin:0 0 16px}
#history-detail ul{padding:0;margin:0;list-style:none}
#history-detail li{display:flex;justify-content:space-between;align-items:start;gap:14px;border-top:1px solid var(--line);padding:12px 0}
.history-lab-name{display:block;color:var(--lab-color);font-size:14px;font-weight:600}
.history-winning-model{display:block;font-size:12px;color:var(--muted);line-height:1.5;margin-top:3px}
#history-detail strong{font:500 19px/1.5 var(--mono);white-space:nowrap}
.history-dim{opacity:.45}
.history-note{border-top:1px solid var(--line);padding:18px 28px;margin:0;font-size:.875rem;color:var(--muted);line-height:1.65}
.benchmark-history button:focus-visible,.benchmark-history select:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
@media(max-width:1100px){.history-layout{grid-template-columns:minmax(0,1fr)}.history-inspector{border-left:0;border-top:1px solid var(--line)}.history-editions{max-width:250px}#history-detail ul{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}#history-detail li{display:block}#history-detail strong{display:block;margin-top:6px}}
@media(max-width:760px){.history-heading{flex-direction:column;align-items:stretch;padding:22px 18px;gap:20px}.history-heading h3{font-size:26px}.history-legend{padding:12px 14px;gap:4px 10px}.history-legend-hint{margin-left:8px;width:100%}.history-plot-wrap{overflow-x:auto;padding:18px 8px}#history-plot{min-width:760px}.history-axis-title{position:sticky;left:12px}.history-date-label{min-width:760px}.history-inspector{padding:20px 18px}#history-detail ul{grid-template-columns:1fr;gap:0}#history-detail li{display:flex}#history-detail strong{margin-top:0}.history-note{padding:18px}.history-winning-model{font-size:14px}.history-detail-metric{font-size:14px}}
