The system weighs references based on how strongly they influence the prompt and layout.