.ede-map {
	box-sizing: border-box;
	width: 100%;
}

.ede-map *,
.ede-map *::before,
.ede-map *::after {
	box-sizing: border-box;
}

.ede-map__form {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 12px;
	margin: 0 0 12px;
}

.ede-map__field {
	display: flex;
	flex: 1 1 180px;
	flex-direction: column;
	gap: 4px;
	min-width: 180px;
}

.ede-map__field--search {
	flex: 2 1 260px;
}

.ede-map__field label {
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 1.3;
}

.ede-map__field input,
.ede-map__field select {
	width: 100%;
	min-height: 42px;
	padding: 8px 10px;
	border: 1px solid #c5c9d1;
	border-radius: 6px;
	background: #fff;
	color: inherit;
	font: inherit;
}

.ede-map__submit {
	flex: 0 0 auto;
	min-height: 42px;
	padding: 8px 18px;
	border: 0;
	border-radius: 6px;
	background: #1a4f8b;
	color: #fff;
	font: inherit;
	font-weight: 700;
	line-height: 1.2;
	cursor: pointer;
}

.ede-map__submit:hover {
	background: #153f6e;
}

.ede-map__submit:disabled {
	opacity: 0.65;
	cursor: wait;
}

.ede-map__actions {
	display: flex;
	flex: 0 0 auto;
	flex-wrap: wrap;
	gap: 8px;
	align-items: flex-end;
}

.ede-map__submit--ghost {
	background: #fff;
	color: #1a4f8b;
	border: 1px solid #1a4f8b;
}

.ede-map__submit--ghost:hover {
	background: #f3f7fb;
}

.ede-map__show-all {
	display: flex;
	justify-content: flex-end;
	margin: 0 0 10px;
}

.ede-map .ede-map__all {
	display: inline-block;
	width: auto;
	align-self: flex-end;
	min-height: 42px;
	padding: 8px 18px;
	border: 0;
	border-radius: 6px;
	background: #1b7a45;
	color: #fff;
	font: inherit;
	font-weight: 700;
	line-height: 1.2;
	cursor: pointer;
}

.ede-map__all:hover {
	background: #166339;
}

.ede-map__all:disabled {
	opacity: 0.65;
	cursor: wait;
}

.ede-map__all:focus {
	outline: 2px solid #1b7a45;
	outline-offset: 1px;
}

.ede-map__field input:focus,
.ede-map__field select:focus,
.ede-map__submit:focus {
	outline: 2px solid #1a4f8b;
	outline-offset: 1px;
}

.ede-map select.select2-hidden-accessible {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	clip-path: inset(50%) !important;
	border: 0 !important;
	white-space: nowrap !important;
	appearance: none !important;
	background: none !important;
}

.ede-map .select2-container {
	position: relative;
	display: block;
	min-width: 180px;
}

.ede-map .select2-container--default .select2-selection--single {
	position: relative;
	height: 42px;
	border: 1px solid #c5c9d1;
	border-radius: 6px;
	background: #fff none !important;
}

.ede-map .select2-container--default .select2-selection--single .select2-selection__rendered {
	line-height: 40px;
	padding-left: 10px;
	padding-right: 32px;
	color: inherit;
}

.ede-map .select2-container--default .select2-selection--single .select2-selection__arrow {
	position: absolute;
	top: 0;
	right: 6px;
	bottom: 0;
	width: 20px;
	height: auto;
	background: none !important;
}

.ede-map__field::before,
.ede-map__field::after,
.ede-map .dsvy-select::before,
.ede-map .dsvy-select::after,
.ede-map .select2-container::before,
.ede-map .select2-container::after,
.ede-map .select2-selection::before,
.ede-map .select2-selection::after {
	content: none !important;
	display: none !important;
	border: 0 !important;
	background: none !important;
}

.ede-map .select2-container--default.select2-container--focus .select2-selection--single,
.ede-map .select2-container--default.select2-container--open .select2-selection--single {
	outline: 2px solid #1a4f8b;
	outline-offset: 1px;
}

.select2-dropdown .select2-search__field {
	font: inherit;
}

.ede-map__status {
	min-height: 1.4em;
	margin: 0 0 8px;
}

.ede-map__status[data-state="error"] {
	color: #8a1f1f;
}

.ede-map__status[data-state="empty"],
.ede-map__status[data-state="loading"] {
	color: #5c6370;
}

.ede-map__canvas {
	width: 100%;
	height: 560px;
	background: #e7e9ee;
}

.ede-map__results {
	margin-top: 16px;
}

.ede-map__results-title {
	margin: 0 0 10px;
	font-size: 1.125rem;
	line-height: 1.3;
}

.ede-map__table-wrap {
	overflow-x: auto;
	border: 1px solid #d8dde6;
	border-radius: 10px;
	background: #fff;
}

.ede-map__table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.95rem;
}

.ede-map__table th,
.ede-map__table td {
	padding: 12px 14px;
	text-align: left;
	vertical-align: top;
}

.ede-map__table th {
	background: #f4f6f9;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.01em;
}

.ede-map__table tbody tr {
	border-top: 1px solid #e6e9ef;
	cursor: pointer;
}

.ede-map__table tbody tr:hover,
.ede-map__table tbody tr:focus {
	background: #f3f7fb;
	outline: none;
}

.ede-map__table a {
	color: #1a4f8b;
	text-decoration: none;
}

.ede-map__table a:hover {
	text-decoration: underline;
}

.ede-map__notice {
	margin: 0;
	padding: 12px 14px;
	border: 1px solid #e6c98a;
	background: #fff6e5;
}

.ede-map-info {
	max-width: 280px;
	line-height: 1.45;
}

.ede-map-info h3 {
	margin: 0 0 6px;
	font-size: 16px;
	line-height: 1.3;
}

.ede-map-info p {
	margin: 0 0 6px;
}

.ede-map-info p:last-child {
	margin-bottom: 0;
}

.ede-map-info__row {
	display: flex;
	align-items: flex-start;
	gap: 8px;
}

.ede-map-info__icon {
	flex: 0 0 16px;
	width: 16px;
	height: 16px;
	margin-top: 2px;
}

.ede-map-info__row a {
	color: inherit;
}

.ede-map-info img {
	max-width: 100%;
	height: auto;
}

@media (max-width: 640px) {
	.ede-map__field,
	.ede-map__field--search,
	.ede-map__actions,
	.ede-map__submit {
		flex-basis: 100%;
		width: 100%;
	}

	.ede-map__canvas {
		height: 420px;
	}

	.ede-map__table-wrap {
		overflow: visible;
		border: 0;
		background: transparent;
	}

	.ede-map__table thead {
		display: none;
	}

	.ede-map__table,
	.ede-map__table tbody,
	.ede-map__table tr,
	.ede-map__table td {
		display: block;
		width: 100%;
	}

	.ede-map__table tr {
		margin: 0 0 12px;
		padding: 8px 0;
		border: 1px solid #d8dde6;
		border-radius: 10px;
		background: #fff;
	}

	.ede-map__table td {
		display: grid;
		grid-template-columns: 7.25rem minmax(0, 1fr);
		gap: 8px;
		padding: 6px 14px;
		border: 0;
	}

	.ede-map__table td::before {
		content: attr(data-label);
		color: #5c6370;
		font-size: 0.75rem;
		font-weight: 700;
	}
}
