@layer components {
/* Table row styles - converted from SCSS mixin */

.table-row {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  margin: var(--spacing-1) 0;
  position: relative;
  min-height: var(--tap-min);
}

.table-row .col {
  flex-grow: 1;
  text-align: center;
  min-width: 0;
  padding: var(--spacing-2);
  box-sizing: border-box;
  border-bottom: var(--border-width) solid var(--border);
  white-space: nowrap;
}

.table-row img {
  width: 100%;
  height: 100%;
}

.table-row > * {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Mobile: stack the flex row into a column so nowrap columns can't overflow. */
@media (max-width: 700px) {
  .table-row {
    flex-direction: column;
    align-items: stretch;
  }

  .table-row .col {
    white-space: normal;
    text-align: start;
  }
}
}
