/* Swipa Organigramm (30.11.2026) */
.oc .card-h h2 { display: flex; align-items: center; gap: 8px; }
.oc-actions { display: flex; gap: 8px; }
.oc-hint { margin: 0 0 10px; }
.oc-pool { border: 1.5px dashed var(--border-strong); border-radius: var(--radius); padding: 10px 12px; margin-bottom: 14px; background: var(--surface-2, var(--surface)); }
.oc-pool-t { font-size: 12px; font-weight: 600; color: var(--text-2); margin-bottom: 8px; }
.oc-pool-l { display: flex; flex-wrap: wrap; gap: 8px; }
.oc-person { display: inline-flex; align-items: center; gap: 8px; padding: 4px 10px 4px 4px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); max-width: 100%; }
.oc-person.drag { cursor: grab; }
.oc-person.drag:active { cursor: grabbing; }
.oc-person.oc-sel { outline: 2px solid var(--accent); }
.oc-pn { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.oc-pn a { color: var(--text); font-weight: 600; font-size: 13px; text-decoration: none; }
.oc-pn small { color: var(--text-3); font-size: 11px; }
.oc-scroll { overflow-x: auto; padding: 6px 2px 14px; }
.oc-tree { display: flex; justify-content: center; min-width: min-content; }
.oc-tree ul { display: flex; justify-content: center; padding: 18px 0 0; margin: 0; list-style: none; position: relative; }
.oc-tree > ul { padding-top: 0; }
.oc-tree li { display: flex; flex-direction: column; align-items: center; position: relative; padding: 18px 8px 0; }
.oc-tree > ul > li { padding-top: 0; }
.oc-tree li::before, .oc-tree li::after { content: ''; position: absolute; top: 0; width: 50%; height: 18px; border-top: 1.5px solid var(--border-strong); }
.oc-tree li::before { right: 50%; }
.oc-tree li::after { left: 50%; border-left: 1.5px solid var(--border-strong); }
.oc-tree li:only-child::before, .oc-tree li:only-child::after { border-top: 0; }
.oc-tree li:only-child::after { border-left: 1.5px solid var(--border-strong); }
.oc-tree li:first-child::before, .oc-tree li:last-child::after { border-top: 0; }
.oc-tree li:last-child::before { border-right: 1.5px solid var(--border-strong); border-radius: 0 6px 0 0; }
.oc-tree li:first-child::after { border-radius: 6px 0 0 0; }
.oc-tree > ul > li::before, .oc-tree > ul > li::after { display: none; }
.oc-tree ul ul::before { content: ''; position: absolute; top: 0; left: 50%; height: 18px; border-left: 1.5px solid var(--border-strong); }
.oc-node { width: 200px; border: 1.5px solid var(--border); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); text-align: center; transition: border-color .15s, box-shadow .15s; }
.oc-node.oc-free { border-style: dashed; }
.oc-head { padding: 8px 10px 6px; border-bottom: 1px solid var(--border); background: var(--surface-2, transparent); border-radius: var(--radius) var(--radius) 0 0; display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap; }
.oc-head[draggable="true"] { cursor: grab; }
.oc-title { font-size: 13px; }
.oc-tools { display: inline-flex; gap: 2px; }
.oc-ib { border: 0; background: transparent; color: var(--text-3); padding: 3px; border-radius: 6px; cursor: pointer; line-height: 0; }
.oc-ib:hover { color: var(--accent); background: var(--surface-3, rgba(0,0,0,.05)); }
.oc-body { padding: 10px; display: flex; justify-content: center; }
.oc-body .oc-person { border: 0; background: transparent; padding: 0; text-align: left; }
.oc-vacant { color: var(--text-3); font-size: 12px; padding: 6px 0; }
.oc-root { margin: 14px auto 0; max-width: 360px; text-align: center; border: 1.5px dashed var(--border-strong); border-radius: var(--radius); padding: 10px; color: var(--text-3); font-size: 12px; display: flex; align-items: center; justify-content: center; gap: 6px; }
.oc-dragging .oc-node, .oc-dragging .oc-root, .oc-dragging .oc-pool { border-color: var(--accent); }
.oc .oc-over { background: color-mix(in srgb, var(--accent) 12%, var(--surface)); border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent); }
