/* Shared, opt-in separation between pinned surfaces and scrolling content. */
.pg-fixed-sidebar {
  box-shadow: 12px 0 28px -12px rgb(16 43 78 / 32%), 3px 0 10px -4px rgb(16 43 78 / 22%);
}
.pg-fixed-top {
  box-shadow: 0 10px 22px -12px rgb(16 43 78 / calc(.08 + .24 * var(--pg-layer-depth, 0))),
              0 2px 5px rgb(16 43 78 / calc(.02 + .05 * var(--pg-layer-depth, 0)));
}
.pg-fixed-bottom {
  box-shadow: 0 -10px 22px -12px rgb(16 43 78 / calc(.08 + .24 * var(--pg-layer-depth, 0))),
              0 -2px 5px rgb(16 43 78 / calc(.02 + .05 * var(--pg-layer-depth, 0)));
}
.pg-scroll-shade {
  --pg-shade-color: rgb(16 43 78 / 21%);
  position: fixed;
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  pointer-events: none !important;
  user-select: none;
  opacity: 0;
  transition: opacity 140ms ease-out;
  contain: strict;
}
.pg-scroll-shade[data-edge="top"] { background: linear-gradient(to bottom, var(--pg-shade-color), transparent); }
.pg-scroll-shade[data-edge="bottom"] { background: linear-gradient(to top, var(--pg-shade-color), transparent); }
.pg-scroll-shade[data-edge="left"] { background: linear-gradient(to right, var(--pg-shade-color), transparent); }
.pg-scroll-shade[data-edge="right"] { background: linear-gradient(to left, var(--pg-shade-color), transparent); }
@media (prefers-reduced-motion: reduce) { .pg-scroll-shade { transition: none; } }
@media print { .pg-scroll-shade { display: none !important; } }
