*{box-sizing:border-box}
body{margin:0;min-height:100vh;display:flex;align-items:center;justify-content:center;background:#f2f4f7;font:15px/1.5 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;color:#1d2430}
.auth-box{width:100%;max-width:400px;background:#fff;border-radius:8px;box-shadow:0 2px 12px rgba(0,0,0,.08);padding:32px}
h1{font-size:20px;margin:0 0 24px}
h2{font-size:17px;margin:0 0 12px}
label{display:block;font-weight:600;margin:14px 0 6px}
input{width:100%;padding:10px 12px;border:1px solid #c5ccd6;border-radius:6px;font-size:15px}
input:focus{outline:2px solid #2f6fdf;border-color:#2f6fdf}
button,.button{display:block;width:100%;margin-top:20px;padding:11px;border:0;border-radius:6px;background:#2f6fdf;color:#fff;font-size:15px;font-weight:600;text-align:center;text-decoration:none;cursor:pointer}
button.secondary,.button.secondary{background:#e7ebf1;color:#1d2430}
.alert{background:#fdecec;border:1px solid #f3b9b9;color:#8a1c1c;border-radius:6px;padding:10px 12px;margin-bottom:12px}
.alert p{margin:0}
.notice{background:#eaf2fd;border:1px solid #b9d0f3;color:#1c3f8a;border-radius:6px;padding:10px 12px;margin-bottom:12px}
.notice p{margin:0}
form.inline button{margin-top:8px}
.divider{text-align:center;margin:20px 0 0;color:#7a8494;font-size:13px}
.qr{display:flex;justify-content:center;margin:16px 0}
.qr svg{width:200px;height:200px}
.small{font-size:13px;color:#5b6575}
code{font-family:ui-monospace,Consolas,monospace;word-break:break-all}
.codes{list-style:none;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:6px}
.codes li{background:#f2f4f7;border-radius:4px;padding:6px;text-align:center}
details{margin-top:20px}
summary{cursor:pointer;color:#2f6fdf}
