.pdf-preview {
  overflow: hidden;
  border: 1px solid #dfe5e1;
  border-radius: 12px;
  background: #eef1ef;
}
.pdf-viewport {
  position: relative;
  height: clamp(540px, 76vh, 980px);
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  padding: 22px;
}
.pdf-paper {
  position: relative;
  width: fit-content;
  margin: 0 auto;
  background: #fff;
  box-shadow: 0 3px 18px #293f3020;
}
.pdf-pages {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  min-width: fit-content;
}
.pdf-paper canvas {
  display: block;
}
.pdf-status {
  margin: 0;
  padding: 12px 16px;
  border-top: 1px solid #dfe5e1;
  color: #66756b;
  background: #fff;
  font-size: 13px;
}
.pdf-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  margin: 16px 0 0;
  font-size: 14px;
}
.pdf-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.pdf-download {
  margin: -12px 0 18px;
}
.pdf-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
@media (max-width: 680px) {
  .pdf-viewport {
    height: 70svh;
    min-height: 390px;
    padding: 8px;
  }
  .pdf-status {
    padding: 10px 12px;
  }
}
