/* Optional help shares the resolved application theme, including explicit mode. */
.mm-context-help {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  min-height: 2.75rem;
  min-width: 2.75rem;
  padding: .25rem .5rem;
  border: 0;
  border-radius: var(--mm-radius-sm);
  background: transparent;
  color: var(--mm-color-text-secondary);
  font: inherit;
  font-size: .875rem;
  text-align: start;
}
.mm-context-help:hover {
  background: var(--mm-color-hover-bg);
  color: var(--mm-color-heading);
}
.mm-context-help:focus-visible {
  outline: 2px solid var(--mm-color-accent-text);
  outline-offset: 2px;
}
.mm-help-popover {
  --bs-popover-bg: var(--mm-color-surface);
  --bs-popover-body-color: var(--mm-color-text-primary);
  --bs-popover-border-color: var(--mm-color-border-strong);
  --bs-popover-max-width: min(22rem, calc(100vw - 2rem));
  box-shadow: var(--mm-shadow-md);
  overflow-wrap: anywhere;
}
