/* ===========================================================================
   Onboarding / Auth gate for the dashboard
   Matches the FBA design system (Outfit font, earthy palette, soft radii).
   All colors pull from the CSS variables defined in landing-new.css.
   =========================================================================== */

/* ── Instant gate (set in <head> before first paint) ──────────────────── */
html.fba-gate-needed body.dashboard-page {
    overflow: hidden;
}
html.fba-gate-needed .dashboard-wrapper {
    opacity: 0;
    pointer-events: none;
}
/* Once the gate opens we keep the wrapper hidden; it fades in on auth */
html.fba-gate-needed.fba-overlay-open .dashboard-wrapper {
    opacity: 0;
}
/* Smooth reveal when gate clears */
.fba-wrapper-reveal {
    animation: fbaWrapperReveal 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes fbaWrapperReveal {
    from { opacity: 0; transform: translateY(4px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Anonymous QR guest: no path back to gated dashboard content ───────── */
body.fba-anon-guest #presenter-view-btn {
    display: none !important;
}
/* Guests only ever see one option (Start) — drop the "New to the
   self-assessment?" framing that implies a choice between two paths,
   and the divider that used to separate it from the (now hidden) other option. */
body.fba-anon-guest .survey-start-heading,
body.fba-anon-guest .divider-mobile {
    display: none !important;
}
/* Justice completion: a guest's "Return to Dashboard" would reveal the gated
   dashboard, so hide it for guests and show an account-creation CTA instead. */
#justice-guest-cta {
    display: none;
}
body.fba-anon-guest #justice-return-btn {
    display: none !important;
}
body.fba-anon-guest #justice-guest-cta {
    display: inline-block !important;
}

/* Same swap on the Ownership results screen and the Legacy map exit — both
   offered a guest a "Back to dashboard" that only bounced them into the
   sign-up overlay with no explanation. */
#ownership-guest-cta,
#legacy-guest-cta {
    display: none;
}
body.fba-anon-guest #ownership-return-btn,
body.fba-anon-guest #legacy-return-btn {
    display: none !important;
}
body.fba-anon-guest #ownership-guest-cta,
body.fba-anon-guest #legacy-guest-cta {
    display: inline-block !important;
}

/* ── Save-results prompt (post-survey CTA for guests) ─────────────────── */
.fba-save-prompt {
    position: fixed;
    inset: 0;
    z-index: 4000;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0 1rem 2rem;
    pointer-events: none;
    font-family: var(--font-sans, "Outfit", sans-serif);
}
.fba-save-prompt-card {
    width: 100%;
    max-width: 480px;
    background: var(--bg-panel, #fff);
    border: 1px solid var(--border-color, rgba(24,33,31,0.12));
    border-radius: 22px;
    box-shadow: 0 30px 70px -20px rgba(20,30,40,0.45);
    padding: 1.8rem 1.8rem 1.6rem;
    pointer-events: all;
    transform: translateY(120%);
    opacity: 0;
    transition: transform 0.55s cubic-bezier(0.16,1,0.3,1), opacity 0.45s ease;
}
.dark .fba-save-prompt-card {
    background: #1f2937;
    border-color: #374151;
}
.fba-save-prompt.is-open .fba-save-prompt-card {
    transform: translateY(0);
    opacity: 1;
}
.fba-save-prompt-icon {
    width: 46px; height: 46px;
    border-radius: 14px;
    background: rgba(79,111,93,0.12);
    display: grid;
    place-items: center;
    margin-bottom: 1rem;
}
.fba-save-prompt-icon i { font-size: 1.5rem; color: var(--accent-green, #4f6f5d); }
.fba-save-prompt-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main, #18211f);
    margin: 0 0 0.35rem;
}
.dark .fba-save-prompt-card h4 { color: #f9fafb; }
.fba-save-prompt-card p {
    font-size: 0.9rem;
    color: var(--text-muted, #65706b);
    margin: 0 0 1.2rem;
    line-height: 1.55;
}
.dark .fba-save-prompt-card p { color: #9ca3af; }
.fba-save-prompt-actions {
    display: flex;
    gap: 0.65rem;
}
.fba-save-prompt-actions .fba-auth-submit {
    flex: 1;
    margin: 0;
    padding: 0.8rem 1rem;
    font-size: 0.92rem;
}
.fba-save-prompt-skip {
    background: none;
    border: 1.5px solid var(--border-color, rgba(24,33,31,0.15));
    border-radius: 14px;
    font-family: inherit;
    font-size: 0.88rem;
    color: var(--text-muted, #65706b);
    padding: 0.8rem 1.1rem;
    cursor: pointer;
    transition: border-color 0.2s ease;
    white-space: nowrap;
}
.fba-save-prompt-skip:hover { border-color: var(--text-muted, #65706b); }
.dark .fba-save-prompt-skip { border-color: #374151; color: #9ca3af; }

.fba-auth-overlay {
    position: fixed;
    inset: 0;
    z-index: 4000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    background: rgba(241, 238, 230, 0.72);
    -webkit-backdrop-filter: blur(14px) saturate(120%);
    backdrop-filter: blur(14px) saturate(120%);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    font-family: var(--font-sans, "Outfit", system-ui, sans-serif);
}

.fba-auth-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.dark .fba-auth-overlay {
    background: rgba(8, 14, 26, 0.78);
}

/* Lock scroll while the gate is up */
body.fba-auth-locked {
    overflow: hidden;
}

/* ── Card ─────────────────────────────────────────────────────────────── */
.fba-auth-card {
    position: relative;
    width: 100%;
    max-width: 940px;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    background: var(--bg-panel, #fff);
    border: 1px solid var(--border-color, rgba(24, 33, 31, 0.12));
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 40px 90px -30px rgba(20, 30, 40, 0.45);
    transform: translateY(18px) scale(0.985);
    opacity: 0;
    transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.55s ease;
}

/* Close button — only rendered for dismissible (optional) overlay opens,
   e.g. a guest choosing to create an account from their results screen. */
.fba-auth-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 5;
    width: 2.25rem;
    height: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    background: rgba(24, 33, 31, 0.06);
    color: var(--text-main, #18211f);
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}
.fba-auth-close:hover { background: rgba(24, 33, 31, 0.12); transform: scale(1.05); }
.dark .fba-auth-close { background: rgba(255, 255, 255, 0.08); color: #f9fafb; }
.dark .fba-auth-close:hover { background: rgba(255, 255, 255, 0.16); }
.fba-auth-overlay[dir="rtl"] .fba-auth-close { right: auto; left: 1rem; }

.fba-auth-overlay.is-open .fba-auth-card {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.dark .fba-auth-card {
    background: #111827;
    border-color: #1f2937;
}

/* ── Brand / welcome panel (left) ─────────────────────────────────────── */
.fba-auth-aside {
    position: relative;
    padding: 3rem 2.6rem;
    color: #f4f1ea;
    background:
        radial-gradient(120% 120% at 0% 0%, rgba(255, 255, 255, 0.10), transparent 55%),
        linear-gradient(155deg, #2c597e 0%, #234d6f 45%, #1b3a55 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    isolation: isolate;
}

.fba-auth-aside::after {
    content: "";
    position: absolute;
    right: -90px;
    bottom: -110px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(184, 135, 70, 0.35), transparent 70%);
    z-index: -1;
}

.fba-auth-aside-logo img {
    height: 38px;
    width: auto;
    /* The logogram is dark; flip it to read on the deep-blue panel */
    filter: brightness(0) invert(1);
    opacity: 0.95;
}

.fba-auth-aside h2 {
    font-size: 1.85rem;
    line-height: 1.2;
    font-weight: 700;
    margin: 1.6rem 0 0.8rem;
    color: #fff;
}

.fba-auth-aside p {
    font-size: 1rem;
    line-height: 1.65;
    color: rgba(244, 241, 234, 0.82);
    margin: 0;
    max-width: 30ch;
}

.fba-auth-points {
    list-style: none;
    padding: 0;
    margin: 1.8rem 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.fba-auth-points li {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 0.95rem;
    color: rgba(244, 241, 234, 0.92);
}

.fba-auth-points i {
    font-size: 1.15rem;
    color: #d9b27f;
    flex-shrink: 0;
}

/* ── Form panel (right) ───────────────────────────────────────────────── */
.fba-auth-main {
    padding: 2.8rem 2.6rem;
    display: flex;
    flex-direction: column;
}

.fba-auth-head {
    margin-bottom: 1.6rem;
}

.fba-auth-head h3 {
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--text-main, #18211f);
    margin: 0 0 0.35rem;
}

.fba-auth-head p {
    font-size: 0.95rem;
    color: var(--text-muted, #65706b);
    margin: 0;
}

.dark .fba-auth-head h3 { color: #f9fafb; }
.dark .fba-auth-head p { color: #9ca3af; }

/* Segmented tab toggle */
.fba-auth-tabs {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--bg-alt, #f1eee6);
    border-radius: var(--radius-pill, 999px);
    padding: 4px;
    margin-bottom: 1.6rem;
}

.dark .fba-auth-tabs { background: #1f2937; }

.fba-auth-tab {
    position: relative;
    z-index: 2;
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-muted, #65706b);
    padding: 0.6rem 0.5rem;
    border-radius: var(--radius-pill, 999px);
    cursor: pointer;
    transition: color 0.3s ease;
}

.fba-auth-tab.is-active { color: #fff; }
.dark .fba-auth-tab { color: #9ca3af; }
.dark .fba-auth-tab.is-active { color: #fff; }

.fba-auth-tab-pill {
    position: absolute;
    z-index: 1;
    top: 4px;
    bottom: 4px;
    left: 4px;
    width: calc(50% - 4px);
    background: var(--accent-blue, #234d6f);
    border-radius: var(--radius-pill, 999px);
    box-shadow: 0 6px 16px -6px rgba(35, 77, 111, 0.6);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.fba-auth-tabs[data-mode="login"] .fba-auth-tab-pill { transform: translateX(100%); }

/* Fields */
.fba-field {
    margin-bottom: 1.05rem;
}

.fba-field label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-main, #18211f);
    margin-bottom: 0.4rem;
}

.dark .fba-field label { color: #e5e7eb; }

.fba-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.fba-input-wrap > i {
    position: absolute;
    left: 0.95rem;
    font-size: 1.15rem;
    color: var(--text-soft, #87908b);
    pointer-events: none;
}

.fba-field input {
    width: 100%;
    font-family: inherit;
    font-size: 0.98rem;
    color: var(--text-main, #18211f);
    background: var(--bg-color, #fbfaf6);
    border: 1.5px solid var(--border-color, rgba(24, 33, 31, 0.12));
    border-radius: 14px;
    padding: 0.85rem 1rem 0.85rem 2.7rem;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    outline: none;
}

.fba-field input::placeholder { color: var(--text-soft, #87908b); }

.fba-field input:focus {
    border-color: var(--accent-blue, #234d6f);
    box-shadow: 0 0 0 4px rgba(35, 77, 111, 0.12);
    background: var(--bg-panel, #fff);
}

.dark .fba-field input {
    background: #0f172a;
    border-color: #374151;
    color: #f9fafb;
}

.dark .fba-field input:focus {
    border-color: #6ea4d0;
    box-shadow: 0 0 0 4px rgba(110, 164, 208, 0.18);
}

.fba-field.has-error input {
    border-color: var(--accent-red, #9d5145);
    box-shadow: 0 0 0 4px rgba(157, 81, 69, 0.12);
}

.fba-pw-toggle {
    position: absolute;
    right: 0.6rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-soft, #87908b);
    font-size: 1.2rem;
    padding: 0.35rem;
    line-height: 0;
    border-radius: 8px;
}

.fba-pw-toggle:hover { color: var(--accent-blue, #234d6f); }

.fba-field-msg {
    display: block;
    min-height: 1.1rem;
    font-size: 0.78rem;
    color: var(--accent-red, #9d5145);
    margin-top: 0.32rem;
}

/* Password strength meter */
.fba-strength {
    display: flex;
    gap: 5px;
    margin-top: 0.5rem;
}

.fba-strength span {
    flex: 1;
    height: 5px;
    border-radius: 999px;
    background: var(--border-color, rgba(24, 33, 31, 0.12));
    transition: background 0.3s ease;
}

.fba-strength[data-score="1"] span:nth-child(-n+1),
.fba-strength[data-score="2"] span:nth-child(-n+2),
.fba-strength[data-score="3"] span:nth-child(-n+3),
.fba-strength[data-score="4"] span:nth-child(-n+4) { background: var(--accent-blue, #234d6f); }
.fba-strength[data-score="1"] span:nth-child(-n+1) { background: var(--accent-red, #9d5145); }
.fba-strength[data-score="2"] span:nth-child(-n+2) { background: var(--accent-yellow, #b88746); }

/* Submit button */
.fba-auth-submit {
    width: 100%;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    background: var(--accent-blue, #234d6f);
    border: none;
    border-radius: 14px;
    padding: 0.95rem 1rem;
    cursor: pointer;
    margin-top: 0.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.25s ease;
    box-shadow: 0 12px 26px -12px rgba(35, 77, 111, 0.7);
}

.fba-auth-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 18px 32px -14px rgba(35, 77, 111, 0.75);
}

.fba-auth-submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.fba-auth-submit .fba-spinner {
    width: 17px;
    height: 17px;
    border: 2.5px solid rgba(255, 255, 255, 0.45);
    border-top-color: #fff;
    border-radius: 50%;
    animation: fbaSpin 0.7s linear infinite;
    display: none;
}

.fba-auth-submit.is-loading .fba-spinner { display: inline-block; }
.fba-auth-submit.is-loading .fba-submit-label { opacity: 0.85; }

@keyframes fbaSpin { to { transform: rotate(360deg); } }

/* Form-level error / status banner */
.fba-auth-banner {
    display: none;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.86rem;
    border-radius: 12px;
    padding: 0.7rem 0.9rem;
    margin-bottom: 1.1rem;
}

.fba-auth-banner.is-visible { display: flex; }

.fba-auth-banner.error {
    background: rgba(157, 81, 69, 0.1);
    color: var(--accent-red, #9d5145);
    border: 1px solid rgba(157, 81, 69, 0.25);
}

.fba-auth-banner.success {
    background: rgba(79, 111, 93, 0.12);
    color: var(--accent-green, #4f6f5d);
    border: 1px solid rgba(79, 111, 93, 0.28);
}

.fba-auth-fineprint {
    font-size: 0.78rem;
    color: var(--text-soft, #87908b);
    text-align: center;
    margin-top: 1.4rem;
    line-height: 1.5;
}

.fba-auth-fineprint a { color: var(--accent-blue, #234d6f); text-decoration: none; }
.fba-auth-fineprint a:hover { text-decoration: underline; }

/* Forms cross-fade */
.fba-auth-form { display: none; }
.fba-auth-form.is-active { display: block; animation: fbaFormIn 0.35s ease; }

@keyframes fbaFormIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Quiet text actions under a form: "Forgot your password?", "Back to sign in".
   Not .fba-auth-submit — they must not read as a second primary action. */
.fba-auth-link {
    display: block;
    width: 100%;
    margin-top: 0.9rem;
    padding: 0.35rem;
    border: none;
    background: none;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted, #65706b);
    cursor: pointer;
    text-align: center;
}
.fba-auth-link:hover { color: var(--accent-blue, #234d6f); text-decoration: underline; }
.dark .fba-auth-link { color: #9ca3af; }
.dark .fba-auth-link:hover { color: #93c5fd; }
.fba-auth-tabs[hidden] { display: none !important; }

/* ── Welcome toast ────────────────────────────────────────────────────── */
.fba-toast {
    position: fixed;
    top: 84px;
    right: 22px;
    z-index: 4100;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    max-width: 340px;
    background: var(--bg-panel, #fff);
    border: 1px solid var(--border-color, rgba(24, 33, 31, 0.12));
    border-radius: 14px;
    padding: 0.85rem 1.1rem;
    box-shadow: 0 20px 45px -18px rgba(20, 30, 40, 0.35);
    transform: translateX(120%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: var(--font-sans, "Outfit", sans-serif);
}

.fba-toast.is-visible { transform: translateX(0); }
.dark .fba-toast { background: #1f2937; border-color: #374151; }

.fba-toast i { font-size: 1.5rem; color: var(--accent-green, #4f6f5d); }
.fba-toast-text strong { display: block; font-size: 0.95rem; color: var(--text-main, #18211f); }
.fba-toast-text span { font-size: 0.82rem; color: var(--text-muted, #65706b); }
.dark .fba-toast-text strong { color: #f9fafb; }
.dark .fba-toast-text span { color: #9ca3af; }

/* Validation variant — same toast, warning accent. Replaces the native
   alert() the survey modules used for "please select an option". */
.fba-toast.is-warn i { color: var(--accent-red, #9d5145); }
.fba-toast.is-warn .fba-toast-text strong { font-weight: 600; }

/* ── Header account chip ──────────────────────────────────────────────── */
.fba-account {
    position: relative;
}

.fba-account-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    border: 1px solid var(--border-color, rgba(24, 33, 31, 0.12));
    border-radius: var(--radius-pill, 999px);
    padding: 0.3rem 0.85rem 0.3rem 0.3rem;
    cursor: pointer;
    font-family: var(--font-sans, "Outfit", sans-serif);
    transition: border-color 0.25s ease, background 0.25s ease;
}

.fba-account-btn:hover { border-color: var(--accent-blue, #234d6f); }

.fba-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--accent-blue, #234d6f);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    flex-shrink: 0;
}

.fba-account-name {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-main, #18211f);
    max-width: 9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dark .fba-account-name { color: #f9fafb; }
.dark .fba-account-btn { border-color: #374151; }

.fba-account-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 210px;
    background: var(--bg-panel, #fff);
    border: 1px solid var(--border-color, rgba(24, 33, 31, 0.12));
    border-radius: 14px;
    box-shadow: 0 22px 50px -18px rgba(20, 30, 40, 0.3);
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
}

.fba-account.is-open .fba-account-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dark .fba-account-menu { background: #1f2937; border-color: #374151; }

.fba-account-menu-head {
    padding: 0.55rem 0.7rem 0.7rem;
    border-bottom: 1px solid var(--border-color, rgba(24, 33, 31, 0.1));
    margin-bottom: 0.35rem;
}

.fba-account-menu-head strong {
    display: block;
    font-size: 0.92rem;
    color: var(--text-main, #18211f);
}

.fba-account-menu-head span {
    font-size: 0.78rem;
    color: var(--text-muted, #65706b);
    word-break: break-all;
}

.dark .fba-account-menu-head strong { color: #f9fafb; }
.dark .fba-account-menu-head span { color: #9ca3af; }

.fba-account-menu button {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: none;
    border: none;
    font-family: inherit;
    font-size: 0.9rem;
    color: var(--accent-red, #9d5145);
    padding: 0.6rem 0.7rem;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.fba-account-menu button:hover { background: rgba(157, 81, 69, 0.1); }
.fba-account-menu button i { font-size: 1.15rem; }

/* ── RTL (Arabic) ─────────────────────────────────────────────────────── */
.fba-auth-overlay[dir="rtl"] .fba-field input { padding: 0.85rem 2.7rem 0.85rem 1rem; }
.fba-auth-overlay[dir="rtl"] .fba-input-wrap > i { left: auto; right: 0.95rem; }
.fba-auth-overlay[dir="rtl"] .fba-pw-toggle { right: auto; left: 0.6rem; }
.fba-auth-overlay[dir="rtl"] .fba-auth-tabs[data-mode="login"] .fba-auth-tab-pill { transform: translateX(-100%); }

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 820px) {
    .fba-auth-card { grid-template-columns: 1fr; max-width: 460px; }
    .fba-auth-aside { display: none; }
    .fba-auth-main { padding: 2.2rem 1.6rem; }
}

/* ── Desktop: full screen instead of a centered card ───────────────────── */
@media (min-width: 821px) {
    .fba-auth-overlay { padding: 0; }
    .fba-auth-card {
        width: 100%;
        height: 100%;
        max-width: none;
        border: none;
        border-radius: 0;
        box-shadow: none;
        transform: translateY(14px);
    }
    .fba-auth-aside { justify-content: center; gap: 2.4rem; overflow-y: auto; }
    .fba-auth-main {
        justify-content: center;
        overflow-y: auto;
        max-width: 480px;
        width: 100%;
        margin: 0 auto;
    }
}

@media (max-width: 560px) {
    .fba-auth-overlay { padding: 0; align-items: stretch; }
    .fba-auth-card { border-radius: 0; max-width: none; min-height: 100vh; box-shadow: none; }
    .fba-auth-main { justify-content: center; }
    .fba-toast { top: auto; bottom: 18px; right: 12px; left: 12px; max-width: none; }
    .fba-account-name { display: none; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    .fba-auth-overlay, .fba-auth-card, .fba-toast, .fba-auth-tab-pill,
    .fba-auth-form.is-active, .fba-account-menu { transition: none; animation: none; }
}
