.list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.list__item[hidden] {
  display: none;
}

.list__item {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-12);
  align-items: center;
  border-bottom: 1px solid var(--border-soft);
}

.list__item:last-child {
  border-bottom: 0;
}

.list__row {
  display: flex;
  flex: 1 1 220px;
  gap: var(--space-12);
  align-items: center;
  min-width: 0;
  min-height: var(--control-height);
  padding: var(--space-12) 0;
  color: var(--text);
}

.list__row--link:hover {
  text-decoration: none;
  background: var(--row-hover);
}

.list__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.list__title {
  font-weight: 600;
  overflow-wrap: anywhere;
}

.list__subtitle {
  font-size: var(--font-size-small);
  color: var(--muted);
  overflow-wrap: anywhere;
}

.list__trailing {
  display: flex;
  flex: none;
  margin-left: auto;
  padding-bottom: var(--space-8);
  gap: var(--space-8);
  align-items: center;
}
