Engineering living building materials for enhanced bacterial viability and mechanical properties