select{font:inherit;color:inherit;border:1px solid #bfcdc5;background:white;border-radius:6px;padding:9px;margin-top:6px;max-width:100%}
:root{font-family:Inter,Segoe UI,Arial,sans-serif;color:#213835;background:#f4f6f3;font-synthesis:none;--green:#246957;--muted:#687b75;--line:#dce4df}
*{box-sizing:border-box}body{margin:0}header{height:76px;display:flex;align-items:center;gap:24px;padding:0 max(24px,calc((100vw - 1200px)/2));border-bottom:1px solid var(--line);background:white}.brand{color:var(--green);font-size:27px;text-decoration:none;display:flex;gap:12px;font-weight:700}.brand span{font-size:22px}.tag{font-size:10px;font-weight:700;letter-spacing:1px;padding:7px 10px;background:#eef3ef;border-radius:5px;color:#5a7067}#identity{margin-left:auto;font-size:14px}.demo{text-align:center;background:#f5eedb;color:#786335;padding:10px 20px;font-size:12px}main{max-width:1200px;margin:44px auto;padding:0 24px 40px}h1{font-size:34px;letter-spacing:-1px;margin:10px 0}h2{font-size:19px;margin:0 0 14px}h3{font-size:18px}p{color:var(--muted);line-height:1.6;margin:8px 0 22px}.eyebrow{font-size:10px;font-weight:750;letter-spacing:1.8px;color:var(--green)}.card{background:white;border:1px solid var(--line);border-radius:12px;padding:28px;box-shadow:0 2px 4px #20382c03}.login{max-width:420px;margin:65px auto}.login h1{font-size:32px}.login .primary{width:100%;margin:24px 0 10px}label{display:block;font-size:13px;font-weight:650;margin:18px 0 9px}input{width:100%;border:1px solid #bfcdc5;padding:14px;border-radius:7px;font:inherit;color:inherit;background:#fff}input:focus,button:focus-visible{outline:3px solid #9fd4bd;outline-offset:2px}button{cursor:pointer;font:inherit;font-size:14px;border-radius:7px;font-weight:650;padding:13px 18px;border:1px solid transparent}button:disabled{opacity:.5;cursor:default}.primary{background:var(--green);color:white}.primary:hover{background:#195341}.secondary{background:white;color:var(--green);border-color:var(--line)}.hint{font-size:12px;color:var(--muted)}.heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.scope{display:flex;align-items:center;gap:56px;padding:21px 28px;margin-bottom:24px}.scope strong{display:block;font-size:14px;margin-top:7px}.scope .tag{margin-left:auto}.columns{display:grid;grid-template-columns:1fr 1fr;gap:24px}.step{display:flex;gap:12px;align-items:center;color:var(--green);font-weight:bold}.step h2{margin:0;color:#213835}.step{padding-bottom:20px;border-bottom:1px solid var(--line)}#results{margin-top:24px}.result{display:flex;width:100%;text-align:left;gap:16px;align-items:center;background:white;padding:18px 12px;border-radius:6px;border:1px solid transparent;border-bottom-color:var(--line)}.result:hover,.result.selected{background:#eff6f1;border-color:#accdbb}.result span{display:block}.result small{display:block;color:var(--muted);font-weight:400;font-size:12px;margin-bottom:5px}.result .arrow{margin-left:auto;color:var(--green)}#empty{text-align:center;padding:70px 20px}.empty-icon{font-size:46px;color:#9bb5a7}#count-form{padding-top:26px}#product-name{margin:8px 0}.quantity{background:#f3f6f3;border-radius:8px;padding:22px;display:flex;align-items:baseline;gap:8px}.quantity span:first-child{margin-right:auto;font-size:12px}.quantity strong{font-size:32px}.quantity span:last-child{font-size:12px}.difference{display:flex;justify-content:space-between;margin:24px 0;font-size:14px}#review{width:100%}.history{margin-top:24px}.history-heading{display:flex;justify-content:space-between;align-items:center}.history h2{margin:8px 0 24px}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;text-align:left;font-size:12px;white-space:nowrap}th{color:var(--muted);font-weight:500;background:#f5f7f4}td,th{padding:15px 12px;border-bottom:1px solid var(--line)}#no-history{margin:22px 12px 0}#status{padding:12px 0;color:var(--green);font-size:14px}dialog{border:1px solid var(--line);border-radius:12px;padding:30px;max-width:510px;width:calc(100% - 32px);color:inherit}dialog::backdrop{background:#183f3566}dialog h2{margin-top:14px}dt{font-size:12px;color:var(--muted);margin-top:18px}dd{margin:6px 0;font-weight:600}.actions{display:flex;justify-content:flex-end;gap:12px}[hidden]{display:none!important}@media(max-width:760px){header{padding:0 20px;gap:12px}.tag{font-size:9px}#identity{font-size:11px}main{margin:26px auto;padding:0 16px}.columns{grid-template-columns:1fr}.card{padding:22px}.heading{align-items:flex-start;gap:12px}h1{font-size:26px}.scope{gap:20px;flex-wrap:wrap}.scope .tag{margin-left:0}.login{margin:30px auto}#empty{padding:35px 15px}}
.scan-button{margin-top:12px}.barcode-summary{display:flex;gap:12px;align-items:center;justify-content:space-between;font-size:12px;margin:18px 0;flex-wrap:wrap}.barcode-summary strong{overflow-wrap:anywhere}#camera-video{display:block;width:100%;max-height:45vh;object-fit:contain;background:#12251f;border-radius:8px}#camera-device{width:100%}#camera-status{font-size:13px}#retry{margin-top:20px}#status:not(:empty){position:sticky;bottom:10px;background:#fff;border:1px solid #b8cdc1;border-radius:8px;padding:14px;box-shadow:0 3px 16px #21383518;z-index:3}#barcode-dialog .actions{margin-top:20px}
