.usal-sost-cartography {
	--sost-map-green: #006b45;
	--sost-map-text: #17221e;
	--sost-map-muted: #66736d;
	--sost-map-line: #d8e3de;
	--usal-sost-cartography-height: 540px;
	display: block;
	position: relative;
	isolation: isolate;
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	margin-top: 0;
	margin-right: 0;
	margin-bottom: 40px;
	margin-left: 0;
	padding-inline: clamp(16px, 3vw, 50px);
	overflow-x: clip;
	color: var(--sost-map-text);
	container-name: usal-sost-cartography;
	container-type: inline-size;
	font-family: "Montserrat", "Segoe UI", sans-serif;
	font-size: 16px;
	line-height: 1.5;
}

.usal-sost-cartography.alignfull {
	width: 100%;
	max-width: none;
	margin-right: 0;
	margin-left: 0;
}

.usal-sost-cartography *,
.usal-sost-cartography *::before,
.usal-sost-cartography *::after {
	box-sizing: border-box;
}

.usal-sost-cartography__search-field {
	display: grid;
	gap: 7px;
	margin: 0 0 20px;
	color: var(--sost-map-green);
	font-size: 14px;
	font-weight: 700;
}

.usal-sost-cartography .usal-sost-cartography__search {
	width: 100%;
	min-height: 46px;
	margin: 0;
	padding: 0 15px;
	border: 1px solid #cbd8d2;
	border-radius: 12px;
	background: #fff;
	color: var(--sost-map-text);
	font: inherit;
	box-shadow: none;
}

.usal-sost-cartography .usal-sost-cartography__search:focus {
	border-color: var(--sost-map-green);
	outline: 2px solid rgba(0, 107, 69, .18);
	outline-offset: 1px;
}

.usal-sost-cartography__layout {
	display: grid;
	grid-template-columns: minmax(0, 3fr) minmax(0, 300px);
	gap: 18px;
	align-items: stretch;
	height: var(--usal-sost-cartography-height);
	min-height: 320px;
	overflow: hidden;
}

.usal-sost-cartography__map-panel,
.usal-sost-cartography__list-panel {
	min-height: 0;
	height: 100%;
	overflow: hidden;
}

.usal-sost-cartography__map-panel {
	position: relative;
	min-width: 0;
	border-radius: 18px;
	background: #eaf1ed;
}

.usal-sost-cartography__map {
	width: 100%;
	height: 100%;
	min-height: 100%;
	border-radius: inherit;
	z-index: 0;
}

.usal-sost-cartography__state {
	position: absolute;
	top: 16px;
	left: 50%;
	z-index: 400;
	max-width: calc(100% - 32px);
	margin: 0;
	padding: 9px 13px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .94);
	color: var(--sost-map-muted);
	font-size: 13px;
	transform: translateX(-50%);
	box-shadow: 0 4px 14px rgba(16, 45, 35, .12);
}

.usal-sost-cartography__list-panel {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.usal-sost-cartography__list-header {
	position: static !important;
	z-index: auto !important;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 16px 18px;
	border-bottom: 1px solid #e2ece5;
	border-radius: 18px;
	background: linear-gradient(180deg, #f8fbf9 0%, #ffffff 100%);
	color: var(--sost-map-text);
	font-size: 14px;
	box-shadow: none !important;
}

.usal-sost-cartography__count {
	padding: 4px 10px;
	border-radius: 999px;
	background: #e7f4ec;
	color: #2c6f53;
	font-weight: 700;
}

.usal-sost-cartography__list {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 12px;
	flex: 1 1 auto;
	min-height: 0;
	padding: 14px;
	overflow-y: auto;
	overflow-x: hidden;
	overscroll-behavior: contain;
	scrollbar-gutter: stable;
	background: transparent;
	border: 0;
	box-shadow: none;
}

.usal-sost-cartography__item {
	position: relative !important;
	float: none !important;
	clear: none !important;
	z-index: 0;
	width: 100%;
	min-width: 0;
	margin: 0 !important;
	padding: 0;
	border: 1px solid #e3ece6;
	border-radius: 16px;
	background: #fff;
	box-shadow: none;
	transition: border-color .2s ease, box-shadow .2s ease;
}

.usal-sost-cartography__item::before,
.usal-sost-cartography__item::after {
	content: none !important;
	display: none !important;
}

.usal-sost-cartography__item:hover,
.usal-sost-cartography__item:focus-within {
	border-color: #b8d7c7;
	box-shadow: 0 10px 26px rgba(19, 31, 44, .08);
}

.usal-sost-cartography__item--unlocated {
	border-color: #d8ddda;
	background: #eef0ef;
	opacity: .72;
}

.usal-sost-cartography__item--unlocated:hover,
.usal-sost-cartography__item--unlocated:focus-within {
	border-color: #d8ddda;
	box-shadow: none;
}

.usal-sost-cartography .usal-sost-cartography__item-button {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 5px;
	width: 100%;
	margin: 0;
	padding: 14px 16px;
	border: 0;
	border-radius: inherit;
	background: transparent;
	color: var(--sost-map-text);
	font: inherit;
	text-align: left;
	cursor: pointer;
	box-shadow: none;
}

.usal-sost-cartography .usal-sost-cartography__item-button:disabled {
	cursor: not-allowed;
	opacity: 1;
}

.usal-sost-cartography__unlocated-label {
	font-weight: 700;
}

.usal-sost-cartography .usal-sost-cartography__item-button:hover,
.usal-sost-cartography .usal-sost-cartography__item-button:focus-visible {
	background: transparent;
	color: var(--sost-map-text);
	outline: 0;
}

.usal-sost-cartography__item-button strong,
.usal-sost-cartography__item-button span,
.usal-sost-cartography__item-button small {
	margin: 0;
	color: inherit;
	font-family: inherit;
	line-height: 1.3;
	overflow-wrap: break-word;
}

.usal-sost-cartography__item-button strong {
	font-size: 15px;
	font-weight: 700;
	line-height: 1.35;
	color: #16313f;
	text-wrap: balance;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.usal-sost-cartography__item-button span {
	display: inline-flex;
	align-items: center;
	min-height: 22px;
	padding: 2px 8px;
	border-radius: 999px;
	background: #eef6f0;
	color: #3c7258;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
}

.usal-sost-cartography__item-button small {
	color: var(--sost-map-muted);
	font-size: 12px;
}

.usal-sost-cartography .leaflet-popup-content-wrapper {
	border-radius: 14px;
	color: var(--sost-map-text);
	font-family: inherit;
}

.usal-sost-cartography__popup {
	display: grid;
	gap: 7px;
	min-width: 220px;
}

.usal-sost-cartography__popup-title {
	font-size: 16px;
	line-height: 1.25;
	text-wrap: balance;
}

.usal-sost-cartography__popup-area {
	color: var(--sost-map-green);
	font-size: 12px;
	font-weight: 700;
}

.usal-sost-cartography__popup p,
.usal-sost-cartography__popup small {
	margin: 0;
	color: var(--sost-map-muted);
	line-height: 1.45;
}

.usal-sost-cartography .usal-sost-cartography__popup-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 34px;
	margin: 2px 0 0;
	padding: 7px 12px;
	border: 1px solid var(--sost-map-green);
	border-radius: 999px;
	background: var(--sost-map-green);
	color: #fff;
	font: 700 12px/1.2 "Montserrat", "Segoe UI", sans-serif;
	text-decoration: none;
	cursor: pointer;
	box-shadow: none;
}

.usal-sost-cartography .usal-sost-cartography__popup-button:hover,
.usal-sost-cartography .usal-sost-cartography__popup-button:focus-visible {
	background: #fff;
	color: var(--sost-map-green);
	outline: 2px solid rgba(0, 107, 69, .2);
	outline-offset: 1px;
}

@media (max-width: 1024px) {
	.usal-sost-cartography__layout {
		grid-template-columns: 1fr;
		height: auto;
		min-height: 0;
		overflow: visible;
	}

	.usal-sost-cartography__map-panel,
	.usal-sost-cartography__map {
		height: var(--usal-sost-cartography-height);
		min-height: var(--usal-sost-cartography-height);
	}

	.usal-sost-cartography__list-panel {
		height: 360px;
		max-height: 360px;
	}
}

@media (max-width: 600px) {
	.usal-sost-cartography {
		padding-inline: 16px;
	}

	.usal-sost-cartography__map {
		height: var(--usal-sost-cartography-height);
		min-height: var(--usal-sost-cartography-height);
	}

	.usal-sost-cartography__map-panel {
		height: var(--usal-sost-cartography-height);
		min-height: var(--usal-sost-cartography-height);
	}
}

@container usal-sost-cartography (max-width: 1024px) {
	.usal-sost-cartography__layout {
		grid-template-columns: minmax(0, 1fr);
		height: auto;
		min-height: 0;
		overflow: visible;
	}

	.usal-sost-cartography__map-panel,
	.usal-sost-cartography__map {
		height: var(--usal-sost-cartography-height);
		min-height: var(--usal-sost-cartography-height);
	}

	.usal-sost-cartography__list-panel {
		height: min(360px, 55cqw);
		min-height: 260px;
		max-height: 360px;
	}
}

@container usal-sost-cartography (max-width: 600px) {
	.usal-sost-cartography__map-panel,
	.usal-sost-cartography__map {
		height: var(--usal-sost-cartography-height);
		min-height: var(--usal-sost-cartography-height);
	}
}
