:root{--green: #1b5e3b;--green-2: #2e7d4f;--mint: #e8f5ee;--ink: #17251d;--muted: #5b6b62;--line: #d7e3dc;--bg: #f4f8f5;--card: #ffffff;--red: #b3261e;--red-soft: #fdecea;--amber: #8a5a00;--amber-soft: #fff4d6;--ok-soft: #e6f4ea;font-size:16px}:root.big-text{font-size:20px}*{box-sizing:border-box}html,body{margin:0}body{background:var(--bg);color:var(--ink);font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;line-height:1.5;-webkit-text-size-adjust:100%}img{max-width:100%}a{color:var(--green)}h1,h2,h3{line-height:1.25;margin:0 0 8px}h1{font-size:1.6rem}h2{font-size:1.25rem}h3{font-size:1.08rem;margin-top:4px}p{margin:0 0 8px}.app{max-width:640px;margin:0 auto;padding-bottom:40px}main{padding:12px 16px;display:flex;flex-direction:column;gap:12px}.top{position:sticky;top:0;z-index:5;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px 16px;background:var(--green);color:#fff}.brand{display:flex;align-items:center;gap:10px;background:none;border:0;color:#fff;font:inherit;font-weight:800;font-size:1.05rem;cursor:pointer;padding:0;text-align:left}.logo{display:inline-grid;place-items:center;width:30px;height:30px;border-radius:8px;background:#fff;color:var(--green);font-weight:900;flex:none}.card{background:var(--card);border:1px solid var(--line);border-radius:16px;padding:16px}.hero{background:linear-gradient(180deg,var(--mint),#fff 70%)}.center{text-align:center}.muted{color:var(--muted)}.small{font-size:.85rem}.row-between{display:flex;justify-content:space-between;align-items:baseline;gap:12px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}button{font:inherit;cursor:pointer}button:disabled{opacity:.55;cursor:not-allowed}.btn-primary,.btn-secondary{border-radius:12px;padding:12px 18px;font-weight:700;border:2px solid var(--green);min-height:48px}.btn-primary{background:var(--green);color:#fff}.btn-primary:hover:not(:disabled){background:var(--green-2)}.btn-secondary{background:#fff;color:var(--green)}.btn-primary.big{width:100%;font-size:1.15rem;padding:16px;margin:8px 0 14px;display:flex;justify-content:center;gap:10px;align-items:center}.btn-primary.wide{width:100%}.link{background:none;border:0;color:var(--green);text-decoration:underline;font-weight:700;padding:6px 0}.link.light{color:#fff}.button-row{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin-top:8px}.label{display:block;font-weight:700;margin-bottom:6px}input[type=text],input[type=email],input[type=password],input:not([type]),textarea{width:100%;font:inherit;color:var(--ink);background:#fff;border:2px solid var(--line);border-radius:12px;padding:12px;min-height:48px}input:focus,textarea:focus{outline:3px solid #9fd4b6;border-color:var(--green)}.inline{display:flex;gap:8px}.inline input{flex:1;min-width:0}.manual{display:flex;flex-direction:column;gap:8px}.manual button{align-self:flex-start}.account .chips{margin-bottom:8px}.chips{display:flex;flex-wrap:wrap;gap:8px;margin:4px 0 12px}.chip{border:2px solid var(--line);background:#fff;color:var(--ink);border-radius:999px;padding:8px 14px;font-weight:600;min-height:44px}.chip.on{border-color:var(--green);background:var(--mint);color:var(--green)}.chip.static{min-height:0;padding:4px 12px;font-size:.9rem}.toggle{display:flex;gap:12px;align-items:center;margin:4px 0 16px;font-weight:600}.toggle input{width:24px;height:24px;accent-color:var(--green);flex:none}.settings h3{margin-top:12px}.scanner{display:flex;flex-direction:column;gap:10px}.scanner-view{position:relative;border-radius:14px;overflow:hidden;background:#000;aspect-ratio:4 / 3}.scanner-view video{width:100%;height:100%;object-fit:cover;display:block}.scanner-frame{position:absolute;left:10%;right:10%;top:30%;bottom:30%;border:3px solid #7ee2a8;border-radius:12px;box-shadow:0 0 0 999px #00000059}.scanner-hint{position:absolute;inset:auto 0 12px;color:#fff;text-align:center;margin:0}.scanner .btn-secondary{align-self:center}.spinner{width:40px;height:40px;margin:8px auto 12px;border-radius:50%;border:4px solid var(--mint);border-top-color:var(--green);animation:spin .9s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.error{color:var(--red);background:var(--red-soft);border-radius:10px;padding:10px 12px;margin:8px 0 0}.history{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}.history button{width:100%;display:flex;gap:10px;align-items:center;text-align:left;background:#fff;border:1px solid var(--line);border-radius:12px;padding:10px 12px;color:var(--ink)}.history .h-name{display:flex;flex-direction:column;font-weight:600}.result{display:flex;flex-direction:column;gap:12px}.product-head{display:flex;gap:14px;align-items:center}.product-img{width:84px;height:84px;object-fit:contain;border-radius:10px;background:#fff;border:1px solid var(--line);flex:none}.verdict{border-width:2px}.verdict-title{font-size:1.2rem;font-weight:800;margin-bottom:4px}.verdict-red{background:var(--red-soft);border-color:var(--red)}.verdict-amber{background:var(--amber-soft);border-color:#e0a800}.verdict-green{background:var(--ok-soft);border-color:var(--green-2)}.verdict-unknown{background:#f1f3f2;border-color:var(--line)}.alert-allergen{border:2px solid var(--red)}.plain{margin:0;padding-left:20px}.plain li{margin-bottom:4px}.flags{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}.flag{border:1px solid var(--line);border-left-width:6px;border-radius:12px;padding:12px}.flag-removed{border-left-color:var(--red)}.flag-restricted{border-left-color:#d9480f}.flag-phaseout{border-left-color:#e0a800}.flag-review{border-left-color:#6c7a72}.flag-head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:4px}.badge{border-radius:999px;padding:2px 10px;font-size:.78rem;font-weight:800;white-space:nowrap}.badge-removed{background:var(--red);color:#fff}.badge-restricted{background:#ffe3d3;color:#8a2c00}.badge-phaseout{background:var(--amber-soft);color:var(--amber)}.badge-review{background:#eceff1;color:#37474f}.sources{margin:0;overflow-wrap:anywhere}.scores{display:flex;gap:24px;flex-wrap:wrap;margin-bottom:10px}.scores>div{display:flex;flex-direction:column;gap:4px}.nutri{display:inline-grid;place-items:center;width:36px;height:36px;border-radius:8px;color:#fff;font-weight:900}.nutri-a{background:#038141}.nutri-b{background:#85bb2f}.nutri-c{background:#e6a700}.nutri-d{background:#ee8100}.nutri-e{background:#e63e11}table{border-collapse:collapse;width:100%}.nutrition th,.nutrition td{padding:8px 4px;border-top:1px solid var(--line);text-align:left;vertical-align:middle}.level{border-radius:999px;padding:2px 10px;font-size:.8rem;font-weight:800;text-transform:capitalize}.level-low{background:var(--ok-soft);color:#1d6b3a}.level-medium{background:var(--amber-soft);color:var(--amber)}.level-high{background:var(--red-soft);color:var(--red)}details summary{font-weight:700;cursor:pointer}.ingredients{margin-top:8px;white-space:pre-wrap;overflow-wrap:anywhere}.alts{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}.alt{display:flex;gap:12px;border:1px solid var(--line);border-radius:12px;padding:12px}.alt img{width:64px;height:64px;object-fit:contain;flex:none;border-radius:8px}.alt-body{display:flex;flex-direction:column;gap:4px;min-width:0}.alt-body .link{align-self:flex-start}.chip-mini{align-self:flex-start;border-radius:999px;padding:2px 10px;font-size:.82rem;font-weight:700}.chip-green{background:var(--ok-soft);color:#1d6b3a}.chip-amber{background:var(--amber-soft);color:var(--amber)}.chip-red{background:var(--red-soft);color:var(--red)}.why{margin:0;padding-left:18px;font-size:.92rem}.compare-scroll{overflow-x:auto}.compare table{table-layout:fixed}.flag-more summary{color:var(--green);font-size:.92rem;margin:2px 0 4px}.flag-more[open] summary{margin-bottom:6px}.compare th,.compare td{padding:8px 4px;border-top:1px solid var(--line);text-align:left;vertical-align:top;font-size:.88rem;overflow-wrap:anywhere}.compare thead th{border-top:0;font-size:.95rem}.compare thead th .small{display:block;font-weight:400}.compare tbody th{color:var(--muted);font-weight:600;overflow-wrap:normal;-webkit-hyphens:auto;hyphens:auto}.compare thead th:first-child{width:33%}.compare td.better{background:var(--ok-soft);font-weight:700}.disclaimer{color:var(--muted);font-size:.82rem;text-align:center;padding:4px 8px}.pill-premium{display:inline-block;margin-left:6px;padding:1px 9px;border-radius:999px;background:#fff1c2;color:#7a5300;font-size:.72rem;font-weight:800;vertical-align:middle}.chips.locked .chip{opacity:.55;min-height:0;padding:6px 12px}.premium-teaser{border:2px solid #f2cf63;background:linear-gradient(180deg,#fffaf0,#fff)}.premium-teaser.on{border-color:var(--line);background:#fff}.premium-teaser p{margin:0 0 8px}.premium-card h2{margin-bottom:6px}.premium-list{margin:4px 0 12px;padding-left:20px}.premium-list li{margin-bottom:4px}.plans{display:flex;flex-direction:column;gap:10px;margin-bottom:10px}.plan{display:flex;justify-content:space-between;align-items:center;gap:12px;border:2px solid var(--line);border-radius:14px;padding:12px 14px}.plan.best{border-color:var(--green);background:var(--mint)}.plan-note{margin-left:8px;font-size:.75rem;font-weight:800;color:var(--green);background:#fff;border:1px solid var(--green);border-radius:999px;padding:1px 8px}.plan-price{margin:4px 0 0;font-size:1.3rem;font-weight:800}.notice{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;background:var(--ok-soft);border:2px solid var(--green-2);border-radius:12px;padding:10px 12px}.notice .link{padding:0 4px;text-decoration:none}.community-btn{display:inline-block;text-decoration:none;text-align:center}.all-access{margin-top:16px;padding-top:14px;border-top:1px dashed currentColor;border-top-color:#7f7f7f59}.all-access h3{margin:0 0 4px;font-size:1.05rem}
