:root{
  --auth-navy-1000:#061426;
  --auth-navy-950:#091a31;
  --auth-navy-900:#0d274d;
  --auth-navy-800:#123c65;
  --auth-blue:#1d7fbe;
  --auth-sky:#48b9e9;
  --auth-cyan:#31d7cf;
  --auth-teal:#1bc6ad;
  --auth-ink:#10243b;
  --auth-muted:#65758a;
  --auth-line:#dbe5ef;
  --auth-soft:#f4f8fc;
  --auth-danger:#d94d5c;
  --auth-success:#17a673;
}
*{box-sizing:border-box}
html{min-height:100%;background:var(--auth-navy-950)}
body.mdceo-auth{min-height:100vh;min-height:100dvh;margin:0;background:var(--auth-navy-950);color:var(--auth-ink);font-family:Inter,"Segoe UI",Arial,sans-serif;overflow-x:hidden}
.mdceo-auth button,.mdceo-auth input{font:inherit}
.mdceo-auth svg{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.auth-skip-link{position:fixed;top:-80px;left:16px;z-index:1000;background:#fff;color:var(--auth-navy-900);padding:10px 14px;border-radius:8px;font-weight:800;box-shadow:0 8px 28px rgba(0,0,0,.25)}
.auth-skip-link:focus{top:12px}
.auth-shell{min-height:100vh;min-height:100dvh;display:grid;grid-template-columns:minmax(520px,1.12fr) minmax(480px,.88fr);background:#edf3f8}

/* Brand stage */
.auth-brand-stage{position:relative;isolation:isolate;overflow:hidden;padding:34px clamp(34px,4vw,72px) 28px;color:#fff;background:
  radial-gradient(circle at 76% 22%,rgba(49,215,207,.18),transparent 27%),
  radial-gradient(circle at 14% 80%,rgba(29,127,190,.25),transparent 34%),
  linear-gradient(145deg,var(--auth-navy-1000) 0%,var(--auth-navy-950) 46%,#0b3152 100%);display:flex;flex-direction:column;min-height:100vh;min-height:100dvh}
.auth-blueprint-grid{position:absolute;inset:0;z-index:-4;opacity:.5;background-image:
  linear-gradient(rgba(129,191,226,.075) 1px,transparent 1px),
  linear-gradient(90deg,rgba(129,191,226,.075) 1px,transparent 1px),
  linear-gradient(rgba(129,191,226,.035) 1px,transparent 1px),
  linear-gradient(90deg,rgba(129,191,226,.035) 1px,transparent 1px);
  background-size:64px 64px,64px 64px,16px 16px,16px 16px;
  mask-image:linear-gradient(to bottom,#000 0%,rgba(0,0,0,.88) 72%,transparent 100%)}
.auth-brand-stage:after{content:"";position:absolute;inset:0;z-index:-3;background:linear-gradient(105deg,rgba(6,20,38,.08),transparent 50%,rgba(40,154,216,.08));pointer-events:none}
.auth-glow{position:absolute;border-radius:50%;filter:blur(12px);opacity:.7;z-index:-2;pointer-events:none}
.auth-glow-one{width:420px;height:420px;right:-180px;top:19%;background:radial-gradient(circle,rgba(49,215,207,.16),transparent 68%);animation:authFloatGlow 9s ease-in-out infinite}
.auth-glow-two{width:360px;height:360px;left:-180px;bottom:2%;background:radial-gradient(circle,rgba(72,185,233,.2),transparent 68%);animation:authFloatGlow 11s ease-in-out -4s infinite reverse}
.auth-orbit{position:absolute;border:1px solid rgba(99,210,225,.12);border-radius:50%;z-index:-2}
.auth-orbit-one{width:440px;height:440px;right:-220px;bottom:-145px;animation:authRotate 36s linear infinite}
.auth-orbit-one:before,.auth-orbit-two:before{content:"";position:absolute;width:8px;height:8px;border-radius:50%;background:var(--auth-cyan);box-shadow:0 0 20px var(--auth-cyan)}
.auth-orbit-one:before{top:52px;left:52px}
.auth-orbit-two{width:260px;height:260px;left:-120px;top:26%;animation:authRotate 28s linear infinite reverse}
.auth-orbit-two:before{right:20px;bottom:54px}
.auth-brand-header{display:flex;align-items:center;justify-content:space-between;gap:20px;position:relative;z-index:2}
.auth-wordmark{display:flex;align-items:center;gap:13px;color:#fff;text-decoration:none}
.auth-wordmark:hover{color:#fff}
.auth-wordmark-mark{height:42px;min-width:72px;padding:0 10px;border:1.5px solid rgba(255,255,255,.86);border-radius:10px;display:grid;place-items:center;font-size:11px;font-weight:900;letter-spacing:.5px;background:linear-gradient(145deg,rgba(255,255,255,.08),rgba(29,127,190,.25));box-shadow:inset 0 0 0 2px rgba(72,185,233,.12),0 8px 24px rgba(0,0,0,.16)}
.auth-wordmark-copy{display:flex;flex-direction:column;line-height:1.12}
.auth-wordmark-copy strong{font-size:16px;letter-spacing:-.2px}
.auth-wordmark-copy small{font-size:9px;color:#a9bfd4;margin-top:4px;letter-spacing:.15px}
.auth-secure-pill{display:inline-flex;align-items:center;gap:7px;border:1px solid rgba(167,218,239,.18);background:rgba(255,255,255,.055);backdrop-filter:blur(8px);border-radius:999px;padding:8px 12px;color:#c6d8e8;font-size:10px;font-weight:700}
.auth-secure-pill svg{width:14px;height:14px;color:var(--auth-cyan)}
.auth-brand-copy{position:relative;z-index:2;margin:auto 0 18px;max-width:720px;padding-top:50px}
.auth-kicker{display:inline-flex;align-items:center;gap:10px;font-size:10px;font-weight:800;letter-spacing:2px;text-transform:uppercase;color:#8fdde5;margin-bottom:18px}
.auth-kicker i{width:24px;height:1px;background:var(--auth-cyan);box-shadow:0 0 10px rgba(49,215,207,.8)}
.auth-brand-copy h1{font-size:clamp(38px,4.1vw,68px);line-height:1.04;letter-spacing:-2.4px;max-width:760px;margin:0 0 22px;font-weight:800;text-wrap:balance}
.auth-brand-copy p{max-width:625px;margin:0;color:#bbccdb;font-size:clamp(13px,1.15vw,17px);line-height:1.75}
.auth-capability-row{display:flex;gap:9px;flex-wrap:wrap;margin-top:28px}
.auth-capability-row span{display:flex;align-items:center;gap:9px;padding:9px 12px;border:1px solid rgba(170,215,235,.13);border-radius:10px;background:rgba(255,255,255,.045);color:#d1dfeb;font-size:10px;backdrop-filter:blur(8px)}
.auth-capability-row b{color:var(--auth-cyan);font-size:9px;letter-spacing:1px}

.auth-visualization{height:260px;position:relative;z-index:2;margin:10px 0 22px;max-width:820px}
.auth-plan-card{position:absolute;left:16%;top:22px;width:min(430px,58%);height:210px;border:1px solid rgba(173,220,239,.18);border-radius:18px;background:linear-gradient(150deg,rgba(13,39,77,.88),rgba(15,65,99,.66));backdrop-filter:blur(16px);box-shadow:0 28px 70px rgba(0,0,0,.27),inset 0 1px 0 rgba(255,255,255,.08);padding:18px 20px;transform:perspective(900px) rotateX(3deg) rotateY(-4deg);animation:authCardFloat 7s ease-in-out infinite}
.plan-card-top{display:flex;align-items:center;gap:7px;color:#a9bed0;font-size:9px;letter-spacing:.4px}
.plan-card-top b{margin-left:auto;color:#7ff0c9;border:1px solid rgba(127,240,201,.22);background:rgba(23,166,115,.12);border-radius:999px;padding:3px 8px;font-size:8px}
.plan-dot{width:7px;height:7px;border-radius:50%}.plan-dot-green{background:#28d291;box-shadow:0 0 0 4px rgba(40,210,145,.1)}
.plan-title{font-size:22px;font-weight:800;margin:26px 0 20px;letter-spacing:-.4px}
.plan-track{height:6px;border-radius:999px;background:rgba(255,255,255,.075);overflow:hidden}
.plan-track i{display:block;width:76%;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--auth-blue),var(--auth-cyan));box-shadow:0 0 16px rgba(49,215,207,.35);animation:authProgress 4.5s ease-in-out infinite}
.plan-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:23px}
.plan-stats span{border:1px solid rgba(255,255,255,.07);border-radius:10px;background:rgba(255,255,255,.035);padding:9px 10px;display:flex;flex-direction:column}
.plan-stats small{color:#8fa8bd;font-size:8px}.plan-stats strong{font-size:17px;margin-top:3px}
.auth-data-card{position:absolute;display:flex;align-items:center;gap:9px;min-width:190px;padding:11px 13px;border:1px solid rgba(176,222,240,.18);border-radius:13px;background:rgba(9,31,55,.88);backdrop-filter:blur(15px);box-shadow:0 18px 40px rgba(0,0,0,.23);animation:authMiniFloat 6s ease-in-out infinite}
.auth-data-card-a{right:2%;top:5px;animation-delay:-1s}.auth-data-card-b{right:0;bottom:18px;animation-delay:-3s}.auth-data-card-c{left:0;bottom:4px;animation-delay:-4.5s}
.data-card-icon{width:31px;height:31px;border-radius:9px;display:grid;place-items:center;background:rgba(72,185,233,.12);color:#68c9ee}.data-card-icon svg{width:16px;height:16px}
.auth-data-card>span:nth-child(2){display:flex;flex-direction:column;min-width:0}.auth-data-card small{font-size:8px;color:#8ba5ba}.auth-data-card strong{font-size:10px;color:#edf7fc;margin-top:2px;white-space:nowrap}.auth-data-card>i{width:6px;height:6px;border-radius:50%;background:var(--auth-cyan);margin-left:auto;box-shadow:0 0 12px rgba(49,215,207,.7)}
.auth-connection-lines{position:absolute;inset:0;width:100%;height:100%;overflow:visible;z-index:-1}
.line-path{fill:none;stroke:rgba(83,192,224,.22);stroke-width:1.1;stroke-dasharray:6 8;animation:authDash 9s linear infinite}
.line-path-two{animation-direction:reverse;stroke:rgba(49,215,207,.16)}
.auth-brand-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;color:#8099ae;font-size:9px;position:relative;z-index:2}
.auth-system-status{display:inline-flex;align-items:center;gap:7px}.auth-system-status i{width:6px;height:6px;border-radius:50%;background:#28d291;box-shadow:0 0 0 4px rgba(40,210,145,.09)}

/* Entry stage */
.auth-entry-stage{min-width:0;min-height:100vh;min-height:100dvh;background:
  radial-gradient(circle at 80% 8%,rgba(72,185,233,.1),transparent 24%),
  linear-gradient(160deg,#f8fbfd 0%,#eef4f9 100%);display:flex;flex-direction:column;position:relative;overflow:hidden}
.auth-entry-stage:before{content:"";position:absolute;width:340px;height:340px;border:1px solid rgba(29,127,190,.07);border-radius:50%;right:-190px;bottom:-160px;box-shadow:0 0 0 48px rgba(29,127,190,.025),0 0 0 96px rgba(29,127,190,.018)}
.auth-entry-header{height:82px;display:flex;align-items:center;justify-content:flex-end;padding:0 clamp(28px,4vw,62px);position:relative;z-index:3}
.auth-entry-links{display:flex;align-items:center;gap:24px;font-size:10px}.auth-entry-links a{color:#45627c;font-weight:700}.auth-entry-links a:hover{color:var(--auth-blue)}
.auth-lock-label{display:inline-flex;align-items:center;gap:6px;color:#74869a;border:1px solid #dce6ef;border-radius:999px;padding:7px 10px;background:rgba(255,255,255,.66)}
.auth-lock-label svg{width:12px;height:12px;color:var(--auth-success)}
.auth-mobile-brand{display:none}
.auth-entry-center{flex:1;display:grid;place-items:center;padding:34px clamp(28px,5vw,92px) 54px;position:relative;z-index:2}
.auth-card{position:relative;width:min(100%,510px);background:rgba(255,255,255,.93);border:1px solid rgba(205,220,233,.92);border-radius:24px;padding:8px 38px 31px;box-shadow:0 30px 80px rgba(17,47,75,.13),0 5px 18px rgba(17,47,75,.05);backdrop-filter:blur(18px);animation:authEnter .65s cubic-bezier(.2,.75,.2,1) both}
.auth-card-accent{position:absolute;top:-1px;left:58px;right:58px;height:3px;border-radius:0 0 999px 999px;background:linear-gradient(90deg,transparent,var(--auth-blue),var(--auth-cyan),transparent);opacity:.8}
.auth-portal-switch{display:grid;grid-template-columns:1fr 1fr;gap:4px;margin:11px -26px 31px;padding:4px;background:#edf3f8;border:1px solid #e0e8f0;border-radius:14px}
.auth-portal-switch a{min-height:45px;border-radius:10px;display:flex;align-items:center;justify-content:center;gap:8px;color:#718197;font-size:10px;font-weight:750;text-decoration:none}
.auth-portal-switch a svg{width:15px;height:15px}.auth-portal-switch a:hover{color:var(--auth-blue);background:rgba(255,255,255,.65)}
.auth-portal-switch a.is-active{color:var(--auth-navy-900);background:#fff;box-shadow:0 5px 16px rgba(31,69,101,.1);font-weight:850}
.auth-portal-switch a.is-active svg{color:var(--auth-blue)}
.auth-card-heading{text-align:left;margin-bottom:25px}
.auth-eyebrow{display:block;color:var(--auth-blue);font-size:9px;font-weight:850;letter-spacing:1.5px;margin-bottom:8px}
.auth-eyebrow-mfa{display:inline-flex;align-items:center;gap:7px}.auth-eyebrow-mfa svg{width:15px;height:15px;color:var(--auth-teal)}
.auth-card-heading h2{font-size:29px;line-height:1.15;letter-spacing:-.8px;color:var(--auth-ink);margin:0 0 9px;font-weight:800}
.auth-card-heading p{font-size:11px;line-height:1.7;color:var(--auth-muted);margin:0;max-width:420px}
.auth-alert{display:grid;grid-template-columns:24px 1fr auto;align-items:center;gap:10px;border-radius:11px;padding:10px 11px;margin:0 0 17px;font-size:10px;line-height:1.5;animation:authShake .35s ease both}
.auth-alert-danger{background:#fff0f2;color:#a83243;border:1px solid #f4c8ce}.auth-alert-success{background:#eaf8f2;color:#0a7550;border:1px solid #bde8d7}.auth-alert-warning{background:#fff7e6;color:#8b5b0c;border:1px solid #f1deae}.auth-alert-info{background:#edf7fc;color:#17618d;border:1px solid #c7e5f4}
.auth-alert-icon{width:22px;height:22px;border-radius:7px;display:grid;place-items:center;background:rgba(255,255,255,.65);font-weight:900}.auth-alert button{border:0;background:transparent;color:inherit;font-size:17px;line-height:1;cursor:pointer;opacity:.65}.auth-alert button:hover{opacity:1}
.auth-form{display:flex;flex-direction:column;gap:17px}
.auth-field{display:flex;flex-direction:column;gap:7px;position:relative}.auth-field>span:first-child{font-size:10px;font-weight:800;color:#344b63}
.auth-input-wrap{display:flex;align-items:center;position:relative;border:1px solid var(--auth-line);background:#fbfdff;border-radius:12px;min-height:51px;transition:border-color .18s ease,box-shadow .18s ease,background .18s ease,transform .18s ease}
.auth-input-wrap:focus-within{border-color:#5badd8;background:#fff;box-shadow:0 0 0 4px rgba(29,127,190,.1),0 8px 20px rgba(29,127,190,.06);transform:translateY(-1px)}
.auth-input-wrap>svg{position:absolute;left:15px;width:17px;height:17px;color:#7c91a7;pointer-events:none}
.auth-input-wrap input{width:100%;height:49px;border:0!important;outline:0!important;background:transparent!important;box-shadow:none!important;padding:0 48px 0 44px;color:var(--auth-ink);font-size:12px;font-weight:600}
.auth-input-wrap input::placeholder{color:#a1afbd;font-weight:500}
.auth-field-status{position:absolute;right:15px;width:7px;height:7px;border-radius:50%;background:#c9d4de;transition:.2s ease}.auth-input-wrap:focus-within .auth-field-status{background:var(--auth-cyan);box-shadow:0 0 0 4px rgba(49,215,207,.1)}
.auth-password-toggle{position:absolute;right:8px;width:38px;height:38px;display:grid;place-items:center;border:0;background:transparent;color:#7d90a3;border-radius:9px;cursor:pointer}.auth-password-toggle:hover{color:var(--auth-blue);background:#edf6fb}.auth-password-toggle svg{width:17px;height:17px}.auth-password-toggle .eye-closed{display:none}.auth-password-toggle[aria-pressed="true"] .eye-open{display:none}.auth-password-toggle[aria-pressed="true"] .eye-closed{display:block}
.auth-caps-warning{font-size:9px;color:#b56c0c;margin-top:-2px}.auth-captcha-field .auth-input-wrap{padding-left:46px}.auth-captcha-question{font-size:11px;font-weight:800;color:#314b63;white-space:nowrap}.auth-captcha-field .auth-input-wrap input{padding-left:8px}
.auth-submit{height:52px;border:0;border-radius:12px;color:#fff;background:linear-gradient(110deg,#155f9b 0%,var(--auth-blue) 45%,#269bc9 100%);display:flex;align-items:center;justify-content:center;gap:10px;font-size:11px;font-weight:850;letter-spacing:.1px;cursor:pointer;position:relative;overflow:hidden;box-shadow:0 10px 24px rgba(29,127,190,.25);transition:transform .2s ease,box-shadow .2s ease,filter .2s ease}
.auth-submit:before{content:"";position:absolute;top:-100%;left:-35%;width:28%;height:300%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.35),transparent);transform:rotate(18deg);animation:authButtonShine 5s ease-in-out infinite}
.auth-submit:hover{transform:translateY(-2px);box-shadow:0 15px 30px rgba(29,127,190,.3);filter:saturate(1.08)}.auth-submit:active{transform:translateY(0)}.auth-submit:focus-visible{outline:3px solid rgba(72,185,233,.35);outline-offset:3px}
.auth-submit svg{width:17px;height:17px;transition:transform .2s ease}.auth-submit:hover svg{transform:translateX(3px)}
.auth-submit.is-loading{pointer-events:none;filter:saturate(.7)}.auth-submit.is-loading .auth-submit-label,.auth-submit.is-loading>svg{opacity:.35}.auth-submit-loader{display:none;position:absolute;width:20px;height:20px;border-radius:50%;border:2px solid rgba(255,255,255,.35);border-top-color:#fff;animation:authSpin .7s linear infinite}.auth-submit.is-loading .auth-submit-loader{display:block}
.auth-form-trust{display:flex;align-items:center;justify-content:space-between;gap:15px;color:#7c8c9d;font-size:8px;margin-top:-4px}.auth-form-trust span:first-child{display:flex;align-items:center;gap:5px}.auth-form-trust svg{width:12px;height:12px;color:var(--auth-success)}
.auth-help{text-align:center;color:#7c8b9b;font-size:9.5px;margin:22px 0 0}.auth-help a{font-weight:800;color:var(--auth-blue)}
.auth-entry-footer{height:55px;padding:0 clamp(28px,4vw,62px);display:flex;align-items:center;justify-content:space-between;color:#8b9aab;font-size:8.5px;position:relative;z-index:2}

/* MFA */
.auth-identity-card{display:grid;grid-template-columns:42px 1fr 30px;align-items:center;gap:11px;padding:10px;border:1px solid #dfe9f1;background:#f7fafc;border-radius:13px}
.auth-identity-avatar{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;color:#0e5788;background:linear-gradient(145deg,#dff3fb,#bedff0);font-size:13px;font-weight:900}.auth-identity-card>span:nth-child(2){display:flex;flex-direction:column;min-width:0}.auth-identity-card strong{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.auth-identity-card small{font-size:8.5px;color:#7d8fa0;margin-top:2px}.auth-identity-check{width:27px;height:27px;border-radius:50%;display:grid;place-items:center;color:#fff;background:var(--auth-success);box-shadow:0 0 0 5px rgba(23,166,115,.09)}.auth-identity-check svg{width:15px;height:15px;stroke-width:2.4}
.otp-section{position:relative;text-align:center;padding:12px 0 1px}
.otp-native-input{position:absolute!important;inset:0!important;width:100%!important;height:94px!important;opacity:0!important;z-index:5!important;cursor:text!important;border:0!important;padding:0!important}
.otp-slots{display:grid;grid-template-columns:repeat(6,1fr);gap:9px;position:relative;z-index:2;transition:opacity .25s ease,transform .35s cubic-bezier(.2,.8,.2,1)}
.otp-slot{height:58px;border:1px solid #d7e2eb;border-radius:13px;background:#f9fbfd;display:grid;place-items:center;position:relative;overflow:hidden;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease,background .18s ease}
.otp-slot:before{content:"";position:absolute;inset:auto 9px 0;height:2px;border-radius:2px;background:transparent;transition:.2s ease}.otp-slot b{font-size:21px;color:var(--auth-ink);font-weight:750;line-height:1;transform:translateY(16px);opacity:0;transition:.25s cubic-bezier(.2,.8,.2,1)}
.otp-slot.is-filled{background:#fff;border-color:#9dcbe0;box-shadow:0 7px 18px rgba(29,127,190,.07)}.otp-slot.is-filled b{transform:translateY(0);opacity:1}.otp-slot.is-active{border-color:var(--auth-blue);box-shadow:0 0 0 4px rgba(29,127,190,.1);transform:translateY(-2px)}.otp-slot.is-active:before{background:linear-gradient(90deg,var(--auth-blue),var(--auth-cyan))}
.otp-section.is-complete .otp-slots{transform:scale(.94);opacity:.15}.otp-success-mark{position:absolute;left:50%;top:12px;width:58px;height:58px;margin-left:-29px;border-radius:17px;background:linear-gradient(145deg,#0f9b6a,#1bc98f);color:#fff;display:grid;place-items:center;opacity:0;transform:scale(.55) rotate(-12deg);z-index:3;box-shadow:0 0 0 12px rgba(23,166,115,.07),0 18px 40px rgba(23,166,115,.2);transition:.4s cubic-bezier(.2,.9,.25,1.35)}.otp-success-mark svg{width:31px;height:31px;stroke-width:2.5}.otp-section.is-complete .otp-success-mark{opacity:1;transform:scale(1) rotate(0)}
.otp-helper{font-size:9px;color:#8998a8;margin:14px 0 0;min-height:16px}.otp-section.is-complete .otp-helper{color:var(--auth-success);font-weight:750}.auth-text-button{align-self:center;border:0;background:transparent;color:#657e94;font-size:9.5px;font-weight:750;cursor:pointer;padding:3px}.auth-text-button:hover{color:var(--auth-blue);text-decoration:underline}.auth-recovery-wrap[hidden]{display:none}.auth-secondary-form{margin-top:10px}.auth-secondary-button{width:100%;height:43px;border:1px solid #dce5ee;border-radius:11px;background:#fff;color:#667b90;display:flex;align-items:center;justify-content:center;gap:8px;font-size:9.5px;font-weight:750;cursor:pointer}.auth-secondary-button:hover{border-color:#afc9da;color:var(--auth-blue);background:#f8fbfd}.auth-secondary-button svg{width:14px;height:14px}
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.auth-noscript{position:fixed;left:15px;right:15px;bottom:15px;z-index:99;background:#fff4dc;border:1px solid #edcf8b;color:#79550c;padding:10px 14px;border-radius:10px;font-size:11px;text-align:center}

/* Motion */
@keyframes authEnter{from{opacity:0;transform:translateY(18px) scale(.985)}to{opacity:1;transform:none}}
@keyframes authCardFloat{0%,100%{transform:perspective(900px) rotateX(3deg) rotateY(-4deg) translateY(0)}50%{transform:perspective(900px) rotateX(2deg) rotateY(-2deg) translateY(-8px)}}
@keyframes authMiniFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-7px)}}
@keyframes authProgress{0%,100%{width:72%}50%{width:82%}}
@keyframes authFloatGlow{0%,100%{transform:translate3d(0,0,0) scale(1)}50%{transform:translate3d(-18px,14px,0) scale(1.08)}}
@keyframes authRotate{to{transform:rotate(360deg)}}
@keyframes authDash{to{stroke-dashoffset:-140}}
@keyframes authButtonShine{0%,65%{left:-35%}80%,100%{left:125%}}
@keyframes authSpin{to{transform:rotate(360deg)}}
@keyframes authShake{0%{transform:translateX(-4px);opacity:0}45%{transform:translateX(3px)}100%{transform:none;opacity:1}}

/* Responsive */
@media(max-width:1180px){
  .auth-shell{grid-template-columns:minmax(430px,.92fr) minmax(460px,1.08fr)}
  .auth-brand-stage{padding-left:38px;padding-right:38px}
  .auth-brand-copy h1{font-size:46px;letter-spacing:-1.8px}
  .auth-visualization{transform:scale(.9);transform-origin:left center;width:111%}
  .auth-data-card-c{display:none}
}
@media(max-width:930px){
  .auth-shell{display:block;background:linear-gradient(160deg,#eef5fa,#f9fbfd)}
  .auth-brand-stage{min-height:auto;height:220px;padding:24px 28px;display:block;border-radius:0 0 32px 32px}
  .auth-brand-header{height:42px}.auth-secure-pill{display:none}
  .auth-brand-copy{margin:32px 0 0;padding:0;text-align:center;max-width:none}.auth-brand-copy h1{font-size:28px;letter-spacing:-.8px;margin-bottom:10px}.auth-brand-copy p{font-size:11px;max-width:550px;margin:auto}.auth-kicker,.auth-capability-row,.auth-visualization,.auth-brand-footer,.auth-orbit{display:none}
  .auth-entry-stage{min-height:calc(100vh - 190px);background:transparent;overflow:visible}
  .auth-entry-header{height:56px;padding:0 24px}.auth-entry-center{padding:20px 22px 48px;align-items:start}.auth-card{margin-top:-55px;width:min(100%,520px)}
}
@media(max-width:620px){
  .auth-brand-stage{height:174px;padding:18px 18px;border-radius:0 0 24px 24px}.auth-wordmark-copy strong{font-size:14px}.auth-wordmark-copy small{display:none}.auth-wordmark-mark{height:36px;min-width:66px;font-size:10px}.auth-brand-copy{margin-top:22px}.auth-brand-copy h1{font-size:22px}.auth-brand-copy p{font-size:9.5px;line-height:1.55;padding:0 6px}
  .auth-entry-header{height:48px;padding:0 16px}.auth-entry-links{width:100%;justify-content:flex-end}.auth-lock-label{display:none}.auth-entry-center{padding:14px 12px 30px}.auth-card{padding:7px 20px 25px;border-radius:20px;margin-top:-40px}.auth-card-accent{left:42px;right:42px}.auth-portal-switch{margin:9px -12px 25px}.auth-portal-switch a{font-size:9px;gap:5px}.auth-portal-switch a svg{width:13px;height:13px}.auth-card-heading h2{font-size:25px}.auth-card-heading p{font-size:10px}.auth-input-wrap{min-height:49px}.auth-input-wrap input{height:47px;font-size:11px}.auth-submit{height:50px}.auth-form-trust{display:block;text-align:center}.auth-form-trust span{justify-content:center}.auth-form-trust span:last-child{display:none}.auth-entry-footer{height:45px;padding:0 16px;justify-content:center}.auth-entry-footer span:last-child{display:none}.otp-slots{gap:6px}.otp-slot{height:52px;border-radius:11px}.otp-slot b{font-size:18px}.otp-success-mark{top:9px;width:52px;height:52px;margin-left:-26px}.auth-identity-card{grid-template-columns:38px 1fr 26px}.auth-identity-avatar{width:38px;height:38px}.auth-captcha-question{font-size:10px}
}
@media(max-width:390px){.auth-portal-switch a{font-size:8px}.auth-card{padding-left:16px;padding-right:16px}.otp-slots{gap:4px}.otp-slot{height:48px}.auth-brand-copy p{display:none}}
@media(prefers-reduced-motion:reduce){
  .auth-card-flow-frame{animation:none!important;--auth-frame-angle:38deg}
  *,*:before,*:after{animation-duration:.001ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.001ms!important}
}

/* ========================================================================== */
/* v9.8 Premium Motion Login                                                   */
/* ========================================================================== */
:root{
  --auth-electric:#2aa9eb;
  --auth-luminous:#53e5dd;
  --auth-deep:#07182d;
  --auth-display:"Aptos Display","Segoe UI Variable Display","Segoe UI",Arial,sans-serif;
  --auth-text:"Aptos","Segoe UI Variable Text","Segoe UI",Arial,sans-serif;
}
body.mdceo-auth{font-family:var(--auth-text);font-feature-settings:"kern" 1,"liga" 1;text-rendering:optimizeLegibility}
.auth-brand-copy h1,.auth-card-heading h2,.plan-title,.auth-wordmark-copy strong{font-family:var(--auth-display)}

/* Refined left stage */
.auth-brand-stage{background:
  radial-gradient(circle at 78% 18%,rgba(53,229,221,.20),transparent 28%),
  radial-gradient(circle at 18% 74%,rgba(42,169,235,.20),transparent 34%),
  linear-gradient(142deg,#051326 0%,#081d35 43%,#0a3152 100%)}
.auth-brand-stage:before{content:"";position:absolute;inset:-30%;z-index:-3;pointer-events:none;background:conic-gradient(from 210deg at 53% 48%,transparent 0 30%,rgba(43,174,231,.09) 38%,rgba(67,229,216,.14) 43%,transparent 50% 100%);animation:authAuroraRotate 20s linear infinite}
.auth-blueprint-grid{opacity:.58;background-size:72px 72px,72px 72px,18px 18px,18px 18px;animation:authGridDrift 24s linear infinite}
.auth-brand-stage:after{background:linear-gradient(112deg,rgba(6,20,38,.15),transparent 48%,rgba(45,174,225,.11));mix-blend-mode:screen}
.auth-aurora-ribbon{position:absolute;z-index:-1;width:78%;height:160px;left:-10%;border-radius:50%;filter:blur(24px);opacity:.35;pointer-events:none;transform:rotate(-17deg);background:linear-gradient(90deg,transparent,rgba(38,164,227,.18),rgba(66,229,216,.30),transparent);animation:authRibbonFlow 10s ease-in-out infinite}
.auth-aurora-ribbon-one{top:28%}.auth-aurora-ribbon-two{left:36%;top:66%;opacity:.22;transform:rotate(17deg);animation-delay:-5s;animation-direction:reverse}
.auth-scan-beam{position:absolute;inset:-20% auto -20% -14%;width:18%;z-index:-1;pointer-events:none;background:linear-gradient(90deg,transparent,rgba(92,216,247,.08),rgba(128,245,232,.13),transparent);filter:blur(10px);transform:skewX(-15deg);animation:authScanBeam 9s cubic-bezier(.4,0,.2,1) infinite}
.auth-particles i{position:absolute;width:5px;height:5px;border-radius:50%;background:#55e8dc;box-shadow:0 0 16px rgba(85,232,220,.9);opacity:.65;animation:authParticleFloat 8s ease-in-out infinite}
.auth-particles i:nth-child(1){left:8%;top:29%}.auth-particles i:nth-child(2){left:31%;top:18%;animation-delay:-2s}.auth-particles i:nth-child(3){right:13%;top:34%;animation-delay:-5s}.auth-particles i:nth-child(4){left:14%;bottom:20%;animation-delay:-3s}.auth-particles i:nth-child(5){right:28%;bottom:12%;animation-delay:-6s}.auth-particles i:nth-child(6){right:4%;bottom:39%;animation-delay:-4s}

.auth-wordmark-mark{position:relative;overflow:hidden;border-color:rgba(211,245,255,.9);background:linear-gradient(145deg,rgba(255,255,255,.08),rgba(29,127,190,.30));box-shadow:inset 0 0 0 2px rgba(72,185,233,.14),0 10px 30px rgba(0,0,0,.22),0 0 26px rgba(45,184,230,.10)}
.auth-wordmark-mark:after{content:"";position:absolute;inset:-100% -45%;background:linear-gradient(110deg,transparent 40%,rgba(255,255,255,.45) 50%,transparent 60%);animation:authLogoShine 5.5s ease-in-out infinite}
.auth-secure-pill{box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 12px 30px rgba(0,0,0,.10)}
.auth-brand-copy{max-width:790px;margin:auto 0 6px;padding-top:38px}
.auth-kicker{padding:7px 10px 7px 0;margin-bottom:20px;color:#a2edf0}
.auth-kicker em{font-style:normal;font-size:7px;letter-spacing:1px;color:#8dffd6;background:rgba(21,170,118,.14);border:1px solid rgba(89,235,181,.2);border-radius:999px;padding:4px 7px;box-shadow:0 0 18px rgba(35,206,161,.08)}
.auth-brand-copy h1{font-size:clamp(40px,4.25vw,70px);line-height:.99;letter-spacing:-2.7px;margin-bottom:24px;font-weight:850;max-width:760px}
.auth-brand-copy h1 span,.auth-brand-copy h1 strong{display:block}
.auth-brand-copy h1 strong{font-weight:850;color:transparent;background:linear-gradient(90deg,#fff 0%,#c9f5ff 34%,#5ee4e0 70%,#fff 100%);background-size:220% 100%;-webkit-background-clip:text;background-clip:text;animation:authHeadlineGlow 7s ease-in-out infinite;filter:drop-shadow(0 0 18px rgba(70,221,217,.10))}
.auth-brand-copy p{max-width:680px;color:#c0d1df;font-size:clamp(13px,1.12vw,16.5px);line-height:1.72}
.auth-brand-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;max-width:690px;margin-top:25px}
.auth-brand-metrics>span{position:relative;min-height:67px;border:1px solid rgba(175,222,241,.13);border-radius:13px;padding:11px 12px 10px 38px;background:linear-gradient(145deg,rgba(255,255,255,.05),rgba(255,255,255,.025));backdrop-filter:blur(10px);box-shadow:inset 0 1px 0 rgba(255,255,255,.04);transition:.3s ease}
.auth-brand-metrics>span:hover{transform:translateY(-3px);border-color:rgba(88,222,225,.26);background:rgba(255,255,255,.065)}
.auth-brand-metrics b{position:absolute;left:12px;top:13px;color:#5de8df;font-size:8px;letter-spacing:1px}
.auth-brand-metrics strong{display:block;font-size:11px;color:#edf9fc;letter-spacing:.1px}.auth-brand-metrics small{display:block;margin-top:5px;color:#8faabd;font-size:8px}
.auth-capability-row{margin-top:12px}.auth-capability-row span{background:rgba(4,25,45,.34);border-color:rgba(161,219,238,.12)}

.auth-visualization{height:250px;margin:8px 0 16px}
.auth-plan-card{overflow:hidden;border-color:rgba(174,229,242,.20);background:linear-gradient(150deg,rgba(11,43,78,.91),rgba(12,73,102,.65));box-shadow:0 32px 80px rgba(0,0,0,.31),inset 0 1px 0 rgba(255,255,255,.09),0 0 50px rgba(27,154,205,.08)}
.auth-plan-card:before{content:"";position:absolute;inset:0;border-radius:inherit;padding:1px;background:linear-gradient(115deg,rgba(77,213,246,.02),rgba(93,232,222,.68),rgba(47,152,232,.12),rgba(93,232,222,.5),rgba(77,213,246,.02));background-size:260% 100%;-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;animation:authBorderTravel 6s linear infinite;pointer-events:none}
.auth-plan-card:after{content:"";position:absolute;left:-45%;top:-70%;width:34%;height:240%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.10),transparent);transform:rotate(18deg);animation:authPanelShine 7s ease-in-out infinite}
.auth-data-card{border-color:rgba(176,225,241,.20);background:linear-gradient(145deg,rgba(6,29,53,.92),rgba(11,52,78,.88));box-shadow:0 20px 46px rgba(0,0,0,.26),inset 0 1px 0 rgba(255,255,255,.05)}

/* Refined entry background and moving light */
.auth-entry-stage{background:
  radial-gradient(circle at 76% 12%,rgba(59,183,234,.13),transparent 24%),
  radial-gradient(circle at 22% 88%,rgba(60,211,204,.07),transparent 28%),
  linear-gradient(158deg,#fbfdff 0%,#eef5fa 62%,#e9f2f8 100%)}
.auth-entry-stage:after{content:"";position:absolute;inset:-35%;pointer-events:none;background:conic-gradient(from 30deg at 50% 50%,transparent 0 33%,rgba(67,185,231,.075) 40%,rgba(87,227,214,.10) 44%,transparent 50% 100%);animation:authEntryGlow 18s linear infinite}
.auth-entry-center:before{content:"";position:absolute;width:560px;height:560px;border-radius:50%;background:radial-gradient(circle,rgba(43,168,227,.10),rgba(77,221,211,.04) 35%,transparent 68%);filter:blur(9px);animation:authEntryPulse 7s ease-in-out infinite;pointer-events:none}

/* Premium card, animated border and sheen */
.auth-card{isolation:isolate;overflow:hidden;width:min(100%,525px);border:1px solid rgba(189,215,231,.78);border-radius:25px;background:rgba(255,255,255,.925);box-shadow:0 34px 90px rgba(16,49,79,.15),0 8px 24px rgba(16,49,79,.06),inset 0 1px 0 rgba(255,255,255,.95);backdrop-filter:blur(24px) saturate(1.08)}
.auth-card:before{content:"";position:absolute;inset:0;z-index:5;border-radius:inherit;padding:1.5px;background:conic-gradient(from 0deg,rgba(25,125,190,.08),rgba(41,170,234,.82),rgba(76,229,218,.95),rgba(255,255,255,.18),rgba(34,143,219,.78),rgba(25,125,190,.08));-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;animation:authCardBorderOrbit 7s linear infinite;pointer-events:none}
.auth-card-glow{position:absolute!important;z-index:0!important;inset:-45%;background:conic-gradient(from 120deg,transparent 0 34%,rgba(41,170,234,.10) 41%,rgba(74,227,217,.13) 46%,transparent 54% 100%);animation:authCardGlowSpin 16s linear infinite;pointer-events:none}
.auth-card-sheen{position:absolute!important;z-index:1!important;left:-60%;top:-80%;width:33%;height:270%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.42),transparent);transform:rotate(18deg);filter:blur(3px);animation:authCardSheen 8s ease-in-out infinite;pointer-events:none}
.auth-card>nav,.auth-card>.auth-card-heading,.auth-card>.auth-alert,.auth-card>form,.auth-card>.auth-help,.auth-card>.auth-success-experience{position:relative;z-index:3}
.auth-card-accent{z-index:4;left:46px;right:46px;height:3px;background:linear-gradient(90deg,transparent,#299fdf,#5ae8dc,#299fdf,transparent);background-size:220% 100%;animation:authAccentTravel 5s linear infinite;box-shadow:0 0 18px rgba(57,190,226,.30)}
.auth-card-heading h2{font-weight:850;letter-spacing:-1px}
.auth-card-heading p{font-size:11.2px}
.auth-eyebrow{letter-spacing:1.7px}
.auth-eyebrow-success{color:#0c9569}.auth-eyebrow-success svg{color:#14b77c}

.auth-portal-switch{border:1px solid transparent;background:linear-gradient(#edf3f8,#edf3f8) padding-box,linear-gradient(110deg,#d7e5ee,#35a9e4,#57dfd6,#d7e5ee) border-box;background-size:100% 100%,260% 100%;animation:authInputBorder 8s linear infinite;box-shadow:inset 0 1px 2px rgba(32,76,108,.06)}
.auth-portal-switch a.is-active{box-shadow:0 7px 20px rgba(17,70,105,.11),inset 0 0 0 1px rgba(44,160,219,.06)}

/* Animated field frames */
.auth-input-wrap{border:1px solid transparent;background:linear-gradient(#fbfdff,#fbfdff) padding-box,linear-gradient(112deg,#d8e4ed 0 36%,#35a9e4 47%,#5ae5da 53%,#d8e4ed 64% 100%) border-box;background-size:100% 100%,300% 100%;animation:authInputBorder 8s linear infinite;box-shadow:0 7px 20px rgba(23,77,112,.025)}
.auth-input-wrap:focus-within{border-color:transparent;background:linear-gradient(#fff,#fff) padding-box,linear-gradient(112deg,#2494d4,#61e9de,#2494d4) border-box;background-size:100% 100%,220% 100%;animation-duration:2.7s;box-shadow:0 0 0 4px rgba(29,127,190,.09),0 13px 30px rgba(29,127,190,.09)}
.auth-input-wrap>svg{transition:color .2s ease,filter .2s ease}.auth-input-wrap:focus-within>svg{color:#168bc9;filter:drop-shadow(0 0 5px rgba(40,173,226,.22))}
.auth-submit{background:linear-gradient(105deg,#176ca9,#238dcb,#29a9d4,#176ca9);background-size:260% 100%;animation:authSubmitGradient 6s ease-in-out infinite;box-shadow:0 13px 30px rgba(25,126,188,.25),0 0 0 1px rgba(27,142,207,.10)}
.auth-submit:after{content:"";position:absolute;inset:0;border-radius:inherit;box-shadow:inset 0 1px 0 rgba(255,255,255,.32);pointer-events:none}

/* Clear MFA state machine: idle -> checking -> server success/error */
.otp-section{min-height:100px;padding-top:12px}
.otp-slots{transition:opacity .3s ease,transform .38s cubic-bezier(.2,.8,.2,1),filter .3s ease}
.otp-slot{border:1px solid transparent;background:linear-gradient(#f9fbfd,#f9fbfd) padding-box,linear-gradient(112deg,#d7e2eb 0 40%,#35a9e4 49%,#58e5da 55%,#d7e2eb 66%) border-box;background-size:100% 100%,330% 100%;animation:authInputBorder 9s linear infinite}
.otp-slot.is-active{border-color:transparent;background:linear-gradient(#fff,#fff) padding-box,linear-gradient(112deg,#168bce,#5ae6db,#168bce) border-box;box-shadow:0 0 0 4px rgba(29,127,190,.09),0 10px 24px rgba(29,127,190,.09)}
.otp-feedback{position:absolute;left:50%;top:7px;width:68px;height:68px;margin-left:-34px;z-index:4;display:grid;place-items:center;opacity:0;transform:scale(.72);pointer-events:none;transition:.36s cubic-bezier(.2,.9,.25,1.2)}
.otp-feedback-ring{position:absolute;inset:0;border-radius:22px;background:linear-gradient(145deg,#eaf7fc,#dff8f4);box-shadow:0 0 0 12px rgba(42,169,235,.055),0 18px 42px rgba(33,127,180,.15)}
.otp-feedback-ring:before{content:"";position:absolute;inset:-3px;border-radius:24px;background:conic-gradient(from 0deg,transparent 0 16%,#249edf 28%,#51e4d9 55%,transparent 70% 100%);-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);padding:2px;-webkit-mask-composite:xor;mask-composite:exclude;animation:authSpin 1s linear infinite}
.otp-feedback-icon{position:relative;width:38px;height:38px;border-radius:14px;display:grid;place-items:center}
.otp-feedback-loading{background:linear-gradient(145deg,#1b80bc,#28a9d2)}.otp-feedback-loading i{width:18px;height:18px;border:2px solid rgba(255,255,255,.36);border-top-color:#fff;border-radius:50%;animation:authSpin .65s linear infinite}
.otp-feedback-error{display:none;background:linear-gradient(145deg,#d9495b,#ef6a70);color:#fff;box-shadow:0 12px 28px rgba(217,73,91,.22)}.otp-feedback-error svg{width:21px;height:21px;stroke-width:2.5}
.otp-section.is-verifying .otp-slots{opacity:.12;transform:scale(.94);filter:blur(.4px)}
.otp-section.is-verifying .otp-feedback{opacity:1;transform:scale(1)}
.otp-section.is-verifying .otp-helper{color:#1783bd;font-weight:800}
.otp-section.is-error .otp-slots{animation:authOtpShake .52s ease both}.otp-section.is-error .otp-slot{background:linear-gradient(#fff7f8,#fff7f8) padding-box,linear-gradient(110deg,#ef8793,#d94d5c,#ef8793) border-box;animation:none}
.otp-section.is-error .otp-feedback{opacity:1;transform:scale(1)}.otp-section.is-error .otp-feedback-ring{background:linear-gradient(145deg,#fff2f4,#ffe7ea);box-shadow:0 0 0 12px rgba(217,77,92,.055),0 18px 42px rgba(177,52,67,.13)}
.otp-section.is-error .otp-feedback-ring:before{background:conic-gradient(from 0deg,transparent 0 18%,#e45766 32%,#ff9aa4 57%,transparent 73% 100%);animation:authErrorRing .8s ease-out both}
.otp-section.is-error .otp-feedback-loading{display:none}.otp-section.is-error .otp-feedback-error{display:grid;animation:authErrorPop .48s cubic-bezier(.2,.95,.24,1.3) both}
.otp-section.is-error .otp-slots{opacity:.13;transform:scale(.94)}.otp-section.is-error .otp-helper{color:#bb3546;font-weight:800}
.has-mfa-error .auth-alert-danger{animation:authErrorAlert .52s cubic-bezier(.2,.8,.2,1) both;box-shadow:0 10px 28px rgba(197,59,75,.09)}

/* Authenticated success scene after the server accepts MFA */
.is-success-stage .auth-card{width:min(100%,490px)}
.is-success-stage .auth-card-heading{text-align:center;margin-bottom:10px}
.is-success-stage .auth-card-heading p{margin-left:auto;margin-right:auto}
.auth-success-experience{text-align:center;padding:4px 4px 2px}
.auth-success-orbit{position:relative;width:142px;height:142px;margin:4px auto 18px;display:grid;place-items:center}
.auth-success-ring{position:absolute;border-radius:50%;border:1px solid rgba(23,166,115,.18);animation:authSuccessRipple 2.2s ease-out infinite}
.auth-success-ring-one{inset:7px}.auth-success-ring-two{inset:0;animation-delay:.35s}.auth-success-ring-three{inset:-9px;animation-delay:.7s}
.auth-success-check{position:relative;width:76px;height:76px;border-radius:25px;display:grid;place-items:center;color:#fff;background:linear-gradient(145deg,#0e9b69,#20c992);box-shadow:0 0 0 12px rgba(23,166,115,.07),0 22px 48px rgba(17,155,105,.25);animation:authSuccessCheck .65s cubic-bezier(.2,.95,.25,1.3) both}
.auth-success-check:after{content:"";position:absolute;inset:-16px;border-radius:32px;border:1px solid rgba(41,202,150,.22);animation:authSuccessHalo 1.7s ease-in-out infinite}
.auth-success-check svg{width:38px;height:38px;stroke-width:2.5;stroke-dasharray:30;stroke-dashoffset:30;animation:authCheckDraw .55s .25s ease forwards}
.auth-success-user{display:flex;align-items:center;gap:11px;text-align:left;padding:10px 12px;border:1px solid #dbeae6;background:linear-gradient(135deg,#f7fcfa,#f3fafc);border-radius:14px;max-width:340px;margin:0 auto 15px}
.auth-success-user>span{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;color:#087952;background:linear-gradient(145deg,#dff7ed,#c8eee3);font-weight:900}.auth-success-user>div{display:flex;flex-direction:column}.auth-success-user strong{font-size:11px}.auth-success-user small{font-size:8.5px;color:#718b85;margin-top:3px}
.auth-success-progress{height:5px;max-width:340px;margin:0 auto;border-radius:999px;background:#e7f1f2;overflow:hidden}.auth-success-progress i{display:block;width:0;height:100%;border-radius:inherit;background:linear-gradient(90deg,#1481bf,#2cc7b3);box-shadow:0 0 14px rgba(44,199,179,.3);animation:authSuccessProgress 1.65s .15s cubic-bezier(.2,.7,.2,1) forwards}
.auth-success-experience>p{font-size:9.5px;color:#6f8492;margin:11px 0}.auth-success-continue{display:inline-flex;color:#197fb8;font-size:9px;font-weight:800;text-decoration:none}.auth-success-continue:hover{text-decoration:underline}

/* Motion */
@keyframes authAuroraRotate{to{transform:rotate(360deg)}}
@keyframes authGridDrift{to{background-position:72px 72px,72px 72px,18px 18px,18px 18px}}
@keyframes authRibbonFlow{0%,100%{transform:translate3d(-3%,0,0) rotate(-17deg) scale(.96);opacity:.20}50%{transform:translate3d(18%,12px,0) rotate(-13deg) scale(1.08);opacity:.43}}
@keyframes authScanBeam{0%,18%{transform:translateX(-10vw) skewX(-15deg);opacity:0}45%{opacity:1}78%,100%{transform:translateX(125vw) skewX(-15deg);opacity:0}}
@keyframes authParticleFloat{0%,100%{transform:translateY(0) scale(.8);opacity:.28}50%{transform:translateY(-18px) scale(1.2);opacity:.85}}
@keyframes authLogoShine{0%,62%{transform:translateX(-120%)}82%,100%{transform:translateX(220%)}}
@keyframes authHeadlineGlow{0%,100%{background-position:0 50%}50%{background-position:100% 50%}}
@keyframes authBorderTravel{to{background-position:260% 0}}
@keyframes authPanelShine{0%,63%{left:-45%}82%,100%{left:125%}}
@keyframes authEntryGlow{to{transform:rotate(360deg)}}
@keyframes authEntryPulse{0%,100%{transform:scale(.92);opacity:.52}50%{transform:scale(1.08);opacity:.86}}
@keyframes authCardBorderOrbit{to{transform:rotate(360deg)}}
@keyframes authCardGlowSpin{to{transform:rotate(360deg)}}
@keyframes authCardSheen{0%,65%{left:-60%;opacity:0}72%{opacity:.8}88%,100%{left:135%;opacity:0}}
@keyframes authAccentTravel{to{background-position:220% 0}}
@keyframes authInputBorder{to{background-position:0 0,300% 0}}
@keyframes authSubmitGradient{0%,100%{background-position:0 50%}50%{background-position:100% 50%}}
@keyframes authOtpShake{0%,100%{transform:translateX(0) scale(.94)}18%{transform:translateX(-7px) scale(.94)}38%{transform:translateX(6px) scale(.94)}58%{transform:translateX(-4px) scale(.94)}78%{transform:translateX(3px) scale(.94)}}
@keyframes authErrorRing{from{transform:rotate(-120deg) scale(.7);opacity:0}to{transform:rotate(0) scale(1);opacity:1}}
@keyframes authErrorPop{from{transform:scale(.5) rotate(-18deg);opacity:0}to{transform:scale(1) rotate(0);opacity:1}}
@keyframes authErrorAlert{0%{transform:translateY(-8px);opacity:0}65%{transform:translateY(2px)}100%{transform:none;opacity:1}}
@keyframes authSuccessRipple{0%{transform:scale(.68);opacity:0}35%{opacity:.65}100%{transform:scale(1.16);opacity:0}}
@keyframes authSuccessCheck{from{transform:scale(.5) rotate(-14deg);opacity:0}to{transform:scale(1) rotate(0);opacity:1}}
@keyframes authSuccessHalo{0%,100%{transform:scale(.92);opacity:.3}50%{transform:scale(1.12);opacity:.8}}
@keyframes authCheckDraw{to{stroke-dashoffset:0}}
@keyframes authSuccessProgress{to{width:100%}}

@media(max-height:820px) and (min-width:931px){
  .auth-brand-copy{padding-top:24px}.auth-brand-copy h1{font-size:clamp(38px,3.7vw,60px);margin-bottom:16px}.auth-brand-copy p{line-height:1.55}.auth-brand-metrics{margin-top:16px}.auth-capability-row{margin-top:9px}.auth-visualization{height:205px}.auth-plan-card{height:180px}.plan-title{margin:18px 0 15px}.plan-stats{margin-top:15px}.auth-data-card-b{bottom:6px}.auth-data-card-c{bottom:-4px}
}
@media(max-width:1180px){.auth-brand-metrics{grid-template-columns:1fr}.auth-brand-metrics>span{display:none}.auth-brand-metrics>span:first-child{display:block;max-width:230px}.auth-brand-copy h1{font-size:45px}.auth-visualization{margin-top:5px}}
@media(max-width:930px){.auth-brand-metrics,.auth-aurora-ribbon,.auth-scan-beam,.auth-particles{display:none}.auth-brand-copy h1 span,.auth-brand-copy h1 strong{display:inline}.auth-brand-copy h1 strong{margin-left:.25em}.auth-card:before{animation-duration:9s}}
@media(max-width:620px){.auth-card{border-radius:22px}.auth-success-orbit{width:120px;height:120px}.auth-success-check{width:66px;height:66px;border-radius:22px}.otp-feedback{top:5px;width:62px;height:62px;margin-left:-31px}.auth-card-sheen{display:none}}
@media(prefers-reduced-motion:reduce){.auth-card:before,.auth-input-wrap,.auth-portal-switch,.otp-slot{animation:none!important}}

/* ========================================================================== */
/* v9.9 Official Portal Frame & Stable MFA                                    */
/* ========================================================================== */

/* The entry background remains soft and luminous without rotating polygons. */
.auth-entry-stage:after{content:none!important}
.auth-entry-center:before{
  width:620px;height:620px;
  background:
    radial-gradient(circle,rgba(43,168,227,.09) 0,rgba(77,221,211,.035) 34%,transparent 68%),
    repeating-radial-gradient(circle,transparent 0 82px,rgba(40,155,211,.028) 83px 84px,transparent 85px 118px);
  filter:blur(1px);
  animation:authEntryHaloBreath 8s ease-in-out infinite;
}

/* Formal corporate message. */
.auth-brand-copy{max-width:820px}
.auth-kicker{max-width:760px;line-height:1.45;letter-spacing:1.65px}
.auth-brand-copy h1{max-width:820px;font-size:clamp(40px,4vw,66px);letter-spacing:-2.35px;line-height:1.01}
.auth-brand-copy h1 strong{
  display:inline-block;
  width:max-content;
  max-width:100%;
  margin-top:5px;
  font-size:.78em;
  letter-spacing:-1.35px;
  background:linear-gradient(90deg,#d9f7ff 0%,#69e7e2 42%,#eefcff 76%,#75d6f5 100%);
  background-size:220% 100%;
  -webkit-background-clip:text;background-clip:text;color:transparent;
}
.auth-brand-copy p{max-width:720px;color:#c6d7e4}
.auth-brand-metrics>span{min-height:72px;padding-top:13px}
.auth-brand-metrics strong{font-size:11.4px}

/* One continuous perimeter flow: cyan to silver, clockwise, without dashes or nodes. */
@property --auth-frame-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}
.auth-card{
  overflow:visible;
  width:min(100%,525px);
  min-height:552px;
  border:0;
  background:rgba(255,255,255,.955);
  box-shadow:
    0 34px 90px rgba(16,49,79,.15),
    0 8px 24px rgba(16,49,79,.055),
    0 0 0 8px rgba(255,255,255,.22),
    inset 0 1px 0 rgba(255,255,255,.98);
}
.auth-card:before{content:none!important}
.auth-card:after{
  content:"";
  position:absolute;inset:0;z-index:0;border-radius:inherit;pointer-events:none;
  background:
    radial-gradient(circle at var(--auth-pointer-x,68%) var(--auth-pointer-y,12%),rgba(69,193,235,.08),transparent 27%),
    radial-gradient(circle at 13% 92%,rgba(77,226,214,.055),transparent 28%);
}
.auth-card-glow,.auth-card-accent,.auth-card-sheen{display:none!important}
.auth-card>nav,.auth-card>.auth-card-heading,.auth-card>.auth-alert,.auth-card>form,.auth-card>.auth-help,.auth-card>.auth-success-experience{position:relative;z-index:3}

.auth-card-flow-frame{
  --auth-frame-angle:0deg;
  position:absolute;
  inset:-3px;
  z-index:1;
  border:2px solid transparent;
  border-radius:27px;
  pointer-events:none;
  background:
    linear-gradient(rgba(255,255,255,.965),rgba(255,255,255,.965)) padding-box,
    conic-gradient(
      from var(--auth-frame-angle),
      #28bff0 0deg,
      #69d8f2 72deg,
      #f6f8fa 132deg,
      #aebbc6 200deg,
      #dce4ea 258deg,
      #43c6ed 320deg,
      #28bff0 360deg
    ) border-box;
  box-shadow:
    0 0 0 1px rgba(113,188,224,.16),
    0 0 22px rgba(46,184,231,.16),
    inset 0 0 18px rgba(114,205,235,.035);
  animation:authFrameFlow 6.2s linear infinite;
}
.auth-card-flow-frame:after{
  content:"";
  position:absolute;
  inset:-1px;
  border-radius:inherit;
  pointer-events:none;
  box-shadow:0 0 13px rgba(53,191,235,.16);
  opacity:.72;
}
/* Portal switch and fields retain restrained motion only inside their borders. */
.auth-portal-switch{
  border-color:rgba(184,215,232,.95);
  background:linear-gradient(135deg,#edf4f9,#e7f0f6);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.92),0 8px 22px rgba(19,71,108,.05);
}
.auth-input-wrap,.otp-slot{
  animation-duration:12s;
}

/* Keep MFA and success states on the same canvas to prevent layout jumps. */
.is-mfa-stage .auth-card,
.is-success-stage .auth-card{
  width:min(100%,525px)!important;
  min-height:552px;
}
.is-success-stage .auth-card{padding-top:28px}
.auth-eyebrow-success{
  display:inline-flex;align-items:center;justify-content:center;gap:7px;
}
.auth-eyebrow-success svg{width:15px!important;height:15px!important;flex:0 0 15px;color:#14b77c}
.is-success-stage .auth-card-heading{text-align:center;margin-bottom:16px}
.is-success-stage .auth-card-heading h2{font-size:28px}
.is-success-stage .auth-card-heading p{margin-left:auto;margin-right:auto;max-width:360px}
.auth-success-experience{display:flex;flex-direction:column;justify-content:center;min-height:326px;padding:0 8px 4px}
.auth-success-orbit{width:108px;height:108px;margin:4px auto 19px}
.auth-success-check{width:62px;height:62px;border-radius:21px;box-shadow:0 0 0 10px rgba(23,166,115,.065),0 18px 38px rgba(17,155,105,.22)}
.auth-success-check:after{inset:-12px;border-radius:27px}
.auth-success-check svg{width:31px;height:31px}
.auth-success-ring-one{inset:5px}.auth-success-ring-two{inset:0}.auth-success-ring-three{inset:-7px}
.auth-success-user{width:100%;max-width:350px}
.auth-success-progress{width:100%;max-width:350px}

/* Error and checking feedback stay inside the fixed MFA region. */
.otp-section{min-height:108px}
.otp-feedback{top:8px;width:66px;height:66px;margin-left:-33px}
.otp-section.is-verifying .otp-slots,
.otp-section.is-error .otp-slots{transform:scale(.96)}
.has-mfa-error .auth-card{min-height:552px}
.auth-alert{flex-shrink:0}

@keyframes authFrameFlow{to{--auth-frame-angle:360deg}}
@keyframes authEntryHaloBreath{0%,100%{transform:scale(.96);opacity:.62}50%{transform:scale(1.04);opacity:.92}}

@media(max-height:820px) and (min-width:931px){
  .auth-card,.is-mfa-stage .auth-card,.is-success-stage .auth-card{min-height:500px}
  .auth-success-experience{min-height:280px}
  .auth-success-orbit{width:92px;height:92px;margin-bottom:14px}
  .auth-success-check{width:54px;height:54px;border-radius:18px}
}
@media(max-width:930px){
  .auth-card-flow-frame{inset:-2px;border-radius:25px}
  .auth-brand-copy h1 strong{display:inline;width:auto;margin-left:.25em;font-size:1em}
  .auth-card,.is-mfa-stage .auth-card,.is-success-stage .auth-card{min-height:auto}
}
@media(max-width:620px){
  .auth-success-experience{min-height:286px}
}
@media(prefers-reduced-motion:reduce){
  .auth-card-flow-frame{animation:none!important;--auth-frame-angle:38deg}
}
/* v10.3 verification-method selector */
.auth-mfa-methods{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:0 0 12px}.auth-mfa-methods form{margin:0}.auth-mfa-methods button{width:100%;display:flex;align-items:center;gap:9px;text-align:left;padding:10px 12px;border:1px solid #d6e3ed;border-radius:12px;background:#f8fbfd;color:#50657c;cursor:pointer;transition:border-color .18s,background .18s,transform .18s}.auth-mfa-methods button:hover{transform:translateY(-1px);border-color:#80c9eb}.auth-mfa-methods button.is-active{border-color:#24a9df;background:linear-gradient(135deg,#eefaff,#f7fdff);color:#0b6fae;box-shadow:0 0 0 3px rgba(36,169,223,.09)}.auth-mfa-methods svg{width:18px;height:18px}.auth-mfa-methods strong,.auth-mfa-methods small{display:block}.auth-mfa-methods strong{font-size:10px}.auth-mfa-methods small{font-size:7.5px;color:#7a8da1;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.auth-email-resend-form{text-align:center;margin-top:10px}.auth-email-resend-form button{border:0;background:transparent;color:#687d93;font-size:9px;cursor:pointer}.auth-email-resend-form strong{color:#087fc4}.auth-email-resend-form button:hover strong{text-decoration:underline}@media(max-width:520px){.auth-mfa-methods{grid-template-columns:1fr}.auth-mfa-methods small{white-space:normal}}
