.xcomp-typing {
  transition-property: none;
  mask-image: linear-gradient(#000 0 0), linear-gradient(#000 0 0);
  mask-repeat: no-repeat;
  mask-position: left top, 0 var(--xcomp-above, 0px);
  mask-size: 100% var(--xcomp-above, 0px), var(--xcomp-end, 0px) var(--xcomp-row, 0px);
}
.xcomp-placing, .xcomp-placing > :is(a, button, [role="button"]), .xcomp-unplaced { transition-property: none; }
.xcomp-unplaced { opacity: 0; }
.xcomp-layer {
  --xcomp-tone: #8fcbff;
  position: fixed;
  inset: 0;
  z-index: 9;
  overflow: hidden;
  contain: strict;
  pointer-events: none;
  user-select: none;
  transition-property: none;
}
.xcomp-layer *, .xcomp-layer *::before, .xcomp-layer *::after {
  box-sizing: border-box;
  pointer-events: none;
  transition-property: none;
}
.xcomp-layer[data-role="texto"] { --xcomp-tone: #ffc279; }
.xcomp-layer[data-role="redacao"] { --xcomp-tone: #8fdad1; }
.xcomp-layer[data-role="interface"] { --xcomp-tone: #b2b2ff; }
.xcomp-layer[data-role="marca"] { --xcomp-tone: #f7adce; }
.xcomp-layer[data-role="estilo"] { --xcomp-tone: #ff9567; }
.xcomp-caret, .xcomp-slot, .xcomp-ghost {
  position: absolute;
  top: 0;
  left: 0;
}
.xcomp-caret {
  width: 2px;
  background: var(--xcomp-tone);
  box-shadow: 0 0 0 1px #28171188;
}
.xcomp-caret::after {
  content: '';
  position: absolute;
  left: -2px;
  top: -1px;
  width: 6px;
  height: 2px;
  background: inherit;
}
.xcomp-slot {
  border: 1px dashed var(--xcomp-tone);
  opacity: .46;
}
.xcomp-slot.xcomp-snapped {
  border: 2px solid var(--xcomp-tone);
  box-shadow: 0 0 0 3px rgb(255 227 192 / 14%);
}
.xcomp-facsimile {
  margin: 0;
  filter: drop-shadow(0 2px 2px #130f0dab);
}
.xcomp-wire {
  display: flex;
  align-items: center;
  gap: clamp(3px, .7vw, 10px);
  padding: 0 min(8%, 14px);
  color: var(--xcomp-tone);
  border: 1.5px solid currentColor;
  background: #29231eee;
  box-shadow: 3px 5px 0 #130f0d70;
}
.xcomp-wire::before {
  content: '';
  flex: 0 1 11%;
  max-width: 22px;
  min-width: 4px;
  height: 36%;
  max-height: 20px;
  border: 1px solid currentColor;
  border-radius: 2px;
}
.xcomp-wire::after {
  content: '';
  width: 55%;
  height: 26%;
  min-height: 3px;
  max-height: 12px;
  opacity: .8;
  background: linear-gradient(currentColor 0 0) top left / 100% 2px no-repeat,
    linear-gradient(currentColor 0 0) bottom left / 65% 2px no-repeat;
}
