
:root {
  --ink: #17171c;
  --ink-2: #4b4b55;
  --muted: #6b6b78;
  --line: #e5e7eb;
  --bg: #ffffff;
  --bg-2: #f6f6f4;
  --bg-3: #efede8;
  --dark: #1A1A2E;
  --on-dark: #f4f4f6;
  --on-dark-muted: #a9a9bd;
  --blue: #0066FF;
  --blue-text: #1657cf;
  --ok: #0f7a52;
  --warn: #9a6a00;
  --bad: #b30000;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
}

a { color: var(--blue-text); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { font-weight: 600; letter-spacing: -0.02em; margin: 0 0 10px; }
h1 { font-size: 26px; }
h2 { font-size: 19px; }
h3 { font-size: 15px; }
p { margin: 0 0 12px; }

.topbar {
  background: var(--dark);
  color: var(--on-dark);
  padding: 14px 22px;
  display: flex;
  align-items: baseline;
  gap: 18px;
  flex-wrap: wrap;
}
.topbar a { color: var(--on-dark); }
.topbar .wordmark { font-weight: 700; font-size: 17px; letter-spacing: -0.03em; }
.topbar .kicker {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
}
.topbar nav { display: flex; gap: 16px; margin-inline-start: auto; align-items: baseline; }
.topbar form { margin: 0; }
.topbar .who { color: var(--on-dark-muted); font-size: 13px; }

main { max-width: 940px; margin: 0 auto; padding: 26px 22px 60px; }
.narrow { max-width: 460px; }

.kicker-dark {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.card { border: 1px solid var(--line); background: var(--bg); padding: 18px 20px; margin-bottom: 18px; }
.band { background: var(--bg-2); padding: 16px 20px; margin-bottom: 18px; }

table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: start; vertical-align: top; padding: 9px 10px; border-bottom: 1px solid var(--line); }
th {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  border-bottom: 1px solid var(--ink);
}

.pill {
  display: inline-block;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 3px;
  border: 1px solid currentColor;
  white-space: nowrap;
}
.pill-queued { color: var(--muted); }
.pill-running { color: var(--blue-text); }
.pill-done { color: var(--ok); }
.pill-failed { color: var(--bad); }

label { display: block; margin-bottom: 14px; font-size: 14px; }
label .hint { display: block; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
input[type=text], input[type=email], input[type=password], input[type=url], select {
  width: 100%;
  margin-top: 5px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 3px;
  font: inherit;
  color: var(--ink);
  background: var(--bg);
}
input:focus, select:focus { outline: 2px solid var(--blue); outline-offset: 0; }
.checkline { display: flex; align-items: center; gap: 8px; }
.checkline input { margin: 0; }
.row { display: flex; gap: 16px; flex-wrap: wrap; }
.row > * { flex: 1 1 200px; }

button {
  font: inherit;
  font-weight: 500;
  padding: 9px 16px;
  border: 1px solid var(--dark);
  border-radius: 3px;
  background: var(--dark);
  color: #fff;
  cursor: pointer;
}
button:hover { background: #000; }
button.secondary { background: transparent; color: var(--ink); border-color: var(--line); }
button.danger { background: transparent; color: var(--bad); border-color: var(--bad); }

.notice { border-inline-start: 3px solid var(--blue); background: var(--bg-2); padding: 12px 14px; margin-bottom: 18px; }
.error { border-inline-start: 3px solid var(--bad); background: var(--bg-2); padding: 12px 14px; margin-bottom: 18px; color: var(--ink); }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.secret { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 16px; background: var(--bg-3); padding: 6px 8px; display: inline-block; }

.score { font-size: 46px; font-weight: 700; line-height: 1; letter-spacing: -0.03em; }
.bar { height: 9px; background: var(--bg-3); border-radius: 999px; overflow: hidden; max-width: 320px; }
.bar-fill { height: 100%; background: var(--blue); }

ul.events { list-style: none; margin: 0; padding: 0; font-size: 13.5px; }
ul.events li { padding: 5px 0; border-bottom: 1px solid var(--line); }
ul.events li:last-child { border-bottom: none; }
ul.events .lvl {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-inline-end: 8px;
}
ul.events .lvl-warn, ul.events .lvl-error { color: var(--warn); }

.shots { display: flex; gap: 14px; flex-wrap: wrap; }
.shots figure { margin: 0; }
.shots img { max-width: 260px; border: 1px solid var(--line); display: block; }
.shots figcaption { font-size: 12px; color: var(--muted); margin-top: 4px; }

.files { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
footer { color: var(--muted); font-size: 12.5px; margin-top: 40px; }

.actions { display: flex; gap: 8px; flex-wrap: wrap; }
.actions form { margin: 0; }
.setting { padding: 12px 0; border-bottom: 1px solid var(--line); }
.setting:last-of-type { border-bottom: none; }
.setting input { margin-top: 6px; }

.mt { margin-top: 14px; }

.w-0 { width: 0%; }
.w-1 { width: 1%; }
.w-2 { width: 2%; }
.w-3 { width: 3%; }
.w-4 { width: 4%; }
.w-5 { width: 5%; }
.w-6 { width: 6%; }
.w-7 { width: 7%; }
.w-8 { width: 8%; }
.w-9 { width: 9%; }
.w-10 { width: 10%; }
.w-11 { width: 11%; }
.w-12 { width: 12%; }
.w-13 { width: 13%; }
.w-14 { width: 14%; }
.w-15 { width: 15%; }
.w-16 { width: 16%; }
.w-17 { width: 17%; }
.w-18 { width: 18%; }
.w-19 { width: 19%; }
.w-20 { width: 20%; }
.w-21 { width: 21%; }
.w-22 { width: 22%; }
.w-23 { width: 23%; }
.w-24 { width: 24%; }
.w-25 { width: 25%; }
.w-26 { width: 26%; }
.w-27 { width: 27%; }
.w-28 { width: 28%; }
.w-29 { width: 29%; }
.w-30 { width: 30%; }
.w-31 { width: 31%; }
.w-32 { width: 32%; }
.w-33 { width: 33%; }
.w-34 { width: 34%; }
.w-35 { width: 35%; }
.w-36 { width: 36%; }
.w-37 { width: 37%; }
.w-38 { width: 38%; }
.w-39 { width: 39%; }
.w-40 { width: 40%; }
.w-41 { width: 41%; }
.w-42 { width: 42%; }
.w-43 { width: 43%; }
.w-44 { width: 44%; }
.w-45 { width: 45%; }
.w-46 { width: 46%; }
.w-47 { width: 47%; }
.w-48 { width: 48%; }
.w-49 { width: 49%; }
.w-50 { width: 50%; }
.w-51 { width: 51%; }
.w-52 { width: 52%; }
.w-53 { width: 53%; }
.w-54 { width: 54%; }
.w-55 { width: 55%; }
.w-56 { width: 56%; }
.w-57 { width: 57%; }
.w-58 { width: 58%; }
.w-59 { width: 59%; }
.w-60 { width: 60%; }
.w-61 { width: 61%; }
.w-62 { width: 62%; }
.w-63 { width: 63%; }
.w-64 { width: 64%; }
.w-65 { width: 65%; }
.w-66 { width: 66%; }
.w-67 { width: 67%; }
.w-68 { width: 68%; }
.w-69 { width: 69%; }
.w-70 { width: 70%; }
.w-71 { width: 71%; }
.w-72 { width: 72%; }
.w-73 { width: 73%; }
.w-74 { width: 74%; }
.w-75 { width: 75%; }
.w-76 { width: 76%; }
.w-77 { width: 77%; }
.w-78 { width: 78%; }
.w-79 { width: 79%; }
.w-80 { width: 80%; }
.w-81 { width: 81%; }
.w-82 { width: 82%; }
.w-83 { width: 83%; }
.w-84 { width: 84%; }
.w-85 { width: 85%; }
.w-86 { width: 86%; }
.w-87 { width: 87%; }
.w-88 { width: 88%; }
.w-89 { width: 89%; }
.w-90 { width: 90%; }
.w-91 { width: 91%; }
.w-92 { width: 92%; }
.w-93 { width: 93%; }
.w-94 { width: 94%; }
.w-95 { width: 95%; }
.w-96 { width: 96%; }
.w-97 { width: 97%; }
.w-98 { width: 98%; }
.w-99 { width: 99%; }
.w-100 { width: 100%; }
