/* Independent app accounts; shared YDE presentation. */
.yde-auth-shell{--ya-bg:#f6f6f8;--ya-ink:#19191f;--ya-muted:#777781;--ya-border:#dddde5;box-sizing:border-box;display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);min-height:100svh;width:100%;margin:0!important;padding:0!important;max-width:none!important;background:var(--ya-bg)!important;color:var(--ya-ink)!important;font-family:Poppins,Arial,sans-serif!important;line-height:1.6;isolation:isolate}
.yde-auth-shell *{box-sizing:border-box}.yde-auth-shell [hidden]{display:none!important}
.yde-auth-shell .yde-auth-story{display:flex!important;flex-direction:column;justify-content:space-between;min-height:100svh;padding:42px clamp(28px,5vw,84px);background:radial-gradient(ellipse at 15% 95%,#303039,transparent 65%),#0c0c0f;color:#fff}
.yde-auth-brand{display:flex;align-items:center;gap:12px;font-size:18px!important;font-weight:600;letter-spacing:-.5px;color:inherit!important;margin:0 0 28px!important}
.yde-auth-brand img{width:42px;height:42px;object-fit:contain;border-radius:12px;background:#17171c;padding:5px;flex:none}.yde-auth-story .yde-auth-brand{margin:0!important}
.yde-auth-story .yde-auth-tag{font-size:10px;letter-spacing:2px;color:#b3b3c0;margin-top:50px}.yde-auth-story h2{font-size:clamp(34px,3.4vw,54px)!important;line-height:1.18!important;letter-spacing:-1.8px;font-weight:500!important;color:#fff!important;margin:20px 0!important}
.yde-auth-story p{font-size:14px!important;line-height:1.9;color:#b0b0be!important;max-width:400px}.yde-auth-story small{font-size:11px;color:#9898a5;margin-top:50px}.yde-auth-story .yde-auth-proof{border-top:1px solid #ffffff20;margin-top:34px;padding-top:24px;font-size:12px;color:#c4c4ce}
.yde-auth-shell .yde-auth-main{min-width:0;display:flex;align-items:center;justify-content:center;padding:48px 32px;background:var(--ya-bg)!important;color:var(--ya-ink)!important}
.yde-auth-shell .yde-auth-box{width:100%;max-width:420px!important;padding:0!important;border:0!important;background:transparent!important;border-radius:0!important;box-shadow:none!important;color:var(--ya-ink)!important}
.yde-auth-shell .yde-auth-box:before{display:none!important}.yde-auth-mobile-brand{display:none!important}
.yde-auth-shell h1,.yde-auth-shell .yde-auth-heading{font-size:30px!important;font-weight:600!important;letter-spacing:-1px;line-height:1.3!important;margin:0 0 10px!important;color:var(--ya-ink)!important}
.yde-auth-sub{font-size:14px!important;color:var(--ya-muted)!important;line-height:1.8;margin:0 0 24px!important}
.yde-auth-shell .yde-auth-tabs{display:flex!important;gap:5px;padding:4px;background:#eaeaec!important;border:1px solid #e3e3e8;border-radius:12px;margin:24px 0}.yde-auth-tabs button{flex:1;min-height:42px;border:0!important;border-radius:9px;background:transparent!important;color:#747480!important;font:500 13px Poppins,Arial,sans-serif;cursor:pointer}.yde-auth-tabs button.selected,.yde-auth-tabs button.active{background:white!important;color:#19191f!important;box-shadow:0 1px 3px #11111110}
.yde-auth-shell label{display:block!important;font-size:13px!important;font-weight:500!important;line-height:1.5!important;color:#262630!important;text-transform:none!important;letter-spacing:0!important;margin:17px 0 8px!important}
.yde-auth-shell input:not([type=checkbox]){width:100%!important;max-width:100%;min-height:54px!important;padding:14px 16px!important;border:1px solid var(--ya-border)!important;border-radius:12px!important;background:white!important;color:#19191f!important;font:400 16px Poppins,Arial,sans-serif!important;outline:none;box-shadow:none!important}
.yde-auth-shell input::placeholder{color:#9999a2!important}.yde-auth-shell input:focus{border-color:#666674!important;box-shadow:0 0 0 3px #55556812!important}.yde-auth-shell input:disabled{background:#eeeef1!important}
.yde-auth-shell .yde-auth-primary{display:flex!important;justify-content:center;align-items:center;gap:10px;width:100%;min-height:54px!important;margin:25px 0 0!important;padding:14px 18px!important;background:#19191f!important;color:white!important;border:0!important;border-radius:12px!important;font:500 14px Poppins,Arial,sans-serif!important;cursor:pointer;box-shadow:none!important}.yde-auth-shell .yde-auth-primary:hover{background:#35353e!important}.yde-auth-shell button:disabled{opacity:.6;cursor:wait}.yde-auth-primary.busy:before{content:'';width:16px;height:16px;border:2px solid #ffffff55;border-top-color:#fff;border-radius:50%;animation:ya-spin .7s linear infinite}
.yde-auth-secondary{display:block;width:100%;margin:16px 0 0;padding:9px;border:0!important;background:transparent!important;color:#6b6b79!important;text-align:center;font:400 12px Poppins,Arial,sans-serif!important;cursor:pointer}
.yde-auth-message{font-size:13px!important;line-height:1.7;color:#8d3434!important;overflow-wrap:anywhere;margin:14px 0 0!important}.yde-auth-note{margin:26px 0 0!important;padding-top:21px;border-top:1px solid #e0e0e7;font-size:12px!important;line-height:1.8;color:#868691!important}.yde-auth-fine{margin-top:28px;font-size:11px!important;color:#9999a5!important}.yde-auth-shell .yde-auth-code{letter-spacing:4px;text-align:center;font-size:24px!important}.yde-auth-hint{font-size:11px!important;line-height:1.7;color:#7b7b87!important;margin:8px 0 0}.yde-auth-actions{display:flex;gap:10px;justify-content:space-between}.yde-auth-actions>*{width:auto}
.yde-auth-shell :focus-visible{outline:2px solid #737381;outline-offset:3px}@keyframes ya-spin{to{transform:rotate(360deg)}}
@media(max-width:850px){.yde-auth-shell{display:block!important}.yde-auth-shell .yde-auth-story{display:none!important}.yde-auth-shell .yde-auth-main{min-height:100svh;padding:calc(30px + env(safe-area-inset-top)) 24px calc(30px + env(safe-area-inset-bottom))}.yde-auth-mobile-brand{display:flex!important;margin-bottom:32px!important}.yde-auth-shell h1,.yde-auth-shell .yde-auth-heading{font-size:28px!important}}
@media(prefers-reduced-motion:reduce){.yde-auth-shell *{animation:none!important;transition:none!important}}

.yde-auth-shell [hidden]{display:none!important}
[data-rc-design] #login-screen{--text:#19191f;--text2:#6b6b79;--text3:#8b8b97;--accent:#19191f;--accent2:#35353e;border-radius:0!important;max-width:none!important}#login-screen[style*="display: none"],#login-screen[style*="display:none"]{display:none!important}#login-screen .rc-login-theme{display:none!important}#login-screen .yde-auth-fine a{color:#777784}#login-screen .yde-auth-box{border:0!important}#login-screen .yde-auth-main label{color:#262630!important}

[data-rc-design] #login-screen #login-left{background:radial-gradient(ellipse at 15% 95%,#303039,transparent 65%),#0c0c0f!important;border:0!important;border-radius:0!important}[data-rc-design] #login-screen .yde-auth-box{background:transparent!important;color:#19191f!important}#login-screen .yde-auth-main{background:#f6f6f8!important}
/* Keep login contrast independent from the dashboard's dark theme. */
[data-rc-design] #login-screen{--input-bg:#fff;--border:#d4d4dd;--nav-active-bg:#fff;--text:#19191f;--text2:#52525f;--text3:#686875;--accent:#19191f;--ya-muted:#62626f}
[data-rc-design] #login-screen .yde-auth-main input:not([type=checkbox]){background:#fff!important;color:#19191f!important;border-color:#d4d4dd!important}
[data-rc-design] #login-screen .yde-auth-main input::placeholder{color:#777784!important}
[data-rc-design] #login-screen .yde-auth-tabs button{font-size:14px!important;color:#555563!important;background:transparent!important}
[data-rc-design] #login-screen .yde-auth-tabs button.selected,[data-rc-design] #login-screen .yde-auth-tabs button[aria-selected="true"]{background:#fff!important;color:#19191f!important;box-shadow:0 1px 3px #11111112!important}
[data-rc-design] #login-screen .yde-auth-main .yde-auth-secondary{background:transparent!important;color:#52525f!important;font-size:13px!important;border-radius:12px!important}
[data-rc-design] #login-screen .yde-auth-main button[onclick="loginGoogle()"]{background:#fff!important;color:#262630!important;border:1px solid #d4d4dd!important;min-height:48px!important;margin-top:16px!important}
[data-rc-design] #login-screen .yde-auth-main .yde-auth-primary{background:#19191f!important;color:#fff!important;font-size:15px!important}
[data-rc-design] #login-screen .yde-auth-main label{font-size:14px!important;color:#262630!important}
[data-rc-design] #login-screen .yde-auth-sub{font-size:15px!important;color:#62626f!important}
[data-rc-design] #login-screen .yde-auth-note{font-size:13px!important;color:#62626f!important}
[data-rc-design] #login-screen .yde-auth-fine,[data-rc-design] #login-screen .yde-auth-fine a{font-size:12px!important;color:#686875!important}
[data-rc-design] #login-screen .yde-auth-brand img{background:transparent!important;filter:none!important}
[data-rc-design] #login-screen .yde-auth-story .yde-auth-brand img{filter:brightness(0) invert(1)!important}
