/* Contextual commands share the editor palette and retain browser keyboard behavior. */
.aex[data-aex] .aex-cell-content {
  overflow-wrap: anywhere;
  word-break: normal;
}
.aex[data-aex] .aex-workspace-menu {
  position: fixed;
  z-index: 100010;
  width: 304px;
  max-width: calc(100vw - 16px);
  max-height: calc(100vh - 16px);
  overflow: auto;
  overscroll-behavior: contain;
  padding: 6px;
  border: 1px solid #bdcfc5;
  border-radius: 12px;
  background: #fff;
  color: #203239;
  box-shadow: 0 12px 40px #17373229;
  font: 13px/1.45 system-ui,-apple-system,Segoe UI,sans-serif;
  text-align: left;
}
.aex[data-aex] .aex-workspace-menu-title {
  position: sticky;
  top: -6px;
  z-index: 1;
  padding: 10px 11px;
  border-bottom: 1px solid #d4e1d9;
  border-radius: 7px 7px 0 0;
  background: #e8f2ee;
  color: #165b60;
  font-size: 13px;
  font-weight: 750;
  overflow-wrap: anywhere;
}
.aex[data-aex] .aex-workspace-menu-group + .aex-workspace-menu-group {
  margin-top: 5px;
  padding-top: 5px;
  border-top: 1px solid #e0e8e2;
}
.aex[data-aex] .aex-workspace-menu-heading {
  padding: 7px 11px 3px;
  color: #647872;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.aex[data-aex] .aex-workspace-menu button {
  display: block;
  width: 100%;
  min-height: 44px;
  margin: 0;
  padding: 10px 11px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: #fff;
  color: #203239;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  text-align: left;
  white-space: normal;
  overflow-wrap: anywhere;
  box-shadow: none;
}
.aex[data-aex] .aex-workspace-menu button:not(:disabled):hover,
.aex[data-aex] .aex-workspace-menu button:not(:disabled):focus-visible {
  border-color: #9cbcb0;
  background: #e8f2ee;
  color: #10474c;
  outline: 0;
}
.aex[data-aex] .aex-workspace-menu button:not(:disabled):active {
  border-color: #64988c;
  background: #d8ebe0;
  color: #10474c;
}
.aex[data-aex] .aex-workspace-menu button:disabled,
.aex[data-aex] .aex-workspace-menu button:disabled:hover {
  border-color: transparent;
  background: #fff;
  color: #687a74;
  opacity: .6;
  cursor: not-allowed;
}
.aex[data-aex] .aex-workspace-menu button.aex-workspace-danger {
  color: #993d32;
}
.aex[data-aex] .aex-workspace-menu button.aex-workspace-danger:not(:disabled):hover,
.aex[data-aex] .aex-workspace-menu button.aex-workspace-danger:not(:disabled):focus-visible {
  border-color: #dbb3aa;
  background: #fff1ed;
  color: #813026;
}
.aex[data-aex] .aex-grid th[data-col],
.aex[data-aex] .aex-grid th[data-row] {
  position: sticky;
}
.aex[data-aex] .aex-resize-handle {
  position: absolute;
  z-index: 6;
  user-select: none;
  touch-action: auto;
}
.aex[data-aex] .aex-resize-column {
  top: 0;
  right: -4px;
  bottom: 0;
  width: 10px;
  cursor: col-resize;
}
.aex[data-aex] .aex-resize-row {
  right: 0;
  bottom: -4px;
  left: 0;
  height: 10px;
  cursor: row-resize;
}
.aex[data-aex] .aex-resize-column::after,
.aex[data-aex] .aex-resize-row::after {
  content: "";
  position: absolute;
  opacity: 0;
  border-radius: 2px;
  background: #267a70;
}
.aex[data-aex] .aex-resize-column::after {
  top: 5px;
  bottom: 5px;
  left: 4px;
  width: 2px;
}
.aex[data-aex] .aex-resize-row::after {
  top: 4px;
  right: 5px;
  left: 5px;
  height: 2px;
}
.aex[data-aex] .aex-resize-handle:hover::after {
  opacity: 1;
}
.aex[data-aex].aex-is-resizing,
.aex[data-aex].aex-is-resizing * {
  user-select: none !important;
}
.aex[data-aex] .aex-resize-guide {
  position: fixed;
  z-index: 100005;
  pointer-events: none;
  border: 0 dashed #267a70;
}
.aex[data-aex] .aex-resize-guide[data-axis="column"] {
  border-left-width: 2px;
}
.aex[data-aex] .aex-resize-guide[data-axis="row"] {
  border-top-width: 2px;
}
.aex[data-aex] .aex-resize-guide > span {
  position: absolute;
  top: 3px;
  left: 6px;
  min-width: 104px;
  max-width: min(220px, calc(100vw - 24px));
  padding: 6px 9px;
  border: 1px solid #165b60;
  border-radius: 7px;
  background: #165b60;
  color: #fff;
  box-shadow: 0 3px 10px #1737321f;
  font: 12px/1.4 system-ui,-apple-system,Segoe UI,sans-serif;
  white-space: nowrap;
}
.aex[data-aex] [data-action="workspace-menu"] {
  min-height: 44px;
  font-size: 12px;
  color: #165b60;
  background: #fff;
  border-color: #b9cfc4;
}
.aex[data-aex] [data-action="workspace-menu"]:hover {
  color: #10474c;
  background: #e8f2ee;
  border-color: #165b60;
}
@media (max-width: 767px) {
  .aex[data-aex] [data-action="workspace-menu"] {
    width: 100%;
    justify-content: center;
  }
  .aex[data-aex] .aex-clipboard-secondary .aex-workspace-launch {
    grid-column: 1 / -1;
    width: 100%;
    font-size: 12px;
  }
  .aex[data-aex] .aex-workspace-menu {
    border-radius: 10px;
  }
  .aex[data-aex] .aex-workspace-menu button {
    font-size: 12px;
    min-height: 44px;
  }
}
@media (hover: none), (pointer: coarse) {
  .aex[data-aex] .aex-resize-handle {
    display: none;
  }
}
