*{box-sizing:border-box}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;color:#1d2330;background:#f6f8fb}a{color:#2563b6;text-decoration:none}a:hover{text-decoration:underline}.muted{color:#6b7280}.small{font-size:12px}.mono{font-family:ui-monospace,Menlo,monospace;font-size:12px}.cap{text-transform:capitalize}.pos{color:#2e7d32}.neg{color:#b3261e}.pad{padding:18px}.layout{display:flex;min-height:100vh}.content{flex:1;min-width:0}.sidebar{width:232px;flex-shrink:0;background:#1a2b4a;color:#e9eef6;display:flex;flex-direction:column;padding:16px 0}.brand{font-weight:700;font-size:17px;padding:4px 18px 14px;display:flex;align-items:center;justify-content:space-between;gap:8px}.nav-collapse-btn{flex-shrink:0;background:transparent;border:1px solid #3a4f74;color:#cdd8ea;border-radius:7px;width:26px;height:26px;font-size:15px;line-height:1;cursor:pointer;padding:0}.nav-collapse-btn:hover{background:#243a5e;color:#fff}.sidebar{overflow:hidden;transition:width .18s ease,padding .18s ease}.sidebar.collapsed{width:0;padding-left:0;padding-right:0}.sidebar.collapsed>*{visibility:hidden}.nav-reopen{position:fixed;top:12px;left:12px;z-index:900;width:36px;height:36px;border-radius:9px;border:1px solid #2c3e60;background:#1a2b4a;color:#e9eef6;font-size:18px;line-height:1;cursor:pointer;padding:0;box-shadow:0 2px 8px #141e3c2e}.nav-reopen:hover{background:#243a5e}.switcher{padding:8px 14px 14px;border-top:1px solid #2c3e60;border-bottom:1px solid #2c3e60}.switcher-label{font-size:10px;letter-spacing:.08em;color:#8aa0c4;margin-bottom:6px}.switcher select{width:100%;padding:7px 8px;border-radius:7px;border:1px solid #3a4f74;background:#243a5e;color:#fff;font-size:13px}.switcher-list{margin-top:8px;display:flex;flex-direction:column;gap:3px}.acct{display:flex;align-items:center;gap:8px;width:100%;text-align:left;background:transparent;border:0;color:#cdd8ea;padding:6px 8px;border-radius:7px;cursor:pointer}.acct:hover{background:#243a5e}.acct.on{background:#2f4a73;color:#fff}.acct-name{flex:1;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.badge{width:18px;height:18px;border-radius:5px;display:grid;place-items:center;font-size:11px;font-weight:700;color:#fff;background:#f90}.badge.ebay{background:#e53238}.badge.walmart{background:#0071dc}.dot{width:8px;height:8px;border-radius:50%}.dot.ok{background:#46c46b}.dot.off{background:#6b7a93}.nav{display:flex;flex-direction:column;padding:12px 10px;gap:2px}.navlink{color:#cdd8ea;padding:9px 12px;border-radius:8px;font-size:14px}.navlink:hover{background:#243a5e;text-decoration:none}.navlink.active{background:#3a6bc4;color:#fff;font-weight:600}.page{padding:20px 24px}.page-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.page-head h1{font-size:20px;margin:0}.head-meta{display:flex;align-items:center;gap:14px}.btn{border:1px solid #cfd6e2;background:#fff;padding:6px 12px;border-radius:8px;font-size:13px;color:#1d2330;cursor:pointer}.btn:hover{background:#f0f3f8;text-decoration:none}.btn.primary{background:#2563b6;color:#fff;border-color:#2563b6}.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:16px}.card{background:#fff;border:1px solid #e3e6ec;border-radius:10px;padding:14px 16px}.card .n{font-size:24px;font-weight:700}.card .l{font-size:12px;color:#6b7280;margin-top:2px}.card.clickable{cursor:pointer}.card.clickable:hover{border-color:#b9c2d3}.card.clickable.sel{border-color:#3b82f6;box-shadow:0 0 0 1px #3b82f6 inset}.card .acct{display:flex;flex-wrap:wrap;gap:4px 12px;margin-top:6px}.card .acct-link{color:#2563b6;cursor:pointer;white-space:nowrap}.card .acct-link:hover{text-decoration:underline}.otdr-note{font-size:13px;margin-bottom:10px;display:flex;align-items:center;flex-wrap:wrap;gap:6px}.otdr-note.err{color:#c0392b}.toolbar{display:flex;align-items:center;gap:14px;margin-bottom:10px;font-size:13px}.toolbar input[type=text],.toolbar input:not([type]){padding:7px 10px;border:1px solid #cfd6e2;border-radius:8px;font-size:13px;min-width:220px}.table-wrap{overflow-x:auto}.grid{width:100%;border-collapse:collapse;background:#fff;border:1px solid #e3e6ec;border-radius:10px;overflow:hidden}.grid th,.grid td{padding:8px 11px;text-align:left;border-bottom:1px solid #eef1f6;font-size:13px;white-space:nowrap}.grid th{background:#f0f3f8;font-weight:600;font-size:11px;text-transform:uppercase;letter-spacing:.03em;cursor:pointer;-webkit-user-select:none;user-select:none}.grid td.num,.grid th.num{text-align:right}.grid.clickable tbody tr{cursor:pointer}.grid.clickable tbody tr:hover{background:#f5f9ff}.grid input[type=number]{width:96px;padding:5px 7px;border:1px solid #cfd6e2;border-radius:6px;text-align:right}.pill{font-size:11px;padding:2px 8px;border-radius:9px;font-weight:600}.pill.on{background:#e3f4e7;color:#2e7d32}.pill.off{background:#f0f1f4;color:#88909e}.pill.info{background:#e4ecfb;color:#2f5fd0}.pill.warn{background:#fdf0d9;color:#9a6b13}.pill.danger{background:#fce4e4;color:#c0392b}.fulfil-detail{display:flex;gap:18px;flex-wrap:wrap;align-items:center;font-size:13px;margin-bottom:12px}.fulfil-detail .k{color:#6b7280;margin-right:5px}.fulfil-detail .mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.th-cell{display:inline-flex;align-items:center;gap:4px}.th-sort{cursor:pointer;-webkit-user-select:none;user-select:none}.col-filter{position:relative;display:inline-block}.filt-btn{border:none;background:none;cursor:pointer;font-size:10px;color:#aab1be;padding:0 2px;line-height:1}.filt-btn.on{color:#2f5fd0}.filter-pop{position:absolute;top:18px;left:0;z-index:30;background:#fff;border:1px solid #d4dae6;border-radius:8px;box-shadow:0 6px 22px #141e3c29;padding:8px;min-width:170px;max-height:280px;overflow:auto}.filter-pop .fp-act{display:flex;gap:10px;padding:2px 4px 8px;border-bottom:1px solid #eef1f6;margin-bottom:6px}.filter-pop .fp-act a{color:#2f5fd0;cursor:pointer;font-size:12px}.filter-pop label{display:flex;align-items:center;gap:7px;padding:3px 4px;font-size:13px;font-weight:400;cursor:pointer;white-space:nowrap}.filter-pop label:hover{background:#f5f7fb;border-radius:5px}.col-filter .filter-pop{max-width:260px}.tracking-btn{display:inline-flex;align-items:center}.tracking-btn.has-events .mono{text-decoration:underline dotted #2f5fd0;color:#2563b6}.views-bar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:10px;font-size:13px}.views-bar select{padding:4px 7px;border:1px solid #cfd6e2;border-radius:6px}.views-bar button{padding:4px 10px;border:1px solid #cfd6e2;border-radius:6px;background:#fff;cursor:pointer;font-size:13px}.views-bar button:hover{background:#f5f7fb}.views-bar .vsep{color:#cbd2de}.tag{font-size:10px;color:#fff;background:#2e7d32;border-radius:8px;padding:1px 7px;margin-left:6px}.saved{color:#2e7d32;font-size:12px;margin-left:8px}.banner{padding:10px 14px;border-radius:8px;margin-bottom:12px;font-size:14px}.banner.ok{background:#e3f4e7;color:#1e6b30}.banner.err{background:#fde7e5;color:#9a261c}.overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f16268c;display:grid;place-items:center;z-index:1000}.modal{width:min(1280px,95vw);height:min(820px,92vh);background:#fff;border-radius:14px;display:flex;flex-direction:column;overflow:hidden}.modal-head{display:flex;align-items:center;justify-content:space-between;padding:14px 20px;border-bottom:1px solid #eef1f6}.modal-head h2{font-size:17px;margin:0}.x{border:0;background:transparent;font-size:24px;line-height:1;cursor:pointer;color:#6b7280}.modal-body{flex:1;display:grid;grid-template-columns:1.5fr 1fr;min-height:0}.map-col{position:relative;border-right:1px solid #eef1f6}.leaflet{width:100%;height:100%}.legend{position:absolute;bottom:12px;left:12px;z-index:500;background:#fff;border:1px solid #e3e6ec;border-radius:8px;padding:6px 10px;display:flex;gap:12px;font-size:12px}.legend i.d{width:10px;height:10px;border-radius:50%;display:inline-block;margin-right:4px}.legend i.g{background:#2e7d32}.legend i.a{background:#e8a33d}.legend i.n{background:#1a2b4a}.stat-col{padding:18px 20px;overflow-y:auto}.stats>div{display:flex;justify-content:space-between;align-items:baseline;padding:9px 0;border-bottom:1px solid #f0f3f8;font-size:13px;color:#6b7280}.stats>div b{color:#1d2330;font-size:15px;font-weight:600;text-align:right}.stats s{font-size:11px;font-weight:400;color:#6b7280;text-decoration:none}.stats b.bb{font-size:14px}.creative{margin-top:18px}.creative h3{font-size:12px;text-transform:uppercase;letter-spacing:.04em;color:#6b7280;margin:14px 0 6px}.creative .final{font-size:12px;word-break:break-all}.creative ul{margin:6px 0;padding-left:18px;font-size:13px}.creative ul.ds{color:#4b5563}.kw{display:flex;flex-wrap:wrap;gap:6px}.kw span{background:#eef2f9;border-radius:6px;padding:3px 8px;font-size:12px}.kw span.kw-exact{background:#e3eefb;border:1px solid #b9d2f2}.kw span.kw-phrase{background:#eef2f9}.messages-layout{display:grid;grid-template-columns:340px 1fr;gap:14px;height:calc(100vh - 110px)}.thread-list{background:#fff;border:1px solid #e3e6ec;border-radius:10px;overflow-y:auto}.thread-row{display:block;width:100%;text-align:left;background:transparent;border:0;border-bottom:1px solid #eef1f6;padding:11px 14px;cursor:pointer}.thread-row:hover{background:#f5f9ff}.thread-row.on{background:#e9f1fc}.thread-row-top{display:flex;justify-content:space-between;align-items:baseline;gap:8px}.thread-alias{font-weight:600;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.thread-subject{font-size:13px;color:#3a4253;margin:3px 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.thread-row-meta{display:flex;align-items:center;gap:8px}.thread-pane{background:#fff;border:1px solid #e3e6ec;border-radius:10px;display:flex;flex-direction:column;min-height:0}.thread-detail{display:flex;flex-direction:column;height:100%;min-height:0}.thread-detail-head{padding:14px 18px;border-bottom:1px solid #eef1f6}.thread-detail-head h2{font-size:16px;margin:0 0 2px}.thread-head-row{display:flex;justify-content:space-between;align-items:center;gap:10px}.thread-head-row .btn{flex-shrink:0}.bubbles{flex:1;overflow-y:auto;padding:18px;display:flex;flex-direction:column;gap:12px}.bubble{max-width:78%;padding:9px 12px;border-radius:12px;font-size:13px}.bubble.in{align-self:flex-start;background:#f0f3f8;border-bottom-left-radius:3px}.bubble.out{align-self:flex-end;background:#e3eefb;border-bottom-right-radius:3px}.bubble-body{white-space:pre-wrap;word-break:break-word}.bubble-attach{margin-top:6px;display:flex;flex-wrap:wrap;align-items:center;gap:6px}.attach-thumb{width:120px;height:120px;padding:0;border:1px solid #d5dbe5;border-radius:8px;overflow:hidden;background:#fff;cursor:zoom-in;display:grid;place-items:center}.attach-thumb img{width:100%;height:100%;object-fit:cover;display:block}.attach-thumb span{padding:6px;word-break:break-all}.attach-file{border:1px solid #d5dbe5;background:#fff;border-radius:8px;padding:5px 10px;font-size:12px;color:#1d2330;cursor:pointer}.attach-file:disabled{cursor:progress;opacity:.7}.bubble-meta{margin-top:5px}.reply-box{display:flex;gap:8px;padding:12px 16px;border-top:1px solid #eef1f6}.reply-box textarea{flex:1;resize:none;height:44px;padding:9px 11px;border:1px solid #cfd6e2;border-radius:8px;font:inherit;font-size:13px;background:#f6f8fb;color:#6b7280}.reply-box textarea.reply-context:enabled{background:#fff;color:inherit}.suggested-reply{border-top:1px solid #eef1f6}.suggested-reply-head{display:flex;gap:6px;align-items:center;padding:10px 16px 0}.suggested-reply-why{padding:6px 16px 0}.suggested-reply .reply-box{border-top:none}.suggested-reply .reply-box>textarea{height:auto;min-height:150px;background:#fff;color:inherit}.reply-actions{display:flex;flex-direction:column;gap:6px;justify-content:flex-end}.reply-field{flex:1;display:flex;flex-direction:column;gap:3px;min-width:0}.reply-field>textarea{flex:1 1 auto}.reply-actions textarea{height:48px;max-height:160px;padding:4px 10px;font-size:12px}.reply-box,.suggested-reply{position:relative}.reply-grip{position:absolute;top:-1px;left:0;right:0;height:10px;z-index:1;cursor:ns-resize;touch-action:none}.reply-grip:after{content:"";position:absolute;top:-2px;left:50%;width:36px;height:4px;margin-left:-18px;border-radius:2px;background:#cfd6e2;box-shadow:0 0 0 2px #fff}.suggested-reply{display:flex;flex-direction:column;min-height:0}.thread-detail:has(.reply-box.sized) .bubbles{min-height:100px}.reply-grip:hover:after,.reply-grip:focus-visible:after{background:#2563b6}.reply-box>.btn{align-self:flex-end;height:44px}.thread-head-actions{display:flex;gap:8px;flex-shrink:0}.messages-page{container-type:inline-size}.messages-layout{position:relative}.messages-layout.with-panel{grid-template-columns:340px minmax(0,1fr) 340px}.order-panel{background:#fff;border:1px solid #e3e6ec;border-radius:10px;display:flex;flex-direction:column;min-height:0;overflow:hidden}@container (max-width: 1268px){.messages-layout.with-panel{grid-template-columns:340px minmax(0,1fr)}.order-panel{position:absolute;top:0;right:0;bottom:0;width:340px;z-index:5;box-shadow:0 8px 28px #141e3c2e}.messages-layout.with-panel .reply-grip:after{left:calc(50% - 170px)}}.op-head{display:flex;justify-content:space-between;align-items:center;padding:10px 10px 10px 16px;border-bottom:1px solid #eef1f6}.op-head h3{margin:0;font-size:14px}.op-store{display:flex;align-items:center;gap:6px;margin-top:4px;font-size:12px;font-weight:600;color:#3a4253}.op-store .badge{width:16px;height:16px;font-size:10px;border-radius:4px}.op-body{flex:1;overflow-y:auto;min-height:0;font-size:13px}.op-situation{margin:14px 16px 0;padding:10px 12px;border-radius:8px;color:#3a4253}.op-situation.danger{background:#fce4e4}.op-situation.danger .op-sit-title{color:#a32d22}.op-situation.warn{background:#fdf0d9}.op-situation.warn .op-sit-title{color:#7a5410}.op-situation.info{background:#e4ecfb}.op-situation.info .op-sit-title{color:#244a9e}.op-situation.ok{background:#e3f4e7}.op-situation.ok .op-sit-title{color:#256b29}.op-situation.off{background:#f0f1f4}.op-situation.off .op-sit-title{color:#4b5260}.op-sit-title{font-weight:600;margin-bottom:2px}.op-section{padding:14px 16px;border-bottom:1px solid #eef1f6;display:flex;flex-direction:column;gap:7px}.op-section h4{margin:0 0 3px;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:#6b7280}.op-fact{display:flex;gap:12px;align-items:baseline}.op-k{width:84px;flex-shrink:0;color:#6b7280;font-size:12px}.op-row{display:flex;justify-content:space-between;align-items:center;gap:8px}.op-item{display:flex;flex-direction:column;gap:3px}.op-item a{font-weight:600;line-height:1.35}.op-scans{margin-top:6px;padding:10px 12px;border:1px solid #eef1f6;border-radius:8px;background:#fafbfd;display:flex;flex-direction:column;gap:9px}.op-scan{display:flex;gap:10px;align-items:flex-start}.op-scan>span{display:flex;flex-direction:column;gap:1px;min-width:0}.op-scan i{width:8px;height:8px;border-radius:50%;margin-top:5px;flex-shrink:0;background:#c5cad3}.op-scan:first-child i{background:#2f5fd0}.op-empty{padding:48px 24px;text-align:center;display:flex;flex-direction:column;gap:8px}.op-empty strong{color:#1d2330;font-size:14px}.op-foot{padding:12px 16px;border-top:1px solid #eef1f6}.op-foot .btn{display:block;text-align:center}.linkbtn{border:0;background:none;padding:0;font:inherit;font-size:12px;color:#2563b6;cursor:pointer;align-self:flex-start}.auth-screen{min-height:100vh;display:grid;place-items:center;background:#1a2b4a}.auth-card{background:#fff;border-radius:14px;padding:40px;width:min(420px,92vw)}.auth-card h1{font-size:22px;margin:0 0 18px;color:#1a2b4a}.auth-card form{display:flex;flex-direction:column;gap:12px}.auth-card input{padding:11px 12px;border:1px solid #cfd6e2;border-radius:8px;font-size:15px}.auth-card .btn{padding:11px;font-size:15px}.nav-sep{height:1px;background:#2c3e60;margin:10px 6px}.userbox{margin-top:auto;padding:12px 16px;border-top:1px solid #2c3e60}.ub-email{color:#aebbd2;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ub-logout{margin-top:6px;background:transparent;border:1px solid #3a4f74;color:#cdd8ea;border-radius:7px;padding:5px 10px;font-size:12px;cursor:pointer}.ub-logout:hover{background:#243a5e}.sidebar{min-height:100vh}.stub{background:#fff;border:1px dashed #cfd6e2;border-radius:12px;padding:48px;text-align:center}.stub-badge{display:inline-block;background:#eef2f9;color:#56657e;border-radius:9px;padding:4px 12px;font-size:12px;font-weight:600;margin-bottom:12px}.addrow,.connect-row{display:flex;gap:10px;margin-bottom:12px;flex-wrap:wrap}.addrow input,.connect-row input{padding:8px 10px;border:1px solid #cfd6e2;border-radius:8px;font-size:13px}.connect-row input{min-width:280px}.addrow select,.grid select{padding:7px 8px;border:1px solid #cfd6e2;border-radius:7px;font-size:13px;background:#fff}.btn.small{padding:4px 10px;font-size:12px}.btn.on{background:#2563b6;color:#fff;border-color:#2563b6}.pill.state{min-width:78px;text-align:center;display:inline-block}.rename{border:1px solid transparent;border-radius:6px;padding:5px 7px;font-size:13px;width:180px;background:transparent}.rename:hover{border-color:#e3e6ec}.rename:focus{border-color:#2563b6;background:#fff;outline:none}.order-row:hover{background:#f5f9ff}.order-items-row>td{background:#f7f9fc;padding:10px 14px}.sub-grid{border:1px solid #e3e6ec}.sub-grid th{background:#eef2f9;cursor:default}.sub-grid td{white-space:normal}.grid.orders-grid th,.grid.orders-grid td{padding:6px 7px}.grid.orders-grid{min-width:1500px}.grid.orders-grid td.col-vendor-status{max-width:110px;overflow:hidden;text-overflow:ellipsis}.grid.orders-grid td.col-items{max-width:48px}.grid.orders-grid th.col-skinny,.grid.orders-grid td.col-skinny{white-space:nowrap;max-width:86px}.grid.orders-grid td.col-skinny{overflow:hidden;text-overflow:ellipsis}.range-window{position:relative;height:34px}.range-window .rw-track{position:absolute;top:15px;left:0;right:0;height:4px;background:#f1f3f8;border-radius:4px}.range-window .rw-fill{position:absolute;top:11px;height:12px;background:#2f5fd0;border-radius:6px;pointer-events:auto;touch-action:none;cursor:grab}.range-window .rw-fill.rw-panning{cursor:grabbing}.range-window input[type=range]{position:absolute;top:0;left:0;width:100%;margin:0;background:none;pointer-events:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;height:34px}.range-window input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;-moz-appearance:none;appearance:none;pointer-events:auto;width:16px;height:16px;border-radius:50%;background:#fff;border:2px solid #2f5fd0;cursor:pointer;margin-top:0;box-shadow:0 1px 2px #0003}.range-window input[type=range]::-moz-range-thumb{pointer-events:auto;width:16px;height:16px;border-radius:50%;background:#fff;border:2px solid #2f5fd0;cursor:pointer;box-shadow:0 1px 2px #0003}.range-window input[type=range]::-webkit-slider-runnable-track{background:none}.range-window input[type=range]::-moz-range-track{background:none}.linklike{background:none;border:none;padding:0;margin-top:2px;color:#2f5fd0;font-size:10px;font-weight:600;cursor:pointer;text-transform:none;letter-spacing:0}.linklike:hover{text-decoration:underline}.photo-viewer{background:#0a0e18e6}.photo-viewer-head{position:absolute;top:0;left:0;right:0;display:flex;align-items:center;gap:12px;padding:12px 18px;color:#fff;font-size:13px}.photo-viewer-head span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.photo-viewer-head .x{color:#fff}.photo-viewer-img{max-width:calc(100vw - 160px);max-height:calc(100vh - 120px);object-fit:contain;border-radius:6px;background:#fff}.photo-viewer-loading{color:#fff}.photo-nav{position:absolute;top:50%;transform:translateY(-50%);width:48px;height:72px;border:0;border-radius:8px;background:#ffffff24;color:#fff;font-size:34px;line-height:1;cursor:pointer}.photo-nav:hover,.photo-nav:focus-visible{background:#ffffff47}.photo-nav.prev{left:16px}.photo-nav.next{right:16px}
