/* lernoffice.de – Mindmap (B1) */
.owt-mm-main { overflow: hidden; background: #f4f7fa; background-image: radial-gradient(circle, #dfe6ee 1px, transparent 1.2px); background-size: 22px 22px; }
.owt-mm-svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; user-select: none; -webkit-user-select: none; cursor: grab; outline: none; }
.owt-mm-svg:focus-visible { box-shadow: inset 0 0 0 2px var(--owt-acc-b); }
.owt-mm-svg.owt-mm-panning { cursor: grabbing; }
.owt-mm-svg.owt-mm-moving { cursor: grabbing; }
.owt-mm-node { cursor: pointer; }
.owt-mm-node:hover .owt-mm-box { filter: brightness(.98); stroke-opacity: .9; }
.owt-mm-node.owt-mm-dragging { opacity: .35; }
.owt-mm-ghost { opacity: .75; pointer-events: none; filter: drop-shadow(0 8px 14px rgba(15, 23, 42, .22)); }
.owt-mm-tog { cursor: pointer; }
.owt-mm-tog:hover rect + rect { fill: #f3f8fd; }
.owt-mm-drop { pointer-events: none; }

.owt-mm-zoom { position: absolute; right: 12px; bottom: 12px; display: flex; gap: 2px; background: #fff; border: 1px solid var(--owt-line); border-radius: 12px; padding: 3px; box-shadow: 0 6px 18px -10px rgba(15, 23, 42, .35); z-index: 2; }
.owt-mm-zoom button { height: 34px; min-width: 34px; border: 0; background: none; border-radius: 9px; display: inline-grid; place-items: center; color: var(--owt-ink); cursor: pointer; font: 600 12.5px/1 var(--owt-ui); padding: 0 6px; }
.owt-mm-zoom button:hover { background: var(--owt-acc-xl); color: var(--owt-acc-d); }
.owt-mm-zoom button:focus-visible { outline: 2px solid var(--owt-acc); outline-offset: 1px; }
.owt-mm-pct { min-width: 54px !important; }

.owt-mm-tip { position: absolute; left: 50%; top: 14px; transform: translateX(-50%); background: rgba(31, 41, 55, .9); color: #fff; font: 500 13px/1.3 var(--owt-ui); padding: 8px 14px; border-radius: 10px; opacity: 0; transition: opacity .2s; pointer-events: none; z-index: 3; max-width: calc(100% - 24px); text-align: center; }
.owt-mm-tip.on { opacity: 1; }

.owt-mm-edit { position: absolute; z-index: 4; margin: 0; border: 2px solid var(--owt-acc) !important; box-shadow: 0 0 0 4px rgba(46, 108, 153, .18), 0 10px 24px -12px rgba(15, 23, 42, .4) !important; resize: none; overflow: hidden; outline: none; }

.owt-mm-syms { display: flex; flex-wrap: wrap; gap: 5px; }
.owt-mm-sym { width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--owt-line); background: #fff; font: 700 15px/1 var(--owt-ui); color: var(--owt-ink); cursor: pointer; }
.owt-mm-sym:hover { background: var(--owt-acc-xl); border-color: var(--owt-acc-b); }
.owt-mm-sym.on { background: var(--owt-acc); border-color: var(--owt-acc); color: #fff; }
.owt-mm-colf .owt-swatch { width: 28px; height: 28px; }
.owt-mm-auto { background: #fff; font: 700 11px/1 var(--owt-ui); color: var(--owt-mut); }
.owt-mm-btns { gap: 6px; }
.owt-mm-btns .owt-btn span { display: inline !important; }
.owt-mm-seg { display: flex; border: 1px solid var(--owt-line); border-radius: 10px; overflow: hidden; }
.owt-mm-seg button { flex: 1; height: 34px; border: 0; background: #fff; font: 600 13px/1 var(--owt-ui); color: var(--owt-ink); cursor: pointer; }
.owt-mm-seg button + button { border-left: 1px solid var(--owt-line); }
.owt-mm-seg button.on { background: var(--owt-acc-l); color: var(--owt-acc-d); }
.owt-mm-keys { line-height: 1.75; }
.owt-mm-keys kbd { display: inline-block; min-width: 20px; padding: 0 5px; border: 1px solid var(--owt-acc-b); border-bottom-width: 2px; border-radius: 5px; background: #fff; font: 600 11.5px/18px var(--owt-ui); color: var(--owt-acc-d); text-align: center; }
.owt-mindmap .owt-status { overflow: hidden; white-space: nowrap; }
.owt-mm-shint { margin-left: auto; }
.owt-mindmap .owt-side textarea { width: 100%; resize: vertical; }

@media (max-width: 860px) {
	.owt-mindmap .owt-side { order: 2; border-bottom: 0; border-top: 1px solid var(--owt-line); }
	.owt-mindmap .owt-main { min-height: 66vh; }
	.owt-mm-shint { display: none; }
}
