:root { --bg:#f6f7f9; --card:#fff; --text:#1d2430; --muted:#5d6878; --line:#dde2ea; --accent:#1f6feb; --ok:#1a7f37; --fail:#cf222e; }
@media (prefers-color-scheme: dark) { :root { --bg:#0f1318; --card:#171c23; --text:#e6e9ee; --muted:#9aa4b2; --line:#2a313b; --accent:#4c8dff; --ok:#3fb950; --fail:#f85149; } }
* { box-sizing: border-box; }
body { margin:0; font: 15px/1.5 system-ui, -apple-system, "Segoe UI", sans-serif; background:var(--bg); color:var(--text); }
header.top { display:flex; justify-content:space-between; align-items:center; padding:12px 20px; border-bottom:1px solid var(--line); background:var(--card); }
.brand { font-weight:600; color:var(--text); text-decoration:none; }
main { max-width:920px; margin:24px auto; padding:0 16px; }
h1 { font-size:22px; margin:0 0 8px; } h2 { font-size:17px; margin:24px 0 8px; }
p.hint, .hint { color:var(--muted); font-size:13px; margin:4px 0 0; }
.card { background:var(--card); border:1px solid var(--line); border-radius:10px; padding:20px; margin:16px 0; }
label { display:block; font-weight:500; margin:14px 0 4px; }
input[type=text], input[type=password], input[type=url], input[type=number], select, textarea {
  width:100%; padding:8px 10px; border:1px solid var(--line); border-radius:6px; background:var(--bg); color:var(--text); font:inherit; }
.row { display:grid; grid-template-columns:1fr 1fr; gap:0 16px; } @media (max-width:640px) { .row { grid-template-columns:1fr; } }
.checkbox { display:flex; gap:8px; align-items:flex-start; font-weight:400; } .checkbox input { margin-top:4px; }
.actions { display:flex; gap:8px; flex-wrap:wrap; margin-top:20px; }
button, .button { padding:8px 14px; border-radius:6px; border:1px solid var(--line); background:var(--card); color:var(--text); font:inherit; cursor:pointer; text-decoration:none; }
button.primary, .button.primary { background:var(--accent); border-color:var(--accent); color:#fff; }
button.link { border:0; background:none; color:var(--accent); padding:0; }
button.danger { color:var(--fail); }
.steps { display:flex; flex-wrap:wrap; gap:6px; margin:12px 0 4px; }
.steps > * { display:flex; align-items:center; gap:6px; padding:5px 10px; border-radius:999px; border:1px solid var(--line); font-size:13px; color:var(--muted); text-decoration:none; }
.steps > * > span { display:inline-grid; place-items:center; width:20px; height:20px; border-radius:50%; background:var(--line); font-size:11px; color:var(--text); }
.steps .current { border-color:var(--accent); color:var(--text); font-weight:600; } .steps .current > span { background:var(--accent); color:#fff; }
.steps .done > span { background:var(--ok); color:#fff; }
.check { padding:8px 12px; border-radius:6px; margin:8px 0; border:1px solid var(--line); white-space:pre-wrap; }
.check.ok { border-color:var(--ok); } .check.fail { border-color:var(--fail); }
table { width:100%; border-collapse:collapse; } th, td { text-align:left; padding:8px; border-bottom:1px solid var(--line); vertical-align:top; } th { color:var(--muted); font-weight:500; font-size:13px; }
.badge { display:inline-block; padding:1px 8px; border-radius:999px; font-size:12px; border:1px solid var(--line); color:var(--muted); }
.badge.on { border-color:var(--ok); color:var(--ok); }
pre.code { max-height:260px; overflow:auto; background:var(--bg); border:1px solid var(--line); border-radius:6px; padding:10px; font-size:12px; }
dl.summary { display:grid; grid-template-columns:220px 1fr; gap:6px 16px; } dl.summary dt { color:var(--muted); } dl.summary dd { margin:0; }
@media (max-width:640px) { dl.summary { grid-template-columns:1fr; } }
.error { color:var(--fail); font-size:13px; }
