/* Sign-in and form pages (2026-11-27): while the page starts, its static HTML holds only a
   short placeholder ("RateProof" or "Przygotowujemy formularz…"), so on a first visit the
   footer sat mid-screen and jumped down when the form appeared (phones: CLS 0.8-1.2 on
   /pl/logowanie/, /de/anmelden/, /pl/napisz-opinie/, /de/bewertung-schreiben/; 0.24 on
   /pl/przejmij-firme/). Linked from those pages' HTML after the build, like
   footer-socials.css and account-loading.css. */
body > .skip-link ~ p,
main#main:has(> p[role="status"]:only-of-type) {
  min-height: 100vh;
  min-height: 100dvh;
}
/* Sign-in: while the session is checked the form slot shows one status line; the form
   that replaces it is ~365 px taller and pushed the side panel down on phones. */
.auth-form-wrap > p[role="status"]:not(.form-success):last-child {
  min-height: 390px;
}
