@import "https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&display=swap";:root{--text:#f0f4ff;--muted:#a7afc6;--surface-border:#ffffff1a;--radius-md:14px;--radius-lg:22px;--radius-xl:28px;--space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-5:20px;--z-backdrop:24;--z-sidebar:30;--z-topbar:34;--z-toast:40;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;color:var(--text);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:radial-gradient(circle at 8% 0,#1e2131 0%,#0f1016 52%,#090a10 100%);font-family:Manrope,Avenir Next,Trebuchet MS,sans-serif;font-weight:400;line-height:1.5}*{box-sizing:border-box}html,body,#root{height:100%;min-height:100%}body{min-width:320px;margin:0}.appShell{--viewport-height:100vh;--safe-top:env(safe-area-inset-top,0px);--safe-bottom:env(safe-area-inset-bottom,0px);min-height:var(--viewport-height);height:var(--viewport-height);flex-direction:column;display:flex;overflow:hidden}@supports (height:100dvh){.appShell{--viewport-height:100dvh}}.appTopbar{z-index:var(--z-topbar);padding:calc(10px + var(--safe-top)) 14px 10px;border-bottom:1px solid var(--surface-border);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:linear-gradient(#14161ef5,#101219e0);position:sticky;top:0}.topbarIdentity{align-items:center;gap:10px;min-width:0;display:flex}.topbarMenuButton{min-width:68px}.topbarTitle{letter-spacing:.01em;margin:0;font-size:.98rem;font-weight:700}.topbarSubtitle{color:var(--muted);margin:2px 0 0;font-size:.78rem}.appBody{flex:1;min-height:0;display:flex;position:relative}.appInset{flex:1;justify-content:center;align-items:stretch;min-width:0;min-height:0;padding:12px;display:flex}.dashboardPanelStack{flex-direction:column;width:100%;min-height:0;display:flex;position:relative}.appBodyAuth .appInset{align-items:center}.panelShell{width:100%;height:100%;min-height:0}.panelShell.panelHidden{display:none}.chatShell{flex-direction:column;width:100%;min-height:0;display:flex;position:relative;overflow:hidden}.contentPanel{flex-direction:column;gap:8px;display:flex;overflow:auto}.panelHeader{padding:6px 4px 2px}.panelHeader h2{margin:0;font-size:1.05rem}.panelHeader .meta{margin:4px 0 0}.contentPanelBody{padding:0 4px 10px}.contentPanelBodySeparated{border-top:1px solid #ffffff14;padding-top:12px}.chatThread{overscroll-behavior-x:none;touch-action:pan-y;min-height:0;padding:12px 14px calc(106px + var(--safe-bottom));flex-direction:column;flex:1;gap:12px;display:flex;overflow:hidden auto}.historyLoadWrap{justify-content:center;margin:2px 0 4px;display:flex}.historyLoadButton{color:var(--muted);background:#ffffff08;border:1px solid #ffffff24;border-radius:999px;padding:6px 12px;font-size:.8rem;font-weight:500}.historyLoadButton:hover:not(:disabled){color:var(--text);border-color:#ffffff3d}.chatRow{width:100%;animation:.15s ease-out riseIn;display:flex}.chatRowUser{justify-content:flex-end}.chatRowAssistant{justify-content:flex-start}.bubble{border-radius:20px;max-width:min(92%,720px);padding:12px 14px;font-size:1rem;line-height:1.42}.bubbleUser{background:linear-gradient(130deg,#ffffff24,#ffffff14);border:1px solid #ffffff2e}.bubbleAssistant{background:#ffffff08;border:1px solid #ffffff14}.bubbleText{overflow-wrap:anywhere;word-break:break-word;min-height:1.1rem}.bubbleTextPlain{white-space:pre-wrap}.markdownBody>:first-child{margin-top:0}.markdownBody>:last-child{margin-bottom:0}.markdownBody p,.markdownBody ul,.markdownBody ol,.markdownBody blockquote,.markdownBody table,.markdownBody pre{margin:.4rem 0}.markdownBody ul,.markdownBody ol{padding-left:1.25rem}.markdownBody code{background:#ffffff14;border-radius:6px;padding:.1rem .35rem;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:.9em}.markdownBody pre{background:#00000052;border-radius:10px;padding:.65rem .7rem;overflow-x:auto}.markdownBody pre code{background:0 0;padding:0}.markdownBody table{border-collapse:collapse;width:100%;display:block;overflow-x:auto}.markdownBody th,.markdownBody td{text-align:left;white-space:nowrap;border:1px solid #ffffff2e;padding:.35rem .5rem}.markdownBody th{background:#ffffff14;font-weight:600}.composerWrap{left:10px;right:10px;bottom:calc(10px + var(--safe-bottom));border-radius:var(--radius-lg);border:1px solid var(--surface-border);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#1e2128ed;gap:10px;padding:10px;display:flex;position:absolute}.composerWrap input{flex:1}.appSidebar{width:min(88vw,360px);height:100%;z-index:var(--z-sidebar);padding:calc(14px + var(--safe-top)) 10px calc(14px + var(--safe-bottom));border-right:1px solid var(--surface-border);opacity:0;pointer-events:none;background:linear-gradient(#0f1118fa,#0b0c11fa);flex-direction:column;gap:10px;transition:transform .16s ease-out,opacity .16s ease-out;display:flex;position:fixed;top:0;left:0;overflow-y:auto;transform:translate(-102%)}.appSidebarOpen{opacity:1;pointer-events:auto;transform:translate(0)}.sidebarBackdrop{z-index:var(--z-backdrop);cursor:pointer;background:#06070b94;border:0;position:fixed;inset:0}.sidebarCloseButton{align-self:flex-start;min-width:84px}.sidebarHeader{border-bottom:1px solid #ffffff14;justify-content:space-between;align-items:center;gap:8px;padding:8px 6px 12px;display:flex}.sidebarUserName{margin:0;font-size:.96rem;font-weight:650}.sidebarUserRole{color:var(--muted);margin:3px 0 0;font-size:.8rem}.sidebarNav{flex-direction:column;gap:8px;padding:10px 4px;display:flex}.sidebarSession{border-top:1px solid #ffffff14;margin-top:auto;padding:12px 4px 0}.sidebarSession .authRow,.panelActions{margin-top:0}.sidebarNavItem{width:100%;min-height:42px;color:var(--text);background:#ffffff05;border:1px solid #ffffff1a;border-radius:10px;justify-content:space-between;align-items:center;gap:10px;padding:10px 12px;font-weight:600;display:flex}.sidebarNavItem:hover:not(:disabled){border-color:#ffffff38}.sidebarNavItemActive{background:#b6c5eb29;border-color:#beccee8f}.sidebarBadge{min-width:32px;color:var(--muted);border:1px solid #ffffff29;border-radius:999px;justify-content:center;align-items:center;padding:2px 8px;font-size:.72rem;font-weight:700;display:inline-flex}.authCard{border-radius:var(--radius-xl);background:linear-gradient(#14161ef2,#111218fa);border:1px solid #ffffff24;width:min(460px,100%);padding:26px;box-shadow:0 22px 90px #00000073}.authCard h1{margin:0 0 8px;font-size:1.8rem}.authRow{gap:8px;margin-top:10px;display:flex}.authRow>*{flex:1}.authLoadingIndicator{color:var(--muted);align-items:center;gap:10px;margin-top:14px;font-size:.92rem;display:inline-flex}.authLoadingDot{background:#eaf0ffcc;border-radius:50%;width:9px;height:9px;animation:1.35s ease-in-out infinite authPulse;box-shadow:0 0 #eaf0ff73}@keyframes authPulse{0%{opacity:.7;transform:scale(.95);box-shadow:0 0 #eaf0ff59}65%{opacity:1;transform:scale(1);box-shadow:0 0 0 8px #eaf0ff00}to{opacity:.7;transform:scale(.95);box-shadow:0 0 #eaf0ff00}}input,button{font:inherit;border:1px solid #ffffff1f;border-radius:12px;padding:11px 12px}input{width:100%;color:var(--text);background:#ffffff0a}input::placeholder{color:#e2e7f485}button{color:#11131a;cursor:pointer;background:linear-gradient(130deg,#eaf0ff,#bdcef4);border:0;font-weight:600}button.secondary{color:var(--text);background:#ffffff0f;border:1px solid #ffffff29}button.danger{color:#ffcbcb;background:#c5494940;border:1px solid #c5494966}button:disabled{opacity:.6;cursor:not-allowed}button.sidebarNavItem{color:var(--text);background:#ffffff05;border:1px solid #ffffff1a}button.sidebarNavItem.sidebarNavItemActive{background:#b6c5eb29;border-color:#beccee8f}.meta{color:var(--muted);font-size:.92rem}.pill{border-radius:999px;margin-right:8px;padding:2px 10px;font-size:.76rem;display:inline-flex}.pill.done{color:#9af0ca;background:#38b57d33}.pill.pending{color:#ffd484;background:#f1ad3433}.taskRow,.subscriptionRow{border-bottom:1px solid #ffffff14;align-items:flex-start;gap:8px;padding:10px 0;display:flex}.taskRow:last-child,.subscriptionRow:last-child{border-bottom:0}.metricUserCard{border-bottom:1px solid #ffffff14;padding:12px 0}.metricUserCard:last-child{border-bottom:0}.metricUserHeader{justify-content:space-between;align-items:center;gap:10px;display:flex}.metricUserName{margin:0;font-weight:650}.metricSummary{margin:6px 0 4px;font-size:.92rem}.metricPlanHeader{margin-bottom:10px}.metricPlanTitle{margin:0;font-weight:650}.mealPlanRows{flex-direction:column;gap:8px;display:flex}.mealPlanRow{grid-template-columns:1.3fr .9fr .8fr auto;align-items:center;gap:8px;display:grid}.mealPlanRow input{min-width:0}.subscriptionDetails{flex:1;min-width:0}.subscriptionTitle{margin:0;font-size:.85rem;font-weight:600}.subscriptionMeta{overflow-wrap:anywhere;color:var(--muted);margin:2px 0 0;font-size:.82rem}.subscriptionActions{align-items:center;display:flex}.emptyState{color:var(--muted);margin:24px 8px}.errorToast{left:50%;bottom:calc(84px + var(--safe-bottom));z-index:var(--z-toast);color:#ffdada;background:#6c1818d9;border:1px solid #fc595973;border-radius:10px;padding:10px 14px;position:fixed;transform:translate(-50%)}.srOnly{clip:rect(0, 0, 0, 0);border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@keyframes riseIn{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}@media (width>=860px){.appTopbar{padding:14px 18px}.topbarMenuButton{display:none}.appBodyDashboard{grid-template-columns:320px 1fr;display:grid}.appSidebar{opacity:1;pointer-events:auto;border-right:1px solid var(--surface-border);z-index:auto;border-top:0;border-bottom:0;border-left:0;width:auto;height:auto;padding:14px 10px;position:relative;transform:none}.sidebarCloseButton{display:none}.appInset{padding:14px}.bubble{max-width:min(80%,720px)}.composerWrap{bottom:12px;left:14px;right:14px}}@media (width<=640px){.mealPlanRow{grid-template-columns:1fr}}
