.office-file-doc-viewer {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  background: var(--office-file-workspace-color);
}
.office-file-doc-viewer__body {
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}
.office-file-doc-viewer__scroller {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
  padding: 24px;
  overflow: auto;
  scrollbar-gutter: stable both-edges;
}
.office-file-doc-page-frame {
  margin: 0 auto;
  overflow: hidden;
}
.office-file-doc-page-frame__page-clip {
  overflow: hidden;
}
.office-file-doc-page-frame + .office-file-doc-page-frame {
  margin-top: 24px;
}
.office-file-doc-page-frame__article {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  background: transparent;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.14);
  font-family: 'Microsoft YaHei', 'PingFang SC', 'Noto Sans CJK SC', Arial, sans-serif;
  letter-spacing: 0;
  transform-origin: top left;
}
.office-file-doc-page-frame__article::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  background: #fff;
  content: '';
}
.office-file-doc-page-frame__drawing-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.office-file-doc-page-frame__drawing-layer--behind-text {
  z-index: -1;
}
.office-file-doc-page-frame__drawing-layer--in-front-of-text {
  z-index: 1;
}
.office-file-doc-page-frame__drawing-image {
  display: block;
  width: 100%;
  height: 100%;
}
.office-file-doc-page-frame__header-image {
  position: absolute;
  z-index: 2;
  top: 57px;
  left: 120px;
  width: 124px;
  height: auto;
}
.office-file-doc-page-frame__footer {
  position: absolute;
  z-index: 2;
  right: 120px;
  bottom: 52px;
  left: 120px;
  color: #111;
  font-size: 12px;
  line-height: 1;
  text-align: center;
}
.office-file-doc-paragraph {
  margin: 0;
  color: #111827;
  white-space: pre-wrap;
  word-break: break-word;
}
.office-file-doc-paragraph[data-office-doc-grid='true'] {
  letter-spacing: -0.2px;
}
.office-file-doc-paragraph--toc {
  display: flex;
  align-items: baseline;
  white-space: nowrap;
}
.office-file-doc-paragraph__toc-title {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.office-file-doc-paragraph__toc-leader {
  flex: 1 1 auto;
  height: 1px;
  min-width: 18px;
  margin: 0 6px 0.28em;
  border-bottom: 1px dotted currentcolor;
}
.office-file-doc-paragraph__toc-page {
  flex: 0 0 auto;
}
.office-file-doc-inline-image {
  display: inline-block;
  max-width: 100%;
  margin: 6px 0;
}
.office-file-doc-inline-image__img,
.office-file-doc-image-layout__img,
.office-file-doc-image-gallery__img {
  display: block;
  max-width: 100%;
  max-height: none;
  object-fit: contain;
}
.office-file-doc-table {
  margin: 0 0 16px;
  overflow-x: auto;
}
.office-file-doc-table__table {
  table-layout: fixed;
  color: #111827;
  font-size: 13px;
  line-height: 1.65;
  border-collapse: collapse;
}
.office-file-doc-table__cell {
  padding: 5px 8px;
  white-space: pre-wrap;
  word-break: break-word;
  vertical-align: top;
}
.office-file-doc-table--document-grid .office-file-doc-table__cell {
  word-break: break-all;
}
.office-file-doc-list {
  margin: 0 0 16px 20px;
  padding: 0;
  color: #111827;
  list-style: none;
}
.office-file-doc-list__item {
  display: grid;
  align-items: start;
  margin-bottom: 8px;
  line-height: inherit;
  word-break: break-word;
}
.office-file-doc-list__marker {
  box-sizing: border-box;
  min-width: 0;
  white-space: nowrap;
}
.office-file-doc-list__content {
  min-width: 0;
  width: calc(100% + 0.5em);
}
.office-file-doc-image-layout {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 6px 0 10px;
}
.office-file-doc-image-layout__row {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 6px;
}
.office-file-doc-image-layout__figure {
  flex: 0 1 auto;
  margin: 0;
}
.office-file-doc-image-gallery {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid #e5e7eb;
}
.office-file-doc-image-gallery__title {
  display: block;
  margin-bottom: 12px;
}
.office-file-doc-image-gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}
.office-file-doc-image-gallery__figure {
  margin: 0;
  padding: 8px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
}
.office-file-doc-image-gallery__img {
  margin: 0 auto;
}
.office-file-word-bookmark {
  display: inline-block;
  width: 0;
  height: 0;
  overflow: hidden;
}
.office-file-doc-note-reference {
  margin: 0 1px;
  vertical-align: super;
}
.office-file-doc-note-reference button {
  padding: 0;
  color: #0958d9;
  font: inherit;
  font-size: 0.75em;
  line-height: 1;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.office-file-doc-note-reference button:focus-visible {
  outline: 1px solid #1677ff;
  outline-offset: 1px;
}
.office-file-doc-notes {
  z-index: 3;
  color: #334155;
  font-size: 11px;
  line-height: 1.35;
}
.office-file-doc-notes--footnotes {
  position: absolute;
  background: #fff;
}
.office-file-doc-notes--endnotes {
  position: relative;
  margin-top: 18px;
}
.office-file-doc-notes__separator {
  display: block;
  width: 30%;
  margin-bottom: 5px;
  border-top: 1px solid #64748b;
}
.office-file-doc-notes__item {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
  gap: 3px;
  margin-top: 3px;
}
.office-file-doc-notes__item > sup {
  color: #1f2937;
  text-align: right;
}
