updated to remove custom element and external CSS reliance