Move ui.html into pages subdirectory to improve organization and align with future UI components.
Enhances user experience with dark‑mode detection, responsive layout, and streamlined role selection workflow