/* lernoffice.de – Organigramm (B2) */
.owt-og-main { overflow: hidden; background: #f4f7fa; background-image: radial-gradient(circle, #dfe6ee 1px, transparent 1.2px); background-size: 22px 22px; }
.owt-og-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-og-svg:focus-visible { box-shadow: inset 0 0 0 2px var(--owt-acc-b); }
.owt-og-svg.owt-og-panning, .owt-og-svg.owt-og-moving { cursor: grabbing; }
.owt-og-node { cursor: pointer; }
.owt-og-node:hover .owt-og-box { stroke-opacity: .9; }
.owt-og-node.owt-og-dragging { opacity: .35; }
.owt-og-ghost { opacity: .8; pointer-events: none; filter: drop-shadow(0 8px 14px rgba(15, 23, 42, .22)); }
.owt-og-add { cursor: pointer; }
.owt-og-add:hover circle + circle { fill: #214f71; }
.owt-og-drop { pointer-events: none; }

.owt-og-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-og-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-og-zoom button:hover { background: var(--owt-acc-xl); color: var(--owt-acc-d); }
.owt-og-zoom button:focus-visible { outline: 2px solid var(--owt-acc); outline-offset: 1px; }
.owt-og-pct { min-width: 54px !important; }
.owt-og-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-og-tip.on { opacity: 1; }

.owt-organigramm .owt-side .owt-input { width: 100%; }
.owt-og-cols .owt-swatch { width: 28px; height: 28px; }
.owt-og-auto { background: #fff; font: 700 11px/1 var(--owt-ui); color: var(--owt-mut); }
.owt-og-check { display: flex !important; align-items: center; gap: 8px; font-size: 13.5px !important; color: var(--owt-ink) !important; font-weight: 500 !important; cursor: pointer; margin: 2px 0 10px; }
.owt-og-check input { width: 18px; height: 18px; accent-color: var(--owt-acc); }
.owt-og-btns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.owt-og-btns .owt-btn { justify-content: flex-start; }
.owt-og-btns .owt-btn span { display: inline !important; overflow: hidden; text-overflow: ellipsis; }
.owt-og-seg { display: flex; border: 1px solid var(--owt-line); border-radius: 10px; overflow: hidden; }
.owt-og-seg button { flex: 1; min-height: 36px; border: 0; background: #fff; font: 600 12.5px/1.2 var(--owt-ui); color: var(--owt-ink); cursor: pointer; padding: 4px 6px; }
.owt-og-seg button + button { border-left: 1px solid var(--owt-line); }
.owt-og-seg button.on { background: var(--owt-acc-l); color: var(--owt-acc-d); }
.owt-og-keys { line-height: 1.75; }
.owt-og-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-organigramm .owt-status { overflow: hidden; white-space: nowrap; }
.owt-og-shint { margin-left: auto; }

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