I'm having trouble understanding why the angle between two planes (with the edge being their line of intersection), also known as the dihedral angle, is defined as the angle between their normal vectors.
Consider this sideways view of two planes $\textbf P_1$ and $\textbf P_2$. The red arrows denote their normal vectors $\textbf n_1$ and $\textbf n_2$ respectively:
Clearly, the angle between the normal vectors (green angle) is not the same as the angle between the planes along their line of intersection (blue angle).
What am I understanding wrong in this definition of the dihedral angle?