Element: #492 Description and action (feedback/toast)
What it shows: Three buttons that fire a toast with a description, with one inline action, and with both.
When to use: A toast that needs a secondary line of detail or a single shortcut such as Undo, Open or Mark as qualified.
Spec:
- `` mounted once, `toast` imported from `@codeatlasdev/ui`
- Description: `toast.success('Task completed', { description: 'Next step scheduled for tomorrow 09:00' })`
- Action: `toast.warning('Sequence paused for Acme', {` with `action: { label: 'Mark as qualified'`, whose `onClick` runs and dismisses the toast; an actionable toast lasts 8 seconds
- Both: `description` and `action` in the same options object
- All triggers are `