:root{--bg:#f6f7f9;--surface:#fff;--text:#15181d;--muted:#5b6470;--accent:#1f6feb;--ok:#1a7f37;--error:#c62828;--warning-bg:#fff4ce;--warning-text:#5c4400;--radius:12px;--tap:56px;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial;--bg:#111418;--surface:#1a1f25;--text:#e8ebef;--muted:#9aa4b1;--accent:#4c8dff;--ok:#3fb950;--error:#ff6b6b;--warning-bg:#3d3000;--warning-text:#ffe28a}}*{box-sizing:border-box}html,body{background:var(--bg);color:var(--text);-webkit-text-size-adjust:100%;margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,PingFang SC,Microsoft YaHei,sans-serif;overflow-x:hidden}.shell{max-width:960px;margin:0 auto;padding:24px 16px}.env-banner{background:var(--warning-bg);color:var(--warning-text);text-align:center;padding:8px 16px;font-size:.9rem;font-weight:600}h1{margin:0;font-size:1.5rem}h2{margin:0;font-size:1.15rem}a{color:var(--accent)}.muted{color:var(--muted)}.small{font-size:.875rem}.stack{flex-direction:column;gap:16px;display:flex}.stack-sm{flex-direction:column;gap:8px;display:flex}.row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.card{background:var(--surface);border-radius:var(--radius);padding:16px;box-shadow:0 1px 2px #00000014}.app{flex-direction:column;min-height:100dvh;display:flex}.topbar{background:var(--surface);z-index:10;border-bottom:1px solid #7f7f7f33;justify-content:space-between;align-items:center;gap:12px;padding:8px 16px;display:flex;position:sticky;top:0}.brand{color:var(--text);white-space:nowrap;font-weight:700;text-decoration:none}.topbar-user{align-items:center;gap:8px;min-width:0;display:flex}.user-name{text-overflow:ellipsis;white-space:nowrap;max-width:30vw;overflow:hidden}@media (max-width:599px){.topbar .user-name,.topbar .badge{display:none}}.app-body{flex:1;display:flex}.content{padding:16px;padding-bottom:calc(var(--tap) + 32px);flex:1;width:100%;max-width:960px;margin:0 auto}.side-nav{display:none}.bottom-nav{z-index:10;background:var(--surface);padding-bottom:env(safe-area-inset-bottom);border-top:1px solid #7f7f7f40;display:flex;position:fixed;bottom:0;left:0;right:0}.tab{min-width:0;min-height:var(--tap);-webkit-hyphens:auto;hyphens:auto;text-align:center;color:var(--muted);flex:1 1 0;justify-content:center;align-items:center;padding:4px 2px;font-size:.72rem;font-weight:600;line-height:1.15;text-decoration:none;display:flex;position:relative}.tab[aria-current=page]{color:var(--accent);box-shadow:inset 0 3px 0 var(--accent)}.more summary{cursor:pointer;justify-content:center;align-items:center;height:100%;list-style:none;display:flex}.more summary::-webkit-details-marker{display:none}.more-menu{background:var(--surface);border-radius:var(--radius);flex-direction:column;min-width:220px;padding:8px;display:flex;position:absolute;bottom:calc(100% + 4px);right:4px;box-shadow:0 4px 16px #0003}.more-menu a{min-height:48px;color:var(--text);border-radius:8px;align-items:center;padding:0 12px;font-size:1rem;text-decoration:none;display:flex}.more-menu a[aria-current=page]{color:var(--accent)}@media (min-width:900px){.bottom-nav{display:none}.content{padding-bottom:32px}.side-nav{background:var(--surface);border-right:1px solid #7f7f7f33;flex-direction:column;gap:2px;width:240px;padding:16px 8px;display:flex}.side-link{min-height:44px;color:var(--text);border-radius:8px;align-items:center;padding:0 12px;text-decoration:none;display:flex}.side-link[aria-current=page]{color:var(--accent);background:#1f6feb1f;font-weight:600}}.field{flex-direction:column;gap:6px;font-weight:600;display:flex}.field input,.field select{min-height:var(--tap);background:var(--bg);color:var(--text);border:1px solid #7f7f7f73;border-radius:10px;padding:0 12px;font-size:1rem}.btn{cursor:pointer;border:0;border-radius:10px;justify-content:center;align-items:center;min-height:48px;padding:0 18px;font-size:1rem;font-weight:600;text-decoration:none;display:inline-flex}.btn:disabled{opacity:.55;cursor:default}.btn-primary{background:var(--accent);color:#fff;min-height:var(--tap)}.btn-secondary{color:var(--text);background:#7f7f7f26}.btn-ghost{color:var(--muted);background:0 0;min-height:40px;padding:0 8px}.btn-block{width:100%}.alert{border-radius:10px;margin:0;padding:12px 14px;font-weight:600}.alert-error{color:var(--error);background:#c628281f}.alert-ok{color:var(--ok);background:#1a7f371f}.alert p{margin:4px 0}.credential{letter-spacing:.05em;-webkit-user-select:all;user-select:all;font-family:ui-monospace,monospace;font-size:1.3rem}.badge{white-space:nowrap;background:#7f7f7f26;border-radius:999px;padding:2px 10px;font-size:.8rem;font-weight:600}.status-on{color:var(--ok);font-weight:600}.status-off{color:var(--error);font-weight:600}.chip{min-height:44px;color:var(--text);cursor:pointer;background:0 0;border:1px solid #7f7f7f66;border-radius:999px;padding:0 14px;font-size:.95rem}.chip-active{background:var(--accent);border-color:var(--accent);color:#fff}.lang-switch{flex-wrap:wrap;justify-content:center;gap:8px;display:flex}.choice-grid{gap:8px;display:grid}.choice{min-height:var(--tap);border:1px solid #7f7f7f59;border-radius:10px;align-items:center;gap:12px;padding:0 12px;display:flex}.choice input{width:22px;height:22px}.auth-page{justify-content:center;align-items:center;min-height:100dvh;padding:16px;display:flex}.auth-card{flex-direction:column;gap:16px;width:100%;max-width:420px;display:flex}.auth-card .brand{color:var(--accent);margin:0}.list{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.list-item{flex-direction:column;gap:12px;display:flex}@media (min-width:700px){.list-item{flex-direction:row;justify-content:space-between;align-items:center}}.table-wrap{background:var(--surface);border-radius:var(--radius);overflow-x:auto}.table{border-collapse:collapse;width:100%;font-size:.9rem}.table th,.table td{text-align:left;white-space:nowrap;border-bottom:1px solid #7f7f7f26;padding:10px 12px}.scan-bar{grid-template-columns:1fr auto auto;gap:8px;display:grid}.scan-field{min-height:var(--tap);border:2px solid var(--accent);background:var(--surface);min-width:0;color:var(--text);border-radius:10px;padding:0 14px;font-family:ui-monospace,monospace;font-size:1.15rem}@media (max-width:480px){.scan-bar{grid-template-columns:1fr 1fr}.scan-field{grid-column:1/-1}}.alert-warn{color:var(--warning-text);background:#bf870029}.banner-status{padding:16px;font-size:1.15rem}.scan-ok .banner-status{border-left:8px solid var(--ok)}.scan-error .banner-status{border-left:8px solid var(--error)}.scan-warn .banner-status{border-left:8px solid #bf8700}.product-card h2{font-size:1.2rem}.facts dt{color:var(--muted)}.fact-row{display:contents}.components{flex-direction:column;gap:6px;margin:0;padding-left:20px;display:flex}h3{margin:4px 0 0;font-size:1rem}.choice-button{text-align:left;width:100%;min-height:var(--tap);background:var(--surface);color:var(--text);cursor:pointer;border:2px solid #7f7f7f59;border-radius:10px;flex-direction:column;align-items:flex-start;gap:4px;padding:12px 14px;font-size:1rem;display:flex}.camera-overlay{z-index:50;background:#000;flex-direction:column;justify-content:center;align-items:center;gap:16px;padding:16px;display:flex;position:fixed;inset:0}.camera-video{object-fit:cover;border-radius:12px;width:100%;max-width:720px;max-height:70dvh}.camera-frame{pointer-events:none;border:3px solid #4c8dff;border-radius:12px;width:min(80vw,520px);height:min(30vw,200px);position:absolute;box-shadow:0 0 0 9999px #00000040}.camera-hint{color:#fff;text-align:center;margin:0}.camera-close{min-width:160px}.tile{background:var(--surface);border-radius:var(--radius);border-top:4px solid var(--muted);flex-direction:column;gap:4px;padding:14px;display:flex}.tile-blocker{border-top-color:var(--error)}.tile-warning{border-top-color:#bf8700}.tile-info{border-top-color:var(--accent)}.tile-value{font-size:1.8rem;font-weight:700}.tile-label{color:var(--muted);font-size:.9rem}.check summary{cursor:pointer;align-items:center;gap:10px;min-height:40px;list-style:none;display:flex}.check summary::-webkit-details-marker{display:none}.check-name{flex:1;font-weight:600}.check-count{font-size:1.1rem;font-weight:700}.check-clear{opacity:.6}.sev{white-space:nowrap;border-radius:999px;padding:2px 8px;font-size:.75rem;font-weight:700}.sev-blocker{color:var(--error);background:#c6282824}.sev-warning{color:var(--warning-text);background:#bf87002e}.sev-info{color:var(--accent);background:#1f6feb1f}.issue-list{flex-direction:column;gap:6px;max-height:420px;margin:12px 0 0;padding-left:18px;display:flex;overflow:auto}.list-link{color:var(--text);flex-direction:column;gap:6px;text-decoration:none;display:flex}.list-link progress{width:100%;height:8px;accent-color:var(--accent)}.owner{white-space:nowrap;border-radius:999px;padding:2px 10px;font-size:.75rem;font-weight:700}.owner-INKTKENNERS{color:var(--accent);background:#1f6feb24}.owner-DOREE{color:#8250df;background:#8250df29}.warn-text{color:var(--warning-text);font-weight:600}.spread{justify-content:space-between}.grid-3{grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:8px;display:grid}.qty{flex-wrap:wrap;align-items:center;gap:6px;font-weight:600;display:flex}.qty input{text-align:center;background:var(--bg);width:90px;min-height:48px;color:var(--text);border:1px solid #7f7f7f73;border-radius:10px;font-size:1.1rem}.toggle{cursor:pointer;border:2px solid #7f7f7f59;border-radius:10px;align-items:center;gap:8px;min-height:48px;padding:0 12px;font-weight:600;display:flex}.toggle input{width:22px;height:22px}.toggle-on{background:#bf870029;border-color:#bf8700}.btn-small{min-height:40px;padding:0 12px}textarea{font:inherit;background:var(--bg);color:var(--text);border:1px solid #7f7f7f73;border-radius:10px;padding:10px 12px;font-family:ui-monospace,monospace}.lines{flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}.line{background:var(--bg);border-left:6px solid #7f7f7f66;border-radius:10px;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;display:flex}.line-main{flex-direction:column;gap:2px;min-width:0;display:flex}.line-counts{white-space:nowrap;align-items:center;gap:10px;font-size:1.05rem;display:flex}.line-done{border-left-color:var(--ok)}.line-over,.line-extra{border-left-color:#bf8700}.line-open{border-left-color:var(--accent)}.putaway-panel{border:2px solid var(--accent)}.location-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:6px;margin:0;padding:0;list-style:none;display:grid}.location-cell strong{overflow-wrap:anywhere}.location-cell{background:var(--bg);border-radius:8px;flex-direction:column;padding:8px 10px;display:flex}.location-receiving,.location-staging{border-left:4px solid var(--accent)}.location-quarantine,.location-damaged{border-left:4px solid var(--error)}.filter-chips{flex-wrap:wrap;gap:6px;display:flex}.filter-chips .chip{align-items:center;gap:6px;text-decoration:none;display:inline-flex}.status{white-space:nowrap;background:#7f7f7f26;border-radius:999px;padding:2px 10px;font-size:.75rem;font-weight:700}.status-ready_to_pick{color:var(--accent);background:#1f6feb24}.status-picking,.status-picked,.status-packing,.status-ready_to_ship{color:#8250df;background:#8250df29}.status-shipped{color:var(--ok);background:#1a7f3724}.status-exception{color:var(--error);background:#c6282824}.status-cancelled{opacity:.6}.inline-input{background:var(--bg);min-height:48px;color:var(--text);border:1px solid #7f7f7f73;border-radius:10px;flex:1;min-width:160px;padding:0 12px;font-size:1rem}.danger{color:var(--error)}.history{flex-direction:column;gap:4px;margin:0;padding-left:18px;display:flex}.test-orders{align-items:center}.select-list{flex-direction:column;gap:4px;max-height:420px;margin:0;padding:0;list-style:none;display:flex;overflow:auto}.select-row{min-height:var(--tap);cursor:pointer;border:1px solid #7f7f7f4d;border-radius:10px;align-items:center;gap:12px;padding:0 12px;display:flex}.select-row input{width:22px;height:22px}.select-row.selected{border-color:var(--accent);background:#1f6feb14}.current-task{align-items:center;gap:16px;padding:8px 0;display:flex}.current-location{letter-spacing:.02em;background:var(--accent);color:#fff;white-space:nowrap;border-radius:12px;padding:8px 14px;font-size:2.2rem;font-weight:800}.current-qty{font-size:1.4rem;font-weight:700}.pick-list{flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}.pick-task{background:var(--surface);border-left:6px solid #7f7f7f59;border-radius:10px;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;padding:10px 12px;display:grid}.pick-current{border-left-color:var(--accent);box-shadow:0 0 0 2px #1f6feb59}.pick-done{border-left-color:var(--ok);opacity:.7}.pick-short{border-left-color:var(--error)}.pick-location{min-width:84px;font-size:1.15rem;font-weight:800}.pick-main{flex-direction:column;gap:2px;min-width:0;display:flex}.pick-side{flex-direction:column;align-items:flex-end;gap:6px;display:flex}.pick-count{font-size:1.2rem;font-weight:700}@media (max-width:520px){.pick-task{grid-template-columns:1fr auto}.pick-location{grid-column:1/-1}}.qty-picker{flex-direction:column;gap:6px;display:flex}.qty-title{font-weight:600}.ship-panel{border:2px solid #1f6feb59}.steps{flex-wrap:wrap;gap:6px;margin:0;padding:0;font-size:.85rem;font-weight:600;list-style:none;display:flex}.steps li{color:var(--muted);background:#7f7f7f1f;border-radius:999px;padding:4px 10px}.steps .step-current{background:var(--accent);color:#fff}.steps .step-done{color:var(--ok);background:#1a7f3724}.btn-confirm{min-height:64px;font-size:1.15rem}.label-form input[type=file]{background:0 0;border:0;min-height:auto;padding:10px 0}.tiles{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px;display:grid}.tile{min-height:96px;color:var(--text);border-left:6px solid #7f7f7f40;flex-direction:column;gap:4px;text-decoration:none;display:flex}.tile-value{font-size:1.9rem;font-weight:800;line-height:1.1}.tile-label{opacity:.85;font-size:.9rem}.tile-ok{border-left-color:var(--ok)}.tile-warn{border-left-color:#bf8700}.tile-error{border-left-color:var(--error)}.tile-error .tile-value{color:var(--error)}.status-exception-open{color:var(--error);background:#c6282824}.status-exception-in_progress{color:var(--warning-text);background:#bf870029}.status-exception-resolved{color:var(--ok);background:#1a7f3724}.chip-choice{flex-wrap:wrap;gap:8px;display:flex}.chip-choice .chip{min-height:48px}.issue-form fieldset{border:0;margin:0;padding:0}.issue-form legend{margin-bottom:8px;font-weight:600}.badge-code{font-family:ui-monospace,monospace;font-size:.95rem}.issue-link{color:var(--error);font-weight:600}.ok-text{color:var(--ok)}.stack-xs{flex-direction:column;gap:4px;display:flex}.exception-description{white-space:pre-wrap;overflow-wrap:anywhere;font-size:1.1rem}.exception-photo{border-radius:var(--radius);object-fit:contain;align-self:flex-start;max-width:100%;max-height:480px}.facts{grid-template-columns:max-content 1fr;gap:4px 16px;margin:0;display:grid}.facts dt{opacity:.7}.facts dd{overflow-wrap:anywhere;margin:0}.history{flex-direction:column;gap:8px;padding-left:0;list-style:none;display:flex}.report-filter{flex-wrap:wrap;align-items:flex-end;gap:12px;display:flex}.report-filter .field{flex:1;min-width:140px}.form-row{flex-wrap:wrap;gap:12px;display:flex}.form-row .field{flex:1;min-width:150px}.table .num{text-align:right;font-variant-numeric:tabular-nums}.table tfoot th{border-top:2px solid #7f7f7f59}.statement h3{margin:12px 0 0;font-size:1rem}.rates-table tr.muted td{opacity:.6}.lang-switch{border:1px solid #7f7f7f59;border-radius:999px;flex-shrink:0;display:flex;overflow:hidden}.lang-switch button{min-width:40px;min-height:36px;color:var(--text);cursor:pointer;background:0 0;border:0;padding:0 8px;font-size:.85rem;font-weight:600}.lang-switch button+button{border-left:1px solid #7f7f7f59}.lang-switch .lang-current{background:var(--accent);color:#fff}.shadow-table td.wrap{white-space:normal;min-width:220px}.shadow-table .badge{margin-left:6px}.shadow-table tr.row-warn td:first-child{box-shadow:inset 4px 0 #bf8700}
