.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;
}

.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;
}

.office-file-navigation-panel {
  --office-file-navigation-panel-width: 260px;
  position: relative;
  box-sizing: border-box;
  flex: 0 0 var(--office-file-navigation-panel-width);
  width: var(--office-file-navigation-panel-width);
  min-width: 0;
  height: 100%;
  visibility: visible;
  transition: flex-basis 280ms cubic-bezier(0.2, 0, 0, 1), width 280ms cubic-bezier(0.2, 0, 0, 1), visibility 0s linear;
}
.office-file-navigation-panel[data-visible='false'] {
  flex-basis: 0;
  width: 0;
  visibility: hidden;
  pointer-events: none;
  transition: flex-basis 220ms cubic-bezier(0.4, 0, 1, 1), width 220ms cubic-bezier(0.4, 0, 1, 1), visibility 0s linear 220ms;
}
.office-file-navigation-panel[data-resizing='true'] {
  transition: none;
}
.office-file-navigation-panel__resize-handle {
  position: absolute;
  z-index: 3;
  top: 0;
  right: -6px;
  display: flex;
  width: 12px;
  height: 100%;
  align-items: center;
  justify-content: center;
  cursor: col-resize;
  touch-action: none;
}
.office-file-navigation-panel__resize-handle::before {
  width: 1px;
  height: 100%;
  background: transparent;
  content: '';
  transition: background 160ms ease;
}
.office-file-navigation-panel__resize-handle > span {
  position: absolute;
  width: 3px;
  height: 44px;
  background: var(--office-file-disabled-text-color);
  border-radius: 999px;
  opacity: 0;
  transition: opacity 160ms ease;
}
.office-file-navigation-panel__resize-handle:hover::before,
.office-file-navigation-panel__resize-handle:focus-visible::before,
.office-file-navigation-panel[data-resizing='true'] .office-file-navigation-panel__resize-handle::before {
  background: var(--office-file-primary-color);
}
.office-file-navigation-panel__resize-handle:hover > span,
.office-file-navigation-panel__resize-handle:focus-visible > span,
.office-file-navigation-panel[data-resizing='true'] .office-file-navigation-panel__resize-handle > span {
  opacity: 1;
}
.office-file-navigation-panel__resize-handle:focus-visible {
  outline: 2px solid var(--office-file-primary-color);
  outline-offset: -2px;
}
.office-file-navigation-tabs {
  display: inline-flex;
  min-width: 0;
  height: 32px;
  align-items: stretch;
  gap: 2px;
  padding: 2px;
  background: var(--office-file-subtle-surface-color);
  border-radius: 7px;
}
.office-file-navigation-tabs__tab {
  min-width: 52px;
  padding: 0 10px;
  color: var(--office-file-muted-text-color);
  font: inherit;
  font-size: 13px;
  background: transparent;
  border: 0;
  border-radius: 5px;
  cursor: pointer;
}
.office-file-navigation-tabs__tab[aria-selected='true'] {
  color: var(--office-file-primary-active-color);
  font-weight: 600;
  background: var(--office-file-surface-color);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.12);
}
.office-file-navigation-tabs__tab:hover:not([aria-selected='true']) {
  color: var(--office-file-text-color);
  background: var(--office-file-selected-surface-color);
}
.office-file-navigation-tabs__tab:focus-visible {
  outline: 2px solid var(--office-file-primary-color);
  outline-offset: -1px;
}
@media (prefers-reduced-motion: reduce) {
  .office-file-navigation-panel {
    transition: flex-basis 180ms ease-out, width 180ms ease-out, visibility 0s linear;
  }
  .office-file-navigation-panel[data-visible='false'] {
    transition: flex-basis 150ms ease-in, width 150ms ease-in, visibility 0s linear 150ms;
  }
  .office-file-navigation-panel__resize-handle::before,
  .office-file-navigation-panel__resize-handle > span {
    transition-duration: 80ms;
  }
}

.office-file-pptx-viewer {
  display: flex;
  min-width: 0;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  background: var(--office-file-workspace-color);
}
.office-file-pptx-viewer__sidebar {
  display: flex;
  flex: 0 1 clamp(212px, 24%, 292px);
  flex-direction: column;
  min-width: 0;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  background: var(--office-file-surface-color);
  border-right: 1px solid var(--office-file-border-color);
}
.office-file-pptx-viewer__sidebar-header {
  flex: 0 0 auto;
  padding: 16px;
  border-bottom: 1px solid var(--office-file-border-color);
}
.office-file-pptx-viewer__slide-count {
  color: var(--office-file-muted-text-color);
  font-size: 12px;
}
.office-file-pptx-viewer__thumbnail-list {
  flex: 1 1 auto;
  min-height: 0;
  padding: 16px;
  overflow-y: auto;
}
.office-file-pptx-viewer__thumbnail-button {
  display: block;
  width: 100%;
  margin: 0 0 12px;
  padding: 0;
  cursor: pointer;
  background: transparent;
  border: 0;
  border-radius: 8px;
  outline: none;
  text-align: left;
}
.office-file-pptx-viewer__thumbnail-button:focus-visible {
  box-shadow: 0 0 0 2px var(--office-file-focus-ring-color);
}
.office-file-pptx-viewer__workspace {
  display: flex;
  flex: 1 1 0%;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}
.office-file-pptx-viewer__viewport {
  display: flex;
  flex: 1 1 auto;
  align-items: flex-start;
  justify-content: flex-start;
  min-width: 0;
  min-height: 0;
  padding: 32px;
  overflow: auto;
}
.office-file-pptx-viewer__slide-wrap {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  width: 100%;
  min-height: 100%;
}
.office-file-pptx-viewer__text-run--text-symbols {
  font-variant-emoji: text;
}
.office-file-pptx-slide-state {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  max-width: 100%;
  background: var(--office-file-surface-color);
  border: 1px solid var(--office-file-border-color);
  color: var(--office-file-muted-text-color);
}
.office-file-pptx-thumbnail {
  padding: 8px;
  background: var(--office-file-surface-color);
  border: 1px solid var(--office-file-border-color);
  border-radius: 6px;
}
.office-file-pptx-thumbnail--active {
  border-color: var(--office-file-primary-color);
  box-shadow: 0 0 0 2px var(--office-file-focus-ring-color);
}
.office-file-pptx-thumbnail__canvas {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}
.office-file-pptx-thumbnail__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  background: var(--office-file-subtle-surface-color);
  color: var(--office-file-muted-text-color);
  font-size: 12px;
}
.office-file-pptx-thumbnail__retry {
  color: var(--office-file-primary-color);
}
.office-file-pptx-thumbnail__background {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
}
.office-file-pptx-thumbnail__content {
  pointer-events: none;
  transform-origin: top left;
}
.office-file-pptx-thumbnail__label {
  margin-top: 8px;
  color: var(--office-file-muted-text-color);
  font-size: 12px;
}
.office-file-pptx-slide {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.16);
  transform-origin: top left;
}
.office-file-pptx-slide__background,
.office-file-pptx-slide__elements,
.office-file-pptx-slide__annotations {
  position: absolute;
  inset: 0;
}
.office-file-pptx-slide__background {
  z-index: 0;
  background-position: center;
  background-size: cover;
}
.office-file-pptx-slide__elements {
  z-index: 1;
}
.office-file-pptx-slide__annotations {
  z-index: 3;
  pointer-events: none;
}
.office-file-pptx-annotation-marker {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 22px;
  height: 22px;
  padding: 0;
  cursor: pointer;
  pointer-events: auto;
  color: #fff;
  font-weight: 700;
  font-size: 11px;
  line-height: 1;
  background: linear-gradient(135deg, #ffb02e 0%, #f97316 100%);
  border: 2px solid #fff;
  border-radius: 6px 6px 6px 2px;
  box-shadow: 0 2px 6px rgba(124, 45, 18, 0.28);
  transform: translate(-50%, -50%);
}
.office-file-pptx-annotation-marker::after {
  position: absolute;
  right: 3px;
  bottom: 3px;
  width: 4px;
  height: 4px;
  background: #fff;
  border-radius: 50%;
  content: '';
}
.office-file-pptx-annotation-marker:hover,
.office-file-pptx-annotation-marker:focus-visible,
.office-file-pptx-annotation-marker--active {
  outline: none;
  box-shadow: 0 0 0 3px var(--office-file-focus-ring-color), 0 2px 6px rgba(124, 45, 18, 0.28);
}
.office-file-pptx-annotation-marker--thumbnail {
  width: 18px;
  height: 18px;
  pointer-events: none;
}
.office-file-pptx-media {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  overflow: hidden;
  background-color: #111827;
  background-position: center;
  background-size: cover;
  border: 1px solid rgba(255, 255, 255, 0.35);
  transform-origin: center;
}
.office-file-pptx-media video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}
.office-file-pptx-media audio {
  width: calc(100% - 24px);
  min-width: 180px;
}
.office-file-pptx-media__message {
  max-width: 80%;
  padding: 8px 12px;
  color: #f8fafc;
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
  background: rgba(15, 23, 42, 0.82);
  border-radius: 6px;
}
.office-file-pptx-media__message--error {
  position: absolute;
  z-index: 2;
}
.office-file-pptx-media__download {
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  color: #fff;
  font-size: 12px;
  line-height: 1;
  text-decoration: none;
  background: rgba(15, 23, 42, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 5px;
}
.office-file-pptx-media__download:hover,
.office-file-pptx-media__download:focus-visible {
  color: #fff;
  background: rgba(37, 99, 235, 0.9);
  outline: none;
}
.office-file-pptx-media__poster-icon {
  width: 0;
  height: 0;
  border-top: 24px solid transparent;
  border-bottom: 24px solid transparent;
  border-left: 38px solid rgba(255, 255, 255, 0.88);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.35));
}
.office-file-pptx-media--thumbnail {
  pointer-events: none;
}
.office-file-presentation-transition {
  position: relative;
  flex: 0 0 auto;
  overflow: visible;
}
.office-file-presentation-transition[data-transition-active='true'] {
  overflow: hidden;
}
.office-file-presentation-transition__slide {
  position: absolute;
  inset: 0;
  animation-duration: var(--office-file-presentation-transition-duration);
  animation-timing-function: ease-in-out;
  animation-fill-mode: both;
  will-change: transform, opacity, clip-path;
}
.office-file-presentation-transition__slide--incoming {
  z-index: 2;
}
.office-file-presentation-transition__slide--outgoing {
  z-index: 1;
}
.office-file-presentation-transition--uncover .office-file-presentation-transition__slide--incoming {
  z-index: 0;
}
.office-file-presentation-transition--fade .office-file-presentation-transition__slide--incoming {
  animation-name: office-file-presentation-fade-in;
}
.office-file-presentation-transition--push.office-file-presentation-transition--left .office-file-presentation-transition__slide--incoming,
.office-file-presentation-transition--cover.office-file-presentation-transition--left .office-file-presentation-transition__slide--incoming {
  animation-name: office-file-presentation-enter-right;
}
.office-file-presentation-transition--push.office-file-presentation-transition--right .office-file-presentation-transition__slide--incoming,
.office-file-presentation-transition--cover.office-file-presentation-transition--right .office-file-presentation-transition__slide--incoming {
  animation-name: office-file-presentation-enter-left;
}
.office-file-presentation-transition--push.office-file-presentation-transition--up .office-file-presentation-transition__slide--incoming,
.office-file-presentation-transition--cover.office-file-presentation-transition--up .office-file-presentation-transition__slide--incoming {
  animation-name: office-file-presentation-enter-bottom;
}
.office-file-presentation-transition--push.office-file-presentation-transition--down .office-file-presentation-transition__slide--incoming,
.office-file-presentation-transition--cover.office-file-presentation-transition--down .office-file-presentation-transition__slide--incoming {
  animation-name: office-file-presentation-enter-top;
}
.office-file-presentation-transition--push.office-file-presentation-transition--left .office-file-presentation-transition__slide--outgoing,
.office-file-presentation-transition--uncover.office-file-presentation-transition--left .office-file-presentation-transition__slide--outgoing {
  animation-name: office-file-presentation-exit-left;
}
.office-file-presentation-transition--push.office-file-presentation-transition--right .office-file-presentation-transition__slide--outgoing,
.office-file-presentation-transition--uncover.office-file-presentation-transition--right .office-file-presentation-transition__slide--outgoing {
  animation-name: office-file-presentation-exit-right;
}
.office-file-presentation-transition--push.office-file-presentation-transition--up .office-file-presentation-transition__slide--outgoing,
.office-file-presentation-transition--uncover.office-file-presentation-transition--up .office-file-presentation-transition__slide--outgoing {
  animation-name: office-file-presentation-exit-up;
}
.office-file-presentation-transition--push.office-file-presentation-transition--down .office-file-presentation-transition__slide--outgoing,
.office-file-presentation-transition--uncover.office-file-presentation-transition--down .office-file-presentation-transition__slide--outgoing {
  animation-name: office-file-presentation-exit-down;
}
.office-file-presentation-transition--wipe.office-file-presentation-transition--left .office-file-presentation-transition__slide--incoming {
  animation-name: office-file-presentation-wipe-left;
}
.office-file-presentation-transition--wipe.office-file-presentation-transition--right .office-file-presentation-transition__slide--incoming {
  animation-name: office-file-presentation-wipe-right;
}
.office-file-presentation-transition--wipe.office-file-presentation-transition--up .office-file-presentation-transition__slide--incoming {
  animation-name: office-file-presentation-wipe-up;
}
.office-file-presentation-transition--wipe.office-file-presentation-transition--down .office-file-presentation-transition__slide--incoming {
  animation-name: office-file-presentation-wipe-down;
}
.office-file-presentation-transition--split.office-file-presentation-transition--horizontal-in .office-file-presentation-transition__slide--incoming,
.office-file-presentation-transition--split.office-file-presentation-transition--horizontal-out .office-file-presentation-transition__slide--incoming {
  animation-name: office-file-presentation-split-horizontal;
}
.office-file-presentation-transition--split.office-file-presentation-transition--vertical-in .office-file-presentation-transition__slide--incoming,
.office-file-presentation-transition--split.office-file-presentation-transition--vertical-out .office-file-presentation-transition__slide--incoming {
  animation-name: office-file-presentation-split-vertical;
}
@keyframes office-file-presentation-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes office-file-presentation-enter-right {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}
@keyframes office-file-presentation-enter-left {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}
@keyframes office-file-presentation-enter-bottom {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}
@keyframes office-file-presentation-enter-top {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}
@keyframes office-file-presentation-exit-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}
@keyframes office-file-presentation-exit-right {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(100%);
  }
}
@keyframes office-file-presentation-exit-up {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-100%);
  }
}
@keyframes office-file-presentation-exit-down {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(100%);
  }
}
@keyframes office-file-presentation-wipe-left {
  from {
    clip-path: inset(0 0 0 100%);
  }
  to {
    clip-path: inset(0);
  }
}
@keyframes office-file-presentation-wipe-right {
  from {
    clip-path: inset(0 100% 0 0);
  }
  to {
    clip-path: inset(0);
  }
}
@keyframes office-file-presentation-wipe-up {
  from {
    clip-path: inset(100% 0 0);
  }
  to {
    clip-path: inset(0);
  }
}
@keyframes office-file-presentation-wipe-down {
  from {
    clip-path: inset(0 0 100%);
  }
  to {
    clip-path: inset(0);
  }
}
@keyframes office-file-presentation-split-horizontal {
  from {
    clip-path: inset(50% 0);
  }
  to {
    clip-path: inset(0);
  }
}
@keyframes office-file-presentation-split-vertical {
  from {
    clip-path: inset(0 50%);
  }
  to {
    clip-path: inset(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .office-file-presentation-transition__slide {
    animation: none !important;
  }
}
.office-file-pptx-chart-frame {
  position: absolute;
}
.office-file-pptx-speaker-notes {
  position: relative;
  flex: 0 0 auto;
  box-sizing: border-box;
  width: 100%;
  height: 220px;
  min-height: 120px;
  max-height: 65%;
  overflow: auto;
  background: var(--office-file-surface-color);
  border-top: 1px solid var(--office-file-border-color);
  color: var(--office-file-text-color);
}
.office-file-pptx-speaker-notes__content {
  padding: 20px 20px 28px;
}
.office-file-pptx-speaker-notes__paragraph {
  display: flex;
  gap: 8px;
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.65;
  white-space: pre-wrap;
}
.office-file-pptx-speaker-notes__bullet {
  flex: 0 0 auto;
}
.office-file-pptx-speaker-notes__paragraph--level-1 {
  padding-left: 24px;
}
.office-file-pptx-speaker-notes__paragraph--level-2 {
  padding-left: 48px;
}
.office-file-pptx-speaker-notes__paragraph--level-3 {
  padding-left: 72px;
}
.office-file-pptx-speaker-notes__paragraph--level-4 {
  padding-left: 96px;
}
.office-file-pptx-speaker-notes__paragraph--level-5 {
  padding-left: 120px;
}
.office-file-pptx-speaker-notes__empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  color: var(--office-file-muted-text-color);
  font-size: 14px;
}
.office-file-pptx-speaker-notes__resize-handle {
  position: sticky;
  z-index: 2;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 12px;
  cursor: row-resize;
  background: var(--office-file-subtle-surface-color);
  outline: none;
  touch-action: none;
}
.office-file-pptx-speaker-notes__resize-handle span {
  width: 48px;
  height: 4px;
  background: var(--office-file-disabled-text-color);
  border-radius: 2px;
}
.office-file-pptx-speaker-notes__resize-handle:hover span,
.office-file-pptx-speaker-notes__resize-handle:focus-visible span {
  background: var(--office-file-primary-color);
}
.office-file-pptx-speaker-notes__resize-handle:focus-visible {
  box-shadow: inset 0 0 0 2px var(--office-file-focus-ring-color);
}

.office-file-search-sidebar {
  color: var(--office-file-text-color);
}
.office-file-search-sidebar__surface {
  display: flex;
  box-sizing: border-box;
  width: var(--office-file-navigation-panel-width);
  min-width: var(--office-file-navigation-panel-width);
  height: 100%;
  flex-direction: column;
  overflow: hidden;
  background: var(--office-file-surface-color);
  border-right: 1px solid var(--office-file-border-color);
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition: opacity 240ms ease-out, transform 280ms cubic-bezier(0.2, 0, 0, 1);
}
.office-file-search-sidebar[data-visible='false'] .office-file-search-sidebar__surface {
  opacity: 0;
  transform: translate3d(-20px, 0, 0);
  transition: opacity 180ms ease-in, transform 220ms ease-in;
}
.office-file-search-sidebar__header {
  display: flex;
  flex: 0 0 48px;
  height: 48px;
  padding: 0 8px 0 14px;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--office-file-border-color);
}
.office-file-search-sidebar__title {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  font-size: 14px;
}
.office-file-search-sidebar__position {
  min-width: 48px;
  margin-left: auto;
  color: var(--office-file-muted-text-color);
  font-size: 12px;
  text-align: right;
}
.office-file-search-sidebar__icon-button {
  display: inline-flex;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  padding: 0;
  align-items: center;
  justify-content: center;
  color: var(--office-file-muted-text-color);
  background: transparent;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
}
.office-file-search-sidebar__icon-button:hover:not(:disabled) {
  color: var(--office-file-primary-color);
  background: var(--office-file-selected-surface-color);
}
.office-file-search-sidebar__icon-button:focus-visible,
.office-file-search-sidebar__input-wrap:focus-within {
  outline: 2px solid var(--office-file-focus-ring-color);
  outline-offset: 1px;
}
.office-file-search-sidebar__icon-button:disabled {
  color: var(--office-file-disabled-text-color);
  cursor: not-allowed;
}
.office-file-search-sidebar__query-row {
  display: flex;
  padding: 12px 10px 8px;
  align-items: center;
  gap: 4px;
}
.office-file-search-sidebar__input-wrap {
  display: flex;
  min-width: 0;
  height: 32px;
  flex: 1 1 auto;
  align-items: center;
  gap: 6px;
  padding: 0 8px;
  background: var(--office-file-surface-color);
  border: 1px solid var(--office-file-control-border-color);
  border-radius: 6px;
}
.office-file-search-sidebar__input-wrap > .office-file-icon {
  flex: 0 0 auto;
  color: var(--office-file-muted-text-color);
}
.office-file-search-sidebar__input-wrap input {
  width: 100%;
  min-width: 0;
  padding: 0;
  color: var(--office-file-text-color);
  font: inherit;
  background: transparent;
  border: 0;
  outline: 0;
}
.office-file-search-sidebar__input-wrap input::-webkit-search-cancel-button {
  cursor: pointer;
}
.office-file-search-sidebar__options {
  display: flex;
  min-height: 30px;
  padding: 0 12px 8px;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  color: var(--office-file-muted-text-color);
  font-size: 12px;
}
.office-file-search-sidebar__options label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}
.office-file-search-sidebar__status {
  min-height: 24px;
  padding: 0 12px 6px;
  color: var(--office-file-muted-text-color);
  font-size: 12px;
}
.office-file-search-sidebar__empty {
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
  padding: 42px 20px;
  align-items: flex-start;
  justify-content: center;
  color: var(--office-file-muted-text-color);
  font-size: 13px;
  text-align: center;
}
.office-file-search-results {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  scrollbar-gutter: stable;
}
.office-file-search-results__canvas {
  position: relative;
  min-height: 100%;
}
.office-file-search-results__window {
  position: static;
}
.office-file-search-results__canvas[data-virtual='true'] .office-file-search-results__window {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
}
.office-file-search-results__item {
  display: flex;
  box-sizing: border-box;
  width: calc(100% - 12px);
  height: 62px;
  margin: 0 6px;
  padding: 7px 10px;
  flex-direction: column;
  gap: 4px;
  color: var(--office-file-text-color);
  font: inherit;
  text-align: left;
  background: transparent;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
}
.office-file-search-results__item:hover {
  background: var(--office-file-subtle-surface-color);
}
.office-file-search-results__item[aria-selected='true'] {
  color: var(--office-file-primary-active-color);
  background: var(--office-file-selected-surface-color);
}
.office-file-search-results__item:focus-visible {
  outline: 2px solid var(--office-file-focus-ring-color);
  outline-offset: -2px;
}
.office-file-search-results__meta {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--office-file-muted-text-color);
  font-size: 11px;
}
.office-file-search-results__hidden {
  padding: 1px 5px;
  color: #9a3412;
  background: #fff7ed;
  border-radius: 999px;
}
.office-file-search-results__preview {
  max-height: 36px;
  overflow: hidden;
  line-height: 18px;
  font-size: 13px;
}
.office-file-search-highlight {
  padding: 0;
  margin: 0;
  color: inherit;
  font: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  background: #fff1a8;
  box-decoration-break: clone;
}
.office-file-search-highlight--current {
  background: #ffc96b;
  box-shadow: inset 0 0 0 1px rgba(180, 83, 9, 0.35);
}
@media (prefers-reduced-motion: reduce) {
  .office-file-search-sidebar__surface {
    transform: none;
    transition: opacity 140ms linear;
  }
  .office-file-search-sidebar[data-visible='false'] .office-file-search-sidebar__surface {
    transform: none;
    transition: opacity 120ms linear;
  }
}

.office-file-word-outline {
  color: var(--office-file-text-color);
}
.office-file-word-outline__viewport {
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--office-file-surface-color);
  border-right: 1px solid var(--office-file-border-color);
}
.office-file-word-outline__surface {
  display: flex;
  flex-direction: column;
  width: var(--office-file-navigation-panel-width);
  min-width: var(--office-file-navigation-panel-width);
  height: 100%;
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition: opacity 240ms ease-out, transform 280ms cubic-bezier(0.2, 0, 0, 1);
}
.office-file-word-outline[data-visible='false'] .office-file-word-outline__surface {
  opacity: 0;
  transform: translate3d(-20px, 0, 0);
  transition: opacity 180ms ease-in, transform 220ms ease-in;
}
.office-file-word-outline__header {
  display: flex;
  flex: 0 0 48px;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 8px 0 14px;
  border-bottom: 1px solid var(--office-file-border-color);
}
.office-file-word-outline__title {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  font-size: 14px;
}
.office-file-word-outline__count {
  min-width: 24px;
  margin-left: auto;
  color: var(--office-file-muted-text-color);
  font-size: 12px;
  text-align: center;
}
.office-file-word-outline__toggle {
  display: inline-flex;
  width: 30px;
  height: 30px;
  padding: 0;
  align-items: center;
  justify-content: center;
  color: var(--office-file-muted-text-color);
  background: transparent;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
}
.office-file-word-outline__toggle:hover {
  color: var(--office-file-primary-color);
  background: var(--office-file-selected-surface-color);
}
.office-file-word-outline__toggle:focus-visible {
  outline: 2px solid var(--office-file-primary-color);
  outline-offset: 1px;
}
.office-file-word-outline__tree-host {
  flex: 1 1 auto;
  min-height: 0;
  padding: 8px 6px 10px;
  overflow: auto;
  scrollbar-gutter: stable;
}
.office-file-outline-tree {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  color: inherit;
  background: transparent;
}
.office-file-outline-tree--virtual {
  contain: layout paint style;
}
.office-file-outline-tree__window {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
}
.office-file-outline-tree__row {
  position: relative;
  display: flex;
  box-sizing: border-box;
  width: 100%;
  height: 28px;
  min-width: 0;
  padding-right: 4px;
  align-items: center;
  color: var(--office-file-text-color);
  cursor: pointer;
  outline: none;
  border-radius: 4px;
}
.office-file-outline-tree__row:hover {
  background: var(--office-file-subtle-surface-color);
}
.office-file-outline-tree__row[aria-selected='true'] {
  color: var(--office-file-primary-active-color);
  background: var(--office-file-selected-surface-color);
}
.office-file-outline-tree__row[data-focused='true']:focus-visible {
  box-shadow: inset 0 0 0 2px var(--office-file-focus-ring-color);
}
.office-file-outline-tree__guides {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.office-file-outline-tree__guide {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--office-file-border-color);
}
.office-file-outline-tree__branch {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 15px;
}
.office-file-outline-tree__branch::before,
.office-file-outline-tree__branch::after {
  position: absolute;
  background: var(--office-file-border-color);
  content: '';
}
.office-file-outline-tree__branch::before {
  top: 0;
  left: 0;
  width: 1px;
  height: 50%;
}
.office-file-outline-tree__branch[data-continues='true']::before {
  height: 100%;
}
.office-file-outline-tree__branch::after {
  top: 50%;
  left: 0;
  width: 15px;
  height: 1px;
}
.office-file-outline-tree__switcher,
.office-file-outline-tree__leaf-space {
  position: relative;
  z-index: 1;
  display: inline-flex;
  flex: 0 0 20px;
  width: 20px;
  height: 28px;
  align-items: center;
  justify-content: center;
}
.office-file-outline-tree__switcher {
  padding: 0;
  color: var(--office-file-muted-text-color);
  background: transparent;
  border: 0;
  cursor: pointer;
  outline: none;
}
.office-file-outline-tree__switcher > span {
  position: relative;
  box-sizing: border-box;
  width: 12px;
  height: 12px;
  background: var(--office-file-surface-color);
  border: 1px solid currentcolor;
}
.office-file-outline-tree__switcher > span::before,
.office-file-outline-tree__switcher > span::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 1px;
  background: currentcolor;
  content: '';
  transform: translate(-50%, -50%);
}
.office-file-outline-tree__switcher > span::after {
  transform: translate(-50%, -50%) rotate(90deg);
}
.office-file-outline-tree__switcher[data-expanded='true'] > span::after {
  display: none;
}
.office-file-outline-tree__switcher:hover,
.office-file-outline-tree__switcher:focus-visible {
  color: var(--office-file-primary-color);
}
.office-file-outline-tree__switcher[data-loading='true'] > span {
  border-radius: 50%;
  border-right-color: transparent;
  animation: office-file-outline-tree-loading 720ms linear infinite;
}
.office-file-outline-tree__switcher[data-loading='true'] > span::before,
.office-file-outline-tree__switcher[data-loading='true'] > span::after {
  display: none;
}
.office-file-outline-tree__title {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  padding: 0 6px;
  overflow: hidden;
  line-height: 28px;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 14px;
}
@keyframes office-file-outline-tree-loading {
  to {
    transform: rotate(360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .office-file-word-outline__surface {
    transform: none;
    transition: opacity 180ms linear;
  }
  .office-file-word-outline[data-visible='false'] .office-file-word-outline__surface {
    transform: none;
    transition: opacity 140ms linear;
  }
  .office-file-outline-tree__switcher[data-loading='true'] > span {
    animation-duration: 1.4s;
  }
}

.office-file-word-pages {
  min-height: 100%;
}
.office-file-word-pages__spacer {
  width: 1px;
  pointer-events: none;
}
.office-file-word-pages__item {
  box-sizing: border-box;
}
.office-file-word-pages__item > .office-file-docx-page-frame {
  margin-bottom: 0;
}
.office-file-word-pages__placeholder {
  box-sizing: border-box;
  display: flex;
  width: min(100%, 794px);
  margin: 0 auto;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  color: #64748b;
  background: #fff;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.14);
}
.office-file-word-pages__retry {
  padding: 5px 14px;
  color: #1677ff;
  background: #fff;
  border: 1px solid #91caff;
  border-radius: 6px;
  cursor: pointer;
}
.office-file-word-pages__retry:focus-visible {
  outline: 2px solid #1677ff;
  outline-offset: 2px;
}

.office-file-word-revision {
  position: relative;
  cursor: pointer;
  transition: background 120ms ease, box-shadow 120ms ease;
}
.office-file-word-revision--insert {
  color: var(--office-file-revision-color);
  text-decoration: underline;
  text-decoration-color: var(--office-file-revision-color);
  text-underline-offset: 2px;
}
.office-file-word-revision--delete {
  color: var(--office-file-revision-color);
  background: var(--office-file-revision-tint);
  text-decoration: line-through;
  text-decoration-color: var(--office-file-revision-color);
}
.office-file-word-revision--format {
  border-bottom: 1px dotted var(--office-file-revision-color);
}
.office-file-word-revision:hover,
.office-file-word-revision[data-active='true'] {
  background: var(--office-file-revision-tint);
  box-shadow: inset 0 -2px var(--office-file-revision-color);
}
.office-file-word-paragraph-revision {
  box-shadow: inset 2px 0 var(--office-file-revision-color);
}
.office-file-word-review-overlay {
  position: absolute;
  z-index: 5;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.office-file-word-markup-portal {
  position: absolute;
  z-index: 6;
  inset: 0;
  overflow: visible;
  pointer-events: none;
}
.office-file-word-markup-portal__extent {
  position: absolute;
  top: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}
.office-file-word-markup-connector {
  position: absolute;
  z-index: 5;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  opacity: 0.82;
  pointer-events: none;
  transition: opacity 120ms ease;
}
.office-file-word-markup-connector path {
  fill: none;
  stroke: var(--office-file-word-markup-color);
  stroke-dasharray: 3 3;
  stroke-linecap: square;
  stroke-linejoin: miter;
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}
.office-file-word-markup-connector[data-emphasized='true'] {
  opacity: 1;
}
.office-file-word-markup-connector[data-emphasized='true'] path {
  stroke-width: 1.5;
}
.office-file-word-markup-callout {
  position: absolute;
  z-index: 6;
  display: flex;
  box-sizing: border-box;
  min-width: 0;
  align-items: flex-start;
  gap: 8px;
  overflow: hidden;
  padding: 4px 8px 4px 10px;
  color: #1f2937;
  font: inherit;
  font-size: 12px;
  line-height: 1.45;
  text-align: left;
  background: transparent;
  border: 0;
  border-left: 2px solid var(--office-file-word-markup-color);
  border-radius: 0;
  box-shadow: none;
  cursor: pointer;
  pointer-events: auto;
  transition: background 120ms ease;
}
.office-file-word-markup-callout:hover,
.office-file-word-markup-callout[data-emphasized='true'] {
  background: rgba(22, 119, 210, 0.08);
}
.office-file-word-markup-callout--revision:hover,
.office-file-word-markup-callout--revision[data-emphasized='true'] {
  background: rgba(229, 72, 77, 0.08);
}
.office-file-word-markup-callout[data-resolved='true'] {
  opacity: 0.64;
}
.office-file-word-markup-callout:focus-visible {
  outline: 1px solid var(--office-file-word-markup-color);
  outline-offset: 1px;
}
.office-file-word-markup-callout__avatar {
  display: grid;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  place-items: center;
  margin-top: 1px;
  color: #fff;
  font-size: 18px;
  background: var(--office-file-word-markup-color);
  border-radius: 2px;
}
.office-file-word-markup-callout__content {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 2px;
}
.office-file-word-markup-callout__content strong {
  overflow: hidden;
  color: var(--office-file-word-markup-color);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.office-file-word-markup-callout__content > span {
  display: block;
  max-height: 2.9em;
  overflow: hidden;
  color: #111827;
  overflow-wrap: anywhere;
}
.office-file-docx-note-reference {
  margin: 0 1px;
  vertical-align: super;
}
.office-file-docx-note-reference button {
  padding: 0;
  color: #0958d9;
  font: inherit;
  font-size: 0.75em;
  line-height: 1;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.office-file-docx-note-reference button:focus-visible {
  outline: 1px solid #1677ff;
  outline-offset: 1px;
}
.office-file-word-notes {
  z-index: 3;
  color: #334155;
  font-size: 11px;
  line-height: 1.35;
}
.office-file-word-notes--footnotes {
  position: absolute;
  max-height: calc(var(--office-file-docx-page-height) - var(--office-file-docx-page-margin-top) - var(--office-file-docx-page-margin-bottom) - 24px);
  overflow: auto;
  overscroll-behavior: contain;
  background: #fff;
}
.office-file-word-notes--endnotes {
  position: relative;
  margin-top: 18px;
}
.office-file-word-notes__separator {
  display: block;
  width: 30%;
  margin-bottom: 5px;
  border-top: 1px solid #64748b;
}
.office-file-word-notes__item {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
  gap: 3px;
  margin-top: 3px;
}
.office-file-word-notes__item > sup {
  color: #1f2937;
  text-align: right;
}
.office-file-word-notes__content {
  min-width: 0;
}
@media (prefers-reduced-motion: reduce) {
  .office-file-word-markup-callout,
  .office-file-word-markup-connector {
    transition-duration: 1ms;
  }
}

.office-file-xlsx-viewer {
  --office-file-spreadsheet-canvas-color: #fff;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  background: var(--office-file-workspace-color);
}
.office-file-xlsx-sheet-tabs {
  display: flex;
  flex: 0 0 auto;
  min-width: 0;
  height: 46px;
  padding: 0 16px;
  align-items: stretch;
  gap: 16px;
  background: var(--office-file-surface-color);
  border-bottom: 1px solid var(--office-file-border-color);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}
.office-file-xlsx-sheet-tabs__list {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  align-items: stretch;
  gap: 4px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
}
.office-file-xlsx-sheet-tabs__tab {
  position: relative;
  flex: 0 0 auto;
  max-width: 240px;
  padding: 0 12px;
  overflow: hidden;
  color: var(--office-file-text-color);
  font: inherit;
  font-size: 14px;
  line-height: 45px;
  white-space: nowrap;
  text-overflow: ellipsis;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.office-file-xlsx-sheet-tabs__tab::after {
  position: absolute;
  right: 12px;
  bottom: 0;
  left: 12px;
  height: 2px;
  background: var(--office-file-primary-color);
  content: '';
  opacity: 0;
  transform: scaleX(0.6);
  transition: opacity 160ms ease, transform 160ms ease;
}
.office-file-xlsx-sheet-tabs__tab:hover,
.office-file-xlsx-sheet-tabs__tab[aria-selected='true'] {
  color: var(--office-file-primary-color);
}
.office-file-xlsx-sheet-tabs__tab[aria-selected='true']::after {
  opacity: 1;
  transform: scaleX(1);
}
.office-file-xlsx-sheet-tabs__tab:focus-visible {
  outline: 2px solid var(--office-file-focus-ring-color);
  outline-offset: -3px;
}
.office-file-xlsx-sheet-tabs__range {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  font-size: 12px;
  color: var(--office-file-muted-text-color);
  white-space: nowrap;
}
.office-file-xlsx-sheet-grid {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
  padding: 16px;
  overflow: auto;
  background: var(--office-file-workspace-color);
  scrollbar-gutter: stable both-edges;
}
.office-file-xlsx-sheet-grid__canvas {
  position: relative;
}
.office-file-xlsx-grid-placeholder {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 180px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px;
  color: #536174;
  background: var(--office-file-workspace-color);
}
.office-file-xlsx-virtual-grid {
  position: relative;
}
.office-file-xlsx-virtual-grid__canvas {
  background: var(--office-file-spreadsheet-canvas-color);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.1);
}
.office-file-xlsx-virtual-grid__cell {
  z-index: 1;
  box-sizing: border-box;
  padding: 0 2px;
  overflow: visible;
  color: #1f2937;
  line-height: 1.2;
  background-color: #fff;
}
.office-file-xlsx-virtual-grid__column-header,
.office-file-xlsx-virtual-grid__row-header,
.office-file-xlsx-virtual-grid__corner {
  position: absolute;
  z-index: 7;
  box-sizing: border-box;
  color: #536174;
  font-weight: 600;
  font-size: 12px;
  background: #e5ebf2;
  border: 1px solid #c5cfdc;
}
.office-file-xlsx-virtual-grid__column-header,
.office-file-xlsx-virtual-grid__row-header {
  display: grid;
  place-items: center;
}
.office-file-xlsx-virtual-grid__corner {
  z-index: 8;
}
.office-file-xlsx-virtual-grid > .office-file-xlsx-grid-placeholder {
  position: sticky;
  z-index: 10;
  bottom: 16px;
  left: 16px;
  width: calc(100% - 32px);
  min-height: 96px;
  margin-top: -112px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #d9e0ea;
}
.office-file-xlsx-sheet-filler {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  box-sizing: border-box;
  background: var(--office-file-spreadsheet-canvas-color);
  border: 1px solid #b9c4d2;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.1);
  pointer-events: none;
}
.office-file-xlsx-sheet-filler__right,
.office-file-xlsx-sheet-filler__bottom {
  position: absolute;
}
.office-file-xlsx-sheet-filler__right {
  top: 0;
}
.office-file-xlsx-sheet-filler__bottom {
  left: 0;
}
.office-file-xlsx-sheet-filler__column-headers {
  position: sticky;
  top: 0;
  z-index: 3;
  height: 28px;
}
.office-file-xlsx-sheet-filler__column-header-clip {
  display: flex;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.office-file-xlsx-sheet-filler__column-header,
.office-file-xlsx-sheet-filler__row-header {
  box-sizing: border-box;
  color: #536174;
  font-weight: 600;
  font-size: 12px;
  line-height: normal;
  text-align: center;
  background: #e5ebf2;
  border: 1px solid #c5cfdc;
}
.office-file-xlsx-sheet-filler__column-header {
  flex: 0 0 auto;
  height: 28px;
  padding: 6px 4px;
}
.office-file-xlsx-sheet-filler__row-headers {
  position: sticky;
  left: 0;
  z-index: 2;
  width: 48px;
  height: 100%;
}
.office-file-xlsx-sheet-filler__row-header-clip {
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.office-file-xlsx-sheet-filler__row-header {
  display: grid;
  width: 48px;
  place-items: center;
}
.office-file-xlsx-sheet-filler__source-rows,
.office-file-xlsx-sheet-filler__source-columns,
.office-file-xlsx-sheet-filler__full-grid {
  position: absolute;
  background-color: #fff;
}
.office-file-xlsx-sheet-filler__source-rows {
  left: 0;
  background-image: linear-gradient(to right, #d9e0ea 1px, transparent 1px);
}
.office-file-xlsx-sheet-filler__source-columns {
  top: 0;
  background-image: linear-gradient(to bottom, #d9e0ea 1px, transparent 1px);
}
.office-file-xlsx-sheet-filler__full-grid {
  left: 0;
  background-image: linear-gradient(to right, #d9e0ea 1px, transparent 1px), linear-gradient(to bottom, #d9e0ea 1px, transparent 1px);
}
.office-file-xlsx-sheet-filler__row-boundary,
.office-file-xlsx-sheet-filler__column-boundary {
  position: absolute;
  display: block;
  pointer-events: none;
}
.office-file-xlsx-sheet-filler__row-boundary {
  right: 0;
  left: 0;
  border-top: 1px solid #d9e0ea;
}
.office-file-xlsx-sheet-filler__column-boundary {
  top: 0;
  bottom: 0;
  border-left: 1px solid #d9e0ea;
}
.office-file-xlsx-sheet-grid__floating-image {
  position: absolute;
  z-index: 4;
  object-fit: contain;
  pointer-events: none;
}
/* 仅在图片预览启用时接收指针事件，关闭功能后不阻断表格交互。 */
.office-file-xlsx-sheet-grid__floating-image[data-office-image-previewable='true'] {
  pointer-events: auto;
}
.office-file-xlsx-sheet-grid__floating-chart {
  position: absolute;
  z-index: 5;
}
.office-file-xlsx-chart-sheet {
  display: grid;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
  padding: 24px;
  overflow: auto;
  place-items: center;
  background: var(--office-file-workspace-color);
}
.office-file-xlsx-sheet-table {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  table-layout: fixed;
  color: #1f2937;
  background: var(--office-file-spreadsheet-canvas-color);
  border: 1px solid #b9c4d2;
  border-collapse: collapse;
}
.office-file-xlsx-sheet-table__row-header-col {
  width: 48px;
}
.office-file-xlsx-sheet-table__column-header-layer,
.office-file-xlsx-sheet-table__row-header-layer {
  pointer-events: none;
}
.office-file-xlsx-sheet-table__column-header-layer {
  position: sticky;
  top: 0;
  z-index: 3;
  display: flex;
}
.office-file-xlsx-sheet-table__row-header-layer {
  position: sticky;
  left: 0;
  z-index: 2;
}
.office-file-xlsx-sheet-table__corner,
.office-file-xlsx-sheet-table__column-header,
.office-file-xlsx-sheet-table__row-header,
.office-file-xlsx-sheet-table__overlay-corner,
.office-file-xlsx-sheet-table__overlay-column-header,
.office-file-xlsx-sheet-table__overlay-row-header {
  color: #536174;
  font-weight: 600;
  font-size: 12px;
  background: #e5ebf2;
  border: 1px solid #c5cfdc;
}
.office-file-xlsx-sheet-table__overlay-corner,
.office-file-xlsx-sheet-table__overlay-column-header,
.office-file-xlsx-sheet-table__overlay-row-header {
  box-sizing: border-box;
  flex: 0 0 auto;
}
.office-file-xlsx-sheet-table__overlay-column-header,
.office-file-xlsx-sheet-table__overlay-row-header {
  display: grid;
  line-height: normal;
  place-items: center;
}
.office-file-xlsx-sheet-table__overlay-corner {
  position: sticky;
  left: 0;
  z-index: 4;
}
.office-file-xlsx-sheet-table__corner,
.office-file-xlsx-sheet-table__column-header {
  height: 28px;
}
.office-file-xlsx-sheet-table__row-header {
  position: relative;
  box-sizing: border-box;
  width: 48px;
  padding: 0;
  line-height: 0;
}
.office-file-xlsx-sheet-table__row-header-label {
  position: absolute;
  inset: 0;
  display: grid;
  line-height: 1;
  place-items: center;
}
.office-file-xlsx-sheet-table__cell {
  position: relative;
  box-sizing: border-box;
  padding: 0 2px;
  overflow: visible;
  color: #1f2937;
  line-height: 1.1;
}
.office-file-xlsx-cell-diagonal {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.office-file-xlsx-sheet-table__cell-content {
  position: relative;
  z-index: 2;
  width: max-content;
  min-width: 100%;
  overflow: visible;
}
.office-file-xlsx-sheet-table__cell-content--wrapped {
  width: 100%;
  min-width: 0;
}
.office-file-xlsx-sheet-table__cell-content--clipped {
  position: absolute;
  right: 2px;
  left: 2px;
  width: auto;
  min-width: 0;
  line-height: 1.2;
  overflow: hidden;
}
.office-file-xlsx-sheet-table__cell-content--bounded {
  min-width: 0;
  overflow: hidden;
}
.office-file-xlsx-sheet-table__cell-text {
  position: relative;
  display: grid;
  min-width: 0;
  overflow: visible;
}
.office-file-xlsx-sheet-table__cell-text-value {
  display: block;
  width: max-content;
}
.office-file-xlsx-frozen-panes {
  position: absolute;
  z-index: 9;
  inset: 0;
  pointer-events: none;
}
.office-file-xlsx-frozen-panes .office-file-xlsx-virtual-grid__cell,
.office-file-xlsx-frozen-panes__header {
  pointer-events: auto;
}
.office-file-xlsx-virtual-grid__cell--frozen {
  background-clip: padding-box;
}
.office-file-spreadsheet-annotation-marker {
  position: absolute;
  z-index: 6;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-top: 8px solid #d4380d;
  border-left: 8px solid transparent;
  cursor: pointer;
}
.office-file-spreadsheet-annotation-marker:hover,
.office-file-spreadsheet-annotation-marker[data-active='true'] {
  border-top-color: var(--office-file-primary-color);
  filter: drop-shadow(0 0 1px rgba(15, 23, 42, 0.45));
}
.office-file-spreadsheet-annotation-marker:focus-visible {
  outline: 2px solid var(--office-file-primary-color);
  outline-offset: 2px;
}
.office-file-spreadsheet-filter-indicator {
  position: absolute;
  z-index: 5;
  top: 50%;
  right: 3px;
  width: 0;
  height: 0;
  border-top: 4px solid currentcolor;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
  opacity: 0.72;
  transform: translateY(-25%);
  pointer-events: none;
}
.office-file-spreadsheet-data-bar {
  position: absolute;
  z-index: 1;
  top: 15%;
  bottom: 15%;
  left: 1px;
  max-width: calc(100% - 2px);
  opacity: 0.38;
  pointer-events: none;
}
.office-file-spreadsheet-conditional-icon {
  position: relative;
  z-index: 3;
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 2px;
  vertical-align: -1px;
  pointer-events: none;
}

.office-file-viewer {
  --office-file-primary-color: #1677ff;
  --office-file-primary-hover-color: #4096ff;
  --office-file-primary-active-color: #0958d9;
  --office-file-text-color: #1f2937;
  --office-file-muted-text-color: #64748b;
  --office-file-disabled-text-color: #b8bec8;
  --office-file-surface-color: #fff;
  --office-file-subtle-surface-color: #f8fafc;
  --office-file-workspace-color: #eef1f6;
  --office-file-selected-surface-color: #eaf4ff;
  --office-file-border-color: #dde3ec;
  --office-file-control-border-color: #d9d9d9;
  --office-file-disabled-surface-color: #f5f5f5;
  --office-file-focus-ring-color: rgba(22, 119, 255, 0.24);
  --office-file-overlay-shadow: 0 8px 24px rgba(15, 23, 42, 0.22);
  --office-file-overlay-z-index: 40;
  --office-file-radius: 6px;
  --office-file-toolbar-min-height: 56px;
  --office-file-notice-text: var(--office-file-text-color);
  --office-file-notice-error-color: #cf1322;
  --office-file-notice-error-bg: #fff2f0;
  --office-file-notice-error-border: #ffccc7;
  --office-file-notice-warning-color: #d46b08;
  --office-file-notice-warning-bg: #fffbe6;
  --office-file-notice-warning-border: #ffe58f;
  --office-file-progress-color: var(--office-file-primary-color);
  --office-file-progress-track: rgba(148, 163, 184, 0.28);
  position: relative;
  height: 100%;
  min-height: 0;
  background: var(--office-file-workspace-color);
  font-size: 14px;
}
.office-file-viewer[data-office-theme='dark'] {
  --office-file-primary-color: #4096ff;
  --office-file-primary-hover-color: #69b1ff;
  --office-file-primary-active-color: #1677ff;
  --office-file-text-color: #e5e7eb;
  --office-file-muted-text-color: #94a3b8;
  --office-file-disabled-text-color: #64748b;
  --office-file-surface-color: #111827;
  --office-file-subtle-surface-color: #182235;
  --office-file-workspace-color: #0b1120;
  --office-file-selected-surface-color: #16345f;
  --office-file-border-color: #2b3648;
  --office-file-control-border-color: #3a4658;
  --office-file-disabled-surface-color: #202a3a;
  --office-file-focus-ring-color: rgba(64, 150, 255, 0.36);
  --office-file-overlay-shadow: 0 10px 28px rgba(0, 0, 0, 0.48);
  --office-file-notice-error-color: #ff7875;
  --office-file-notice-error-bg: #2a1215;
  --office-file-notice-error-border: #5c2223;
  --office-file-notice-warning-color: #ffc53d;
  --office-file-notice-warning-bg: #2b2111;
  --office-file-notice-warning-border: #594214;
  --office-file-progress-track: rgba(148, 163, 184, 0.2);
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  .office-file-viewer[data-office-theme='system'] {
    --office-file-primary-color: #4096ff;
    --office-file-primary-hover-color: #69b1ff;
    --office-file-primary-active-color: #1677ff;
    --office-file-text-color: #e5e7eb;
    --office-file-muted-text-color: #94a3b8;
    --office-file-disabled-text-color: #64748b;
    --office-file-surface-color: #111827;
    --office-file-subtle-surface-color: #182235;
    --office-file-workspace-color: #0b1120;
    --office-file-selected-surface-color: #16345f;
    --office-file-border-color: #2b3648;
    --office-file-control-border-color: #3a4658;
    --office-file-disabled-surface-color: #202a3a;
    --office-file-focus-ring-color: rgba(64, 150, 255, 0.36);
    --office-file-overlay-shadow: 0 10px 28px rgba(0, 0, 0, 0.48);
    --office-file-notice-error-color: #ff7875;
    --office-file-notice-error-bg: #2a1215;
    --office-file-notice-error-border: #5c2223;
    --office-file-notice-warning-color: #ffc53d;
    --office-file-notice-warning-bg: #2b2111;
    --office-file-notice-warning-border: #594214;
    --office-file-progress-track: rgba(148, 163, 184, 0.2);
    color-scheme: dark;
  }
}
.office-file-viewer:fullscreen {
  width: 100%;
  height: 100% !important;
}
.office-file-viewer__layout {
  display: flex;
  min-width: 0;
  height: 100%;
  min-height: 0;
  flex-direction: column;
  background: var(--office-file-workspace-color);
}
.office-file-viewer__content {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  background: var(--office-file-workspace-color);
}
.office-file-viewer__workspace {
  display: flex;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
}
.office-file-viewer__stage {
  position: relative;
  flex: 1 1 auto;
  width: 0;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}
.office-file-toolbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  box-sizing: border-box;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  flex-wrap: wrap;
  gap: 8px 16px;
  min-height: var(--office-file-toolbar-min-height);
  padding: 10px 16px;
  color: var(--office-file-text-color);
  background: var(--office-file-surface-color);
  border-bottom: 1px solid var(--office-file-border-color);
}
.office-file-toolbar__file-info {
  display: flex;
  flex: 1 1 0;
  align-items: center;
  min-width: 0;
  gap: 8px;
}
.office-file-type-icon {
  display: block;
  flex: 0 0 auto;
}
.office-file-toolbar__filename-icon {
  font-size: 22px;
}
.office-file-toolbar__filename {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  line-height: 1.4;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.office-file-toolbar__actions {
  display: flex;
  flex: 0 1 auto;
  min-width: 0;
  margin-left: auto;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}
.office-file-toolbar__extra {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
}
.office-file-toolbar__file-input {
  position: fixed;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
  opacity: 0;
  pointer-events: none;
}
.office-file-spreadsheet-view-mode,
.office-file-word-revision-mode {
  box-sizing: border-box;
  height: 32px;
  padding: 0 8px;
  color: var(--office-file-text-color);
  font: inherit;
  background: var(--office-file-surface-color);
  border: 1px solid var(--office-file-control-border);
  border-radius: var(--office-file-radius);
  outline: 0;
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.office-file-spreadsheet-view-mode:hover:not(:disabled),
.office-file-word-revision-mode:hover:not(:disabled) {
  border-color: var(--office-file-control-hover);
}
.office-file-spreadsheet-view-mode:focus-visible,
.office-file-word-revision-mode:focus-visible {
  border-color: var(--office-file-control-hover);
  box-shadow: 0 0 0 2px var(--office-file-focus-ring-color);
}
.office-file-spreadsheet-view-mode:disabled,
.office-file-word-revision-mode:disabled {
  color: var(--office-file-disabled-text-color);
  background: var(--office-file-subtle-surface-color);
  cursor: not-allowed;
}
.office-file-zoom-control {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.office-file-zoom-control .office-file-zoom-icon {
  font-size: 16px;
}
.office-file-zoom-combobox {
  position: relative;
  width: 72px;
}
.office-file-zoom-input-wrap {
  position: relative;
  display: flex;
  height: 32px;
  align-items: center;
  overflow: hidden;
  background: var(--office-file-surface-color);
  border: 1px solid var(--office-file-control-border);
  border-radius: var(--office-file-radius);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.office-file-zoom-input-wrap:hover {
  border-color: var(--office-file-control-hover);
}
.office-file-zoom-input-wrap:focus-within {
  border-color: var(--office-file-control-hover);
  box-shadow: 0 0 0 2px var(--office-file-focus-ring-color);
}
.office-file-zoom-input {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  height: 100%;
  padding: 0 22px 0 8px;
  color: var(--office-file-text-color);
  font: inherit;
  line-height: 30px;
  text-align: center;
  background: transparent;
  border: 0;
  outline: 0;
}
.office-file-zoom-input__suffix {
  position: absolute;
  right: 8px;
  color: var(--office-file-muted-text-color);
  line-height: 1;
  pointer-events: none;
}
.office-file-zoom-options {
  position: absolute;
  z-index: var(--office-file-overlay-z-index);
  top: calc(100% + 4px);
  right: 0;
  box-sizing: border-box;
  width: max-content;
  min-width: 96px;
  padding: 4px;
  background: var(--office-file-surface-color);
  border: 1px solid var(--office-file-border-color);
  border-radius: var(--office-file-radius);
  box-shadow: var(--office-file-overlay-shadow);
}
.office-file-zoom-option {
  display: block;
  width: 100%;
  height: 28px;
  padding: 0 6px;
  color: var(--office-file-text-color);
  font: inherit;
  font-size: 13px;
  text-align: left;
  white-space: nowrap;
  background: transparent;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
}
.office-file-zoom-option:hover,
.office-file-zoom-option[aria-selected='true'] {
  color: var(--office-file-primary-active-color);
  background: var(--office-file-selected-surface-color);
}
.office-file-zoom-option:focus-visible {
  outline: 2px solid var(--office-file-focus-ring-color);
  outline-offset: -2px;
}
.office-file-loading {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  color: var(--office-file-muted-text-color);
}
.office-file-loading__tip {
  line-height: 1.5;
}
.office-file-parse-status {
  position: absolute;
  top: 8px;
  right: 12px;
  left: 12px;
  z-index: 15;
  pointer-events: none;
}
.office-file-parse-status__label {
  display: inline-block;
  margin-bottom: 4px;
  padding: 3px 8px;
  color: var(--office-file-text-color);
  font-size: 12px;
  background: var(--office-file-surface-color);
  border-radius: 4px;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.12);
}
.office-file-parse-status__track {
  height: 3px;
  overflow: hidden;
  background: var(--office-file-progress-track);
  border-radius: 999px;
}
.office-file-parse-status__bar {
  height: 100%;
  background: var(--office-file-progress-color);
  transition: width 160ms ease;
}
.office-file-parse-status__bar--indeterminate {
  width: 35%;
  animation: office-file-parse-indeterminate 1.2s ease-in-out infinite;
}
.office-file-overflow-notice {
  position: absolute;
  bottom: 12px;
  left: 50%;
  z-index: 14;
  box-sizing: border-box;
  max-width: calc(100% - 32px);
  padding: 6px 12px;
  color: var(--office-file-muted-text-color);
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
  white-space: normal;
  pointer-events: none;
  background: var(--office-file-surface-color);
  border: 1px solid var(--office-file-border-color);
  border-radius: 999px;
  box-shadow: 0 3px 12px rgba(15, 23, 42, 0.12);
  opacity: 0.96;
  transform: translate(-50%, 0);
  transition: opacity 180ms ease, transform 180ms ease;
}
@keyframes office-file-parse-indeterminate {
  from {
    transform: translateX(-120%);
  }
  to {
    transform: translateX(360%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .office-file-parse-status__bar {
    transition: none;
  }
  .office-file-parse-status__bar--indeterminate {
    width: 100%;
    animation: none;
    opacity: 0.55;
  }
  .office-file-overflow-notice {
    transition: none;
  }
}
.office-file-error {
  padding: 24px;
}
.office-file-notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 16px;
  color: var(--office-file-notice-text);
  border: 1px solid;
  border-radius: var(--office-file-radius);
}
.office-file-notice--error {
  background: var(--office-file-notice-error-bg);
  border-color: var(--office-file-notice-error-border);
}
.office-file-notice--error .office-file-notice__icon {
  background: var(--office-file-notice-error-color);
}
.office-file-notice--warning {
  background: var(--office-file-notice-warning-bg);
  border-color: var(--office-file-notice-warning-border);
}
.office-file-notice--warning .office-file-notice__icon {
  background: var(--office-file-notice-warning-color);
}
.office-file-notice__icon {
  display: grid;
  flex: 0 0 22px;
  place-items: center;
  width: 22px;
  height: 22px;
  color: #fff;
  font-weight: 700;
  border-radius: 50%;
}
.office-file-notice__content {
  min-width: 0;
}
.office-file-notice__title {
  font-weight: 600;
}
.office-file-notice__description {
  margin-top: 4px;
  line-height: 1.6;
}
.office-file-notice__action {
  margin-top: 12px;
}

.office-file-annotation-panel {
  --office-file-review-panel-width: 300px;
  position: relative;
  box-sizing: border-box;
  flex: 0 0 var(--office-file-review-panel-width);
  width: var(--office-file-review-panel-width);
  min-width: 0;
  height: 100%;
  overflow: visible;
  visibility: visible;
  background: var(--office-file-surface-color);
  border-left: 1px solid var(--office-file-border-color);
  transition: flex-basis 280ms cubic-bezier(0.2, 0, 0, 1), width 280ms cubic-bezier(0.2, 0, 0, 1), visibility 0s linear;
}
.office-file-annotation-panel[data-visible='false'] {
  flex-basis: 0;
  width: 0;
  visibility: hidden;
  pointer-events: none;
  transition: flex-basis 220ms cubic-bezier(0.4, 0, 1, 1), width 220ms cubic-bezier(0.4, 0, 1, 1), visibility 0s linear 220ms;
}
.office-file-annotation-panel[data-resizing='true'] {
  transition: none;
}
.office-file-annotation-panel__surface {
  display: flex;
  width: var(--office-file-review-panel-width);
  height: 100%;
  min-height: 0;
  flex-direction: column;
  overflow: hidden;
}
.office-file-annotation-panel__resize-handle {
  position: absolute;
  z-index: 4;
  top: 0;
  left: -6px;
  display: flex;
  width: 12px;
  height: 100%;
  align-items: center;
  justify-content: center;
  cursor: col-resize;
  touch-action: none;
}
.office-file-annotation-panel__resize-handle::before {
  width: 1px;
  height: 100%;
  background: transparent;
  content: '';
  transition: background 160ms ease;
}
.office-file-annotation-panel__resize-handle > span {
  position: absolute;
  width: 3px;
  height: 44px;
  background: var(--office-file-disabled-text-color);
  border-radius: 999px;
  opacity: 0;
  transition: opacity 160ms ease;
}
.office-file-annotation-panel__resize-handle:hover::before,
.office-file-annotation-panel__resize-handle:focus-visible::before,
.office-file-annotation-panel[data-resizing='true'] .office-file-annotation-panel__resize-handle::before {
  background: var(--office-file-primary-color);
}
.office-file-annotation-panel__resize-handle:hover > span,
.office-file-annotation-panel__resize-handle:focus-visible > span,
.office-file-annotation-panel[data-resizing='true'] .office-file-annotation-panel__resize-handle > span {
  opacity: 1;
}
.office-file-annotation-panel__resize-handle:focus-visible {
  outline: 2px solid var(--office-file-primary-color);
  outline-offset: -2px;
}
.office-file-annotation-panel__header {
  display: flex;
  flex: 0 0 auto;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px 8px 14px;
  border-bottom: 1px solid var(--office-file-border-color);
}
.office-file-annotation-panel__header > div:first-child {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
}
.office-file-annotation-panel__header strong {
  color: var(--office-file-text-color);
  font-size: 14px;
}
.office-file-annotation-panel__header > div:first-child > span {
  color: var(--office-file-muted-text-color);
  font-size: 12px;
}
.office-file-annotation-panel__header-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 4px;
}
.office-file-annotation-panel__summary {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px 12px;
  color: var(--office-file-muted-text-color);
  font-size: 12px;
  background: var(--office-file-subtle-surface-color);
  border-bottom: 1px solid var(--office-file-border-color);
}
.office-file-annotation-panel__summary span {
  padding: 2px 7px;
  background: var(--office-file-surface-color);
  border: 1px solid var(--office-file-border-color);
  border-radius: 999px;
}
.office-file-annotation-panel__list {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  outline: none;
  scrollbar-gutter: stable;
}
.office-file-annotation-panel__list:focus-visible {
  box-shadow: inset 0 0 0 2px var(--office-file-focus-ring-color);
}
.office-file-annotation-panel__list-space {
  position: relative;
  min-height: 100%;
}
.office-file-annotation-panel__item-position {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  box-sizing: border-box;
  height: 112px;
  padding: 6px 10px;
}
.office-file-annotation-panel__item {
  display: flex;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  min-width: 0;
  flex-direction: column;
  gap: 5px;
  padding: 9px 10px;
  color: var(--office-file-text-color);
  font: inherit;
  text-align: left;
  background: var(--office-file-surface-color);
  border: 1px solid var(--office-file-border-color);
  border-radius: 7px;
  cursor: pointer;
  transition: border-color 140ms ease, box-shadow 140ms ease, background 140ms ease;
}
.office-file-annotation-panel__item:hover {
  background: var(--office-file-subtle-surface-color);
  border-color: var(--office-file-primary-hover-color);
}
.office-file-annotation-panel__item[aria-selected='true'] {
  background: var(--office-file-selected-surface-color);
  border-color: var(--office-file-primary-color);
  box-shadow: 0 0 0 1px var(--office-file-focus-ring-color);
}
.office-file-annotation-panel__item:focus-visible {
  outline: 2px solid var(--office-file-primary-color);
  outline-offset: -2px;
}
.office-file-annotation-panel__item-meta,
.office-file-annotation-panel__item-footer {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--office-file-muted-text-color);
  font-size: 11px;
  line-height: 1.3;
}
.office-file-annotation-panel__item-meta strong {
  overflow: hidden;
  color: var(--office-file-text-color);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.office-file-annotation-panel__item-text {
  min-height: 42px;
  max-height: 42px;
  overflow: hidden;
  color: var(--office-file-text-color);
  font-size: 13px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}
.office-file-annotation-panel__resolved {
  color: #237804;
}
.office-file-annotation-panel__status {
  display: grid;
  flex: 1 1 auto;
  min-height: 120px;
  place-items: center;
  padding: 24px;
  color: var(--office-file-muted-text-color);
  line-height: 1.6;
  text-align: center;
}
.office-file-annotation-marker {
  padding: 0;
  color: inherit;
  background: rgba(80, 157, 232, 0.28);
  cursor: pointer;
}
.office-file-annotation-marker--active {
  background: rgba(80, 157, 232, 0.42);
  box-shadow: inset 0 -2px var(--office-file-primary-color);
}
.office-file-annotation-marker--resolved {
  background: rgba(148, 163, 184, 0.28);
}
@media (prefers-reduced-motion: reduce) {
  .office-file-annotation-panel {
    transition: flex-basis 180ms ease-out, width 180ms ease-out, visibility 0s linear;
  }
  .office-file-annotation-panel[data-visible='false'] {
    transition: flex-basis 150ms ease-in, width 150ms ease-in, visibility 0s linear 150ms;
  }
  .office-file-annotation-panel__item,
  .office-file-annotation-panel__resize-handle::before,
  .office-file-annotation-panel__resize-handle > span {
    transition-duration: 80ms;
  }
}

.office-file-chart {
  position: relative;
  overflow: hidden;
}
.office-file-chart__host {
  width: 100%;
  min-width: 0;
  height: 100%;
  min-height: 0;
}
.office-file-chart__snapshot {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.office-file-chart--static {
  box-sizing: border-box;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: #fff;
}
.office-file-chart__loading {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.75);
}
.office-file-chart__empty {
  width: 100%;
  height: 100%;
}

[data-office-hyperlink='true'] {
  cursor: pointer;
}
[data-office-hyperlink='true']:focus-visible {
  outline: 2px solid var(--office-file-control-hover);
  outline-offset: 2px;
}
.office-file-hyperlink-context-menu-layer {
  position: absolute;
  z-index: var(--office-file-overlay-z-index);
  inset: 0;
}
.office-file-hyperlink-context-menu {
  position: absolute;
  box-sizing: border-box;
  width: 184px;
  padding: 4px;
  overflow: hidden;
  color: var(--office-file-text-color);
  background: var(--office-file-surface-color);
  border: 1px solid #dfe4ec;
  border-radius: 7px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.22);
}
.office-file-hyperlink-context-menu__item {
  display: flex;
  width: 100%;
  min-height: 36px;
  padding: 7px 10px;
  align-items: center;
  gap: 8px;
  color: inherit;
  font: inherit;
  font-size: 13px;
  text-align: left;
  background: transparent;
  border: 0;
  border-radius: 5px;
  cursor: pointer;
}
.office-file-hyperlink-context-menu__item:hover,
.office-file-hyperlink-context-menu__item:focus-visible {
  color: var(--office-file-primary-active-color);
  background: var(--office-file-selected-surface-color);
  outline: 0;
}
.office-file-hyperlink-context-menu__item:disabled {
  color: #a8afb9;
  background: transparent;
  cursor: wait;
}
.office-file-hyperlink-context-menu__item .office-file-icon {
  flex: none;
  font-size: 16px;
}
.office-file-hyperlink-context-menu__error {
  padding: 6px 10px;
  color: #cf1322;
  font-size: 12px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.office-file-hyperlink-hint {
  position: absolute;
  z-index: var(--office-file-overlay-z-index);
  bottom: 20px;
  left: 50%;
  max-width: calc(100% - 32px);
  padding: 8px 14px;
  color: #fff;
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
  background: rgba(15, 23, 42, 0.86);
  border-radius: 6px;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.24);
  pointer-events: none;
  transform: translateX(-50%);
  animation: office-file-hyperlink-hint-enter 140ms ease-out;
}
@keyframes office-file-hyperlink-hint-enter {
  from {
    opacity: 0;
    transform: translate(-50%, 4px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .office-file-hyperlink-hint {
    animation: none;
  }
}

.office-file-previewable-image[data-office-image-previewable='true'] {
  cursor: zoom-in;
}
.office-file-previewable-image:focus-visible {
  outline: 2px solid var(--office-file-control-hover);
  outline-offset: 2px;
}
.office-file-image-context-menu-layer,
.office-file-image-preview-layer {
  position: absolute;
  inset: 0;
}
.office-file-image-context-menu-layer {
  z-index: var(--office-file-overlay-z-index);
}
.office-file-image-context-menu {
  position: absolute;
  box-sizing: border-box;
  width: 168px;
  padding: 4px;
  overflow: hidden;
  color: var(--office-file-text-color);
  background: var(--office-file-surface-color);
  border: 1px solid #dfe4ec;
  border-radius: 7px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.22);
}
.office-file-image-context-menu__item {
  display: flex;
  width: 100%;
  min-height: 36px;
  padding: 7px 10px;
  align-items: center;
  gap: 8px;
  color: inherit;
  font: inherit;
  font-size: 13px;
  text-align: left;
  background: transparent;
  border: 0;
  border-radius: 5px;
  cursor: pointer;
}
.office-file-image-context-menu__item:hover,
.office-file-image-context-menu__item:focus-visible {
  color: var(--office-file-primary-active-color);
  background: var(--office-file-selected-surface-color);
  outline: 0;
}
.office-file-image-context-menu__item:disabled {
  color: #a8afb9;
  background: transparent;
  cursor: wait;
}
.office-file-image-context-menu__item .office-file-icon {
  flex: none;
  font-size: 16px;
}
.office-file-image-context-menu__error {
  padding: 6px 10px;
  color: #cf1322;
  font-size: 12px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.office-file-image-preview-layer {
  z-index: calc(var(--office-file-overlay-z-index) + 10);
  color: var(--office-file-subtle-surface-color);
  background: rgba(8, 15, 29, 0.78);
  animation: office-file-image-preview-enter 160ms ease-out;
}
.office-file-image-preview-dialog {
  display: flex;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  flex-direction: column;
  outline: 0;
}
.office-file-image-preview-dialog__header {
  display: flex;
  min-height: 56px;
  padding: 10px 14px;
  align-items: center;
  justify-content: space-between;
  flex: none;
  flex-wrap: wrap;
  gap: 8px 16px;
  background: rgba(8, 15, 29, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.office-file-image-preview-dialog__title {
  flex: 1 1 180px;
  min-width: 0;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.5;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.office-file-image-preview-dialog__toolbar {
  display: flex;
  flex: 0 1 auto;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}
.office-file-image-preview-dialog__toolbar .office-file-button {
  color: var(--office-file-subtle-surface-color);
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.24);
}
.office-file-image-preview-dialog__toolbar .office-file-button:not(:disabled):hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.17);
  border-color: rgba(255, 255, 255, 0.44);
}
.office-file-image-preview-dialog__toolbar .office-file-button:disabled {
  color: rgba(248, 250, 252, 0.38);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
}
.office-file-image-preview-dialog__zoom {
  width: 48px;
  color: var(--office-file-subtle-surface-color);
  font-size: 13px;
  text-align: center;
}
.office-file-image-preview-dialog__viewport {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  cursor: default;
  touch-action: none;
}
.office-file-image-preview-dialog__image {
  position: absolute;
  top: 50%;
  left: 50%;
  max-width: none;
  max-height: none;
  user-select: none;
  cursor: grab;
  pointer-events: auto;
  will-change: transform;
}
.office-file-image-preview-dialog__viewport[data-dragging='true'] .office-file-image-preview-dialog__image {
  cursor: grabbing;
}
.office-file-image-preview-dialog__status {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  color: #e2e8f0;
}
.office-file-image-preview-dialog__error {
  flex: none;
  padding: 7px 14px;
  color: #ffccc7;
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
  background: rgba(207, 19, 34, 0.22);
}
@keyframes office-file-image-preview-enter {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .office-file-image-preview-layer {
    animation: none;
  }
}

.office-file-viewer {
  --office-file-control-text: var(--office-file-text-color);
  --office-file-control-border: var(--office-file-control-border-color);
  --office-file-control-hover: var(--office-file-primary-color);
  --office-file-control-primary: var(--office-file-primary-color);
  --office-file-control-disabled: var(--office-file-disabled-text-color);
  --office-file-control-disabled-bg: var(--office-file-disabled-surface-color);
}
.office-file-button {
  display: inline-flex;
  box-sizing: border-box;
  min-width: 32px;
  height: 32px;
  padding: 0 12px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--office-file-control-text);
  font: inherit;
  line-height: 1;
  white-space: nowrap;
  background: var(--office-file-surface-color);
  border: 1px solid var(--office-file-control-border);
  border-radius: var(--office-file-radius);
  cursor: pointer;
  transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}
.office-file-button:not(:disabled):hover {
  color: var(--office-file-control-hover);
  border-color: var(--office-file-control-hover);
}
.office-file-button:not(:disabled):active {
  color: var(--office-file-primary-active-color);
  border-color: var(--office-file-primary-active-color);
}
.office-file-button:focus-visible {
  outline: 2px solid var(--office-file-focus-ring-color);
  outline-offset: 1px;
}
.office-file-button:disabled {
  color: var(--office-file-control-disabled);
  background: var(--office-file-control-disabled-bg);
  border-color: var(--office-file-border-color);
  cursor: not-allowed;
}
.office-file-button--primary {
  color: #fff;
  background: var(--office-file-control-primary);
  border-color: var(--office-file-control-primary);
}
.office-file-button--primary:not(:disabled):hover {
  color: #fff;
  background: var(--office-file-primary-hover-color);
  border-color: var(--office-file-primary-hover-color);
}
.office-file-button--primary:not(:disabled):active {
  color: #fff;
  background: var(--office-file-primary-active-color);
  border-color: var(--office-file-primary-active-color);
}
.office-file-button--small {
  min-width: 24px;
  height: 24px;
  padding: 0 8px;
  font-size: 12px;
}
.office-file-button--icon-only {
  width: 32px;
  padding: 0;
}
.office-file-button--small.office-file-button--icon-only {
  width: 24px;
}
.office-file-button__icon,
.office-file-button__label {
  display: inline-flex;
  align-items: center;
}
.office-file-button__icon {
  justify-content: center;
  line-height: 0;
}
.office-file-tooltip {
  position: relative;
  display: inline-flex;
  min-width: 0;
}
.office-file-tooltip__bubble {
  position: absolute;
  z-index: var(--office-file-overlay-z-index);
  top: calc(100% + 7px);
  left: 50%;
  visibility: hidden;
  max-width: 240px;
  padding: 5px 8px;
  overflow: hidden;
  color: #fff;
  font-size: 12px;
  line-height: 1.4;
  white-space: nowrap;
  text-overflow: ellipsis;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.82);
  border-radius: 4px;
  opacity: 0;
  transform: translate(-50%, -3px);
  transition: opacity 120ms ease, transform 120ms ease,
    visibility 0s linear 120ms;
}
.office-file-tooltip--bottom-end .office-file-tooltip__bubble {
  right: 0;
  left: auto;
  transform: translateY(-3px);
}
.office-file-tooltip:hover .office-file-tooltip__bubble,
.office-file-tooltip:focus-within .office-file-tooltip__bubble {
  visibility: visible;
  opacity: 1;
  transform: translate(-50%, 0);
  transition-delay: 0s;
}
.office-file-tooltip--bottom-end:hover .office-file-tooltip__bubble,
.office-file-tooltip--bottom-end:focus-within .office-file-tooltip__bubble {
  transform: translateY(0);
}
.office-file-tooltip[data-dismissed='true'] .office-file-tooltip__bubble {
  visibility: hidden;
  opacity: 0;
}
.office-file-spinner {
  display: inline-flex;
  width: 16px;
  height: 16px;
  align-items: center;
  justify-content: center;
  color: var(--office-file-control-primary);
}
.office-file-spinner--large {
  width: 28px;
  height: 28px;
}
.office-file-spinner__indicator {
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  border: 2px solid currentcolor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: office-file-spinner-rotate 720ms linear infinite;
}
.office-file-spinner--large .office-file-spinner__indicator {
  border-width: 3px;
}
.office-file-empty-state {
  display: flex;
  min-width: 0;
  min-height: 120px;
  padding: 20px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  color: var(--office-file-muted-text-color);
  text-align: center;
}
.office-file-empty-state__icon {
  display: block;
  flex: none;
  font-size: 94px;
}
.office-file-empty-state__description {
  max-width: 100%;
  line-height: 1.6;
}
@keyframes office-file-spinner-rotate {
  to {
    transform: rotate(360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .office-file-button,
  .office-file-tooltip__bubble {
    transition: none;
  }
  .office-file-spinner__indicator {
    animation-duration: 1.4s;
  }
}

.office-file-watermark-surface {
  position: relative;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}
.office-file-watermark-layer {
  position: absolute;
  z-index: 12;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
}

.office-viewer-layout__watermark-surface,
.office-viewer-layout__viewport {
  width: 100%;
  height: 100%;
}
.office-viewer-layout__watermark-surface {
  background: var(--office-file-workspace-color);
}
.office-viewer-layout__viewport {
  min-width: 0;
  min-height: 0;
  overflow: auto;
}
.office-viewer-layout__content {
  box-sizing: border-box;
  min-width: 100%;
  min-height: 100%;
  transform-origin: top left;
}
.office-viewer-layout__content[data-content-scaling='managed'] {
  transform: scale(var(--office-viewer-layout-scale));
}
.office-viewer-layout__shell-root {
  display: grid;
  grid-template: 'toolbar toolbar' auto 'sidebar viewport' minmax(0, 1fr) 'status status' auto / fit-content(20rem) minmax(0, 1fr);
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
}
.office-viewer-layout__shell-toolbar,
.office-viewer-layout__shell-status-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  min-width: 0;
  padding: 4px 8px;
}
.office-viewer-layout__shell-toolbar {
  grid-area: toolbar;
  border-bottom: 1px solid var(--office-file-border-color);
}
.office-viewer-layout__shell-status-bar {
  grid-area: status;
  border-top: 1px solid var(--office-file-border-color);
}
.office-viewer-layout__shell-viewport {
  grid-area: viewport;
  min-width: 0;
  min-height: 0;
  overflow: auto;
}
.office-viewer-layout__shell-sidebar {
  grid-area: sidebar;
  min-width: 0;
  overflow: auto;
  border-right: 1px solid var(--office-file-border-color);
}
.office-viewer-layout__shell-file-info {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.office-viewer-layout__shell-zoom {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
@media (max-width: 640px) {
  .office-viewer-layout__shell-root {
    grid-template: 'toolbar' auto 'sidebar' auto 'viewport' minmax(0, 1fr) 'status' auto / minmax(0, 1fr);
  }
  .office-viewer-layout__shell-sidebar {
    border-right: 0;
    border-bottom: 1px solid var(--office-file-border-color);
  }
}
@media (prefers-reduced-motion: reduce) {
  .office-viewer-layout__shell-toolbar,
  .office-viewer-layout__shell-sidebar,
  .office-viewer-layout__shell-viewport,
  .office-viewer-layout__shell-status-bar {
    scroll-behavior: auto;
    transition: none;
    animation: none;
  }
}
