:root{--bg:#f4f3ef;--surface:#fff;--surface2:#ecebe6;--ink:#14161a;--muted:#6b7079;--line:#e2e0da;--accent:#ffcb05;--accent-ink:#14161a;--ok:#13804b;--ok-soft:#e1f4ea;--bad:#d12b30;--bad-soft:#fde4e4;--shadow:0 1px 2px rgba(20,22,26,.06),0 8px 24px rgba(20,22,26,.06)}
@media (prefers-color-scheme:dark){:root{--bg:#0f1114;--surface:#181b20;--surface2:#22262c;--ink:#f1f2f4;--muted:#9aa1ab;--line:#2b3037;--ok:#3ccf87;--ok-soft:#163327;--bad:#ff6b6f;--bad-soft:#3a1d1f;--shadow:none}}
*{box-sizing:border-box}html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.5 Inter,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;min-height:100dvh;display:flex;flex-direction:column}
a{color:inherit}
.top{display:flex;align-items:center;justify-content:space-between;gap:12px;max-width:1040px;width:100%;margin:0 auto;padding:16px}
.logo{display:flex;align-items:center;gap:10px;font-weight:800;font-size:18px;text-decoration:none}
.logo i{display:grid;place-items:center;width:36px;height:36px;border-radius:11px;background:var(--ink);color:var(--accent);font-style:normal;font-size:17px}
.langs{display:flex;gap:2px;background:var(--surface2);padding:3px;border-radius:12px}
.langs a{padding:5px 10px;border-radius:9px;font-size:13px;font-weight:600;color:var(--muted);text-decoration:none}.langs a.on{background:var(--surface);color:var(--ink);box-shadow:var(--shadow)}
main{flex:1;width:100%;max-width:440px;margin:0 auto;padding:12px 16px 48px}
main.wide{max-width:720px}
.card{background:var(--surface);border:1px solid var(--line);border-radius:22px;box-shadow:var(--shadow);padding:28px 24px;position:relative;overflow:hidden}
.card+.card{margin-top:14px}
.stripes{position:absolute;inset:0 0 auto;height:6px;background:repeating-linear-gradient(-45deg,var(--accent) 0 10px,var(--ink) 10px 20px)}
h1{font-size:28px;line-height:1.15;margin:4px 0 6px}h2{font-size:19px;margin:0 0 4px}
.sub{color:var(--muted);font-size:14px;margin:0 0 20px}
label{display:block;font-size:14px;font-weight:600;margin:14px 0 6px}
input,select{width:100%;height:48px;border-radius:14px;border:1.5px solid var(--line);background:var(--surface);color:var(--ink);padding:0 14px;font:inherit;outline:none}
input:focus,select:focus{border-color:var(--ink)}
input.code{font-size:28px;letter-spacing:.4em;text-align:center;font-weight:800}
.btn{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;height:50px;border-radius:14px;border:0;font:inherit;font-weight:700;cursor:pointer;text-decoration:none;margin-top:16px}
.btn-primary{background:var(--accent);color:var(--accent-ink)}.btn-dark{background:var(--ink);color:var(--bg)}.btn-light{background:var(--surface2);color:var(--ink)}
.btn-google{background:var(--surface);color:var(--ink);border:1.5px solid var(--line)}
.btn:hover{filter:brightness(.97)}.btn-sm{width:auto;height:38px;padding:0 14px;margin:0;font-size:14px;border-radius:11px}
.or{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.06em;margin:22px 0 4px}.or:before,.or:after{content:"";flex:1;height:1px;background:var(--line)}
.links{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;margin-top:16px;font-size:14px}
.links a{color:var(--muted);text-decoration:none;font-weight:600}.links a:hover{color:var(--ink)}
.foot{margin-top:18px;text-align:center;font-size:14px;color:var(--muted)}.foot a{color:var(--ink);font-weight:700;text-decoration-color:var(--accent);text-decoration-thickness:2px;text-underline-offset:4px}
.alert{border-radius:12px;padding:10px 12px;font-size:14px;font-weight:600;margin:0 0 12px}.alert.bad{background:var(--bad-soft);color:var(--bad)}.alert.ok{background:var(--ok-soft);color:var(--ok)}
.err{color:var(--bad);font-size:13px;margin-top:6px}.hint{color:var(--muted);font-size:12px;margin-top:6px}
.tg{display:flex;justify-content:center;min-height:44px;margin-top:12px}
.row{display:flex;align-items:center;gap:12px;padding:14px 0;border-top:1px solid var(--line)}.row:first-of-type{border-top:0}
.ico{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;flex:none;font-weight:800}
.grow{flex:1;min-width:0}.grow b{display:block}.grow span{color:var(--muted);font-size:13px;overflow-wrap:anywhere}
.badge{font-size:11px;font-weight:700;padding:2px 7px;border-radius:7px;background:var(--ok-soft);color:var(--ok)}
.avatar{width:64px;height:64px;border-radius:20px;background:var(--accent);color:var(--accent-ink);display:grid;place-items:center;font-size:28px;font-weight:800;object-fit:cover;flex:none}
.head{display:flex;gap:16px;align-items:center}
details summary{cursor:pointer;font-weight:600;font-size:14px;color:var(--muted);list-style:none}details summary::-webkit-details-marker{display:none}
.inline{display:flex;flex-wrap:wrap;gap:8px;align-items:end}.inline>.grow{flex:1 1 180px}.inline>*{margin-top:0}.inline .btn{width:auto;padding:0 18px;height:48px}
form.m0{margin:0}
@media (max-width:480px){.card{padding:24px 18px}h1{font-size:25px}}
