Compact layouts determine which fields appear in the highlights panel on record pages and in the Salesforce mobile app. To create a custom compact layout, go to the Account object manager and select Compact Layouts from the sidebar menu. Then click New and add the desired fields to the layout. Reference: https://help.salesforce.com/s/articleView?id=sf.compact_layouts_create.htm&type=5