:root { --bg:#f5f6f8; --card:#fff; --line:#e3e6ea; --text:#1d2330; --muted:#6b7380; --primary:#1877f2; --ok:#1a9c5b; --bad:#d23f31; --warn:#c77d00; }
* { box-sizing:border-box; }
body { margin:0; font:14px/1.5 -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif; color:var(--text); background:var(--bg); }
header { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:12px 20px; background:#fff; border-bottom:1px solid var(--line); flex-wrap:wrap; }
.brand { font-weight:600; font-size:16px; } .brand small { color:var(--muted); font-weight:400; margin-left:8px; }
nav button { margin-left:6px; }
main { max-width:1100px; margin:20px auto; padding:0 16px; }
.card { background:var(--card); border:1px solid var(--line); border-radius:10px; padding:18px 20px; }
.card.narrow { max-width:380px; margin:60px auto; }
.grid2 { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
@media (max-width:820px){ .grid2 { grid-template-columns:1fr; } }
h2 { font-size:16px; margin:0 0 12px; display:flex; align-items:center; gap:10px; } h2.mt { margin-top:22px; }
label { display:block; margin:10px 0; color:var(--muted); font-size:13px; }
input, select { display:block; width:100%; margin-top:4px; padding:8px 10px; border:1px solid var(--line); border-radius:6px; font:inherit; color:var(--text); background:#fff; }
button { padding:8px 14px; border-radius:6px; border:1px solid var(--line); background:#fff; color:var(--text); cursor:pointer; font:inherit; }
button.primary { background:var(--primary); color:#fff; border-color:var(--primary); }
button.ghost { background:#fff; } button.small { padding:3px 8px; font-size:12px; }
button.active { border-color:var(--primary); color:var(--primary); }
button:disabled { opacity:.55; cursor:default; }
.row { display:flex; gap:10px; flex-wrap:wrap; margin-top:6px; }
.msg { min-height:20px; margin:8px 0 0; white-space:pre-wrap; } .msg.ok { color:var(--ok); } .msg.bad { color:var(--bad); }
.muted { color:var(--muted); } .small { font-size:12px; }
.health { padding:8px 10px; border-radius:6px; background:#f0f3f7; margin-bottom:6px; font-size:13px; }
.health.ok { background:#e7f6ee; color:var(--ok); } .health.bad { background:#fdecea; color:var(--bad); }
.kv { display:grid; grid-template-columns:110px 1fr; gap:4px 10px; font-size:13px; } .kv b { color:var(--muted); font-weight:500; }
code, pre { font:12px/1.5 ui-monospace,Menlo,Consolas,monospace; } pre { background:#f0f3f7; padding:10px; border-radius:6px; overflow:auto; }
.tablewrap { overflow-x:auto; } table { width:100%; border-collapse:collapse; font-size:13px; } th, td { text-align:left; padding:7px 8px; border-bottom:1px solid var(--line); white-space:nowrap; } th { color:var(--muted); font-weight:500; }
.tag { display:inline-block; padding:1px 7px; border-radius:10px; font-size:12px; background:#eef1f5; } .tag.running{ background:#e3efff; color:var(--primary);} .tag.finished{ background:#e7f6ee; color:var(--ok);} .tag.failed{ background:#fdecea; color:var(--bad);} .tag.stop_failed{ background:#fff4e0; color:var(--warn);}
.steps { padding-left:18px; margin:8px 0; } .steps li { margin:4px 0; }
