.tabs .context-help-toggle {
  appearance: none;
  align-items: center;
  align-self: center;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(19, 37, 63, 0.34);
  border-radius: 50%;
  color: #183553;
  cursor: pointer;
  display: inline-flex;
  flex: 0 0 29px;
  height: 29px;
  justify-content: center;
  margin-left: auto;
  padding: 0;
  position: relative;
  transition:
    background-color 150ms ease,
    border-color 150ms ease,
    color 150ms ease,
    transform 150ms ease;
  width: 29px;
}

.tabs .context-help-toggle > span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-style: italic;
  font-weight: 700;
  line-height: 1;
  transform: translate(-0.5px, -0.5px);
}

.tabs .context-help-toggle::after {
  background: #183553;
  border: 2px solid var(--sidebar-bg, #fafafa);
  border-radius: 50%;
  bottom: -2px;
  content: "";
  height: 6px;
  opacity: 0;
  position: absolute;
  right: -2px;
  transform: scale(0.4);
  transition: opacity 150ms ease, transform 150ms ease;
  width: 6px;
}

.tabs .context-help-toggle:hover {
  background: #fff;
  border-color: rgba(19, 37, 63, 0.58);
  transform: translateY(-1px);
}

.tabs .context-help-toggle[aria-pressed="true"] {
  background: #173b5f;
  border-color: #173b5f;
  color: #f4f8fc;
}

.tabs .context-help-toggle[aria-pressed="true"]::after {
  opacity: 1;
  transform: scale(1);
}

.tabs .context-help-toggle:focus-visible {
  outline: 2px solid #80c5ef;
  outline-offset: 3px;
}

body.dark .tabs .context-help-toggle {
  background: rgba(12, 43, 72, 0.82);
  border-color: rgba(143, 204, 241, 0.4);
  color: #bfe6ff;
}

body.dark .tabs .context-help-toggle::after {
  background: #8dd7ff;
  border-color: #071f36;
}

body.dark .tabs .context-help-toggle:hover {
  background: rgba(25, 72, 108, 0.96);
  border-color: rgba(162, 220, 255, 0.72);
}

body.dark .tabs .context-help-toggle[aria-pressed="true"] {
  background: #8bcdf3;
  border-color: #b9e5ff;
  color: #09243d;
}

.orque-context-help-layer {
  inset: 0;
  pointer-events: none;
  position: fixed;
  z-index: 2147483645;
}

.orque-context-help-lines {
  height: 100%;
  inset: 0;
  overflow: visible;
  position: absolute;
  width: 100%;
  z-index: 1;
}

.orque-context-help-line {
  fill: none;
  opacity: 0;
  stroke: rgba(28, 72, 109, 0.76);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.4;
  transition: opacity 180ms ease;
  vector-effect: non-scaling-stroke;
}

.orque-context-help-dot {
  fill: #183e61;
  opacity: 0;
  stroke: #f6fbff;
  stroke-width: 2;
  transition: opacity 180ms ease;
}

.orque-context-help-target {
  border: 1px solid rgba(33, 101, 147, 0.88);
  border-radius: 10px;
  box-shadow:
    0 0 0 3px rgba(115, 187, 229, 0.18),
    0 0 22px rgba(66, 142, 190, 0.18);
  opacity: 0;
  position: fixed;
  transform: scale(0.97);
  transition: opacity 180ms ease, transform 180ms ease;
  z-index: 2;
}

.orque-context-help-card {
  --help-accent: #2b6f9c;
  background: #f4f8fb;
  border: 1px solid rgba(32, 75, 105, 0.28);
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(16, 34, 49, 0.18);
  color: #172b3d;
  max-width: 238px;
  min-width: 186px;
  opacity: 0;
  padding: 10px 12px 11px 14px;
  position: fixed;
  transform: translateY(5px) scale(0.985);
  transition: opacity 180ms ease, transform 180ms ease;
  width: min(218px, calc(100vw - 24px));
  z-index: 3;
}

.orque-context-help-card::before {
  background: var(--help-accent);
  border-radius: 999px;
  content: "";
  inset: 9px auto 9px 0;
  position: absolute;
  width: 3px;
}

.orque-context-help-kicker {
  align-items: center;
  color: #52718a;
  display: flex;
  font-size: 8px;
  font-weight: 800;
  gap: 7px;
  letter-spacing: 0.13em;
  line-height: 1;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.orque-context-help-number {
  align-items: center;
  background: #173b5f;
  border-radius: 50%;
  color: #f6fbff;
  display: inline-flex;
  font-size: 8px;
  height: 16px;
  justify-content: center;
  letter-spacing: 0;
  width: 16px;
}

.orque-context-help-title {
  color: inherit;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0 0 4px;
}

.orque-context-help-copy {
  color: #536779;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.35;
  margin: 0;
}

.orque-context-help-layer.is-visible .orque-context-help-line,
.orque-context-help-layer.is-visible .orque-context-help-dot,
.orque-context-help-layer.is-visible .orque-context-help-target,
.orque-context-help-layer.is-visible .orque-context-help-card {
  opacity: 1;
}

.orque-context-help-layer.is-visible .orque-context-help-target {
  transform: scale(1);
}

.orque-context-help-layer.is-visible .orque-context-help-card {
  transform: translateY(0) scale(1);
}

body.dark .orque-context-help-line {
  stroke: rgba(145, 211, 249, 0.88);
}

body.dark .orque-context-help-dot {
  fill: #8dd7ff;
  stroke: #081e32;
}

body.dark .orque-context-help-target {
  border-color: rgba(143, 216, 255, 0.9);
  box-shadow:
    0 0 0 3px rgba(98, 186, 235, 0.2),
    0 0 24px rgba(92, 184, 235, 0.22);
}

body.dark .orque-context-help-card {
  background: #0c2c48;
  border-color: rgba(139, 201, 237, 0.34);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.4);
  color: #f0f7fc;
}

body.dark .orque-context-help-kicker {
  color: #8ebbd7;
}

body.dark .orque-context-help-number {
  background: #8bcdf3;
  color: #09243d;
}

body.dark .orque-context-help-copy {
  color: #b6cad9;
}

@media (max-width: 900px) {
  .orque-context-help-card {
    min-width: 154px;
    padding: 8px 9px 9px 12px;
    width: min(184px, calc(100vw - 18px));
  }

  .orque-context-help-copy {
    font-size: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tabs .context-help-toggle,
  .orque-context-help-line,
  .orque-context-help-dot,
  .orque-context-help-target,
  .orque-context-help-card {
    transition-duration: 1ms !important;
  }
}
