:root {
  --bg: #0b0d10;
  --panel: #14171b;
  --line: #292e35;
  --text: #f4f5f6;
  --muted: #939aa5;
  --green: #72e59a;
  --green-dark: #193c27;
  --red: #ff7c78;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; color: var(--text); background: radial-gradient(circle at 72% -15%, #183426 0, transparent 34rem), var(--bg); }
.shell { width: min(920px, calc(100% - 36px)); margin: 0 auto; padding-bottom: 72px; }
header { height: 82px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 720; letter-spacing: -.02em; }
.mark { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; color: #06150b; background: var(--green); font-size: 18px; }
.hero { padding: 74px 0 42px; max-width: 720px; }
.eyebrow { color: var(--green); font-size: 12px; font-weight: 750; letter-spacing: .16em; }
h1 { margin: 14px 0 20px; font-size: clamp(42px, 7vw, 72px); line-height: .98; letter-spacing: -.06em; }
h2 { margin: 0 0 12px; font-size: 19px; letter-spacing: -.02em; }
.lead { max-width: 620px; margin: 0; color: var(--muted); font-size: 18px; line-height: 1.65; }
.panel { padding: 28px; background: color-mix(in srgb, var(--panel) 94%, transparent); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 24px 80px #0004; }
.hidden { display: none !important; }
p { line-height: 1.55; }
code { display: block; overflow-wrap: anywhere; padding: 12px 14px; color: var(--green); background: #0b0e0c; border: 1px solid #26402f; border-radius: 9px; }
label { display: block; margin-bottom: 10px; font-size: 13px; font-weight: 700; color: #c8ccd1; }
.input-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
input { width: 100%; min-width: 0; padding: 14px 15px; color: var(--text); background: #0d1013; border: 1px solid #353b43; border-radius: 10px; outline: none; font: inherit; }
input:focus { border-color: var(--green); box-shadow: 0 0 0 3px #72e59a20; }
.button { display: inline-flex; align-items: center; justify-content: center; padding: 13px 18px; border: 0; border-radius: 10px; cursor: pointer; text-decoration: none; font: inherit; font-weight: 750; white-space: nowrap; }
.button.primary { color: #07120b; background: var(--green); }
.button.primary:hover { background: #8bedac; }
.button.secondary { padding: 8px 11px; color: #c9ced4; background: #24282e; font-size: 12px; }
details { margin-top: 15px; }
summary { margin-bottom: 12px; color: var(--muted); cursor: pointer; font-size: 13px; }
.form-message { min-height: 20px; margin-top: 12px; color: var(--red); font-size: 13px; }
.history { margin-top: 38px; }
.section-title { display: flex; justify-content: space-between; align-items: baseline; }
.jobs { display: grid; gap: 12px; }
.job { padding: 20px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; }
.job-head { display: flex; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.job-name { min-width: 0; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.badge { flex: none; padding: 4px 8px; border-radius: 999px; color: var(--green); background: var(--green-dark); font-size: 11px; font-weight: 750; text-transform: uppercase; letter-spacing: .06em; }
.badge.error, .badge.cancelled { color: #ffaaa7; background: #441e20; }
.tracks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.track-label { display: flex; justify-content: space-between; margin-bottom: 6px; color: var(--muted); font-size: 11px; }
.track { height: 6px; overflow: hidden; background: #292e34; border-radius: 999px; }
.track span { display: block; height: 100%; width: 0; background: var(--green); border-radius: inherit; transition: width .35s ease; }
.job-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 13px; color: var(--muted); font-size: 12px; }
.job-actions { display: flex; gap: 8px; }
.job a { color: var(--green); }
.muted, .empty { color: var(--muted); }
.account { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; }
@media (max-width: 650px) {
  .shell { width: min(100% - 24px, 920px); }
  .hero { padding-top: 52px; }
  .input-row { grid-template-columns: 1fr; }
  .tracks { grid-template-columns: 1fr; }
  .panel { padding: 20px; }
  .account span { display: none; }
}
