
.dialog-wrap[data-v-049f5315] {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  pointer-events: none;
}
.modal[data-v-049f5315] {
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
}
.dialog[data-v-049f5315] {
  min-width: 600px;
  background: #fff;
  position: absolute;
  -webkit-box-shadow: 0 4px 16px rgba(0,0,0,0.2);
          box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  border-radius: 0 0 4px 4px;
  -webkit-transition: width 0s, height 0s;
  transition: width 0s, height 0s;

  /* ✨ 修改 1：使用 Flex 布局取代会导致截断的 paddingTop 计算方法 */
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;

  pointer-events: auto;
}
.dialog.is-maximized[data-v-049f5315] {
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  border-radius: 0;
}
.title-wrap[data-v-049f5315] {
  width: 100%;
  height: 45px;
  -ms-flex-negative: 0;
      flex-shrink: 0; /* ✨ 修改 2：标题栏固定高度不被挤压 */
  padding: 0 80px 0 15px;
  background: #f5f7fa;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  cursor: move;
  border-bottom: 1px solid #e4e7ed;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}
.title[data-v-049f5315] {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  font-size: 15px;
  color: #303133;
  font-weight: bold;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.toolbar[data-v-049f5315] {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding-right: 15px;
  cursor: auto;
}
.tool-btn[data-v-049f5315] { color: #606266; padding: 0 5px; font-size: 14px;
}
.tool-btn[data-v-049f5315]:hover { color: #409eff;
}
.zoom-text[data-v-049f5315] { font-size: 13px; color: #909399; margin: 0 8px; width: 40px; text-align: center;
}
.content-wrap[data-v-049f5315] {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;     /* ✨ 修改 3：自动占据所有剩余空间 */
  height: 0;   /* 必须配合 height: 0 才能在 flex 子级里面出现正常的滚动条 */
  width: 100%;
}
.content[data-v-049f5315] {
  height: 100%;
  overflow: auto;
  position: relative;
  background: #f8f9fa;
}
.is-dragging[data-v-049f5315] { pointer-events: none;
}
.preview-box[data-v-049f5315] {
  width: 100%;
  height: 100%; /* ✨ 修改 4：保证 Excel 能拿到绝对准确的高度计算工作表 Tab 位置 */
  -webkit-transform-origin: top center;
          transform-origin: top center;
}
.close[data-v-049f5315], .max-win[data-v-049f5315] {
  width: 35px;
  height: 45px;
  line-height: 45px;
  text-align: center;
  position: absolute;
  top: 0;
  cursor: pointer;
  color: #909399;
  font-size: 16px;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
  z-index: 10;
}
.close[data-v-049f5315] { right: 5px;
}
.max-win[data-v-049f5315] { right: 40px;
}
.close[data-v-049f5315]:hover { color: #f56c6c; background: #fee2e2;
}
.max-win[data-v-049f5315]:hover { color: #409eff; background: #e0eaff;
}
.resize[data-v-049f5315] {
  width: 20px;
  height: 20px;
  position: absolute;
  bottom: 0;
  right: 0;
  cursor: nw-resize;
  z-index: 10;
}
.img-preview[data-v-049f5315] {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  min-height: 100%;
  padding: 20px;
}
.img-preview img[data-v-049f5315] {
  max-width: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}
.unsupported[data-v-049f5315] {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  height: 100%;
  color: #606266;
}
.unsupported i[data-v-049f5315] {
  font-size: 50px;
  color: #c0c4cc;
  margin-bottom: 15px;
}
.download-link[data-v-049f5315] {
  margin-top: 15px;
  padding: 8px 20px;
  background: #409eff;
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
}
.dialog-enter-active[data-v-049f5315], .dialog-leave-active[data-v-049f5315] {
  -webkit-transition: opacity 0.2s;
  transition: opacity 0.2s;
}
.dialog-enter-active .dialog[data-v-049f5315], .dialog-leave-active .dialog[data-v-049f5315] {
  -webkit-transition: -webkit-transform 0.2s;
  transition: -webkit-transform 0.2s;
  transition: transform 0.2s;
  transition: transform 0.2s, -webkit-transform 0.2s;
}
.dialog-enter .dialog[data-v-049f5315], .dialog-leave-to .dialog[data-v-049f5315] {
  -webkit-transform: scale3d(0.9, 0.9, 1);
          transform: scale3d(0.9, 0.9, 1);
}
.dialog-enter[data-v-049f5315], .dialog-leave-to[data-v-049f5315] {
  opacity: 0;
}
.text-preview[data-v-049f5315] {
  padding: 20px;
  background: #fff;
  min-height: 100%;
  text-align: left;
}
.text-content[data-v-049f5315] {
  margin: 0;
  white-space: pre-wrap; /* 关键：自动换行 */
  word-wrap: break-word;
  font-family: monospace; /* 等宽字体 */
  font-size: 14px;
  line-height: 1.6;
  color: #333;
}


[data-v-56628857] .el-dialog__header {
  padding: 20px 20px 10px!important;
  border-bottom: 1px solid #EFEFEF!important;
  border-radius: 5px!important;
}
[data-v-56628857] .el-dialog__headerbtn {
  top: 20px!important;
}
[data-v-56628857] .dkh-collapse .el-collapse-item__header {
  background-color: red !important;
}

