*{box-sizing:border-box} :root{font-family:system-ui,-apple-system,"Segoe UI",sans-serif;color:#18332d;background:#f4f7f5;--green:#0b6b53;--muted:#7c8c86;--line:#e7eeea;--surface:#fff}body{margin:0}.topbar{height:76px;padding:0 max(24px,calc((100vw - 1120px)/2));display:flex;align-items:center;justify-content:space-between;background:#fff;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:12px}.brand b{font-size:19px;display:block;letter-spacing:-.5px}.brand small{font-size:9px;letter-spacing:1.5px;color:#82918b;font-weight:700}.logo{width:40px;height:40px;border-radius:13px;background:#e6f4ee;color:var(--green);font-size:24px;display:grid;place-items:center}main{max-width:1120px;margin:42px auto 28px;padding:0 22px}.hero{display:flex;justify-content:space-between;align-items:center;margin-bottom:27px}.eyebrow{font-size:10px;font-weight:700;letter-spacing:1.7px;color:var(--green);margin:0 0 10px}.hero h1{font-size:32px;letter-spacing:-1.3px;margin:0}.muted{color:var(--muted);font-size:14px;margin:9px 0 0}.total-card{background:var(--green);color:#fff;border-radius:15px;padding:16px 22px;min-width:188px;box-shadow:0 9px 20px #0b6b5320}.total-card span,.total-card small{display:block;font-size:11px;color:#c1e0d5}.total-card strong{font-size:32px;display:inline-block;margin:3px 8px 1px 0}.total-card small{display:inline}.panel{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:24px;margin-bottom:19px;box-shadow:0 4px 16px #153d2810}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:19px}.section-heading h2{font-size:17px;margin:0}.section-heading p{font-size:12px;color:var(--muted);margin:5px 0 0}.mode-switch{padding:4px;background:#f0f4f2;border-radius:9px;display:flex}.mode{border:0;background:transparent;color:#687a73;padding:8px 14px;border-radius:7px;cursor:pointer;font:600 12px system-ui}.mode.active{background:#fff;color:var(--green);box-shadow:0 1px 4px #172d2018}.camera-area{height:214px;border-radius:12px;background:#15251f;position:relative;overflow:hidden;display:grid;place-items:center}.camera-area video{width:100%;height:100%;object-fit:cover}.camera-placeholder{position:absolute;display:flex;align-items:center;flex-direction:column;color:white;gap:7px;text-align:center}.camera-placeholder small{color:#c4cec9;font-size:11px}.camera-icon{font-size:30px;color:#81d4b5}.scan-frame{position:absolute;width:min(340px,72%);height:105px;border:2px solid #5ee0a9;border-radius:14px;box-shadow:0 0 0 100vmax #09181055}.scan-controls{display:flex;align-items:center;gap:9px;margin:13px 0 21px}.button{border:0;border-radius:8px;padding:10px 14px;font:600 12px system-ui;cursor:pointer;transition:filter .15s}.button:hover:not(:disabled){filter:brightness(.96)}.button:disabled{opacity:.45;cursor:not-allowed}.primary{background:var(--green);color:white}.subtle{background:#f0f4f2;color:#496158}.secondary{background:#eaf4ef;color:#14644f}.danger-outline{background:#fff;color:#a64d4d;border:1px solid #efdcdc}.status{font-size:11px;color:var(--muted);margin-left:3px}.status.live{color:var(--green)}.manual-row{border-top:1px solid var(--line);padding-top:17px}.manual-row label{font-size:12px;font-weight:700;display:block;margin-bottom:8px}.input-row{display:flex;gap:9px}.input-row input,.search-wrap input,dialog input{font:13px system-ui;border:1px solid #dfe8e3;border-radius:8px;padding:11px 13px;outline:none;color:#18332d;min-width:0}.input-row input{flex:1}.input-row input:focus,.search-wrap:focus-within,dialog input:focus{border-color:#7bb8a1;box-shadow:0 0 0 3px #e4f3eb}.manual-row>small{display:block;font-size:10px;color:#85938d;margin-top:7px}.list-head{align-items:flex-start}.actions{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}.actions .button{padding:9px 11px}.search-wrap{height:41px;display:flex;align-items:center;gap:9px;border:1px solid #e3eae6;border-radius:8px;padding:0 11px;margin-bottom:14px;color:#82918b}.search-wrap input{flex:1;border:0;box-shadow:none!important;padding:8px 0}.search-wrap kbd{font-size:10px;color:#87958e;background:#f3f6f4;border:1px solid #e5ebe7;border-radius:4px;padding:3px 5px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left}th{font-size:10px;letter-spacing:.6px;text-transform:uppercase;color:#87958e;font-weight:700;padding:11px 9px;border-bottom:1px solid var(--line)}td{font-size:12px;padding:13px 9px;border-bottom:1px solid #eef2ef}td:first-child{font-weight:700;color:#24483c}th:nth-child(2),td:nth-child(2){text-align:center}th:last-child,td:last-child{text-align:right}.qty{display:inline-flex;align-items:center;gap:9px}.qty button,.row-action{border:1px solid #e3ebe6;background:#fff;border-radius:6px;width:25px;height:25px;cursor:pointer;color:#49665a}.row-action{width:auto;padding:4px 8px;font-size:11px;margin-left:4px}.empty{display:flex;align-items:center;flex-direction:column;gap:6px;padding:32px 10px;color:#73847c}.empty span{font-size:24px;color:#95b6a6}.empty b{font-size:13px;color:#40594f}.empty small{font-size:11px}footer{display:flex;justify-content:space-between;color:#82918b;font-size:10px;padding:2px 4px 22px}.online-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#46b783;margin-right:7px}.toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,18px);background:#18332d;color:white;padding:11px 17px;border-radius:9px;font-size:12px;opacity:0;pointer-events:none;transition:.2s;box-shadow:0 6px 20px #0002}.toast.show{opacity:1;transform:translate(-50%,0)}dialog{border:0;border-radius:14px;padding:23px;width:min(390px,calc(100vw - 32px));box-shadow:0 20px 65px #102a1e45}dialog::backdrop{background:#10251c88}dialog h2{font-size:18px;margin:0 0 17px}dialog label{display:block;font-size:12px;font-weight:700;margin:12px 0 6px}dialog input{width:100%}.dialog-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:20px}[hidden]{display:none!important}@media(max-width:700px){main{margin:26px auto 18px;padding:0 14px}.topbar{height:65px;padding:0 15px}.hero{align-items:flex-start;gap:12px}.hero h1{font-size:24px}.hero .muted{font-size:12px;line-height:1.5;max-width:300px}.total-card{min-width:118px;padding:12px;border-radius:12px}.total-card strong{font-size:26px}.total-card span,.total-card small{font-size:9px}.panel{padding:17px 14px;border-radius:13px}.section-heading{align-items:flex-start}.section-heading p{max-width:215px;line-height:1.5}.mode{padding:8px 9px;font-size:11px}.camera-area{height:190px}.scan-controls{flex-wrap:wrap}.scan-controls .button{padding:10px}.status{flex-basis:100%;margin-left:2px}.list-head{display:block}.actions{justify-content:flex-start;margin-top:14px}.actions .button{font-size:10px;padding:9px}.search-wrap kbd{display:none}th{font-size:9px}td{font-size:11px;padding:12px 7px}.qty{gap:5px}.qty button{width:22px;height:22px}.row-action{font-size:10px;padding:4px 6px;margin-left:2px}footer{padding:0 3px 20px;gap:12px;line-height:1.5}footer span:last-child{text-align:right}}
