:root{--bg:#f7f6f2;--ink:#17271f;--muted:#829087;--line:#e6e8df;--accent:#c7ef59;--dark:#18332a;--radius:24px;--telegram-safe:env(safe-area-inset-bottom,0px);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--bg)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-size:14px}button,input{font:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}a{color:inherit}#app{max-width:680px;margin:auto;min-height:100svh;padding:0 18px calc(88px + var(--telegram-safe))}.topbar{height:77px;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:9px}.brandmark{display:grid;place-items:center;width:37px;height:37px;background:#19382b;color:#fff;font-weight:850;letter-spacing:-2px;border-radius:12px;font-size:19px}.brandmark span,.brandpoint{color:var(--accent)}.brandtext{font-size:19px;font-weight:850;letter-spacing:-.9px}.avatar{border:1px solid #dfe2d8;background:#fff;border-radius:50%;width:39px;height:39px;color:#244d36;font-size:27px;line-height:0}.hero{padding:27px 3px 32px}.eyebrow,.overline{font-size:10px;letter-spacing:1.7px;font-weight:800;color:#567e60}.live-dot{display:inline-block;width:7px;height:7px;background:#76b98b;border-radius:50%;margin-right:6px}.hero h1{font-size:clamp(37px,9vw,55px);font-weight:800;line-height:1.04;letter-spacing:-2.6px;margin:17px 0}.hero h1 em{color:#648950;font-style:normal}.hero p{font-size:15px;line-height:1.6;color:#67736c;max-width:420px;margin:0}.hero-metrics{display:flex;gap:10px;flex-wrap:wrap;margin-top:23px}.hero-metrics span{background:#e9eee5;color:#3b5747;border-radius:60px;padding:9px 12px;font-size:11px;font-weight:700}.surface{background:#fff;border:1px solid #e9ebe4;border-radius:29px;padding:23px 18px 19px;box-shadow:0 14px 40px #1b321007}.sectionheading{display:flex;justify-content:space-between;align-items:center;gap:12px}.sectionheading h2,.results h2{font-size:25px;letter-spacing:-.8px;margin:8px 0 14px;line-height:1.2}.smalltag{font-size:10px;color:#6c7e6f;background:#f3f5f0;padding:8px 9px;border-radius:10px}.calories{border:1px solid #eff0ea;background:#fafbf7;border-radius:20px;padding:19px 16px 13px}.calories-title{display:flex;align-items:center;gap:11px}.field-icon{width:34px;height:34px;border-radius:12px;background:#dff0bb;color:#315e23;display:grid;place-items:center;font-size:19px}.field-name{display:block;font-size:14px;font-weight:800}.field-hint{display:block;color:#909a91;font-size:11px;margin-top:3px}.primary-number{display:flex;align-items:baseline;gap:7px;padding:14px 0 4px}.number-field{border:0;background:transparent;color:#23342a;padding:0;outline:none;width:70px;font-weight:780;font-size:28px;letter-spacing:-1px;min-width:0}.number-field:focus{border-bottom:2px solid #9cbf65}.number-field.big-number{font-size:54px;width:136px;letter-spacing:-2px}.number-field::-webkit-inner-spin-button,.number-field::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.number-field[type=number]{appearance:textfield;-moz-appearance:textfield}.unit{font-size:14px;color:#7d8c80;font-weight:600}.range{width:100%;appearance:none;-webkit-appearance:none;height:5px;background:#dfe9d8;border-radius:9px;outline:none;margin:17px 0 11px;accent-color:#4e7756}.range::-webkit-slider-thumb{-webkit-appearance:none;width:21px;height:21px;border-radius:50%;background:#244c39;box-shadow:0 2px 8px #254e3e42;border:4px solid white;outline:1px solid #dae3d4}.range::-moz-range-thumb{width:15px;height:15px;background:#244c39;border:4px solid white;border-radius:50%}.range-labels{display:flex;justify-content:space-between;font-size:10px;color:#9da79d}.macro-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:10px}.macro-card{border-radius:18px;padding:15px 11px 7px;background:#eef2fd;min-width:0}.macro-card.protein{background:#f0eefb}.macro-card.fat{background:#fff1dc}.macro-card.carbs{background:#eaf5ee}.macro-symbol{font-size:12px;font-weight:900;border-radius:8px;width:29px;height:29px;display:grid;place-items:center;background:#ffffffab}.macro-name{font-weight:700;margin-top:13px;font-size:12px}.macro-value{display:flex;align-items:baseline;gap:4px;margin-top:5px}.macro-value span{color:#7d887e;font-size:12px}.macro-card .number-field{font-size:27px;width:calc(100% - 16px)}.macro-card .range{margin-top:15px}.energy-check{margin-top:13px;background:#f4f7f0;border-radius:12px;padding:11px;font-size:11px;color:#637c66}.energy-check.warning{background:#fff1e6;color:#ac6238}.preset-head{margin:21px 0 10px;font-size:12px;font-weight:800}.presets{display:flex;flex-wrap:wrap;gap:7px}.chip{background:#f7f8f3;border:1px solid #e7ebe2;color:#57695d;border-radius:13px;padding:10px 11px;font-size:11px;font-weight:700}.chip.active{background:#e4f4c5;color:#29492b;border-color:#d2edaa}.primary-btn,.premium-btn,.secondary-btn{border:0;width:100%;border-radius:15px;min-height:52px;padding:0 18px;font-weight:800;display:flex;justify-content:space-between;align-items:center;font-size:14px}.primary-btn{margin-top:21px;background:#c7ef59;color:#1b341a}.primary-btn span,.premium-btn span,.secondary-btn span{font-size:20px}.primary-btn:active,.premium-btn:active{transform:scale(.99)}.microcopy{text-align:center;color:#9ca59d;font-size:10px;line-height:1.5;margin:12px 0 0}.results{padding:39px 0 18px}.results-heading p{font-size:13px;color:#7c8a7c;margin:2px 0 20px}.results h2{margin:10px 0 7px}.result-list{display:grid;gap:14px}.product-card{display:flex;gap:14px;background:#fff;border:1px solid #eceee8;padding:12px;border-radius:21px;box-shadow:0 9px 35px #233c1209}.product-photo{width:114px;min-width:114px;height:142px;object-fit:contain;border-radius:14px;background:#f7f8f3}.product-body{min-width:0;display:flex;flex-direction:column;flex:1}.product-name{font-size:13px;font-weight:760;line-height:1.35;max-height:54px;overflow:hidden}.product-badge{display:inline-block;background:#e8f5d8;color:#497442;border-radius:7px;padding:5px 7px;font-size:10px;font-weight:800;align-self:start;margin:8px 0}.product-details{font-size:11px;color:#819084;display:flex;gap:8px;flex-wrap:wrap}.product-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:auto;padding-top:8px;gap:7px}.product-price{font-size:18px;font-weight:850;white-space:nowrap}.product-buy{background:#1c3b2e;color:#fff;border-radius:10px;font-size:11px;padding:10px 12px;text-decoration:none;font-weight:800;white-space:nowrap}.macro-strip{display:flex;gap:5px;flex-wrap:wrap;margin-top:9px}.macro-strip span{font-size:10px;background:#f3f5f0;padding:5px 6px;border-radius:5px;color:#607062}.product-delta{font-size:10px;margin-top:8px;color:#728277}.secondary-btn{border:1px solid #dfe5d9;background:#fff;color:#284434;margin-top:15px}.empty{background:#fff;border:1px solid #e9ebe4;border-radius:23px;padding:25px;text-align:center}.empty-icon{font-size:48px;color:#a4cb89}.empty h3{font-size:20px;margin:6px 0}.empty p{color:#89958b;font-size:13px;line-height:1.6}.result-notice{font-size:11px;color:#8b998d;text-align:center;margin:16px}.membership{border-radius:28px;margin-top:37px;background:#19372c;color:#fff;padding:25px 22px 23px;overflow:hidden}.membership-head{display:flex;justify-content:space-between}.overline.light{color:#a5cba0}.membership h2{font-size:33px;letter-spacing:-1.5px;line-height:1.05;margin:11px 0}.membership h2 em{color:#d3f38e;font-style:normal}.star-shape{font-size:74px;line-height:1;color:#d3f38e}.membership>p{line-height:1.65;color:#b4c8b9;font-size:13px;max-width:470px}.price-row{display:flex;gap:12px;align-items:center;justify-content:space-between;margin:25px 0 14px;border-top:1px solid #ffffff22;padding-top:20px}.price-row strong{font-size:27px;letter-spacing:-1px;display:block}.price-row span{display:block;font-size:11px;color:#b1c0b4}.free-detail{font-size:11px;color:#d0e4c0;text-align:right;max-width:130px}.premium-btn{background:#d5ef91;color:#254025}.membership .legal-text{font-size:10px;line-height:1.55;color:#9db2a3}.membership .smallstatus{font-size:11px;color:#e2f1df}footer{display:flex;justify-content:space-between;color:#a0aaa2;font-size:10px;margin:28px 2px 12px}.bottom-nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(680px,100%);background:#ffffffed;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);display:flex;justify-content:space-around;border-top:1px solid #e9ece5;padding:9px 10px calc(9px + var(--telegram-safe));z-index:3}.tab{background:none;border:0;color:#919d94;display:flex;flex-direction:column;align-items:center;gap:4px;font-size:10px;font-weight:700;flex:1}.tab span{font-size:20px}.tab.selected{color:#285c37}#toast{position:fixed;z-index:10;bottom:calc(90px + var(--telegram-safe));left:50%;transform:translateX(-50%);background:#24372d;color:#fff;border-radius:13px;padding:13px 18px;box-shadow:0 10px 30px #0004;min-width:220px;text-align:center;font-size:12px;max-width:calc(100% - 24px)}[hidden]{display:none!important}@media(min-width:560px){.surface{padding:28px}.macro-grid{gap:14px}.macro-card{padding:18px}.product-photo{width:160px;min-width:160px}.product-card{padding:15px}.product-name{font-size:16px}.product-price{font-size:22px}}@media(max-width:355px){#app{padding-left:12px;padding-right:12px}.macro-grid{gap:5px}.macro-card{padding:12px 7px 5px}.macro-name{font-size:10px}.product-photo{width:94px;min-width:94px}.product-buy{padding:9px 7px}}

.portion-controls{display:grid;gap:12px;margin:20px 0}.portion-controls label{display:grid;gap:6px;font-size:14px}.portion-controls input,.portion-controls select{width:100%;box-sizing:border-box;border:1px solid #dce4da;border-radius:14px;padding:12px;background:#f8faf6;color:#20392b}.product-explanation{font-size:12px;line-height:1.5;margin:12px 0}.product-explanation summary{cursor:pointer;font-weight:600}

#loginForm{display:grid;gap:14px}#loginForm label,#receiptLabel{display:grid;gap:8px}#webAccount input,#receiptEmail{box-sizing:border-box;width:100%;padding:14px;border:1px solid #dce4da;border-radius:14px;font:inherit}#externalSite{display:block;text-align:center;text-decoration:none}#externalSite[hidden],#receiptLabel[hidden]{display:none}
