.e-spreadsheet .e-ribbon {
  border: 1px solid rgba(var(--color-sf-outline-variant));
  position: relative;
}
.e-spreadsheet .e-ribbon .e-tab .e-hscroll .e-scroll-nav {
  min-height: 40px;
}
.e-spreadsheet .e-ribbon .e-tab .e-content .e-toolbar {
  border-left-width: 0;
  border-right-width: 0;
  min-height: 40px;
}
.e-spreadsheet .e-ribbon .e-tab .e-content .e-toolbar .e-toolbar-items .e-toolbar-item .e-split-btn-wrapper {
  box-shadow: none;
}
.e-spreadsheet .e-ribbon .e-tab .e-tab-header .e-hscroll {
  display: inline-block !important; /* stylelint-disable-line declaration-no-important */
  width: calc(100% - 28px);
}
.e-spreadsheet .e-ribbon .e-tab .e-tab-header .e-toolbar-items .e-toolbar-item:nth-child(2) .e-tab-wrap {
  padding-left: 0;
  padding-right: 0;
}
.e-spreadsheet .e-ribbon .e-tab .e-tab-header .e-toolbar-items .e-toolbar-item:nth-child(2) .e-text-wrap {
  vertical-align: top;
}
.e-spreadsheet .e-ribbon .e-tab .e-tab-header .e-indicator {
  z-index: 1;
}
.e-spreadsheet .e-ribbon .e-tab .e-tab-header .e-toolbar-items .e-toolbar-item.e-hide {
  display: none;
}
.e-spreadsheet .e-ribbon .e-ribbon-action {
  height: 40px;
  position: absolute;
  right: 0;
  top: 0;
  width: 180px;
}
.e-spreadsheet .e-ribbon .e-ribbon-action .e-spreadsheet-ai-btn {
  border-radius: 4px;
  border-width: 1px;
  height: 32px;
  position: absolute;
  right: 31px;
  top: 4px;
  width: 149px;
}
.e-spreadsheet .e-ribbon .e-ribbon-action .e-drop-icon {
  position: absolute;
  right: 0;
  top: 0;
}
.e-spreadsheet .e-ribbon.e-ribbon-ai-assist .e-tab .e-tab-header {
  width: calc(100% - 180px) !important; /* stylelint-disable-line declaration-no-important */
}
.e-spreadsheet .e-ribbon.e-ribbon-ai-assist .e-tab .e-tab-header .e-hscroll {
  width: 100%;
}
.e-spreadsheet .e-ribbon .e-tab .e-tab-header .e-toolbar-item {
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}
.e-spreadsheet .e-ribbon .e-tab .e-tab-header .e-toolbar-item .e-tab-text {
  text-transform: none;
  font-weight: 500;
  letter-spacing: 0.24px;
}
.e-spreadsheet .e-ribbon .e-tab.e-sheet-tab .e-tab-header .e-tab-text {
  white-space: pre;
}
.e-spreadsheet .e-ribbon:not(.sf-spreadsheet .e-ribbon) .e-drop-icon {
  cursor: pointer;
  font-family: "e-icons";
  margin: 12px 6px;
  position: absolute;
  right: 0;
  text-align: center;
  top: 0;
  transform: rotate(180deg);
  transition: transform 300ms ease;
  width: 18px;
  font-size: 14px;
}
.e-spreadsheet .e-ribbon:not(.sf-spreadsheet .e-ribbon) .e-drop-icon.e-disabled {
  cursor: default;
  pointer-events: none;
}
.e-spreadsheet .e-ribbon:not(.sf-spreadsheet .e-ribbon) .e-drop-icon:focus {
  font-weight: bold;
}
.e-spreadsheet .e-ribbon.e-collapsed .e-content, .e-spreadsheet .e-ribbon.e-collapsed .e-indicator, .e-spreadsheet .e-ribbon.e-collapsed .e-tab-header .e-toolbar-item.e-active .e-text-wrap::before {
  display: none;
}
.e-spreadsheet .e-ribbon.e-collapsed .e-drop-icon {
  transform: rotate(0deg);
}
.e-spreadsheet .e-ribbon .e-content .e-toolbar .e-toolbar-items {
  display: inline-block;
}
.e-spreadsheet .e-ribbon .e-content .e-toolbar.e-overlay .e-toolbar-items .e-toolbar-item.e-overlay {
  opacity: 1;
}
.e-spreadsheet .e-ribbon .e-content .e-toolbar .e-toolbar-items .e-toolbar-item.e-overlay {
  opacity: 0.5;
}
.e-spreadsheet .e-ribbon .e-menu-wrapper {
  border-width: 0;
}
.e-spreadsheet .e-ribbon .e-menu-wrapper.e-file-menu.e-scrollable .e-menu {
  overflow: hidden;
}
.e-spreadsheet .e-ribbon .e-menu-wrapper ul.e-menu {
  padding: 0;
}
.e-spreadsheet .e-ribbon .e-menu-wrapper ul .e-menu-item.e-menu-caret-icon {
  border-radius: calc(var(--e-radius) * 0.25);
  font-weight: 500;
}
.e-spreadsheet .e-ribbon .e-menu-wrapper ul .e-menu-item.e-menu-caret-icon.e-selected {
  background-color: rgba(var(--color-sf-primary));
  color: rgba(var(--color-sf-on-primary));
}
.e-spreadsheet .e-ribbon .e-menu-wrapper ul .e-menu-item.e-menu-caret-icon.e-selected .e-caret {
  color: rgba(var(--color-sf-on-primary));
  font-weight: 500;
}
.e-spreadsheet .e-ribbon .e-menu-wrapper ul .e-menu-item.e-menu-caret-icon .e-caret {
  font-size: 16px;
}
.e-spreadsheet .e-ribbon.e-rtl:not(.sf-spreadsheet .e-ribbon) .e-drop-icon {
  right: auto;
  left: 0;
}
.e-spreadsheet .e-ribbon.e-rtl .e-ribbon-action {
  right: auto;
  left: 0;
}
.e-spreadsheet .e-ribbon.e-rtl .e-ribbon-action .e-spreadsheet-ai-btn {
  right: auto;
  left: 31px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.e-spreadsheet-ribbon-fill-color .e-container,
.e-spreadsheet-ribbon-font-color .e-container {
  box-shadow: none;
}
.e-popup-temp-close {
  visibility: hidden;
}
.e-spreadsheet .e-ribbon {
  background-color: linear-gradient(0deg, rgba(var(--color-sf-primary), 0.05), rgba(var(--color-sf-primary), 0.05)), rgba(var(--color-sf-surface));
}
.e-spreadsheet .e-ribbon .e-tab .e-tab-header {
  background: linear-gradient(0deg, rgba(var(--color-sf-primary), 0.08), rgba(var(--color-sf-primary), 0.08)), rgba(var(--color-sf-surface));
}
.e-spreadsheet .e-ribbon .e-ribbon-action {
  background: linear-gradient(0deg, rgba(var(--color-sf-primary), 0.08), rgba(var(--color-sf-primary), 0.08)), rgba(var(--color-sf-surface));
  border-width: 0;
  border-style: none;
}
.e-spreadsheet .e-ribbon .e-spreadsheet-ai-btn {
  border-color: #79747e;
}
.e-spreadsheet .e-ribbon .e-drop-icon {
  color: rgba(var(--color-sf-on-surface-variant));
}
.e-spreadsheet .e-ribbon .e-tab .e-content .e-toolbar {
  border-bottom-color: transparent;
  border-top-color: transparent;
}
.e-spreadsheet .e-ribbon .e-menu-wrapper {
  background-color: transparent;
}
.e-spreadsheet .e-ribbon .e-tab .e-tab-header .e-toolbar-item.e-menu-tab:hover, .e-spreadsheet .e-ribbon .e-tab.e-focused .e-tab-header .e-toolbar-item.e-menu-tab:hover {
  background: transparent;
}