- Add __allow_unmapped__ = True and type: ignore[misc] to CostEntry model
- Import typing.cast and use cast() for all SQLAlchemy column attribute accesses
- Wrap long __init__ signature to stay within 88-char line limit
- Wrap long docstring lines to stay within 88-char line limit
- Wrap long query chains to stay within 88-char line limit