*,
*:before,
*:after {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.root {
	position: relative;
	cursor: move;
}

.branch {
	position: relative;
	margin-left: 100px;
}

.branch:before {
	content: "";
	width: 50px;
	border-top: 2px solid #ccc;
	position: absolute;
	left: -100px;
	top: 50%;
	margin-top: 1px;
}

.entry {
	position: relative;
	min-height: 40px;
	display: flex;
	align-items: center;
}

.entry:before {
	content: "";
	height: 100%;
	border-left: 2px solid #ccc;
	position: absolute;
	left: -50px;
}

.entry:after {
	content: "";
	width: 50px;
	border-top: 2px solid #ccc;
	position: absolute;
	left: -50px;
	top: 50%;
	margin-top: 1px;
}

.entry:first-child:before {
	width: 10px;
	height: 50%;
	top: 50%;
	margin-top: 2px;
	border-radius: 10px 0 0 0;
}

.entry:first-child:after {
	height: 10px;
	border-radius: 10px 0 0 0;
}

.entry:last-child:before {
	width: 10px;
	height: 50%;
	bottom: 50%;
	border-radius: 0 0 0 10px;
}

.entry:last-child:after {
	height: 10px;
	border-top: none;
	border-bottom: 2px solid #ccc;
	border-radius: 0 0 0 10px;
	margin-top: -9px;
}

.entry.sole:before {
	display: none;
}

.entry.sole:after {
	width: 50px;
	height: 0;
	margin-top: 1px;
	border-radius: 0;
}

.entry .card {
	width: 300px;
}

.label {
	display: block;
	min-width: 150px;
	padding: 5px 10px;
	line-height: 20px;
	text-align: center;
	border: 2px solid;
	border-radius: 5px;
	position: absolute;
	left: 0;
	top: 50%;
	margin-top: -15px;
	color: white;
	cursor: pointer;
}

.label.Tune {
	text-align: left;
}