div.highlight {
  position: relative;
}

button.boro-copybutton {
  position: absolute;
  top: .3em;
  right: .3em;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.8em;
  height: 1.8em;
  padding: .1em;
  border: 1px solid #1b1f2426;
  border-radius: .4em;
  background: #f6f8fa;
  color: #57606a;
  opacity: 0;
  cursor: pointer;
  transition: opacity .2s, background-color .2s, color .2s;
}

.highlight:hover button.boro-copybutton,
button.boro-copybutton:focus-visible,
button.boro-copybutton.is-copied {
  opacity: 1;
}

button.boro-copybutton:hover {
  background: #ebebeb;
}

button.boro-copybutton.is-copied {
  color: #22863a;
}

button.boro-copybutton svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media print {
  button.boro-copybutton {
    display: none;
  }
}