Cumulative Layout Shift (CLS) measures the visual stability of a webpage. It detects unexpected movements of page elements while the page is loading—for example, when a button suddenly shifts position or an image loads and pushes surrounding content downward.