.veda-tree-wrap {
	width: 100%;
	margin: 20px 0;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	overflow: hidden;
}

.veda-tree-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	padding: 10px 14px;
	border-bottom: 1px solid #e5e7eb;
	background: #f8fafc;
}

.veda-tree-wrap .veda-tree-reset {
	padding: 6px 14px;
	font-size: 13px;
	line-height: 1.4;
	color: #fff;
	background: #2f6fb5;
	border: 0;
	border-radius: 4px;
	cursor: pointer;
}

.veda-tree-wrap .veda-tree-reset:hover {
	background: #255a94;
}

.veda-tree-hint {
	font-size: 13px;
	color: #6b7280;
}

.veda-tree-chart {
	width: 100%;
	min-height: 400px;
}

/* D3 tree */
.veda-tree-chart {
	position: relative;
	overflow: hidden;
	cursor: grab;
}

.veda-tree-chart:active {
	cursor: grabbing;
}

.veda-tree-svg {
	display: block;
	user-select: none;
}

.veda-tree-svg .vt-link {
	fill: none;
	stroke: #c3cad5;
	stroke-width: 1.5px;
}

.veda-tree-svg .vt-node {
	cursor: pointer;
}

.veda-tree-svg .vt-node circle {
	stroke-width: 3px;
	transition: filter 0.15s ease;
}

.veda-tree-svg .vt-node:hover circle {
	filter: brightness(1.12) drop-shadow(0 0 4px rgba(47, 111, 181, 0.45));
}

.veda-tree-svg .vt-node.vt-empty {
	cursor: default;
	opacity: 0.6;
}

.veda-tree-svg .vt-label {
	font-size: 16px;
	font-weight: 600;
	fill: #1f2937;
	white-space: nowrap;
	paint-order: stroke;
	stroke: #fff;
	stroke-width: 4px;
	stroke-linejoin: round;
	pointer-events: auto;
}

.veda-tree-svg .vt-label-root {
	font-size: 19px;
	font-weight: 700;
}

.veda-tree-svg .vt-post .vt-label {
	fill: #b4581f;
	text-decoration: underline;
	text-decoration-color: rgba(180, 88, 31, 0.35);
}

.veda-tree-error {
	padding: 40px 20px;
	text-align: center;
	color: #b91c1c;
}
