/* Teams page: the org chart (orgchart.js). An indented tree with connectors. */
.org-card { margin-bottom: 16px; }
.org-tree, .org-tree ul { list-style: none; margin: 0; padding: 0; }
.org-tree ul { margin-left: 18px; padding-left: 14px; border-left: 1px solid var(--border); }
.org-tree li { margin: 6px 0; position: relative; }
.org-tree ul > li::before { content: ''; position: absolute; left: -14px; top: 16px; width: 12px; border-top: 1px solid var(--border); }
.org-node { display: inline-flex; gap: 8px; align-items: baseline; padding: 6px 10px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface-2); color: var(--text); text-decoration: none; }
.org-node:hover { border-color: var(--accent); }
.org-node.on { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.org-node .name { font-weight: 600; }
.org-node .sub { color: var(--muted); font-size: 12px; }
.org-node .dept { font-size: 11px; color: var(--text-2); border: 1px solid var(--border); border-radius: 999px; padding: 1px 7px; }
.org-orgs { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 12px; }
.org-node.org { background: transparent; }
.orgchart { overflow-x: auto; padding-bottom: 4px; }
