/* The fonts are in the assembly (assets/fonts/README.md): a page asks nothing of the network. */
@font-face{font-family:Geist;src:url(/assets/fonts/geist-latin-wght-normal.woff2) format("woff2");font-weight:100 900;font-display:swap}
@font-face{font-family:'Geist Mono';src:url(/assets/fonts/geist-mono-latin-wght-normal.woff2) format("woff2");font-weight:100 900;font-display:swap}
@font-face{font-family:'Space Grotesk';src:url(/assets/fonts/space-grotesk-latin-700-normal.woff2) format("woff2");font-weight:700;font-display:swap}
/* auspex, one style: dark ground, Geist text, Space Grotesk heads, Geist Mono for ids and commands.
   Every artboard on the "One style" page links this file and adds no colours of its own. */
:root{
  --ground:#101418; --raised:#161b21; --hover:#1a2029;
  --hair:#262c34; --rule:#3a424d;
  --text:#eef1f4; --soft:#c0c7d0; --dim:#9aa4b0;
  --accent:#c6f24e; --link:#8ab8f5; --link-hover:#b9d6fb;
  --friction:#c4a6f5;
  --right-bg:#1d4428; --right:#b6efc0;
  --wrong-bg:#5a2f0c; --wrong:#ffcf9e;
  --lost-bg:#2c323b; --lost:#c3cad3;
  --sans:Geist,system-ui,sans-serif; --head:'Space Grotesk',Geist,system-ui,sans-serif; --mono:'Geist Mono',ui-monospace,monospace;
}
/* Type: six roles, each one face, one size and one line height (the canvas's board "6 · Type", agreed 2026-11-27).
   Every piece of text is one of them. Two weights, 400 and 600 (.strong); 700 belongs to Title and Heading.
   Nothing below and no page sets a font size of its own; the Title's size on a narrow screen is the one exception. */
:root{--t-title:700 32px/1.15 var(--head);--t-heading:700 18px/1.3 var(--head);--t-lead:400 16px/1.5 var(--sans);--t-body:400 14px/1.45 var(--sans);--t-small:400 12px/1.45 var(--sans);--t-code:400 13px/1.45 var(--mono)}
/* Web Awesome's theme reads ours: its three faces, its sizes folded onto Small, Body, Lead, Heading and Title, its two weights, its surfaces and text.
   So a component's size="small" is Small, medium is Body, large is Lead, and none brings a size of its own. */
:root,.wa-dark,.wa-light{
  --wa-font-family-body:var(--sans);--wa-font-family-heading:var(--head);--wa-font-family-code:var(--mono);--wa-font-family-longform:var(--sans);
  --wa-font-size-3xs:12px;--wa-font-size-2xs:12px;--wa-font-size-xs:12px;--wa-font-size-s:12px;--wa-font-size-m:14px;--wa-font-size-l:16px;--wa-font-size-xl:18px;--wa-font-size-2xl:18px;--wa-font-size-3xl:32px;--wa-font-size-4xl:32px;--wa-font-size-5xl:32px;
  --wa-font-weight-light:400;--wa-font-weight-normal:400;--wa-font-weight-body:400;--wa-font-weight-code:400;--wa-font-weight-longform:400;--wa-font-weight-semibold:600;--wa-font-weight-bold:600;--wa-font-weight-action:600;--wa-font-weight-heading:700;
  --wa-color-surface-default:var(--ground);--wa-color-surface-raised:var(--raised);--wa-color-surface-lowered:var(--ground);--wa-color-surface-border:var(--hair);
  --wa-color-text-normal:var(--text);--wa-color-text-quiet:var(--dim);--wa-color-text-link:var(--link);
}
body{margin:0;background:var(--ground);font:var(--t-body);color:var(--text)}
a{color:var(--link)}a:hover{color:var(--link-hover)}
.dim{color:var(--dim)}
.soft{color:var(--soft)}
.num{font-variant-numeric:tabular-nums}
.small{font:var(--t-small)}
.label{font:var(--t-small);color:var(--dim)}
.mono{font:var(--t-code)}

/* the page and its sections: a 200px heading column, a lime rule above each section, no boxes */
.page{max-width:1360px;margin:0 auto;padding:24px 40px 56px;box-sizing:border-box;display:flex;flex-direction:column;gap:36px}
.crumbs{font:var(--t-code);color:var(--dim);display:flex;gap:8px;flex-wrap:wrap}
.crumbs a{color:var(--soft);text-decoration:none}.crumbs a:hover{color:var(--text);text-decoration:underline}
.title{margin:0;font:var(--t-title);letter-spacing:-0.02em;max-width:940px}
.facts{margin:4px 0 0;display:flex;flex-wrap:wrap;gap:12px 36px}
.facts>div{display:flex;flex-direction:column;gap:2px}
.facts dt{font:var(--t-small);color:var(--dim)}
.facts dd{margin:0;font-weight:600}
.sec{display:grid;grid-template-columns:200px minmax(0,1fr);gap:12px 32px;border-top:2px solid var(--accent);padding-top:14px}
.sec-plain{border-top:1px solid var(--rule)}
.sec-head{display:flex;flex-direction:column;gap:8px}
.sec h2{margin:0;font:var(--t-heading);color:var(--accent)}
.note{font:var(--t-small);color:var(--dim)}
.sec-body{overflow-x:auto;min-width:0}
@media (max-width:820px){.sec{grid-template-columns:minmax(0,1fr)}.page{padding:20px 16px 40px}.title{font-size:26px}}

/* rows of a table drawn as a grid: hairline above every row, a small dim header row */
.row{display:grid;gap:8px 20px;align-items:start;padding:11px 0;border-top:1px solid var(--hair)}
.row-head{border-top:none;padding-top:0;font:var(--t-small);color:var(--dim);align-items:end}
.row-sum{border-top-color:var(--rule)}
a.row{text-decoration:none;color:var(--text)}a.row:hover{background:var(--hover)}
.stack{display:flex;flex-direction:column;gap:2px}

/* a result: right, wrong, lost, not run. Words, never colour alone */
.res{display:flex;align-items:center;justify-content:center;min-height:44px;border-radius:6px;font:var(--t-small);font-weight:600;text-decoration:none}
.res-right{background:var(--right-bg);color:var(--right)}
.res-wrong{background:var(--wrong-bg);color:var(--wrong)}
.res-lost{background:var(--lost-bg);color:var(--lost)}
.res-none{background:transparent;color:var(--dim);font-weight:400;border:1px dashed #4a525e}
a.res:hover{box-shadow:inset 0 0 0 2px var(--link);color:inherit}
/* one try's count, small, in a line of tries */
.try{display:inline-flex;align-items:center;justify-content:center;min-width:34px;padding:3px 6px;border-radius:4px;font:var(--t-code);text-decoration:none;font-variant-numeric:tabular-nums}
.try-right{background:var(--right-bg);color:var(--right)}
.try-wrong{background:var(--wrong-bg);color:var(--wrong)}
.try-lost{background:var(--lost-bg);color:var(--lost)}
.tries{display:flex;gap:4px;flex-wrap:wrap}
.right{color:var(--right)}.wrong{color:var(--wrong)}.lostc{color:var(--lost)}
.fr{color:var(--friction);font-weight:600;font-variant-numeric:tabular-nums}

/* a mark beside a name: live, late, held. Mono, lower case, a hairline box */
/* A tag and a mark are Web Awesome's badge: its shape, spacing and behaviour, with our colours. The badge reads four tokens
   (text and border when outlined, text and fill when filled); each kind below sets them, so no kind borrows the library's
   meanings (lime is not "brand", orange is not "warning", lilac is friction and nothing else). */
wa-badge{font:var(--t-small);line-height:1;border-radius:4px}
wa-badge.tag{--wa-color-on-quiet:var(--soft);--wa-color-border-loud:var(--rule)}
wa-badge.tag-live{--wa-color-on-quiet:var(--accent);--wa-color-border-loud:var(--accent)}
wa-badge.tag-fr{--wa-color-on-quiet:var(--friction);--wa-color-border-loud:#6b5a8f}
wa-badge.tag-right{--wa-color-on-quiet:var(--right);--wa-color-border-loud:#2f6b3f}
wa-badge.tag-wrong{--wa-color-on-quiet:var(--wrong);--wa-color-border-loud:#8a4a14}

/* tabs: which configuration, or which stage, everything below is about */
.tabs{display:flex;gap:28px;border-bottom:1px solid var(--rule);flex-wrap:wrap}
.tab{font:var(--t-body);color:var(--soft);background:none;border:none;border-bottom:3px solid transparent;padding:10px 2px 8px;margin-bottom:-1px;cursor:pointer;min-height:44px;display:flex;align-items:center;gap:8px;text-decoration:none}
.tab:hover{color:var(--text);border-bottom-color:var(--rule)}
.tab-on,.tab-on:hover{color:var(--text);font-weight:600;border-bottom-color:var(--text)}
.panel{padding-top:24px;display:flex;flex-direction:column;gap:40px}

/* a measure over tries: the median as a number, lowest to highest beside it, and under them one dot per try on a scale shared down the column */
.stat{display:flex;flex-direction:column;gap:6px}
.stat-line{display:flex;justify-content:space-between;align-items:baseline;gap:8px}
.stat-mid{font-weight:600;font-variant-numeric:tabular-nums}
/* the strip: scale ends at the caps, and the line, the range, the dots and the median all centred on one axis */
.dist-wrap{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:8px;align-items:center}
.dist-cap{font:var(--t-small);line-height:1;color:var(--dim);font-variant-numeric:tabular-nums}
.dist{position:relative;height:12px}
.dist::before{content:"";position:absolute;left:0;right:0;top:5px;height:2px;background:var(--hair)}
.dist-range{position:absolute;top:5px;height:2px;background:var(--dim)}
.dist-dot{position:absolute;top:3px;width:6px;height:6px;margin-left:-3px;border-radius:50%;background:var(--soft);opacity:.7}
.dist-med{position:absolute;top:0;width:2px;height:12px;margin-left:-1px;background:var(--text)}
.dist-fr .dist-dot{background:var(--friction)}
.dist-fr .dist-med{background:var(--friction)}
wa-badge.tag-none{--wa-color-on-quiet:var(--dim);border-style:dashed}

/* a configuration's reading against live, beside its name */
wa-badge.light{font-weight:600}
wa-badge.light-worse{--wa-color-fill-loud:var(--wrong-bg);--wa-color-on-loud:var(--wrong)}
wa-badge.light-better{--wa-color-fill-loud:var(--right-bg);--wa-color-on-loud:var(--right)}
wa-badge.light-same{--wa-color-fill-loud:var(--lost-bg);--wa-color-on-loud:var(--lost)}
wa-badge.light-live{--wa-color-on-quiet:var(--accent);--wa-color-border-loud:var(--accent)}
/* a change from live: coloured only when confirmed */
.delta{font:var(--t-small);font-variant-numeric:tabular-nums;white-space:nowrap}
.d-worse{color:var(--wrong);font-weight:600}
.d-better{color:var(--right);font-weight:600}
.d-none{color:var(--dim)}
/* the strip centred on live's median: live's own spread as a band, one dot per try, hollow when off the scale */
.div{position:relative;height:14px}
.div::before{content:"";position:absolute;left:0;right:0;top:6px;height:2px;background:var(--hair)}
.div-band{position:absolute;top:2px;height:10px;background:var(--rule);opacity:.6}
.div-zero{position:absolute;left:50%;top:0;width:2px;height:14px;margin-left:-1px;background:var(--dim)}
.div-dot{position:absolute;top:4px;width:6px;height:6px;margin-left:-3px;border-radius:50%;background:var(--text);opacity:.8;box-sizing:border-box}
.div-out{background:transparent;border:1.5px solid var(--text)}

/* a try's stages in order: one square a stage, filled when right, hollow when wrong, dashed when it did not run */
.sqs{display:inline-flex;gap:3px}
.sq{display:block;width:14px;height:14px;border-radius:3px;box-sizing:border-box}
.sq-right{background:var(--right)}
.sq-wrong{border:2px solid var(--wrong)}
.sq-lost{border:1px dashed var(--dim)}
a.sq:hover{outline:2px solid var(--link);outline-offset:1px}

/* a step, or an unbroken run of steps, as a small pill that opens it in the transcript (wa-button, small, pill, outlined) */
.pills{display:inline-flex;gap:6px;flex-wrap:wrap}
.pills:empty{display:none}
/* A pill is a small pill button: a step, or an unbroken run of steps, that opens it. Its focus ring, hover and press are the component's. */
wa-button.pill{font-variant-numeric:tabular-nums}
wa-button.pill::part(base){height:24px;min-height:24px;padding:0 10px;color:var(--text);border-color:var(--rule)}

/* the exam page */
.kind{font:var(--t-code);color:var(--accent);letter-spacing:.02em}
.desc{margin:0;font:var(--t-lead);color:var(--soft);max-width:820px}
.ra{grid-template-columns:minmax(210px,1.2fr) repeat(5,minmax(132px,1fr));gap:8px 24px;align-items:center}
.who{display:flex;flex-direction:column;gap:6px;align-items:flex-start}
.name{font:var(--t-lead);font-weight:600;color:var(--text)}
.pred{grid-template-columns:minmax(200px,1fr) 124px minmax(190px,1fr) minmax(0,1.7fr);align-items:baseline;padding:8px 0}
.claim{font:var(--t-lead);font-weight:600}
.axis{grid-template-columns:170px minmax(0,1fr)}
.val{display:grid;grid-template-columns:150px minmax(0,1fr);gap:4px 16px;padding:5px 0;align-items:baseline}
.stages{grid-template-columns:28px 210px minmax(0,1fr) 90px;align-items:baseline;padding:8px 0}
.checks{grid-template-columns:238px 110px minmax(0,1fr) 110px;align-items:baseline;padding:8px 0}
.r{text-align:right}
.said{font:var(--t-lead);max-width:760px}
.first{border-top:none;padding-top:0}

/* the configuration page */
.five{display:grid;grid-template-columns:repeat(5,minmax(140px,1fr));gap:8px 28px}
.five .label{margin-bottom:4px;display:block}
.grid{grid-template-columns:minmax(230px,1.3fr) 72px 72px 72px 72px 110px minmax(230px,1.3fr);align-items:baseline;gap:8px 24px}
.rates{grid-template-columns:200px 110px 130px 130px minmax(0,1fr);align-items:baseline;padding:8px 0;gap:8px 24px}
.kinds{grid-template-columns:minmax(300px,2.2fr) 80px 52px 60px 52px minmax(96px,.8fr);align-items:center}
.everytry{grid-template-columns:160px 140px minmax(210px,1fr) 80px 64px 70px 80px 70px;align-items:center;padding-right:8px}
.values{grid-template-columns:150px 150px minmax(0,1.2fr) minmax(0,1fr);align-items:baseline}

/* the comparison page */
.meas{grid-template-columns:minmax(150px,.9fr) minmax(240px,2fr) 124px 124px 64px minmax(170px,1fr);align-items:center;gap:8px 20px}
.lanes{display:flex;flex-direction:column;gap:5px}
.lane-name{width:78px;text-align:right;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cchecks{grid-template-columns:minmax(170px,1fr) 110px 100px 100px minmax(160px,1fr) minmax(190px,1.1fr);align-items:baseline;padding:8px 0;gap:8px 24px}
.cstages{grid-template-columns:minmax(180px,1.1fr) 92px 64px 64px 64px 72px minmax(130px,.8fr) minmax(170px,1fr);align-items:start;gap:8px 20px}
.two{display:flex;flex-direction:column;gap:4px}
.fric{grid-template-columns:minmax(170px,1fr) 110px 110px 110px minmax(0,1fr);align-items:baseline;padding:8px 0;gap:8px 24px}

/* the stage of a try */
.cols{display:grid;grid-template-columns:400px minmax(0,1fr);gap:28px 44px;align-items:start}
@media (max-width:900px){.cols{grid-template-columns:minmax(0,1fr)}}
.blk{border-top:2px solid var(--accent);padding-top:12px;display:flex;flex-direction:column}
.blk-top{border-top:none;padding-top:0}
.blk h2{margin:0 0 10px;font:var(--t-heading);color:var(--accent)}
.ck{display:grid;grid-template-columns:92px minmax(0,1fr);gap:2px 12px;padding:9px 0;border-top:1px solid var(--hair);align-items:baseline}
.group{font:var(--t-small);color:var(--dim);padding:14px 0 6px}
/* A step is a details component: its summary is the folded row, its chevron Web Awesome's. A link to it opens it (page.js). */
wa-details.step{display:block;border-top:1px solid var(--hair);border-left:3px solid transparent;--spacing:12px}
wa-details.step-fr{border-left-color:var(--friction)}
wa-details.step:target,.ck:target{background:var(--raised);outline:1px solid var(--rule)}
wa-details.step::part(header){padding:12px 8px 12px 12px;align-items:start;gap:12px}
wa-details.step::part(content){padding:0 12px 14px 48px}
.step-sum{display:grid;grid-template-columns:24px minmax(0,1fr) auto;gap:12px;align-items:start;min-width:0;width:100%}
/* A quiet details: a line of Small that opens, for what is one click away (the retired, the minor kinds, by check). */
wa-details.quiet{display:block;--spacing:0px}
wa-details.quiet::part(header){padding:10px 0;font:var(--t-small);color:var(--soft);justify-content:flex-start;gap:8px}
wa-details.quiet::part(content){padding:0 0 8px}
.step-body{display:flex;flex-direction:column;gap:6px;min-width:0}
.cmd{font:var(--t-code);background:var(--raised);border-radius:4px;padding:8px 10px;white-space:pre-wrap;word-break:break-word;margin:0}
.out{font:var(--t-code);color:var(--dim);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.full{font:var(--t-code);color:var(--soft);white-space:pre-wrap;word-break:break-word;margin:0;max-height:560px;overflow:auto}
.say{white-space:pre-wrap}
.out-say{font:var(--t-body);color:var(--text)}
.who{font:var(--t-small);color:var(--dim)}
.stab{gap:8px}
.sub{gap:22px;margin-bottom:4px}
.sub .tab{min-height:38px;padding:6px 2px}
mark{background:#4a3f1a;color:var(--text);border-radius:2px}

/* the index of exams */
.ex{grid-template-columns:minmax(230px,1.5fr) minmax(270px,1.5fr) minmax(200px,1.1fr) 80px 120px;gap:8px 24px;align-items:start}
.cfg{display:flex;gap:10px;align-items:center;min-height:24px;flex-wrap:wrap}
.cfg a{color:var(--text)}
.list{display:flex;flex-direction:column;gap:6px}
/* Web Awesome's base layer styles every pre; ours are a command (raised) and its output (plain). */
pre.cmd{background:var(--raised);padding:8px 10px;border-radius:4px;overflow:visible}
pre.full{background:none;padding:0;border-radius:0}
wa-tooltip{--max-width:320px;font:var(--t-small)}
.search{margin-left:auto;display:flex;gap:12px;align-items:center;padding-bottom:6px}
.search wa-input{width:240px}
wa-details.step[hidden]{display:none}
.pick{display:flex;gap:10px;align-items:center}
/* Weight, last so that it holds over any role above. */
.strong{font-weight:600}
.regular{font-weight:400}
