:root {
  color-scheme: dark;
  --bg:#08111f; --surface:#0f1b2d; --surface2:#132238; --line:#263a54;
  --text:#e8f0fa; --muted:#91a3b9; --accent:#2dd4bf; --accent2:#14b8a6;
  --danger:#fb7185; --warning:#fbbf24; --ok:#34d399;
}
* { box-sizing:border-box; }
body { margin:0; min-height:100vh; color:var(--text); background:
  radial-gradient(900px 500px at 5% -15%,rgba(20,184,166,.22),transparent 60%),
  radial-gradient(700px 450px at 100% 0%,rgba(59,130,246,.16),transparent 55%),var(--bg);
  font:15px/1.5 Inter,"Segoe UI",system-ui,sans-serif; }
.wrap { width:min(980px,calc(100% - 28px)); margin:0 auto; padding:36px 0 52px; }
.hero { display:flex; justify-content:space-between; align-items:flex-end; gap:24px; margin-bottom:20px; }
.eyebrow { margin:0 0 5px; color:var(--accent); text-transform:uppercase; letter-spacing:.14em; font-size:.72rem; font-weight:800; }
h1,h2,p { margin-top:0; } h1 { margin-bottom:5px; font-size:clamp(1.8rem,4vw,2.65rem); letter-spacing:-.04em; }
h2 { margin-bottom:4px; font-size:1.08rem; } .lead,.section-head p,.hint { color:var(--muted); }
.lead { margin:0; } .health { padding:8px 12px; border:1px solid var(--line); border-radius:999px; color:var(--muted); white-space:nowrap; }
.health.ok { border-color:rgba(52,211,153,.45); color:var(--ok); } .health.bad { border-color:rgba(251,113,133,.45); color:var(--danger); }
.card { margin-top:16px; padding:20px; border:1px solid var(--line); border-radius:18px; background:rgba(15,27,45,.93); box-shadow:0 20px 55px rgba(0,0,0,.22); }
.auth-card label { display:block; margin-bottom:7px; font-weight:700; }
.inline { display:flex; gap:10px; } input[type=password],textarea { width:100%; border:1px solid var(--line); border-radius:11px; background:#091525; color:var(--text); outline:none; }
input[type=password] { height:44px; padding:0 13px; } textarea { padding:13px; resize:vertical; min-height:145px; font:13px/1.55 ui-monospace,SFMono-Regular,Consolas,monospace; }
input:focus,textarea:focus { border-color:var(--accent2); box-shadow:0 0 0 3px rgba(45,212,191,.12); }
.hint { margin:7px 0 0; font-size:.78rem; }
.section-head { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; margin-bottom:14px; }
.section-head p { margin:0; font-size:.85rem; } .pill { padding:5px 10px; border-radius:999px; background:rgba(45,212,191,.12); color:var(--accent); font-size:.75rem; font-weight:800; }
.options { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin:13px 0; }
fieldset { display:flex; flex-wrap:wrap; gap:8px 13px; margin:0; padding:12px; border:1px solid var(--line); border-radius:12px; }
legend { padding:0 6px; color:var(--muted); font-size:.78rem; } fieldset label { cursor:pointer; font-size:.86rem; } input[type=radio] { accent-color:var(--accent2); }
button { border:0; border-radius:10px; padding:11px 15px; font:inherit; font-weight:750; cursor:pointer; }
button:disabled { opacity:.55; cursor:wait; }.primary { width:100%; color:#042f2e; background:linear-gradient(135deg,var(--accent),#5eead4); }
.secondary { color:var(--text); background:var(--surface2); border:1px solid var(--line); white-space:nowrap; }.small { padding:7px 10px; font-size:.78rem; }
.form-message { min-height:22px; margin:8px 0 0; color:var(--muted); font-size:.84rem; }.form-message.bad { color:var(--danger); }.form-message.ok { color:var(--ok); }
.jobs { display:grid; gap:11px; }.empty { padding:26px; border:1px dashed var(--line); border-radius:12px; color:var(--muted); text-align:center; }
.job { padding:14px; border:1px solid var(--line); border-radius:13px; background:#0a1626; }.job-top { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; }
.job-actions { display:flex; align-items:center; gap:7px; flex:none; }.job-actions .cancel { color:var(--danger); }
.job-url { overflow-wrap:anywhere; font-size:.86rem; font-weight:700; }.status { flex:none; padding:3px 8px; border-radius:999px; background:var(--surface2); color:var(--muted); font-size:.7rem; font-weight:800; text-transform:uppercase; }
.status.completed { color:var(--ok); }.status.failed { color:var(--danger); }.status.running { color:var(--warning); }
.bar { height:7px; margin:11px 0 8px; overflow:hidden; border-radius:999px; background:#1b2d44; }.bar span { display:block; height:100%; background:linear-gradient(90deg,#14b8a6,#5eead4); transition:width .25s; }
.job-message,.job-meta { color:var(--muted); font-size:.78rem; }.job-result { display:grid; grid-template-columns:1fr auto; gap:8px; }
.job-output { margin-top:10px; }
.job-output-label { color:var(--muted); font-size:.68rem; font-weight:700; letter-spacing:.06em; margin-bottom:5px; }
.job-result input { min-width:0; padding:9px 10px; border:1px solid var(--line); border-radius:9px; color:var(--text); background:#07111e; }
footer { padding:24px 4px 0; color:var(--muted); text-align:center; font-size:.76rem; }
@media (max-width:680px) { .hero { display:block; }.health { display:inline-block; margin-top:14px; }.options { grid-template-columns:1fr; }.inline { display:block; }.inline button { width:100%; margin-top:8px; }.card { padding:16px; } }
