Fix styling: limit ref popup to 640px