@font-face { font-family: "Poppins"; font-weight: 400; font-display: swap; src: url("/vendor/fonts/poppins-400.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 500; font-display: swap; src: url("/vendor/fonts/poppins-500.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-display: swap; src: url("/vendor/fonts/poppins-600.woff2") format("woff2"); }
:root {
  --bg: #ffffff;
  --surface: #f7f7f7;
  --ink: #111111;
  --muted: #6e6e6e;
  --line: #e4e4e4;
  --line-soft: #efefef;
  --accent: #15803d;
  --accent-soft: #f7f7f7;
  --run: #111111;
  --bad: #c0261d;
  --bad-soft: #f7f7f7;
  --btn: #111111;
  --btn-ink: #ffffff;
  --scrim: rgba(0, 0, 0, .3);
  --sans: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: var(--sans);
  --mono: var(--sans);
}
:root[data-theme="dark"] {
  --bg: #0c0c0c;
  --surface: #151515;
  --ink: #f2f2f2;
  --muted: #8f8f8f;
  --line: #2a2a2a;
  --line-soft: #1e1e1e;
  --accent: #4ade80;
  --accent-soft: #151515;
  --run: #f2f2f2;
  --bad: #f87171;
  --bad-soft: #151515;
  --btn: #f2f2f2;
  --btn-ink: #0c0c0c;
  --scrim: rgba(0, 0, 0, .6);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.5 var(--sans); -webkit-font-smoothing: antialiased; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.i { width: 1em; height: 1em; fill: currentColor; flex: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.mono { font-family: var(--mono); font-size: 12px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.break { overflow-wrap: anywhere; }
a { color: inherit; }
p { margin: 0 0 16px; }

.eyebrow { margin: 0 0 6px; font: 500 11px/1.2 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
h1, h2 { margin: 0; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
h1 { font-size: 34px; }
h2 { font-size: 24px; }

.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 56px; padding: 0 24px; border-bottom: 1px solid var(--line); }
.mark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 14px; font-weight: 600; }
.mark-box { display: grid; place-items: center; width: 26px; height: 26px; border: 1px solid var(--ink); border-radius: 6px; font-size: 15px; }
.top-right { display: flex; align-items: center; gap: 8px; min-width: 0; }
.who { font: 12px var(--mono); color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-right: 6px; }

main { max-width: 1120px; margin: 0 auto; padding: 48px 24px 80px; }
.head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

button { font: inherit; color: inherit; cursor: pointer; }
button:disabled { opacity: .45; cursor: default; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--ink); border-radius: 6px; background: none; font-size: 14px; font-weight: 500; white-space: nowrap; transition: background-color .15s, color .15s; }
.btn .i { font-size: 16px; }
.btn.primary { background: var(--btn); color: var(--btn-ink); border-color: var(--btn); }
.btn.primary:hover:not(:disabled) { background: none; color: var(--ink); border-color: var(--ink); }
.btn.wide { width: 100%; margin-top: 28px; padding: 13px 16px; }
.icon-btn { display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 1px solid var(--line); border-radius: 6px; background: none; font-size: 16px; transition: border-color .15s; }
.icon-btn:hover:not(:disabled) { border-color: var(--ink); }
:root[data-theme="dark"] .sun, :root[data-theme="light"] .moon { display: none; }

.field { display: block; margin-top: 24px; }
.field input { width: 100%; padding: 8px 0 10px; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; background: none; color: inherit; font: 16px var(--sans); }
.field input:focus { outline: none; border-bottom: 2px solid var(--ink); padding-bottom: 9px; }
.field input::placeholder, .search input::placeholder { color: var(--muted); opacity: .7; }
.error { margin: 16px 0 0; color: var(--bad); font-size: 14px; }

.login { max-width: 380px; margin: 8vh auto 0; }
.login h1 { margin-bottom: 12px; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin: 36px 0 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.stats > div { padding: 16px 20px 18px; border-left: 1px solid var(--line); }
.stats > div:first-child { border-left: 0; padding-left: 0; }
.stats dd { margin: 0; font: 600 28px/1 var(--sans); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }

.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 32px 0 12px; }
.search { display: flex; align-items: center; gap: 8px; flex: 1 1 240px; max-width: 360px; border-bottom: 1px solid var(--line); color: var(--muted); transition: border-color .15s; }
.search:focus-within { border-bottom-color: var(--ink); color: var(--ink); }
.search input { flex: 1; min-width: 0; padding: 8px 0; border: 0; background: none; color: var(--ink); font: 14px var(--sans); }
.search input:focus { outline: none; }
.seg { display: flex; border: 1px solid var(--line); border-radius: 6px; }
.seg button { padding: 7px 12px; border: 0; border-left: 1px solid var(--line); background: none; font: 12px var(--mono); color: var(--muted); transition: background-color .15s, color .15s; }
.seg button:first-child { border-left: 0; }
.seg button:hover { color: var(--ink); }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.seg b { font-weight: 400; opacity: .6; margin-left: 4px; }

.table-wrap { overflow-x: auto; }
.grid { width: 100%; border-collapse: collapse; font-size: 14px; }
.grid th { padding: 10px 12px; border-bottom: 1px solid var(--ink); text-align: left; font: 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.grid td { padding: 14px 12px; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
.grid th:first-child, .grid td:first-child { padding-left: 0; }
.grid .num { text-align: right; }
.grid td.num { font-family: var(--mono); font-size: 13px; font-variant-numeric: tabular-nums; }
.grid th.num .sort { flex-direction: row-reverse; }
.grid tbody tr { transition: background-color .12s; }
.grid:not(.plain) tbody tr { cursor: pointer; }
.grid:not(.plain) tbody tr:hover { background: var(--surface); }
.grid tfoot th, .grid tfoot td { border-bottom: 0; border-top: 1px solid var(--ink); color: var(--ink); padding-top: 14px; }
.sort { display: inline-flex; align-items: center; gap: 4px; padding: 0; border: 0; background: none; font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; }
.sort:hover, th[aria-sort] .sort { color: var(--ink); }
.caret { display: inline-grid; width: 12px; font-size: 12px; }
.addr { font-weight: 500; text-decoration: none; }
tr:hover .addr { text-decoration: underline; text-underline-offset: 3px; }
.c-go { width: 32px; text-align: right; color: var(--muted); }
.c-go .i { transition: transform .15s; }
tr:hover .c-go .i { transform: translateX(3px); color: var(--ink); }
.c-added { white-space: nowrap; color: var(--muted); font: 12px var(--mono); }

.pill { display: inline-flex; align-items: center; gap: 7px; font: 12px var(--mono); white-space: nowrap; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); }
.pill.done .dot { background: var(--accent); }
.pill.failed { color: var(--bad); }
.pill.failed .dot { background: var(--bad); }
.pill.running .dot { background: var(--muted); animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .25; transform: scale(.7); } }

.prog { display: flex; align-items: center; gap: 10px; min-width: 150px; }
.prog span.pct { font: 12px var(--mono); color: var(--muted); width: 36px; text-align: right; font-variant-numeric: tabular-nums; }
.meter { flex: 1; height: 4px; background: var(--line); overflow: hidden; }
.meter.tall { height: 8px; }
.fill { display: block; height: 100%; width: 0; background: var(--ink); }
.fill.running { background: var(--run); }
.fill.failed { background: var(--bad); }

.empty { padding: 56px 0; text-align: center; color: var(--muted); border-bottom: 1px solid var(--line-soft); }
.empty .i { font-size: 28px; margin-bottom: 8px; }
.empty p { margin: 0; }
.pager { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; }
.pager div { display: flex; gap: 6px; }

.back { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 28px; font: 12px var(--mono); color: var(--muted); text-decoration: none; }
.back:hover { color: var(--ink); }
#d-meta { margin: 14px 0 0; }
.panel { margin-top: 32px; padding: 24px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.big { margin: 0 0 16px; font: 600 48px/1 var(--sans); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.big small { font: 14px var(--sans); letter-spacing: 0; color: var(--muted); }
.panel .muted { margin: 14px 0 0; font-size: 13px; }
.verdict { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 32px; padding: 20px; border: 1px solid var(--line); border-radius: 6px; background: var(--accent-soft); }
.verdict > .i, .verdict > span > .i { font-size: 28px; color: var(--accent); display: block; }
.verdict p { flex: 1 1 260px; margin: 0; font: 500 16px/1.4 var(--sans); }
.verdict.bad { background: var(--bad-soft); }
.verdict.bad .i { color: var(--bad); }
.share { min-width: 120px; }

.scrim { position: fixed; inset: 0; background: var(--scrim); z-index: 10; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 11; width: min(440px, 100%); padding: 28px; overflow-y: auto; background: var(--bg); border-left: 1px solid var(--ink); }
.drawer .head { align-items: flex-start; flex-wrap: nowrap; margin-bottom: 16px; }
details { margin-top: 32px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
summary { cursor: pointer; color: var(--ink); }
details ol { padding-left: 20px; margin: 10px 0 0; }

@media (max-width: 720px) {
  main { padding: 32px 16px 64px; }
  .top { padding: 0 16px; }
  h1 { font-size: 26px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats > div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stats > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .stats dd { font-size: 22px; }
  .c-added, .c-msgs, .who { display: none; }
  .big { font-size: 36px; }
  .seg { width: 100%; }
  .seg button { flex: 1; padding: 8px 4px; }
  .search { max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

.toolbar .search { margin-right: auto; }
.chip { padding: 7px 12px; border: 1px solid var(--line); border-radius: 6px; background: none; font-size: 12px; color: var(--muted); white-space: nowrap; transition: background-color .15s, color .15s; }
.chip:hover { color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.who-cell { display: flex; align-items: center; gap: 10px; }
.who-cell .i { font-size: 16px; }
.grid tbody tr.group { background: var(--surface); }
.grid tbody tr.group td { padding: 9px 12px; border-bottom: 1px solid var(--line); }
.group-btn { display: flex; align-items: center; gap: 8px; width: 100%; padding: 0; border: 0; background: none; text-align: left; font-size: 13px; }
.group-btn strong { font-weight: 600; }
.group-btn .i { font-size: 12px; color: var(--muted); }
.group-btn span { color: var(--muted); font-size: 12px; }
