.sm2-tip {
  display: inline-flex;
  position: relative;
  align-items: center;
  margin-inline-start: 5px;
  vertical-align: -3px;
  line-height: 1;
}

.sm2-tip > .sm2-tip__trigger {
  display: inline-grid;
  width: 19px;
  height: 19px;
  box-sizing: border-box;
  place-items: center;
  border: 1px solid rgba(8, 127, 115, 0.3);
  border-radius: 50%;
  background: rgba(8, 127, 115, 0.09);
  color: #087f73;
  cursor: help;
  transition:
    color 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

.sm2-tip > .sm2-tip__trigger svg {
  width: 12px;
  height: 12px;
  pointer-events: none;
  stroke-width: 2.2;
}

.sm2-tip > .sm2-tip__trigger:hover,
.sm2-tip > .sm2-tip__trigger:focus-visible,
.sm2-tip.is-open > .sm2-tip__trigger {
  border-color: #087f73;
  background: #087f73;
  color: #fff;
  box-shadow: 0 0 0 3px rgba(8, 127, 115, 0.14);
  outline: none;
}

.sm2-tip > .sm2-tip__bubble,
.sm2-tip__bubble.is-floating {
  display: none;
  position: fixed;
  z-index: 1000000;
  width: max-content;
  max-width: min(300px, calc(100vw - 24px));
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9px;
  background: #102d33;
  box-shadow: 0 12px 34px rgba(9, 34, 40, 0.22);
  color: #fff;
  font-family: var(--sm-font-sans);
  font-size: 12px;
  font-style: normal;
  font-weight: 560;
  letter-spacing: 0;
  line-height: 1.45;
  text-align: left;
  text-transform: none;
  white-space: normal;
  pointer-events: none;
}

.sm2-tip > .sm2-tip__bubble.is-visible,
.sm2-tip__bubble.is-floating.is-visible {
  display: block;
  animation: sm2-tip-in 150ms ease both;
}

@keyframes sm2-tip-in {
  from {
    opacity: 0;
    transform: translateY(3px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .sm2-tip__trigger {
    transition: none;
  }

  .sm2-tip__bubble.is-visible {
    animation: none;
  }
}

@media print {
  .sm2-tip {
    display: none !important;
  }
}
