/* Account entry shares the workspace's notebook surfaces and typography. */
.sequence-auth { color:var(--prep-text); font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif; }
.sequence-auth * { box-sizing:border-box; }
.sequence-auth .app-container--unauth { display:block; min-height:100dvh; }
.sequence-auth .unauthenticated-shell { display:block; width:100%; min-height:100dvh; padding:0; background:var(--prep-bg); }
.sequence-auth .auth-page { width:100%; min-height:100dvh; margin:0; padding:56px 24px 36px; display:flex; align-items:center; justify-content:center; }
.auth-entry { width:100%; max-width:480px; }
.auth-brand { display:block; width:fit-content; margin:0 0 28px; padding:4px 0; }
.sequence-auth .auth-brand .prep-brand-mark { display:block; width:164px; height:35px; margin:0; object-fit:cover; object-position:center 46%; filter:none; }
.sequence-auth[data-theme='light'] .auth-brand .prep-brand-mark { filter:invert(1) hue-rotate(180deg); mix-blend-mode:multiply; }
.sequence-auth .auth-card { width:100%; max-width:none; padding:36px; background:var(--prep-surface); color:var(--prep-text); border:1px solid var(--prep-line); border-radius:16px; box-shadow:none; text-align:left; }
.sequence-auth .auth-header { padding:0; margin:0; border:0; background:transparent; text-align:left; color:var(--prep-text); }
.sequence-auth .auth-field { margin:0; }
.sequence-auth .auth-eyebrow { margin:0 0 16px; color:var(--prep-muted); font-size:10px; font-weight:650; letter-spacing:2.6px; line-height:1.6; }
.sequence-auth .auth-header h1 { margin:0; color:var(--prep-text); font:500 clamp(34px,4vw,44px)/1.12 Georgia,'Times New Roman',serif; letter-spacing:-1.4px; }
.sequence-auth .auth-header .auth-description { margin:14px 0 30px; max-width:35ch; color:var(--prep-muted); font-size:14px; line-height:1.65; overflow-wrap:anywhere; }
.sequence-auth .auth-form { display:flex; flex-direction:column; gap:20px; }
.sequence-auth .two-column { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:16px; }
.sequence-auth .two-column .auth-field { min-width:0; }
.sequence-auth .auth-field label { display:block; margin:0 0 9px; color:var(--prep-text); font-size:12px; line-height:1.5; font-weight:550; }
.auth-label-row { display:flex; align-items:baseline; justify-content:space-between; gap:12px; }
.sequence-auth .field-label-link { padding:4px 0; color:var(--prep-muted); font-size:12px; line-height:1.5; opacity:1; text-decoration:none; }
.sequence-auth .field-label-link:hover { color:var(--prep-text); text-decoration:underline; text-underline-offset:4px; }
.sequence-auth .input-wrapper { min-width:0; min-height:50px; padding:0 14px; border:1px solid #77736d; border-radius:8px; background:var(--prep-bg); box-shadow:none; transition:border-color 120ms ease; }
.sequence-auth .input-wrapper:focus-within { border-color:var(--prep-accent); outline:2px solid var(--prep-accent); outline-offset:2px; box-shadow:none; }
.sequence-auth .input-wrapper input { width:100%; min-width:0; min-height:48px; margin:0; padding:12px 0; color:var(--prep-text); font-family:inherit; font-size:16px; line-height:1.4; background:transparent; border:0; border-radius:0; box-shadow:none; outline:none; }
.sequence-auth .input-wrapper input::placeholder { color:var(--prep-muted); opacity:.8; }
.sequence-auth #invite_code { text-transform:uppercase; }
.sequence-auth .field-hint { margin:8px 0 0; color:var(--prep-muted); font-size:12px; line-height:1.5; }
.auth-password-toggle { align-self:stretch; min-width:44px; min-height:44px; margin:0 -8px 0 8px; padding:0 6px; color:var(--prep-muted); font-family:inherit; font-size:11px; font-weight:550; background:none; border:0; border-radius:4px; cursor:pointer; }
.sequence-auth .auth-submit { display:flex; align-items:center; justify-content:space-between; gap:16px; width:100%; min-height:50px; margin:6px 0 0; padding:14px 18px; color:var(--prep-on-accent); background:var(--prep-accent); border:1px solid transparent; border-radius:8px; font-family:inherit; font-size:14px; font-weight:600; line-height:1.5; text-decoration:none; box-shadow:none; transform:none; transition:background 120ms ease,transform 100ms ease; }
.sequence-auth .auth-submit:hover { background:var(--prep-accent-hover); color:var(--prep-on-accent); box-shadow:none; transform:none; }
.sequence-auth .auth-submit:active { transform:scale(.99); }
.auth-submit-icon { display:flex; }
.auth-submit-icon svg { width:20px; height:20px; }
.sequence-auth .auth-submit-secondary { border-color:var(--prep-line); color:var(--prep-text); background:transparent; }
.sequence-auth .auth-submit-secondary:hover { background:var(--prep-bg); color:var(--prep-text); }
.auth-submit-spinner { display:none; flex-shrink:0; width:18px; height:18px; border:1.5px solid currentColor; border-right-color:transparent; border-radius:50%; }
.auth-submit[aria-busy='true'] { cursor:wait; }
.auth-submit[aria-busy='true'] .auth-submit-icon { display:none; }
.auth-submit[aria-busy='true'] .auth-submit-spinner { display:block; animation:sequence-auth-pending 850ms linear infinite; }
@keyframes sequence-auth-pending { to { transform:rotate(360deg); } }
.sequence-auth .auth-switch { display:flex; flex-wrap:wrap; align-items:baseline; justify-content:flex-start; gap:4px 8px; margin:28px 0 0; padding-top:23px; border-top:1px solid var(--prep-line); color:var(--prep-muted); font-size:12px; line-height:1.7; }
.sequence-auth .auth-switch a { display:inline-block; padding:4px 0; color:var(--prep-text); font-weight:550; text-decoration:none; }
.sequence-auth .auth-switch a:hover { text-decoration:underline; text-underline-offset:4px; }
.auth-switch a span { margin-left:4px; }
.sequence-auth .auth-footer { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:12px; margin:0; padding:18px 2px 0; color:var(--prep-muted); background:transparent; border:0; text-align:left; font-size:11px; line-height:1.5; }
.auth-footer nav { display:flex; gap:18px; }
.auth-footer a { display:inline-flex; align-items:center; min-height:32px; color:inherit; text-decoration:none; }
.auth-footer a:hover { color:var(--prep-text); text-decoration:underline; text-underline-offset:4px; }
.sequence-auth :is(a,button):focus-visible { outline:2px solid var(--prep-accent); outline-offset:4px; }
.sequence-auth .auth-card .flash-container { width:100%; margin:0 0 22px; padding:0; }
.sequence-auth .flash-message { gap:10px; margin:0 0 10px; padding:12px 14px; color:var(--prep-text); background:var(--prep-bg); border:1px solid var(--prep-line); border-left:3px solid var(--prep-accent); border-radius:8px; font-size:13px; line-height:1.6; box-shadow:none; }
.sequence-auth .flash-icon { align-self:flex-start; color:var(--prep-accent); }
.sequence-auth .flash-text { overflow-wrap:anywhere; }
.auth-note { margin:0 0 24px; padding:18px; border:1px solid var(--prep-line); border-radius:9px; background:var(--prep-bg); color:var(--prep-muted); font-size:13px; line-height:1.7; overflow-wrap:anywhere; }
.auth-note p { margin:0; }.auth-note .auth-email { margin-bottom:16px; }.auth-note .field-hint { margin-top:16px; }
.auth-note ol { margin:0; padding-left:20px; }
.auth-note li+li { margin-top:8px; }
.auth-note strong { color:var(--prep-text); font-weight:550; }
@media(max-width:540px) {
    .sequence-auth .auth-page { padding:32px 20px 24px; align-items:flex-start; }
    .sequence-auth .auth-brand { margin-bottom:24px; }
    .sequence-auth .auth-card { padding:27px 23px; border-radius:13px; }
    .sequence-auth .auth-header .auth-description { margin-bottom:26px; }
    .sequence-auth .auth-form { gap:18px; }
}
@media(max-width:360px) { .sequence-auth .auth-page { padding:26px 14px; }.sequence-auth .auth-card { padding:24px 18px; }.sequence-auth .two-column { grid-template-columns:minmax(0,1fr); gap:18px; } }
@media(prefers-reduced-motion:reduce) { .auth-submit[aria-busy='true'] .auth-submit-spinner { animation:none; }.sequence-auth .auth-submit:active { transform:none; } }
