--- description: 'Instructions for writing CSS following project conventions and best practices' applyTo: '**/*.css,**/*.vue' --- # CSS Development Instructions ## Cascading Design & Style Hierarchy **Central styles in `src/assets/main.css` are ALWAYS the preferred way to style.** They ensure a consistent design across all views and components. ### Cascade Layers (top to bottom) 1. **`src/assets/base.css`** — CSS variables, resets, root typography and color tokens 2. **`src/assets/main.css`** — Global layout, nav, buttons, modals, forms, loading states, typography, spacing — **all shared UI patterns go here** 3. **`