revogr-overlay-selection {
  display: block;
  position: relative;
  width: 100%;
}
revogr-overlay-selection .autofill-handle {
  position: absolute;
  width: 14px;
  height: 14px;
  margin-left: -13px;
  margin-top: -13px;
  z-index: 10;
  cursor: crosshair;
}
revogr-overlay-selection .autofill-handle::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 10px;
  height: 10px;
  background: var(--rg-theme-autofill-handle-bg);
  border: 1px solid var(--rg-theme-autofill-handle-border);
  box-sizing: border-box;
}
revogr-overlay-selection.mobile .autofill-handle {
  position: absolute;
  width: 30px;
  height: 30px;
  margin-left: -29px;
  margin-top: -29px;
  z-index: 10;
  cursor: crosshair;
}
revogr-overlay-selection.mobile .autofill-handle::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 12px;
  height: 12px;
  background: var(--rg-theme-autofill-handle-bg);
  border: 1px solid var(--rg-theme-autofill-handle-border);
  box-sizing: border-box;
}
revogr-overlay-selection .selection-border-range {
  position: absolute;
  pointer-events: none;
  z-index: 9;
  background-color: var(--rg-theme-selection-bg);
}
revogr-overlay-selection .selection-border-range .range-handlers {
  height: 100%;
  background-color: transparent;
  width: 75%;
  max-width: 50px;
  min-width: 20px;
  left: 50%;
  transform: translateX(-50%);
  position: absolute;
}
revogr-overlay-selection .selection-border-range .range-handlers > span {
  pointer-events: auto;
  height: 20px;
  width: 20px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
revogr-overlay-selection .selection-border-range .range-handlers > span:before, revogr-overlay-selection .selection-border-range .range-handlers > span:after {
  position: absolute;
  border-radius: 5px;
  width: 15px;
  height: 5px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--rg-theme-range-handle-bg);
}
revogr-overlay-selection .selection-border-range .range-handlers > span:first-child {
  top: -7px;
}
revogr-overlay-selection .selection-border-range .range-handlers > span:first-child:before {
  content: "";
  top: 0;
}
revogr-overlay-selection .selection-border-range .range-handlers > span:last-child {
  bottom: -7px;
}
revogr-overlay-selection .selection-border-range .range-handlers > span:last-child:after {
  content: "";
  bottom: 0;
}
revogr-overlay-selection .selection-border-range {
  box-shadow: -1px 0 0 var(--rg-theme-selection-border) inset, 1px 0 0 var(--rg-theme-selection-border) inset, 0 -1px 0 var(--rg-theme-selection-border) inset, 0 1px 0 var(--rg-theme-selection-border) inset;
}
revogr-overlay-selection revogr-edit {
  z-index: 10;
}