.enveda-body-map { margin: 1.5rem 0; }

.ebm-widget {
	max-width: 640px;
	margin: 0 auto;
	padding: 1rem;
}

.ebm-title {
	font-size: 1.15rem;
	font-weight: 600;
	color: #241f30;
	margin: 0 0 1rem;
	text-align: left;
}

.ebm-undo {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	margin-bottom: 1rem;
	padding: 0.4rem 0.7rem;
	background: #fff;
	border: 1px solid #d9d5ea;
	border-radius: 8px;
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #4a4458;
	cursor: pointer;
}

.ebm-undo:hover {
	background: #f5f3fb;
}

.ebm-undo-icon {
	font-size: 1rem;
	line-height: 1;
}

.ebm-figures {
	display: flex;
	justify-content: center;
	gap: 2.5rem;
	flex-wrap: wrap;
}

.ebm-figure {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 45%;
	min-width: 140px;
	max-width: 260px;
}

.ebm-figure-label {
	font-size: 0.85rem;
	font-weight: 600;
	color: #4a4458;
	margin-bottom: 0.5rem;
}

.ebm-svg {
	width: 100%;
	height: auto;
	touch-action: none;
	user-select: none;
	cursor: crosshair;
}

.ebm-outline {
	fill: #ffffff;
	stroke: #aad4f5;
	stroke-width: 7;
}

.ebm-highlight {
	opacity: 0.6;
}

.ebm-stroke {
	fill: none;
	stroke: #068cf2;
	stroke-linecap: round;
	stroke-linejoin: round;
}
