/* Custom PDF.js only: one Open button, no editing-tool strip. */
#editorModeButtons > :not(#editorStamp) { display: none !important; }
#editorModeButtons { flex-shrink: 0 !important; min-width: 0 !important; }
#editorStamp { flex: 0 0 auto !important; min-width: 0 !important; }
#editorStampButton {
  box-sizing: border-box !important;
  width: 85px !important;
  min-width: 85px !important;
  max-width: 85px !important;
  height: 30px !important;
  padding: 0 8px !important;
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  font: 600 14px system-ui, sans-serif !important;
}
#editorStampButton::before {
  content: '' !important;
  display: inline-block !important;
  position: static !important;
  flex: 0 0 16px !important;
  width: 16px !important;
  height: 16px !important;
  margin: 0 !important;
  -webkit-mask-image: var(--toolbarButton-openFile-icon) !important;
  mask-image: var(--toolbarButton-openFile-icon) !important;
  background-color: currentColor !important;
}
#editorStampButton::after {
  content: 'Open' !important;
  display: inline-block !important;
  position: static !important;
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  flex: 0 0 auto !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  background: transparent !important;
  color: inherit !important;
  font: inherit !important;
  white-space: nowrap !important;
}
