:root{--ink:#17342b;--muted:#687c74;--green:#285f4b;--green-2:#4c8a70;--mint:#e8f3ed;--cream:#f7f4ec;--paper:#fffefb;--line:#dce7e0;--coral:#eb765e;--coral-soft:#fff0eb}*{box-sizing:border-box}html{background:var(--cream)}body{background:radial-gradient(circle at 8% 0%,#e9f4ed 0,transparent 35rem),var(--cream);min-height:100vh;color:var(--ink);margin:0;font-family:Arial,Helvetica,sans-serif}button,input,textarea{font:inherit}.app-shell{min-height:100vh;padding:20px}.app-frame{width:min(960px,100%);margin:auto}.app-header{justify-content:space-between;align-items:center;height:64px;display:flex}.brand{color:var(--ink);align-items:center;gap:11px;text-decoration:none;display:flex}.brand>span{background:var(--green);color:#fff;border-radius:13px;place-items:center;width:38px;height:38px;font:700 1.35rem Georgia,serif;display:grid}.brand div{display:grid}.brand strong{font-size:.95rem}.brand small{color:var(--muted);margin-top:2px;font-size:.66rem}.language-menu{position:relative}.language-menu summary{cursor:pointer;background:#fffefbcc;border:1px solid #b9ccc1;border-radius:11px;align-items:center;gap:6px;padding:9px 13px;font-size:.78rem;font-weight:800;list-style:none;display:flex}.language-menu summary::-webkit-details-marker{display:none}.language-menu>div{z-index:10;background:var(--paper);border:1px solid var(--line);border-radius:14px;gap:7px;width:220px;padding:15px;display:grid;position:absolute;top:46px;right:0;box-shadow:0 15px 40px #19372b1f}.language-menu span,.language-menu small{color:var(--muted);font-size:.73rem}.main-nav{background:#e4ebe6;border-radius:999px;width:max-content;margin:14px auto 27px;padding:4px;display:flex}.main-nav button{min-width:100px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:999px;padding:9px 18px;font-weight:800}.main-nav button.active{background:var(--paper);color:var(--ink);box-shadow:0 3px 12px #1c392e14}.hero-card{background:linear-gradient(140deg,#e6f2eb,#f8eddb);border:1px solid #d5e4da;border-radius:32px;justify-content:space-between;align-items:center;gap:34px;min-height:275px;padding:42px;display:flex;position:relative;overflow:hidden}.hero-card:after{content:"";border:45px solid #ffffff57;border-radius:50%;width:290px;height:290px;position:absolute;top:-130px;right:-100px}.eyebrow{color:var(--green-2);letter-spacing:.13em;align-items:center;gap:6px;margin:0;font-size:.68rem;font-weight:900;display:flex}.hero-card h1,.journey-top h1{letter-spacing:-.05em;margin:12px 0 13px;font:500 clamp(2.6rem,7vw,4.5rem)/.98 Georgia,serif}.hero-card p:not(.eyebrow),.journey-top p:not(.eyebrow){color:#587067;max-width:570px;margin:0;line-height:1.55}.hero-visual{z-index:1;height:170px;color:var(--green);background:#fffefbd1;border-radius:50%;flex-direction:column;flex:0 0 170px;justify-content:center;align-items:center;gap:12px;display:flex;position:relative;box-shadow:0 18px 50px #26524017}.hero-visual span{font-size:.72rem;font-weight:800}.start-grid{grid-template-columns:repeat(2,1fr);gap:15px;margin-top:15px;display:grid}.start-grid>a{background:var(--paper);border:1px solid var(--line);min-height:180px;color:var(--ink);border-radius:25px;grid-template-columns:auto 1fr auto;align-items:center;gap:18px;padding:25px;text-decoration:none;transition:all .18s;display:grid;box-shadow:0 9px 30px #1f3d310a}.start-grid>a:hover{border-color:#a9c2b4;transform:translateY(-2px);box-shadow:0 15px 36px #1f3d3114}.start-icon{border-radius:17px;place-items:center;width:54px;height:54px;display:grid}.start-icon.coral{background:var(--coral-soft);color:#b84d38}.start-icon.green{background:var(--mint);color:var(--green)}.start-grid small{color:var(--green-2);letter-spacing:.1em;font-size:.62rem;font-weight:900}.start-grid h2{margin:7px 0;font:500 1.38rem Georgia,serif}.start-grid p{color:var(--muted);margin:0;font-size:.8rem;line-height:1.5}.start-grid b{color:var(--green);font-size:1.5rem}.feature-strip{border:1px solid var(--line);background:#fffefbb3;border-radius:24px;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:15px;padding:20px;display:grid}.feature-strip article{align-items:flex-start;gap:12px;padding:11px;display:flex}.feature-strip svg{color:var(--green-2);flex:none}.feature-strip strong{font-size:.8rem}.feature-strip p{color:var(--muted);margin:5px 0 0;font-size:.72rem;line-height:1.42}footer{color:#7b8a84;justify-content:space-between;padding:24px 4px;font-size:.68rem;display:flex}.empty-history{text-align:center;background:var(--paper);border:1px solid var(--line);border-radius:28px;flex-direction:column;justify-content:center;align-items:center;min-height:360px;padding:40px;display:flex}.empty-history svg{color:var(--green-2)}.empty-history h2{margin:15px 0 7px;font:500 1.5rem Georgia,serif}.empty-history p{color:var(--muted);margin:0}.history-grid{gap:9px;display:grid}.history-grid article{background:var(--paper);border:1px solid var(--line);border-radius:18px;justify-content:space-between;align-items:center;gap:18px;padding:19px 22px;display:flex}.history-grid article>div:first-child{gap:4px;display:grid}.history-grid small{color:var(--muted);font-size:.69rem}.history-numbers{flex-wrap:wrap;justify-content:flex-end;gap:7px;display:flex}.history-numbers span{background:var(--mint);color:var(--green);border-radius:999px;padding:6px 9px;font-size:.68rem;font-weight:800}.error-banner{color:#963e31;background:#fff0ed;border:1px solid #f0cbc3;border-radius:13px;padding:13px 16px;font-size:.82rem}.spin{animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}@media (max-width:720px){.app-shell{padding:12px}.hero-card{min-height:0;padding:27px;display:block}.hero-visual{border-radius:18px;flex-direction:row;width:100%;height:78px;margin-top:22px}.hero-visual svg{width:35px}.hero-card h1{font-size:2.7rem}.start-grid,.feature-strip{grid-template-columns:1fr}.start-grid>a{min-height:135px;padding:19px}.feature-strip article{padding:8px}.history-grid article{align-items:flex-start;display:grid}.history-numbers{justify-content:flex-start}footer{gap:15px}}
.journey-top{grid-template-columns:90px 1fr;align-items:start;gap:12px;margin:24px 0 21px;display:grid}.journey-top>a{color:var(--green);align-items:center;gap:6px;margin-top:8px;font-size:.75rem;font-weight:800;text-decoration:none;display:flex}.journey-top>a svg{width:17px}.journey-top h1{font-size:clamp(2.2rem,6vw,3.5rem)}.analysis-form{background:var(--paper);border:1px solid var(--line);border-radius:27px;gap:18px;padding:20px;display:grid;box-shadow:0 12px 40px #1f3d310b}.analysis-form.photo{grid-template-columns:320px 1fr}.photo-capture-column{align-content:start;gap:10px;min-width:0;display:grid}.photo-drop{min-height:305px;color:var(--muted);cursor:pointer;background:#f5f8f5;border:1.5px dashed #adc4b7;border-radius:20px;flex-direction:column;justify-content:center;align-items:center;gap:9px;display:flex;position:relative;overflow:hidden}.photo-drop input{opacity:0;width:1px;height:1px;position:absolute}.photo-drop>span:not(.photo-add-hint){background:var(--mint);width:56px;height:56px;color:var(--green);border-radius:18px;place-items:center;display:grid}.photo-drop strong{color:var(--ink);font-size:.9rem}.photo-drop small{font-size:.7rem}.photo-drop img{object-fit:contain;background:#fff}.photo-drop.has-images{justify-content:stretch;padding:10px}.photo-drop.is-full{cursor:default}.photo-preview-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:minmax(112px,1fr);gap:8px;width:100%;min-height:245px;display:grid}.photo-preview-grid.count-1{grid-template-columns:1fr}.photo-preview-grid.count-3 .photo-preview-item:first-child{grid-row:span 2}.photo-preview-item{border:1px solid var(--line);background:#fff;border-radius:13px;min-width:0;min-height:112px;position:relative;overflow:hidden}.photo-preview-item img{object-fit:cover}.photo-drop>.photo-add-hint{z-index:1;color:#fff;white-space:nowrap;overflow-wrap:normal;word-break:keep-all;background:#153127d1;border-radius:999px;align-items:center;gap:6px;width:auto;min-width:0;max-width:none;height:auto;padding:8px 11px;font-size:.72rem;font-weight:800;line-height:1;display:inline-flex;position:absolute;bottom:12px;right:12px;overflow:visible}.photo-drop>.photo-add-hint>span{width:auto;height:auto;color:inherit;white-space:nowrap;background:0 0;display:inline}.photo-selection-list{flex-wrap:wrap;gap:7px;display:flex}.photo-selection-list button{border:1px solid var(--line);min-height:36px;color:var(--muted);font:inherit;cursor:pointer;background:#fff;border-radius:999px;align-items:center;gap:6px;padding:0 11px;font-size:.72rem;font-weight:750;display:inline-flex}.photo-selection-list small{color:var(--muted);flex-basis:100%;font-size:.68rem;line-height:1.35}.photo-preparing{z-index:2;color:var(--green);background:#ffffffd6;justify-content:center;align-items:center;gap:8px;font-size:.78rem;font-weight:900;display:flex;position:absolute;inset:0}.photo-preparing svg{width:18px}.photo-first-next{align-content:center}.photo-first-next p{color:var(--muted);margin:0;line-height:1.55}.portion-camera-panel{gap:8px;display:grid}.portion-camera-panel p,.portion-camera-button{color:#496159;background:#f5f8f5;border:1px solid #cbd9d1;border-radius:12px;align-items:center;gap:8px;width:100%;min-height:42px;margin:0;padding:10px 12px;font-size:.85rem;line-height:1.45;display:flex}.portion-camera-switch{color:var(--ink,#1f2d27);background:#fff;border:1px solid #cbd9d1;border-radius:14px;align-items:center;gap:10px;padding:10px 12px;font-size:.9rem;font-weight:750;display:flex}.portion-camera-switch span:first-of-type{flex:auto}.portion-camera-switch svg{color:var(--green)}.portion-camera-panel svg{flex:none}.portion-camera-button{background:var(--green);color:#fff;cursor:pointer;border:0;border-radius:999px;justify-content:center;min-height:48px;font-size:.95rem;font-weight:800}.portion-camera-button:disabled{cursor:wait;opacity:.7}.portion-camera-panel .portion-measurement-result{background:var(--mint);color:var(--green);border-color:#a9c6b7;font-weight:800}.portion-live-camera{z-index:1000;color:#fff;isolation:isolate;background:0 0;grid-template-rows:auto 1fr auto;min-height:100dvh;display:grid;position:fixed;inset:0;overflow:hidden}html.portion-camera-active,body.portion-camera-active{background:0 0!important}body.portion-camera-active .app-frame{visibility:hidden}body.portion-camera-active .portion-live-camera{visibility:visible}.portion-live-camera-shade{z-index:-1;pointer-events:none;background:linear-gradient(#07130f94 0%,#07130f0a 28%,#07130f14 62%,#07130fb8 100%);position:absolute;inset:0}.portion-live-header{padding:max(18px, env(safe-area-inset-top)) 18px 12px;grid-template-columns:44px 1fr 44px;align-items:center;gap:12px;display:grid}.portion-live-header button{color:#fff;background:#07130f94;border:1px solid #ffffff42;border-radius:14px;place-items:center;width:42px;height:42px;display:grid}.portion-live-header div{text-align:center;gap:2px;display:grid}.portion-live-header strong{letter-spacing:-.01em;font-size:.92rem}.portion-live-header span{color:#ffffffc2;font-size:.68rem}.portion-live-status{background:#07130f94;border-radius:14px;place-items:center;width:42px;height:42px;font-weight:900;display:grid}.portion-live-status.stable{color:#fff;background:#17754de6}.portion-live-stage{min-height:0;position:relative}.portion-live-outline{width:100%;height:100%;position:absolute;inset:0;overflow:visible}.portion-live-outline polygon{fill:#48e5a01c;stroke:#48e5a0;stroke-width:3px;stroke-linejoin:round;filter:drop-shadow(0 0 7px #48e5a094)}.portion-live-measurements{pointer-events:none;position:absolute;inset:0}.portion-live-measurements span{color:#d9ffee;white-space:nowrap;background:#072018d1;border:1px solid #48e5a080;border-radius:10px;padding:7px 10px;font-size:.7rem;font-weight:900;position:absolute;box-shadow:0 5px 20px #00000038}.portion-measure-width{transform:translate(-50%)}.portion-live-finding{color:#ffffffd1;align-items:center;gap:8px;font-size:.76rem;font-weight:800;display:flex;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.portion-live-controls{width:100%;padding:18px 18px max(22px, env(safe-area-inset-bottom));justify-content:center;align-self:stretch;justify-items:center;gap:12px;display:grid}.portion-live-confidence{text-align:center;gap:2px;display:grid}.portion-live-confidence strong{font-size:.78rem}.portion-live-confidence span{color:#ffffffb8;font-size:.66rem}.portion-live-error{color:#ffd9d5;text-align:center;margin:0;font-size:.7rem}.portion-live-shutter{color:#0a2b20;background:#48e5a0;border:5px solid #ffffffe0;border-radius:24px;place-items:center;width:70px;height:70px;display:grid;box-shadow:0 8px 28px #00000052}.portion-live-shutter:disabled{color:#ffffff80;background:#fff3}.portion-live-shutter svg{width:25px;height:25px}@media (prefers-reduced-motion:reduce){.portion-live-camera .spin{animation:none}}.analysis-fields{gap:14px;display:grid}.analysis-fields label{gap:7px;display:grid}.analysis-fields label>span{color:#496159;font-size:.72rem;font-weight:900}.analysis-fields textarea,.analysis-fields input{width:100%;color:var(--ink);resize:vertical;background:#fff;border:1px solid #cbd9d1;border-radius:13px;outline:none;padding:13px 14px}.analysis-fields textarea:focus,.analysis-fields input:focus{border-color:#78a28d;box-shadow:0 0 0 3px #e8f2ed}.analyse-button,.save-button{background:var(--green);color:#fff;cursor:pointer;border:0;border-radius:13px;justify-content:center;align-items:center;gap:8px;min-height:47px;padding:11px 17px;font-weight:900;display:flex}.confirmation-panel{border-top:1px solid var(--line);gap:12px;padding-top:16px;display:grid}.confirmation-heading div{gap:3px;display:grid}.confirmation-heading strong{font-size:.86rem}.confirmation-heading span{color:var(--muted);font-size:.7rem}.dish-name-field{color:var(--muted);gap:5px;font-size:.68rem;display:grid}.dish-name-field input{width:100%;color:var(--ink);background:#fff;border:1px solid #cbd9d1;border-radius:10px;padding:10px 11px}.dish-name-field small{font-size:.66rem;line-height:1.45}.portion-buttons{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.portion-buttons button{min-height:40px;color:var(--green);white-space:nowrap;cursor:pointer;background:#fff;border:1px solid #bfd1c7;border-radius:12px;padding:8px 6px;font-size:.82rem;font-weight:800}.portion-buttons button.active{background:var(--mint);border-color:var(--green-2);box-shadow:inset 0 0 0 1px var(--green-2)}.confirmation-details summary{color:var(--green);cursor:pointer;font-size:.72rem;font-weight:800}.confirmation-details>div{gap:9px;margin-top:10px;display:grid}.confirmation-details label{color:var(--muted);gap:5px;font-size:.68rem;display:grid}.confirmation-details input,.confirmation-details textarea{resize:vertical;border:1px solid #cbd9d1;border-radius:10px;width:100%;padding:10px 11px}.confirmation-details small{color:var(--muted);font-size:.66rem;line-height:1.45}.analyse-button:disabled{opacity:.42;cursor:not-allowed}.save-button:disabled{opacity:.58;cursor:wait}.analyse-button svg,.save-button svg{width:18px}.results-stack{gap:13px;margin-top:17px;display:grid}.result-card,.evidence-card,.food-chat{background:var(--paper);border:1px solid var(--line);border-radius:23px;padding:24px;box-shadow:0 8px 28px #1f3d3109}.primary-result{background:linear-gradient(145deg,#fffefb,#f4f8f5)}.result-disclosure>summary{min-height:44px;color:var(--ink);cursor:pointer;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:10px;list-style:none;display:grid}.result-disclosure>summary::-webkit-details-marker{display:none}.result-disclosure>summary span{font-weight:800}.result-disclosure>summary small{color:var(--muted);font-size:.68rem}.result-disclosure>summary svg{width:18px;color:var(--green-2);transition:transform .16s}.result-disclosure[open]>summary svg{transform:rotate(180deg)}.result-disclosure .component-list,.result-disclosure .disclosure-copy{margin-top:16px}.result-disclosure .disclosure-copy{color:var(--muted);font-size:.78rem;line-height:1.55}.result-disclosure .disclosure-copy ul{margin:0;padding-left:18px}.result-title{justify-content:space-between;gap:20px;display:flex}.result-title h2{margin:8px 0 6px;font:500 1.7rem Georgia,serif}.result-title p:not(.eyebrow){color:var(--muted);margin:0;font-size:.8rem;line-height:1.5}.estimate-status{max-width:180px;color:var(--muted);text-align:right;font-size:.65rem;line-height:1.4}.nutrient-grid{grid-template-columns:repeat(6,1fr);gap:8px;margin:22px 0 18px;display:grid}.nutrient-grid>div{text-align:center;background:#f0f5f2;border-radius:13px;gap:4px;padding:13px 9px;display:grid}.nutrient-grid small{color:var(--muted);font-size:.63rem}.nutrient-grid strong{font:500 1.13rem Georgia,serif}.nutrient-grid span{color:var(--muted);font-size:.6rem}.save-button{width:max-content;color:var(--green);background:#e2efe8;min-height:39px;font-size:.75rem}.section-heading{justify-content:space-between;align-items:flex-start;gap:18px;display:flex}.section-heading h3,.two-column h3{margin:0;font:500 1.15rem Georgia,serif}.section-heading>span{background:var(--mint);color:var(--green);border-radius:999px;padding:5px 8px;font-size:.64rem;font-weight:800}.section-heading p{color:var(--muted);margin:5px 0 0;font-size:.72rem}.component-list{margin-top:14px;display:grid}.component-list article{border-top:1px solid #e9efeb;grid-template-columns:1fr 1.2fr;gap:8px 16px;padding:14px 2px;display:grid}.component-list article>div{gap:3px;display:grid}.component-list article>div:nth-child(2){flex-wrap:wrap;align-items:flex-start;gap:6px;display:flex}.component-list small,.component-list p{color:var(--muted);font-size:.68rem}.component-list p{grid-column:1/-1;margin:0}.component-list article>div:nth-child(2) span{color:#50665d;background:#f1f4f2;border-radius:8px;padding:5px 7px;font-size:.64rem}.activity-card{padding:0;overflow:hidden}.activity-card>summary{color:var(--green);cursor:pointer;padding:20px 24px;font-size:.8rem;font-weight:900;list-style-position:inside}.activity-card[open]>summary{border-bottom:1px solid var(--line)}.activity-content{padding:24px}.activity-card .section-heading label{color:var(--muted);white-space:nowrap;font-size:.67rem}.activity-card input{border:1px solid #cbd9d1;border-radius:9px;width:60px;padding:7px}.activity-grid{grid-template-columns:repeat(3,1fr);gap:9px;margin:17px 0 12px;display:grid}.activity-grid article{color:var(--ink);background:#f0f5f2;border-radius:14px;grid-template-columns:auto 1fr;align-items:center;gap:3px 10px;padding:15px;display:grid}.activity-grid svg{color:var(--green);grid-row:1/3}.activity-grid span{font-size:.66rem}.method-note{color:var(--muted);font-size:.64rem}.activity-disclaimer{color:var(--muted);margin:12px 0 0;font-size:.62rem;line-height:1.55}.activity-method-note{color:var(--muted);margin-top:10px;font-size:.68rem}.activity-method-note summary{width:max-content;color:var(--green);cursor:pointer;align-items:center;gap:5px;font-weight:800;display:flex}.activity-method-note p{margin:8px 0 0;line-height:1.5}.activity-explanation{color:var(--muted);margin:0;font-size:.92rem;line-height:1.45}.two-column{grid-template-columns:repeat(2,1fr);gap:28px;display:grid}.two-column.single-column{grid-template-columns:1fr}.two-column ul,.evidence-card ul{color:var(--muted);margin:12px 0 0;padding-left:18px;font-size:.75rem;line-height:1.55}.evidence-card summary{color:var(--green);cursor:pointer;font-size:.75rem;font-weight:900}.source-links,.chat-sources{flex-wrap:wrap;gap:7px;margin-top:12px;display:flex}.source-links a,.chat-sources a{background:var(--mint);color:var(--green);border-radius:8px;padding:6px 8px;font-size:.64rem;text-decoration:none}.saved-toast{z-index:20;color:#fff;background:#183e30;border-radius:13px;align-items:center;gap:8px;padding:12px 16px;font-size:.76rem;font-weight:800;display:flex;position:fixed;bottom:22px;right:22px;box-shadow:0 12px 35px #16352a33}.saved-toast svg{width:17px}.food-chat{margin-top:18px}.component-builder{border:1px solid var(--line);background:#f7faf7;border-radius:20px;gap:12px;margin-bottom:18px;padding:20px;display:grid}.component-builder h2{margin:2px 0 5px;font:500 1.25rem Georgia,serif}.component-builder p{color:var(--muted);margin:0;font-size:.72rem;line-height:1.5}.component-search{grid-template-columns:1fr auto;gap:8px;display:grid}.component-search input{min-width:0;color:var(--ink);background:#fff;border:1px solid #c6d6ce;border-radius:10px;padding:10px 12px}.component-search button,.component-results button,.use-components-button{background:var(--green);color:#fff;cursor:pointer;border:0;border-radius:10px;font-weight:800}.component-search button{padding:0 13px}.component-results,.selected-components{border-top:1px solid #dfe9e3;display:grid}.component-results article,.selected-components article{border-bottom:1px solid #dfe9e3;justify-content:space-between;align-items:center;gap:12px;padding:10px 0;display:flex}.component-results strong,.selected-components strong{font-size:.74rem;display:block}.component-results small,.selected-components small{color:var(--muted);font-size:.64rem}.component-results button{padding:7px 10px;font-size:.68rem}.component-count{align-items:center;gap:8px;display:flex}.component-count button{width:28px;height:28px;color:var(--green);cursor:pointer;background:#fff;border:1px solid #b9d0c2;border-radius:8px;font-size:1rem}.component-count span{text-align:center;min-width:12px;font-size:.72rem;font-weight:800}.use-components-button{min-height:40px;margin-top:12px;padding:10px 14px}.component-empty{padding-top:2px}.chat-label{color:var(--green);border-bottom:1px solid #e7ede9;align-items:center;gap:10px;padding-bottom:14px;display:flex}.chat-label div{gap:3px;display:grid}.chat-label small{color:var(--muted);font-size:.65rem}.chat-stream{flex-direction:column;gap:10px;min-height:240px;max-height:560px;padding:18px 0;display:flex;overflow:auto}.chat-bubble{white-space:pre-wrap;border-radius:16px;max-width:82%;padding:12px 14px;font-size:.79rem;line-height:1.52}.chat-bubble p{margin:0}.chat-bubble.assistant{background:var(--mint);border-bottom-left-radius:4px;align-self:flex-start}.chat-bubble.user{background:var(--green);color:#fff;border-bottom-right-radius:4px;align-self:flex-end}.chat-bubble.thinking{color:var(--muted);align-items:center;gap:8px;display:flex}.chat-form{border:1px solid #c6d6ce;border-radius:16px;grid-template-columns:1fr auto;gap:8px;padding:7px;display:grid}.chat-form:focus-within{border-color:#78a28d;box-shadow:0 0 0 3px #e8f2ed}.chat-form textarea{resize:none;color:var(--ink);border:0;outline:0;padding:7px}.chat-form button{background:var(--green);color:#fff;cursor:pointer;border:0;border-radius:12px;align-self:end;width:43px;height:43px}.chat-form button:disabled{opacity:.4}@media (max-width:760px){.journey-top{grid-template-columns:1fr}.journey-top>a{width:max-content}.analysis-form.photo{grid-template-columns:1fr}.photo-drop{min-height:260px}.nutrient-grid{grid-template-columns:repeat(3,1fr)}.result-title,.section-heading{display:grid}.estimate-status{text-align:left;max-width:none}.component-list article{grid-template-columns:1fr}.two-column{grid-template-columns:1fr;gap:20px}.activity-grid{grid-template-columns:1fr}.chat-bubble{max-width:94%}.component-search{grid-template-columns:1fr}.component-search button{min-height:38px}}
.hero-visual>div{text-align:center;gap:5px;display:grid}.hero-visual strong{font-size:.72rem}.hero-visual small{max-width:125px;color:var(--muted);font-size:.56rem;line-height:1.35}.feature-heading{letter-spacing:.1em;grid-column:1/-1;font-weight:900;color:var(--green-2)!important;margin:0 11px 2px!important;font-size:.62rem!important}.feature-strip article p{color:var(--muted);margin:5px 0 0;font-size:.72rem;line-height:1.42}.combined-guide{width:100%;min-width:0;max-width:100%;margin-top:0;overflow:hidden}.combined-guide .chat-label{padding-right:120px;position:relative}.combined-guide .chat-stream{overscroll-behavior:contain;width:100%;min-width:0;max-width:100%;min-height:190px}.combined-guide .chat-bubble{overflow-wrap:anywhere;min-width:0}.combined-guide .chat-bubble:has(.chat-comparison-table){width:100%;max-width:100%}.combined-guide .chat-form{grid-template-columns:minmax(0,1fr) auto;width:100%;min-width:0;max-width:100%}.combined-guide .chat-form textarea{min-width:0;max-width:100%}.new-estimate-button{border:1px solid var(--line);background:var(--paper);color:var(--green);cursor:pointer;border-radius:10px;padding:7px 10px;font-size:.68rem;font-weight:800;position:absolute;top:0;right:0}.guide-examples{gap:8px;margin:0 12px 18px;display:grid}.guide-examples small{color:var(--muted);letter-spacing:.04em;text-transform:uppercase;font-size:.68rem;font-weight:800}.guide-examples button{border:1px solid var(--line);background:var(--paper);width:fit-content;max-width:100%;color:var(--green);font:inherit;text-align:left;cursor:pointer;border-radius:999px;padding:9px 12px;font-size:.74rem;line-height:1.35}.guide-examples button:hover{border-color:var(--mint-dark);background:var(--mint)}.weather-context-note{color:var(--muted);font-size:.72rem;line-height:1.4}.history-disclosure{color:var(--muted);margin:0 12px 12px;font-size:.68rem;line-height:1.4}.app-header{height:76px}.brand{align-items:center;gap:11px;min-width:0;display:flex}.brand .brand-mark{border-radius:14px;flex:none;width:48px;height:48px;display:block}.brand .brand-copy{place-items:initial;width:auto;min-width:0;height:auto;color:var(--ink);font:inherit;background:0 0;border-radius:0;display:grid}.brand-copy strong{font-size:1rem;line-height:1.15}.brand-copy small{color:var(--muted);white-space:nowrap;margin-top:3px;font-size:.7rem;line-height:1.15}.header-actions{align-items:center;gap:8px;display:flex}.account-link{min-height:36px;color:var(--green);background:#fffefbcc;border:1px solid #b9ccc1;border-radius:11px;align-items:center;gap:6px;padding:8px 11px;font-size:.72rem;font-weight:800;text-decoration:none;display:inline-flex}.chat-nutrition-card{background:var(--paper);border:1px solid #cfe0d7;border-radius:15px;margin-top:10px;padding:14px}.chat-nutrition-card>strong{color:var(--ink);margin-bottom:10px;font:600 1rem Georgia,serif;display:block}.chat-nutrition-card>div{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;display:grid}.chat-nutrition-card span{background:#f1f6f2;border-radius:10px;gap:3px;min-width:0;padding:9px;display:grid}.chat-nutrition-card small{color:var(--muted);font-size:.61rem}.chat-nutrition-card b{overflow-wrap:anywhere;color:var(--ink);font-size:.78rem}.chat-comparison-table{background:var(--paper);-webkit-overflow-scrolling:touch;border:1px solid #cfe0d7;border-radius:14px;width:100%;max-width:100%;margin-top:10px;overflow-x:auto}.chat-comparison-table table{table-layout:auto;border-collapse:collapse;width:max-content;min-width:100%;color:var(--ink);font-size:.76rem}.chat-comparison-table th,.chat-comparison-table td{text-align:left;vertical-align:top;overflow-wrap:normal;word-break:normal;border-bottom:1px solid #dce8e1;border-right:1px solid #dce8e1;min-width:132px;max-width:176px;padding:10px 12px}.estimate-basis-note{color:var(--green);align-items:center;gap:7px;margin:0 0 12px;font-size:.72rem;line-height:1.4;display:flex}.estimate-basis-note svg{flex:none}.label-correction-grid{grid-template-columns:minmax(130px,1fr) minmax(76px,.55fr) minmax(76px,.55fr);align-items:center;gap:7px;display:grid}.label-correction-grid>span{color:var(--muted);font-size:.65rem;font-weight:800}.label-correction-row{display:contents}.label-correction-row label span{font-size:.7rem}.label-correction-row input{border:1px solid var(--line);background:var(--paper);width:100%;min-width:0;color:var(--ink);border-radius:9px;padding:9px}.field-error{color:#963e31}.chat-comparison-table tr>:first-child{width:112px;min-width:112px;max-width:112px}.chat-comparison-table thead th{color:var(--green);background:#eaf3ed;font-weight:800}.chat-comparison-table tbody th{z-index:1;background:#f7faf8;font-weight:750;position:sticky;left:0;box-shadow:5px 0 10px #1f3d310d}.chat-comparison-table thead th:first-child{z-index:3;position:sticky;left:0;box-shadow:5px 0 10px #1f3d310d}.chat-comparison-table tbody td{white-space:nowrap}.chat-comparison-table tr:last-child>*{border-bottom:0}.chat-comparison-table tr>:last-child{border-right:0}.account-card{border:1px solid var(--line);background:var(--paper);border-radius:24px;max-width:650px;margin:0 auto;padding:28px;box-shadow:0 12px 35px #1f3d310d}.account-card form,.account-card label,.account-confirmed{gap:10px;display:grid}.account-card label span,.account-card form>small{color:var(--muted);font-size:.72rem}.account-card input,.account-card select{width:100%;color:var(--ink);background:#fff;border:1px solid #c6d6ce;border-radius:11px;padding:12px 14px}.account-demographics{border:1px solid var(--line);border-radius:13px;margin:0;padding:13px}.account-demographics legend{color:var(--ink);padding:0 5px;font-size:.75rem;font-weight:800}.account-demographics>p{color:var(--muted);margin:0 0 11px;font-size:.67rem;line-height:1.45}.account-demographics>div{grid-template-columns:.8fr 1.2fr;gap:9px;display:grid}.account-card .account-terms-check{border:1px solid var(--line);background:#f4f7f5;border-radius:11px;grid-template-columns:auto 1fr;align-items:start;gap:9px;padding:11px 12px}.account-card .account-terms-check input{width:17px;height:17px;accent-color:var(--green);margin:0}.account-card .account-terms-check span{color:var(--ink);line-height:1.45}.account-terms-check a{color:var(--green);font-weight:800}.account-card .account-email-check{background:var(--mint);color:var(--ink);overflow-wrap:anywhere;border-radius:11px;margin:0;padding:10px 12px;font-size:.78rem;line-height:1.45}.account-primary,.account-secondary{background:var(--green);color:#fff;text-align:center;overflow-wrap:anywhere;cursor:pointer;border:0;border-radius:11px;justify-content:center;align-items:center;gap:7px;min-height:44px;padding:10px 15px;font-weight:800;display:inline-flex}.account-secondary{border:1px solid var(--line);background:var(--paper);color:var(--green);margin-top:15px}.account-confirmed{grid-template-columns:auto 1fr;align-items:center}.account-confirmed svg{color:var(--green-2)}.account-confirmed div{gap:3px;display:grid}.account-confirmed span,.account-card>p,.account-message,.account-loading{color:var(--muted);font-size:.8rem}.account-loading{align-items:center;gap:8px;display:flex}.account-code-heading{color:var(--green);align-items:center;gap:10px;margin-bottom:4px;display:flex}.account-code-heading div{gap:3px;display:grid}.account-code-heading span{color:var(--muted);overflow-wrap:anywhere;font-size:.75rem}.account-card .account-code-input{letter-spacing:.28em;text-align:center;font-size:1.35rem;font-weight:800}.account-code-actions{justify-content:space-between;gap:12px;display:flex}.account-code-actions button{color:var(--green);cursor:pointer;background:0 0;border:0;align-items:center;gap:5px;padding:4px 0;font-size:.73rem;font-weight:800;display:inline-flex}.account-code-actions button:disabled{cursor:wait;opacity:.55}.footer-links{align-items:center;gap:14px;display:flex}.footer-links a{color:var(--green);font-weight:800;text-decoration:none}.legal-page{border:1px solid var(--line);background:var(--paper);border-radius:24px;margin:24px auto 0;padding:32px;box-shadow:0 12px 35px #1f3d310d}.legal-page header{border-bottom:1px solid var(--line);padding-bottom:20px}.legal-page h1{letter-spacing:-.04em;margin:8px 0;font:500 clamp(2.2rem,6vw,3.7rem)/1 Georgia,serif}.legal-page header p,.legal-page section p,.legal-page li{color:var(--muted);font-size:.84rem;line-height:1.65}.legal-page section{margin-top:22px}.legal-page h2{margin:0 0 8px;font:500 1.3rem Georgia,serif}.legal-page p,.legal-page ul{margin:8px 0 0}.legal-page a{color:var(--green);font-weight:800}.legal-page .legal-contact-email{border:1px solid var(--line);background:var(--mint);white-space:nowrap;border-radius:12px;max-width:100%;padding:9px 12px;font-size:clamp(.78rem,3.5vw,.95rem);line-height:1.2;display:inline-flex}.footer-links a:hover{text-decoration:underline}.app-shell{padding-bottom:calc(126px + env(safe-area-inset-bottom))}.analysis-form,.result-card{scroll-margin-bottom:calc(110px + env(safe-area-inset-bottom))}.main-nav{display:none}.about-grid{gap:12px;display:grid}.more-page>header{margin:34px 0 20px}.more-page>header h1{margin:9px 0 8px;font:500 clamp(2rem,6vw,3.2rem)/1 Georgia,serif}.more-page>header>p:last-child{color:var(--muted);margin:0}.more-list{border:1px solid var(--line);background:var(--paper);border-radius:20px;overflow:hidden}.more-list>a{border-bottom:1px solid var(--line);min-height:82px;color:var(--ink);grid-template-columns:auto 1fr auto;align-items:center;gap:14px;padding:14px 18px;text-decoration:none;display:grid}.more-list>a:last-child{border-bottom:0}.more-list>a:hover{background:#f7faf8}.more-list>a>span{background:var(--mint);width:44px;height:44px;color:var(--green);border-radius:14px;place-items:center;display:grid}.more-list strong{font-size:.86rem}.more-list p{color:var(--muted);margin:4px 0 0;font-size:.72rem;line-height:1.4}.more-list b{color:var(--green);font-size:1.35rem;font-weight:400}.about-card{border:1px solid var(--line);background:var(--paper);border-radius:22px;grid-template-columns:auto 1fr;align-items:start;gap:16px;padding:24px;display:grid}.about-card>svg{color:var(--green-2)}.about-card h2{margin:0 0 7px;font:500 1.15rem Georgia,serif}.about-card p{color:var(--muted);margin:0;font-size:.78rem;line-height:1.6}.about-card p+p{margin-top:10px}.about-card a{color:var(--green);font-weight:800}.source-notice{background:linear-gradient(145deg,#fffefb,#f2f7f3)}.log-meal-button{border:1px solid var(--line);background:var(--paper);min-height:36px;color:var(--green);cursor:pointer;background:var(--mint);border-radius:9px;justify-content:center;align-items:center;gap:6px;margin:0 0 14px auto;padding:8px 11px;font-size:.68rem;font-weight:800;display:inline-flex}@media (max-width:720px){.app-shell{padding:max(12px, env(safe-area-inset-top)) 12px calc(126px + env(safe-area-inset-bottom))}.app-header{height:68px}.hero-card{border-radius:24px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px;min-height:0;padding:20px;display:grid}.hero-copy{display:contents}.hero-copy .eyebrow{grid-column:1/-1}.hero-card h1{letter-spacing:-.045em;white-space:nowrap;grid-column:1/-1;margin:0;font-size:clamp(1.52rem,7vw,2rem);line-height:1.02}.hero-card p:not(.eyebrow){grid-column:1;margin:0;font-size:.79rem;line-height:1.45}.hero-visual{border-radius:19px;flex-direction:column;flex:0 0 104px;gap:8px;width:104px;height:96px;margin:0}.hero-visual svg{width:31px;height:31px}.hero-visual>div{gap:3px}.hero-visual strong{font-size:.64rem}.hero-visual small{max-width:86px;font-size:.49rem;line-height:1.3}.start-grid{gap:12px;margin-top:12px}.start-grid>a{gap:14px;min-height:124px;padding:17px}.feature-strip{margin-top:12px;padding:17px}footer{padding:20px 8px calc(14px + env(safe-area-inset-bottom));text-align:center;justify-items:center;gap:8px;line-height:1.45;display:grid}.footer-links{flex-wrap:wrap;justify-content:center;gap:7px 12px}.footer-links a{white-space:nowrap}.account-link{display:none}.more-page>header{margin-top:18px}.more-list>a{min-height:76px;padding:12px 14px}}@media (max-width:390px){.hero-card{gap:12px}.hero-visual{width:92px;height:92px}}.log-meal-button:disabled{opacity:.55;cursor:wait}.history-grid article{grid-template-columns:minmax(150px,.65fr) minmax(320px,1.35fr);display:grid}.history-view,.history-days,.history-meals,.profile-grid{gap:12px;display:grid}.history-toolbar{justify-content:space-between;align-items:center;gap:12px;display:flex}.meal-migration-card{background:#eef7f2;border:1px solid #bad5c6;border-radius:16px;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;padding:16px;display:grid}.meal-migration-card>svg{color:var(--green)}.meal-migration-card p{color:var(--muted);margin:4px 0 0;font-size:.72rem;line-height:1.45}.meal-migration-card button{background:var(--green);color:#fff;cursor:pointer;border:0;border-radius:9px;min-height:38px;padding:8px 12px;font-weight:800}.meal-migration-card button:disabled{opacity:.6;cursor:wait}@media (max-width:680px){.meal-migration-card{grid-template-columns:auto 1fr}.meal-migration-card button{grid-column:1/-1;width:100%}}.history-toolbar>div{background:#e5ece7;border-radius:12px;gap:3px;padding:4px;display:flex}.history-toolbar button,.history-toolbar>a{min-height:38px;color:var(--green);cursor:pointer;background:0 0;border:0;border-radius:9px;justify-content:center;align-items:center;gap:6px;padding:8px 12px;font-size:.76rem;font-weight:800;text-decoration:none;display:inline-flex}.history-toolbar button.active,.history-toolbar>a{background:var(--paper);box-shadow:0 2px 8px #1f3d310f}.history-day,.history-calendar,.empty-date,.target-editor,.target-timeline,.profile-details-card{border:1px solid var(--line);background:var(--paper);border-radius:20px}.history-day>summary,.history-meal>summary{cursor:pointer;list-style:none}.history-day>summary::-webkit-details-marker{display:none}.history-meal>summary::-webkit-details-marker{display:none}.history-day>summary{justify-content:space-between;align-items:center;gap:12px;padding:18px 20px;display:flex}.history-day>summary>span{align-items:center;gap:9px;display:flex}.history-day>summary>span:first-child{gap:3px;display:grid}.history-day>summary small,.daily-table-title small,.day-activity small,.empty-date span{color:var(--muted);font-size:.67rem}.history-day[open]>summary svg,.history-meal[open]>summary svg{transform:rotate(180deg)}.history-day-content{border-top:1px solid var(--line);gap:0;padding:0 0 20px;display:grid}.daily-table-title{color:var(--green);align-items:center;gap:8px;padding:17px 20px 8px;display:flex}.daily-table-title small,.daily-table-title a{margin-left:auto}.daily-table-title a{color:var(--green);font-size:.7rem;font-weight:800}.daily-cycle-key{color:var(--muted);flex-wrap:wrap;gap:10px;padding:0 20px 14px;font-size:.61rem;font-weight:700;display:flex}.daily-cycle-key span{align-items:center;gap:5px;display:inline-flex}.daily-cycle-key i{background:var(--green);border-radius:50%;width:7px;height:7px}.daily-cycle-key span:last-child i{background:#dce9df;box-shadow:inset 0 0 0 1px #c6d8cc}.daily-nutrition-cycles{scrollbar-width:none;grid-template-columns:repeat(6,minmax(80px,1fr));gap:10px;padding:0 20px 18px;display:grid;overflow-x:auto}.daily-nutrition-cycles::-webkit-scrollbar{display:none}.daily-nutrition-cycle{--nutrient-strong:#1f6a4b;--nutrient-soft:#e4f2ea;--nutrient-ink:#19533c;text-align:center;justify-items:center;gap:8px;min-width:92px;margin:0;display:grid}.daily-cycle-disc{background:#fff;border-radius:50%;grid-template-rows:1fr 1fr;width:104px;height:104px;display:grid;overflow:hidden;box-shadow:0 3px 11px #184c351c,0 0 0 1px #184c3514}.daily-nutrition-cycle.near .daily-cycle-disc{box-shadow:0 3px 11px #184c351c,0 0 0 2px #d3a64e38}.daily-nutrition-cycle.over .daily-cycle-disc{box-shadow:0 3px 11px #184c351c,0 0 0 2px #a64f3e2e}.daily-nutrition-cycle.unset .daily-cycle-disc{box-shadow:0 3px 11px #184c3512,0 0 0 1px #dce4df}.daily-cycle-consumed,.daily-cycle-target{place-content:center;align-items:center;gap:3px;line-height:1;display:grid}.daily-cycle-consumed{background:var(--nutrient-strong);color:#fff}.daily-cycle-target{background:var(--nutrient-soft);color:var(--nutrient-ink);border-top:1px solid #174f341a}.daily-cycle-consumed b,.daily-cycle-target b{font-variant-numeric:tabular-nums;letter-spacing:-.03em;white-space:nowrap;max-width:94px;font-size:.78rem;font-weight:850;overflow:hidden}.daily-cycle-consumed b.compact,.daily-cycle-target b.compact{letter-spacing:-.04em;font-size:.66rem}.daily-cycle-consumed small,.daily-cycle-target small{opacity:.8;max-width:76px;font-size:.5rem;font-weight:700;line-height:1}.daily-nutrition-cycle.nutrient-carbohydrate_g{--nutrient-strong:#a86612;--nutrient-soft:#fff0d2;--nutrient-ink:#73470d}.daily-nutrition-cycle.nutrient-protein_g{--nutrient-strong:#087c82;--nutrient-soft:#dff3f2;--nutrient-ink:#075c61}.daily-nutrition-cycle.nutrient-fibre_g{--nutrient-strong:#617d20;--nutrient-soft:#ecf2d8;--nutrient-ink:#455d13}.daily-nutrition-cycle.nutrient-fat_g{--nutrient-strong:#a64f3e;--nutrient-soft:#f9e5df;--nutrient-ink:#76382d}.daily-nutrition-cycle.nutrient-sodium_mg{--nutrient-strong:#5366a8;--nutrient-soft:#e6eafb;--nutrient-ink:#384878}.daily-nutrition-cycle figcaption{gap:3px;display:grid}.daily-nutrition-cycle figcaption strong{color:var(--nutrient-ink);justify-content:center;align-items:center;gap:4px;font-size:.67rem;display:inline-flex}.daily-nutrition-cycle figcaption strong svg{stroke-width:2.2px;flex:none}.daily-nutrition-cycle figcaption small{color:var(--muted);font-size:.56rem}.daily-target-table{border:1px solid var(--line);border-radius:13px;overflow:hidden}.daily-target-row{border-top:1px solid #e9efeb;grid-template-columns:1.15fr 1fr .85fr .7fr;align-items:center;gap:8px;min-height:41px;padding:8px 11px;font-size:.7rem;display:grid}.daily-target-row:first-child{border-top:0}.daily-target-row.heading{min-height:34px;color:var(--muted);background:#f0f5f2;font-size:.62rem;font-weight:800}.daily-target-row>span:last-child{text-align:right;gap:2px;display:grid}.daily-target-row>span:last-child small{color:var(--muted);font-size:.58rem}.photo-review-grid{grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:14px;margin-top:16px;display:grid}.photo-review-card{border:1px solid var(--line);background:#f8faf8;border-radius:16px;gap:11px;padding:11px;display:grid;overflow:hidden}.photo-review-card img,.photo-review-missing{aspect-ratio:4/3;object-fit:cover;background:#e9efeb;border-radius:11px;width:100%}.photo-review-missing{color:var(--muted);place-items:center;font-size:.72rem;display:grid}.photo-review-card>div{gap:3px;display:grid}.photo-review-card small{color:var(--muted);font-size:.66rem}.photo-review-actions{grid-template-columns:1fr 1fr;gap:7px}.photo-review-actions button{background:var(--mint);min-height:40px;color:var(--green);cursor:pointer;border:1px solid #b7cec1;border-radius:10px;justify-content:center;align-items:center;gap:5px;font-size:.68rem;font-weight:800;display:inline-flex}.photo-review-actions button.danger{background:var(--coral-soft);color:#9a4636;border-color:#edc5bc}.photo-review-actions button:disabled{opacity:.5;cursor:wait}.history-meal{border:0;border-top:1px solid var(--line);border-radius:0}.history-meal>summary{grid-template-columns:52px minmax(0,1fr) auto;align-items:start;gap:12px;min-height:86px;padding:12px 20px;transition:background .15s;display:grid}.history-meal>summary:hover,.history-meal>summary:focus-visible{background:#f4f8f5}.history-meal>summary time{color:var(--muted);font-variant-numeric:tabular-nums;padding-top:3px;font-size:.73rem;line-height:1.2}.history-meal-summary-copy{gap:7px;min-width:0;display:grid}.history-meal-summary-copy>strong{text-overflow:ellipsis;white-space:nowrap;font-size:.8rem;line-height:1.25;overflow:hidden}.history-meal-preview{flex-wrap:wrap;gap:5px;display:flex}.history-meal-preview small{--preview-strong:var(--green);--preview-soft:var(--mint);--preview-ink:var(--green);background:var(--preview-soft);min-width:52px;color:var(--preview-ink);white-space:nowrap;border-radius:8px 8px 10px 10px;justify-content:center;align-items:baseline;gap:3px;padding:6px 7px;font-size:.52rem;line-height:1;display:inline-flex}.history-meal-preview small:first-child{background:var(--preview-strong);color:#fff}.history-meal-preview small.nutrient-carbohydrate_g{--preview-soft:#fff0d2;--preview-ink:#73470d}.history-meal-preview small.nutrient-protein_g{--preview-soft:#dff3f2;--preview-ink:#075c61}.history-meal-preview b{font-variant-numeric:tabular-nums;letter-spacing:-.02em;font-size:.68rem}.history-meal-preview em{display:none}.history-meal-state{align-self:center}.history-meal-details{border-top:1px solid var(--line);background:#f7faf8;gap:13px;padding:16px 20px 20px;display:grid}.history-meal-detail-heading{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.history-meal-detail-heading>div{gap:3px;display:grid}.history-meal-detail-heading small{color:var(--muted);font-size:.66rem}.history-meal-detail-heading>em,.history-meal-detail-heading>span{background:var(--mint);color:var(--green);border-radius:999px;padding:5px 8px;font-size:.6rem;font-style:normal;font-weight:800}.history-meal .history-numbers{grid-template-columns:repeat(3,1fr);gap:8px;padding:0;display:grid}.history-meal .history-numbers span{border:1px solid var(--line);background:var(--paper);text-align:left;border-radius:10px;gap:3px;padding:10px;display:grid}.history-meals{border-top:1px solid var(--line);gap:0;display:grid}.day-activity{background:#f4f7f5;border-radius:13px;padding:12px 13px}.day-activity>summary{color:var(--green);cursor:pointer;align-items:center;gap:7px;font-size:.72rem;font-weight:800;display:flex}.day-activity-head{justify-content:space-between;align-items:center;gap:8px;margin:11px 0 8px;display:flex}.day-activity label{color:var(--muted);font-size:.68rem}.day-activity input{border:1px solid var(--line);border-radius:8px;width:62px;padding:5px 7px}.day-activity-grid{grid-template-columns:repeat(3,1fr);gap:7px;display:grid}.day-activity-grid span{background:var(--mint);border-radius:10px;grid-template-columns:auto 1fr;gap:3px 7px;padding:10px;display:grid}.day-activity-grid svg{color:var(--green);grid-row:1/3}.history-calendar{padding:15px}.history-calendar header{justify-content:space-between;align-items:center;margin-bottom:10px;display:flex}.history-calendar header button{border:1px solid var(--line);background:var(--paper);width:36px;height:36px;color:var(--green);cursor:pointer;border-radius:10px;place-items:center;display:grid}.calendar-grid{grid-template-columns:repeat(7,1fr);gap:5px;display:grid}.calendar-grid>small{color:var(--muted);text-align:center;padding:5px;font-weight:800}.calendar-grid button{min-height:48px;color:var(--ink);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:10px;place-items:center;gap:2px;padding:6px;display:grid}.calendar-grid button.has-meals{background:var(--mint)}.calendar-grid button.selected{border-color:var(--green)}.calendar-grid button small{color:var(--green);font-size:.56rem}.empty-date{min-height:150px;color:var(--green);align-content:center;place-items:center;gap:6px;padding:25px;display:grid}.profile-grid{grid-template-columns:1.05fr .95fr}.target-editor,.target-timeline{padding:22px}.profile-details-card{margin-bottom:12px;padding:22px}.profile-details-form{grid-template-columns:.7fr 1fr 1.2fr .7fr auto;align-items:end;gap:10px;margin-top:18px;display:grid}.profile-details-form label,.email-change-form label{color:var(--muted);gap:5px;font-size:.68rem;display:grid}.profile-details-form input,.profile-details-form select,.email-change-form input{border:1px solid var(--line);width:100%;min-height:42px;color:var(--ink);background:#fff;border-radius:9px;padding:9px 10px}.profile-details-form .account-primary,.email-change-form .account-secondary{white-space:nowrap}.email-change-form{border-top:1px solid var(--line);grid-template-columns:1fr auto;align-items:end;gap:10px;margin-top:16px;padding-top:16px;display:grid}.email-change-form label small{color:var(--muted);font-size:.68rem;line-height:1.4}.profile-next-actions{flex-wrap:wrap;gap:10px;margin-top:14px;display:flex}.profile-next-actions a{justify-content:center;align-items:center;gap:8px;min-height:44px;text-decoration:none;display:inline-flex}.profile-next-actions svg{width:17px;height:17px}.profile-session-actions{justify-content:flex-end;display:flex}.profile-session-actions .account-secondary{min-width:132px}.reference-preset{border:1px solid var(--line);background:var(--mint);min-height:40px;color:var(--green);cursor:pointer;border-radius:10px;margin-top:14px;padding:8px 12px;font-weight:800}.profile-message{max-width:none;margin:12px 0 0}.target-heading{gap:12px;display:flex}.target-heading svg{color:var(--green)}.target-heading h2,.target-timeline h2{margin:0;font:500 1.35rem Georgia,serif}.target-heading p,.target-timeline>p{color:var(--muted);margin:5px 0 0;font-size:.74rem;line-height:1.45}.target-editor form{gap:13px;margin-top:18px;display:grid}.target-editor label{color:var(--muted);gap:5px;font-size:.68rem;display:grid}.target-editor input{border:1px solid var(--line);border-radius:9px;width:100%;padding:9px 10px}.target-fields{grid-template-columns:repeat(2,1fr);gap:9px;display:grid}.target-fields label>div{grid-template-columns:1fr auto;align-items:center;gap:7px;display:grid}.target-editor form>small{color:var(--muted);font-size:.66rem;line-height:1.45}.target-timeline{align-self:start}.target-timeline article{background:#f1f6f2;border-radius:12px;margin-top:12px;padding:13px}.target-timeline article>div{grid-template-columns:repeat(2,1fr);gap:6px;margin-top:9px;display:grid}.target-timeline article span{gap:2px;display:grid}.target-timeline article small{color:var(--muted);font-size:.58rem}.target-timeline article b{font-size:.68rem}.target-timeline article>.target-saved-at{margin-top:2px;font-size:.7rem;display:block}.history-activity{border-top:1px solid var(--line);grid-column:1/-1;padding-top:10px}.history-meal-state{align-items:center;gap:8px;display:flex}.history-meal-state em{color:#7a5a19;background:#fff3dc;border-radius:999px;padding:4px 7px;font-size:.62rem;font-style:normal;font-weight:800}.pending-meal-action{background:#f7f2e7;border-radius:11px;justify-content:space-between;align-items:center;gap:12px;margin-top:10px;padding:10px 12px;display:flex}.pending-meal-action p{color:var(--muted);margin:0;font-size:.7rem}.pending-meal-action a{color:var(--green);white-space:nowrap;font-size:.7rem;font-weight:800}.history-activity summary{color:var(--green);cursor:pointer;font-size:.74rem;font-weight:800}.history-activity>label{color:var(--muted);margin-top:12px;font-size:.7rem;display:block}.history-activity input{border:1px solid var(--line);border-radius:8px;width:68px;margin:0 4px;padding:5px 7px}.history-activity>div{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:10px 0;display:grid}.history-activity>div span{background:var(--mint);border-radius:10px;gap:3px;padding:9px;display:grid}.history-activity>div strong{font-size:.75rem}@media (max-width:560px){.combined-guide .chat-stream{max-height:min(58svh,520px);padding-left:0;padding-right:0}.combined-guide .chat-bubble{max-width:100%}.combined-guide .chat-form{border-radius:14px}.label-correction-grid{grid-template-columns:minmax(105px,1fr) minmax(62px,.65fr) minmax(62px,.65fr);gap:6px}.account-demographics>div{grid-template-columns:1fr}.app-header{height:70px}.brand{max-width:calc(100% - 78px)}.brand .brand-mark{border-radius:12px;width:42px;height:42px}.brand-copy strong{font-size:.94rem}.brand-copy small{font-size:.62rem}.account-link span{display:none}.account-link{width:38px;padding:8px}.chat-nutrition-card>div{grid-template-columns:repeat(2,minmax(0,1fr))}.combined-guide .chat-label{align-items:flex-start;padding-right:0}.new-estimate-button{white-space:nowrap;margin-left:auto;position:static}.about-card,.history-grid article,.history-activity>div{grid-template-columns:1fr}.history-day>summary,.daily-table-title,.daily-cycle-key,.daily-nutrition-cycles,.history-meal>summary,.history-meal-details{padding-left:13px;padding-right:13px}.history-day-content{padding-left:0;padding-right:0}.daily-nutrition-cycles{grid-template-columns:none;grid-auto-columns:92px;grid-auto-flow:column;gap:12px}.daily-cycle-disc{width:92px;height:92px}.daily-cycle-consumed b,.daily-cycle-target b{font-size:.74rem}.history-meal>summary{grid-template-columns:42px minmax(0,1fr) auto;gap:9px}.history-meal .history-numbers{grid-template-columns:repeat(2,1fr)}.day-activity-grid,.profile-grid,.profile-details-form,.email-change-form{grid-template-columns:1fr}.daily-target-row{grid-template-columns:1fr .9fr .8fr .65fr;gap:5px;font-size:.64rem}.history-day>summary>span:last-child b{font-size:.75rem}.calendar-grid{gap:2px}.calendar-grid button{min-height:42px}}@media (max-width:340px){.brand-copy small{display:none}}.profile-details-form .profile-avoid-foods{border:0;grid-column:1/-1;gap:8px;min-width:0;margin:4px 0 0;padding:0;display:grid}.profile-avoid-foods legend{color:var(--muted);margin-bottom:8px;padding:0;font-size:.68rem}.profile-avoid-foods small{color:var(--muted);font-size:.8rem}
