/* Brodlin page viewport frame (contract 27.11.2026, item 5.1): the part of the sheet that is on the screen,
   drawn on the thumbnail of the current page. Accent #4D6EF0, 2 px, no shadow, no fill. The position follows
   the scroll frame by frame (no transition on transform); only appearing and fading use opacity, 140 ms. */
:root .brodlin-page-viewport-host { position: relative; }
:root .brodlin-page-viewport {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 2px solid #4D6EF0;
  border-radius: 2px;
  background: transparent;
  box-shadow: none;
  opacity: 0;
  transform-origin: 0 0;
  transition: opacity 140ms ease;
  pointer-events: none;
  cursor: grab;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}
:root .brodlin-page-viewport.is-on { opacity: 1; pointer-events: auto; }
:root .brodlin-page-viewport.is-dragging { cursor: grabbing; }
