.legacy-cutoff-info {
  position: relative;
  display: inline-flex;
}

.legacy-cutoff-info .info-button {
  transition:
    background-color 150ms ease,
    border-color 150ms ease,
    color 150ms ease;
}

.legacy-cutoff-info:hover .info-button,
.legacy-cutoff-info:focus-within .info-button {
  border-color: #71869a;
  background: #71869a;
  color: #fff;
}

.legacy-cutoff-tooltip {
  position: absolute;
  z-index: 1000;
  top: calc(100% + 8px);
  left: 0;
  width: min(340px, calc(100vw - 32px));
  padding: 10px 12px;
  border: 1px solid #cbd8e5;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 6px 18px rgb(28 63 95 / 16%);
  color: #24496d;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.45;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition:
    opacity 150ms ease,
    transform 150ms ease;
  visibility: hidden;
}

.legacy-cutoff-info:hover .legacy-cutoff-tooltip,
.legacy-cutoff-info:focus-within .legacy-cutoff-tooltip {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
}
