
:root{font-family:Inter,"Segoe UI",sans-serif;color:#273b31;background:#f7f8f2;font-synthesis:none;--ink:#273b31;--green:#294b37;--muted:#718074;--line:#e2e6db;--soft:#eef1e5;--lime:#d9e7b6;--white:#fffefa}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}a{color:inherit}button{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #93a96e;outline-offset:3px}button{border:0}svg{flex-shrink:0}h1,h2,h3,p{margin:0}h1,h2{letter-spacing:-.04em}h1{font-family:Georgia,serif;font-weight:400;font-size:clamp(32px,3.4vw,49px);line-height:1.12}h2{font-size:22px;font-weight:600}h3{font-size:16px;font-weight:600}.muted{color:var(--muted)}.small{font-size:13px;line-height:1.6}.eyebrow{font-size:10px;font-weight:750;letter-spacing:.15em;text-transform:uppercase}.visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip{position:fixed;top:-60px;left:20px;z-index:100;background:white;padding:12px}.skip:focus{top:15px}
.layout{min-height:100vh;display:grid;grid-template-columns:222px 1fr}.sidebar{position:sticky;top:0;height:100vh;border-right:1px solid var(--line);padding:37px 21px 23px;display:flex;flex-direction:column;background:#f2f4eb}.brand{display:flex;gap:10px;align-items:center;font-weight:700;font-size:20px;letter-spacing:-1px;text-decoration:none}.brand img{width:35px;height:35px}.brand span{font-weight:450}.side-caption{font-size:11px;color:var(--muted);margin:12px 0 48px 4px;letter-spacing:.01em}.nav{display:grid;gap:9px}.nav button{display:flex;align-items:center;gap:12px;background:none;padding:13px 15px;text-align:left;border-radius:10px;font-size:13px;font-weight:550}.nav button.active{background:#e1e8d4;color:#294b37}.nav button:hover{background:#e9eddf}.sidebar-bottom{margin-top:auto;padding:22px 8px 0}.side-note{border-top:1px solid #dce2d3;padding-top:24px;font-size:12px;line-height:1.7;color:#6b786b}.side-note strong{display:block;color:#465844;font-size:12px;margin-bottom:7px}.version{display:flex;gap:6px;align-items:center;font-size:10px;color:#7d8979;margin-top:24px}.dot{width:5px;height:5px;border-radius:50%;background:#8a9c74}.workspace{padding:33px 45px 35px;min-width:0;max-width:1600px;width:100%;margin:auto}.topbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:44px;gap:12px;font-size:12px}.breadcrumb{display:flex;align-items:center;gap:9px;color:#7b867b}.breadcrumb strong{font-weight:500;color:#384b3d}.status{display:inline-flex;align-items:center;gap:7px;background:#eff1e9;border:1px solid #e1e4d7;padding:7px 11px;border-radius:20px;color:#78816e;font-size:10px;white-space:nowrap}.status .dot{background:#b3aa81}.heading{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:27px}.heading p{margin-top:11px;color:#7a8478;font-size:14px;line-height:1.6}.date-display{font-size:11px;color:#718071;padding-bottom:3px;white-space:nowrap}.main-grid{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:25px;align-items:start}.panel{background:var(--white);border:1px solid var(--line);border-radius:18px}.scan-card{position:relative;overflow:hidden;text-align:center;padding:31px 32px 29px;min-height:439px;background:radial-gradient(ellipse at 50% 30%,#f1f4e7 0,#fcfcf7 65%)}.scan-top{display:flex;justify-content:space-between;align-items:center;font-size:10px;color:#88927d;text-align:left}.scan-top .eyebrow{color:#637353;font-size:9px}.plate-art{width:220px;height:182px;display:block;margin:11px auto 7px}.scan-card h2{font-size:25px;letter-spacing:-.04em}.scan-card>p{font-size:12px;color:#798471;margin:9px auto 23px;line-height:1.7;max-width:300px}.actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;border-radius:9px;padding:13px 17px;font-size:12px;font-weight:600;min-height:44px;transition:background .15s,transform .15s;text-decoration:none}.button.primary{background:var(--green);color:#f5f8ec}.button.primary:hover{background:#355e44;transform:translateY(-1px)}.button.secondary{background:var(--white);border:1px solid #d9dfcd}.button.secondary:hover{background:#f0f3e8}.button.ghost{background:transparent;color:#64705c}.button.ghost:hover{background:#eaf0dd}.text-button{background:transparent;color:#5a7050;font-size:12px;display:inline-flex;gap:6px;align-items:center;padding:6px 0}.text-button:hover{text-decoration:underline}.scan-foot{margin-top:22px;display:flex;align-items:center;justify-content:center;gap:6px;color:#89917e;font-size:10px}.demo-link{padding:18px 4px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);gap:12px}.demo-link>div{display:flex;gap:10px;align-items:center;font-size:11px;color:#7e8978}.demo-link strong{font-weight:500;color:#566b4a}.how{display:grid;grid-template-columns:repeat(3,1fr);padding-top:25px;gap:20px}.how .number{font-family:Georgia,serif;font-size:20px;color:#9aa88b;margin-bottom:8px}.how strong{display:block;font-size:11px;font-weight:600;margin-bottom:6px}.how p{font-size:11px;color:#8c9487;line-height:1.6}.summary{padding:23px 22px}.panel-label{display:flex;align-items:center;justify-content:space-between;font-size:11px;font-weight:600;margin-bottom:22px}.tiny-tag{font-size:9px;padding:4px 7px;border-radius:5px;background:#eef2e6;color:#798469;font-weight:500}.ring{--progress:0deg;background:conic-gradient(#789154 var(--progress),#e9edde 0deg);border-radius:50%;width:153px;height:153px;margin:8px auto 22px;padding:9px}.ring-inner{border-radius:50%;height:100%;background:#fffefa;display:flex;flex-direction:column;align-items:center;justify-content:center}.ring-number{font-family:Georgia,serif;font-size:40px;line-height:1.2;letter-spacing:-.05em}.ring-label{color:#849076;font-size:10px;margin-top:3px}.budget-caption{text-align:center;font-size:11px;color:#859078;line-height:1.6;margin-bottom:21px}.macro-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:5px}.macro-grid>div{display:flex;flex-direction:column;gap:6px;align-items:center}.macro-grid b{font-size:13px;font-weight:600}.macro-grid span{font-size:9px;color:#849078;white-space:nowrap}.macro-grid i{display:block;width:18px;height:3px;border-radius:3px;background:#a6b88d;margin-bottom:4px}.macro-grid>div:nth-child(2) i{background:#d0b47c}.macro-grid>div:nth-child(3) i{background:#bea591}.summary-bottom{border-top:1px solid var(--line);margin-top:22px;padding-top:15px;display:flex;justify-content:space-between;font-size:10px;color:#8b9383}.plate-tip{margin-top:19px;padding:22px;background:#eef2e3;border:1px solid #e1e7d5;border-radius:16px}.plate-tip>svg{margin-bottom:15px;color:#76865d}.plate-tip h3{font-family:Georgia,serif;font-size:20px;font-weight:400;letter-spacing:-.03em}.plate-tip p{font-size:11px;color:#839073;line-height:1.7;margin:9px 0 10px}.footer{display:flex;justify-content:space-between;gap:16px;padding-top:35px;color:#99a18e;font-size:10px;line-height:1.6}.footer span{display:flex;align-items:center;gap:6px}.notice{padding:14px 16px;background:#f6f0df;border:1px solid #e9dfbf;border-radius:10px;font-size:12px;line-height:1.6;color:#8b754b;margin-bottom:20px}.notice.demo{background:#edf1e3;color:#67794e;border-color:#dae3c8}.notice.storage{margin-bottom:20px;background:#fff2ed;color:#9b4e37}.workspace-photo{width:100%;max-height:260px;object-fit:contain;border-radius:13px;background:#e9eddf;margin-bottom:20px}.draft-panel{padding:25px}.draft-header{display:flex;justify-content:space-between;gap:15px;align-items:start;margin-bottom:22px}.draft-header h2{font-family:Georgia,serif;font-size:27px;font-weight:400}.draft-header p{color:#88917e;font-size:12px;margin-top:7px;line-height:1.6}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;min-width:36px;border-radius:8px;background:transparent;color:#7c8973}.icon-button:hover{background:#ecf0e4}.food-list{list-style:none;padding:0;margin:0}.food-row{display:flex;gap:12px;align-items:center;border-top:1px solid #edf0e5;padding:17px 0}.food-icon{width:39px;height:39px;border-radius:11px;background:#f0f3e6;display:grid;place-items:center;color:#8c9b72;font-size:13px}.food-text{flex:1;min-width:0}.food-text strong{font-size:13px;font-weight:600;display:block;overflow-wrap:anywhere}.food-text small{font-size:10px;color:#929a8a;display:block;line-height:1.6;margin-top:5px}.food-calories{text-align:right;font-size:14px;font-weight:600;white-space:nowrap}.food-calories small{font-size:10px;font-weight:400;color:#909985;display:block;margin-top:4px}.empty-foods{text-align:center;padding:35px 10px;color:#8b947e;font-size:13px;line-height:1.8}.add-row{display:flex;gap:12px;flex-wrap:wrap;padding:13px 0 20px}.portion{border-top:1px solid var(--line);padding-top:20px;display:flex;align-items:center;justify-content:space-between;gap:12px}.portion-label{font-size:12px;font-weight:500}.segmented{display:flex;gap:3px;padding:3px;background:#f0f3e9;border-radius:9px}.segmented button{background:transparent;border-radius:6px;min-width:39px;min-height:35px;font-size:11px;color:#8b957d;padding:7px 11px}.segmented button.active{background:#fffefa;box-shadow:0 1px 4px #273b3112;color:#314b31;font-weight:650}.meal-total{display:flex;justify-content:space-between;align-items:center;margin:22px 0 18px;padding:20px;background:#eef2e4;border-radius:12px}.meal-total .eyebrow{color:#7d896e;font-size:9px;line-height:1.8}.meal-total b{font-family:Georgia,serif;font-size:35px;font-weight:400;letter-spacing:-.05em}.meal-total b small{font-family:Inter,"Segoe UI",sans-serif;font-size:12px;color:#839075;font-weight:400;letter-spacing:0}.meal-total p{font-size:10px;color:#89957d;margin-top:6px}.draft-controls{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}.draft-controls .primary{flex:1}.field{display:flex;flex-direction:column;gap:7px;margin-bottom:17px;min-width:0}.field label{font-size:12px;font-weight:550;color:#5d6d54}.field input,.field select{width:100%;border:1px solid #dbe1d0;background:#fffefa;color:#314a36;border-radius:8px;padding:12px;font-size:13px;min-height:44px}.field small{font-size:11px;line-height:1.5;color:#919a84}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}.form-section{padding:26px;margin-bottom:18px}.form-section h2{font-size:18px;margin-bottom:9px}.form-section>p{font-size:12px;color:#8b957f;line-height:1.7;margin-bottom:24px}.settings-layout{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(230px,.8fr);gap:24px;max-width:1000px}.settings-layout .button{margin-top:4px}.save-row{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.save-row span{font-size:11px;color:#8d967f}.favorite-row{display:flex;justify-content:space-between;align-items:center;font-size:12px;padding:13px 0;border-bottom:1px solid var(--line);gap:10px}.favorite-row strong{font-weight:550}.favorite-row small{display:block;font-size:10px;color:#8b957d;margin-top:4px}.journal-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:20px}.journal-heading input{font:inherit;color:var(--green);padding:10px;border:1px solid var(--line);border-radius:8px;background:var(--white);font-size:12px;min-height:44px}.empty-state{padding:65px 25px;text-align:center}.empty-state>svg{color:#93a17d;margin-bottom:23px}.empty-state h2{font-family:Georgia,serif;font-size:29px;font-weight:400}.empty-state p{color:#8a957f;font-size:12px;line-height:1.8;max-width:290px;margin:13px auto 24px}.journal-row{padding:22px;display:flex;gap:16px;align-items:center;margin-bottom:14px}.journal-row .food-icon{width:47px;height:47px}.journal-name{flex:1;min-width:0}.journal-name button{background:none;padding:0;text-align:left;font-size:14px;font-weight:600;overflow-wrap:anywhere}.journal-name button:hover{text-decoration:underline}.journal-name p{font-size:11px;color:#8b967e;margin-top:6px;line-height:1.5}.journal-actions{display:flex;gap:5px}.journal-total{padding:20px 22px;background:#eaf0de;margin-bottom:20px;display:flex;justify-content:space-between;align-items:center}.journal-total b{font-family:Georgia,serif;font-size:30px;font-weight:400}.journal-total p{font-size:11px;color:#80916d;margin-top:5px}.journal-total .eyebrow{font-size:9px;color:#6d7e5b}.inline-error{font-size:12px;color:#a65139;background:#fff0e9;border-radius:8px;padding:12px;margin:12px 0;line-height:1.5}.inline-error:empty{display:none}.check{display:flex;gap:9px;align-items:start;font-size:12px;line-height:1.6;color:#7c886e;margin:12px 0 17px}.check input{accent-color:var(--green);width:16px;height:16px;flex-shrink:0}dialog{border:1px solid var(--line);border-radius:17px;padding:27px;width:min(480px,calc(100% - 28px));max-height:90dvh;color:var(--ink);background:var(--white);box-shadow:0 30px 120px #263f3230}dialog::backdrop{background:#26382955;backdrop-filter:blur(3px)}.dialog-head{display:flex;justify-content:space-between;align-items:start;margin-bottom:15px;gap:12px}.dialog-head h2{font-family:Georgia,serif;font-size:26px;font-weight:400}.dialog-description{color:#88947b;font-size:12px;line-height:1.65;margin-bottom:22px}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}.favorite-picker{display:grid;gap:8px}.favorite-picker button{text-align:left;padding:15px;border:1px solid var(--line);border-radius:8px;background:#f7f9f0;font-size:13px}.favorite-picker button small{display:block;color:#929e83;font-size:10px;margin-top:5px}#toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%) translateY(90px);background:#2e4b37;color:#f5f8ef;z-index:50;padding:14px 20px;border-radius:10px;font-size:12px;max-width:min(90vw,520px);box-shadow:0 8px 35px #273b3120;transition:transform .25s;display:flex;gap:15px;align-items:center}#toast.show{transform:translateX(-50%) translateY(0)}#toast button{background:transparent;color:#d8e8b6;text-decoration:underline;white-space:nowrap}.danger{color:#a05840!important}.preparation{font-size:11px;line-height:1.6;color:#869477;padding:13px 0}.preparation strong{color:#728162}.detail-info{font-size:12px;line-height:1.8;color:#849178;margin-top:18px}.api-footnote{font-size:10px;color:#919b82;line-height:1.7;text-align:center;margin-top:14px}.plate-preview{display:flex;align-items:center;gap:14px;padding:14px 0}.plate-preview .plate-mini{border:2px solid #a9b794;box-shadow:inset 0 0 0 6px #f3f6ec;width:45px;height:45px;border-radius:50%;background:#e6edd9}.plate-preview .plate-mini.square{border-radius:8px}.plate-preview .plate-mini.oval{width:58px}.plate-preview p{font-size:12px;line-height:1.7;color:#7b8b6d}
@media(min-width:1450px){.workspace{padding:40px 70px}.main-grid{grid-template-columns:minmax(0,1fr) 310px;gap:35px}.scan-card{min-height:480px;padding-top:35px}.plate-art{margin-top:25px;margin-bottom:17px}}
@media(max-width:1120px){.layout{grid-template-columns:188px 1fr}.sidebar{padding:28px 15px}.brand{font-size:17px}.brand img{width:31px;height:31px}.workspace{padding:28px 27px}.main-grid{grid-template-columns:minmax(0,1fr) 245px;gap:18px}.summary{padding:20px 15px}.scan-card{padding:24px 18px}.button{padding:12px 13px;font-size:11px}.settings-layout{grid-template-columns:1fr}.date-display{display:none}}
@media(max-width:900px){.main-grid{grid-template-columns:minmax(0,1fr)}.right-column{display:grid;grid-template-columns:1fr 1fr;gap:18px}.plate-tip{margin-top:0}.ring{width:125px;height:125px}.ring-number{font-size:32px}.summary-bottom{margin-top:15px}.summary .panel-label{margin-bottom:12px}.scan-card{min-height:430px}.summary{padding:22px}.summary .ring{margin-bottom:12px}.footer{padding-top:25px}.how{margin-bottom:12px}.topbar{margin-bottom:32px}}
@media(max-width:620px){.layout{display:block}.sidebar{position:fixed;top:auto;bottom:0;left:0;width:100%;height:auto;padding:6px 10px calc(6px + env(safe-area-inset-bottom));background:#fcfdf8f5;backdrop-filter:blur(12px);z-index:20;border-right:0;border-top:1px solid var(--line)}.sidebar>.brand,.side-caption,.sidebar-bottom{display:none}.nav{grid-template-columns:repeat(3,1fr);gap:5px}.nav button{flex-direction:column;gap:5px;align-items:center;justify-content:center;padding:10px 4px;font-size:10px;border-radius:9px}.nav button.active{background:#ecf1e2}.workspace{padding:23px 18px 110px}.topbar{margin-bottom:32px}.breadcrumb{font-size:12px}.breadcrumb .home-icon{display:none}.mobile-brand{font-weight:650!important;color:#2e4934!important;font-size:16px;letter-spacing:-.7px}.breadcrumb .crumb-slash,.breadcrumb .page-name{display:none}.status{font-size:9px;padding:6px 9px}.heading{margin-bottom:25px}.heading h1{font-size:36px}.heading p{font-size:12px;margin-top:11px;max-width:290px}.scan-card{padding:23px 19px 24px;min-height:438px;border-radius:17px}.scan-top{font-size:9px}.plate-art{width:214px;height:174px;margin-top:15px}.scan-card h2{font-size:23px}.scan-card>p{font-size:12px}.actions .button{font-size:12px;padding:13px 15px}.scan-foot{font-size:9px;gap:5px;margin-top:19px}.demo-link{padding:19px 2px}.demo-link>div{font-size:10px;gap:7px}.demo-link .text-button{font-size:11px}.how{padding-top:22px;gap:15px;margin-bottom:9px}.how .number{font-size:18px}.how strong{font-size:10px}.how p{font-size:10px}.right-column{grid-template-columns:1fr;gap:15px}.summary{display:grid;grid-template-columns:130px 1fr;padding:21px;column-gap:16px}.summary .panel-label{grid-column:1/-1}.summary .ring{grid-row:2/5;margin:4px 0;width:116px;height:116px}.budget-caption{margin:12px 0 18px;text-align:left;font-size:10px}.summary .macro-grid{align-self:center;gap:8px}.summary .macro-grid b{font-size:12px}.summary .macro-grid span{font-size:8px}.summary-bottom{grid-column:2;margin-top:15px;padding-top:10px;font-size:9px}.plate-tip{padding:21px;display:grid;grid-template-columns:35px 1fr;column-gap:12px}.plate-tip>svg{grid-row:1/4;margin:2px 0}.plate-tip h3{font-size:20px}.plate-tip p{margin:7px 0}.plate-tip .text-button{grid-column:2;justify-self:start}.footer{display:block;padding-top:25px;font-size:9px}.footer span+span{margin-top:7px}.draft-panel{padding:21px 17px}.draft-header h2{font-size:25px}.food-row{gap:9px}.food-icon{width:32px;height:34px;border-radius:8px;font-size:11px}.food-text strong{font-size:12px}.food-text small{font-size:9px}.food-calories{font-size:13px}.food-row .icon-button{width:30px;min-width:30px}.portion{flex-wrap:wrap}.portion-label{font-size:11px}.segmented button{min-width:37px;padding:7px 9px}.meal-total{padding:17px;gap:10px}.meal-total b{font-size:31px}.meal-total p{font-size:9px}.form-section{padding:22px}.journal-row{padding:17px;gap:10px;flex-wrap:wrap}.journal-row>.food-icon{width:37px;height:37px}.journal-name button{font-size:13px}.journal-name p{font-size:10px}.journal-actions{width:100%;justify-content:flex-end;border-top:1px solid var(--line);padding-top:10px}.journal-actions .icon-button{width:auto;padding:8px 12px;font-size:11px;gap:6px}.journal-actions .icon-button::after{content:attr(data-label)}.journal-total b{font-size:26px}.journal-total .macro-grid{max-width:160px}.journal-total .macro-grid b{font-family:inherit;font-size:11px}.journal-total .macro-grid span{font-size:8px}.journal-heading{align-items:center}.journal-heading h2{font-size:18px}.journal-heading input{max-width:145px;font-size:11px}dialog{padding:23px}#toast{bottom:91px;width:max-content}.field-row{gap:11px}.field label{font-size:11px}.button{font-size:12px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

[hidden]{display:none!important}.brand .wordmark{font-weight:700;letter-spacing:-.9px;white-space:nowrap}.brand .wordmark em{font-style:normal;font-weight:450}

#toast{visibility:hidden}#toast.show{visibility:visible}
