.info-button {
  align-items: center;
  appearance: none;
  background: var(--panel-bg, #ffffff);
  border: 1px solid var(--border, #d6d8df);
  border-radius: 999px;
  color: var(--accent-color, #246bfe);
  cursor: pointer;
  display: inline-flex;
  font: 700 12px/1 var(--font-ui, system-ui, sans-serif);
  height: 24px;
  justify-content: center;
  margin: 0;
  padding: 0;
  transition: var(--accent-transition, color 160ms ease, background-color 160ms ease, border-color 160ms ease);
  width: 24px;
}

.info-button:hover,
.info-button[aria-expanded="true"] {
  background: color-mix(in srgb, var(--accent-color, #246bfe) 10%, var(--panel-bg, #ffffff));
  border-color: var(--accent-color, #246bfe);
}

.info-button:focus-visible {
  outline: 2px solid var(--accent-color, #246bfe);
  outline-offset: 2px;
}

.app-coder-tooltip-layer {
  inset: 0;
  pointer-events: none;
  position: fixed;
  z-index: 1000;
}

.app-coder-tooltip {
  background: var(--panel-bg, #ffffff);
  border: 1px solid var(--border, #d6d8df);
  border-radius: 8px;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.18);
  color: var(--text, #171923);
  font: 400 13px/1.45 var(--font-ui, system-ui, sans-serif);
  max-width: min(320px, calc(100vw - 32px));
  padding: 10px 12px;
  pointer-events: auto;
  position: fixed;
}

.app-coder-tooltip::before {
  background: inherit;
  border-left: 1px solid var(--border, #d6d8df);
  border-top: 1px solid var(--border, #d6d8df);
  content: "";
  height: 10px;
  left: var(--tooltip-arrow-left, 20px);
  position: absolute;
  top: -6px;
  transform: rotate(45deg);
  width: 10px;
}

.app-coder-tooltip::after {
  content: "";
  height: 14px;
  left: 0;
  position: absolute;
  right: 0;
  top: -14px;
}

.app-coder-tooltip[data-placement="top"]::before {
  bottom: -6px;
  top: auto;
  transform: rotate(225deg);
}

.app-coder-tooltip[data-placement="top"]::after {
  bottom: -14px;
  top: auto;
}

.app-coder-tooltip p {
  margin: 0 0 8px;
}

.app-coder-tooltip p:last-child,
.app-coder-tooltip ul:last-child,
.app-coder-tooltip ol:last-child {
  margin-bottom: 0;
}

.app-coder-tooltip ul,
.app-coder-tooltip ol {
  margin: 0 0 8px;
  padding-left: 18px;
}

.help-tooltip[hidden] {
  display: none;
}
