.bm-box-radius {
	display: flex;
	flex-direction: column;
	gap: 8px;
	width: 100%;
}

.bm-box-radius__label {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--bm-f-on-surface-variant, #464555);
}

.bm-box-radius__toggle {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	margin: 0;
	padding: 8px 10px;
	border: 1px solid var(--bm-f-outline-variant, rgba(119, 117, 135, 0.35));
	border-radius: 8px;
	background: var(--bm-f-surface, #fff);
	cursor: pointer;
	text-align: left;
	transition:
		border-color 0.12s ease,
		box-shadow 0.12s ease;
}

.bm-box-radius__toggle:hover,
.bm-box-radius__toggle.is-open {
	border-color: var(--bm-f-primary, #3525cd);
	box-shadow: 0 0 0 1px color-mix(in srgb, var(--bm-f-primary, #3525cd) 25%, transparent);
}

.bm-box-radius__preview {
	flex: 0 0 auto;
	width: 36px;
	height: 28px;
	box-sizing: border-box;
	border: 1px solid var(--bm-f-outline-variant, rgba(119, 117, 135, 0.45));
	background: var(--bm-f-surface-low, #f2f3ff);
}

.bm-box-radius__meta {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.bm-box-radius__meta-title {
	font-size: 12px;
	font-weight: 600;
	color: var(--bm-f-on-surface, #131b2e);
	line-height: 1.2;
}

.bm-box-radius__meta-sub {
	font-size: 11px;
	color: var(--bm-f-on-surface-variant, #646970);
	line-height: 1.2;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.bm-box-radius__popover {
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-width: 220px;
	max-width: 260px;
}

.bm-box-radius__popover-title {
	margin: 0;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--bm-f-on-surface-variant, #464555);
}
