:root{--palette-ground:#f6f1ea;--palette-surface:#fff;--palette-ink:#2a2230;--palette-muted:#6e6475;--palette-border:#e6dee8;--palette-heather:#6f4a82;--palette-heather-deep:#4e3260;--palette-heather-tint:#f1e8f5;--palette-lilac:#b99bc8;--palette-moss:#4e6b52;--palette-moss-tint:#eaf0e8;--palette-rose:#c2456b;--palette-blush:#f4a6be;--palette-night:#1e1724;--palette-reveal-soft:#e3d6ea;--palette-reveal-hill-back:#3e2750;--palette-reveal-hill-front:#2f1e3d;--palette-hill-heather:#e7dde9;--palette-hill-moss:#d6e0d3;--palette-dot-idle:#d8c6e2;--ground:var(--palette-ground);--surface:var(--palette-surface);--ink:var(--palette-ink);--muted:var(--palette-muted);--border:var(--palette-border);--heather:var(--palette-heather);--on-heather:var(--palette-surface);--accent-text:var(--palette-heather);--accent-strong:var(--palette-heather-deep);--icon-button:var(--palette-heather-tint);--icon-stroke:var(--palette-heather);--secondary-icon-bg:var(--palette-moss-tint);--secondary-icon:var(--palette-moss);--hills-back:var(--palette-hill-heather);--hills-front:var(--palette-hill-moss);--dot-idle:var(--palette-dot-idle);--error:var(--palette-rose);--font-display:"Fraunces", Georgia, serif;--font-body:"Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;--safe-top:env(safe-area-inset-top,0px);--safe-bottom:env(safe-area-inset-bottom,0px);--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}@media (prefers-color-scheme:dark){:root{--ground:var(--palette-night);--surface:var(--palette-ink);--ink:var(--palette-ground);--muted:var(--palette-lilac);--border:var(--palette-heather-deep);--accent-text:var(--palette-lilac);--accent-strong:var(--palette-heather-tint);--icon-button:var(--palette-heather-deep);--icon-stroke:var(--palette-heather-tint);--secondary-icon-bg:var(--palette-moss);--secondary-icon:var(--palette-moss-tint);--hills-back:var(--palette-heather-deep);--hills-front:var(--palette-moss);--dot-idle:var(--palette-heather-deep);--error:var(--palette-blush);--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}}*,:before,:after{box-sizing:border-box}html,body,#root{height:100%;margin:0}body{background:var(--ground);color:var(--ink);font-family:var(--font-body);-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent;overscroll-behavior:none;font-size:15px;line-height:1.4}button{color:inherit;font-family:inherit}a{color:var(--accent-text)}:focus-visible{outline:2px solid var(--heather);outline-offset:2px}.visually-hidden{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.screen{background:var(--ground);flex-direction:column;min-height:100%;display:flex}.center-message{color:var(--muted);text-align:center;flex-grow:1;justify-content:center;align-items:center;padding:24px;display:flex}.btn{cursor:pointer;border:none;border-radius:26px;height:52px;padding:0 28px;font-size:16px;font-weight:700;transition:transform .12s ease-out,opacity .12s ease-out}.btn:active{transform:scale(.97)}.btn:disabled{opacity:.6;cursor:default}.btn-primary{background:var(--heather);color:var(--on-heather)}.btn-outline{border:1.5px solid var(--accent-text);height:48px;color:var(--accent-text);background:0 0;border-radius:24px;font-size:15px}.btn-light{background:var(--palette-surface);color:var(--palette-heather-deep)}.btn-text{min-height:44px;color:var(--muted);cursor:pointer;background:0 0;border:none;padding:0 12px;font-size:14px;font-weight:600}.icon-button{background:var(--icon-button);width:44px;height:44px;color:var(--icon-stroke);cursor:pointer;border:none;border-radius:22px;flex-shrink:0;justify-content:center;align-items:center;display:flex}.segmented{background:var(--icon-button);border-radius:22px;grid-auto-columns:minmax(0,1fr);grid-auto-flow:column;gap:4px;padding:4px;display:grid}.segmented button{height:40px;color:var(--accent-strong);cursor:pointer;background:0 0;border:none;border-radius:20px;font-size:14px;font-weight:600;transition:background-color .18s ease-out,color .18s ease-out}.segmented button[aria-pressed=true]{background:var(--heather);color:var(--on-heather);font-weight:700}.card{background:var(--surface);border:1px solid var(--border);border-radius:16px;padding:16px}.error-text{color:var(--error);text-align:center;margin:0;font-size:14px}@media (prefers-reduced-motion:reduce){*,:before,:after{transition-duration:0s!important;animation-duration:0s!important}}.chat{height:100%;min-height:0}.chat-header{background:var(--surface);padding-top:calc(12px + var(--safe-top));flex-direction:column;display:flex}.chat-header-row{align-items:center;gap:12px;padding:0 16px 12px;display:flex}.chat-header-text{flex-direction:column;flex-grow:1;gap:2px;min-width:0;display:flex}.chat-partner-name{font-family:var(--font-display);font-size:20px;font-weight:500}.chat-main{flex-direction:column;flex-grow:1;gap:14px;padding:16px;display:flex;overflow-y:auto}.chat-empty{text-align:center;max-width:260px;color:var(--muted);margin:auto;font-size:15px}.settings-header{padding:calc(16px + var(--safe-top)) 16px 20px;background:var(--surface);align-items:center;gap:12px;display:flex}.settings-header h1{font-family:var(--font-display);margin:0;font-size:26px;font-weight:500}.settings-main{padding:18px 16px calc(24px + var(--safe-bottom));flex-direction:column;flex-grow:1;gap:18px;width:100%;max-width:560px;margin:0 auto;display:flex}.settings-main section{flex-direction:column;gap:10px;display:flex}.settings-main h2{letter-spacing:.06em;color:var(--muted);margin:0;font-size:12px;font-weight:700}.settings-card{flex-direction:column;gap:16px;display:flex}.settings-card-tight{gap:10px}.settings-field{flex-direction:column;gap:8px;display:flex}.settings-label{font-size:15px;font-weight:600}.settings-hint{color:var(--muted);font-size:13px;line-height:1.45}.settings-divider{background:var(--border);height:1px}.settings-row{text-align:left;cursor:pointer;background:0 0;border:none;justify-content:space-between;align-items:center;gap:12px;min-height:44px;padding:0;display:flex}.settings-row-text{flex-direction:column;gap:2px;display:flex}.settings-value{color:var(--accent-text);flex-shrink:0;font-size:15px;font-weight:600}.settings-sample{background:var(--ground);border-radius:14px;align-items:center;gap:10px;padding:10px 12px;display:flex}.settings-sample-icon{background:var(--heather);border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:28px;height:28px;display:flex}.settings-sample-text{flex-direction:column;gap:1px;min-width:0;display:flex}.settings-sample-title{color:var(--muted);font-size:12px}.settings-sample-body{color:var(--ink);font-size:14px}.settings-signout{align-self:center}.welcome-reveal{background:var(--palette-heather-deep);min-height:100%;color:var(--palette-surface);flex-direction:column;align-items:center;padding-bottom:190px;display:flex;position:relative;overflow:hidden}.welcome-wordmark{font-family:var(--font-display);margin-top:calc(32px + var(--safe-top) + min(48px, 4vh));color:var(--palette-reveal-soft);font-size:22px;font-style:italic}.welcome-reveal-copy{text-align:center;flex-direction:column;align-items:center;gap:16px;max-width:420px;margin-top:clamp(48px,14vh,120px);padding:0 32px;display:flex}.welcome-reveal-copy h1{font-family:var(--font-display);margin:0;font-size:40px;font-weight:500;line-height:1.15}.welcome-reveal-lead{color:var(--palette-heather-tint);margin:0;font-size:18px;line-height:1.45}.welcome-reveal-body{color:var(--palette-reveal-soft);margin:0;font-size:15px;line-height:1.5}.welcome-reveal-start{z-index:1;margin-top:40px;padding:0 36px;position:relative}.welcome-setup{padding:calc(16px + var(--safe-top)) 24px calc(32px + var(--safe-bottom));width:100%;max-width:480px;margin:0 auto}.welcome-topbar{justify-content:space-between;align-items:center;padding-top:24px;display:flex}.welcome-dots{gap:6px;display:flex}.welcome-dot{background:var(--dot-idle);border-radius:4px;width:8px;height:8px;transition:width .2s ease-out,background-color .2s ease-out}.welcome-dot[data-reached=true]{background:var(--heather)}.welcome-dot[data-current=true]{width:24px}.welcome-step{flex-direction:column;flex-grow:1;display:flex}.welcome-intro{text-align:center;flex-direction:column;align-items:center;gap:20px;margin-top:72px;display:flex}.welcome-intro-install{margin-top:48px}.welcome-intro h1{font-family:var(--font-display);margin:0;font-size:28px;font-weight:500;line-height:1.2}.welcome-intro p{color:var(--muted);margin:0;font-size:15px;line-height:1.5}.welcome-app-icon{background:var(--heather);border-radius:24px;justify-content:center;align-items:center;width:96px;height:96px;display:flex}.welcome-round-icon{background:var(--icon-button);width:120px;height:120px;color:var(--icon-stroke);border-radius:60px;justify-content:center;align-items:center;display:flex}.welcome-round-icon-moss{background:var(--secondary-icon-bg);color:var(--secondary-icon)}.welcome-install-steps{flex-direction:column;gap:12px;margin:28px 0 0;padding:0;list-style:none;display:flex}.welcome-install-steps li{background:var(--surface);border:1px solid var(--border);border-radius:16px;align-items:center;gap:14px;padding:14px 16px;font-size:15px;display:flex}.welcome-step-number{background:var(--icon-button);width:28px;height:28px;color:var(--accent-strong);border-radius:14px;flex-shrink:0;justify-content:center;align-items:center;font-weight:700;display:flex}.welcome-spacer{flex-grow:1;min-height:32px}.welcome-actions{flex-direction:column;gap:10px;display:flex}.welcome-note{color:var(--muted);text-align:center;margin:0;font-size:14px}.login-message{text-align:center;z-index:1;max-width:420px;margin-top:20px;padding:0 32px;position:relative}
