.editor-context-menu {
  position:fixed; z-index:1000; width:min(264px,calc(100vw - 16px));
  max-height:calc(100vh - 16px); max-height:calc(100dvh - 16px); overflow-y:auto;
  box-sizing:border-box; padding:6px; border:1px solid var(--line,#e1e3df);
  border-radius:12px; background:var(--panel,#fff); color:var(--ink,#25272c);
  box-shadow:0 12px 40px #18203326; font:inherit; text-align:left;
  overscroll-behavior:contain;
}
.editor-context-menu[hidden] { display:none; }
.editor-context-menu-title { padding:7px 10px 9px; color:var(--muted,#676b70); font-size:12px; font-weight:600; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.editor-context-menu-item {
  display:flex; align-items:center; justify-content:space-between; gap:16px;
  width:100%; min-height:36px; margin:0; padding:8px 10px; border:0; border-radius:6px;
  background:transparent; color:inherit; font:inherit; font-size:13px; line-height:1.4;
  text-align:left; cursor:pointer; box-shadow:none;
}
.editor-context-menu-item:not(:disabled):hover,.editor-context-menu-item:focus-visible { background:var(--blue-pale,#eeefff); outline:2px solid var(--blue,#3e53e8); outline-offset:-2px; }
.editor-context-menu-item.is-danger:not(:disabled) { color:#b42b33; }
.editor-context-menu-item:disabled { color:#777c84; opacity:.6; cursor:default; }
.editor-context-menu-shortcut { flex:none; color:var(--muted,#676b70); font-size:11px; }
.editor-context-menu-separator { height:1px; margin:5px 4px; background:var(--line,#e1e3df); }
