.office-file-docx-viewer {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  background: var(--office-file-workspace-color);
}
.office-file-docx-viewer[data-character-spacing-control='compressPunctuation'] [data-office-docx-align],
.office-file-docx-viewer[data-character-spacing-control='compressPunctuationAndJapaneseKana'] [data-office-docx-align] {
  --office-file-docx-punctuation-spacing: 0;
  letter-spacing: 0;
}
.office-file-docx-viewer[data-character-spacing-control='compressPunctuation'] [data-office-docx-align='justify'],
.office-file-docx-viewer[data-character-spacing-control='compressPunctuationAndJapaneseKana'] [data-office-docx-align='justify'] {
  --office-file-docx-punctuation-spacing: -0.15em;
}
.office-file-docx-viewer[data-character-spacing-control='compressPunctuation'] .office-file-docx-punctuation-no-break,
.office-file-docx-viewer[data-character-spacing-control='compressPunctuationAndJapaneseKana'] .office-file-docx-punctuation-no-break {
  display: inline;
  white-space: nowrap;
}
.office-file-docx-viewer[data-character-spacing-control='compressPunctuation'] .office-file-docx-compressed-punctuation,
.office-file-docx-viewer[data-character-spacing-control='compressPunctuationAndJapaneseKana'] .office-file-docx-compressed-punctuation {
  display: inline;
  letter-spacing: var(--office-file-docx-punctuation-spacing, 0);
}
.office-file-docx-viewer[data-character-spacing-control='compressPunctuation'] .office-file-docx-compressed-punctuation--line-end,
.office-file-docx-viewer[data-character-spacing-control='compressPunctuationAndJapaneseKana'] .office-file-docx-compressed-punctuation--line-end {
  display: inline-block;
  width: 0;
  letter-spacing: 0;
}
.office-file-docx-viewer[data-character-spacing-control='compressPunctuation'] [data-office-docx-align='left']:has(.office-file-docx-east-asia-space) .office-file-docx-compressed-punctuation--book-title-opening,
.office-file-docx-viewer[data-character-spacing-control='compressPunctuationAndJapaneseKana'] [data-office-docx-align='left']:has(.office-file-docx-east-asia-space) .office-file-docx-compressed-punctuation--book-title-opening {
  letter-spacing: -0.5em;
}
.office-file-docx-east-asia-space {
  display: inline;
  letter-spacing: 0;
  white-space: normal;
}
.office-file-docx-shape__item--no-wrap [data-office-docx-align],
.office-file-docx-shape__item--no-wrap [data-office-docx-align] span {
  white-space: pre !important;
}
.office-file-docx-viewer--font-loading {
  align-items: center;
  justify-content: center;
}
.office-file-docx-viewer__measure {
  position: fixed;
  top: 0;
  left: -100000px;
  visibility: hidden;
  pointer-events: none;
}
.office-file-docx-viewer__body {
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}
.office-file-docx-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-docx-page-frame {
  margin: 0 auto 24px;
  overflow: hidden;
}
.office-file-docx-page-frame__page-clip {
  overflow: hidden;
}
.office-file-docx-page-frame__article {
  box-sizing: border-box;
  background: #fff;
  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;
  overflow: hidden;
  transform-origin: top left;
  position: relative;
}
.office-file-docx-page-frame__article:has([style*='position: absolute']) {
  overflow: visible;
}
.office-file-docx-page-frame__header,
.office-file-docx-page-frame__footer {
  position: absolute;
  z-index: 2;
  box-sizing: border-box;
  pointer-events: none;
}
.office-file-docx-page-frame__footer {
  text-align: center;
  transform: translateY(50%);
}
.office-file-docx-page-frame__page-number {
  color: #000;
  font-size: 14px;
  font-family: SimSun, '宋体', serif;
}
.office-file-docx-auto-spacing {
  font-family: 'Times New Roman', serif;
  line-height: 0;
  letter-spacing: 0;
  white-space: normal;
  word-spacing: 0;
}
.office-file-docx-inline-tab {
  display: inline-block;
  width: 2em;
}
.office-file-docx-toc-line {
  display: flex;
  align-items: baseline;
}
.office-file-docx-toc-line span {
  color: inherit !important;
  text-decoration: none !important;
}
.office-file-docx-toc-line__text {
  flex: 0 1 auto;
  min-width: 0;
}
.office-file-docx-toc-line__leader {
  flex: 1 1 16px;
  height: 1px;
  min-width: 16px;
  margin: 0 4px;
  transform: translateY(-0.22em);
}
.office-file-docx-toc-line__leader[data-office-docx-tab-leader='dot'],
.office-file-docx-toc-line__leader[data-office-docx-tab-leader='middleDot'] {
  border-bottom: 1px dotted currentcolor;
}
.office-file-docx-toc-line__leader[data-office-docx-tab-leader='hyphen'] {
  border-bottom: 1px dashed currentcolor;
}
.office-file-docx-toc-line__leader[data-office-docx-tab-leader='underscore'] {
  border-bottom: 1px solid currentcolor;
}
.office-file-docx-toc-line__page {
  flex: none;
}
.office-file-docx-table-block {
  margin: 0;
}
.office-file-docx-table-block[style*='position: absolute'] {
  display: block;
  max-width: none;
}
.office-file-docx-table-block__table {
  table-layout: fixed;
  color: #000;
  font-size: 13px;
  font-family: 'Microsoft YaHei', 'PingFang SC', 'Noto Sans CJK SC', Arial, sans-serif;
  border-collapse: collapse;
}
.office-file-docx-table-block__cell {
  color: #000;
  font-family: 'Microsoft YaHei', 'PingFang SC', 'Noto Sans CJK SC', Arial, sans-serif;
}
.office-file-docx-table-block__fragment-clip {
  position: relative;
  box-sizing: border-box;
  overflow: hidden;
}
.office-file-docx-table-block__fragment-content {
  position: absolute;
  right: 0;
  left: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}
.office-file-docx-chart-block,
.office-file-docx-table-block__chart {
  margin: 0;
}
.office-file-docx-table-block__chart {
  margin: 8px 0;
}
.office-file-docx-inline-image-crop {
  position: relative;
  display: inline-block;
  width: var(--office-file-docx-inline-image-width);
  height: var(--office-file-docx-inline-image-height);
  max-width: 100%;
  overflow: hidden;
  vertical-align: middle;
}
.office-file-docx-inline-image-crop[style*='position: absolute'] {
  max-width: none;
}
.office-file-docx-inline-image {
  display: inline-block;
  width: var(--office-file-docx-inline-image-width);
  height: var(--office-file-docx-inline-image-height);
  max-width: 100%;
  vertical-align: middle;
  object-fit: fill;
}
.office-file-docx-inline-image[style*='position: absolute'] {
  max-width: none;
}
.office-file-docx-inline-chart,
.office-file-docx-shape {
  display: inline-block;
  max-width: 100%;
  vertical-align: middle;
}
.office-file-docx-inline-chart {
  width: var(--office-file-docx-inline-chart-width);
  height: var(--office-file-docx-inline-chart-height);
}
.office-file-docx-shape {
  position: relative;
  width: var(--office-file-docx-shape-width);
  height: var(--office-file-docx-shape-height);
  margin: 8px 0;
  line-height: normal;
}
.office-file-docx-shape[style*='position: absolute'] {
  margin: 0;
  max-width: none;
}
.office-file-docx-shape__item {
  position: absolute;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  overflow: visible;
  color: #000;
  font-style: normal;
  font-weight: 400;
  letter-spacing: normal;
  text-decoration: none;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.office-file-docx-shape__item > * {
  flex-shrink: 0;
}
.office-file-docx-shape__item--bordered::before {
  position: absolute;
  inset: var(--office-file-docx-shape-border-offset);
  box-sizing: border-box;
  border: var(--office-file-docx-shape-border);
  border-radius: inherit;
  pointer-events: none;
  content: '';
}
.office-file-docx-shape__item--clip-vertical {
  overflow-y: hidden;
}
.office-file-docx-shape__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.office-file-word-bookmark {
  display: inline-block;
  width: 0;
  height: 0;
  overflow: hidden;
}
