/* V19's stylesheet still supplies the unchanged capsule contract. Its JS is
   not loaded here; this opt-in surface replaces only the common document paper. */
.shared-paper-v25-host {
  position: relative;
  isolation: isolate;
  background-color: var(--shared-paper-v25-color,#f8efdf) !important;
  background-image: none !important;
}
.shared-paper-v25-foundation {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
  contain: paint;
}
.shared-paper-v25-piece { position: absolute; display: block; }
.shared-paper-v25-piece > img { display: block; width: 100%; height: 100%; max-width: none; }
/* 2026-11-19: pages on the shared paper never show layout-v12.css's body texture (the class above removes it once the
   paper mounts); removing it from the start keeps the browser from downloading the 2.4 MB file for nothing. */
body[data-shared-paper-v25] { background-image: none; }
.paper-review-page-v25 { display: none; }
body[data-paper-review=blank] > #site-header,
body[data-paper-review=blank] > #main { display: none; }
body[data-paper-review=blank] > .paper-review-page-v25 { display: block; min-height: max(4800px,600vh); }
@media (forced-colors:active) {
  .shared-paper-v25-foundation { display: none; }
  .shared-paper-v25-host { background: Canvas !important; }
}
