Styling contracts across different devices