/* D-113 v4: one compact seller-inbound filter row with panel-local scrolling. */
.SellerInbound.erp-page .inbound-stack {
    width: 100% !important;
    min-width: 0 !important;
    grid-template-columns: minmax(0, 1fr) !important;
}

.SellerInbound.erp-page .inbound-stack > .erp-filter-panel {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    overflow-x: auto !important;
    padding: 8px 10px !important;
    scrollbar-width: thin;
}

.SellerInbound.erp-page .inbound-stack > .erp-filter-panel::-webkit-scrollbar {
    height: 6px;
}

.SellerInbound.erp-page .inbound-stack > .erp-filter-panel .searchForm {
    width: 100% !important;
    min-width: 0 !important;
}

.SellerInbound.erp-page .inbound-stack > .erp-filter-panel .erp-filter-row {
    display: flex !important;
    width: 900px !important;
    min-width: 900px !important;
    min-height: 40px !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
}

.SellerInbound.erp-page .inbound-stack > .erp-filter-panel .erp-filter-fields {
    display: grid !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
    flex-basis: auto !important;
    grid-template-columns: minmax(220px, 1.4fr) minmax(180px, 1fr) 150px minmax(230px, 1fr) !important;
    align-items: center !important;
    gap: 10px !important;
}

.SellerInbound.erp-page .inbound-stack > .erp-filter-panel .erp-search-input,
.SellerInbound.erp-page .inbound-stack > .erp-filter-panel .erp-status-select,
.SellerInbound.erp-page .inbound-stack > .erp-filter-panel .inbound-date-range {
    width: 100% !important;
    min-width: 0 !important;
}

.SellerInbound.erp-page .inbound-stack > .erp-filter-panel .erp-filter-actions {
    display: flex !important;
    flex: 0 0 auto !important;
    width: auto !important;
    margin-left: 0 !important;
    justify-content: flex-end !important;
    gap: 8px !important;
}
