/* Dense PO workbench. Scoped selectors keep non-PO modules intact. */
.pw-shell{background:#141b2a;min-height:100vh}.pw-shell .topbar{height:48px;background:#141b2a;border:0;padding:0 16px;color:#c2cbd9}.pw-shell .topbar .user,.pw-shell .topbar .el-button{color:#c2cbd9}.pw-shell .logo-bar{height:48px}.pw-shell .content{padding:0 12px 12px 0;min-height:0;display:flex;flex-direction:column}.pw-shell .sidebar{width:190px}.pw-shell .sidebar.collapsed{width:64px}.pw-route-tabs{display:flex;gap:5px;overflow-x:auto;flex:1;margin-right:18px}.pw-route-tabs button{border:1px solid transparent;border-radius:4px;background:transparent;color:#a9b3c3;white-space:nowrap;padding:7px 13px;cursor:pointer;font:inherit;font-size:13px}.pw-route-tabs button.active{border-color:#394559;background:#1f2a3a;color:#80adfa}.pw-route-tabs button:hover{background:#253247}.pw-workspace{--el-color-primary:#246ff2;background:white;border-radius:9px;min-width:0;display:flex;flex-direction:column;height:calc(100vh - 60px);padding:0 16px;color:#303846;font-size:13px;overflow:hidden}.pw-status-tabs{flex:none}.pw-status-tabs .el-tabs__header{margin:0 0 12px}.pw-status-tabs .el-tabs__item{font-size:14px;height:42px;padding:0 14px}.pw-status-tabs .el-tabs__nav-wrap:after{height:1px;background:#e8ebf1}.pw-filters{display:flex;flex-wrap:wrap;align-items:center;gap:10px 12px;padding:14px 0 16px;flex:none}.pw-filters>.el-select{width:190px}.pw-filters>.el-input{width:230px}.pw-filters>.el-date-editor{width:285px;flex-grow:0}.pw-composite{display:flex;width:280px}.pw-composite>.el-select{width:90px;flex:none}.pw-composite .el-select__wrapper{border-radius:4px 0 0 4px}.pw-composite .el-input__wrapper{border-radius:0 4px 4px 0}.pw-filters .el-button+.el-button,.pw-toolbar .el-button+.el-button{margin-left:0}.pw-panel{border:1px solid #e0e4ec;border-radius:7px;flex:1;min-height:0;display:flex;flex-direction:column;margin-bottom:0;overflow:hidden}.pw-toolbar{display:flex;gap:8px;align-items:center;flex-wrap:wrap;padding:11px 12px;flex:none}.pw-toolbar-end{display:flex;gap:3px;margin-left:auto}.pw-toolbar .el-button{font-size:13px}.pw-toolbar>.el-input{width:280px}.pw-table-scroll{overflow:auto;min-height:0;flex:1;position:relative;overscroll-behavior:contain}.pw-table{border-collapse:separate;border-spacing:0;min-width:1250px;width:100%;table-layout:fixed;font-size:13px;line-height:1.65}.pw-table th{background:#f4f5f8;text-align:left;font-weight:600;color:#535c6c;position:sticky;top:0;z-index:2;padding:10px 12px;border-bottom:1px solid #e3e7ed}.pw-table td{padding:13px 12px;border-bottom:1px solid #e8ebf0;vertical-align:top;word-break:break-word;background:#fff}.pw-table tbody:last-child tr:last-child td{border-bottom:0}.pw-table .pw-check{width:42px;text-align:center;padding-left:8px;padding-right:8px}.pw-table .pw-product-col{width:285px}.pw-table th.pw-actions{width:145px}.pw-table .pw-actions{position:sticky;right:0;z-index:1;border-left:1px solid #eef0f5;box-shadow:-4px 0 5px -5px #9ba9bf}.pw-table th.pw-actions{z-index:3}.pw-actions .el-button{font-size:13px;margin:0 8px 5px 0;white-space:normal}.pw-actions .el-dropdown{line-height:inherit}.pw-table .pw-group td,.pw-group{background:#f3f6fc;padding:8px 12px;color:#485365}.pw-group b{font-weight:500;color:#2568d6}.pw-group i{font-style:normal;margin:0 9px;color:#c0c8d4}.pw-group .el-tag{margin-right:8px}.pw-table tr:not(.pw-group):hover td{background:#fbfcff}.pw-stack{display:flex;flex-direction:column;gap:1px}.pw-product{display:flex;gap:9px;align-items:flex-start}.pw-photo{width:48px;height:48px;border:1px solid #e5e9ef;border-radius:3px;display:grid;place-items:center;font-size:21px;color:#c1c9d5;background:#fafbfd;flex:none}.pw-name{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;max-width:225px;margin-bottom:3px;line-height:1.45}.pw-product .el-tag{margin-top:4px}.pw-link{color:#266fe1}.pw-muted{color:#7e8796;font-size:12px}.pw-danger{color:#d93d43;font-size:12px}.pw-decision{min-width:165px}.pw-qty{width:100px!important}.pw-remark{white-space:pre-wrap}.pw-pagination{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 14px;min-height:56px;border-top:1px solid #e5e8ee;flex:none;overflow-x:auto;white-space:nowrap}.pw-pagination>span{color:#5c6675;font-size:12px}.pw-error{margin:0 10px 10px;width:auto}.pw-flat{min-width:1550px}.pw-flat td{padding-top:18px;padding-bottom:18px}.pw-hint{font-size:13px;color:#69778c;margin:14px 0;line-height:1.6}.pw-pending-list{border:1px solid #e5e9ee;border-radius:6px;overflow:auto}.pw-pending-head{display:flex;align-items:center;gap:9px;flex-wrap:wrap;min-height:42px}.pw-pending-list .el-table{font-size:13px}.pw-wizard .el-step__title{font-size:14px;line-height:1.5;margin-top:6px}.pw-wizard .el-steps{padding:8px 0 28px}.pw-step{min-height:300px;padding:20px 0;overflow-x:auto}.pw-step>.el-table{margin-top:15px}.pw-step .el-form-item{margin-bottom:25px}.pw-final-form{max-width:660px;margin:auto}.pw-final-form .el-form-item__content{gap:8px}.pw-workspace .el-dialog h4{margin:18px 0 8px}.pw-workspace .el-checkbox__inner{border-color:#aeb8c7}.pw-workspace .el-checkbox__input.is-checked .el-checkbox__inner{border-color:var(--el-color-primary)}
@media(max-width:1000px){.pw-shell .sidebar{width:166px}.pw-workspace{padding:0 10px}.pw-filters{gap:8px}.pw-toolbar{gap:7px}.pw-table .pw-actions{position:static;box-shadow:none}.pw-table th.pw-actions{position:sticky;right:auto}.pw-filters>.el-select{width:160px}.pw-route-tabs button{padding:7px 9px}}
@media(max-width:650px){.pw-workspace{height:calc(100dvh - 60px)}.pw-shell .content{padding-right:6px}.pw-filters>.el-input,.pw-composite{width:100%}.pw-filters>.el-date-editor{width:100%}.pw-table{font-size:13px}.pw-pagination{align-items:flex-start;flex-direction:column;gap:6px}.pw-toolbar .el-button{padding:7px 10px}.pw-workspace .el-dialog{width:95vw!important}.pw-shell .topbar .user{font-size:12px;gap:5px}.pw-final-form .el-form-item__label{width:105px!important}}
