body.welcome-page { background:#faf9f5; color:#14322e; font-family:'Nunito Sans',sans-serif; min-height:100svh; }
.welcome-main { width:min(100% - 40px,520px); margin:auto; padding:clamp(20px,3vh,40px) 0 28px; }
.welcome-brand { display:flex; flex-direction:column; align-items:center; width:fit-content; margin:0 auto 22px; color:#163c35; font:700 23px/1.2 'Nunito',sans-serif; letter-spacing:-.035em; text-decoration:none; }
body[data-page=signup] .welcome-brand span { display:none; }
.welcome-mascot { display:block; width:120px; height:120px; transform-origin:50% 85%; animation:none; }
@keyframes welcome-wave { 0%,100% {transform:rotate(0)} 20% {transform:rotate(-4deg) translateY(-3px)} 40% {transform:rotate(3deg) translateY(-2px)} 60% {transform:rotate(-2deg)} 80% {transform:rotate(1deg)} }
.welcome-card { padding:32px 36px; border:1px solid #e9ede5; border-radius:32px; background:#fff; box-shadow:0 12px 40px #163c3505; }
.welcome-card h1 { margin:0 0 12px; font:700 32px/1.2 'Nunito',sans-serif; letter-spacing:-.035em; text-align:center; text-wrap:balance; }
.welcome-card .intro { margin:0 0 26px; font-size:15px; line-height:1.7; color:#6c7e7b; text-align:center; text-wrap:pretty; }
.welcome-card label { margin:20px 0 8px; color:#29493f; font-size:14px; font-weight:700; }
.welcome-card input:not([type=checkbox]) { min-height:50px; border:1px solid #d6e1d8; border-radius:14px; padding:12px 14px; background:#fdfefd; color:#14322e; }
.welcome-card input::placeholder { color:#85938d; font-size:14px; }
.welcome-card input:focus { border-color:#749a83; }
.password-field { position:relative; }
.password-field input { padding-right:54px!important; }
/* Edge also adds an eye while typing. These fields already have our own toggle. */
.password-field input[type="password"]::-ms-reveal { display:none; }
.welcome-card .password-toggle { position:absolute; top:3px; right:4px; display:grid; place-items:center; width:44px; height:44px; min-height:44px; margin:0; padding:0; border:0; border-radius:11px; background:transparent; color:#6c7e7b; }
.welcome-card .password-toggle:hover:not(:disabled) { background:#eef7f1; color:#163c35; }
.password-toggle svg { width:20px; height:20px; pointer-events:none; }
.password-toggle .eye-off { display:none; }
.password-toggle[aria-pressed=true] .eye { display:none; }
.password-toggle[aria-pressed=true] .eye-off { display:block; }
.welcome-card .field-help,.welcome-card .join-password-help { margin:9px 0 0; color:#6c7e7b; font-size:12px; line-height:1.65; }
.welcome-card button[type=submit],.welcome-primary,.welcome-card .join-primary { display:flex; align-items:center; justify-content:center; gap:12px; min-height:52px; margin:26px 0 0; padding:14px 24px; border:0; border-radius:28px; background:#c9f2de; color:#163c35; font-size:16px; font-weight:700; text-decoration:none; text-align:center; }
.welcome-card button[type=submit]:hover:not(:disabled),.welcome-primary:hover,.welcome-card .join-primary:hover { background:#b9e9d1; color:#163c35; }
.welcome-card button:disabled { opacity:.65; cursor:wait; }
.form-note { margin:14px 0 0; text-align:center; font-size:12px; line-height:1.6; color:#6c7e7b; }
.welcome-card .auth-links { justify-content:center; gap:10px 24px; margin-top:24px; font-size:13px; color:#6c7e7b; line-height:1.6; }
.welcome-card .auth-links a { color:#486c60; }
.welcome-card .feedback { padding:16px; border-radius:16px; font-size:14px; line-height:1.65; background:#eef7f1; color:#36594c; }
.welcome-card .feedback.error { background:#fcf0ea; color:#884630; }
.welcome-card .email-help { margin-top:24px; padding-top:20px; border-top:1px solid #edf1ea; font-size:12px; line-height:1.65; color:#6c7e7b; }
.welcome-card .email-help summary { text-align:center; }
.welcome-card .email-help p { margin:12px 0 8px; }
.welcome-card .email-help .link-button { font-size:12px; }
.welcome-help { margin:22px 0 0; text-align:center; font-size:13px; line-height:1.6; color:#6c7e7b; }
.welcome-help a { color:#486c60; }
.welcome-card .join-confirm { margin-top:20px; font-weight:400; font-size:13px; }
.welcome-card .join-confirm input { accent-color:#3b8060; }
.welcome-card .secondary-links { font-size:13px; line-height:1.6; text-align:center; color:#6c7e7b; }
.welcome-card .join-account,.welcome-card #join-content>p { font-size:14px; line-height:1.7; color:#6c7e7b; overflow-wrap:anywhere; }
.welcome-card #join-description { overflow-wrap:anywhere; }
body[data-auth-state=complete] .auth-links,body[data-auth-state=complete] #feedback { display:none; }
.completion-login { width:100%; }
.welcome-complete-mark { display:none; align-items:center; justify-content:center; width:56px; height:56px; margin:0 auto 20px; border-radius:50%; background:#eef7f1; color:#3b8060; }
body[data-auth-state=complete] .welcome-complete-mark { display:flex; }
@media(max-width:480px) { .welcome-main {width:min(100% - 32px,520px);padding-top:14px} .welcome-card {padding:28px 24px;border-radius:28px} .welcome-card h1 {font-size:29px} .welcome-brand {margin-bottom:20px;font-size:21px} .welcome-mascot {width:108px;height:108px} }
@media(prefers-reduced-motion:reduce) { .welcome-mascot {animation:none} }
body[data-cabinet-auth] { background:#f6f4ef; color:#1e2a23; font-family:'Nunito',sans-serif; }
body[data-cabinet-auth] .welcome-main { width:min(100% - 48px,440px); padding:56px 0 48px; }
body[data-cabinet-auth] .welcome-card { padding:0; border:0; background:transparent; box-shadow:none; border-radius:0; }
body[data-cabinet-auth] .welcome-card h1 { margin:0 0 14px; color:#1e2a23; font:800 36px/1.15 'Nunito',sans-serif; letter-spacing:-.3px; text-align:left; text-wrap:wrap; }
body[data-cabinet-auth] .welcome-card .intro { margin:0 0 28px; color:#4a5a52; font-size:18px; line-height:1.5; text-align:left; }
body[data-cabinet-auth] .welcome-brand { margin:0 0 28px -6px; }
body[data-cabinet-auth] .welcome-brand span { display:none; }
body[data-cabinet-auth] .welcome-mascot { width:104px; height:104px; }
body[data-cabinet-auth] .welcome-help { display:none; }
body[data-cabinet-auth] .welcome-card button[type=submit],
body[data-cabinet-auth] .welcome-primary { width:100%; min-height:56px; margin:8px 0 0; border-radius:16px; background:#bc4630; color:#fff; font-size:20px; font-weight:800; }
body[data-cabinet-auth] .welcome-card button[type=submit]:hover:not(:disabled),
body[data-cabinet-auth] .welcome-primary:hover { background:#a93424; color:#fff; }
body[data-cabinet-auth] .welcome-card .client-text-button { border:0; background:transparent; color:#2f7a68; text-decoration:underline; text-underline-offset:3px; cursor:pointer; font:700 17px/1.4 'Nunito',sans-serif; padding:12px; }
body[data-cabinet-auth] [hidden] { display:none!important; }
body[data-email-proof] .welcome-brand { display:none; }
body[data-email-proof] .welcome-main { padding-top:32px; }

[data-password-recovery][hidden], [data-recovery-active] > [hidden], #forgot-login-password[hidden] { display: none; }
.recovery-code { position: relative; margin-bottom: 12px; }
.recovery-code-boxes { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 6px; }
.recovery-code-boxes > span { display: grid; place-items: center; min-height: 48px; border: 1px solid #a7bcb4;
  border-radius: 10px; background: #fff; font-size: 22px; font-variant-numeric: tabular-nums; }
.recovery-code:focus-within .recovery-code-boxes > span { border-color: #337d65; }
.recovery-code > input { position: absolute; inset: 0; opacity: 0; height: 100%; cursor: text; }
.welcome-card form .signup-choice { display: flex; align-items: baseline; gap: 10px; margin: 10px 0; }
.welcome-card select[name=country] { min-height:50px; border:1px solid #d6e1d8; border-radius:14px; padding:12px 14px; background:#fdfefd; color:#14322e; font:inherit; }
.recovery-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 12px; }
.welcome-card .recovery-links > button { border: 0; background: transparent; color: #305c4d;
  padding: 0 6px; min-height: 44px; font-size: 14px; text-decoration: underline; }

body[data-cabinet-auth] .welcome-card label { margin:18px 0 10px; color:#2e3a33; font-size:15px; font-weight:800; }
body[data-cabinet-auth] .welcome-card :is(input:not([type=checkbox]),select) { min-height:56px; padding:0 18px; border:1.5px solid #dce3dc; border-radius:16px; background:#fff; color:#1e2a23; font:inherit; font-size:19px; }
body[data-cabinet-auth] .welcome-card :is(input:not([type=checkbox]),select):focus { border-color:#4f8f6f; outline:1px solid #4f8f6f; outline-offset:-1px; background:#f3f4f2; }
body[data-cabinet-auth] .welcome-card input[aria-invalid=true] { border-color:#c4442e; outline:1px solid #c4442e; outline-offset:-1px; }
body[data-cabinet-auth] .welcome-card .feedback.error,
body[data-cabinet-auth] .welcome-card .feedback:has(+ form [aria-invalid=true]) { margin:8px 0; padding:0; background:transparent; color:#b3261e; font-size:15px; font-weight:700; }
body[data-cabinet-auth] .welcome-card .auth-links { margin-top:22px; text-align:center; }
body[data-cabinet-auth] .welcome-card :is(.auth-links a,.link-button,.login-change-email,.signup-choice a) { color:#2f7a68; font-size:17px; font-weight:700; text-decoration:underline; text-underline-offset:3px; }
body[data-cabinet-auth] .welcome-card .password-toggle { top:6px; }
body[data-cabinet-auth] .welcome-card .field-help,
body[data-cabinet-auth] .welcome-card .form-note { font-size:15px; color:#4a5a52; }
body[data-cabinet-auth] .welcome-card .recovery-code-boxes { gap:10px; }
body[data-cabinet-auth] .welcome-card .recovery-code-boxes > span { min-height:67px; border:1.5px solid #dce3dc; border-radius:16px; font-size:28px; font-weight:800; }
body[data-cabinet-auth] .recovery-code:focus-within .recovery-code-boxes > span { border-color:#4f8f6f; }
body[data-cabinet-auth] .recovery-code:has(input[aria-invalid=true]) .recovery-code-boxes > span { border-color:#c4442e; }
body[data-cabinet-auth] .welcome-card input[readonly] { background:#ecefea; }
body[data-cabinet-auth] .welcome-card form .signup-choice { align-items:flex-start; gap:12px; margin:10px 0; font-size:16px; line-height:1.4; font-weight:400; }
body[data-cabinet-auth] .signup-choice input { flex:0 0 24px; width:24px; height:24px; min-height:24px; margin:0; padding:0; accent-color:#1f6b4a; }
body[data-cabinet-auth] .signup-choice span { min-width:0; }
body[data-cabinet-auth] .signup-names { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
body[data-cabinet-auth] .signup-names input { width:100%; }
body[data-cabinet-auth] .welcome-card :is(input,select) + button[type=submit] { margin-top:26px; }
body[data-cabinet-auth] .welcome-card button[type=submit]:disabled { background:#e3c3ba; opacity:1; }
body[data-cabinet-auth] .login-email-row:has(input[readonly]) { display:flex; align-items:center; background:#ecefea; border-radius:16px; }
body[data-cabinet-auth] .login-email-row input { width:100%; min-width:0; }
body[data-cabinet-auth] .login-email-row input[readonly] { border:0; background:transparent; }
body[data-cabinet-auth] .login-email-row .link-button { flex-shrink:0; min-height:44px; padding:0 16px; font-size:16px; }
body[data-cabinet-auth] .login-email-row + button { margin-top:26px; }

body[data-cabinet-auth] .welcome-card .intro:empty { display:none; }
body[data-cabinet-auth] #auth-form:has(#email[readonly]) > label[for=email] { display:none; }
body[data-cabinet-auth] #auth-form:has(#email[readonly]) ~ .auth-links #start-web-signup { display:none; }
body[data-cabinet-auth] .welcome-card input::placeholder { color:#626c66; font-size:inherit; }
body[data-cabinet-auth] .welcome-card input[aria-invalid=true]:focus { background:#fff; border-color:#c4442e; outline-color:#c4442e; }
body[data-cabinet-auth] .welcome-card .password-field input[aria-invalid=true] { border-color:#c4442e; outline-color:#c4442e; }
body[data-cabinet-auth] .welcome-card [data-recovery-form=code] > label { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
body[data-cabinet-auth] .welcome-card [data-recovery-form=code] .recovery-code { margin:4px 0 8px; }
body[data-cabinet-auth] .welcome-card [data-recovery-form=code] .recovery-links { display:block; margin:0 0 14px; }
body[data-cabinet-auth] .welcome-card [data-recovery-form=code] .recovery-links > button:not([data-recovery-change]) { min-height:0; margin:0; padding:4px 0; }
body[data-cabinet-auth] .welcome-card [data-recovery-form=code] .recovery-links button:disabled { color:#4a5a52; opacity:1; text-decoration:none; font-weight:400; }
body[data-cabinet-auth] .welcome-card [data-recovery-form=code] [data-recovery-change] { display:block; min-height:44px; margin:4px auto 0; padding:4px 0; }
body[data-cabinet-auth] .recovery-code:focus-within .recovery-code-boxes > span { border-color:#dce3dc; }
body[data-cabinet-auth] .recovery-code:focus-within .recovery-code-boxes > .current { border:2px solid #4f8f6f; background:#f3f4f2; }
body[data-cabinet-auth] .recovery-code:has(input[aria-invalid=true]) .recovery-code-boxes > span { border:2px solid #c4442e; }
body[data-cabinet-auth] .signup-choice input[type=checkbox] { appearance:none; display:grid; place-content:center; border:1.5px solid #b9c4bc; border-radius:8px; background:#fff; }
body[data-cabinet-auth] .signup-choice input[type=checkbox]:checked { border-color:#1f6b4a; background:#1f6b4a; }
body[data-cabinet-auth] .signup-choice input[type=checkbox]:checked::before { content:''; width:10px; height:6px; border-bottom:2px solid #fff; border-left:2px solid #fff; transform:translateY(-1px) rotate(-45deg); }

body[data-cabinet-auth] .auth-email-confirmed { display:flex; align-items:center; justify-content:space-between; gap:8px; min-height:56px; padding:0 18px; border-radius:16px; background:#ecefea; color:#1e2a23; font-size:18px; font-weight:700; }
body[data-cabinet-auth] .auth-email-confirmed span { overflow-wrap:anywhere; }
body[data-cabinet-auth] .auth-email-confirmed strong { color:#1f6b4a; }
body[data-cabinet-auth] .welcome-card .auth-email-confirmed input { min-width:0; padding:0; border:0; background:transparent; }
body[data-cabinet-auth] .auth-phone-row { display:grid; grid-template-columns:90px minmax(0,1fr); gap:10px; }
body[data-cabinet-auth] .auth-phone-row :is(input,select) { min-width:0; width:100%; }
body[data-cabinet-auth] .auth-dial-select { position:relative; }
body[data-cabinet-auth] .auth-dial-label { position:absolute; inset:0 17px 0 8px; display:flex; align-items:center; justify-content:center; gap:4px; white-space:nowrap; font:700 17px/1 'Nunito',sans-serif; pointer-events:none; }
body[data-cabinet-auth] .auth-dial-label svg { width:21px; height:14px; flex:none; }
body[data-cabinet-auth] .welcome-card .auth-dial-select select { padding:0 8px; color:#1e2a23; -webkit-text-fill-color:transparent; }
body[data-cabinet-auth] .auth-dial-select select option { color:#1e2a23; -webkit-text-fill-color:currentColor; }
body[data-cabinet-auth] .auth-email-confirmed { margin-bottom:4px; }
body[data-cabinet-auth] .auth-email-confirmed strong { flex-shrink:0; font-size:16px; }
body[data-cabinet-auth] .auth-email-confirmed span { min-width:0; }
body[data-cabinet-auth] .auth-email-confirmed input { text-overflow:ellipsis; font-weight:700; }
body[data-cabinet-auth] #auth-form > button[type=submit] { margin-top:26px; }
body[data-cabinet-auth] #auth-form > label[for=email] { margin-top:0; }
body[data-cabinet-auth] :is(#start-web-signup,.email-help) { display:none; }
body[data-cabinet-auth] .welcome-card .auth-links:not(:has(a:not([hidden],#start-web-signup))) { display:none; }
body[data-cabinet-auth] .welcome-card [data-recovery-form=phone] .intro { margin-bottom:24px; }
body[data-cabinet-auth] .welcome-card [data-recovery-form=phone] > label { margin-top:0; }
body[data-cabinet-auth] .welcome-card [data-recovery-form=phone] > button[type=submit] { margin-top:26px; }
body[data-cabinet-auth] .welcome-card #recovery-password-help { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
body[data-cabinet-auth] .welcome-card :is([data-recovery-form=signup],[data-recovery-form=password]) > button[type=submit] { margin-top:26px; }

body[data-cabinet-auth] .signup-names { margin-top:15px; }
.cabinet-signup-steps { display:flex; align-items:center; gap:12px; margin:0 0 16px; color:#486259; font:600 14px/1.4 'Nunito',sans-serif; }
.cabinet-signup-steps progress { flex:1; width:0; height:8px; accent-color:#2f7a68; }
.cabinet-signup-steps button { border:0; background:transparent; color:inherit; min-width:44px; min-height:44px; cursor:pointer; font-size:24px; }
