/* Leaderboard page. Layout follows the benchmark analysis report, in the site's palette and type. */
.report{padding:52px 0 70px}.report-header{margin-bottom:24px;padding-bottom:24px;border-bottom:1px solid var(--line)}
.report-header h1{margin-bottom:14px;font-size:clamp(38px,4vw,54px)}.lede{max-width:920px;margin:0;color:var(--body);font-size:17px;line-height:1.75}.meta{margin:12px 0 0;color:var(--muted);font-size:15px}
#status{margin-bottom:14px;color:var(--muted);font-size:15px}#status:empty{display:none}.warning{margin:12px 0;color:#916331;font-size:15px;line-height:1.6}
.legend{display:flex;flex-wrap:wrap;gap:10px}.pill{display:inline-flex;align-items:center;gap:8px;padding:8px 14px;border:1px solid var(--line);border-radius:999px;background:#fff;color:#374151;font-size:15px;cursor:pointer}
.pill input{width:16px;height:16px;margin:0;accent-color:var(--blue)}.dot{display:inline-block;flex-shrink:0;width:10px;height:10px;border-radius:50%}
.report section{margin-top:40px;scroll-margin-top:calc(var(--topbar) + 16px)}.section-head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:16px;padding-top:28px;border-top:1px solid var(--line)}
.section-head h2{margin:0;font:400 34px/1.2 var(--serif);letter-spacing:-.5px}.section-head .sub{color:var(--muted);font-size:15px}
.report .subsection{margin:30px 0 14px;font:400 24px/1.3 var(--serif)}.grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.stack{display:grid;grid-template-columns:1fr;gap:18px}.radar-wide{width:100%}
.panel{position:relative;min-width:0;overflow:hidden;padding:18px 18px 8px;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 1px 2px #00000005}.chart{width:100%;min-width:0}
.export-bar{position:absolute;top:14px;right:12px;z-index:5;display:flex;gap:5px;opacity:.6}.panel:hover .export-bar,.export-bar:focus-within{opacity:1}
.export-bar button,.controls select{padding:5px 9px;background:#fff;border:1px solid var(--line);border-radius:6px;color:var(--muted);font:600 13px var(--sans)}
.export-bar button:hover,.controls select:hover{border-color:var(--blue);color:var(--blue)}.export-bar button:disabled{opacity:.5;cursor:wait}
.controls{display:flex;align-items:center;gap:10px;margin-bottom:16px;color:var(--muted);font-size:15px}.controls select{min-height:36px;padding-right:28px;font-size:14px}
.table-wrap{margin-top:14px;overflow-x:auto;background:#fff;border:1px solid var(--line);border-radius:10px}.table-wrap table{width:100%;border-collapse:collapse;font-size:14px;text-align:left}
.table-wrap :is(th,td){padding:10px 13px;border-bottom:1px solid #eef1f5;white-space:nowrap}.table-wrap thead th{background:#f8fafd;color:var(--muted);font-weight:600}
.table-wrap td.number{font-variant-numeric:tabular-nums}.table-wrap tbody tr:last-child :is(th,td){border-bottom:0}
.footnote{margin:12px 0 0;color:var(--muted);font-size:14px;line-height:1.7}.empty{margin:12px 0;padding:24px;background:#f4f7ff;border:1px dashed #9fb9ea;border-radius:12px;color:var(--muted);font-size:15px;line-height:1.6}
.methods{margin-top:44px;padding:22px;background:#fff;border:1px solid var(--line);border-radius:12px;scroll-margin-top:calc(var(--topbar) + 16px)}.methods summary{font-size:17px;font-weight:600;cursor:pointer}
.methods p{max-width:1000px;margin:14px 0 0;color:var(--body);font-size:15px;line-height:1.75}#taxonomy td:first-child{min-width:260px;white-space:normal}

/* Results tables above the charts */
.results-wrap{margin-top:0}.results-table{font-size:15px!important}.results-table thead th{text-align:center;vertical-align:bottom}
.results-table thead th.row-head{text-align:left}.results-table th.group{background:#edf3fb;color:var(--ink);white-space:normal;min-width:120px}
.results-table th.metric{font-size:13px;text-align:right}.results-table .start{border-left:1px solid var(--line)}.results-table th.group{border-left:1px solid var(--line)}
.results-table td.number{text-align:right}.results-table td.best{color:var(--ink);font-weight:700}.results-table tbody td{color:#3c4d63}
.results-table tbody th.name{background:#fff;color:var(--ink);font-weight:600}.results-table th.name .dot{margin-right:9px}.results-table td.rank{width:48px;color:var(--muted);font-variant-numeric:tabular-nums}
.results-table .group-row th{padding-block:11px;background:#f4f7fb;color:var(--blue);font-size:14px;font-weight:700}
.per-task .results-table tbody th.name{min-width:300px;white-space:normal;font-weight:500}

@media(max-width:980px){.grid{grid-template-columns:1fr}}
@media(max-width:700px){.panel{overflow-x:auto}.panel .chart{min-width:660px}.radar-wide,.stack{min-width:0}.section-head h2{font-size:28px}.capacity-radar{min-width:900px!important}}
.capacity-radar{min-width:900px}.radar-wide .panel{overflow-x:auto}
@media print{.export-bar,.legend,.controls{display:none}.panel{break-inside:avoid}}
