*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
body{min-height:100vh;display:grid;place-items:center;background:#0f1115;
font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;color:#e8eaf0;padding:24px}
.card{width:100%;max-width:380px;background:#171a21;border:1px solid #262b36;
border-radius:14px;padding:36px 32px;text-align:center}
.mark{width:46px;height:46px;margin:0 auto 18px;border-radius:11px;background:#B18D4F;
color:#0f1115;display:grid;place-items:center;font-weight:700;font-size:17px;letter-spacing:.5px}
h1{font-size:22px;font-weight:700;letter-spacing:-.3px}
.sub{color:#9aa1b1;font-size:14px;margin:6px 0 26px}
label{display:block;text-align:left;font-size:13px;font-weight:600;margin-bottom:7px;color:#c3c9d6}
input{width:100%;padding:12px 14px;border-radius:9px;border:1px solid #2d323e;
background:#0f1115;color:#e8eaf0;font-size:15px;font-family:inherit}
input:focus{outline:2px solid #B18D4F;outline-offset:-1px;border-color:#B18D4F}
button{width:100%;margin-top:16px;padding:12px;border:none;border-radius:9px;background:#B18D4F;
color:#0f1115;font-size:15px;font-weight:600;font-family:inherit;cursor:pointer}
button:hover{background:#c9a260}
.passkey-section{margin-top:2px}.passkey-section button{margin-top:0}
.passkey-section p{color:#9aa1b1;font-size:12px;line-height:1.5;margin:10px 0 0}
.recovery-toggle{font-size:13px;margin-top:18px}
.secondary{margin-top:9px;background:transparent;border:1px solid #363c48;color:#c3c9d6}
.secondary:hover{background:#20242d}
.setup{text-align:left;margin-top:4px}
.setup h2{font-size:17px;line-height:1.3;margin:0 0 8px}
.setup p{color:#9aa1b1;font-size:12.5px;line-height:1.55;margin:0 0 13px}
.setup .step{color:#B18D4F;text-transform:uppercase;letter-spacing:.12em;font-size:10px;font-weight:700;margin-bottom:7px}
.setup code{display:block;padding:12px;border:1px solid #363c48;border-radius:9px;background:#0f1115;color:#f3d28e;font-size:14px;line-height:1.5;letter-spacing:.09em;overflow-wrap:anywhere;user-select:all}
.app-link{display:block;margin:11px 0 18px;color:#d9b972;font-size:12px}
#recovery-codes{display:grid;grid-template-columns:1fr 1fr;gap:7px;list-style:none;padding:12px;margin:0 0 14px;border:1px solid #363c48;border-radius:9px;background:#0f1115}
#recovery-codes li{font:600 11px/1.5 ui-monospace,SFMono-Regular,Consolas,monospace;color:#f3d28e}
.save-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:9px}.save-actions button{margin-top:0}.ok{min-height:18px;color:#8fd3a8;font-size:12px;margin:4px 0 10px}
[hidden]{display:none!important}
.err{margin-top:16px;color:#ff8a80;font-size:13.5px;min-height:18px}