COGS & purchase orders

Date-versioned unit costs, purchase orders, recurring outflows.

Build step 6. The tables and the no-overlap constraint exist already (migration 0002); this is the screen that writes to them.