.batch-picker-dialog.has-category-filter {height:min(840px,calc(100dvh - 24px));max-height:calc(100dvh - 24px);}
.has-category-filter .batch-picker-toolbar {flex-wrap:wrap;}
.has-category-filter .batch-picker-search {min-width:180px;max-width:none;}
.has-category-filter .picker-category-filter {display:flex;align-items:center;gap:8px;flex:0 1 250px;min-width:180px;margin:0;padding:0;color:#65758e;font-size:12px;white-space:nowrap;}
.has-category-filter .picker-category-filter select {display:block;flex:1;min-width:0;width:100%;height:41px;min-height:41px;max-height:41px;margin:0;padding:8px 28px 8px 10px;border:1px solid #dce3f0;border-radius:9px;background-color:#fff;color:#253b59;font-size:13px;line-height:20px;}
.has-category-filter .batch-picker-toolbar > button {min-height:41px;white-space:nowrap;}
.has-category-filter .batch-picker-table-wrap {min-height:0;}
.has-category-filter .batch-picker-table {min-width:930px;}
.has-category-filter .batch-picker-table th:nth-child(1) {width:42px;}
.has-category-filter .batch-picker-table th:nth-child(2) {width:180px;}
.has-category-filter .batch-picker-table th:nth-child(3) {width:195px;}
.has-category-filter .batch-picker-table th:nth-child(4) {width:100px;}
.has-category-filter .batch-picker-table th:nth-child(5) {width:150px;}
.has-category-filter .batch-picker-table th:nth-child(6) {width:190px;}
.has-category-filter .batch-picker-table th:nth-child(7) {width:70px;}
.has-category-filter .batch-picker-table td {overflow-wrap:anywhere;}
.has-category-filter .batch-picker-table td:first-child {padding:9px 10px;}
.has-category-filter .batch-picker-table input[data-item],.has-category-filter .batch-picker-table input[data-page-check] {width:18px;height:18px;min-width:18px;min-height:18px;margin:0;vertical-align:middle;}
@media(max-width:900px){
  body .batch-picker-dialog.has-category-filter {width:calc(100vw - 16px);max-width:calc(100vw - 16px);height:calc(100dvh - 16px);max-height:calc(100dvh - 16px);}
  .has-category-filter .batch-picker-search {flex:1 1 100%;min-width:0;}
  .has-category-filter .picker-category-filter {flex:1 1 100%;min-width:0;}
  .has-category-filter .picker-category-filter select {height:44px;min-height:44px;max-height:44px;font-size:16px;}
  .has-category-filter .batch-picker-head > div > span {display:none;}
  .has-category-filter .batch-picker-toolbar > button {flex:1 1 auto;}
  .has-category-filter .batch-picker-table-wrap {overflow-x:hidden;background:#f7f9fd;}
  .has-category-filter .batch-picker-table {display:block;min-width:0;width:100%;table-layout:auto;}
  .has-category-filter .batch-picker-table thead {display:none;}
  .has-category-filter .batch-picker-table tbody {display:grid;gap:10px;width:100%;padding:10px;}
  .has-category-filter .batch-picker-table tr:has([data-item]) {position:relative;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:8px;border:1px solid #e1e7f2;border-radius:11px;background:#fff;}
  .has-category-filter .batch-picker-table tr.selected {border-color:#b9aff2;background:#fbfaff;}
  .has-category-filter .batch-picker-table td {display:block;min-width:0;width:auto;height:auto;min-height:0;padding:7px 8px;border:0;white-space:normal;overflow:visible;}
  .has-category-filter .batch-picker-table td[data-picker-label]::before {display:block;margin-bottom:4px;color:#8290a6;font-size:11px;content:attr(data-picker-label);}
  .has-category-filter .batch-picker-table td:has(> input[data-item]) {position:absolute;top:14px;right:14px;padding:0;box-shadow:none;}
  .has-category-filter .batch-picker-table td:nth-child(2),.has-category-filter .batch-picker-table td:nth-child(3) {grid-column:1 / -1;padding-right:36px;}
  .has-category-filter .batch-picker-table td strong {overflow-wrap:anywhere;}
  .has-category-filter .batch-picker-table .picker-type {white-space:normal;}
  .has-category-filter .batch-picker-pagination {flex-wrap:wrap;gap:8px;padding:10px 12px;}
  .has-category-filter .batch-picker-footer {flex:0 0 auto;padding:10px 12px!important;}
}
