body.inventory-lens-open{overflow:hidden}
.inventory-lens{position:fixed;inset:0;margin:auto;border:0;padding:0;width:min(100vw,620px);max-width:none;height:100dvh;max-height:none;background:#121712;color:#fff;overflow:hidden;isolation:isolate}
.inventory-lens::backdrop{background:#111}
.inventory-lens-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-3}
.inventory-lens-video[hidden]{display:none}
.inventory-lens-shade{position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(#000b,transparent 30%,transparent 48%,#000c 75%,#000f)}
.inventory-lens-top{display:flex;align-items:flex-start;justify-content:space-between;padding:max(18px,env(safe-area-inset-top)) 18px 0;gap:16px}
.lens-eyebrow{margin:0 0 5px;color:#a6ee98;font-size:10px;font-weight:700;letter-spacing:1.7px}
.inventory-lens h1{color:white;font-size:34px;margin:0;line-height:1.1}
.lens-close{width:44px;height:44px;min-width:44px;color:white;border:1px solid #ffffff80;border-radius:50%;background:#1118;font-size:29px;line-height:1;padding:0}
.lens-hint{font-size:12px;margin:10px 18px;max-width:260px;text-shadow:0 1px 5px black}
.lens-status{position:absolute;top:27%;left:24px;right:24px;text-align:center;font-size:13px;line-height:1.6;text-shadow:0 1px 7px #000;margin:0}
.inventory-lens-bottom{position:absolute;bottom:0;left:0;right:0;display:grid;gap:10px;padding:12px 16px max(16px,env(safe-area-inset-bottom))}
.lens-results{border-radius:18px;background:#fffffff2;color:#111;box-shadow:0 10px 40px #0007;overflow:auto;max-height:50dvh;overscroll-behavior:contain}
.lens-results[hidden]{display:none}
.lens-match{width:100%;display:grid;grid-template-columns:76px minmax(0,1fr) 16px;gap:12px;align-items:center;padding:14px;border:0;border-bottom:1px solid #ddd;background:transparent;color:#111;text-align:left}
.lens-match>img,.lens-thumbnail-empty{width:76px;height:88px;object-fit:contain;background:#e8ece7;border-radius:10px}.lens-thumbnail-empty{display:grid;place-items:center;font-size:28px;color:#526551}
.lens-match-info{display:flex;flex-direction:column;gap:5px;min-width:0}
.lens-match-label{color:#557348;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.7px}
.lens-item-title{font-size:16px;line-height:1.25;overflow-wrap:anywhere}
.lens-price{font-size:21px;line-height:1.25;color:#111}
.lens-item-meta{font-size:11px;line-height:1.5;color:#626262}
.lens-description{font-size:12px;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere}
.lens-open-mark{color:#416d38;font-size:21px}
.inventory-lens-bottom .lens-shutter{width:72px;height:72px;min-height:72px;border:4px solid white;border-radius:50%;justify-self:center;display:grid;place-items:center;background:#44d62c;color:#111;padding:14px}.lens-shutter svg{width:32px;height:32px;stroke:currentColor;fill:none;stroke-width:1.8}.lens-voice{position:absolute;right:20px;bottom:max(30px,env(safe-area-inset-bottom));width:48px;height:48px;padding:10px}.lens-voice svg{width:24px;height:24px;stroke:currentColor;fill:none;stroke-width:1.8}
.lens-expand{display:block;width:100%;border:0;background:transparent;color:#3c5e35;padding:12px;min-height:44px;font-weight:700;font-size:12px}
.lens-tools{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap}
.lens-secondary{border:1px solid #ffffff66;background:#1119;color:white;min-height:44px;padding:8px 14px;border-radius:24px;font-size:12px;font-weight:700}
.lens-capture{justify-self:center;background:#44d62c;border:0;color:#111;min-height:48px;padding:12px 24px;border-radius:25px;font-weight:700;font-size:14px}
.inventory-lens button:focus-visible{outline:3px solid #44d62c;outline-offset:3px}
.inventory-lens button[hidden]{display:none}
@media(max-height:600px){.inventory-lens-top{padding-top:10px}.inventory-lens h1{font-size:27px}.lens-hint{margin-top:4px;font-size:11px}.lens-status{top:22%;font-size:11px}.inventory-lens-bottom{gap:6px;padding-bottom:10px}.lens-results{max-height:46dvh}.lens-match{padding:10px;grid-template-columns:58px minmax(0,1fr) 14px;gap:8px}.lens-match>img,.lens-thumbnail-empty{width:58px;height:68px}.lens-price{font-size:18px}.lens-match-info{gap:3px}.lens-capture{min-height:44px;padding:8px 20px}}
@media(max-height:450px){.lens-hint{display:none}.lens-status{top:72px}}
.inventory-lens-video{height:calc(100% - var(--lens-footer-height,112px));bottom:auto}.inventory-lens-bottom{background:#121712;gap:8px}.lens-status{position:static;margin:0;text-align:center;text-shadow:none;font-size:12px;line-height:1.4;color:#d7e2d7}.lens-status:empty{display:none}.lens-results{position:absolute;bottom:calc(100% + 10px);left:16px;right:16px;max-height:48dvh}.lens-controls{display:grid;grid-template-columns:44px 44px 76px 44px 44px;justify-content:center;align-items:center;gap:7px;min-height:76px}.lens-icon,.lens-voice{display:flex;align-items:center;justify-content:center;width:44px;height:44px;min-height:44px;padding:0;border:1px solid #ffffff66;background:#1119;color:#fff;border-radius:50%;position:static}.lens-icon svg,.lens-voice svg{display:block;width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;margin:0}.lens-icon:disabled{opacity:.45}.lens-job-context{margin:8px 18px;max-width:350px}.lens-job-context .job-truck-control{margin:0}.lens-job-context .field{gap:3px;color:#fff}.lens-job-context select{background:#102018e8;color:#fff;border-color:#ffffff80;padding-block:7px}.lens-job-context small{color:#e4eee3}.lens-job-context .muted{display:none}.lens-match{touch-action:pan-y}.lens-job-state{font-weight:700;color:#385b31}.lens-job-actions{display:flex;gap:8px;flex-wrap:wrap;padding:12px;background:#edf2e8;border-bottom:1px solid #ddd}.lens-job-action{border:1px solid #b5c6a9;background:#fff;color:#23452c;min-height:44px;padding:8px 12px;border-radius:8px}.lens-job-actions select{max-width:220px;min-height:44px;font-size:16px}.lens-job-actions small{width:100%}.lens-price:empty{display:none}.lens-match-wrap{overflow:hidden}
@media(max-width:350px){.lens-controls{gap:4px;grid-template-columns:42px 42px 72px 42px 42px}.inventory-lens-bottom{padding-inline:12px}.lens-icon,.lens-voice{width:42px;height:42px}.lens-results{left:12px;right:12px}}
@media(max-height:500px){.lens-results{max-height:40dvh}.inventory-lens h1{font-size:24px}.lens-eyebrow{font-size:9px;margin-bottom:2px}.lens-job-context{margin-block:4px}.lens-job-context .field>span{display:none}.lens-job-context select{min-height:38px}.lens-controls{min-height:62px}.inventory-lens-bottom .lens-shutter{height:60px;width:60px;min-height:60px}.lens-status{position:static}}
.lens-controls>:nth-child(1){grid-column:1;grid-row:1}.lens-controls>:nth-child(2){grid-column:2;grid-row:1}.lens-controls>:nth-child(3){grid-column:3;grid-row:1}.lens-controls>:nth-child(4){grid-column:4;grid-row:1}.lens-controls>:nth-child(5),.lens-controls>.lens-retry{grid-column:5;grid-row:1}
