Cookie categories
Production should separate required, security, preference, and analytics storage with clear controls.
Required
Session, CSRF, authentication, and security cookies needed for the product to work.
Preferences
Workspace, theme, live/test mode, and language choices.
Analytics
Product usage metrics used to improve onboarding and reliability.