.root {
  display: grid;
  min-width: 0;
  gap: var(--space-2);
}

.header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--space-2);
  align-items: center;
}

.actions {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  gap: var(--space-2);
  justify-content: flex-end;
}

.actions [data-slot="native-select-wrapper"] {
  width: 116px;
  min-width: 0;
}

.rowList {
  display: grid;
  gap: var(--space-2);
}

.row {
  display: grid;
  min-width: 0;
  grid-template-columns: 116px minmax(120px, 0.8fr) minmax(160px, 1.2fr) auto;
  gap: var(--space-2);
  align-items: center;
}

.sourceCell,
.keyCell,
.valueCell,
.actionCell {
  min-width: 0;
}

.sourceCell {
  width: 116px;
}

.sourceCell [data-slot="native-select-wrapper"] {
  width: 100%;
  min-width: 0;
}

.empty {
  min-width: 0;
}

@media (width <= 720px) {
  .header {
    grid-template-columns: minmax(0, 1fr);
  }

  .actions {
    justify-content: flex-start;
  }

  .row {
    grid-template-columns: minmax(92px, 116px) minmax(0, 1fr) auto;
  }

  .valueCell {
    grid-column: 1 / -2;
  }
}
