.hero .editor .canvas-page > .selection-outline {
  position: absolute;
  inset: auto;
  box-sizing: border-box;
  border: 1.5px solid #5f83ff;
  pointer-events: none;
  transition: none;
}

.hero .editor .canvas-page > .selection-outline > span {
  position: absolute;
  top: 0;
  left: 0;
  max-width: calc(100% - 2px);
  overflow: hidden;
  padding: 2px 6px;
  background: #5f83ff;
  color: #fff;
  font-family: var(--font-ui, sans-serif);
  font-size: var(--fs-small, .7rem);
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero .editor .canvas-page > .selection-outline > i {
  position: absolute;
  width: 6px;
  height: 6px;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid #5f83ff;
}

.hero .editor .canvas-page > .selection-outline > i:nth-of-type(1) { top: -4px; left: -4px; }
.hero .editor .canvas-page > .selection-outline > i:nth-of-type(2) { top: -4px; right: -4px; }
.hero .editor .canvas-page > .selection-outline > i:nth-of-type(3) { bottom: -4px; left: -4px; }
.hero .editor .canvas-page > .selection-outline > i:nth-of-type(4) { right: -4px; bottom: -4px; }

.hero .editor .canvas-page [data-editor-select]:focus-visible {
  outline: 2px solid #5f83ff;
  outline-offset: 2px;
}
