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

.sm2-tip > .sm2-tip__trigger {
  display: inline-grid;
  position: relative;
  width: 44px;
  height: 44px;
  box-sizing: border-box;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #087f73;
  cursor: help;
  outline: 2px solid transparent;
  outline-offset: -5px;
  transition:
    color 160ms ease,
    outline-color 160ms ease;
}

.sm2-tip > .sm2-tip__trigger::before {
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(8, 127, 115, 0.3);
  border-radius: 50%;
  background: rgba(8, 127, 115, 0.09);
  content: "";
  transition:
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

.sm2-tip > .sm2-tip__trigger svg {
  position: relative;
  z-index: 1;
  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 {
  color: #fff;
}

.sm2-tip > .sm2-tip__trigger:focus-visible {
  outline-color: rgba(8, 127, 115, 0.7);
}

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

.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: auto;
}

.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;
  }
}
