:root{--bg:#F8F7FF;--surface:#fff;--text:#14142B;--muted:#6B7280;--p:#6366F1;--border:#E5E7EB}
@media (prefers-color-scheme:dark){:root{--bg:#0F0F1A;--surface:#1A1A2E;--text:#F3F4F6;--muted:#9CA3AF;--border:#2A2A44}}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--text);font:16px/1.7 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif}
header{background:linear-gradient(135deg,#6366F1,#8B5CF6);color:#fff;padding:22px 20px}
header a{color:#fff;text-decoration:none;font-weight:800;font-size:20px;display:flex;align-items:center;gap:10px}
header img{width:34px;height:34px;border-radius:9px}
main{max-width:760px;margin:0 auto;padding:28px 20px 40px}
h1{font-size:28px;margin:0 0 4px}
h2{font-size:19px;margin:30px 0 6px}
ul{padding-left:22px}
.muted{color:var(--muted);font-size:14px}
.box{background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:16px 18px;margin:16px 0}
a{color:var(--p)}
footer{max-width:760px;margin:0 auto;padding:0 20px 40px;color:var(--muted);font-size:14px}
footer a{margin-right:14px}
input,button{font:inherit}
input{width:100%;padding:12px 14px;border:1.5px solid var(--border);border-radius:12px;background:var(--surface);color:var(--text);margin:6px 0 12px}
button{padding:13px 18px;border:0;border-radius:12px;background:var(--p);color:#fff;font-weight:800;cursor:pointer;width:100%}
button.danger{background:#DC2626}
button:disabled{opacity:.5;cursor:default}
.err{color:#DC2626;font-weight:700;margin:8px 0}
.ok{color:#16A34A;font-weight:700;margin:8px 0}
