body.login-page { min-height: 100dvh; background: #d4eae9; }
.login-page .page-background { overflow: hidden; background: radial-gradient(ellipse at 8% 4%, #77c9ecb3, transparent 52%), radial-gradient(ellipse at 100% 32%, #f5c9a680, transparent 44%), radial-gradient(ellipse at 0% 100%, #59b3a9a6, transparent 48%), linear-gradient(145deg, #cceaf4 0%, #e5efdf 52%, #c4e5e2 100%); }
.login-page .page-background::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, #f5fbf780, transparent 68%); }
.login-page .bg-orb { display: block; filter: none; opacity: 1; border: 1px solid #ffffff70; box-shadow: inset 0 0 60px #ffffff18; }
.login-page .orb-1 { width: clamp(260px, 48vw, 640px); height: auto; aspect-ratio: 1; left: auto; right: -12%; top: -13%; background: linear-gradient(140deg, #ffffff38, #228a9d18); }
.login-page .orb-2 { width: clamp(240px, 42vw, 560px); height: auto; aspect-ratio: 1; right: auto; left: -22%; bottom: -12%; background: linear-gradient(145deg, #ffffff40, #1b827b24); }
.login-page .orb-3 { width: 110px; height: 110px; left: auto; right: -36px; bottom: 16%; background: #f2b39340; border: 18px solid #ffffff30; box-shadow: 0 0 0 16px #ffffff12; }
.login-shell { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; width: min(100%, 460px); min-height: 100dvh; margin: auto; padding: max(48px, env(safe-area-inset-top)) 28px max(48px, env(safe-area-inset-bottom)); text-align: center; }
.login-brand { align-self: center; margin-bottom: 26px; font-size: clamp(48px, 13vw, 60px); line-height: 1.2; letter-spacing: -.065em; }
.login-brand span { animation: none; }
.login-brand span:nth-child(1) { color: #08749b; }
.login-brand span:nth-child(2) { color: #125963; }
.login-brand span:nth-child(3) { color: #7c8616; }
.login-brand span:nth-child(4) { color: #d64b2b; }
.login-workspace { margin: -12px 0 20px; color: var(--muted); font-size: 13px; font-weight: 700; letter-spacing: .06em; }
.login-title { margin: 0 0 10px; font-size: clamp(23px, 6vw, 28px); font-weight: 700; line-height: 1.35; letter-spacing: -.035em; text-wrap: balance; }
.login-lead { margin: 0 0 44px; color: #526d76; font-size: 15px; line-height: 1.6; text-wrap: pretty; }
.login-card { width: 100%; margin: 0; padding: 0; border: 0; background: transparent; }
.login-btn { display: flex; align-items: center; justify-content: center; gap: 20px; width: 100%; min-height: 64px; padding: 18px 24px; border: 0; border-radius: 19px; font-size: 16px; font-weight: 700; line-height: 1.45; text-decoration: none; cursor: pointer; }
.login-btn > span { flex: 1; text-align: left; }
.login-btn svg { flex: 0 0 24px; width: 24px; height: 24px; }
.login-btn-solid svg, .login-arrow { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.login-btn .login-arrow { flex-basis: 19px; width: 19px; height: 19px; opacity: .8; }
.login-btn-google { border: 1px solid #ffffffcc; background: #ffffffc9; color: var(--ink); box-shadow: 0 8px 24px #275f6510, inset 0 1px 0 #fff; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.login-btn-solid { background: linear-gradient(115deg, #163b4c, #1b625f); color: #fff; box-shadow: 0 10px 24px #18585426, inset 0 1px 0 #ffffff20; }
.login-btn:hover:not(:disabled) { box-shadow: 0 5px 18px #17364a12; }
.login-btn:active:not(:disabled) { transform: translateY(1px); }
.login-btn:disabled { opacity: .55; cursor: wait; }
.login-divider { display: flex; align-items: center; gap: 20px; margin: 20px 16px; color: #526d76; font-size: 14px; }
.login-divider::before, .login-divider::after { content: ""; flex: 1; height: 1px; background: #52777d30; }
.login-note { margin: 28px 0 0; color: #526d76; font-size: 12px; line-height: 1.7; text-wrap: pretty; }
.login-status { margin: 16px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.login-status:empty, .login-error:empty { display: none; }
.login-back { align-self: center; margin-top: 30px; padding: 10px; color: var(--muted); font-size: 12px; text-underline-offset: 4px; }
#email-form { margin-top: 24px; }
.login-alert, .login-error { margin: 0 0 18px; padding: 12px 14px; border-radius: 14px; background: #fdeee9; color: var(--persimmon-deep); font-size: 13px; line-height: 1.6; text-align: left; }
.login-field { display: grid; gap: 8px; margin-bottom: 18px; text-align: left; }
.login-field span { font-size: 13px; font-weight: 600; }
.login-field input { width: 100%; min-height: 56px; padding: 14px 18px; border: 1px solid #d6dde1; border-radius: 16px; color: var(--ink); background: #ffffffd9; font-size: 16px; }
@media (max-width: 360px) { .login-shell { padding-inline: 22px; } .login-btn { gap: 14px; padding-inline: 18px; font-size: 14px; } }
@media (max-height: 650px) { .login-shell { padding-block: 28px; } .login-brand { margin-bottom: 18px; } .login-lead { margin-bottom: 26px; } }
