Argyres–Douglas theories, modularity of minimal models and refined Chern–Simons