:root{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#26362f;background:#f7f8f5;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;--bg:#f7f8f5;--surface:#fff;--surface-soft:#f1f3ee;--text:#26362f;--muted:#818c85;--subtle:#a2aaa4;--line:#e5e9e1;--accent:#254f3e;--accent-hover:#193f30;--accent-light:#e8efdf;--lime:#def4b1;--dark-surface:#1d4535;--protein:#5f8067;--fat:#b89b65;--carbs:#9ca7bc;--danger:#ac5149;--chart-secondary:#a9b770;--shadow:0 14px 60px #1d362212;--radius:16px}:root[data-theme=dark]{color-scheme:dark;--bg:#121a17;--surface:#19221d;--surface-soft:#1e2a23;--text:#e5ece4;--muted:#929f94;--subtle:#6a786d;--line:#2b372e;--accent:#cae8ad;--accent-hover:#dfefcb;--accent-light:#2b3c2e;--lime:#def4b1;--dark-surface:#263e2d;--protein:#8dab87;--fat:#c7ab75;--carbs:#92a4bf;--danger:#e39386;--chart-secondary:#a8b776;--shadow:0 14px 60px #0003;color:var(--text);background:var(--bg)}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.48}a,button{color:inherit}input,textarea,select{color:var(--text)}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid var(--chart-secondary);outline-offset:3px}input,select,textarea{border:1px solid var(--line);background:var(--surface);border-radius:9px;padding:12px 14px;min-width:0;width:100%;transition:border-color .2s}input::placeholder,textarea::placeholder{color:var(--subtle)}input:focus,textarea:focus,select:focus{border-color:var(--accent);outline:none}textarea{resize:vertical;line-height:1.6}input[readonly]{background:var(--surface-soft);color:var(--muted)}h1,h2,h3,p{margin:0}h1{font-size:38px;font-weight:750;letter-spacing:-1.6px;line-height:1.2}h2{font-size:20px;letter-spacing:-.55px;font-weight:750}h3{font-size:16px;letter-spacing:-.3px}p{line-height:1.7}button{border:0;background:none}small{font-size:12px}.app{display:flex;min-height:100dvh}.sidebar{width:238px;flex:0 0 238px;position:fixed;inset:0 auto 0 0;background:var(--surface);border-right:1px solid var(--line);padding:32px 20px 20px;display:flex;flex-direction:column;z-index:20}.brand{display:flex;align-items:center;gap:10px;font-size:23px;letter-spacing:-.9px;white-space:nowrap;font-weight:500}.brand strong{font-weight:800}.brand-dot{color:#80a258}.brand-icon{height:34px;width:34px;border-radius:11px;background:var(--dark-surface);color:var(--lime);display:grid;place-items:center}.sidebar>.brand{padding-left:8px}.sidebar-caption{color:var(--subtle);font-size:10px;margin:40px 14px 15px}.sidebar nav{display:flex;flex-direction:column;gap:5px}.nav-item{display:flex;align-items:center;width:100%;gap:12px;padding:13px 14px;border-radius:9px;font-size:12px;font-weight:600;color:var(--muted);text-align:left;transition:background .15s,color .15s}.nav-item:hover{background:var(--surface-soft);color:var(--text)}.nav-item.active{background:var(--accent-light);color:var(--accent);font-weight:750}.nav-ai{margin-left:auto;font-size:9px;border:1px solid var(--line);border-radius:4px;padding:1px 5px;color:var(--accent)}.sidebar-bottom{margin-top:auto}.quiet-note{display:flex;align-items:center;gap:12px;border-top:1px solid var(--line);padding:21px 10px;margin-top:35px}.quiet-note p{font-size:10px;color:var(--muted);line-height:1.8}.quiet-note strong{font-weight:500;color:var(--text)}.tiny-leaf{width:30px;height:35px;border-radius:50%;display:grid;place-items:center;background:var(--surface-soft);color:var(--accent);transform:rotate(-12deg)}.profile-row{display:flex;gap:10px;align-items:center;border-top:1px solid var(--line);margin-top:16px;padding-top:22px}.avatar{display:grid;place-items:center;width:34px;height:34px;background:var(--accent-light);color:var(--accent);border-radius:50%;font-size:12px;font-weight:750}.profile-row strong{font-size:11px;display:block}.profile-row small{font-size:9px;color:var(--muted);display:block;margin-top:3px}.profile-row>.icon-button{margin-left:auto}.workspace{margin-left:238px;width:calc(100% - 238px);min-height:100dvh;display:flex;flex-direction:column}.topbar{height:72px;border-bottom:1px solid var(--line);display:flex;align-items:center;padding:0 44px;justify-content:space-between;gap:18px;background:var(--bg)}.breadcrumb{font-size:11px;color:var(--muted)}.breadcrumb span{padding:0 12px;color:var(--subtle)}.breadcrumb strong{color:var(--text);font-weight:500}.topbar-right{display:flex;align-items:center;gap:18px}.private-label{display:flex;align-items:center;gap:6px;color:var(--muted);font-size:10px}.mobile-brand,.topbar .mobile-setting,.bottom-nav{display:none}.main{padding:36px 44px 45px;max-width:1340px;width:100%;margin:0 auto;flex:1}.page-heading{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:28px}.eyebrow{display:block;font-size:10px;font-weight:600;color:var(--muted);margin-bottom:12px}.page-heading p{font-size:12px;color:var(--muted);margin-top:10px}.heading-actions{display:flex;align-items:center;gap:10px}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid transparent;border-radius:9px;background:var(--accent);color:var(--surface);min-height:42px;padding:10px 16px;font-size:11px;font-weight:700;text-decoration:none;white-space:nowrap;transition:background .2s,transform .2s}.button:hover:not(:disabled){background:var(--accent-hover)}.button.secondary{background:var(--surface);color:var(--text);border-color:var(--line)}.button.secondary:hover:not(:disabled){background:var(--surface-soft)}.button.danger{background:var(--danger);color:#fff}.button.danger-ghost{background:transparent;color:var(--danger)}.button.danger-ghost:hover:not(:disabled){background:color-mix(in srgb,var(--danger) 8%,transparent)}.button.full{width:100%}.text-button{display:inline-flex;align-items:center;gap:6px;color:var(--accent);font-size:11px;font-weight:700;text-decoration:none;padding:0;line-height:1.7}.text-button:hover{text-decoration:underline}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;padding:6px;border-radius:7px;color:var(--muted);flex-shrink:0}.icon-button:hover{background:var(--surface-soft);color:var(--text)}.diary-toolbar{display:flex;align-items:center;gap:15px;margin:-2px 0 22px}.date-picker{display:flex;align-items:center;border:1px solid var(--line);border-radius:8px;background:var(--surface);padding:3px}.date-picker label{position:relative;display:flex;align-items:center;justify-content:center;gap:8px;padding:0 10px;font-size:11px;font-weight:650;min-width:113px;cursor:pointer}.date-picker input{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;cursor:pointer;z-index:1;padding:0;max-width:100%}.date-picker input::-webkit-calendar-picker-indicator{width:100%;height:100%;cursor:pointer}.date-picker .icon-button{width:27px;height:27px}.toolbar-hint{font-size:10px;color:var(--subtle);margin-left:auto}.nutrition-overview{display:grid;grid-template-columns:1fr 1fr;border:1px solid var(--line);background:var(--surface);border-radius:var(--radius);overflow:hidden}.calorie-panel{padding:23px 27px 0}.panel-caption{font-size:11px;color:var(--muted);display:flex;align-items:center;justify-content:space-between;gap:10px}.calorie-content{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 0 20px}.calorie-value{font-size:58px;font-weight:650;letter-spacing:-3px;line-height:1.15;display:flex;gap:10px;align-items:baseline;font-variant-numeric:tabular-nums}.calorie-value>span{font-size:12px;letter-spacing:0;color:var(--muted);font-weight:500}.calorie-goal{font-size:11px;color:var(--muted);margin-top:7px}.calorie-goal strong{color:var(--text);font-weight:500}.calorie-ring{width:100px;height:100px;position:relative;flex-shrink:0}.calorie-ring>svg{width:100%;height:100%;transform:rotate(-90deg);overflow:visible}.calorie-ring circle{fill:none;stroke-width:7;stroke-linecap:round}.ring-track{stroke:var(--surface-soft)}.ring-progress{stroke:var(--accent);transition:stroke-dasharray .6s ease}.calorie-ring>span{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;font-size:17px;font-weight:700;letter-spacing:-.5px;color:var(--accent)}.calorie-foot{border-top:1px solid var(--line);padding:15px 0;font-size:10px;color:var(--muted);display:flex;align-items:center;gap:5px}.calorie-foot strong{color:var(--text);font-weight:600}.status-dot{width:5px;height:5px;border-radius:50%;background:var(--accent);margin-right:3px}.macro-panel{border-left:1px solid var(--line);padding:23px 28px;display:flex;flex-direction:column;gap:22px;justify-content:center}.macro{display:flex;align-items:flex-start;gap:13px}.macro-letter{width:29px;height:29px;display:grid;place-items:center;background:color-mix(in srgb,var(--protein) 10%,transparent);color:var(--protein);font-size:11px;font-weight:750;border-radius:8px;flex-shrink:0;margin-top:2px}.fat .macro-letter{color:var(--fat);background:color-mix(in srgb,var(--fat) 11%,transparent)}.carbs .macro-letter{color:var(--carbs);background:color-mix(in srgb,var(--carbs) 12%,transparent)}.macro-main{flex:1}.macro-title{display:flex;justify-content:space-between;font-size:10px;margin-bottom:9px;gap:10px}.macro-title>span:last-child{font-size:9px;color:var(--muted)}.macro-title strong{color:var(--text);font-size:11px;font-weight:700}.macro-track{height:4px;border-radius:3px;background:var(--surface-soft);overflow:hidden;margin-bottom:6px}.macro-track>span{height:100%;background:var(--protein);display:block;border-radius:3px;transition:width .5s}.fat .macro-track>span{background:var(--fat)}.carbs .macro-track>span{background:var(--carbs)}.macro-main>small{font-size:9px;color:var(--muted)}.chat-invitation{width:100%;display:flex;align-items:center;text-align:left;gap:15px;background:var(--accent-light);border:1px solid color-mix(in srgb,var(--accent) 10%,transparent);border-radius:12px;padding:18px 21px;margin:19px 0 32px;transition:background .2s}.chat-invitation:hover{background:color-mix(in srgb,var(--accent-light) 80%,var(--lime))}.chat-invitation-icon{width:40px;height:40px;display:grid;place-items:center;border-radius:11px;background:var(--surface);color:var(--accent);flex-shrink:0}.chat-invitation strong{display:block;font-size:12px;color:var(--accent);font-weight:750}.chat-invitation small{display:block;font-size:10px;color:var(--muted);margin-top:6px}.chat-invitation-go{display:grid;place-items:center;width:29px;height:29px;border:1px solid color-mix(in srgb,var(--accent) 18%,transparent);border-radius:50%;margin-left:auto;color:var(--accent);flex-shrink:0}.diary-grid{display:grid;grid-template-columns:minmax(0,1fr) 235px;gap:25px}.section-title{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.section-title h2{font-size:17px;letter-spacing:-.5px}.section-title>span{font-size:10px;color:var(--muted)}.meal-groups{border:1px solid var(--line);border-radius:12px;background:var(--surface);overflow:hidden}.meal-group+.meal-group{border-top:1px solid var(--line)}.meal-heading{display:flex;align-items:center;gap:10px;padding:17px 18px 12px}.meal-symbol{width:28px;height:28px;display:grid;place-items:center;color:var(--fat)}.meal-symbol.lunch{color:var(--protein)}.meal-symbol.dinner{color:var(--carbs)}.meal-symbol.snack{color:#ba8f89}.meal-heading h3{font-size:12px;font-weight:700}.meal-heading>span{margin-left:auto;color:var(--muted);font-size:10px}.meal-heading .icon-button{margin-left:5px}.meal-empty{font-size:10px;color:var(--subtle);display:flex;align-items:center;gap:6px;margin:0 0 21px 56px;text-align:left;padding:0}.meal-empty:hover{color:var(--accent)}.food-row{display:flex;align-items:center;gap:10px;padding:12px 14px 12px 23px;border-top:1px solid var(--line)}.food-name{text-align:left;flex:1;min-width:0;padding:0}.food-name strong{display:block;font-size:11px;font-weight:600;line-height:1.6}.food-name span{display:block;color:var(--muted);font-size:9px;margin-top:2px}.food-macros{display:flex;gap:9px;color:var(--muted);font-size:9px;white-space:nowrap}.food-calories{font-size:12px;font-weight:650;text-align:right;min-width:40px}.food-calories small{font-size:8px;color:var(--muted);font-weight:400;display:block;margin-top:3px}.copy-meal{margin:3px 0 13px 23px;font-size:9px;color:var(--muted);font-weight:500}.diary-aside{padding-top:38px}.weight-summary{padding:23px 22px;background:var(--surface);border:1px solid var(--line);border-radius:12px}.weight-summary .panel-caption{font-size:10px}.weight-number{font-size:39px;font-weight:650;letter-spacing:-1.8px;margin-top:18px}.weight-number span{font-size:13px;letter-spacing:0;color:var(--muted);font-weight:400}.weight-summary p{font-size:10px;color:var(--muted);margin-top:6px;line-height:1.8}.weight-summary .text-button{margin-top:20px;font-size:10px;justify-content:space-between;width:100%}.weight-change{font-size:10px;color:var(--accent);margin-top:13px}.daily-note{padding:24px 23px;margin-top:18px;position:relative;overflow:hidden}.daily-note .eyebrow{font-size:9px;margin-bottom:11px}.daily-note h3{font-size:22px;line-height:1.4;letter-spacing:-.6px;font-weight:500}.daily-note p{font-size:10px;line-height:1.9;margin-top:12px;color:var(--muted)}.note-line{display:block;height:1px;width:44px;background:var(--accent);margin-top:18px;opacity:.4}.page-footer{display:flex;justify-content:space-between;margin:0 44px;padding:19px 0;border-top:1px solid var(--line);font-size:9px;color:var(--subtle)}.page-footer>span:first-child{font-weight:700;letter-spacing:-.4px}.modal{padding:0;background:var(--surface);color:var(--text);width:min(510px,calc(100% - 32px));max-height:90dvh;border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow)}.modal.wide{width:min(620px,calc(100% - 32px))}.modal::backdrop{background:#12251a65;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.modal-head{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:21px 24px;border-bottom:1px solid var(--line);position:sticky;top:0;background:var(--surface);z-index:2}.modal-head h2{font-size:19px}.modal-body{padding:24px}.field{display:flex;flex-direction:column;gap:8px;font-size:11px;margin-bottom:18px}.field>span{font-weight:650}.field small{color:var(--muted);font-size:10px;font-weight:400;line-height:1.6}.field input,.field select,.field textarea{font-size:13px}.form-columns{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.form-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-top:18px}.form-actions>.danger-ghost{margin-right:auto}.form-error{color:var(--danger);font-size:12px;line-height:1.6;padding:12px 0}.muted{color:var(--muted)}.small{font-size:11px}.spaced{margin-top:22px}.back-link{margin-bottom:22px}.empty{text-align:center;padding:55px 24px;max-width:580px;margin:auto}.empty-icon{display:grid;place-items:center;background:var(--surface-soft);color:var(--accent);height:58px;width:58px;border-radius:17px;margin:0 auto 20px}.empty h3{font-size:18px;font-weight:650;margin-bottom:10px;letter-spacing:-.55px}.empty p{font-size:12px;color:var(--muted);max-width:370px;margin:auto;line-height:1.9}.empty .button{margin-top:22px}.source{display:inline-flex;align-items:center;gap:8px;font-size:9px;color:var(--muted);margin-top:6px;flex-wrap:wrap}.source a{display:inline-flex;align-items:center;gap:4px;text-decoration:none}.source a:hover{text-decoration:underline}.estimate{font-size:8px;background:color-mix(in srgb,var(--fat) 12%,transparent);color:var(--fat);padding:2px 5px;border-radius:4px}.skeleton-wrap{display:flex;flex-direction:column;gap:14px;width:100%}.skeleton{height:60px;background:var(--surface-soft);border-radius:12px;animation:breathe 1.6s infinite alternate}.sk-large{height:230px}.search-form{display:flex;align-items:center;border:1px solid var(--line);padding:4px 12px;border-radius:10px;background:var(--bg);gap:9px}.search-form>svg{color:var(--muted);flex-shrink:0}.search-form input{background:transparent;border:0;padding:10px 0;font-size:13px}.search-form input:focus{outline:none}.search-form button{display:grid;place-items:center;width:31px;height:31px;color:var(--accent);flex-shrink:0}.search-shortcuts{display:flex;gap:12px;flex-wrap:wrap;margin:15px 0 20px}.search-shortcuts button{display:flex;align-items:center;gap:5px;color:var(--muted);font-size:9px;padding:0}.search-shortcuts button:hover{color:var(--accent)}.search-results{max-height:440px;overflow:auto}.product-result{display:flex;align-items:center;text-align:left;gap:13px;width:100%;padding:17px 0;border-bottom:1px solid var(--line)}.product-result:hover{background:var(--bg)}.product-icon{width:38px;height:38px;flex-shrink:0;border-radius:10px;display:grid;place-items:center;background:var(--surface-soft);color:var(--muted)}.product-result>span:nth-child(2){flex:1;min-width:0}.product-result strong{font-size:12px;display:block;line-height:1.6}.product-result small{font-size:9px;display:block;color:var(--muted);margin-top:3px}.product-result>svg{color:var(--subtle);flex-shrink:0}.result-calories{text-align:right;white-space:nowrap}.result-calories strong{font-weight:600}.result-calories small{font-size:8px}.selected-product{padding:18px;background:var(--bg);border:1px solid var(--line);border-radius:11px;margin-bottom:22px}.selected-product h3{font-size:18px}.selected-product p{font-size:11px;color:var(--muted);margin-top:4px}.nutrition-preview{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:18px 0;margin:20px 0 10px;gap:10px}.nutrition-preview small{display:block;color:var(--muted);font-size:9px;margin-bottom:7px}.nutrition-preview strong{font-size:17px;letter-spacing:-.4px}.nutrition-preview strong span{font-size:9px;font-weight:400;color:var(--muted)}.nutrition-preview~.button{margin-top:20px}.inline-warning{display:flex;gap:8px;color:var(--fat);font-size:10px;line-height:1.6;padding:10px;background:color-mix(in srgb,var(--fat) 8%,transparent);border-radius:8px;margin-bottom:10px}.inline-warning svg{flex-shrink:0;margin-top:1px}.confirmation{background:color-mix(in srgb,var(--danger) 6%,var(--surface));padding:17px;border:1px solid color-mix(in srgb,var(--danger) 20%,transparent);border-radius:10px;margin-top:20px}.confirmation p{font-size:12px}.confirmation>div{display:flex;justify-content:flex-end;gap:8px;margin-top:14px}.toast{position:fixed;bottom:28px;left:calc(50% + 119px);transform:translate(-50%);z-index:100;display:flex;align-items:center;gap:11px;background:var(--text);color:var(--bg);padding:14px 17px;border-radius:11px;font-size:11px;max-width:min(580px,calc(100% - 30px));box-shadow:var(--shadow);line-height:1.6}.toast svg{flex-shrink:0}.toast>button{color:inherit;display:flex;padding:3px}.toast.error{background:var(--danger);color:#fff}.error-banner{padding:18px;border:1px solid var(--danger);border-radius:10px;color:var(--danger);display:flex;gap:20px;justify-content:space-between;font-size:12px}.error-banner button{text-decoration:underline}.spin{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@keyframes breathe{to{opacity:.45}}.screen-chat{padding-bottom:20px}.chat-shell{border:1px solid var(--line);border-radius:16px;background:var(--surface);display:flex;flex-direction:column;min-height:590px;height:calc(100dvh - 260px);max-height:1000px;overflow:hidden}.chat-messages{flex:1;overflow:auto;padding:25px 30px;scrollbar-width:thin}.chat-welcome{text-align:center;padding:45px 20px 25px}.chat-welcome-mark{width:64px;height:64px;border-radius:20px;background:var(--accent-light);color:var(--accent);display:grid;place-items:center;margin:0 auto 20px}.chat-welcome h2{font-size:28px;font-weight:600;letter-spacing:-1px}.chat-welcome p{font-size:12px;color:var(--muted);margin-top:12px;line-height:1.9}.chat-prompts{display:flex;flex-direction:column;gap:9px;max-width:370px;margin:25px auto 0}.chat-prompts button{text-align:left;border:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 16px;font-size:11px;border-radius:9px;color:var(--muted)}.chat-prompts button:hover{color:var(--accent);border-color:var(--accent)}.chat-prompts svg{flex-shrink:0}.chat-compose-wrap{padding:18px 24px 12px;background:var(--surface);border-top:1px solid var(--line)}.chat-compose{border:1px solid var(--line);border-radius:12px;background:var(--bg);display:flex;align-items:flex-end;gap:10px;padding:10px}.chat-compose textarea{background:none;border:0;min-height:35px;max-height:160px;padding:7px 0;font-size:12px;resize:none;line-height:1.7}.chat-compose textarea:focus{outline:none}.chat-compose .icon-button{height:35px;width:35px}.send-button{width:35px;height:35px;display:grid;place-items:center;background:var(--accent);color:var(--surface);border-radius:9px;flex-shrink:0}.chat-disclaimer{text-align:center;font-size:8px;color:var(--subtle);margin-top:10px}.message{display:flex;gap:12px;margin:10px 0 25px;align-items:flex-start}.assistant-avatar{height:29px;width:29px;display:grid;place-items:center;border-radius:9px;background:var(--accent-light);color:var(--accent);flex-shrink:0}.message-body{font-size:12px;line-height:1.9;white-space:pre-wrap;word-break:break-word;max-width:90%}.message-author{display:block;font-size:9px;color:var(--muted);margin-bottom:5px;font-weight:700}.message.user{justify-content:flex-end}.message.user .message-body{padding:13px 17px;border-radius:14px 14px 2px;background:var(--surface-soft);max-width:85%}.thinking{display:flex;gap:4px;align-items:center;height:29px;color:var(--muted)}.thinking i{width:4px;height:4px;border-radius:50%;background:var(--muted);animation:breathe .6s infinite alternate}.thinking i:nth-child(2){animation-delay:.2s}.thinking i:nth-child(3){animation-delay:.4s}.thinking span{font-size:10px;margin-left:8px}.proposal{border:1px solid color-mix(in srgb,var(--accent) 30%,var(--line));background:var(--bg);padding:22px;border-radius:12px;margin:10px 0 20px 41px}.proposal h3{font-size:14px;line-height:1.8;white-space:pre-line}.proposal .eyebrow{font-size:9px;color:var(--accent)}.proposal-actions{display:flex;flex-direction:column;gap:8px;margin:15px 0;font-size:11px;color:var(--muted)}.proposal-actions>div{display:flex;align-items:center;gap:8px}.proposal-actions svg{color:var(--accent)}.proposal-details p{font-size:10px;color:var(--muted);margin-bottom:5px}.proposal .small{font-size:9px}.image-preview{display:flex;align-items:center;gap:10px;margin-bottom:12px;position:relative}.image-preview img{width:60px;height:60px;object-fit:cover;border-radius:9px}.image-preview>span{font-size:9px;color:var(--muted)}.image-preview .icon-button{position:absolute;left:40px;top:-7px;background:var(--surface);width:24px;height:24px;border:1px solid var(--line);border-radius:50%}.ai-setup-banner{display:flex;align-items:center;gap:14px;background:var(--accent-light);padding:17px 22px;border-bottom:1px solid var(--line)}.ai-setup-banner>svg{flex-shrink:0;color:var(--accent)}.ai-setup-banner>div{flex:1}.ai-setup-banner strong{font-size:11px}.ai-setup-banner p{font-size:9px;color:var(--muted);margin-top:5px}.ai-setup-banner .button{font-size:10px;min-height:34px;padding:7px 10px}.tabs{display:flex;align-items:center;background:var(--surface-soft);padding:4px;border-radius:9px;gap:2px;max-width:100%}.tabs button{padding:9px 14px;font-size:10px;font-weight:600;white-space:nowrap;color:var(--muted);border-radius:6px;display:flex;gap:6px;align-items:center;justify-content:center}.tabs button.active{background:var(--surface);color:var(--text);box-shadow:0 1px 3px #00000005}.tabs.compact{padding:3px}.tabs.compact button{padding:7px 10px;font-size:9px}.library-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:5px 0 24px;border-bottom:1px solid var(--line)}.search-inline{display:flex;gap:8px;align-items:center;color:var(--muted);max-width:240px}.search-inline input{border:0;background:none;padding:10px 0;font-size:10px}.search-inline svg{flex-shrink:0}.library-table-head{display:flex;justify-content:space-between;padding:24px 48px 13px 0;font-size:9px;color:var(--muted)}.library-list{border-top:1px solid var(--line)}.library-product{display:flex;align-items:center;gap:16px;padding:22px 0;border-bottom:1px solid var(--line)}.library-product-name{flex:1;min-width:0}.library-product h3{font-size:12px;line-height:1.6}.library-product p{font-size:10px;color:var(--muted);margin-top:3px}.library-nutrition{text-align:right}.library-nutrition>strong{font-size:16px;font-weight:650;display:block;white-space:nowrap}.library-nutrition small{font-size:8px;font-weight:400;color:var(--muted);margin-left:5px}.library-nutrition>span{font-size:9px;color:var(--muted);display:block;margin-top:7px}.favorite.selected{color:var(--accent)}.ingredient-row{display:grid;grid-template-columns:minmax(0,1fr) 110px 24px;gap:9px;align-items:center}.ingredient-row .icon-button{width:24px;height:24px;margin-top:2px}.recipe-ingredients+.text-button{margin-bottom:23px}.weight-stats{display:grid;grid-template-columns:repeat(3,1fr);padding:28px 0 32px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-bottom:34px}.weight-stats>div{padding:0 27px;border-left:1px solid var(--line)}.weight-stats>div:first-child{padding-left:0;border-left:0}.weight-stats>div>span{font-size:10px;color:var(--muted);display:block}.weight-stats strong{display:block;font-size:43px;letter-spacing:-1.8px;font-weight:650;margin-top:12px}.weight-stats strong small{font-size:12px;font-weight:400;color:var(--muted);margin-left:8px;letter-spacing:0}.weight-stats p,.weight-stats .text-button{font-size:9px;color:var(--muted);margin-top:7px;font-weight:400}.weight-stats .text-button{color:var(--accent)}.chart-section{padding:25px 26px;border:1px solid var(--line);border-radius:14px;background:var(--surface)}.chart-wrap{margin-top:25px}.weight-chart{display:block;width:100%;height:auto;min-height:190px;overflow:visible}.chart-legend{display:flex;align-items:center;gap:19px;color:var(--muted);font-size:9px;margin:18px 0 0 30px;min-height:20px;flex-wrap:wrap}.chart-legend span{display:flex;align-items:center;gap:6px}.chart-legend i{height:2px;width:14px;background:var(--accent);display:block}.chart-legend .dashed{background:repeating-linear-gradient(to right,var(--chart-secondary) 0 4px,transparent 4px 6px)}.chart-legend strong{color:var(--text);font-weight:500;margin-left:auto}.weight-deltas{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;padding:25px 0;margin:0 0 20px}.weight-deltas span{color:var(--muted);font-size:9px;display:block;margin-bottom:7px}.weight-deltas strong{font-size:11px;font-weight:600}.weight-history{margin-top:20px}.weight-row{display:flex;gap:15px;align-items:center;padding:17px 0;border-bottom:1px solid var(--line)}.weight-row-icon{width:35px;height:35px;display:grid;place-items:center;background:var(--surface-soft);color:var(--muted);border-radius:10px}.weight-row>div{flex:1}.weight-row strong{font-size:11px;font-weight:600}.weight-row small{display:block;font-size:9px;color:var(--muted);margin-top:4px}.weight-row>strong{font-size:15px;letter-spacing:-.3px}.weight-row>strong span{font-size:10px;font-weight:400;color:var(--muted)}.field .weight-input{font-size:48px;text-align:center;letter-spacing:-2px;padding:22px;font-weight:600}.insight-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:28px 0;margin-bottom:30px}.insight-stats span{font-size:10px;color:var(--muted)}.insight-stats strong{font-size:32px;letter-spacing:-1px;font-weight:650;display:block;margin-top:11px}.insight-stats small{font-size:11px;letter-spacing:0;color:var(--muted);margin-left:7px;font-weight:400}.bar-chart{height:250px;display:flex;align-items:flex-end;gap:8px;margin:35px 0 12px;border-bottom:1px solid var(--line);padding:0 8px}.bar-column{height:100%;flex:1;min-width:0;display:flex;flex-direction:column;justify-content:flex-end;text-align:center}.bar-area{height:calc(100% - 30px);display:flex;align-items:flex-end;justify-content:center}.bar-area button{display:block;width:100%;max-width:48px;position:relative;background:var(--accent-light);border-radius:5px 5px 0 0;padding:0;min-height:2px;transition:background .2s}.bar-column.active .bar-area button{background:var(--accent)}.bar-area button>span{position:absolute;top:-26px;left:50%;transform:translate(-50%);font-size:10px;color:var(--text);background:var(--surface);padding:3px;white-space:nowrap}.bar-column>small{height:30px;line-height:30px;color:var(--muted);font-size:9px}.calorie-history>.small{font-size:9px;margin-top:20px}.insight-bottom{display:grid;grid-template-columns:1fr 1fr;gap:50px;padding:30px 0}.insight-bottom h3{font-size:24px;font-weight:550;letter-spacing:-.8px}.insight-bottom p{font-size:11px;color:var(--muted);margin-top:12px;line-height:1.9}.consistency-track{height:4px;background:var(--line);border-radius:3px;margin-top:20px;overflow:hidden}.consistency-track span{display:block;height:100%;background:var(--accent);border-radius:3px}.settings-layout{max-width:800px}.settings-section{padding:28px 0;border-bottom:1px solid var(--line)}.settings-section:first-child{padding-top:8px}.settings-section-title{display:flex;gap:13px;align-items:flex-start;margin-bottom:24px}.settings-section-title>span:first-child{width:35px;height:35px;border-radius:10px;background:var(--surface-soft);color:var(--accent);display:grid;place-items:center;flex-shrink:0}.settings-section-title>div{flex:1}.settings-section-title h2{font-size:16px}.settings-section-title p{font-size:10px;color:var(--muted);margin-top:5px}.settings-section form{margin-left:48px}.settings-section .form-actions{margin-top:5px}.setting-line{display:flex;align-items:center;justify-content:space-between;gap:22px;margin:24px 0 0 48px}.setting-line>div>strong{font-size:11px;font-weight:600}.setting-line p{font-size:10px;color:var(--muted);margin-top:4px}.goal-fields{display:grid;grid-template-columns:repeat(3,1fr);gap:0 16px}.connection-status{font-size:8px;color:var(--muted);background:var(--surface-soft);padding:5px 8px;border-radius:5px;white-space:nowrap;margin-top:5px}.connection-status.connected{background:var(--accent-light);color:var(--accent)}.section-copy{font-size:11px;color:var(--muted);line-height:1.9;margin-left:48px}.endpoint{display:block;margin:20px 0 17px 48px}.endpoint>span{font-size:9px;color:var(--muted);display:block;margin-bottom:8px}.endpoint>div{display:flex;align-items:center;border:1px solid var(--line);border-radius:9px;padding-right:7px;background:var(--surface)}.endpoint input{border:0;background:none;font-size:12px;padding:12px}.settings-section>a.text-button,.settings-section>.small{margin-left:48px}.settings-section>.small{margin-top:16px;font-size:9px}.health-status{display:flex;gap:35px;margin:0 0 20px 48px}.health-status span{font-size:9px;color:var(--muted);display:block}.health-status strong{font-size:12px;font-weight:600;display:block;margin-top:7px}.inline-actions{display:flex;align-items:center;gap:20px;flex-wrap:wrap;margin:19px 0 0 48px}.token-row{display:flex;align-items:center;gap:12px;padding:16px 0 16px 48px;border-top:1px solid var(--line)}.token-row>svg{color:var(--muted)}.token-row>div{flex:1}.token-row strong{font-size:11px}.token-row small{display:block;font-size:9px;color:var(--muted);margin-top:5px}.token-row .button{font-size:10px}.settings-attribution{font-size:9px;color:var(--subtle);margin-top:24px;line-height:1.8}.permission-list{display:flex;flex-direction:column;gap:19px;margin:24px 0}.permission-list>label{display:flex;gap:12px;align-items:flex-start;cursor:pointer}.permission-list input{width:16px;height:16px;accent-color:var(--accent);margin-top:3px}.permission-list strong{font-size:11px;font-weight:600}.permission-list small{font-size:10px;color:var(--muted);display:block;margin-top:5px}.token-value{font-size:12px;word-break:break-all;margin:19px 0;font-family:ui-monospace,monospace}.token-value~p{margin-top:17px}.danger-line>div>strong{color:var(--danger)}.auth-shell{min-height:100dvh;display:grid;grid-template-columns:1fr 1fr;background:var(--surface)}.auth-story{background:#eaf0e3;color:#254434;display:flex;flex-direction:column;justify-content:space-between;padding:50px 60px;min-height:100dvh}.auth-story>div:nth-child(2){padding:60px 0}.auth-story .eyebrow{color:#809078;font-size:11px}.auth-story h1{font-size:clamp(40px,4vw,64px);line-height:1.18;letter-spacing:-2.5px;font-weight:550}.auth-story em{font-style:normal;color:#7e9866}.auth-story p{font-size:14px;color:#6e806c;margin-top:27px;line-height:1.9}.auth-story>small{font-size:10px;color:#87947d}.auth-motif{display:flex;align-items:center;gap:16px;margin-top:50px}.auth-motif span{width:62px;height:62px;display:grid;place-items:center;border-radius:20px;background:#f5f8ef;color:#809b6b}.auth-motif i{height:1px;width:30px;background:#c3cfb9}.auth-form-wrap{display:flex;justify-content:center;align-items:center;padding:50px 35px}.auth-card{width:100%;max-width:350px}.auth-card h2{font-size:31px;letter-spacing:-1px;font-weight:650}.auth-card>p{font-size:12px;color:var(--muted);margin-top:13px;margin-bottom:28px}.auth-card .field{margin-bottom:20px}.auth-card .button{margin-top:5px}.auth-card .auth-privacy{display:flex;gap:8px;align-items:center;justify-content:center;font-size:9px;line-height:1.8;margin-top:24px;color:var(--subtle)}.boot{height:100dvh;display:flex;align-items:center;justify-content:center;gap:30px}.boot>.spin{color:var(--muted);width:20px}@media(min-width:1500px){.main{padding-top:43px}.nutrition-overview{grid-template-columns:1.1fr 1fr}.calorie-panel{padding:27px 32px 0}.calorie-content{padding:20px 0 25px}.calorie-value{font-size:70px}.calorie-ring{width:115px;height:115px}.macro-panel{padding:30px 36px;gap:25px}.diary-grid{grid-template-columns:minmax(0,1fr) 270px}.food-row{padding-top:16px;padding-bottom:16px}}@media(max-width:1200px){.sidebar{width:210px;flex-basis:210px;padding-left:14px;padding-right:14px}.workspace{margin-left:210px;width:calc(100% - 210px)}.main{padding:30px}.topbar{padding:0 30px}.page-footer{margin:0 30px}.diary-grid{grid-template-columns:minmax(0,1fr) 210px;gap:18px}.calorie-panel{padding:20px 22px 0}.calorie-value{font-size:49px}.calorie-ring{width:83px;height:83px}.macro-panel{padding:22px;gap:20px}.food-macros{display:none}.toast{left:calc(50% + 105px)}.auth-story{padding:40px}.auth-story h1{font-size:44px}.library-nutrition small{display:block;margin:3px 0}.settings-section form{margin-left:0}}@media(max-width:1000px){.sidebar{width:185px;flex-basis:185px;padding:28px 10px 15px}.sidebar>.brand{font-size:21px}.sidebar-caption{font-size:9px;margin-left:10px}.nav-item{gap:9px;padding:12px 10px;font-size:10px}.nav-item svg{width:17px}.nav-ai{font-size:7px;padding:1px 3px}.workspace{margin-left:185px;width:calc(100% - 185px)}.topbar{height:63px;padding:0 25px}.main{padding:29px 25px 35px}.page-heading{align-items:flex-start;gap:15px}h1{font-size:31px;letter-spacing:-1.2px}.heading-actions{padding-top:10px}.heading-actions .button{padding:9px 11px;font-size:10px}.nutrition-overview{grid-template-columns:1fr 1fr}.calorie-panel{padding:17px 20px 0}.calorie-content{gap:9px}.calorie-value{font-size:42px}.calorie-value>span{font-size:10px}.calorie-ring{width:72px;height:72px}.calorie-ring>span{font-size:14px}.macro-panel{padding:18px;gap:17px}.macro{gap:9px}.macro-letter{width:24px;height:24px;font-size:10px}.macro-title{font-size:9px}.macro-title strong{font-size:10px}.diary-grid{grid-template-columns:1fr}.diary-aside{display:grid;grid-template-columns:1fr 1fr;gap:20px;padding-top:0}.daily-note{margin:0}.food-macros{display:flex}.meal-heading{padding-top:15px}.weight-summary{padding:20px}.toast{left:calc(50% + 92.5px)}.library-toolbar{flex-wrap:wrap;gap:12px}.library-toolbar .search-inline{max-width:none;flex:1;min-width:200px}.library-product{gap:12px}.library-product-name h3{font-size:11px}.library-nutrition strong{font-size:14px}.library-nutrition>span{font-size:8px}.weight-stats>div{padding:0 17px}.weight-stats strong{font-size:36px}.weight-stats>div>span{font-size:9px}.weight-stats p,.weight-stats .text-button{font-size:8px}.chart-section{padding:22px 20px}.chart-legend{margin-left:0;gap:12px;font-size:8px}.insight-stats{gap:13px}.insight-stats strong{font-size:27px}.insight-stats span{font-size:9px}.insight-bottom{gap:30px}.goal-fields{grid-template-columns:repeat(2,1fr)}.section-copy,.endpoint,.health-status,.inline-actions,.setting-line,.settings-section>a.text-button,.settings-section>.small{margin-left:0}.token-row{padding-left:0}.connection-status{font-size:7px}.settings-section-title{gap:10px}.settings-section-title h2{font-size:15px}.settings-section-title p{font-size:9px}.chat-shell{height:calc(100dvh - 240px)}.chat-messages{padding:24px 20px}.chat-welcome{padding-left:5px;padding-right:5px}.ai-setup-banner{padding:15px;gap:10px}.ai-setup-banner p{font-size:8px}.chat-compose-wrap{padding:15px}.proposal{margin-left:0}.page-footer{margin:0 25px}}@media(max-width:760px){.sidebar{display:none}.workspace{margin-left:0;width:100%;padding-bottom:calc(70px + env(safe-area-inset-bottom))}.topbar{height:calc(63px + env(safe-area-inset-top));padding:env(safe-area-inset-top) 22px 0;position:sticky;top:0;z-index:15;background:color-mix(in srgb,var(--bg) 94%,transparent);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.mobile-brand,.mobile-setting{display:block}.topbar .mobile-setting{display:flex}.breadcrumb,.desktop-theme{display:none}.brand{font-size:21px;gap:8px}.brand-icon{width:30px;height:30px;border-radius:9px}.brand-icon svg{width:16px}.private-label{font-size:8px;gap:4px}.private-label svg{width:12px}.topbar-right{gap:13px}.main{padding:27px 22px 28px}.page-heading{margin-bottom:23px;gap:13px}.eyebrow{font-size:9px;margin-bottom:9px}h1{font-size:30px;letter-spacing:-1.2px}.page-heading p{font-size:10px;line-height:1.8;max-width:280px;margin-top:7px}.heading-actions{padding-top:1px;align-self:center}.heading-actions .button{padding:10px;min-height:38px;font-size:0;gap:0;border-radius:10px}.heading-actions .button svg{height:19px;width:19px}.heading-actions>.tabs button{font-size:9px;padding:8px 10px}.bottom-nav{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:30;background:color-mix(in srgb,var(--surface) 96%,transparent);-webkit-backdrop-filter:blur(15px);backdrop-filter:blur(15px);border-top:1px solid var(--line);padding:8px 10px calc(8px + env(safe-area-inset-bottom));justify-content:space-around}.bottom-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:45px;min-width:55px;color:var(--subtle);padding:3px 8px;font-size:8px;border-radius:8px}.bottom-nav button.active{color:var(--accent);font-weight:700}.bottom-nav button.active svg{stroke-width:2.4}.bottom-nav button:nth-child(2){position:relative}.diary-toolbar{margin-bottom:18px}.date-picker{padding:2px}.date-picker label{font-size:10px;min-width:105px}.toolbar-hint{font-size:8px}.diary-toolbar>.text-button{font-size:9px}.nutrition-overview{grid-template-columns:1fr;border-radius:14px}.calorie-panel{padding:20px 24px 0}.panel-caption{font-size:10px}.calorie-content{padding:8px 0 20px}.calorie-value{font-size:65px;letter-spacing:-3px;gap:10px}.calorie-value>span{font-size:12px}.calorie-goal{font-size:10px;margin-top:7px}.calorie-ring{width:103px;height:103px;margin-right:2px}.calorie-ring>span{font-size:18px}.calorie-foot{font-size:10px;padding:14px 0}.macro-panel{border-left:0;border-top:1px solid var(--line);display:grid;grid-template-columns:repeat(3,1fr);padding:20px 24px;gap:19px}.macro{display:block;min-width:0}.macro-letter{display:none}.macro-title{display:flex;flex-direction:column;gap:7px;font-size:10px;margin-bottom:9px}.macro-title>span:last-child{font-size:8px;white-space:nowrap}.macro-title strong{font-size:14px;font-weight:650}.macro-main>small{font-size:8px;line-height:1.5;display:block;min-height:24px;margin-top:8px}.macro-track{height:4px}.chat-invitation{padding:16px 17px;gap:12px;margin:16px 0 29px}.chat-invitation-icon{width:34px;height:34px;border-radius:9px}.chat-invitation-icon svg{width:19px}.chat-invitation strong{font-size:11px;line-height:1.6}.chat-invitation small{font-size:8px;margin-top:3px}.chat-invitation-go{width:25px;height:25px}.chat-invitation-go svg{width:16px}.section-title{margin-bottom:16px}.section-title h2{font-size:16px}.section-title>span{font-size:9px}.meal-heading{padding:16px 14px 11px;gap:8px}.meal-heading h3{font-size:12px}.meal-heading>span{font-size:10px}.meal-heading .icon-button{margin-left:3px}.meal-empty{font-size:10px;margin-left:50px;margin-bottom:20px}.food-row{padding:13px 12px 13px 17px;gap:10px}.food-name strong{font-size:11px}.food-macros{font-size:8px;gap:7px}.food-calories{font-size:12px}.food-row>.icon-button{width:25px}.copy-meal{margin-left:17px;font-size:8px}.diary-aside{gap:15px;margin-top:3px}.weight-summary{padding:20px}.weight-summary .panel-caption{font-size:9px;gap:5px}.weight-summary .panel-caption svg{width:14px}.weight-summary p{font-size:9px}.weight-number{font-size:35px}.daily-note{padding:18px 12px}.daily-note h3{font-size:21px}.daily-note p{font-size:9px}.page-footer{margin:0 22px;padding:18px 0;font-size:8px}.toast{left:50%;bottom:calc(85px + env(safe-area-inset-bottom));font-size:11px;width:max-content;max-width:calc(100% - 30px)}.modal,.modal.wide{width:calc(100% - 20px);border-radius:17px;max-height:calc(95dvh - env(safe-area-inset-top));margin:auto}.modal-head{padding:17px 20px}.modal-head h2{font-size:18px}.modal-body{padding:20px}.field input,.field select,.field textarea{font-size:16px}.field>span{font-size:11px}.field small{font-size:9px}.form-columns{gap:0 12px}.button{font-size:11px;min-height:43px}.search-form input{font-size:16px}.search-shortcuts{gap:14px 10px}.search-shortcuts button{font-size:9px}.product-result{gap:10px;padding:16px 0}.product-result strong{font-size:11px}.product-result small{font-size:8px}.result-calories strong{font-size:12px}.result-calories small{font-size:7px}.product-icon{width:33px;height:33px;border-radius:9px}.nutrition-preview{gap:7px}.nutrition-preview strong{font-size:17px}.nutrition-preview strong span,.nutrition-preview small{font-size:8px}.empty{padding:45px 17px}.empty h3{font-size:17px}.empty p{font-size:11px}.screen-chat{padding:24px 0 0}.screen-chat .page-heading{padding:0 22px}.chat-shell{border-left:0;border-right:0;border-radius:0;min-height:450px;height:calc(100dvh - 250px - env(safe-area-inset-bottom));max-height:none}.chat-messages{padding:20px}.chat-welcome{padding-top:35px}.chat-welcome h2{font-size:26px}.chat-welcome p{font-size:11px}.chat-welcome-mark{width:57px;height:57px;border-radius:17px}.chat-prompts{margin-top:22px}.chat-prompts button{font-size:10px;padding:13px}.chat-compose-wrap{padding:12px 14px 8px}.chat-compose{gap:6px;padding:7px}.chat-compose textarea{font-size:16px;line-height:1.5;padding:6px 0}.chat-disclaimer{font-size:7px}.message-body{font-size:12px}.proposal{padding:17px}.proposal h3{font-size:12px}.proposal .button{font-size:10px;padding:8px 12px;min-height:39px}.ai-setup-banner{align-items:flex-start;padding:15px 20px;gap:9px;flex-wrap:wrap}.ai-setup-banner>svg{width:17px;margin-top:1px}.ai-setup-banner>div{min-width:200px}.ai-setup-banner .button{margin-left:26px}.ai-setup-banner p{font-size:9px}.library-toolbar{padding-top:0;padding-bottom:17px;gap:12px}.library-toolbar .tabs{width:100%;justify-content:space-between}.library-toolbar .tabs button{flex:1;padding:9px 11px;font-size:10px}.library-toolbar .search-inline{background:var(--surface);border:1px solid var(--line);padding:0 11px;border-radius:8px;width:100%}.search-inline input{font-size:16px;padding:11px 0}.library-table-head{font-size:8px;padding:20px 33px 11px 0}.library-product{gap:10px;padding:18px 0;flex-wrap:wrap}.library-product-name h3{font-size:11px}.library-product .source,.library-product-name p{font-size:8px}.library-nutrition{max-width:100px}.library-nutrition strong{font-size:14px}.library-nutrition small{font-size:7px}.library-nutrition>span{font-size:7px;line-height:1.7}.library-product>.icon-button{width:27px}.ingredient-row{grid-template-columns:minmax(0,1fr) 85px 20px;gap:7px}.ingredient-row select{font-size:13px}.ingredient-row .field>span{font-size:9px}.weight-stats{padding:21px 0 24px;margin-bottom:25px}.weight-stats>div{padding:0 12px}.weight-stats>div>span{font-size:8px;line-height:1.6;min-height:25px}.weight-stats strong{font-size:29px;margin-top:5px;letter-spacing:-1px}.weight-stats strong small{font-size:9px;margin-left:4px}.weight-stats p,.weight-stats .text-button{font-size:7px;line-height:1.8}.chart-section{padding:20px 16px}.chart-section .section-title{flex-wrap:wrap;gap:13px}.chart-section .section-title h2{font-size:15px}.tabs.compact button{font-size:8px;padding:7px 9px}.weight-chart{min-height:170px}.chart-wrap{margin-top:18px}.chart-legend{font-size:7px;gap:12px;margin-top:14px}.chart-legend strong{margin-left:0;width:100%;font-size:9px}.weight-deltas{grid-template-columns:repeat(2,1fr);gap:20px 25px;padding:23px 0;margin-bottom:10px}.weight-deltas span{font-size:8px}.weight-deltas strong{font-size:10px}.weight-history{margin-top:14px}.weight-row{gap:10px;padding:15px 0}.weight-row strong{font-size:10px}.weight-row>strong{font-size:15px}.weight-row small{font-size:8px}.weight-row-icon{width:32px;height:32px}.insight-stats{grid-template-columns:repeat(2,1fr);padding:22px 0;gap:25px 30px;margin-bottom:24px}.insight-stats span{font-size:9px}.insight-stats strong{font-size:32px;margin-top:7px}.insight-stats small{font-size:10px}.bar-chart{height:190px;gap:4px;margin-top:25px;padding:0}.bar-column>small{font-size:8px}.bar-area button{border-radius:3px 3px 0 0}.bar-area button>span{font-size:8px}.calorie-history>.small{font-size:8px}.insight-bottom{grid-template-columns:1fr;gap:25px;padding:27px 0}.insight-bottom h3{font-size:23px}.insight-bottom p{font-size:10px}.settings-section{padding:25px 0}.settings-section-title{gap:11px;margin-bottom:20px;flex-wrap:wrap}.settings-section-title>span:first-child{width:31px;height:31px;border-radius:9px}.settings-section-title h2{font-size:15px}.settings-section-title p{font-size:9px;line-height:1.7}.settings-section-title>div{min-width:180px}.connection-status{font-size:7px;margin-left:42px;margin-top:-7px}.settings-section-title .icon-button{margin-left:auto}.settings-section-title>.connection-status{margin-left:auto;max-width:130px;margin-top:0}.setting-line{gap:15px;align-items:flex-start;flex-wrap:wrap}.setting-line .tabs{margin-top:2px}.setting-line .tabs button{font-size:9px}.setting-line>div>strong{font-size:11px}.setting-line p{font-size:9px}.setting-line .button{font-size:10px;min-height:37px;padding:8px 12px}.goal-fields{gap:0 13px}.section-copy{font-size:10px}.endpoint input{font-size:12px}.health-status{gap:25px}.health-status span{font-size:8px}.health-status strong{font-size:11px}.inline-actions{gap:15px}.inline-actions .button{font-size:10px;min-height:40px}.inline-actions .text-button{font-size:10px}.token-row{gap:10px;align-items:flex-start}.token-row>svg{width:15px;flex-shrink:0;margin-top:2px}.token-row strong{font-size:10px}.token-row small{font-size:8px;line-height:1.7}.token-row .button{font-size:9px;padding:0;min-height:24px}.settings-attribution{font-size:8px}.auth-shell{display:flex;flex-direction:column;background:var(--bg)}.auth-story{padding:28px 26px;min-height:auto;background:var(--bg)}.auth-story>div:nth-child(2),.auth-story>small{display:none}.auth-form-wrap{padding:38px 26px 50px;align-items:flex-start;flex:1}.auth-card{max-width:390px}.auth-card h2{font-size:32px}.auth-card>p{font-size:12px;margin-bottom:25px}.auth-card .eyebrow{font-size:10px}.auth-card .field{margin-bottom:21px}.auth-card .field>span{font-size:12px}.auth-card .auth-privacy{font-size:9px}.auth-story .brand{color:var(--text)}.image-preview>span{font-size:8px}}@media(max-width:390px){.main,.topbar{padding-left:17px;padding-right:17px}.calorie-panel{padding-left:20px;padding-right:20px}.calorie-value{font-size:57px}.calorie-ring{width:91px;height:91px}.macro-panel{padding-left:20px;padding-right:20px;gap:15px}.chat-invitation{padding-left:13px;padding-right:13px;gap:10px}.chat-invitation strong{font-size:10px}.chat-invitation small{font-size:7px}.chat-invitation-go{width:22px;height:22px}.food-macros{display:none}.diary-aside{gap:9px}.weight-summary{padding:17px}.daily-note{padding:17px 9px}.daily-note h3{font-size:19px}.daily-note p{font-size:8px}.page-heading h1{font-size:28px}.screen-chat{padding-left:0;padding-right:0}.screen-chat .page-heading{padding-left:17px;padding-right:17px}.library-nutrition{max-width:90px}.library-product .product-icon{display:none}.weight-stats>div{padding:0 8px}.weight-stats strong{font-size:26px}.private-label{display:none}.chart-section{padding:17px 13px}.bottom-nav{padding-left:5px;padding-right:5px}.bottom-nav button{min-width:50px;font-size:7px}.auth-form-wrap{padding-top:30px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}.copy-entry-form{margin-top:22px;padding-top:22px;border-top:1px solid var(--line)}.copy-entry-form>h3{margin-bottom:6px}.copy-entry-form>p{margin-bottom:18px}.calorie-ring>span>svg{width:24px;height:24px;transform:none}
