/* Inert snapshots above the live book; the reader owns every interaction. */
#notes-book .np-sheet {
  position: absolute;
  width: 0;
  z-index: 24;
  pointer-events: none;
  user-select: none;
  transform-style: preserve-3d;
  overflow: visible;
}
#notes-book .np-strip {
  position: absolute;
  top: 0;
  left: 0;
  transform-origin: 0 0;
  transform-style: preserve-3d;
  will-change: transform;
  pointer-events: none;
}
#notes-book .np-face {
  position: absolute;
  inset: 0;
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  background: var(--rb-paper);
  pointer-events: none;
}
#notes-book .np-face-front { transform: translateZ(.08px); }
#notes-book .np-face-back { transform: rotateY(180deg) translateZ(.08px); }
#notes-book .np-sheet .np-page-snapshot {
  position: absolute;
  display: flex !important;
  flex-direction: column;
  box-sizing: border-box;
  min-width: 0;
  max-width: none;
  flex: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  pointer-events: none;
  user-select: none;
}
#notes-book .np-page-snapshot * { pointer-events: none !important; }
#notes-book .np-face-shade {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  background: #2b2118;
}
#notes-book .np-cast-shadow {
  position: absolute;
  z-index: 18;
  pointer-events: none;
  border-radius: 3px;
  opacity: 0;
  overflow: hidden;
  clip-path: inset(0 round 4px);
}
#notes-book .np-shadow-soft,#notes-book .np-shadow-contact{position:absolute;top:0;pointer-events:none}
#notes-book .np-shadow-soft svg,#notes-book .np-shadow-contact svg{display:block;width:100%;height:100%;overflow:visible;fill:var(--rb-contact)}
#notes-book .np-sheet-edge{position:absolute;top:0;height:100%;width:.8px;pointer-events:none;background:linear-gradient(90deg,var(--rb-paper-light),var(--rb-edge-dark));opacity:.7}
#notes-book .np-grip-marker{position:absolute;width:0;height:0;pointer-events:none}
@media print {
  #notes-book .np-sheet, #notes-book .np-cast-shadow { display: none !important; }
}
