/*
 * ag-Grid Set Filter — auto-width to fit content (CSS-only)
 * Overrides the fixed 360px width in ag-theme-blue
 *
 * How it works:
 *   ag-Grid's virtual list uses position:absolute items which don't
 *   contribute to parent width. By switching items to position:relative
 *   and using width:max-content up the chain, the popup sizes itself
 *   to the widest label. This is safe for set-filter lists (typically
 *   small); virtual-scroll pagination still works for the row viewport.
 */

    .ag-theme-blue .ag-set-filter-item {
      white-space: nowrap !important;
    }
    .ag-theme-blue .ag-set-filter-item .ag-checkbox-label {
      white-space: nowrap !important;
      overflow: visible !important;
    }