.pisell-topology-connection-legend {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.08);
  font-size: 11px;
  color: #475467;
  pointer-events: auto;

  &__title {
    font-weight: 600;
    color: #344054;
    margin-bottom: 2px;
  }

  &__list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  &__row {
    display: flex;
    align-items: center;
    gap: 6px;
  }

  &__line {
    flex: 0 0 auto;
  }

  &__label {
    line-height: 1;
  }
}
