@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Manrope:wght@400;500;600;650;700;750;800&display=swap');
:root{--bg:#f8f9f5;--paper:#fff;--ink:#223e34;--muted:#65746c;--line:#dfe5dc;--green:#28734a;--green-bg:#e6f1e6;--yellow:#806206;--yellow-bg:#fbf2cb;--orange:#a34c16;--orange-bg:#ffead8;--red:#aa3d3f;--red-bg:#fae7e6;--gray:#6c7377;--gray-bg:#edf0ef;font-family:'DM Sans',sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:24px}body{margin:0;font-size:14px}a{color:inherit}button,input,select{font:inherit}button,a,input,select,summary{-webkit-tap-highlight-color:transparent}button,select,summary{cursor:pointer}button{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #638a77;outline-offset:3px}button:disabled{cursor:default;opacity:.4}.header{max-width:1400px;margin:auto;padding:26px 52px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{text-decoration:none;display:flex;align-items:center;font-family:Manrope,sans-serif;font-size:22px;font-weight:800;letter-spacing:-.8px}.brand-light{font-weight:500}.brandmark{width:36px;height:36px;background:var(--ink);color:#fff;border-radius:50%;display:grid;place-items:center;margin-right:10px}.brandmark svg{width:25px}.header nav{display:flex;gap:30px;align-items:center}.header nav a{font-size:13px;text-decoration:none}.download{border:1px solid #b9c8bb;padding:10px 15px;border-radius:7px}.download span{margin-left:12px}main{max-width:1400px;padding:0 52px;margin:auto}.intro{display:flex;justify-content:space-between;align-items:center;padding:48px 0 28px}.eyebrow{font-size:10px;font-weight:700;letter-spacing:1.6px;color:#6a796d}h1,h2,h3{font-family:Manrope,sans-serif}h1{font-size:52px;line-height:1.08;letter-spacing:-2.3px;margin:13px 0 17px;font-weight:750}.intro p{font-size:16px;line-height:1.65;color:var(--muted);margin:0}.dataset-stamp{text-align:right;display:flex;flex-direction:column;gap:7px;padding-left:22px}.dataset-stamp strong{font-family:Manrope,sans-serif;font-size:42px;letter-spacing:-1.8px;font-weight:650}.dataset-stamp span{font-size:12px;font-weight:550}.dataset-stamp small{font-size:11px;color:var(--muted)}.notice{display:flex;gap:13px;align-items:center;background:#edf2e9;border:1px solid #dce6d6;border-radius:9px;padding:13px 17px;margin-bottom:30px;color:#51644f}.notice p{margin:0;font-size:12px;line-height:1.7}.notice strong{font-weight:650}.info-symbol{font:600 13px Georgia,serif;flex:0 0 19px;width:19px;height:19px;border:1px solid #8ca286;border-radius:50%;text-align:center;line-height:18px}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:28px;align-items:start}.catalog{min-width:0}.searchbox{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid #b9cbbb;box-shadow:0 2px 6px #233f3410;border-radius:10px;padding:0 16px;height:54px}.searchbox svg{width:22px;flex-shrink:0;color:#637a6b}.searchbox input{width:100%;border:0;background:transparent;outline:none;font-size:14px;color:var(--ink);height:100%}.searchbox input::placeholder{color:#7b877f}.searchbox:focus-within{outline:2px solid #638a77;outline-offset:2px}.searchbox kbd{border:1px solid #e0e5df;border-radius:4px;padding:2px 6px;color:#829084;font-size:12px}.filters{display:flex;align-items:end;gap:12px;margin:17px 0 21px}.filters>div{flex:1;min-width:0}.filters label{font-size:10px;font-weight:600;display:block;color:var(--muted);margin-bottom:6px}.filters select{width:100%}select{padding:9px 27px 9px 10px;border:1px solid var(--line);border-radius:6px;background:#fff;color:#4b6053;font-size:12px;min-height:36px;max-width:100%}.text-button{border:0;background:transparent;text-decoration:underline;text-underline-offset:3px;white-space:nowrap;font-size:11px;padding:10px 0;color:var(--muted)}.level-filters{display:grid;grid-template-columns:repeat(5,1fr);gap:8px}.level-button{display:flex;flex-direction:column;align-items:start;gap:6px;border:1px solid transparent;border-radius:8px;padding:12px 11px;background:var(--tone-bg);color:var(--tone);text-align:left;min-width:0}.level-button:hover{filter:brightness(.97)}.level-button[aria-pressed=true]{outline:2px solid var(--tone);outline-offset:2px}.level-button .level-label{font-size:11px;font-weight:650;display:flex;align-items:center;gap:5px;white-space:nowrap}.level-button strong{font-family:Manrope,sans-serif;font-size:23px;font-weight:650;letter-spacing:-.5px}.level-button small{font-size:10px;opacity:.85}.green{--tone:var(--green);--tone-bg:var(--green-bg)}.yellow{--tone:var(--yellow);--tone-bg:var(--yellow-bg)}.orange{--tone:var(--orange);--tone-bg:var(--orange-bg)}.red{--tone:var(--red);--tone-bg:var(--red-bg)}.gray{--tone:var(--gray);--tone-bg:var(--gray-bg)}.dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--tone);flex-shrink:0}.result-top{display:flex;justify-content:space-between;align-items:center;margin:23px 0 12px;gap:10px}.result-top p{font-size:12px;color:var(--muted);margin:0}.result-top p strong{color:var(--ink)}.result-top select{border:none;background:transparent;padding-right:0;font-size:11px}.table-shell{background:#fff;border:1px solid var(--line);border-radius:10px;overflow:hidden;scroll-margin-top:20px}table{border-collapse:collapse;width:100%;table-layout:fixed}th{text-align:left;font-size:10px;font-weight:600;color:#6d796f;background:#f0f3ed;padding:13px 18px;border-bottom:1px solid var(--line)}th:first-child{width:51%}th:nth-child(2){width:20%;text-align:right}th:nth-child(3){width:29%}th span{display:block;font-weight:400;font-size:9px;margin-top:2px}td{padding:14px 18px;border-bottom:1px solid #eef0ec;vertical-align:middle}tr:last-child td{border-bottom:0}.food-name{background:none;border:0;padding:0;text-align:left;font-weight:550;font-size:13px;line-height:1.5;color:#2a4638}.food-name:hover{text-decoration:underline;text-underline-offset:3px}.food-sub{display:block;font-size:10px;color:#869087;line-height:1.5;margin-top:4px}.amount{text-align:right;font-variant-numeric:tabular-nums;font-size:17px;font-weight:600;letter-spacing:-.3px}.amount.unknown{font-size:13px;font-weight:400;color:#879087}.level-badge{font-size:10px;font-weight:600;white-space:nowrap;background:var(--tone-bg);color:var(--tone);padding:5px 8px;border-radius:5px;display:inline-flex;gap:6px;align-items:center}.evidence{font-size:9px;line-height:1.5;color:#78847b;display:block;margin-top:6px}.food-row:hover{background:#fbfcf9}.detail-row td{background:#f5f7f2;padding:17px 22px;font-size:12px;line-height:1.7;color:#5e6d61}.detail-row p{margin:0 0 7px}.detail-row p:last-child{margin:0}.detail-row .reference{font-size:11px;overflow-wrap:anywhere}.detail-row strong{color:#354c3d}.pagination{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:17px 0;font-size:11px;color:var(--muted)}.pagination>div{display:flex;align-items:center;gap:13px}.pagination button{border:1px solid var(--line);background:#fff;border-radius:6px;width:32px;height:30px}.pagination p{margin:0}.settings{background:#fff;border:1px solid var(--line);border-radius:12px;padding:22px;position:sticky;top:20px}.settings-top{display:flex;justify-content:space-between;align-items:center}.adjust-icon{font-size:21px;color:#6e8272;transform:rotate(90deg)}.settings h2{font-size:21px;letter-spacing:-.6px;margin:10px 0}.settings-intro{font-size:11px;line-height:1.7;color:var(--muted);margin:0 0 23px}.threshold{padding:0 0 18px;margin-bottom:12px;border-bottom:1px solid #eef0eb}.threshold-title{display:flex;align-items:center;justify-content:space-between;gap:5px}.threshold-title label{font-size:11px;display:flex;align-items:center;gap:7px;font-weight:550}.number-wrap{border:1px solid #dfe5dc;border-radius:5px;padding:6px 6px 6px 7px;display:flex;align-items:center;gap:2px}.number-wrap input{width:52px;border:0;outline:none;padding:0;font-size:12px;font-weight:600;color:var(--ink);background:transparent;font-variant-numeric:tabular-nums}.number-wrap:focus-within{outline:2px solid #638a77}.number-wrap span{font-size:10px;color:#8a968c}input[type=range]{width:100%;accent-color:#537c61;cursor:pointer;margin:16px 0 4px;height:16px}.threshold p{font-size:10px;color:#7c887e;margin:4px 0 0}.legend{display:flex;flex-direction:column;gap:10px;margin:20px 0}.legend-row{display:flex;justify-content:space-between;align-items:center;font-size:11px;gap:9px}.legend-row>span:first-child{display:flex;align-items:center;gap:7px}.legend-row>span:last-child{font-variant-numeric:tabular-nums;color:var(--muted);font-size:10px}.secondary-button{background:#f5f7f1;border:1px solid #dce4d8;border-radius:6px;padding:10px 14px;font-size:11px;font-weight:550}.secondary-button:hover{background:#eaf0e5}.reset-limits{width:100%;margin:2px 0 10px}.save-status{font-size:9px;text-align:center;color:#7f8a80;line-height:1.5;margin:0}.threshold-about{border-top:1px solid var(--line);margin-top:20px;padding-top:16px;font-size:10px;color:var(--muted);line-height:1.8}.threshold-about summary{color:#4c6253;font-weight:550}.threshold-about p{margin-bottom:0}.empty{text-align:center;padding:55px 25px;color:var(--muted)}.empty strong{font-size:17px;color:var(--ink)}.empty p{font-size:13px;line-height:1.6}.method{margin-top:55px;border-top:1px solid #dce3d7;padding:40px 0}.method h2{font-size:28px;letter-spacing:-.9px;margin:12px 0}.method-lead{color:var(--muted);max-width:630px;font-size:13px;line-height:1.8}.method-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:36px;margin-top:30px}.method-number{font-size:11px;color:#8a9a87}.method-grid h3{font-size:15px;letter-spacing:-.3px;margin:12px 0}.method-grid p{font-size:12px;color:var(--muted);line-height:1.85}.source-details{margin-top:25px;border-top:1px solid var(--line);padding-top:20px;line-height:1.8;font-size:12px;color:var(--muted)}.source-details summary{font-weight:550;color:var(--ink)}.source-details>div{max-width:940px}footer{max-width:1400px;margin:auto;border-top:1px solid var(--line);padding:22px 52px 32px;display:flex;justify-content:space-between;gap:20px;font-size:10px;color:#80907f}.brand-small{font-weight:700;color:#48624e}footer a{text-decoration:none}.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}.skip{position:fixed;top:-100px;left:15px;background:#fff;padding:12px;z-index:99}.skip:focus{top:15px}[hidden]{display:none!important}
@media(min-width:1500px){.header,main,footer{max-width:1460px}.workspace{grid-template-columns:minmax(0,1fr) 310px;gap:36px}.settings{padding:26px}.level-button{padding:15px}}
@media(max-width:1100px){.header{padding:22px 28px}main{padding:0 28px}.workspace{grid-template-columns:minmax(0,1fr) 260px;gap:20px}.settings{padding:18px}.level-button{padding:10px 7px}.level-button .level-label{font-size:10px}.level-button small{font-size:9px}.filters{flex-wrap:wrap}.filters .text-button{width:100%;text-align:right;padding:0;margin-top:1px}.filters>div{min-width:40%}td,th{padding-left:12px;padding-right:12px}th:first-child{width:47%}th:nth-child(3){width:33%}footer{padding-left:28px;padding-right:28px}}
@media(max-width:800px){.header{padding:18px 20px}.brand{font-size:19px}.brandmark{width:31px;height:31px}.header nav{gap:15px}.header nav a{font-size:11px}.download{padding:8px 10px}.header nav a:first-child{display:none}main{padding:0 20px}.intro{padding:32px 0 24px}h1{font-size:42px}.intro p{font-size:14px}.dataset-stamp strong{font-size:32px}.dataset-stamp span{font-size:10px;max-width:130px}.dataset-stamp small{display:none}.notice{margin-bottom:22px}.notice p{font-size:11px}.workspace{display:flex;flex-direction:column;gap:22px}.settings{position:static;order:-1;width:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 18px;padding:20px}.settings-top,.settings h2,.settings-intro,.legend,.reset-limits,.save-status,.threshold-about{grid-column:1/-1}.settings-top{display:none}.settings h2{margin-top:0;font-size:18px}.settings-intro{margin-bottom:15px}.settings-intro br{display:none}.threshold{margin-bottom:0;padding-bottom:13px}.threshold-title{align-items:flex-start;flex-direction:column;gap:8px}.number-wrap{width:100%}.number-wrap input{flex:1;min-width:0;width:50px}.threshold-title label{font-size:10px}.legend{display:grid;grid-template-columns:1fr 1fr;gap:10px 16px;margin:15px 0}.legend-row{font-size:10px}.legend-row>span:last-child{font-size:9px}.legend .gray{grid-column:1/-1}.reset-limits{margin-bottom:8px}.threshold-about{margin-top:12px;padding-top:10px}.catalog{width:100%}.method{margin-top:30px}.method-grid{gap:20px}.method-grid h3{font-size:13px}.method-grid p{font-size:11px}.level-button{padding:12px 10px}.level-button strong{font-size:24px}.level-button .level-label{font-size:11px}footer{padding:20px;flex-wrap:wrap}}
@media(max-width:480px){.header nav .download{font-size:10px;padding:7px}.download span{margin-left:5px}.brand{font-size:17px}.brandmark{margin-right:7px;width:28px;height:28px}.intro{align-items:start}.dataset-stamp{padding:15px 0 0 10px}.dataset-stamp strong{font-size:26px}.dataset-stamp span{font-size:9px;max-width:90px}h1{font-size:37px;letter-spacing:-1.7px}.intro p{font-size:12px}.eyebrow{font-size:8px}.notice{padding:12px}.notice p{font-size:10px}.settings{gap:0 10px;padding:16px}.threshold-title label{font-size:9px}.level-filters{gap:5px}.level-button{padding:10px 6px}.level-button .level-label{font-size:9px;gap:3px}.level-button strong{font-size:21px}.level-button small{font-size:8px}.level-button .dot{width:5px;height:5px}.legend-row{gap:5px}.legend-row>span:last-child{font-size:8px}.searchbox{padding:0 12px}.searchbox input{font-size:12px}.searchbox kbd{display:none}.filters select{font-size:11px}.result-top{margin-top:20px}.result-top p{font-size:10px}.result-top select{font-size:10px}td,th{padding:12px 8px}th{font-size:9px}th:first-child{width:46%}th:nth-child(2){width:18%}th:nth-child(3){width:36%}.food-name{font-size:11px}.food-sub{font-size:8px}.amount{font-size:14px}.level-badge{font-size:9px;padding:4px 6px}.evidence{font-size:8px}.method-grid{grid-template-columns:1fr;gap:15px}.method h2{font-size:25px}.method-grid h3{font-size:15px}.method-grid p{font-size:12px}.pagination{font-size:10px}.pagination>div{gap:9px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
/* Separate nutrient views and diet presets */
.intro h1{font-size:46px;max-width:690px}.view-controls{display:flex;align-items:center;flex-wrap:wrap;gap:16px 24px;margin:0 0 25px}.nutrient-switch{display:flex;gap:5px;padding:5px;background:#e9efe5;border-radius:12px}.nutrient-switch button{border:1px solid transparent;background:transparent;border-radius:8px;padding:10px 25px;text-align:left;font-size:17px;font-weight:650;min-width:125px}.nutrient-switch button span{display:block;font-size:10px;font-weight:400;margin-top:2px}.nutrient-switch button[aria-pressed=true]{background:#234b3d;color:#fff;box-shadow:0 2px 4px #223e3420}.view-controls>p{flex:1;min-width:220px;font-size:11px;line-height:1.8;color:var(--muted);margin:0}.portion-control label{display:block;font-size:10px;font-weight:600;margin-bottom:6px;color:var(--muted)}.portion-control>div{display:flex;align-items:center;gap:6px}.portion-control input{width:83px;border:1px solid var(--line);border-radius:6px;padding:9px;color:var(--ink);background:#fff}.portion-control span{font-size:12px}.diet-controls{display:flex;align-items:end;flex-wrap:wrap;gap:12px 20px;padding:16px;background:#eef3eb;border-radius:9px;margin-top:15px}.diet-controls>div{min-width:175px;flex:1}.diet-controls>div>label{display:block;font-size:10px;font-weight:600;margin-bottom:6px;color:var(--muted)}.diet-controls select{width:100%}.diet-controls>label{display:flex;align-items:center;gap:6px;font-size:11px;flex:1;min-width:170px;line-height:1.5;padding-bottom:7px}.diet-controls input{accent-color:var(--ink)}.diet-controls p{flex-basis:100%;margin:0;font-size:10px;line-height:1.7;color:var(--muted)}.portion-value{display:block;font-size:10px;line-height:1.5;font-weight:400;letter-spacing:0;color:var(--muted);margin-top:5px}.diet-check{display:inline-block;font-size:9px;background:#faf1d5;color:#70570a;padding:3px 6px;border-radius:4px;margin-top:5px}.amount-head b{font-weight:600}.settings h2{font-size:20px}
@media(max-width:800px){.intro h1{font-size:36px}.view-controls{gap:12px 18px}.view-controls>p{flex-basis:100%;min-width:0}.settings{order:0}.catalog{order:1}.portion-value{font-size:9px}.settings-intro{line-height:1.8}.diet-controls>div{min-width:150px}}
@media(max-width:480px){.intro h1{font-size:31px;max-width:250px}.nutrient-switch button{padding:9px 16px;min-width:100px;font-size:15px}.portion-control input{width:69px}.view-controls{gap:12px}.diet-controls{padding:12px}.portion-value{font-size:8px}th:nth-child(2){width:24%}th:first-child{width:43%}th:nth-child(3){width:33%}}
