.study-highlights:not([hidden]) {
  position: fixed;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 2px;
  width: max-content;
  padding: 2px;
  background: var(--paper, white);
  border: 1px solid #eadcc9;
  border-radius: 0.45rem;
  box-shadow: 0 2px 8px #39201522;
}
.study-highlights button {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  min-width: 0;
  min-height: 0;
  padding: 0;
  font-size: 15px;
  line-height: 1;
}
.study-highlights .highlight-swatch {
  background: transparent;
  border-color: transparent;
}
.study-highlights .highlight-swatch::before {
  content: '';
  width: 14px;
  height: 14px;
  border: 1px solid #39201533;
  border-radius: 50%;
}
mark[data-highlight] { color: inherit; cursor: pointer; }
.study-highlights .highlight-sand::before, mark.highlight-sand { background: #f2e4c4; }
.study-highlights .highlight-sage::before, mark.highlight-sage { background: #dce8d8; }
.study-highlights .highlight-lavender::before, mark.highlight-lavender { background: #e8e0f0; }

::highlight(study-touch-preview) { background: #d4e2d4; }
@media (pointer: coarse) {
  .highlight-enabled { -webkit-touch-callout: none; }
}
