/* Authentication shares the workspace palette, typography and form controls. */
body:has(.buform-auth){background:#f6f6f9}
.buform-auth{min-height:100vh;display:grid;grid-template-columns:minmax(380px,.9fr) minmax(480px,1.1fr);padding:16px;color:#242630;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:13px;gap:16px}
.auth-story{position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between;background:#20212c;border-radius:24px;padding:32px 42px;color:#fff;min-height:calc(100vh - 32px)}
.auth-brand{display:inline-flex;width:170px}.auth-brand img{max-width:100%;height:auto}
.auth-story-content{position:relative;margin:45px 0;min-height:520px}
.auth-eyebrow{display:inline-flex;align-items:center;gap:8px;font-size:9px;font-weight:650;letter-spacing:1.5px;color:#898b99}
.auth-story .auth-eyebrow{color:#aaacbd}.auth-eyebrow>span{height:5px;width:5px;background:#bcea72;border-radius:50%}
.auth-story h1{font-family:inherit;color:#fff;font-size:clamp(46px,4.5vw,68px);font-weight:600;letter-spacing:-3px;line-height:1.06;margin:22px 0 24px}.auth-story h1 em{font-style:normal;color:#bcea72}
.auth-story p{color:#aaaebe;font-size:12px;line-height:1.9;max-width:320px;margin:0}
.auth-story-bottom{display:flex;justify-content:space-between;color:#858899;font-size:10px;letter-spacing:.5px}.auth-story-bottom>span:last-child{font-size:23px;line-height:1}
.auth-art{position:absolute;width:175px;height:228px;bottom:-5px;right:4px;transform:rotate(10deg)}
.auth-art-back{position:absolute;top:10px;left:12px;width:150px;height:206px;background:#5268f4;border-radius:16px;transform:rotate(-20deg)}
.auth-art-sheet{position:absolute;top:0;left:0;width:150px;height:202px;padding:26px 20px;border-radius:16px;background:#fff;box-shadow:0 20px 35px #0002}
.auth-art-title,.auth-art-subtitle{display:block;height:6px;width:82px;background:#242630;border-radius:5px;margin-bottom:9px}.auth-art-subtitle{height:4px;width:50px;background:#d9ddea;margin-bottom:20px}
.auth-art-choice{display:flex;align-items:center;gap:10px;padding:8px;border:1px solid #edf0f6;border-radius:6px;margin-bottom:7px}.auth-art-choice>b{width:9px;height:9px;border:1px solid #d9ddea;border-radius:50%}.auth-art-choice>span{height:4px;width:50px;border-radius:3px;background:#d9ddea}.auth-art-choice.selected{background:#f0f5e6;border-color:#dbeabd}.auth-art-choice.selected>b{background:#bcea72;border-color:#bcea72}.auth-art-button{background:#5268f4;border-radius:5px;height:25px;line-height:25px;margin-top:13px;text-align:right;color:white;padding-right:10px;font-size:18px}.auth-art-spark{position:absolute;bottom:-8px;right:-10px;color:#bcea72;font-size:70px;line-height:1;transform:rotate(-10deg)}
.auth-main{display:flex;flex-direction:column;min-width:0;padding:14px 36px}
.auth-topline{display:flex;justify-content:flex-end;align-items:center;min-height:40px;color:#999ba9;font-size:11px}.auth-mobile-brand{display:none}
.auth-form-wrap{width:100%;max-width:410px;margin:auto; padding:40px 0}
.auth-form-heading{margin-bottom:28px}.auth-form-heading h2{font-family:inherit;font-size:38px;font-weight:650;letter-spacing:-1.8px;line-height:1.12;color:#242630;margin:13px 0 15px}.auth-form-heading h2>span{color:#5268f4}.auth-form-heading p{color:#898b99;font-size:12px;line-height:1.7;margin:0}
.auth-field{margin-bottom:18px}.auth-field>label{display:block;font-size:11px;font-weight:600;color:#575b70;margin-bottom:8px}
.buform-auth .form-control{min-height:48px;border:1px solid #e2e3eb;border-radius:10px;background:#fff;padding:12px 15px;color:#242630;font-size:12px;box-shadow:none}.buform-auth .form-control::placeholder{color:#a5a7b3}.buform-auth .form-control:focus{border-color:#9aa7fa;box-shadow:0 0 0 3px #5268f415}.buform-auth .form-control.is-invalid{border-color:#d56b75;background-image:none}
.auth-password{position:relative}.auth-password .form-control{padding-right:46px}.auth-password .password-addon{position:absolute;right:5px;top:4px;height:40px;width:38px;padding:0;background:transparent;border:0;border-radius:8px;color:#9294a0;font-size:19px;display:flex;align-items:center;justify-content:center}
.auth-password-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}.auth-password-row .form-control{font-size:11px;padding-left:12px}
.auth-form-options{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:6px 0 24px;font-size:11px}.buform-auth .form-check{margin:0;min-height:18px}.buform-auth .form-check-input{width:15px;height:15px;border-color:#d9dce8;margin-top:1px;box-shadow:none}.buform-auth .form-check-input:checked{background-color:#5268f4;border-color:#5268f4}.buform-auth .form-check-label{color:#858897;font-size:11px}.buform-auth a{color:#5268f4;text-decoration:none}.buform-auth a:hover{color:#4255d7}.buform-auth .auth-brand:hover{opacity:.9}
.buform-auth .auth-submit{display:flex;justify-content:space-between;align-items:center;width:100%;background:#5268f4;border-color:#5268f4;border-radius:10px;min-height:48px;padding:12px 17px;font-size:12px;font-weight:600;box-shadow:none;color:#fff;margin-top:20px}.buform-auth .auth-submit:hover{background:#4255d7;border-color:#4255d7}.auth-submit>span{font-size:19px;line-height:1}
.auth-switch{text-align:center;font-size:11px;color:#9294a0;margin:25px 0 0}.auth-switch>a{font-weight:600;margin-left:4px}
.auth-terms{padding-top:1px;line-height:1.8}.auth-terms .form-check-input{margin-top:3px}.auth-terms .form-check-label{font-size:10px}
.auth-footer{display:flex;justify-content:space-between;gap:20px;font-size:9px;color:#a5a7b3;padding:12px 0}
.buform-auth span.error{display:block;font-size:10px;color:#c85c68;margin:-10px 0 15px}.buform-auth .alert{font-size:12px;border-radius:10px;margin-bottom:20px}.buform-auth a:focus-visible,.buform-auth button:focus-visible{outline:3px solid #9aa7fa;outline-offset:3px}
/* Recovery screens also inherit the same field treatment. */
.buform-auth .form-floating{margin-bottom:20px!important}.buform-auth .form-floating .form-control{min-height:58px;padding-left:50px}.buform-auth .form-floating label{font-size:12px}.buform-auth .form-floating-icon{color:#9294a0}.buform-auth .btn-primary{background:#5268f4;border-color:#5268f4;border-radius:10px;min-height:44px}
@media(min-width:1500px){.auth-story{padding:40px 60px}.auth-art{right:35px;transform:rotate(10deg) scale(1.15)}}
@media(max-width:1100px){.buform-auth{grid-template-columns:minmax(330px,.8fr) minmax(410px,1.2fr)}.auth-story{padding:30px}.auth-story h1{font-size:52px}.auth-story-content{min-height:520px}.auth-art{right:10px;transform:rotate(10deg) scale(.85);transform-origin:bottom right}.auth-main{padding:14px 26px}.auth-form-heading h2{font-size:34px}}
@media(max-width:800px){.buform-auth{display:block;padding:0}.auth-story{display:none}.auth-main{min-height:100vh;padding:24px}.auth-topline{justify-content:space-between}.auth-mobile-brand{display:block}.auth-mobile-brand img{height:auto}.auth-form-wrap{padding:42px 0;max-width:410px}.auth-form-heading h2{font-size:36px}.auth-footer{font-size:9px;padding:16px 0}}
@media(max-width:390px){.auth-topline>span{font-size:9px}.auth-main{padding:20px}.auth-form-heading h2{font-size:33px}.auth-password-row{grid-template-columns:1fr;gap:0}.auth-footer>span:last-child{display:none}}
@media(prefers-reduced-motion:reduce){.buform-auth *{transition:none!important;animation:none!important}}
