Zaslat SMS: Principles of phase diagrams.