/* This stylesheet is loaded only for the FU8 authentication layout. */
body.fu8-login {
  min-height:100svh;
  display:flex;
  flex-direction:column;
  color:#111;
  background:radial-gradient(ellipse at 28% 45%,#fff9,transparent 58%),linear-gradient(110deg,#ededed 0%,#f4f7fa 43%,#fff 84%);
  position:relative;
  isolation:isolate;
}
.fu8-login::before { content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background:url('/assets/brands/fu8-login-noise.svg');opacity:.16; }
.fu8-login-shell { flex:1;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:clamp(48px,8vw,156px);width:min(100%,1740px);margin:auto;padding:80px clamp(48px,6.7vw,128px) 64px; }
.fu8-login-story { text-align:center;display:flex;flex-direction:column;align-items:center;min-width:0; }
.fu8-login-symbol { display:block;width:184px;height:auto;margin:0 auto 34px;filter:drop-shadow(0 0 18px #fff); }
.fu8-login-tagline { margin:0;font-size:clamp(20px,1.6vw,30px);font-weight:400;line-height:1.65;letter-spacing:-1px;white-space:nowrap; }
.fu8-login-promise { display:flex;justify-content:center;gap:9px;margin:0;font-size:clamp(15px,1.08vw,21px);font-weight:650;line-height:1.5;letter-spacing:-.45px;white-space:nowrap; }
.fu8-login-promise b { color:#00dcb9;font-weight:700; }
.fu8-login-card { width:100%;max-width:720px;min-width:0;min-height:650px;justify-self:center;padding:58px clamp(34px,4.8vw,92px) 64px;border-radius:36px;background:#fff; }
.fu8-login-heading { margin:0 auto 62px;width:270px;max-width:90%;line-height:1; }
.fu8-login-heading img { display:block;width:100%;height:auto; }
.fu8-login-card .stack { display:flex;flex-direction:column;gap:23px; }
.fu8-login-card label { display:block;color:#111;font-size:17px;font-weight:400;line-height:1.6; }
.fu8-login-card input:not([type=hidden]) { display:block;width:100%;height:58px;min-height:58px;margin-top:9px;padding:10px 22px;border:1px solid transparent;border-radius:999px;background:#fff;box-shadow:inset 0 9px 12px #0000000d;color:#111;font:inherit;font-size:18px;transition:box-shadow .18s,border-color .18s; }
.fu8-login-card input:not([type=hidden]):focus { outline:none;border-color:#00b7b5;box-shadow:inset 0 7px 12px #0000000a,0 0 0 3px #00d8bc1a; }
.fu8-login-card .password-toggle { top:12px;right:13px;width:36px;height:36px;color:#718187;border-radius:50%; }
.fu8-login-card .password-toggle:hover { color:#008fa2;background:#ecfcf9; }
.fu8-login-card .password-toggle:focus-visible { outline:2px solid #00aaba;outline-offset:2px; }
.fu8-login-card .button.primary { align-self:center;width:280px;max-width:100%;min-height:58px;margin-top:46px;padding:8px 24px;border:0;border-radius:999px;background:linear-gradient(100deg,#00ffcc,#0099cc);box-shadow:none;color:#143b42;font-size:25px;font-weight:600;line-height:1.4; }
.fu8-login-card .button.primary:hover { background:linear-gradient(100deg,#00edbf,#008dbd);box-shadow:0 8px 24px #0099cc1a; }
.fu8-login-card .button.primary:focus-visible { outline:3px solid #007e94;outline-offset:4px; }
.fu8-login-card .notice { margin:0 0 22px; }
.fu8-login-footer { display:flex;align-items:center;justify-content:space-between;gap:20px;width:100%;padding:18px 24px;color:#111;font-size:14px;line-height:1.6; }
.fu8-login-footer p { margin:0; }
.fu8-login-credit { font-size:17px; }
.fu8-login-credit strong { font-weight:650; }
@media(min-width:1600px) {
 .fu8-login-shell { width:100%;gap:170px;padding-right:128px;padding-left:160px; }
 .fu8-login-card { min-height:710px;padding-top:64px; }
 .fu8-login-heading { width:300px;margin-bottom:68px; }
}
@media(max-width:1100px) and (min-width:761px) {
 .fu8-login-shell { gap:36px;padding:56px 36px; }
 .fu8-login-symbol { width:150px;margin-bottom:24px; }
 .fu8-login-tagline { font-size:19px;letter-spacing:-.8px; }
 .fu8-login-promise { font-size:14px;gap:6px; }
 .fu8-login-card { min-height:590px;padding:48px 28px; }
 .fu8-login-heading { width:240px;margin-bottom:46px; }
 .fu8-login-footer { font-size:11px; }
 .fu8-login-credit { font-size:13px; }
}
@media(max-width:760px) {
 body.fu8-login { background:radial-gradient(ellipse at 50% 23%,#ffffffb3,transparent 55%),linear-gradient(180deg,#ededed 0%,#f0f5fa 29%,#fff 92%); }
 .fu8-login-shell { flex:1 0 auto;width:100%;display:flex;flex-direction:column;gap:38px;padding:54px 16px 22px; }
 .fu8-login-story { width:100%; }
 .fu8-login-symbol { width:94px;margin-bottom:23px; }
 .fu8-login-tagline { font-size:21px;line-height:1.65;letter-spacing:-.8px; }
 .fu8-login-promise { gap:6px;font-size:14px;letter-spacing:-.3px; }
 .fu8-login-card { max-width:460px;min-height:410px;padding:32px clamp(26px,13.5vw,56px) 48px;border-radius:24px; }
 .fu8-login-heading { width:180px;margin-bottom:28px; }
 .fu8-login-card .stack { gap:16px; }
 .fu8-login-card label { font-size:14px; }
 .fu8-login-card input:not([type=hidden]) { height:45px;min-height:45px;margin-top:5px;padding:8px 17px;font-size:16px;box-shadow:inset 0 7px 10px #0000000d; }
 .fu8-login-card .password-toggle { top:8px;right:8px;width:30px;height:30px; }
 .fu8-login-card .button.primary { width:170px;min-height:44px;margin-top:21px;padding:7px 18px;font-size:20px; }
 .fu8-login-footer { flex-direction:column;gap:3px;padding:14px 12px 18px;text-align:center;font-size:10px; }
 .fu8-login-credit { order:-1;font-size:12px; }
}
@media(max-width:360px) {
 .fu8-login-shell { padding-top:36px;gap:28px; }
 .fu8-login-tagline { font-size:18px; }
 .fu8-login-promise { font-size:12px; }
 .fu8-login-card { padding-right:28px;padding-left:28px; }
}

/* Keep every step before workspace access in the same FU8 identity. */
.fu8-auth-page .fu8-login-shell { padding-top:48px;padding-bottom:40px; }
.fu8-auth-page .fu8-login-card { min-height:0;padding:38px clamp(28px,3.8vw,72px) 42px; }
.fu8-auth-brand { width:174px;max-width:70%;margin:0 auto 24px; }
.fu8-auth-brand img { display:block;width:100%;height:auto; }
.fu8-auth-page h1 { color:#193d42;font-size:25px;font-weight:600;line-height:1.55;margin:0 0 14px;text-align:center;letter-spacing:-.4px; }
.fu8-auth-page .fu8-auth-description,.fu8-auth-page .page-heading p { color:#6b7f82;font-size:14px;line-height:1.9;text-align:center;margin:0 0 26px; }
.fu8-auth-page .stack { gap:18px; }
.fu8-auth-page .fu8-login-card label { font-size:14px; }
.fu8-auth-page .fu8-login-card input:not([type=hidden]):not([type=file]) { height:48px;min-height:48px;font-size:16px;border:1px solid transparent;border-radius:999px;background:#fff;box-shadow:inset 0 9px 12px #0000000d; }
.fu8-auth-page .fu8-login-card input:not([type=hidden]):not([type=file]):focus { border-color:#00b7b5;box-shadow:inset 0 7px 12px #0000000a,0 0 0 3px #00d8bc1a; }
.fu8-auth-page .fu8-login-card .button.primary { width:100%;min-height:48px;margin-top:10px;font-size:16px;line-height:1.6;white-space:normal;border:0;border-radius:999px;background:linear-gradient(100deg,#00ffcc,#0099cc);color:#143b42;box-shadow:none; }
.fu8-auth-page .fu8-login-card .button.primary:hover { background:linear-gradient(100deg,#00edbf,#008dbd); }
.fu8-auth-page .fu8-login-card .button.secondary { min-height:44px;border:1px solid #cce8e6;border-radius:24px;color:#387574;background:#f4fbfa;font-size:13px;white-space:normal; }
.fu8-auth-page .password-toggle { top:9px; }
.fu8-auth-page .fu8-auth-back { display:block;width:fit-content;margin:24px auto 0;color:#498384;font-size:13px;text-decoration:underline;text-underline-offset:4px; }
.fu8-auth-page .page-heading { display:block;margin:0 0 20px; }
.fu8-auth-page .page-heading .eyebrow { display:none; }
.fu8-auth-page .field-note { color:#6b7f82;font-size:12px;line-height:1.8; }
.fu8-auth-page .mfa-setup { color:#456568;font-size:13px;line-height:1.85; }
.fu8-auth-page .mfa-setup-steps { padding-left:22px;margin:0 0 18px;color:#48696b;font-size:13px;line-height:1.9; }
.fu8-auth-page .mfa-setup-qr { border:1px solid #d6eeeb;padding:8px;background:#fff;border-radius:16px; }
.fu8-auth-page .secret-wrap { display:block;max-width:100%;margin:8px 0 22px;padding:12px 16px;border-radius:12px;border:1px solid #d9efec;background:#f2fbf9;color:#245957;font-size:14px;letter-spacing:1px;overflow-wrap:anywhere; }
.fu8-auth-page .mfa-recovery-codes { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:18px 0 22px; }
.fu8-auth-page .mfa-recovery-codes code { min-width:0;padding:11px 8px;border-radius:10px;background:#f2fbf9;border:1px solid #d9efec;color:#245957;font-size:11px;text-align:center;overflow-wrap:anywhere;user-select:all; }
.fu8-auth-page .mfa-setup+form { margin-top:18px; }
.fu8-auth-page .error-page { padding:0;text-align:center; }
.fu8-auth-page .error-code { color:#00a8b4;font-size:52px; }
.fu8-auth-page .error-page p { color:#6b7f82;font-size:14px;line-height:1.9;overflow-wrap:anywhere; }
.fu8-auth-page .notice { font-size:13px;line-height:1.8;overflow-wrap:anywhere; }
.fu8-auth-onboarding .fu8-login-shell { grid-template-columns:minmax(270px,.72fr) minmax(0,1.28fr);gap:60px;max-width:1600px;padding-left:48px;padding-right:48px; }
.fu8-auth-onboarding .fu8-login-card { max-width:820px;padding:36px; }
.fu8-auth-page .account-heading { margin-bottom:26px;text-align:center; }
.fu8-auth-page .account-heading>.eyebrow { color:#329996;font-size:10px; }
.fu8-auth-page .account-heading h1 { color:#193d42;font-size:25px; }
.fu8-auth-page .account-heading>p { color:#6b7f82; }
.fu8-auth-page .account-password-field { position:relative;display:block;border:0;background:transparent;overflow:visible; }
.fu8-auth-page .account-password-field input { padding-right:44px; }
.fu8-auth-page .account-password-field>button { position:absolute;right:8px;top:3px;width:38px;height:42px;color:#628785; }
.fu8-auth-page .account-password-field:focus-within { border-color:transparent;box-shadow:none; }
.fu8-auth-page .account-password-intro { margin-top:0; }
.fu8-auth-page .account-password-intro>span,.fu8-auth-page .account-dialog-icon { background:#e9faf5;color:#069a91; }
.fu8-auth-page .account-password-intro h2 { color:#315d5e; }
.fu8-auth-page .account-upload input[type=file] { height:100%;min-height:100%;margin:0;padding:0;border:0;border-radius:12px;box-shadow:none; }
.fu8-auth-page .account-upload { background:#f3fbf9;border-color:#b6ded6; }
.fu8-auth-page .account-preview-button { background:linear-gradient(100deg,#00ffcc,#0099cc);color:#143b42; }
.fu8-auth-page .account-steps li.is-current { color:#078e8c;border-color:#04baa9; }
.fu8-auth-page .account-steps li.is-current>span { background:#04a99e; }
.fu8-auth-page .account-progress-actions { justify-content:stretch; }
.fu8-auth-page .account-progress-actions .button { flex:1;min-width:160px; }
.fu8-auth-page .account-welcome-dialog .button.primary { margin:0;border:0;border-radius:24px;background:linear-gradient(100deg,#00ffcc,#0099cc);color:#143b42; }
.fu8-auth-page .account-welcome-dialog .button.primary:hover { background:linear-gradient(100deg,#00edbf,#008dbd); }
.fu8-auth-page .account-welcome-dialog { border-color:#d4ede8;border-radius:24px; }
.fu8-auth-page .account-welcome-dialog::backdrop { background:#254b4c66; }
@media(max-width:1100px) and (min-width:761px) {
 .fu8-auth-page .fu8-login-card { padding:30px 24px; }
 .fu8-auth-onboarding .fu8-login-shell { gap:30px;padding-left:28px;padding-right:28px;grid-template-columns:minmax(220px,.65fr) minmax(0,1.35fr); }
 .fu8-auth-page h1,.fu8-auth-page .account-heading h1 { font-size:22px; }
 .fu8-auth-page .mfa-recovery-codes { grid-template-columns:1fr; }
}
@media(max-width:760px) {
 .fu8-auth-page .fu8-login-shell { padding:32px 16px 22px;gap:26px; }
 .fu8-auth-page .fu8-login-symbol { width:64px;margin-bottom:14px; }
 .fu8-auth-page .fu8-login-tagline { font-size:18px; }
 .fu8-auth-page .fu8-login-promise { font-size:12px; }
 .fu8-auth-page .fu8-login-card { padding:24px;border-radius:24px; }
 .fu8-auth-brand { width:144px;margin-bottom:20px; }
 .fu8-auth-page h1,.fu8-auth-page .account-heading h1 { font-size:22px; }
 .fu8-auth-page .fu8-auth-description,.fu8-auth-page .page-heading p { font-size:12px;margin-bottom:22px; }
 .fu8-auth-page .mfa-setup-qr { width:220px; }
 .fu8-auth-page .mfa-recovery-codes { grid-template-columns:1fr; }
 .fu8-auth-page .account-steps { gap:6px; }
 .fu8-auth-page .account-steps li { gap:5px; }
 .fu8-auth-page .account-steps strong { font-size:10px; }
 .fu8-auth-page .account-steps small { font-size:8px; }
 .fu8-auth-page .account-steps li>span { width:22px;height:22px; }
 .fu8-auth-page .account-heading { margin-bottom:20px; }
 .fu8-auth-page .account-brand-grid { grid-template-columns:minmax(0,1fr); }
 .fu8-auth-page .account-skip-row { flex-direction:column;align-items:stretch; }
 .fu8-auth-page .account-skip-row small { text-align:center; }
}
