/* SautiLink account entry. Presentation stays scoped to the signed-out surface. */
body.auth-entry {
  --auth-entry-page: #f8f8fa;
  --auth-entry-card: #ffffff;
  --auth-entry-input: #ffffff;
  --auth-entry-ink: #1d1d1f;
  --auth-entry-muted: #606068;
  --auth-entry-line: #dedee5;
  --auth-entry-field-line: #85858f;
  --auth-entry-soft: #f0f1f5;
  --auth-entry-selected: #ffffff;
  --auth-entry-accent: #2563eb;
  --auth-entry-accent-strong: #1d4ed8;
  --auth-entry-link: #1d4ed8;
  --auth-entry-focus: #2563eb;
  --auth-entry-blue-soft: #eaf1ff;
  --auth-entry-error: #a32925;
  --auth-entry-error-bg: #fff1ef;
  --auth-entry-error-line: #e4a7a2;
  --auth-entry-success: #24633d;
  --auth-entry-success-bg: #eef8f1;
  --auth-entry-success-line: #9fcbae;
  --auth-entry-shadow: 0 16px 48px rgba(25,31,50,.055), 0 2px 8px rgba(25,31,50,.02);
  min-height: 100dvh;
  margin: 0;
  padding: 0;
  background: var(--auth-entry-page) !important;
  color: var(--auth-entry-ink);
}
html[data-theme="dark"] body.auth-entry {
  --auth-entry-page: #101113;
  --auth-entry-card: #1b1c20;
  --auth-entry-input: #232429;
  --auth-entry-ink: #f5f5f7;
  --auth-entry-muted: #b2b2bc;
  --auth-entry-line: #3c3d45;
  --auth-entry-field-line: #7b7c86;
  --auth-entry-soft: #292a30;
  --auth-entry-selected: #42434b;
  --auth-entry-link: #91b8ff;
  --auth-entry-focus: #91b8ff;
  --auth-entry-blue-soft: #222f48;
  --auth-entry-error: #ffb9b2;
  --auth-entry-error-bg: #362321;
  --auth-entry-error-line: #915a55;
  --auth-entry-success: #a4e1b8;
  --auth-entry-success-bg: #1e3026;
  --auth-entry-success-line: #557b60;
  --auth-entry-shadow: 0 16px 48px rgba(0,0,0,.13);
}
body.auth-entry .primary-rail,
body.auth-entry .secondary-rail,
body.auth-entry .context-rail,
body.auth-entry .mobile-header,
body.auth-entry .mobile-nav,
body.auth-entry .stream-header { display: none !important; }
body.auth-entry .app-layout,
body.auth-entry .stream-column { display: block; width: 100% !important; max-width: none !important; min-height: 100dvh; margin: 0 !important; padding: 0 !important; border: 0 !important; background: transparent !important; }
body.auth-entry .auth-view { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); grid-template-rows: auto 1fr auto; align-content: start; align-items: start; column-gap: clamp(45px, 7vw, 100px); row-gap: 62px; width: min(1180px, calc(100% - 88px)); min-height: 100dvh; margin: 0 auto; padding: 0 0 28px; overflow: visible; background: transparent; }
body.auth-entry .auth-entry-header { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 25px; min-height: 86px; padding-block: 12px; border-bottom: 1px solid var(--auth-entry-line); }
body.auth-entry .auth-entry-brand { display: inline-flex; align-items: center; flex-shrink: 0; gap: 12px; min-height: 44px; color: var(--auth-entry-ink); font-size: 23px; font-weight: 650; letter-spacing: -.055em; text-decoration: none; }
body.auth-entry .auth-entry-logo { display: block; width: 43px; height: auto; margin: 0; object-fit: contain; object-position: center; filter: none; }
body.auth-entry .auth-header-actions { display: flex; align-items: center; gap: 24px; margin-left: auto; }
body.auth-entry .auth-header-actions > a { display: inline-flex; align-items: center; min-height: 44px; color: var(--auth-entry-muted); font-size: 13px; text-decoration: none; }
body.auth-entry .auth-header-actions > a:hover { color: var(--auth-entry-link); }
body.auth-entry .auth-theme-toggle { flex: 0 0 44px; width: 44px; height: 44px; border: 1px solid var(--auth-entry-line); border-radius: 50%; background: var(--auth-entry-card); color: var(--auth-entry-ink); }
body.auth-entry .auth-theme-toggle:hover { background: var(--auth-entry-soft); }
body.auth-entry .auth-theme-toggle svg { width: 19px; height: 19px; }
body.auth-entry .auth-intro { position: sticky; top: 50px; align-self: start; min-width: 0; margin-top: 40px; padding: 0; color: var(--auth-entry-ink); text-align: left; }
body.auth-entry .auth-eyebrow { display: block; margin: 0 0 21px; color: var(--auth-entry-link); font-size: 15px; line-height: 1.5; font-weight: 550; letter-spacing: -.015em; }
body.auth-entry .auth-intro h2 { max-width: 480px; margin: 0; color: var(--auth-entry-ink); font-size: clamp(38px, 4.3vw, 58px); line-height: 1.075; font-weight: 650; letter-spacing: -.055em; text-wrap: balance; }
body.auth-entry .auth-intro > p { max-width: 380px; margin: 24px 0 0; color: var(--auth-entry-muted); font-size: 19px; line-height: 1.6; }
body.auth-entry .auth-intro-art { position: relative; width: 290px; height: 218px; margin: 33px 0 10px; isolation: isolate; }
body.auth-entry .auth-art-orbit { position: absolute; z-index: -1; inset: 28px 0 0 5px; border-radius: 50%; background: radial-gradient(ellipse, var(--auth-entry-blue-soft), transparent 70%); }
body.auth-entry .auth-art-tile { position: absolute; display: grid; place-items: center; border: 1px solid var(--auth-entry-line); border-radius: 28px; box-shadow: 0 12px 28px rgba(35,59,102,.07); }
body.auth-entry .auth-art-tile svg { width: 60px; height: 60px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
body.auth-entry .auth-art-tile-back { width: 121px; height: 134px; top: 16px; left: 124px; color: var(--auth-entry-link); background: var(--auth-entry-blue-soft); transform: rotate(10deg); }
body.auth-entry .auth-art-tile-front { width: 142px; height: 146px; top: 51px; left: 35px; color: var(--auth-entry-link); background: var(--auth-entry-card); transform: rotate(-9deg); }
body.auth-entry .auth-art-detail { position: absolute; top: 168px; left: 197px; width: 19px; height: 19px; border-radius: 6px; background: var(--auth-entry-accent); transform: rotate(12deg); }
body.auth-entry .auth-intro-note { display: grid; gap: 9px; max-width: 340px; margin-top: 20px; }
body.auth-entry .auth-intro-note strong { color: var(--auth-entry-ink); font-size: 16px; line-height: 1.5; font-weight: 550; letter-spacing: -.015em; }
body.auth-entry .auth-intro-note > span { color: var(--auth-entry-muted); font-size: 14px; line-height: 1.65; }
body.auth-entry .auth-intro-help { display: inline-flex; align-items: center; gap: 15px; min-height: 44px; margin-top: 30px; color: var(--auth-entry-link); font-size: 13px; text-decoration: none; }
body.auth-entry .auth-intro-help:hover { text-decoration: underline; text-underline-offset: 3px; }
body.auth-entry .auth-signup-steps { display: none; gap: 23px; margin: 35px 0 0; padding: 0; list-style: none; }
body.auth-entry .auth-view:is([data-presentation-mode="signup"], [data-presentation-mode="verify"], [data-presentation-mode="signupPhone"], [data-presentation-mode="onboarding"]) .auth-signup-steps,
body.auth-entry:is([data-auth-mode="signup"], [data-auth-mode="verify"], [data-auth-mode="signupPhone"], [data-auth-mode="onboarding"]) .auth-view:not([data-presentation-mode]) .auth-signup-steps { display: grid; }
body.auth-entry .auth-view:is([data-presentation-mode="signup"], [data-presentation-mode="verify"], [data-presentation-mode="signupPhone"], [data-presentation-mode="onboarding"]) :is(.auth-intro-art, .auth-intro-note),
body.auth-entry:is([data-auth-mode="signup"], [data-auth-mode="verify"], [data-auth-mode="signupPhone"], [data-auth-mode="onboarding"]) .auth-view:not([data-presentation-mode]) :is(.auth-intro-art, .auth-intro-note) { display: none; }
body.auth-entry .auth-signup-steps li { display: flex; align-items: center; gap: 15px; min-width: 0; }
body.auth-entry .auth-step-number { display: grid; place-items: center; flex-shrink: 0; width: 34px; height: 34px; border: 1px solid var(--auth-entry-line); border-radius: 50%; background: var(--auth-entry-card); color: var(--auth-entry-muted); font-size: 13px; font-weight: 550; }
body.auth-entry .auth-signup-steps strong { display: block; color: var(--auth-entry-ink); font-size: 14px; font-weight: 550; }
body.auth-entry .auth-signup-steps small { display: block; margin-top: 3px; color: var(--auth-entry-muted); font-size: 12px; line-height: 1.5; }
body.auth-entry .auth-signup-steps [aria-current="step"] .auth-step-number { border-color: var(--auth-entry-accent); background: var(--auth-entry-accent); color: #fff; }

body.auth-entry .auth-card { position: relative; width: 100%; max-width: 560px; justify-self: end; margin: 0; overflow: visible; border: 1px solid var(--auth-entry-line); border-radius: 28px; background: var(--auth-entry-card); color: var(--auth-entry-ink); box-shadow: var(--auth-entry-shadow); }
body.auth-entry .auth-tabs { display: grid !important; grid-template-columns: 1fr 1fr; gap: 4px; margin: 24px 28px 0; padding: 4px; border: 0; border-radius: 14px; background: var(--auth-entry-soft); }
body.auth-entry .auth-tabs button { min-height: 44px; padding: 10px 16px; border: 0; border-radius: 10px; background: transparent; color: var(--auth-entry-muted); font: inherit; font-size: 14px; font-weight: 550; cursor: pointer; transition: color .15s ease, background .15s ease, box-shadow .15s ease; }
body.auth-entry .auth-tabs button[aria-selected="true"] { background: var(--auth-entry-selected); color: var(--auth-entry-ink); box-shadow: 0 2px 7px rgba(0,0,0,.065); }
body.auth-entry .auth-tabs button[aria-selected="true"]::after { display: none; }
body.auth-entry .auth-card > section { min-width: 0; padding: 30px 36px 34px; background: transparent; }
body.auth-entry .auth-card > section:focus { outline-offset: 6px; }
body.auth-entry .form-heading, body.auth-entry .auth-login-heading { display: block; margin: 0 0 27px; text-align: left; }
body.auth-entry .form-heading h2 { margin: 0; color: var(--auth-entry-ink); font-size: 29px; line-height: 1.15; font-weight: 650; letter-spacing: -.045em; text-wrap: balance; }
body.auth-entry .form-heading h2 { scroll-margin-block: 32px; }
body.auth-entry .form-heading h2:focus { outline: 2px solid var(--auth-entry-focus); outline-offset: 7px; border-radius: 3px; }
body.auth-entry .form-heading p:not(.section-label) { margin: 12px 0 0; color: var(--auth-entry-muted); font-size: 14px; line-height: 1.65; }
body.auth-entry .form-heading strong { color: var(--auth-entry-ink); font-weight: 600; overflow-wrap: anywhere; }
body.auth-entry .section-label { margin: 0 0 11px; color: var(--auth-entry-link); font-size: 12px; line-height: 1.5; font-weight: 550; letter-spacing: 0; text-transform: none; }
body.auth-entry .auth-panel-symbol { display: grid; place-items: center; width: 55px; height: 55px; margin: 0 0 23px; border-radius: 17px; background: var(--auth-entry-blue-soft); color: var(--auth-entry-link); }
body.auth-entry .auth-panel-symbol svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
body.auth-entry .auth-form { display: grid; gap: 12px; min-width: 0; }
body.auth-entry .auth-form label:not(.sr-only) { position: static; width: auto; height: auto; margin: 6px 0 -5px; padding: 0; overflow: visible; clip: auto; white-space: normal; color: var(--auth-entry-ink); font-size: 13px; line-height: 1.5; font-weight: 550; }
body.auth-entry .auth-form-group { display: grid; gap: 11px; min-width: 0; margin: 0; padding: 0; border: 0; }
body.auth-entry .auth-form-group > legend { width: 100%; margin: 0 0 16px; padding: 0; color: var(--auth-entry-ink); font-size: 16px; line-height: 1.4; font-weight: 600; letter-spacing: -.02em; }
body.auth-entry .auth-details-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 22px 18px; min-width: 0; }
body.auth-entry .auth-field { display: grid; gap: 8px; min-width: 0; }
body.auth-entry .auth-field-wide { grid-column: 1 / -1; }
body.auth-entry .auth-field > label:not(.sr-only) { margin: 0; }
body.auth-entry .auth-security-group { margin-top: 17px; padding-top: 24px; border-top: 1px solid var(--auth-entry-line); }
body.auth-entry .auth-security-group > legend { float: left; margin-bottom: 6px; }
body.auth-entry .auth-form input:not([type="checkbox"]), body.auth-entry .auth-form select { display: block; width: 100%; min-width: 0; min-height: 52px; border: 1px solid var(--auth-entry-field-line); border-radius: 12px; padding: 12px 14px; background: var(--auth-entry-input); color: var(--auth-entry-ink); font: inherit; font-size: 16px; line-height: 1.5; box-shadow: none; outline-offset: 2px; transition: border-color .15s ease, box-shadow .15s ease; }
body.auth-entry .auth-form select { padding-right: 24px; }
body.auth-entry .auth-form input::placeholder { color: var(--auth-entry-muted); opacity: 1; }
body.auth-entry .auth-form input:not([type="checkbox"]):focus, body.auth-entry .auth-form select:focus { border-color: var(--auth-entry-focus); background: var(--auth-entry-input); box-shadow: 0 0 0 1px var(--auth-entry-focus); }
body.auth-entry .auth-form input[aria-invalid="true"], body.auth-entry .auth-form select[aria-invalid="true"] { border-color: var(--auth-entry-error); }
body.auth-entry .auth-form input:-webkit-autofill { -webkit-text-fill-color: var(--auth-entry-ink); box-shadow: 0 0 0 1000px var(--auth-entry-input) inset; caret-color: var(--auth-entry-ink); }
body.auth-entry .auth-form input:autofill { color: var(--auth-entry-ink); background: var(--auth-entry-input); }
body.auth-entry .username-field { display: flex; align-items: center; min-width: 0; min-height: 52px; border: 1px solid var(--auth-entry-field-line); border-radius: 12px; background: var(--auth-entry-input); }
body.auth-entry .username-field > span { position: static; inset: auto; display: flex; align-items: center; flex-shrink: 0; margin-left: 14px; color: var(--auth-entry-muted); font-size: 16px; font-weight: 500; line-height: 1; }
body.auth-entry .auth-form .username-field input { flex: 1 1 auto; width: 100%; min-width: 0; min-height: 50px; padding-block: 11px; border: 0 !important; border-radius: 11px; background: transparent; }
body.auth-entry .username-field input:focus { box-shadow: none !important; outline: none !important; }
body.auth-entry .username-field:focus-within { border-color: var(--auth-entry-focus); outline: 2px solid var(--auth-entry-focus); outline-offset: 2px; }
body.auth-entry .password-field { position: relative; min-width: 0; }
body.auth-entry .auth-form .password-field input { padding-right: 76px; }
body.auth-entry .password-field button { position: absolute; top: 50%; right: 5px; display: grid; place-items: center; min-width: 58px; min-height: 44px; margin: 0; padding: 10px 12px; border: 0; border-radius: 8px; background: transparent; color: var(--auth-entry-link); font-size: 12px; line-height: 1.4; font-weight: 550; transform: translateY(-50%); cursor: pointer; }
body.auth-entry .password-field button:hover { background: var(--auth-entry-blue-soft); }
body.auth-entry .field-hint, body.auth-entry .legal-note { margin: 0; color: var(--auth-entry-muted); font-size: 12px; line-height: 1.6; }
body.auth-entry .field-hint.good { color: var(--auth-entry-success); }
body.auth-entry .field-hint.bad { color: var(--auth-entry-error); }
/* The birth-date controls are inserted by the existing account flow. */
body.auth-entry .birth-date-fieldset { display: grid; gap: 10px; min-width: 0; margin: 0 0 16px; padding: 0; border: 0; }
body.auth-entry .birth-date-fieldset legend { margin: 0 0 2px; padding: 0; color: var(--auth-entry-ink); font-size: 13px; line-height: 1.5; font-weight: 550; }
body.auth-entry .birth-date-fields { display: grid !important; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr) minmax(0, 1fr); align-items: start; gap: 12px; min-height: 0; padding: 0; overflow: visible; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
body.auth-entry .birth-date-fields:focus-within { border: 0; box-shadow: none; }
body.auth-entry .birth-date-separator { display: none; }
body.auth-entry .birth-date-control { display: grid; gap: 7px; min-width: 0; }
body.auth-entry .auth-form .birth-date-control > label { position: static !important; width: auto !important; height: auto !important; margin: 0 !important; padding: 0 !important; overflow: visible !important; clip: auto !important; white-space: normal !important; border: 0 !important; color: var(--auth-entry-muted); font-size: 12px; font-weight: 450; }
body.auth-entry .birth-date-control > select { min-height: 50px; width: 100%; min-width: 0; padding: 11px 9px; border: 1px solid var(--auth-entry-field-line); border-radius: 10px; background: var(--auth-entry-input); color: var(--auth-entry-ink); font-size: 16px; box-shadow: none; }
body.auth-entry .auth-form label.signup-agreement { display: flex; align-items: flex-start; gap: 12px; min-height: 44px; margin: 14px 0 4px !important; padding: 15px !important; border: 1px solid var(--auth-entry-line); border-radius: 13px; background: var(--auth-entry-soft); color: var(--auth-entry-ink); font-size: 12px !important; line-height: 1.65; cursor: pointer; }
body.auth-entry .signup-agreement input[type="checkbox"] { flex: 0 0 20px; width: 20px; height: 20px; min-height: 20px; margin: 2px 0 0; padding: 0; border-radius: 4px; accent-color: var(--auth-entry-accent); }
body.auth-entry .signup-agreement a, body.auth-entry .signup-documents a, body.auth-entry .legal-note a { color: var(--auth-entry-link); text-decoration: underline; text-underline-offset: 3px; }
body.auth-entry .signup-documents { margin: 0 0 24px; padding: 14px 16px; border: 1px solid var(--auth-entry-line); border-radius: 13px; background: var(--auth-entry-soft); color: var(--auth-entry-ink); font-size: 13px; line-height: 1.65; }
body.auth-entry .signup-documents summary { min-height: 44px; padding-block: 8px; cursor: pointer; font-weight: 550; }
body.auth-entry .signup-documents p { margin: 13px 0 0; color: var(--auth-entry-muted); }
body.auth-entry .form-submit { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 50px; margin-top: 5px; padding: 13px 18px; border: 1px solid transparent; border-radius: 13px; background: var(--auth-entry-accent) !important; color: #fff; font: inherit; font-size: 15px; font-weight: 550; line-height: 1.5; box-shadow: none; cursor: pointer; transition: background .15s ease, opacity .15s ease; }
body.auth-entry .form-submit:hover:not(:disabled) { background: var(--auth-entry-accent-strong) !important; }
body.auth-entry .form-submit:active:not(:disabled) { background: #1e40af !important; }
body.auth-entry .form-submit svg { display: none; }
body.auth-entry .form-submit:disabled, body.auth-entry .social-oauth-button:disabled, body.auth-entry .text-action:disabled { opacity: .62; cursor: wait; transform: none; }
body.auth-entry .form-submit[aria-busy="true"]::after, body.auth-entry .social-oauth-button[aria-busy="true"]::after { content: ""; flex-shrink: 0; width: 14px; height: 14px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: auth-working .7s linear infinite; }
body.auth-entry .text-action, body.auth-entry .back-action { display: inline-flex; align-items: center; justify-content: center; width: fit-content; min-height: 44px; padding: 9px 4px; border: 0; border-radius: 7px; background: transparent; color: var(--auth-entry-link); font: inherit; font-size: 13px; line-height: 1.5; font-weight: 500; text-align: center; cursor: pointer; }
body.auth-entry .text-action:hover:not(:disabled), body.auth-entry .back-action:hover { text-decoration: underline; text-underline-offset: 3px; }
body.auth-entry .auth-forgot-action { width: auto; justify-self: end; margin: -3px 0 0; text-align: right; }
body.auth-entry .auth-code-action, body.auth-entry .auth-existing-action { justify-self: center; width: 100%; margin: 0; }
body.auth-entry .back-action { gap: 7px; margin: -9px 0 22px -4px; padding-inline: 4px; }
body.auth-entry .back-action::before { content: "‹"; font-size: 25px; line-height: 1; }
body.auth-entry .auth-card-divider { height: 1px; margin: 1px 0 5px; background: var(--auth-entry-line); }
body.auth-entry .create-account-action { display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 48px; margin: 0; padding: 11px 16px; border: 1px solid var(--auth-entry-line); border-radius: 12px; background: var(--auth-entry-soft); color: var(--auth-entry-ink); font: inherit; font-size: 14px; line-height: 1.5; font-weight: 500; cursor: pointer; }
body.auth-entry .create-account-action:hover { border-color: var(--auth-entry-field-line); background: var(--auth-entry-soft); }
body.auth-entry #signup-phone-decline { display: flex; justify-self: center; margin: 8px auto 0; color: var(--auth-entry-muted); }
body.auth-entry #signup-phone-continue { width: 100%; margin-top: 14px; border: 1px solid var(--auth-entry-line); border-radius: 12px; background: var(--auth-entry-blue-soft); }
body.auth-entry .form-message { min-width: 0; margin: 5px 0; padding: 13px 15px; border: 1px solid var(--auth-entry-error-line); border-radius: 12px; background: var(--auth-entry-error-bg); color: var(--auth-entry-error); font-size: 13px; line-height: 1.65; overflow-wrap: anywhere; scroll-margin-block: 24px; }
body.auth-entry .form-message.success { border-color: var(--auth-entry-success-line); background: var(--auth-entry-success-bg); color: var(--auth-entry-success); }
body.auth-entry .auth-secondary-form { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--auth-entry-line); }
body.auth-entry .auth-form input.otp-input { min-height: 64px; height: auto; padding: 13px 10px; background: var(--auth-entry-input); color: var(--auth-entry-ink); font-size: 23px !important; line-height: 1.5; letter-spacing: .28em; text-align: center; font-variant-numeric: tabular-nums; font-weight: 550; }
body.auth-entry .auth-form .otp-input::placeholder { color: var(--auth-entry-muted); letter-spacing: .28em; }
body.auth-entry .social-oauth-block { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; width: 100%; min-width: 0; margin: 27px 0 0; }
body.auth-entry .social-oauth-separator { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 13px; margin-bottom: 8px; color: var(--auth-entry-muted); font-size: 12px; font-weight: 400; line-height: 1.5; text-transform: none; }
body.auth-entry .social-oauth-separator::before, body.auth-entry .social-oauth-separator::after { height: 1px; background: var(--auth-entry-line); content: ""; }
body.auth-entry .social-oauth-button { display: inline-flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; min-width: 0; width: 100%; min-height: 50px; margin: 0; padding: 12px 8px; border: 1px solid var(--auth-entry-field-line); border-radius: 12px; background: var(--auth-entry-input); color: var(--auth-entry-ink); font: inherit; font-size: 12px; font-weight: 500; line-height: 1.5; box-shadow: none; cursor: pointer; }
body.auth-entry .social-oauth-button:hover:not(:disabled) { border-color: var(--auth-entry-focus); background: var(--auth-entry-soft); transform: none; box-shadow: none; }
body.auth-entry .social-oauth-button:active:not(:disabled) { background: var(--auth-entry-blue-soft); }
body.auth-entry .social-oauth-brand-icon { display: block; width: 19px; height: 19px; flex: 0 0 19px; }
body.auth-entry .social-oauth-label { min-width: 0; white-space: normal; overflow: visible; text-overflow: clip; transform: none; }
body.auth-entry .social-oauth-block > .form-message, body.auth-entry .social-oauth-legal { grid-column: 1 / -1; }
body.auth-entry .social-oauth-legal { margin: 4px 0 0; color: var(--auth-entry-muted); font-size: 11px; line-height: 1.65; text-align: center; }
body.auth-entry .social-oauth-legal a { color: var(--auth-entry-link); font-weight: 450; text-decoration: underline; text-underline-offset: 3px; }
/* Genuine account-return notices stay available when the existing flow shows them. */
body.auth-entry .auth-result { display: flex; align-items: flex-start; gap: 20px; width: min(1180px, calc(100% - 88px)); margin: 24px auto 0; padding: 19px 22px; border: 1px solid var(--auth-entry-success-line); border-radius: 16px; background: var(--auth-entry-success-bg); color: var(--auth-entry-success); box-shadow: none; }
body.auth-entry .auth-result.error { border-color: var(--auth-entry-error-line); background: var(--auth-entry-error-bg); color: var(--auth-entry-error); }
body.auth-entry .auth-result .section-label { margin-bottom: 5px; color: inherit; }
body.auth-entry .auth-result h2 { margin: 0; color: inherit; font-size: 20px; line-height: 1.35; font-weight: 600; }
body.auth-entry .auth-result > div > p:last-child { margin: 8px 0 0; color: inherit; font-size: 13px; line-height: 1.65; overflow-wrap: anywhere; }
body.auth-entry .auth-result .icon-control { flex-shrink: 0; min-width: 44px; min-height: 44px; margin-top: -5px; margin-right: -9px; color: inherit; }
body.auth-entry .auth-result .icon-control:hover { background: var(--auth-entry-card); color: var(--auth-entry-ink); }
body.auth-entry .auth-entry-footer { position: static; grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 6px 24px; width: 100%; margin: 0; padding: 19px 0 max(0px, env(safe-area-inset-bottom)); border-top: 1px solid var(--auth-entry-line); color: var(--auth-entry-muted); font-size: 11px; line-height: 1.6; text-align: left; }
body.auth-entry .auth-entry-footer a { display: inline-flex; align-items: center; min-height: 44px; color: var(--auth-entry-muted); text-decoration: none; }
body.auth-entry .auth-entry-footer a:hover { color: var(--auth-entry-link); text-decoration: underline; text-underline-offset: 3px; }
body.auth-entry .auth-entry-footer span { margin-left: auto; }
body.auth-entry .auth-view a:focus-visible,
body.auth-entry .auth-view button:focus-visible,
body.auth-entry .auth-view input:focus-visible,
body.auth-entry .auth-view select:focus-visible,
body.auth-entry .auth-view summary:focus-visible,
body.auth-entry .auth-result button:focus-visible { outline: 2px solid var(--auth-entry-focus); outline-offset: 3px; box-shadow: none; }
body.auth-entry .auth-view [hidden],
body.auth-entry .auth-tabs[hidden],
body.auth-entry .auth-view[hidden],
body.auth-entry .auth-result[hidden] { display: none !important; }
body.auth-entry .auth-view ::selection { background: var(--auth-entry-blue-soft); color: var(--auth-entry-ink); }
@keyframes auth-working { to { transform: rotate(360deg); } }
@media (max-width: 1100px) {
  body.auth-entry .auth-view { width: calc(100% - 64px); grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 45px; }
  body.auth-entry .auth-intro { margin-top: 30px; }
  body.auth-entry .auth-intro h2 { font-size: 43px; }
  body.auth-entry .auth-intro > p { font-size: 17px; }
  body.auth-entry .auth-intro-art { width: 270px; }
  body.auth-entry .auth-card > section { padding: 27px 28px 31px; }
  body.auth-entry .auth-tabs { margin: 22px 23px 0; }
  body.auth-entry .auth-details-fields { grid-template-columns: 1fr; gap: 19px; }
  body.auth-entry .social-oauth-block { grid-template-columns: 1fr; }
  body.auth-entry .social-oauth-button { flex-wrap: nowrap; min-height: 48px; padding-inline: 20px; font-size: 13px; }
  body.auth-entry .auth-result { width: calc(100% - 64px); }
  body.auth-entry .auth-entry-footer { gap: 4px 19px; }
}
@media (max-width: 820px) {
  body.auth-entry .auth-view { width: min(600px, calc(100% - 48px)); grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto 1fr auto; row-gap: 27px; min-height: 100dvh; }
  body.auth-entry .auth-entry-header { grid-column: 1; min-height: 76px; }
  body.auth-entry .auth-entry-brand { font-size: 21px; }
  body.auth-entry .auth-entry-logo { width: 39px; }
  body.auth-entry .auth-header-actions { gap: 20px; }
  body.auth-entry .auth-intro { position: static; align-self: start; margin: 12px 0 0; padding: 0 8px; text-align: center; }
  body.auth-entry .auth-eyebrow { margin-bottom: 12px; font-size: 13px; }
  body.auth-entry .auth-intro h2 { max-width: 550px; margin-inline: auto; font-size: 36px; }
  body.auth-entry .auth-intro > p { max-width: 410px; margin: 14px auto 0; font-size: 15px; }
  body.auth-entry .auth-intro-art, body.auth-entry .auth-intro-note, body.auth-entry .auth-intro-help { display: none; }
  body.auth-entry .auth-signup-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 26px; text-align: left; }
  body.auth-entry .auth-signup-steps li { align-items: flex-start; gap: 9px; }
  body.auth-entry .auth-step-number { width: 28px; height: 28px; font-size: 11px; }
  body.auth-entry .auth-signup-steps strong { padding-top: 5px; font-size: 12px; line-height: 1.45; }
  body.auth-entry .auth-signup-steps small { display: none; }
  body.auth-entry .auth-card { justify-self: center; max-width: none; border-radius: 24px; }
  body.auth-entry .auth-card > section { padding: 29px 34px 32px; }
  body.auth-entry .auth-tabs { margin: 22px 27px 0; }
  body.auth-entry .auth-details-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 18px; }
  body.auth-entry .social-oauth-block { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body.auth-entry .social-oauth-button { flex-wrap: wrap; padding: 12px 8px; font-size: 12px; }
  body.auth-entry .auth-entry-footer { grid-column: 1; gap: 4px 20px; justify-content: center; padding-top: 18px; text-align: center; }
  body.auth-entry .auth-entry-footer span { flex-basis: 100%; margin: 2px 0 0; }
  body.auth-entry .auth-result { width: min(600px, calc(100% - 48px)); margin-top: 18px; padding: 17px 19px; }
}
@media (max-width: 520px) {
  body.auth-entry .auth-view { width: calc(100% - 32px); row-gap: 23px; padding-bottom: 20px; }
  body.auth-entry .auth-entry-header { min-height: calc(68px + env(safe-area-inset-top)); padding-top: env(safe-area-inset-top); }
  body.auth-entry .auth-entry-brand { gap: 8px; font-size: 20px; }
  body.auth-entry .auth-entry-logo { width: 35px; }
  body.auth-entry .auth-header-actions { gap: 12px; }
  body.auth-entry .auth-header-actions > a { font-size: 12px; }
  body.auth-entry .auth-theme-toggle { width: 44px; height: 44px; }
  body.auth-entry .auth-intro { margin-top: 7px; padding-inline: 6px; }
  body.auth-entry .auth-intro h2 { max-width: 380px; font-size: 32px; }
  body.auth-entry .auth-intro > p { max-width: 340px; margin-top: 12px; font-size: 14px; line-height: 1.6; }
  body.auth-entry .auth-signup-steps { gap: 7px; margin-top: 22px; }
  body.auth-entry .auth-signup-steps li { gap: 7px; }
  body.auth-entry .auth-signup-steps strong { font-size: 10px; }
  body.auth-entry .auth-step-number { width: 25px; height: 25px; }
  body.auth-entry .auth-card { border-radius: 21px; }
  body.auth-entry .auth-tabs { margin: 17px 17px 0; border-radius: 13px; }
  body.auth-entry .auth-tabs button { font-size: 13px; }
  body.auth-entry .auth-card > section { padding: 25px 22px 28px; }
  body.auth-entry .form-heading { margin-bottom: 25px; }
  body.auth-entry .form-heading h2 { font-size: 27px; }
  body.auth-entry .form-heading p:not(.section-label) { font-size: 13px; }
  body.auth-entry .auth-details-fields { grid-template-columns: 1fr; gap: 19px; }
  body.auth-entry .auth-form-group > legend { margin-bottom: 17px; }
  body.auth-entry .auth-security-group > legend { margin-bottom: 6px; }
  body.auth-entry .social-oauth-block { grid-template-columns: 1fr; gap: 10px; }
  body.auth-entry .social-oauth-button { flex-wrap: nowrap; min-height: 48px; padding: 12px 18px; font-size: 13px; }
  body.auth-entry .social-oauth-separator { margin-bottom: 5px; font-size: 12px; }
  body.auth-entry .social-oauth-legal { font-size: 11px; }
  body.auth-entry .birth-date-fields { grid-template-columns: minmax(0, .65fr) minmax(0, 1.4fr) minmax(0, .95fr); gap: 8px; }
  body.auth-entry .birth-date-control > select { padding-inline: 7px; }
  body.auth-entry .auth-form label.signup-agreement { gap: 10px; padding: 13px !important; font-size: 12px !important; }
  body.auth-entry .auth-entry-footer { gap: 2px 17px; font-size: 11px; }
  body.auth-entry .auth-result { width: calc(100% - 32px); }
}
@media (max-width: 360px) {
  body.auth-entry .auth-view { width: calc(100% - 24px); }
  body.auth-entry .auth-entry-brand { font-size: 18px; }
  body.auth-entry .auth-entry-logo { width: 31px; }
  body.auth-entry .auth-header-actions { gap: 6px; }
  body.auth-entry .auth-header-actions > a { font-size: 11px; }
  body.auth-entry .auth-intro h2 { font-size: 29px; }
  body.auth-entry .auth-intro > p { font-size: 13px; }
  body.auth-entry .auth-card > section { padding-inline: 18px; }
  body.auth-entry .auth-tabs { margin-inline: 14px; }
  body.auth-entry .auth-signup-steps { gap: 5px; }
  body.auth-entry .auth-signup-steps li { gap: 5px; }
  body.auth-entry .auth-step-number { width: 23px; height: 23px; font-size: 10px; }
  body.auth-entry .auth-signup-steps strong { font-size: 10px; }
  body.auth-entry .birth-date-fields { grid-template-columns: minmax(0, .65fr) minmax(0, 1.35fr); gap: 12px 10px; }
  body.auth-entry .birth-date-control:last-child { grid-column: 1 / -1; }
  body.auth-entry .birth-date-control > select { padding-inline: 5px; font-size: 16px; }
  body.auth-entry .auth-form input.otp-input { font-size: 21px !important; letter-spacing: .19em; }
}
@media (prefers-reduced-motion: reduce) {
  body.auth-entry .auth-view *, body.auth-entry .auth-view *::before, body.auth-entry .auth-view *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media (forced-colors: active) {
  body.auth-entry .auth-tabs button[aria-selected="true"], body.auth-entry .auth-signup-steps [aria-current="step"] .auth-step-number { outline: 2px solid Highlight; }
  body.auth-entry .form-submit, body.auth-entry .social-oauth-button, body.auth-entry .create-account-action { border: 1px solid ButtonText; }
}
