/* ============================================================
   ORG CHART EMBED COMPONENT
   All .oce-* classes for the embedded org chart within the
   People/Directory page Org Chart tab.
   ============================================================ */

/* ── Outer wrapper ────────────────────────────────────────── */
.oce-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: 100%;
}

/* ── Loading / empty state ────────────────────────────────── */
.oce-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    color: var(--color-text-secondary);
    text-align: center;
}

.oce-empty-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-lg);
    background: var(--color-accent-subtle);
    color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-4);
    opacity: 0.8;
}

.oce-empty-title {
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--color-text-primary);
    margin: 0 0 var(--space-1);
}

.oce-empty-hint {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    margin: 0;
    max-width: 300px;
}

/* ── Tree container ───────────────────────────────────────── */
.oce-tree {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

/* ── Mobile indented list fallback ───────────────────────── */
@media (max-width: 767px) {
    .oce-wrapper {
        overflow-x: hidden;
    }
}
