.mo-excel-menu-separator {
  height: 1px;
  margin: 6px 8px;
  background: rgba(148, 163, 184, 0.16);
}

button[data-mo-excel-tools] {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
}

.mo-excel-menu-icon {
  display: inline-flex;
  flex: 0 0 24px;
  align-items: center;
  justify-content: center;

  width: 24px;
  height: 24px;

  border: 1px solid rgba(129, 140, 248, 0.25);
  border-radius: 8px;

  background: rgba(99, 102, 241, 0.11);
  color: #c7d2fe;

  font-size: 15px;
  font-weight: 800;
  line-height: 1;
}

#mo-excel-progress {
  position: fixed;
  inset: 0;
  z-index: 999999;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 20px;

  background: rgba(2, 6, 23, 0.7);
  backdrop-filter: blur(8px);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition:
    opacity 0.18s ease,
    visibility 0.18s ease;
}

#mo-excel-progress.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mo-excel-progress-card {
  width: min(390px, 100%);
  box-sizing: border-box;
  padding: 20px;

  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 18px;

  background:
    linear-gradient(
      145deg,
      rgba(20, 25, 39, 0.98),
      rgba(10, 14, 25, 0.98)
    );

  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.48),
    inset 0 0 0 1px rgba(255, 255, 255, 0.025);
}

.mo-excel-progress-title {
  margin-bottom: 7px;

  color: #f8fafc;
  font-size: 16px;
  font-weight: 800;
}

.mo-excel-progress-text {
  margin-bottom: 13px;

  color: rgba(226, 232, 240, 0.68);
  font-size: 13px;
}

.mo-excel-progress-track {
  height: 8px;
  overflow: hidden;

  border-radius: 999px;
  background: rgba(148, 163, 184, 0.12);
}

.mo-excel-progress-bar {
  width: 0;
  height: 100%;

  border-radius: inherit;

  background:
    linear-gradient(
      90deg,
      rgba(99, 102, 241, 0.95),
      rgba(34, 211, 238, 0.95)
    );

  box-shadow: 0 0 14px rgba(99, 102, 241, 0.38);

  transition: width 0.16s ease;
}

button[data-mo-excel-tools="Data"] {
  position: relative;
  display: flex !important;
  align-items: center !important;
  gap: 9px !important;
  width: 100% !important;
}

.mo-data-menu-label {
  flex: 1 1 auto;
  text-align: left;
}

.mo-data-menu-arrow {
  margin-left: auto;
  color: rgba(226, 232, 240, 0.58);
  font-size: 20px;
  line-height: 1;
  transition: transform 0.16s ease;
}

button[data-mo-excel-tools="Data"].is-open
.mo-data-menu-arrow {
  transform: translateX(2px);
  color: #c7d2fe;
}

#mo-data-submenu {
  position: fixed;
  z-index: 1000000;

  display: grid;
  gap: 4px;

  width: 210px;
  box-sizing: border-box;
  padding: 7px;

  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 14px;

  background:
    linear-gradient(
      145deg,
      rgba(20, 25, 39, 0.99),
      rgba(9, 13, 24, 0.99)
    );

  box-shadow:
    0 20px 55px rgba(0, 0, 0, 0.48),
    inset 0 0 0 1px rgba(255, 255, 255, 0.025);

  backdrop-filter: blur(14px);

  opacity: 0;
  transform: translateY(-3px) scale(0.98);
  transform-origin: top left;

  transition:
    opacity 0.14s ease,
    transform 0.14s ease;
}

#mo-data-submenu.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.mo-data-submenu-item {
  display: flex;
  align-items: center;
  gap: 10px;

  width: 100%;
  min-height: 42px;
  box-sizing: border-box;
  padding: 8px 10px;

  border: 0;
  border-radius: 10px;

  background: transparent;
  color: #e2e8f0;

  font: inherit;
  text-align: left;

  cursor: pointer;

  transition:
    background-color 0.15s ease,
    color 0.15s ease;
}

.mo-data-submenu-item:hover {
  background: rgba(99, 102, 241, 0.15);
  color: #ffffff;
}

button[data-mo-excel-tools="Data"] {
  position: relative;
  display: flex !important;
  align-items: center !important;
  gap: 9px !important;
  width: 100% !important;
}

.mo-data-menu-label {
  flex: 1 1 auto;
  text-align: left;
}

.mo-data-menu-arrow {
  margin-left: auto;
  color: rgba(226, 232, 240, 0.58);
  font-size: 20px;
  line-height: 1;
  transition: transform 0.16s ease;
}

button[data-mo-excel-tools="Data"].is-open
.mo-data-menu-arrow {
  transform: translateX(2px);
  color: #c7d2fe;
}

#mo-data-submenu {
  position: fixed;
  z-index: 1000000;

  display: grid;
  gap: 4px;

  width: 210px;
  box-sizing: border-box;
  padding: 7px;

  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 14px;

  background:
    linear-gradient(
      145deg,
      rgba(20, 25, 39, 0.99),
      rgba(9, 13, 24, 0.99)
    );

  box-shadow:
    0 20px 55px rgba(0, 0, 0, 0.48),
    inset 0 0 0 1px rgba(255, 255, 255, 0.025);

  backdrop-filter: blur(14px);

  opacity: 0;
  transform: translateY(-3px) scale(0.98);
  transform-origin: top left;

  transition:
    opacity 0.14s ease,
    transform 0.14s ease;
}

#mo-data-submenu.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.mo-data-submenu-item {
  display: flex;
  align-items: center;
  gap: 10px;

  width: 100%;
  min-height: 42px;
  box-sizing: border-box;
  padding: 8px 10px;

  border: 0;
  border-radius: 10px;

  background: transparent;
  color: #e2e8f0;

  font: inherit;
  text-align: left;

  cursor: pointer;

  transition:
    background-color 0.15s ease,
    color 0.15s ease;
}

.mo-data-submenu-item:hover {
  background: rgba(99, 102, 241, 0.15);
  color: #ffffff;
}
