.auth-overlay{z-index:1000;justify-content:center;align-items:flex-end;padding:0;display:flex;position:fixed;inset:0}@media (min-width:640px){.auth-overlay{align-items:center;padding:1rem}}.auth-overlay__backdrop{-webkit-backdrop-filter:blur(4px);background:#00000080;position:absolute;inset:0}.auth-overlay__card{width:100%;max-width:100%;padding:2rem 1.5rem calc(env(safe-area-inset-bottom,0px) + 1.5rem);will-change:transform,opacity;background:#fff;border-radius:20px 20px 0 0;animation:.35s ease-out auth-card-slide-up;position:relative;box-shadow:0 -4px 24px #0000001f}@media (min-width:640px){.auth-overlay__card{border-radius:16px;max-width:400px;padding:2.5rem 2rem;animation:.25s ease-out auth-card-scale-in;box-shadow:0 4px 24px #0000001f}}.auth-overlay__card--closing{animation:.25s cubic-bezier(.4,0,1,1) forwards auth-card-slide-down}@media (min-width:640px){.auth-overlay__card--closing{animation:.2s ease-in forwards auth-card-scale-out}}.auth-overlay__close{color:#6b7280;cursor:pointer;z-index:1;background:#f3f4f6;border:none;border-radius:50%;justify-content:center;align-items:center;width:32px;height:32px;transition:background .15s,color .15s;display:flex;position:absolute;top:.75rem;right:.75rem}.auth-overlay__close:hover{color:#374151;background:#e5e7eb}.profile-setup__subtitle{margin-bottom:.75rem}.profile-setup__hint{color:#6b7280;margin:.375rem 0 0;font-size:.75rem;line-height:1.4}.profile-setup__optional{color:#9ca3af;margin-left:.25rem;font-size:.75rem;font-weight:500}.profile-setup .auth-modal__submit{justify-content:center;align-items:center;min-height:44px;display:flex}.profile-setup .auth-modal__submit:disabled{cursor:not-allowed;opacity:.7}@keyframes auth-card-slide-up{0%{transform:translateY(100%)}to{transform:translateY(0)}}@keyframes auth-card-scale-in{0%{opacity:0;transform:scale(.95)translateY(10px)}to{opacity:1;transform:scale(1)translateY(0)}}@keyframes auth-card-slide-down{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(100%)}}@keyframes auth-card-scale-out{0%{opacity:1;transform:scale(1)translateY(0)}to{opacity:0;transform:scale(.95)translateY(10px)}}.auth-layout{justify-content:center;align-items:flex-end;min-height:100svh;padding:0;display:flex;overflow-y:auto}@media (min-width:640px){.auth-layout{align-items:center;padding:1rem}}.auth-layout__card{width:100%;max-width:100%;max-height:100dvh;padding:2rem 1.5rem calc(env(safe-area-inset-bottom,0px) + 1.5rem);background:#fff;border-radius:20px 20px 0 0;position:relative;overflow-y:auto;box-shadow:0 -4px 24px #0000001f}@media (min-width:640px){.auth-layout__card{border-radius:16px;max-width:400px;max-height:none;padding:2.5rem 2rem;overflow-y:visible;box-shadow:0 4px 24px #0000001f}}.auth-layout__card--closing{animation:.25s cubic-bezier(.4,0,1,1) forwards auth-card-slide-down}@media (min-width:640px){.auth-layout__card--closing{animation:.2s ease-in forwards auth-card-scale-out}}.auth-layout__header{flex-direction:column;align-items:center;gap:.75rem;margin-bottom:2rem;text-decoration:none;display:flex}.auth-layout__logo{border-radius:22%;overflow:hidden}.auth-layout__title{color:#1a1a1a;margin:0;font-size:1.5rem;font-weight:600}.auth-divider{align-items:center;gap:.75rem;margin:1.5rem 0;display:flex}.auth-divider:before,.auth-divider:after{content:"";background:#d1d5db;flex:1;height:1px}.auth-divider span{color:#9ca3af;white-space:nowrap;font-size:.8125rem}.auth-form{color:#1a1a1a;flex-direction:column;display:flex}.auth-form__error{color:#dc2626;background:#fef2f2;border:1px solid #fecaca;border-radius:8px;margin:0 0 1rem;padding:.625rem .75rem;font-size:.875rem;line-height:1.5}.auth-form__field-error{color:#dc2626;margin:.5rem 0 0;font-size:.8125rem;font-weight:600;line-height:1.35}.auth-form__success{color:#047857;background:#ecfdf5;border:1px solid #a7f3d0;border-radius:8px;margin:0 0 1rem;padding:.625rem .75rem;font-size:.875rem;line-height:1.5}.auth-form__label{color:#374151;margin-top:1rem;margin-bottom:.375rem;font-size:.875rem;font-weight:500}.auth-form__label:first-of-type{margin-top:0}.auth-form__input{color:#1a1a1a;box-sizing:border-box;background:#fff;border:1px solid #d1d5db;border-radius:8px;width:100%;padding:.625rem .75rem;font-size:.9375rem;transition:border-color .15s}.auth-form__input::placeholder{color:#9ca3af}.auth-form__input:focus{border-color:#4481ab;outline:none;box-shadow:0 0 0 3px #4481ab26}.auth-form__submit{color:#fff;cursor:pointer;background:#4481ab;border:none;border-radius:8px;width:100%;margin-top:1.25rem;padding:.75rem;font-size:.9375rem;font-weight:600;transition:background .15s}.auth-form__submit:hover{background:#3a6f95}.auth-form__submit--secondary{background:#ef4444}.auth-form__submit--secondary:hover{background:#dc2626}.auth-form__links{text-align:center;margin-top:1rem}.auth-form__links a{color:#4481ab;font-size:.875rem;font-weight:500;text-decoration:none}.auth-form__links a:hover{text-decoration:underline}.auth-modal{flex-direction:column;min-height:260px;display:flex}.auth-modal--loading{justify-content:center;align-items:center}.auth-modal__subtitle{color:#374151;text-align:center;margin:0 0 1.75rem;font-size:1.0625rem;font-weight:500}.auth-modal__email{color:#1a1a1a;text-align:center;margin:0 0 1.5rem;font-size:.9375rem;font-weight:600}.auth-modal__error{color:#dc2626;background:#fef2f2;border:1px solid #fecaca;border-radius:8px;margin-bottom:1rem;padding:.625rem .75rem;font-size:.875rem}.auth-modal__field-error{color:#dc2626;margin:.5rem 0 0;font-size:.8125rem;font-weight:600;line-height:1.35}.auth-modal__options{flex-direction:column;gap:.75rem;display:flex}.auth-modal__option{border-radius:8px;justify-content:center;align-items:center;width:100%;padding:.75rem .75rem .75rem 3rem;display:flex;position:relative}.auth-modal__option svg{position:absolute;left:.875rem}.auth-modal__option{cursor:pointer;font-size:.9375rem;font-weight:500;transition:background .15s,border-color .15s}.auth-modal__option--google{color:#374151;background:#fff;border:1px solid #d1d5db}.auth-modal__option--google:hover{background:#f9fafb;border-color:#9ca3af}.auth-modal__option--apple{color:#fff;background:#000;border:1px solid #000}.auth-modal__option--apple:hover{background:#1a1a1a}.auth-modal__option--email{color:#fff;background:#4481ab;border:1px solid #4481ab}.auth-modal__option--email:hover{background:#3a6f95;border-color:#3a6f95}.auth-modal__back{color:#6b7280;cursor:pointer;background:0 0;border:none;align-self:flex-start;align-items:center;gap:.25rem;margin-bottom:1.25rem;padding:0;font-size:.875rem;font-weight:500;transition:color .15s;display:inline-flex}.auth-modal__back:hover{color:#374151}.auth-modal__form{flex-direction:column;display:flex}.auth-modal__label{color:#374151;margin-top:1rem;margin-bottom:.375rem;font-size:.875rem;font-weight:500}.auth-modal__label:first-of-type{margin-top:0}.auth-modal__input{color:#1a1a1a;box-sizing:border-box;background:#fff;border:1px solid #d1d5db;border-radius:8px;width:100%;padding:.625rem .75rem;font-size:.9375rem;transition:border-color .15s}.auth-modal__input::placeholder{color:#9ca3af}.auth-modal__input:focus{border-color:#4481ab;outline:none;box-shadow:0 0 0 3px #4481ab26}.auth-modal__input--password{padding-right:2.75rem}.auth-modal__password-field{position:relative}.auth-modal__password-toggle{color:#6b7280;cursor:pointer;background:0 0;border:0;border-radius:6px;justify-content:center;align-items:center;width:2rem;height:2rem;padding:0;transition:color .15s,background .15s;display:inline-flex;position:absolute;top:50%;right:.625rem;transform:translateY(-50%)}.auth-modal__password-toggle:hover{color:#374151;background:#f3f4f6}.auth-modal__password-toggle:focus-visible{outline-offset:2px;outline:2px solid #4481ab}.auth-modal__password-toggle svg{pointer-events:none;flex-shrink:0}.auth-modal__forgot{color:#4481ab;align-self:flex-end;margin-top:.5rem;font-size:.8125rem;text-decoration:none}.auth-modal__forgot:hover{text-decoration:underline}.auth-modal__submit{color:#fff;cursor:pointer;background:#4481ab;border:none;border-radius:8px;width:100%;margin-top:1.25rem;padding:.75rem;font-size:.9375rem;font-weight:600;transition:background .15s}.auth-modal__submit:hover{background:#3a6f95}.auth-modal__submit--secondary{background:#ef4444}.auth-modal__submit--secondary:hover{background:#dc2626}.auth-modal__divider{align-items:center;gap:.75rem;margin:1.25rem 0;display:flex}.auth-modal__divider:before,.auth-modal__divider:after{content:"";background:#e5e7eb;flex:1;height:1px}.auth-modal__divider span{color:#9ca3af;white-space:nowrap;font-size:.8125rem}.auth-modal__oauth-row{gap:.75rem;display:flex}.auth-modal__oauth{cursor:pointer;border-radius:8px;flex:1;justify-content:center;align-items:center;gap:.5rem;padding:.625rem;font-size:.875rem;font-weight:500;transition:background .15s,border-color .15s;display:flex}.auth-modal__oauth--google{color:#374151;background:#fff;border:1px solid #d1d5db}.auth-modal__oauth--google:hover{background:#f9fafb;border-color:#9ca3af}.auth-modal__oauth--apple{color:#fff;background:#000;border:1px solid #000}.auth-modal__oauth--apple:hover{background:#1a1a1a}.auth-modal__switch{text-align:center;color:#6b7280;margin-top:1.75rem;font-size:.875rem}.auth-modal__switch button{color:#4481ab;cursor:pointer;background:0 0;border:none;padding:0;font-size:.875rem;font-weight:600}.auth-modal__switch button:hover{text-decoration:underline}
