/* Isolated overlay: channel row fill colors. Do not change table layout. */
tr[data-slot="table-row"][data-vx-ch-colored="1"],
tr[data-slot="table-row"][data-vx-ch-colored="1"][data-state="selected"],
tr[data-slot="table-row"][data-vx-ch-colored="1"]:hover,
[data-vx-ch-row-card="1"][data-vx-ch-colored="1"],
[data-vx-ch-row-card="1"][data-vx-ch-colored="1"]:hover {
  background-color: color-mix(in srgb, var(--vx-ch-bg) 28%, transparent) !important;
  box-shadow: inset 3px 0 0 0 var(--vx-ch-accent, var(--vx-ch-bg));
}
tr[data-slot="table-row"][data-vx-ch-colored="1"] > th,
tr[data-slot="table-row"][data-vx-ch-colored="1"] > td {
  background-color: transparent !important;
}
tr[data-slot="table-row"][data-vx-ch-colored="1"][data-vx-ch-disabled="1"],
tr[data-slot="table-row"][data-vx-ch-colored="1"][data-vx-ch-disabled="1"][data-state="selected"],
tr[data-slot="table-row"][data-vx-ch-colored="1"][data-vx-ch-disabled="1"]:hover,
[data-vx-ch-row-card="1"][data-vx-ch-colored="1"][data-vx-ch-disabled="1"],
[data-vx-ch-row-card="1"][data-vx-ch-colored="1"][data-vx-ch-disabled="1"]:hover {
  background-color: color-mix(in srgb, var(--vx-ch-bg) 14%, transparent) !important;
  box-shadow:
    inset 3px 0 0 0 var(--vx-ch-accent, var(--vx-ch-bg)),
    inset 0 0 0 9999px rgba(15, 23, 42, 0.045);
}
.vx-ch-color-group {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 4px;
  padding-left: 8px;
  border-left: 1px solid color-mix(in srgb, currentColor 18%, transparent);
  flex-shrink: 0;
}
.vx-ch-color-label {
  font-size: 12px;
  white-space: nowrap;
  opacity: 0.8;
}
.vx-ch-color-swatches {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.vx-ch-color-btn {
  width: 16px;
  height: 16px;
  padding: 0;
  border: 1px solid color-mix(in srgb, #000 22%, transparent);
  border-radius: 3px;
  cursor: pointer;
  box-sizing: border-box;
  flex: 0 0 16px;
}
.vx-ch-color-btn:hover,
.vx-ch-color-btn:focus-visible {
  outline: 2px solid #4c6ef5;
  outline-offset: 1px;
}
.vx-ch-color-clear {
  height: 22px;
  padding: 0 8px;
  font-size: 12px;
  line-height: 20px;
  border-radius: 6px;
  border: 1px solid color-mix(in srgb, currentColor 22%, transparent);
  background: transparent;
  cursor: pointer;
  white-space: nowrap;
}
.vx-ch-color-custom {
  width: 22px;
  height: 18px;
  padding: 0;
  border: 1px solid color-mix(in srgb, #000 22%, transparent);
  border-radius: 3px;
  cursor: pointer;
  background: transparent;
}
