body.app-light .st-auth-modern {
    --reg-surface:#fff;--reg-field:#f6f8fd;--reg-border:#ccd8eb;--reg-text:#1b2c4b;--reg-muted:#4e6180;
    padding:clamp(20px,4vw,54px) 16px;background:radial-gradient(ellipse at 20% 10%,#e4e4ff,#f2f6fc 64%);
}
html[data-billing-theme="dark"] body.app-light .st-auth-modern {
    --reg-surface:#192438;--reg-field:#121c2e;--reg-border:#3d4c68;--reg-text:#edf3ff;--reg-muted:#bac9e0;
    background:radial-gradient(ellipse at 20% 10%,#252952,#101827 70%);
}
body.app-light .st-auth-modern .st-auth-shell {
    grid-template-columns:minmax(0, .72fr) minmax(0, 1fr);width:min(1020px,100%);
    border-color:var(--reg-border);box-shadow:0 4px 0 var(--reg-border),0 18px 42px #111f482a;
}
body.app-light .st-auth-modern .st-auth-brand {
    padding:clamp(24px,4vw,44px);background:linear-gradient(150deg,#4a45ab,#252452);
}
.st-auth-modern .st-auth-brand img {width:150px;height:auto;margin-bottom:20px}
body.app-light .st-auth-modern .st-auth-card {padding:clamp(22px,4vw,38px);background:var(--reg-surface);color:var(--reg-text)}
body.app-light .st-auth-modern .st-auth-card h2 {color:var(--reg-text);font-weight:600}
body.app-light .st-auth-modern .st-auth-card :is(.st-form-desc,small,.st-form-foot,.st-login-link) {color:var(--reg-muted)}
.st-auth-modern .st-register-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 12px}
.st-auth-modern .st-register-grid label {display:grid;align-content:start;gap:5px;min-width:0;font-weight:500}
body.app-light .st-auth-modern .st-register-grid input {
    width:100%;min-width:0;margin:0;box-sizing:border-box;background:var(--reg-field);color:var(--reg-text);border-color:var(--reg-border);
}
.st-auth-modern .st-register-grid input::placeholder {color:var(--reg-muted);opacity:1}
.st-auth-modern .st-register-grid :is(.st-register-help,button) {grid-column:1/-1}
body.app-light .st-auth-modern .st-register-grid button {min-height:43px;margin-top:2px;font-weight:600}
.st-auth-modern .st-form-foot {margin:16px 0 8px}
@media(max-width:760px){
    body.app-light .st-auth-modern .st-auth-shell {grid-template-columns:1fr}
    body.app-light .st-auth-modern .st-auth-brand {padding:22px 24px}
    .st-auth-modern .st-auth-brand img {width:110px;margin-bottom:8px}
    .st-auth-modern .st-auth-brand h1 {margin:5px 0}
}
@media(max-width:440px){.st-auth-modern .st-register-grid{grid-template-columns:1fr}}

body.app-light .st-auth-modern .st-auth-brand {
    background:radial-gradient(ellipse at 15% 8%,#7772d8,transparent 62%),linear-gradient(148deg,#4842a6,#221f4c);
    box-shadow:inset 0 1px #ffffff40,inset -1px 0 #17163d40;
}
body.app-light .st-auth-modern .st-auth-brand img {
    box-shadow:0 4px 0 #ffffff50,0 12px 28px #10113350;
}
body.app-light .st-auth-modern .st-auth-card {
    background:linear-gradient(155deg,var(--reg-surface),var(--reg-field));
}
body.app-light .st-auth-modern .st-auth-card form input:not([type="hidden"]) {
    color:var(--reg-text)!important;background:var(--reg-field)!important;border-color:var(--reg-border)!important;
    box-shadow:inset 0 2px 4px #172b5712;
}
body.app-light .st-auth-modern .st-auth-card form input:not([type="hidden"])::placeholder {color:var(--reg-muted);opacity:1}
html body.app-light .st-auth-modern .st-auth-card .st-primary {
    color:#fff;background:linear-gradient(145deg,#594cca,#40368f);
    box-shadow:0 3px 0 #30276a,0 7px 14px #21195835,inset 0 1px #ffffff44;
}
body.app-light .st-auth-modern .st-auth-card .st-primary:active {transform:translateY(1px)}
body.app-light .st-auth-modern .st-auth-card :is(input,button,a):focus-visible {outline:2px solid #8477e0;outline-offset:2px}
body.app-light .st-auth-modern .st-login-shell {width:min(900px,100%)}

html body.app-light .st-auth-modern .st-auth-brand img.st-auth-mark {
    width:clamp(104px,14vw,152px);max-height:none;height:auto;aspect-ratio:1;
    padding:0;border:0;border-radius:0;background:transparent!important;box-shadow:none;
    filter:drop-shadow(0 13px 15px #120f3a80);
    animation:st-auth-logo-tilt 5s ease-in-out infinite;
}
@keyframes st-auth-logo-tilt {
    0%,100% {transform:perspective(680px) rotateY(-11deg) rotateX(5deg) translateY(0)}
    50% {transform:perspective(680px) rotateY(11deg) rotateX(-5deg) translateY(-5px)}
}
@media(prefers-reduced-motion:reduce) {
    html body.app-light .st-auth-modern .st-auth-brand img.st-auth-mark {animation:none}
}
