/*
 * The incoming name and the destination are PEERS across the row, with the
 * glyph between them stating the direction. The two sides are sized in `fr` so
 * the arrow keeps one column whatever the names are: sized to content, a long
 * header would push every select out of line and the run would stop reading as
 * one mapping.
 */
@layer theme, base, lotics, components, utilities;
@layer lotics.tokens, lotics.reset, lotics.components;

@layer lotics.components {
  .lotics-column-map {
    display: flex;
    flex-direction: column;
    gap: var(--lotics-space-12);
  }

  .lotics-column-map__row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: var(--lotics-space-12);
  }

  .lotics-column-map__source {
    display: flex;
    flex-direction: column;
    gap: var(--lotics-space-2);
    min-width: 0;
  }

  .lotics-column-map__name {
    display: flex;
    align-items: baseline;
    gap: var(--lotics-space-8);
    min-width: 0;
  }

  .lotics-column-map__sample {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}
