.workspace-context-menu {
  position: fixed;
  z-index: 10000;
  width: 224px;
  max-width: calc(100vw - 10px);
  max-height: calc(100vh - 10px);
  overflow: auto;
  box-sizing: border-box;
  padding: 4px;
  border: 1px solid var(--t-border, #454852);
  border-radius: 6px;
  background: var(--t-popup, #30343c);
  color: var(--t-text, #abb2bf);
  box-shadow: 0 5px 18px #0003;
  user-select: none;
  -webkit-user-select: none;
}
.workspace-context-menu[hidden] { display: none; }
html[data-editor-theme] .workspace-context-menu [role="menuitem"] {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 28px;
  padding: 4px 10px;
  margin: 0;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: var(--t-text);
  font: inherit;
  font-size: 13px;
  line-height: 20px;
  text-align: left;
  white-space: nowrap;
  outline: none;
}
html[data-editor-theme] .workspace-context-menu [role="menuitem"]:is(:hover, :focus):not(:disabled) {
  background: var(--t-selected);
  color: var(--t-text);
  outline: none;
}
html[data-editor-theme] .workspace-context-menu [role="menuitem"]:disabled {
  color: var(--t-faint);
  opacity: .65;
  cursor: default;
}
.workspace-context-menu [role="separator"] {
  height: 1px;
  margin: 4px 6px;
  background: var(--t-border, #454852);
}
