:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#202d27;background:#fafbf8;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;font-size:18px;line-height:1.55}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,summary{cursor:pointer}button,a,summary,input,textarea{-webkit-tap-highlight-color:transparent}a{color:#205b43;text-underline-offset:4px}button,summary{min-height:48px}button:disabled{cursor:wait;opacity:.7}:focus-visible{outline:3px solid #24634b;outline-offset:4px}h1,h2,h3,h4,p{margin:0}h1,h2,h3,h4{line-height:1.25}h2[tabindex="-1"]:focus{outline:none}.app-shell{max-width:1100px;margin:auto;padding:0 32px}.site-header{display:flex;align-items:center;justify-content:space-between;padding:22px 0;border-bottom:1px solid #dce3db}.wordmark{font-size:2.2rem;font-weight:800;letter-spacing:-3px;color:#202d27;text-decoration:none;line-height:1.1}.wordmark span{color:#24634b}.header-note{font-size:.88rem;color:#536157}main{max-width:880px;margin:auto}.intro{padding:32px 0 20px}h1{font-size:clamp(2rem,4.5vw,2.9rem);font-weight:600;letter-spacing:-.05em;line-height:1.1}.intro-copy{color:#536157;margin-top:12px;max-width:650px}.analyzer{background:#fff;border:1px solid #dce3db;border-radius:14px;padding:24px;box-shadow:0 4px 18px #203d2708}.input-label{display:block;font-weight:650;margin-bottom:8px}textarea{display:block;width:100%;border:1px solid #9ba99e;border-radius:9px;padding:12px;min-height:88px;resize:vertical;background:#fff;color:#202d27}textarea::placeholder{color:#657269;opacity:1}.input-help{font-size:.89rem;color:#536157;margin:10px 0 14px}.primary-button{width:100%;border:1px solid #24634b;border-radius:9px;background:#24634b;color:#fff;font-weight:650;padding:12px 18px;display:flex;align-items:center;justify-content:center;gap:12px}.primary-button:hover:not(:disabled){background:#194b38}.examples{display:flex;flex-wrap:wrap;gap:6px 12px;align-items:center;margin-top:16px}.examples>p{font-size:.89rem;color:#536157}.example-list{display:flex;flex-wrap:wrap;gap:8px}.example-button{text-align:left;font-size:.89rem;border:1px solid #d2ded3;border-radius:7px;color:#2c5540;background:#f4f7f1;padding:8px 12px}.example-button:hover{background:#e6eee2}.empty-hint{font-size:.89rem;text-align:center;color:#536157;padding:16px 0 0}.loading-note{color:#536157;font-size:.89rem;margin-top:12px}.results,.feedback{margin-top:24px;border:1px solid #dce3db;border-radius:14px;background:#fff;padding:24px;scroll-margin-top:20px}h2{font-size:1.45rem;font-weight:650;letter-spacing:-.025em;overflow-wrap:anywhere}h3{font-size:1.06rem;font-weight:650}h4{font-size:1rem;font-weight:650;overflow-wrap:anywhere}.result-label{color:#536157;font-size:.89rem;margin-bottom:6px}.calorie-total{margin:20px 0 0;padding:18px 20px;background:#edf3e9;border-radius:10px}.calorie-total dt{font-size:.94rem;color:#34583c}.calorie-total dd{margin:4px 0 0;font-size:clamp(2.5rem,6vw,3.5rem);font-weight:650;line-height:1.15;letter-spacing:-.04em;overflow-wrap:anywhere}.calorie-total dd span{font-size:1rem;letter-spacing:normal;font-weight:400}.macros{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0 24px}.macros>div{border-right:1px solid #dce3db;padding-right:8px}.macros>div:last-child{border:0}.macros dt{font-size:.94rem;color:#536157}.macros dd{font-size:1.5rem;font-weight:650;margin:3px 0 0;overflow-wrap:anywhere}.macros dd span{font-size:.89rem;font-weight:400}.food-breakdown,.portion-list{list-style:none;padding:0;margin:0}.food-breakdown>li{padding:16px 0;border-bottom:1px solid #e3e8e2}.food-row{display:flex;justify-content:space-between;align-items:baseline;gap:12px}.food-row>div{min-width:0}.food-row>div>p{font-size:.89rem;color:#536157;margin-top:4px;overflow-wrap:anywhere}.food-calories{font-size:.89rem;color:#536157;flex-shrink:0}.food-calories strong{color:#202d27;font-size:1.05rem}.food-macros{display:flex;flex-wrap:wrap;gap:6px 16px;font-size:.89rem;margin:10px 0 0;color:#536157}.food-macros>div{display:flex;gap:5px}.food-macros dd{margin:0;color:#202d27}.meal-summary{padding:20px 0}.meal-summary p{color:#536157;margin-top:8px}.portions-panel,.sources{border-top:1px solid #dce3db}summary{padding:12px 0;color:#205b43;font-weight:600}details>p{margin:4px 0 12px;color:#536157}.portion-item{padding:20px 0;border-bottom:1px solid #e3e8e2}.portion-item:last-child{border:0}.serving-form{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;align-items:end;gap:10px;margin-top:12px}.serving-form>div{min-width:0}.serving-form label,.gram-form label{display:block;font-size:.89rem;margin-bottom:6px}input,select{min-height:48px;border:1px solid #9ba99e;border-radius:7px;padding:8px 10px;color:#202d27;background:#fff;min-width:0}.serving-form input,.serving-form select{width:100%}.serving-hint,.field-error{grid-column:1 / -1;font-size:.89rem}.serving-hint,.gram-form>p{color:#536157;font-size:.89rem}.field-error{color:#9a301c}.advanced-portions{margin-top:8px}.advanced-portions summary{font-size:.89rem;font-weight:400}.portion-controls{display:flex;gap:8px;margin-bottom:8px}.portion-controls input{width:140px}.secondary-button{background:#fff;color:#205b43;border:1px solid #8ca795;border-radius:7px;padding:8px 14px;font-size:.94rem;font-weight:600}.secondary-button:hover{background:#edf3e9}.text-button{color:#205b43;background:transparent;border:0;padding:8px 0;text-decoration:underline;text-underline-offset:4px;font-size:.94rem}.food-correction label,.match-correction label{display:block;margin:10px 0 6px;font-weight:600}.food-correction input,.match-correction select{width:100%}.food-correction p{font-size:.89rem;color:#536157;margin:8px 0}.food-correction ul{list-style:none;padding:0}.choice-button{text-align:left;width:100%;padding:10px 12px;margin:4px 0;background:#f4f7f1;color:#205b43;border:1px solid #d2ded3;border-radius:7px;overflow-wrap:anywhere;font-size:.94rem}.match-correction{margin:16px 0}.highlighted-meal{padding:14px;margin:14px 0;border:1px solid #c5cdc2;border-radius:8px;background:#fafbf8}.highlighted-meal>p:first-child{font-size:.89rem;color:#536157}.highlighted-meal .meal-preview{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.meal-preview mark{background:#fff0bd;color:#3e3517;border-bottom:2px solid #7a600c;font-weight:650}.match-correction .issue-label{font-size:.89rem;font-weight:650;margin-bottom:4px;color:#205b43}.choice-sources{font-size:.89rem}.choice-sources p{overflow-wrap:anywhere}.choice-sources summary{font-weight:400}.recognition-note{font-size:.89rem;color:#536157;margin-top:8px}.match-correction select{font-size:.94rem}.sources{margin-top:4px}.sources p,.sources li,.sources a{font-size:.89rem;color:#536157;overflow-wrap:anywhere}.sources ul{padding-left:20px}.sources li{margin-bottom:14px}.sources a{color:#205b43;display:inline-block;padding:8px 0}.fine-print{color:#536157;font-size:.89rem;margin-top:12px}.feedback h2{margin-bottom:12px}.feedback p{margin-bottom:14px;overflow-wrap:anywhere}.feedback li{overflow-wrap:anywhere}.coverage{margin:20px 0 28px;font-size:.94rem}footer{display:flex;gap:16px;align-items:center;border-top:1px solid #dce3db;padding:20px 0 28px;color:#536157}footer p{font-size:.89rem}.footer-wordmark{font-weight:750;font-size:1.2rem;color:#24634b;letter-spacing:-1px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(min-width:900px){.analyzer{padding:28px}.results{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);column-gap:32px;padding:28px}.results-overview{grid-column:1;grid-row:1}.breakdown{grid-column:2;grid-row:1;padding-left:28px;border-left:1px solid #dce3db}.meal-summary,.portions-panel,.sources,.results>.fine-print{grid-column:1 / -1}.meal-summary{margin-top:12px}}@media(max-width:600px){.app-shell{padding:0 16px}.site-header{padding:16px 0}.wordmark{font-size:1.9rem}.header-note{font-size:.8rem;max-width:170px;text-align:right}.intro{padding:20px 0 16px}.intro-copy{margin-top:10px}.analyzer,.results,.feedback{padding:18px;border-radius:12px}.example-list{flex-direction:column;align-items:flex-start}.example-button{padding:8px 10px}.calorie-total{padding:16px}.serving-form{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr)}.serving-form>button{grid-column:1 / -1}.food-row{align-items:flex-start}.food-calories{text-align:right;max-width:100px}.food-macros{gap:4px 12px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important}}
