I want to hide a row from Outlook 2007+ and replace it with a conditional row.

For some reason, the conditional row renders incorrectly with excess spacing. After applying a border, it appears that there is extra padding-top being applied (could be margin).

What's odd is if I take the code from the conditional row and use it to replace the original row, it renders correctly. It's only when I call it in conditionally that it gets messed up.

Here's a link to a codepen of it. Any ideas?