:root{color:#17263f;background:#f2f5f1;font-family:Inter,ui-sans-serif,system-ui,sans-serif}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button{color:#fff;cursor:pointer;background:#14213d;border:0;border-radius:8px;padding:9px 14px}button:disabled{cursor:wait;opacity:.65}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.storybook-stage{background:#f2f5f1;place-items:center;min-height:100vh;padding:32px 20px;display:grid}.goal-intake{background:#ffffffeb;border:1px solid #17263f17;border-radius:24px;width:min(100%,640px);padding:clamp(28px,6vw,64px);box-shadow:0 24px 70px #17263f1a}.goal-intake-mark{color:#fff;background:#e46f48;border-radius:12px;place-items:center;width:38px;height:38px;margin-bottom:34px;display:grid}.goal-intake h1{color:#17263f;letter-spacing:-.055em;max-width:480px;margin:10px 0 14px;font-size:clamp(2rem,5vw,3.15rem);line-height:1.04}.goal-intake-intro{color:#647087;max-width:500px;margin:0;line-height:1.6}.goal-input-form{gap:12px;margin-top:30px}.goal-input-form textarea{resize:vertical;color:#14213d;width:100%;font:inherit;border:1px solid #cbd4e4;border-radius:12px;padding:15px 16px;line-height:1.5}.goal-input-form textarea:focus{border-color:#14213d;outline:2px solid #14213d26}.goal-input-footer,.goal-review-heading,.goal-clarification-actions{justify-content:space-between;align-items:center;gap:12px;display:flex}.goal-input-footer>span{color:#8993a4;font-size:.82rem}.goal-input-footer button,.goal-review>button{align-items:center;gap:9px;display:inline-flex}.goal-examples{color:#8993a4;gap:10px;margin-top:26px;font-size:.82rem;display:grid}.goal-examples>div{flex-wrap:wrap;gap:8px;display:flex}.goal-examples button,.secondary-button{color:#526079;background:#fff;border:1px solid #d9e0ee;font-size:.82rem}.goal-examples button:hover,.secondary-button:hover{background:#f4f6f8}.goal-review{background:#fbfcfb;border:1px solid #d9e0ee;border-radius:16px;margin-top:30px;padding:22px}.goal-review-heading{align-items:flex-start}.goal-original{color:#647087;margin:8px 0 0;font-size:.9rem;line-height:1.5}.text-button{color:#d25e39;background:0 0;padding:0;font-size:.85rem}.goal-summary{gap:12px;margin:24px 0;display:grid}.goal-summary div{border-bottom:1px solid #e6eaf0;justify-content:space-between;gap:16px;padding-bottom:12px;display:flex}.goal-summary dt{color:#8993a4;font-size:.84rem}.goal-summary dd{color:#17263f;text-align:right;margin:0;font-weight:650}.goal-clarification{color:#294c49;background:#eef5f1;border-radius:12px;margin:24px 0;padding:16px}.goal-clarification p{margin:0 0 14px;line-height:1.5}.goal-clarification-actions{justify-content:flex-start}.goal-confirmed{color:#39705e;margin:0;line-height:1.5}.auth-state{place-items:center;min-height:100vh;padding:24px;display:grid}.auth-card,.settings-card{background:#fff;border:1px solid #d9e0ee;border-radius:16px;width:min(100%,500px);padding:32px;box-shadow:0 8px 30px #14213d14}.goal-settings-card{margin-top:28px}.settings-link{color:#d25e39;align-items:center;gap:8px;font-size:.9rem;font-weight:700;text-decoration:none;display:inline-flex}.settings-link:hover{color:#a84a2d;text-decoration:underline}.auth-card h1{margin-top:0}.auth-actions{align-items:center;gap:12px;display:flex}.settings-card{margin-top:28px}.settings-card h2{margin:4px 0 10px;font-size:1.45rem}.settings-card p{line-height:1.5}.eyebrow{color:#65718a;letter-spacing:.08em;text-transform:uppercase;margin:0;font-size:.78rem;font-weight:700}form{gap:18px;margin-top:24px;display:grid}label{gap:7px;font-weight:600;display:grid}input{color:#14213d;border:1px solid #cbd4e4;border-radius:8px;width:100%;padding:11px 12px}input:focus{border-color:#14213d;outline:2px solid #14213d26}.form-error{color:#a62b2b;margin:0}.app-shell{background:#f2f5f1;grid-template-columns:248px minmax(0,1fr);min-height:100dvh;display:grid}.sidebar{background:#ffffffb8;border-right:1px solid #17263f17;flex-direction:column;gap:36px;padding:28px 16px 16px;display:flex}.brand-lockup{color:#14213d;letter-spacing:-.03em;white-space:nowrap;align-items:center;gap:10px;padding:0 8px;font-size:1.05rem;font-weight:750;display:flex}.brand-mark{background:#e46f48;border-radius:9px;flex:none;place-items:center;width:29px;height:29px;display:grid;transform:rotate(-8deg)}.brand-mark span{border:2px solid #fff;border-top:0;border-left:0;width:11px;height:11px;transform:rotate(36deg)translate(-1px,-1px)}.navigation{gap:5px;display:grid}.navigation a{color:#647087;border-radius:10px;align-items:center;gap:12px;min-height:44px;padding:0 12px;font-size:.94rem;font-weight:650;text-decoration:none;display:flex}.navigation a:hover{color:#17263f;background:#edf0f4}.navigation a.active{color:#17263f;background:#e7edf1}.navigation svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8px;width:19px;height:19px}.account-menu{margin-top:auto;position:relative}.account-trigger{color:#17263f;text-align:left;background:0 0;border-radius:10px;align-items:center;gap:9px;width:100%;padding:8px;display:flex}.account-trigger:hover{background:#edf0f4}.avatar{color:#173b3d;background:#b8d7ce;border-radius:50%;flex:none;place-items:center;width:30px;height:30px;font-size:.8rem;font-weight:800;display:grid}.account-name{text-overflow:ellipsis;white-space:nowrap;font-size:.86rem;font-weight:650;overflow:hidden}.menu-chevron{color:#65718a;width:16px;height:16px;margin-left:auto}.account-popup{z-index:4;background:#fff;border:1px solid #d9e0ee;border-radius:12px;width:min(240px,100vw - 32px);padding:8px;position:absolute;bottom:calc(100% + 8px);left:0;box-shadow:0 12px 30px #14213d26}.account-popup p{color:#647087;text-overflow:ellipsis;white-space:nowrap;margin:4px 8px 8px;font-size:.78rem;overflow:hidden}.account-popup button{color:#17263f;text-align:left;background:0 0;width:100%}.account-popup button:hover{background:#edf0f4}.app-content{min-width:0;min-height:0;padding:clamp(20px,4vw,48px)}.page{flex-direction:column;min-height:calc(100dvh - clamp(40px,8vw,96px));display:flex}.page-header h1{color:#17263f;letter-spacing:-.045em;margin:0;font-size:clamp(1.65rem,3vw,2.1rem)}.page-header p{color:#65718a;margin:8px 0 0;line-height:1.5}.chat-page .page-header{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.chat-page{height:calc(100dvh - clamp(40px,8vw,96px));min-height:0;overflow:hidden}.goal-onboarding-page{justify-content:center;align-items:center}.goal-onboarding-page .page-header{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.goal-onboarding-error{color:#a62b2b;text-align:center;width:min(100%,640px);margin:14px 0 0}.guided-goal-intake{background:#fffffff0;border:1px solid #17263f17;border-radius:24px;width:min(100%,720px);padding:clamp(28px,5vw,52px);box-shadow:0 24px 70px #17263f1a}.guided-goal-intake h1{color:#17263f;letter-spacing:-.055em;max-width:560px;margin:10px 0 14px;font-size:clamp(2rem,5vw,3.15rem);line-height:1.04}.guided-goal-intake form{gap:22px;margin-top:30px}.guided-fieldset{text-align:left;border:0;gap:12px;min-width:0;margin:0;padding:0;display:grid}.guided-fieldset legend{text-align:left;width:100%;padding:0 0 6px}.guided-fieldset>label,.guided-label{color:#17263f;font-size:.94rem;font-weight:700}.goal-kind-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.goal-kind{color:#17263f;text-align:left;background:#fff;border:1px solid #d9e0ee;border-radius:12px;gap:6px;min-height:78px;padding:14px;display:grid}.goal-kind:hover,.goal-kind.selected{background:#fff7f3;border-color:#d25e39}.goal-kind span{color:#647087;font-size:.8rem;font-weight:400;line-height:1.35}.choice-row{flex-wrap:wrap;gap:8px;display:flex}.choice-chip{color:#526079;background:#fff;border:1px solid #d9e0ee}.choice-chip:hover,.choice-chip.selected{color:#17263f;background:#e7edf1;border-color:#14213d}.guided-details{gap:8px}.guided-details label,.guided-details>label{gap:7px;display:grid}.guided-details input,.guided-details select,.guided-details textarea{color:#14213d;width:100%;font:inherit;border:1px solid #cbd4e4;border-radius:8px;padding:11px 12px}.guided-details textarea{resize:vertical}.optional-label{color:#8993a4;font-size:.78rem;font-weight:400}.guided-submit{justify-content:space-between;align-items:center;gap:12px;display:flex}.guided-submit>span{color:#8993a4;font-size:.82rem}@media (width<=560px){.goal-kind-grid{grid-template-columns:1fr}.guided-submit{flex-direction:column;align-items:stretch}}.chat{background:#fff;border:1px solid #d9e0ee;border-radius:16px;flex:1;height:auto;min-height:0;display:block;overflow:hidden;box-shadow:0 8px 30px #14213d14}.coach-thread{background:#fff;border:1px solid #d9e0ee;border-radius:16px;min-width:0;height:100%;min-height:0;display:flex;overflow:hidden;box-shadow:0 8px 30px #14213d14}.coach-thread-viewport{overscroll-behavior:contain;scrollbar-gutter:stable;flex-direction:column;flex:1;width:100%;min-width:0;min-height:0;padding:clamp(16px,3vw,32px);display:flex;position:relative;overflow:hidden auto}.chat-welcome{text-align:center;color:#647087;max-width:34rem;margin:auto;padding:4rem 1rem}.chat-welcome h2{color:#17263f;margin:0 0 8px;font-size:clamp(1.4rem,3vw,2rem)}.chat-welcome p{margin:0;line-height:1.6}.coach-message{color:#17263f;width:100%;max-width:48rem;margin:0 auto 1.25rem;padding:0;line-height:1.55;position:relative}.coach-message-heading{color:#7b8699;letter-spacing:.04em;text-transform:uppercase;margin-bottom:5px;font-size:.75rem;font-weight:700}.coach-message-content{min-width:0}.coach-message{overflow-wrap:anywhere}.coach-message-content-user{background:#edf0f4;border-radius:1rem 1rem .3rem;width:fit-content;max-width:min(90%,40rem);margin-left:auto;padding:.8rem 1rem}.coach-message-heading-user{text-align:right}.coach-markdown{overflow-wrap:anywhere;min-width:0}.coach-markdown>:first-child{margin-top:0}.coach-markdown>:last-child{margin-bottom:0}.coach-markdown p,.coach-markdown ul,.coach-markdown ol,.coach-markdown blockquote,.coach-markdown pre,.coach-markdown table{margin:.65rem 0}.coach-markdown ul,.coach-markdown ol{padding-left:1.4rem}.coach-markdown li+li{margin-top:.25rem}.coach-markdown h1,.coach-markdown h2,.coach-markdown h3{letter-spacing:-.02em;margin:1.15rem 0 .5rem;line-height:1.25}.coach-markdown h1{font-size:1.4rem}.coach-markdown h2{font-size:1.2rem}.coach-markdown h3{font-size:1.05rem}.coach-markdown a{color:#b84b2c;text-underline-offset:2px}.coach-markdown blockquote{color:#526079;border-left:3px solid #d25e39;padding-left:.9rem}.coach-markdown code{background:#edf0f4;border-radius:5px;padding:.12rem .3rem;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.9em}.coach-markdown pre{color:#f8fafc;background:#14213d;border-radius:10px;max-width:100%;padding:.9rem 1rem;overflow-x:auto}.coach-markdown pre code{color:inherit;background:0 0;padding:0}.coach-markdown table{border-collapse:collapse;max-width:100%;display:block;overflow-x:auto}.coach-markdown th,.coach-markdown td{text-align:left;border:1px solid #d9e0ee;padding:.45rem .65rem}.coach-message-actions{min-height:28px;margin-top:4px}.coach-copy,.coach-scroll-bottom{color:#7b8699;background:0 0;border:1px solid #0000;place-items:center;width:30px;height:30px;padding:0;display:inline-grid}.coach-copy:hover,.coach-scroll-bottom:hover{color:#17263f;background:#f7f8fa;border-color:#d9e0ee}.coach-copy svg,.coach-scroll-bottom svg,.coach-send svg,.coach-cancel svg{width:16px;height:16px}.coach-message-error{color:#a63d28;margin:.5rem 0}.coach-thinking{color:#647087;align-items:center;gap:.55rem;font-size:.9rem;display:inline-flex}.coach-thinking-dots{align-items:center;gap:4px;display:inline-flex}.coach-thinking-dots i{background:#d25e39;border-radius:999px;width:5px;height:5px;animation:1.2s ease-in-out infinite coach-thinking-pulse}.coach-thinking-dots i:nth-child(2){animation-delay:.15s}.coach-thinking-dots i:nth-child(3){animation-delay:.3s}@keyframes coach-thinking-pulse{0%,60%,to{opacity:.3;transform:translateY(0)}30%{opacity:1;transform:translateY(-3px)}}@media (prefers-reduced-motion:reduce){.coach-thinking-dots i{opacity:.7;animation:none}}.coach-scroll-bottom{z-index:2;background:#fff;border-color:#d9e0ee;border-radius:999px;flex:none;align-self:center;position:sticky;bottom:88px;box-shadow:0 4px 15px #14213d1f}.coach-composer-wrap{z-index:3;background:linear-gradient(#0000,#fff 34%);flex:none;width:100%;max-width:52rem;margin:auto auto 0;padding-top:1.25rem;position:sticky;bottom:0}.coach-composer{background:#fff;border:1px solid #cbd4e4;border-radius:1rem;align-items:flex-end;gap:.6rem;min-width:0;padding:.65rem;display:flex;box-shadow:0 8px 30px #00000014}.coach-composer-input{resize:none;field-sizing:content;width:100%;min-width:0;max-height:10rem;color:inherit;font:inherit;background:0 0;border:0;outline:0;flex:1;padding:.55rem;line-height:1.45;overflow-y:auto}.coach-send,.coach-cancel{cursor:pointer;border:0;border-radius:.65rem;flex:none;place-items:center;width:38px;height:38px;padding:0}.coach-send{color:#fff;background:#d25e39;display:inline-grid}.coach-cancel{color:inherit;background:#edf0f4;display:inline-grid}.chat-loading,.chat-error{color:#647087;place-items:center;height:100%;display:grid}.mobile-bar{display:none}.login-page{background:radial-gradient(circle at 50% 0,#ffffffc7,#0000 39rem),#f2f5f1;justify-content:center;align-items:center;min-height:100vh;padding:32px;display:flex;position:relative;overflow:hidden}.login-panel{z-index:1;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#ffffffc7;border:1px solid #17263f17;border-radius:24px;width:min(100%,480px);padding:42px;position:relative;box-shadow:0 24px 70px #17263f1f}.login-copy{margin-top:50px}.login-copy .eyebrow{color:#d25e39}.login-copy h1{color:#17263f;letter-spacing:-.055em;max-width:410px;margin:10px 0 16px;font-size:clamp(2.2rem,6vw,3.15rem);line-height:1.04}.login-copy>p:last-child{color:#647087;max-width:390px;margin:0;line-height:1.6}.login-actions{gap:12px;margin-top:36px;display:grid}.sign-in-button,.signup-button{width:100%;min-height:50px;font-size:.96rem;font-weight:650}.sign-in-button{justify-content:center;gap:10px;display:flex}.sign-in-button:hover{background:#263a5b}.signup-button:disabled{color:#98a0ac;cursor:not-allowed;opacity:1;background:#eef0f2;border:1px solid #d9dee5}.private-beta-note{color:#808a99;text-align:center;margin:3px 0 0;font-size:.8rem}.private-beta-note span{color:#d25e39}.login-footer{z-index:1;color:#87909e;margin:0;font-size:.78rem;position:absolute;bottom:28px}.login-glow{filter:blur(4px);opacity:.55;border-radius:50%;width:440px;height:440px;position:absolute}.login-glow-top{background:#f7c0a8;top:-290px;right:-150px}.login-glow-bottom{background:#b8d7ce;bottom:-320px;left:-150px}@media (width<=720px){.app-shell{display:block}.sidebar{display:none}.mobile-bar{background:#fffc;border-bottom:1px solid #17263f17;justify-content:space-between;align-items:center;gap:12px;min-height:62px;padding:12px 16px;display:flex}.mobile-bar .brand-lockup{padding:0;font-size:.98rem}.mobile-actions{align-items:center;gap:4px;min-width:0;display:flex}.mobile-navigation{gap:2px;display:flex}.mobile-navigation a{min-height:38px;padding:0 8px}.mobile-navigation a span{display:none}.account-menu{margin:0}.mobile-bar .account-trigger{width:auto;padding:4px}.mobile-bar .account-name,.mobile-bar .menu-chevron{display:none}.mobile-bar .account-popup{inset:calc(100% + 8px) 0 auto auto}.app-content{min-height:calc(100dvh - 62px);padding:20px 16px}.page{min-height:calc(100dvh - 102px)}.chat-page{height:calc(100dvh - 102px);min-height:0}.settings-card{margin-top:22px;padding:24px}.chat{border-radius:12px}}@media (width<=520px){.login-page{padding:20px}.login-panel{border-radius:20px;padding:30px 26px}.login-copy{margin-top:40px}.login-footer{bottom:20px}}
