@font-face{font-family:DotGothic16;src:url(/fonts/DotGothic16.woff2) format("woff2");font-weight:400;font-style:normal;font-display:swap}*{box-sizing:border-box}html,body{margin:0;background:#000}body{font-family:DotGothic16,monospace;font-synthesis:none;color:#fff;-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent}button,input{font:inherit;color:inherit}a:focus-visible,button:focus-visible{outline:3px dashed currentColor;outline-offset:3px}input:focus-visible{outline:3px dashed #000;outline-offset:2px}.n{letter-spacing:.125em;margin-right:-.125em}.ni{letter-spacing:.125em}.upper{text-transform:uppercase}.center{text-align:center}.small{font-size:12px}.tiny{font-size:11px}.note{font-size:13px;line-height:1.5}.screen{width:100%;max-width:390px;min-height:100dvh;margin:0 auto;padding:max(8px,env(safe-area-inset-top)) 9px max(28px,env(safe-area-inset-bottom));display:flex;flex-direction:column;align-items:center;justify-content:space-between;gap:16px}.top{width:100%;display:flex;flex-direction:column;align-items:center}.topbar{width:100%;display:flex;justify-content:flex-end;margin-bottom:4px}.icon-btn{width:44px;height:44px;flex:none;padding:0;border:0;background:transparent;display:flex;align-items:center;justify-content:center;cursor:pointer}.icon-btn.light{color:#fff}.slot{width:100%;height:12px;background:#fff;display:flex;align-items:flex-end;justify-content:center}.slot:after{content:"";width:calc(100% - 12px);height:4px;background:#000}.paper{width:calc(100% - 24px);background:#fff;color:#000;padding:14px 18px 20px;display:flex;flex-direction:column;gap:14px}.feed-window{width:100%;overflow:hidden;display:flex;justify-content:center}.feed{width:calc(100% - 24px);display:flex;flex-direction:column;animation:feed .48s steps(12,end) both}.feed>.paper,.feed>.teeth{width:100%}@keyframes feed{0%{transform:translateY(-100%)}to{transform:none}}@media(prefers-reduced-motion:reduce){.feed{animation:none}}.no-anim .feed{animation:none}.teeth{width:calc(100% - 24px);height:9px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='9'%3E%3Crect width='12' height='3' fill='%23fff'/%3E%3Crect x='2' y='3' width='8' height='3' fill='%23fff'/%3E%3Crect x='4' y='6' width='4' height='3' fill='%23fff'/%3E%3C/svg%3E") repeat-x 0 0 / 12px 9px}.sep{height:3px;flex:none;background:repeating-linear-gradient(90deg,#000 0 6px,transparent 6px 12px)}.dots{flex-grow:1;min-width:12px;height:2px;background:repeating-linear-gradient(90deg,#000 0 2px,transparent 2px 6px)}.primary{width:calc(100% - 24px);height:68px;display:flex;align-items:center;justify-content:center;gap:14px;background:#fff;color:#000;border:0;text-decoration:none;font-size:20px;box-shadow:inset 0 0 0 3px #000,0 0 0 3px #fff;cursor:pointer}.primary:disabled{cursor:default;background:#000;color:#fff;box-shadow:none;border:3px dashed #fff}.primary svg{flex:none}.primary-sm{font-size:18px;gap:12px}.backbar{width:100%;height:44px;margin-bottom:4px;padding-left:6px;display:flex;align-items:center}.back{height:44px;padding:0 8px 0 0;border:0;background:transparent;color:#fff;display:flex;align-items:center;gap:10px;font-size:16px;cursor:pointer}.h1{margin:0;font-size:20px;font-weight:400;line-height:1.1}.h1-sm{font-size:16px}.head{display:flex;align-items:center;justify-content:space-between;color:#000}.head-title{display:flex;flex-direction:column;align-items:center;gap:6px}.row{display:flex;align-items:baseline;justify-content:space-between}.items{display:flex;flex-direction:column;gap:12px}.item{width:100%;padding:0;border:0;background:transparent;color:#000;text-align:left;cursor:pointer;display:flex;flex-direction:column;gap:4px}.item-top{display:flex;align-items:baseline;gap:10px}.item-time{width:44px;flex:none;font-size:12px}.item-name{font-size:16px;overflow-wrap:anywhere}.item-bottom{display:flex;align-items:center;gap:8px;padding-left:54px;font-size:16px}.totals{display:flex;flex-direction:column;gap:8px}.total{font-size:28px;line-height:1}.goal-row{min-height:44px;width:100%;padding:0;border:0;background:transparent;color:#000;display:flex;align-items:center;justify-content:space-between;font-size:16px;cursor:pointer;text-align:left}.goal-value{display:flex;align-items:center;gap:8px}.left-bar{display:flex;align-items:baseline;justify-content:space-between;background:#000;color:#fff;padding:8px 10px;font-size:20px;line-height:1}.macros{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;text-align:center}.macro{display:flex;flex-direction:column;gap:3px}.macro-value{font-size:20px}.foot{display:flex;flex-direction:column;align-items:center;gap:6px;padding-top:2px}.barcode{width:192px;height:36px;background:repeating-linear-gradient(90deg,#000 0 2px,transparent 2px 4px,#000 4px 5px,transparent 5px 8px,#000 8px 11px,transparent 11px 12px,#000 12px 13px,transparent 13px 16px,#000 16px 18px,transparent 18px 19px,#000 19px 22px,transparent 22px 24px)}.field{display:flex;flex-direction:column;gap:4px}.field>input{height:44px;border:0;border-bottom:3px solid #000;border-radius:0;background:#fff;color:#000;font-size:18px;padding:0 2px;letter-spacing:.0625em;-webkit-appearance:none;appearance:none}.rows{display:flex;flex-direction:column;gap:8px}.num-row{display:flex;align-items:center;gap:8px;font-size:16px}.num-row label{flex:none}.num-row input{width:84px;height:40px;flex:none;border:0;border-bottom:3px solid #000;border-radius:0;background:#fff;color:#000;font-size:20px;text-align:right;padding:0 2px;-webkit-appearance:none;appearance:none}.search-box{height:48px;padding:0 4px 0 12px;border:3px solid #000;display:flex;align-items:center;gap:10px}.search-box:focus-within{outline:3px dashed #000;outline-offset:2px}.search-box input{flex-grow:1;min-width:0;height:100%;padding:0;border:0;border-radius:0;background:#fff;color:#000;font-size:18px;outline:none;letter-spacing:.0625em;-webkit-appearance:none;appearance:none}.search-box input::-webkit-search-cancel-button{-webkit-appearance:none;display:none}.search-clear{width:40px;height:40px;flex:none;padding:0;border:0;background:transparent;color:#000;display:flex;align-items:center;justify-content:center;cursor:pointer}.list{display:flex;flex-direction:column}.list-head{padding-bottom:4px}.list-row{width:100%;min-height:44px;padding:0;border:0;background:transparent;color:#000;display:flex;align-items:center;gap:8px;font-size:16px;text-align:left;cursor:pointer}.list-row>span:first-child{overflow-wrap:anywhere}.tile{width:100%;height:100px;border:3px solid #000;border-radius:0;background:#fff;color:#000;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;font-size:16px;cursor:pointer}.check{display:flex;gap:10px;align-items:flex-start;padding:10px;border:3px solid #000;background:#fff;color:#000}.check[data-state=bad]{background:#000;color:#fff}.check-icon{flex:none;width:20px;padding-top:2px}.check-text{display:flex;flex-direction:column;gap:6px;font-size:14px}.check-text .small{line-height:1.5}.seg{display:grid;gap:8px}.seg-btn,.opt,.tgl,.outline,.danger{height:44px;padding:0;border:3px solid #000;border-radius:0;background:#fff;color:#000;cursor:pointer}.seg-btn{font-size:12px}.opts{display:flex;flex-direction:column;gap:8px}.opt{width:100%;padding:0 10px;display:flex;align-items:center;justify-content:space-between;font-size:13px}.tgl{width:84px;flex:none;font-size:14px}.outline{flex:none;padding:0 10px;font-size:14px}.danger{width:100%;font-size:15px}.seg-btn[aria-pressed=true],.opt[aria-pressed=true],.tgl[aria-pressed=true],.danger.armed{background:#000;color:#fff}.text-btn{height:44px;padding:0 4px;border:0;background:transparent;color:#000;font-size:14px;text-decoration:underline;text-underline-offset:4px;cursor:pointer}.center-y{align-items:center}.label-16{font-size:14px}.screen.dark{color:#fff}.viewfinder{position:relative;width:100%;height:min(52dvh,460px);margin-top:4px;border:3px solid #fff;overflow:hidden;background-color:#000;background-image:radial-gradient(#fff 1px,transparent 1.6px);background-size:6px 6px}.viewfinder video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0}.viewfinder[data-cam=on] video{opacity:1}.corners{position:absolute;inset:20% 10%}.corners i{position:absolute;width:36px;height:36px;border:0 solid #fff}.corners i:nth-child(1){left:0;top:0;border-top-width:6px;border-left-width:6px}.corners i:nth-child(2){right:0;top:0;border-top-width:6px;border-right-width:6px}.corners i:nth-child(3){left:0;bottom:0;border-bottom-width:6px;border-left-width:6px}.corners i:nth-child(4){right:0;bottom:0;border-bottom-width:6px;border-right-width:6px}.scanline{position:absolute;left:14%;right:14%;top:50%;height:4px;margin-top:-2px;background:#fff;mix-blend-mode:difference;animation:scanline 2.4s steps(14) infinite}@keyframes scanline{0%,to{transform:translateY(-9dvh)}50%{transform:translateY(9dvh)}}@media(prefers-reduced-motion:reduce){.scanline{animation:none}}.no-anim .scanline{animation:none}.scan-status{width:100%;padding:16px 6px 0;display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center}.scan-title{font-size:18px}.scan-hint{font-size:13px;line-height:1.5}.scan-actions{width:100%;padding:0 6px;display:flex;flex-direction:column;gap:12px}.digits{display:flex;flex-direction:column;gap:6px}.digits-row{display:flex;align-items:flex-end;gap:10px}.digits-row input{flex-grow:1;min-width:0;height:48px;padding:0 2px;border:0;border-bottom:3px solid #fff;border-radius:0;background:#000;color:#fff;font-size:24px;-webkit-appearance:none;appearance:none}.digits-row input:focus-visible{outline:3px dashed #fff;outline-offset:2px}.outline.light{background:#000;color:#fff;border-color:#fff}.outline.light:disabled{border-style:dashed;cursor:default}.wide-btn{width:100%;height:56px;font-size:16px}.tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}label.tile,label.primary{cursor:pointer}.label-preview{width:100%;height:150px;object-fit:cover;display:block;filter:grayscale(1) contrast(1.4)}.blink{animation:blink 1s steps(1,end) infinite}@keyframes blink{50%{opacity:0}}@media(prefers-reduced-motion:reduce){.blink{animation:none}}.no-anim .blink{animation:none}.product-head{display:flex;flex-direction:column;gap:6px}.product-name{font-size:16px;overflow-wrap:anywhere}.grams-row{display:flex;align-items:baseline;gap:8px;border-bottom:3px solid #000}.grams,.big{flex-grow:1;min-width:0;border:0;border-radius:0;background:#fff;color:#000;padding:0 2px;-webkit-appearance:none;appearance:none}.grams{height:64px;font-size:40px}.grams-unit{font-size:24px}.kcal-row{display:flex;align-items:flex-end;gap:10px}.big{height:52px;font-size:32px;border-bottom:3px solid #000}.calc-row{display:flex;align-items:center;gap:8px;font-size:16px}.calc-kcal{font-size:28px;line-height:1}
