#workModeBar{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:10px 12px;border-bottom:1px solid #dbe3e5;background:#fff;min-width:0}#workModeBar .work-mode-buttons{display:flex;flex:1 1 100%;gap:6px;min-width:0}#workModeBar [data-work-mode]{flex:1;min-width:0;min-height:44px;padding:8px 6px;font-size:14px}#workModeBar .work-mode-buttons button[aria-pressed=true]{background:#2c6174!important;color:#fff!important;border-color:#2c6174!important}#workModeBar label{display:flex;align-items:center;gap:8px;flex:1;margin:0;font-size:12px;min-width:0}#workModeBar select{min-width:0;max-width:100%;flex:1}

body[data-pwa-mode="sales"] #aiHelperOpen,body[data-pwa-mode="warehouse"] #aiHelperOpen,body[data-pwa-mode="management"] #aiHelperOpen{display:none!important}

.seller-search-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px}.seller-search-filters label,.seller-search-filters select,#sellerProductQuery{min-width:0;width:100%;box-sizing:border-box}#sellerProductSearch .tools{margin-top:10px}body[data-pwa-mode="sales"] #mobileSettingsOpen{display:none!important}
/* The dock already has its own viewport space; do not reserve it twice. */
body[data-pwa-mode]:not([data-pwa-mode=""]) .releaseversion{display:none!important}
body.design3.small-mobile .main:has(#sellerProductSearch){padding-bottom:0!important}
body.design3.small-mobile .content:has(#sellerProductSearch){padding-top:10px!important;padding-bottom:10px!important}
#sellerProductSearch{margin-bottom:0!important}
#sellerProductSearch [role=status]{margin:12px 0 0;line-height:1.4}
body.design3.small-mobile[data-pwa-mode="sales"] .main:has(.sellersalefinish){padding-bottom:0!important}
body.design3.small-mobile[data-pwa-mode="sales"] .main:has(.sellersalefinish) .content{padding-bottom:calc(var(--mobile-checkout-height,124px) + 10px)!important}
body.design3.small-mobile.viewport-keyboard[data-pwa-mode="sales"] .main:has(.sellersalefinish) .content{padding-bottom:10px!important}
body[data-pwa-mode="sales"] #workModeBar:empty{display:none}
body[data-pwa-mode="sales"] .main>header .tools{width:100%!important;display:flex!important}
body[data-pwa-mode="sales"] #headerLogout{margin-left:auto!important;flex:0 0 auto!important}
.seller-source-choice{display:flex;flex-direction:column;align-items:flex-start;width:100%;gap:5px;text-align:left;white-space:normal}
.seller-return-line{padding:12px 0;border-bottom:1px solid #ddd}.seller-return-line input[type=checkbox]{width:22px!important;min-height:22px!important;margin-right:8px}
#saleReturnDays{min-height:40px!important;width:100%}.sellersalefinish>label:has(#saleReturnDays){display:flex;align-items:center;gap:12px;margin:0 0 8px}
body[data-pwa-mode="sales"] .sellerotherstock{display:none!important}

.return-date-range{margin:12px 0}.return-calendar{padding:10px;border:1px solid #dce2e2;border-radius:12px;margin-top:8px}.return-calendar .tools{display:flex;justify-content:space-between;align-items:center}.return-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px}.return-calendar-grid button{min-width:0!important;min-height:40px!important;padding:4px!important}.return-calendar-grid small{text-align:center}body.design3 #content .return-calendar-grid button[aria-pressed=true]{background:#22667a!important;color:white!important}body.design3 #content .return-calendar-grid button.in-range{background:#d9ebef!important}body.design3 #content .return-calendar-grid button[aria-pressed=true].in-range{background:#22667a!important;color:white!important}

body.design3 .sellersalefinish>label[hidden]{display:none!important}

/* Warehouse mode only: keep seller layout unchanged. */
body.design3.small-mobile[data-pwa-mode="warehouse"] .main>header .signedinuser{display:block!important}
body[data-pwa-mode="warehouse"] #mobileSettingsOpen{display:none!important}
body[data-pwa-mode="warehouse"] #workModeBar .warehouse-location-choice{flex:1 1 100%;flex-direction:column;align-items:stretch;font-size:13px}
body[data-pwa-mode="warehouse"] #workModeBar .warehouse-location-choice select{width:100%;min-height:44px}
body[data-pwa-mode="warehouse"] .warehouse-transfer-heading .tools{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch!important;gap:8px!important;width:100%!important}
body[data-pwa-mode="warehouse"] .warehouse-transfer-heading .tools>button{width:100%!important;min-width:0!important;min-height:64px!important;align-self:stretch!important;margin:0!important;white-space:normal!important;word-break:normal!important;overflow-wrap:normal!important;padding:10px!important}
body[data-pwa-mode="warehouse"] #mobileDock .nav[data-v0=settings]{display:flex!important}
body.design3.small-mobile[data-pwa-mode="warehouse"] .main>header .tools #aiHelperOpen{display:none!important}

body[data-pwa-mode="warehouse"] .warehouse-pwa-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
body[data-pwa-mode="warehouse"] .warehouse-pwa-choices button{min-width:0;min-height:52px;white-space:normal;overflow-wrap:anywhere;margin:0}
body[data-pwa-mode="warehouse"] .warehouse-pwa-task{padding:12px 0;border-bottom:1px solid #ddd;overflow-wrap:anywhere}
body[data-pwa-mode="warehouse"] #mobileInventoryEntry,body[data-pwa-mode="warehouse"] #content>.heading [data-evt-click="h14"]{display:none!important}
.leave-all-day{display:flex;align-items:center;gap:10px;margin:14px 0}.leave-all-day input{width:22px!important;min-height:22px!important}

body.design3.small-mobile .selleridentity .shift-without-qr{display:none!important}
body.design3.small-mobile .selleridentity .warehouse-current-object{font-size:14px;font-weight:600;overflow-wrap:anywhere}
body.design3.small-mobile .selleridentity .warehouse-current-object::before,body.design3.small-mobile[data-pwa-mode="sales"] .selleridentity .design-current-object::before{content:"· ";}
body[data-pwa-mode="warehouse"] .main>header .tools{width:100%!important;display:flex!important}
body[data-pwa-mode="warehouse"] #headerLogout{margin-left:auto!important;flex:0 0 auto!important}
/* Identical employee identity in both operational modes. */
body.design3.small-mobile:is([data-pwa-mode="sales"],[data-pwa-mode="warehouse"]) .main>header .selleridentity{display:flex!important;flex-direction:row!important;align-items:baseline!important;flex-wrap:wrap;gap:4px 8px!important}
body.design3.small-mobile:is([data-pwa-mode="sales"],[data-pwa-mode="warehouse"]) .main>header .selleridentity strong{font-family:inherit!important;font-size:16px!important;line-height:1.4!important;font-weight:700!important;color:#284e5e!important;margin:0!important}
body.design3.small-mobile:is([data-pwa-mode="sales"],[data-pwa-mode="warehouse"]) .main>header .selleridentity :is(.design-current-object,.warehouse-current-object,.design-active-point){font-family:inherit!important;font-size:14px!important;line-height:1.4!important;font-weight:600!important;color:#222!important}
body[data-pwa-mode] button:has(>.pwa-action-icon){display:flex!important;align-items:center;justify-content:center;gap:8px}
.pwa-action-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 30px;width:30px;height:30px;border-radius:8px;background:#e0f2fe;color:#0369a1}
.pwa-action-icon svg{display:block;width:21px;height:23px}
.pwa-icon-receive{background:#dcfce7;color:#15803d}.pwa-icon-send{background:#ffedd5;color:#c2410c}.pwa-icon-supplier{background:#ede9fe;color:#6d28d9}.pwa-icon-returns{background:#fef3c7;color:#92400e}.pwa-icon-request{background:#cffafe;color:#0e7490}
body.design3.small-mobile:is([data-pwa-mode="sales"],[data-pwa-mode="warehouse"]) :is(.main>header,#workModeBar,.content){font-family:'IBM Plex Sans',system-ui,sans-serif}
body.design3.small-mobile:is([data-pwa-mode="sales"],[data-pwa-mode="warehouse"]) .content button{font-family:'IBM Plex Sans',system-ui,sans-serif!important;border-radius:10px}
body.design3.small-mobile:is([data-pwa-mode="sales"],[data-pwa-mode="warehouse"]) .content .pwa-scanner-button{font-size:14px!important;min-height:44px!important;min-width:0!important;width:auto!important;padding:8px 12px!important;border:1px solid #bcced5!important;background:#fff!important;color:#284e5e!important;box-shadow:none!important;white-space:normal!important}
body.design3.small-mobile .pwa-scanner-button .pwa-action-icon{flex:0 0 24px;width:24px;height:24px;background:#e0f2fe;color:#0369a1}
body.design3.small-mobile .pwa-scanner-button .pwa-action-icon svg{display:block!important;width:21px!important;height:23px!important}
body[data-pwa-mode] .warehouse-pwa-choices>h2{grid-column:1/-1;margin:0 0 4px}
body[data-pwa-mode="sales"] .warehouse-pwa-choices{display:grid;gap:10px}

/* Personal settings are the same employee screen in either work mode. */
body[data-pwa-mode] .personal-settings-panel{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}
body[data-pwa-mode] .personal-settings-panel>h2{margin:0 0 4px}
body.design3.small-mobile[data-pwa-mode] .personal-settings-panel>button{width:100%;min-width:0;min-height:44px;margin:0;padding:10px 14px;font-size:14px;line-height:1.4;white-space:normal;overflow-wrap:break-word}

/* Camera-only PWA scanner control; accessible name is kept in aria-label. */
body.design3.small-mobile .content .pwa-scanner-button{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:0!important;min-width:48px!important;min-height:48px!important;padding:10px!important}
