*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0;background:#f4f5ee;color:#243c2e;font:15px/1.5 system-ui,-apple-system,sans-serif}button,input,textarea,select{font:inherit}button,.upload,.restore{cursor:pointer;border-radius:11px;padding:11px 15px;min-height:44px;border:1px solid #d4ddcd;font-weight:600;font-size:14px}button:disabled{opacity:.5;cursor:not-allowed}button:focus-visible,summary:focus-visible,a:focus-visible{outline:3px solid #829c65;outline-offset:3px}.primary{background:#344f3c;color:#fff;border-color:#344f3c}.secondary,.upload,.restore{background:#edf1e6;color:#344f3c}.textbutton{border:0;background:transparent;color:#52694b}.wide{width:100%;margin-top:12px}.apphead{max-width:1280px;margin:auto;padding:18px 28px;display:flex;justify-content:space-between;align-items:center;gap:14px}.brand{display:flex;align-items:center;gap:10px;font-weight:750;letter-spacing:1.5px}.brand small{display:block;font-size:10px;letter-spacing:1.8px;font-weight:500}.logo{background:#344f3c;color:#fff;padding:8px 13px;border-radius:12px}.head-actions{display:flex;gap:8px}.appmain{max-width:1280px;margin:auto;padding:0 28px 100px}.tripbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 0;border-top:1px solid #dce2d4}.tripbar small{display:block;color:#65765e;font-size:12px;overflow-wrap:anywhere}.stats{display:flex;border-bottom:1px solid #dce2d4;padding:6px 0 18px;margin-bottom:18px;gap:24px}.stats>div{flex:1}.stats strong{display:block;font-size:24px}.stats span{font-size:12px;color:#68775f}.worklayout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:24px;align-items:start}.workbench{min-width:0;background:#fffef9;border:1px solid #dce2d4;border-radius:20px;padding:20px}.workflow-tabs{display:flex;gap:4px;background:#f0f3e9;padding:5px;border-radius:12px}.workflow-tabs button{flex:1;min-width:0;background:transparent;border:0;padding:9px 4px;font-size:13px;color:#64725b;white-space:nowrap}.workflow-tabs button[aria-pressed=true]{background:#344f3c;color:white}.workheading{margin:20px 0 14px}.workheading small{font-size:12px;color:#6f7e63}h1{font-size:25px;letter-spacing:-.7px;margin:4px 0}h2{font-size:19px;margin:0 0 12px}h3{font-size:16px;margin:6px 0}p{margin:8px 0}small,.hint{color:#69795f;font-size:13px}.hint{line-height:1.6;margin:10px 0}.card{background:#fffef9;border:1px solid #dce2d4;border-radius:15px;padding:18px;margin-bottom:16px}.workbench .scan,.workbench .result{border:0;padding:0;background:transparent}.cardhead{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;margin-bottom:14px}.cardhead h2{margin:0}.actions{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.tight{margin:0}input,select,textarea{width:100%;min-width:0;padding:12px;border:1px solid #cdd8c2;border-radius:10px;background:#fff;color:#243c2e;font-size:16px}input:focus,textarea:focus,select:focus{outline:3px solid #d6e4bc;border-color:#829c65}label{display:block;font-size:13px;font-weight:600;margin:15px 0 7px}textarea{min-height:90px;resize:vertical}.scanline{display:flex;gap:10px}.scanline input{min-width:0;flex:1;font-family:ui-monospace,monospace}.upload,.restore{display:block;text-align:center}.upload input,.restore input{display:none}.restore{margin:0}.fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}.fields label{margin-top:0}.fields .upload{min-height:50px;margin:0}.tracking{font:16px/1.5 ui-monospace,monospace;overflow-wrap:anywhere;padding:12px 0}.badge{display:inline-block;font-size:12px;color:#556c45;background:#edf3e3;padding:5px 8px;border-radius:6px}.photos{display:flex;flex-wrap:wrap;gap:10px;margin:14px 0}.photo{position:relative}.photo img{height:100px;width:100px;object-fit:cover;border-radius:12px}.photo button{position:absolute;right:0;top:0;padding:0 8px;min-height:30px;background:#fff}.ordersearch{margin:18px 0}.candidate{display:flex;align-items:center;gap:10px;padding:15px;border:1px solid #dbe4d2;border-radius:12px;margin:10px 0}.candidate>div{flex:1;min-width:0;overflow-wrap:anywhere}.candidate small{display:block}.candidate button{flex-shrink:0}.item{display:flex;gap:10px;border-top:1px solid #e0e5d9;padding:16px 0}.itemdetail{flex:1;min-width:0;overflow-wrap:anywhere}.shopcode{font-size:22px;font-weight:750}.qty{width:80px;flex-shrink:0}.qty label{font-size:12px;margin-top:0}.qty input{padding:10px}.smallbtn{font-size:12px;min-height:36px;padding:6px 10px;margin-top:8px}.summarycodes{border-radius:16px;background:#edf3e4;padding:20px;margin:14px 0}.summarycodes p{padding:12px 0;border-bottom:1px solid #d3dfc8}.summarycodes p:last-child{border:0}.summarycodes b{display:block;font-size:30px;letter-spacing:-.6px;overflow-wrap:anywhere;color:#304d36}.labelcheck{display:flex;align-items:center;gap:10px;font-size:15px;min-height:50px}.labelcheck input{width:22px;height:22px;accent-color:#344f3c}.workflow-footer{display:flex;flex-wrap:wrap;gap:8px;position:sticky;bottom:0;background:#fffef9;border-top:1px solid #dce2d4;padding:14px 0 max(8px,env(safe-area-inset-bottom));margin-top:20px;z-index:3}.workflow-footer .primary{flex:1}#workflow-later{width:100%;min-height:36px;font-size:13px}#confirm,#savepackage,#reopen{display:none}.queuepane>.textbutton{display:none}.queuepane .card{padding:18px}.queuepane h2{font-size:16px}.queuepane .cardhead button{font-size:12px}.qrow{display:flex;align-items:center;gap:8px;border-bottom:1px solid #e0e5d9;padding:12px 0}.qrow button{flex:1;min-width:0;text-align:left;background:transparent;border:0;padding:0;overflow-wrap:anywhere;font:13px ui-monospace,monospace}.qrow small{display:block;font:12px system-ui}.qstatus{font-size:11px;padding:5px 7px;border-radius:8px;background:#edf0e6;max-width:95px}.checked{background:#dfebd3}.missing{background:#f9e7cc}.status{padding:12px 14px;background:#e9f1df;border-radius:12px;margin:10px 0;overflow-wrap:anywhere}.warn{background:#fff0d5;color:#785623}#notice:empty{display:none}.empty{padding:30px;text-align:center}.step{display:none}hr{border:0;border-top:1px solid #e0e5d9;margin:20px 0}summary{cursor:pointer;font-size:14px;margin:14px 0}a{color:#3b623c;font-size:14px}video{width:100%;max-height:300px;background:#111;border-radius:12px;margin-top:12px}dialog{width:min(640px,calc(100% - 24px));max-height:90dvh;border:1px solid #cdd8c2;border-radius:18px;padding:20px;background:#f4f5ee;color:#243c2e}dialog::backdrop{background:#17291cb3}.dialoghead{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:16px}.dialoghead h2{margin:0}#googlesetup code{display:block;overflow-wrap:anywhere;background:#edf1e6;padding:10px;font-size:12px}#googlesetup li{margin-bottom:10px}#syncresult,#current-sync-result{overflow-wrap:anywhere;font-size:14px;margin-top:12px}#completed-code{overflow-wrap:anywhere;font-family:ui-monospace,monospace;margin-top:15px}#completion-status{padding:15px;background:#edf3e4;border-radius:12px}
@media(min-width:900px){#open-queue{display:none}.workbench{max-width:780px}}
@media(max-width:899px){.worklayout{display:block}.queuepane{display:none}.queuepane.is-open{display:block;position:fixed;inset:8px;z-index:20;background:#f4f5ee;overflow:auto;border-radius:16px;padding:16px;box-shadow:0 0 0 30px #17291c99}.queuepane>.textbutton{display:block;margin-left:auto}.apphead{padding:16px}.appmain{padding:0 14px 50px}.stats{gap:12px}.workbench{padding:16px}.workflow-footer{bottom:0}.head-actions button{font-size:12px;padding:9px 11px}.tripbar strong{font-size:14px}.tripbar button{font-size:12px}.tripbar small{max-width:230px}.stats strong{font-size:22px}}
@media(max-width:420px){.fields{grid-template-columns:1fr}.scanline{flex-wrap:wrap}.scanline button{width:100%}.candidate{flex-wrap:wrap}.candidate button{width:100%}.brand{font-size:13px;letter-spacing:1px}.brand small{font-size:8px}.logo{display:none}.workbench{padding:12px}.summarycodes{padding:14px}.summarycodes b{font-size:26px}.workflow-tabs button{font-size:12px}.head-actions{gap:5px}}
.appnav{max-width:1280px;margin:0 auto 12px;padding:0 28px;display:flex;gap:8px}.appnav button[aria-pressed=true]{background:#344f3c;color:#fff}.appnav button[aria-pressed=false]{background:#edf1e6;color:#344f3c}.history-layout{display:grid;grid-template-columns:280px minmax(0,1fr);gap:22px;margin-top:20px}.trip-history-card{display:block;width:100%;text-align:left;padding:16px;background:#fffef9;margin-bottom:10px}.trip-history-card strong,.trip-history-card small{display:block;margin-top:7px}.trip-history-card[aria-pressed=true]{border:2px solid #577b43;background:#eaf1e1}.package-album{border-top:1px solid #dce2d4;padding:20px 0}.package-album .tracking{margin:0;padding:0;font-size:15px}.album-note{white-space:pre-wrap;overflow-wrap:anywhere}.history-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(115px,1fr));gap:10px}.album-photo{padding:0;background:#edf1e6;overflow:hidden;border:0;aspect-ratio:1}.album-photo img{width:100%;height:100%;object-fit:cover;display:block}.album-group{margin-top:18px}.history-empty{padding:30px 0;color:#69795f}#photo-dialog{width:min(1000px,calc(100% - 20px))}#history-photo{display:block;max-width:100%;max-height:72dvh;margin:auto;object-fit:contain}#history-detail{scroll-margin-top:12px;min-width:0;overflow-wrap:anywhere}@media(max-width:899px){.appnav{padding:0 16px}.history-layout{grid-template-columns:1fr;gap:14px}#history-list{display:flex;gap:10px;overflow:auto;align-items:stretch}.trip-history-card{flex:0 0 240px}.history-gallery{grid-template-columns:repeat(auto-fill,minmax(100px,1fr))}}
.history-layout{grid-template-columns:250px minmax(0,1fr)}.history-table-head,.history-package{display:grid;grid-template-columns:minmax(145px,1.2fr) 80px minmax(120px,1.4fr) minmax(120px,1.2fr) 86px;gap:12px;align-items:start}.history-table-head{font-size:11px;color:#69795f;padding:12px 0;border-bottom:1px solid #dce2d4}.history-package{padding:18px 0;border-bottom:1px solid #dce2d4}.history-tracking .tracking{display:block;padding:3px 0;font-size:13px}.history-tracking small{font-size:11px}.history-weight{font-weight:650;padding-top:18px}.history-note p{margin:0}.history-note details summary{font-size:12px;margin:7px 0}.history-photo-strip{display:flex;gap:7px;overflow-x:auto;padding:3px 0 8px;max-width:100%}.history-thumb{padding:0;border:0;background:#edf1e6;flex:0 0 66px;overflow:hidden;min-height:0;border-radius:8px}.history-thumb img{display:block;width:66px;height:66px;object-fit:cover}.history-thumb small{display:block;font-size:10px;padding:2px}.history-edit-button{margin:15px 0 0;font-size:11px;padding:7px 8px;min-height:34px}.mobile-label{display:none}.history-continue{margin-bottom:16px}.history-continue summary{font-size:12px}#history-edit-photos .photo small{display:block;font-size:11px}#history-edit-message{overflow-wrap:anywhere}@media(min-width:900px){#history-view{margin-left:-12px;margin-right:-12px}}@media(max-width:1100px){.history-layout{grid-template-columns:1fr}#history-list{display:flex;gap:10px;overflow-x:auto}.trip-history-card{flex:0 0 230px}.history-table-head,.history-package{grid-template-columns:minmax(135px,1.2fr) 75px minmax(120px,1.4fr) minmax(115px,1.2fr) 80px}}@media(max-width:650px){.history-table-head{display:none}.history-package{grid-template-columns:minmax(0,1fr) auto;gap:10px 14px;padding:18px 0}.history-tracking{grid-column:1;grid-row:1}.history-weight{grid-column:1;grid-row:2;padding:0}.history-note{grid-column:1/-1;grid-row:3}.history-photo-strip{grid-column:1/-1;grid-row:4}.history-edit-button{grid-column:2;grid-row:1;margin:12px 0 0}.mobile-label{display:inline-block;margin-right:8px;font-weight:400}.history-tracking .tracking{font-size:14px}.history-thumb{flex-basis:76px}.history-thumb img{width:76px;height:76px}}
