*{box-sizing:border-box}body{margin:0;background:#f6f7fb;color:#17171b;font:14px system-ui,-apple-system,Segoe UI,Roboto,sans-serif}.app{width:390px;padding:18px}header,.sectionTitle{display:flex;align-items:center;justify-content:space-between}.eyebrow{font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#7656d8}h1{font-size:20px;margin:4px 0 0}h2{font-size:15px;margin:0}.icon,.secondary{border:0;background:#fff;border-radius:10px;padding:9px 11px;cursor:pointer;box-shadow:0 1px 5px #00000012}.summary{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:18px 0}.summary div,.selection,.warehouse{background:#fff;border-radius:14px;padding:14px;box-shadow:0 1px 8px #0000000d}.summary span,.selection span{display:block;color:#74747d;font-size:12px}.summary strong{font-size:25px}.warehouses{display:grid;gap:9px;margin-top:10px}.warehouse{display:flex;align-items:center;justify-content:space-between;cursor:pointer;border:2px solid transparent}.warehouse:hover,.warehouse.selected{border-color:#7656d8}.warehouse strong{font-size:18px}.empty{padding:20px;border:1px dashed #c8c8d0;border-radius:14px;color:#73737c;line-height:1.45}.selection{margin-top:14px}.selection>div{margin-bottom:12px}.primary{width:100%;border:0;border-radius:11px;padding:12px;background:#7656d8;color:white;font-weight:700;cursor:pointer}.primary:disabled{opacity:.45;cursor:not-allowed}.hint{font-size:11px;line-height:1.4;color:#777780;margin:9px 0 0}.hidden{display:none}footer{margin-top:14px;font-size:11px;color:#85858e;text-align:center}
.sellerSwitcher{border:0;background:transparent;padding:0;margin:0;display:flex;align-items:center;gap:7px;text-align:left;cursor:pointer;color:inherit}
.sellerSwitcher #sellerName{font-size:22px;font-weight:800;line-height:1.15}
.chevron{font-size:14px;color:#777}
header{position:relative}
.sellerMenu{position:absolute;z-index:20;left:0;right:48px;top:54px;background:#fff;border:1px solid #e5e5e5;border-radius:14px;box-shadow:0 12px 30px rgba(0,0,0,.14);padding:7px;max-height:300px;overflow:auto}
.sellerItem{width:100%;border:0;background:#fff;border-radius:10px;padding:10px 11px;display:flex;align-items:center;justify-content:space-between;gap:10px;cursor:pointer;text-align:left}
.sellerItem:hover,.sellerItem.active{background:#f4f4f5}
.sellerItem .sellerLabel{display:flex;align-items:center;gap:8px;min-width:0}
.sellerItem .dot{width:9px;height:9px;border-radius:50%;background:#b7b7b7;flex:none}
.sellerItem.hasOrders .dot{background:#16a34a;box-shadow:0 0 0 3px rgba(22,163,74,.12)}
.sellerItem .sellerText{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:700}
.sellerItem .sellerCount{min-width:30px;text-align:center;border-radius:999px;background:#ededed;padding:3px 8px;font-weight:800}
.sellerItem.hasOrders .sellerCount{background:#dcfce7;color:#166534}
.sellerItem.error .dot{background:#dc2626}
.sellerItem.error .sellerCount{background:#fee2e2;color:#991b1b}

.result{margin-top:10px;padding:10px;border-radius:10px;background:#f4f4f5;font-size:12px;line-height:1.45}
.result.ok{background:#ecfdf5}
.result.err{background:#fef2f2}
#deliver{margin-top:8px;width:100%}

.warehouseCard{background:#fff;border-radius:14px;box-shadow:0 1px 8px #0000000d;border:2px solid transparent;overflow:hidden}.warehouseCard.selected{border-color:#7656d8}.warehouseHead{width:100%;border:0;background:#fff;padding:14px;display:flex;align-items:center;justify-content:space-between;text-align:left;cursor:pointer}.warehouseHead span{display:flex;flex-direction:column;gap:3px}.warehouseHead small,.orderRow small{color:#777;font-size:11px}.warehouseHead strong{font-size:18px}.warehouseBody{border-top:1px solid #eee;padding:10px 12px 12px}.selectAllRow,.orderRow{display:flex;align-items:center;gap:9px}.selectAllRow{padding:6px 2px 10px}.selectAllRow span{margin-left:auto;color:#777}.orderList{display:grid;gap:6px;margin-bottom:10px}.orderRow{padding:9px;background:#f7f7fa;border-radius:10px;cursor:pointer}.orderRow>span{display:flex;flex-direction:column;gap:2px;min-width:0}.orderCheck,.selectAll{width:17px;height:17px;accent-color:#7656d8;flex:none}.sellerItem.hasOrders .dot{background:#00d13b;box-shadow:0 0 0 4px rgba(0,209,59,.22)}

.assemblyBlock{margin-top:12px;padding-top:12px;border-top:1px solid #e9e9ee}.assemblyTitle{display:flex;align-items:center;justify-content:space-between;margin-bottom:9px}.assemblyTitle span{font-weight:800;font-size:14px}.assemblyTitle strong{min-width:32px;text-align:center;border-radius:999px;background:#eeeafc;color:#5d43bd;padding:4px 9px}.assemblyActions{display:grid;gap:7px}.assemblyActions .secondary{width:100%;text-align:center;font-weight:700}.assemblyActions .secondary:last-child{border:1px solid #ded8f6}


/* 0.7.0 — full-page workspace */
html,body{min-width:100%;min-height:100%}
body{background:#f6f7fb}
.app{width:min(1440px,100%);min-height:100vh;margin:0 auto;padding:32px clamp(20px,4vw,64px)}
header{padding-bottom:6px}
.summary{grid-template-columns:repeat(2,minmax(220px,320px));margin:24px 0;justify-content:start}
.warehouses{grid-template-columns:repeat(auto-fit,minmax(360px,1fr));gap:14px;margin-top:14px}
.warehouseCard{min-width:0}
.selection{max-width:none}
.sellerMenu{right:auto;width:min(520px,calc(100vw - 40px))}
footer{padding:18px 0 4px}
@media (max-width:760px){
  .app{padding:20px 14px}
  .summary{grid-template-columns:1fr 1fr}
  .warehouses{grid-template-columns:1fr}
}
@media (max-width:480px){
  .summary{grid-template-columns:1fr}
  .sellerSwitcher #sellerName{font-size:19px}
}

/* 0.7.3 — warehouse counters + delivery archive */
.warehouseHead{gap:12px}.warehouseToggle{flex:1;min-width:0;border:0;background:transparent;padding:0;text-align:left;cursor:pointer}.warehouseToggle span{display:flex;flex-direction:column;gap:3px}.warehouseToggle small{color:#777;font-size:11px}.warehouseMetrics{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}.metric{display:inline-flex;align-items:center;gap:5px;padding:6px 9px;border-radius:999px;background:#f4f4f6;font-size:13px}.metric i{font-style:normal}.metric b{font-size:15px}.newMetric{background:#eefbf1;color:#166534}.assemblyMetric{background:#f1edff;color:#5d43bd}.archiveBtn{border:1px solid #ddd8f4;background:#fff;color:#5d43bd;border-radius:9px;padding:7px 10px;font-weight:800;cursor:pointer}.archiveBtn:hover{background:#f6f3ff}.archivePanel{border-top:1px solid #eee;padding:10px 12px;background:#fafafe}.archiveTitle{display:flex;justify-content:space-between;align-items:center;margin-bottom:7px}.archiveTitle span{min-width:28px;text-align:center;background:#eeeafc;color:#5d43bd;border-radius:999px;padding:3px 8px;font-weight:800}.archiveSupply{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:9px 10px;margin-top:6px;background:#fff;border:1px solid #ececf1;border-radius:10px}.archiveSupply>span{display:flex;flex-direction:column;gap:2px;min-width:0}.archiveSupply small{color:#777}.archiveSupply strong{font-size:11px;color:#166534;background:#dcfce7;border-radius:999px;padding:4px 7px;white-space:nowrap}.archiveEmpty{padding:10px;color:#777;text-align:center}
@media(max-width:620px){.warehouseHead{align-items:flex-start;flex-direction:column}.warehouseMetrics{width:100%;justify-content:flex-start}}

/* 0.7.4 — expandable archive supply UI */
.archiveSupplyCard{display:block;padding:0;overflow:hidden}.archiveSupplyToggle{width:100%;border:0;background:#fff;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px;cursor:pointer;text-align:left}.archiveSupplyToggle>span{display:flex;flex-direction:column;gap:3px}.archiveSupplyToggle small{color:#777}.archiveSupplyToggle strong{font-size:11px;color:#166534;background:#dcfce7;border-radius:999px;padding:4px 7px;white-space:nowrap}.archiveSupplyActions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:0 10px 10px}.archiveSupplyActions .secondary{margin:0;min-height:38px}@media(max-width:720px){.archiveSupplyActions{grid-template-columns:1fr}}


/* 0.7.7 — reports */
.summary{grid-template-columns:repeat(3,minmax(220px,320px))}.summaryCard{border:0;text-align:left;cursor:pointer;color:inherit}.reportCard:hover{outline:2px solid #7656d8}.reportCard strong{display:block;color:#5d43bd;font-size:18px;margin-top:4px}.reportsSection{background:#fff;border-radius:14px;padding:18px;box-shadow:0 1px 8px #0000000d;margin:0 0 24px}.reportFilters{display:flex;align-items:end;gap:10px;flex-wrap:wrap;margin:14px 0}.reportFilters label{display:flex;flex-direction:column;gap:5px;color:#74747d;font-size:12px}.reportFilters input{border:1px solid #d9d9df;border-radius:9px;padding:9px 10px;background:#fff;color:#17171b}.reportTotal{padding:12px 0;font-size:15px}.reportTotal strong{font-size:22px;margin-left:5px}.reportTableWrap{overflow:auto;border:1px solid #ececf1;border-radius:10px}.reportTable{width:100%;border-collapse:collapse;min-width:700px}.reportTable th,.reportTable td{padding:10px 12px;border-bottom:1px solid #eee;text-align:left}.reportTable th{background:#f7f7fa;font-size:12px;color:#666}.reportTable td:last-child,.reportTable th:last-child{text-align:center;font-weight:800}.reportMeta{font-size:11px;color:#777;margin-top:3px}@media(max-width:760px){.summary{grid-template-columns:1fr}.reportFilters{align-items:stretch}.reportFilters label,.reportFilters button{width:100%}}

/* 0.8.0 — FBS stocks */
.summary{grid-template-columns:repeat(4,minmax(190px,1fr))}.stocksCard:hover{outline:2px solid #3d9b65}.stocksCard strong{display:block;color:#278451;font-size:18px;margin-top:4px}.stockWarehouse{border:1px solid #ececf1;border-radius:12px;margin:12px 0;overflow:hidden}.stockWarehouseHead{width:100%;border:0;background:#f8f8fa;padding:14px 16px;display:flex;align-items:center;justify-content:space-between;cursor:pointer;text-align:left}.stockWarehouseHead b{font-size:15px}.stockWarehouseHead span{font-weight:800}.stockWarehouseBody{padding:0}.stockWarehouseBody .reportTableWrap{border:0;border-radius:0}.stockNote{font-size:12px;color:#777;margin-top:10px}@media(max-width:900px){.summary{grid-template-columns:repeat(2,minmax(220px,1fr))}}@media(max-width:760px){.summary{grid-template-columns:1fr}}

/* 0.8.1 — Остатки: Склады WB / Мой склад */
.stockTabs{display:flex;gap:10px;margin:12px 0 16px;flex-wrap:wrap}.stockTab.active{font-weight:800;box-shadow:inset 0 -3px 0 currentColor}.myStockQty{width:90px;min-width:70px;padding:8px;border:1px solid #d8dde6;border-radius:8px;font:inherit}.myStockSave{white-space:nowrap}.myStockChanged{outline:2px solid #f0b429}.stockNote{margin:8px 0 14px;color:#667085;font-size:13px}.myStockActions{display:flex;gap:8px;align-items:center}.myStockZero{opacity:.7}

.myStockToolbar{display:flex;gap:10px;align-items:flex-start;margin:12px 0 14px}.myStockSearchWrap{position:relative;flex:0 1 520px}.myStockSearchWrap input{width:100%;padding:11px 12px;border:1px solid #d8dde6;border-radius:10px;font:inherit}.myStockSuggestions{position:absolute;z-index:30;left:0;right:0;top:calc(100% + 4px);background:#fff;border:1px solid #d8dde6;border-radius:10px;box-shadow:0 10px 30px rgba(0,0,0,.12);max-height:360px;overflow:auto}.myStockSuggestions button{display:block;width:100%;border:0;border-bottom:1px solid #eee;background:#fff;text-align:left;padding:10px 12px;cursor:pointer}.myStockSuggestions button:hover{background:#f6f7f9}.myStockSuggestions button:last-child{border-bottom:0}.myStockSuggestions b,.myStockSuggestions span{display:block}.myStockSuggestions span{font-size:12px;color:#667085;margin-top:3px}@media(max-width:760px){.myStockToolbar{flex-direction:column}.myStockToolbar>button{width:100%}.myStockSearchWrap{width:100%}}

.myStockSearchGroup{width:min(520px,100%)}.myStockSearchGroup label{display:block;font-weight:800;margin:0 0 6px}.myStockSearchGroup .myStockSearchWrap{width:100%;flex:none}.myStockCell{width:110px;min-width:90px;padding:8px;border:1px solid #d8dde6;border-radius:8px;font:inherit}.myStockCell.myStockChanged{outline:2px solid #f0b429}

/* 0.8.4 — симметричная панель поиска и редактирование ячейки по кнопке */
.myStockToolbar{align-items:flex-end}.myStockToolbar>button{height:42px;min-width:170px}.myStockSearchGroup{flex:0 1 520px}.myStockSearchWrap input{height:42px}.myStockCellBox{display:flex;align-items:center;gap:6px;min-width:220px}.myStockCell[readonly]{background:#f5f6f8;color:#344054;cursor:default}.myStockCellEdit{white-space:nowrap;padding:8px 10px}.myStockSave{min-width:135px}@media(max-width:760px){.myStockToolbar{align-items:stretch}.myStockToolbar>button{width:100%}.myStockCellBox{min-width:200px}}

.warehouseTabs{display:flex;gap:10px;margin:12px 0 4px}.warehouseTab{min-width:120px}.warehouseTab.active{font-weight:800;box-shadow:inset 0 -3px 0 currentColor}.warehouseNoOrders{text-align:center;padding:30px 20px}.warehouseNoOrders b{font-size:18px;color:#30313a}.warehouseNoOrders span{display:block;margin-top:7px}


/* 0.9.0 — unified sidebar redesign */
:root{--purple:#7047eb;--purple2:#8a5cf6;--ink:#1d2433;--muted:#778096;--line:#e9eaf1;--panel:#fff;--bg:#f5f7fb}
body{background:var(--bg);color:var(--ink)}.shell{min-height:100vh;display:grid;grid-template-columns:220px minmax(0,1fr)}
.sidebar{position:sticky;top:0;height:100vh;background:#fff;border-right:1px solid var(--line);padding:22px 14px 16px;display:flex;flex-direction:column;z-index:40}.brand{display:flex;gap:10px;align-items:center;padding:0 7px 24px}.brandMark{width:38px;height:38px;border-radius:11px;background:linear-gradient(135deg,#9d32f2,#6447ef);color:#fff;display:grid;place-items:center;font-weight:900}.brand b,.brand small{display:block}.brand b{font-size:13px}.brand small{color:#9299aa;margin-top:2px}.sideNav{display:grid;gap:5px}.sideLink{border:0;background:transparent;border-radius:10px;padding:11px 12px;text-align:left;display:flex;align-items:center;gap:11px;color:#3c4455;font-weight:650;cursor:pointer}.sideLink span{width:20px;text-align:center;font-size:16px}.sideLink:hover,.sideLink.active{background:#eee9ff;color:#6743df}.sideBottom{margin-top:auto}.platform{display:flex;align-items:center;gap:9px;padding:12px;color:#697286;font-size:11px}.platform i{width:9px;height:9px;border-radius:50%;background:#19bd71;box-shadow:0 0 0 4px #e8f8f0}.sideSeller{width:100%;border:1px solid var(--line);background:#fff;border-radius:12px;padding:9px;display:flex;align-items:center;gap:8px;cursor:pointer;text-align:left}.sideSeller .avatar{width:30px;height:30px;border-radius:50%;background:#7047eb;color:#fff;display:grid;place-items:center;font-size:10px}.sideSeller>span:nth-child(2){min-width:0;flex:1}.sideSeller small,.sideSeller b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sideSeller small{font-size:9px;color:#8b92a2}.sideSeller b{font-size:11px}.sideSeller em{font-style:normal;font-size:20px;color:#9ba1af}
.app{width:100%;max-width:1480px;margin:0;padding:28px clamp(22px,3vw,48px) 38px}.topbar{background:transparent;padding:0 0 18px;border-bottom:1px solid var(--line)}.topbar .eyebrow{display:none}.sellerSwitcher #sellerName{font-size:17px}.icon,.secondary{box-shadow:none;border:1px solid var(--line);background:#fff}.icon:hover,.secondary:hover{border-color:#cfc4f7;background:#faf9ff}
.welcome{margin:22px 0 14px;background:linear-gradient(105deg,#f0eaff,#f8f7ff 55%,#e8f1ff);border:1px solid #e6defd;border-radius:18px;padding:24px 26px;display:flex;justify-content:space-between;align-items:center;overflow:hidden}.welcome h1{font-size:25px;margin:0 0 5px}.welcome p{margin:0;color:#6f778a}.welcomeBadge{font-weight:900;font-size:28px;color:#fff;background:linear-gradient(135deg,#9d32f2,#6544e8);padding:17px 20px;border-radius:16px;box-shadow:0 12px 30px #7047eb2e;transform:rotate(-3deg)}.welcomeBadge span{display:block;font-size:10px;letter-spacing:.18em;text-align:center}
.summary{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));gap:12px;margin:14px 0 20px}.summary>div,.summaryCard{position:relative;min-height:100px;border:1px solid var(--line);background:#fff;border-radius:15px;padding:17px;text-align:left;box-shadow:0 4px 16px #1b23320a}.summary span{color:#778096;font-size:12px}.summary strong{display:block;font-size:26px;margin-top:7px}.summary i{position:absolute;right:15px;top:15px;width:34px;height:34px;border-radius:10px;display:grid;place-items:center;font-style:normal;background:#f2efff}.summaryStat.red i{background:#fff0f2}.summaryStat.blue i{background:#eaf4ff}.summaryCard{cursor:pointer;color:inherit}.summaryCard strong{font-size:16px;color:#7047eb}.summaryCard:hover{outline:0;transform:translateY(-1px);border-color:#cfc4f7}
.workspaceCard,.reportsSection,.selection{background:#fff;border:1px solid var(--line);border-radius:17px;padding:20px;box-shadow:0 4px 18px #1b23320a;margin-bottom:20px}.sectionTitle h2{font-size:19px}.sectionKicker{font-size:10px;letter-spacing:.12em;color:#7656d8;font-weight:800;display:block;margin-bottom:3px}.warehouseTabs,.stockTabs{background:#f5f5f8;border-radius:11px;padding:4px;width:max-content;gap:3px}.warehouseTab,.stockTab{border:0;background:transparent;box-shadow:none}.warehouseTab.active,.stockTab.active{background:#7047eb;color:#fff;box-shadow:0 3px 8px #7047eb26}.warehouses{grid-template-columns:repeat(auto-fit,minmax(390px,1fr));gap:12px}.warehouseCard{border:1px solid var(--line);box-shadow:none;border-radius:13px}.warehouseCard.selected{border-color:#9b83ee;box-shadow:0 0 0 2px #eee9ff}.warehouseHead{padding:15px}.warehouseHead:hover{background:#fcfbff}.orderRow{background:#f8f9fb}.archivePanel{background:#fafbfe}.reportsSection{scroll-margin-top:20px}.reportTableWrap{border-color:var(--line)}.reportTable th{background:#f7f8fb}.reportTable tr:hover td{background:#fcfcfe}.myStockToolbar{background:#f8f9fb;border:1px solid var(--line);border-radius:13px;padding:12px}.myStockSearchWrap input,.myStockQty,.myStockCell,.reportFilters input{border-color:#dfe2e9}.primary{background:linear-gradient(135deg,#7656d8,#7047eb)}footer{text-align:left;color:#9aa1b0;padding-left:3px}.sellerMenu{top:45px;border-color:var(--line);box-shadow:0 18px 45px #1b233224}
@media(max-width:900px){.shell{grid-template-columns:76px minmax(0,1fr)}.sidebar{padding-left:9px;padding-right:9px}.brand>div:last-child,.sideLink:not(.active){font-size:0}.sideLink{justify-content:center}.sideLink.active{font-size:0}.sideLink span{font-size:18px}.sideSeller>span:nth-child(2),.sideSeller em,.platform span{display:none}.sideSeller{justify-content:center}.platform{justify-content:center}.summary{grid-template-columns:repeat(2,1fr)}}
@media(max-width:620px){.shell{display:block}.sidebar{position:sticky;height:auto;top:0;flex-direction:row;align-items:center;padding:8px 10px;border-right:0;border-bottom:1px solid var(--line)}.brand{padding:0;margin-right:8px}.brandMark{width:34px;height:34px}.brand>div:last-child,.sideBottom{display:none}.sideNav{display:flex;overflow:auto;gap:4px}.sideLink,.sideLink.active{font-size:0;padding:8px}.sideLink span{font-size:17px}.app{padding:16px 12px}.welcome{padding:18px}.welcomeBadge{display:none}.summary{grid-template-columns:1fr 1fr}.warehouses{grid-template-columns:1fr}.workspaceCard,.reportsSection{padding:14px}}

#downloadReportExcel{background:#edf9f1;color:#176b37;border-color:#bfdfc9;font-weight:700}#downloadReportExcel:disabled{opacity:.45;cursor:not-allowed}

/* Excel inventory actions: keep the toolbar tidy in narrower windows. */
.myStockToolbar{flex-wrap:wrap}.myStockToolbar>button{min-width:160px;white-space:nowrap}.myStockToolbar #myStockTemplate,.myStockToolbar #myStockUpload{min-width:170px}@media(max-width:760px){.myStockToolbar>button{width:100%}}

/* Receipt date filters next to the warehouse Excel controls */
.myReceiptDateLabel{display:flex;flex-direction:column;gap:3px;font-size:12px;font-weight:600;color:var(--muted,#64748b)}
.myReceiptDateLabel input{height:37px;max-width:150px;border:1px solid #d5dbe5;border-radius:9px;padding:4px 8px;background:#fff;color:#1e293b}

/* 0.9.7 — compact single-line stock controls and separate receipt report row */
.myStockToolbar{display:flex;flex-direction:column;align-items:stretch;gap:12px}
.myStockToolbarTop{display:flex;align-items:flex-end;gap:10px;min-width:0;width:100%;flex-wrap:nowrap}
.myStockToolbarTop .myStockSearchGroup{flex:1 1 210px;width:auto;min-width:150px;max-width:310px}
.myStockToolbarTop .myStockSearchWrap{width:100%;flex:none}
.myStockToolbarTop>button{height:42px;min-width:0;flex:0 0 auto;white-space:nowrap;padding-left:12px;padding-right:12px}
.myStockToolbarTop #myStockTemplate,.myStockToolbarTop #myStockUpload{min-width:0}
.myStockToolbarBottom{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap;width:100%;padding-top:10px;border-top:1px solid #e1e5ed}
.myStockToolbarBottom .myReceiptDateLabel{min-width:145px}
.myStockToolbarBottom #myStockReceiptsReport{height:42px;white-space:nowrap;min-width:155px}
@media(max-width:900px){.myStockToolbarTop{flex-wrap:wrap}.myStockToolbarTop .myStockSearchGroup{flex:1 1 100%;max-width:360px}.myStockToolbarTop>button{width:auto}}
@media(max-width:760px){.myStockToolbarTop{align-items:stretch}.myStockToolbarTop .myStockSearchGroup{max-width:none;width:100%}.myStockToolbarTop>button{width:auto;flex:1 1 160px}.myStockToolbarBottom .myReceiptDateLabel{flex:1 1 130px}.myStockToolbarBottom .myReceiptDateLabel input{max-width:none;width:100%}}

.myStockQty[readonly]{background:#f5f6f8;color:#344054;cursor:default}

/* 0.9.9 — mass FBS actions */
.warehouseToolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:12px 0}
.warehouseToolbar .warehouseTabs{margin:0}.bulkToolbarActions{display:flex;align-items:center;gap:8px}.bulkToolbarActions .primary{width:auto;white-space:nowrap;padding:11px 16px}.bulkSettingsBtn{font-size:20px;line-height:1;min-width:43px;height:42px}.bulkWarehouseChooser{background:#f9f8ff;border:1px solid #e5ddff;border-radius:12px;padding:14px;margin:10px 0}.bulkChooserHeader{display:flex;gap:16px;justify-content:space-between;align-items:center;flex-wrap:wrap;margin-bottom:8px}.bulkChooserHeader label,.bulkWarehouseItem{display:flex;gap:8px;align-items:center}.bulkWarehouseList{display:grid;gap:6px}.bulkWarehouseItem{padding:9px 8px;border-bottom:1px solid #e8e5ef}.bulkWarehouseItem span{flex:1}.bulkWarehouseItem small{color:var(--muted,#687085)}.bulkAfterCollect{margin:12px 0;padding:14px;background:#f6f9ff;border:1px solid #dce7ff;border-radius:12px}.bulkActionTitle{font-weight:700;margin-bottom:10px}.bulkActionButtons{display:flex;gap:8px;flex-wrap:wrap}.bulkActionButtons button{font-weight:650}.bulkProgress{margin-top:8px;white-space:pre-line;color:#505b6f;font-size:12px}.bulkActionButtons button:disabled,.bulkToolbarActions button:disabled{opacity:.5;cursor:wait}
@media(max-width:650px){.warehouseToolbar{align-items:stretch}.bulkToolbarActions{width:100%}.bulkToolbarActions .primary{flex:1}}

/* 0.9.10 — minimalist controls, dialogs and smooth navigation */
button{transition:background-color .16s,border-color .16s,color .16s,box-shadow .16s; border-radius:9px}
button:focus-visible{outline:3px solid #b6a2fa;outline-offset:2px}
.primary{background:#7047e8;border:1px solid #7047e8;color:#fff;box-shadow:none}
.primary:hover:not(:disabled){background:#5f37cd;box-shadow:0 3px 10px #7047e822}
.secondary{background:#fff;border:1px solid #dfe1e8;color:#3d4251;box-shadow:none}
.secondary:hover:not(:disabled){background:#f8f6ff;border-color:#c3b3f8;color:#643bdd}
.confirmOverlay{position:fixed;inset:0;background:#11152b88;backdrop-filter:blur(3px);z-index:10000;display:grid;place-items:center;padding:16px}
.confirmDialog{background:#fff;border:1px solid #e7e3f2;border-radius:18px;box-shadow:0 24px 80px #16102f35;width:min(100%,440px);padding:26px;color:#202437}
.confirmIcon{display:grid;place-items:center;background:#eee9ff;color:#7047eb;width:46px;height:46px;border-radius:14px;font-weight:800;font-size:24px;margin-bottom:15px}
.confirmDialog h2{margin:0 0 10px;font-size:19px}.confirmDialog p{white-space:pre-line;line-height:1.55;color:#606577;font-size:14px;margin:0 0 22px}
.confirmActions{display:flex;justify-content:flex-end;gap:10px}.confirmActions button{min-width:115px;padding:11px 14px}
.sideLink svg{width:19px;height:19px;stroke:currentColor;stroke-width:1.85;fill:none;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.sideLink.active svg{stroke:#7047eb}
.uiIcon{display:inline-block;width:18px;height:18px;vertical-align:-3px;stroke:currentColor;fill:none;stroke-width:1.85;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:900px){.sideLink svg{width:20px;height:20px}}

/* 0.9.11 — exclusive, full-width workspace and unified report cards */
.app{max-width:none;min-width:0}.app>.hidden{display:none!important}
.homeDashboard{margin:22px 0 20px;padding:24px;background:#fff;border:1px solid #e5e7f0;border-radius:18px;box-shadow:0 4px 20px #11182708}
.homeDashboardTop{display:flex;justify-content:space-between;align-items:center;gap:14px}.homeDashboard h1{font-size:24px;margin:4px 0 4px}.homeDashboard p{color:#69748a;margin:0}.homeMetrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:20px}
.homeMetric{padding:20px;background:#f8f7fd;border:1px solid #ece9f5;border-radius:13px;display:flex;flex-direction:column;gap:7px}.homeMetric span{font-size:13px;color:#5a6273;font-weight:650}.homeMetric strong{font-size:32px;color:#6740d7;font-variant-numeric:tabular-nums}.homeMetric small{color:#747d92}.dashboardUpdated{margin-top:13px;font-size:12px;color:#69748a}
.reportTiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0 24px}.reportTile{text-align:left;background:#fff;border:1px solid #dde0eb;border-radius:14px;padding:18px;display:flex;flex-direction:column;gap:8px;cursor:pointer;min-height:132px}.reportTile span{color:#7653df;font-size:12px;font-weight:700}.reportTile strong{font-size:16px}.reportTile small{line-height:1.4;color:#69748a}.reportTile:hover,.reportTile.active{border-color:#8666ea;background:#f9f7ff;box-shadow:0 4px 14px #7654d619}.reportPaneTitle{font-size:18px;margin:0 0 15px}
@media(max-width:1050px){.reportTiles{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.homeMetrics{grid-template-columns:1fr}.reportTiles{grid-template-columns:1fr 1fr}.homeDashboardTop{align-items:flex-start;flex-direction:column}}

/* 0.9.13: quick FBS warehouse counters */
.warehouseSummary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:16px 0 10px}
.warehouseSummaryCard{display:flex;align-items:center;gap:14px;min-width:0;border:1px solid #ece9f5;background:#f8f7fd;padding:17px 19px;border-radius:13px}
.warehouseSummaryIcon{display:inline-flex;align-items:center;justify-content:center;border-radius:11px;background:#ece5ff;color:#7047eb;width:42px;height:42px;flex-shrink:0}
.warehouseSummaryIcon .uiIcon{width:21px;height:21px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.warehouseSummaryCard>div{display:flex;flex-direction:column;gap:5px}
.warehouseSummaryLabel{font-size:13px;color:#596377;font-weight:650}
.warehouseSummaryCard strong{font-size:30px;line-height:1.1;color:#6740d7;font-variant-numeric:tabular-nums}
@media(max-width:600px){.warehouseSummary{grid-template-columns:1fr}}

/* 0.9.14 — independent stock views and collapsible desktop navigation */
.brand{position:relative;min-width:0;padding-right:34px}.brandText{min-width:0}.brandText b{white-space:nowrap}.sidebarToggle{position:absolute;right:0;top:3px;width:30px;height:32px;border:1px solid var(--line);border-radius:9px;background:#fff;color:#7047eb;cursor:pointer;display:grid;place-items:center;padding:5px}.sidebarToggle:hover{background:#eee9ff}.sidebarToggle svg{width:18px;height:18px;stroke:currentColor;stroke-width:2;fill:none;stroke-linecap:round;stroke-linejoin:round}.sideLinkText{font-size:inherit!important;width:auto!important;text-align:left!important;white-space:nowrap}.shell.sidebarCollapsed{grid-template-columns:76px minmax(0,1fr)}.sidebarCollapsed .sidebar{padding-left:9px;padding-right:9px}.sidebarCollapsed .brand{padding:0 0 45px;justify-content:center}.sidebarCollapsed .brandText,.sidebarCollapsed .sideLinkText,.sidebarCollapsed .sideSeller>span:nth-child(2),.sidebarCollapsed .sideSeller em,.sidebarCollapsed .platform span{display:none}.sidebarCollapsed .sidebarToggle{right:calc(50% - 15px);top:43px}.sidebarCollapsed .sidebarToggle svg{transform:rotate(180deg)}.sidebarCollapsed .sideLink{justify-content:center;padding:11px 8px}.sidebarCollapsed .sideSeller,.sidebarCollapsed .platform{justify-content:center}.sidebarCollapsed .sideLink svg{flex-shrink:0}@media(max-width:900px){.shell:not(.sidebarCollapsed) .sideLinkText{display:none}.shell:not(.sidebarCollapsed) .brandText{display:none}.shell:not(.sidebarCollapsed) .sideLink{justify-content:center}.shell:not(.sidebarCollapsed) .brand{padding:0 0 45px;justify-content:center}.shell:not(.sidebarCollapsed) .sidebarToggle{right:calc(50% - 15px);top:43px}}@media(max-width:620px){.shell.sidebarCollapsed{display:block}.sidebarCollapsed .sidebar{height:auto;flex-direction:row;padding:8px 10px}.sidebarCollapsed .brand{padding:0 42px 0 0}.sidebarCollapsed .sidebarToggle{top:1px;right:2px}.sidebarCollapsed .sideNav{display:flex;overflow:auto}.sidebarCollapsed .sideBottom{display:none}}

/* 0.9.16: separate stock pages, even when theme display rules differ. */
#wbStocksPane[hidden],#myStocksPane[hidden]{display:none!important}

/* 1.0.1: one large collection button and three familiar actions. */
.assemblyWorkbench{display:grid;grid-template-columns:minmax(135px,1fr) minmax(190px,1.3fr);gap:12px;align-items:stretch}
.assemblyScanBtn{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:10px;min-height:145px;font-size:17px;font-weight:750}
.assemblyScanBtn svg{width:34px;height:34px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linejoin:round;stroke-linecap:round}
.assemblyActions{display:grid;grid-template-rows:repeat(3,minmax(43px,1fr));gap:6px}
.assemblyActions button{text-align:left!important;display:flex;align-items:center;gap:9px;justify-content:flex-start}
.assemblyButtonIcon{font-size:19px;width:23px;text-align:center;color:#7047eb}
.scanAssemblyDialog{width:min(760px,96vw);max-height:94vh;overflow:auto;background:#fff;padding:27px;border-radius:20px;box-shadow:0 22px 75px #1f1b4433;color:#21243a}
.scanAssemblyTop{display:flex;justify-content:space-between;align-items:start;gap:15px}.scanAssemblyTop h2{margin:0 0 7px;font-size:20px}.scanAssemblyTop p{margin:0 0 20px;color:#677088}
.scanBarcodeLabel{display:block;font-weight:750;margin-bottom:8px}.scanBarcodeRow{display:flex;gap:12px;align-items:center}
.scanBarcodeRow input{flex:1;min-width:0;padding:16px;border:2px solid #afa0eb;border-radius:12px;font-size:18px;outline:0}.scanBarcodeRow input:focus{border-color:#7047eb;box-shadow:0 0 0 3px #7047eb15}
#scanBarcodeIndicator{font-size:30px;min-width:36px;text-align:center}.scanGood{color:#198656!important}.scanBad{color:#d02f43!important}.scanNotice{min-height:24px;color:#687288;margin:12px 0}
.scanProductDetails{display:flex;gap:18px;background:#f8f9fc;border:1px solid #e5e6ec;border-radius:14px;padding:16px;margin:16px 0;align-items:center}
.scanPhoto{width:125px;height:150px;flex-shrink:0;background:#edeef2;border-radius:11px;display:flex;justify-content:center;align-items:center;text-align:center;padding:8px;color:#8890a1;font-size:12px;overflow:hidden}.scanPhoto img{max-width:100%;max-height:100%;object-fit:contain}
.scanProductInfo{display:flex;flex-direction:column;gap:7px}.scanProductInfo b{font-size:18px}.scanProductInfo strong{color:#7047eb}
.scanAssemblyFooter{display:flex;justify-content:flex-end;margin-top:18px}.scanAssemblyFooter button{min-width:220px;padding:13px}
.scanPrintHint{font-size:12px;color:#777f90;margin-top:13px}
@media(max-width:680px){.assemblyWorkbench{grid-template-columns:1fr}.assemblyScanBtn{min-height:85px}.scanProductDetails{flex-wrap:wrap}}

/* 1.0.6: barcode-assembly quick actions */
.scanHeaderActions{display:flex;align-items:center;gap:7px}.scanIconAction{width:42px;height:42px;display:grid;place-items:center;padding:8px!important;border-radius:10px}.scanIconAction svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.scanIconAction:disabled{opacity:.35;cursor:not-allowed}.scanAssemblyFooter{gap:10px;justify-content:space-between;flex-wrap:wrap}.scanAssemblyFooter button{min-width:160px}.scanSettingsBackdrop{position:absolute;inset:0;background:#16172699;display:grid;place-items:center;z-index:20;border-radius:20px;padding:15px}.scanAssemblyDialog{position:relative}.scanSettingsDialog{width:min(530px,100%);background:white;color:#23243c;border-radius:16px;box-shadow:0 20px 65px #1113;padding:23px;display:flex;flex-direction:column;gap:14px}.scanSettingsDialog h3{margin:0;font-size:20px}.scanSettingsDialog label:not(.scanSettingCheck){display:flex;flex-direction:column;gap:5px;font-weight:650}.scanSettingsDialog label input[type=text],.scanSettingsDialog label input[type=password]{padding:11px;border:1px solid #c9cbd9;border-radius:9px;width:100%;box-sizing:border-box}.scanSettingCheck{display:flex;align-items:center;gap:8px}.scanSettingsDimension,.scanSettingsStatus{margin:0;color:#70768a;font-size:13px}.scanSettingsActions{display:flex;gap:8px;flex-wrap:wrap;justify-content:end}

/* 1.0.10 printer panel refresh */
.scanSettingsDialog{border:1px solid #e9e6f4;border-radius:20px!important;box-shadow:0 25px 80px #13142f35!important;padding:25px!important;max-height:88vh;overflow-y:auto}
.quickPrinterHead{display:flex;align-items:center;gap:12px;padding-bottom:14px;border-bottom:1px solid #eeecf5}.quickPrinterHead p{font-size:12px;color:#7e7b90;margin:4px 0 0}.quickPrinterGlyph{width:44px;height:44px;display:grid;place-items:center;font-size:28px;background:#eee8ff;color:#7656d8;border-radius:13px}
.quickPrintAlign{border:1px solid #e5e1f2;background:#f9f7ff;border-radius:13px;padding:13px;display:flex;flex-direction:column;gap:8px}.quickPrintAlignGrid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.quickPrintAlignGrid input{box-sizing:border-box;width:100%;padding:10px;border:1px solid #d6d0e8;border-radius:9px}.quickPrintAlign small{font-size:12px;color:#79758f}
.scanSettingsActions button{min-height:41px;border-radius:10px}@media(max-width:520px){.quickPrintAlignGrid{grid-template-columns:1fr}}

/* 1.0.13: bulk guided barcode assembly. */
.bulkActionButtons #bulkScan{font-weight:750;min-height:43px;display:inline-flex;align-items:center;justify-content:center;gap:7px}

/* 1.0.15: two sheet actions remain grouped on the left of Next. */
.scanSheetButtons{display:flex;gap:8px;flex-wrap:wrap}.scanSheetButtons button{min-width:150px}.scanAssemblyFooter{align-items:center}

/* 1.1.0: Warehouse management section navigation. Existing stock operations remain unchanged. */
.warehouseModulesIntro{margin:16px 0 12px;padding:13px 15px;border:1px solid #e7e4f1;background:#faf9ff;border-radius:14px}
.warehouseModulesIntro p{margin:5px 0 0;line-height:1.5;color:#636272;font-size:13px}
.warehouseModulesGrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:10px;margin:0 0 12px}
.warehouseModuleTile{display:flex;flex-direction:column;align-items:flex-start;gap:7px;min-height:153px;padding:16px;border:1px solid #e6e6ee;border-radius:15px;background:#fff;text-align:left;color:#22212c;cursor:pointer;transition:border-color .12s,box-shadow .12s}
.warehouseModuleTile:hover,.warehouseModuleTile:focus-visible{border-color:#876bdf;box-shadow:0 4px 15px #7656d81a;outline:none}
.warehouseModuleTile[aria-pressed="true"]{border-color:#7656d8;background:#faf8ff}
.warehouseModuleEmoji{font-size:25px;line-height:1.15}.warehouseModuleTileName{font-size:14px;font-weight:750}.warehouseModuleTileDesc{font-size:12px;line-height:1.45;color:#6d6b78;flex:1}.warehouseModuleTileState{font-size:11px;font-weight:700;color:#7257cb}
.warehouseModuleNav{display:flex;justify-content:flex-start;margin:0 0 12px}.warehouseModuleOverview{font-weight:700}
.warehouseModuleDetail{padding:24px;border:1px solid #e7e5ef;border-radius:16px;background:#fff;margin:12px 0 20px}.warehouseModuleDetail h3{font-size:22px;margin:10px 0}.warehouseModuleDetail>p{font-size:14px;color:#666575;line-height:1.55}.warehouseModuleStatus{display:inline-block;padding:6px 10px;border-radius:50px;background:#f0ecfb;color:#684dbb;font-weight:700;font-size:12px}.warehouseModuleNotice{padding:15px;margin:18px 0;background:#f9f9fb;border-radius:12px;line-height:1.55}.warehouseModuleNotice p{margin:8px 0 0;color:#555564}
@media(max-width:650px){.warehouseModulesGrid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}.warehouseModuleTile{min-height:170px}}

/* 1.1.2: full-width warehouse module workspace; sidebar remains sticky. */
.app.warehouseScreenApp{max-width:none;min-width:0}
#myStockSection.warehouseScreenActive{min-height:calc(100vh - 115px);padding:0;border:0;background:transparent;box-shadow:none;margin:0}
#myStockSection.warehouseScreenActive .warehouseModuleDetail{min-height:calc(100vh - 115px);margin:0;padding:20px;border-radius:16px;display:flex;flex-direction:column}
.warehouseModuleScreenHeader{display:flex;align-items:center;gap:12px;margin-bottom:18px}
#warehouseModulePlaceholder{flex:1}
.warehouseReceivingFrame{display:block;width:100%;flex:1;min-height:calc(100vh - 220px);border:0;border-radius:12px;background:#f6f7fb}
.warehouseReceivingFrame.hidden{display:none}
#warehouseModulePlaceholder.hidden{display:none}
@media(max-width:620px){#myStockSection.warehouseScreenActive .warehouseModuleDetail{padding:12px}.warehouseReceivingFrame{min-height:calc(100vh - 145px)}}

/* 1.1.5: compact single-line warehouse navigation; central content only changes */
#myStockSection{min-width:0;min-height:calc(100vh - 140px)}
#myStockSection .warehouseModulesGrid{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto;overflow-y:hidden;gap:3px;margin:12px 0 6px;padding:3px 0 9px;border-bottom:1px solid #e6e6ee;scrollbar-width:thin}
#myStockSection .warehouseModuleTile{display:inline-flex!important;flex:0 0 auto;white-space:nowrap;min-height:0!important;min-width:0!important;padding:11px 13px!important;border:0!important;border-bottom:3px solid transparent!important;border-radius:7px 7px 0 0!important;background:transparent!important;box-shadow:none!important;font-size:13px;font-weight:650;color:#697085;line-height:1.3}
#myStockSection .warehouseModuleTile:hover{color:#7047eb;background:#f7f5ff!important}
#myStockSection .warehouseModuleTile[aria-pressed="true"]{color:#7047eb;border-bottom-color:#7047eb!important;font-weight:800}
#myStockSection.warehouseScreenActive .warehouseModuleDetail{margin-top:6px;min-height:calc(100vh - 230px);padding:8px 0;border:none;background:transparent;box-shadow:none}
#myStockSection .warehouseReceivingFrame{min-height:calc(100vh - 235px);border-radius:0}
#myStockSection .warehouseModuleScreenHeader{margin:0 0 8px}
#myStockSection .warehouseModuleNav{margin:0 0 4px}
.clientsFullPage{min-height:calc(100vh - 230px);padding:22px;border:1px solid #e6e6ee;border-radius:12px;background:white}
.clientsFullPage h3{margin:0 0 10px}.clientsFullPage p{max-width:680px;line-height:1.6;color:#656d7c}

/* 1.1.6 — full-size seller stock page, warehouse modules remain independent. */
#sellerSection.sellerFullPage{min-height:calc(100vh - 140px);min-width:0;width:100%;box-sizing:border-box}
#sellerSection .sellerPageHint{font-size:12px;color:#788094;margin:7px 0 0}
#sellerSection #myStocksPane{width:100%;min-width:0}
#sellerSection .myStockToolbar{width:100%;box-sizing:border-box}
#sideSeller:hover,#sideSeller.active{background:#eee9ff;border-color:#b8a8ed;color:#6743df}

/* 1.1.7 — Seller FBS warehouse access settings */
.sellerPageTabs{display:flex;align-items:center;gap:22px;border-bottom:1px solid var(--border,#e5e7eb);margin:12px 0 22px;overflow-x:auto;white-space:nowrap}
.sellerPageTab{appearance:none;border:0;border-bottom:3px solid transparent;background:transparent;color:var(--muted,#6b7280);padding:12px 3px;cursor:pointer;font:inherit;font-weight:600}
.sellerPageTab.active{color:#7540c9;border-bottom-color:#7540c9}
.sellerFbsPane{width:100%;min-height:55vh}
.sellerFbsHead{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;flex-wrap:wrap;margin-bottom:16px}
.sellerFbsHead h3{margin:0 0 6px;font-size:20px}.sellerFbsHead p{color:var(--muted,#6b7280);margin:0;max-width:740px;line-height:1.55}
.sellerFbsList{display:grid;gap:10px;margin:15px 0}
.sellerFbsRow{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:15px 18px;border:1px solid #e4e4e9;border-radius:12px;background:#fff;cursor:pointer}
.sellerFbsRow strong{display:block;font-size:15px}.sellerFbsRow small{display:block;color:#6b7280;margin-top:5px}
.sellerFbsRow input{height:20px;width:20px;accent-color:#7540c9;flex-shrink:0}
.sellerFbsSummary{font-size:14px;font-weight:700;margin:15px 0;color:#474156}

/* 1.1.9 — polished, responsive cloud header: independent rows; never overlap seller and user */
.topbar.topbar-modern{display:flex;flex-direction:column;align-items:stretch;gap:0;width:100%;min-width:0;margin-bottom:0;padding:0 0 17px;border-bottom:1px solid #e5e8f1;position:relative}
.topbar-modern .topbar-upper{width:100%;min-width:0;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:2px 0 17px}
.topbar-modern .topbar-identity{min-width:0;display:flex;align-items:center;gap:12px}
.topbar-modern .topbar-brandicon{width:38px;height:38px;flex:0 0 38px;background:linear-gradient(135deg,#8159fa,#613de1);color:white;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:900;box-shadow:0 5px 12px #6945eb25}
.topbar-modern .topbar-heading{display:flex;flex-direction:column;gap:2px;min-width:0}
.topbar-modern .topbar-overline{font-size:10px;letter-spacing:.12em;font-weight:800;color:#8b80a8}
.topbar-modern .topbar-heading strong{font-size:19px;line-height:1.25;letter-spacing:-.025em;color:#17223a}
.topbar-modern .cloud-account{min-width:0;max-width:min(55%,620px);margin-left:auto;display:flex;align-items:center;gap:9px;background:#fff;border:1px solid #e5e7f0;border-radius:13px;padding:6px 7px 6px 13px;box-shadow:0 2px 9px #161d3407;color:#59657f}
.topbar-modern .cloud-status-dot{width:8px;height:8px;flex:0 0 8px;border-radius:99px;background:#16bb83;box-shadow:0 0 0 3px #ddfaed}
.topbar-modern .cloud-account-text{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:600}
.topbar-modern .cloud-account button{flex:none;margin:0;border:0!important;background:#f3efff!important;color:#6944d5!important;font-size:12px;font-weight:700;padding:8px 12px;border-radius:8px}
.topbar-modern .cloud-account button:hover{background:#e9e0ff!important}
.topbar-modern .topbar-lower{width:100%;min-width:0;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:15px 0 0;border-top:1px solid #f1f2f7}
.topbar-modern .topbar-seller{position:relative;min-width:0;max-width:calc(100% - 60px);display:flex;flex-direction:column;align-items:flex-start;gap:5px}
.topbar-modern .topbar-seller-caption{font-size:11px;color:#8490a6;font-weight:650}
.topbar-modern .sellerSwitcher{max-width:100%;min-width:0;display:flex;gap:9px;align-items:center}
.topbar-modern .sellerSwitcher #sellerName{display:block;min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:18px;font-weight:800;line-height:1.4;color:#1c2540}
.topbar-modern .sellerSwitcher .chevron{flex:0 0 auto;color:#7856e6}
.topbar-modern #settings{flex:0 0 40px;width:40px;height:40px;border-radius:11px}
.topbar-modern .sellerMenu{left:0;right:auto;top:calc(100% + 9px);width:min(520px,calc(100vw - 320px));max-width:calc(100vw - 40px);z-index:50}
@media(max-width:900px){.topbar-modern .topbar-upper{gap:12px}.topbar-modern .cloud-account{max-width:54%}.topbar-modern .topbar-heading strong{font-size:17px}}
@media(max-width:650px){.topbar-modern .topbar-upper{align-items:flex-start;flex-wrap:wrap}.topbar-modern .cloud-account{margin:0;max-width:100%;width:100%}.topbar-modern .cloud-account-text{flex:1}.topbar-modern .sellerMenu{width:min(480px,calc(100vw - 40px))}.topbar-modern .sellerSwitcher #sellerName{font-size:16px}}

/* 1.2.3: warehouse filter for delivery reports. */
.reportFilters select{border:1px solid #dfe2e9;border-radius:9px;padding:9px 10px;background:#fff;color:#17171b;min-width:205px;max-width:300px;font:inherit}.reportFilters select:focus-visible{outline:2px solid #7656d8;outline-offset:2px}@media(max-width:760px){.reportFilters select{width:100%;max-width:none}}

/* 1.2.4 — multi-select FBS warehouse filter in delivery report */
.reportWarehouseField{display:flex;flex-direction:column;gap:5px;min-width:255px;max-width:360px;flex:1 1 255px;color:#74747d;font-size:12px}
.reportWarehousePicker{position:relative;width:100%}
.reportWarehouseButton{border:1px solid #d9d9df;border-radius:9px;background:#fff;color:#17171b;display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:38px;padding:9px 11px;text-align:left;box-shadow:none;cursor:pointer;font-size:13px}
.reportWarehouseButton:disabled{color:#85858e;cursor:wait}
.reportWarehouseButton:focus-visible{outline:2px solid #7656d8;outline-offset:2px}
.reportWarehouseMenu{position:absolute;z-index:40;left:0;top:calc(100% + 6px);width:max(100%,290px);max-width:min(380px,calc(100vw - 40px));background:#fff;border:1px solid #dfe2e9;box-shadow:0 12px 32px #1b233229;border-radius:12px;padding:8px;color:#21212b}
.reportWarehouseMenu.hidden{display:none}
.reportFilters .reportWarehouseCheck{display:flex;flex-direction:row;align-items:center;gap:9px;font-size:13px;color:#24242c;cursor:pointer;padding:10px 9px;border-radius:8px;min-width:0}
.reportFilters .reportWarehouseCheck:hover{background:#f6f3ff}
.reportFilters .reportWarehouseCheck input[type="checkbox"]{appearance:auto;width:16px;height:16px;min-width:16px;margin:0;padding:0;border:0;accent-color:#7656d8;cursor:pointer}
.reportWarehouseCheckAll{font-weight:700;border-bottom:1px solid #f0eef5;border-radius:0!important}
.reportWarehouseOptions{max-height:260px;overflow:auto;padding:3px 0;overscroll-behavior:contain}
.reportWarehouseCheckName{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.reportWarehouseEmpty{display:block;padding:12px 10px;color:#777;font-size:12px}
.reportWarehouseFooter{border-top:1px solid #f0eef5;padding:8px 2px 2px;text-align:right}
.reportWarehouseFooter .secondary{box-shadow:none;background:#f0ebff;color:#5d43bd;font-weight:700}
@media(max-width:760px){.reportWarehouseField{min-width:0;max-width:none;flex:1 1 100%}.reportWarehouseButton{width:100%}.reportWarehouseMenu{width:100%;max-width:none}.reportWarehouseFooter button{width:100%}}

/* 1.2.5 — fast historical WB FBS archive (read-only). */
.fbsHistoryActions{display:flex;flex-wrap:wrap;gap:8px;margin:13px 0}
.fbsHistoryActions button{margin:0;white-space:normal}
.fbsHistoryFilters{display:flex;flex-wrap:wrap;gap:12px;margin:15px 0}
.fbsHistoryFilters label{display:flex;flex-direction:column;gap:5px;color:#60667a;font-size:12px;font-weight:700;flex:1;min-width:180px}
.fbsHistoryFilters input,.fbsHistoryFilters select{min-height:40px;padding:9px;border:1px solid #dfe2e9;border-radius:9px;background:#fff;color:#172033}
.fbsHistoryList{display:grid;gap:9px}
.fbsHistoryCard{border:1px solid #e3e5ef;background:#fff;border-radius:12px;overflow:hidden}
.fbsHistoryHeading{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;border:0;background:#fff;padding:12px 14px;text-align:left;cursor:pointer;color:inherit}
.fbsHistoryHeading:hover{background:#f9f8ff}
.fbsHistoryHeading b{display:block;word-break:break-word}
.fbsHistoryHeading small{display:block;color:#7b8190;margin-top:4px}
.fbsHistoryTag{display:inline-block;background:#f0edf8;border-radius:999px;padding:5px 9px;font-size:12px;font-weight:700;white-space:nowrap}
.fbsHistoryTag.done{background:#e5f8ec;color:#236a42}
.fbsHistoryDetail{padding:10px 14px 14px;border-top:1px solid #e3e5ef;background:#fafbfe;font-size:13px}
.fbsHistoryDetail ul{margin:8px 0;padding-left:19px}
.fbsHistoryDetail li{padding:3px 0}
.fbsHistoryInfo{color:#6c7484;font-size:12px;margin:7px 0}
@media(max-width:720px){.fbsHistoryHeading{align-items:flex-start}.fbsHistoryActions button{flex:1 1 150px}}

/* 1.2.5 — full FBS supply archive, 30-day date filter and warehouse multi-select */
.warehouseArchiveTopActions{display:flex;gap:9px;align-items:center;flex-wrap:wrap}
.fbsHistoryFilters{align-items:end}
.fbsHistoryFilters .fbsHistoryWarehouses{position:relative;flex:1;min-width:205px;align-self:stretch;display:flex;flex-direction:column;gap:5px}
.fbsHistoryFieldLabel{color:#60667a;font-size:12px;font-weight:700}
.fbsHistoryWarehouseButton{min-height:40px;text-align:left;white-space:normal}
.fbsHistoryWarehouseMenu{z-index:9;position:absolute;left:0;top:100%;min-width:260px;max-width:min(400px,95vw);width:100%;max-height:350px;overflow-y:auto;background:#fff;border:1px solid #dcd7ee;border-radius:12px;padding:12px;box-shadow:0 10px 30px #2c21642b;display:grid;gap:10px}
.fbsHistoryWarehouseMenu.hidden{display:none}
.fbsHistoryWarehouseMenu label{display:flex;align-items:center;gap:9px;min-width:0;font-weight:500;font-size:13px;color:#283146;flex-direction:row}
.fbsHistoryWarehouseMenu input[type=checkbox]{width:17px;height:17px;min-height:17px;flex-shrink:0}
.fbsHistoryWarehouseOptions{display:grid;gap:8px;max-height:220px;overflow-y:auto}
.fbsHistoryWarning{font-size:12px;color:#805c16;line-height:1.6;margin:7px 0 12px}
.fbsHistoryPagination{display:flex;align-items:center;justify-content:center;gap:12px;margin:18px 0;flex-wrap:wrap}
.fbsHistoryPagination span{font-size:13px;color:#5a5875;min-width:125px;text-align:center}
.fbsHistoryCard .warehouseHint{font-size:12px;color:#6c7484}
@media(max-width:720px){.fbsHistoryWarehouseMenu{min-width:220px}.fbsHistoryFilters>button{width:100%}}

/* 1.2.6 — compact archive order details with one-order print and operational archive */
.fbsHistoryOrderList{list-style:none!important;padding:0!important;margin:10px 0!important;display:grid;gap:7px}
.fbsHistoryOrder{display:flex;justify-content:space-between;gap:10px;align-items:center;border:1px solid #e5e7ef;border-radius:10px;background:#fff;padding:10px 12px!important;min-width:0}
.fbsHistoryOrderMain{min-width:0;flex:1;display:grid;gap:3px}
.fbsHistoryOrderNumbers{display:flex;gap:12px;flex-wrap:wrap;color:#30344b}
.fbsHistoryOrderProduct{font-weight:650;overflow-wrap:anywhere;color:#25213b}
.fbsHistoryOrderArticle,.fbsHistoryOrderStatus{font-size:12px;color:#656a7e}
.fbsHistoryOrderStatus small{font-size:11px}
.fbsHistoryPrintOrder{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0!important;width:38px;min-width:38px;height:38px;min-height:38px!important;padding:8px!important;margin:0!important;border-radius:9px}
.fbsHistoryPrintOrder svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.fbsHistoryPrintOrder:disabled{opacity:.38;cursor:not-allowed}
.fbsHistoryPrintError{padding:9px 11px;background:#fff1f1;border:1px solid #ffcece;border-radius:8px;color:#923939}
.bulkPendingArchive{margin:10px 0 14px;padding:14px;background:#f9f8ff;border:1px solid #e3ddfb;border-radius:13px}
.bulkPendingArchiveHeading{display:flex;align-items:center;gap:12px;justify-content:space-between;flex-wrap:wrap;margin-bottom:10px}
.bulkPendingArchiveHeading strong{font-size:15px}
.bulkPendingArchiveHeading small{display:block;margin-top:4px;color:#717589}
.bulkPendingArchiveCard{border:1px solid #e5e5ef;background:white;border-radius:10px;margin-top:7px;overflow:hidden}
.bulkPendingArchiveCard summary{padding:11px 13px;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:12px;list-style:none}
.bulkPendingArchiveCard summary::-webkit-details-marker{display:none}
.bulkPendingArchiveCard summary b{display:block}
.bulkPendingArchiveCard summary small{color:#656b80;display:block;margin-top:4px}
.bulkPendingArchiveBadge{font-size:11px;padding:5px 8px;background:#f0eafa;color:#4b3b88;border-radius:999px;white-space:normal;text-align:right}
.bulkPendingArchiveOrders{margin:0;padding:4px 16px 11px;border-top:1px solid #f0f0f3;max-height:280px;overflow:auto}
.bulkPendingArchiveOrders li{padding:5px 0;margin-left:16px;color:#4b5267}
.bulkPendingArchiveEmpty{font-size:13px;color:#657088;padding:10px}
@media(max-width:650px){.bulkPendingArchiveCard summary{align-items:flex-start;flex-direction:column}.fbsHistoryOrderNumbers{flex-direction:column;gap:3px}}

/* 1.2.7 — lifecycle labels represent actual order processing, not supply.done. */
.fbsHistoryTag.stage-assembly{background:#eff0ff;color:#514391}
.fbsHistoryTag.stage-delivery{background:#fff3df;color:#92551e}
.fbsHistoryTag.stage-accepted{background:#e3f2fe;color:#155b9b}
.fbsHistoryTag.stage-sorted{background:#e5f8ec;color:#236a42}
.bulkPendingArchive .archiveSupplyCard{margin:8px 0;background:#fff;border:1px solid #e5e5ef;border-radius:10px}
.bulkPendingArchive .archiveSupplyToggle>span>small{color:#657088}
.bulkPendingArchive .archiveSupplyActions{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:720px){.bulkPendingArchive .archiveSupplyActions{grid-template-columns:1fr}}

/* 1.2.9 — Cloud-only, collapsible FBS handoff diagnostics. */
.cloudOutboxDisclosure{margin:16px 0;border:1px solid #d6d7e5;border-radius:12px;background:#fff;overflow:hidden}
.cloudOutboxDisclosure>summary{cursor:pointer;padding:15px 18px;font-weight:750;color:#32205e;list-style-position:inside}
.cloudOutboxDisclosure>summary:focus-visible{outline:3px solid #7551d2;outline-offset:-3px}
.cloudOutboxDisclosure[open]>summary{border-bottom:1px solid #e6e7ed}
.cloudOutboxHint{color:#6b7081;font-size:12px;font-weight:500;margin-left:6px}
.cloudOutboxBody{padding:13px 18px 17px;line-height:1.5}
.cloudOutboxBody p{font-size:13px;color:#5f6475;margin:0 0 12px}
.cloudOutboxActions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:12px}
.cloudOutboxActions a{display:inline-flex;align-items:center;text-decoration:none;padding:11px 14px;border-radius:10px}
#fbsOutboxList{font-size:13px;line-height:1.7}

/* 1.3.0 Warehouse map entry */
.storageMapCard{display:flex;gap:18px;align-items:center;max-width:860px;padding:22px 25px;border:1px solid #e0dafa;background:linear-gradient(115deg,#fff,#f7f5ff);border-radius:18px;margin:20px 0;text-decoration:none;color:#25233d;box-shadow:0 10px 26px #6b4ed00c;transition:transform .15s,border-color .15s}.storageMapCard:hover{transform:translateY(-2px);border-color:#8566e6}.storageMapCardIcon{height:66px;width:66px;border-radius:17px;background:#ede8ff;color:#6847d8;display:grid;place-items:center;font-size:40px;flex:none}.storageMapCard strong,.storageMapCard small{display:block}.storageMapCard strong{font-size:22px}.storageMapCard small{font-size:13px;color:#5c6374;line-height:1.55;margin-top:5px}.storageMapCardArrow{margin-left:auto;font-weight:750;color:#6946d8;white-space:nowrap}@media(max-width:640px){.storageMapCard{flex-wrap:wrap}.storageMapCardArrow{margin-left:0}}

/* 1.3.9: Mandatory FBS marking step after product barcode scan. */
.scanMarkingPanel{margin:12px 0;padding:17px;border:2px solid #e2d5fb;background:#f8f4ff;border-radius:14px}
.scanMarkingPanel .scanBarcodeRow input{font-size:16px;min-width:0}
.scanMarkingPanel .scanBarcodeRow button{min-width:125px;white-space:nowrap}
.scanMarkingPanel.hidden{display:none!important}
@media(max-width:620px){.scanMarkingPanel .scanBarcodeRow{flex-wrap:wrap}.scanMarkingPanel .scanBarcodeRow button{width:100%}}


/* 1.3.15 — approved My Warehouse dashboard (4×2), all cards are the click target. */
.app.myWarehouseLanding .topbar-modern .topbar-lower,
.app.myWarehouseLanding .topbar-modern .topbar-identity{display:none!important}
.app.myWarehouseLanding .topbar-modern{border:0;padding:0;margin-bottom:0}
.app.myWarehouseLanding .topbar-modern .topbar-upper{padding:0;min-height:0}
.app.myWarehouseLanding .topbar-modern .cloud-account{margin-bottom:9px}
#myStockSection:not(.hidden){background:transparent;border:0;box-shadow:none;padding:0;min-height:0;margin:0}
#myStockSection .warehouseLandingHeader{margin:10px 0 28px}
#myStockSection .warehouseLandingKicker{display:block;font-size:11px;letter-spacing:.14em;font-weight:800;color:#787d9c;margin-bottom:9px}
#myStockSection .warehouseLandingHeader h2{font-size:34px;letter-spacing:-.04em;line-height:1.18;color:#141631;margin:0 0 9px}
#myStockSection .warehouseLandingHeader p{color:#71809b;line-height:1.5;font-size:16px;margin:0}
#myStockSection .warehouseModulesGrid:not(.hidden){display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin:0;padding:0 0 18px;border:0;overflow:visible;white-space:normal}
#myStockSection .warehouseModulesGrid.hidden{display:none!important}
#myStockSection .warehouseModuleTile{display:flex!important;flex-direction:column;align-items:center;justify-content:flex-start;gap:0;min-width:0;min-height:297px!important;padding:30px 17px 25px!important;white-space:normal;overflow-wrap:break-word;text-align:center!important;background:#fff!important;border:1px solid #e9ebf3!important;border-radius:22px!important;box-shadow:0 5px 20px #28304e08!important;color:#181c37;line-height:1.42;cursor:pointer;transition:transform .16s,box-shadow .16s,border-color .16s!important}
#myStockSection .warehouseModuleTile:hover,#myStockSection .warehouseModuleTile:focus-visible{transform:translateY(-4px);background:#fff!important;border-color:#c5b8f7!important;box-shadow:0 14px 28px #6748bb1c!important;outline:none}
#myStockSection .warehouseModuleGlyph{width:102px;height:102px;display:grid;place-items:center;border-radius:21px;background:#eee8ff;color:#6422df;flex:0 0 auto;margin-bottom:20px}
#myStockSection .warehouseModuleGlyph svg{width:55px;height:55px;stroke:currentColor;fill:none;stroke-linecap:round;stroke-linejoin:round}
#myStockSection .warehouseModuleGlyph--locations{background:#e0efff;color:#1160d4}
#myStockSection .warehouseModuleGlyph--inventory{background:#dcf9ea;color:#09a66d}
#myStockSection .warehouseModuleGlyph--returns{background:#ffebee;color:#b90c34}
#myStockSection .warehouseModuleGlyph--movements{background:#fff0e4;color:#e65e00}
#myStockSection .warehouseModuleGlyph--billing{background:#e0efff;color:#135ee4}
#myStockSection .warehouseModuleTileName{font-size:19px;line-height:1.28;letter-spacing:-.02em;font-weight:800;color:#131935;display:block;width:100%;margin-bottom:13px}
#myStockSection .warehouseModuleTileDesc{font-size:14px;color:#69758d;line-height:1.48;font-weight:400;display:block;width:100%;flex:unset}
#myStockSection .warehouseModuleDetail.hidden{display:none!important}
#myStockSection .warehouseModuleDetail{margin:8px 0 15px;border:0;background:transparent;box-shadow:none;padding:0;min-height:0}
#myStockSection .warehouseModuleBack{align-self:flex-start;margin-bottom:14px;font-weight:750}
#myStockSection.warehouseScreenActive .warehouseModuleDetail{min-height:calc(100vh - 140px);margin:0;padding:6px 0;border:0;display:flex;flex-direction:column}
#sellerSection #historyFbsSection{border:0;box-shadow:none;background:transparent;padding:0;margin:0}
#sellerSection #historyFbsSection.hidden{display:none!important}
@media(max-width:1370px){#myStockSection .warehouseModulesGrid:not(.hidden){gap:12px}#myStockSection .warehouseModuleTile{padding:25px 12px 22px!important;min-height:288px!important}#myStockSection .warehouseModuleGlyph{width:88px;height:88px;margin-bottom:17px}#myStockSection .warehouseModuleGlyph svg{width:47px;height:47px}#myStockSection .warehouseModuleTileName{font-size:17px}#myStockSection .warehouseModuleTileDesc{font-size:13px}}
@media(max-width:1120px){#myStockSection .warehouseModulesGrid:not(.hidden){grid-template-columns:repeat(2,minmax(0,1fr))}#myStockSection .warehouseModuleTile{min-height:245px!important}}
@media(max-width:600px){#myStockSection .warehouseModulesGrid:not(.hidden){gap:10px}#myStockSection .warehouseModuleTile{min-height:226px!important;padding:20px 10px!important}#myStockSection .warehouseModuleGlyph{width:62px;height:62px;border-radius:16px;margin-bottom:12px}#myStockSection .warehouseModuleGlyph svg{width:37px;height:37px}#myStockSection .warehouseModuleTileName{font-size:15px;margin-bottom:7px}#myStockSection .warehouseModuleTileDesc{font-size:11px}#myStockSection .warehouseLandingHeader h2{font-size:29px}#myStockSection .warehouseLandingHeader p{font-size:14px}}

/* 1.3.18: Unloading is a dedicated full-size screen beside the existing sidebar.
   Only the unloading iframe scrolls; no nested warehouse card, topbar, or second scrollbar. */
.shell.unloadingWorkspaceShell { height:100vh; min-height:0; overflow:hidden; }
.app.unloadingWorkspaceActive { width:100%; max-width:none; height:100vh; min-height:0; padding:0; overflow:hidden; display:flex; flex-direction:column; }
.app.unloadingWorkspaceActive > .topbar { display:none!important; }
.app.unloadingWorkspaceActive > .warehouseUnloadingSection { flex:1; display:flex; flex-direction:column; min-height:0; width:100%; padding:0; margin:0; border:0; background:#f4f6fd; }
.app.unloadingWorkspaceActive > .warehouseUnloadingSection.hidden { display:none!important; }
.warehouseUnloadingFrame { display:block; flex:1; width:100%; height:100%; min-height:0; border:0; background:#f4f6fd; }
/* Keep legacy dashboard status out of the dedicated unloading screen. */
.app.unloadingWorkspaceActive > #status { display:none!important; }
@media(max-width:620px){
  .shell.unloadingWorkspaceShell { display:flex; flex-direction:column; }
  .shell.unloadingWorkspaceShell > .sidebar { flex:0 0 auto; }
  .app.unloadingWorkspaceActive { flex:1; height:auto; }
}

/* 1.3.20: receiving stage tabs in the existing full-width unloading workspace */
.warehouseStageTabs{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.warehouseStageTab{border:1px solid #ded7f7;border-radius:10px;padding:8px 14px;background:#fff;color:#655987;font-weight:750}.warehouseStageTab.active{background:#6c3de4;color:#fff;border-color:#6c3de4}.warehouseStageTabDisabled{padding:8px 11px;color:#8f98ac;font-weight:650;font-size:12px}.sellerClientStage{margin-top:24px;padding:17px;border:1px solid #e7e2fa;border-radius:14px;background:#faf9ff}.sellerClientStage .sectionTitle{margin-bottom:10px}.sellerClientStage .reportTableWrap{max-height:330px;overflow:auto}

/* 1.3.21: independent intake hub, no duplicated stage selectors in unloading */
.warehouseIntakeHub{padding:26px 34px;min-height:60vh;width:100%}
.intakeHubHeader{text-align:center;margin:44px 0 32px}.intakeHubHeader span{font-size:12px;letter-spacing:.14em;font-weight:800;color:#7544dd}.intakeHubHeader h2{font-size:32px;margin:10px 0;color:#242340}.intakeHubHeader p{color:#748099;font-size:15px}
.intakeHubGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;max-width:1180px;margin:0 auto}.intakeHubCard{display:flex;align-items:center;flex-direction:column;text-align:center;gap:14px;min-height:230px;padding:32px 18px;border-radius:19px;border:1px solid #e6e0f2;background:white;box-shadow:0 10px 30px #32266409;cursor:pointer;color:#22263c}.intakeHubCard:hover{border-color:#986ce3;box-shadow:0 12px 32px #7e59cd26}.intakeHubIcon{height:80px;width:80px;border-radius:20px;background:#f0eafa;color:#6b3ed6;display:flex;justify-content:center;align-items:center;font-size:40px}.intakeHubCard strong{font-size:20px}.intakeHubCard small{font-size:13px;color:#778198}.intakeHubNote{text-align:center;padding:12px;color:#7951ca}@media(max-width:800px){.intakeHubGrid{grid-template-columns:1fr}.warehouseIntakeHub{padding:16px}.intakeHubCard{min-height:130px}.intakeHubHeader{margin:18px 0}}

/* 1.4.0 – map and addressing are peer entries in storage cells */
.storageEntryLinks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;max-width:920px;margin:20px 0}
.storageEntryLinks .storageMapCard{width:100%;max-width:none;margin:0;padding:19px 16px;gap:12px;align-items:flex-start}
.storageEntryLinks .storageMapCardIcon{width:54px;height:54px;font-size:32px;border-radius:13px}
.storageEntryLinks .storageMapCard strong{font-size:18px}
.storageEntryLinks .storageMapCard small{font-size:12px}
.storageEntryLinks .storageMapCardArrow{font-size:11px;margin:auto 0 0 auto;align-self:flex-end}
@media(max-width:850px){.storageEntryLinks{grid-template-columns:1fr}.storageEntryLinks .storageMapCard{min-height:90px}}

/* CHARKHO 1.4.15 — four always-visible internal seller stock lists */
.sellerInternalNotice{margin:0 0 16px;padding:12px 14px;border:1px solid #ded7f6;border-radius:10px;background:#fff;font-size:13px;color:#4d526b;line-height:1.5}
.sellerInternalBlock{margin:16px 0;border:1px solid #e1e3ed;background:#fff;border-radius:13px;overflow:hidden}
.sellerInternalHead{padding:15px 16px;display:flex;justify-content:space-between;align-items:center;gap:12px;background:#f8f7fc;border-bottom:1px solid #e8e4f1}
.sellerInternalHead h4{margin:0;font-size:16px;color:#292c40}.sellerInternalHead p{font-size:12px;color:#74788c;margin:5px 0 0}.sellerInternalHead strong{white-space:nowrap;font-size:19px;color:#5b3ac4}
.sellerInternalTableWrap{overflow-x:auto;max-height:390px;overflow-y:auto}.sellerInternalTable{width:100%;min-width:790px;font-size:13px}.sellerInternalTable th{background:#fff!important;position:sticky;top:0;z-index:1}.sellerInternalTable td{vertical-align:middle}.sellerInternalTable td small{display:block;color:#7b8394;margin-top:4px;font-size:11px}
.sellerInternalPhoto{width:54px;height:58px;object-fit:contain;border:1px solid #eaebef;background:#fafafd;border-radius:8px;display:block}.sellerNoPhoto{font-size:11px;color:#8b90a0;display:inline-block;width:58px}.sellerNoPhoto[hidden]{display:none!important}
.sellerInternalAddress{display:block;font-size:12px;color:#50556e;margin:3px 0}.sellerInternalEmpty{padding:18px!important;text-align:center;color:#828799}.sellerClientStage .reportTableWrap{max-height:unset}


/* 1.4.20 — full-width hourly order history beneath the existing "Общая статистика". */
.legacySummary{display:none!important}
.homeOrdersChart{position:relative;margin:0 0 24px;padding:24px 25px 18px;background:#fff;border:1px solid #e5e7f0;border-radius:18px;box-shadow:0 4px 20px #11182708}
.homeOrdersChart.hidden{display:none!important}
.homeOrdersHead{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;flex-wrap:wrap}
.homeOrdersHead h2{font-size:22px;margin:4px 0 7px;font-weight:800;color:#242039}
.homeOrdersHead p{font-size:13px;color:#758097;line-height:1.5;margin:0}
.homeOrdersPeriod{flex:none;background:#f7f5fd;border:1px solid #ece7fa;padding:10px 14px;border-radius:12px;font-size:12px;font-weight:750;color:#6549bf}
.homeOrdersTotals{display:flex;align-items:center;gap:35px;flex-wrap:wrap;margin-top:23px}
.homeOrdersTotals>div{display:flex;flex-direction:column;gap:5px;min-width:130px}
.homeOrdersTotals span{font-size:12px;color:#7d8597}
.homeOrdersTotals strong{font-size:27px;font-weight:850;color:#201b31;font-variant-numeric:tabular-nums}
.homeOrdersGraph{min-height:310px;position:relative;margin-top:20px}
.homeOrdersPlot{width:100%;overflow:hidden}
.homeOrdersPlot svg{display:block;width:100%;height:300px;overflow:visible}
.homeOrdersPlot rect[role=button]:focus{outline:none}
.homeOrdersPlot rect[role=button]:focus-visible{stroke:#6b43d7;stroke-width:1.6;stroke-dasharray:3 3}
.homeOrdersTooltip{position:absolute;top:10px;background:#fff;border:1px solid #e5dff6;border-radius:11px;box-shadow:0 8px 26px #1311361f;padding:12px 14px;pointer-events:none;z-index:3;min-width:174px;font-size:12px;transform:translateX(-30%)}
.homeOrdersTooltip[hidden]{display:none}
.homeOrdersTooltip>strong{display:block;font-size:12px;margin-bottom:9px;color:#2a2347}
.orderHoverRow{display:flex;align-items:center;gap:7px;padding:3px 0;color:#5e6778;white-space:nowrap}
.orderHoverRow i{width:8px;height:8px;border-radius:50%;display:inline-block}
.orderHoverRow b{margin-left:auto;padding-left:14px;color:#302b40}
.homeOrdersStatus{position:absolute;inset:0;display:flex;justify-content:center;align-items:center;color:#6d7285;text-align:center;font-size:14px;line-height:1.6;padding:24px;background:#fcfbff;border-radius:12px;border:1px dashed #e2ddf1}
.homeOrdersStatus[hidden]{display:none}
.homeOrdersFooter{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:7px}
.homeOrdersLegend{display:flex;flex-wrap:wrap;gap:12px 21px}
.homeOrdersLegend label{display:flex;align-items:center;gap:7px;font-size:12px;color:#49536b;cursor:pointer}
.homeOrdersLegend input{width:15px;height:15px;accent-color:#7047eb;cursor:pointer}
.homeOrdersLegend i{width:11px;height:11px;border-radius:50%}
.homeOrdersLegend i.today{background:#7047eb}.homeOrdersLegend i.yesterday{background:#ed4fbc}.homeOrdersLegend i.week{background:#13b8c1}
.homeOrdersFooter small{font-size:11px;color:#8c94a5}
.sellerItem .sellerTextGroup{min-width:0;display:flex;flex-direction:column;gap:4px;align-items:flex-start;max-width:100%}
.sellerItem .sellerClientName{font-size:11px;font-weight:500;color:#7b8496;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.sellerItem .sellerLabel{flex:1}
.sellerItem .sellerCount{flex:none}
@media(max-width:710px){.homeOrdersChart{padding:17px 14px}.homeOrdersHead h2{font-size:19px}.homeOrdersTotals{gap:18px}.homeOrdersTotals>div{min-width:90px}.homeOrdersTotals strong{font-size:22px}.homeOrdersGraph{min-height:258px}.homeOrdersPlot svg{height:250px}.homeOrdersLegend{gap:10px}}

/* 1.4.21: compact, selectable period chart and shop-level delivery breakdown. */
.homeOrdersPeriod{cursor:pointer;min-width:210px;max-width:100%;font:inherit;font-size:12px;font-weight:750;color:#6549bf;appearance:auto}
.homeOrdersGraph{min-height:248px}
.homeOrdersPlot svg{height:240px}
.homeOrdersLegend label[hidden]{display:none!important}
.homeMetricTransit{position:relative;overflow:visible;z-index:2}
.homeMetricTransit #dashboardTransit{cursor:help;outline-offset:4px}
.homeMetricTransit #dashboardTransit:focus-visible{outline:2px solid #7951e8;border-radius:6px}
.dashboardTransitPopover{position:absolute;top:calc(100% - 2px);left:12px;right:auto;width:min(310px,calc(100vw - 50px));max-height:310px;overflow:auto;background:#fff;border:1px solid #e5ddf7;border-radius:13px;box-shadow:0 14px 30px #29204624;padding:13px 15px;z-index:20;text-align:left;color:#2d2b44;font-size:12px}
.dashboardTransitPopover[hidden]{display:none!important}
.dashboardTransitPopover>strong{display:block;margin-bottom:10px;font-size:13px}
.dashboardTransitPopover .transitShopRow{display:flex;justify-content:space-between;gap:14px;padding:7px 0;border-bottom:1px solid #f0edf7}
.dashboardTransitPopover .transitShopRow span{overflow:hidden;text-overflow:ellipsis;overflow-wrap:anywhere}
.dashboardTransitPopover .transitShopRow b{white-space:nowrap}
.dashboardTransitPopover .transitShopTotal{margin-top:10px;font-weight:800;display:flex;justify-content:space-between}
.dashboardTransitPopover .transitStale{display:block;color:#876940;font-size:11px;margin-top:9px}
.dashboardTransitPopover .transitError{display:block;color:#9a4747;font-size:11px;margin-top:8px}
@media(max-width:710px){.homeOrdersGraph{min-height:206px}.homeOrdersPlot svg{height:200px}}


/* 1.4.25 — shared printed-sticker suffix switch (bulk, warehouse, archive). */
.stickerBarcodeToggle{position:relative;display:inline-flex;align-items:center;gap:7px;min-height:38px;padding:4px 8px;border:1px solid #e2dcef;border-radius:10px;background:#fff;cursor:pointer;user-select:none;white-space:nowrap;vertical-align:middle;font-size:12px;font-weight:650;color:#554b68}
.stickerBarcodeToggleInput{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;margin:0;z-index:2}
.stickerBarcodeTrack{width:36px;height:20px;flex:none;position:relative;border-radius:20px;background:#a0a6b5;transition:background .18s ease}
.stickerBarcodeTrack:after{content:"";position:absolute;left:3px;top:3px;width:14px;height:14px;background:#fff;border-radius:50%;box-shadow:0 1px 3px #3f345533;transition:transform .18s ease}
.stickerBarcodeToggleInput:checked + .stickerBarcodeTrack{background:#763de3}
.stickerBarcodeToggleInput:checked + .stickerBarcodeTrack:after{transform:translateX(16px)}
.stickerBarcodeToggle:focus-within{outline:2px solid #a78bfa;outline-offset:2px}
.stickerBarcodeTooltip{position:absolute;left:50%;bottom:calc(100% + 9px);transform:translateX(-50%);display:flex;flex-direction:column;gap:3px;padding:10px 12px;border-radius:9px;box-shadow:0 8px 24px #11182735;background:#20243b;color:#fff;font-size:12px;font-weight:400;line-height:1.35;text-align:left;white-space:nowrap;z-index:40;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .1s}
.stickerBarcodeTooltip b{font-weight:750}
.stickerBarcodeToggle:hover .stickerBarcodeTooltip,.stickerBarcodeToggle:focus-within .stickerBarcodeTooltip{opacity:1;visibility:visible}
.stickerBarcodeToggleInput:disabled{cursor:wait}
@media (max-width:700px){.stickerBarcodeTooltip{left:0;transform:none}}

.stickerPrintButtonGroup{display:flex;align-items:center;gap:8px;min-width:0;max-width:100%}
.stickerPrintButtonGroup>button{min-width:0;flex:1}
.stickerPrintButtonGroup>.stickerBarcodeToggle{flex:none}
.archiveSupplyActions{grid-template-columns:minmax(240px,1.9fr) repeat(2,minmax(100px,1fr))}
.archiveSupplyCard:has(.stickerBarcodeToggle:hover),.archiveSupplyCard:has(.stickerBarcodeToggle:focus-within){overflow:visible;position:relative;z-index:15}
@media (max-width:950px){.archiveSupplyActions,.bulkPendingArchive .archiveSupplyActions{grid-template-columns:1fr}}
/* Don't crop the hover explanation inside collapsed cards. */
.warehouseCard:has(.stickerBarcodeToggle:hover),
.warehouseCard:has(.stickerBarcodeToggle:focus-within),
.bulkPendingArchiveCard:has(.stickerBarcodeToggle:hover),
.bulkPendingArchiveCard:has(.stickerBarcodeToggle:focus-within){overflow:visible;position:relative;z-index:15}
