Improve layout of study-quality detail popup.