:root {
  color-scheme: dark;
  --bg: #161514; --side: #111010; --panel: #1c1b19; --raised: #222120; --hover: #262422; --sel: #2e2c29;
  --line: #2a2826; --line-2: #3a3734;
  --ink: #ece9e4; --ink-2: #bab5ad; --ink-3: #9a948b; --side-ink: #aaa59d; --side-ink-3: #979189;
  --accent: #9a9fff; --accent-ink: #15141c; --focus: #9a9fff;
  --built: #ee8f60; --cached: #74abef; --received: #63c497; --image: #a7a19a; --xfer: #b6a3e8; --node: #ea92bf; --warn: #e4b75a; --runner: #5e5a54; --del: #f08a74;
  --log-bg: #0d0c0c; --log-ink: #d9d5ce; --log-dim: #8f8a82; --log-ok: #74c99a; --log-link: #a9adff; --log-warn: #e6c07a;
  --syn-s: #bdb9ff; --syn-f: #dcc293; --syn-v: #93d0c6; --syn-q: #c6d29f; --syn-i: #e6c9a9;
  --shadow: 0 1px 0 rgb(255 255 255 / .03) inset, 0 12px 32px rgb(0 0 0 / .45);
  --shadow-s: 0 1px 2px rgb(0 0 0 / .35);
  --scrim: rgb(8 7 6 / .55);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f7f6f3; --side: #efede9; --panel: #ffffff; --raised: #fbfaf8; --hover: #f0eee9; --sel: #e7e4de;
  --line: #e6e2dc; --line-2: #d4cfc7;
  --ink: #1d1b18; --ink-2: #48443e; --ink-3: #69645c; --side-ink: #4a463f; --side-ink-3: #6a655d;
  --accent: #474ed4; --accent-ink: #ffffff; --focus: #474ed4;
  --built: #a5471a; --cached: #2261b2; --received: #19774f; --image: #6a655e; --xfer: #6c52c1; --node: #ab336d; --warn: #855800; --runner: #c8c2b9; --del: #b3341c;
  --log-bg: #1e1d1b; --log-ink: #dedad3; --log-dim: #9b958c; --log-ok: #7fd1a4; --log-link: #b2b6ff; --log-warn: #f0cd8a;
  --syn-s: #4541b8; --syn-f: #74550f; --syn-v: #1c6760; --syn-q: #4a6410; --syn-i: #86461a;
  --shadow: 0 1px 2px rgb(30 25 20 / .06), 0 14px 36px rgb(30 25 20 / .16);
  --shadow-s: 0 1px 2px rgb(30 25 20 / .08);
  --scrim: rgb(40 36 30 / .28);
}
* { box-sizing: border-box; }
html, body { background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 13px; line-height: 1.45; -webkit-font-smoothing: antialiased; font-feature-settings: "tnum" 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
code, .mono { font-family: var(--mono); font-size: 0.92em; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }
.i { flex: none; display: block; }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--ink-3); }

kbd { font-family: var(--mono); font-size: 11px; line-height: 1; padding: 3px 5px; border-radius: 4px; border: 1px solid var(--line-2); color: var(--ink-3); background: var(--panel); min-width: 18px; text-align: center; display: inline-block; }

/* ---------- shell ---------- */
.app { --sw: 224px; display: grid; grid-template-columns: var(--sw) minmax(0, 1fr); min-height: 100vh; min-height: 100dvh; }
.app[data-collapsed="true"] { --sw: 56px; }
.side { position: sticky; top: 0; height: 100vh; height: 100dvh; background: var(--side); color: var(--side-ink); display: flex; flex-direction: column; gap: 4px;
  padding: max(12px, env(safe-area-inset-top, 0px)) 10px max(12px, env(safe-area-inset-bottom, 0px)) calc(10px + env(safe-area-inset-left, 0px)); border-right: 1px solid var(--line); min-width: 0; overflow: hidden; }
.side-top { display: flex; align-items: center; gap: 8px; padding: 2px 4px 8px; min-height: 30px; }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; min-width: 0; white-space: nowrap; }
.brand .mark { width: 20px; height: 20px; border-radius: 6px; background: var(--ink); color: var(--bg); display: grid; place-items: center; flex: none; }
.iconbtn { width: 28px; height: 28px; border-radius: 6px; display: grid; place-items: center; color: var(--side-ink-3); flex: none; }
.iconbtn:hover { background: var(--hover); color: var(--ink); }
.side-top .iconbtn { margin-left: auto; }
.sbtn { display: flex; align-items: center; gap: 9px; width: 100%; height: 30px; padding: 0 8px; border-radius: 6px; color: var(--side-ink); white-space: nowrap; min-width: 0; text-align: left; }
.sbtn:hover { background: var(--hover); color: var(--ink); }
.sbtn .lbl { min-width: 0; overflow: hidden; text-overflow: ellipsis; flex: 1; }
.sbtn .i { color: var(--side-ink-3); }
.projsw { height: 38px; border: 1px solid var(--line); background: var(--panel); }
.projsw .av { width: 20px; height: 20px; border-radius: 5px; background: color-mix(in oklab, var(--accent) 22%, var(--panel)); color: var(--ink); display: grid; place-items: center; font-size: 11px; font-weight: 600; flex: none; }
.projsw .lbl { line-height: 1.15; } .projsw small { display: block; font-size: 11px; color: var(--side-ink-3); overflow: hidden; text-overflow: ellipsis; }
.projmenu { margin: 2px 0 4px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); padding: 4px; box-shadow: var(--shadow-s); }
.projmenu .sbtn { height: 28px; } .projmenu .hint { font-size: 11px; color: var(--side-ink-3); padding: 4px 8px 2px; }
.search { color: var(--side-ink-3); }
.search kbd { margin-left: auto; }
.navgrp { margin-top: 10px; display: grid; gap: 1px; }

.nav a[aria-current="page"] { background: var(--sel); color: var(--ink); }
.nav a[aria-current="page"] .i { color: var(--ink); }
.nav .count { font-size: 11px; color: var(--side-ink-3); font-variant-numeric: tabular-nums; }
.wdot { width: 7px; height: 7px; border-radius: 50%; background: var(--warn); flex: none; }
.side-foot { margin-top: auto; display: grid; gap: 1px; }
.side-note { font-size: 11px; color: var(--side-ink-3); padding: 8px 8px 0; line-height: 1.35; white-space: normal; }
.app[data-collapsed="true"] .side .lbl, .app[data-collapsed="true"] .side kbd, .app[data-collapsed="true"] .side .count, .app[data-collapsed="true"] .side-note, .app[data-collapsed="true"] .brand-name, .app[data-collapsed="true"] .projmenu { display: none; }
.app[data-collapsed="true"] .sbtn { justify-content: center; padding: 0; }
.app[data-collapsed="true"] .side-top { flex-direction: column; padding-inline: 0; }
.app[data-collapsed="true"] .side-top .iconbtn { margin: 0; }
.app[data-collapsed="true"] .nav .wdot { position: absolute; margin: -12px 0 0 14px; }
.main { min-width: 0; }
.mhead { display: none; }
.bbar { display: none; }

/* ---------- split ---------- */
.split { display: grid; grid-template-columns: 320px minmax(0, 1fr); min-height: 100vh; min-height: 100dvh; }
.list { position: sticky; top: 0; height: 100vh; height: 100dvh; overflow-y: auto; border-right: 1px solid var(--line); background: var(--bg); min-width: 0; }

.seg { display: inline-flex; padding: 2px; border-radius: 7px; background: var(--panel); border: 1px solid var(--line); gap: 2px; }
.seg button, .seg a { padding: 3px 9px; border-radius: 5px; font-size: 12px; color: var(--ink-3); white-space: nowrap; }
.seg button[aria-pressed="true"], .seg a[aria-pressed="true"] { background: var(--sel); color: var(--ink); }
.seg button:hover, .seg a:hover { color: var(--ink); }

.lb { padding: 6px 6px 24px; outline: none; }
.lb:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; }
.opt { display: flex; align-items: center; gap: 8px; border-radius: 6px; padding: 0 8px; cursor: pointer; position: relative; min-width: 0; }
.opt:hover { background: var(--hover); }
.opt.p { padding-top: 8px; padding-bottom: 4px; margin-top: 6px; align-items: flex-start; flex-direction: column; gap: 1px; }
.opt.p .msg { font-weight: 500; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; width: 100%; }

.opt.j { height: 30px; padding-left: 14px; }

.opt .d { margin-left: auto; font-size: 12px; color: var(--ink-3); font-variant-numeric: tabular-nums; white-space: nowrap; }
.opt.cur { background: var(--hover); box-shadow: inset 0 0 0 1px var(--line-2); }
.opt.open { background: var(--sel); }
.opt.open::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 2px; border-radius: 2px; background: var(--accent); }
.opt.open .msg { color: var(--ink); }
.empty { padding: 24px 14px; color: var(--ink-3); }

/* verdict icons & chips */



.chip { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 500; line-height: 18px; border-radius: 5px; padding: 0 6px; white-space: nowrap; vertical-align: middle; }
.chip .i { width: 11px; height: 11px; }
.chip.built, .chip.step, .chip.files { color: var(--built); background: color-mix(in oklab, var(--built) 13%, var(--panel)); }
.chip.cached { color: var(--cached); background: color-mix(in oklab, var(--cached) 13%, var(--panel)); }
.chip.received { color: var(--received); background: color-mix(in oklab, var(--received) 13%, var(--panel)); }
.chip.image, .chip.first { color: var(--ink-2); background: color-mix(in oklab, var(--image) 14%, var(--panel)); }
.chip.node { color: var(--node); background: color-mix(in oklab, var(--node) 13%, var(--panel)); }
.chip.unknown, .chip.warn { color: var(--warn); background: color-mix(in oklab, var(--warn) 14%, var(--panel)); }
.chip.plain { color: var(--ink-2); background: var(--sel); }

/* ---------- pane / page ---------- */
.pane { min-width: 0; container-type: inline-size; container-name: pane; padding: max(18px, env(safe-area-inset-top, 0px)) max(28px, env(safe-area-inset-right, 0px)) 72px 28px; }
.page { min-width: 0; max-width: 1120px; padding: max(18px, env(safe-area-inset-top, 0px)) max(32px, env(safe-area-inset-right, 0px)) 72px 32px; display: grid; gap: 22px; }
.page > * { min-width: 0; }

.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12px; color: var(--ink-3); min-width: 0; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs .sepr { opacity: .6; }
.titlerow { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 6px; min-width: 0; }
h1.t { font-size: 20px; line-height: 1.25; font-weight: 600; letter-spacing: -0.015em; margin: 0; min-width: 0; text-wrap: balance; }
h1.t:focus { outline: none; }
.tools { margin-left: auto; display: flex; gap: 6px; align-items: center; }
.btn { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 6px; border: 1px solid var(--line-2); background: var(--panel); color: var(--ink-2); font-size: 12px; white-space: nowrap; }
.btn:hover { color: var(--ink); background: var(--hover); }
.btn.sq { width: 28px; padding: 0; justify-content: center; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn[disabled]:hover { background: var(--panel); color: var(--ink-2); }
.sub { display: flex; flex-wrap: wrap; gap: 2px 12px; color: var(--ink-3); font-size: 12.5px; margin-top: 4px; min-width: 0; }
.sub .q { color: var(--ink-2); }
.link { color: var(--accent); } .link:hover { text-decoration: underline; }
h2.h { font-size: 13px; font-weight: 600; margin: 0 0 10px; color: var(--ink); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
h2.h .muted { font-weight: 400; font-size: 12px; }
h2.h .btn { margin-left: auto; height: 24px; }

/* how you got here */
.howto { border: 1px solid var(--line); border-radius: 8px; background: var(--panel); padding: 8px 10px; display: grid; gap: 6px; margin-bottom: 16px; }
.howto .row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; min-width: 0; }
.howto .k { font-size: 11.5px; color: var(--ink-3); white-space: nowrap; display: flex; align-items: center; gap: 6px; }
.howto code { color: var(--ink-2); font-size: 11.5px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1 1 220px; }
.howto code b { color: var(--accent); font-weight: 500; }
.howto .acts { display: flex; gap: 4px; margin-left: auto; }
.howto .btn { height: 24px; }

/* verdict */
.verdict { --tone: var(--image); border-radius: 10px; padding: 14px 16px; display: grid; gap: 7px; background: color-mix(in oklab, var(--tone) 7%, var(--panel)); border: 1px solid color-mix(in oklab, var(--tone) 28%, var(--line)); }
.verdict .k { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--tone); }
.verdict .vt { font-size: 18px; line-height: 1.35; font-weight: 600; letter-spacing: -0.01em; text-wrap: pretty; }
.verdict .vt code { font-size: 0.82em; font-weight: 500; background: var(--sel); padding: 1px 5px; border-radius: 4px; }
.verdict .vd { color: var(--ink-2); font-size: 13px; max-width: 78ch; }
.verdict .vd code, .hint code { background: var(--sel); padding: 0 4px; border-radius: 4px; }
.verdict .hint { font-size: 12.5px; color: var(--ink-2); padding: 7px 10px; border-left: 2px solid color-mix(in oklab, var(--tone) 60%, var(--line)); background: var(--panel); border-radius: 0 6px 6px 0; max-width: 78ch; }
.verdict .hint b, .verdict .vd b { color: var(--ink); font-weight: 600; }
.tone-cached { --tone: var(--cached); } .tone-built { --tone: var(--built); } .tone-node { --tone: var(--node); } .tone-unknown { --tone: var(--warn); } .tone-first { --tone: var(--image); }
.tone-first .k { color: var(--ink-2); }
.diff { font-family: var(--mono); font-size: 12px; border-radius: 6px; overflow-x: auto; border: 1px solid var(--line); background: var(--panel); }
.diff div { padding: 2px 10px; white-space: pre; }
.diff .del { color: var(--del); background: color-mix(in oklab, var(--del) 9%, var(--panel)); } .diff .add { color: var(--received); background: color-mix(in oklab, var(--received) 9%, var(--panel)); }

/* detail grid */
.dgrid { display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr); margin-top: 16px; }
.dgrid > * { min-width: 0; }
.aside { display: grid; gap: 0; align-content: start; font-size: 12px; }
.aside dl { margin: 0; display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 7px 12px; }
.aside dt { color: var(--ink-3); } .aside dd { margin: 0; color: var(--ink-2); min-width: 0; overflow-wrap: anywhere; }
.aside dd code { font-size: 11.5px; }

@container pane (min-width: 800px) {
  .dgrid { grid-template-columns: minmax(0, 1fr) 220px; }
  .aside { position: sticky; top: 18px; padding-left: 18px; border-left: 1px solid var(--line); }
}

/* time breakdown */

.legend { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 10px; font-size: 12px; color: var(--ink-3); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend b { color: var(--ink); font-weight: 500; font-variant-numeric: tabular-nums; }
.sw { width: 9px; height: 9px; border-radius: 2px; display: inline-block; flex: none; }
.c-runner { background: color-mix(in oklab, var(--runner) 38%, var(--panel)); }
.c-xfer { background: var(--xfer); } .c-push { background: color-mix(in oklab, var(--xfer) 62%, var(--panel)); } .c-image { background: var(--image); }
.c-built { background: var(--built); } .c-cached { background: var(--cached); } .c-received { background: var(--received); }
.c-failed { background: var(--del); } .c-canceled { background: var(--image); }
.sgantt { padding: 10px 14px 6px; display: grid; gap: 2px; }
.sgantt .gaxis { display: flex; justify-content: space-between; margin-left: calc(min(34%, 320px) + 10px); margin-right: 66px; font-size: 11px; color: var(--ink-3); padding-bottom: 4px; border-bottom: 1px solid var(--line); }
.sgantt .srow2 { display: grid; grid-template-columns: min(34%, 320px) minmax(0, 1fr) 56px; gap: 10px; align-items: center; padding: 3px 0; border-radius: 4px; color: inherit; text-decoration: none; }
.sgantt .srow2:hover { background: var(--hover, color-mix(in oklab, var(--ink) 5%, var(--panel))); }
.sgantt .srow2.mark .gn { color: var(--built); font-weight: 600; }
.sgantt .gn { font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.sgantt .gt { position: relative; height: 12px; background: color-mix(in oklab, var(--ink) 5%, var(--panel)); border-radius: 3px; }
.sgantt .gt i { position: absolute; top: 0; bottom: 0; border-radius: 3px; min-width: 2px; }
.sgantt .gd { font-size: 12px; text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 640px) { .sgantt .srow2 { grid-template-columns: 38% minmax(0, 1fr) 48px; } .sgantt .gaxis { margin-left: calc(38% + 10px); margin-right: 58px; } }

/* tables */
.tbox { overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); }
table { border-collapse: collapse; width: 100%; font-size: 12.5px; }
th, td { text-align: left; padding: 6px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { font-size: 11.5px; color: var(--ink-3); font-weight: 500; white-space: nowrap; background: var(--raised); }
tbody tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
td.ln { color: var(--ink-3); font-variant-numeric: tabular-nums; width: 36px; text-align: right; }
td.cmd { font-family: var(--mono); font-size: 11.5px; color: var(--ink-2); min-width: 220px; max-width: 0; }
td.cmd .c { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
td.cmd .meta { display: block; font-size: 11px; color: var(--ink-3); height: 0; overflow: hidden; opacity: 0; transition: opacity .12s; }
tr.st:hover td.cmd .meta, tr.st:focus-within td.cmd .meta { height: auto; opacity: 1; }
tr.st:hover td { background: var(--hover); }
tr.mark td { background: color-mix(in oklab, var(--tone, var(--built)) 9%, var(--panel)); }
tr.mark td:first-child { box-shadow: inset 2px 0 0 var(--tone, var(--built)); }
tr.mark .c { color: var(--ink); }
.firstmk { font-family: var(--font); font-size: 11px; font-weight: 600; color: var(--tone, var(--built)); margin-left: 6px; }
tr.grp td { padding: 0; background: var(--raised); }
.grpbtn { width: 100%; display: flex; align-items: center; gap: 8px; padding: 7px 10px; text-align: left; min-width: 0; }
.grpbtn:hover { background: var(--hover); }
.grpbtn .chev { color: var(--ink-3); transition: transform .12s; }
.grpbtn[aria-expanded="true"] .chev { transform: rotate(90deg); }
.grpstatic .gname, .grpstatic .gmeta { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.grpstatic .gmeta { color: var(--ink-3); font-size: 12px; }
.grpstatic .gd { color: var(--ink-2); font-variant-numeric: tabular-nums; white-space: nowrap; flex: none; }
.grpbtn .gname { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.grpbtn .gmeta { color: var(--ink-3); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.grpbtn .gd { margin-left: auto; color: var(--ink-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.grpstatic { display: flex; align-items: center; gap: 8px; padding: 7px 10px 7px 32px; min-width: 0; }

td.res { white-space: nowrap; }

@container pane (max-width: 560px) {  td.cmd { min-width: 150px; } th, td { padding-inline: 7px; } }

/* disclosures */

.kv { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 16px; font-size: 12.5px; margin: 0; }
.kv dt { color: var(--ink-3); } .kv dd { margin: 0; font-family: var(--mono); font-size: 11.5px; color: var(--ink-2); overflow-wrap: anywhere; }
details.why { font-size: 12px; color: var(--ink-3); }
details.why > summary { cursor: pointer; display: inline-flex; gap: 6px; align-items: center; list-style: none; }
details.why > summary::-webkit-details-marker { display: none; }
details.why > summary:hover { color: var(--ink); }
details.why ul { margin: 8px 0 0; padding-left: 18px; display: grid; gap: 5px; color: var(--ink-2); max-width: 90ch; }

/* stats */
.wtxt { color: var(--warn); }

/* gantt */

.axis { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 12px; font-size: 11px; color: var(--ink-3); }


/* jobs table */
.jt td.why { color: var(--ink-2); min-width: 260px; }
.jt td.why code { font-size: 11px; background: var(--sel); padding: 0 4px; border-radius: 3px; }
.jt td.why b { color: var(--ink); font-weight: 600; }
.jt tbody tr { cursor: pointer; }
.jt tbody tr:hover td { background: var(--hover); }

/* home */

.log { background: var(--log-bg); color: var(--log-ink); border-radius: 8px; padding: 10px 0; font-family: var(--mono); font-size: 11.5px; line-height: 1.6; overflow-x: auto; }
.log div { padding: 0 14px; white-space: pre; display: flex; gap: 12px; }
.log .n { color: var(--log-dim); width: 2.2em; text-align: right; flex: none; user-select: none; }
.log .dim { color: var(--log-dim); } .log .ok { color: var(--log-ok); }

.log a { color: var(--log-link); text-decoration: underline; cursor: pointer; }
.cards2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; align-items: start; }
.cards2 > * { min-width: 0; }
.box { border: 1px solid var(--line); border-radius: 10px; background: var(--panel); padding: 12px 14px; min-width: 0; }
.rows { display: grid; }

.hints { display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--ink-3); font-size: 12px; align-items: center; }
.hints span { display: inline-flex; gap: 5px; align-items: center; }

/* callouts */
.callout { --tone: var(--node); border-radius: 8px; padding: 10px 14px; display: flex; gap: 10px; border: 1px solid color-mix(in oklab, var(--tone) 30%, var(--line)); background: color-mix(in oklab, var(--tone) 6%, var(--panel)); color: var(--ink-2); }
.callout .i { color: var(--tone); margin-top: 2px; }
.callout b.k { color: var(--ink); font-weight: 600; display: block; margin-bottom: 2px; }
.callout b { color: var(--ink); font-weight: 600; }
.callout.warn { --tone: var(--warn); }
.callout.neutral { --tone: var(--ink-3); }
.callout code { background: var(--sel); padding: 0 4px; border-radius: 3px; }





/* nodes */
.okdot { width: 7px; height: 7px; border-radius: 50%; background: var(--received); display: inline-block; }
.sstack { display: flex; height: 8px; border-radius: 4px; overflow: hidden; gap: 2px; }
/* Labels keep to one line and take the width they need; a long value
   wraps in its own column. */
.nkv { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 4px 12px; font-size: 12.5px; }
.nkv span:nth-child(odd) { color: var(--ink-3); white-space: nowrap; } .nkv span:nth-child(even) { text-align: right; font-variant-numeric: tabular-nums; color: var(--ink-2); overflow-wrap: anywhere; }
.nkv b { color: var(--ink); font-weight: 600; }

/* overlays */
.scrim { position: fixed; inset: 0; background: var(--scrim); z-index: 40; }
.dlg { position: fixed; z-index: 41; left: 50%; transform: translateX(-50%); top: max(12vh, calc(16px + env(safe-area-inset-top, 0px))); width: min(620px, calc(100vw - 32px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px)));
  background: var(--panel); border: 1px solid var(--line-2); border-radius: 12px; box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; max-height: min(560px, calc(100dvh - 24vh)); }
.pal-in { display: flex; align-items: center; gap: 10px; padding: 0 14px; border-bottom: 1px solid var(--line); height: 48px; color: var(--ink-3); }
.pal-in input { flex: 1; min-width: 0; height: 100%; background: none; border: 0; outline: none; color: var(--ink); font: inherit; font-size: 14px; }
.pal-in input::placeholder { color: var(--ink-3); }
.pal-l { overflow-y: auto; padding: 6px; }
.pal-g { font-size: 11px; color: var(--ink-3); padding: 8px 10px 4px; }
.pal-o { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 7px; cursor: pointer; min-width: 0; }
.pal-o .i { color: var(--ink-3); }
.pal-o .lb3 { min-width: 0; flex: 1; display: grid; }
.pal-o .lb3 span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pal-o .lb3 small { color: var(--ink-3); font-size: 11.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pal-o .ty { font-size: 11px; color: var(--ink-3); white-space: nowrap; }
.pal-o[aria-selected="true"] { background: var(--sel); }
.pal-o[aria-selected="true"] .i { color: var(--ink); }
.pal-o mark { background: none; color: var(--accent); font-weight: 600; }
.pal-foot { border-top: 1px solid var(--line); padding: 7px 14px; font-size: 11.5px; color: var(--ink-3); display: flex; gap: 14px; flex-wrap: wrap; }
.pal-empty { padding: 18px 12px; color: var(--ink-3); }
.help { padding: 6px 18px 16px; overflow-y: auto; }
.help h2 { font-size: 14px; margin: 12px 0 6px; display: flex; align-items: center; }
.help h2 .iconbtn { margin-left: auto; color: var(--ink-3); }
.help h3 { font-size: 11.5px; color: var(--ink-3); font-weight: 500; margin: 14px 0 4px; }
.help dl { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; margin: 0; }
.help dd { margin: 0; display: flex; gap: 4px; justify-content: flex-end; }

.toast { position: fixed; z-index: 50; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); left: 50%; transform: translateX(-50%); background: var(--ink); color: var(--bg); padding: 7px 12px; border-radius: 8px; font-size: 12.5px; box-shadow: var(--shadow); max-width: calc(100vw - 32px); }

/* ---------- view tabs ---------- */

.dgrid.wide { grid-template-columns: minmax(0, 1fr) !important; }
.dgrid.wide .aside { position: static; padding-left: 0; border-left: 0; border-top: 1px solid var(--line); padding-top: 14px; }
.steplink { display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: left; font: inherit; color: inherit; }
.steplink:hover { color: var(--ink); text-decoration: underline; }

/* ---------- Dockerfile view ---------- */
.dfwrap { container-type: inline-size; min-width: 0; display: grid; gap: 10px; }
.dfbar { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; font-size: 12px; color: var(--ink-3); }
.dfbar b { color: var(--ink-2); font-weight: 500; }
.dfbar .legend { margin: 0; }
.dfbox { border: 1px solid var(--line); border-radius: 8px; background: var(--panel); overflow-x: auto; overscroll-behavior-x: contain; }
.dfin { min-width: 100%; width: max-content; padding: 4px 0 6px; --rw: 112px; --rw-s: 84px; }

.dl { --rowbg: var(--panel); display: grid; grid-template-columns: 26px 38px minmax(52ch, 1fr) var(--rw); font-family: var(--mono); font-size: 12px; line-height: 22px; min-height: 22px; outline: none; }
.dl > span { background: var(--rowbg); }
.dl .dg { position: sticky; left: 0; z-index: 1; display: grid; place-items: center; box-shadow: inset 3px 0 0 var(--bar, transparent); }
.dl .dn { position: sticky; left: 26px; z-index: 1; text-align: right; padding-right: 10px; color: var(--ink-3); user-select: none; font-variant-numeric: tabular-nums; }
.dl .dc { white-space: pre; padding-right: 16px; color: var(--ink); }
.dl .dr { position: sticky; right: 0; z-index: 1; display: flex; align-items: center; justify-content: flex-end; gap: 4px; padding: 0 10px 0 6px; color: var(--ink-3); font-family: var(--font); font-size: 11.5px; white-space: nowrap; border-left: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.dl .dr b { color: var(--ink-2); font-weight: 500; }
.dl.step { cursor: pointer; }
.dl[data-ln]:hover, .dl.open { --rowbg: var(--hover); }
.dl.open { --rowbg: var(--sel); }
.dl:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; }
.dl.st-built { --bar: var(--built); } .dl.st-cached { --bar: var(--cached); } .dl.st-received { --bar: var(--received); } .dl.st-image { --bar: var(--image); }
.dl.mark { --rowbg: color-mix(in oklab, var(--built) 11%, var(--panel)); }
.dl.mark:hover, .dl.mark.open { --rowbg: color-mix(in oklab, var(--built) 18%, var(--panel)); }
.dl.dim .dc, .dl.dim .dc * { color: var(--ink-3) !important; font-weight: 400 !important; font-style: normal; }
.dl.dim .dc .mtag { font-style: italic; }
.dl.mark .dn { color: var(--ink-2); }
.dl.hd { font-family: var(--font); font-size: 11.5px; color: var(--ink-3); border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.dl.hd .dr { gap: 4px; }

.si { width: 16px; height: 16px; border-radius: 4px; display: grid; place-items: center; }
.si .i { width: 11px; height: 11px; }
.si { font-size: 9px; font-family: var(--font); }
.si.built { color: var(--built); background: color-mix(in oklab, var(--built) 15%, var(--panel)); }
.si.cached { color: var(--cached); background: color-mix(in oklab, var(--cached) 15%, var(--panel)); }
.si.received { color: var(--received); background: color-mix(in oklab, var(--received) 15%, var(--panel)); }
.si.image { color: var(--ink-2); background: color-mix(in oklab, var(--image) 16%, var(--panel)); }
.rtag { font-family: var(--font); font-size: 11px; font-weight: 600; color: var(--built); background: color-mix(in oklab, var(--built) 16%, var(--panel)); border-radius: 4px; padding: 1px 6px; margin-left: 10px; }
.mtag { font-family: var(--font); font-size: 11px; color: var(--ink-3); margin-left: 10px; }
.wtag { display: inline-flex; align-items: center; gap: 3px; font-family: var(--font); font-size: 11px; color: var(--warn, #b45309); margin-left: 10px; text-decoration: none; }
.wtag:hover { text-decoration: underline; }

@container (max-width: 600px) {
  .dfin { --rw: var(--rw-s); }

}
.pop { position: fixed; z-index: 48; width: min(420px, calc(100vw - 16px)); background: var(--panel); border: 1px solid var(--line-2); border-radius: 10px; box-shadow: var(--shadow); padding: 10px 12px; font-size: 12.5px; display: grid; gap: 7px; pointer-events: none; color: var(--ink-2); }
.pop .ph2 { font-size: 11.5px; color: var(--ink-3); display: flex; gap: 4px 10px; flex-wrap: wrap; }
.pop .ph2 b { color: var(--ink); font-weight: 600; }
.pop .cmd2 { font-family: var(--mono); font-size: 11.5px; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--ink); background: var(--raised); border: 1px solid var(--line); border-radius: 5px; padding: 4px 7px; display: block; max-height: 84px; overflow: hidden; }
.pop .why2 { border-left: 2px solid var(--built); padding-left: 8px; }
.pop b, .pop .why2 b { color: var(--ink); }
.pop code { background: var(--sel); padding: 0 4px; border-radius: 3px; font-size: 11.5px; }
.pop .ft { font-size: 11px; color: var(--ink-3); }

/* ---------- drawer ---------- */
.drawer { position: fixed; z-index: 35; top: max(8px, env(safe-area-inset-top, 0px)); bottom: max(8px, env(safe-area-inset-bottom, 0px)); right: max(8px, env(safe-area-inset-right, 0px)); width: min(var(--dw, 480px), calc(100vw - 16px)); background: var(--panel); border: 1px solid var(--line-2); border-radius: 12px; box-shadow: var(--shadow); display: flex; flex-direction: column; overflow: hidden; }
.drawer .dgrip { position: absolute; top: 0; bottom: 0; left: 0; width: 8px; cursor: col-resize; z-index: 2; touch-action: none; }
.drawer .dgrip::after { content: ""; position: absolute; top: 12px; bottom: 12px; left: 2px; width: 2px; border-radius: 1px; background: transparent; }
.drawer .dgrip:hover::after, .drawer .dgrip:focus-visible::after, .drawer.resizing .dgrip::after { background: var(--focus); }
.drawer .dgrip:focus-visible { outline: none; }
.drawer.resizing { user-select: none; }
.drh { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-bottom: 1px solid var(--line); background: var(--raised); }
.drh .kind { font-size: 11.5px; color: var(--ink-3); }
.drh h2 { margin: 2px 0 0; font-size: 13.5px; font-weight: 600; overflow-wrap: anywhere; font-family: var(--mono); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.drh h2:focus { outline: none; }
.drb { overflow-y: auto; padding: 14px; display: grid; gap: 14px; align-content: start; overscroll-behavior: contain; min-height: 0; }
.drb > * { min-width: 0; }
.drb h3 { font-size: 12px; font-weight: 600; margin: 0 0 6px; color: var(--ink); }
.sent { color: var(--ink-2); display: flex; gap: 6px 8px; align-items: baseline; flex-wrap: wrap; }
pre.src { margin: 0; font-family: var(--mono); font-size: 11.5px; line-height: 1.6; background: var(--raised); border: 1px solid var(--line); border-radius: 6px; padding: 6px 0; overflow-x: auto; }
pre.src div { padding: 0 10px; white-space: pre; }
pre.src .n { color: var(--ink-3); display: inline-block; width: 2.6em; user-select: none; }
pre.logb { margin: 0; font-family: var(--mono); font-size: 11px; line-height: 1.55; background: var(--log-bg); color: var(--log-ink); border-radius: 6px; padding: 8px 10px; max-height: 300px; overflow: auto; white-space: pre; }
.logb .uc { color: var(--log-ok); }
.dkv { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 14px; font-size: 12.5px; margin: 0; }
.dkv dt { color: var(--ink-3); } .dkv dd { margin: 0; color: var(--ink-2); min-width: 0; overflow-wrap: anywhere; }
.drnav { display: flex; gap: 6px; flex-wrap: wrap; }
.hint2 { font-size: 12px; color: var(--ink-2); background: var(--raised); border-radius: 6px; padding: 7px 10px; border: 1px solid var(--line); }
.hint2 b { color: var(--ink); }

.hist { display: flex; align-items: flex-end; gap: 4px; height: 82px; border-bottom: 1px solid var(--line); padding-top: 4px; }
.hist button, .hist a { flex: 1; min-width: 0; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 2px; border-radius: 4px 4px 0 0; }
.hist button:hover, .hist a:hover { background: var(--hover); }
.hist button.cur, .hist a.cur { background: var(--sel); box-shadow: inset 0 0 0 1px var(--accent); }
.hist i { width: 70%; max-width: 28px; display: block; border-radius: 2px 2px 0 0; min-height: 3px; }
.hist i.none { background: none; box-shadow: inset 0 0 0 1px var(--line-2); height: 10px; }
.hist small { font-size: 10.5px; color: var(--ink-2); font-variant-numeric: tabular-nums; display: flex; }
.hist small .i { width: 11px; height: 11px; color: var(--cached); }
.histx { display: flex; gap: 4px; margin-top: 3px; } .histx span { flex: 1; min-width: 0; text-align: center; font-family: var(--mono); font-size: 10px; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- timeline (waterfall) ---------- */


/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .app, .app[data-collapsed="false"] { --sw: 56px; }
  .side .lbl, .side kbd, .side .count, .side-note, .brand-name, .projmenu, #collapseBtn { display: none !important; }
  .sbtn { justify-content: center; padding: 0; }
  .side-top { flex-direction: column; padding-inline: 0; }
  .nav .wdot { position: absolute; margin: -12px 0 0 14px; }
  .split { grid-template-columns: 288px minmax(0, 1fr); }
  .pane { padding-left: 22px; padding-right: max(22px, env(safe-area-inset-right, 0px)); }
}
@media (max-width: 760px) {
  .app { display: block; }
  .side { display: none; }
  .main { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); padding-block: 0 calc(96px + env(safe-area-inset-bottom, 0px)); }
  .mhead { display: flex; align-items: center; gap: 10px; padding-block: max(12px, env(safe-area-inset-top, 0px)) 8px; min-width: 0; }
  .mhead .proj { color: var(--ink-3); font-size: 12px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; }
  .split { display: block; min-height: 0; }
  .split[data-has="job"] .list, .split[data-has="pipe"] .list { display: none; }
  .split[data-has="none"] .pane { display: none; }
  .list { position: static; height: auto; overflow: visible; border: 0; }

  .lb { padding: 4px 0 8px; }
  .pane, .page { padding: 6px 0 24px; }
  .page { gap: 18px; }
  .bbar { display: flex; position: fixed; z-index: 30; left: 50%; transform: translateX(-50%); bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    gap: 2px; padding: 5px; border-radius: 14px; background: color-mix(in oklab, var(--panel) 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--line-2); box-shadow: var(--shadow); }
  .bbar button, .bbar a { display: grid; justify-items: center; gap: 2px; padding: 6px 6px; border-radius: 10px; font-size: 10.5px; color: var(--ink-3); min-width: 56px; }
  .bbar button[aria-current="page"], .bbar a[aria-current="page"] { background: var(--sel); color: var(--ink); }
  .bbar button .i, .bbar a .i { width: 18px; height: 18px; }

  .axis { grid-template-columns: 110px minmax(0, 1fr); }



  .verdict .vt { font-size: 16.5px; }
  .tools .lbl2 { display: none; }

  .drawer { top: auto; left: 0; right: 0; bottom: 0; width: auto; max-height: 86dvh; border-radius: 14px 14px 0 0; z-index: 36; padding-bottom: env(safe-area-inset-bottom, 0px); }
  .drawer .dgrip { display: none; }
  .pop { display: none !important; }




}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ---------- server-rendered adaptations ---------- */
.opt { color: inherit; }

.lb { display: block; }

.iconbtn.sm { width: 20px; height: 20px; }
.chevw { flex: none !important; display: grid; place-items: center; color: var(--side-ink-3); }
.sp13 { width: 13px; flex: none; }
.projmenu a.sbtn { text-decoration: none; }

.note0 { font-size: 12px; margin: 8px 0 0; }
.note-up { margin: -10px 0 0; font-size: 12px; }
 .mt8 { margin-top: 8px; }
.firstmk.blk { display: block; margin: 0; }
.sm { font-size: 11.5px; }

.okdot.bad { background: var(--fail, var(--del)); }

.others { font-size: 12.5px; color: var(--ink-2); }
.steppage { border: 1px solid var(--line); border-radius: 10px; background: var(--panel); overflow: hidden; max-width: 820px; }
.steppage .drb { overflow: visible; }
.aside dl dd .chip { margin-left: 2px; }

:root { --fail: #f08a74; }
:root[data-theme="light"] { --fail: #b3341c; }

/* categories: icons and chips for failed and running */
.c-failed { background: var(--fail); } .dl.st-failed { --bar: var(--fail); }
.si.failed { color: var(--fail); background: color-mix(in oklab, var(--fail) 15%, var(--panel)); }
.errbox { margin: 0; padding: 10px 12px; border: 1px solid color-mix(in oklab, var(--fail) 45%, var(--line)); border-radius: 8px;
  background: color-mix(in oklab, var(--fail) 9%, var(--panel)); font: 12px/1.5 var(--mono); white-space: pre-wrap; overflow-wrap: anywhere; }
.opt .rt { font-size: 11px; color: var(--ink-3); border: 1px solid var(--line-2); border-radius: 4px; padding: 0 4px; flex: none; }

 .chip.canceled { color: var(--ink-2); background: var(--sel); }
.c-canceled { background: var(--ink-3); } .si.canceled { color: var(--ink-2); background: var(--sel); }

.chip.failed { color: var(--fail); background: color-mix(in oklab, var(--fail) 13%, var(--panel)); }
.chip.running { color: var(--accent); background: color-mix(in oklab, var(--accent) 13%, var(--panel)); }
.chip.none { color: var(--ink-3); background: var(--sel); }
.tone-failed { --tone: var(--fail); }
.wg.failed { background: color-mix(in oklab, var(--fail) 15%, var(--panel)); color: var(--fail); }
.wg.running { background: color-mix(in oklab, var(--accent) 15%, var(--panel)); color: var(--accent); }
.wg.none { background: var(--sel); color: var(--ink-3); }
.wg.pipes { background: var(--sel); color: var(--ink-2); }

/* time bar parts the mock-up did not have */
.c-other { background: var(--line-2); }
.c-pipe { background: var(--ink-3); }

/* side: live status, theme words */
.side-live { margin: 0; padding: 0 8px 4px; font-size: 11px; line-height: 16px; min-height: 16px; color: var(--side-ink-3); display: flex; align-items: center; gap: 6px; }
.side-live.off { visibility: hidden; }
.side-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--received); }
.th-dark, .th-light { display: contents; }
:root[data-theme="dark"] .th-dark, :root[data-theme="light"] .th-light, :root:not([data-theme]) .th-light { display: none; }

/* waterfall: depth, lanes, hidden rows */



/* tabs: panes the script hides */
.tabpane[hidden] { display: none; }

/* Dockerfile syntax (server-side highlighting) */
.syn-i { font-weight: 600; color: var(--ink); } .syn-k { font-weight: 600; color: var(--ink); } .syn-s { color: var(--syn-s); font-weight: 600; }
.syn-f { color: var(--syn-f); } .syn-v { color: var(--syn-v); } .syn-c { color: var(--ink-3); font-style: italic; } .syn-img { color: var(--syn-i); }
.dl.dim .dc .syn-i, .dl.dim .dc .syn-k { font-weight: 400 !important; }
.grpstatic .gd { margin-left: auto; }
.verdict .k .i { flex: none; }

.howto { margin-bottom: 14px; }

/* Image references with digests and long commands wrap instead of widening
   the page on a phone. */
.verdict { min-width: 0; max-width: 100%; }
.verdict .vt, .verdict .vd, .verdict .diff { min-width: 0; overflow-wrap: anywhere; }
.verdict code { overflow-wrap: anywhere; word-break: break-word; }

/* Jobs that built no image: their status, as GitLab tells it, and their
   time waiting for a runner and running. */

.chip.passed { color: var(--received); background: color-mix(in oklab, var(--received) 13%, var(--panel)); }
.chip.waiting, .chip.manual, .chip.skipped, .chip.done { color: var(--ink-2); background: var(--sel); }
.c-job { background: color-mix(in oklab, var(--ink-3) 75%, var(--panel)); }

.c-passed { background: var(--received); } .c-running { background: var(--accent); }
.c-waiting, .c-manual, .c-skipped, .c-done { background: var(--ink-3); }

.chip.allowed, .chip.changes { color: var(--warn); background: color-mix(in oklab, var(--warn) 14%, var(--panel)); }
.c-allowed, .c-changes { background: var(--warn); }

/* ---- sign-in ---- */
.who { display: flex; align-items: center; gap: 8px; padding: 8px 8px 4px; color: var(--side-ink); min-width: 0; }
.who .av { width: 22px; height: 22px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 600; background: color-mix(in oklab, var(--accent) 22%, var(--side)); color: var(--side-ink); }
.who .lbl { display: grid; min-width: 0; font-size: 12.5px; line-height: 1.25; }
.who .lbl span, .who small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.who small { color: var(--side-ink-3); font-size: 11px; }
.signout { margin: 0; display: grid; }
.signout .sbtn { width: 100%; }
.app[data-collapsed="true"] .who .lbl { display: none; }
body.signin-page { background: var(--bg); color: var(--ink); min-height: 100vh; display: grid; place-items: center; padding-block: 24px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); box-sizing: border-box; }
.signin { width: min(440px, 100%); background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 28px; display: grid; gap: 14px; box-shadow: var(--shadow-s); }
.signin h1 { margin: 0; font-size: 20px; line-height: 1.25; text-wrap: balance; }
.signin p { margin: 0; color: var(--ink-2); line-height: 1.5; }
.signin-brand { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 13px; color: var(--ink-2); }
.signin-brand .mark { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; background: var(--ink); color: var(--panel); }
.signin-choices { display: grid; gap: 8px; }
.signin-btn { height: 38px; justify-content: center; font-size: 13.5px; color: var(--ink); background: var(--raised); }
.signin-btn .muted { color: var(--ink-3); }
.signin-note { font-size: 12px; }
.signin-note code { background: var(--sel); padding: 0 4px; border-radius: 3px; }
@media (max-width: 480px) { .signin { padding: 20px; } }

/* ---- console v2: statuses, lists, overview, images ---- */
.st-cached { --sc: var(--cached); } .st-change { --sc: var(--built); } .st-farm { --sc: var(--node); }
.st-unclear { --sc: var(--warn); } .st-failed { --sc: var(--del); } .st-running { --sc: var(--accent); }
.stat { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 500; color: var(--sc); white-space: nowrap; }
.stat .i { width: 12px; height: 12px; flex: none; }
.phead { display: grid; gap: 2px; }
.lead { overflow-wrap: anywhere; margin: 0; font-size: 16px; line-height: 1.5; color: var(--ink); max-width: 76ch; text-wrap: pretty; }
.lead b { font-variant-numeric: tabular-nums; font-weight: 650; }
.seg { display: inline-flex; border: 1px solid var(--line-2); border-radius: 7px; overflow: hidden; margin-left: auto; }
.seg a { padding: 4px 10px; font-size: 12.5px; color: var(--ink-3); }
.seg a + a { border-left: 1px solid var(--line-2); }
.seg a[aria-current="true"], .seg a[aria-selected="true"] { background: var(--sel); color: var(--ink); font-weight: 500; }
.ml { margin-left: auto; }
.box:has(> .boxh), .box:has(> .blist), .box.fold { padding: 0; }
.inpipe .brow .bp { visibility: hidden; }
.boxh { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.boxh .h { margin: 0; }
.boxh .muted { font-size: 12.5px; }
a.boxh:hover { background: var(--hover); }
.pad { padding: 12px 14px; }
.empty { border: 1px dashed var(--line-2); border-radius: 10px; padding: 22px; color: var(--ink-2); display: grid; gap: 6px; }
.empty b { color: var(--ink); font-size: 15px; }
.empty p { margin: 0; max-width: 70ch; overflow-wrap: anywhere; }

.rlist { display: grid; }
.rrow { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: "s n l" "t n l" "i n l"; gap: 2px 18px; padding: 10px 14px; border-top: 1px solid var(--line); align-items: center; }
.rrow:first-child { border-top: 0; }
.rrow:hover { background: var(--hover); }
.rrow .rs { grid-area: s; } .rrow .rt { grid-area: t; color: var(--ink); min-width: 0; overflow-wrap: anywhere; }
.rrow .ri { grid-area: i; font-size: 12px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rrow .rn { grid-area: n; font-size: 12.5px; color: var(--ink-3); font-variant-numeric: tabular-nums; text-align: right; }
.rrow .rl { grid-area: l; font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; min-width: 64px; }
.more { display: block; padding: 9px 14px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--accent); }
.strip { display: flex; gap: 2px; align-items: center; flex-wrap: nowrap; overflow: hidden; min-width: 0; justify-content: flex-end; }
.strip .sq { width: 8px; height: 18px; border-radius: 2px; background: var(--sc); flex: none; }
.strip .sq.st-cached { opacity: .35; }
.strip .sq.st-unclear { background: repeating-linear-gradient(135deg, var(--sc) 0 2px, transparent 2px 4px); box-shadow: inset 0 0 0 1px var(--sc); }
.strip .sq:hover { outline: 2px solid var(--ink); outline-offset: 1px; }
.legend5 { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 12px; }

.filters { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: end; }
.filters label { display: grid; gap: 3px; font-size: 11.5px; color: var(--ink-3); }
.filters label.chk { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--ink-2); height: 28px; }
.filters input[type="search"], .filters input[type="date"] { height: 28px; border: 1px solid var(--line-2); border-radius: 6px; background: var(--panel); color: var(--ink); font: inherit; font-size: 12.5px; padding: 0 8px; box-sizing: border-box; }
.filters label.fq { flex: 1 1 240px; max-width: 360px; }
.filters input[type="search"] { width: 100%; }
.filters input[aria-invalid="true"] { border-color: var(--del); }
.filters select { height: 28px; border: 1px solid var(--line-2); border-radius: 6px; background: var(--panel); color: var(--ink); font: inherit; font-size: 12.5px; padding: 0 6px; max-width: 220px; }
.blist { --bnw: 150px; display: grid; position: relative; }
.brow { display: grid; grid-template-columns: 76px var(--bnw) 170px minmax(0, 1fr) 120px minmax(0, 170px); gap: 12px; align-items: center; padding: 8px 14px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-2); }
.blist > .brow:first-child { border-top: 0; }
.brow:hover { background: var(--hover); }
.brow .bt { color: var(--ink-3); font-variant-numeric: tabular-nums; font-size: 12px; }
.brow .bn { color: var(--ink); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.brow .bw { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.brow .bd { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.brow .bp { color: var(--ink-3); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.brow.quiet { color: var(--ink-3); }
.brow.quiet .bn { color: var(--ink-2); font-weight: 400; }
.brow.quiet .stat { opacity: .75; }
.slow { color: var(--del); } .fast { color: var(--received); }
.pager { display: flex; gap: 8px; justify-content: flex-end; }
.pgroup .pgh { display: flex; flex-wrap: wrap; gap: 2px 12px; align-items: baseline; color: inherit; }
.fold > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; padding: 10px 14px; font-size: 13px; color: var(--ink-2); border-top: 1px solid var(--line); }
.box.fold > summary { border-top: 0; }
.fold > summary::-webkit-details-marker { display: none; }
.fold > summary .chev { transition: transform .15s; }
.fold[open] > summary .chev { transform: rotate(90deg); }
.fold > summary .muted { font-size: 12.5px; }

.nums { display: flex; flex-wrap: wrap; gap: 4px 22px; font-size: 13.5px; color: var(--ink-2); }
.nums b { color: var(--ink); font-variant-numeric: tabular-nums; font-size: 15px; }
.others { margin: 0; font-size: 13px; color: var(--ink-2); }
.chg { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px 18px; margin: 0; padding: 12px 14px; font-size: 13px; }
.chg dt { color: var(--ink-3); }
.chg dd { margin: 0; color: var(--ink); overflow-wrap: anywhere; }
.chg .old { color: var(--del); text-decoration: line-through; }
.chg .new { color: var(--received); }
.chg code, .chg .mono { font-family: var(--mono); font-size: 12px; }
.logbox { display: grid; gap: 6px; margin-top: 12px; justify-items: start; }
.logbox .logb { justify-self: stretch; max-height: 420px; overflow: auto; }

.itable td { vertical-align: middle; }
.chart { position: relative; padding: 14px 14px 24px 64px; }
.chart .plot { position: relative; height: 170px; border-left: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.chart .uline { position: absolute; left: 0; right: 0; border-top: 1px dashed var(--line-2); }
.chart .dot { position: absolute; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: var(--sc); }
.chart .dot.st-cached { opacity: .45; }
.chart .dot.st-unclear { background: var(--panel); box-shadow: inset 0 0 0 2px var(--sc); border-radius: 2px; transform: rotate(45deg); }
.chart .dot:hover { outline: 2px solid var(--ink); outline-offset: 1px; z-index: 1; }
.chart .cy { position: absolute; left: 10px; font-size: 11px; color: var(--ink-3); transform: translateY(-50%); }
.chart .cy.top { top: 14px; transform: none; }
.chart .cy.usual { margin-top: 14px; }
.chart .cx { position: absolute; bottom: 4px; font-size: 11px; color: var(--ink-3); }
.chart .cx.l { left: 64px; } .chart .cx.r { right: 14px; }
.weeks { position: relative; padding: 14px 14px 24px; }
.weeks .wcols { display: flex; align-items: flex-end; gap: 2px; height: 140px; border-bottom: 1px solid var(--line-2); }
.weeks .wcol { flex: 1 1 0; min-width: 1px; display: flex; flex-direction: column-reverse; border-radius: 2px 2px 0 0; overflow: hidden; }
.weeks .wcol i { display: block; background: var(--sc); flex: none; }
.weeks .wcol i.st-cached { opacity: .35; }
.weeks .wcol i.st-unclear { background: repeating-linear-gradient(135deg, var(--sc) 0 2px, transparent 2px 4px); }
.weeks .wcol:hover { outline: 2px solid var(--ink); outline-offset: 1px; }
.weeks .cx { position: absolute; bottom: 4px; font-size: 11px; color: var(--ink-3); }
.weeks .cx.l { left: 14px; } .weeks .cx.r { right: 14px; }
.srows { display: grid; }
.srow { display: grid; grid-template-columns: minmax(0, 1fr) 90px auto; gap: 12px; align-items: center; padding: 8px 14px; border-top: 1px solid var(--line); font-size: 12.5px; }
.srow:first-child { border-top: 0; }
.srow .sn { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.srow .sb { height: 6px; background: var(--hover); border-radius: 3px; overflow: hidden; }
.srow .sb i { display: block; height: 100%; background: var(--built); }
.srow .sc { color: var(--ink-3); font-variant-numeric: tabular-nums; white-space: nowrap; }
.phead .others { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 12.5px; margin-top: 8px; }
.phead .others a { color: var(--ink-3); } .phead .others a:hover { color: var(--ink); }
.newdata { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 4; display: flex; gap: 12px; align-items: center; justify-content: center; padding: 6px 12px; background: var(--sel); color: var(--ink); font-size: 12.5px; }
@media (max-width: 760px) {
  .brow { grid-template-columns: 52px minmax(0, 1fr) auto; grid-template-areas: "t n d" "t s s" "t w w"; row-gap: 2px; }
  .brow .bt { grid-area: t; align-self: start; } .brow .bn { grid-area: n; } .brow .bs { grid-area: s; } .brow .bw { grid-area: w; white-space: normal; } .brow .bd { grid-area: d; } .brow .bp { display: none; }
  .strip .sq { width: 6px; }
  .phead .titlerow { flex-wrap: wrap; }
  .rrow { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "s l" "t t" "i n"; }
  .chart .plot { height: 140px; }
  .seg { margin-left: 0; }
  .chart { padding-left: 46px; } .chart .cx.l { left: 46px; }
}

/* ---------- timeline (waterfall) ---------- */
.wfv { --rule: var(--line); --rule-2: var(--line-2); --wsel: color-mix(in oklab, var(--accent) 13%, var(--panel)); --dimop: .3;
  --built-bg: color-mix(in oklab, var(--built) 15%, var(--panel)); --cached-bg: color-mix(in oklab, var(--cached) 15%, var(--panel)); --received-bg: color-mix(in oklab, var(--received) 15%, var(--panel));
  --image-bg: color-mix(in oklab, var(--image) 16%, var(--panel)); --xfer-bg: color-mix(in oklab, var(--xfer) 16%, var(--panel)); --node-bg: color-mix(in oklab, var(--node) 15%, var(--panel)); --warn-bg: color-mix(in oklab, var(--warn) 15%, var(--panel));
  --tw: 250px; --tp: 12px; --rh: 24px; display: grid; gap: 10px; min-width: 0; }
.wfv .lane { position: absolute; left: 0; right: 0; height: 6px; border-radius: 2px; background: var(--sel); }
.wfv .lane i { position: absolute; top: 0; bottom: 0; min-width: 1.5px; border-radius: 1px; }
.wfv .lane.crit { box-shadow: 0 0 0 1.5px var(--ink); }
.wfv .lane.sel { box-shadow: 0 0 0 1.5px var(--accent); }
.wtools { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; }
.wsearch { display: flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: var(--panel); border-radius: 7px; padding: 0 8px; min-width: 0; flex: 0 1 220px; height: 28px; color: var(--ink-3); }
.wsearch input { border: 0; background: none; outline: none; font: inherit; font-size: 12px; min-width: 0; width: 100%; color: var(--ink); }
.wsearch input::placeholder { color: var(--ink-3); }
.wsearch:focus-within { outline: 2px solid var(--focus); outline-offset: 1px; }
.tog { border: 1px solid var(--line-2); background: var(--panel); border-radius: 7px; height: 28px; padding: 0 10px; font-size: 12px; color: var(--ink-2); display: inline-flex; gap: 6px; align-items: center; white-space: nowrap; }
.tog:hover { color: var(--ink); }
.tog[aria-pressed="true"] { border-color: var(--ink-2); color: var(--ink); background: var(--sel); }
/* No overscroll-behavior: once the box has scrolled to its end, the wheel
   goes on to the page (contain trapped it inside the box). */
.wfv .wfbox { background: var(--panel); border: 1px solid var(--rule); border-radius: 8px; overflow: auto; max-height: max(420px, calc(100vh - 230px)); position: relative; }
.wfv .wfin { min-width: calc(var(--tw) + 460px); }
.wfv .wfax { position: sticky; top: 0; z-index: 4; display: grid; grid-template-columns: var(--tw) minmax(0, 1fr); background: var(--raised); border-bottom: 1px solid var(--rule); height: 26px; }
.wfv .wfax .h { position: sticky; left: 0; z-index: 2; background: var(--raised); border-right: 1px solid var(--rule); padding: 0 10px; display: flex; align-items: center; justify-content: space-between; font-size: 11px; color: var(--ink-3); }
/* The names column's resize handle sits on its right border, over the
   whole header height; the column follows --tw on .wfv. */
.wfv .wgrip { position: absolute; top: 0; bottom: 0; right: -4px; width: 8px; cursor: col-resize; z-index: 5; touch-action: none; }
.wfv .wgrip::after { content: ""; position: absolute; top: 4px; bottom: 4px; left: 3px; width: 2px; border-radius: 1px; background: transparent; }
.wfv .wgrip:hover::after, .wfv .wgrip:focus-visible::after, .wfv.resizing .wgrip::after { background: var(--focus); }
.wfv .wgrip:focus-visible { outline: none; }
.wfv.resizing, .wfv.resizing * { cursor: col-resize !important; user-select: none; }
.wfv .wfax .tk { position: relative; margin: 0 var(--tp); }
.wfv .wfax .tk span { position: absolute; top: 6px; transform: translateX(-50%); font-size: 10.5px; color: var(--ink-3); white-space: nowrap; font-variant-numeric: tabular-nums; }
.wfv .wfax .tk span:first-child { transform: none; }
.wfv .tg { position: relative; outline: none; }
.wfv .gridl { position: absolute; top: 0; bottom: 0; left: calc(var(--tw) + var(--tp)); right: var(--tp); pointer-events: none; z-index: 0; }
.wfv .gridl b { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--rule); }
.wfv .gridl b.end { background: none; border-left: 1px dashed var(--ink-3); }
.wfv .row { display: grid; grid-template-columns: var(--tw) minmax(0, 1fr); height: var(--rh); position: relative; z-index: 1; }
.wfv .row:hover .tc, .wfv .row:hover .tl { background: var(--hover); }
.wfv .row .tc { position: sticky; left: 0; z-index: 2; background: var(--panel); border-right: 1px solid var(--rule); display: flex; align-items: center; gap: 5px; padding-right: 8px; min-width: 0; white-space: nowrap; }
.wfv .row .tl { padding: 0 var(--tp); min-width: 0; }
.wfv .row .trk { position: relative; height: 100%; }
.wfv .row[aria-selected="true"] .tc, .wfv .row[aria-selected="true"] .tl { background: var(--wsel); }
.wfv .row[aria-selected="true"] .tc { box-shadow: inset 2px 0 0 var(--accent); }
.wfv .row:focus { outline: none; }
.wfv .row:focus-visible .tc { outline: 2px solid var(--focus); outline-offset: -2px; }
.wfv .row.dim .tc > *, .wfv .row.dim .tl { opacity: var(--dimop); }
.wfv .row.k-pipe .tc, .wfv .row.k-group .tc { font-weight: 600; }
.wfv .row.k-job .nm { font-weight: 600; color: var(--ink); }
.wfv .row.k-job { border-top: 1px solid var(--rule); }
.wchev { width: 16px; height: 16px; flex: none; color: var(--ink-3); display: grid; place-items: center; border-radius: 3px; }
.wchev:hover { background: var(--sel); color: var(--ink); }
.wchev svg { transition: transform .12s; }
.wfv .row[aria-expanded="true"] > .tc .wchev svg { transform: rotate(90deg); }
.wfv .sp16 { width: 16px; flex: none; }
.wg { width: 16px; height: 16px; flex: none; display: grid; place-items: center; border-radius: 4px; }
.wg .i { width: 11px; height: 11px; }
.wg.built, .wg.step, .wg.files { background: var(--built-bg); color: var(--built); } .wg.cached { background: var(--cached-bg); color: var(--cached); }
.wg.received { background: var(--received-bg); color: var(--received); } .wg.image, .wg.first { background: var(--image-bg); color: var(--ink-2); }
.wg.xfer, .wg.push { background: var(--xfer-bg); color: var(--xfer); } .wg.runner { background: var(--image-bg); color: var(--ink-3); }
.wg.pipes { background: var(--sel); color: var(--ink-2); } .wg.node { background: var(--node-bg); color: var(--node); } .wg.unknown { background: var(--warn-bg); color: var(--warn); }
.wfv .nm { overflow: hidden; text-overflow: ellipsis; min-width: 0; flex: 0 1 auto; color: var(--ink-2); }
.wfv .nm.cmd { font-family: var(--mono); font-size: 11.5px; }
.wfv .nm .k { color: var(--ink-3); margin-right: 6px; }
.wfv .tc .meta { margin-left: auto; display: inline-flex; gap: 4px; flex: none; padding-left: 4px; }
.wfv .chip.crit { color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink-2); background: none; }
/* The critical path toggle: everything off the path fades, the path stays. */
.wfv.crit-on .row:not(.oncrit):not(.k-pipe) { opacity: .28; }
.wfv.crit-on .row.oncrit .nm { font-weight: 600; }
.wfv .bar { position: absolute; top: 50%; height: 10px; transform: translateY(-50%); border-radius: 2px; min-width: 2px; }
.wfv .k-job .bar { height: 12px; }
.wfv .k-pipe .bar { height: 6px; background: var(--ink-3); border-radius: 3px; }
.wfv .k-group .bar { height: 8px; background: none; border: 1px solid var(--ink-3); }
.wfv .k-step .bar, .wfv .k-seg .bar { height: 8px; }
.wfv .c-received { background: repeating-linear-gradient(135deg, var(--received) 0 3px, color-mix(in oklab, var(--received) 45%, transparent) 3px 5px); }
.wfv .c-image { background: color-mix(in oklab, var(--image) 30%, transparent); box-shadow: inset 0 0 0 1.5px var(--image); }
.wfv .lab { position: absolute; top: 50%; transform: translateY(-50%); font-size: 11px; color: var(--ink-3); white-space: nowrap; z-index: 2; display: inline-flex; gap: 6px; align-items: center; }
.wfv .lab.over { background: var(--panel); padding: 0 4px; border-radius: 3px; }
.wfv .lab b { color: var(--ink); font-weight: 500; }
.wfv .lab .i { width: 11px; height: 11px; }
.c-queue { background: repeating-linear-gradient(135deg, color-mix(in oklab, var(--ink-3) 70%, transparent) 0 1.5px, transparent 1.5px 3.5px); }
.c-job { background: color-mix(in oklab, var(--ink-3) 75%, var(--panel)); } .c-job-failed { background: var(--del); } .c-job-running { background: color-mix(in oklab, var(--accent) 55%, var(--panel)); } .c-pipe { background: var(--ink-3); }
.c-after { background: repeating-linear-gradient(45deg, var(--runner) 0 3px, transparent 3px 6px); box-shadow: inset 0 0 0 1px var(--runner); }
.wg.job { background: var(--sel); color: var(--ink-3); } .wg.change { background: var(--built-bg); color: var(--built); } .wg.farm { background: var(--node-bg); color: var(--node); } .wg.unclear { background: var(--warn-bg); color: var(--warn); } .wg.failed { background: color-mix(in oklab, var(--del) 15%, var(--panel)); color: var(--del); } .wg.running { background: color-mix(in oklab, var(--accent) 15%, var(--panel)); color: var(--accent); }
@media (max-width: 760px) {
  .wfv { --tw: 160px; --tp: 8px; }
  .wfv .wfin { min-width: calc(var(--tw) + 340px); }
  .wfv .tc .meta .vtag, .wfv .wfax .h .lbl { display: none; }
}

/* ---------- pipelines: one card each, its jobs on a time axis by stage ---------- */
.pcard { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px 14px; display: grid; gap: 10px; min-width: 0; }
.pcard:hover { border-color: var(--line-2); }
.pc-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; column-gap: 10px; row-gap: 3px; align-items: center; color: inherit; text-decoration: none; min-width: 0; }
.pc-head:hover .pc-title { text-decoration: underline; text-underline-offset: 3px; }
.pc-title { font-weight: 600; font-size: 14.5px; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.pc-dur { font-weight: 600; font-variant-numeric: tabular-nums; color: var(--ink); white-space: nowrap; }
.pc-meta { grid-column: 2 / 4; display: flex; flex-wrap: wrap; gap: 2px 12px; font-size: 12px; color: var(--ink-3); min-width: 0; }
.pc-meta > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.pc-facts { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 12.5px; color: var(--ink-2); }
.pc-facts b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.pstate { --ps: var(--ink-3); display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; color: var(--ps); background: color-mix(in oklab, var(--ps) 12%, var(--panel)); border-radius: 999px; padding: 2px 9px 2px 7px; white-space: nowrap; }
.pstate .i { width: 12px; height: 12px; }
.ps-passed { --ps: var(--received); } .ps-failed { --ps: var(--del); } .ps-running { --ps: var(--accent); } .ps-manual { --ps: var(--ink-2); }
.pg { display: grid; gap: 4px; padding-top: 2px; }
.pg-ax, .pg-lane { display: grid; grid-template-columns: 116px minmax(0, 1fr); column-gap: 12px; align-items: center; }
.pg-st { font-size: 11.5px; color: var(--ink-3); text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pg-tk { position: relative; height: 14px; border-bottom: 1px solid var(--line); }
.pg-tk span { position: absolute; top: 0; transform: translateX(-50%); font-size: 10.5px; color: var(--ink-3); font-variant-numeric: tabular-nums; white-space: nowrap; }
.pg-tk span:first-child { transform: none; }
.pg-tr { position: relative; height: 8px; border-radius: 3px; background: color-mix(in oklab, var(--ink) 4%, var(--panel)); }
.pg-lane.n2 .pg-tr { height: 14px; } .pg-lane.n3 .pg-tr { height: 20px; }
.pg-tr .j, .pg-tr .q { position: absolute; height: 5px; top: 1.5px; min-width: 2px; }
.pg-tr .r1 { top: 7.5px; } .pg-tr .r2 { top: 13.5px; }
.pg-tr .j { border-radius: 2px; background: var(--sc, var(--ink-3)); }
.pg-tr .j:hover { outline: 2px solid var(--ink); outline-offset: 1px; z-index: 2; }
.pg-tr .q { border-radius: 2px 0 0 2px; background: repeating-linear-gradient(135deg, color-mix(in oklab, var(--ink-3) 70%, transparent) 0 1.5px, transparent 1.5px 3.5px); }
.jw-job { --sc: color-mix(in oklab, var(--ink-3) 75%, var(--panel)); } .jw-failed { --sc: var(--del); } .jw-allowed { --sc: var(--warn); }
.jw-canceled { --sc: var(--line-2); } .jw-running { --sc: var(--accent); }
.pg-tr .j.st-cached { --sc: color-mix(in oklab, var(--cached) 70%, var(--panel)); }
.pg-key { display: inline-flex; flex-wrap: wrap; gap: 4px 14px; margin-left: auto; font-size: 11.5px; color: var(--ink-3); align-self: end; }
.pg-key > span { display: inline-flex; align-items: center; gap: 5px; }
.pg-key i { width: 14px; height: 6px; border-radius: 2px; background: var(--sc); display: inline-block; }
.pg-key i.q { background: repeating-linear-gradient(135deg, var(--ink-3) 0 1.5px, transparent 1.5px 3.5px); }
.pg-key i.st-cached { --sc: color-mix(in oklab, var(--cached) 70%, var(--panel)); }
@media (max-width: 760px) {
  .pg-ax, .pg-lane { grid-template-columns: 64px minmax(0, 1fr); column-gap: 8px; }
  .pg-key { display: none; }
  .pg-tk span:nth-child(even) { display: none; }
  .pc-head { grid-template-columns: minmax(0, 1fr) auto; }
  .pc-head .pstate { grid-column: 1 / 3; justify-self: start; }
  .pc-meta { grid-column: 1 / 3; }
}
.pcards { display: grid; gap: 12px; }
.page ul.plain { list-style: none; padding: 0; margin: 10px 0; display: grid; gap: 6px; }
/* a daemon's disk: cache, other files, free */
.c-free { background: color-mix(in oklab, var(--ink-3) 18%, var(--panel)); }
.callout.bad { --tone: var(--del); }
.ndisk { display: grid; gap: 8px; }
.ndisk .legend { margin-top: 0; }
.dnote { display: block; }
/* Two builds side by side. */
.cmp { width: 100%; border-collapse: collapse; font-size: 13px; }
.cmp th, .cmp td { text-align: left; padding: 6px 12px; border-top: 1px solid var(--line); vertical-align: top; overflow-wrap: anywhere; }
.cmp thead th { border-top: 0; color: var(--ink-3); font-weight: 500; }
.cmp tbody th { color: var(--ink-3); font-weight: 400; white-space: nowrap; }
.cmp tr.dif td { font-weight: 600; }
.cmp tr.dif th { color: var(--ink); }
.cmp .diff { margin-top: 4px; }
.cmpdiff .gap { color: var(--ink-3); }
.cmpdiff div { white-space: pre-wrap; overflow-wrap: anywhere; }
.picks { list-style: none; margin: 0; padding: 8px 14px 12px; display: grid; gap: 6px; font-size: 13px; }
.picks .cur { font-weight: 600; }
/* A job's pod starting (scheduled, images pulled), between the runner's parts. */
.c-podwait { background: repeating-linear-gradient(135deg, color-mix(in oklab, var(--runner) 75%, transparent) 0 1.5px, transparent 1.5px 3.5px); }
/* On a phone both builds stay on screen: fixed columns that wrap. */
@media (max-width: 760px) {
  .cmp { table-layout: fixed; font-size: 12px; }
  .cmp th, .cmp td { padding: 6px 8px; }
  .cmp tbody th, .cmp thead th:first-child { width: 28%; white-space: normal; }
  .cmp.steps th:first-child, .cmp.steps td:first-child { width: 44%; }
  .cmp.steps th.num, .cmp.steps td.num { width: 16%; }
  .cmp .diff div { white-space: pre-wrap; overflow-wrap: anywhere; }
  .cmp th, .cmp td { overflow: hidden; }
  .cmp thead th > a { display: block; }
  .cmp .chip, .cmp .stat { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}

/* Nodes: the daemons' table, a daemon's page */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.tbox.flat { border: 0; border-radius: 0; background: transparent; }
.wrapany { overflow-wrap: anywhere; white-space: normal; }
.lead.sm { font-size: 15px; }
.callout .nnodes { display: block; margin-top: 2px; color: var(--ink-2); }
.ntable td { white-space: nowrap; }
.ntable td.nd a { display: inline-flex; align-items: center; gap: 7px; color: var(--ink); font-family: var(--mono); font-weight: 500; }
.ntable td.nd a:hover { text-decoration: underline; }
.ntable td.nd small { display: block; margin-left: 15px; color: var(--ink-3); font-size: 11.5px; white-space: normal; }
.ntable tbody tr:hover td { background: var(--hover); }
.ntable tr.lv-bad, .ntable tr.lv-crit { --tone: var(--del); } .ntable tr.lv-warn { --tone: var(--warn); }
.ntable td.line2 { display: none; }
.mini { display: inline-flex; width: 56px; height: 6px; margin-right: 8px; gap: 1px; border-radius: 3px; overflow: hidden; vertical-align: middle; background: var(--line); }
.mini i { display: block; height: 100%; }
.tone-crit { color: var(--del); font-weight: 600; } .tone-warn { color: var(--warn); font-weight: 600; }
.ptable td.sh, .ptable th.sh { width: 38%; }
.share { display: flex; align-items: center; }
.share i { display: block; height: 6px; border-radius: 3px; background: color-mix(in oklab, var(--cached) 70%, var(--panel)); }
.ptable tr.cur td { background: color-mix(in oklab, var(--accent) 10%, var(--panel)); }
.ptable tr.cur td:first-child { box-shadow: inset 2px 0 0 var(--accent); }
.ptable td a { color: var(--ink); } .ptable td a:hover { text-decoration: underline; }
.foldrow > summary { list-style: none; cursor: pointer; padding: 8px 12px; color: var(--accent); font-size: 12.5px; }
.foldrow > summary::-webkit-details-marker { display: none; }
.tiles { display: flex; flex-wrap: wrap; gap: 10px; }
.tile { flex: 1 1 150px; display: grid; gap: 2px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); }
.tile .k { font-size: 11.5px; color: var(--ink-3); }
.tile .v { font-size: 18px; font-weight: 650; font-variant-numeric: tabular-nums; color: var(--ink); }
.tile .s { font-size: 11.5px; color: var(--ink-3); }
@media (max-width: 760px) {
  .ntable thead { display: none; }
  .ntable, .ntable tbody { display: block; }
  .ntable tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; padding: 9px 12px; border-bottom: 1px solid var(--line); }
  .ntable td { border: 0; padding: 0; background: transparent !important; box-shadow: none !important; }
  .ntable tr.mark { background: color-mix(in oklab, var(--tone) 9%, var(--panel)); box-shadow: inset 2px 0 0 var(--tone); }
  .ntable td.dk { text-align: right; }
  .ntable td.m { display: none; }
  .ntable td.line2 { display: block; grid-column: 1 / -1; color: var(--ink-3); font-size: 12px; white-space: normal; }
  .ptable td.sh, .ptable th.sh { display: none; }
  .ophone { display: none; }
  .tile { flex-basis: 40%; }
}

/* Comparing two builds: picking the pair, marking which is which */
.pickbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 9px 12px; border: 1px solid color-mix(in oklab, var(--accent) 45%, var(--line)); border-radius: 8px; background: color-mix(in oklab, var(--accent) 12%, var(--panel)); font-size: 13px; }
.pickbar .ml { margin-left: auto; }
/* The image names' column border: drag to widen the names, double-click
   to fit the longest, arrows from the keyboard; one width for every list
   on the page, remembered. */
.blist .bgrip { position: absolute; top: 0; bottom: 0; left: calc(14px + 76px + 12px + var(--bnw) + 2px); width: 8px; cursor: col-resize; z-index: 3; touch-action: none; }
.blist .bgrip::after { content: ""; position: absolute; top: 6px; bottom: 6px; left: 3px; width: 2px; border-radius: 1px; background: var(--line-2); }
.blist .bgrip:hover::after, .blist .bgrip:focus-visible::after, .blist.resizing .bgrip::after { background: var(--focus); }
.blist .bgrip:focus-visible { outline: none; }
.blist.resizing, .blist.resizing * { cursor: col-resize !important; user-select: none; }
@media (max-width: 760px) { .blist .bgrip { display: none; } }
.blist.pick a.brow:hover { background: color-mix(in oklab, var(--accent) 8%, var(--panel)); }
.brow.picked { background: color-mix(in oklab, var(--accent) 14%, var(--panel)); box-shadow: inset 3px 0 0 var(--accent); }
.chip.self { color: var(--accent); border-color: color-mix(in oklab, var(--accent) 50%, var(--line)); background: color-mix(in oklab, var(--accent) 12%, var(--panel)); }
.chip.other { color: var(--ink-2); }
.btn[aria-pressed="true"] { background: color-mix(in oklab, var(--accent) 18%, var(--panel)); border-color: var(--accent); color: var(--ink); }
.cmpsel { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: 6px; font-size: 13px; color: var(--ink-2); }
.cmpsel .btn { margin-left: 6px; }
.cmp thead th { white-space: normal; }
.cmp.self-a td:nth-child(2), .cmp.self-a thead th:nth-child(2), .cmp.self-b td:nth-child(3), .cmp.self-b thead th:nth-child(3) { background: color-mix(in oklab, var(--accent) 7%, var(--panel)); }
.cmp.self-a thead th:nth-child(2), .cmp.self-b thead th:nth-child(3) { box-shadow: inset 0 2px 0 var(--accent); }
.picks li.cur { margin: 0 -6px; padding: 2px 6px; border-radius: 6px; background: color-mix(in oklab, var(--accent) 10%, var(--panel)); }

/* Load: the probe's CPU and memory readings (the daemons' table, a daemon's page). */
.spark { width: 72px; height: 18px; vertical-align: middle; margin-right: 8px; }
.spark polyline { fill: none; stroke-width: 1.4; } .spark .c { stroke: var(--built); } .spark .m { stroke: var(--xfer); } .spark line { stroke: var(--line-2); stroke-width: 1; }
.ntable td.ld { white-space: nowrap; }
.c-daemon { background: var(--built); } .c-host { background: color-mix(in oklab, var(--ink-3) 70%, var(--panel)); } .c-mem { background: var(--xfer); }
.nload { display: grid; gap: 8px; }
.lrow { display: grid; grid-template-columns: 64px minmax(0, 1fr) max-content; gap: 10px; align-items: center; font-size: 12.5px; }
.lrow .k { color: var(--ink-3); }
.lrow .bar { display: flex; height: 8px; border-radius: 4px; overflow: hidden; gap: 1px; background: color-mix(in oklab, var(--ink-3) 18%, var(--panel)); }
.lrow .bar i { display: block; height: 100%; }
.lrow .v { color: var(--ink-2); font-variant-numeric: tabular-nums; white-space: nowrap; } .lrow .v b { color: var(--ink); }
.lrow .v.wide { grid-column: 2 / 4; white-space: normal; }
@media (max-width: 640px) { .lrow { grid-template-columns: 56px minmax(0, 1fr); } .lrow .v { grid-column: 2; white-space: normal; } }

/* Charts: the plot stretches to its box (no aspect ratio, strokes keep
   their width); the tick labels are HTML placed in percent, so text never
   scales with the page. */
.chsub { margin: 10px 0 2px; }
.ch { --ch-h: 200px; display: grid; grid-template-columns: max-content minmax(0, 1fr) max-content; grid-template-rows: var(--ch-h) 20px; column-gap: 8px; margin: 10px 0 12px; }
.ch-y { position: relative; font-size: 11px; color: var(--ink-3); font-variant-numeric: tabular-nums; min-width: 2.4em; }
.ch-y span { position: absolute; transform: translateY(-50%); white-space: nowrap; line-height: 1; }
.ch-y.l span { right: 0; } .ch-y.r span { left: 0; }
.ch-plot { position: relative; border: 1px solid var(--line-2); border-top: 0; border-right-color: transparent; background: color-mix(in oklab, var(--ink) 2%, var(--panel)); }
.ch.load .ch-plot { border-right-color: var(--line-2); }
.ch-plot svg { width: 100%; height: 100%; display: block; }
.ch-plot .grid { stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.ch-plot polyline { fill: none; stroke-width: 1.6; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.ch-x { grid-column: 2; position: relative; font-size: 11px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.ch-x span { position: absolute; top: 5px; transform: translateX(-50%); white-space: nowrap; }
.ch-x span.l { transform: none; } .ch-x span.r { transform: translateX(-100%); }
.ch .podfill { fill: color-mix(in oklab, var(--built) 22%, transparent); }
.ch .node { stroke: color-mix(in oklab, var(--ink-3) 85%, var(--panel)); } .ch .pod { stroke: var(--built); } .ch .mem { stroke: var(--xfer); }
.ch .ln { stroke: var(--built); }
.ch .cap { stroke: var(--ink-3); stroke-width: 1; stroke-dasharray: 5 4; vector-effect: non-scaling-stroke; }
.ch .fill { fill: color-mix(in oklab, var(--built) 22%, transparent); }
.ch .over { fill: color-mix(in oklab, var(--warn) 40%, transparent); }
@media (max-width: 640px) { .ch { --ch-h: 150px; } }

/* Resources: what a build's executed steps used. */
.demand { padding: 4px 14px 0; }
.peak { margin: 0; font-size: 12.5px; color: var(--warn); font-weight: 500; }
.rtable td.nm { font-family: var(--mono); font-size: 11.5px; color: var(--ink-2); max-width: 0; min-width: 240px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rtable td.nm a { color: var(--ink-2); } .rtable td.nm a:hover { color: var(--ink); text-decoration: underline; }
.rtable .cores { display: inline-flex; align-items: center; gap: 8px; font-variant-numeric: tabular-nums; }
.rtable .gt2 { position: relative; width: 110px; height: 8px; border-radius: 3px; background: color-mix(in oklab, var(--ink) 5%, var(--panel)); overflow: hidden; flex: none; }
.rtable .gt2 i { position: absolute; top: 0; bottom: 0; left: 0; border-radius: 3px; background: var(--built); }

/* ---- a build that is still running (a running job's page) ---- */
.lvb { display: grid; gap: 14px; margin-bottom: 18px; min-width: 0; }
.verdict.live { --tone: var(--accent); }
.verdict.live .k > span { min-width: 0; }
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); display: inline-block; flex: none; box-shadow: 0 0 0 0 color-mix(in oklab, var(--accent) 50%, transparent); animation: lvpulse 1.6s infinite; }
@keyframes lvpulse { 70% { box-shadow: 0 0 0 6px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
@media (prefers-reduced-motion: reduce) { .dot-live { animation: none; } }
.ltiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; }
.ltile { border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; background: var(--panel); min-width: 0; }
.ltile .k { font-size: 11.5px; color: var(--ink-3); }
.ltile .v { font-size: 18px; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.ltile .s { font-size: 12px; color: var(--ink-2); }
.lspark { display: block; width: 100%; height: 22px; margin-top: 4px; }
.lspark polyline { fill: none; stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.lspark .c { stroke: var(--built); } .lspark .m { stroke: var(--received); }
.lvc { font-size: 12.5px; }
.ltscroll { overflow-x: auto; padding: 6px 0 4px; }
.lt { --lw: 260px; min-width: 680px; padding: 0 14px; }
.ltaxis { position: relative; height: 20px; margin-left: var(--lw); font-size: 11px; color: var(--ink-3); }
.ltaxis span { position: absolute; transform: translateX(-50%); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ltaxis span:first-child { transform: none; }
.ltaxis .nowl { color: var(--accent); font-weight: 600; transform: translateX(calc(-100% - 6px)); }
.lstep + .lstep { border-top: 1px solid color-mix(in oklab, var(--line) 60%, transparent); }
.lrow { display: grid; grid-template-columns: var(--lw) minmax(0, 1fr); align-items: center; min-height: 28px; list-style: none; cursor: pointer; }
.lrow::-webkit-details-marker { display: none; }
.lrow:hover { background: var(--hover); }
.lrow:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; }
.lstep.wait .lrow { cursor: default; }
.lstep.wait .lrow:hover { background: none; }
.lrow .nm { display: flex; align-items: center; gap: 6px; min-width: 0; padding: 0 10px 0 2px; font-family: var(--mono); font-size: 11.5px; color: var(--ink-2); }
.lrow .nm .t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lrow .cv { flex: none; width: 14px; display: inline-grid; place-items: center; color: var(--ink-3); transition: transform .12s; }
.lstep[open] > .lrow .cv { transform: rotate(90deg); }
@media (prefers-reduced-motion: reduce) { .lrow .cv { transition: none; } }
.lstep.st-running .nm { color: var(--accent); }
.lstep.wait .nm { color: var(--ink-3); }
.lrow .lane { position: relative; height: 28px; border-left: 1px solid var(--line);
  background: repeating-linear-gradient(to right, transparent 0 calc(25% - 1px), color-mix(in oklab, var(--line) 75%, transparent) calc(25% - 1px) 25%); }
.lbar { position: absolute; top: 8px; height: 12px; border-radius: 3px; min-width: 3px; }
.lbar.c-ghost, .sw.c-ghost { border: 1px dashed color-mix(in oklab, var(--ink-3) 70%, transparent); background: transparent; box-sizing: border-box; }
.c-running { background: repeating-linear-gradient(-45deg, var(--accent) 0 6px, color-mix(in oklab, var(--accent) 65%, var(--panel)) 6px 12px); }
.lnow { position: absolute; top: 0; bottom: 0; width: 0; border-left: 2px solid var(--accent); pointer-events: none; }
.lrow .lab { position: absolute; top: 6px; font-size: 11px; font-weight: 500; color: var(--ink-2); white-space: nowrap; font-variant-numeric: tabular-nums; }
.slog { margin: 2px 14px 10px var(--lw); }
.ltail { border: 1px solid var(--line); border-radius: 8px; background: var(--raised); overflow: hidden; }
.ltail .lh { display: flex; align-items: center; gap: 10px; padding: 5px 10px; border-bottom: 1px solid var(--line); font-size: 11.5px; color: var(--ink-3); flex-wrap: wrap; }
.ltail .lh:last-child { border-bottom: 0; }
.ltail .lh .sp { flex: 1; }
.ltail .lh b { color: var(--ink-2); font-weight: 500; }
.ltail pre { margin: 0; padding: 6px 10px; font-family: var(--mono); font-size: 11.5px; line-height: 1.55; color: var(--ink-2); white-space: pre; overflow-x: auto; }
.ltail pre .t { color: var(--ink-3); }
.ltail .none { padding: 8px 10px; font-size: 12px; color: var(--ink-3); overflow-wrap: anywhere; }
.lt-foot { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 12px; color: var(--ink-3); padding: 10px 14px 12px; border-top: 1px solid var(--line); }
.lt-foot span { display: inline-flex; align-items: center; gap: 6px; }
.lt-foot .sw { width: 16px; height: 8px; }
.btn.sm { height: 22px; padding: 0 8px; font-size: 11.5px; }
.btn.sm[aria-pressed="true"] { background: var(--sel); color: var(--ink); }
@media (max-width: 760px) { .lt { --lw: 160px; } }

/* ---------- speed-ups (cache-mount hints) ---------- */
.spd { border-left: 3px solid var(--accent); }
.spl { list-style: none; margin: 0; padding: 0; }
.sp { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; padding: 12px 14px; border-top: 1px solid var(--line); }
.sp:first-child { border-top: 0; }
.spn, .spmk { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 10px; font-size: 11px; font-weight: 600;
  color: var(--accent); background: color-mix(in oklab, var(--accent) 16%, var(--panel)); flex: none; }
.spmk { width: 17px; height: 17px; font-size: 10px; margin-left: 8px; vertical-align: middle; }
.broken .spn, .spmk.broken, .sp.broken .spn { color: var(--warn); background: color-mix(in oklab, var(--warn) 16%, var(--panel)); }
.spb { display: grid; gap: 6px; min-width: 0; }
.sph { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; }
.sph .spat { margin-left: auto; font-size: 12px; }
.spk { color: var(--accent); background: color-mix(in oklab, var(--accent) 13%, var(--panel)); }
.broken .spk, .spk.broken { color: var(--warn); background: color-mix(in oklab, var(--warn) 13%, var(--panel)); }
.spw, .spf { margin: 0; color: var(--ink-2); }
.spf { color: var(--ink-3); }
pre.frag { margin: 0; padding: 10px 12px; background: var(--log-bg); color: var(--log-ink); border-radius: 6px; font-family: var(--mono); font-size: 12px;
  line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; }
.spa { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: 12px; }
.spfold > summary { cursor: pointer; color: var(--accent); font-size: 12px; list-style: none; display: inline-flex; align-items: center; gap: 4px; }
.spfold > summary::-webkit-details-marker { display: none; }
.spfold[open] > summary .chev { transform: rotate(90deg); }
.spfold pre.frag { margin-top: 6px; }
.dfwrap.withnotes { grid-template-columns: minmax(0, 1fr) minmax(220px, 300px); align-items: start; }
.dfwrap.withnotes > .dfbar { grid-column: 1 / -1; }
.dfnotes { display: grid; gap: 8px; }
.dfnote { display: grid; gap: 4px; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--raised); font-size: 12px; }
.dfnote b { display: flex; align-items: center; gap: 6px; }
.dfnote b .spmk { margin-left: 0; }
.dfnote .btn { justify-self: start; }
.dl.sphl { --rowbg: color-mix(in oklab, var(--accent) 10%, var(--panel)); }
.dl.sphl.broken { --rowbg: color-mix(in oklab, var(--warn) 10%, var(--panel)); }
.dr .spmk { margin: 0 6px 0 0; text-decoration: none; }
.drtabs { justify-self: start; }
.drtabs button[aria-selected="true"] { background: var(--sel); color: var(--ink); font-weight: 500; }
.drtabs .spmk { width: auto; height: auto; background: none; margin-left: 2px; font-size: 10px; }
.spdr { display: grid; gap: 8px; }
.spdr h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; }
.spdr p { margin: 0; color: var(--ink-2); }
.spdr h4 { margin: 6px 0 0; font-size: 12px; }
.spcav { margin: 0; padding-left: 18px; color: var(--ink-2); display: grid; gap: 4px; }
@media (max-width: 760px) {
  .dfwrap.withnotes { grid-template-columns: minmax(0, 1fr); }
  .sph .spat { margin-left: 0; }
}
