.customer-saved-filters { min-width: 0; color: #303133; }
.customer-saved-filters .csf-actions, .customer-saved-filters .csf-row, .customer-saved-filters .csf-audience { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 12px 0; }
.customer-saved-filters h3 { font-size: 14px; margin: 16px 0 8px; }
.customer-saved-filters .csf-row > .el-button:first-child { max-width: min(500px, 65vw); height: auto; white-space: normal; overflow-wrap: anywhere; }
.customer-saved-filters .csf-name { display: flex; gap: 16px; align-items: center; }
.customer-saved-filters .csf-name .el-input { flex: 1; }
.customer-saved-filters .csf-name > span { color: #c12530; }
.customer-saved-filters .csf-group { border: 1px solid #e4e7ed; padding: 12px; margin-bottom: 12px; border-radius: 4px; }
.customer-saved-filters .csf-group header { display: flex; gap: 12px; margin-bottom: 8px; }
.customer-saved-filters .csf-group header .el-select { width: 140px; }
.customer-saved-filters .csf-rule { display: grid; grid-template-columns: minmax(130px, 1fr) minmax(100px, .8fr) minmax(230px, 1.5fr) 45px; gap: 10px; margin-bottom: 10px; }
.customer-saved-filters .csf-rule > *, .customer-saved-filters .csf-value { min-width: 0; }
.customer-saved-filters .csf-value .el-date-editor { width: 100%; box-sizing: border-box; }
.csf-swatch { display: inline-block; width: 12px; height: 12px; margin-right: 8px; border: 1px solid #aaa; }
@media(max-width: 760px) {
 .customer-saved-filters .csf-name { display: block; }
 .customer-saved-filters .csf-name .el-input { margin-top: 8px; }
 .customer-saved-filters .csf-rule { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
 .customer-saved-filters .csf-value { grid-column: 1 / -1; }
 .customer-saved-filters .csf-rule > .el-button { grid-column: 2; justify-self: end; }
 .csf-date-popup { position: fixed !important; top: 15vh !important; left: 50% !important; right: auto !important; bottom: auto !important; transform: translateX(-50%) !important; max-width: calc(100vw - 16px); max-height: 70vh; overflow: auto; }
 .csf-date-popup .el-popper__arrow { display: none; }
 .csf-date-popup .el-date-range-picker { width: min(360px, calc(100vw - 18px)); }
 .csf-date-popup .el-date-range-picker .el-picker-panel__body { min-width: 0; width: 100%; }
 .csf-date-popup .el-date-range-picker__content { display: block; box-sizing: border-box; width: 100%; float: none; }
 .csf-date-popup .el-date-range-picker__content.is-left { border-right: 0; border-bottom: 1px solid #e4e7ed; }
}
