/* Assignment.css - one control per row, departments as chips (TLP-1013).
   Prefixed class names; every value from design-tokens.css; no panel-fill rule
   (Panel.css owns the fill). Gap-only spacing; nothing carries an external margin. */

/* The Departments cell: chips and the "+" that opens the per-control modal. */
.assign-chips {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-1);
}

/* Fixed layout pins the fixed-width columns and makes the width-less Control point
   column absorb the leftover space, so a long standard name or a row of many chips
   ellipsizes / wraps inside its column instead of growing the table past the
   container (mirrors .cp-controls-table, TLP-938). */
.assign-table .data-table {
    table-layout: fixed;
}

.assign-table .ctrl-standard {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* The Departments column header: label + the bulk combobox on one row
   (mirrors .templates-team-header). */
.assign-bulk-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: var(--space-2);
    min-width: 0;
}

.assign-bulk-header > span:first-child {
    flex: 0 0 auto;
    white-space: nowrap;
}

.assign-bulk-header .combobox {
    flex: 1 1 auto;
    min-width: 0;
}

.assign-bulk-count {
    color: var(--text-muted);
    font-weight: var(--font-weight-normal);
    text-transform: none;
    letter-spacing: normal;
}

.assign-table .table-cell {
    vertical-align: middle;
}
