html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

html, body {
  height: 100%;
  /* Hard guarantee: the page itself never scrolls horizontally. Anything that needs to scroll
     sideways (a wide table, the sidebar) does so inside its own container — see .table-responsive
     usage app-wide and .ps-sidebar below — never by dragging the whole viewport with it. */
  overflow-x: hidden;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

body > header {
  flex: 0 0 auto;
}

body > .ps-shell,
body > .ps-main-frame {
  flex: 1 0 auto;
}

.ps-shell-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
