A tiny (239B) utility for constructing `className` strings conditionally.
Grouped by state. Subtasks stay under their parent.