Enhanced PortalSettings with ML support