.pdf-wrap { max-width: var(--content-w); }

.pdf-toolbar {
  gap: 0.45rem;
  margin: 0.45rem 0;
}

.pdf-viewer {
  min-height: 20rem;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  overflow: auto;
  padding: 1rem;
}

.pdf-viewer canvas {
  max-width: 100%;
  height: auto;
  background: #fff;
  box-shadow: 0 0 0 1px var(--border);
  cursor: crosshair;
}

.pdf-viewer canvas.stamp-armed {
  outline: 2px solid rgba(255, 80, 80, 0.55);
}
