# Capacity Planning Design

## Unit

Man-days (MD) only — no timers, hours UI, or cost tracking.

## Model

```
Sprint capacity (per user) = project_sprint_capacity_allocations.capacity_md
Assigned work (per user)     = sum(estimate_md) of sprint tickets assigned to user
Remaining                    = capacity_md - assigned_md
```

## Health rules

| Condition | Health |
|-----------|--------|
| `remaining_md < 0` | Red (overload) |
| Utilization ≥ 90% | Yellow |
| Otherwise | Green |

## Dashboard metrics

- Total Capacity MD
- Assigned MD
- Remaining MD
- Overallocated user count

## UX

Capacity tab uses existing `StatCard` (kpi), `Card`, `PageSection`, and 32/24/16px agile spacing from `projectsLayout`.
