:root{--bg:#f4f7fa;--card:#fff;--b:#111;--mut:#6b7280;--pri:#111;--bd:#e5e7eb;--err:#ef4444;--ok:#10b981;}
*{box-sizing:border-box}
html,body{height:100%}
body{margin:0;font-family:system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;background:var(--bg);
display:grid;place-items:center;padding:24px}
.card{width:100%;max-width:440px;background:var(--card);border:1px solid var(--bd);border-radius:14px;
box-shadow:0 10px 30px rgba(0,0,0,.06);overflow:hidden}
.header{padding:18px 20px;border-bottom:1px solid var(--bd);display:flex;justify-content:space-between;align-items:center}
.header h1{margin:0;font-size:18px}
.header a{font-weight:700;text-decoration:none}
.body{padding:18px 20px 24px}
label{display:block;font-size:13px;color:#374151;margin:12px 0 6px}
input{width:100%;padding:12px;border:1px solid var(--bd);border-radius:10px}
.actions{margin-top:16px;display:flex;gap:8px;align-items:center;justify-content:space-between}
.btn{appearance:none;border:1px solid var(--bd);background:var(--pri);color:#fff;font-weight:700;padding:12px 14px;border-radius:10px;cursor:pointer}
.btn.secondary{background:#fff;color:#111}
.msg{margin:0 0 12px;color:var(--err);font-weight:600;display:none}
.msg.ok{color:var(--ok)}
.hint{font-size:12px;color:#666;margin-top:8px}
.link{color:#2563eb;text-decoration:none}
