.dk-help-trigger {
  appearance: none;
  -webkit-appearance: none;
  display: inline-grid;
  place-items: center;
  width: 17px;
  height: 17px;
  min-width: 17px;
  margin: 0 0 0 6px;
  padding: 0;
  border: 1px solid #1c5a96;
  border-radius: 999px;
  background: #fff;
  color: #15407a;
  font: 800 11px/1 system-ui, sans-serif;
  vertical-align: middle;
  cursor: help;
  touch-action: manipulation;
}

.dk-help-trigger::before {
  content: "i";
}

.dk-help-trigger:hover,
.dk-help-trigger:focus-visible,
.dk-help-trigger[aria-expanded="true"] {
  border-color: #0e2e58;
  background: #15407a;
  color: #fff;
}

.dk-help-trigger:focus-visible {
  outline: 3px solid #f4b740;
  outline-offset: 2px;
}

.dk-help-heading {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.dk-help-popover {
  position: fixed;
  z-index: 10050;
  width: min(360px, calc(100vw - 24px));
  max-height: min(65vh, 440px);
  overflow: auto;
  padding: 14px 16px;
  border: 1px solid rgba(14, 46, 88, .22);
  border-radius: 12px;
  background: #fff;
  color: #172b43;
  box-shadow: 0 14px 38px rgba(14, 46, 88, .22);
  font: 400 15px/1.5 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-align: left;
  overflow-wrap: anywhere;
}

.dk-help-popover[hidden] {
  display: none !important;
}

.dk-help-popover-title {
  display: block;
  margin: 0 0 6px;
  color: #0e2e58;
  font-weight: 800;
  line-height: 1.3;
}

.dk-help-popover-text {
  margin: 0;
  color: #243b55;
}

@media (max-width: 520px) {
  .dk-help-trigger {
    width: 20px;
    height: 20px;
    min-width: 20px;
    font-size: 12px;
  }

  .dk-help-popover {
    width: calc(100vw - 16px);
    max-height: min(58vh, 380px);
    padding: 13px 14px;
    border-radius: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dk-help-trigger,
  .dk-help-popover {
    scroll-behavior: auto;
  }
}
