Alright, I used the inspector, and I see that unresolved links in preview have the classes class="internal-link is-unresolved"
However, in edit mode the link has class="cm-hmd-internal-link"
It doesn’t seem like CSS can distinguish between resolved and unresolved links in edit mode