/* Accounts. A list rather than a table: there are only ever a handful of
   these, and each row is a name and what it administers rather than a set of
   figures to compare down a column. */

.users-page__title {
  margin: 0 0 var(--space-xs);
  font-size: var(--text-3xl);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-tight);
}

.users-page__hint {
  margin: 0 0 var(--space-xl);
  max-width: 68ch;
  color: var(--text-secondary);
  font-size: var(--text-sm);
}

.users-page__link {
  color: inherit;
}

/* The link lands above the form that produced it, where somebody is already
   looking, and stays there while they go and paste it. */
.users-page__handout {
  padding: var(--space-lg);
  margin-bottom: var(--space-xl);
  border: var(--border-width) solid var(--border-strong);
  border-radius: var(--radius-lg);
  background: var(--surface-card);
  box-shadow: var(--shadow-sm);
}

.users-page__form {
  max-width: 32rem;
  margin-bottom: var(--space-xl);
}

.users__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: var(--border-width) solid var(--border-default);
}

.users__item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-sm) 0;
  border-bottom: var(--border-width) solid var(--border-default);
}

.users__who {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.users__email {
  font-weight: 500;
}

.users__leagues {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
}

.users__tag {
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--text-tertiary);
}

.users__action {
  padding: var(--space-2xs) var(--space-sm);
  border: var(--border-width) solid var(--border-default);
  border-radius: var(--radius-sm);
  background: var(--surface-card);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  cursor: pointer;
}

.users__action:hover {
  border-color: var(--border-strong);
  color: var(--text-primary);
}
