.tpes-report-toolbar {
  position: fixed;
  top: 44px;
  left: 0;
  right: 0;
  z-index: 100;
  min-height: 52px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 10px;
  background: #fff;
  border-bottom: 1px solid #d9dfe7;
}
.tpes-report-toolbar a,
.tpes-report-toolbar button {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 6px 12px;
  margin: 0;
  border: 1px solid #3184d6;
  border-radius: 4px;
  background: #fff;
  color: #246eb5;
  font: 14px/22px sans-serif;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}
.tpes-report-toolbar a.tpes-report-download {
  background: #3184d6;
  color: #fff;
}
.tpes-report-toolbar a:focus-visible,
.tpes-report-toolbar button:focus-visible {
  outline: 2px solid #174a7a;
  outline-offset: 2px;
}
.tpes-report-toolbar a[aria-disabled="true"] {
  opacity: .55;
  pointer-events: none;
}
.tpes-report-wechat {
  position: fixed;
  top: 96px;
  left: 0;
  right: 0;
  z-index: 100;
  box-sizing: border-box;
  padding: 6px 10px;
  background: #edf5ff;
  color: #24496c;
  font: 12px/20px sans-serif;
  text-align: center;
}
.tpes-report-panel .pdf-viewer {
  position: fixed;
  top: 96px;
  bottom: 0;
  left: 0;
  right: 0;
}
.tpes-report-panel.is-wechat .pdf-viewer {
  top: 128px;
}
.tpes-report-panel .pdf-viewer__header {
  box-sizing: border-box;
  height: 55px;
  padding: 8px;
}
.tpes-report-panel .pdf-viewer__document {
  top: 55px;
}
@media (max-width: 340px) {
  .tpes-report-toolbar { gap: 6px; }
  .tpes-report-toolbar a,
  .tpes-report-toolbar button { padding: 6px 8px; }
}
@media print {
  .tpes-report-toolbar, .tpes-report-wechat { display: none; }
  .tpes-report-panel .pdf-viewer { position: static; }
}
