.pdf-embed {
  width: 100%;
  max-width: 100%;
  margin: 1.25rem 0;
  overflow: hidden;
  border: 1px solid #d9e4df;
  border-radius: 12px;
  background: #f1f5f3;
  color: #20332e;
}
.pdf-embed .pdf-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: min(50vh, 360px);
  overflow: hidden;
}
.pdf-embed .pdf-page {
  display: block;
  flex: none;
  max-width: 100%;
  background: white;
  box-shadow: 0 2px 12px #20332e1a;
}
.pdf-embed [hidden] { display: none !important; }
.pdf-embed .pdf-status {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  margin: 0;
  padding: 1.25rem;
  text-align: center;
}
.pdf-embed .pdf-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: .65rem 1rem;
  background: #fff;
  border-top: 1px solid #d9e4df;
}
.pdf-embed .pdf-pager button {
  width: auto;
  min-width: 5rem;
  min-height: 40px;
  margin: 0;
  padding: .4rem .85rem;
  border: 1px solid #b9cec4;
  border-radius: 8px;
  background: #fff;
  color: #176f59;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.pdf-embed .pdf-pager button:hover:not(:disabled) { background: #edf6f1; }
.pdf-embed .pdf-pager button:focus-visible { outline: 3px solid #176f59; outline-offset: 2px; }
.pdf-embed .pdf-pager button:disabled { opacity: .4; cursor: default; }
.pdf-embed .pdf-page-count { min-width: 5rem; text-align: center; font-variant-numeric: tabular-nums; }
.pdf-embed figcaption {
  padding: .65rem 1rem;
  background: #fff;
  border-top: 1px solid #e5ece8;
  font-size: .875rem;
  overflow-wrap: anywhere;
}
