/* LEEUW App Shell
   Zweck: Gemeinsame technische App-Hülle.
   Keine Komponenten. Keine Navigation. Keine Screen-Styles.
*/

.leeuw-app-shell {
  width: 100%;
  min-height: 100svh;
  display: flex;
  justify-content: center;
  background: inherit;
}

.leeuw-app-root {
  width: 100%;
  max-width: 430px;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  position: relative;
  overflow: hidden;
  padding-top: env(safe-area-inset-top);
  padding-bottom: env(safe-area-inset-bottom);
}

.leeuw-shell-header {
  min-height: 64px;
  flex-shrink: 0;
}

.leeuw-shell-main {
  min-height: 0;
  overflow: hidden;
}

.leeuw-shell-scroll {
  height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.leeuw-shell-content {
  width: 100%;
  min-height: 100%;
}

.leeuw-shell-bottom {
  min-height: 76px;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .leeuw-app-root {
    max-width: 768px;
  }
}

@media (min-width: 1024px) {
  .leeuw-app-root {
    max-width: 1100px;
  }
}
