Elastic styling and refactoring