nav{display:flex;align-items:center;justify-content:space-between;padding:1rem 1.5rem;background:#fff;border-bottom:1px solid var(--border)}.nav-logo{display:flex;align-items:center;gap:.5rem}.logo-text{font-size:20px;font-weight:700;color:#0b1f3a;letter-spacing:-.02em}.nav-settings{background:none;border:none;padding:.5rem;font-size:22px;cursor:pointer;line-height:1;opacity:.85}.nav-settings:hover{opacity:1}.btn-redo{font-family:inherit;font-size:13px;font-weight:600;color:var(--navy);background:#fff;border:1px solid var(--navy);border-radius:8px;padding:.5rem .75rem;cursor:pointer;transition:color var(--transition),border-color var(--transition),background var(--transition)}.btn-redo:hover{background:var(--soft-blue)}.btn-logout{font-family:inherit;font-size:14px;font-weight:500;color:var(--accent);background:none;border:none;cursor:pointer;padding:.5rem .75rem;transition:color var(--transition)}.btn-logout:hover{color:var(--navy-mid)}.redo-modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0b1f3a40;display:flex;align-items:center;justify-content:center;z-index:1000;padding:1rem}.redo-modal{background:#fff;border-radius:12px;padding:1.5rem;max-width:360px;box-shadow:0 8px 32px #0b1f3a26}.redo-modal-text{margin:0 0 1.5rem;font-size:15px;line-height:1.6;color:var(--navy)}.redo-modal-actions{display:flex;gap:.75rem;justify-content:flex-end}.btn-redo-cancel{font-family:inherit;font-size:14px;font-weight:600;color:var(--text-secondary);background:none;border:none;cursor:pointer;padding:.5rem 1rem}.btn-redo-cancel:hover{color:var(--navy)}.btn-redo-confirm{font-family:inherit;font-size:14px;font-weight:600;color:#fff;background:var(--navy);border:none;border-radius:8px;padding:.5rem 1rem;cursor:pointer}.hero-premium{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:calc(100vh - 65px);padding:3rem 1.5rem;text-align:center;background:#fff}.hero-logo-wordmark{display:flex;align-items:center;gap:.75rem;margin-bottom:1rem}.hero-title{font-size:20px;font-weight:700;color:#0b1f3a;margin:0 0 .5rem;letter-spacing:-.02em}.hero-tagline{font-size:14px;color:var(--text-secondary);font-style:italic;margin:0 0 2rem}.btn-hero-cta{font-family:inherit;font-size:15px;font-weight:600;padding:1rem 2.5rem;background:var(--navy);color:#fff;border:none;border-radius:14px;cursor:pointer;box-shadow:0 2px 12px #0b1f3a26;transition:box-shadow var(--transition)}.btn-hero-cta:hover{box-shadow:0 4px 20px #0b1f3a33}.auth-landing{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:calc(100vh - 65px);padding:3rem 1.5rem;background:#fff;text-align:center}.auth-logo-wordmark{display:flex;align-items:center;gap:.75rem;margin-bottom:1rem}.auth-title{font-size:20px;font-weight:700;color:#0b1f3a;margin:0 0 .5rem;letter-spacing:-.02em}.auth-tagline{font-size:14px;font-style:italic;color:var(--text-secondary);margin:0 0 2.5rem}.auth-buttons{display:flex;flex-direction:column;gap:.75rem;width:100%;max-width:320px}.btn-auth-primary{font-family:inherit;font-size:15px;font-weight:600;padding:1rem 2rem;background:var(--navy);color:#fff;border:none;border-radius:14px;cursor:pointer;width:100%;box-shadow:0 2px 12px #0b1f3a26;transition:box-shadow var(--transition)}.btn-auth-primary:hover{box-shadow:0 4px 20px #0b1f3a33}.btn-auth-secondary{font-family:inherit;font-size:15px;font-weight:600;padding:1rem 2rem;background:transparent;color:var(--accent);border:none;cursor:pointer;width:100%}.auth-form-section{max-width:400px;margin:0 auto;padding:2rem 1.5rem;background:#fff}.auth-form-title{font-size:20px;font-weight:700;color:var(--navy);margin:0 0 1.5rem}.auth-form{display:flex;flex-direction:column;gap:1.25rem}.auth-field{position:relative}.auth-field input{font-family:inherit;font-size:15px;width:100%;padding:1rem 1.25rem;border:1px solid rgba(11,31,58,.15);border-radius:10px;background:#fff;color:var(--navy);outline:none;transition:border-color var(--transition),box-shadow var(--transition)}.auth-field input:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--focus-ring)}.auth-field label{position:absolute;left:1.25rem;top:1rem;font-size:15px;color:var(--text-secondary);pointer-events:none;transition:all var(--transition)}.auth-field input:focus+label,.auth-field input:not(:placeholder-shown)+label{top:-.5rem;left:1rem;font-size:11px;font-weight:600;letter-spacing:.15em;text-transform:uppercase;color:var(--accent)}.auth-field input::placeholder{color:transparent}.auth-error{font-size:14px;color:var(--error);margin:0}.auth-switch{margin-top:1.5rem;font-family:inherit;font-size:14px;font-weight:500;color:var(--accent);background:none;border:none;cursor:pointer}.onboarding-premium{min-height:100vh;display:flex;flex-direction:column;justify-content:center;padding:2rem 1.5rem;background:var(--bg-primary)}.onboarding-slide{max-width:480px;margin:0 auto;animation:slideIn .4s ease}@keyframes slideIn{0%{opacity:0;transform:translate(20px)}to{opacity:1;transform:translate(0)}}.onboarding-header-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:1.5rem}.onboarding-back{background:none;border:none;padding:.25rem;cursor:pointer;color:#0b1f3a;display:flex;align-items:center;justify-content:center}.onboarding-back:hover{opacity:.8}.onboarding-step{font-size:11px;font-weight:600;letter-spacing:.15em;text-transform:uppercase;color:var(--text-secondary);margin:0}.onboarding-question{font-size:clamp(1.5rem,4vw,2rem);font-weight:700;color:var(--navy);line-height:1.4;margin:0 0 2.5rem}.onboarding-input-wrap{margin-bottom:2rem}.onboarding-input{font-family:inherit;font-size:15px;color:var(--navy);background:transparent;border:none;outline:none;width:100%}.onboarding-line{border:none;border-bottom:2px solid var(--border);padding-bottom:.75rem;border-radius:0;transition:border-color var(--transition)}.onboarding-line:focus{border-bottom-color:var(--accent)}.onboarding-line::placeholder,.onboarding-textarea::placeholder{color:var(--text-secondary)}.onboarding-textarea{resize:none;border:none;border-bottom:2px solid var(--border);padding-bottom:.75rem;line-height:1.7;min-height:100px;transition:border-color var(--transition)}.onboarding-textarea:focus{border-bottom-color:var(--accent)}.btn-continue{font-family:inherit;font-size:15px;font-weight:600;padding:1rem 2rem;background:var(--navy);color:#fff;border:none;border-radius:14px;cursor:pointer;width:100%;max-width:320px;box-shadow:0 2px 12px #0b1f3a26;transition:box-shadow var(--transition);animation:fadeIn .3s ease}.btn-continue:hover{box-shadow:0 4px 20px #0b1f3a33}.onboarding-progress-dots{display:flex;gap:6px;align-items:center}.onboarding-dot{width:6px;height:6px;border-radius:50%;background:#e8e4dc;transition:all .3s ease}.onboarding-dot.active{width:20px;border-radius:3px;background:#0b1f3a}.onboarding-dot.done{background:#c8c4bc}.onboarding-content{flex:1;display:flex;flex-direction:column;justify-content:center;gap:1.5rem;padding:1rem 0 2rem}.building-mountain-svg{width:260px;height:auto;overflow:visible}.onboarding-building{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:100vh;gap:1.5rem;padding:2rem;animation:fadeIn .5s ease}.building-mountain{width:200px;height:160px}.mountain-svg{width:100%;height:100%;overflow:visible}.building-text{font-size:16px;font-weight:700;color:#0b1f3a;letter-spacing:-.2px;text-align:center;min-height:24px;transition:opacity .3s ease}.building-percent{font-size:13px;font-weight:600;color:#94a3b8;letter-spacing:.5px}.onboarding-choices{display:flex;flex-direction:column;gap:10px;width:100%;margin-bottom:1.5rem}.onboarding-choice{font-family:inherit;font-size:15px;font-weight:600;color:#0b1f3a;background:#fff;border:1.5px solid #e8edf5;border-radius:14px;padding:14px 18px;text-align:left;cursor:pointer;transition:all .15s ease}.onboarding-choice:hover{border-color:#0b1f3a;background:#f8f9fc}.onboarding-choice.selected{background:#0b1f3a;border-color:#0b1f3a;color:#fff}.onboarding-choice--other{border-style:dashed;color:#64748b}.onboarding-choice--other.selected{background:#f1f5f9;color:#0b1f3a;border-color:#0b1f3a;border-style:solid}.onboarding-other-input{margin-top:4px}.dashboard-app{min-height:100vh;background:#faf8f4;position:relative}.dashboard-compass-wrapper{position:fixed;top:0;left:0;right:0;bottom:90px;display:flex;flex-direction:column;overflow:hidden;z-index:50;background:#faf8f4}.dashboard-journey-wrapper{position:fixed;top:0;left:0;right:0;bottom:calc(80px + env(safe-area-inset-bottom));overflow:hidden;z-index:50;background:#faf8f4}.dashboard-content{position:relative;max-width:480px;margin:0 auto;padding:1.5rem 1.25rem 80px}.dashboard-content--climb,.dashboard-content--reflect{max-width:100%;padding:0;min-height:0}.section-label{font-size:11px;font-weight:600;letter-spacing:.15em;text-transform:uppercase;color:var(--text-secondary);display:block;margin-bottom:.75rem}.home-tab{animation:fadeIn .4s ease;padding-bottom:2rem}@keyframes fadeIn{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}.home-hero{background:#fff;padding:28px 20px 24px;margin-bottom:16px;border-bottom:1px solid var(--border)}.home-greeting{font-size:11px;font-weight:700;letter-spacing:1.5px;text-transform:uppercase;color:var(--text-secondary);margin:0 0 4px}.home-name{font-size:32px;font-weight:800;letter-spacing:-.8px;color:var(--navy);margin:0 0 10px;text-transform:capitalize}.home-phase-pill,.home-climb-pill{display:inline-block;background:var(--bg-secondary);border:1px solid var(--border);border-radius:50px;padding:4px 14px;font-size:12px;font-weight:700;color:var(--text-secondary);margin:0;letter-spacing:.2px}.home-identity{margin:0 16px;padding:14px 16px;background:#fff;border-radius:14px;border-left:3px solid #0b1f3a;box-shadow:0 1px 4px #0b1f3a0f}.home-identity-text{font-size:14px;font-weight:600;color:#0b1f3a;font-style:italic;line-height:1.5;margin:0}.home-no-habits{font-size:14px;color:var(--text-secondary);text-align:center;padding:24px 0;margin:0}.home-stats-row{display:flex;gap:12px;padding:0 16px;margin-bottom:8px}.home-stat-card{flex:1;background:#fff;border-radius:var(--radius-lg);border:1px solid var(--border);padding:16px;display:flex;flex-direction:column;align-items:center;gap:6px;box-shadow:0 1px 4px #0b1f3a0a}.home-stat-label{font-size:11px;font-weight:700;color:var(--text-secondary);text-transform:uppercase;letter-spacing:.8px;margin:0}.home-stat-card--ring{flex:1.2}.home-progress-ring{position:relative;width:80px;height:80px}.progress-ring-svg{width:100%;height:100%;transform:rotate(-90deg)}.progress-ring-bg{stroke:var(--border);stroke-width:7}.progress-ring-fill{stroke:var(--navy);stroke-width:7;stroke-linecap:round;transition:stroke-dasharray .5s ease}.progress-ring-value{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;font-size:18px;font-weight:800;color:var(--navy)}.home-stat-card--streak{flex:.8;justify-content:center}.home-streak-number{font-size:40px;font-weight:900;color:var(--navy);line-height:1;letter-spacing:-2px}.home-streak-fire{font-size:22px;line-height:1}.home-section{padding:16px 16px 0}.home-section-title{font-size:11px;font-weight:800;letter-spacing:1.2px;text-transform:uppercase;color:var(--text-secondary);margin:0 0 10px}.task-cards{display:flex;flex-direction:column;gap:8px}.task-card{background:#fff;border:1px solid var(--border);border-radius:var(--radius-lg);padding:14px 16px;transition:opacity var(--transition);box-shadow:0 1px 3px #0b1f3a0a}.task-card--done{opacity:.5}.task-card-label{display:flex;align-items:center;gap:12px;cursor:pointer}.task-checkbox{position:relative;flex-shrink:0}.task-checkbox input{position:absolute;opacity:0;width:22px;height:22px;cursor:pointer}.task-checkmark{position:relative;display:block;width:22px;height:22px;border:2px solid var(--border);border-radius:6px;transition:all var(--transition)}.task-checkmark:after{content:"";position:absolute;left:6px;top:2px;width:6px;height:11px;border:solid white;border-width:0 2px 2px 0;transform:rotate(45deg) scale(0);transition:transform var(--transition)}.task-checkbox input:checked+.task-checkmark{background:var(--navy);border-color:var(--navy)}.task-checkbox input:checked+.task-checkmark:after{transform:rotate(45deg) scale(1)}.task-text{font-size:15px;font-weight:500;color:var(--navy);line-height:1.5}.task-text.strikethrough{text-decoration:line-through;color:var(--text-secondary)}.home-phase-card{background:var(--navy);border-radius:var(--radius-lg);padding:18px;display:flex;flex-direction:column;gap:8px}.home-phase-card-top{display:flex;align-items:center;gap:8px}.home-phase-badge{font-size:10px;font-weight:800;letter-spacing:1.5px;text-transform:uppercase;color:#ffffff80}.home-phase-theme{font-size:16px;font-weight:700;color:#fff;margin:0;line-height:1.4;letter-spacing:-.2px}.home-phase-quote{font-size:13px;font-style:italic;color:#fff9;margin:0;line-height:1.6;padding-top:4px;border-top:1px solid rgba(255,255,255,.1)}.home-quote{font-size:13px;font-style:italic;color:var(--text-secondary);text-align:center;margin:20px 16px 0;line-height:1.7;padding:16px;border-top:1px solid var(--border)}.tab-placeholder{display:flex;align-items:center;justify-content:center;min-height:300px}.tab-placeholder h2{font-size:20px;font-weight:700;color:var(--text-secondary);margin:0}.tab-bar{position:fixed;bottom:0;left:0;right:0;height:90px;z-index:100;background-color:var(--bg-primary);border-top:none;display:flex;align-items:flex-start;padding-top:10px}.tab-bar-inner{display:flex;max-width:480px;margin:0 auto;padding:0 8px 6px;gap:2px}.tab-button{flex:1;font-family:inherit;font-size:10px;font-weight:600;color:#9a8f7f;background:none;border:none;border-radius:0;box-shadow:none;padding:4px 4px 6px;cursor:pointer;display:flex;flex-direction:column;align-items:center;gap:4px;transition:color .15s ease;letter-spacing:.3px;text-transform:uppercase}.tab-button:before{content:"";display:block;width:20px;height:20px;background-color:currentColor;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center;mask-position:center;opacity:.35;transition:opacity .15s}.tab-button[data-tab=Home]:before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3Cpolyline points='9 22 9 12 15 12 15 22'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3Cpolyline points='9 22 9 12 15 12 15 22'/%3E%3C/svg%3E")}.tab-button[data-tab=Compass]:before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolygon points='16.24 7.76 14.12 14.12 7.76 16.24 9.88 9.88 16.24 7.76'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolygon points='16.24 7.76 14.12 14.12 7.76 16.24 9.88 9.88 16.24 7.76'/%3E%3C/svg%3E")}.tab-button[data-tab=Goals]:before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M22 11.08V12a10 10 0 1 1-5.93-9.14'/%3E%3Cpolyline points='22 4 12 14.01 9 11.01'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M22 11.08V12a10 10 0 1 1-5.93-9.14'/%3E%3Cpolyline points='22 4 12 14.01 9 11.01'/%3E%3C/svg%3E")}.tab-button[data-tab=Vision]:before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E")}.tab-button[data-tab=Progress]:before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cline x1='18' y1='20' x2='18' y2='10'/%3E%3Cline x1='12' y1='20' x2='12' y2='4'/%3E%3Cline x1='6' y1='20' x2='6' y2='14'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cline x1='18' y1='20' x2='18' y2='10'/%3E%3Cline x1='12' y1='20' x2='12' y2='4'/%3E%3Cline x1='6' y1='20' x2='6' y2='14'/%3E%3C/svg%3E")}.tab-button[data-tab=Journey]:before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 15s1-1 4-1 5 2 8 2 4-1 4-1V3s-1 1-4 1-5-2-8-2-4 1-4 1z'/%3E%3Cline x1='4' y1='22' x2='4' y2='15'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 15s1-1 4-1 5 2 8 2 4-1 4-1V3s-1 1-4 1-5-2-8-2-4 1-4 1z'/%3E%3Cline x1='4' y1='22' x2='4' y2='15'/%3E%3C/svg%3E")}.tab-button[data-tab=Climb]:before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='22 7 13.5 15.5 8.5 10.5 2 17'/%3E%3Cpolyline points='16 7 22 7 22 13'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='22 7 13.5 15.5 8.5 10.5 2 17'/%3E%3Cpolyline points='16 7 22 7 22 13'/%3E%3C/svg%3E")}.tab-button[data-tab=Reflect]:before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M2 3h6a4 4 0 0 1 4 4v14a3 3 0 0 0-3-3H2z'/%3E%3Cpath d='M22 3h-6a4 4 0 0 0-4 4v14a3 3 0 0 1 3-3h7z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M2 3h6a4 4 0 0 1 4 4v14a3 3 0 0 0-3-3H2z'/%3E%3Cpath d='M22 3h-6a4 4 0 0 0-4 4v14a3 3 0 0 1 3-3h7z'/%3E%3C/svg%3E")}.tab-button.active{color:#1a1a2e;font-weight:700}.tab-button.active:before{opacity:1;background-color:#1a1a2e}.compass{height:100%;display:flex;flex-direction:column;background:#faf8f4;position:relative}.compass-premium{display:flex;flex-direction:column;height:100%;background:#faf8f4}.compass-loading{padding:2rem;text-align:center;color:#64748b}.compass-header{display:flex;align-items:center;gap:.75rem;padding:1rem 1.25rem;background:#fff;border-bottom:1px solid #e8edf5;box-shadow:0 1px 8px #0b1f3a0f;flex-shrink:0}.compass-header>div{display:flex;flex-direction:column;gap:1px}.compass-title{font-size:17px;font-weight:800;color:#0b1f3a;letter-spacing:-.03em}.compass-subtitle{font-size:11px;font-weight:600;color:#94a3b8;letter-spacing:.06em;text-transform:uppercase}.compass-messages{flex:1;overflow-y:auto;padding:24px 20px 20px;display:flex;flex-direction:column;gap:16px;scrollbar-width:none;-webkit-overflow-scrolling:touch}.compass-messages::-webkit-scrollbar{display:none}.compass-empty{font-size:14px;color:#94a3b8;margin:auto;text-align:center}@keyframes messageIn{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.compass-message{animation:messageIn .3s ease;font-size:15px;line-height:1.75;max-width:88%}.compass-message--assistant{align-self:flex-start;color:#1e293b;padding-left:1rem;border-left:3px solid #0b1f3a;background:none;border-radius:0}.compass-message--user{align-self:flex-end;background:#0b1f3a;color:#fff;border-radius:20px 20px 4px;padding:.75rem 1.1rem;font-size:14px;line-height:1.55;box-shadow:0 2px 12px #0b1f3a26}.compass-thinking{align-self:flex-start;display:flex;align-items:center;gap:8px;padding:.5rem 0 .5rem 1rem;border-left:3px solid #0b1f3a;animation:messageIn .3s ease}.compass-thinking-icon{color:#0b1f3a;opacity:.7;animation:compassSpin 3s linear infinite;flex-shrink:0}@keyframes compassSpin{0%{transform:rotate(0)}25%{transform:rotate(90deg)}50%{transform:rotate(180deg)}75%{transform:rotate(270deg)}to{transform:rotate(360deg)}}.compass-thinking-text{font-size:13px;font-weight:600;color:#94a3b8;letter-spacing:.5px;animation:thinkingFade 1.5s ease-in-out infinite}@keyframes thinkingFade{0%,to{opacity:.4}50%{opacity:1}}.compass-input-bar{position:sticky;bottom:0;display:flex;align-items:center;gap:10px;padding:12px 20px 16px;background:#faf8f4;border-top:1px solid #ede9e3;flex-shrink:0;z-index:10}.compass-input-bar input{flex:1;font-family:inherit;font-size:15px;padding:10px 0;border:none;border-bottom:1.5px solid #ede9e3;border-radius:0;background:transparent;color:#1a1a2e;outline:none;transition:border-color .2s}.compass-input-bar input:focus{border-bottom-color:#1a1a2e}.compass-input-bar input::placeholder{color:#c4bdb3}.compass-send{flex-shrink:0;width:44px;height:44px;display:flex;align-items:center;justify-content:center;background:#1a1a2e;color:#fff;border:none;border-radius:50%;cursor:pointer;transition:opacity .15s}.compass-send:hover:not(:disabled){opacity:.85}.compass-send:disabled{opacity:.25;cursor:not-allowed}.climb-root{display:flex;flex-direction:column;background:#faf8f4;min-height:100%;font-family:Plus Jakarta Sans,sans-serif;padding-bottom:100px;overflow-y:auto}.climb-loading{display:flex;align-items:center;justify-content:center;min-height:300px}.climb-spinner{width:28px;height:28px;border:2.5px solid #e8e4dc;border-top-color:#1a1a2e;border-radius:50%;animation:spin .8s linear infinite}.climb-empty{display:flex;align-items:center;justify-content:center;min-height:300px;color:#9a8f7f;text-align:center;padding:2rem;font-size:14px}.climb-hero{background:#faf8f4;border-bottom:1px solid #ede9e3;padding:52px 24px 16px;margin-bottom:24px}.climb-hero-week{font-size:10px;font-weight:700;letter-spacing:.14em;color:#9a8f7f;text-transform:uppercase;margin:0 0 10px}.climb-hero-title{font-size:28px;font-weight:900;color:#1a1a2e;margin:0 0 6px;letter-spacing:-.6px;line-height:1.15}.climb-hero-subtitle{font-size:14px;color:#9a8f7f;margin:0 0 24px;line-height:1.55;font-weight:400}.climb-hero-progress-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.climb-hero-days{font-size:11px;font-weight:700;color:#9a8f7f;letter-spacing:.06em;text-transform:uppercase}.climb-hero-pct{font-size:11px;font-weight:700;color:#1a1a2e;letter-spacing:.06em}.climb-hero-bar-track{height:3px;background:#e8e4dc;border-radius:99px;overflow:hidden}.climb-hero-bar-fill{height:100%;background:#1a1a2e;border-radius:99px;transition:width .6s ease}.climb-hero-date{font-size:11px;font-weight:500;color:#c4bdb3;margin-top:14px;letter-spacing:.04em}.climb-habits-section{padding:0 24px;margin-top:-8px}.climb-habits-label{font-size:10px;font-weight:700;letter-spacing:.14em;color:#9a8f7f;text-transform:uppercase;margin:0 0 20px}.climb-habit-row{display:flex;flex-direction:column;gap:10px;margin-bottom:24px}.climb-habit-name{font-size:13px;font-weight:500;color:#1a1a2e;line-height:1.3;margin-bottom:8px}.climb-habit-cells{display:flex;gap:8px;align-items:center}.climb-cell{width:28px;height:28px;min-width:28px;max-width:28px;border-radius:7px;background:#e8e4dc;flex-shrink:0;transition:background .2s}.climb-cell.completed{background:#1a1a2e}.climb-cell.future{background:#f0ede8}.climb-cell.today,.climb-cell.today.completed{box-shadow:0 0 0 2px #1a1a2e}.climb-day-label-col{width:28px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.climb-day-labels{display:flex;gap:8px;margin-bottom:12px}.climb-day-label{width:28px;text-align:center;font-size:9px;font-weight:700;color:#c4bdb3;flex-shrink:0;letter-spacing:.04em}.climb-day-label.today{color:#1a1a2e}.climb-focus-section{padding:24px 24px 36px;border-top:1px solid #ede9e3;margin-top:8px}.climb-focus-text{font-size:15px;font-style:italic;color:#9a8f7f;line-height:1.7;margin:0;font-weight:500}.climb-history-section{padding:32px 24px 0;border-top:1px solid #ede9e3;margin-top:32px}.climb-history-label{font-size:10px;font-weight:700;letter-spacing:.14em;color:#9a8f7f;text-transform:uppercase;margin:0 0 12px}.climb-history-row{width:100%;background:none;border:none;border-bottom:1px solid #ede9e3;padding:12px 0;text-align:left;cursor:pointer;font-family:inherit;display:flex;flex-direction:column;gap:3px}.climb-history-row:last-child{border-bottom:none}.climb-history-row-top{display:flex;justify-content:space-between;align-items:center}.climb-history-title{font-size:13px;font-weight:700;color:#1a1a2e}.climb-history-dates{font-size:11px;color:#9a8f7f;font-weight:600}.climb-history-focus{font-size:12px;color:#9a8f7f;margin:0;line-height:1.5}.journal-root{display:flex;flex-direction:column;min-height:calc(100vh - 120px);background:#faf8f4;font-family:Plus Jakarta Sans,sans-serif;padding:0 0 2rem;gap:12px}.journal-loading{display:flex;align-items:center;justify-content:center;height:100%;min-height:200px}.journal-spinner{width:32px;height:32px;border:3px solid #e8edf5;border-top-color:#0b1f3a;border-radius:50%;animation:spin .8s linear infinite}.journal-header{background:#fff;border-bottom:1px solid #e8edf5;padding:1rem 1.25rem;display:flex;justify-content:space-between;align-items:center}.journal-title{font-size:22px;font-weight:800;color:#0b1f3a;letter-spacing:-.03em;margin:0 0 .75rem;display:inline-block}.journal-save{font-size:12px;font-weight:600;color:#94a3b8;margin-left:12px;opacity:0;transition:opacity .3s}.journal-save.saving,.journal-save.saved{opacity:1}.journal-save.saved{color:#22c55e}.journal-tabs{display:flex;gap:0}.journal-tab-btn{font-family:inherit;font-size:13px;font-weight:700;color:#94a3b8;background:none;border:none;border-bottom:2px solid transparent;padding:.6rem 1rem;cursor:pointer;transition:all .15s}.journal-tab-btn.active{color:#0b1f3a;border-bottom-color:#0b1f3a}.journal-today{padding:1.25rem;display:flex;flex-direction:column;gap:12px}.journal-date{font-size:13px;font-weight:700;color:#94a3b8;text-transform:uppercase;letter-spacing:.8px;margin:0;padding:0 1.25rem}.journal-card{margin:0 1.25rem}.journal-mood-row{display:flex;gap:8px}.journal-mood-btn{font-size:24px;background:#f1f5f9;border:2px solid transparent;border-radius:12px;width:48px;height:48px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .15s;flex:1}.journal-mood-btn.selected{background:#0b1f3a;border-color:#0b1f3a;transform:scale(1.1)}.journal-card{background:#fff;border-radius:16px;padding:16px;box-shadow:0 1px 4px #0b1f3a0d;display:flex;flex-direction:column;gap:12px}.journal-card--text{gap:10px}.journal-card-label{font-size:13px;font-weight:700;color:#0b1f3a;display:flex;align-items:center;justify-content:space-between}.journal-rating-value{font-size:14px;font-weight:800;color:#0b1f3a}.journal-emoji-row{display:flex;gap:8px}.journal-emoji-btn{font-size:24px;background:#f1f5f9;border:2px solid transparent;border-radius:12px;width:48px;height:48px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .15s;flex:1}.journal-emoji-btn.selected{background:#0b1f3a;border-color:#0b1f3a;transform:scale(1.1)}.journal-rating-row{display:flex;gap:4px}.journal-rating-btn{flex:1;height:36px;background:#f1f5f9;border:none;border-radius:8px;font-size:12px;font-weight:700;color:#94a3b8;cursor:pointer;transition:all .15s;font-family:inherit}.journal-rating-btn.active{background:#0b1f3a;color:#fff}.journal-textarea{font-family:inherit;font-size:15px;line-height:1.7;color:#0b1f3a;background:#faf8f4;border:1.5px solid #e8edf5;border-radius:12px;padding:12px;width:100%;box-sizing:border-box;resize:none;outline:none;transition:border-color .2s}.journal-textarea::placeholder{color:#cbd5e1}.journal-textarea:focus{border-color:#0b1f3a;background:#fff}.journal-history{padding:1.25rem;display:flex;flex-direction:column;gap:10px}.journal-empty{text-align:center;color:#94a3b8;font-size:14px;margin-top:40px}.journal-history-card{background:#fff;border-radius:16px;padding:16px;box-shadow:0 1px 4px #0b1f3a0d;text-align:left;border:1.5px solid #e8edf5;cursor:pointer;width:100%;font-family:inherit;transition:all .15s}.journal-history-card:hover{border-color:#0b1f3a;box-shadow:0 4px 16px #0b1f3a14}.journal-history-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px}.journal-history-date{font-size:14px;font-weight:700;color:#0b1f3a}.journal-history-rating{font-size:14px;font-weight:800;color:#0b1f3a}.journal-history-emojis{display:flex;gap:6px;font-size:18px;margin-bottom:6px}.journal-history-preview{font-size:13px;color:#64748b;line-height:1.5;margin:0}.journal-modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0b1f3a66;display:flex;align-items:flex-end;justify-content:center;z-index:1000}.journal-modal{background:#fff;border-radius:24px 24px 0 0;padding:1.5rem 1.5rem 2rem;width:100%;max-width:560px;box-shadow:0 -8px 40px #0b1f3a26;animation:slideUp .25s ease}@keyframes slideUp{0%{transform:translateY(100%)}to{transform:translateY(0)}}.journal-modal-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.journal-modal-date{font-size:18px;font-weight:800;color:#0b1f3a}.journal-modal-close{background:#f1f5f9;border:none;border-radius:50%;width:32px;height:32px;font-size:14px;cursor:pointer;color:#64748b;display:flex;align-items:center;justify-content:center}.journal-modal-ratings{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:1rem;font-size:14px;font-weight:600;color:#0b1f3a}.journal-modal-text{font-size:15px;line-height:1.7;color:#1e293b;margin:0;white-space:pre-wrap}.settings-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:var(--bg-primary);z-index:500;display:flex;flex-direction:column;animation:settingsSlideIn .25s ease-out}@keyframes settingsSlideIn{0%{opacity:0;transform:translate(100%)}to{opacity:1;transform:translate(0)}}.settings-panel{flex:1;display:flex;flex-direction:column;overflow:hidden}.settings-header{display:flex;align-items:center;justify-content:space-between;padding:.75rem 1rem 1rem;border-bottom:1px solid var(--border);flex-shrink:0}.settings-back{background:none;border:none;padding:.5rem;cursor:pointer;color:var(--navy)}.settings-back:hover{opacity:.8}.settings-title{font-size:18px;font-weight:700;color:var(--navy);letter-spacing:-.02em}.settings-spacer{width:40px}.settings-content{flex:1;overflow-y:auto;padding:1.25rem 1rem 2rem;-webkit-overflow-scrolling:touch}.settings-error{background:#fef2f2;border:1px solid var(--error);border-radius:var(--radius);padding:.75rem 1rem;margin-bottom:1.25rem;font-size:14px;color:var(--navy);display:flex;align-items:center;justify-content:space-between;gap:.5rem}.settings-error button{background:none;border:none;font-size:1.25rem;cursor:pointer;color:var(--text-secondary)}.settings-section{margin-bottom:1.25rem}.settings-section-title{font-size:11px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--text-secondary);margin:0 0 .75rem}.settings-section-title--danger{color:var(--error)}.settings-row{display:flex;flex-direction:column;gap:.25rem;margin-bottom:1rem}.settings-row--readonly .settings-value{font-size:15px;font-weight:500;color:var(--navy)}.settings-label{font-size:12px;color:var(--text-secondary)}.settings-value{font-size:14px;color:var(--navy)}.settings-divider{border:none;border-top:1px solid var(--border);margin:1.25rem 0}.settings-btn{display:block;width:100%;font-family:inherit;font-size:15px;font-weight:500;color:var(--navy);background:#fff;border:1px solid var(--border);border-radius:var(--radius);padding:.75rem 1rem;cursor:pointer;text-align:left;transition:background var(--transition),border-color var(--transition);margin-bottom:.5rem}.settings-btn:hover:not(:disabled){background:var(--soft-blue);border-color:var(--accent)}.settings-btn:disabled{opacity:.6;cursor:not-allowed}.settings-btn--danger{color:var(--error);border-color:#fc818166}.settings-btn--danger:hover:not(:disabled){background:#fef2f2;border-color:var(--error)}.settings-tagline{font-size:14px;font-style:italic;color:var(--text-secondary);margin:.5rem 0 0}.settings-btn--logout{margin-top:1.5rem;color:var(--accent);border-color:transparent}.settings-btn--logout:hover{background:var(--soft-blue)}.settings-modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0b1f3a40;display:flex;align-items:center;justify-content:center;z-index:600;padding:1rem}.settings-modal{background:#fff;border-radius:12px;padding:1.5rem;max-width:360px;width:100%;box-shadow:0 8px 32px #0b1f3a26}.settings-modal--danger .settings-modal-text{color:var(--navy)}.settings-modal-text{margin:0 0 1.5rem;font-size:15px;line-height:1.6;color:var(--navy)}.settings-modal-actions{display:flex;gap:.75rem;justify-content:flex-end}.settings-modal-cancel{font-family:inherit;font-size:14px;font-weight:600;color:var(--text-secondary);background:none;border:none;cursor:pointer;padding:.5rem 1rem}.settings-modal-cancel:hover{color:var(--navy)}.settings-modal-confirm{font-family:inherit;font-size:14px;font-weight:600;color:#fff;background:var(--navy);border:none;border-radius:8px;padding:.5rem 1rem;cursor:pointer}.settings-modal-delete{font-family:inherit;font-size:14px;font-weight:600;color:#fff;background:var(--error);border:none;border-radius:8px;padding:.5rem 1rem;cursor:pointer}.settings-modal-delete:hover{background:#e85a5a}@media (max-width: 430px){:root{font-size:15px}html,body{overflow-x:hidden;-webkit-text-size-adjust:100%}*{-webkit-tap-highlight-color:transparent}nav{padding:.75rem 1rem}.logo-text{font-size:18px}.nav-settings{font-size:24px;padding:.5rem}main{min-height:calc(100vh - 52px);padding-bottom:env(safe-area-inset-bottom,0)}.dashboard-app{padding-bottom:88px}.dashboard-content{padding:1rem;max-width:100%}.dashboard-content--goals{padding:1rem}.tab-bar{position:fixed;bottom:0;left:0;right:0;max-width:none;margin:0;padding:0 0 env(safe-area-inset-bottom,0);border-radius:0;z-index:200}.tab-bar-inner{border-radius:0;padding:.5rem .25rem}.tab-button{font-size:11px;padding:.75rem .35rem;min-height:44px}.home-header{margin:-1rem -1rem 1.5rem;padding:1.5rem 1rem}.home-greeting{font-size:10px}.home-name{font-size:24px}.home-streak{width:100%;margin-bottom:1.5rem;padding:1rem}.streak-number{font-size:1.75rem}.home-progress-ring{width:120px;height:120px;margin-bottom:1.5rem}.progress-ring-value{font-size:1.25rem}.section-label{font-size:10px;margin-bottom:.5rem}.focus-card{padding:1rem}.focus-card p{font-size:14px;word-wrap:break-word}.phase-name{font-size:16px}.phase-theme{font-size:14px}.task-card{padding:.875rem 1rem}.task-text{font-size:14px}.home-quote{font-size:13px}.dashboard-content--compass{padding:0;display:flex;flex-direction:column;height:calc(100vh - 52px);min-height:0}.compass-premium{display:flex;flex-direction:column;flex:1;min-height:0;height:100%}.compass-header{flex-shrink:0;padding:.75rem 1rem}.compass-title{font-size:18px}.compass-messages{flex:1;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch;padding:1rem;padding-bottom:100px}.compass-message{max-width:88%;padding:.875rem 1rem;font-size:14px;word-wrap:break-word}.compass-input-bar{position:fixed;bottom:60px;left:0;right:0;flex-shrink:0;padding:.75rem 1rem;padding-bottom:max(.75rem,env(safe-area-inset-bottom));background:#faf8f4;border-top:1px solid var(--border);z-index:150}.compass-input-bar input{font-size:16px}.compass-send{width:44px;height:44px;border-radius:50%}.goals-premium{padding:0 0 1.5rem}.goals-hero{padding:1.25rem 1rem;margin-bottom:1.5rem}.goals-identity{font-size:16px;word-wrap:break-word}.goals-section-title{font-size:18px;margin-bottom:.75rem}.goal-plan-card,.phase-card{padding:1rem}.goal-plan-title{font-size:16px;word-wrap:break-word}.goal-plan-description,.phase-theme{font-size:14px;word-wrap:break-word}.milestone-text{word-wrap:break-word}.onboarding-premium{padding:1.5rem 1rem;justify-content:flex-start;min-height:100vh}.onboarding-slide{max-width:100%;width:100%;text-align:center}.onboarding-question{font-size:clamp(1.25rem,5vw,1.75rem);margin-bottom:2rem;text-align:center}.onboarding-input-wrap{margin-bottom:1.5rem;text-align:left}.onboarding-slide{display:flex;flex-direction:column}.btn-continue{max-width:100%;margin-left:auto;margin-right:auto}.onboarding-building{min-height:50vh;padding:2rem 1rem}.auth-landing{padding:2rem 1rem}.auth-title{font-size:18px}.auth-buttons{max-width:100%}.auth-form-section{padding:1.5rem 1rem;max-width:100%}.hero-premium{padding:2rem 1rem}.hero-title{font-size:18px}.hero-tagline{font-size:13px;margin-bottom:1.5rem}.tab-placeholder{min-height:200px;padding:1rem}.tab-placeholder h2{font-size:18px;text-align:center}.card-lift:hover{transform:none}.redo-modal-overlay{padding:1rem;align-items:flex-end}.redo-modal{max-width:100%;width:100%;border-radius:16px 16px 0 0}}:root{font-family:Plus Jakarta Sans,system-ui,-apple-system,sans-serif;font-size:15px;line-height:1.7;font-weight:400;color-scheme:light;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;--bg-primary: #faf8f4;--bg-secondary: #EFEDE8;--navy: #0B1F3A;--navy-mid: #1a3560;--accent: #0B1F3A;--border: #E8E4DC;--soft-blue: #EFEDE8;--text-primary: #0B1F3A;--text-secondary: #8A8070;--gold: #F6C90E;--success: #48BB78;--error: #FC8181;--focus-ring: rgba(11,31,58,.08);--radius: 10px;--radius-lg: 16px;--transition: .2s ease}*{box-sizing:border-box}html{background:#faf8f4}body{background:#faf8f4;margin:0;min-height:100vh;color:var(--text-primary)}.btn-press{transition:transform var(--transition)}.btn-press:active{transform:scale(.97)}.card-lift{transition:box-shadow var(--transition),transform var(--transition)}.card-lift:hover{box-shadow:0 4px 24px #0b1f3a14;transform:translateY(-3px)}main{background:var(--bg-primary);min-height:calc(100vh - 57px)}.app-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:100vh;gap:1rem;color:var(--text-secondary)}.app-loading-spinner{width:32px;height:32px;border:3px solid var(--soft-blue);border-top-color:var(--accent);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
