body {
  margin: 0;
}
.x-spreadsheet {
  font-size: 13px;
  line-height: normal;
  user-select: none;
  -moz-user-select: none;
  font-family: 'Lato', 'Source Sans Pro', Roboto, Helvetica, Arial, sans-serif;
  box-sizing: content-box;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
.x-spreadsheet textarea {
  font: 400 13px Arial, 'Lato', 'Source Sans Pro', Roboto, Helvetica, sans-serif;
}
.x-spreadsheet-sheet {
  position: relative;
  overflow: hidden;
}
.x-spreadsheet-table {
  vertical-align: bottom;
}
.x-spreadsheet-tooltip {
  font-family: inherit;
  position: absolute;
  padding: 5px 10px;
  color: #fff;
  border-radius: 1px;
  background: #000000;
  font-size: 12px;
  z-index: 201;
}
.x-spreadsheet-tooltip:before {
  pointer-events: none;
  position: absolute;
  left: calc(50% - 4px);
  top: -4px;
  content: "";
  width: 8px;
  height: 8px;
  background: inherit;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  z-index: 1;
  box-shadow: 1px 1px 3px -1px rgba(0, 0, 0, 0.3);
}
.x-spreadsheet-comment-tip {
  font-family: inherit;
  position: absolute;
  padding: 5px 10px;
  color: #fff;
  border-radius: 1px;
  background: #ffffe1;
  font-size: 12px;
  z-index: 201;
}
.x-spreadsheet-comment-tip:before {
  pointer-events: none;
  position: absolute;
  left: -4px;
  top: calc(50% - 4px);
  content: "";
  width: 8px;
  height: 8px;
  background: inherit;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  z-index: 1;
  box-shadow: 1px 1px 3px -1px rgba(255, 255, 0, 0.3);
}
.x-spreadsheet-html-tip {
  position: absolute;
  z-index: 997;
}
.x-spreadsheet-formula-explain {
  font-family: inherit;
  position: absolute;
  padding: 5px 10px;
  color: #fff;
  border-radius: 1px;
  background: #FFF8DC;
  opacity: 0.7;
  font-size: 12px;
  z-index: 201;
  max-width: 300px;
}
.x-spreadsheet-formula-explain:before {
  pointer-events: none;
  position: absolute;
  left: -4px;
  top: calc(50% - 4px);
  content: "";
  width: 8px;
  height: 8px;
  background: inherit;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  z-index: 1;
  box-shadow: 1px 1px 3px -1px rgba(255, 255, 0, 0.3);
}
.x-spreadsheet-color-palette {
  padding: 5px;
}
.x-spreadsheet-color-palette table {
  margin: 0;
  padding: 0;
  border-collapse: separate;
  border-spacing: 2px;
  background: #fff;
}
.x-spreadsheet-color-palette table td {
  margin: 0;
  cursor: pointer;
  border: 1px solid transparent;
}
.x-spreadsheet-color-palette table td:hover {
  border-color: #ddd;
}
.x-spreadsheet-color-palette table td .x-spreadsheet-color-palette-cell {
  width: 16px;
  height: 16px;
}
.x-spreadsheet-banner {
  display: flex;
  width: 100%;
  background: #f5f6f7;
}
.x-spreadsheet-banner-info {
  display: flex;
  height: 80px;
  text-align: left;
  width: 90%;
  flex-direction: column;
}
.x-spreadsheet-banner-info-s {
  display: flex;
  height: 40px;
  text-align: left;
  width: 90%;
  flex-direction: column;
}
.x-spreadsheet-banner-icon {
  width: 60px;
  height: 60px;
  margin: 10px;
  background-repeat: no-repeat;
  background-image: url(555f60323063f2b68b6eac7ce9c45b19.svg);
}
.x-spreadsheet-banner-icon-s {
  width: 30px;
  height: 30px;
  margin: 5px;
  background-repeat: no-repeat;
  background-image: url(555f60323063f2b68b6eac7ce9c45b19.svg);
}
.x-spreadsheet-banner-filename {
  width: max-content;
  max-width: 90%;
  height: 40px;
  padding: 0 5px;
  font-size: xx-large;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
}
.x-spreadsheet-banner-filename-name {
  white-space: nowrap;
  overflow-x: scroll;
  display: flex;
  align-items: center;
}
.x-spreadsheet-banner-filename-name::-webkit-scrollbar {
  display: none;
}
.x-spreadsheet-border-palette {
  padding: 6px;
}
.x-spreadsheet-border-palette table {
  margin: 0;
  padding: 0;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  table-layout: fixed;
}
.x-spreadsheet-border-palette table td {
  margin: 0;
}
.x-spreadsheet-border-palette .x-spreadsheet-border-palette-left {
  border-right: 1px solid #eee;
  padding-right: 6px;
}
.x-spreadsheet-border-palette .x-spreadsheet-border-palette-left .x-spreadsheet-border-palette-cell {
  width: 30px;
  height: 30px;
  cursor: pointer;
  text-align: center;
}
.x-spreadsheet-border-palette .x-spreadsheet-border-palette-left .x-spreadsheet-border-palette-cell .x-spreadsheet-icon-img {
  opacity: 0.8;
}
.x-spreadsheet-border-palette .x-spreadsheet-border-palette-left .x-spreadsheet-border-palette-cell:hover {
  background-color: #eee;
}
.x-spreadsheet-border-palette .x-spreadsheet-border-palette-right {
  padding-left: 6px;
}
.x-spreadsheet-border-palette .x-spreadsheet-border-palette-right .x-spreadsheet-toolbar-btn {
  margin-top: 0;
  margin-bottom: 3px;
}
.x-spreadsheet-border-palette .x-spreadsheet-border-palette-right .x-spreadsheet-line-type {
  position: relative;
  left: 0;
  top: -3px;
}
.x-spreadsheet-dropdown {
  position: relative;
}
.x-spreadsheet-dropdown .x-spreadsheet-dropdown-content {
  position: absolute;
  z-index: 200;
  background: white;
  border: 1px solid #ccc;
  border-radius: 2px;
  box-shadow: 1px 2px 5px 2px rgba(51, 51, 51, 0.15);
  max-height: 600px;
  font-size: medium;
  font-weight: 500;
  overflow-y: auto;
}
.x-spreadsheet-dropdown.bottom-left .x-spreadsheet-dropdown-content {
  top: calc(100% + 5px);
  left: 0;
  overflow-y: visible;
}
.x-spreadsheet-dropdown.bottom-left .x-spreadsheet-menubar-dropdown-content {
  top: -5px;
  left: calc(100% + 15px);
}
.x-spreadsheet-dropdown.bottom-right .x-spreadsheet-dropdown-content {
  top: calc(100% + 5px);
  right: 0;
  left: auto;
}
.x-spreadsheet-dropdown.bottom-right .x-spreadsheet-menubar-dropdown-content {
  top: -5px;
  right: calc(100% + 15px);
  left: auto;
}
.x-spreadsheet-dropdown.bottom-center .x-spreadsheet-dropdown-content {
  top: calc(100% + 5px);
  right: calc(-75% + 5px);
  left: auto;
}
.x-spreadsheet-dropdown.bottom-center .x-spreadsheet-menubar-dropdown-content {
  top: calc(100% + 5px);
  right: calc(-75% + 5px);
  left: auto;
}
.x-spreadsheet-dropdown.top-left .x-spreadsheet-dropdown-content {
  bottom: calc(100% + 5px);
  left: 0;
}
.x-spreadsheet-dropdown.top-left .x-spreadsheet-menubar-dropdown-content {
  top: -5px;
  left: calc(100% + 15px);
}
.x-spreadsheet-dropdown.top-right .x-spreadsheet-dropdown-content {
  bottom: calc(100% + 5px);
  right: 0;
}
.x-spreadsheet-dropdown.top-right .x-spreadsheet-menubar-dropdown-content {
  top: -5px;
  left: calc(100% + 15px);
}
.x-spreadsheet-dropdown .x-spreadsheet-dropdown-title {
  padding: 0 5px;
  display: inline-block;
}
.x-spreadsheet-dropdown .x-spreadsheet-dropdown-header .x-spreadsheet-icon.arrow-left {
  margin-left: 4px;
}
.x-spreadsheet-dropdown .x-spreadsheet-dropdown-header .x-spreadsheet-icon.arrow-right {
  width: 10px;
  margin-right: 4px;
}
.x-spreadsheet-dropdown .x-spreadsheet-dropdown-header .x-spreadsheet-icon.arrow-right .arrow-down {
  left: -130px;
}
.x-spreadsheet-autofill-option-group {
  background-color: white;
  position: absolute;
  flex-direction: column;
  display: flex;
  width: max-content;
  left: 0;
  top: 25px;
  border: 1px solid #ccc;
  box-shadow: 4px 3px 2px 0 rgba(0, 0, 0, 0.1);
  z-index: 999;
}
.x-spreadsheet-autofill-option-radio {
  display: flex;
  align-items: baseline;
  padding: 5px;
}
.x-spreadsheet-autofill-option-radio:hover {
  background-color: #f5f6f7;
}
.x-spreadsheet-autofill-option {
  width: 30px;
  height: 23px;
  position: absolute;
  z-index: 999;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1px;
  border: 1px solid #ccc;
}
.x-spreadsheet-chart-button-group {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 5px;
  z-index: 1000;
}
.x-spreadsheet-chart-button {
  width: 100%;
  display: flex;
  justify-content: center;
  padding-left: 1px;
  padding-right: 1px;
  background-color: white;
  border: 1px solid #bbb;
}
.x-spreadsheet-chart-color-row {
  display: flex;
  justify-content: center;
  gap: 2px;
  padding: 2px;
}
.x-spreadsheet-chart-color-row:hover {
  background-color: #f5f6f7;
  box-shadow: 0 0 0 1px #bbb;
}
.x-spreadsheet-chart-button-detail {
  width: 180px;
  background-color: white;
  border: 1px solid #ccc;
  position: absolute;
  z-index: 1001;
  padding: 5px;
}
/* resizer **/
.x-spreadsheet-resizer {
  position: absolute;
  z-index: 11;
}
.x-spreadsheet-resizer .x-spreadsheet-resizer-hover {
  background-color: rgba(75, 137, 255, 0.25);
}
.x-spreadsheet-resizer .x-spreadsheet-resizer-line {
  position: absolute;
}
.x-spreadsheet-resizer.horizontal {
  cursor: row-resize;
}
.x-spreadsheet-resizer.horizontal .x-spreadsheet-resizer-line {
  border-bottom: 2px dashed #4b89ff;
  left: 0;
  bottom: 0;
}
.x-spreadsheet-resizer.vertical {
  cursor: col-resize;
}
.x-spreadsheet-resizer.vertical .x-spreadsheet-resizer-line {
  border-right: 2px dashed #4b89ff;
  top: 0;
  right: 0;
}
/* scrollbar */
.x-spreadsheet-scrollbar {
  position: absolute;
  bottom: 0;
  right: 0;
  background-color: #f4f5f8;
  opacity: 0.9;
  z-index: 12;
}
.x-spreadsheet-scrollbar.horizontal {
  right: 15px;
  overflow-x: scroll;
  overflow-y: hidden;
  height: 12px;
  /* 固定高度，避免覆盖表格内容 */
}
.x-spreadsheet-scrollbar.horizontal > div {
  height: 1px;
  background: #ddd;
}
.x-spreadsheet-scrollbar.vertical {
  bottom: 15px;
  overflow-x: hidden;
  overflow-y: scroll;
}
.x-spreadsheet-scrollbar.vertical > div {
  width: 1px;
  background: #ddd;
}
/* @{css-prefix}-overlayer */
.x-spreadsheet-overlayer {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 10;
}
.x-spreadsheet-overlayer .x-spreadsheet-overlayer-content {
  position: absolute;
  overflow: hidden;
  pointer-events: none;
  width: 100%;
  height: 100%;
}
.x-spreadsheet-editor,
.x-spreadsheet-selector {
  box-sizing: content-box;
  position: absolute;
  overflow: hidden;
  pointer-events: none;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
/* @{css-prefix}-selector */
.x-spreadsheet-selector .hide-input {
  position: absolute;
  z-index: 0;
}
.x-spreadsheet-selector .hide-input input {
  padding: 0;
  width: 0;
  border: none !important;
}
.x-spreadsheet-selector .x-spreadsheet-selector-area {
  position: absolute;
  border: 2px solid #4b89ff;
  background: rgba(75, 137, 255, 0.1);
  z-index: 5;
  box-sizing: content-box;
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
}
.x-spreadsheet-selector .x-spreadsheet-selector-area.dashed {
  border: 2px dashed #4b89ff;
}
.x-spreadsheet-selector .x-spreadsheet-selector-validation-input-message {
  position: relative;
  z-index: 100;
  background: #f5f6f7;
  border: 2px solid #e0e2e4;
  border-radius: 5px;
  padding: 5px;
  font-size: 12px;
  color: #333;
  box-shadow: 1px 2px 5px 2px rgba(51, 51, 51, 0.15);
}
.x-spreadsheet-selector .x-spreadsheet-selector-clipboard,
.x-spreadsheet-selector .x-spreadsheet-selector-autofill,
.x-spreadsheet-selector .x-spreadsheet-selector-fixed-cell {
  position: absolute;
  background: transparent;
  z-index: 100;
}
.x-spreadsheet-selector .x-spreadsheet-selector-clipboard {
  border: 2px dashed #4b89ff;
}
.x-spreadsheet-selector .x-spreadsheet-selector-fixed-cell {
  border: 2px solid #4b89ff;
}
.x-spreadsheet-selector .x-spreadsheet-selector-autofill {
  border: 1px dashed rgba(0, 0, 0, 0.45);
}
.x-spreadsheet-selector .x-spreadsheet-selector-userlabel {
  position: absolute;
  top: -20px;
  /* 比父级 div 向上偏移 20px */
  left: 0;
  /* 固定在父级 div 的左边 */
  padding: 4px 8px;
}
.x-spreadsheet-selector .x-spreadsheet-selector-corner {
  pointer-events: auto;
  position: absolute;
  cursor: crosshair;
  font-size: 0;
  height: 9px;
  width: 9px;
  right: -5px;
  bottom: -5px;
  border: 2px solid #ffffff;
  background: #4b89ff;
}
.x-spreadsheet-editor {
  z-index: 20;
}
.x-spreadsheet-editor .x-spreadsheet-editor-area {
  position: absolute;
  text-align: left;
  z-index: 100;
  pointer-events: auto;
}
.x-spreadsheet-editor .x-spreadsheet-editor-area textarea {
  box-sizing: content-box;
  border: none;
  padding: 0 3px;
  outline: none;
  resize: none;
  text-align: start;
  overflow-y: hidden;
  font: 400 13px Arial, 'Lato', 'Source Sans Pro', Roboto, Helvetica, sans-serif;
  color: inherit;
  white-space: normal;
  word-wrap: break-word;
  line-height: 22px;
  margin: 0;
}
.x-spreadsheet-editor .x-spreadsheet-editor-area .htmlline {
  outline: 1px solid #f3e0e0c9;
  background: white;
  margin: 2px;
}
.x-spreadsheet-editor .x-spreadsheet-editor-area .textline {
  overflow: hidden;
  visibility: hidden;
  position: fixed;
  top: 0;
  left: 0;
}
.x-spreadsheet-item {
  user-select: none;
  background: 0;
  border: 1px solid transparent;
  outline: none;
  height: 26px;
  color: rgba(0, 0, 0, 0.9);
  line-height: 26px;
  list-style: none;
  padding: 2px 10px;
  cursor: default;
  text-align: left;
  overflow: hidden;
  width: max-content;
  display: flex;
  align-items: center;
  gap: 8px;
}
.x-spreadsheet-item .x-spreadsheet-icon {
  flex-shrink: 0;
}
.x-spreadsheet-item .title {
  flex-grow: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.x-spreadsheet-item.disabled {
  pointer-events: none;
  opacity: 0.5;
}
.x-spreadsheet-item:hover,
.x-spreadsheet-item.active {
  background: rgba(224, 215, 215, 0.9);
}
.x-spreadsheet-item.divider {
  height: 0;
  padding: 0;
  margin: 5px 0;
  border: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  display: block;
}
.x-spreadsheet-item .label {
  float: right;
  opacity: 0.65;
  font-size: 1em;
  margin-left: auto;
  padding-left: 10px;
  flex-shrink: 0;
}
.x-spreadsheet-item .labelcnt {
  float: right;
  color: green;
  font-size: 1em;
}
.x-spreadsheet-contextmenu .x-spreadsheet-item {
  width: unset;
}
.x-spreadsheet-item.state,
.x-spreadsheet-header.state {
  padding-left: 35px !important;
  position: relative;
}
.x-spreadsheet-item.state:before,
.x-spreadsheet-header.state:before {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  left: 12px;
  top: calc(50% - 5px);
  background: rgba(0, 0, 0, 0.08);
  border-radius: 2px;
}
.x-spreadsheet-item.state.checked:before,
.x-spreadsheet-header.state.checked:before {
  background: #4b89ff;
}
.x-spreadsheet-checkbox {
  position: relative;
  display: inline-block;
  backface-visibility: hidden;
  outline: 0;
  vertical-align: baseline;
  font-style: normal;
  font-size: 1rem;
  line-height: 1em;
}
.x-spreadsheet-checkbox > input {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0 !important;
  outline: 0;
  z-index: -1;
}
.x-spreadsheet-suggest,
.x-spreadsheet-contextmenu,
.x-spreadsheet-sort-filter {
  position: absolute;
  box-shadow: 1px 2px 5px 2px rgba(51, 51, 51, 0.15);
  background: #fff;
  z-index: 100;
  width: 260px;
  pointer-events: auto;
  overflow: auto;
}
.x-spreadsheet-suggest {
  width: 200px;
}
.x-spreadsheet-filter {
  border: 1px solid #e9e9e9;
  font-size: 12px;
  margin: 10px;
}
.x-spreadsheet-filter .x-spreadsheet-header {
  padding: 0.5em 0.75em;
  background: #f8f8f9;
  border-bottom: 1px solid #e9e9e9;
  border-left: 1px solid transparent;
}
.x-spreadsheet-filter .x-spreadsheet-body {
  height: 200px;
  overflow-y: auto;
}
.x-spreadsheet-filter .x-spreadsheet-body .x-spreadsheet-item {
  height: 20px;
  line-height: 20px;
}
.x-spreadsheet-sort-filter .x-spreadsheet-buttons {
  margin: 10px;
}
.x-spreadsheet-toolbar,
.x-spreadsheet-bottombar {
  height: 40px;
  padding: 0 30px;
  text-align: left;
  background: #f5f6f7;
  display: flex;
}
.x-spreadsheet-scroll-button-container {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  border-left: 1px solid #e0e2e4;
  padding: 0 5px;
}
.x-spreadsheet-scroll-button {
  width: 20px;
  height: 20px;
  line-height: 18px;
  text-align: center;
  cursor: pointer;
  border: 1px solid #ccc;
  border-radius: 50%;
  margin: 0 2px;
  user-select: none;
  font-weight: bold;
  color: #666;
  background-color: #fff;
  transition: background-color 0.2s, opacity 0.2s;
}
.x-spreadsheet-scroll-button:hover {
  background-color: #f0f0f0;
}
.x-spreadsheet-scroll-button[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
  background-color: #f5f5f5;
  pointer-events: none;
}
.x-spreadsheet-bottombar {
  position: relative;
  border-top: 1px solid #e0e2e4;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.x-spreadsheet-bottombar .x-spreadsheet-menu > li {
  line-height: 40px;
  height: 40px;
  padding-top: 0;
  padding-bottom: 0;
  vertical-align: middle;
}
.x-spreadsheet-bottombar .x-spreadsheet-stats {
  padding: 0 10px;
  height: 40px;
  display: flex;
  align-items: center;
  color: #666;
  font-size: 12px;
  overflow: hidden;
}
.x-spreadsheet-bottombar .x-spreadsheet-stat-item {
  margin-right: 12px;
  white-space: nowrap;
}
.x-spreadsheet-bottombar [class^="x-spreadsheet-stat-value-"] {
  font-weight: bold;
  color: #333;
}
.x-spreadsheet-menu-wrapper {
  position: relative;
  flex-grow: 1;
  min-width: 0;
  display: flex;
  align-items: center;
}
.x-spreadsheet-menu-wrapper::before,
.x-spreadsheet-menu-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 20px;
  pointer-events: none;
  z-index: 2;
  transition: opacity 0.3s;
  opacity: 0;
}
.x-spreadsheet-menu-wrapper::before {
  left: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.12), transparent);
}
.x-spreadsheet-menu-wrapper::after {
  right: 0;
  background: linear-gradient(to left, rgba(0, 0, 0, 0.12), transparent);
}
.x-spreadsheet-menu-wrapper.scrollable-left::before {
  opacity: 1;
}
.x-spreadsheet-menu-wrapper.scrollable-right::after {
  opacity: 1;
}
.x-spreadsheet-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  user-select: none;
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
}
.x-spreadsheet-menu::-webkit-scrollbar {
  display: none;
}
.x-spreadsheet-bottombar-actions {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  padding: 0 5px;
  height: 100%;
}
.x-spreadsheet-bottombar-actions .x-spreadsheet-icon,
.x-spreadsheet-bottombar-actions .x-spreadsheet-dropdown {
  margin: 0 6px;
}
.x-spreadsheet-menu > li {
  flex-shrink: 0;
  line-height: 1.25em;
  padding: 0.785em 1em;
  margin: 0;
  vertical-align: middle;
  text-align: left;
  color: #80868b;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.3s;
  font-weight: bold;
}
.x-spreadsheet-menu > li.active {
  background-color: #fff;
  color: #3c763d !important;
}
.x-spreadsheet-menu > li .x-spreadsheet-icon {
  margin: 0 6px;
}
.x-spreadsheet-menu > li .x-spreadsheet-icon .x-spreadsheet-icon-img:hover {
  opacity: 0.85;
}
.x-spreadsheet-menu > li .x-spreadsheet-dropdown {
  display: inline-block;
}
.x-spreadsheet-toolbar.x-spreadsheet-menubar {
  padding: 0;
  justify-content: flex-start;
}
.x-spreadsheet-toolbar.x-spreadsheet-menubar .x-spreadsheet-menubar-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 5px;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 5px solid black;
}
.x-spreadsheet-toolbar.x-spreadsheet-menubar .x-spreadsheet-menubar-btn,
.x-spreadsheet-toolbar.x-spreadsheet-menubar .x-spreadsheet-item {
  line-height: 25px;
  height: unset;
  padding: 2px 10px;
  position: relative;
}
.x-spreadsheet-toolbar.x-spreadsheet-menubar .x-spreadsheet-menubar-btn .x-spreadsheet-menu-icon-text,
.x-spreadsheet-toolbar.x-spreadsheet-menubar .x-spreadsheet-item .x-spreadsheet-menu-icon-text {
  align-items: center;
  gap: 5px;
  padding-right: 20px;
}
.x-spreadsheet-toolbar.x-spreadsheet-menubar .x-spreadsheet-menubar-btn .x-spreadsheet-menu-icon-text .x-spreadsheet-icon,
.x-spreadsheet-toolbar.x-spreadsheet-menubar .x-spreadsheet-item .x-spreadsheet-menu-icon-text .x-spreadsheet-icon {
  transform: scale(1.2);
}
.x-spreadsheet-toolbar.x-spreadsheet-menubar .x-spreadsheet-divider {
  width: 90%;
  height: 1px;
  margin: 2px auto;
  background: #e0e2e4;
}
.x-spreadsheet-toolbar {
  border-bottom: 1px solid #e0e2e4;
  justify-content: space-between;
}
.x-spreadsheet-toolbar .x-spreadsheet-toolbar-btns {
  display: inline-flex;
}
.x-spreadsheet-toolbar .x-spreadsheet-toolbar-more {
  padding: 0 6px 6px;
  text-align: left;
}
.x-spreadsheet-toolbar .x-spreadsheet-toolbar-more .x-spreadsheet-toolbar-divider {
  margin-top: 0;
}
.x-spreadsheet-toolbar .x-spreadsheet-toolbar-btn {
  flex: 0 0 auto;
  display: inline-block;
  border: 1px solid transparent;
  height: 26px;
  line-height: 26px;
  min-width: 26px;
  margin: 6px 1px 0;
  padding: 0;
  text-align: center;
  border-radius: 2px;
}
.x-spreadsheet-toolbar .x-spreadsheet-toolbar-btn.disabled {
  pointer-events: none;
  opacity: 0.5;
}
.x-spreadsheet-toolbar .x-spreadsheet-toolbar-btn:hover,
.x-spreadsheet-toolbar .x-spreadsheet-toolbar-btn.active {
  background: rgba(0, 0, 0, 0.08);
}
.x-spreadsheet-toolbar .x-spreadsheet-menubar-btn {
  flex: 0 0 auto;
  border: 1px solid transparent;
  height: 26px;
  line-height: 26px;
  list-style: none;
  padding: 2px 10px;
  cursor: default;
  min-width: 26px;
  margin: 6px 1px 0;
  text-align: left;
  border-radius: 2px;
}
.x-spreadsheet-toolbar .x-spreadsheet-menubar-btn.disabled {
  pointer-events: none;
  opacity: 0.5;
}
.x-spreadsheet-toolbar .x-spreadsheet-menubar-btn:hover,
.x-spreadsheet-toolbar .x-spreadsheet-menubar-btn.active {
  background: rgba(0, 0, 0, 0.08);
}
.x-spreadsheet-toolbar-divider {
  display: inline-block;
  border-right: 1px solid #e0e2e4;
  width: 0;
  vertical-align: middle;
  height: 18px;
  margin: 12px 3px 0;
}
.x-spreadsheet-print {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 100;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.x-spreadsheet-print-bar {
  background: #424242;
  height: 60px;
  line-height: 60px;
  padding: 0 30px;
}
.x-spreadsheet-print-bar .-title {
  color: #fff;
  font-weight: bold;
  font-size: 1.2em;
  float: left;
}
.x-spreadsheet-print-bar .-right {
  float: right;
  margin-top: 12px;
}
.x-spreadsheet-print-content {
  display: flex;
  flex: auto;
  flex-direction: row;
  background: #d0d0d0;
  height: calc(100% - 60px);
}
.x-spreadsheet-print-content .-sider {
  flex: 0 0 300px;
  width: 300px;
  border-left: 2px solid #ccc;
  background: #fff;
}
.x-spreadsheet-print-content .-content {
  flex: auto;
  overflow-x: auto;
  overflow-y: scroll;
  height: 100%;
}
.x-spreadsheet-canvas-card-wraper {
  margin: 40px 20px;
}
.x-spreadsheet-canvas-card {
  background: #fff;
  margin: auto;
  page-break-before: auto;
  page-break-after: always;
  box-shadow: 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 3px rgba(0, 0, 0, 0.12), 0 4px 5px 0 rgba(0, 0, 0, 0.2);
}
.x-spreadsheet-calendar {
  color: rgba(0, 0, 0, 0.65);
  background: #ffffff;
  user-select: none;
}
.x-spreadsheet-calendar .calendar-header {
  font-weight: 700;
  line-height: 30px;
  text-align: center;
  width: 100%;
  float: left;
  background: #f9fafb;
}
.x-spreadsheet-calendar .calendar-header .calendar-header-left {
  padding-left: 5px;
  float: left;
}
.x-spreadsheet-calendar .calendar-header .calendar-header-right {
  float: right;
}
.x-spreadsheet-calendar .calendar-header .calendar-header-right a {
  padding: 3px 0;
  margin-right: 2px;
  border-radius: 2px;
}
.x-spreadsheet-calendar .calendar-header .calendar-header-right a:hover {
  background: rgba(0, 0, 0, 0.08);
}
.x-spreadsheet-calendar .calendar-body {
  border-collapse: collapse;
  border-spacing: 0;
}
.x-spreadsheet-calendar .calendar-body th,
.x-spreadsheet-calendar .calendar-body td {
  width: 14.28571429%;
  min-width: 32px;
  text-align: center;
  font-weight: 700;
  line-height: 30px;
  padding: 0;
}
.x-spreadsheet-calendar .calendar-body td > .cell:hover {
  background: #ecf6fd;
}
.x-spreadsheet-calendar .calendar-body td > .cell.active,
.x-spreadsheet-calendar .calendar-body td > .cell.active:hover {
  background: #ecf6fd;
  color: #2185D0;
}
.x-spreadsheet-calendar .calendar-body td > .cell.disabled {
  pointer-events: none;
  opacity: 0.5;
}
.x-spreadsheet-datepicker {
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
  position: absolute;
  left: 0;
  top: calc(100% + 5px);
  z-index: 10;
  width: auto;
}
.x-spreadsheet-timepicker {
  position: absolute;
  z-index: 1000;
  background-color: #fff;
  border: 1px solid #ccc;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  display: none;
}
.x-spreadsheet-timepicker select {
  padding: 5px 10px;
  border: 1px solid #ddd;
  background-color: #f8f8f8;
  cursor: pointer;
}
.x-spreadsheet-timepicker-hours,
.x-spreadsheet-timepicker-minutes,
.x-spreadsheet-timepicker-seconds {
  display: inline-block;
}
.x-spreadsheet-timepicker select:focus {
  border-color: #105efb;
  outline: none;
}
.x-spreadsheet-timepicker select:hover {
  background-color: #e1e1e1;
}
.x-spreadsheet-buttons {
  display: flex;
  justify-content: flex-end;
}
.x-spreadsheet-buttons .x-spreadsheet-button {
  margin-left: 8px;
}
.x-spreadsheet-button {
  display: inline-block;
  border-radius: 3px;
  line-height: 1em;
  min-height: 1em;
  white-space: nowrap;
  text-align: center;
  cursor: pointer;
  font-size: 1em;
  font-weight: 700;
  padding: 0.75em 1em;
  color: rgba(0, 0, 0, 0.6);
  background: #E0E1E2;
  text-decoration: none;
  font-family: "Lato", "proxima-nova", "Helvetica Neue", Arial, sans-serif;
  outline: none;
  vertical-align: baseline;
  zoom: 1;
  user-select: none;
  transition: all 0.1s linear;
}
.x-spreadsheet-button.active,
.x-spreadsheet-button:hover {
  background-color: #C0C1C2;
  color: rgba(0, 0, 0, 0.8);
}
.x-spreadsheet-button.primary {
  color: #fff;
  background-color: #2185D0;
}
.x-spreadsheet-button.primary:hover,
.x-spreadsheet-button.primary.active {
  color: #fff;
  background-color: #1678c2;
}
.x-spreadsheet-button.formbt {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  margin-left: 5px;
  background-color: #d9dc22;
  font-size: 8px;
}
.x-spreadsheet-button.primary.disabled {
  background-color: #b0b8c1;
  color: rgb(240 229 229);
  pointer-events: none;
  cursor: not-allowed;
}
.x-spreadsheet-modal-component-input-btn {
  border: 1px solid #0078d4;
  color: #0078d4;
  background: white;
  border-radius: 0 5px 5px 0;
}
.x-spreadsheet-gkeyinput {
  width: 0px;
  height: 0px;
  font-size: 1px;
  height: 1px;
  overflow: hidden;
  position: absolute;
  top: -200px;
}
.x-spreadsheet-form-input {
  font-size: 1em;
  position: relative;
  font-weight: 400;
  display: inline-flex;
  color: rgba(0, 0, 0, 0.87);
}
.x-spreadsheet-form-input input {
  z-index: 1;
  margin: 0;
  max-width: 100%;
  flex: 1 0 auto;
  outline: 0;
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
  text-align: left;
  line-height: 30px;
  height: 30px;
  padding: 0 8px;
  background: #fff;
  border: 1px solid #e9e9e9;
  border-radius: 3px;
  transition: box-shadow 0.1s ease, border-color 0.1s ease;
  box-shadow: inset 0 1px 2px hsla(0, 0%, 4%, 0.06);
}
.x-spreadsheet-form-input input:focus {
  border-color: #4b89ff;
  box-shadow: inset 0 1px 2px rgba(75, 137, 255, 0.2);
}
.x-spreadsheet-form-checkbox {
  margin-left: 5px;
  cursor: pointer;
}
.x-spreadsheet-form-checkbox-container {
  display: flex;
  align-items: center;
}
.x-spreadsheet-form-checkbox-container .x-spreadsheet-form-checkbox-label {
  margin-right: 8px;
  user-select: none;
  cursor: pointer;
  color: rgba(0, 0, 0, 0.87);
  white-space: nowrap;
  line-height: 1.2;
  font-size: 75%;
}
.x-spreadsheet-form-checkbox-container .x-spreadsheet-form-checkbox {
  width: 18px;
  height: 18px;
  margin: 0;
  cursor: pointer;
  transform: translateY(-4px);
}
.x-spreadsheet-search-checkbox-fields {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 25px;
  justify-content: flex-start;
}
.x-spreadsheet-search-checkbox-fields .x-spreadsheet-form-checkbox-container {
  margin: 0;
}
.x-spreadsheet-search-checkbox-fields .x-spreadsheet-form-checkbox-container .x-spreadsheet-form-checkbox-label {
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media screen and (max-width: 600px) {
  .x-spreadsheet-search-checkbox-fields {
    gap: 15px;
  }
  .x-spreadsheet-search-checkbox-fields .x-spreadsheet-form-checkbox-container:nth-child(3) {
    flex-basis: 100%;
    margin-top: 8px;
  }
}
@media screen and (max-width: 480px) {
  .x-spreadsheet-search-checkbox-fields {
    gap: 10px;
  }
  .x-spreadsheet-search-checkbox-fields .x-spreadsheet-form-checkbox-container .x-spreadsheet-form-checkbox-label {
    font-size: 12px;
    max-width: 120px;
  }
  .x-spreadsheet-search-checkbox-fields .x-spreadsheet-form-checkbox-container:nth-child(n+2) {
    flex-basis: 100%;
    margin-top: 5px;
  }
}
@media screen and (max-width: 500px) {
  .x-spreadsheet-modal .x-spreadsheet-modal-content {
    padding: 0.5em 0.75em;
  }
  .x-spreadsheet-modal .x-spreadsheet-form-fields {
    margin-bottom: 8px;
  }
  .x-spreadsheet-modal .x-spreadsheet-form-fields .x-spreadsheet-form-field {
    margin-left: 5px;
    margin-bottom: 8px;
  }
  .x-spreadsheet-modal .x-spreadsheet-form-fields .x-spreadsheet-form-field .label {
    margin: 0 5px 0 0;
    font-size: 12px;
  }
  .x-spreadsheet-modal .x-spreadsheet-form-fields .x-spreadsheet-form-input input {
    font-size: 14px;
    padding: 0 6px;
  }
  .x-spreadsheet-modal .x-spreadsheet-buttons {
    gap: 8px;
  }
  .x-spreadsheet-modal .x-spreadsheet-buttons .x-spreadsheet-button {
    padding: 6px 12px;
    font-size: 12px;
  }
}
.x-spreadsheet-form-select {
  position: relative;
  display: inline-block;
  background: #fff;
  border: 1px solid #e9e9e9;
  border-radius: 2px;
  cursor: pointer;
  color: rgba(0, 0, 0, 0.87);
  user-select: none;
  box-shadow: inset 0 1px 2px hsla(0, 0%, 4%, 0.06);
}
.x-spreadsheet-form-select .input-text {
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 60px;
  width: auto;
  height: 30px;
  line-height: 30px;
  padding: 0 8px;
}
.x-spreadsheet-form-fields {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}
.x-spreadsheet-form-fields .x-spreadsheet-form-field {
  flex: 0 1 auto;
}
.x-spreadsheet-form-fields .x-spreadsheet-form-field .label {
  display: inline-block;
  margin: 0 10px 0 0;
  color: rgba(0, 0, 0, 0.87);
}
.x-spreadsheet-form-field {
  display: block;
  vertical-align: middle;
  margin-left: 10px;
  margin-bottom: 10px;
}
.x-spreadsheet-form-field:first-child {
  margin-left: 0;
}
.x-spreadsheet-form-field.error .x-spreadsheet-form-select,
.x-spreadsheet-form-field.error input {
  border-color: #f04134;
}
.x-spreadsheet-form-field .tip {
  color: #f04134;
  font-size: 0.9em;
}
.x-spreadsheet-dimmer {
  display: none;
  position: absolute;
  top: 0 !important;
  left: 0 !important;
  width: 100%;
  height: 100%;
  text-align: center;
  vertical-align: middle;
  background-color: rgba(0, 0, 0, 0.6);
  opacity: 0;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation-duration: 0.5s;
  animation-duration: 0.5s;
  transition: background-color 0.5s linear;
  user-select: none;
  z-index: 1000;
}
.x-spreadsheet-dimmer.active {
  display: block;
  opacity: 1;
}
form fieldset {
  border: none;
}
form fieldset label {
  display: block;
  margin-bottom: 0.5em;
  font-size: 1em;
  color: #666;
}
form fieldset select {
  font-size: 1.1em;
  width: 100%;
  background-color: #fff;
  border: none;
  border-bottom: 2px solid #ddd;
  padding: 0.5em 0.85em;
  border-radius: 2px;
}
.x-spreadsheet-modal,
.x-spreadsheet-toast {
  font-size: 13px;
  position: fixed;
  z-index: 1001;
  text-align: left;
  line-height: 1.25em;
  min-width: 360px;
  color: rgba(0, 0, 0, 0.87);
  font-family: 'Lato', 'Source Sans Pro', Roboto, Helvetica, Arial, sans-serif;
  border-radius: 4px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background-color: #fff;
  background-clip: padding-box;
  box-shadow: rgba(0, 0, 0, 0.2) 0 2px 8px;
}
.x-spreadsheet-toast {
  background-color: rgba(255, 255, 255, 0.85);
}
.x-spreadsheet-modal-header,
.x-spreadsheet-toast-header {
  font-weight: 600;
  background-clip: padding-box;
  background-color: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 4px 4px 0 0;
}
.x-spreadsheet-modal-header .x-spreadsheet-icon,
.x-spreadsheet-toast-header .x-spreadsheet-icon {
  position: absolute;
  right: 0.8em;
  top: 0.65em;
  border-radius: 18px;
}
.x-spreadsheet-modal-header .x-spreadsheet-icon:hover,
.x-spreadsheet-toast-header .x-spreadsheet-icon:hover {
  opacity: 1;
  background: rgba(0, 0, 0, 0.08);
}
.x-spreadsheet-toast-header {
  color: #F2711C;
}
.x-spreadsheet-modal-header {
  border-bottom: 1px solid #e0e2e4;
  background: rgba(0, 0, 0, 0.08);
  font-size: 1.0785em;
}
.x-spreadsheet-modal-header,
.x-spreadsheet-modal-content,
.x-spreadsheet-toast-header,
.x-spreadsheet-toast-content {
  padding: 0.75em 1em;
}
@media screen and (min-width: 320px) and (max-width: 480px) {
  html,
  body {
    overscroll-behavior-y: contain;
  }
  .x-spreadsheet-contextmenu {
    width: 70px !important;
  }
  .x-spreadsheet-selector-corner-shape {
    position: absolute;
    right: 0;
    left: 0;
    bottom: 0;
    top: 0;
    margin: auto;
    height: 10px;
    width: 10px;
    border-radius: 50%;
    background: #4b89ff;
  }
  .x-spreadsheet-selector-corner {
    right: -26px !important;
    bottom: -26px !important;
    height: 50px !important;
    width: 50px !important;
    background: unset !important;
    border: unset !important;
  }
  .x-spreadsheet-selector-corner-tl {
    left: -26px;
    top: -26px;
    pointer-events: auto;
    position: absolute;
    cursor: crosshair;
    font-size: 0;
    height: 50px;
    width: 50px;
    border: unset;
    background: unset;
  }
  .x-spreadsheet-toolbar {
    height: 40px;
    padding: 0 12px;
    text-align: left;
    background: #f5f6f7;
    display: flex;
    justify-content: space-between;
  }
  .x-spreadsheet-toolbar,
  .x-spreadsheet-bottombar {
    padding: 0 ;
  }
  .x-spreadsheet {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
  }
  .x-spreadsheet-bottombar {
    position: fixed;
    width: 100%;
    bottom: 0;
    z-index: 99999;
  }
  .x-spreadsheet-bottombar .x-spreadsheet-menu {
    display: flex;
  }
  .x-spreadsheet-form-checkbox {
    margin-left: -25px;
    cursor: pointer;
  }
}
.x-spreadsheet-icon {
  width: 18px;
  height: 18px;
  margin: 1px 1px 2px 1px;
  text-align: center;
  vertical-align: middle;
  user-select: none;
  overflow: hidden;
  position: relative;
  display: inline-block;
}
.x-spreadsheet-icon .x-spreadsheet-icon-img {
  background-image: url(d8a61c22046be134a6e067e41bcf53b5.svg);
  position: absolute;
  width: 262px;
  height: 444px;
  opacity: 0.86;
}
.x-spreadsheet-icon .x-spreadsheet-icon-img.undo {
  left: 0;
  top: 0;
}
.x-spreadsheet-icon .x-spreadsheet-icon-img.redo {
  left: -18px;
  top: 0;
}
.x-spreadsheet-icon .x-spreadsheet-icon-img.print {
  left: -36px;
  top: 0;
}
.x-spreadsheet-icon .x-spreadsheet-icon-img.paintformat {
  left: -54px;
  top: 0;
}
.x-spreadsheet-icon .x-spreadsheet-icon-img.clearformat {
  left: -72px;
  top: 0;
}
.x-spreadsheet-icon .x-spreadsheet-icon-img.font-bold {
  left: -90px;
  top: 0;
}
.x-spreadsheet-icon .x-spreadsheet-icon-img.font-italic {
  left: -108px;
  top: 0;
}
.x-spreadsheet-icon .x-spreadsheet-icon-img.underline {
  left: -126px;
  top: 0;
}
.x-spreadsheet-icon .x-spreadsheet-icon-img.strike {
  left: -144px;
  top: 0;
}
.x-spreadsheet-icon .x-spreadsheet-icon-img.color {
  left: -162px;
  top: 0;
}
.x-spreadsheet-icon .x-spreadsheet-icon-img.bgcolor {
  left: -180px;
  top: 0;
}
.x-spreadsheet-icon .x-spreadsheet-icon-img.merge {
  left: -198px;
  top: 0;
}
.x-spreadsheet-icon .x-spreadsheet-icon-img.align-left {
  left: -216px;
  top: 0;
}
.x-spreadsheet-icon .x-spreadsheet-icon-img.align-center {
  left: -234px;
  top: 0;
}
.x-spreadsheet-icon .x-spreadsheet-icon-img.align-right {
  left: 0;
  top: -18px;
}
.x-spreadsheet-icon .x-spreadsheet-icon-img.align-top {
  left: -18px;
  top: -18px;
}
.x-spreadsheet-icon .x-spreadsheet-icon-img.align-middle {
  left: -36px;
  top: -18px;
}
.x-spreadsheet-icon .x-spreadsheet-icon-img.align-bottom {
  left: -54px;
  top: -18px;
}
.x-spreadsheet-icon .x-spreadsheet-icon-img.textwrap {
  left: -72px;
  top: -18px;
}
.x-spreadsheet-icon .x-spreadsheet-icon-img.syntaxstatus {
  left: -18px;
  top: -108px;
}
.x-spreadsheet-icon .x-spreadsheet-icon-img.showformulas {
  left: -36px;
  top: -108px;
}
.x-spreadsheet-icon .x-spreadsheet-icon-img.autofilter {
  left: -90px;
  top: -18px;
}
.x-spreadsheet-icon .x-spreadsheet-icon-img.formula {
  left: -108px;
  top: -18px;
}
.x-spreadsheet-icon .x-spreadsheet-icon-img.arrow-down {
  left: -126px;
  top: -18px;
}
.x-spreadsheet-icon .x-spreadsheet-icon-img.arrow-right {
  left: -144px;
  top: -18px;
}
.x-spreadsheet-icon .x-spreadsheet-icon-img.link {
  left: -162px;
  top: -18px;
}
.x-spreadsheet-icon .x-spreadsheet-icon-img.chart {
  left: -180px;
  top: -18px;
}
.x-spreadsheet-icon .x-spreadsheet-icon-img.freeze {
  left: -198px;
  top: -18px;
}
.x-spreadsheet-icon .x-spreadsheet-icon-img.ellipsis {
  left: -216px;
  top: -18px;
}
.x-spreadsheet-icon .x-spreadsheet-icon-img.add {
  left: -234px;
  top: -18px;
}
.x-spreadsheet-icon .x-spreadsheet-icon-img.border-all {
  left: 0;
  top: -36px;
}
.x-spreadsheet-icon .x-spreadsheet-icon-img.border-inside {
  left: -18px;
  top: -36px;
}
.x-spreadsheet-icon .x-spreadsheet-icon-img.border-horizontal {
  left: -36px;
  top: -36px;
}
.x-spreadsheet-icon .x-spreadsheet-icon-img.border-vertical {
  left: -54px;
  top: -36px;
}
.x-spreadsheet-icon .x-spreadsheet-icon-img.border-outside {
  left: -72px;
  top: -36px;
}
.x-spreadsheet-icon .x-spreadsheet-icon-img.border-left {
  left: -90px;
  top: -36px;
}
.x-spreadsheet-icon .x-spreadsheet-icon-img.border-top {
  left: -108px;
  top: -36px;
}
.x-spreadsheet-icon .x-spreadsheet-icon-img.border-right {
  left: -126px;
  top: -36px;
}
.x-spreadsheet-icon .x-spreadsheet-icon-img.border-bottom {
  left: -144px;
  top: -36px;
}
.x-spreadsheet-icon .x-spreadsheet-icon-img.border-none {
  left: -162px;
  top: -36px;
}
.x-spreadsheet-icon .x-spreadsheet-icon-img.line-color {
  left: -180px;
  top: -36px;
}
.x-spreadsheet-icon .x-spreadsheet-icon-img.line-type {
  left: -198px;
  top: -36px;
}
.x-spreadsheet-icon .x-spreadsheet-icon-img.close {
  left: -234px;
  top: -36px;
}
.x-spreadsheet-icon .x-spreadsheet-icon-img.chevron-down {
  left: 0;
  top: -54px;
}
.x-spreadsheet-icon .x-spreadsheet-icon-img.menu-display-show {
  left: 0;
  top: -54px;
}
.x-spreadsheet-icon .x-spreadsheet-icon-img.chevron-up {
  left: -18px;
  top: -54px;
}
.x-spreadsheet-icon .x-spreadsheet-icon-img.menu-display-hide {
  left: -18px;
  top: -54px;
}
.x-spreadsheet-icon .x-spreadsheet-icon-img.chevron-left {
  left: -36px;
  top: -54px;
}
.x-spreadsheet-icon .x-spreadsheet-icon-img.chevron-right {
  left: -54px;
  top: -54px;
}
.x-spreadsheet-icon .x-spreadsheet-icon-img.sort {
  left: -126px;
  top: -54px;
}
.x-spreadsheet-icon .x-spreadsheet-icon-img.pagination {
  left: -108px;
  top: -54px;
}
.x-spreadsheet-icon .x-spreadsheet-icon-img.insertSheet {
  left: -108px;
  top: -54px;
}
.x-spreadsheet-icon .x-spreadsheet-icon-img.search {
  left: -144px;
  top: -54px;
}
.x-spreadsheet-icon .x-spreadsheet-icon-img.commentEdit {
  left: -162px;
  top: -54px;
}
.x-spreadsheet-icon .x-spreadsheet-icon-img.commentRemove {
  left: -180px;
  top: -54px;
}
.x-spreadsheet-icon .x-spreadsheet-icon-img.commentPrevious {
  left: -198px;
  top: -54px;
}
.x-spreadsheet-icon .x-spreadsheet-icon-img.commentNext {
  left: -216px;
  top: -54px;
}
.x-spreadsheet-icon .x-spreadsheet-icon-img.insert-image {
  left: 0px;
  top: -72px;
}
.x-spreadsheet-icon .x-spreadsheet-icon-img.insert-image-local {
  left: -18px;
  top: -72px;
}
.x-spreadsheet-icon .x-spreadsheet-icon-img.insert-image-url {
  left: -36px;
  top: -72px;
}
.x-spreadsheet-icon .x-spreadsheet-icon-img.download {
  left: -54px;
  top: -72px;
}
.x-spreadsheet-icon .x-spreadsheet-icon-img.insertComment {
  left: -72px;
  top: -72px;
}
.x-spreadsheet-icon .x-spreadsheet-icon-img.insertColumn {
  left: -90px;
  top: -72px;
}
.x-spreadsheet-icon .x-spreadsheet-icon-img.insertRow {
  left: -108px;
  top: -72px;
}
.x-spreadsheet-icon .x-spreadsheet-icon-img.savetocloud {
  left: -144px;
  top: -72px;
}
.x-spreadsheet-icon .x-spreadsheet-icon-img.insertTextBox {
  left: -198px;
  top: -72px;
}
.x-spreadsheet-icon .x-spreadsheet-icon-img.insertSpinButton {
  left: -162px;
  top: -72px;
}
.x-spreadsheet-icon .x-spreadsheet-icon-img.insertScrollBar {
  left: -180px;
  top: -72px;
}
.x-spreadsheet-icon .x-spreadsheet-icon-img.insertRadioButton {
  left: -216px;
  top: -72px;
}
.x-spreadsheet-icon .x-spreadsheet-icon-img.insertComboBox {
  left: -234px;
  top: -72px;
}
.x-spreadsheet-icon .x-spreadsheet-icon-img.insertLabel {
  left: 0px;
  top: -90px;
}
.x-spreadsheet-icon .x-spreadsheet-icon-img.insertCheckBox {
  left: -18px;
  top: -90px;
}
.x-spreadsheet-icon .x-spreadsheet-icon-img.insert-shape {
  left: -36px;
  top: -90px;
}
.x-spreadsheet-icon .x-spreadsheet-icon-img.text-rotate-rotate-text-up {
  left: -108px;
  top: -90px;
}
.x-spreadsheet-icon .x-spreadsheet-icon-img.text-rotate-rotate-text-down {
  left: -126px;
  top: -90px;
}
.x-spreadsheet-icon .x-spreadsheet-icon-img.text-rotate-vertical-text {
  left: -90px;
  top: -90px;
}
.x-spreadsheet-icon .x-spreadsheet-icon-img.text-rotate-angle-counterclockwise {
  left: -54px;
  top: -90px;
}
.x-spreadsheet-icon .x-spreadsheet-icon-img.text-rotate-angle-clockwise {
  left: -72px;
  top: -90px;
}
.x-spreadsheet-icon .x-spreadsheet-icon-img.text-rotate-other-angle {
  left: -144px;
  top: -90px;
}
.x-spreadsheet-icon .x-spreadsheet-icon-img.email {
  left: -162px;
  top: -90px;
}
.x-spreadsheet-icon .x-spreadsheet-icon-img.number {
  left: -180px;
  top: -90px;
}
.x-spreadsheet-icon .x-spreadsheet-icon-img.font-name {
  left: -198px;
  top: -90px;
}
.x-spreadsheet-icon .x-spreadsheet-icon-img.font-size {
  left: -216px;
  top: -90px;
}
.x-spreadsheet-icon .x-spreadsheet-icon-img.data-validation {
  left: -234px;
  top: -90px;
}
.x-spreadsheet-icon .x-spreadsheet-icon-img.openFile {
  left: 0px;
  top: -108px;
}
.x-spreadsheet-icon .x-spreadsheet-icon-img.copy {
  left: -54px;
  top: -108px;
}
.x-spreadsheet-icon .x-spreadsheet-icon-img.paste {
  left: -72px;
  top: -108px;
}
.x-spreadsheet-icon .x-spreadsheet-icon-img.cut {
  left: -90px;
  top: -108px;
}
.x-spreadsheet-icon .x-spreadsheet-icon-img.deleteRow {
  left: -108px;
  top: -108px;
}
.x-spreadsheet-icon .x-spreadsheet-icon-img.clearContent {
  left: -126px;
  top: -108px;
}
.x-spreadsheet-icon .x-spreadsheet-icon-img.cellFormat {
  left: -144px;
  top: -108px;
}
.x-spreadsheet-icon .x-spreadsheet-icon-img.dataValidation {
  left: -162px;
  top: -108px;
}
.x-spreadsheet-icon .x-spreadsheet-icon-img.disableEdit {
  left: -180px;
  top: -108px;
}
.x-spreadsheet-icon .x-spreadsheet-icon-img.lineHide {
  left: -198px;
  top: -108px;
}
.x-spreadsheet-icon .x-spreadsheet-icon-img.lineUnhide {
  left: -216px;
  top: -108px;
}
.x-spreadsheet-formula-bar {
  height: 25px;
  line-height: 25px;
  font-size: 12px;
  background: #f5f6f7;
  border-bottom: 1px solid #e0e2e4;
  resize: vertical;
  overflow: hidden;
}
.x-spreadsheet-modal-component-input-div {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.x-spreadsheet-modal-component-input-div label {
  margin-bottom: 5px;
}
.x-spreadsheet-modal-component-input-div input {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 5px 0 0 5px;
}
.x-spreadsheet-modal-component-input-div input[type="date"],
.x-spreadsheet-modal-component-input-div input[type="time"] {
  padding: 0;
}
.x-spreadsheet-modal-component-mask {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
}
.x-spreadsheet-modal-component {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  border-radius: 5px;
  box-shadow: 4px 4px 10px 0 rgba(0, 0, 0, 0.5);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  min-width: 20%;
  overflow: hidden;
}
.x-spreadsheet-modal-radio-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px 0;
  align-items: flex-start;
}
.x-spreadsheet-modal-radio-option {
  display: flex;
  align-items: center;
  cursor: pointer;
}
.x-spreadsheet-modal-radio-option input[type="radio"] {
  margin-right: 8px;
  width: 16px;
  height: 16px;
  padding: 0;
}
.x-spreadsheet-modal-radio-option label {
  font-size: 14px;
  margin: 0;
}
@media screen and (max-width: 480px) {
  .x-spreadsheet-modal-component {
    width: 90% !important;
    height: 70%;
  }
}
.x-spreadsheet-modal-component:focus {
  outline: none;
}
.x-spreadsheet-modal-component-content {
  padding: 10px;
  flex-grow: 1;
  background: #f5f5f5;
  overflow-y: auto;
}
.x-spreadsheet-modal-component-header {
  padding: 10px 20px;
  background: #f5f5f5;
  border-bottom: 1px solid #ddd;
  display: flex;
  justify-content: space-between;
  font-weight: bold;
  font-size: 18px;
}
.x-spreadsheet-modal-component-footer {
  padding: 5px 10px;
  background: #f5f5f5;
  border-top: 1px solid #ddd;
  text-align: right;
}
.x-spreadsheet-modal-component-footer button {
  line-height: 1.5rem;
  padding: 5px 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #ffffff;
  cursor: pointer;
  outline: none;
  transition: background-color 0.3s, border-color 0.3s;
  margin: 5px;
}
.x-spreadsheet-modal-component-footer button {
  border-color: #0078d4;
  /* Blue border */
  color: #0078d4;
}
.x-spreadsheet-modal-component-footer button:hover {
  background-color: #e6f7ff;
  /* Light blue background on hover */
}
.x-spreadsheet-modal-component-footer button:focus {
  box-shadow: 0 0 0 2px rgba(0, 120, 212, 0.5);
  /* Focus outline */
}
.x-spreadsheet-modal-component-footer button.cancel {
  border-color: #ccc;
  color: #333;
}
.x-spreadsheet-modal-component-footer button.cancel:hover {
  background-color: #f0f0f0;
}
.x-spreadsheet-modal-component-footer button.cancel:focus {
  box-shadow: 0 0 0 2px rgba(204, 204, 204, 0.5);
}
.x-spreadsheet-modal-component-section-container {
  height: 100%;
}
.x-spreadsheet-modal-component-section-title {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  color: gray;
}
.x-spreadsheet-modal-component-section-title span {
  flex-shrink: 0;
}
.x-spreadsheet-modal-component-section-line {
  flex-grow: 1;
  height: 1px;
  background: lightgray;
  margin-left: 2px;
}
.modal-animate {
  transition: top 0.5s ease, height 0.5s ease;
}
.x-spreadsheet-modal-component-section-content {
  padding: 0 5px;
  border-radius: 4px;
  height: max-content;
}
/* Outer wrapper for the modal component tabs */
.x-spreadsheet-modal-component-tabs {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}
.x-spreadsheet-modal-component-label {
  font-size: 16px;
}
.x-spreadsheet-modal-component-checkbox {
  display: flex;
  align-items: baseline;
  margin-bottom: 15px;
}
.x-spreadsheet-modal-component-checkbox label {
  margin-left: 5px;
}
.x-spreadsheet-modal-component-dropdown {
  display: flex;
  flex-direction: column;
}
.x-spreadsheet-modal-component-dropdown select {
  height: 35px;
  border: 1px solid #ccc;
  border-radius: 5px;
}
.x-spreadsheet-modal-component-textarea {
  display: flex;
  flex-direction: column;
}
.x-spreadsheet-modal-component-textarea textarea {
  resize: none;
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 5px;
  height: 100px;
}
/* Header row containing the tab buttons */
.x-spreadsheet-modal-component-tab-headers {
  display: flex;
  border-bottom: 1px solid #ccc;
}
/* Individual tab buttons */
.x-spreadsheet-modal-component-tab-button {
  padding: 0 15px;
  cursor: pointer;
  background-color: #f0f0f0;
  border: none;
  outline: none;
  transition: background-color 0.3s;
  font-size: 16px;
}
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  opacity: 1;
}
/* Tab button when active */
.x-spreadsheet-modal-component-tab-button.active {
  background-color: #ffffff;
  border-bottom: 2px solid #0078d4;
  /* Blue line to indicate active tab */
  font-weight: bold;
}
/* Content area for the tabs */
.x-spreadsheet-modal-component-tab-content {
  padding: 20px;
  background-color: #ffffff;
  border: 1px solid #ccc;
  border-top: none;
  flex: 1;
}
.x-spreadsheet-selector-dropdown-button {
  position: absolute;
  width: 24px;
  height: 18px;
  background-color: rgba(224, 224, 224, 0.32);
  border: 1px solid #ccc;
  border-radius: 3px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: background-color 0.2s;
  z-index: 1000;
}
.x-spreadsheet-hover-highlight {
  background-color: rgba(75, 137, 255, 0.1);
  position: absolute;
}
.x-spreadsheet-selector-dropdown-button:hover {
  background-color: #d5d5d5;
}
.x-spreadsheet-selector-dropdown-button::after {
  content: '';
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 6px solid #777;
}
.x-spreadsheet-bar-label {
  flex: 0 0 auto;
  display: inline-block;
  width: 60px;
  height: 100%;
  box-sizing: border-box;
  border-right: 1px solid #e0e2e4;
  text-align: center;
  line-height: inherit;
  background-color: #fff;
  color: #777;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  padding: 0 4px;
  position: relative;
  float: left;
}
.x-spreadsheet-formula-input {
  flex: auto;
  padding: 4px 8px;
  line-height: 17px;
  font-size: 12px;
  overflow-y: auto;
  background: #fff;
  border: none;
  outline: none;
  height: 100%;
}
[contenteditable=true]:empty:before {
  content: attr(placeholder);
  position: initial;
  color: darkgray;
}
dialog {
  left: 190px;
  width: 300px;
  border: 1px solid darkgray;
  border-radius: 4px;
  padding: 0;
  margin: 0;
  background-color: #f9f9f9;
}
dialog p {
  margin: 0 0 0 5px;
}
#textRotateDegreeContainer {
  display: flex;
  align-items: center;
  flex-direction: column;
  min-width: unset;
}
#textRotateDegreeBoxContainer {
  display: flex;
  height: 200px;
  align-items: stretch;
}
#textRotateDegreeBox {
  width: 150px;
  height: 200px;
  border: 1px solid #000;
  position: relative;
  user-select: none;
}
#textRotateDegreeBox::before {
  content: '';
  position: absolute;
  width: 100px;
  /* 伪元素的宽度等于div的宽度 */
  height: 197px;
  /* 高度是宽度的一半，形成半圆 */
  border-top-right-radius: 200px;
  /* 右上半圆的半径 */
  border-bottom-right-radius: 200px;
  /* 右下半圆的半径 */
  border-top: 2px dashed black;
  /* 上边框是点线 */
  border-right: 2px dashed black;
  /* 右边框是点线 */
  border-bottom: 2px dashed black;
  /* 右边框是点线 */
}
#textRotateDegreePointer {
  width: 100%;
  position: absolute;
  top: 50%;
  left: 5%;
  transform-origin: 0 0;
  display: flex;
}
#textRotateDegreeLine {
  width: 35%;
  height: 2px;
  background-color: #000;
}
#textRotateDegreeText {
  transform-origin: 0 0;
  transform: translateX(-50%) translateY(-50%);
  margin-left: 5%;
}
#textRotateDegreeResetButton {
  margin-right: 20px;
  width: 2.5rem;
  word-break: break-all;
  font-size: 1.5rem;
}
#textRotateDegreeInput {
  margin-top: 10px;
  width: 60px;
}
.x-spreadsheet-item.parent {
  position: relative;
}
.x-spreadsheet-contextmenu-submenu {
  position: absolute;
  display: none;
  background: #fff;
  border: 1px solid #e0e2e4;
  box-shadow: 1px 2px 5px 2px rgba(51, 51, 51, 0.15);
  z-index: 101;
  width: max-content;
}
.x-spreadsheet-custom-button {
  border: 1px solid #ddd;
  background-color: white;
  color: #333;
  padding: 4px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  transition: background-color 0.2s ease;
  outline: none;
}
.x-spreadsheet-custom-button:hover {
  background-color: #e9ecef;
  border-color: #ccc;
}
.x-spreadsheet-item.parent .label {
  float: right;
  font-size: 0.8em;
  color: #999;
  line-height: inherit;
}
.x-spreadsheet-alignment-page {
  display: flex;
  padding: 15px;
  gap: 25px;
  height: 100%;
}
.x-spreadsheet-alignment-page .left-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
}
.x-spreadsheet-alignment-page .right-section {
  flex: 0 0 160px;
}
.x-spreadsheet-alignment-page .x-spreadsheet-modal-component-section-container {
  padding-bottom: 10px;
  border-bottom: 1px solid #e0e2e4;
}
.x-spreadsheet-alignment-page .x-spreadsheet-modal-component-section-container:last-child {
  border-bottom: none;
}
.x-spreadsheet-alignment-page .x-spreadsheet-modal-component-dropdown {
  width: 100%;
  align-items: center;
  flex-direction: row;
}
.x-spreadsheet-alignment-page .x-spreadsheet-modal-component-dropdown label {
  flex: 0 0 80px;
}
.x-spreadsheet-alignment-page .x-spreadsheet-modal-component-dropdown select {
  flex: 1;
}
.x-spreadsheet-alignment-page .x-spreadsheet-modal-component-checkbox {
  margin-top: 5px;
}
.x-spreadsheet-orientation-container {
  display: flex;
  align-items: center;
  flex-direction: column;
  min-width: unset;
}
.x-spreadsheet-orientation-box-container {
  display: flex;
  height: 200px;
  align-items: stretch;
}
.x-spreadsheet-orientation-box {
  width: 150px;
  height: 200px;
  border: 1px solid #999;
  position: relative;
  user-select: none;
  cursor: pointer;
}
.x-spreadsheet-orientation-pointer {
  width: 100%;
  position: absolute;
  top: 45%;
  left: calc(10px + 5%);
  transform-origin: 0 50%;
  display: flex;
  align-items: center;
}
.x-spreadsheet-orientation-pointer .degree-text {
  color: #333;
  padding-right: 5px;
}
.x-spreadsheet-orientation-line {
  width: 35%;
  height: 2px;
  background-color: red;
  margin-left: 2px;
}
.x-spreadsheet-orientation-line::after {
  content: '';
  position: absolute;
  right: 58%;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 8px;
  height: 8px;
  background-color: red;
}
.x-spreadsheet-orientation-v-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 10px 5px;
  margin-right: 10px;
  border: 1px solid #999;
  cursor: pointer;
  background-color: #fff;
  width: 30px;
  box-sizing: border-box;
}
.x-spreadsheet-orientation-v-btn span {
  display: block;
  line-height: 1.2;
}
.x-spreadsheet-orientation-v-btn.active {
  background-color: #000;
  border-color: #000;
  color: #fff;
}
.x-spreadsheet-orientation-input-container {
  margin-top: 10px;
  display: flex;
  align-items: center;
}
.x-spreadsheet-orientation-input-container .x-spreadsheet-modal-component-input-div {
  width: 60px;
}
.x-spreadsheet-orientation-input-container .x-spreadsheet-modal-component-input-div input {
  text-align: right;
}
.x-spreadsheet-orientation-input-container span {
  margin-left: 5px;
}
.x-spreadsheet-orientation-point {
  position: absolute;
  background-color: black;
}
.x-spreadsheet-orientation-point.minor {
  width: 4px;
  height: 4px;
  transform: translate(-50%, -50%);
}
.x-spreadsheet-orientation-point:not(.minor) {
  width: 8px;
  height: 8px;
  transform: translate(-50%, -50%) rotate(45deg);
}
.x-spreadsheet-orientation-point.active {
  background-color: red;
}

