*{box-sizing:border-box}html,body{color:#1f1d1a;background:#e9e3d9;height:100%;margin:0;font-family:Instrument Sans,system-ui,sans-serif;font-size:14px;overflow:hidden}a{color:#1f1d1a}a:hover{color:#6b665e}[hidden]{display:none!important}button{font:inherit;color:inherit;cursor:pointer}#c{touch-action:none;outline:none;width:100%;height:100%;display:block;position:fixed;inset:0}.mi{color:#7a7368;margin-left:6px;font-size:.86em;font-weight:400}.mono{font-family:JetBrains Mono,monospace}.top{pointer-events:none;flex-wrap:wrap;align-items:center;gap:14px;display:flex;position:fixed;top:12px;left:16px;right:16px}.top>*{pointer-events:auto}.brand{background:#fbf9f5;border:1px solid #e2dbcf;border-radius:12px;align-items:baseline;gap:2px;padding:8px 14px;display:flex}.brand b{letter-spacing:-.01em;font-size:15px;font-weight:700}.seg{background:#fbf9f5;border:1px solid #e2dbcf;border-radius:12px;gap:2px;padding:3px;display:flex}.seg button{white-space:nowrap;background:0 0;border:0;border-radius:9px;padding:6px 11px;font-weight:500}.seg button[aria-pressed=true]{color:#fbf9f5;background:#1f1d1a}.seg button[aria-pressed=true] .mi{color:#c9c1b4}.seg button:hover:not([aria-pressed=true]){background:#efe9df}.mood{background:#fbf9f5;border:1px solid #e2dbcf;border-radius:12px;align-items:center;gap:5px;padding:9px 12px;font-weight:500;display:flex}.mood i{background:#e2dbcf;border-radius:50%;width:9px;height:9px;display:block}.mood i.on{background:#e8836f}.mood span{margin-right:4px}.spacer{flex:1}.ghostbtn{background:#fbf9f5;border:1px solid #e2dbcf;border-radius:12px;padding:8px 13px;font-weight:500}.ghostbtn:hover{background:#f1ece3}.pop{z-index:5;background:#fbf9f5;border:1px solid #e2dbcf;border-radius:14px;gap:14px;width:320px;padding:16px;display:grid;position:fixed;top:62px;right:392px;box-shadow:0 12px 30px #281e141f}.pop label{align-items:flex-start;gap:10px;line-height:1.35;display:flex}.pop input[type=text]{width:100%;font:inherit;background:#fff;border:1px solid #d9d1c4;border-radius:8px;padding:8px 10px}.pop small{color:#6b665e;margin-top:2px;display:block}.panel{-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#fbf9f5f7;border:1px solid #e2dbcf;border-radius:16px;width:360px;padding:18px 18px 20px;position:fixed;top:64px;bottom:16px;right:16px;overflow:auto;box-shadow:0 8px 35px #19281e14}.panel h2{letter-spacing:-.01em;margin:0 0 4px;font-size:17px;font-weight:600}.panel h3{text-transform:uppercase;letter-spacing:.06em;color:#6b665e;margin:18px 0 8px;font-size:12px;font-weight:600}.hint{color:#6b665e;text-wrap:pretty;margin:0 0 12px;line-height:1.45}#plateList{gap:6px;margin:0 0 12px;padding:0;list-style:none;display:grid}#plateList li{background:#fff;border:1px solid #e6e0d5;border-radius:10px;gap:6px;padding:8px 10px;display:grid}#plateList li.sel{border-color:#1f1d1a}#plateList .row{align-items:center;gap:8px;display:flex}#plateList .row .nm{cursor:pointer;flex:1;font-weight:500}#plateList .g{color:#4d4841;font-family:JetBrains Mono,monospace;font-size:12px}#plateList .x{background:#f1ece3;border:0;border-radius:7px;width:26px;height:26px;line-height:1}#plateList .x:hover{background:#e6dfd3}input[type=range]{accent-color:#1f1d1a;width:100%}.macros{grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;margin:0 0 14px;display:grid}.macros div{text-align:center;background:#f3eee6;border-radius:8px;padding:7px 6px}.macros b{font-family:JetBrains Mono,monospace;font-size:14px;font-weight:600;display:block}.macros span{color:#6b665e;font-size:11px}.primary{color:#fbf9f5;background:#1f1d1a;border:0;border-radius:12px;width:100%;padding:13px;font-size:15px;font-weight:600}.primary .mi{color:#c9c1b4}.primary:disabled{opacity:.35;cursor:default}.primary:hover:not(:disabled){background:#383430}.cat{color:#6b665e;margin:10px 0 6px;font-size:12px;font-weight:600}.chips{flex-wrap:wrap;gap:5px;display:flex}.chips button{background:#fff;border:1px solid #e2dbcf;border-radius:999px;padding:5px 9px;font-size:13px}.chips button:hover{border-color:#1f1d1a}.chips button .mi{margin-left:4px;font-size:11px}details summary{cursor:pointer;align-items:baseline;margin-top:18px;font-weight:600;list-style:none;display:flex}details summary:before{content:"+";color:#6b665e;width:16px}details[open] summary:before{content:"–"}.ch{border:1px solid #1f1d1a;border-radius:12px;gap:6px;margin-bottom:16px;padding:12px;display:grid}.ch .hd{align-items:center;gap:6px;display:flex}.ch .hd b{flex:1}.ch .nav{background:#fff;border:1px solid #e2dbcf;border-radius:7px;width:28px;height:28px}.ch .done{color:#3f7d52;font-size:12px;font-weight:600}.ch p{color:#4d4841;margin:0;line-height:1.4}.scoreRow{justify-content:space-between;align-items:flex-end;gap:10px;margin-bottom:10px;display:flex}.k{text-transform:uppercase;letter-spacing:.06em;color:#6b665e;font-size:12px;font-weight:600}#resWho{margin-top:2px;font-size:17px;font-weight:600}.score b{font-family:JetBrains Mono,monospace;font-size:44px;font-weight:600;line-height:1}.score span{color:#6b665e;margin-left:2px}#scoreLbl{margin:-2px 0 12px;font-weight:500}#chart{touch-action:none;cursor:ew-resize;margin:0 -4px 4px}#chart svg{width:100%;height:auto;display:block;overflow:visible}#chart text{fill:#6b665e;font-family:JetBrains Mono,monospace;font-size:9.5px}#chartKey{color:#4d4841;flex-wrap:wrap;gap:4px 14px;margin-bottom:14px;font-size:12px;display:flex}#chartKey span{align-items:center;gap:6px;display:flex}#chartKey svg{display:block}#verdict{border-radius:10px;margin-bottom:12px;padding:10px 12px;font-weight:500}#verdict.win{color:#24583a;background:#e3f0e5}#verdict.lose{color:#7c3222;background:#f7e7e1}#insight{text-wrap:pretty;margin:0 0 14px;line-height:1.5}table{border-collapse:collapse;width:100%;margin-bottom:16px;font-size:13px}th,td{text-align:right;border-bottom:1px solid #ece6dc;padding:7px 4px}th:first-child,td:first-child{text-align:left;color:#4d4841}td{font-family:JetBrains Mono,monospace;font-size:12.5px}td:first-child{font-family:inherit;font-size:13px}th{vertical-align:bottom;font-size:12px;font-weight:600}.me{background:#f3eee6}.btns{gap:8px;margin-bottom:12px;display:grid}.sec{background:#fff;border:1px solid #d9d1c4;border-radius:12px;width:100%;padding:11px;font-weight:600}.sec:hover{background:#f6f2eb}#scrub{background:#fbf9f5f7;border:1px solid #e2dbcf;border-radius:14px;gap:6px;padding:10px 14px;display:grid;position:fixed;bottom:16px;left:16px;right:392px}#readout{flex-wrap:wrap;align-items:center;gap:16px;font-size:13px;display:flex}#readout .t{min-width:64px;font-family:JetBrains Mono,monospace;font-weight:600}#readout .v{align-items:center;gap:6px;display:flex}#readout .v i{border-radius:50%;width:9px;height:9px;display:block}#readout .v b{font-family:JetBrains Mono,monospace;font-weight:600}#resetView{position:fixed;top:64px;right:392px}#eatOv{background:#fbf9f5;border:1px solid #e2dbcf;border-radius:14px;flex-wrap:wrap;align-items:center;gap:18px;max-width:calc(100vw - 420px);padding:12px 14px;display:flex;position:fixed;bottom:24px;left:50%;transform:translate(calc(-50% - 188px))}.legend{color:#4d4841;gap:12px;font-size:12.5px;display:flex}.legend span{align-items:center;gap:5px;display:flex}.legend i{border-radius:50%;width:9px;height:9px;display:block}#labels{pointer-events:none;position:fixed;inset:0;overflow:hidden}.lbl{white-space:nowrap;color:#4d4841;will-change:transform;font-size:11.5px;position:absolute;top:0;left:0}.lbl.pet{color:#1f1d1a;text-align:right;flex-direction:column;align-items:flex-end;font-size:13px;font-weight:600;display:flex}.lbl.pet .mi{margin:0;font-size:11px;display:block}.lbl.pet.compact{background:#fbf9f5e6;border-radius:6px;flex-direction:row;align-items:center;gap:6px;padding:1px 6px;font-size:12px}.lbl.pet.compact .mi{display:none}.lbl.pet.compact.me:after{margin:0}.lbl.pet.me:after{content:"you";letter-spacing:.08em;text-transform:uppercase;color:#fbf9f5;background:#1f1d1a;border-radius:5px;width:max-content;margin:3px 0 0;padding:1px 5px;font-size:10px;display:block}.lbl.bubble{color:#1f1d1a;background:#fff;border:1.5px solid #1f1d1a;border-radius:12px;margin-top:-8px;padding:5px 10px;font-size:13px;font-weight:600}.lbl.bubble .mi{margin:0;font-size:11px;display:block}.lbl.bubble:after{content:"";background:#fff;border-bottom:1.5px solid #1f1d1a;border-right:1.5px solid #1f1d1a;width:10px;height:10px;position:absolute;bottom:-7px;left:50%;transform:translate(-50%)rotate(45deg)}.lbl.peak{z-index:2;color:#fbf9f5;background:#1f1d1a;border-radius:6px;padding:2px 7px;font-family:JetBrains Mono,monospace;font-size:11px}.lbl.tick{z-index:0;color:#6b665e;font-family:JetBrains Mono,monospace;font-size:11px}#tip{pointer-events:none;color:#fbf9f5;white-space:nowrap;background:#1f1d1a;border-radius:8px;padding:6px 9px;font-size:12.5px;position:fixed;transform:translate(12px,-120%)}#tip .mi{color:#c9c1b4}#disc{color:#6b665e;max-width:300px;font-size:11.5px;line-height:1.4;position:fixed;bottom:16px;left:16px}.results #disc,.eating #disc{display:none}@media (width<=1199px){.panel{width:320px}#scrub,#resetView,.pop{right:352px}#eatOv{max-width:calc(100vw - 380px);transform:translate(calc(-50% - 168px))}.mood span,.brand .mi{display:none}.seg button{padding:6px 9px}}#fail{text-align:center;place-items:center;padding:40px;display:grid;position:fixed;inset:0}button:focus-visible,input:focus-visible,summary:focus-visible{outline-offset:3px;outline:3px solid #52796a}@media (width<=760px){#c{height:calc(64vh - 120px);top:110px}.top{gap:6px;top:10px;left:10px;right:10px}.brand{padding:7px 10px}.brand b{font-size:13px}.brand .mi,.mood{display:none}.seg button{padding:6px;font-size:11px}.ghostbtn{padding:7px;font-size:12px}.spacer{display:none}#profSeg{order:4;justify-content:center;width:100%}.panel{width:auto;max-height:36vh;padding:14px;inset:auto 10px 10px}#disc{max-width:220px;font-size:10px;bottom:calc(36vh + 20px);left:10px}#scrub{bottom:calc(36vh + 20px);left:10px;right:10px}#resetView{top:100px;right:10px}.pop{width:auto;top:100px;left:10px;right:10px}#eatOv{gap:8px;max-width:none;bottom:calc(36vh + 20px);left:10px;right:10px;transform:none}.legend{flex-wrap:wrap}.lbl.bubble{padding:4px 7px;font-size:11px}.macros{margin-bottom:10px}}#root{height:100%}#fail{z-index:10;background:#e9e3d9}.scan-backdrop{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);z-index:20;background:#1a251f66;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.scan-dialog{background:#fbf9f5;border-radius:20px;width:min(650px,100%);max-height:90vh;padding:28px;overflow:auto;box-shadow:0 24px 80px #17251d33}.scan-heading{align-items:flex-start;gap:20px;display:flex}.scan-heading h2{letter-spacing:-.03em;margin:0 0 10px;font-size:23px}.scan-heading p{color:#6b665e;margin:0;line-height:1.5}.scan-heading .ghostbtn{margin-left:auto;font-size:20px}.scan-pair{grid-template-columns:224px 1fr;align-items:center;gap:24px;margin:24px 0;display:grid}.scan-pair img{border:1px solid #e2dbcf;border-radius:12px}.scan-pair h3{margin:0 0 12px;font-size:17px}.scan-pair p{color:#6b665e;line-height:1.5}.scan-link{color:#416b56;font-weight:600;display:inline-block}.scan-status{color:#34563f;background:#e4eee7;border-radius:10px;padding:12px 14px;font-weight:500}.scan-notice{color:#785b27;background:#f6ebd5;border-radius:10px;padding:12px 14px;line-height:1.5}.scan-error{color:#7c3222;background:#f7e7e1;border-radius:10px;padding:12px 14px;line-height:1.5}.photo-meal-card{background:#edf2eb;border:1px solid #d2dfd2;border-radius:12px;grid-template-columns:72px 1fr;gap:10px;margin:12px 0;padding:12px;display:grid}.photo-meal-card img{object-fit:cover;border-radius:8px;width:72px;height:72px}.photo-meal-card b{margin:6px 0;font-size:14px;display:block}.photo-meal-card span{color:#526950;font-size:11px}.photo-meal-card p,.photo-meal-card small{color:#53604e;grid-column:1/-1;margin:0;line-height:1.4}.photo-meal-card p{font-size:12px}.photo-meal-card small{font-size:11px}.phone-meal{background:#f5f6f0;padding:24px 20px 40px;position:fixed;inset:0;overflow-y:auto}.phone-brand{color:#41634d;max-width:480px;margin:0 auto 32px;font-size:16px;font-weight:700}.phone-brand span{color:#7b8275;margin-top:4px;font-size:11px;font-weight:400;display:block}.phone-content{max-width:480px;margin:auto}.phone-content h1{letter-spacing:-.04em;margin:0 0 12px;font-size:34px}.phone-content>p{color:#62685c;line-height:1.5}.phone-photo{object-fit:cover;border-radius:16px;width:100%;max-height:320px;margin:20px 0;display:block}.phone-actions{gap:10px;margin:24px 0;display:grid}.photo-consent{align-items:flex-start;gap:10px;margin:22px 0 12px;font-size:14px;line-height:1.5;display:flex}.photo-consent input{accent-color:#416b56;flex-shrink:0;width:18px;height:18px;margin-top:4px}.phone-foods{padding:0;list-style:none}.phone-foods li{border-bottom:1px solid #dfe4d9;justify-content:space-between;gap:16px;padding:12px 0;display:flex}.phone-foods span{color:#68785e;white-space:nowrap}@media (width<=760px){.scan-backdrop{padding:12px}.scan-dialog{padding:20px}.scan-heading h2{font-size:21px}.scan-pair{grid-template-columns:1fr;gap:16px}.scan-pair img{margin:auto}.scan-pair h3{margin-top:0}.top .spacer{display:none}}.mealCompare{margin:4px 0 14px}.mealCompare h3{justify-content:space-between;align-items:baseline;margin:0 0 8px;font-size:14px;display:flex}.mcCards{grid-template-columns:1fr 1fr;gap:8px;display:grid}.mcCard{background:#fff;border:1px solid #e3dccf;border-radius:12px;grid-template-columns:auto 1fr;grid-template-areas:"i n""i s";align-items:center;gap:0 8px;padding:8px;display:grid}.mcCard.best{border-color:#4f9d69;box-shadow:inset 0 0 0 1px #4f9d69}.mcCard img,.mcCard .mcTag{grid-area:i}.mcCard img{object-fit:cover;border-radius:50%;width:38px;height:38px}.mcCard b{grid-area:n;font-size:12px;line-height:1.25}.mcCard>span:last-child{grid-area:s;font-size:18px;font-weight:700}.mcCard small{color:#6b665e;font-size:11px;font-weight:400}.mcTag{color:#1f1d1a;background:#e8b88a;border-radius:50%;place-items:center;width:28px;height:28px;font-size:13px;font-weight:700;display:inline-grid}.mcCard.A .mcTag,.pinBanner .mcTag{color:#fff;background:#3b6ea5}.mcVerdict{margin:10px 0;font-size:13px}#mcTable,#mcMacros{border-collapse:collapse;width:100%;margin-bottom:10px;font-size:12px}#mcTable td,#mcTable th,#mcMacros td,#mcMacros th{text-align:right;border-bottom:1px solid #eee7da;padding:4px 6px}#mcTable td:first-child,#mcMacros td:first-child{text-align:left}#mcTable th.A,#mcMacros th.A{color:#3b6ea5}#mcTable th.B,#mcMacros th.B{color:#b8743a}.pinBanner{background:#eaf0f7;border:1px solid #c9d8e8;border-radius:12px;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;margin:12px 0;padding:10px 12px;display:grid}.pinBanner small{color:#4d4841;font-size:12px;display:block}button.mcCard{font:inherit;text-align:left;cursor:pointer;color:inherit}.mcCard.on{background:#f4efe5;box-shadow:inset 0 0 0 2px #1f1d1a}.mcHint{color:#6b665e;margin-top:8px;font-size:11px;display:block}
