.dialog {
  width: min(440px, calc(100vw - 48px));
}

.hint {
  margin: 0 0 12px;
  color: var(--text2);
  font-size: var(--text-sm);
  line-height: 1.4;
}

.section {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.sectionTitle {
  font-size: 11px;
  font-weight: 700;
  color: var(--text2);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.list {
  display: grid;
  gap: 4px;
  max-height: 220px;
  overflow: auto;
  padding: 8px;
  border: 1px solid var(--stroke);
  border-radius: var(--radius-sm);
  background: var(--color-overlay-dark-3);
}

.row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 6px;
  cursor: pointer;
  color: var(--text);
  font-size: var(--text-sm);
}

.row:hover {
  background: var(--accent-fill-soft);
}

.teamDot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex: 0 0 auto;
}

.empty {
  padding: 10px 8px;
  color: var(--text2);
  font-size: var(--text-sm);
}
