A Multilayered Risk-Aware Input Moderation Framework for Safe Large Language Models: SDGs: Primary SDG: SDG 9 - Industry, Innovation, and Infrastructure. | Secondary SDGs: SDG 3 - Good Health and Well-being, SDG 16 - Peace, Justice and Strong Institutions. (2026). Journal of Sustainable Smart Technologies, 1(1), 41-55. https://jsstjournal.com/jsst/article/view/6