/* ---------- Mind Map / Project Board ---------- */
.mindmap-block {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: var(--bg);
  overflow: hidden;
  min-height: 440px;
}

.mindmap-block[hidden] {
  display: none !important;
}

.mindmap-block.is-fullscreen {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  border-radius: 0;
  border: none;
  min-height: 100vh;
}

body.mm-fullscreen-lock {
  overflow: hidden;
}

/* Toolbar */
.mindmap-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.mindmap-toolbar .block-title {
  margin: 0;
}

.mm-toolset {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}

.mm-toolset::-webkit-scrollbar {
  display: none;
}

.mm-sep {
  width: 1px;
  align-self: stretch;
  min-height: 22px;
  background: var(--border);
  margin: 0 4px;
}

.mm-tool {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: var(--r-md);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.mm-tool svg {
  width: 18px;
  height: 18px;
}

.mm-tool:hover:not(:disabled) {
  background: var(--surface-2);
  color: var(--ink);
}

.mm-tool:focus-visible {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.mm-tool.is-active {
  background: var(--accent-soft);
  color: var(--accent-text);
}

.mm-tool.danger:hover:not(:disabled) {
  background: var(--danger-soft);
  color: var(--danger);
}

.mm-tool:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.mm-color-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: var(--r-md);
  cursor: pointer;
}

.mm-color-wrap:hover {
  background: var(--surface-2);
}

.color-picker {
  width: 24px;
  height: 24px;
  padding: 0;
  border: none;
  border-radius: 6px;
  background: none;
  cursor: pointer;
}

.color-picker:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.color-picker::-webkit-color-swatch-wrapper {
  padding: 0;
}

.color-picker::-webkit-color-swatch {
  border: 1px solid var(--border-strong);
  border-radius: 6px;
}

.color-picker::-moz-color-swatch {
  border: 1px solid var(--border-strong);
  border-radius: 6px;
}

/* Canvas */
.mindmap-canvas {
  flex: 1;
  position: relative;
  overflow: hidden;
  background-color: var(--bg);
  background-image: radial-gradient(var(--border) 1px, transparent 1px);
  background-size: 22px 22px;
  touch-action: none;
}

.mindmap-canvas::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(circle, transparent 55%, color-mix(in srgb, var(--bg) 55%, transparent) 140%);
}

/* Default cursor = rubber-band select; pan mode (Pan tool / Space held / middle / right drag) shows a hand. */
.wb-svg {
  display: block;
  position: relative;
  z-index: 2;
  cursor: default;
}

/* Open hand = ready to pan (Pan tool active or Space held). Listed BEFORE mm-panning so the
   closed-hand (grabbing) rule wins while a drag is actually in progress. */
.mindmap-canvas.is-pan,
.mindmap-canvas.is-pan .wb-svg,
.mindmap-canvas.mm-space,
.mindmap-canvas.mm-space .wb-svg {
  cursor: grab;
}

.mindmap-canvas.mm-panning,
.mindmap-canvas.mm-panning .wb-svg,
.mindmap-canvas.mm-panning .wb-node {
  cursor: grabbing;
}

.mindmap-canvas.is-pen,
.mindmap-canvas.is-pen .wb-svg,
.mindmap-canvas.is-line,
.mindmap-canvas.is-line .wb-svg {
  cursor: crosshair;
}

.mindmap-canvas.is-eraser,
.mindmap-canvas.is-eraser .wb-svg {
  cursor: cell;
}

.mindmap-canvas.is-pen .wb-node,
.mindmap-canvas.is-pen .wb-fo,
.mindmap-canvas.is-pen .wb-adder,
.mindmap-canvas.is-pen .wb-fold,
.mindmap-canvas.is-line .wb-node,
.mindmap-canvas.is-line .wb-fo,
.mindmap-canvas.is-line .wb-adder,
.mindmap-canvas.is-line .wb-fold,
.mindmap-canvas.is-eraser .wb-node,
.mindmap-canvas.is-eraser .wb-fo,
.mindmap-canvas.is-eraser .wb-adder,
.mindmap-canvas.is-eraser .wb-fold,
/* Pan tool: the whole surface drags the board, so cards/strokes don't intercept (keeps the hand cursor everywhere). */
.mindmap-canvas.is-pan .wb-node,
.mindmap-canvas.is-pan .wb-fo,
.mindmap-canvas.is-pan .wb-adder,
.mindmap-canvas.is-pan .wb-fold,
.mindmap-canvas.is-pan .wb-stroke-hit {
  pointer-events: none;
}

/* Zoom pill */
.mm-zoombar {
  position: absolute;
  bottom: 20px;
  left: 20px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-md);
}

.mm-zoombar[hidden] {
  display: none;
}

.mm-zoom-btn {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  color: var(--ink);
  border-radius: 50%;
  cursor: pointer;
}

.mm-zoom-btn:hover {
  background: var(--surface-2);
}

.mm-zoom-btn svg {
  width: 16px;
  height: 16px;
}

.mm-zoom-btn:disabled,
.mm-zoom-slider:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* zoom slider (replaces the +/- % stepper) — value bubble shows only on hover / while sliding */
.mm-zoom-slider-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 118px;
  height: 30px;
  padding: 0 7px;
}

.mm-zoom-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  margin: 0;
  background: var(--border-strong);
  border-radius: var(--r-pill);
  outline: none;
  cursor: pointer;
}

.mm-zoom-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--surface);
  box-shadow: var(--shadow-sm);
  cursor: grab;
  transition: transform var(--dur) var(--ease);
}

.mm-zoom-slider-wrap:hover .mm-zoom-slider::-webkit-slider-thumb {
  transform: scale(1.12);
}

.mm-zoom-slider:active::-webkit-slider-thumb {
  cursor: grabbing;
  transform: scale(1.12);
}

.mm-zoom-slider::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--surface);
  box-shadow: var(--shadow-sm);
  cursor: grab;
}

.mm-zoom-slider::-moz-range-track {
  height: 4px;
  background: var(--border-strong);
  border-radius: var(--r-pill);
}

.mm-zoom-slider:focus-visible::-webkit-slider-thumb {
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.mm-zoom-bubble {
  position: absolute;
  bottom: calc(100% + 1px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  padding: 2px 7px;
  background: var(--ink);
  color: var(--bg);
  font: 600 var(--fs-xs)/1 inherit;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
  border-radius: var(--r-sm);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.mm-zoom-slider-wrap:hover .mm-zoom-bubble,
.mm-zoombar.mm-zoom-sliding .mm-zoom-bubble,
.mm-zoombar.mm-zoom-flash .mm-zoom-bubble {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* FABs */
.mm-fab-corner {
  position: absolute;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mm-fab-corner.bottom-right {
  bottom: 20px;
  right: 20px;
}

.mm-fab-corner.top-right {
  top: 20px;
  right: 20px;
}

.fab-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
}

.fab-btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-pop);
  background: var(--surface-2);
}

.fab-btn svg {
  width: 19px;
  height: 19px;
}

/* ---------- Board items ---------- */
.node-group {
  cursor: default;
}

.wb-fo {
  overflow: visible;
}

.wb-node {
  box-sizing: border-box;
  position: relative;
  background: var(--surface-2);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  border-radius: var(--r-lg);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  cursor: grab;
  transition: box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.wb-node:hover {
  box-shadow: var(--shadow-md);
}

.wb-node.wb-dragging {
  cursor: grabbing;
  box-shadow: var(--shadow-pop);
}

.node-group.selected .wb-node {
  border-color: var(--node-color, var(--accent));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--node-color, var(--accent)) 30%, transparent), var(--shadow-md);
}

/* checklist + root */
.wb-checklist,
.wb-root {
  border-top: 3px solid var(--node-color, var(--accent));
  gap: 9px;
}

/* root is the non-deletable project node — frame it with a matching accent strip top AND bottom */
.wb-root {
  border-bottom: 3px solid var(--node-color, var(--accent));
}

.wb-header {
  display: flex;
  gap: 7px;
  align-items: center;
}

.wb-list-icon {
  flex: none;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-sm);
  color: var(--node-color, var(--accent));
  background: color-mix(in srgb, var(--node-color, var(--accent)) 15%, transparent);
}

.wb-list-icon svg {
  width: 14px;
  height: 14px;
}

.wb-title-input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  outline: none;
  font-weight: 600;
  font-size: var(--fs-md);
  color: var(--ink);
  letter-spacing: -0.01em;
  padding: 2px 4px;
  border-radius: var(--r-sm);
  transition: background var(--dur) var(--ease);
}

.wb-title-input:focus {
  background: color-mix(in srgb, var(--ink) 7%, transparent);
}

.wb-count-badge {
  flex: none;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  padding: 1px 7px;
  font-variant-numeric: tabular-nums;
}

.wb-count-badge.all-done {
  color: var(--accent-text);
  background: var(--accent-soft);
  border-color: transparent;
}

.wb-toggle {
  flex: none;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--faint);
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}

.wb-toggle svg {
  width: 14px;
  height: 14px;
  transition: transform var(--dur) var(--ease);
}

.wb-toggle.collapsed svg {
  transform: rotate(-90deg);
}

.wb-toggle:hover {
  background: var(--surface);
  color: var(--ink);
}

/* progress bar */
.wb-progress {
  height: 4px;
  border-radius: var(--r-pill);
  background: color-mix(in srgb, var(--ink) 9%, transparent);
  overflow: hidden;
}

.wb-progress-fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: var(--node-color, var(--accent));
  transition: width 240ms var(--ease);
}

.wb-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.wb-todos {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
  max-height: 280px;
  overflow-y: auto;
}

.wb-todo-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 5px 6px;
  border-radius: var(--r-md);
  transition: background var(--dur) var(--ease);
}

.wb-todo-item:hover {
  background: color-mix(in srgb, var(--ink) 5%, transparent);
}

/* custom round checkbox */
.wb-todo-check {
  appearance: none;
  -webkit-appearance: none;
  flex: none;
  width: 17px;
  height: 17px;
  margin: 0;
  border: 1.5px solid var(--border-strong);
  border-radius: 50%;
  cursor: pointer;
  position: relative;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.wb-todo-check:hover {
  border-color: var(--node-color, var(--accent));
}

.wb-todo-check:checked {
  background: var(--node-color, var(--accent));
  border-color: var(--node-color, var(--accent));
}

.wb-todo-check:checked::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 4px;
  height: 8px;
  border: solid var(--accent-fg);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.wb-todo-check:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.wb-todo-text {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  outline: none;
  font-size: var(--fs-sm);
  color: var(--ink);
  padding: 1px 0;
}

.wb-todo-text::placeholder {
  color: var(--faint);
}

.wb-todo-item.done .wb-todo-text {
  text-decoration: line-through;
  color: var(--faint);
}

.wb-todo-del {
  flex: none;
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--faint);
  cursor: pointer;
  opacity: 0;
  border-radius: var(--r-sm);
  transition: opacity var(--dur) var(--ease), color var(--dur) var(--ease), background var(--dur) var(--ease);
}

.wb-todo-del svg {
  width: 13px;
  height: 13px;
}

.wb-todo-item:hover .wb-todo-del,
.wb-todo-text:focus~.wb-todo-del {
  opacity: 1;
}

.wb-todo-del:hover {
  color: var(--danger);
  background: var(--danger-soft);
}

/* ---- table node (type: table) ---- */
.wb-node.wb-table {
  border-top: 3px solid var(--node-color, var(--accent));
  padding: 10px 12px;
}

.wb-table-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 14px;
  grid-template-rows: minmax(0, 1fr) 14px;
  gap: 4px;
}

.wb-table-el {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: var(--fs-sm);
  grid-column: 1;
  grid-row: 1;
}

.wb-table-el td {
  border: 1px solid var(--border);
  padding: 5px 7px;
  outline: none;
  word-break: break-word;
  vertical-align: top;
  color: var(--ink);
  line-height: 1.4;
  cursor: text;
}

.wb-table-el td:focus {
  border-color: var(--node-color, var(--accent));
  box-shadow: inset 0 0 0 1px var(--node-color, var(--accent));
}

/* first row reads as the header */
.wb-table-el tr:first-child td {
  font-weight: 600;
  background: color-mix(in srgb, var(--node-color, var(--accent)) 8%, transparent);
}

/* slim +row / +column handles — appear on hover/selection like the "+" adders */
.wb-table-add {
  opacity: 0;
  border: 1px dashed var(--border-strong);
  background: none;
  color: var(--muted);
  border-radius: var(--r-sm);
  cursor: pointer;
  font-size: 12px;
  line-height: 1;
  padding: 0;
  transition: opacity var(--dur) var(--ease), background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.wb-node.wb-table:hover .wb-table-add,
.node-group.selected .wb-table-add {
  opacity: 1;
}

.wb-table-add:hover {
  background: var(--accent-soft);
  color: var(--accent);
  border-color: var(--accent);
}

.wb-table-addrow {
  grid-column: 1;
  grid-row: 2;
}

.wb-table-addcol {
  grid-column: 2;
  grid-row: 1;
}

.wb-add-todo {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  background: none;
  border: 1px dashed var(--border-strong);
  color: var(--muted);
  font-size: var(--fs-sm);
  font-weight: 500;
  cursor: pointer;
  padding: 6px 8px;
  border-radius: var(--r-md);
  margin-top: 2px;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.wb-add-todo svg {
  width: 14px;
  height: 14px;
}

.wb-add-todo:hover {
  background: var(--accent-soft);
  color: var(--accent-text);
  border-color: transparent;
}

/* sticky note */
.wb-note {
  padding: 12px 13px;
}

.wb-note-text {
  width: 100%;
  resize: none;
  border: none;
  outline: none;
  background: transparent;
  color: var(--ink);
  font-family: inherit;
  font-size: var(--fs-base);
  line-height: 1.45;
  overflow: hidden;
}

.wb-note-text::placeholder {
  color: var(--faint);
}

/* rich (contenteditable) note — supports inline links between words */
.wb-rich {
  white-space: pre-wrap;
  word-break: break-word;
  min-height: 1.45em;
  cursor: text;
}

.wb-rich:empty::before {
  content: attr(data-placeholder);
  color: var(--faint);
  pointer-events: none;
}

.wb-rich a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.wb-rich a:hover {
  text-decoration-thickness: 2px;
}

/* free text */
.wb-text {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  padding: 4px 6px;
}

.wb-text:hover {
  box-shadow: none;
  background: color-mix(in srgb, var(--ink) 4%, transparent);
}

.node-group.selected .wb-text {
  background: color-mix(in srgb, var(--ink) 5%, transparent);
  box-shadow: none;
}

.wb-text-input {
  width: 100%;
  resize: none;
  border: none;
  outline: none;
  background: transparent;
  color: var(--node-color, var(--ink));
  font-family: inherit;
  font-weight: 600;
  font-size: var(--fs-lg);
  line-height: 1.35;
  letter-spacing: -0.01em;
  overflow: hidden;
}

.wb-text-input::placeholder {
  color: var(--faint);
  font-weight: 500;
}

/* resize handle */
.wb-resize {
  position: absolute;
  right: 2px;
  bottom: 2px;
  width: 16px;
  height: 16px;
  cursor: nwse-resize;
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
}

.wb-resize::after {
  content: "";
  position: absolute;
  right: 3px;
  bottom: 3px;
  width: 7px;
  height: 7px;
  border-right: 2px solid var(--faint);
  border-bottom: 2px solid var(--faint);
  border-bottom-right-radius: 3px;
}

.wb-node:hover .wb-resize,
.node-group.selected .wb-resize {
  opacity: 1;
}

/* adder (+) for a linked child */
.wb-adder {
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
  cursor: pointer;
  pointer-events: none;
}

.wb-adder-bridge {
  fill: transparent;
  stroke: none;
  pointer-events: all;
}

.node-group:hover .wb-adder,
.node-group.selected .wb-adder {
  opacity: 1;
  pointer-events: auto;
}

.wb-adder circle {
  fill: var(--node-color, var(--accent));
  stroke: var(--bg);
  stroke-width: 3px;
  filter: drop-shadow(0 2px 4px rgb(0 0 0 / 0.18));
  transition: transform var(--dur) var(--ease);
}

.wb-adder:hover circle {
  transform: scale(1.14);
}

.wb-adder text {
  fill: #fff;
  font-size: 15px;
  font-weight: 600;
  pointer-events: none;
}

/* links + sketch strokes */
.link {
  fill: none;
  stroke: var(--border-strong);
  stroke-width: 2px;
  stroke-linecap: round;
  transition: stroke 0.2s;
}

/* invisible fat hit-area so thin links are easy to click to remove */
.link-hit {
  fill: none;
  stroke: transparent;
  stroke-width: 16px;
  cursor: pointer;
}

.link-pair:hover .link {
  stroke: var(--danger);
  stroke-width: 2.5px;
}

/* While rubber-band selecting, block native text-selection from smearing across cards.
   Editing/selecting text inside cards is untouched once the drag ends. */
.mindmap-canvas.mm-marqueeing,
.mindmap-canvas.mm-marqueeing * {
  user-select: none !important;
  -webkit-user-select: none !important;
}

/* Connect tool: dashed preview line from the armed node to the cursor */
.wb-connect-line {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2px;
  stroke-dasharray: 7 6;
  stroke-linecap: round;
  pointer-events: none;
}

/* The armed (first-clicked) node while the Connect tool waits for its pair */
.wb-node.wb-connect-source {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 30%, transparent), var(--shadow-md);
}

/* Connect tool mode: each card is ONE click target (children click-through),
   crosshair everywhere, and no +/fold controls in the way. */
.mindmap-canvas.is-connect,
.mindmap-canvas.is-connect .wb-svg,
.mindmap-canvas.is-connect .wb-node {
  cursor: crosshair;
}

.mindmap-canvas.is-connect .wb-node * {
  pointer-events: none;
}

.mindmap-canvas.is-connect .wb-adder,
.mindmap-canvas.is-connect .wb-fold {
  display: none !important;
}

.wb-stroke {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}

/* invisible fat hit-area so thin strokes/lines are easy to click, drag & select */
.wb-stroke-hit {
  fill: none;
  stroke: transparent;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: stroke;
  cursor: move;
}

.wb-stroke-g.wb-stroke-dragging {
  cursor: grabbing;
}

/* selection halo behind the visible line */
.wb-stroke-g.selected .wb-stroke-hit {
  stroke: color-mix(in srgb, var(--accent) 32%, transparent);
}

/* strokes are only interactive with the select tool — let the drawing/erasing
   tools (and their cursors) work over an existing stroke */
.mindmap-canvas.is-pen .wb-stroke-hit,
.mindmap-canvas.is-line .wb-stroke-hit,
.mindmap-canvas.is-eraser .wb-stroke-hit {
  pointer-events: none;
}

/* board context menus must clear the fullscreen board (z-modal) */
#mm-node-menu,
#mm-link-menu {
  z-index: calc(var(--z-modal) + 6);
}

