A functionalized bio-based material with abundant mesopores and catechol groups for efficient removal of boron.