.bm {
	display: inline-flex;
	align-items: center;
	gap: .4em;
}

.bm svg {
	width: 1.1em;
	height: 1.1em;
	flex: none;
}

.bm-d {
	position: fixed;
	width: min(36rem, calc(100vw - 2rem));
	max-height: calc(100vh - 2rem);
	overflow: auto;
	padding: 1.5rem 3rem 1.5rem 1.5rem;
}

.bm-d-l {
	margin: 0 0 1.5rem;
	padding: 0;
	list-style: none;
}

.bm-d-f {
	display: block;
	width: 100%;
	padding: .35rem 0;
	border: 0;
	background: none;
	color: inherit;
	font: inherit;
	text-align: left;
	cursor: pointer;
}

.bm-d-n label {
	display: block;
	margin-bottom: .75rem;
}

.bm-d-n input[name="title"] {
	display: block;
	width: 100%;
	margin-top: .25rem;
}

.bm-d-x {
	position: absolute;
	top: .75rem;
	right: .75rem;
	width: 2rem;
	height: 2rem;
	border: 0;
	background: none;
	cursor: pointer;
}

.bm-d-x::before {
	content: "\00d7";
	font-size: 1.75rem;
	line-height: 1;
}
