html,
body,
#app,
#view,
.mrph-independent-suite-page,
.mrph-pages-library,
.mrph-reader-v54,
.mrph-reader-stage-v54,
.mrph-reader-window-v54,
.mrph-reader-page-v54 {
  -webkit-user-select: none !important;
  user-select: none !important;
  -webkit-touch-callout: none !important;
}

html,
body {
  overscroll-behavior: none !important;
  touch-action: pan-x pan-y !important;
  -webkit-text-size-adjust: 100% !important;
  text-size-adjust: 100% !important;
}

#app,
#view,
.mrph-independent-suite-page {
  touch-action: pan-x pan-y !important;
}

input,
textarea,
select,
[contenteditable="true"],
[contenteditable="plaintext-only"] {
  -webkit-user-select: text !important;
  user-select: text !important;
  -webkit-touch-callout: default !important;
}

img,
canvas,
svg,
video {
  -webkit-user-drag: none !important;
  user-drag: none !important;
}

.mrph-pages-library img,
.mrph-pages-library canvas,
.mrph-reader-window-v54 img,
.mrph-reader-window-v54 canvas {
  pointer-events: auto;
  -webkit-user-select: none !important;
  user-select: none !important;
  -webkit-touch-callout: none !important;
}

/* The only zoom-enabled surface. Browser zoom remains blocked; the reader handles pinch itself. */
.mrph-reader-window-v54,
.mrph-reader-window-v54 * {
  touch-action: none !important;
  overscroll-behavior: contain !important;
}

[data-mrph-protected-download],
a[download][href*="/media/pharmacy-lectures/"],
a[href$=".pdf"][href*="pharmacy-lectures"],
a[href$=".png"][href*="/media/pharmacy-lectures/"] {
  display: none !important;
}

@media print {
  html,
  body {
    visibility: hidden !important;
    background: #fff !important;
  }

  body * {
    display: none !important;
    visibility: hidden !important;
  }
}