Enhanced macro setting detection and styling.