/* Option D: scoped to the entry screen; shared workspace styles stay independent. */
.auth-screen{background:#fff;color:#2e332a}
.auth-screen main{padding:0;display:grid;grid-template-columns:58% 42%;min-height:100svh;align-items:stretch}
.auth-screen .login{grid-column:2;grid-row:1;width:100%;max-width:none;margin:0;padding:48px 40px;align-self:stretch;display:flex;align-items:center;justify-content:center;background:#fff}
.auth-content{width:384px;max-width:100%}
.auth-screen .entry-welcome{grid-column:1;grid-row:1;position:relative;overflow:hidden;min-width:0;min-height:100svh;margin:0;padding:0;background:#3c4336;color:#fff}
.auth-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:left center;transform:scale(1.08);transform-origin:left center}
.auth-screen .entry-welcome:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(28,32,24,.62) 0%,rgba(28,32,24,.28) 55%,rgba(28,32,24,0) 85%),linear-gradient(0deg,rgba(28,32,24,.45),transparent 45%);pointer-events:none}
.auth-wordmark{position:absolute;z-index:1;top:56px;left:72px;color:#fff;text-decoration:none;font-size:24px;font-weight:700;letter-spacing:.16em}
.hero-copy{position:absolute;z-index:1;bottom:64px;left:72px;right:48px}
.hero-eyebrow{font-size:11px;letter-spacing:.18em;margin:0 0 24px}
.auth-screen #entryTitle{font-size:46px;font-weight:400;letter-spacing:-.025em;line-height:1.13;margin:0 0 24px;color:#fff}
.hero-description{max-width:370px;font-size:16px;line-height:1.65;margin:0 0 48px;color:#fff}
.hero-bottom{font-size:10px;letter-spacing:.16em;margin:0;color:#fff}
.auth-screen #authTitle{font-size:34px;line-height:1.15;letter-spacing:-.025em;font-weight:400;margin:0 0 12px}
.auth-screen #authDescription{font-size:14px;color:#626956;line-height:1.6;margin:0 0 28px}
.auth-screen .auth-tabs{display:flex;padding:4px;gap:4px;background:#eef0e6;border-radius:9px;margin:0 0 28px}
.auth-screen .login button{font-size:14px;width:100%;margin:0;min-height:44px;border-radius:8px}
.auth-screen .auth-tabs button{flex:1;background:transparent;border:1px solid transparent;font-weight:500;color:#626956}
.auth-screen .auth-tabs button[aria-selected=true]{background:#fff;color:#2e332a;border-color:#e2e5db;box-shadow:0 1px 3px #2e332a0a}
.auth-screen .login label{font-size:13px;font-weight:500;margin:0 0 20px;gap:8px}
.auth-screen .login input:not([type=checkbox]){width:100%;min-width:0;height:46px;border:1px solid #cfd4c4;border-radius:8px;padding:12px 14px;background:white;color:#2e332a;box-shadow:none;font-size:15px}
.auth-screen input::placeholder{color:#747b6c}
.password-wrap{position:relative;display:block}.auth-screen :is(#passwordInput,#signupConfirmPassword){padding-right:65px}
.auth-screen .login :is(#togglePassword,#toggleSignupConfirm){position:absolute;right:2px;top:1px;width:60px;min-height:44px;background:transparent;border:0;font-size:12px;color:#59624e}
.auth-screen .password-options{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:-8px 0 18px}
.auth-screen .password-options label{display:flex;align-items:center;gap:8px;margin:0;font-size:12px;min-height:44px;font-weight:400;white-space:nowrap}
.auth-screen input[type=checkbox]{width:16px;height:16px;accent-color:#59624e;margin:0}
.auth-screen .login .text-button{width:auto;background:transparent;border:0;color:#59624e;padding:0;font-size:12px;text-decoration:none}
.auth-screen .login .text-button:hover{text-decoration:underline;background:transparent}
.auth-screen .login .primary{background:#59624e;color:#fff;border:1px solid #59624e;min-height:50px;font-size:14px;font-weight:600}
.auth-screen .login .primary:hover{background:#4a5240}
.auth-screen #emailAlternative{padding:0;margin:8px 0 0;border:0;text-align:center}
#emailPanel{text-align:left;margin-top:16px}.auth-recovery{display:none!important}
.auth-divider{display:flex;align-items:center;gap:16px;color:#737a69;font-size:10px;letter-spacing:.08em;margin:20px 0}
.auth-divider:before,.auth-divider:after{content:'';height:1px;background:#e3e6db;flex:1}
.auth-screen #google{display:flex;align-items:center;justify-content:center;gap:12px;min-height:48px;background:#fff;border:1px solid #cfd4c4;font-weight:500}
.auth-screen #google:hover{background:#f7f8f4}
.auth-screen .login .guest-link{display:block;margin:18px auto 8px;font-size:13px}
.guest-link span{padding-left:6px}#guestConfirm{background:#eef0e6;padding:16px;border-radius:8px;font-size:13px;margin:12px 0;text-align:center}#guestConfirm p{margin:0 0 12px}
.auth-screen .auth-footer{display:flex;align-items:center;justify-content:center;gap:10px;color:#737a69;margin:24px 0 0;background:none;padding:0;font-size:11px}
.auth-screen .auth-footer button{width:auto;border:0;background:transparent;padding:0;font-size:11px;color:#69705f;min-height:44px}
.auth-screen .auth-footer button:hover{text-decoration:underline}
#passwordStatus:empty,#emailStatus:empty{display:none}#passwordStatus,#emailStatus{font-size:13px;padding:12px 14px;background:#eef0e6;border-radius:8px;line-height:1.5;margin:0 0 18px}#passwordStatus.is-error{background:#fff2ed;color:#8c3024;border:1px solid #ebc8bd}
.auth-screen .field-hint{font-size:12px;color:#69705f;margin:-10px 0 16px}
.auth-screen :focus-visible{outline:2px solid #59624e;outline-offset:3px}
.auth-screen #status:empty{display:none}.auth-screen #status:not(:empty){position:fixed;bottom:12px;right:24px;max-width:360px;background:#fff;padding:16px;z-index:8;box-shadow:0 2px 14px #0002;border-radius:8px}
#sessionToast{position:absolute;z-index:3;bottom:20px;left:24px;right:24px;background:#fff;color:#2e332a;padding:12px 16px;border-radius:8px;display:flex;align-items:center;gap:16px;font-size:13px}#sessionToast button{margin-left:auto;border:0;background:transparent;min-width:44px;min-height:44px;font-size:22px}
#authInfo{max-width:440px;width:calc(100% - 48px);border:1px solid #cfd4c4;border-radius:12px;padding:28px;color:#2e332a}#authInfo h2{font-size:24px;font-weight:400}#authInfo p{line-height:1.65;font-size:14px}#authInfo::backdrop{background:#1c201860}
.is-loading:before{content:'';display:inline-block;vertical-align:middle;width:13px;height:13px;margin-right:10px;border:2px solid #fff6;border-top-color:#fff;border-radius:50%;animation:auth-spin .8s linear infinite}@keyframes auth-spin{to{transform:rotate(360deg)}}
@media(min-width:768px) and (max-width:1023px){.auth-screen main{grid-template-columns:45% 55%}.auth-screen .login{padding:40px 32px}.auth-content{width:360px}.auth-wordmark{left:36px;top:40px;font-size:20px}.hero-copy{left:36px;right:24px;bottom:48px}.auth-screen #entryTitle{font-size:40px}.hero-description{font-size:14px}}
@media(max-width:767px){.auth-screen main{display:flex;flex-direction:column;min-height:100svh}.auth-screen .entry-welcome{order:-1;min-height:260px;height:30svh;flex:none}.auth-wordmark{left:24px;top:24px;font-size:18px}.hero-copy{left:24px;right:24px;bottom:28px}.auth-screen #entryTitle{font-size:32px;margin:0}.hero-description,.hero-bottom,.hero-eyebrow{display:none}.auth-screen .login{padding:36px 24px 24px;margin:0;max-width:none}.auth-content{width:384px}.auth-screen #authTitle{font-size:30px}.auth-screen #authDescription{margin-bottom:24px}.auth-screen .auth-tabs{margin-bottom:24px}.auth-screen .auth-footer{gap:9px;margin-top:12px}#sessionToast{bottom:8px;left:12px;right:12px}}
@media(prefers-reduced-motion:reduce){.is-loading:before{animation:none}}

.auth-screen .hero-eyebrow{color:#fff}.auth-screen #authTitle{color:#2e332a}.auth-screen .login input:not([type=checkbox]){font-weight:400}.auth-screen .login .text-button,.auth-screen .auth-footer button{font-weight:400}.auth-screen #status:not(:empty){left:auto}.auth-field-error{display:block;color:#8c3024;font-size:12px;font-weight:400}.auth-screen .login input[aria-invalid=true]{border-color:#ac4938}
/* Fit laptop-height screens while retaining 44px touch targets. */
@media(min-width:768px) and (max-height:820px){
 .auth-screen .login{padding:16px 40px}.auth-screen #authTitle{font-size:30px;margin-bottom:8px}.auth-screen #authDescription{margin-bottom:12px}
 .auth-screen .auth-tabs{padding:2px;margin-bottom:12px}.auth-screen .auth-tabs button{min-height:44px}
 .auth-screen .login label{gap:4px;margin-bottom:8px}.auth-screen .password-options{margin:0}.auth-screen .password-options label{margin:0}
 .auth-screen #emailAlternative{margin:0}.auth-divider{margin:6px 0}.auth-screen .login .guest-link{margin:4px auto 0}.auth-screen .auth-footer{margin-top:0}
 .hero-copy{bottom:32px}.hero-description{margin-bottom:24px}
}
/* Wide screens keep the left tree; narrow screens frame the seating. */
@media(max-width:1023px){.auth-photo{object-position:48% 68%;transform-origin:48% 68%}}
@media(max-width:767px){.auth-photo{transform:scale(1.45)}}

.auth-screen .login .guest-link{font-size:15px;font-weight:600;color:#34432d;border:1px solid #9ba88f;background:#f1f5eb;padding:11px 16px;margin:14px auto 8px}

#authGuest.guest-link{display:block;width:100%;border:1px solid #88917f;border-radius:6px;padding:12px;margin:16px 0;background:#f4f6ef;color:#30402c;text-align:center;font-weight:600}

/* Keep the sample entry beside the other ways to try the product. */
.auth-screen .login a.auth-sample,.auth-screen .login a.auth-sample:visited{display:flex;align-items:center;justify-content:center;gap:6px;min-height:36px;padding:4px 0;color:#59624e;font-size:13px;line-height:1.4;text-align:center;text-decoration:underline;text-underline-offset:3px}
.auth-screen .login a.auth-sample:hover,.auth-screen .login a.auth-sample:active{color:#30402c}

.auth-screen #loginGuideDemo{display:block;margin:14px auto 4px;padding:9px 18px;border:1px solid #cbd1c2;border-radius:6px;background:#f0f2eb;color:#34432d;font-size:14px;font-weight:600;line-height:1.4;cursor:pointer}

.auth-screen #recoverBrowserData{display:block;margin:4px auto;padding:8px;font-size:13px;color:#626b59}
body #browserRecoveryDialog{box-sizing:border-box;width:min(760px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:85dvh;overflow:auto;padding:24px;border:1px solid #dce2d3;border-radius:12px;background:#fff;color:#30362c;box-shadow:0 18px 60px #0003}
#browserRecoveryDialog::backdrop{background:rgb(30 36 28 / 42%)}
#browserRecoveryDialog header{position:static;display:flex;justify-content:space-between;gap:16px;padding:0;background:none;border:0;min-height:0}
#browserRecoveryDialog h2{font-size:22px;margin:0}#browserRecoveryDialog h3{font-size:16px;margin:0 0 12px}#browserRecoveryDialog p{font-size:14px;line-height:1.6;color:#626b59}
#browserRecoveryDialog section{border-top:1px solid #dce2d3;padding:18px 0}#browserRecoveryDialog button{padding:9px 12px;border:1px solid #cbd1c2;border-radius:6px;background:#f0f2eb;color:#34432d;cursor:pointer;max-width:100%;white-space:normal}
.browser-recovery-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 0}.browser-recovery-row span{overflow-wrap:anywhere;min-width:0}#browserRecoveryDialog .recovery-warning{color:#964b32}
@media(max-width:520px){.browser-recovery-row{align-items:stretch;flex-direction:column}body #browserRecoveryDialog{padding:18px}}

.login-support-actions{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:8px;margin-top:10px}.auth-screen .login-support-actions #loginGuideDemo,.auth-screen .login-support-actions #recoverBrowserData{margin:0;padding:7px 10px;font-size:13px;min-height:32px}
