@import "https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&display=swap";
:root{--ink:#233d33;--text:#344b41;--muted:#66746a;--label:#66746a;--green:#247a57;--green-dark:#1c6145;--paper:#f5f7f5;--line:#e8ede9;--mint:#eef5ef;--blue:#648cb5;--radius:15px;--font:"DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif}*{box-sizing:border-box}body{background:var(--paper);font-family:var(--font);color:var(--text);-webkit-font-smoothing:antialiased;margin:0;font-size:14px}button,input,select,textarea{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline-offset:3px;outline:3px solid #99cbb4}a{color:var(--green);text-decoration:none}a:hover{text-decoration:underline}h1,h2,h3,p{margin:0}h2{color:var(--ink);letter-spacing:-.35px;font-size:16px;font-weight:650}h3{color:var(--ink);font-size:14px;font-weight:650}small{font-size:11px;font-weight:400}p{line-height:1.65}input,select,textarea{color:var(--text);background:#fff;border:1px solid #dce5df;border-radius:8px;min-width:0;max-width:100%;padding:11px 12px}input[type=checkbox]{accent-color:var(--green);width:17px;height:17px;margin:0}input[type=number]{width:100%}textarea{resize:vertical}button svg{flex-shrink:0}button{background:0 0;border:0}svg{flex-shrink:0}button,a{touch-action:manipulation}.app-shell{min-height:100vh;display:flex}.sidebar{border-right:1px solid var(--line);z-index:20;background:#fff;flex-direction:column;width:232px;padding:34px 19px 16px;display:flex;position:fixed;inset:0 auto 0 0;overflow-y:auto}.brand{letter-spacing:-1.5px;color:var(--ink);align-items:center;gap:9px;margin:0 12px 39px;font-size:34px;font-weight:700;display:flex}.brand:hover{text-decoration:none}.brand>span:first-child{color:var(--green);display:flex}.brand .brand-dot{color:#73a380;margin-left:-9px}.workspace-label{color:#a1aaa4;letter-spacing:1.4px;margin:0 12px 16px;font-size:8px;font-weight:600}.nav-item{text-align:left;color:#758079;border-radius:8px;align-items:center;gap:12px;width:100%;margin-bottom:6px;padding:13px 14px;font-size:13px;transition:background .15s;display:flex}.nav-item:hover{background:#f5f8f5}.nav-item.active{color:var(--green);background:#eaf3ec;font-weight:650}.nav-item svg{stroke-width:1.65px}.nav-dot{background:var(--green);border-radius:50%;width:5px;height:5px;margin-left:auto}.sidebar-divider{background:var(--line);height:1px;margin:17px 12px 16px}.tiny-badge{color:var(--green);background:#edf4ee;border-radius:4px;margin-left:auto;padding:3px 6px;font-size:9px}.sidebar-note{color:#798b80;margin:29px 11px 16px;padding:20px 0}.sprout{color:#739a7a;background:#f2f7f1;border-radius:50%;place-items:center;width:64px;height:64px;margin-bottom:18px;display:grid}.sidebar-note h3{margin-bottom:7px;font-size:13px}.sidebar-note p{font-size:11px;line-height:1.8}.sidebar-bottom{margin-top:auto}.profile-button{border-top:1px solid var(--line);text-align:left;align-items:center;gap:10px;width:100%;margin-top:12px;padding:20px 9px 0;display:flex}.avatar{color:#86755e;background:#f0e7dc;border-radius:50%;flex-shrink:0;place-items:center;width:35px;height:35px;font-size:13px;font-weight:600;display:grid}.profile-button b{white-space:nowrap;text-overflow:ellipsis;max-width:120px;font-size:12px;display:block;overflow:hidden}.profile-button small{color:var(--muted);margin-top:3px;font-size:10px;display:block}.profile-button>svg{margin-left:auto}.main{width:calc(100% - 232px);margin-left:232px}.topbar{border-bottom:1px solid var(--line);background:#fff;justify-content:space-between;align-items:center;gap:15px;height:73px;padding:0 40px;display:flex}.breadcrumb{white-space:nowrap;align-items:center;gap:14px;font-size:11px;display:flex}.breadcrumb>span{color:var(--label)}.breadcrumb>svg{color:#bdc7c0}.breadcrumb b{font-weight:500}.topbar-right{align-items:center;gap:13px;display:flex}.sync-state{color:var(--label);align-items:center;gap:7px;font-size:10px;display:flex}.today-button{border-left:1px solid var(--line);align-items:center;gap:9px;padding-left:20px;font-size:11px;display:flex}.content{max-width:1570px;margin:auto;padding:38px 40px 0}.page-heading{justify-content:space-between;align-items:center;gap:20px;margin-bottom:35px;display:flex}.eyebrow{color:#879c8c;letter-spacing:1.65px;margin-bottom:10px;font-size:9px;font-weight:600}.page-heading h1{letter-spacing:-1.25px;color:var(--ink);font-family:Georgia,Times New Roman,serif;font-size:34px;font-weight:400;line-height:1.2}.page-heading p{color:#8d9991;margin-top:10px;font-size:12px}.button{background:#fff;border:1px solid #dce5df;border-radius:8px;justify-content:center;align-items:center;gap:8px;min-height:39px;padding:11px 16px;font-size:12px;font-weight:550;line-height:1.3;display:inline-flex}.button.primary{background:var(--green);border-color:var(--green);color:#fff;box-shadow:0 2px 2px #1c503410}.button.primary:hover{background:var(--green-dark)}.icon-button{color:#8b9890;border-radius:6px;flex-shrink:0;justify-content:center;align-items:center;padding:7px;display:inline-flex}.icon-button:hover{color:var(--green);background:#edf3ee}.text-button{color:#7e8e83;align-items:center;gap:7px;padding:5px;font-size:11px;display:inline-flex}.text-button:hover{color:var(--green)}.day-toolbar{justify-content:space-between;align-items:center;gap:12px;margin-bottom:22px;display:flex}.day-select{align-items:center;gap:6px;display:flex}.date-picker{color:#4f6759;align-items:center;gap:9px;padding:5px 8px;font-size:12px;font-weight:550;display:flex;position:relative}.date-picker input{opacity:0;cursor:pointer;width:100%;position:absolute;inset:0}.date-picker input::-webkit-calendar-picker-indicator{cursor:pointer;width:100%;height:100%;position:absolute;inset:0}.toolbar-actions{gap:20px;display:flex}.summary-grid{grid-template-columns:1.22fr 1fr .86fr;gap:18px;margin-bottom:30px;display:grid}.panel{border:1px solid var(--line);border-radius:var(--radius);background:#fff;min-width:0;padding:23px}.panel-head{justify-content:space-between;align-items:center;gap:10px;margin-bottom:21px;display:flex}.stack>.panel-head{margin-bottom:0}.panel-head h2{align-items:center;gap:8px;display:flex}.panel-head:has(+.stack){margin-bottom:0}.tag{color:var(--label);background:#f3f6f4;border-radius:5px;justify-content:center;align-items:center;gap:5px;padding:5px 8px;font-size:10px;font-weight:500;line-height:1.3;display:inline-flex}.tag.soft{color:#659476;background:#edf5ee}.tag.selected,.tag:hover:is(button){color:var(--green);background:#e5f2e8}.energy-body{align-items:center;gap:20px;display:flex}.energy-ring{flex-shrink:0;width:170px;height:170px;position:relative}.energy-ring svg{width:100%;height:100%;transform:rotate(-90deg)}.energy-ring circle{fill:none;stroke-width:12px}.ring-track{stroke:var(--mint)}.ring-fill{stroke:var(--lime);stroke-linecap:round;transition:stroke-dasharray .4s}.energy-ring>div{flex-direction:column;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.energy-ring>div svg{color:#8ca98e;width:18px;height:18px;margin-bottom:7px;transform:none}.energy-ring strong{letter-spacing:-1px;font-size:32px;font-weight:550;line-height:1.2}.energy-ring span{color:var(--label);margin-top:6px;font-size:10px}.energy-details{min-width:0;padding-top:6px}.energy-details>.muted{font-size:10px;line-height:1.5;display:block}.energy-details>strong{letter-spacing:-.7px;margin-top:7px;font-size:27px;font-weight:500;display:block}.unit-label{color:var(--label);font-size:10px}.balance-line{border-top:1px solid var(--line);white-space:nowrap;align-items:center;gap:6px;margin-top:17px;padding-top:14px;font-size:10px;display:flex}.balance-line svg{color:#b4977c}.balance-line b{margin-left:auto;font-size:10px;font-weight:500}.energy-details>.small{max-width:145px;margin-top:8px;font-size:8px;line-height:1.45}.macro{margin:17px 0}.macro>div:first-child{justify-content:space-between;align-items:center;gap:5px;margin-bottom:9px;font-size:11px;display:flex}.macro span{color:#74857a;align-items:center;gap:8px;display:flex}.macro b{font-size:11px;font-weight:550}.macro small{color:var(--label);font-size:10px}.macro span i{border-radius:50%;width:6px;height:6px}.progress-track{background:#f0f3f0;border-radius:5px;height:5px;overflow:hidden}.progress-track>i{background:var(--green);border-radius:5px;height:100%;display:block}.data-note{color:var(--label);margin-top:18px;font-size:11px;line-height:1.6}.stack>.data-note{margin-top:0}.macros-panel .panel-head{margin-bottom:15px}.macros-panel .data-note{margin-top:16px}.water-panel{border-radius:var(--radius);background:#ebf3f6;border:1px solid #e4eef1;min-width:0;padding:23px}.water-panel h2{color:#577a8b;font-size:14px}.water-panel h2 svg{color:#86a9b8}.water-panel .tag{color:#7698a7;background:#dfecf0;font-size:9px}.water-number{letter-spacing:-1px;color:#50758a;margin:30px 0 23px;font-size:31px;font-weight:500}.water-number span{color:#5d7c88;letter-spacing:0;font-size:14px}.glasses{justify-content:space-between;align-items:center;gap:3px;display:flex}.glasses button{color:#c4d9e2;padding:0;transition:transform .15s}.glasses button:hover{transform:translateY(-3px)}.glasses svg{stroke-width:1.4px;width:24px}.water-actions{align-items:center;gap:7px;margin-top:20px;display:flex}.water-actions>button:not(.icon-button){color:#6e94a5;white-space:nowrap;background:#f4f9fa;border:1px solid #cedfe6;border-radius:6px;flex:1;justify-content:center;align-items:center;gap:4px;padding:8px 9px;font-size:10px;display:flex}.water-panel>p{color:#94acb6;margin-top:18px;font-size:9px}.diary-layout{grid-template-columns:minmax(0,1fr) 260px;gap:24px;display:grid}.section-title{justify-content:space-between;align-items:center;gap:10px;margin-bottom:17px;display:flex}.section-title h2{font-size:17px}.section-title .inline{gap:14px}.meals-list{flex-direction:column;gap:12px;display:flex}.meal-panel{border:1px solid var(--line);background:#fff;border-radius:12px;overflow:hidden}.meal-heading{align-items:center;gap:14px;padding:16px 19px;display:flex}.meal-symbol{color:#cdb075;background:#faf3e6;border-radius:10px;place-items:center;width:38px;height:38px;font-size:25px;display:grid}.meal-1,.meal-3{color:#baa785;background:#f3f0e9}.meal-2{color:#8ba27d;background:#edf4eb}.meal-4,.meal-5{color:#909bbe;background:#edf0f8}.meal-heading h3{flex:1;font-size:13px;font-weight:550}.meal-heading h3 small{color:#a2ada5;margin-top:5px;font-size:9px;font-weight:400;display:block}.meal-energy{white-space:nowrap;font-size:13px;font-weight:500}.meal-energy small{color:#a2aca5;font-size:9px;font-weight:400}.round-add{color:#78a383;background:#f3f8f3;border:1px solid #e0ebe2;border-radius:7px;flex-shrink:0;place-items:center;width:29px;height:29px;display:grid}.round-add:hover{color:#247a57;background:#e4f0e7}.food-row{border-bottom:1px solid #eef2ef;align-items:center;gap:12px;min-width:0;padding:13px 0;display:flex}.food-row:last-child{border-bottom:0}.diary-row{border-top:1px solid #f0f4f1;border-bottom:0;padding:12px 19px}.food-image{object-fit:contain;background:#f7f8f5;border-radius:6px;flex-shrink:0;width:36px;height:40px}.food-image.placeholder{color:#b1bda9;place-items:center;display:grid}.food-title{text-align:left;flex:1;min-width:0;padding:0}.food-title b{overflow-wrap:anywhere;font-size:11px;font-weight:500;line-height:1.5;display:block}.food-title small{color:#a6afa8;margin-top:3px;font-size:9px;display:block}.food-macros{color:#a1ada4;gap:9px;font-size:9px;display:flex}.food-energy{white-space:nowrap;font-size:11px;font-weight:550}.food-energy small{color:#a6afa8;font-size:8px}.row-delete{opacity:.5;padding:3px}.diary-row:hover .row-delete{opacity:1}.day-note{color:#a2afa6;align-items:flex-start;gap:10px;margin-top:20px;padding:5px 2px;display:flex}.day-note svg{stroke-width:1.5px;margin-top:7px}.day-note textarea{color:#738379;background:0 0;border:0;border-radius:0;width:100%;min-height:70px;padding:5px;font-size:11px}.day-note textarea::placeholder{color:#a2afa6}.right-column{padding-top:37px}.ai-card{border-radius:var(--radius);background:#eaf0e3;border:1px solid #e1e9da;padding:24px}.ai-orb{color:#719065;background:#dae5cf;border-radius:13px;place-items:center;width:46px;height:46px;margin-bottom:22px;display:grid}.ai-card .eyebrow{letter-spacing:1.1px;color:#99a88d;margin-bottom:10px;font-size:7px}.ai-card h2{color:#536949;letter-spacing:-.7px;font-family:Georgia,serif;font-size:22px;font-weight:400;line-height:1.25}.ai-card p{color:#89967e;margin:14px 0 19px;font-size:11px;line-height:1.9}.ai-card>button{color:#6e875e;background:#fff9;border:1px solid #d7e2cc;border-radius:7px;justify-content:space-between;align-items:center;gap:9px;width:100%;padding:10px 12px;font-size:10px;font-weight:500;display:flex}.ai-card>button:hover{background:#fff}.ai-card>small{color:#9daa93;margin-top:13px;font-size:8px;display:block}.quick-panel{margin-top:19px;padding:22px 21px}.quick-panel h3{margin-bottom:13px;font-size:12px}.quick-panel button{color:#95a394;align-items:center;gap:9px;width:100%;padding:11px 0;font-size:10px;display:flex}.quick-panel button span{text-align:left;color:#798a7d;flex:1}.quick-panel button>svg:last-child{color:#b3bfb3;width:13px}.quiet-note{color:#abb8a6;align-items:center;gap:14px;padding:27px 18px;display:flex}.quiet-note p{font-size:10px;line-height:1.8}.quiet-note svg{stroke-width:1.3px}.inline{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.inline>input,.inline>select{min-width:0;max-width:100%}.stack{flex-direction:column;gap:18px;display:flex}.muted{color:var(--muted)}.small{font-size:11px}.spaced{margin-top:22px}.two-columns{grid-template-columns:1fr 1fr;align-items:start;gap:22px;display:grid}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;display:grid}.field{color:#667a6c;flex-direction:column;gap:7px;min-width:0;font-size:11px;font-weight:500;display:flex}.field input,.field select,.field textarea{width:100%;font-size:13px;font-weight:400}.field>small{color:#9caa9e;font-size:10px}.form-grid>.button{align-self:end}.nutrition-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:16px 0;display:grid}.nutrition-grid>div{flex-direction:column;gap:5px;display:flex}.nutrition-grid span{color:#92a094;font-size:10px}.nutrition-grid b{font-size:15px;font-weight:500}.nutrition-grid small{color:#91a094;font-size:9px}.notice{background:#f0f5ef;border:1px solid #dde8da;border-radius:8px;flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:15px;padding:13px 16px;font-size:12px;line-height:1.7;display:flex}.notice.error{color:#a66049;background:#fcf2ee;border-color:#edcfc6}.notice.warning{color:#9c8145;background:#fff8e9;border-color:#eee2c1}.notice.soft{color:#637d60;margin:0}.notice.soft>span{width:100%;font-size:10px}.notice button{color:var(--green);text-decoration:underline}.empty{text-align:center;color:#9aaa9c;flex-direction:column;align-items:center;gap:15px;padding:48px 20px;display:flex}.empty h3{color:#7f9782;font-size:16px}.empty p{font-size:12px}.panel-actions{gap:10px;margin-top:20px;display:flex}.tags{flex-wrap:wrap;gap:7px;display:flex}.favorite{color:#c58882}.favorite svg{fill:#f3dfda}.modal{color:var(--text);background:#fff;border:1px solid #dfe9e1;border-radius:18px;width:min(560px,100% - 30px);max-height:88dvh;padding:27px;overflow:auto;box-shadow:0 20px 100px #1f4c3025}.modal.wide{width:min(740px,100% - 30px)}.modal::backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#16332455}.modal-head{justify-content:space-between;align-items:center;margin-bottom:22px;display:flex}.modal-head h2{letter-spacing:-.6px;font-size:20px}.modal .stack{gap:17px}.search-box{background:#fcfdfb;border:1px solid #ceddd1;border-radius:10px;align-items:center;gap:10px;padding:6px 6px 6px 14px;display:flex}.search-box>svg{color:#94a798}.search-box input{background:0 0;border:0;outline:none;flex:1;width:100%;padding:7px 0;font-size:12px}.search-tabs{border-bottom:1px solid var(--line);gap:15px;padding:0 2px;display:flex}.search-tabs button{color:#94a097;border-bottom:2px solid #0000;align-items:center;gap:6px;padding:9px 2px 13px;font-size:11px;display:flex}.library-actions{grid-template-columns:1fr 1fr;gap:8px;display:grid}.library-actions .button{justify-content:center}.search-actions{grid-template-columns:1fr 1fr;gap:8px;display:grid}.search-actions .button{white-space:nowrap;justify-content:center}.search-results{min-height:180px;max-height:47dvh;overflow:auto}.search-results .food-row{padding:13px 6px}.search-results .food-title b{font-size:12px}.search-results .food-title small{font-size:10px}.product-intro{align-items:center;gap:17px;display:flex}.product-intro .food-image{width:56px;height:65px}.product-intro h3{font-size:17px}.product-intro p{margin-top:6px;font-size:11px}.centered{justify-content:center}.share-url{overflow-wrap:anywhere;font-size:12px}.week-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:10px;display:grid}.week-day{border:1px solid var(--line);text-align:left;background:#fff;border-radius:12px;flex-direction:column;align-items:flex-start;gap:8px;min-height:235px;padding:19px 14px;display:flex}.week-day.today{background:#f2f7ef;border-color:#b5cfbb}.week-day>span{color:#8d9a90;font-size:10px}.week-day>strong{letter-spacing:-1px;font-size:27px;font-weight:450}.week-day>b{color:var(--green);margin:5px 0;font-size:12px}.week-day small{color:#8b9a8f;font-size:9px}.week-day p{overflow-wrap:anywhere;align-items:center;gap:5px;font-size:10px;line-height:1.5;display:flex}.week-day:hover{border-color:#b7ccb7}.shopping-row{border-bottom:1px solid var(--line);cursor:pointer;align-items:center;gap:13px;padding:17px 2px;display:flex}.shopping-row span{flex:1;font-size:13px}.shopping-row b{font-size:11px;font-weight:500}.shopping-row.checked span{color:#99a59b;text-decoration:line-through}.stats-row{grid-template-columns:repeat(3,1fr);gap:18px;display:grid}.stats-row strong{letter-spacing:-1px;margin-top:13px;font-size:32px;font-weight:500;display:block}.stats-row>div>span{font-size:11px}.stats-row strong small{color:var(--label);letter-spacing:0;font-size:14px}.chart-legend{color:#7d9382;align-items:center;gap:8px;font-size:11px;display:flex}.chart-legend>i{background:var(--green);border-radius:50%;width:6px;height:6px}.chart-legend>span{color:#9baa9e;margin-left:auto;font-size:10px}.bar-chart{border-bottom:1px solid var(--line);gap:6px;height:230px;margin:24px 0 20px;padding:10px 8px 25px;display:flex}.chart-day{flex-direction:column;flex:1;align-items:center;min-width:0;display:flex;position:relative}.chart-column{align-items:flex-end;width:min(70%,55px);height:100%;display:flex}.chart-column i{background:#77a184;border-radius:5px 5px 0 0;width:100%;display:block}.chart-day>span{white-space:nowrap;color:#9caa9f;font-size:9px;position:absolute;bottom:-21px}.nutrient-tabs{flex-wrap:wrap;gap:6px;display:flex}.nutrient-tabs button{border:1px solid var(--line);color:#95a396;border-radius:6px;padding:7px 10px;font-size:10px}.nutrient-tabs button.selected{color:var(--green);background:#eaf4ed;border-color:#c9dfcd}.ranking-row{border-bottom:1px solid var(--line);align-items:center;gap:14px;padding:14px 0;display:flex}.ranking-row>span{color:#b0bbb3;width:15px;font-size:11px}.ranking-row>div{flex:1}.ranking-row>div>b{margin-bottom:10px;font-size:12px;font-weight:500;display:block}.ranking-row>b{font-size:11px;font-weight:500}.weight-chart{width:100%;height:170px;margin-top:28px}.measure-list{max-height:350px;margin-top:20px;overflow:auto}.ai-layout{grid-template-columns:minmax(0,1fr) 280px;gap:24px;display:grid}.chat-panel{flex-direction:column;min-height:650px;display:flex}.chat-welcome{text-align:center;flex-direction:column;align-items:center;padding:35px 15px 22px;display:flex}.chat-welcome .ai-orb{color:#7f9d6f;background:#edf4e8;border-radius:24px;width:72px;height:72px;margin-bottom:23px}.chat-welcome h2{letter-spacing:-.6px;font-family:Georgia,serif;font-size:27px;font-weight:400}.chat-welcome p{color:#9ba899;margin-top:16px;font-size:12px}.suggestions{flex-direction:column;gap:10px;width:100%;max-width:430px;margin-top:30px;display:flex}.suggestions button{text-align:left;color:#819378;background:#fbfcf9;border:1px solid #e3eadf;border-radius:8px;justify-content:space-between;align-items:center;padding:14px 16px;font-size:12px;display:flex}.suggestions button:hover{background:#f0f5ea}.messages{max-height:570px;padding:5px 4px;overflow:auto}.message{background:#f4f7f1;border-radius:10px;margin-bottom:15px;padding:15px 17px;font-size:13px}.message.user{background:#edf4ef;margin-left:35px}.message>span{color:#849a7f;text-transform:uppercase;letter-spacing:1px;margin-bottom:7px;font-size:9px;display:block}.message p{white-space:pre-wrap;overflow-wrap:anywhere}.chat-input{background:#fcfdfb;border:1px solid #d6e2d4;border-radius:12px;margin-top:auto;padding:13px}.chat-input textarea{background:0 0;border:0;outline:none;width:100%;min-height:85px;padding:4px;font-size:12px}.chat-input>div{align-items:center;gap:5px;display:flex}.chat-input>div>span{margin-left:5px;font-size:8px}.send-button{background:var(--green);color:#fff;border-radius:8px;place-items:center;width:35px;height:35px;margin-left:auto;display:grid}.text-link{align-items:center;gap:5px;font-size:12px;display:flex}.ai-card.compact{padding:23px}.ai-card.compact p{margin:12px 0 0}.ai-card.compact .nutrition-grid{padding-bottom:0}.estimate-card{background:#f4f8ed;border:1px solid #d6e4c8;border-radius:12px;margin-bottom:20px;padding:18px}.estimate-card h3{margin:12px 0}.estimate-card .button{margin-top:15px}.image-preview{max-width:220px;margin-bottom:14px;position:relative}.image-preview img{object-fit:cover;border-radius:9px;width:100%;max-height:170px}.image-preview button{background:#fff;position:absolute;top:5px;right:5px}.account-line{align-items:center;gap:13px;display:flex}.account-line b{font-size:14px}.account-line p{font-size:12px}.checkbox-field{align-items:center;gap:9px;font-size:12px;display:flex}.settings-layout h2{font-size:17px}.settings-layout .panel>p{font-size:12px}.compact-input{max-width:170px}.toast{color:#fff;z-index:100;background:#274e37;border-radius:10px;align-items:center;gap:10px;max-width:calc(100% - 30px);padding:14px 21px;font-size:12px;display:flex;position:fixed;bottom:30px;left:calc(50% + 110px);transform:translate(-50%);box-shadow:0 5px 20px #16342120}footer{border-top:1px solid var(--line);color:#acb7ae;justify-content:space-between;align-items:center;gap:10px;margin-top:34px;padding:21px 0 24px;font-size:9px;display:flex}footer>span{align-items:center;gap:5px;display:flex}footer a{color:#91a594}.mobile-menu,.mobile-nav{display:none}.scanner-dialog video{background:#172c22;border-radius:12px}.scanner-dialog{border-color:var(--line)!important;color:var(--text)!important;border-radius:15px!important}.scanner-dialog button{border:1px solid #d5e1d7;border-radius:7px;padding:10px}.scanner-dialog input{margin-top:5px}@media (min-width:1550px){.content{padding:45px 50px 0}.sidebar{width:250px}.main{width:calc(100% - 250px);margin-left:250px}.topbar{padding:0 50px}.summary-grid{grid-template-columns:1.25fr 1fr .85fr}.energy-ring{width:195px;height:195px}.energy-body{gap:25px}.diary-layout{grid-template-columns:minmax(0,1fr) 295px}.water-number{margin-top:38px}.food-title b{font-size:13px}.meal-heading h3{font-size:14px}.meal-heading{padding:19px 22px}.page-heading h1{font-size:38px}}@media (max-width:1250px){.sidebar{width:205px;padding-left:14px;padding-right:14px}.main{width:calc(100% - 205px);margin-left:205px}.content{padding:30px 26px 0}.topbar{padding:0 26px}.summary-grid{grid-template-columns:1.13fr 1fr .85fr;gap:12px}.panel,.water-panel{padding:19px}.energy-body{gap:11px}.energy-ring{width:140px;height:140px}.energy-ring strong{font-size:26px}.energy-details>strong{font-size:24px}.energy-details>.muted{font-size:9px}.energy-details .balance-line{flex-wrap:wrap;gap:3px}.energy-details .small{font-size:7px}.water-number{margin-top:29px}.glasses{gap:0}.glasses svg{width:19px}.water-actions>button:not(.icon-button){padding:8px 4px;font-size:9px}.diary-layout{grid-template-columns:minmax(0,1fr) 226px;gap:18px}.food-macros{display:none}.page-heading h1{font-size:30px}.toolbar-actions{gap:12px}.ai-layout{grid-template-columns:minmax(0,1fr) 250px}.week-grid{grid-template-columns:repeat(4,1fr)}.week-day{min-height:190px}.brand{font-size:31px}.workspace-label{font-size:7px}}@media (max-width:1050px){.summary-grid{grid-template-columns:1.2fr 1fr}.water-panel{grid-column:span 2;grid-template-columns:1.2fr .8fr 1.5fr 1fr;align-items:center;gap:16px;display:grid}.water-panel .panel-head{margin:0}.water-panel .panel-head .tag{display:none}.water-number{margin:0;font-size:27px}.water-actions{margin:0}.water-actions .icon-button,.water-panel>p{display:none}.glasses svg{width:22px}.energy-body{justify-content:space-evenly}.diary-layout{grid-template-columns:minmax(0,1fr)}.right-column{display:none}.sync-state{text-overflow:ellipsis;white-space:nowrap;max-width:160px;overflow:hidden}.today-button{display:none}.two-columns{gap:16px}.ai-layout{grid-template-columns:1fr}.ai-layout>aside{grid-template-columns:1fr 1fr;display:grid}.page-heading p{max-width:430px}.energy-ring{width:170px;height:170px}.stats-row{gap:10px}.stats-row>div{padding:18px}.stats-row strong{font-size:26px}}@media (max-width:800px){.sidebar{width:76px;padding:25px 9px 14px}.brand{gap:0;margin:0 14px 35px;font-size:0}.brand .brand-dot{display:none}.brand>span:first-child svg{width:28px;height:28px}.workspace-label,.sidebar-note,.profile-button>span:not(.avatar),.profile-button>svg,.tiny-badge{display:none}.nav-item{gap:0;padding:15px 17px;font-size:0}.nav-item svg{width:21px;height:21px}.nav-dot{display:none}.sidebar-divider{margin:17px 10px}.profile-button{padding:18px 10px 0}.profile-button .avatar{width:30px;height:30px}.main{width:calc(100% - 76px);margin-left:76px}.content{padding:27px 24px 0}.topbar{height:62px;padding:0 24px}.topbar-right{gap:5px}.page-heading{align-items:flex-start;gap:15px;margin-bottom:28px}.page-heading h1{font-size:29px}.page-heading>.button{white-space:nowrap;padding:11px 12px;font-size:11px}.page-heading p{max-width:355px;font-size:11px}.summary-grid{grid-template-columns:1.1fr 1fr;gap:13px}.energy-ring{width:145px;height:145px}.energy-details{max-width:100px}.energy-body{gap:9px}.energy-details>.muted{font-size:8px}.energy-details>strong{font-size:24px}.energy-panel .tag{display:none}.panel-head h2{font-size:14px}.water-panel{grid-template-columns:1fr 1fr 1.2fr}.water-panel .water-actions{grid-area:1/3}.water-panel .glasses{grid-column:span 3;justify-content:flex-start;gap:14px}.water-panel .glasses svg{width:25px}.two-columns{grid-template-columns:1fr}.toolbar-actions{gap:7px}.toolbar-actions .text-button{font-size:10px}.day-select{gap:0}.date-picker{font-size:11px}.toast{left:calc(50% + 38px)}.food-title b{font-size:12px}.food-macros{display:none}.nutrition-grid{grid-template-columns:repeat(3,1fr)}.ai-layout .nutrition-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width:600px){.sidebar{display:none}.sidebar.mobile-open{z-index:40;width:230px;padding:28px 17px 85px;display:flex;box-shadow:20px 0 100px #164d3530}.sidebar.mobile-open .brand{gap:7px;margin:0 12px 33px;font-size:32px}.sidebar.mobile-open .brand-dot{display:block}.sidebar.mobile-open .nav-item{gap:13px;padding:14px;font-size:13px}.sidebar.mobile-open .workspace-label,.sidebar.mobile-open .tiny-badge,.sidebar.mobile-open .profile-button>span:not(.avatar){display:block}.main{width:100%;margin:0;padding-bottom:66px}.mobile-menu{padding:0;display:flex}.topbar{height:58px;padding:0 19px}.breadcrumb{gap:10px;font-size:10px}.sync-state{gap:4px;max-width:134px;font-size:8px}.sync-state svg{width:13px}.topbar-right>.icon-button{padding:4px}.content{padding:25px 18px 0}.page-heading{margin-bottom:24px;display:block;position:relative}.eyebrow{letter-spacing:1.25px;margin-bottom:9px;font-size:7px}.page-heading h1{letter-spacing:-1.1px;max-width:350px;font-size:29px}.page-heading p{max-width:350px;margin-top:9px;font-size:10px}.page-heading>.button{margin-top:18px;padding:10px 15px;font-size:11px}.day-toolbar{flex-wrap:wrap;gap:10px;margin-bottom:17px}.day-select{flex:1}.date-picker{padding:5px;font-size:11px}.day-select .icon-button{padding:4px}.toolbar-actions{justify-content:flex-end;width:100%;margin-top:0;padding-top:0}.toolbar-actions .text-button{font-size:9px}.summary-grid{grid-template-columns:1fr 1fr;gap:10px;margin-bottom:24px}.energy-panel{grid-column:span 2;padding:20px 23px}.energy-panel .panel-head{margin-bottom:12px}.energy-panel .tag{font-size:9px;display:inline-flex}.energy-body{justify-content:center;gap:43px}.energy-ring{width:164px;height:164px}.energy-ring strong{font-size:31px}.energy-details{max-width:140px}.energy-details>.muted{font-size:10px}.energy-details>strong{font-size:30px}.energy-details>.small{font-size:8px}.energy-details .balance-line{flex-wrap:nowrap;gap:7px}.macros-panel{grid-column:span 2;grid-template-columns:1fr 1fr;gap:5px 22px;padding:20px 23px;display:grid}.macros-panel .panel-head{grid-column:span 2;margin-bottom:2px}.macros-panel .macro{margin:10px 0}.macros-panel .macro>div:first-child{gap:3px;font-size:9px}.macro b{font-size:10px}.macro small{font-size:8px}.macro span{gap:5px}.macros-panel .data-note{display:none}.water-panel{grid-column:span 2;grid-template-columns:1fr 1fr;gap:13px;padding:17px 23px;display:grid}.water-panel .panel-head{grid-column:1}.water-panel h2{font-size:13px}.water-panel .water-number{text-align:right;grid-area:1/2;font-size:26px}.water-panel .glasses{grid-area:2/1;justify-content:space-between;gap:0}.water-panel .glasses svg{width:17px}.water-panel .water-actions{grid-area:2/2;justify-content:flex-end}.water-actions>button:not(.icon-button){flex:0;padding:7px;font-size:9px}.section-title{margin-bottom:13px}.section-title h2{font-size:16px}.section-title .inline{gap:3px}.section-title .text-button{padding:7px;font-size:0}.section-title .text-button svg{width:18px;height:18px}.meal-heading{gap:11px;padding:14px}.meal-symbol{border-radius:8px;width:34px;height:34px;font-size:23px}.meal-heading h3{font-size:12px}.meal-heading h3 small{font-size:8px}.meal-energy{font-size:12px}.round-add{width:27px;height:27px}.diary-row{gap:9px;padding:12px 14px}.food-image{width:30px;height:35px}.food-title b{font-size:10px}.food-title small{font-size:8px}.food-energy{font-size:10px}.food-energy small{font-size:7px}.day-note textarea{font-size:10px}.mobile-nav{z-index:30;height:65px;padding:5px 5px max(5px, env(safe-area-inset-bottom));background:#fff;border-top:1px solid #e3eae5;justify-content:space-around;align-items:center;display:flex;position:fixed;bottom:0;left:0;right:0}.mobile-nav button{color:#9aa89e;border-radius:8px;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:5px;height:100%;font-size:8px;display:flex}.mobile-nav button.active{color:var(--green);background:#f0f6f0}.mobile-nav button svg{stroke-width:1.7px}.toast{width:max-content;font-size:11px;bottom:80px;left:50%}.modal{max-width:calc(100% - 20px);max-height:88dvh;padding:22px 18px}.modal-head h2{font-size:18px}.search-tabs{gap:10px}.search-tabs button{font-size:10px}.search-box{gap:8px;padding-left:9px}.search-box input{font-size:11px}.search-box .button{padding:10px;font-size:10px}.search-results .food-row{gap:9px}.search-results .food-title b{font-size:11px}.search-results .food-title small{font-size:9px}.nutrition-grid{grid-template-columns:1fr 1fr}.nutrition-grid b{font-size:14px}.form-grid{gap:12px}.stats-row{grid-template-columns:1fr 1fr}.stats-row>div:first-child{grid-column:span 2}.stats-row strong{font-size:29px}.stats-row>div>span{font-size:10px}.chart-legend{flex-wrap:wrap;font-size:10px}.chart-legend>span{width:100%;margin-left:0;font-size:9px}.bar-chart{gap:3px;height:190px;padding-left:0;padding-right:0}.nutrient-tabs button{padding:7px 8px;font-size:9px}.week-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.week-day{min-height:185px}.ai-layout>aside{display:flex}.chat-panel{min-height:570px}.chat-welcome{padding:23px 0}.chat-welcome h2{font-size:23px}.chat-welcome p{font-size:11px}.chat-welcome p br{display:none}.suggestions button{gap:12px;font-size:11px}.chat-input>div>span{font-size:0}.chat-input{padding:10px}.chat-input textarea{font-size:11px}.message{font-size:12px}.panel{padding:20px}.settings-layout .field{font-size:10px}.settings-layout .field input,.settings-layout .field select{padding:10px;font-size:12px}.checkbox-field{font-size:11px}.tags{gap:6px}footer{flex-direction:column;align-items:flex-start;gap:8px;margin-top:25px;font-size:8px}.scanner-dialog{max-width:calc(100vw - 40px)!important}.scanner-dialog input{width:100%}.panel-head{flex-wrap:wrap}.panel-head select{max-width:150px;font-size:11px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}@media print{.sidebar,.topbar,.mobile-nav,.page-heading>.button,.button,.icon-button,.round-add,.toolbar-actions,.toast,.day-note,.right-column,footer{display:none!important}.main{width:100%;margin:0;padding:0}.content{max-width:none;padding:0}.app-shell{display:block}body{background:#fff;font-size:11px}.panel,.meal-panel,.water-panel{break-inside:avoid;box-shadow:none;border-color:#ccc}.page-heading{margin-bottom:20px}.summary-grid{grid-template-columns:1fr 1fr 1fr;display:grid}.water-panel,.macros-panel{grid-column:auto;display:block}.energy-panel{grid-column:auto}.energy-ring{width:125px;height:125px}.energy-details{display:none}.diary-layout{display:block}.two-columns{grid-template-columns:1fr 1fr;display:grid}.stack{gap:12px}.week-grid{grid-template-columns:repeat(7,1fr)}.bar-chart{height:180px}.chart-column i{-webkit-print-color-adjust:exact;print-color-adjust:exact}.panel{padding:15px}.meal-heading{padding:10px}.meal-panel{margin:0}.water-actions{display:none!important}}@media (max-width:600px){.content{padding-top:20px}.page-heading{margin-bottom:15px}.page-heading p{display:none}.page-heading>.button{min-height:44px;margin-top:15px;font-size:13px}.page-heading h1{font-size:28px}.eyebrow{color:#738772;font-size:9px}.breadcrumb{font-size:11px}.sync-state{color:#738a7b;max-width:128px;font-size:9px}.icon-button,.round-add{min-width:44px;min-height:44px}.mobile-menu{min-width:28px}.day-select .icon-button{min-width:32px}.date-picker{font-size:12px}.toolbar-actions .text-button{min-height:40px;font-size:11px}.toolbar-actions{justify-content:space-between}.day-toolbar{gap:0;margin-bottom:12px}.energy-panel{padding:17px 21px}.energy-panel .panel-head{margin-bottom:0}.energy-body{gap:30px}.energy-ring{width:132px;height:132px}.energy-ring strong{font-size:29px}.energy-ring span{font-size:10px}.energy-details>strong{font-size:27px}.energy-details>.muted{color:#748b7a;font-size:10px}.energy-details>.small{font-size:9px}.energy-details .balance-line{margin-top:10px;padding-top:9px}.panel-head h2{font-size:15px}.macros-panel{gap:3px 14px;padding:15px 20px}.macros-panel .macro{margin:8px 0}.macros-panel .macro>div:first-child{flex-wrap:wrap;row-gap:5px;font-size:11px}.macro b{font-size:11px}.macro small{color:#8b9e8f;font-size:9px}.macro span{color:#607866}.water-panel{padding:14px 19px}.water-panel .glasses{display:none}.water-panel .water-actions{grid-area:2/1/auto/-1;justify-content:flex-start}.water-actions>button:not(.icon-button){flex:1;min-height:40px;padding:8px 16px;font-size:12px}.water-panel .water-actions .icon-button{min-width:40px;min-height:40px;display:flex}.water-panel h2{font-size:14px}.water-number span{font-size:13px}.meal-heading{gap:9px;padding:10px 13px}.meal-heading h3{font-size:14px}.meal-heading h3 small{font-size:10px}.meal-energy{font-size:13px}.meal-symbol{width:31px;height:35px}.meal-heading .round-add{background:0 0;border:0}.meal-energy small{font-size:10px}.food-title b{font-size:13px}.food-title small{color:#839589;font-size:11px}.food-energy{font-size:12px}.food-energy small{font-size:10px}.diary-row{gap:8px;padding:11px}.row-delete{min-width:33px;padding:5px}.food-row{flex-wrap:wrap}.food-row .food-title{min-width:110px}.mobile-nav button{font-size:10px}.mobile-nav{height:70px}.main{padding-bottom:75px}.section-title .text-button{min-width:44px;min-height:44px}.section-title .inline{gap:0}.section-title{margin-bottom:5px}.button{min-height:44px;font-size:13px}.field{font-size:12px}.field input,.field select,.field textarea,.settings-layout .field input,.settings-layout .field select{min-height:44px;font-size:16px}.settings-layout .field{font-size:12px}.data-note{color:#839887;font-size:11px}.empty p{font-size:13px}.empty h3{font-size:17px}.panel>p,.settings-layout .panel>p{font-size:13px}.search-box input{font-size:16px}.search-box .button{font-size:12px}.search-tabs button{min-height:44px;font-size:12px}.search-tabs{gap:9px}.search-results .food-title b{font-size:13px}.search-results .food-title small{font-size:11px}.search-results .food-row{padding:12px 3px}.product-intro h3{font-size:19px}.product-intro p,.nutrition-grid span{font-size:12px}.nutrition-grid b{font-size:16px}.nutrition-grid small{font-size:11px}.small,.checkbox-field{font-size:12px}.notice{font-size:13px}.tag{font-size:11px}.chat-input textarea{font-size:16px}.suggestions button{min-height:50px;font-size:13px}.message{font-size:14px}.text-link,.chat-welcome p{font-size:13px}.chat-input>div>span{display:none}.send-button{min-width:44px;min-height:44px}.mobile-nav button.active{font-weight:600}.toast{bottom:85px}.panel-head .button{font-size:12px}.form-grid{column-gap:11px}.week-day>span,.week-day p{font-size:12px}.week-day>b{font-size:14px}.week-day{padding:17px}.shopping-row{min-height:50px}.chart-legend>span{font-size:11px}.nutrient-tabs button{min-height:40px;font-size:11px}}.welcome-strip{background:#eaf2e5;border:1px solid #dce7d3;border-radius:13px;justify-content:space-between;align-items:center;gap:18px;margin-bottom:18px;padding:18px 22px;display:flex}.welcome-strip>div{color:#668959;align-items:center;gap:13px;display:flex}.welcome-strip b{font-size:14px;display:block}.welcome-strip small{color:#7d9672;margin-top:5px;font-size:11px;display:block}.home-coach{margin-bottom:23px}.home-coach>section{padding:18px 23px}.home-coach .panel-head{margin-bottom:12px}.home-coach p{font-size:12px}.ai-mode-picker{gap:7px;margin:20px 0 10px;display:flex}.ai-mode-picker button{color:#8a9e7f;border:1px solid #dae5d6;border-radius:7px;padding:9px 14px;font-size:12px}.ai-mode-picker button.selected{color:#4e7a3e;background:#eaf3e3;border-color:#bed3af;font-weight:600}.estimate-edit{border:1px solid #dfe9d9;border-radius:9px;padding:12px;font-size:12px}.estimate-edit summary{cursor:pointer;color:#6c885b}.estimate-edit[open]{background:#fafcf8}.onboarding-progress{gap:6px;display:flex}.onboarding-progress span{background:#ecf1e8;border-radius:6px;flex:1;height:4px}.onboarding-progress span.active{background:#69925b}@media (max-width:600px){.welcome-strip{flex-direction:column;align-items:stretch;gap:13px;padding:15px}.welcome-strip .button{width:100%;font-size:13px}.welcome-strip b{font-size:15px}.welcome-strip small{font-size:12px}.home-coach{margin-bottom:17px}.home-coach>section{padding:17px}.home-coach p{font-size:13px}.home-coach h2{font-size:15px}.ai-mode-picker{gap:6px}.ai-mode-picker button{flex:1;min-height:44px;padding:8px 10px;font-size:12px}.estimate-edit{font-size:13px}.estimate-edit summary{align-items:center;min-height:34px;display:flex}}.table-scroll{max-width:100%;overflow-x:auto}.table-scroll table{border-collapse:collapse;width:100%;font-size:.85rem}.table-scroll th,.table-scroll td{text-align:left;border-bottom:1px solid var(--line);padding:8px}.photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:1rem;display:grid}.progress-photo{object-fit:contain;background:var(--surface,#f4f4f0);border-radius:12px;width:100%;max-height:520px;display:block}.photo-grid figure{min-width:0;margin:0}.photo-grid p{overflow-wrap:anywhere}@media (max-width:540px){.photo-grid{gap:.5rem}.photo-grid .inline{flex-direction:column;align-items:stretch}.photo-grid .button{padding:.5rem}}.meal-note{border-top:1px solid var(--line);padding:10px 16px;font-size:.85rem}.meal-note summary{cursor:pointer;color:var(--muted)}.meal-note .field{margin-top:10px}.diary-calendar{margin-bottom:16px}.diary-calendar summary{cursor:pointer}.calendar-grid{text-align:center;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;display:grid}.calendar-cell{border:1px solid var(--line);min-height:55px;color:var(--text);cursor:pointer;background:#fff;border-radius:8px;padding:5px 2px;position:relative}.calendar-cell small{font-size:10px;display:block}.calendar-cell.has-data{background:var(--mint)}.calendar-cell[aria-pressed=true]{outline:2px solid var(--green);outline-offset:-2px}.calendar-cell>span{font-size:9px;position:absolute;top:2px;right:3px}.chart-column{position:relative}.chart-target{border-top:2px solid var(--ink);width:100%;position:absolute;left:0}.daily-stat-table{max-height:360px;overflow:auto}.daily-stat-table table{border-collapse:collapse;width:100%;font-size:12px}.daily-stat-table th,.daily-stat-table td{border-bottom:1px solid var(--line);text-align:left;padding:8px 5px}.gate{background:var(--paper);justify-content:center;align-items:center;min-height:100vh;padding:24px;display:flex}.gate-card{border:1px solid var(--line);border-radius:var(--radius);background:#fff;width:100%;max-width:460px;padding:28px}.gate-card .brand{margin-bottom:6px}.gate-card h1{margin:0;font-size:24px}.gate-card form{gap:12px}.leaderboard{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.leaderboard li{background:#f7f9f6;border-radius:10px;grid-template-columns:34px minmax(0,1fr) minmax(60px,2fr) auto;align-items:center;gap:10px;padding:8px 10px;display:grid}.leaderboard li.me{background:var(--mint);outline:1px solid #cfe3d6}.leaderboard .place{text-align:center;font-size:18px}.leaderboard .name{text-overflow:ellipsis;white-space:nowrap;font-weight:550;overflow:hidden}.leaderboard .bar{background:#e6ede8;border-radius:99px;height:8px;overflow:hidden}.leaderboard .bar i{background:var(--green);border-radius:99px;height:100%;transition:width .4s;display:block}.leaderboard b{white-space:nowrap}.leaderboard b small{color:var(--muted);font-weight:400}.challenge-me{font-size:15px}.challenge-empty{text-align:center;align-items:center}.challenge-empty .ai-orb{margin:0 auto}.checkbox-grid{grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:4px 16px;display:grid}.stack.tight{gap:2px}.stack.tight .food-row{padding:6px 0}.message-body p,.message-body ul,.message-body ol{margin:0 0 8px}.message-body>:last-child{margin-bottom:0}.message-body ul,.message-body ol{padding-left:20px}.message-body li{overflow-wrap:anywhere;margin:3px 0}.message-body a{text-underline-offset:2px;overflow-wrap:anywhere;text-decoration:underline}.ai-mode-picker .web-toggle{align-items:center;gap:6px;margin-left:auto;display:inline-flex}@media (max-width:600px){.ai-mode-picker .web-toggle{flex-basis:100%;margin-left:0}.leaderboard li{grid-template-columns:30px minmax(0,1fr) auto}.leaderboard .bar{display:none}.gate{padding:14px}.gate-card{padding:20px}}:root[data-accent=blue]{--green:#2f6fa8;--green-dark:#245785;--mint:#ecf3f9}:root[data-accent=plum]{--green:#7a4b8a;--green-dark:#5f3a6c;--mint:#f4eef6}:root[data-accent=sunset]{--green:#c2652e;--green-dark:#9c4f22;--mint:#fbf0e8}:root[data-density=compact] body{font-size:13px}:root[data-density=compact] .panel{padding:15px}:root[data-density=compact] .content{gap:12px}:root[data-density=compact] .panel-head{margin-bottom:12px}:root[data-density=compact] .food-row{padding:7px 0}:root[data-density=compact] .meal-panel{padding:10px 12px}:root[data-density=compact] .page-heading h1{font-size:24px}:root[data-theme=dark]{--ink:#e8efe9;--text:#d5ddd6;--muted:#a7b6ab;--label:#a7b6ab;--paper:#121816;--line:#25302b;--mint:#1a2620;--surface:#1a211d;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}@media (prefers-color-scheme:dark){:root[data-theme=system]{--ink:#e8efe9;--text:#d5ddd6;--muted:#a7b6ab;--label:#a7b6ab;--paper:#121816;--line:#25302b;--mint:#1a2620;--surface:#1a211d;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}}:root[data-theme=dark] .panel,:root[data-theme=dark] .sidebar,:root[data-theme=dark] .modal,:root[data-theme=dark] .mobile-nav,:root[data-theme=dark] .gate-card,:root[data-theme=dark] .chat-input,:root[data-theme=dark] .quick-panel,:root[data-theme=dark] .meal-panel,:root[data-theme=dark] .topbar,:root[data-theme=dark] input,:root[data-theme=dark] select,:root[data-theme=dark] textarea,:root[data-theme=dark] .scanner-dialog,:root[data-theme=dark] .estimate-card,:root[data-theme=dark] .day-note,:root[data-theme=dark] .water-panel,:root[data-theme=dark] .welcome-strip,:root[data-theme=dark] .home-coach>section,:root[data-theme=dark] .leaderboard li,:root[data-theme=dark] .message,:root[data-theme=dark] .message.user,:root[data-theme=dark] .suggestions button,:root[data-theme=dark] .food-row,:root[data-theme=dark] .notice,:root[data-theme=dark] .empty,:root[data-theme=dark] .ai-mode-picker button,:root[data-theme=dark] .button,:root[data-theme=dark] .tag,:root[data-theme=dark] .date-picker,:root[data-theme=dark] .today-button,:root[data-theme=dark] .profile-button,:root[data-theme=dark] details.panel,:root[data-theme=dark] .water-actions button,:root[data-theme=dark] .sidebar-note,:root[data-theme=dark] .coach-card{background:var(--surface);border-color:var(--line);color:var(--text)}:root[data-theme=dark] .button.primary,:root[data-theme=dark] .ai-card>button,:root[data-theme=dark] .send-button,:root[data-theme=dark] .round-add{background:var(--green);color:#fff;border-color:var(--green)}:root[data-theme=dark] .nav-item.active,:root[data-theme=dark] .mobile-nav button.active,:root[data-theme=dark] .ai-mode-picker button.selected,:root[data-theme=dark] .tag.selected,:root[data-theme=dark] .leaderboard li.me{background:var(--mint);color:#9fd4b6}:root[data-theme=dark] h1,:root[data-theme=dark] h2,:root[data-theme=dark] h3,:root[data-theme=dark] b,:root[data-theme=dark] strong{color:var(--ink)}:root[data-theme=dark] .ai-card,:root[data-theme=dark] .ai-card.compact{color:var(--text);background:#1f2b25}:root[data-theme=dark] .progress-track,:root[data-theme=dark] .leaderboard .bar,:root[data-theme=dark] .ring-track{stroke:#2a3630;background:#2a3630}:root[data-theme=dark] .macro>div>span,:root[data-theme=dark] .message>span{color:var(--muted)}:root[data-theme=dark] img.progress-photo{background:#000}@media (prefers-color-scheme:dark){:root[data-theme=system] .panel,:root[data-theme=system] .sidebar,:root[data-theme=system] .modal,:root[data-theme=system] .mobile-nav,:root[data-theme=system] .gate-card,:root[data-theme=system] .chat-input,:root[data-theme=system] .quick-panel,:root[data-theme=system] .meal-panel,:root[data-theme=system] .topbar,:root[data-theme=system] input,:root[data-theme=system] select,:root[data-theme=system] textarea,:root[data-theme=system] .scanner-dialog,:root[data-theme=system] .estimate-card,:root[data-theme=system] .day-note,:root[data-theme=system] .water-panel,:root[data-theme=system] .welcome-strip,:root[data-theme=system] .home-coach>section,:root[data-theme=system] .leaderboard li,:root[data-theme=system] .message,:root[data-theme=system] .message.user,:root[data-theme=system] .suggestions button,:root[data-theme=system] .food-row,:root[data-theme=system] .notice,:root[data-theme=system] .empty,:root[data-theme=system] .ai-mode-picker button,:root[data-theme=system] .button,:root[data-theme=system] .tag,:root[data-theme=system] .date-picker,:root[data-theme=system] .today-button,:root[data-theme=system] .profile-button,:root[data-theme=system] details.panel,:root[data-theme=system] .water-actions button,:root[data-theme=system] .sidebar-note,:root[data-theme=system] .coach-card{background:var(--surface);border-color:var(--line);color:var(--text)}:root[data-theme=system] .button.primary,:root[data-theme=system] .ai-card>button,:root[data-theme=system] .send-button,:root[data-theme=system] .round-add{background:var(--green);color:#fff;border-color:var(--green)}:root[data-theme=system] .nav-item.active,:root[data-theme=system] .mobile-nav button.active,:root[data-theme=system] .ai-mode-picker button.selected,:root[data-theme=system] .tag.selected,:root[data-theme=system] .leaderboard li.me{background:var(--mint);color:#9fd4b6}:root[data-theme=system] h1,:root[data-theme=system] h2,:root[data-theme=system] h3,:root[data-theme=system] b,:root[data-theme=system] strong{color:var(--ink)}:root[data-theme=system] .ai-card,:root[data-theme=system] .ai-card.compact{color:var(--text);background:#1f2b25}:root[data-theme=system] .progress-track,:root[data-theme=system] .leaderboard .bar,:root[data-theme=system] .ring-track{stroke:#2a3630;background:#2a3630}:root[data-theme=system] .macro>div>span,:root[data-theme=system] .message>span{color:var(--muted)}}@media (max-width:600px){html,body{overflow-x:hidden}}.weight-card{margin-bottom:17px}.weight-grid{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px 16px;margin-bottom:14px;display:grid}.weight-grid>div{flex-direction:column;gap:2px;display:flex}.weight-grid strong{color:var(--ink);font-size:22px}.weight-grid small{color:var(--muted)}.weight-card form input{flex:1;min-width:140px}.settings-tabs{margin-bottom:4px}.settings-tabs button{min-height:40px}.coach-card{background:linear-gradient(125deg,#edf5ed,#fff);border-color:#c9dfcf}:root[data-theme=dark] input,:root[data-theme=dark] select,:root[data-theme=dark] textarea,:root[data-theme=dark] .sidebar,:root[data-theme=dark] .topbar,:root[data-theme=dark] .button,:root[data-theme=dark] .panel,:root[data-theme=dark] .tag,:root[data-theme=dark] .tag.soft,:root[data-theme=dark] .water-panel,:root[data-theme=dark] .water-panel .tag,:root[data-theme=dark] .water-actions>button:not(.icon-button),:root[data-theme=dark] .meal-panel,:root[data-theme=dark] .food-image,:root[data-theme=dark] .ai-card,:root[data-theme=dark] .ai-card>button,:root[data-theme=dark] .notice,:root[data-theme=dark] .modal,:root[data-theme=dark] .search-box,:root[data-theme=dark] .week-day,:root[data-theme=dark] .suggestions button,:root[data-theme=dark] .message,:root[data-theme=dark] .message.user,:root[data-theme=dark] .chat-input,:root[data-theme=dark] .estimate-card,:root[data-theme=dark] .image-preview button,:root[data-theme=dark] .mobile-nav,:root[data-theme=dark] .welcome-strip,:root[data-theme=dark] .estimate-edit[open],:root[data-theme=dark] .calendar-cell,:root[data-theme=dark] .gate-card,:root[data-theme=dark] .leaderboard li{background:var(--surface);border-color:var(--line);color:var(--text)}:root[data-theme=dark] .nav-item:hover,:root[data-theme=dark] .nav-item.active,:root[data-theme=dark] .tiny-badge,:root[data-theme=dark] .sprout,:root[data-theme=dark] .avatar,:root[data-theme=dark] .button:hover,:root[data-theme=dark] .icon-button:hover,:root[data-theme=dark] .tag.selected,:root[data-theme=dark] .tag:hover:is(button),:root[data-theme=dark] .progress-track,:root[data-theme=dark] .meal-symbol,:root[data-theme=dark] .meal-1,:root[data-theme=dark] .meal-3,:root[data-theme=dark] .meal-2,:root[data-theme=dark] .meal-4,:root[data-theme=dark] .meal-5,:root[data-theme=dark] .round-add,:root[data-theme=dark] .round-add:hover,:root[data-theme=dark] .ai-orb,:root[data-theme=dark] .ai-card>button:hover,:root[data-theme=dark] .week-day.today,:root[data-theme=dark] .nutrient-tabs button.selected,:root[data-theme=dark] .chat-welcome .ai-orb,:root[data-theme=dark] .suggestions button:hover,:root[data-theme=dark] .mobile-nav button.active,:root[data-theme=dark] .ai-mode-picker button.selected,:root[data-theme=dark] .onboarding-progress span,:root[data-theme=dark] .leaderboard .bar{background:var(--mint);border-color:var(--line)}:root[data-theme=dark] .notice.error{color:#f0c9c9;background:#3a2424;border-color:#5a3333}:root[data-theme=dark] .notice.warning{color:#efe2b8;background:#3a3320;border-color:#5a5030}:root[data-theme=dark] .date-picker,:root[data-theme=dark] .round-add:hover,:root[data-theme=dark] .ai-card h2{color:var(--ink)}:root[data-theme=dark] .button.primary,:root[data-theme=dark] .ai-card>button,:root[data-theme=dark] .send-button,:root[data-theme=dark] .round-add,:root[data-theme=dark] .welcome-strip .button.primary{background:var(--green);color:#fff;border-color:var(--green)}:root[data-theme=dark] .ai-card,:root[data-theme=dark] .ai-card.compact,:root[data-theme=dark] .coach-card{color:var(--text);background:#1f2b25}:root[data-theme=dark] h1,:root[data-theme=dark] h2,:root[data-theme=dark] h3,:root[data-theme=dark] b,:root[data-theme=dark] strong,:root[data-theme=dark] .ai-card h2,:root[data-theme=dark] .food-title b{color:var(--ink)}:root[data-theme=dark] .muted,:root[data-theme=dark] .small,:root[data-theme=dark] .data-note,:root[data-theme=dark] small,:root[data-theme=dark] .eyebrow,:root[data-theme=dark] .sync-state,:root[data-theme=dark] .message>span{color:var(--muted)}:root[data-theme=dark] [style*="background: var(--mint)"],:root[data-theme=dark] [style*="background:var(--mint)"]{color:var(--text)}@media (prefers-color-scheme:dark){:root[data-theme=system] input,:root[data-theme=system] select,:root[data-theme=system] textarea,:root[data-theme=system] .sidebar,:root[data-theme=system] .topbar,:root[data-theme=system] .button,:root[data-theme=system] .panel,:root[data-theme=system] .tag,:root[data-theme=system] .tag.soft,:root[data-theme=system] .water-panel,:root[data-theme=system] .water-panel .tag,:root[data-theme=system] .water-actions>button:not(.icon-button),:root[data-theme=system] .meal-panel,:root[data-theme=system] .food-image,:root[data-theme=system] .ai-card,:root[data-theme=system] .ai-card>button,:root[data-theme=system] .notice,:root[data-theme=system] .modal,:root[data-theme=system] .search-box,:root[data-theme=system] .week-day,:root[data-theme=system] .suggestions button,:root[data-theme=system] .message,:root[data-theme=system] .message.user,:root[data-theme=system] .chat-input,:root[data-theme=system] .estimate-card,:root[data-theme=system] .image-preview button,:root[data-theme=system] .mobile-nav,:root[data-theme=system] .welcome-strip,:root[data-theme=system] .estimate-edit[open],:root[data-theme=system] .calendar-cell,:root[data-theme=system] .gate-card,:root[data-theme=system] .leaderboard li{background:var(--surface);border-color:var(--line);color:var(--text)}:root[data-theme=system] .nav-item:hover,:root[data-theme=system] .nav-item.active,:root[data-theme=system] .tiny-badge,:root[data-theme=system] .sprout,:root[data-theme=system] .avatar,:root[data-theme=system] .button:hover,:root[data-theme=system] .icon-button:hover,:root[data-theme=system] .tag.selected,:root[data-theme=system] .tag:hover:is(button),:root[data-theme=system] .progress-track,:root[data-theme=system] .meal-symbol,:root[data-theme=system] .meal-1,:root[data-theme=system] .meal-3,:root[data-theme=system] .meal-2,:root[data-theme=system] .meal-4,:root[data-theme=system] .meal-5,:root[data-theme=system] .round-add,:root[data-theme=system] .round-add:hover,:root[data-theme=system] .ai-orb,:root[data-theme=system] .ai-card>button:hover,:root[data-theme=system] .week-day.today,:root[data-theme=system] .nutrient-tabs button.selected,:root[data-theme=system] .chat-welcome .ai-orb,:root[data-theme=system] .suggestions button:hover,:root[data-theme=system] .mobile-nav button.active,:root[data-theme=system] .ai-mode-picker button.selected,:root[data-theme=system] .onboarding-progress span,:root[data-theme=system] .leaderboard .bar{background:var(--mint);border-color:var(--line)}:root[data-theme=system] .notice.error{color:#f0c9c9;background:#3a2424;border-color:#5a3333}:root[data-theme=system] .notice.warning{color:#efe2b8;background:#3a3320;border-color:#5a5030}:root[data-theme=system] .date-picker,:root[data-theme=system] .round-add:hover,:root[data-theme=system] .ai-card h2{color:var(--ink)}:root[data-theme=system] .button.primary,:root[data-theme=system] .ai-card>button,:root[data-theme=system] .send-button,:root[data-theme=system] .round-add,:root[data-theme=system] .welcome-strip .button.primary{background:var(--green);color:#fff;border-color:var(--green)}:root[data-theme=system] .ai-card,:root[data-theme=system] .ai-card.compact,:root[data-theme=system] .coach-card{color:var(--text);background:#1f2b25}:root[data-theme=system] h1,:root[data-theme=system] h2,:root[data-theme=system] h3,:root[data-theme=system] b,:root[data-theme=system] strong,:root[data-theme=system] .ai-card h2,:root[data-theme=system] .food-title b{color:var(--ink)}:root[data-theme=system] .muted,:root[data-theme=system] .small,:root[data-theme=system] .data-note,:root[data-theme=system] small,:root[data-theme=system] .eyebrow,:root[data-theme=system] .sync-state,:root[data-theme=system] .message>span{color:var(--muted)}:root[data-theme=system] [style*="background: var(--mint)"],:root[data-theme=system] [style*="background:var(--mint)"]{color:var(--text)}}.fab{display:none}@media (max-width:600px){.fab{z-index:31;background:var(--green);color:#fff;border:0;border-radius:50%;justify-content:center;align-items:center;width:54px;height:54px;display:flex;position:fixed;bottom:83px;right:16px;box-shadow:0 6px 16px #1c614540}.fab:disabled{opacity:.5}.topbar{height:52px;padding:0 12px}.breadcrumb>span,.breadcrumb>svg{display:none}.breadcrumb b{font-size:16px}.sync-state{gap:0;font-size:0}.today-button{display:none}.content{padding:12px 12px 140px}.library-filter{grid-template-columns:1fr}.page-heading{margin-bottom:10px}.page-heading .eyebrow,.page-heading>div>p{display:none}.page-heading h1{margin:0;font-size:22px}.page-heading>.button.primary,.diary-heading,.planner-page-heading{display:none}.day-toolbar{z-index:6;background:var(--paper);flex-direction:row;justify-content:space-between;align-items:center;gap:6px;margin:0 -12px 10px;padding:8px 12px;position:sticky;top:0}.day-select{flex:auto;min-width:0}.day-select .date-picker{flex:1;justify-content:center}.toolbar-actions{flex:none;gap:2px;width:auto}.toolbar-actions .text-button{gap:0;min-height:40px;padding:8px;font-size:0}.toolbar-actions .text-button svg{width:18px;height:18px}.weight-card{margin-bottom:12px;padding:14px 16px}.weight-grid{grid-template-columns:1fr 1fr;gap:8px 12px;margin-bottom:10px}.weight-grid strong{font-size:19px}.weight-grid small{font-size:11px}.weight-card form input{min-width:0}.summary-grid{gap:10px;margin-bottom:12px}.energy-panel{padding:14px 16px}.energy-panel .panel-head{margin-bottom:6px}.energy-body{align-items:center;gap:14px}.energy-ring{width:118px;min-width:118px}.energy-ring strong{font-size:24px}.energy-details strong{font-size:22px}.energy-details .small,.energy-panel .data-note{display:none}.meal-split{margin-top:8px;font-size:12px}.macros-panel{grid-template-columns:1fr 1fr;gap:6px 16px;padding:14px 16px;display:grid}.macros-panel .panel-head{grid-column:1/-1;margin-bottom:4px}.macros-panel .data-note{display:none}.macro{margin:0}.water-panel{padding:14px 16px}.water-panel .glasses,.water-panel>p,.water-panel .text-button{display:none}.water-panel .water-number{margin:4px 0 8px;font-size:22px}.water-actions{gap:8px}.home-coach{margin-bottom:12px}.home-coach>section{padding:14px 16px}.home-coach .panel-head{margin-bottom:6px}.coach-card>.stack>p.muted,.coach-card>p.data-note,.coach-card p.small{display:none}.section-title{margin:4px 0 8px}.section-title h2{font-size:17px}.meals-list{gap:8px}.meal-panel{padding:10px 12px}.meal-heading h3 small{font-size:11px}.meal-panel details summary{padding:4px 0;font-size:12px}.day-note{margin-top:10px}.right-column .quiet-note{display:none}.mobile-nav button{gap:3px;font-size:10px}details.panel{padding:12px 14px}}.mobile-summary{display:none}@media (max-width:600px){.mobile-summary{grid-template-columns:repeat(2,1fr);gap:8px;margin:0 0 12px;display:grid}.mobile-summary>div{border:1px solid var(--line);background:var(--surface,#fff);color:var(--muted);border-radius:12px;flex-direction:column;align-items:center;gap:2px;min-height:64px;padding:10px 6px;font-size:11px;display:flex}.mobile-summary>div b{color:var(--ink);font-size:16px}.mobile-summary>div svg{color:var(--green)}.coach-card p.muted{display:block}.section-title{margin-top:0}.day-toolbar{flex-wrap:nowrap}.day-select{flex:auto;gap:0;min-width:0}.day-select .date-picker{padding:6px 8px;font-size:13px}.toolbar-actions{flex:none}}.ai-lookup{align-items:center;gap:12px}.ai-lookup .ai-orb{width:36px;min-width:36px;height:36px}.memory-list{flex-direction:column;gap:6px;margin:0 0 10px;padding:0;list-style:none;display:flex}.memory-list li{border-bottom:1px solid var(--line);align-items:center;gap:8px;padding:6px 0;font-size:13px;display:flex}.memory-list li span{overflow-wrap:anywhere;flex:1;min-width:0}.memory-list small{color:var(--muted);text-transform:uppercase;letter-spacing:.5px;margin-right:4px;font-size:10px}.memory-panel form input{flex:1;min-width:0}.install-hint{border:1px solid var(--line);background:var(--mint);border-radius:12px;align-items:center;gap:10px;margin-bottom:12px;padding:10px 14px;font-size:13px;display:flex}.install-hint>span{flex:1;min-width:0}.install-hint .button{padding:8px 12px;font-size:12px}@media (max-width:600px){.install-hint{order:-5}}.meal-split{color:var(--label);text-align:center;margin:10px 0 0;font-size:12px}.meal-split b{color:var(--ink);font-weight:600}.admin-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;display:grid}.admin-stat{border:1px solid var(--line);background:var(--surface-2);border-radius:12px;flex-direction:column;gap:1px;padding:9px 11px;display:flex}.admin-stat>.muted{text-transform:uppercase;letter-spacing:.04em;font-size:10px}.admin-stat>strong{font-size:16px;line-height:1.25}.admin-stat>small{color:var(--muted);font-size:11px}.admin-user{border:1px solid var(--line);background:var(--surface);border-radius:14px;padding:10px 12px}.admin-user+.admin-user{margin-top:8px}.admin-user>summary{cursor:pointer;flex-direction:column;gap:2px;list-style:none;display:flex}.admin-user>summary::-webkit-details-marker{display:none}.admin-user-head{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.admin-user[open]>summary{border-bottom:1px solid var(--line);margin-bottom:10px;padding-bottom:8px}.admin-user .admin-grid{margin-bottom:10px}.admin-actions{flex-wrap:wrap;align-items:flex-end;gap:8px;margin-top:8px;display:flex}.admin-actions .field{min-width:150px;margin:0}.button.danger{color:#a12d2d;border-color:#e3b3b3}.date-picker span{white-space:nowrap}.date-compact{display:none}.goal-details>summary{cursor:pointer;color:var(--muted);padding:4px 0;font-size:12px}.goal-details[open]>summary{margin-bottom:2px}@media (max-width:600px){.date-full{display:none}.date-compact{display:inline}.day-select .icon-button{min-width:36px;padding:6px}.weight-grid>.tile-balance{display:none}.weight-grid{grid-template-columns:repeat(3,1fr);gap:6px 8px}.weight-grid strong{font-size:17px}.weight-grid small{font-size:10px;line-height:1.3}.diary-layout>*,.stack>.panel{margin-bottom:0}.panel{padding:13px 14px}.panel+.panel,.panel+.stack{margin-top:10px}.stack{gap:12px}.weight-card{margin-bottom:10px}.meals-list{gap:6px}.meal-panel{padding:9px 11px}.section-title h2{font-size:16px}.energy-body{flex-direction:row;align-items:center;gap:12px}.energy-ring{align-self:center;width:112px;min-width:112px}.energy-details{text-align:left;flex:1;align-items:flex-start;min-width:0}.energy-details>.muted{font-size:11px;line-height:1.3}.energy-details>strong{font-size:26px;line-height:1.1}.energy-details .balance-line{justify-content:flex-start;width:100%}.meal-empty-hint{display:none}.food-row{gap:6px;padding:9px 10px}.food-row .button{flex:0 auto;min-height:34px;padding:6px 9px;font-size:12px}.library-row .food-row .food-title{flex:100%;min-width:0}.progress-toolbar{flex-wrap:wrap}.progress-toolbar>.inline{flex:100%;grid-template-columns:1fr 1fr;gap:8px;display:grid}.progress-toolbar>.inline>*{width:100%;min-width:0}.progress-toolbar>details.panel{flex:100%;margin:0}.progress-toolbar>details.panel>summary{white-space:nowrap;text-align:center}.ai-mode-picker{flex-wrap:wrap;gap:6px;display:flex;overflow:visible}.ai-mode-picker button{flex:none;padding:7px 10px;font-size:12px}.ai-mode-picker .web-toggle{order:9;justify-content:flex-start;width:100%}}.usual-chips{flex-wrap:wrap;gap:6px;padding:4px 0 2px;display:flex}.usual-chips .chip{border:1px dashed var(--line);color:var(--label);cursor:pointer;background:0 0;border-radius:999px;align-items:center;gap:6px;padding:6px 12px 6px 9px;font-size:12px;display:inline-flex}.usual-chips .chip svg{color:var(--green)}.usual-chips .chip small{color:var(--muted);font-size:11px}.usual-chips .chip:hover{border-color:var(--green);color:var(--green-dark);border-style:solid}@media (max-width:600px){.icon-button.mobile-menu{min-width:44px;min-height:44px}details>summary{padding-top:10px;padding-bottom:10px}.meal-panel details>summary,.goal-details>summary{padding-top:9px;padding-bottom:9px}.day-select .icon-button,.toolbar-actions .text-button,.icon-button.row-delete{min-width:40px}.usual-chips .chip{min-height:34px}.button,.text-button{min-height:38px}.food-row .button{min-height:34px}}.field,.small,.sync-state,.tag.soft{color:var(--label)}.ai-mode-picker button{color:var(--text)}.ai-mode-picker button.selected{color:var(--green-dark)}:root[data-theme=dark] .water-number,:root[data-theme=system] .water-number{color:var(--ink)}.menu-backdrop{z-index:39;cursor:pointer;background:#12181661;border:0;padding:0;position:fixed;inset:0}@media (min-width:601px){.menu-backdrop{display:none}}@media (max-width:600px){.sidebar .nav-item.in-tabs,.sidebar .sidebar-divider{display:none}.weight-card form.inline{flex-wrap:wrap;gap:8px}.weight-card form.inline input[inputmode=decimal]{flex:100%;min-width:0}.weight-card form.inline select{flex:none;min-width:96px}.weight-card form.inline .button{flex:auto}.energy-panel{padding:12px 14px}.energy-details .balance-line{margin-top:8px;padding-top:8px}.meal-split{text-align:left;margin-top:8px}.day-note{background:var(--surface);border:1px solid var(--line);color:var(--label);border-radius:14px;margin-top:10px;padding:11px 12px}.day-note svg{color:var(--label);margin-top:3px}.day-note textarea{background:0 0}.search-scope{margin:0 0 8px;padding:8px 12px}.search-scope>summary{color:var(--label);padding:6px 0;font-size:12px}}.onboarding{gap:20px;width:100%;max-width:680px;margin-inline:auto;padding:4px 0 12px}.setup-save-note{font-size:12px;line-height:1.6}.setup-progress-label{color:var(--muted);justify-content:space-between;gap:12px;font-size:12px;display:flex}.setup-progress{gap:6px;margin:0;padding:0;list-style:none;display:flex}.setup-progress li{background:var(--line);border-radius:8px;flex:1;height:4px}.setup-progress li.reached{background:var(--green)}.setup-progress li span{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.setup-intro h2{letter-spacing:-.6px;margin:0 0 12px;font-size:clamp(23px,4vw,32px);line-height:1.2}.setup-intro p{color:var(--muted);max-width:58ch;margin:0;line-height:1.65}.onboarding .setup-choice{text-align:left;border:1px solid var(--line);white-space:normal;background:0 0;justify-content:space-between;gap:16px;width:100%;min-height:88px;padding:18px}.onboarding .setup-choice[aria-pressed=true]{border-color:var(--green);background:var(--mint);box-shadow:inset 3px 0 var(--green)}.onboarding .setup-choice svg{flex-shrink:0}.onboarding input,.onboarding select,.onboarding button{min-height:48px}.onboarding .field small{font-weight:400;line-height:1.5}@media (max-width:600px){.onboarding .form-grid{grid-template-columns:1fr}.onboarding{gap:16px}.onboarding .panel-head{flex-wrap:wrap;align-items:center}.onboarding input,.onboarding select{font-size:16px}}.onboarding #welcome-title:focus{outline:none}.onboarding .setup-save-note{text-align:center;margin:0}.setup-macros{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:18px;display:grid}.setup-macros p{overflow-wrap:anywhere;font-size:12px}.setup-energy{color:var(--ink);font-variant-numeric:tabular-nums;font-size:38px;line-height:1.3}.setup-review summary{cursor:pointer;min-height:44px;padding-block:12px;font-weight:600;display:list-item}.setup-review dl{margin:8px 0}.setup-review dl>div{border-bottom:1px solid var(--line);justify-content:space-between;gap:16px;padding:8px 0;display:flex}.setup-review dt{color:var(--muted)}.setup-review dd{text-align:right;overflow-wrap:anywhere;max-width:65%;margin:0}.first-steps{margin-bottom:20px}.first-steps h2{margin:0;font-size:19px}.first-steps>p{line-height:1.6}.first-steps progress{width:100%;height:6px;accent-color:var(--green);border:0;border-radius:8px;overflow:hidden}.first-steps-count{margin:5px 0 12px;font-size:12px;display:block}.first-steps ol{grid-template-columns:1fr 1fr;gap:8px;margin:0;padding:0;list-style:none;display:grid}.first-steps li button{border:1px solid var(--line);text-align:left;background:0 0;border-radius:12px;align-items:center;gap:12px;width:100%;height:100%;min-height:64px;padding:14px;display:flex}.first-steps li button>span:nth-child(2){flex:1;min-width:0}.first-steps li button small{color:var(--muted);margin-top:5px;line-height:1.6;display:block}.first-step-marker{background:var(--mint);width:28px;height:28px;color:var(--ink);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;font-size:12px;display:flex}.first-steps .done .first-step-marker{background:var(--green);color:#fff}.first-steps-footnote{margin-bottom:0;font-size:12px}@media (max-width:600px){.first-steps ol{grid-template-columns:1fr}.first-steps h2{font-size:17px}.first-steps li button{padding:12px}.first-steps .panel-head{gap:8px}.first-steps .panel-head>.inline{flex:1;min-width:0}}.first-steps progress::-webkit-progress-bar{background:var(--line);border-radius:8px}.first-steps progress::-webkit-progress-value{background:var(--green);border-radius:8px}.first-steps progress::-moz-progress-bar{background:var(--green);border-radius:8px}.first-steps .panel-head{margin-bottom:12px}.coach-card .panel-head h2{align-items:center;gap:8px;display:flex}.coach-card .button{min-height:44px}.coach-card input[type=checkbox]{flex-shrink:0;width:20px;height:20px}@media (max-width:600px){.settings-layout .checkbox-field{min-height:44px;font-size:14px}.settings-layout .icon-button{min-width:44px;min-height:44px}.settings-layout input[type=checkbox]{flex-shrink:0;width:20px;height:20px}}:root{--paper:#f8f6ee;--surface:#fffdf6;--ink:#292e25;--text:#3a4034;--muted:#687061;--label:#687061;--line:#dcded1;--mint:#eef2e1;--lime:#d0f479;--lime-ink:#263419;--green:#3e6b47;--green-dark:#2f5437;--radius:22px}:root[data-accent=blue]{--green:#2f6fa8;--green-dark:#245785}:root[data-accent=plum]{--green:#7a4b8a;--green-dark:#5f3a6c}:root[data-accent=sunset]{--green:#c2652e;--green-dark:#9c4f22}body{background:var(--paper);color:var(--text)}.sidebar,.topbar,.mobile-nav,.gate,.content{background:var(--paper)}.sidebar{border-right-color:var(--line)}.topbar,.mobile-nav{border-color:var(--line)}.panel,.meal-panel,.water-panel,.weight-card,.energy-panel,.coach-card,.quick-panel,.welcome-strip,.mobile-summary>div,.modal,.gate-card,.chat-panel,.estimate-card,.food-row.card,.leaderboard li,.first-steps{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius)}.meal-panel{border-radius:18px}.mobile-summary>div{border-radius:16px}.ai-card{border-radius:var(--radius);background:#edf1e2;border-color:#dfe5cf}.ai-card h2,.page-heading h1,.chat-welcome h2,.sidebar-note h3,.setup-intro h2,.planner-heading h2{letter-spacing:-.035em;color:var(--ink);font-family:Georgia,Times New Roman,serif;font-weight:400}.page-heading h1{font-size:34px;line-height:1.08}.eyebrow,.workspace-label,.mp-eyebrow{letter-spacing:.16em;text-transform:uppercase;color:var(--muted);font-size:10px;font-weight:700}.button{border-color:var(--line);color:var(--ink);background:0 0;border-radius:999px;min-height:42px;padding:10px 18px;font-size:13px;font-weight:600}.button:hover{background:var(--mint)}.button.primary,.mp-primary,.fab,.send-button,.round-add,.ai-card>button{background:var(--lime);border-color:var(--lime);color:var(--lime-ink);box-shadow:none}.button.primary:hover,.fab:hover,.send-button:hover,.ai-card>button:hover{color:var(--lime-ink);background:#c4ec62}.fab{box-shadow:0 8px 20px #26341933}.icon-button{color:var(--muted);border-radius:50%}.icon-button:hover{background:var(--mint);color:var(--ink)}.tag{background:var(--mint);border:1px solid var(--line);color:var(--muted);border-radius:999px;padding:5px 10px}.tag.soft{background:0 0}.nav-item{color:var(--muted);border-radius:999px;padding:12px 16px;font-weight:550}.nav-item:hover{background:var(--mint);color:var(--ink)}.nav-item.active{background:var(--lime);color:var(--lime-ink);font-weight:650}.brand{color:var(--ink)}.brand>span:first-child{color:var(--green)}.mobile-nav button{color:var(--muted)}.mobile-nav button.active{background:var(--lime);color:var(--lime-ink);border-radius:999px}.ai-mode-picker button,.search-tabs button,.settings-tabs button,.nutrient-tabs button,.planner-sections button{border-radius:999px}.ai-mode-picker button.selected,.settings-tabs button.selected,.nutrient-tabs button.selected{background:var(--lime);color:var(--lime-ink);border-color:var(--lime)}.search-tabs button.selected{color:var(--ink);border-bottom-color:var(--ink)}input,select,textarea,.search-box,.date-picker{background:var(--surface);border-color:var(--line);color:var(--text);border-radius:14px}input:focus-visible,select:focus-visible,textarea:focus-visible,button:focus-visible,a:focus-visible{outline-offset:3px;outline:3px solid #62842c}.progress-track{background:var(--mint)}.chip.suggest{border-color:var(--line);color:var(--muted)}.day-toolbar{background:var(--paper)}.usual-chips .chip,.chip{border-radius:999px}.meal-symbol{border-radius:12px}.avatar,.ai-orb,.sprout{border-radius:50%}.sidebar-note{background:var(--mint);border-radius:var(--radius)}a{color:var(--green)}:root[data-theme=dark]{--paper:#141813;--surface:#1c211a;--ink:#eef1e4;--text:#d7dccb;--muted:#a9b39c;--label:#a9b39c;--line:#2f372b;--mint:#242b21;--lime:#c9ef6c;--lime-ink:#1c2416;--green:#8fc79a;--green-dark:#6fae7c}@media (prefers-color-scheme:dark){:root[data-theme=system]{--paper:#141813;--surface:#1c211a;--ink:#eef1e4;--text:#d7dccb;--muted:#a9b39c;--label:#a9b39c;--line:#2f372b;--mint:#242b21;--lime:#c9ef6c;--lime-ink:#1c2416;--green:#8fc79a;--green-dark:#6fae7c}}:root[data-theme=dark] .ai-card,:root[data-theme=dark] .water-panel{background:var(--mint);border-color:var(--line)}@media (prefers-color-scheme:dark){:root[data-theme=system] .ai-card,:root[data-theme=system] .water-panel{background:var(--mint);border-color:var(--line)}}@media (max-width:600px){.page-heading h1{font-size:28px}.button{min-height:44px}.mobile-nav button.active{border-radius:16px}}.profile-choice{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.profile-card{text-align:left;border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:18px;flex-direction:column;align-items:flex-start;gap:6px;min-height:118px;padding:16px;display:flex}.profile-card strong{letter-spacing:-.02em;font-family:Georgia,Times New Roman,serif;font-size:20px;font-weight:400}.profile-card small{color:var(--muted);font-size:12px;line-height:1.45}.profile-card.is-selected{background:var(--lime);border-color:var(--lime);color:var(--lime-ink)}.profile-card.is-selected small{color:#3f5230}@media (max-width:600px){.profile-choice{grid-template-columns:1fr 1fr 1fr;gap:6px}.profile-card{min-height:0;padding:12px 10px}.profile-card strong{font-size:17px}.profile-card small{font-size:11px}}.water-panel{background:var(--surface);border-color:var(--line)}.ai-mode-picker .web-toggle.selected{background:var(--mint);color:var(--ink);border-color:var(--line)}@media (max-width:600px){.mobile-nav button.active{border-radius:999px}}.secondary-nav summary,.appearance-details summary{cursor:pointer;min-height:44px;color:var(--muted);padding:12px}.secondary-nav summary:focus-visible,.appearance-details summary:focus-visible{outline:2px solid var(--green);outline-offset:2px;border-radius:8px}.appearance-details[open]>div{padding-top:16px}:root{--lime-hover:#c4ec62;--focus:#62842c}:root:is(html,[data-theme]) :is(.button,.mp-secondary,.chip,.suggestions button,.water-actions>button:not(.icon-button),.today-button,.ai-mode-picker button,.settings-tabs button){border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:999px;min-height:44px}:root:is(html,[data-theme]) :is(.button,.mp-secondary,.chip,.suggestions button,.water-actions>button:not(.icon-button),.today-button,.ai-mode-picker button,.settings-tabs button):not(:disabled):hover{background:var(--mint);border-color:var(--green)}:root:is(html,[data-theme]) :is(.button.primary,.mp-primary,.fab,.send-button,.round-add,.ai-card>button,.welcome-strip .button.primary){background:var(--lime);border-color:var(--lime);color:var(--lime-ink);box-shadow:none;border-radius:999px}:root:is(html,[data-theme]) :is(.button.primary,.mp-primary,.fab,.send-button,.round-add,.ai-card>button):not(:disabled):hover{background:var(--lime-hover);border-color:var(--lime-hover);color:var(--lime-ink)}:root:is(html,[data-theme]) :is(.nav-item.active,.mobile-nav button.active,.ai-mode-picker button.selected,.settings-tabs button.active,.settings-tabs button.selected,.nutrient-tabs button.selected,.chip.selected,.tag.selected,.week-day.selected,.mp-days button.is-selected,.mp-choice.is-selected,.mp-store.is-selected){background:var(--lime);border-color:var(--lime);color:var(--lime-ink);box-shadow:none}:root:is(html,[data-theme]) :is(.nav-item.active,.mobile-nav button.active,.settings-tabs button){border-radius:999px}:root:is(html,[data-theme]) :is(.button.danger,.button.danger:hover){color:#a12d2d;background:var(--surface);border-color:#d6a29d}:root:is(html,[data-theme]) :is(.water-panel h2,.water-number,.water-number span,.water-panel h2 svg){color:var(--ink)}:root:is(html,[data-theme]) :is(.water-panel>p,.water-panel .tag){color:var(--muted)}:root:is(html,[data-theme]) .water-panel .tag{background:var(--mint);border-color:var(--line)}.glasses button{color:var(--line)}:root:is(html,[data-theme]) :is(.panel,.modal,.gate-card,.scanner-dialog,.estimate-card,.chat-panel,.chat-input,.quick-panel,.meal-panel,.water-panel,.weight-card,.energy-panel,.food-row.card,.day-note,.empty,.first-steps){background:var(--surface);border-color:var(--line);color:var(--text)}:root:is(html,[data-theme]) :is(.ai-card,.ai-card.compact,.coach-card,.welcome-strip,.sidebar-note,.message.user,.estimate-edit[open],.setup-choice){background:var(--mint);border-color:var(--line);color:var(--text)}:root:is(html,[data-theme]) :is(.message,.search-box,.date-picker,input,select,textarea){background:var(--surface);border-color:var(--line);color:var(--text)}:root:is(html,[data-theme]) .message.user{background:var(--mint)}:root:is(html,[data-theme]) :is(button,a,input,select,textarea):focus-visible{outline:3px solid var(--focus);outline-offset:3px}:root:is(html,[data-theme]) :is(.button,.mp-primary,.mp-secondary):disabled{opacity:.45;cursor:not-allowed}:root:is(html,[data-theme]) .ai-card>button :is(b,strong){color:inherit}@media (max-width:600px){.water-actions>button:not(.icon-button){font-size:13px}.mobile-nav button{min-height:64px}}:root:is(html,[data-theme]) :is(.button.primary,.mp-primary,.mp-choice.is-selected,.mp-store.is-selected,.profile-card.is-selected) :is(b,strong,small){color:var(--lime-ink)}:root:is(html,[data-theme]) .first-steps .done .first-step-marker{background:var(--lime);color:var(--lime-ink)}:root:is(html,[data-theme]) :is(.data-note,.chat-welcome p,.muted,.welcome-strip small){color:var(--muted)}:root:is(html,[data-theme]) :is(.leaderboard .bar i,.setup-progress li.reached){background:var(--lime)}:root:is(html,[data-theme]) :is(.energy-ring>div svg,.mobile-summary svg){color:var(--ink)}:root:is(html,[data-theme]) :is(.meal-symbol,.meal-1,.meal-2,.meal-3,.meal-4,.meal-5,.ai-orb,.chat-welcome .ai-orb){background:var(--mint);color:var(--ink)}.first-steps progress::-webkit-progress-value{background:var(--lime)}.first-steps progress::-moz-progress-bar{background:var(--lime)}:root{--water-accent:#668eac}.macro{--nutrient:#82936e}.macro[data-nutrient=protein]{--nutrient:#7298b5}.macro[data-nutrient=carbs]{--nutrient:#cc995d}.macro[data-nutrient=fat]{--nutrient:#ab86af}.macro[data-nutrient=fiber]{--nutrient:#74a18a}.macro[data-nutrient=sugar]{--nutrient:#cf8588}.macro[data-nutrient=salt]{--nutrient:#939cac}.macro[data-nutrient=saturatedFat]{--nutrient:#ac8d77}.macro[data-nutrient=calcium]{--nutrient:#79a8ad}.macro[data-nutrient=phe]{--nutrient:#a8a063}.macro[data-nutrient=kcal]{--nutrient:#95b761}:root:is(html,[data-theme]) .macro .progress-track{background:color-mix(in srgb,var(--nutrient) 15%,var(--surface));border-radius:999px}:root:is(html,[data-theme]) :is(.macro>div>span>i,.macro .progress-track>i){background:var(--nutrient)}:root:is(html,[data-theme]) .water-panel{background:color-mix(in srgb,var(--water-accent) 5%,var(--surface));border-color:color-mix(in srgb,var(--water-accent) 22%,var(--line))}:root:is(html,[data-theme]) .water-panel h2 svg{color:var(--water-accent)}:root:is(html,[data-theme]) .water-actions>button:not(.icon-button){background:color-mix(in srgb,var(--water-accent) 9%,var(--surface));border-color:color-mix(in srgb,var(--water-accent) 30%,var(--line));color:var(--ink)}:root:is(html,[data-theme]) .water-actions>button:not(.icon-button):hover{background:color-mix(in srgb,var(--water-accent) 18%,var(--surface))}.glasses button.filled svg{fill:color-mix(in srgb,var(--water-accent) 30%,var(--surface));stroke:var(--water-accent)}
