:root{--surface:#fff;--nav:#f2e6d6;--ink:#1c1b18;--muted:#5a564d;--line:#8a7f6e;--soft:#e6dccb;--action:#0f4c5c;--hover:#0a3a47;--on:#fff;--link:#0b5a70;--bad:#b82733;--focus:#0b5a70}
@media (prefers-color-scheme:dark){:root{--surface:#172a30;--nav:#0f1f24;--ink:#f3ece0;--muted:#c3bba9;--line:#8fa0a3;--soft:#2b4047;--action:#efdcc0;--hover:#f7ebd8;--on:#12262c;--link:#8fd0e0;--bad:#ff9a94;--focus:#8fd0e0}}
*{box-sizing:border-box}
body{margin:0;background:var(--nav);color:var(--ink);font:14px/1.45 Geist,system-ui,-apple-system,"Segoe UI",sans-serif}
main{min-height:100svh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:24px;padding:24px 16px}
.logo{display:flex;gap:8px;align-items:center;font-size:20px;color:var(--action)}
.logo b{font-weight:800}
section{width:100%;max-width:400px;background:var(--surface);border-radius:16px;padding:32px 24px}
h1{margin:0 0 20px;font-size:20px;line-height:28px;font-weight:600}
p{margin:0 0 16px;color:var(--muted)}
form{display:flex;flex-direction:column}
label{font-size:13px;font-weight:500;margin:0 0 6px}
input:not([type=hidden]){height:48px;margin:0 0 16px;padding:0 12px;font:inherit;font-size:16px;color:var(--ink);background:var(--surface);border:1px solid var(--line);border-radius:10px}
button,.button{display:flex;align-items:center;justify-content:center;min-height:48px;padding:0 16px;font:inherit;font-weight:600;color:var(--on);background:var(--action);border:0;border-radius:10px;cursor:pointer;text-decoration:none}
button:hover,.button:hover{background:var(--hover)}
.second{justify-content:flex-start;color:var(--ink);background:none;border:1px solid var(--line);margin-bottom:8px;text-align:left}
.second:hover{background:var(--soft)}
.link{min-height:44px;color:var(--link);background:none;font-weight:500}
.link:hover{background:none;text-decoration:underline}
.row{display:flex;justify-content:space-between;align-items:baseline}
a{color:var(--link)}
.alt{margin:16px 0 0;text-align:center}
.error{color:var(--bad);font-weight:500}
.qr{background:#fff;border-radius:10px;padding:8px;margin:0 auto 16px;width:200px}
.qr svg{display:block}
code{font-family:"IBM Plex Mono",ui-monospace,monospace;overflow-wrap:anywhere}
.codes{list-style:none;margin:0 0 20px;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:8px}
:focus-visible{outline:2px solid var(--focus);outline-offset:2px}
footer{display:flex;gap:24px;font-size:13px}
footer a{color:var(--muted)}
