.mrpo-map-wrap {
	position: relative;
	width: 100%;
}

.mrpo-map {
	position: relative;
	width: 100%;
	max-width: 100%;
	overflow: hidden;
	background: #eef1f3;
}

.mrpo-map .leaflet-control-container {
	font-family: inherit;
}

.mrpo-layer-switcher.leaflet-control {
	display: flex;
	gap: 2px;
	margin-top: 10px;
	margin-right: 10px;
	padding: 4px;
	border: 0;
	border-radius: 20px;
	background: #000;
	box-shadow: none;
}

.mrpo-layer-switcher.leaflet-control button {
	width: auto;
	height: auto;
	min-height: 28px;
	margin: 0;
	padding: 4px 12px;
	border: 0;
	border-radius: 16px;
	background: transparent;
	color: #aaa;
	font-family: inherit;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.4;
	cursor: pointer;
	transition: background-color .2s ease, color .2s ease;
}

.mrpo-layer-switcher.leaflet-control button:hover,
.mrpo-layer-switcher.leaflet-control button:focus-visible,
.mrpo-layer-switcher.leaflet-control button.is-active {
	background: #fff;
	color: #000;
}

.mrpo-layer-switcher.leaflet-control button:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.mrpo-legend.leaflet-control {
	display: flex;
	flex-direction: column;
	gap: 7px;
	margin: 0 0 10px 10px;
	padding: 9px 11px;
	border-radius: 10px;
	background: rgba(255, 255, 255, .94);
	box-shadow: 0 1px 4px rgba(0, 0, 0, .16);
	color: #202124;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.2;
	pointer-events: none;
}

.mrpo-legend__item {
	display: flex;
	align-items: center;
	gap: 8px;
	white-space: nowrap;
}

.mrpo-legend__pin {
	display: inline-block;
	width: 13px;
	height: 13px;
	flex: 0 0 auto;
	border: 2px solid #fff;
	border-radius: 50% 50% 50% 0;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .28);
	transform: rotate(-45deg);
}

.mrpo-legend__pin--secondary {
	width: 10px;
	height: 10px;
}

.mrpo-legend__label {
	display: inline-block;
}

.mrpo-map .leaflet-marker-icon.mrpo-leaflet-div-icon {
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	line-height: 0 !important;
}

.mrpo-map .mrpo-leaflet-pin-svg {
	display: block !important;
	box-sizing: content-box !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .28));
	overflow: visible;
}

.mrpo-popup {
	min-width: 160px;
	padding: 14px 16px;
}

.mrpo-popup__title {
	font-weight: 700;
	line-height: 1.2;
}

.mrpo-popup__stages {
	margin-top: 6px;
	font-size: 12px;
	line-height: 1.4;
	opacity: .75;
}

.mrpo-popup__link {
	display: inline-flex;
	align-items: center;
	margin-top: 10px;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.3;
	text-decoration: none;
}

.mrpo-popup__link:hover,
.mrpo-popup__link:focus-visible {
	text-decoration: underline;
}

.mrpo-map .leaflet-popup-content-wrapper {
	padding: 0;
	border-radius: 10px;
}

.mrpo-map .leaflet-popup-content {
	margin: 0;
}

.mrpo-map .leaflet-popup-close-button {
	width: 28px;
	height: 28px;
	padding: 4px 7px;
	font-size: 18px;
	line-height: 1;
}

.mrpo-attribution.leaflet-control {
	display: flex;
	align-items: center;
	gap: 6px;
	max-width: min(70vw, 420px);
	margin: 0 10px 10px 0;
	padding: 3px 5px;
	border-radius: 5px;
	background: rgba(255, 255, 255, .9);
	box-shadow: 0 1px 4px rgba(0, 0, 0, .18);
	color: #333;
	font-size: 10px;
	line-height: 1.3;
}

.mrpo-attribution__toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	flex: 0 0 22px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #fff;
	color: #333;
	font-family: inherit;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
}

.mrpo-attribution__toggle:focus-visible {
	outline: 2px solid #111;
	outline-offset: 2px;
}

.mrpo-attribution__content[hidden] {
	display: none;
}

.mrpo-map__message,
.mrpo-map-error {
	box-sizing: border-box;
	padding: 16px 18px;
	border: 1px solid #dcdcde;
	border-radius: 8px;
	background: #fff;
	color: #3c434a;
}

.mrpo-map__message {
	position: absolute;
	inset: 50% auto auto 50%;
	z-index: 1000;
	transform: translate(-50%, -50%);
	white-space: nowrap;
}

@media (max-width: 767px) {
	.mrpo-layer-switcher.leaflet-control button {
		padding-inline: 9px;
		font-size: 12px;
	}

	.mrpo-attribution.leaflet-control {
		max-width: calc(100vw - 30px);
	}
}
