:root { --bg:#f5f6f8; --card:#fff; --ink:#1c1f26; --mute:#6b7280; --line:#e3e6ea; --brand:#5b4bff; --bad:#c62828; --good:#1b7f3b; }
* { box-sizing: border-box; }
body { margin:0; font:14px/1.45 system-ui,-apple-system,Segoe UI,sans-serif; background:var(--bg); color:var(--ink); }
header { display:flex; align-items:center; gap:24px; padding:0 24px; height:52px; background:var(--card); border-bottom:1px solid var(--line); position:sticky; top:0; z-index:5; }
header b { font-size:16px; }
nav { display:flex; gap:4px; flex:1; }
nav button, .btn { font:inherit; border:1px solid var(--line); background:var(--card); padding:6px 14px; border-radius:6px; cursor:pointer; color:var(--ink); }
nav button { border:0; background:none; border-radius:0; height:52px; border-bottom:2px solid transparent; }
nav button.on { border-bottom-color:var(--brand); color:var(--brand); font-weight:600; }
.btn.primary { background:var(--brand); color:#fff; border-color:var(--brand); }
.btn:disabled { opacity:.5; cursor:default; }
main { max-width:1280px; margin:0 auto; padding:24px; }
h2 { margin:0 0 16px; font-size:18px; }
h3 { margin:20px 0 8px; font-size:14px; text-transform:uppercase; letter-spacing:.04em; color:var(--mute); }
.card { background:var(--card); border:1px solid var(--line); border-radius:8px; padding:16px; margin-bottom:16px; }
table { width:100%; border-collapse:collapse; background:var(--card); border:1px solid var(--line); border-radius:8px; overflow:hidden; }
th, td { text-align:left; padding:10px 12px; border-bottom:1px solid var(--line); }
th { font-size:12px; text-transform:uppercase; color:var(--mute); background:#fafbfc; }
tr.click { cursor:pointer; } tr.click:hover td { background:#f3f1ff; }
td.num, th.num { text-align:right; }
.mute { color:var(--mute); }
.badge { display:inline-block; padding:1px 8px; border-radius:10px; font-size:12px; background:#eceef1; }
.badge.ready, .badge.launched { background:#dff3e5; color:var(--good); }
.badge.failed { background:#fde3e3; color:var(--bad); }
.badge.generating, .badge.launching { background:#fff1d6; color:#8a5a00; }
.head { display:flex; gap:12px; align-items:baseline; flex-wrap:wrap; margin-bottom:12px; }
.head .t { font-weight:600; font-size:16px; }
.cols { display:grid; grid-template-columns:1fr 2fr; gap:16px; }
@media (max-width:800px) { .cols { grid-template-columns:1fr; } }
.col h4 { margin:0 0 8px; font-size:12px; text-transform:uppercase; color:var(--mute); }
.grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(150px,1fr)); gap:10px; }
figure { margin:0; } figure img { width:100%; border-radius:6px; border:1px solid var(--line); background:#eee; display:block; cursor:zoom-in; }
figcaption { font-size:11px; color:var(--mute); margin-top:3px; }
.err { color:var(--bad); margin:8px 0; white-space:pre-wrap; }
details { margin-top:12px; } summary { cursor:pointer; color:var(--brand); }
pre { white-space:pre-wrap; background:#f7f8fa; padding:10px; border-radius:6px; margin:6px 0; font:12px/1.4 ui-monospace,monospace; }
form.login { max-width:320px; margin:12vh auto; }
label { display:block; margin:12px 0 4px; font-weight:600; }
input, select { font:inherit; padding:7px 9px; border:1px solid var(--line); border-radius:6px; width:100%; background:#fff; }
input[type=checkbox] { width:auto; }
.row { display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:0 16px; }
.hint { font-size:12px; color:var(--mute); margin-top:3px; }
.crumb { margin-bottom:12px; } .crumb a { color:var(--brand); cursor:pointer; }
.stats { display:flex; gap:12px; margin-bottom:16px; flex-wrap:wrap; } .stats .card { margin:0; min-width:140px; } .stats b { display:block; font-size:22px; }
.msg { margin-left:12px; } .msg.ok { color:var(--good); } .msg.bad { color:var(--bad); }
#viewer { position:fixed; inset:0; background:rgba(0,0,0,.85); display:flex; align-items:center; justify-content:center; z-index:20; cursor:zoom-out; }
#viewer img { max-width:94vw; max-height:94vh; }
.grid.one { grid-template-columns:1fr; }
h3.first { margin-top:0; }
input.custom { margin-top:6px; }
.hidden { display:none; }
