:root{--bg:#faf8f1;--panel:#fff;--text:#173b32;--muted:#63736a;--line:#dce5da;--accent:#176b54;--soft:#e8f0e8;color-scheme:light}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:16px/1.6 'Segoe UI',sans-serif}a{color:var(--accent)}button,input{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #d5972f;outline-offset:4px}[hidden]{display:none!important}
.auth-shell{max-width:1500px;min-height:100svh;margin:auto;padding:38px clamp(22px,4vw,64px) 20px;display:flex;flex-direction:column}.auth-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(310px,.85fr);align-items:center;gap:clamp(36px,6vw,100px);flex:1;width:100%;padding:24px 0 44px}.auth-illustration,.auth-form-panel{min-width:0}.auth-form-panel{width:100%;max-width:460px;justify-self:end}.hero{padding:0 0 20px}.eyeline{font-size:11px;letter-spacing:2px;color:var(--accent);font-weight:700}.hero h1{font-size:clamp(32px,3.4vw,48px);line-height:1.1;letter-spacing:-1.5px;margin:14px 0 18px;font-weight:700}.hero p{font-size:15px;color:var(--muted);margin:0}.card{background:var(--panel);border:1px solid var(--line);border-radius:16px;padding:clamp(22px,2.5vw,32px);box-shadow:0 8px 32px #173b3205}.card h2{font-size:22px;margin:0 0 18px;line-height:1.25}.card label{display:block;font-size:13px;font-weight:600;margin:18px 0 7px}.card input{width:100%;min-height:46px;padding:11px 13px;background:var(--panel);color:var(--text);border:1px solid var(--line);border-radius:8px;font-size:16px}.card button{width:100%;border:1px solid var(--line);border-radius:8px;background:var(--panel);color:var(--text);padding:12px 16px;font-size:14px;font-weight:600;cursor:pointer;margin-top:10px}.card button.primary{background:var(--accent);color:#fff;border-color:var(--accent)}button:disabled{opacity:.55;cursor:not-allowed}.card nav{display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px 18px;margin-top:20px;font-size:13px}.card nav a{text-decoration:none}.card nav a:hover{text-decoration:underline}.muted{color:var(--muted);font-size:13px}#login-error,#register-next{font-size:13px}#login-error:empty,#auth-help:empty{display:none}.site-footer{border-top:1px solid var(--line);padding-top:18px;font-size:11px;color:var(--muted)}button.btn{border:1px solid var(--line);border-radius:22px;background:transparent;color:var(--accent);cursor:pointer}
@media(max-width:960px){.auth-layout{grid-template-columns:minmax(0,1fr);gap:52px;padding-top:10px}.auth-form-panel{order:-1;justify-self:center;max-width:460px}.auth-illustration{width:100%;max-width:720px;justify-self:center}.auth-shell{padding-top:26px}.hero h1{font-size:36px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto}}
