I'm taking a wild guess and say that this is probably a question with a trivial answer (being declared as an exercise almost everywhere), but as I am short on time and my mind being absolutely fried, I would appreciate any help. Feel free to close/delete this question if I might have skipped over a post haphazardly.
As you can read in the title, I am interested in proving the Cauchy-Schwarz inequality for conditional expectations:
$$\mathbb{E}(XY|\mathcal{A})^2 \leq \mathbb{E}(X^2|\mathcal{A})\mathbb{E}(Y^2|\mathcal{A})$$
for all $X,Y \in \mathcal{L}^2(\mathbb{P})$ for some probability measure $\mathbb{P}$ and a sub-$\sigma$-algebra $\mathcal{A} \subseteq \mathcal{F}$.
I have already tried to approach this question by using the regular CS inequality in conjunction with the contraction property of conditional expectations, but that string of inequalities breaks down at the last step. I've also tried to substitute the conditional expectations in the regular inequality, but that also led nowhere.
I am almost surely certain that this is a one line proof, but from studying all day I can't really see it. I have a semester worth of measure theory and stochastics, so feel free to comment/post any approach within reasonable distance of this skill level. Thank you for your attention.