html[data-authenticated=false] .app-shell,html[data-authenticated=false] .floating-ai-chat-button,html[data-authenticated=false] .floating-ai-encouragement-bubble,html[data-authenticated=false] .floating-ai-chat-panel,html[data-authenticated=false] .mobile-more-menu,html[data-authenticated=false] .mobile-bottom-nav,html[data-authenticated=true] .auth-screen{display:none!important}.auth-screen{min-height:100vh;display:grid;place-items:center;padding:24px;background:linear-gradient(145deg,#fffaf5,#f4e4d4);color:#372a22}.auth-card{width:min(100%,420px);padding:32px;border:1px solid rgba(108,73,48,.18);border-radius:24px;background:#fffffff5;box-shadow:0 24px 60px #52331f29}.auth-card[hidden],.auth-checking[hidden],.auth-session-retry[hidden]{display:none!important}.auth-checking{display:flex;width:min(100%,320px);min-height:52px;box-sizing:border-box;align-items:center;justify-content:center;gap:12px;padding:14px 18px;border:1px solid rgba(108,73,48,.14);border-radius:16px;background:#ffffffeb;box-shadow:0 12px 32px #52331f1a;color:#725b4d;font-weight:700;text-align:center}.auth-checking-spinner{width:20px;height:20px;flex:0 0 auto;box-sizing:border-box;border:2px solid rgba(168,95,52,.22);border-top-color:#a85f34;border-radius:999px;animation:auth-spin .8s linear infinite}@keyframes auth-spin{to{transform:rotate(360deg)}}.auth-brand{margin:0 0 8px;font-size:2rem;font-weight:800;letter-spacing:.02em}.auth-brand-mascot,.auth-title,.auth-lead-adopted{display:none}.auth-wordmark-accent{color:inherit}.auth-lead{margin:0 0 24px;color:#725b4d;line-height:1.6}.auth-form{display:grid;gap:16px}.auth-form label{display:grid;gap:7px;font-weight:700}.auth-form input{width:100%;min-height:48px;box-sizing:border-box;border:1px solid #bba99c;border-radius:12px;padding:10px 12px;font:inherit;background:#fff;color:#2e241e}.auth-password-field{position:relative;display:block}.auth-password-field input{padding-right:14px}.auth-form .auth-remember-control{display:flex;align-items:flex-start;gap:10px;font-weight:400;cursor:pointer}.auth-form .auth-remember-checkbox{width:20px;min-height:20px;margin:2px 0 0;padding:0;flex:0 0 20px;accent-color:#a85f34}.auth-remember-control span{display:grid;gap:3px;line-height:1.4}.auth-remember-control strong{font-size:14px}.auth-remember-control small{color:#725b4d;font-size:12px}.auth-password-toggle{position:absolute;top:50%;right:4px;transform:translateY(-50%);display:none;width:44px;height:44px;padding:0;border:0;border-radius:10px;background:transparent;color:#725b4d;cursor:pointer;place-items:center}.auth-password-toggle svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}.auth-password-toggle:focus-visible,.auth-session-retry:focus-visible{outline:3px solid rgba(181,105,54,.32);outline-offset:2px}.auth-form input:focus-visible,.auth-submit:focus-visible{outline:3px solid rgba(181,105,54,.32);outline-offset:2px}.auth-submit{min-height:48px;border:0;border-radius:12px;padding:11px 18px;background:#a85f34;color:#fff;font:inherit;font-weight:800;cursor:pointer}.auth-submit:disabled{opacity:.65;cursor:wait}.auth-session-retry{min-height:44px;border:1px solid #a85f34;border-radius:12px;padding:9px 14px;background:#fff;color:#8d4c29;font:inherit;font-weight:800;cursor:pointer}.auth-error{min-height:1.5em;margin:0;color:#a32222;line-height:1.5}@media(max-width:430px){.auth-screen{padding:16px}.auth-card{padding:24px 20px;border-radius:20px}.auth-brand{font-size:1.75rem}}@media(max-width:760px){:root:is(:not([data-theme]),[data-theme=light]) .auth-screen{min-height:100svh;box-sizing:border-box;overflow-y:auto;place-items:start center;padding:max(28px,env(safe-area-inset-top)) 16px max(28px,env(safe-area-inset-bottom));background:linear-gradient(180deg,#f7fcfe,#eef8fb);color:#18283a}:root:is(:not([data-theme]),[data-theme=light]) .auth-checking{margin-top:min(32vh,220px);border-color:#dcebef;background:#fffffff5;box-shadow:0 12px 32px #36626f1a;color:#64768a;font-size:14px}:root:is(:not([data-theme]),[data-theme=light]) .auth-checking-spinner{border-color:#08aaa933;border-top-color:#08aaa9}:root:is(:not([data-theme]),[data-theme=light]) .auth-card{width:min(100%,400px);margin:auto 0;padding:26px 22px 24px;border:1px solid #e2edf1;border-radius:24px;background:#fffffffa;box-shadow:0 18px 48px #36626f1f}:root:is(:not([data-theme]),[data-theme=light]) .auth-brand{display:flex;align-items:center;justify-content:center;gap:9px;margin:0 0 22px;color:#18283a;font-size:25px;line-height:1}:root:is(:not([data-theme]),[data-theme=light]) .auth-brand-mascot{display:block;width:44px;height:44px;object-fit:contain}:root:is(:not([data-theme]),[data-theme=light]) .auth-wordmark-accent{color:#c77847}:root:is(:not([data-theme]),[data-theme=light]) .auth-title{display:block;margin:0;color:#18283a;font-size:28px;line-height:1.25}:root:is(:not([data-theme]),[data-theme=light]) .auth-lead{margin:8px 0 22px;color:#66778a;font-size:14px;line-height:1.65}:root:is(:not([data-theme]),[data-theme=light]) .auth-lead-default{display:none}:root:is(:not([data-theme]),[data-theme=light]) .auth-lead-adopted{display:inline}:root:is(:not([data-theme]),[data-theme=light]) .auth-form{gap:17px}:root:is(:not([data-theme]),[data-theme=light]) .auth-form label{gap:8px;color:#243447;font-size:14px}:root:is(:not([data-theme]),[data-theme=light]) .auth-form input{min-height:52px;border-color:#cbdbe2;border-radius:13px;padding:12px 14px;background:#fff;color:#18283a;font-size:16px}:root:is(:not([data-theme]),[data-theme=light]) .auth-password-field input{padding-right:58px}:root:is(:not([data-theme]),[data-theme=light]) .auth-form .auth-remember-checkbox{width:22px;min-height:22px;padding:0;flex-basis:22px;accent-color:#08aaa9}:root:is(:not([data-theme]),[data-theme=light]) .auth-remember-control small{color:#66778a}:root:is(:not([data-theme]),[data-theme=light]) .auth-password-toggle{display:grid;color:#65778a}:root:is(:not([data-theme]),[data-theme=light]) .auth-form input:focus-visible,:root:is(:not([data-theme]),[data-theme=light]) .auth-submit:focus-visible,:root:is(:not([data-theme]),[data-theme=light]) .auth-password-toggle:focus-visible,:root:is(:not([data-theme]),[data-theme=light]) .auth-session-retry:focus-visible{outline:3px solid rgba(8,170,169,.28);outline-offset:2px}:root:is(:not([data-theme]),[data-theme=light]) .auth-submit{min-height:52px;margin-top:2px;border-radius:13px;padding:12px 18px;background:#08aaa9;font-size:16px}:root:is(:not([data-theme]),[data-theme=light]) .auth-session-retry{border-color:#08aaa9;background:#fff;color:#078f91}:root:is(:not([data-theme]),[data-theme=light]) .auth-error{color:#a63c3c;font-size:14px}:root:is(:not([data-theme]),[data-theme=light]) .auth-form input[aria-invalid=true]{border-color:#c95c5c}}@media(max-width:430px)and (max-height:620px){:root:is(:not([data-theme]),[data-theme=light]) .auth-screen{padding-top:max(16px,env(safe-area-inset-top));padding-bottom:max(16px,env(safe-area-inset-bottom))}:root:is(:not([data-theme]),[data-theme=light]) .auth-card{margin:0}}@media(prefers-reduced-motion:reduce){.auth-checking-spinner{animation:none}}
