/* WE EME Click-to-Load Maps */
.leaflet-container .we-eme-ctl__overlay {
	position: absolute;
	inset: 0;
	z-index: 1001;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.75em;
	box-sizing: border-box;
	padding: 1em 1.25em;
	overflow: auto;
	text-align: center;
	cursor: default;
	color: #1d2327;
	font-size: 1rem;
	line-height: 1.45;
	font-family: inherit;
	background-color: #eef1f3;
	/* neutral local pattern, no image request */
	background-image:
		linear-gradient(rgba(29, 35, 39, 0.06) 1px, transparent 1px),
		linear-gradient(90deg, rgba(29, 35, 39, 0.06) 1px, transparent 1px);
	background-size: 32px 32px;
}
.we-eme-ctl__notice {
	max-width: 36em;
	margin: 0;
}
.leaflet-container .we-eme-ctl__overlay .we-eme-ctl__notice a {
	/* themes often recolour links; keep the contrast of the notice text */
	color: inherit !important;
	text-decoration: underline !important;
}
.we-eme-ctl__button,
.we-eme-ctl__forget {
	font: inherit;
	cursor: pointer;
}
.leaflet-container .we-eme-ctl__button {
	min-height: 44px;
	padding: 0.55em 1.3em;
	border: 2px solid #1d2327;
	border-radius: 4px;
	background: #1d2327;
	color: #fff;
	font-size: 1rem;
}
.leaflet-container .we-eme-ctl__button:hover {
	background: #fff;
	color: #1d2327;
}
.leaflet-container .we-eme-ctl__button:focus-visible,
.leaflet-container .we-eme-ctl__notice a:focus-visible,
.we-eme-ctl__remember input:focus-visible,
.we-eme-ctl__forget:focus-visible {
	outline: 3px solid #1d2327;
	outline-offset: 3px;
}
.we-eme-ctl__remember {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
}
.we-eme-ctl__remember input {
	width: 1.1em;
	height: 1.1em;
	margin: 0;
}
.we-eme-ctl__forget {
	margin-top: 0.4em;
	padding: 0.2em 0;
	border: 0;
	background: none;
	color: inherit;
	text-decoration: underline;
	font-size: 0.875em;
}
.we-eme-ctl__sr {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
}
@media (prefers-color-scheme: dark) {
	.leaflet-container .we-eme-ctl__overlay {
		color: #f0f0f1;
		background-color: #2c3338;
		background-image:
			linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
			linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
	}
	.leaflet-container .we-eme-ctl__button { background: #f0f0f1; color: #1d2327; border-color: #f0f0f1; }
	.leaflet-container .we-eme-ctl__button:hover { background: #2c3338; color: #f0f0f1; }
	.leaflet-container .we-eme-ctl__button:focus-visible,
	.leaflet-container .we-eme-ctl__notice a:focus-visible,
	.we-eme-ctl__remember input:focus-visible { outline-color: #f0f0f1; }
}
