/* Layout for pages extending base_minimal_nav (register, login, etc.). */

body {
  min-height: 100vh;
}

body > .page {
  flex: 1 0 auto;
  min-height: 100%;
}

/*
  Center short cards. When content is taller than the viewport,
  `safe center` (and flex-shrink: 0) keeps the top reachable instead of
  clipping both ends like plain `justify-content: center`.
*/
.page.page-center {
  flex: 1 0 auto;
  flex-shrink: 0;
  justify-content: safe center;
  padding-block: 1.5rem;
}
