.auth-page{min-height:100svh;display:grid;grid-template-columns:minmax(360px,1.08fr) minmax(420px,1fr);background:var(--bg)}
.auth-story{position:relative;overflow:hidden;isolation:isolate;min-height:100svh;background:#122136;color:#f2f5ec;padding:42px 8%;display:flex;flex-direction:column}
.auth-story:before{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse at 10% 90%,#b3d88119,transparent 55%),radial-gradient(ellipse at 95% 30%,#819cce24,transparent 60%)}
.auth-story .brand{width:max-content;max-width:100%;font-size:23px;gap:10px}
.auth-story .brand-mark{font-size:27px}
.auth-story .brand-dot{margin-left:-9px}
.auth-story-copy{position:relative;z-index:2;margin-top:clamp(45px,10vh,110px)}
.auth-story-copy .eyebrow{color:#a9c38a;font-size:10px;letter-spacing:2px}
.auth-story h1{font-size:clamp(32px,3.5vw,53px);line-height:1.18;font-weight:750;letter-spacing:-1.8px;margin:20px 0}
.auth-story h1 span{color:#c6ed87}
.auth-story-copy p{font-size:14px;line-height:1.9;color:#b9c4d0}
.auth-art{display:block;width:min(100%,520px);height:auto;max-height:300px;object-fit:contain;align-self:center;margin:10px 0 15px;pointer-events:none}
.auth-story-bottom{margin-top:auto;display:flex;gap:13px;align-items:center;font-size:10px;color:#a8b7c6;letter-spacing:.25px}
.auth-story-bottom span{border:1px solid #90ad6d55;border-radius:50%;display:grid;place-items:center;width:30px;height:30px;color:#c6ed87;font-size:10px}
.auth-form-panel{padding:55px 40px 25px;display:flex;flex-direction:column;justify-content:center;align-items:center;min-width:0}
.auth-card{width:100%;max-width:390px}
.auth-tabs{display:flex;gap:4px;padding:5px;background:var(--line);border-radius:12px;margin-bottom:43px}
.auth-tabs button{flex:1;padding:11px 15px;font-size:12px;font-weight:700;border-radius:8px;color:var(--muted);min-height:42px}
.auth-tabs [aria-pressed="true"]{background:var(--white);color:var(--ink);box-shadow:0 2px 6px #00000010}
.auth-card h2{font-size:27px;letter-spacing:-.8px;line-height:1.3;margin:11px 0 12px}
.auth-lead{font-size:12px;line-height:1.8;color:var(--muted);margin-bottom:26px}
.auth-card .field{margin-bottom:17px}
.auth-card .field input{min-height:47px;width:100%;background:var(--white);border:1px solid var(--line);border-radius:9px;padding:12px 13px;font-size:13px}
.auth-card .field label{font-size:12px;font-weight:650;display:block;margin-bottom:7px}
.auth-card .field small{font-size:10px;line-height:1.7;color:var(--muted);display:block;margin-top:5px}
.auth-error{min-height:19px;font-size:12px;color:#b5453f;line-height:1.6;margin:0 0 12px}
.auth-submit{width:100%;min-height:48px;font-size:12px;justify-content:space-between;padding:13px 18px}
.auth-submit span{font-size:20px;line-height:1}
.auth-account-note{color:var(--muted);font-size:10px;line-height:1.8;margin-top:22px;border-top:1px solid var(--line);padding-top:18px}
.auth-migration-note{color:var(--muted);font-size:10px;line-height:1.8}
.auth-footer{font-size:9px;letter-spacing:.35px;color:var(--muted);margin:38px 0 0;text-align:center}
.auth-loading{min-height:100svh;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:18px;padding:30px;text-align:center}
.auth-loading h1{font-size:24px}
.profile-account{font-size:12px;color:var(--muted);overflow-wrap:anywhere;margin:0 0 20px}
.account-logout{width:100%;margin-top:14px}
[data-theme="dark"] .auth-tabs{background:#1c1e3c}
[data-theme="dark"] .auth-tabs [aria-pressed="true"]{background:#303143;color:#daf2a6}
[data-theme="dark"] .auth-error{color:#ffa99f}
@media(max-width:850px){.auth-page{grid-template-columns:minmax(280px,.8fr) minmax(350px,1fr)}.auth-story{padding:32px 30px}.auth-story h1{font-size:35px}.auth-form-panel{padding:40px 28px}.auth-art{margin:auto 0}}
@media(max-width:650px){.auth-page{grid-template-columns:1fr}.auth-story{min-height:0;padding:25px 25px 30px}.auth-story .brand{font-size:20px}.auth-story-copy{margin-top:28px}.auth-story h1{font-size:30px;margin:13px 0 10px}.auth-story h1 br{display:none}.auth-story h1 span{display:block}.auth-story-copy p{font-size:11px;margin:0}.auth-art,.auth-story-bottom{display:none}.auth-form-panel{padding:27px 25px 22px}.auth-tabs{margin-bottom:26px}.auth-card h2{font-size:24px}.auth-footer{margin-top:25px}}
@media(prefers-reduced-motion:reduce){.auth-page *{transition:none!important;animation:none!important}}
