/* Sign-in pages (login, owner login, sign-up, organisation choice) — layout only.
   Each page is the app shell's .auth-shell around the shared .entry-card; the OTP form
   is auth/otp-forms.css. Every component comes from foundation/components.css. */

/* Pre-paint resume gate: while a cached identity is being confirmed (html.auth-resuming,
   set by the inline script in the page head) only the loader shows. */
.auth-resume-splash{display:none}
html.auth-resuming .auth-resume-splash{display:flex;align-items:center;justify-content:center;min-height:120px}
html.auth-resuming .auth-shell > :not(.auth-resume-splash){display:none}

.auth-shell .otp-auth-error:empty{display:none}

/* Sign in with an account from the main sign-in page (custom domains). */
.otp-auth-handoff{display:grid;gap:12px}

/* Sign-up: the details grid sits above the shared form column. */
.signup-form .form-grid{margin-bottom:4px}

/* Organisation choice: one row per organisation. */
.tenant-choice-list{display:grid;gap:4px}
.tenant-choice{min-height:56px;padding:8px 12px}
.tenant-choice-name{font-size:var(--fs-md);line-height:var(--lh-md);font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.choose-foot{margin:8px 0 0}

/* «ادامه با حساب کاربری» (main address): who is about to enter which organisation. */
.continue-person{width:100%;padding:12px 14px;text-align:start}
.continue-note{margin:0}
