.tool-hint {
  position: fixed;
  inset: auto;
  z-index: 1000;
  width: max-content;
  max-width: min(24rem, calc(100% - 12px));
  height: auto;
  margin: 0;
  padding: 5px 9px;
  border: 0;
  border-radius: 5px;
  background: #313132;
  color: #fff;
  box-shadow: 0 2px 7px #14141424;
  font: 500 12px/1.5 var(--ui-font, system-ui, sans-serif);
  overflow-wrap: anywhere;
  text-align: start;
}

@media (forced-colors: active) {
  .tool-hint {
    background: Canvas;
    color: CanvasText;
    border: 1px solid CanvasText;
  }
}
