.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

#editor {
  width: 100%;
  height: 100%;
  min-height: 18rem;
}

#editor:focus-within {
  outline: 3px solid #00b7ff;
  outline-offset: -3px;
}

.icon-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.icon-button:focus-visible,
select:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}

@media (forced-colors: active) {
  #editor:focus-within {
    outline-color: Highlight;
  }
}

@media (prefers-reduced-motion: reduce) {
  #editor *,
  #editor *::before,
  #editor *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
