Installing logic-gate responses to a variety of biological substances in supramolecular hydrogel-enzyme hybrids.