Refactor tool selector and modal layout to improve responsiveness and consistency. Update grid structures, adjust padding and sizing, and streamline component interaction flows.