/* Brand styling only; Multica owns the login form and authentication. */
body:has(#login-form),body:has([data-input-otp]){background:#f6e4ce!important;color:#17233e!important;font-family:'Microsoft YaHei','PingFang SC',system-ui,sans-serif!important}
.min-h-svh:has(#login-form),.min-h-svh:has([data-input-otp]){padding:90px 7%;gap:8%;background:#f6e4ce!important;position:relative;isolation:isolate}
.min-h-svh:has(#login-form)::before,.min-h-svh:has([data-input-otp])::before{content:'现在开始，\A也不晚。';white-space:pre;display:block;width:48%;max-width:600px;min-height:560px;padding-top:20px;background:url('/brand-assets/scene_01.webp') center bottom/100% auto no-repeat;color:#17233e;font-size:clamp(46px,5vw,76px);font-weight:850;line-height:1.2;letter-spacing:-3px}
.min-h-svh:has(#login-form)::after,.min-h-svh:has([data-input-otp])::after{content:'NeverTooLate Labs · 不晚实验室';position:absolute;left:7%;top:35px;font-weight:700;font-size:19px;color:#17233e}
[data-slot=card]:has(#login-form),[data-slot=card]:has([data-input-otp]){width:100%;max-width:440px!important;flex-shrink:0;background:#fffbf5!important;color:#17233e!important;border:1px solid #17233e12!important;border-radius:24px!important;padding:38px 12px!important;box-shadow:0 20px 65px #17233e08!important;gap:26px!important}
[data-slot=card]:has(#login-form)::before,[data-slot=card]:has([data-input-otp])::before{content:'';display:block;width:58px;height:58px;background:url('/brand-assets/logo.png') center/contain no-repeat;margin:0 auto;border-radius:13px}
[data-slot=card]:has(#login-form) [data-slot=card-title],[data-slot=card]:has([data-input-otp]) [data-slot=card-title]{font-size:27px!important;line-height:1.4;font-weight:750;color:#17233e!important}
[data-slot=card]:has(#login-form) [data-slot=card-description],[data-slot=card]:has([data-input-otp]) [data-slot=card-description]{color:#56617a!important;font-size:14px;line-height:1.8;margin-top:8px}
#login-email{height:52px!important;border:1px solid #17233e33!important;border-radius:12px!important;background:#fff!important;color:#17233e!important;font-size:16px;padding:0 15px!important}
#login-email:focus-visible{border-color:#fc5a3f!important;outline:2px solid #fc5a3f55!important;box-shadow:none!important}
button[form=login-form]{height:51px!important;border-radius:999px!important;background:#17233e!important;color:#fff!important;font-size:16px!important;font-weight:650}
button[form=login-form]:hover:not(:disabled){background:#fc5a3f!important}button[form=login-form]:disabled{opacity:.5!important}
[data-slot=card]:has(#login-form) label{color:#17233e!important;font-size:14px!important}
[data-slot=card]:has(#login-form) .text-muted-foreground,[data-slot=card]:has([data-input-otp]) .text-muted-foreground{color:#56617a!important}
[data-slot=card]:has(#login-form) a,[data-slot=card]:has([data-input-otp]) button{color:#17233e}
[data-slot=input-otp-slot]{border-color:#17233e44!important;color:#17233e!important;background:#fff!important;width:46px;height:54px}
@media(max-width:850px){.min-h-svh:has(#login-form),.min-h-svh:has([data-input-otp]){flex-direction:column;padding:100px 22px 40px;gap:30px}.min-h-svh:has(#login-form)::before,.min-h-svh:has([data-input-otp])::before{font-size:40px;letter-spacing:-1.5px;min-height:0;padding:0;width:100%;max-width:440px;background:none;white-space:normal;line-height:1.3}.min-h-svh:has(#login-form)::after,.min-h-svh:has([data-input-otp])::after{left:24px;font-size:17px;top:32px}[data-slot=card]:has(#login-form),[data-slot=card]:has([data-input-otp]){padding:28px 2px!important}}
[data-slot=card]:has(#login-form) [data-slot=card-footer],[data-slot=card]:has([data-input-otp]) [data-slot=card-footer]{background:transparent!important;border-top:0!important}
@media(max-width:850px){.min-h-svh:has(#login-form)::before,.min-h-svh:has([data-input-otp])::before{white-space:pre}}
/* Centered sign-in layout. */
.min-h-svh:has(#login-form),.min-h-svh:has([data-input-otp]){padding:40px 22px!important;gap:0!important;flex-direction:column!important}
.min-h-svh:has(#login-form)::before,.min-h-svh:has([data-input-otp])::before,.min-h-svh:has(#login-form)::after,.min-h-svh:has([data-input-otp])::after{display:none!important;content:none!important}
