/* Organigrama — layout compartido (cadena, reportes, árbol) */
.org-chain {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0;
}

.org-chain__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 20rem; /* mismo ancho que la tarjeta */
}

.org-chain__line {
	width: 2px;
	height: 1rem;
	background: rgba(13, 25, 43, 0.18);
}

/* Fila de reportes directos / laterales: tarjetas del mismo ancho */
.org-peers {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: stretch;
	gap: 1rem;
	margin-top: 0.15rem;
	padding: 1rem;
	background: rgba(13, 25, 43, 0.04);
	border-radius: 16px;
	width: 100%;
}

.org-peers > * {
	width: 20rem;
	flex: 0 0 20rem;
}

.org-tree-node {
	margin: 0.5rem 0;
}

.org-tree-children {
	margin-left: 1.25rem;
	padding-left: 1rem;
	border-left: 2px solid rgba(13, 25, 43, 0.12);
}

.org-panel {
	background: rgba(13, 25, 43, 0.03);
	border-radius: 16px;
	padding: 1rem;
}

.mfx-oscuro .org-chain__line {
	background: rgba(231, 236, 243, 0.22);
}

.mfx-oscuro .org-peers,
.mfx-oscuro .org-panel {
	background: rgba(255, 255, 255, 0.04);
}

.mfx-oscuro .org-tree-children {
	border-color: rgba(231, 236, 243, 0.15);
}
