Spaces:
Running

cooperation-bench / lb-extras.css
earakely-scale's picture
Deploy hf/space from main 24b3a8d
f0f6001 verified
Raw History Blame Contribute Delete
36.9 kB
/* Cooperation Bench Space: additions to the mockup's styles (see CHANGES.md). */
.scbar em{left:calc(100% - 2px)}
.scbar small{left:100%;transform:translateX(-100%)}
.chip.lbpre{margin-left:6px;vertical-align:1px;white-space:nowrap}
/* Logo colours by lab, as the mockup sets them for its four models. */
[data-m="sonnet"],[data-m="haiku"]{--mcol:#C4704C}
[data-m="neon"],[data-m="carbon"],[data-m="hydrogen"]{--mcol:#4C74C4}
[data-m="sol"],[data-m="terra"],[data-m="luna"]{--mcol:#1F1F1F}
/* 286 people: smaller dots so the facts band keeps its height. */
.fxpin.all .fxvis:has(> .ci:nth-of-type(120)){gap:3px}
.fxpin.all .fxvis:has(> .ci:nth-of-type(120)) .ci{width:7px;height:7px}
#s-results .chip.lbpre{color:#E6E6E6;border-color:rgba(255,255,255,.45);background:rgba(255,255,255,.08)}
/* The leaderboard has 20 models and 25 public tasks (the mockup had 4 and 9): compact rows on wide screens. */
@media (min-width:721px){
#resBars .mrow,.res .pane:last-child .mrow.pubt{padding:3px 0}
#resBars .track,.res .pane:last-child .mrow.pubt .track{height:12px}
#s-results .scn{max-width:none}
#resBars .mrow .nm{font-size:13.5px}
#resBars .mrow .nm .mlogo{width:16px;height:16px}
#resBars .mrow{grid-template-columns:236px minmax(0,1fr) 104px}
#resBars .mrow .v,.res .pane:last-child .mrow.pubt .v{font-size:13.5px;display:flex;align-items:baseline;justify-content:flex-end;gap:6px}
#resBars .mrow .v small,.res .pane:last-child .mrow.pubt .v small{display:inline;margin-top:0}
.res .pane:last-child .mrow.pubt{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) 76px}
.res .pane:last-child .mrow.pubt .nm{font-size:13.5px}
}
/* Runs band: pass rate first and the bar shows it; with more than 8 models the rows split into two columns (Isaac, Nov 30). */
/* r275 pass rate first */
.rs-m{grid-template-columns:auto auto minmax(90px,1fr) 64px 80px}
@media (max-width:900px){.rs-m{grid-template-columns:minmax(0,1fr) 44px 44px}}
/* r276 many-model runs band */
body[data-nu] .truns.fk .tr-res.wide{grid-template-columns:220px minmax(0,1fr);grid-template-rows:auto 1fr}
.tr-res.wide .rs-p{grid-column:1;grid-row:1;justify-content:flex-start}
.tr-res.wide .rs-l{grid-column:1;grid-row:2;border-left:0;border-top:1px solid var(--line);border-right:1px solid var(--line);align-content:start}
.tr-res.wide .rs-mm{grid-column:2;grid-row:1 / span 2;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:32px;padding:20px 24px;align-content:start}
.tr-res.wide .rs-mm .rs-m{padding:0;border:0}
@media (max-width:1239px){.tr-res.wide .rs-mm{grid-template-columns:minmax(0,1fr);row-gap:12px}.tr-res.wide .rs-mm .rs-m+.rs-m .rs-h{display:none}}
@media (max-width:900px){body[data-nu] .truns.fk .tr-res.wide{grid-template-columns:minmax(0,1fr);grid-template-rows:none}.tr-res.wide .rs-p,.tr-res.wide .rs-l,.tr-res.wide .rs-mm{grid-column:auto;grid-row:auto}.tr-res.wide .rs-l{border-right:0}.tr-res.wide .rs-mm{padding:16px}}
.tr-res.wide .rs-d{flex-wrap:nowrap;white-space:nowrap;min-width:max-content}
body[data-nu] .truns.fk .tr-res.wide{grid-template-columns:250px minmax(0,1fr)}
.tr-res.wide .rs-m{grid-template-columns:auto auto minmax(48px,1fr) 52px 72px;column-gap:10px;min-width:0}
.tr-res.wide .rs-n{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tr-res.wide .rs-m{grid-template-columns:auto auto minmax(40px,1fr) 50px 64px;column-gap:9px}
.tr-res.wide .rs-m{grid-template-columns:auto auto minmax(32px,1fr) 46px 76px;column-gap:8px}
@media (max-width:1239px){.tr-res.wide .rs-m{grid-template-columns:auto auto minmax(90px,1fr) 64px 80px;column-gap:16px}}
@media (max-width:900px){.tr-res.wide .rs-m{grid-template-columns:minmax(0,1fr) 44px 44px}}
.tr-res.wide .rs-m{grid-template-columns:auto auto minmax(24px,1fr) 44px 80px}
.tr-res.wide .rs-n{max-width:150px}
@media (max-width:1239px){.tr-res.wide .rs-m{grid-template-columns:auto auto minmax(90px,1fr) 64px 80px}.tr-res.wide .rs-n{max-width:none}}
@media (max-width:900px){.tr-res.wide .rs-m{grid-template-columns:minmax(0,1fr) 44px 44px}}
@media (max-width:1239px){.tr-res.wide .rs-d{min-width:0;white-space:normal;flex-wrap:wrap}}
@media (max-width:900px){.tr-res.wide .rs-mm{padding:0}}
@media (max-width:1239px){body[data-nu] .truns.fk .tr-res.wide{grid-template-columns:180px minmax(0,1fr)}}
@media (max-width:900px){body[data-nu] .truns.fk .tr-res.wide{grid-template-columns:minmax(0,1fr);grid-template-rows:none}}
.tr-res.wide .rs-n{max-width:none}
@media (min-width:1240px){.tr-res.wide .rs-m{grid-template-columns:auto auto minmax(20px,1fr) 44px 80px}}
.mt2 td .b{width:calc(100% - 84px);min-width:48px;max-width:130px}
/* Brand colour for every model logo (Isaac, Nov 30): xAI and OpenAI black, Meta blue, Moonshot blue, Qwen purple, Mistral orange,
DeepSeek blue, Thinking Machines dark grey, General Reasoning black. Beam 1.0 has no known maker and keeps the text colour. */
[data-m="grok"],[data-m="luna56"]{--mcol:#1F1F1F}
[data-m="muse"]{--mcol:#0866FF}[data-m="kimi"]{--mcol:#027AFF}[data-m="qwen"]{--mcol:#615CED}[data-m="mistral"]{--mcol:#FA500F}
[data-m="dspro"],[data-m="dsflash"]{--mcol:#4D6BFE}
[data-m="inks"],[data-m="inkm"]{--mcol:#31363C}[data-m="avalon"]{--mcol:#111111}
[data-m] .mlogo{fill:var(--mcol,currentColor)}
/* Run page (Isaac, Nov 30): the run you are on is marked by a ring, not a bigger square; the other featured run gets a thin grey ring. */
aside .rg-d .sq.open{transform:none!important;outline:1px solid var(--fg-3);outline-offset:1px}
aside .rg-d .sq.open[aria-current="true"]{transform:none!important;outline:2px solid var(--fg);outline-offset:2px}
/* Run page (Isaac, Nov 30): model logo and name with version beside Pass / Fail, on the score card and the pill that follows the scroll. */
.c-vl{display:inline-flex;align-items:center;gap:10px;min-width:0;flex-wrap:wrap}
.c-mod{display:inline-flex;align-items:center;gap:6px;font-size:13.5px;font-weight:500;white-space:nowrap;color:var(--fg)}
.c-mod .mlogo{width:18px;height:18px}
.c-pill .c-mod{font-size:12.5px;margin-right:2px}.c-pill .c-mod .mlogo{width:16px;height:16px}
.c-side.mini .c-pill{grid-template-columns:auto auto minmax(0,1fr) auto}
.c-pill .chip{justify-self:start}
/* ===== Phone fixes (Claude, Nov 30), after Isaac's rules ===== */
/* Results legend: the same fills as the bars they explain (the mockup's legend used the darker penalty red). */
#s-results .legend .dot.bad{background:color-mix(in srgb,var(--bad) 45%,var(--panel))}
#s-results .legend .dot.ok{background:color-mix(in srgb,var(--ok) 45%,var(--panel))}
/* ===== Phones and small tablets: the mockup's layouts, tightened for 23 models and narrow screens ===== */
@media (max-width:900px){
/* task page runs card: one line per model: name, its runs, mean score, pass rate, with the column labels */
.tr-res .rs-m,.tr-res.wide .rs-m{grid-template-columns:minmax(0,1fr) auto 46px 48px}
.tr-res .rs-d,.tr-res.wide .rs-d{grid-column:auto;flex-wrap:nowrap;min-width:0}
.tr-res .rs-n,.tr-res.wide .rs-n{white-space:normal;line-height:1.2;max-width:none;overflow:visible}
.tr-res .rs-h{display:grid;margin-bottom:0}
.tr-res .rs-h .rs-hm{grid-column:3;white-space:normal;line-height:1.2;font-size:9.5px}
.tr-res .rs-h .rs-hp{grid-column:4;white-space:normal;line-height:1.2;font-size:9.5px}
}
@media (max-width:720px){
p,li,.tr-tag,.tr-tag *{text-wrap:pretty}
h1,h2,h3{text-wrap:balance}
/* task header people: the role under the name when the line is short, never wider than the screen */
.t3-pl span{grid-template-columns:22px minmax(0,auto) minmax(0,1fr)}
.t3-pl em{overflow-wrap:anywhere}
.t3-pl b{white-space:normal}
/* sticky breadcrumb: the back button and the current page on one line */
.crumb{flex-wrap:nowrap;overflow:hidden}
.crumb>:not(.bk):not(:last-child){display:none}
.crumb>:last-child:not(.bk){min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* bigger tap areas, same look */
.hdr .brand,.b-more,.rs-d a.sq.open,.rg a.sq.open{position:relative}
.hdr .brand::after{content:"";position:absolute;inset:-14px -8px}
.b-more::after{content:"";position:absolute;inset:-12px -8px}
.rs-d a.sq.open::after,.rg a.sq.open::after{content:"";position:absolute;inset:-8px}
.rv{opacity:1!important;transform:none!important}
/* home results */
#s-results .chip.lbpre{display:inline-block;max-width:100%;height:auto;white-space:normal;margin:8px 0 0;padding:4px 10px;line-height:1.35}
#resBars .mrow{grid-template-columns:minmax(0,1fr) 34% 62px;column-gap:10px;row-gap:0;padding:5px 0}
#resBars .mrow .nm{grid-column:auto;grid-template-columns:18px minmax(0,1fr);font-size:13.5px;white-space:normal;line-height:1.2}
#resBars .mrow .nm small{display:none}
#resBars .mrow .nm .mlogo{width:16px;height:16px}
#resBars .track{height:10px}
#resBars .mrow .v{font-size:14px}
#resBars .mrow .v small{font-size:11px}
.res .pane:last-child .mrow.pubt{grid-template-columns:minmax(0,1fr) 56px;grid-template-areas:"nm v" "tr v";row-gap:6px;padding:6px 0}
.res .pane:last-child .mrow.pubt .nm{grid-area:nm;font-size:14px;line-height:1.25}
.res .pane:last-child .mrow.pubt .track{grid-area:tr;height:10px}
.res .pane:last-child .mrow.pubt .v{grid-area:v;align-self:center}
#s-results .prow{grid-template-columns:minmax(0,1fr);row-gap:0}
#s-results .prow .pcell{display:grid;grid-template-columns:40px auto minmax(0,1fr);column-gap:12px;align-items:center;padding:10px 0;border-left:0;border-top:1px solid var(--line)}
#s-results .prow .pcell:first-child{border-top:0}
#s-results .prow .pcell b::after{display:none}
#codePre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px}
/* task browser: grouping segments wrap; each table row becomes a card with its four pass rates */
#dmSeg{flex-wrap:wrap;height:auto;row-gap:4px}
#dmSeg button{padding:6px 10px}
.extab{display:block;min-width:0}
.extab thead,.extab tbody{display:block}
.extab thead tr{display:flex;flex-wrap:wrap;gap:6px;padding:4px 0 10px}
.extab thead th{position:static;border:0;background:none}
.extab thead th button{width:auto;border:1px solid var(--line-2);border-radius:99px;padding:7px 10px}
.extab tbody tr{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));border-top:1px solid var(--line);padding:10px 0}
.extab tbody td{border:0;padding:4px 6px 0 0;min-width:0}
.extab tbody td:first-child{grid-column:1 / -1;min-width:0;padding:0 0 6px}
.extab tbody td:last-child{grid-column:1 / -1;font-size:12px;color:var(--fg-3);padding-top:6px}
.extab tbody td:last-child::before{content:"At stake · "}
.extab tbody td.mp1::before{display:block;font:400 10.5px/1.2 var(--mono);letter-spacing:.06em;text-transform:uppercase;color:var(--fg-3);margin-bottom:2px}
.extab tbody td:nth-child(2)::before{content:"Fable"}
.extab tbody td:nth-child(3)::before{content:"Astra"}
.extab tbody td:nth-child(4)::before{content:"Carbon"}
.extab tbody td:nth-child(5)::before{content:"Opus"}
.extab tbody td:nth-child(6)::before{content:"Muse"}
.extab tbody td.empty{grid-column:1 / -1}
.extab tbody td.empty::before{content:none}
/* task page: tabs on one line; run cards stack their line and button */
body[data-view="task"] .tgrid>*{min-width:0}
body[data-view="task"] .tabbar{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;gap:20px;max-width:100%}
body[data-view="task"] .tabbar::-webkit-scrollbar{display:none}
body[data-view="task"] .tabbar button{font-size:16px!important;white-space:nowrap;flex:none}
body[data-lay="b"] .truns.fk.fk2 a.tr-card .tr-tag,body[data-lay="b"] .truns.fk.fk2 .tr-cards .tr-tag{grid-column:1 / -1;grid-row:auto;padding-right:0}
body[data-lay="b"] .truns.fk.fk2 a.tr-card .tr-go{grid-column:1 / -1;grid-row:auto;justify-self:start}
body[data-lay="b"] .truns.fk.fk2 a.tr-card .fk-pic{grid-column:1 / -1}
body[data-lay="b"] .truns.fk.fk2 .tr-cards .tr-top b{font-size:24px}
.tr-card .chip{padding:3px 10px}
/* task page metrics table: the four models as column heads, each metric as a row under them */
body[data-view="task"] .tabpanel .mt2,body[data-view="task"] .tabpanel .mt2 thead,body[data-view="task"] .tabpanel .mt2 tbody{display:block}
body[data-view="task"] .tabpanel .mt2 tr{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));column-gap:10px}
body[data-view="task"] .tabpanel .mt2 tr:has(> :nth-child(6)){grid-template-columns:repeat(5,minmax(0,1fr));column-gap:8px}
body[data-view="task"] .tabpanel .mt2 th,body[data-view="task"] .tabpanel .mt2 td{padding:0!important;border:0;width:auto}
body[data-view="task"] .tabpanel .mt2 thead th:first-child{grid-column:1 / -1;padding-bottom:10px!important}
body[data-view="task"] .tabpanel .mt2 thead th[data-m]{white-space:normal;font-size:12.5px!important;line-height:1.25;padding-bottom:10px!important;border-bottom:1px solid var(--line-2)}
body[data-view="task"] .tabpanel .mt2 thead th .mlogo{display:block;margin:0 0 4px}
body[data-view="task"] .tabpanel .mt2 th .mid{display:none}
body[data-view="task"] .tabpanel .mt2 tbody tr{padding:10px 0;border-bottom:1px solid var(--line);row-gap:6px}
body[data-view="task"] .tabpanel .mt2 tbody td:first-child{grid-column:1 / -1;font-size:14px!important;line-height:1.3}
body[data-view="task"] .tabpanel .mt2 td .v{display:block;width:auto;font-size:14px!important}
body[data-view="task"] .tabpanel .mt2 td .b{display:block;width:100%;max-width:none;margin-top:4px}
/* run page: the verdict right after the title, then the steps, then all runs and the rubric */
body[data-view="run"] .runb.v2 .c-grid .c-side{display:contents}
body[data-view="run"] .runb.v2 .c-grid .c-ttl,body[data-view="run"] .runb.v2 .c-grid.up .c-ttl{order:-3}
body[data-view="run"] .runb.v2 .c-grid .c-side .c-res,body[data-view="run"] .runb.v2 .c-grid.up .c-side .c-res{order:-2}
body[data-view="run"] .runb.v2 .c-grid .b-steps,body[data-view="run"] .runb.v2 .c-grid.up .b-steps{order:0}
body[data-view="run"] .runb.v2 .c-grid .c-side .c-hr,body[data-view="run"] .runb.v2 .c-grid.up .c-side .c-hr{order:1}
body[data-view="run"] .runb.v2 .c-grid .c-side .c-rub,body[data-view="run"] .runb.v2 .c-grid.up .c-side .c-rub{order:2;position:static;max-height:none;overflow:visible}
body[data-view="run"] .runb.v2 .c-ttl h1{font-size:28px!important;line-height:1.12}
.runb.v2 .rg-n{white-space:normal}
/* step cards: who, to whom and the channel wrap instead of being cut */
body[data-view="run"] .runb.v2 .b-step .b-hd{flex-wrap:wrap!important;overflow:visible!important;row-gap:8px}
body[data-view="run"] .runb.v2 .b-step .b-hd .pchip{max-width:100%}
body[data-view="run"] .runb.v2 .b-step .b-hd .pchip:has(.pc-ag) em,body[data-view="run"] .runb.v2 .b-step .b-hd .pchip:has(.pc-ic) em{display:none}
body[data-view="run"] .runb.v2 .b-step .b-hd .pchip b,body[data-view="run"] .runb.v2 .b-step .b-hd.tight .pchip b{white-space:normal;overflow:visible;text-overflow:clip}
/* rubric rows decided: the verdict and points on one line, the row's text under them at full width */
.b-row>summary{grid-template-columns:auto minmax(0,1fr) auto!important}
.b-row>summary>i{grid-column:1;grid-row:1}
.b-row>summary>em{grid-column:3;grid-row:1}
.b-row>summary>.tx{grid-column:1 / -1;grid-row:2}
/* back to top: a small round button in the corner, not a pill over the text */
.b-top{left:auto!important;right:14px!important;transform:none!important;bottom:calc(14px + env(safe-area-inset-bottom,0px))!important;width:44px;height:44px!important;padding:0!important;border-radius:50%!important}
.b-top:hover{transform:none!important}
.b-top .btn-t{font-size:0!important}
.b-top .btn-t::before{content:"↑";font-size:17px}
.b-top{width:40px!important;height:40px!important;opacity:.92}
.foot{padding-bottom:72px}
.foot .sp{margin-left:0;text-align:left}
/* code sample: one block per command line, wrapped parts indented under it (lb-extras.js marks the lines) */
#codePre.lines{white-space:normal}
#codePre.lines .ln{display:block;white-space:pre-wrap;overflow-wrap:break-word;padding-left:2ch;text-indent:-2ch;min-height:1.35em}
/* step headers: names only, so sender, recipient and channel fit one or two lines */
body[data-view="run"] .runb.v2 .b-step .b-hd .pchip em{display:none}
body[data-view="run"] .runb.v2 .b-step .b-hd .pchip b{align-self:center}
body[data-view="run"] .runb.v2 .b-step .b-hd .pchip .av,body[data-view="run"] .runb.v2 .b-step .b-hd .pchip .pc-ag,body[data-view="run"] .runb.v2 .b-step .b-hd .pchip .pc-ic{width:28px!important;height:28px!important}
body[data-view="run"] .runb.v2 .b-step .b-hd .pchip b{font-size:15px!important}
body[data-view="run"] .runb.v2 .b-step .b-hd{column-gap:8px!important}
body[data-view="run"] .runb.v2 .b-step .b-hd::after{content:"";flex-basis:100%;order:1}
body[data-view="run"] .runb.v2 .b-step .b-hd .parr.via,body[data-view="run"] .runb.v2 .b-step .b-hd .parr.via~*{order:2}
/* end-of-page rubric rows: the score under the row's text */
body[data-view="run"] .runb.v2 .c-rub{padding-left:12px;padding-right:12px}
body[data-view="run"] .runb.v2 .c-rub .c-row{grid-template-columns:14px minmax(0,1fr)}
body[data-view="run"] .runb.v2 .c-rub .c-row em{grid-column:2;justify-self:start}
/* task list: rows with an inner margin; the sort chips scroll in one row */
.extab tbody tr{padding:12px}
.extab thead tr{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;padding:4px 12px 10px}
.extab thead tr::-webkit-scrollbar{display:none}
.extab thead th{flex:none}
/* task page: featured run header on one line; bullets fill their lines; runs card labels readable */
body[data-view="task"] .tr-card .tr-top b{font-size:28px!important}
body[data-view="task"] .tr-card .lab{white-space:nowrap}
body[data-view="task"] .t-lead li,body[data-view="task"] .t3-b li,body[data-view="task"] .t-lead p{text-wrap:pretty!important}
.tr-res .rs-h .rs-hm,.tr-res .rs-h .rs-hp{font-size:10.5px}
/* home: model names get more room; a task's n follows its name */
#resBars .mrow{grid-template-columns:minmax(0,1.6fr) minmax(56px,1fr) 58px}
.res .pane:last-child .mrow.pubt .nm{display:block}
.res .pane:last-child .mrow.pubt .nm small{display:inline;margin-left:6px}
}
/* Film caption: the film shows a pilot task, not one of the 75. Top left, clear of the close button and the video controls. */
.h3cap{position:absolute;top:22px;left:max(16px,env(safe-area-inset-left,0px));max-width:min(60%,520px);margin:0;font:400 12px/1.4 var(--mono);letter-spacing:.02em;color:rgba(255,255,255,.82);pointer-events:none;z-index:1}
/* Run summaries (#res-): every square without a replay opens one. Now that neighbouring squares are all links, the phone
tap area around a square (see "bigger tap areas" above) stops at half the gap, so a tap opens the square under the finger. */
.rg .rg-d a.sq.sum,.rs-d a.sq.sum{cursor:pointer;position:relative;opacity:1}
.rg .rg-d a.sq.sum:hover,.rg .rg-d a.sq.sum:focus-visible,.rs-d a.sq.sum:hover,.rs-d a.sq.sum:focus-visible{outline:1px dashed var(--fg-3);outline-offset:1px}
@media (max-width:720px){.rg .rg-d a.sq.open::after,.rg .rg-d a.sq.sum::after,.rs-d a.sq.open::after,.rs-d a.sq.sum::after{content:"";position:absolute;inset:-2px}}
.rsum .sm-head,.rsum .sm-cmd,.rsum .sm-none{max-width:860px}
.sm-head{margin:10px 0 24px}
.sm-top{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.sm-score{margin-left:auto;font-size:22px;font-weight:500}.sm-score small{font-size:13px;color:var(--fg-3);margin-left:2px}
.sm-ttl{font-size:clamp(22px,4.2vw,32px);line-height:1.15;letter-spacing:-.02em;margin:14px 0 6px;font-weight:500}
.sm-cat{display:flex;align-items:center;gap:8px;color:var(--fg-2);margin:0 0 12px}
.sm-cat .sq{width:12px;height:12px;border-radius:3px;flex:none}
.sm-cat .sq.ok{background:color-mix(in srgb,var(--ok) 45%,var(--panel))}.sm-cat .sq.bad{background:color-mix(in srgb,var(--bad) 45%,var(--panel))}
.sm-note{color:var(--fg-2);max-width:68ch;margin:0;line-height:1.5}
.sm-rows{list-style:none;padding:0;margin:0 0 32px;display:grid;gap:10px;grid-template-columns:repeat(auto-fill,minmax(min(100%,460px),1fr));align-items:start}
.sm-row{border:1px solid var(--line);border-radius:var(--r,10px);padding:14px 16px;background:var(--panel);min-width:0}
.sm-rh{display:flex;align-items:baseline;gap:6px 10px;flex-wrap:wrap}
.sm-k{font:400 11px/1 var(--mono);letter-spacing:.09em;text-transform:uppercase;color:var(--fg-3)}
.sm-st{font-size:13px;font-weight:500}
.sm-row.ok .sm-st{color:var(--ok)}.sm-row.lost .sm-st{color:var(--bad)}.sm-row.part .sm-st{color:var(--warn,var(--fg-2))}.sm-row.skip .sm-st{color:var(--fg-3)}
.sm-pts{margin-left:auto;font-size:13px;font-weight:500}
.sm-crit{margin:8px 0 0;line-height:1.45}
.sm-why{margin:10px 0 0;color:var(--fg-2);line-height:1.5;font-size:13.5px;overflow-wrap:anywhere}
.sm-why .lab{display:block;margin-bottom:6px}
.sm-ag{display:block;margin-top:8px;font-size:11.5px;color:var(--fg-3)}
.sm-cmd .belowh{font-size:clamp(20px,2.2vw,26px);margin-bottom:12px}
.sm-code{display:flex;gap:8px;align-items:flex-start;border:1px solid var(--line);border-radius:var(--r,10px);padding:10px 12px;background:var(--panel)}
.sm-code pre{margin:0;flex:1;min-width:0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:12.5px;line-height:1.5}
.sm-copy{flex:none;font:inherit;font-size:12.5px;padding:6px 12px;min-height:32px;border:1px solid var(--line);border-radius:8px;background:transparent;color:var(--fg);cursor:pointer}
.sm-meta{color:var(--fg-3);font-size:12px;margin:8px 0 32px;overflow-wrap:anywhere}
.sm-wait{padding:48px 0;color:var(--fg-2)}
@media (max-width:560px){.sm-row{padding:12px}.sm-score{font-size:19px}}
.sm-none{border:1px dashed var(--line);border-radius:var(--r,10px);padding:14px 16px;color:var(--fg-2);margin:0 0 32px}
/* Copy link in the crumb bar (task, run and summary pages): the Back button's look, at the right end */
.crumb .cl{order:1;margin-left:auto;margin-right:0;cursor:pointer;font:500 13px/1 var(--font);color:var(--fg)}
.crumb .cl .cl-i{flex:none}
.cl-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}
@media (max-width:480px){.crumb .cl .cl-t{display:none}.crumb .cl{padding:0 10px}} /* icon only: a check mark shows it copied; the text would squeeze the Back button */
/* Accessibility fixes Isaac approved (11-30): the code sample's tabs in their own tablist, with Copy beside them; the code
is their panel and takes keyboard focus so it can scroll */
.code .tabs .tl{display:flex;gap:2px}
.code pre:focus-visible{outline:2px solid #EAEAEA;outline-offset:-4px;border-radius:6px}
/* Home leaderboard (every task, public and private): pass³ solid over pass@1 pale, in each lab's colour as in the task charts */
#resBars .track.lyr{overflow:visible;background:var(--panel-2)}
#resBars .track.lyr i.lbp1{background:color-mix(in srgb,var(--mcol,var(--fg)) 36%,var(--panel))}
#resBars .track.lyr i.nz{min-width:3px}
#resBars .track.lyr i.lbp3{background:var(--mcol,var(--fg))}
#resBars .track.lyr em{position:absolute;top:50%;margin-left:6px;transform:translateY(-50%);font:400 11.5px/1 var(--mono);font-style:normal;color:var(--fg-3);white-space:nowrap;font-variant-numeric:tabular-nums}
#resBars .mrow.lbr .nm{display:grid;grid-template-columns:20px 16px minmax(0,1fr);column-gap:8px;align-items:center}
#resBars .mrow.lbr .nm em{width:auto;text-align:right;font-variant-numeric:tabular-nums}
#resBars .mrow.lbr .nm .mn{min-width:0;display:block;line-height:1.15}
#resBars .mrow.lbr .nm .mt{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#resBars .mrow.lbr .nm .mh{display:block;justify-self:start;text-align:left;margin-top:1px;font:400 10.5px/1.2 var(--mono);color:var(--fg-3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#resBars .mrow.lbr{padding:3px 0}
#resBars .mrow.lbr .v{font-weight:600}
#s-results .lbk{display:flex;flex-wrap:wrap;gap:4px 14px;font-size:12.5px;color:var(--fg-3)}
#s-results .lbk span{display:inline-flex;align-items:center;gap:6px}
#s-results .lbk i{width:16px;height:8px;border-radius:4px;background:var(--fg)}
#s-results .lbk i.p{background:color-mix(in srgb,var(--fg) 24%,var(--panel))}
#s-results .lbh{display:grid;grid-template-columns:210px 60px minmax(0,1fr);column-gap:12px;font-size:11.5px;color:var(--fg-3);padding:0 0 6px;border-bottom:1px solid var(--line);margin-bottom:4px}
#s-results .lbh span:nth-child(2){text-align:right}
@media (min-width:721px){#resBars .mrow.lbr{grid-template-columns:210px 60px minmax(0,1fr)}}
@media (max-width:720px){ /* name, harness and effort on one line; under it pass³, then its bar at full width */
#resBars .mrow.lbr{grid-template-columns:52px minmax(0,1fr);grid-template-areas:"nm nm" "v tr";column-gap:10px;row-gap:5px;padding:6px 0}
#resBars .mrow.lbr .nm{grid-area:nm;grid-template-columns:18px 16px minmax(0,1fr);column-gap:6px}
#resBars .mrow.lbr .nm .mt,#resBars .mrow.lbr .nm .mh{display:inline;white-space:normal}
#resBars .mrow.lbr .nm .mh{margin-left:6px}
#resBars .mrow.lbr .track{grid-area:tr}
#resBars .mrow.lbr .v{grid-area:v;align-self:center}
#s-results .lbh{grid-template-columns:minmax(0,1fr)}
#s-results .lbh span:nth-child(n+2){display:none}
}
[data-m="beam"]{--mcol:#111111}
/* Run steps: the expanded part of a step reuses the class .more, whose small-caps mono label style made its quotes all caps */
.runb.v2 .b-what .more{font:inherit;letter-spacing:normal;text-transform:none}
/* Partner logos in the home page hero, under the two buttons (Isaac, 12-01). Daytona's white logotype and Tokenless's
"for dark backgrounds" logo and name; the two names have the same letter height. Phones: 25% smaller. */
.partners{display:flex;align-items:center;flex-wrap:wrap;gap:12px 28px}
.partners a{display:inline-flex;align-items:center;line-height:0}
.partners .pt-lbl{font:400 12px/1.4 var(--mono);letter-spacing:.06em;text-transform:uppercase}
.partners .pt-day{height:20.4px;width:auto}
.partners .pt-tok{height:25.5px;width:auto}
.partners.on-dark{margin-top:28px;color:rgba(255,255,255,.78)}
.partners.on-dark .pt-lbl{color:rgba(255,255,255,.78)}
/* caps label beside mixed-case wordmarks: drop it onto the logos' baseline (box centers already match) */
.partners .pt-lbl{transform:translateY(.24em)}
@media (max-width:720px){.partners{gap:10px 22px}.partners.on-dark{margin-top:20px}.partners .pt-lbl{flex-basis:100%;font-size:11px;transform:none}.partners .pt-day{height:15.3px}.partners .pt-tok{height:19.1px}}
/* The leaderboard's cost chart (lb-extras.js CBPARETO): beside the leaderboard, pinned, on wide screens; below it otherwise */
#s-results .res{grid-template-columns:minmax(0,1fr)}
#s-results .lbw{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;min-width:0}
@media (min-width:1101px){#s-results .lbw{grid-template-columns:minmax(0,6fr) minmax(0,7fr);align-items:start}}
@media (min-width:1101px) and (min-height:640px){#s-results .lbw>.pane.parp{position:sticky;top:calc(var(--hdr) + env(safe-area-inset-top,0px) + 16px)}}
.parp{--r:12px;position:relative}
.parp .pp-sub{margin:-4px 0 12px;font-size:12.5px;color:var(--fg-3)}
.parp .pp-plot{position:relative}
.parp .pp-svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.parp .pp-svg .gl{stroke:var(--line);stroke-width:1}
.parp .pp-svg .gl.gx{stroke-dasharray:2 4}
.parp .pp-svg .tk{font:400 11px var(--mono);fill:var(--fg-3)}
.parp .pp-svg .ax{font:500 11.5px var(--mono);fill:var(--fg-2)}
.parp .pp-svg .fr{fill:none;stroke:var(--fg);stroke-width:1.75;stroke-linejoin:round;stroke-linecap:round}
.parp .pp-svg .ld{opacity:0;transition:opacity .3s}.parp .pp-svg .ld.in{opacity:1}
.parp .pp-svg .ld line{stroke:var(--fg-3);stroke-width:1}.parp .pp-svg .ld.ll line{stroke:var(--fg-3);stroke-opacity:.7}.parp .pp-svg .ld circle{fill:var(--fg-3)}
.pp-pt{position:absolute;left:0;top:0;width:calc(2*var(--r));height:calc(2*var(--r));display:grid;place-items:center;padding:0;border-radius:50%;
border:1px solid var(--line-2);background:var(--panel);cursor:pointer;opacity:0;transition:transform .6s cubic-bezier(.2,.7,.2,1),opacity .25s,box-shadow .2s,border-color .2s}
.pp-pt .mlogo{width:58%;height:58%;display:block}
.pp-pt.in{opacity:1}
.pp-pt.fr{border:2px solid var(--fg)}
.pp-pt:focus-visible{outline:2px solid var(--fg);outline-offset:2px}
.pp-pt.on{z-index:3;box-shadow:0 0 0 4px color-mix(in srgb,var(--mcol,var(--fg)) 28%,transparent)}
.parp.pp-hl .pp-pt.in:not(.on){opacity:.3}
.parp.pp-hl .pp-lb.in:not(.on){opacity:.25}
.parp.pp-hl .pp-svg .ld.in:not(.on){opacity:.25}
.pp-lb{position:absolute;font-size:12px;line-height:14px;font-weight:500;color:var(--fg-2);white-space:nowrap;opacity:0;transition:opacity .3s;pointer-events:none;
text-shadow:0 0 2px var(--panel),0 0 3px var(--panel),0 0 4px var(--panel)}
.pp-lb.in{opacity:1}.pp-lb.fr{color:var(--fg);font-weight:600}
.parp .pp-hint{position:absolute;inset:0 0 34px 44px;display:grid;place-items:center;margin:0;color:var(--fg-3);font-size:13px;pointer-events:none;transition:opacity .3s}
.parp .pp-foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 16px;margin-top:12px;font-size:12px;color:var(--fg-3)}
.parp .pp-key{display:inline-flex;align-items:center;gap:8px}
.parp .pp-key i{display:block;width:22px;border-top:1.75px solid var(--fg)}
.parp .pp-tray{display:inline-flex;align-items:center;gap:6px}
.parp .pp-tray .pp-pt{position:relative;transform:none!important}
.parp .pp-tl{margin-right:2px}
.parp .pp-tip{position:absolute;z-index:6;min-width:184px;max-width:240px;padding:10px 12px;border:1px solid var(--line-2);border-radius:10px;background:var(--panel);
box-shadow:0 10px 28px rgba(0,0,0,.12);font-size:12.5px;pointer-events:none}
.parp .pp-tip b{display:flex;align-items:center;gap:7px;font-size:13.5px;font-weight:600;color:var(--fg)}
.parp .pp-tip b .mlogo{width:16px;height:16px;flex:none}
.parp .pp-tip .mono{display:block;margin:3px 0 8px;font:400 11px var(--mono);color:var(--fg-3)}
.parp .pp-tip dl{display:grid;grid-template-columns:auto auto;gap:3px 16px;margin:0}
.parp .pp-tip dt{color:var(--fg-3)}.parp .pp-tip dd{margin:0;text-align:right;font:500 12px var(--mono);color:var(--fg)}
.parp .pp-tip em{display:block;margin-top:8px;font-style:normal;font-size:11.5px;font-weight:500;color:var(--fg)}
.pp-fly{position:fixed;inset:0;z-index:8;pointer-events:none;--r:12px}
.pp-fly .pp-pt{transition:none;will-change:transform;border-color:color-mix(in srgb,var(--line-2) calc(var(--disc,0)*100%),transparent);
background:color-mix(in srgb,var(--panel) calc(var(--disc,0)*100%),transparent)}
#resBars .mrow.lbr{transition:background-color .2s}
#resBars .mrow.lbr.lk,#resBars .mrow.lbr.fl{background:color-mix(in srgb,var(--mcol,var(--fg)) 9%,transparent);border-radius:6px}
/* runs card: pass³ (the leaderboard's primary metric) left of pass@1, and each model's harness and reasoning effort */
.rs-m,.tr-res .rs-m,.tr-res.wide .rs-m{grid-template-columns:auto auto 48px minmax(60px,1fr) 48px}
@media (min-width:1240px){.tr-res.wide .rs-m{grid-template-columns:auto auto 42px minmax(20px,1fr) 42px}}
@media (max-width:900px){.rs-m,.tr-res .rs-m,.tr-res.wide .rs-m{grid-template-columns:minmax(0,1fr) auto 42px 44px}}
.tr-res .rs-h .rs-h3,.tr-res .rs-h .rs-h1{text-transform:none;letter-spacing:.02em;font-size:12px;text-align:right}
.tr-res .rs-h .rs-h3{grid-column:3}
.tr-res .rs-h .rs-h1{grid-column:4 / 6}
@media (max-width:900px){.tr-res .rs-h .rs-h1{grid-column:4}}
.tr-res .rs-r .rs-3{text-align:right}
.tr-res .rs-n .rs-nt{display:flex;flex-direction:column;gap:2px;min-width:0;line-height:1.15}
.tr-res .rs-n .rs-nt small{font-size:12px;color:var(--fg-3);white-space:nowrap}
.tr-res.wide .rs-n .rs-nt>*{overflow:hidden;text-overflow:ellipsis}
@media (min-width:901px) and (max-width:1239px){.tr-res.wide .rs-m{grid-template-columns:200px auto 48px minmax(60px,1fr) 48px}}
/* run page: the full transcript (transcript.js), below the steps */
.txs{margin:48px 0 24px;border:1px solid var(--line);border-radius:var(--r);background:var(--panel);padding:24px}
.txs-hd{display:flex;gap:24px;align-items:flex-end;justify-content:space-between;flex-wrap:wrap}
.txs-tt{max-width:72ch;min-width:0}
.txs-tt h2{font-size:24px;line-height:1.15;letter-spacing:-.01em;margin:6px 0 8px;font-weight:500}
.txs-tt p{color:var(--fg-2);font-size:15px;line-height:1.5;margin:0}
.txs-body{margin-top:20px;border-top:1px solid var(--line);padding-top:16px}
.txs-bar{display:flex;gap:16px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin-bottom:12px}
.txs-n{font-size:12px;color:var(--fg-3);margin:0}
.txs-mode{display:inline-flex;border:1px solid var(--line-2);border-radius:99px;overflow:hidden}
.txs-mode button{font:inherit;font-size:13px;padding:6px 14px;background:none;border:0;color:var(--fg-2);cursor:pointer}
.txs-mode button[aria-pressed="true"]{background:var(--fg);color:var(--bg)}
.tx-l{list-style:none;margin:0;padding:0}
.tx-e{display:grid;grid-template-columns:72px minmax(0,1fr);gap:12px;padding:10px 0;border-top:1px solid var(--line)}
.tx-l>.tx-e:first-child{border-top:0}
.tx-b{min-width:0}
.tx-t{font-size:12px;color:var(--fg-3);padding-top:3px}
.tx-h{display:flex;flex-wrap:wrap;gap:8px;align-items:center;font-size:13px}
.tx-k{font-weight:500;display:inline-flex;align-items:center;gap:6px;color:var(--fg)}
.tx-k .mlogo{width:16px;height:16px;flex:none;fill:var(--mcol,var(--fg))}
.tx-via{font-size:12px;color:var(--fg-3);overflow-wrap:anywhere}
.tx-x{margin:6px 0 0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:15px;line-height:1.5}
.k-prompt .tx-b{background:var(--panel-2);border-radius:12px;padding:12px 14px}
.k-msg .tx-x,.k-beat .tx-x{border-left:2px solid var(--line-2);padding-left:12px}
.k-send .tx-x{border-left:2px solid var(--fg);padding-left:12px}
.tx-c2{margin-top:6px;width:auto}
.k-send .tx-ax{font-size:12px;color:var(--fg-2)}
.tx-tag{font-size:11.5px;color:var(--fg-3);border:1px solid var(--line-2);border-radius:99px;padding:1px 8px}
.k-note .tx-x{color:var(--fg-2);font-size:14px}
.k-brief .tx-x{color:var(--fg-2);font-size:14px;border-left:2px dashed var(--line-2);padding-left:12px}
.k-grade .tx-h b{font-size:15px}
.tx-tool{font-family:var(--mono);font-size:12.5px;background:var(--panel-2);border-radius:6px;padding:2px 6px;overflow-wrap:anywhere}
.tx-c{all:unset;box-sizing:border-box;display:flex;align-items:center;gap:8px;width:100%;min-width:0;font-size:13px}
button.tx-c{cursor:pointer}
button.tx-c:focus-visible{outline:2px solid var(--fg);outline-offset:3px;border-radius:4px}
.tx-a1{flex:1 1 0;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;color:var(--fg-3)}
.tx-more{flex:none;font-size:12px;color:var(--fg-2)}
button.tx-c:hover .tx-more,button.tx-c[aria-expanded="true"] .tx-more{color:var(--fg);text-decoration:underline;text-underline-offset:2px}
.k-call,.k-local{padding:7px 0}
.tx-p pre{font-family:var(--mono);font-size:12px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere;margin:8px 0 0;color:var(--fg-2);overflow:auto}
.tx-p .tx-a{max-height:220px}
.tx-p .tx-rr{background:var(--panel-2);border-radius:8px;padding:10px 12px;max-height:320px}
.tx-pre summary{cursor:pointer;font-size:12.5px;color:var(--fg-2)}
.tx-burst .k-call .tx-k{display:none}
.tx-burst summary{cursor:pointer;display:flex;flex-wrap:wrap;gap:4px 10px;align-items:baseline;font-size:13px;color:var(--fg-2)}
.tx-burst summary b{font-weight:500;color:var(--fg)}
.tx-span{font-size:11.5px;color:var(--fg-3);margin-left:auto}
.tx-burst>ol{margin:8px 0 0;border-left:2px solid var(--line);padding-left:12px}
.tx-burst .tx-e{grid-template-columns:64px minmax(0,1fr)}
.tx-errn{font-size:11.5px;color:var(--bad)}
.tx-pre{margin:0 0 12px;padding-bottom:12px;border-bottom:1px solid var(--line)}
.tx-pre>ol{margin-top:8px}
.txs-more{margin:16px auto 0;display:block}
.txs-err{color:var(--bad);margin:0}
@media (max-width:720px){.txs{padding:16px;margin-top:32px}.txs-tt h2{font-size:20px}.tx-e,.tx-burst .tx-e{grid-template-columns:minmax(0,1fr);gap:4px}.tx-t{padding-top:0}.tx-span{margin-left:0}.tx-c{flex-wrap:wrap}.tx-a1{display:none}}
/* a dynamism group with no public task (Self-caused): a request for the private set (Isaac, 12-01) */
.dotmap .tag.req{border-style:dashed;border-color:var(--line-2);color:var(--fg)}
.dotmap .tag.req:hover{border-style:solid;border-color:var(--fg)}
.dotmap .tag.req small{font:500 11px/1 var(--mono);opacity:1;display:inline-flex;align-items:center;gap:4px;white-space:nowrap}
.dotmap .tag.req small svg{width:12px;height:12px}
.dmnote{font:400 11px/1.4 var(--mono);color:var(--fg-3);padding-top:4px}
/* the task page's results band: its pass³ above its pass@1 */
.rs-p .rs-k{display:flex;flex-direction:column;gap:6px}.rs-p .rs-k+.rs-k{margin-top:12px;padding-top:14px;border-top:1px solid var(--line)}