:root { --blue:#2b579a; --bg:#f6f7f9; --line:#e1e4e8; --muted:#6a737d; --ok:#1a7f37; --warn:#b35900; --bad:#cf222e; }
* { box-sizing: border-box; }
body { margin:0; font: 13px/1.5 "Microsoft YaHei","PingFang SC","WenQuanYi Zen Hei",sans-serif; color:#1f2328; background:#fff; }
header { background:var(--blue); color:#fff; padding:10px 14px; display:flex; align-items:center; justify-content:space-between; }
header h1 { font-size:15px; margin:0; font-weight:600; }
header .conn { font-size:12px; opacity:.9; }
header .dot { display:inline-block; width:8px; height:8px; border-radius:50%; background:#3fb950; margin-right:5px; }
main { padding:10px 12px 40px; }
.step { border:1px solid var(--line); border-radius:6px; margin-bottom:10px; background:#fff; }
.step > h2 { margin:0; font-size:13px; padding:8px 10px; background:var(--bg); border-bottom:1px solid var(--line); display:flex; align-items:center; gap:8px; }
.step > h2 .n { width:20px; height:20px; border-radius:50%; background:var(--blue); color:#fff; display:inline-flex; align-items:center; justify-content:center; font-size:12px; }
.step.done > h2 .n { background:var(--ok); }
.step > h2 .state { margin-left:auto; font-weight:normal; font-size:12px; color:var(--muted); }
.body { padding:10px; }
button { font:inherit; border:1px solid var(--blue); background:var(--blue); color:#fff; border-radius:4px; padding:5px 12px; cursor:pointer; }
button.secondary { background:#fff; color:var(--blue); }
button.danger { background:#fff; color:var(--bad); border-color:var(--bad); }
button:disabled { opacity:.5; cursor:not-allowed; }
.row { display:flex; gap:8px; align-items:center; margin:6px 0; }
.muted { color:var(--muted); font-size:12px; }
.kv { display:grid; grid-template-columns:72px 1fr; gap:2px 8px; font-size:12px; margin-bottom:6px; }
.kv b { color:var(--muted); font-weight:normal; }
ul.outline { margin:4px 0 0; padding-left:16px; font-size:12px; max-height:120px; overflow:auto; }
table { width:100%; border-collapse:collapse; font-size:12px; }
td, th { border-bottom:1px solid var(--line); padding:4px 4px; text-align:left; }
th { color:var(--muted); font-weight:normal; }
tr.disabled { color:#aaa; }
.sim { font-variant-numeric:tabular-nums; }
input[type=text], select, textarea { font:inherit; border:1px solid #c9ced6; border-radius:4px; padding:3px 6px; width:100%; }
textarea { min-height:48px; }
.progress { height:10px; background:#eaeef2; border-radius:5px; overflow:hidden; flex:1; }
.progress > i { display:block; height:100%; background:linear-gradient(90deg,#2b579a,#4f83cc); transition:width .4s; }
.pct { width:42px; text-align:right; font-variant-numeric:tabular-nums; font-size:12px; }
.log { font-size:12px; color:var(--muted); max-height:84px; overflow:auto; border-left:2px solid var(--line); padding-left:8px; margin-top:6px; }
.checks li { list-style:none; margin:2px 0; font-size:12px; }
.checks { padding-left:0; margin:6px 0 0; }
.ok::before { content:"✓ "; color:var(--ok); font-weight:bold; }
.warn::before { content:"! "; color:var(--warn); font-weight:bold; }
.bad::before { content:"✗ "; color:var(--bad); font-weight:bold; }
.note { background:#fff8c5; border:1px solid #eac54f; border-radius:4px; padding:6px 8px; font-size:12px; margin-top:6px; }
.err { background:#ffebe9; border:1px solid #ff8182; border-radius:4px; padding:6px 8px; font-size:12px; margin-top:6px; }
.login input { margin-bottom:6px; }
