.wms-record-selection-grid { height:100%; min-height:230px; }
.wms-record-selection-grid .dxbl-grid-table tr.wms-selected-record > td { background:#fff3a6!important; color:#332b00!important; font-weight:700; }
.wms-grid-heading { display:flex; align-items:center; justify-content:space-between; gap:5px; width:100%; min-width:0; }
.wms-grid-heading-filter.dxbl-btn { padding:2px 4px!important; min-width:26px; min-height:26px; color:#65359a!important; background:transparent!important; border:0!important; }
.wms-grid-heading-filter.is-active.dxbl-btn { background:#e6d7f5!important; }
.wms-grid-row-filter { display:flex; align-items:center; gap:3px; min-height:28px; min-width:0; width:100%; position:relative; }
.wms-grid-row-editor { flex:1 1 0; min-width:0; }
.wms-grid-row-editor > * { width:100%; min-width:0; }
.wms-grid-row-editor .dxbl-text-edit,
.wms-grid-row-editor input { border:0!important; border-radius:0!important; box-shadow:none!important; background:transparent!important; outline:none!important; }
.wms-grid-row-editor .dxbl-text-edit { --dxbl-text-edit-border-width:0; --dxbl-text-edit-border-color:transparent; }
.dxbl-grid-filter-row > td:has(.wms-grid-row-editor):focus-within { outline:1px solid #65359a; outline-offset:-1px; }
.wms-grid-inline-clear.dxbl-btn { padding:2px!important; min-width:24px; border:0!important; background:transparent!important; color:#65359a!important; }
.wms-grid-inline-error { position:absolute; top:100%; left:0; z-index:10; padding:4px 8px; background:#fff0f0; color:#a42036; font-size:.75rem; }
.wms-grid-row-operator.dxbl-btn { width:30px; min-width:30px; min-height:28px; padding:2px!important; color:#65359a!important; background:#f7f2fc!important; border:1px solid #dac7ef!important; border-radius:5px!important; font-weight:700; }
.wms-grid-row-operator.is-active.dxbl-btn { border-color:#65359a!important; background:#e6d7f5!important; }
.wms-grid-operators-menu { max-width:calc(100vw - 16px); }
.wms-grid-operators-menu .dxbl-dropdown-body { padding:4px!important; max-height:calc(100dvh - 24px); overflow:auto; }
.wms-grid-operator-list { display:flex; flex-direction:column; min-width:0; width:100%; }
.wms-grid-operator-list .wms-grid-operator-option.dxbl-btn { display:flex!important; justify-content:flex-start; width:100%; min-height:32px; padding:6px 10px!important; border:0!important; border-radius:3px!important; background:white!important; color:#17365a!important; text-align:left; }
.wms-grid-operator-list .wms-grid-operator-option.dxbl-btn:hover,
.wms-grid-operator-list .wms-grid-operator-option.dxbl-btn:focus-visible,
.wms-grid-operator-list .wms-grid-operator-option.dxbl-btn.is-selected { background:#efe5fa!important; color:#65359a!important; }
.wms-filter-funnel { display:inline-block; width:14px; height:14px; background:currentColor; clip-path:polygon(0 0,100% 0,60% 50%,60% 100%,40% 100%,40% 50%); }
.wms-column-values-menu { max-width:calc(100vw - 16px); }
.wms-column-values { display:flex; flex-direction:column; gap:10px; padding:12px; min-width:0; width:100%; box-sizing:border-box; }
.wms-column-values-menu .dxbl-dropdown-body { padding:0!important; max-height:calc(100dvh - 24px); overflow:auto; }
.wms-column-filter-modes { display:flex; gap:6px; }
.wms-column-values .wms-column-mode.dxbl-btn { flex:1; background:#f7f2fc!important; color:#65359a!important; border:1px solid #dac7ef!important; }
.wms-column-values .wms-column-mode.dxbl-btn.is-selected { background:#65359a!important; color:white!important; border-color:#65359a!important; }
.wms-column-condition { display:flex; flex-direction:column; gap:7px; min-width:0; }
.wms-column-condition > label { font-size:.8rem; font-weight:600; color:#554768; }
.wms-column-condition > div > * { width:100%; min-width:0; }
.wms-column-filter-error { padding:6px 8px; background:#fff0f0; color:#a42036; font-size:.8rem; border-radius:4px; }
.wms-column-values-list { display:flex; flex-direction:column; gap:8px; max-height:min(340px,40dvh); overflow:auto; overflow-wrap:anywhere; }
.wms-column-values-actions { display:flex; justify-content:flex-end; gap:6px; border-top:1px solid #e8def3; padding-top:10px; }
@media (pointer:coarse), (max-width:767px) {
    .wms-grid-heading-filter.dxbl-btn { min-width:36px; min-height:36px; }
    .wms-grid-row-operator.dxbl-btn { width:36px; min-width:36px; min-height:40px; }
    .wms-grid-operator-list .wms-grid-operator-option.dxbl-btn { min-height:40px; }
    .wms-column-values .wms-column-mode.dxbl-btn, .wms-column-values-actions .dxbl-btn { min-height:40px; }
}
