I'm working on a problem in Lorenzini's book "An Invitation to Arithmetic Geometry" which asks to show that if $L = Q(\sqrt{-5}, \sqrt{-1})$ and $K = Q(\sqrt{-5})$, then the ring of integers of $L$ is unramified over that of $K$. It's question 25 on page 128. Here's what I've done thus far:
Because $L$ is a simple extension of $K$, namely $L = K(\sqrt{-1})$ with minimal polynomial of $\sqrt{-1}$ over $K$ just $f(x) = x^2 + 1$, the only maximal ideal $M$ in $L$ that could be ramified would contain $f'(i) = 2i$. Being prime it would have to contain $1+i$. In particular, this means that the only prime ideal of $Z[\sqrt{-5}]$ we need to consider is $P=(2, 1+\sqrt{-5})$, as $M \cap Z[\sqrt{-5}]$ would need to contain 2, and by looking at how the ideal $(2)$ ramifies in $Z[\sqrt{-5}]$ we get $P$.
But shouldn't $P$ ramify in $\mathfrak{O}_L$, the ring of integers of $L$? I know that $Z[\sqrt{-5}, \sqrt{-1}] \subseteq \mathfrak{O}_L$, and if we look at $f(x) \pmod{P}$ we have $(x+1)^2$.
Thus we should have a prime ideal $P' \subseteq Z[\sqrt{-5}, \sqrt{-1}]$ such that $(P')^2 \subseteq PZ[\sqrt{-5}, \sqrt{-1}]$. Would this not then imply that $(P')^2\mathfrak{O}_L \subseteq P\mathfrak{O}_L$, and as $[L:K] = 2$ that $P$ ramifies in $\mathfrak{O}_L$, i.e. $P = M^2$?
I know I've done something wrong, but I'm not sure where! I'd be grateful for any assistance in pointing out where I've messed up.