@import"https://fonts.googleapis.com/css2?family=Figtree:wght@400;600;700;800&family=Noto+Sans:wght@400;600;700&display=swap";:root{font-family:Noto Sans,sans-serif;color:#173b3d;background:#f2f7f5;--muted:#526e6b;--line:#dbe8e3;--green:#146f5a}*{box-sizing:border-box}body{margin:0;min-width:320px}button{font:inherit;cursor:pointer}button:focus-visible,a:focus-visible{outline:3px solid #078b81;outline-offset:3px}.skip-link{position:absolute;top:-60px;left:16px;background:#fff;padding:12px;z-index:5}.skip-link:focus{top:10px}.topbar{background:#fff;border-bottom:1px solid var(--line)}.header-inner{max-width:1360px;margin:auto;min-height:76px;padding:12px 32px;display:flex;justify-content:space-between;align-items:center;gap:16px}.brand,.header-end,.title-group{display:flex;align-items:center;gap:12px}.brand-icon,.upload-icon,.spark,.empty-icon,.file-icon,.step,.note-icon{display:grid;place-items:center;flex:none}.brand-icon{width:40px;height:40px;border-radius:12px;background:var(--green);color:#fff}.brand-icon svg,.upload-icon svg,.spark svg,.empty-icon svg,.file-icon svg,.note-icon svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.brand strong{display:block;font:800 20px Figtree,sans-serif}.brand small{display:block;color:#5e7871;font-size:10px;font-weight:700;letter-spacing:.07em}.header-caption{color:#647d76;font-size:10px;font-weight:700;letter-spacing:.08em}.mock{font-size:12px;font-weight:700;color:#77521c;background:#fff6e4;border:1px solid #f1dcab;border-radius:30px;padding:8px 12px;white-space:nowrap}.mock i{display:inline-block;width:7px;height:7px;border-radius:50%;background:#b97d1b;margin-right:8px}main{max-width:1360px;margin:auto;padding:52px 32px 24px}.intro{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:32px}.eyebrow{font-size:11px;font-weight:700;letter-spacing:.12em;color:#257b66}.eyebrow span{display:inline-block;width:7px;height:7px;border-radius:50%;background:#258b70;margin-right:5px}.intro h1{font:700 clamp(30px,3.2vw,44px)/1.15 Figtree,sans-serif;letter-spacing:-.04em;margin:14px 0 10px}.intro p{color:var(--muted);font-size:15px;line-height:1.6;margin:0}.intro-note{display:flex;align-items:center;gap:12px;color:#526e66;font-size:12px;line-height:1.6}.intro-note strong{color:#31594d}.note-icon{width:40px;height:40px;border:1px solid #cfe2d9;background:#e6f2eb;border-radius:12px;font-size:20px;color:#287e64}.layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(310px,1fr);gap:20px}.panel{background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:0 12px 32px #163e2d0a;overflow:hidden}.panel-title{min-height:83px;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:18px 24px;border-bottom:1px solid #edf2ef}.title-group{min-width:0}.step{width:34px;height:34px;border-radius:10px;background:#e7f3ec;color:#22775f;font-size:12px;font-weight:700}.panel-title h2{font:700 16px Figtree,sans-serif;margin:0}.panel-title p{font-size:12px;color:var(--muted);margin:4px 0 0}.format-chip{font-size:10px;font-weight:700;color:#426b5d;background:#eff6f2;padding:7px 10px;border-radius:7px;white-space:nowrap}.upload{margin:24px;min-height:350px;border:1.5px dashed #a8cfc0;border-radius:12px;background:#f7fbf8;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:24px;text-align:center}.upload.dragging{background:#e6f5ec;border-color:#16795d}.upload-icon{width:62px;height:62px;border-radius:18px;background:#e2f2e8;color:#207a5f;margin-bottom:8px}.upload strong{font:700 18px Figtree,sans-serif}.upload>span:not(.upload-icon){color:var(--muted);font-size:14px}.upload small{color:#607a6f;font-size:12px;margin-top:4px}.choose-button{min-height:44px;padding:0 18px;border:1px solid #b8d7c6;border-radius:9px;background:#fff;color:#176a50;font-size:13px;font-weight:700;margin-top:8px}.choose-button span{margin-left:12px}.choose-button:hover,.text-button:hover{background:#eaf5ee}.preview-area{margin:24px;min-height:350px;display:flex;align-items:center;justify-content:center;background:#eaf1ed;border-radius:12px;padding:12px}.image-wrap{position:relative;display:inline-block;line-height:0;max-width:100%}.image-wrap img{display:block;max-width:100%;max-height:500px;width:auto;height:auto}.box{position:absolute;border:2px solid #70f1ad;box-shadow:0 0 0 1px #145e49;line-height:normal}.box span{position:absolute;top:0;left:0;background:#145e49;color:#fff;font-size:11px;font-weight:700;padding:5px 7px;max-width:min(220px,70vw);overflow-wrap:anywhere;line-height:1.3}.file-row{padding:0 24px;display:flex;gap:12px;align-items:center}.file-icon{width:40px;height:40px;border-radius:10px;background:#eaf5ef;color:#26795d}.file-icon svg{width:19px}.file-info{min-width:0;flex:1}.file-info strong,.file-info small{display:block;font-size:12px;overflow-wrap:anywhere}.file-info small{color:var(--muted);margin-top:4px}.text-button{border:0;background:none;color:#176a50;font-weight:700;font-size:13px;border-radius:8px;min-height:44px;padding:0 10px;white-space:nowrap}.image-hint{margin:20px 24px 24px;color:#57736a;font-size:12px;line-height:1.5}.image-hint span{margin-right:5px;color:#26795d}.results-body{padding:26px 24px}.spark{width:44px;height:44px;background:#e7f4ec;border-radius:12px;color:#247e60}.result-heading h3{font:700 20px Figtree,sans-serif;letter-spacing:-.02em;margin:20px 0 7px}.result-heading p{color:var(--muted);line-height:1.6;font-size:14px;margin:0 0 22px}.detect{min-height:48px;width:100%;border:0;border-radius:9px;padding:12px 16px;background:#146f5a;color:#fff;text-align:left;font-weight:700;font-size:14px;display:flex;justify-content:space-between;align-items:center}.detect:not(:disabled):hover{background:#0e5948}.detect:disabled{background:#d2e2d9;color:#547067;cursor:not-allowed}.status{border-top:1px solid #e6eee9;margin-top:26px;padding-top:22px;min-height:190px}.empty{text-align:center;color:var(--muted);font-size:13px;padding:16px 0}.empty-icon{width:48px;height:48px;border-radius:14px;background:#f0f6f2;color:#668b7b;margin:0 auto 13px}.empty strong{color:#355a4e}.empty p{margin:6px 0;line-height:1.5}.notice{background:#eef8f1;border-radius:10px;padding:16px;font-size:13px;color:#195c43}.notice p{margin:7px 0 0;color:#395e4d;line-height:1.55}.error{background:#fff0ed;color:#922e25}.error p{color:#84372e}.result-label{font-size:11px;letter-spacing:.06em;color:#58766a;font-weight:700;display:flex;justify-content:space-between;align-items:center;gap:8px}.result-label b{background:#e7f4ec;color:#176c52;padding:4px 9px;border-radius:20px}.item{display:flex;align-items:center;gap:12px;padding:16px 0;border-bottom:1px solid #e8efea;font-size:14px}.item-index{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:#f0f6f2;color:#477866;font-size:11px;font-weight:700}.item-name{min-width:0}.item-name strong,.item-name small{display:block;overflow-wrap:anywhere}.item-name small{font-size:11px;color:var(--muted);margin-top:3px}.item>b{margin-left:auto;color:#176f53;font-variant-numeric:tabular-nums}footer{display:flex;justify-content:space-between;gap:16px;color:#658078;font-size:10px;font-weight:700;letter-spacing:.07em;padding-top:30px}footer span span{color:#94aaa0;margin:0 5px}@media(max-width:800px){.layout{grid-template-columns:1fr}.intro-note,.header-caption{display:none}.status{min-height:0}.empty{padding:12px 0 20px}}@media(max-width:480px){.header-inner{padding:12px 18px}.brand small{font-size:9px}.mock{font-size:11px}.intro h1{font-size:30px}main{padding:36px 16px 24px}.intro{margin-bottom:24px}.panel-title{padding:16px 18px}.upload,.preview-area{margin:18px;min-height:280px}.file-row{padding:0 18px}.image-hint{margin:20px 18px}.results-body{padding:24px 18px}footer span:last-child{display:none}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important}}::selection{background:#c9e8d9;color:#123c32}main{max-width:1240px;padding-top:38px}.intro{margin-bottom:26px}.intro h1{font-size:32px;letter-spacing:-.025em;margin:0 0 8px}.intro-note{padding-bottom:2px}.panel{box-shadow:none}.panel-title{min-height:76px}.upload{min-height:320px;background:#f9fcfa;border-color:#a7cabc;transition:border-color .18s ease,background-color .18s ease}.upload.dragging,.preview-area.dragging{background:#e5f4eb;outline:2px solid #3d9474;outline-offset:-2px}.upload-icon{background:transparent;border:1px solid #c4ddd0;border-radius:50%;width:54px;height:54px}.choose-button{background:#146f5a;color:#fff;border-color:#146f5a;padding:0 20px}.choose-button:hover{background:#0e5948;color:#fff}.detect:not(:disabled),.choose-button,.text-button{transition:background-color .15s ease,color .15s ease}.detect:not(:disabled):active,.choose-button:active{background:#0b493a}.image-hint,.image-error{margin:18px 24px 24px;font-size:13px;line-height:1.5}.image-hint{color:#4e6c60}.image-error{color:#8a2f27;background:#fff0ed;border-radius:8px;padding:12px 14px}.results-body{padding-top:24px}.spark{background:transparent;border:1px solid #c9ded3;border-radius:50%}.status{min-height:150px}.empty-icon{background:transparent;border:1px solid #d5e4da;border-radius:50%}@media(max-width:800px){.intro h1{font-size:29px}.status{min-height:0}}@media(max-width:480px){main{padding-top:28px}.intro h1{font-size:26px}.upload,.preview-area{min-height:260px}.image-hint,.image-error{margin:18px}.panel-title{min-height:72px}}.detection-box{position:absolute;display:block;border:2px solid #69e6a5;background:transparent;padding:0;line-height:1.3;text-align:left;box-shadow:0 0 0 1px #145e49}.detection-box.selected{border-color:#fff;box-shadow:0 0 0 3px #087451;z-index:3}.detection-box:focus-visible,.detection-row:focus-visible,.bin-members button:focus-visible{outline:3px solid #13866d;outline-offset:3px;z-index:4}.box-label{position:absolute;top:0;left:0;display:flex;flex-direction:column;gap:2px;background:#145e49;color:#fff;padding:5px 7px;font-size:11px;line-height:1.35;width:max-content;max-width:min(150px,42vw);overflow-wrap:anywhere}.box-label.label-right{left:auto;right:0}.box-label.label-bottom{top:auto;bottom:0}.box-label span{font-size:10px}.detection-row{width:100%;display:flex;gap:10px;align-items:flex-start;text-align:left;border:1px solid transparent;border-bottom-color:#e6eee9;padding:14px 8px;background:#fff;border-radius:8px;color:#173b3d}.detection-row:hover,.detection-row.selected{background:#eef8f2;border-color:#add4be}.detection-row .item-index{display:grid;place-items:center;min-width:36px;height:34px;border-radius:8px;background:#edf5ef;font-size:12px;font-weight:700}.row-content{min-width:0;flex:1}.row-top{display:flex;justify-content:space-between;gap:10px;font-size:13px}.row-top b{color:#176f53;white-space:nowrap}.row-bin{display:flex;align-items:center;gap:8px;margin-top:8px;font-size:12px;line-height:1.4}.bin-icon{width:32px;height:32px;display:inline-grid;place-items:center;flex:none;border-radius:8px;background:#fff1be;color:#70520b}.bin-icon svg{width:20px;height:20px}.bin-icon.black_hazardous{background:#e5e9e7;color:#283a34}.bin-icon.unknown{background:#edf0ee;color:#51665e}.bin-groups{margin-top:22px;padding:24px;background:#fff;border:1px solid #dbe8e3;border-radius:16px}.bin-groups-head{display:flex;justify-content:space-between;gap:12px;align-items:start}.bin-groups h2{font:700 20px Figtree,sans-serif;margin:0}.bin-groups-head p{font-size:13px;color:#526e6b;margin:6px 0 0}.bin-groups-head>span{font-size:12px;color:#526e6b;white-space:nowrap}.bin-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:20px}.bin-group{border:1px solid #dbe8e3;border-radius:10px;padding:14px;min-width:0}.bin-group.selected{border-color:#29846a;background:#f2faf5;box-shadow:0 0 0 1px #29846a}.bin-group-head{display:flex;align-items:center;gap:10px}.bin-group-head>div{min-width:0;flex:1}.bin-group-head strong,.bin-group-head small{display:block;line-height:1.4;overflow-wrap:anywhere}.bin-group-head strong{font-size:13px}.bin-group-head small{font-size:11px;color:#526e6b;margin-top:3px}.bin-group-head>b{font-size:14px;color:#275b49}.bin-members{display:flex;flex-wrap:wrap;gap:6px;margin-top:14px}.bin-members span{font-size:12px;color:#60796d}.bin-members button{border:1px solid #d4e4da;border-radius:6px;background:#f6faf7;color:#265b49;font-size:12px;padding:7px 9px;text-align:left}.bin-members button.selected{background:#176f53;color:#fff;border-color:#176f53}@media(max-width:800px){.bin-grid{grid-template-columns:1fr}.bin-groups{padding:20px 18px}.box-label{font-size:10px;max-width:min(130px,38vw)}}.source-tabs{display:flex;gap:8px;margin-bottom:20px}.source-tabs button{border:1px solid var(--line);border-radius:8px;padding:10px 22px;background:#fff;color:var(--green);font-weight:700}.source-tabs button[aria-pressed=true]{background:var(--green);color:#fff}.webcam-preview{padding:20px;min-height:240px;background:#e8f0ed;display:flex;align-items:center;justify-content:center}.webcam-image{width:100%;max-width:none!important}.webcam-image video{display:block;width:100%;height:auto;background:#173b3d;border-radius:8px}.webcam-controls{display:flex;align-items:center;gap:16px;padding:16px 24px 0}.webcam-status{padding:0 24px;color:var(--muted);font-size:14px;line-height:1.6}
