/*
  Zweck: Eine Dokument-Scrollkette auf Touch-Geräten, damit Android-Gesten nicht in Panes hängen.
  Zielpfad: /home/mckiede/public_html/design/layout-touch-scroll.css
  Verantwortlich: mckie-Portal

  Avoids Android trapping pan gestures inside #module-view / .main-console.
*/

@media (max-width: 1180px) and (hover: none) and (pointer: coarse) {
  html,
  body {
    height: auto !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  .page-shell {
    display: flex;
    flex-direction: column;
    height: auto !important;
    min-height: 100svh;
    min-height: 100dvh;
    overflow: visible !important;
    touch-action: pan-y;
  }

  .command-layout {
    flex: 0 0 auto !important;
    min-height: 0;
    overflow: visible !important;
    overscroll-behavior: auto;
    touch-action: pan-y;
  }

  .main-console,
  .module-view,
  .module-view.is-single,
  .module-view.is-history,
  .module-stack,
  .module-card,
  .segment-link-list {
    overflow: visible !important;
    max-height: none !important;
    overscroll-behavior: auto;
    touch-action: pan-y;
  }

  .module-view {
    flex: 0 0 auto !important;
  }

  .main-console {
    display: flex;
    flex-direction: column;
  }

  .segment-link {
    touch-action: pan-y;
  }
}
