I'm reading chapter 5.4.2 of Griffiths' Introduction to Electrodynamics, and I'm having trouble understanding some of the reasoning and some of the results he obtains.
He starts by considering a current sheet and a wafer-thin pillbox straddling the sheet (a current sheet with surface current $\mathbf{K}$ to be more precise); then he applies the integral form of $$\nabla \cdot \mathbf{B} = 0\quad \Leftrightarrow\quad \iint_\Sigma\mathbf{B}\cdot d\boldsymbol{\sigma} = 0,$$ where $\Sigma$ is any closed surface. He gets, by requiring that the flux through the closed surface equals zero, the condition on the perpendicular components of $\mathbf{B}$: $$B^{\perp}_{{\rm above}} = B^{\perp}_{{\rm below}}.$$ Now my problem is this (he omits any calculations, so I will try to give my explanation here): I first define a normal unit vector always pointing outward from the surface of the pillbox. Do we need to work under the assumption that the height of the pillbox $h \to 0$? Under this assumption, I still can only obtain his result if I assume the $B^{\perp}_{{\rm below}}$ component points upwards, the same as for the other component. Now, is there a reason behind this? I can't actually see why he assumes a priori that those components both point upwards, to be honest.
He then goes on to consider the tangential components of the magnetic field. He considers a closed loop (of length $l$ and a height which I guess is an infinitesimal of higher order with respect to $l$) perpendicular to $\mathbf{K}$ straddling the surface current: $$ \oint \mathbf{B} \cdot \mathbf{d}l= \left(B^{\parallel}_{{\rm above}}-B^{\parallel}_{{\rm below}}\right)l = \mu_0 Kl.$$ Again, why does he assume a priori that the two tangential components run in the same direction (otherwise, he would not get the minus sign from the dot product)? Didn't we explicitly (in an example really similar to this) obtain that the magnetic field due to a current sheet runs parallel to the surface, perpendicular to $\mathbf{K}$, but in opposite directions above and below the surface current?
Then he considers the same loop running parallel to $\mathbf{K}$ and derives the continuity of the tangential component parallel to the current. This is ok. The author goes on to consider the vector potential $\mathbf{A}$ and affirms that the vector potential is continuous across any boundary and that the condition $\nabla \cdot \mathbf{A} = 0$ guarantees this for the perpendicular component, by the same reasoning he used with $\mathbf{B}$, (I'm ok with this statement), and then finally he affirms that the following equalities: $$ \oint \mathbf{A} \cdot \mathbf{d}l = \Phi_{B\,{\rm surface}}$$ mean that the tangential components are continuous. I can't seem to grasp the correlation between the chain of equalities and this last result.
If someone could help me clarify these doubts, I'd be very grateful.