.catalogue-reader {
  display: flex;
  flex-direction: column;
  height: calc(100vh - var(--site-header-height, 70px));
  height: calc(100dvh - var(--site-header-height, 70px));
  min-height: 380px;
}
.pdf-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  padding: 9px 20px;
  background: #eaf2fc;
  border-bottom: 1px solid #c9d9eb;
  font-size: .875rem;
}
.pdf-navigation, .pdf-page-form, .pdf-page-form label, .pdf-zoom, .pdf-actions {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  white-space: nowrap;
}
.pdf-controls button, .pdf-controls input, .pdf-controls select, .pdf-actions .button {
  box-sizing: border-box;
  min-height: 34px;
  margin: 0;
  padding: 5px 9px;
  border: 1px solid #c5d5e7;
  border-radius: 5px;
  font: inherit;
}
.pdf-controls button, .pdf-controls input, .pdf-controls select {
  background: #fff;
  color: #193654;
}
.pdf-controls button:disabled { opacity: .45; }
.pdf-controls input { width: 65px; }
.pdf-controls select { width: auto; }
.pdf-actions { margin-left: auto; }
.pdf-actions .button { display: inline-flex; align-items: center; }
.pdf-actions .primary { border-color: #0756a8; }
.pdf-status {
  flex-basis: 100%;
  margin: 0;
  color: #405a73;
}
.pdf-status[hidden] { display: none; }
.pdf-scroll-area {
  flex: 1;
  position: relative;
  min-height: 0;
  background: #526174;
}
.pdf-stage {
  position: absolute;
  inset: 0;
  overflow: auto;
  overflow-anchor: none;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}
.pdf-stage:focus-visible { outline: 3px solid #38bdf8; outline-offset: -3px; }
.pdf-stage .pdfViewer { padding: 14px 0; --page-bg-color: white; }
.pdf-stage .pdfViewer.removePageBorders .page {
  margin: 0 auto 14px;
  box-shadow: 0 3px 18px #15294366;
}
.catalogue-reader-info { padding-block: 18px 28px; }
.catalogue-reader-info h1 { margin: 7px 0; font-size: 1.25rem; line-height: 1.35; }
.catalogue-reader-info p { margin: 0; color: #536a83; }
@media (max-width: 680px) {
  .pdf-controls { gap: 6px 9px; padding: 7px 10px; font-size: .8rem; }
  .pdf-controls input { width: 54px; }
  .pdf-zoom > span { display: none; }
  .pdf-actions { margin-left: 0; }
}
