Nanofiltration (NF) offers a scalable and energy-efficient method for lithium extraction from salt lakes. However, the selective separation of lithium from magnesium, particularly in brines with high magnesium concentrations, remains a significant challenge due to the close similarity in their hydrated ionic radii. The limited Li