## 1. Create SessionCard Component

- [x] 1.1 Create `apps/web/src/components/session-card.tsx` with session display and actions
- [x] 1.2 Implement status indicator with color coding (running=green, building=yellow, stopped=gray, error=red)
- [x] 1.3 Display tool type name, session name, project/repo context
- [x] 1.4 Add clone mode indicator and branch name when applicable
- [x] 1.5 Implement action buttons: Open (running), Start (stopped), Stop (running), Delete (all)
- [x] 1.6 Add confirmation dialogs for Stop and Delete actions
- [x] 1.7 Handle loading states during actions

## 2. Create SessionList Component

- [x] 2.1 Create `apps/web/src/components/session-list.tsx` with grouping logic
- [x] 2.2 Implement active sessions grouping (running, building, starting, probing)
- [x] 2.3 Implement recent sessions grouping (stopped, error, limited to last 5)
- [x] 2.4 Add section headers with counts
- [x] 2.5 Handle empty states for each section
- [x] 2.6 Support filtering by status

## 3. Update Dashboard Page

- [x] 3.1 Import SessionCard and SessionList in dashboard.tsx
- [x] 3.2 Replace existing session grid rendering with SessionList
- [x] 3.3 Remove duplicated session rendering code
- [x] 3.4 Ensure "Open sessions" section uses unified components
- [x] 3.5 Ensure "Recent sessions" section uses unified components

## 4. Update Sessions Page

- [x] 4.1 Import SessionCard and SessionList in sessions.tsx
- [x] 4.2 Replace existing session list rendering with SessionList
- [x] 4.3 Remove duplicated session rendering code
- [x] 4.4 Keep page-level controls (create session button, filters)
- [x] 4.5 Ensure "Last Session" section uses SessionCard

## 5. Styles and Polish

- [x] 5.1 Add CSS styles for SessionCard layout (responsive grid)
- [x] 5.2 Add CSS styles for action buttons (icon vs text based on viewport)
- [x] 5.3 Style status indicators and badges
- [x] 5.4 Ensure consistent spacing and typography
- [ ] 5.5 Test responsive layout on mobile viewport

## 6. Testing and Verification

- [ ] 6.1 Verify dashboard renders sessions correctly
- [ ] 6.2 Verify sessions page renders sessions correctly
- [ ] 6.3 Test action buttons (open, start, stop, delete)
- [ ] 6.4 Test confirmation dialogs
- [ ] 6.5 Test empty states
- [ ] 6.6 Test responsive layout
- [x] 6.7 Run TypeScript compilation
- [x] 6.8 Run ESLint
