#appPage .tabbar.erp-four-tabs{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important}
#appPage .tabbar.erp-four-tabs>button{width:100%!important;min-width:0!important;padding:7px 2px!important;box-sizing:border-box}
#appPage .tabbar.erp-four-tabs>button>span{font-size:12px!important;white-space:nowrap!important}
#appPage .tabbar.erp-four-tabs svg{width:23px;height:23px}
#appPage #tabWorks.on{display:block!important;padding:0;overflow:auto;height:calc(100dvh - var(--erp-header-height,64px) - var(--erp-dock-height,74px))}
.wx-works-home{width:100%;max-width:900px;margin:auto;padding:16px 18px;box-sizing:border-box}.wx-works-home .works-login-card{max-width:600px;margin:auto}.wx-works-home input,.wx-works-home button{max-width:480px;box-sizing:border-box}
#erpHeaderPerson{position:relative;padding-left:34px;padding-right:14px;cursor:pointer;min-width:0}.ac-initial{position:absolute;left:0;top:50%;transform:translateY(-50%);width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#E5EDFF;color:#2563EB;font-size:13px;font-weight:750}.ac-initial{position:absolute;left:0;top:50%;transform:translateY(-50%);width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#FFF4D1;color:#946200;font-size:13px;font-weight:750}.ac-arrow{position:absolute;right:0;top:25%;font-size:12px;color:#8B95A1}
.ac-panel[hidden],.ac-dim[hidden]{display:none!important}.ac-panel{position:fixed;top:var(--ac-top);right:var(--ac-right);width:300px;z-index:1300;background:#fff;border-radius:18px;padding:22px;box-shadow:0 12px 45px #10182830;color:#191F28;box-sizing:border-box}.ac-user{display:flex;gap:12px;align-items:center}.ac-user small{display:block;font-size:12px;color:#8B95A1;margin-top:4px;overflow-wrap:anywhere}.ac-avatar{display:grid;place-items:center;width:42px;height:42px;flex-shrink:0;background:#EEF4FF;border-radius:50%;color:#2563EB}.ac-avatar{display:grid;place-items:center;width:42px;height:42px;flex-shrink:0;background:#FFF4D1;border-radius:50%;color:#946200}.ac-logout{width:100%;border:0;background:#FFF0F0;color:#E5484D;border-radius:12px;padding:13px;margin-top:22px;font-weight:700}.ac-panel>p{font-size:11px;color:#8B95A1;text-align:center;margin:18px 0 0}.ac-dim,.ac-confirm{position:fixed;inset:0;background:#10182866;z-index:1299}.ac-confirm{z-index:1400;display:grid;place-items:center}.ac-confirm>section{width:min(340px,calc(100vw - 36px));background:white;border-radius:20px;padding:24px;box-sizing:border-box}.ac-confirm p{font-size:14px;color:#6B7684;line-height:1.6}.ac-confirm section>div{display:flex;gap:10px}.ac-confirm button{flex:1;border:0;padding:12px;border-radius:12px}.ac-confirm .ac-accept{background:#E5484D;color:white}
@media(max-width:767.98px){.ac-panel{top:auto;right:0;bottom:0;width:100%;border-radius:24px 24px 0 0;padding-bottom:calc(24px + env(safe-area-inset-bottom))}}
/* Shared viewport geometry: the work content remains scoped to its old layout. */
#appPage .dock{left:0!important;right:0!important;transform:none!important;width:100%!important;max-width:none!important}
#appPage .tabbar>button.on{background:#EEF4FF!important;color:#2563EB!important;box-shadow:0 4px 12px #2563EB18!important;border-radius:20px!important}#appPage .tabbar>button.on{background:#FFF4D1!important;color:#946200!important;box-shadow:0 4px 12px rgba(255,194,26,0.09411764705882353)!important;border-radius:20px!important}
.cw-collapse{display:none}
#wsCsContent{container-type:inline-size;container-name:cs}
@media(min-width:1200px){
 html:is(.ws-cs-active,.ws-works-active,.ws-extra-active) #appPage{width:100%!important;max-width:none!important;margin:0!important}
 #appPage #erpUnifiedHeader{width:calc(100vw - 48px)!important;max-width:none!important;margin-left:calc((100% - 100vw)/2 + 24px)!important;padding-left:0!important;padding-right:0!important;box-sizing:border-box}
 #appPage .dock{left:24px!important;right:24px!important;width:calc(100% - 48px)!important}
 #appPage :is(#tabCs,#tabExtra,#tabWorks) .ws-layout{width:100%!important;max-width:none!important;display:grid!important;grid-template-columns:260px minmax(0,1fr)!important;gap:24px;padding:12px 24px 24px!important;box-sizing:border-box;height:100%;min-height:0}
 #appPage :is(#wsCsMenu,#wsExtraMenu,#wsWorksMenu){width:260px;min-width:0;align-self:start}
 #appPage #tabCs.cw-collapsed .ws-layout{grid-template-columns:64px minmax(0,1fr)!important}#tabCs.cw-collapsed #wsCsMenu{width:64px}#tabCs.cw-collapsed .ws-section,#tabCs.cw-collapsed .ws-group span,#tabCs.cw-collapsed .ws-group strong{display:none}#tabCs.cw-collapsed .ws-group>button,#tabCs.cw-collapsed .ws-group>a{padding:10px;justify-content:center}.cw-collapse{display:block;border:0;background:#EEF4FF;color:#2563EB;border-radius:10px;width:36px;height:30px;margin-left:auto}.cw-collapse{display:block;border:0;background:#FFF4D1;color:#946200;border-radius:10px;width:36px;height:30px;margin-left:auto}
 #appPage #tabCs{overflow:hidden!important}#wsCsContent{height:100%;min-height:0;overflow:hidden;display:flex;flex-direction:column}#wsCsContent>#csMain{flex:1;min-height:0;overflow:hidden}#wsCsContent .page.on{height:100%;display:flex;flex-direction:column;min-height:0}#wsCsContent .page>.card,#wsCsContent .lay{flex:1;min-height:0;overflow:auto}#wsCsContent .page>.card{display:flex;flex-direction:column}#wsCsContent .cs-table-wrap{min-height:0;overflow:auto;flex:1}#wsCsContent .ph h1{display:none}#wsCsContent .ws-admin-frame{flex:1;min-height:0;height:100%}
 .sp-sheet .sp-body{container-type:inline-size;container-name:sorting}
}
@container cs (min-width:900px){#csResults .ri{display:grid;grid-template-columns:minmax(160px,1fr) minmax(260px,3fr) minmax(150px,1fr);align-items:center;min-height:48px;border-radius:0;margin:0}#csResults .ri .pd{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#csHolds .ht tr{height:48px}#csHolds .ht td{max-width:300px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}}
@container cs (max-width:899px){#csHolds .ht thead{display:none}#csHolds .ht,#csHolds .ht tbody{display:block}#csHolds .ht tr{display:grid;grid-template-columns:32px 1fr;gap:8px;padding:12px;background:white;border-radius:12px;margin-bottom:8px}#csHolds .ht td{display:block}}
@container sorting (min-width:900px){.sp-order-card{min-height:50px;grid-template-columns:84px minmax(0,1fr) 70px}.sp-order-main{display:grid;grid-template-columns:minmax(140px,1fr) minmax(260px,3fr) 120px;align-items:center}.sp-angle-block{min-height:48px}.sp-angle-block b{font-size:20px}}
html.layout-unified body #appPage.v9.erp-shell .dock{left:0!important;right:0!important;width:100%!important;max-width:none!important;transform:none!important;margin:0!important}
html.layout-unified body #appPage.v9.erp-shell .dock>.tabbar{position:relative!important;left:auto!important;right:auto!important;width:100%!important;max-width:none!important;transform:none!important;margin:0!important}
@media(min-width:1200px){html.layout-unified body #appPage.v9.erp-shell .dock{left:24px!important;right:24px!important;width:calc(100% - 48px)!important}}
@media(min-width:1200px){html.layout-unified body #appPage.v9.erp-shell .dock>.tabbar{width:calc(100vw - 48px)!important;min-width:calc(100vw - 48px)!important}}
@media(min-width:1200px){
 html.layout-unified body #appPage.v9.erp-shell:has(#tabCs.on),html.layout-unified body #appPage.v9.erp-shell:has(#tabWorks.on),html.layout-unified body #appPage.v9.erp-shell:has(#tabExtra.on){width:100vw!important;max-width:none!important;margin:0!important}
 html.layout-unified body #appPage.v9.erp-shell :is(#tabCs.on,#tabWorks.on,#tabExtra.on){width:100%!important;max-width:none!important;margin:0!important}
}
@media(min-width:1200px){.sp-sheet:has(.sp-order-cards){width:calc(100vw - 80px)!important;max-width:1600px!important}}
@container sorting (min-width:900px){.sp-card-toggle{display:grid!important;grid-template-columns:260px minmax(0,1fr) 140px;gap:12px;align-items:center;min-height:48px}.sp-card-summary{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sp-order-card:not(:has(.sp-card-expanded)){min-height:48px}.sp-location-chips{white-space:nowrap}}
html.layout-unified body #appPage.v9.erp-shell .dock>.tabbar{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important}
/* Item 100: work mode owns one content-aligned dock; menu mode owns the main dock. */
html.layout-unified.work-navigation-active body #appPage.v9.erp-shell .dock>.tabbar{display:none!important;min-width:0!important}
html.layout-unified.work-navigation-active body #appPage.v9.erp-shell .dock{left:var(--erp-work-dock-left,0px)!important;right:auto!important;width:var(--erp-work-dock-width,100vw)!important;min-width:0!important;max-width:none!important}
html.layout-unified.work-navigation-active body #appPage.v9.erp-shell #lgWorkNavigation{display:flex!important;width:100%!important;max-width:100%!important;box-sizing:border-box}
html.layout-unified:not(.work-navigation-active) body #lgWorkNavigation{display:none!important}
#lgWorkNavigation .lg-work-icon{position:relative;flex:none;width:23px;height:22px}
#lgWorkNavigation .lg-work-icon>sup{position:absolute;top:-6px;right:-10px;left:auto;margin:0;white-space:nowrap;line-height:13px}
#lgWorkNavigation .lg-work-icon>.lg-incoming-return{position:absolute;left:-11px;top:-7px}
/* Item 101: full-width PC hub only; working page content keeps its previous width. */
html.layout-unified body #appPage.v9.erp-shell #erpUnifiedHeader{display:flex!important;visibility:visible!important;flex-shrink:0!important}
@media(min-width:1024px){
 html.layout-unified body #appPage.v9.erp-shell:has(#tabWorker.on #workerMenu:not([hidden])){width:100vw!important;max-width:none!important;margin:0!important}
 html.layout-unified body #appPage.v9.erp-shell #tabWorker:has(#workerMenu:not([hidden])){width:100%!important;max-width:none!important;margin:0!important}
 html.layout-unified body #appPage.v9.erp-shell #workerMenu.lg{max-width:none!important;width:100%!important;margin:0!important;padding:12px 24px!important;box-sizing:border-box}
 #workerMenu>.hd,#workerMenu>.who{display:none!important}
}
@media(min-width:1440px){
 #workerMenu .flow.hub-five{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:16px}
 #workerMenu .flow.hub-five>button{min-height:220px;height:100%;box-sizing:border-box}
 #workerMenu .lg-shipping-divider{display:none}
 #workerMenu .flow>.lg-shipping{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:12px;margin:0;padding:24px;border-radius:20px;text-align:left;position:relative}
 #workerMenu .flow>.lg-shipping .ic{width:48px;height:48px}#workerMenu .flow>.lg-shipping .ic svg{width:36px;height:36px}#workerMenu .flow>.lg-shipping .n5{position:absolute;right:20px;top:20px}#workerMenu .flow>.lg-shipping .lg-ship-copy h3{font-size:20px}#workerMenu .flow>.lg-shipping .lg-ship-copy p{font-size:12px}#workerMenu .flow>.lg-shipping .lg-ship-stats{margin-top:auto;display:flex;justify-content:flex-start;gap:20px}
}

/* 108: the common header and pull gesture keep the original data-refresh handlers. */
#tabCs #csHoldRefresh,#tabCs #csTodayRefresh{display:none!important}
