/* Account forms share the same full-width header and logo frame as the workspace. */
:root{color-scheme:light}
.auth-page{min-height:100vh;min-height:100dvh;background:#f5f8fd}
.auth-page .site-header{background:#fff;flex:none}
.auth-main{display:grid;place-items:start center;padding:clamp(28px,5vh,52px) var(--page-gutter) 64px}
.auth-card{width:100%;max-width:460px;min-width:0;background:#fff;border:1px solid var(--line);border-radius:20px;padding:36px;box-shadow:0 12px 36px #17304f07}
.auth-card a{color:var(--brand);text-decoration:none}
.auth-card a:hover{text-decoration:underline}
.auth-card .eyebrow{font-size:11px;letter-spacing:.14em;font-weight:500;color:var(--brand)}
.auth-card h1{font-size:29px;font-weight:500;letter-spacing:-.7px;line-height:1.2;margin:12px 0}
.auth-card .intro{font-size:14px;color:var(--muted);line-height:1.6;margin:0 0 26px}
.auth-card form{display:grid;gap:18px}
.auth-card label{display:grid;gap:8px;font-size:13px;font-weight:500}
.auth-card input{font:inherit;font-size:16px;font-weight:400;min-width:0;width:100%;height:48px;padding:0 13px;border:1px solid #cbd6e5;border-radius:10px;background:#fff;color:var(--ink)}
.auth-card input:focus{outline:3px solid #075bc425;outline-offset:0;border-color:var(--brand)}
.auth-card .password-field{display:flex;align-items:center;position:relative}
.auth-card .password-field input{padding-right:86px}
.auth-card .password-field button{position:absolute;right:5px;border:0;background:transparent;color:var(--brand);min-height:40px;font:inherit;font-size:12px;padding:8px;cursor:pointer}
.auth-card .primary{display:block;text-align:center;width:100%;border:0;border-radius:10px;padding:15px 16px;background:var(--brand);color:#fff;font:inherit;font-size:15px;font-weight:500;cursor:pointer;transition:background .15s}
.auth-card .primary:hover{background:var(--brand-dark);text-decoration:none}
.auth-card .primary:disabled{opacity:.6;cursor:wait}
.auth-card .links{display:flex;gap:16px;justify-content:space-between;margin-top:22px;font-size:13px}
.auth-card .single-link{display:block;text-align:center;margin-top:22px;font-size:13px}
.auth-card .hint{font-size:12px;color:var(--muted);margin:-8px 0 0;line-height:1.5}
.auth-card .hint:empty{display:none}
.auth-card .notice{display:block;padding:14px 16px;margin:0 0 22px;border-radius:10px;background:var(--brand-soft);color:#204979;font-size:14px;line-height:1.6;overflow-wrap:anywhere}
.auth-card .footer-note{font-size:12px;line-height:1.6;color:var(--muted);margin:26px 0 0}
.auth-card details{border-top:1px solid var(--line);padding-top:18px;margin-top:25px;font-size:12px;color:var(--muted)}
.auth-card summary{cursor:pointer;min-height:28px}
.auth-card details .legacy{display:inline-block;padding:14px 0 0}
@media(max-width:520px){
 .auth-main{padding:24px 16px 40px}
 .auth-card{padding:26px 23px;border-radius:16px}
 .auth-card h1{font-size:26px}
 .auth-card .links{flex-wrap:wrap;gap:12px}
}
@media(prefers-reduced-motion:reduce){.auth-card *{transition:none!important}}
