Restructure the popover layout to match design specs: add header with close button, anchor popup to settings icon, change trigger to semantic button, and widen panel to 400px.