Why it behaves this way
Explanation
Total internal reflection is not a separate boundary law sitting beside refraction. It is the point where Snell's law stops giving a real transmitted angle because the light is trying to leave a higher-index medium for a lower-index one too steeply.
This concept keeps one compact boundary in charge. The incident angle, refractive-index contrast, critical-angle readout, reflected path, graph previews, prediction mode, compare mode, quick test, and worked examples all stay tied to the same live boundary state so the handoff from ordinary refraction to full internal reflection stays honest.