/* Pass 4.0.3: the application panel itself scrolls when content or errors grow.
   The parent .phone uses overflow:hidden; the inner screen must own scrolling. */
.std2-app {
  height: 100dvh;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: contain;
  padding-bottom: calc(116px + env(safe-area-inset-bottom));
}
.std2-app .std2-error {
  overflow-wrap: anywhere;
  margin-bottom: 18px;
}
@media (min-width:700px) {
  .std2-app .std2-next {position: sticky; float: right; right: auto; bottom: 12px; margin: 24px 0 0 auto;}
}
