*{box-sizing:border-box}:root{font-family:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:#25342b;background:#f7f8f6;--line:#e0e6df;--muted:#68746b;--green:#365e42}body{margin:0}button,input,textarea{font:inherit}button{cursor:pointer;color:inherit}a{color:inherit;text-underline-offset:3px}button:disabled{opacity:.5;cursor:wait}svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.symbols{display:none}.sidebar{max-width:540px;margin:auto;padding:20px 20px 0;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:7px;text-decoration:none;font-weight:750;font-size:23px;letter-spacing:-1px}.brand-icon{display:grid;place-items:center;background:#e4eecf;border-radius:50%;width:32px;height:32px}.brand-icon svg{width:20px}.brand-dot{color:#7a945b;margin-left:-5px}#about-open{width:32px;height:32px;border:1px solid var(--line);border-radius:50%;text-decoration:none;font-weight:600}.sidebar nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:100%;max-width:540px;z-index:10;display:flex;background:#fff;border-top:1px solid var(--line);padding:6px 10px max(7px,env(safe-area-inset-bottom))}.nav-item{border:0;background:transparent;flex:1;display:flex;flex-direction:column;align-items:center;gap:4px;padding:9px 4px;border-radius:9px;font-size:12px;color:var(--muted)}.nav-item.active{color:#2a5635;background:#eef4e6}.nav-count{display:none}.app-shell{max-width:540px;margin:auto;padding:0 20px}.topbar{display:flex;justify-content:flex-start;padding:17px 0 22px}.offline-pill{display:flex;gap:6px;align-items:center;border:0;background:transparent;padding:0;font-size:13px;color:var(--muted);min-height:26px}.offline-pill svg{height:15px;width:15px}.offline-pill.ready{color:#3e723e}main{padding-bottom:95px}h1{font-size:25px;letter-spacing:-.6px;margin:0 0 7px;font-weight:650}h2{font-size:18px;letter-spacing:-.3px;margin:0}h3{font-size:17px;line-height:1.5;margin:14px 0 8px}.intro{font-size:16px;color:var(--muted);line-height:1.6;margin:0 0 22px}.eyebrow{display:none}.check-grid{display:grid;gap:17px}.card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:18px;min-width:0}.tabs{display:flex;gap:4px;padding:4px;background:#f1f4ef;border-radius:8px;margin-bottom:18px}.tabs button{border:0;background:transparent;flex:1;border-radius:6px;display:flex;align-items:center;justify-content:center;gap:7px;min-height:42px;font-size:14px;color:var(--muted)}.tabs button[aria-selected=true]{background:#fff;box-shadow:0 1px 3px #0000000c;color:#25342b}.tabs svg{width:18px;height:18px}.text-icon{font-family:Georgia,serif;font-weight:bold}.photo-drop{display:flex;flex-direction:column;align-items:center;text-align:center;gap:13px;padding:22px 8px 13px;cursor:pointer}.photo-drop>svg{width:36px;height:36px;color:var(--green)}.photo-drop strong{font-size:17px}.photo-drop>span:not(.button){font-size:14px;line-height:1.6;color:var(--muted);max-width:270px}.photo-drop .button{margin-top:4px;width:100%}.button{display:inline-flex;align-items:center;justify-content:center;gap:12px;padding:12px 16px;min-height:46px;border:1px solid transparent;border-radius:8px;font-size:14px;font-weight:600;text-decoration:none;cursor:pointer}.dark{background:var(--green);color:#fff}.dark:hover{background:#294b33}.secondary{background:#f2f5ee;border-color:var(--line)}.text-button{border:0;background:transparent;padding:0;text-decoration:underline;text-underline-offset:3px;font-size:13px;min-height:32px}.full-width{width:100%}.hint{font-size:12px;line-height:1.7;color:var(--muted)}.input-card>.hint{margin-top:14px}.example-line{border-top:1px solid var(--line);padding-top:9px;margin-top:13px;text-align:center;color:var(--muted)}.watch-strip{display:flex;align-items:center;gap:12px;width:100%;margin-top:18px;padding:14px 2px;border:0;background:transparent;text-align:left;font-size:14px;color:var(--muted)}.watch-strip>span:first-of-type{flex:1;overflow-wrap:anywhere}.watch-strip>svg{width:19px;height:19px}footer{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);padding-top:14px;margin-top:18px;font-size:12px;color:var(--muted)}label:not(.photo-drop):not(.button){display:block;margin-bottom:8px;font-size:14px;font-weight:600}input:not([type=checkbox]),textarea{width:100%;border:1px solid #cdd8cc;border-radius:7px;background:#fff;color:inherit;padding:12px;font-size:16px}input::placeholder,textarea::placeholder{color:#8c968c;font-size:14px}textarea{min-height:170px;resize:vertical;line-height:1.6}.optional{font-weight:400;color:var(--muted);font-size:12px}.inline-form{display:flex;gap:8px}.inline-form input{min-width:0}.inline-form .button{flex-shrink:0;padding:11px 12px;font-size:13px}.checkbox-line{display:flex!important;align-items:flex-start;gap:9px;font-size:14px!important;font-weight:400!important;line-height:1.6;margin-top:18px}.checkbox-line input{margin:4px 0 0;min-width:18px;min-height:18px;accent-color:var(--green)}#analyze{margin-top:17px}#preview-image{max-width:100%;max-height:190px;border-radius:7px;object-fit:contain}#photo-preview p{font-size:12px;color:var(--muted)}.barcode-intro{text-align:center;padding:12px 2px}.barcode-intro>svg{width:38px;height:38px}.barcode-intro p{font-size:14px;color:var(--muted);line-height:1.6}.barcode-actions{display:flex;gap:8px;margin:13px 0}.barcode-actions>*{flex:1;padding:10px 5px;font-size:12px}.barcode-actions label{margin:0!important}video{width:100%;border-radius:8px}#video-wrap{margin:15px 0}#work-status{background:#edf3e7;border-radius:7px;padding:13px;margin-top:14px;font-size:14px;line-height:1.6}progress{width:100%;height:6px;accent-color:var(--green);display:block;margin-bottom:10px}.error{padding:12px;border-radius:7px;background:#fff0ea;color:#954533;font-size:14px;line-height:1.6}.card-heading{margin-bottom:15px}.result-banner{background:#edf4e7;border-radius:8px;padding:15px}.result-banner.animal{background:#fbeee9}.result-banner.unclear{background:#fff6df}.result-banner h3{font-size:20px;margin:0 0 8px}.result-banner p{font-size:14px;line-height:1.6;margin:0}.result-kicker{display:none}.result-product{overflow-wrap:anywhere}.result-meta{font-size:12px;color:var(--muted);line-height:1.6}.result-stats{display:flex;gap:6px;flex-wrap:wrap;margin:16px 0}.result-stats span{font-size:12px;background:#f2f5ef;padding:6px 7px;border-radius:4px}.ingredient{border-top:1px solid var(--line);padding:12px 0}.ingredient-top{display:flex;justify-content:space-between;align-items:flex-start;gap:7px;flex-wrap:wrap}.ingredient strong{font-size:14px;line-height:1.5;overflow-wrap:anywhere}.ingredient p{font-size:14px;line-height:1.6;color:var(--muted);margin:6px 0}.ingredient a{font-size:12px;color:var(--muted)}.tag{font-size:11px;padding:4px 6px;border-radius:4px;background:#edf4e7;color:#4d6f40;white-space:nowrap}.tag.animal{background:#fbeae4;color:#a14c34}.tag.unclear{background:#fff3d8;color:#8a661e}.watch-hit{display:block;padding:8px 10px;margin:8px 0;background:#f3effa;border-left:2px solid #a18dbb;color:#6d527e;font-size:13px;line-height:1.6}.result-disclaimer{font-size:13px;color:var(--muted);line-height:1.7}.success-line{font-size:13px;color:var(--green)}.preference-card>p,.criteria-explainer p{font-size:14px;color:var(--muted);line-height:1.7}.presets{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0}.preset{border:1px solid #d5dfc9;border-radius:20px;background:#fff;font-size:14px;padding:10px 13px;min-height:42px}.preset[aria-pressed=true]{background:#e5efd7;border-color:#bdcca9}.criteria-explainer{margin-top:22px}.criteria-explainer h2{font-size:17px}.criteria-explainer a{font-size:12px}.criteria-explainer .hint{font-size:12px}#watch-list{display:flex;gap:7px;flex-wrap:wrap;margin-top:17px}.watch-chip{border:0;border-radius:6px;background:#edf2e5;font-size:14px;padding:10px 12px;max-width:100%;overflow-wrap:anywhere}.watch-chip span{margin-left:10px;color:var(--muted)}#watch-feedback{font-size:13px;line-height:1.6}.empty-history{text-align:center;border:1px dashed var(--line);border-radius:10px;padding:26px 15px;margin-top:25px;color:var(--muted)}.empty-history p{font-size:14px;line-height:1.6}.history-item{display:flex;gap:10px;align-items:center;flex-wrap:wrap;border:1px solid var(--line);border-radius:9px;background:#fff;padding:15px;margin:14px 0}.history-item>div{flex:1;min-width:60%;overflow-wrap:anywhere}.history-item strong{font-size:15px}.history-item p{font-size:12px;color:var(--muted);line-height:1.6}.history-item .button{font-size:13px}.history-delete{background:transparent;border:0;padding:10px;font-size:22px}.danger{color:#9f4d37}dialog{max-width:480px;width:calc(100% - 28px);padding:23px;border:1px solid var(--line);border-radius:13px;color:#25342b;max-height:85dvh;overflow:auto}dialog::backdrop{background:#15251b77}.dialog-heading{display:flex;align-items:center;gap:12px;justify-content:space-between}.dialog-heading h2{font-size:21px}.close-button{width:36px;height:36px;border:0;border-radius:50%;background:#f0f3ed;font-size:26px;flex-shrink:0}dialog p,dialog li{font-size:14px;line-height:1.75}dialog ul{padding-left:20px}dialog .hint{font-size:12px}.source-list li{margin:8px 0}#offline-state{padding:14px;background:#f0f4e9;border-radius:8px;margin:18px 0;font-size:14px;line-height:1.6}.install-guide{border-top:1px solid var(--line);padding-top:17px;margin-top:17px;font-size:14px}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}button:focus-visible,a:focus-visible,label[role=button]:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #8aab73;outline-offset:3px}[hidden]{display:none!important}
@media(min-width:600px){body{padding-top:15px}.app-shell{padding:0 24px}.sidebar{padding-left:24px;padding-right:24px}.sidebar nav{border:1px solid var(--line);border-bottom:0;border-radius:12px 12px 0 0}}
@media(max-width:360px){.app-shell{padding:0 14px}.sidebar{padding:18px 14px 0}.card{padding:14px}.inline-form{flex-wrap:wrap}.inline-form button{width:100%}}
input.visually-hidden{width:1px;height:1px;padding:0;border:0;left:0;top:0}
