@font-face{font-family:Source Code Pro;src:url(/source-code-pro.ttf) format("truetype");font-weight:200 800;font-display:swap}:root{font-family:Source Code Pro,ui-monospace,monospace;color-scheme:light dark;--canvas: #000;--surface: #1a1a1a;--raised: #242424;--elevated: #2d2d2d;--overlay: #363636;--text: #f5f5f5;--muted: #8c8c8c;--green: #70ae89;--red: #be6969;--blue: #71a8db;--angad: rgba(68, 111, 145, .23);--garima: rgba(148, 75, 85, .21);--border: #f5f5f5;background:var(--canvas);color:var(--text);font-synthesis:none}@media(prefers-color-scheme:light){:root{--canvas: #f3f2ef;--surface: #e7e5e0;--raised: #dbd8d2;--elevated: #d0ccc5;--overlay: #f9f8f5;--text: #171717;--muted: #686662;--green: #3e7755;--red: #9a4f53;--blue: #3977ac;--angad: rgba(75, 125, 162, .14);--garima: rgba(163, 82, 92, .13);--border: #171717}}*{box-sizing:border-box}html,body,#root{height:100%;overflow:hidden}body{margin:0;min-width:320px;background:var(--canvas)}button,input,textarea{font:inherit}button{color:inherit}.app-shell{position:fixed;top:var(--app-viewport-top, 0);left:50%;transform:translate(-50%);display:flex;flex-direction:column;width:min(100%,920px);height:var(--app-viewport-height, 100dvh);padding:max(18px,env(safe-area-inset-top)) 18px max(8px,env(safe-area-inset-bottom));overflow:hidden}.app-header{position:relative;z-index:8;flex:0 0 auto;margin-inline:-2px;padding-inline:2px;background:var(--canvas)}.app-content{flex:1 1 auto;min-height:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}.topbar{min-height:58px;display:flex;align-items:center;justify-content:space-between;gap:12px}h1{margin:0;font-size:clamp(14px,3.6vw,18px);font-weight:800;letter-spacing:-.045em;white-space:nowrap}h1 span{font-weight:300}.person-switch{position:relative;flex:0 0 auto;display:grid;grid-template-columns:1fr 1fr;width:76px;height:40px;padding:3px;border-radius:13px;background:var(--surface)}.person-switch button{z-index:1;border:0;background:transparent;border-radius:10px;color:var(--muted);font-size:10px;font-weight:550;cursor:pointer}.person-switch button.active{color:var(--text)}.switch-thumb{position:absolute;top:3px;left:3px;width:35px;height:34px;border:1px solid var(--border);border-radius:10px;background:var(--raised);transition:transform .17s ease}.switch-thumb.second{transform:translate(35px)}.tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:2px;padding:3px;margin:8px 0 12px;border-radius:16px;background:var(--surface)}.tabs.graph-enabled{grid-template-columns:1fr 1fr 52px 1fr}.tabs button{height:44px;border:0;border-radius:12px;background:transparent;color:var(--muted);font-size:14px;font-weight:300;cursor:pointer}.tabs button svg{width:18px;height:18px;vertical-align:middle;stroke-width:1.8}.tabs button.active{border:1px solid var(--border);background:var(--raised);color:var(--text);font-weight:550}.date-nav{display:grid;grid-template-columns:44px 1fr 44px;align-items:center;gap:8px;margin:4px 0 10px}.date-nav button{height:44px;border:0;border-radius:12px;background:var(--surface);font-size:19px;cursor:pointer}.date-nav .date-label{background:transparent;font-size:14px;font-weight:550}.summary{position:relative;display:grid;grid-template-columns:repeat(3,1fr);padding:13px 12px 30px;margin-bottom:10px;border-radius:16px;background:var(--surface)}.summary div{text-align:center}.summary span,.summary p{color:var(--muted);font-size:10px;font-weight:300}.summary strong{display:block;margin-top:5px;font-size:15px;font-weight:550;font-variant-numeric:tabular-nums}.summary p{position:absolute;bottom:9px;width:100%;margin:0;text-align:center}.metric-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-bottom:10px}.metric-cards.weight-only{grid-template-columns:minmax(0,1fr)}.metric-card{display:grid;grid-template-columns:21px minmax(0,1fr) 25px;align-items:center;gap:6px;min-width:0;min-height:60px;padding:10px;border-radius:16px;background:var(--surface)}.metric-card>svg{width:21px;height:21px;stroke-width:1.8}.metric-weight>svg{color:var(--red)}.metric-water>svg{color:var(--blue);fill:color-mix(in srgb,var(--blue) 20%,transparent)}.metric-card strong{min-width:0;font-size:15px;font-weight:550;font-variant-numeric:tabular-nums;white-space:nowrap}.metric-value{display:flex;align-items:baseline;gap:4px;min-width:0;white-space:nowrap}.metric-value small{color:var(--muted);font-size:9px;font-weight:300}.metric-card button{width:25px;height:25px;display:grid;place-items:center;padding:0;border:0;border-radius:8px;background:var(--raised);color:var(--text);font-size:18px;line-height:1;cursor:pointer}@media(max-width:375px){.metric-card{grid-template-columns:19px minmax(0,1fr) 22px;gap:5px;padding:8px}.metric-card>svg{width:19px;height:19px}.metric-card button{width:22px;height:22px}.metric-value{gap:3px}}.history-facts{line-height:1.6;white-space:normal}.history-water{color:var(--blue)}.history-weight{color:var(--red);font-weight:550}.history-weight-date{display:inline-flex;gap:4px;white-space:nowrap}.history-recorded-date{color:var(--muted);opacity:.7}.metric-sheet{max-width:420px}.metric-sheet .primary-button{margin-bottom:8px}.metric-amount-row{display:flex;align-items:flex-start;gap:8px}.metric-amount-row .field{flex:1;min-width:0}.metric-sign-button{width:48px;height:56px;flex:0 0 auto;border:0;border-radius:16px;background:var(--raised);color:var(--text);font-size:20px;cursor:pointer}.metric-sign-button.negative{color:var(--blue);box-shadow:inset 0 0 0 1px var(--blue)}.exercise{color:var(--green)!important}.entry-list{display:grid;gap:7px}.entry-card{display:grid;grid-template-columns:30px 1fr auto;align-items:center;gap:10px;width:100%;min-height:64px;padding:11px 13px;border:0;border-radius:16px;background:var(--surface);text-align:left;cursor:pointer}.entry-card,.history-entries button{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;touch-action:manipulation}.entry-icon{width:24px;height:24px;fill:none;stroke:var(--muted);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.entry-copy{display:grid;gap:3px;min-width:0}.entry-copy b{overflow:hidden;font-size:13px;font-weight:450;text-overflow:ellipsis}.entry-copy small{color:var(--muted);font-size:10px;font-weight:300}.entry-card>strong{font-size:12px;font-weight:550;font-variant-numeric:tabular-nums;white-space:nowrap}.wide-button,.primary-button{width:100%;min-height:48px;border:0;border-radius:16px;background:var(--raised);color:var(--text);font-size:12px;font-weight:550;cursor:pointer}.wide-button{margin-top:10px}.empty{padding:36px 0;color:var(--muted);text-align:center;font-size:11px}.history-list{display:grid;gap:7px}.history-card{overflow:hidden;border-radius:16px;background:var(--surface)}.history-summary{display:flex;justify-content:space-between;gap:12px;width:100%;padding:12px;border:0;background:transparent;text-align:left;cursor:pointer}.history-summary>span{display:grid;gap:4px}.history-summary b,.history-summary strong{font-size:12px;font-weight:550;white-space:nowrap}.history-summary small{color:var(--muted);font-size:9px;font-weight:300}.history-summary small em{color:var(--green);font-style:normal}.history-entries{display:flex;flex-wrap:wrap;gap:6px;padding:0 12px 12px}.history-entries button{min-height:36px;display:inline-flex;align-items:center;gap:7px;padding:7px 9px;border:0;border-radius:11px;background:var(--raised);color:var(--muted);font-size:9px;font-weight:300;cursor:pointer}.history-entries .entry-icon{width:16px;height:16px}.history-entries button.exercise-entry,.history-entries button.exercise-entry b{color:var(--green)}.graph-page{display:grid;gap:9px;padding-bottom:20px}.graph-controls{display:flex;gap:7px}.graph-controls button{min-height:35px;display:inline-flex;align-items:center;gap:7px;padding:0 11px;border:1px solid transparent;border-radius:11px;background:var(--surface);color:var(--muted);font-size:10px;cursor:pointer}.graph-controls button.on{border-color:color-mix(in srgb,currentColor 45%,transparent);color:var(--text)}.graph-controls button span{width:8px;height:8px;border-radius:50%;opacity:.4}.graph-controls button.on span{opacity:1}.graph-controls button.weight span{background:var(--red)}.graph-controls button.net span{background:var(--green)}.graph-controls button.smooth{padding-inline:10px;white-space:nowrap}.graph-controls button.smooth.on{color:var(--text)}.graph-card{border-radius:16px;background:var(--surface)}.graph-card{position:relative;padding:14px 10px 9px}.graph-heading{display:flex;justify-content:space-between;padding:0 8px;font-size:11px;font-weight:550}.graph-heading span:first-child{color:var(--red)}.graph-heading span:last-child{color:var(--green)}.graph-heading small{color:var(--muted);font-size:9px;font-weight:300}.graph-card svg{display:block;width:100%;height:min(46vw,310px);min-height:225px;margin-top:8px;touch-action:none;cursor:crosshair}.graph-axis,.graph-date{fill:var(--muted);font-size:10px;font-weight:300;font-variant-numeric:tabular-nums}.graph-axis.weight-axis{fill:var(--red)}.graph-axis.net-axis{fill:var(--green)}.graph-line{fill:none;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}.graph-line.weight-line{stroke:var(--red)}.graph-line.net-line{stroke:var(--green)}.graph-average{stroke-width:1.4;stroke-dasharray:5 5;opacity:.65}.graph-average.weight-average{stroke:var(--red);stroke-dasharray:3 6}.graph-average.net-average{stroke:var(--green)}.graph-dot{stroke:var(--surface);stroke-width:1.5}.graph-dot.weight-dot{fill:var(--red)}.graph-dot.net-dot{fill:var(--green)}.graph-dot.muted{opacity:.38}.graph-selection{stroke:var(--text);stroke-width:1;stroke-dasharray:4 5;opacity:.55}.graph-empty{position:absolute;inset:110px 0 auto;margin:0;color:var(--muted);text-align:center;font-size:10px;pointer-events:none}.graph-zoom{display:flex;align-items:center;justify-content:space-between;gap:7px;padding:0 7px;color:var(--muted);font-size:9px}.graph-zoom div{display:flex;gap:4px}.graph-zoom button{width:29px;height:29px;border:0;border-radius:9px;background:var(--raised);font-size:17px;cursor:pointer}.account-card{display:grid;gap:9px;margin-top:14px;padding:14px;border-radius:16px;background:var(--surface)}.account-card>b{font-size:11px;font-weight:550}.account-card>p{margin:0;color:var(--muted);font-size:9px;line-height:1.5}.file-button,.migration-preview button,.signout-button{min-height:42px;display:grid;place-items:center;border:0;border-radius:12px;background:var(--raised);color:var(--text);font-size:10px;font-weight:550;cursor:pointer}.file-button input{position:absolute;width:1px;height:1px;opacity:0}.migration-preview{display:grid;grid-template-columns:1fr auto;align-items:center;gap:8px;color:var(--muted);font-size:9px}.migration-preview button{padding-inline:12px}.notice{color:var(--green)!important}.signout-button{margin-top:3px;background:transparent;color:var(--muted)}.notification-button{flex:0 0 auto;min-height:42px;margin-top:7px;border:0;border-radius:12px;background:var(--surface);color:var(--muted);font-size:10px;cursor:pointer}.chat-panel{display:flex;flex-direction:column;min-height:100%}.messages{flex:1;display:flex;flex-direction:column;gap:7px;padding-bottom:10px}.chat-example,.message{max-width:90%;padding:11px 12px;border-radius:16px;background:var(--surface)}.chat-example small,.message>small{color:var(--muted);font-size:9px}.chat-example p,.message-markdown{margin:5px 0 0;font-size:12px;font-weight:300;line-height:1.45;overflow-wrap:anywhere}.message-markdown>:first-child{margin-top:0}.message-markdown>:last-child{margin-bottom:0}.message-markdown p{margin:0 0 7px;white-space:pre-wrap}.message-markdown strong{font-weight:700}.message-markdown a{color:var(--text);text-decoration-color:var(--muted);text-underline-offset:2px}.message-markdown ul,.message-markdown ol{margin:6px 0;padding-left:20px}.message.own{align-self:flex-end}.message.other,.message.assistant{align-self:flex-start}.message.angad,.message.aakash{background:var(--angad)}.message.garima,.message.pooja{background:var(--garima)}.message.assistant{background:var(--surface)}.retry-button{align-self:center;min-height:38px;padding:0 12px;border:0;border-radius:11px;background:var(--raised);color:var(--muted);font-size:9px;cursor:pointer}.chat-error{align-self:center;max-width:90%;margin:0;color:var(--red);font-size:9px;text-align:center}.analysis{margin-top:12px;border-top:1px solid color-mix(in srgb,var(--muted) 30%,transparent);padding-top:9px}.breakdown{display:grid;gap:5px}.breakdown div,.analysis-total{display:flex;justify-content:space-between;gap:12px;font-size:10px}.breakdown div span:last-child{color:var(--muted);white-space:nowrap}.analysis-total{margin-top:8px;padding-top:8px;border-top:1px solid color-mix(in srgb,var(--muted) 22%,transparent)}.interpretation{color:var(--muted);font-size:9px!important}.analysis-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:6px;margin-top:9px}.analysis-actions button{min-height:42px;border:0;border-radius:12px;background:var(--raised);font-size:10px;font-weight:550;cursor:pointer}.composer{position:sticky;bottom:var(--composer-bottom, max(8px, env(safe-area-inset-bottom)));display:grid;grid-template-columns:minmax(0,1fr) 48px;align-items:end;gap:4px;padding:4px;border-radius:16px;background:var(--surface)}.composer textarea{width:100%;min-height:48px;max-height:124px;resize:none;overflow-y:auto;padding:14px 12px;border:0;outline:0;background:transparent;color:var(--text);font-size:12px;line-height:16px}.composer button{display:grid;place-items:center;width:48px;height:48px;padding:0;border:0;border-radius:14px;background:var(--overlay);cursor:pointer}.composer button:disabled{opacity:.45}.composer svg{width:24px;height:24px;fill:none;stroke:var(--text);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.scrim{position:fixed;z-index:10;top:var(--form-viewport-top, 0);left:0;width:100%;height:var(--form-viewport-height, 100dvh);display:flex;align-items:flex-end;justify-content:center;padding-top:12px;background:#00000094}.sheet{width:min(100%,640px);max-height:calc(var(--form-viewport-height, 100dvh) - 12px);overflow-y:auto;overscroll-behavior:contain;padding:8px 16px max(12px,env(safe-area-inset-bottom));border-radius:20px 20px 0 0;background:var(--overlay)}.sheet-grabber{width:36px;height:4px;margin:0 auto 10px;border-radius:4px;background:var(--muted);opacity:.55}.sheet-heading{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:12px}.sheet-title-row{display:flex;align-items:center;gap:9px}.sheet-heading h2{margin:0;font-size:16px;font-weight:800}.sheet-heading p{margin:2px 0 0;color:var(--muted);font-size:10px}.icon-button{display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;border-radius:12px;background:var(--raised);font-size:19px;cursor:pointer}.icon-button svg{width:19px;height:19px}.title-field-row{display:grid;grid-template-columns:minmax(0,1fr) 56px;gap:8px}.title-field-row .field{min-width:0}.quick-trigger{display:grid;place-items:center;width:56px;height:56px;padding:0;border:0;border-radius:16px;background:var(--raised);color:var(--text);cursor:pointer}.quick-trigger svg{width:21px;height:21px}.field{display:block;position:relative;margin-bottom:9px}.field span{position:absolute;z-index:1;left:11px;top:-1px;padding:0 5px;background:var(--overlay);color:var(--muted);font-size:9px;font-weight:550}.auth-card .field span{background:var(--surface)}.field input{width:100%;min-height:56px;padding:17px 14px 8px;border:0;border-radius:16px;outline:0;background:var(--overlay);color:var(--text);font-size:12px;font-weight:300}.field input:focus{box-shadow:inset 0 0 0 1px var(--border)}.field-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.field-row .field{min-width:0}.sheet-actions{position:sticky;bottom:0;z-index:2;display:flex;gap:8px;margin:4px -4px -4px;padding:8px 4px 4px;background:var(--overlay)}.danger-button{min-height:48px;padding:0 18px;border:0;border-radius:16px;background:color-mix(in srgb,var(--red) 20%,var(--raised));color:var(--red);font-weight:550;cursor:pointer}.quick-add-view{display:grid;gap:8px;min-height:280px}.quick-back{display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;border-radius:12px;background:var(--raised);color:var(--text);cursor:pointer}.quick-back svg{width:19px;height:19px}.quick-add-list{max-height:min(55dvh,440px);display:grid;align-content:start;gap:7px;overflow-y:auto;overscroll-behavior:contain}.quick-add-item{min-height:58px;display:grid;grid-template-columns:26px 1fr;align-items:center;gap:10px;padding:10px 12px;border:0;border-radius:14px;background:var(--raised);text-align:left;cursor:pointer}.quick-add-item{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;touch-action:manipulation}.quick-add-item>span{display:grid;gap:3px}.quick-add-item b{font-size:12px;font-weight:550}.quick-add-item small{color:var(--muted);font-size:9px}.quick-prompt-scrim{position:fixed;z-index:12;inset:0;display:flex;align-items:flex-end;justify-content:center;padding:16px;background:#00000094}.quick-prompt{width:min(100%,520px);display:grid;grid-template-columns:28px 1fr;align-items:center;gap:10px;padding:14px;border-radius:18px;background:var(--overlay)}.quick-prompt>div{display:grid;gap:3px}.quick-prompt b{font-size:12px}.quick-prompt small{color:var(--muted);font-size:9px}.quick-prompt button{grid-column:1 / -1;min-height:46px;display:flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:14px;background:var(--raised);font-size:11px;font-weight:550;cursor:pointer}.quick-prompt button svg{width:17px;height:17px}.quick-prompt button.remove-quick-button{color:var(--red);background:color-mix(in srgb,var(--red) 16%,var(--raised))}.toast{position:fixed;z-index:20;left:50%;bottom:max(18px,env(safe-area-inset-bottom));transform:translate(-50%);width:max-content;max-width:calc(100% - 36px);padding:9px 12px;border-radius:12px;background:var(--elevated);color:var(--text);font-size:10px;box-shadow:0 8px 24px #0000004d}.auth-shell,.loading{min-height:100vh;display:grid;place-items:center;padding:18px}.auth-card{width:min(100%,440px);padding:20px;border-radius:18px;background:var(--surface)}.auth-card h1{margin-bottom:8px}.auth-card>p{margin:0 0 20px;color:var(--muted);font-size:10px;line-height:1.5}.error{color:var(--red)!important}.preview-badge{position:fixed;left:50%;bottom:max(10px,env(safe-area-inset-bottom));transform:translate(-50%);padding:5px 9px;border-radius:8px;background:var(--elevated);color:var(--muted);font-size:8px;pointer-events:none}@media(min-width:700px){.app-shell{padding-inline:28px}.entry-list{grid-template-columns:1fr 1fr}.wide-button{max-width:360px}}@media(max-width:699px){.sheet input,.composer textarea{font-size:16px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important}}
