:root {
  --bg: #15161b; --card: #1f2128; --line: #30333d; --text: #ececf1; --muted: #9a9cab;
  --accent: #ffd600; --a: #ffaa3c; --b: #5ab4ff; --red: #ff6b6b; --green: #4cd18a;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.5 system-ui, -apple-system, "Segoe UI", sans-serif; }
main { max-width: 860px; margin: 0 auto; padding: 16px; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.brand { color: var(--accent); font-weight: 700; font-size: 20px; text-decoration: none; }
nav { display: flex; align-items: center; gap: 12px; }
a { color: var(--b); }
h1 { font-size: 26px; margin: 8px 0 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px; display: grid; gap: 14px; }
.narrow { max-width: 380px; margin: 40px auto; }
label { display: grid; gap: 6px; font-weight: 600; }
input, textarea { width: 100%; background: #0f1014; color: var(--text); border: 1px solid var(--line); border-radius: 8px; padding: 10px; font: inherit; font-weight: 400; }
textarea { font-family: ui-monospace, Menlo, monospace; font-size: 14px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .row { grid-template-columns: 1fr; } }
.btn { display: inline-block; background: var(--accent); color: #111; border: 0; border-radius: 8px; padding: 10px 16px; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.link { background: none; border: 0; color: var(--muted); cursor: pointer; font: inherit; padding: 0; }
.danger { color: var(--red); }
.inline { display: inline; }
.muted { color: var(--muted); font-weight: 400; }
.error { background: #3a1d22; border: 1px solid var(--red); border-radius: 8px; padding: 10px 14px; }
.error ul { margin: 6px 0 0; padding-left: 20px; }
code { background: #0f1014; padding: 1px 5px; border-radius: 4px; }
.jobs { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.jobs a { display: grid; gap: 6px; color: var(--text); text-decoration: none; }
.jobs img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 10px; background: var(--card); }
.jobs .t { font-weight: 600; line-height: 1.3; }
.badge { display: inline-block; justify-self: start; border-radius: 99px; padding: 2px 10px; font-size: 13px; font-weight: 600; background: var(--line); }
.badge.done { background: #173d2a; color: var(--green); }
.badge.failed { background: #3a1d22; color: var(--red); }
.badge.running { background: #3b3410; color: var(--accent); }
.video { width: 100%; max-width: 360px; aspect-ratio: 9 / 16; border-radius: 12px; background: #000; display: block; }
.actions { display: flex; gap: 18px; align-items: center; }
pre { background: #0f1014; padding: 12px; border-radius: 8px; overflow-x: auto; font-size: 13px; }
details { margin: 12px 0; }
summary { cursor: pointer; color: var(--muted); }
.lines { padding-left: 22px; }
