/* Adapted from the CyberDual leaderboard: shared palette,
   square controls, model identities, compact rankings, and disclosure panels. */
:root{color-scheme:light;--bg:#fff;--surface:#fff;--sunk:#f5f5f5;--ink:#171717;--ink2:#454545;--muted:#737373;--line:#e5e5e5;--red:#bf513e;--red-soft:#fbefeb;--blue:#347a87;--blue-soft:#edf5f6;--gold:#a77929;--gold-soft:#faf3e5;--green:#37805d;--sans:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;--mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--logo-filter:none;--theme-sun:block;--theme-moon:none}
:root[data-theme="dark"]{color-scheme:dark;--bg:#121212;--surface:#171717;--sunk:#222;--ink:#f1f1f1;--ink2:#c1c1c1;--muted:#a0a0a0;--line:#343434;--red:#e48e78;--red-soft:#30221e;--blue:#81bdc8;--blue-soft:#1b2b2f;--gold:#d6b36f;--gold-soft:#302a1e;--green:#84bb99;--logo-filter:brightness(0) invert(1);--theme-sun:none;--theme-moon:block}
@media(prefers-color-scheme:dark){:root:not([data-theme="light"]):not([data-theme="dark"]){color-scheme:dark;--bg:#121212;--surface:#171717;--sunk:#222;--ink:#f1f1f1;--ink2:#c1c1c1;--muted:#a0a0a0;--line:#343434;--red:#e48e78;--red-soft:#30221e;--blue:#81bdc8;--blue-soft:#1b2b2f;--gold:#d6b36f;--gold-soft:#302a1e;--green:#84bb99;--logo-filter:brightness(0) invert(1);--theme-sun:none;--theme-moon:block}}
*{box-sizing:border-box}html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;scroll-padding-top:20px}body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.55 var(--sans)}a{color:var(--blue);text-decoration:none}a:hover{text-decoration:underline}button,select,input{font:inherit;color:inherit}button{cursor:pointer}:focus-visible{outline:2px solid var(--blue);outline-offset:4px}button:disabled{cursor:wait;opacity:.6}.wrap{max-width:1180px;margin:0 auto;padding-inline:28px}.num{font-variant-numeric:tabular-nums}code{font-family:var(--mono);font-size:.9em}p{margin:0 0 10px;color:var(--ink2);line-height:1.7;max-width:78ch}h1,h2,h3{margin:0;letter-spacing:-.025em;text-wrap:balance}h2{font-size:28px;line-height:1.25}h3{font-size:18px;font-weight:550}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:absolute;top:-80px;left:16px;padding:10px;background:var(--ink);color:var(--surface);z-index:50}.skip-link:focus{top:10px}
main{padding-top:34px;padding-bottom:70px}.btn{display:inline-flex;align-items:center;gap:20px;padding:10px 16px;border:1px solid var(--line);font-size:14px;font-weight:550;color:var(--ink);background:var(--surface)}.btn.primary{background:var(--ink);color:var(--surface);border-color:var(--ink)}.btn:hover{text-decoration:none;opacity:.8}
.section-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px}.text-link{font-size:13px;color:var(--ink2);white-space:nowrap}.text-link:hover{color:var(--blue)}.ranking-heading{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:22px}.ranking-heading h3{font-size:20px;letter-spacing:-.02em}.ranking-heading h3>span{font-size:13px;color:var(--muted);font-weight:400;letter-spacing:0;margin-left:12px}.ranking-explainer{font-size:14px;color:var(--muted);margin:5px 0 0}.ranking-explainer>span{margin-left:4px;color:var(--ink2)}.board-toolbar{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;margin-bottom:17px}.board-controls{display:flex;align-items:flex-end;gap:24px}.budget-control{display:flex;align-items:center;gap:11px}.ctl-label,.target-control{font-size:13px;color:var(--muted)}.seg{display:inline-flex;background:var(--sunk);padding:3px;gap:2px}.seg button{min-width:45px;padding:5px 10px;border:0;background:transparent;font-size:13px;font-weight:550;color:var(--muted)}.seg button[aria-pressed="true"]{background:var(--surface);box-shadow:0 1px 2px #0002;color:var(--ink)}.target-control{display:flex;align-items:center;gap:9px}.target-control select{background:var(--surface);border:1px solid var(--line);padding:6px 26px 6px 10px;font-size:13px;color:var(--ink);max-width:200px;border-radius:0}.board-updated{font-size:12px;color:var(--muted);white-space:nowrap}
/* The selected result metric controls both ranking and bar length. */
.tw{overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:14px}th,td{padding:13px 12px;border-bottom:1px solid var(--line);text-align:left;white-space:nowrap;vertical-align:middle}thead th{font-size:11px;font-weight:450;letter-spacing:.035em;text-transform:uppercase;color:var(--muted)}th.r,td.r{text-align:right}tbody tr:last-child td{border-bottom:0}.ranking-table{border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.ranking-table table{min-width:820px}.ranking-table .rank{width:38px;color:var(--muted);font-size:13px;padding-right:5px}.model-identity{display:flex;align-items:center;gap:10px}.model-name{font-size:15px;font-weight:550}.model-effort{font-size:12px;color:var(--muted);font-weight:400;margin-left:5px}.model-mark{display:inline-flex;align-items:center;justify-content:center;width:21px;height:21px;flex:none}.model-mark img{width:19px;height:19px;object-fit:contain}.model-mark.mono img{filter:var(--logo-filter)}.agent{font-size:13px;color:var(--ink2)}.bounty-cell{min-width:250px;width:31%}.bounty-inner{display:grid;grid-template-columns:minmax(70px,1fr) 88px;align-items:center;gap:16px}.bounty-inner strong{font-size:17px;font-weight:550;text-align:right}.thin-track{height:10px;background:var(--sunk)}.thin-track>span{height:100%;display:block;background:var(--org,var(--red));min-width:0}.secondary-value{color:var(--muted)}.sort-button{border:0;background:transparent;padding:0;font:inherit;text-transform:inherit;letter-spacing:inherit;color:inherit}.sort-button[aria-pressed="true"]{color:var(--ink)}.sort-arrow{font-size:12px;margin-left:3px}.expand-button{border:0;background:transparent;display:flex;align-items:center;justify-content:center;padding:5px;color:var(--muted);width:28px;height:28px}.expand-button:hover{background:var(--sunk);color:var(--ink)}.expand-button svg{width:15px;height:15px;transition:transform .15s}.expand-button[aria-expanded="true"] svg{transform:rotate(180deg)}.campaign-row:hover{background:color-mix(in srgb,var(--sunk) 65%,transparent)}.expanded-row>td{padding:0 12px 18px 50px;white-space:normal;background:var(--sunk)}.campaign-detail{padding-top:16px}.detail-title{font-size:13px;color:var(--muted);margin:0 0 10px}.target-table th,.target-table td{padding:8px 10px;font-size:12px}.target-table{background:var(--surface)}.target-table td:first-child{font-family:var(--mono)}.target-table td:last-child{text-align:right}.target-table th{font-family:var(--sans);font-size:10px}.loading{padding:35px;text-align:center;max-width:none;font-size:14px;color:var(--muted)}.error-state{padding:24px;border:1px solid var(--line);background:var(--red-soft)}.error-state p{font-size:14px}.error-state .btn{padding:6px 12px;margin-top:10px}
.board-detail-links{margin-top:20px}summary{display:flex;align-items:center;justify-content:space-between;padding:16px 0;font-size:20px;font-weight:550;list-style:none;cursor:pointer;color:var(--ink2)}summary::-webkit-details-marker{display:none}.details-arrow{font-size:22px;font-weight:300;line-height:1;transition:transform .15s}details[open]>summary .details-arrow{transform:rotate(90deg)}.detail-body{padding:0 0 24px}.details-intro{color:var(--muted);font-size:13px;margin:0 0 18px}.scoring-body{max-width:none}.scoring-body p{font-size:16px;max-width:none}.award-rates{display:flex;gap:25px;flex-wrap:wrap;padding:8px 0 18px}.award-rates>span{display:flex;flex-direction:column;gap:3px;font-size:14px;color:var(--muted)}.award-rates strong{font-size:22px;color:var(--ink);font-weight:500}.progress-svg{display:block;width:100%;height:auto;overflow:visible}.progress-svg text{font:12px var(--sans);fill:var(--muted)}.progress-svg .grid-line{stroke:var(--line);stroke-width:1}.progress-svg .series-line{fill:none;stroke-width:2.5}.progress-svg .series-point{stroke:var(--surface);stroke-width:2}.chart-legend{display:flex;justify-content:center;flex-wrap:wrap;gap:12px 22px;font-size:12px;color:var(--ink2);margin-top:4px}.chart-legend span{display:flex;align-items:center;gap:7px}.chart-legend i{display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--org)}.progress-values{margin-top:20px}.progress-values table{font-size:12px}.progress-values td,.progress-values th{padding:7px 10px}.progress-values caption{caption-side:bottom;text-align:left;color:var(--muted);font-size:11px;padding-top:10px}

@media(min-width:1280px){.wrap{max-width:1160px}}
@media(max-width:900px){.board-toolbar{align-items:flex-start}.board-updated{display:none}.model-effort{display:block;margin-left:0;font-size:11px}.bounty-cell{min-width:225px}.ranking-table table{min-width:760px}}
@media(max-width:640px){html{scroll-padding-top:20px}.wrap{padding-inline:20px}main{padding-top:30px}.section-heading{margin-bottom:20px}h2{font-size:25px}.ranking-heading{align-items:flex-start}.ranking-heading h3{font-size:18px}.ranking-heading h3>span{display:block;margin-left:0;margin-top:4px;font-size:12px}.ranking-explainer{font-size:13px}.ranking-explainer>span{display:block;margin:0}.ranking-heading>.text-link{font-size:12px;max-width:90px;white-space:normal;text-align:right;padding-top:2px}.board-controls{width:100%;gap:14px;justify-content:space-between;align-items:flex-end}.budget-control{flex-direction:column;align-items:flex-start;gap:6px}.target-control{flex-direction:column;align-items:flex-start;gap:6px}.target-control select{max-width:180px;font-size:12px;height:35px}.ctl-label,.target-control{font-size:11px}.seg button{min-width:40px}.ranking-table table{min-width:0}.ranking-table .agent-col,.ranking-table .cost-col,.ranking-table .bar-track{display:none}.ranking-table th,.ranking-table td{padding:14px 7px}.ranking-table .rank{width:22px;padding-left:0;font-size:12px}.model-identity{gap:7px}.model-mark,.model-mark img{width:17px;height:17px}.model-name{font-size:14px}.model-effort{font-size:11px}.bounty-cell{width:auto;min-width:0}.bounty-inner{display:block}.bounty-inner strong{display:block;font-size:16px}.ranking-table th.bounty-cell{text-align:right;font-size:10px}.ranking-table .distinct-col{font-size:13px}.ranking-table th.distinct-col{font-size:10px}.ranking-table .expand-cell{padding-right:0;padding-left:0;width:25px}.expand-button{width:24px}.expanded-row>td{padding:0 0 16px!important}.campaign-detail{padding-top:12px}.detail-title{padding:0 8px;font-size:12px}.target-table{min-width:500px}summary{font-size:18px}.details-intro{font-size:12px}.progress-svg text{font-size:15px}.chart-legend{font-size:11px;gap:9px 16px}.award-rates{gap:14px 22px}.section-heading>.text-link{font-size:12px;max-width:100px;text-align:right;white-space:normal}}
@media(max-width:370px){.wrap{padding-inline:14px}.model-name{font-size:12px}.bounty-inner strong{font-size:14px}.ranking-table .distinct-col{padding-inline:4px}.target-control select{max-width:160px}}
/* Fixed mobile columns keep long sortable headings and nested campaign tables
   inside the viewport; each campaign table scrolls within its own container. */
@media(max-width:640px){
  .ranking-table>table{table-layout:fixed;width:100%}
  .ranking-table .rank{width:20px}
  .ranking-table .bounty-cell{width:93px}
  .ranking-table .distinct-col{width:42px}
  .ranking-table .expand-cell{width:24px}
  .ranking-table thead th{white-space:normal;line-height:1.3}
  .ranking-table .sort-button{white-space:normal;line-height:1.3;text-align:inherit}
  .expanded-row>td{max-width:0}
  .campaign-detail>.tw{width:100%}
  .ranking-table .target-table{min-width:550px}
  .ranking-table .target-table th,.ranking-table .target-table td{padding:8px 10px}
}
@media(max-width:370px){
  .ranking-table .rank{width:18px}
  .ranking-table .bounty-cell{width:84px}
  .ranking-table .distinct-col{width:38px}
  .ranking-table .expand-cell{width:22px}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}

.section-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px}
.section-heading h1{font-size:28px;line-height:1.25}
@media(max-width:640px){.section-heading{margin-bottom:20px}.section-heading h1{font-size:25px}}

/* Publication header follows the CyberDual template. */
html{scroll-padding-top:86px}
.bar{position:sticky;top:0;z-index:20;background:var(--surface);border-bottom:1px solid var(--line)}
.bar .wrap{display:flex;align-items:center;gap:26px;height:58px}
.brand{display:flex;align-items:center;gap:9px;color:var(--ink);font-weight:650;font-size:18px;white-space:nowrap}
.brand:hover{text-decoration:none}
.brand img{object-fit:contain}
.site-logo.logo-light{display:var(--theme-sun)}
.site-logo.logo-dark{display:var(--theme-moon)}
.tabs{display:flex;flex:1;gap:6px;min-width:0;overflow-x:auto;scrollbar-width:none}
.tabs::-webkit-scrollbar{display:none}
.tabs a{flex-shrink:0;white-space:nowrap}
.tabs a{color:var(--ink2);padding:7px 11px;font-size:14px;font-weight:500}
.tabs a:hover{background:var(--sunk);text-decoration:none}
.header-link{font-size:13px;color:var(--ink2);white-space:nowrap}
.theme-toggle{display:grid;place-items:center;width:30px;height:30px;padding:5px;background:transparent;border:0}
.theme-toggle:hover{background:var(--sunk)}
.theme-toggle svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.theme-icon-sun{display:var(--theme-sun)}
.theme-icon-moon{display:var(--theme-moon)}
.home-hero{text-align:center;padding:18px 0 0;margin-bottom:52px}
.home-hero .hero-logo{width:88px;height:88px;margin:0 auto 16px;object-fit:contain}
.hero-title{font:550 clamp(50px,6vw,72px)/1.1 var(--sans);letter-spacing:-.065em;margin:0 0 24px}
.hero-statement{max-width:860px;margin:auto}
.hero-question{font-size:30px;line-height:1.25;font-weight:500;letter-spacing:-.035em;color:var(--ink);margin:0 0 14px;max-width:none;text-wrap:balance}
.hero-description{font-size:16px;color:var(--muted);max-width:740px;margin:0 auto}
.hero-authors{margin:26px auto 0}
.hero-author-row{display:flex;justify-content:center;flex-wrap:wrap;gap:6px 25px;font-size:16px;max-width:none;margin:0}
.hero-author-row a{color:var(--ink2);white-space:nowrap}
.hero-author-row a:hover{color:var(--blue)}
.hero-author-row sup{font-size:11px;line-height:0;margin-left:2px}
.hero-contribution{font-size:12px;color:var(--muted);max-width:none;margin:8px 0 0}
.award-rates{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.scoring-body a{text-decoration:underline;text-underline-offset:3px}
.performance{margin-bottom:50px}
.performance>.section-heading{margin-bottom:20px}
.performance h2,.leaderboard>.section-heading h2,.info-section h2{font-size:28px}
.plot-toolbar{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:14px}
.plot-controls{display:flex;align-items:center;gap:12px}
.release-tag{display:inline-flex;align-items:center;justify-content:center;min-width:35px;height:32px;padding:4px 10px;background:var(--ink);color:var(--surface);font-size:12px;font-weight:550}
.leaderboard>.section-heading .release-tag{height:25px;min-width:30px;padding:2px 8px;background:var(--sunk);color:var(--ink2)}
.metric-switch button{white-space:nowrap}
.board-controls{gap:18px;flex-wrap:wrap}
.ranking-table .bounty-inner{grid-template-columns:minmax(70px,1fr) 88px}
.ranking-table[data-metric="distinct"] .bounty-inner{grid-template-columns:minmax(70px,1fr) 44px}
.ranking-table[data-metric="distinct"] .distinct-col{min-width:105px}
.campaign-row[style*="#222222"]{--org:var(--ink)!important}
.info-section{margin-top:44px;padding-top:28px}
.info-section h2{margin:0 0 16px}
.info-section p{font-size:16px;max-width:none;margin:0 0 10px}
.info-section p:last-child{margin-bottom:0}
.info-section a{text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}
@media(max-width:900px){
  .bar .wrap{gap:18px}
  .board-toolbar{flex-wrap:wrap}
  .board-controls{gap:14px}
}
@media(max-width:640px){
  html{scroll-padding-top:112px}
  .bar .wrap{height:auto;min-height:56px;flex-wrap:wrap;gap:0 18px;padding-top:10px}
  .brand{margin-right:auto;font-size:17px}
  .tabs{order:4;flex-basis:100%;gap:6px;margin-top:8px;padding-bottom:5px}
  .tabs a{font-size:13px;padding:6px 10px}
  .header-link{font-size:12px}
  .home-hero{padding-top:10px;margin-bottom:38px}
  .home-hero .hero-logo{width:72px;height:72px;margin-bottom:14px}
  .hero-title{font-size:52px;margin-bottom:22px}
  .hero-question{font-size:25px}
  .hero-description{font-size:14px}
  .hero-description br{display:none}
  .hero-authors{margin-top:22px}
  .hero-author-row{display:grid;grid-template-columns:repeat(2,max-content);justify-content:center;gap:7px 20px;font-size:14px}
  .award-rates{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
  .performance{margin-bottom:36px}
  .performance h2,.leaderboard>.section-heading h2,.info-section h2{font-size:25px}
  .plot-toolbar{align-items:flex-start;flex-wrap:wrap;gap:10px}
  .plot-controls{gap:10px}
  .plot-toolbar .metric-switch{margin-left:auto}
  .plot-toolbar .seg button{font-size:12px;padding-inline:9px}
  .board-controls{justify-content:flex-start;gap:14px 18px}
  .board-controls>.metric-switch{flex-basis:100%;width:max-content;flex-grow:0;max-width:max-content}
  .board-controls .target-control{margin-left:auto}
  .ranking-table .bounty-inner,.ranking-table[data-metric="distinct"] .bounty-inner{display:block}
  .ranking-table[data-metric="distinct"] .bounty-cell{width:48px}
  .ranking-table[data-metric="distinct"] .distinct-col{width:88px;min-width:0}
  .info-section{margin-top:34px;padding-top:24px}
  .info-section h2{margin-bottom:13px}
  .scoring-body p,.info-section p{font-size:15px}
}
@media(max-width:370px){
  .hero-title{font-size:47px}
  .hero-question{font-size:23px}
  .hero-author-row{column-gap:14px;font-size:13px}
  .ranking-table[data-metric="distinct"] .bounty-cell{width:45px}
  .ranking-table[data-metric="distinct"] .distinct-col{width:80px}
}
