:root{--bg:#0f1622;--card:#152033;--text:#e7eefc;--muted:#91a4c7;--btn:#1e2b44;--primary:#2f6fed;--danger:#b94141}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--text);font:15px/1.4 system-ui,-apple-system,Segoe UI,Roboto,Arial}
a{color:inherit;text-decoration:none}
.topbar{position:sticky;top:0;background:#0b1220;border-bottom:1px solid #22304d;padding:12px 14px;display:flex;justify-content:space-between;align-items:center}
.brand{font-weight:700}
.wrap{max-width:520px;margin:0 auto;padding:14px}
.card{background:var(--card);border:1px solid #213055;border-radius:14px;padding:14px;margin:10px 0;box-shadow:0 8px 18px rgba(0,0,0,.25)}
.card-title{font-weight:700;margin-bottom:8px}
.row{margin:6px 0}
.small{color:var(--muted);font-size:13px}
.muted{color:var(--muted)}
.flash{border-radius:12px;padding:10px 12px;margin:10px 0;border:1px solid}
.flash.error{background:#2a1520;border-color:#5a2337}
.flash.ok{background:#12301e;border-color:#245a38}
.buttons{display:flex;flex-direction:column;gap:10px;margin-top:12px}
.btn{background:var(--btn);border:1px solid #2a3a60;border-radius:12px;padding:12px 14px;text-align:center}
.btn.primary{background:var(--primary);border-color:#2a60d9;font-weight:700}
.btn.danger{background:var(--danger);border-color:#8f3232}
.link{padding:6px 10px;border:1px solid #22304d;border-radius:10px}
input{width:100%;padding:12px 12px;border-radius:12px;border:1px solid #2a3a60;background:#0b1220;color:var(--text);outline:none}
label{display:block;margin:10px 0 6px;color:var(--muted)}
.form{background:var(--card);border:1px solid #213055;border-radius:14px;padding:14px;margin-top:10px}
.footer{max-width:520px;margin:10px auto 20px;padding:0 14px;font-size:12px}
