/* Shared presentation for the public access screens; native forms and their states stay intact. */
.aa-auth-login .aa-auth-card .aa-login-secondary-link{display:inline-flex;align-items:center;min-height:44px;vertical-align:middle}
.aa-auth-login .aa-auth-card .aa-login-help{margin:16px 0 0;text-align:center}
.aa-auth-page{--aa-ink:#221944;--aa-muted:#59667b;--aa-link:#5941be;--aa-line:#e4e5ef;--aa-soft:#f8f8fc;margin:0;color:var(--aa-ink);background:var(--aa-soft);font-family:Inter,sans-serif;font-size:16px;line-height:1.7}
.aa-auth-page .aa-auth-shell{width:auto;min-height:100vh;min-height:100dvh;padding:0 32px;background:var(--aa-soft)}
.aa-auth-page .aa-auth-container{width:100%;max-width:1120px;margin:auto;padding:0;color:var(--aa-muted)}
.aa-auth-page .aa-auth-brand{position:static;display:block;padding:24px 0;border-bottom:1px solid var(--aa-line)}
.aa-auth-page .aa-auth-brand>a{display:inline-flex;min-height:44px;align-items:center;border-radius:4px}
.aa-auth-page .aa-auth-content{padding:56px 0 72px}
.aa-auth-page .aa-auth-panel{width:100%;max-width:560px;margin:auto}
.aa-auth-page.aa-auth-register .aa-auth-panel{max-width:600px}
.aa-auth-page .aa-auth-card{padding:40px;border:1px solid var(--aa-line);border-radius:16px;background:#fff;box-shadow:0 12px 32px rgba(34,25,68,.04)!important}
.aa-auth-page .aa-auth-card h1{margin:0;color:var(--aa-ink);font-family:Figtree,Inter,sans-serif;font-size:36px;font-weight:650;line-height:1.2;letter-spacing:-.035em;text-wrap:balance;overflow-wrap:normal;word-break:normal;hyphens:none}
.aa-auth-page .aa-auth-nowrap{white-space:nowrap}
.aa-auth-page .aa-auth-card p{font-family:inherit;font-size:16px;line-height:1.75;overflow-wrap:break-word}
.aa-auth-page .aa-auth-card h1+p{font-size:17px;margin-top:12px}
.aa-auth-page .aa-auth-card a:not(.btn){color:var(--aa-link);text-underline-offset:4px;overflow-wrap:anywhere}
.aa-auth-page .aa-auth-card a:not(.btn):hover{color:var(--aa-ink)}
.aa-auth-page .aa-auth-card>.text-center:has(h1){margin-bottom:28px}
.aa-auth-page .aa-auth-card .field-label{display:block;font-size:15px;line-height:1.6;color:var(--aa-ink);margin:20px 0 8px;font-weight:600;text-align:left}
.aa-auth-page .aa-auth-card .form-control{display:block;width:100%;max-width:100%;height:56px;margin:0;padding:14px 16px;border:1px solid #8791a3;border-radius:8px;background:#fff;color:var(--aa-ink);font-family:inherit;font-size:16px;line-height:1.5;text-align:left;box-shadow:none}
.aa-auth-page .aa-auth-card .form-control::placeholder{color:var(--aa-muted);opacity:1}
.aa-auth-page .aa-auth-card .form-control:focus{border-color:var(--aa-link);box-shadow:0 0 0 3px #efebfa}
.aa-auth-page .aa-auth-card .form-control.password{padding-right:64px}
.aa-auth-page .sign-in-form .wrap-input{margin-top:0}
.aa-auth-page .aa-auth-card .btn-show-pass{display:flex;align-items:center;justify-content:center;top:auto;bottom:6px;right:6px;width:44px;height:44px;border:0;border-radius:6px;background:transparent;transform:none}
.aa-auth-page .aa-auth-card .btn-show-pass .eye-pass{color:var(--aa-muted);font-size:20px}
.aa-auth-page .aa-auth-card .btn-show-pass:hover{background:var(--aa-soft)}
.aa-auth-page .aa-auth-card .field-error,.aa-auth-page .aa-auth-card [id$="-errors"]{font-size:14px;line-height:1.65;color:#b42318;margin:8px 0 0}
.aa-auth-page .aa-auth-card .field-help{font-size:14px;line-height:1.65;color:var(--aa-muted)}
.aa-auth-page .aa-auth-card .form-btn{margin-top:24px}
.aa-auth-page .aa-auth-card .btn{display:flex;align-items:center;justify-content:center;max-width:100%;height:auto;min-height:52px;padding:12px 20px;border-width:1px;border-radius:8px;font-family:inherit;font-size:16px;line-height:1.5;white-space:normal;overflow-wrap:normal;word-break:normal;text-align:center;overflow:visible}
.aa-auth-page .aa-auth-card .btn-purple{color:#fff;background:var(--aa-link);border-color:var(--aa-link)}
.aa-auth-page .aa-auth-card .btn-purple:hover{color:#fff;background:#49339f;border-color:#49339f}
.aa-auth-page .aa-auth-card .btn-tra-black{color:var(--aa-ink);background:#fff;border-color:#8791a3}
.aa-auth-page .aa-auth-card .btn-tra-black:hover{color:var(--aa-ink);background:#f2effa;border-color:var(--aa-link)}
/* Keep one readable label instead of sliding duplicate text on account actions. */
.aa-auth-page .aa-auth-card .btn-text{font-size:inherit;line-height:inherit;transform:none;transition:none}
.aa-auth-page .aa-auth-card .btn-text .anim-txt:last-of-type{display:none}
.aa-auth-page .aa-auth-card .social-auth-grid{gap:12px;margin-bottom:20px}
.aa-auth-page .aa-auth-card .social-auth-button{min-height:52px;padding:12px 16px;border-color:#8791a3;border-radius:8px;font-family:inherit;font-size:16px;line-height:1.5;transform:none;box-shadow:none}
.aa-auth-page .aa-auth-card .social-auth-button:hover{border-color:var(--aa-link);background:var(--aa-soft)}
.aa-auth-page .aa-auth-card .social-auth-button.apple{border-color:#111827;background:#111827;color:#fff}
.aa-auth-page .aa-auth-card .social-auth-button.apple:hover{background:#263044;border-color:#263044}
.aa-auth-page .aa-auth-card .social-auth-note{font-size:14px;line-height:1.7;color:var(--aa-muted);margin-top:0}
.aa-auth-page .aa-auth-card .auth-divider{font-size:14px;line-height:1.7;color:var(--aa-muted);gap:16px;margin:24px 0}
.aa-auth-page .aa-auth-card .auth-divider::before,.aa-auth-page .aa-auth-card .auth-divider::after{background:var(--aa-line)}
.aa-auth-page .aa-auth-card .checkbox-row{gap:12px;margin-top:24px;color:var(--aa-muted)}
.aa-auth-page .aa-auth-card .checkbox-row input{width:20px;height:20px;margin-top:4px;accent-color:var(--aa-link)}
.aa-auth-page .aa-auth-card .checkbox-row label{font-size:14px;line-height:1.75;overflow-wrap:anywhere}
.aa-auth-page .aa-auth-card .sign-in-form>p:last-child,.aa-auth-page .aa-auth-card .sign-up-form>p:last-child{margin-top:24px;padding-top:20px;border-top:1px solid var(--aa-line);font-size:14px;line-height:1.75}
.aa-auth-page .reset-password-form>p>a{display:inline-block;max-width:100%}
.aa-auth-page .aa-auth-tertiary{display:inline-flex;align-items:center;justify-content:center;min-height:44px;font-size:15px;text-decoration:underline}
.aa-auth-page .aa-auth-card .bg-cloud{width:64px;height:64px;border-radius:12px;background:#f0ecfa;color:var(--aa-link);margin-bottom:24px}
.aa-auth-page .aa-auth-card .flex.flex-wrap{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;margin-top:28px}
@media(max-width:767px){
 .aa-auth-page .aa-auth-shell{padding:0 20px}
 .aa-auth-page .aa-auth-brand{padding:16px 0}
 .aa-auth-page .aa-auth-content{padding:32px 0 48px}
 .aa-auth-page .aa-auth-card{padding:28px;border-radius:12px}
 .aa-auth-page .aa-auth-card h1{font-size:32px}
}
@media(max-width:389px){
 .aa-auth-page .aa-auth-shell{padding:0 12px}
 .aa-auth-page .aa-auth-content{padding:24px 0 40px}
 .aa-auth-page .aa-auth-card{padding:24px 20px}
 .aa-auth-page .aa-auth-card h1{font-size:28px;line-height:1.25}
}

/* Selected split-panel composition shared by the public access screens. */
.aa-auth-split .aa-auth-shell{display:flex;align-items:center;padding:48px 32px}
.aa-auth-split .aa-auth-container{position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,.47fr) minmax(0,.53fr);grid-template-rows:auto 1fr;grid-template-areas:"brand form" "story form";max-width:1180px;min-height:660px;padding:12px;border:1px solid var(--aa-line);border-radius:24px;background:#fff;box-shadow:0 24px 80px rgba(34,25,68,.07);overflow:hidden}
.aa-auth-split .aa-auth-visual{position:absolute;inset:12px auto 12px 12px;z-index:0;width:calc(47% - 11.28px);border-radius:16px;background:#f4efff;overflow:hidden}
.aa-auth-split .aa-auth-login-art{display:block;width:100%;height:auto}
.aa-auth-split .aa-auth-brand{position:relative;z-index:1;grid-area:brand;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 26px;border:0}
.aa-auth-split .aa-auth-brand .aa-auth-back-link{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:8px 12px;border:1px solid rgba(89,65,190,.14);border-radius:24px;background:rgba(255,255,255,.72);color:var(--aa-ink);font-size:14px;line-height:1.4;text-decoration:none;white-space:nowrap;transition:background 180ms,border-color 180ms,color 180ms}
.aa-auth-split .aa-auth-brand .aa-auth-back-link:hover{background:#fff;border-color:var(--aa-link);color:var(--aa-link)}
.aa-auth-split .aa-auth-content{position:relative;z-index:1;grid-area:form;display:flex;align-items:center;justify-content:center;min-width:0;padding:52px 48px}
.aa-auth-page.aa-auth-split .aa-auth-panel{max-width:440px}
.aa-auth-split .aa-auth-card{padding:0;border:0;border-radius:0;background:transparent;box-shadow:none!important}
.aa-auth-split .aa-auth-card>.text-center:has(h1){text-align:left;margin-bottom:32px}
.aa-auth-split .aa-auth-card h1{font-size:40px;line-height:1.15;text-align:left;text-wrap:pretty}
.aa-auth-split .aa-auth-card h1+p{font-size:16px}
.aa-auth-split .aa-auth-card .form-control{border-color:#8791a3;border-radius:10px;transition:border-color 180ms,box-shadow 180ms}
.aa-auth-split .aa-auth-card .form-control:focus{border-color:var(--aa-link)}
.aa-auth-split .aa-auth-card .sign-in-form>p{margin:16px 0 0;text-align:right}
.aa-auth-split .aa-auth-card .btn-purple{border-radius:10px;transition:background 180ms,border-color 180ms,box-shadow 180ms}
.aa-auth-split .aa-auth-card .btn-purple:hover{box-shadow:0 6px 16px rgba(89,65,190,.16)}
.aa-auth-split .aa-auth-card .social-auth-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:20px 0}
.aa-auth-split .aa-auth-card .social-auth-grid:not(:has(>:nth-child(2))){grid-template-columns:minmax(0,1fr)}
.aa-auth-split .aa-auth-card .social-auth-button{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;border:1px solid #8791a3;border-radius:10px;background:#fff;color:var(--aa-ink);font-weight:600;transition:background 180ms,border-color 180ms}
.aa-auth-split .aa-auth-card .social-auth-button.apple{background:#fff;border-color:#8791a3;color:var(--aa-ink)}
.aa-auth-split .aa-auth-card .social-auth-button:hover,.aa-auth-split .aa-auth-card .social-auth-button.apple:hover{background:var(--aa-soft);border-color:var(--aa-link);color:var(--aa-ink)}
.aa-auth-split .aa-auth-card .auth-divider{display:flex;align-items:center}
.aa-auth-split .aa-auth-card .auth-divider::before,.aa-auth-split .aa-auth-card .auth-divider::after{content:"";height:1px;flex:1}
.aa-auth-split .aa-auth-card .social-auth-note{margin:0;text-align:left}
.aa-auth-split .aa-auth-login-story{position:relative;z-index:1;grid-area:story;align-self:end;min-width:0;margin:0;padding:28px 38px 40px;color:var(--aa-ink);font:550 29px/1.4 Figtree,Inter,sans-serif;letter-spacing:-.02em}
.aa-auth-split a:focus-visible,.aa-auth-split button:focus-visible{outline:3px solid var(--aa-link);outline-offset:4px}
@media(max-width:1099px){.aa-auth-split .aa-auth-brand{padding:20px}.aa-auth-split .aa-auth-content{padding:44px 32px}.aa-auth-split .aa-auth-login-story{padding:28px 30px 36px;font-size:27px}.aa-auth-split .aa-auth-card h1{font-size:36px}}
@media(max-width:899px){.aa-auth-split .aa-auth-shell{align-items:flex-start;padding:24px 20px 40px;background:#fff}.aa-auth-split .aa-auth-container{grid-template-columns:minmax(0,1fr);grid-template-rows:auto;grid-template-areas:"brand" "form" "story";max-width:600px;min-height:0;margin:0 auto;padding:0;border:0;border-radius:0;box-shadow:none;overflow:visible}.aa-auth-split .aa-auth-visual{display:none}.aa-auth-split .aa-auth-brand{padding:0 0 24px;border-bottom:1px solid var(--aa-line)}.aa-auth-split .aa-auth-back-extra{display:none}.aa-auth-split .aa-auth-content{padding:36px 0 0}.aa-auth-split .aa-auth-card h1{font-size:34px}.aa-auth-split .aa-auth-login-story{width:100%;max-width:440px;margin:28px auto 0;padding:20px 0 0;border-top:1px solid var(--aa-line);font:400 15px/1.75 Inter,sans-serif;letter-spacing:normal}.aa-auth-split .aa-auth-card>.text-center:has(h1){margin-bottom:28px}}
@media(max-width:479px){.aa-auth-split .aa-auth-card .social-auth-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:389px){.aa-auth-split .aa-auth-shell{padding:20px 20px 32px}.aa-auth-split .aa-auth-content{padding-top:28px}.aa-auth-split .aa-auth-card h1{font-size:32px}}
@media(prefers-reduced-motion:reduce){.aa-auth-split a,.aa-auth-split button,.aa-auth-split .aa-auth-card .form-control{transition:none}}

.aa-auth-split .aa-auth-card .checkbox-row{display:flex;align-items:flex-start}
.aa-auth-split .aa-auth-card .checkbox-row input{flex-shrink:0}
.aa-auth-split .aa-auth-card .checkbox-row label a{text-decoration:underline}
.aa-auth-split .aa-auth-card .social-auth-button:disabled{opacity:1;color:var(--aa-muted);background:#f8f8fc;cursor:not-allowed;border-style:dashed;box-shadow:none}
.aa-auth-split .aa-auth-card .social-auth-button:disabled:hover{color:var(--aa-muted);background:#f8f8fc;border-color:#8791a3;box-shadow:none}
.aa-auth-split .aa-auth-login-story:empty{display:none}
.aa-auth-split .aa-auth-card .bg-cloud{margin-left:0;margin-right:0;display:flex;align-items:center;justify-content:center}
.aa-auth-split .aa-auth-card>h1~p{text-align:left}
.aa-auth-split .aa-auth-card .stack label{display:block;margin:20px 0 8px;color:var(--aa-ink);font-size:15px;line-height:1.6;font-weight:600}
.aa-auth-split .aa-auth-card .stack input[type=text]{display:block;width:100%;height:56px;padding:14px 16px;border:1px solid #8791a3;border-radius:10px;background:#fff;color:var(--aa-ink);font:400 20px/1.5 Inter,sans-serif;letter-spacing:.15em}
.aa-auth-split .aa-auth-card .stack input[type=text]:focus{border-color:var(--aa-link);box-shadow:0 0 0 3px #efebfa}
.aa-auth-split .aa-auth-card .stack button{margin-top:24px}
.aa-auth-split .aa-auth-card .errorlist{margin:8px 0;color:#b42318;font-size:14px;line-height:1.65;list-style:none}
.aa-auth-split .aa-auth-card .helptext{font-size:14px;color:var(--aa-muted)}

.aa-auth-split .aa-auth-card>.text-center>p{margin-left:0;margin-right:0}

/* Registration steps enhance the same native form; all panels remain visible without JS. */
.aa-auth-register .aa-auth-card{display:flow-root}
.aa-auth-register [hidden]{display:none!important}
.aa-registration-panel{min-width:0;margin:0;padding:0;border:0}
.aa-registration-legend{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.aa-auth-register .aa-registration-panel>.field-label:first-of-type{margin-top:0}
.aa-registration-progress{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:0 0 24px;padding:0;list-style:none;color:var(--aa-muted);font-size:14px;line-height:1.5}
.aa-registration-progress li{display:flex;align-items:center;gap:8px;padding-bottom:12px;border-bottom:2px solid var(--aa-line)}
.aa-registration-progress li>span{display:flex;align-items:center;justify-content:center;flex:0 0 26px;height:26px;border-radius:50%;background:var(--aa-soft);font-weight:600}
.aa-registration-progress li[aria-current=step]{border-color:var(--aa-link);color:var(--aa-ink);font-weight:600}
.aa-registration-progress li[aria-current=step]>span{color:#fff;background:var(--aa-link)}
.aa-auth-register .aa-registration-actions{display:flex;gap:12px}
.aa-auth-register .aa-registration-actions>.submit{flex:1;min-width:0}
.aa-auth-register .aa-registration-actions>[data-registration-back]{flex:0 0 auto}
.aa-auth-register [data-registration-next]{gap:12px}
.aa-registration-progress li:focus-visible{outline:2px solid var(--aa-link);outline-offset:3px}
.aa-auth-register .aa-registration-trial,
.aa-auth-register .aa-registration-invitation{margin:12px 0 0;color:var(--aa-muted);font-size:14px;line-height:1.55}
.aa-registration-trial summary{display:list-item;min-height:44px;padding-block:10px;color:var(--aa-link);font-weight:600;cursor:pointer}
.aa-registration-trial summary:focus-visible{outline:2px solid var(--aa-link);outline-offset:3px}
.aa-auth-register .aa-registration-trial p{margin:0 0 4px;font-size:14px;line-height:1.55}
.aa-auth-register .aa-auth-card .auth-divider{margin:12px 0}
.aa-auth-register .aa-auth-card .social-auth-grid{margin:12px 0}
.aa-auth-register .aa-auth-card>.text-center:has(h1){margin-bottom:24px}

.aa-auth-register [data-registration-form]:not([data-registration-ready]) .aa-registration-panel+.aa-registration-panel{margin-top:20px}

/* Step entry is directional; validation and initial rendering remain static. */
.aa-registration-progress li,.aa-registration-progress li>span{transition:color 180ms,border-color 180ms,background-color 180ms}
.aa-auth-register [data-registration-direction=forward] .aa-registration-panel:not([hidden]){animation:aa-registration-forward 280ms cubic-bezier(.22,1,.36,1)}
.aa-auth-register [data-registration-direction=back] .aa-registration-panel:not([hidden]){animation:aa-registration-back 280ms cubic-bezier(.22,1,.36,1)}
@keyframes aa-registration-forward{from{opacity:.72;transform:translateX(12px)}to{opacity:1;transform:translateX(0)}}
@keyframes aa-registration-back{from{opacity:.72;transform:translateX(-12px)}to{opacity:1;transform:translateX(0)}}
@media(prefers-reduced-motion:reduce){.aa-auth-register .aa-registration-panel{animation:none!important}.aa-registration-progress li,.aa-registration-progress li>span{transition:none}}

/* Keep onboarding help and recovery controls comfortable on touch screens. */
.aa-auth-onboarding .aa-onboarding-note {
  margin: 1.25rem 0; padding: 1rem 1.125rem; border: 1px solid #dcd9ec;
  border-radius: 16px; background: #f6f5fb; color: #363244; font-size: 1rem; line-height: 1.6;
}
.aa-auth-onboarding .aa-onboarding-note p + p { margin-top: .75rem; }
.aa-auth-onboarding .aa-onboarding-eyebrow { color: #65529e; font-weight: 600; margin-bottom: .75rem; }
.aa-auth-onboarding .aa-onboarding-link { display: flex; align-items: center; min-height: 44px; margin-top: .5rem; text-decoration: underline; }
.aa-auth-onboarding strong { overflow-wrap: anywhere; }
.aa-auth-register .text-center a,
.aa-auth-register .checkbox-row a { display: inline-block; padding-block: .5rem; }

/* Cabinet setup shares the account entry layout and native touch controls. */
.aa-auth-onboarding .aa-onboarding-work-mode{min-width:0;margin:20px 0 0;padding:0;border:0}
.aa-auth-onboarding .aa-onboarding-choices{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px}
.aa-auth-onboarding .aa-onboarding-choice{display:flex;align-items:center;gap:10px;min-height:44px;padding:12px;border:1px solid var(--aa-line);border-radius:10px;cursor:pointer}
.aa-auth-onboarding .aa-onboarding-choice input[type=radio]{flex:0 0 auto;width:18px;height:18px;margin:0}
.aa-auth-onboarding .aa-onboarding-note h2{font-size:18px;line-height:1.5;font-weight:600}
.aa-auth-onboarding .aa-onboarding-note h2+p{margin-top:.75rem}

/* This confirmation offers two exits without an illustration column. */
.aa-auth-split.aa-auth-mobile-continue .aa-auth-container{max-width:640px;min-height:0;grid-template:"brand" auto "form" auto / minmax(0,1fr)}
.aa-auth-split.aa-auth-mobile-continue .aa-auth-visual{display:none}
.aa-auth-split.aa-auth-mobile-continue .aa-auth-brand{border-bottom:1px solid var(--aa-line)}

@media (prefers-reduced-motion: no-preference) {
 .aa-auth-public .aa-auth-card :is(.form-control,.stack input[type=text]){transition:border-color 180ms,box-shadow 180ms}
 .aa-auth-public .aa-auth-card .btn-show-pass{transition:background-color 180ms}
 .aa-auth-public .aa-auth-card :is(.btn,.social-auth-button){transition:background-color 180ms,border-color 180ms,box-shadow 180ms,transform 180ms ease-out}
 .aa-auth-public .aa-auth-card :is(.btn,.social-auth-button):not(:disabled):active{transform:translateY(1px)}
 @supports (interpolate-size: allow-keywords) and selector(::details-content) {
  .aa-registration-trial::details-content {
   interpolate-size:allow-keywords;
   block-size:0;
   overflow:clip;
   transition:block-size 240ms cubic-bezier(.22,.7,.28,1),content-visibility 240ms allow-discrete;
  }
  .aa-registration-trial[open]::details-content{block-size:auto}
 }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
 .aa-auth-public .aa-auth-card :is(.btn-purple,.social-auth-button):not(:disabled):hover{transform:translateY(-2px)}
 .aa-auth-public .aa-auth-card :is(.btn-purple,.social-auth-button):not(:disabled):active{transform:translateY(1px)}
}
