.efsm-shell {
	--efsm-blue: #003e91;
	--efsm-blue-deep: #002f86;
	--efsm-blue-light: #0b63c7;
	--efsm-red: #ef1f3a;
	--efsm-text: #162238;
	--efsm-muted: #667386;
	--efsm-line: #dce3ec;
	--efsm-map-land: #d7dfe3;
	--efsm-map-water: #f1f4f7;
	--efsm-state-boundary: rgba(9, 32, 70, .42);
	--efsm-state-boundary-active: rgba(9, 32, 70, .54);
	--efsm-zoom: 1;
	--efsm-map-surface-left: 0;
	--efsm-map-surface-top: 0;
	--efsm-map-surface-width: 100%;
	--efsm-map-surface-height: 100%;
	width: 100%;
	max-width: 960px;
	margin: 30px auto;
	color: var(--efsm-text);
	font-family: inherit;
}

.efsm-shell *,
.efsm-shell *::before,
.efsm-shell *::after {
	box-sizing: border-box;
}

.efsm-layout,
.efsm-layout--map-only {
	display: block;
}

.efsm-map-frame {
	position: relative;
	overflow: hidden;
	border: 1px solid #d7dde6;
	border-radius: 9px;
	background: #fff;
	box-shadow: 0 10px 24px rgba(15, 32, 55, .16);
}

.efsm-filter-bar {
	position: relative;
	z-index: 7;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 18px 24px 16px;
}

.efsm-filter {
	appearance: none;
	min-width: 126px;
	min-height: 39px;
	padding: 8px 18px;
	border: 2px solid #aeb5bf;
	border-radius: 8px;
	background: #fff;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 1px 2px rgba(14, 30, 52, .08);
	color: #3d4654;
	font: inherit;
	font-size: .98rem;
	font-weight: 500;
	line-height: 1.1;
	text-align: center;
	cursor: pointer;
	transition: background-color .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.efsm-filter:hover,
.efsm-filter:focus-visible {
	border-color: var(--efsm-blue);
	box-shadow: 0 0 0 3px rgba(0, 62, 145, .14);
	outline: 0;
}

.efsm-filter.is-active {
	border-color: var(--efsm-blue);
	background: var(--efsm-blue);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 3px 7px rgba(0, 62, 145, .2);
	color: #fff;
}

.efsm-map-canvas {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	min-height: 390px;
	aspect-ratio: 1.6 / 1;
	background: var(--efsm-map-water);
	touch-action: pan-y;
	transform-origin: center;
}

.efsm-map-canvas > .efsm-map-svg,
.efsm-marker-layer {
	position: absolute;
	left: var(--efsm-map-surface-left);
	top: var(--efsm-map-surface-top);
	width: var(--efsm-map-surface-width);
	height: var(--efsm-map-surface-height);
	transform: translate(var(--efsm-pan-x, 0), var(--efsm-pan-y, 0)) scale(var(--efsm-zoom));
	transform-origin: var(--efsm-zoom-origin-x, 50%) var(--efsm-zoom-origin-y, 50%);
	transition: transform .18s ease;
}

.efsm-map-canvas.is-pannable {
	cursor: grab;
}

.efsm-map-canvas.is-panning {
	cursor: grabbing;
}

.efsm-map-canvas.is-panning > .efsm-map-svg,
.efsm-map-canvas.is-panning .efsm-marker-layer {
	transition: none;
}

.efsm-map-svg {
	display: block;
	z-index: 1;
}

.efsm-state {
	fill: var(--efsm-map-land);
	stroke: var(--efsm-state-boundary);
	stroke-width: 1.05;
	transition: fill .18s ease, opacity .18s ease, stroke .18s ease, filter .18s ease;
}

.efsm-state.is-covered {
	fill: url("#efsmCoverage");
	stroke: var(--efsm-state-boundary);
	cursor: pointer;
}

.efsm-state.is-covered:hover,
.efsm-state.is-covered:focus-visible,
.efsm-state.is-active {
	fill: url("#efsmCoverageActive");
	filter: brightness(1.04) saturate(1.08);
	outline: 0;
	stroke: var(--efsm-state-boundary-active);
}

.efsm-state.is-muted {
	opacity: .34;
}

.efsm-state-labels text {
	fill: #707986;
	font-size: 16px;
	font-weight: 800;
	letter-spacing: 0;
	dominant-baseline: middle;
	pointer-events: none;
	text-anchor: middle;
}

.efsm-state-labels text.is-covered-label {
	fill: #fff;
}

.efsm-marker-layer {
	z-index: 3;
	pointer-events: none;
}

.efsm-marker {
	position: absolute;
	--efsm-marker-scale: 1;
	left: var(--efsm-x);
	top: var(--efsm-y);
	width: 28px;
	height: 36px;
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
	cursor: pointer;
	margin-left: var(--efsm-marker-offset-x, 0);
	margin-top: var(--efsm-marker-offset-y, 0);
	pointer-events: auto;
	transform: translate(-50%, -66%) scale(var(--efsm-marker-scale));
	transform-origin: 50% 66%;
	transition: opacity .18s ease, transform .18s ease;
}

.efsm-marker[hidden] {
	display: none;
}

.efsm-marker:hover,
.efsm-marker:focus-visible,
.efsm-marker.is-active {
	--efsm-marker-scale: 1.08;
	outline: 0;
}

.efsm-marker.is-muted {
	opacity: .7;
	pointer-events: none;
}

.efsm-marker.is-muted .efsm-marker-pin {
	background: #8794a7;
	box-shadow: 0 3px 9px rgba(55, 68, 88, .18);
}

.efsm-marker.is-muted .efsm-marker-pin::after {
	background: #f4f7fa;
}

.efsm-marker-pin {
	position: absolute;
	left: 5px;
	top: 1px;
	width: 19px;
	height: 19px;
	border: 4px solid #fff;
	border-radius: 50% 50% 50% 0;
	background: var(--efsm-red);
	box-shadow: 0 3px 9px rgba(14, 36, 72, .28);
	transform: rotate(-45deg);
}

.efsm-marker-pin::after {
	content: "";
	position: absolute;
	inset: 4px;
	border-radius: 50%;
	background: #fff;
}

.efsm-popover {
	position: absolute;
	z-index: 6;
	left: var(--efsm-popover-x, 74%);
	top: var(--efsm-popover-y, 40%);
	width: min(262px, calc(100% - 28px));
	padding: 17px 18px 18px;
	border: 1px solid #d7dfe9;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 12px 28px rgba(20, 35, 56, .18);
	transform: var(--efsm-popover-transform, translate(-20%, -50%));
}

@media (pointer: fine) {
	.efsm-popover {
		cursor: grab;
	}

	.efsm-popover.is-dragging {
		cursor: grabbing;
	}

	.efsm-popover button,
	.efsm-popover a {
		cursor: pointer;
	}
}

.efsm-popover[hidden],
.efsm-popover-section[hidden],
.efsm-popover-phone[hidden],
.efsm-popover-action[hidden] {
	display: none;
}

.efsm-popover h3 {
	margin: 0 28px 16px 0;
	color: var(--efsm-blue);
	font-size: 1.32rem;
	font-weight: 800;
	line-height: 1.15;
}

.efsm-popover p {
	margin: 0;
	color: #26344d;
	font-size: .92rem;
	line-height: 1.45;
	white-space: pre-line;
}

.efsm-popover ul {
	margin: 8px 0 0;
	padding-left: 18px;
	color: #26344d;
	font-size: .88rem;
	line-height: 1.55;
}

.efsm-popover li + li {
	margin-top: 2px;
}

.efsm-popover-section {
	padding-top: 13px;
	border-top: 1px solid #e3e8ef;
}

.efsm-popover-section:first-of-type {
	padding-top: 0;
	border-top: 0;
}

.efsm-popover-section + .efsm-popover-section {
	margin-top: 15px;
}

.efsm-popover.is-location {
	width: min(288px, calc(100% - 28px));
	max-height: calc(100% - 32px);
	padding: 22px 26px 26px;
	overflow: auto;
}

.efsm-popover.is-location .efsm-popover-section {
	padding-top: 0;
	border-top: 0;
}

.efsm-popover.is-location p {
	font-size: 1.02rem;
	line-height: 1.45;
}

.efsm-popover.is-location .efsm-popover-phone {
	margin-top: 18px;
}

.efsm-popover.is-summary {
	top: var(--efsm-popover-y, 16px);
	right: auto;
	left: var(--efsm-popover-x, 16px);
	width: min(310px, calc(100% - 32px));
	max-height: calc(100% - 32px);
	padding: 22px 26px 26px;
	overflow: auto;
	transform: var(--efsm-popover-transform, none);
}

.efsm-popover.is-summary .efsm-popover-section {
	padding-top: 0;
	border-top: 0;
}

.efsm-popover.is-summary .efsm-popover-action {
	margin-top: 22px;
}

.efsm-popover-section strong {
	display: flex;
	align-items: center;
	gap: 8px;
	color: #2d3340;
	font-size: .93rem;
	font-weight: 800;
	line-height: 1.25;
}

.efsm-popover-icon {
	position: relative;
	flex: 0 0 auto;
	width: 15px;
	height: 15px;
	color: var(--efsm-red);
}

.efsm-popover-icon--pin::before {
	content: "";
	position: absolute;
	left: 3px;
	top: 0;
	width: 10px;
	height: 10px;
	border-radius: 50% 50% 50% 0;
	background: currentColor;
	transform: rotate(-45deg);
}

.efsm-popover-icon--pin::after {
	content: "";
	position: absolute;
	left: 6px;
	top: 3px;
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: #fff;
}

.efsm-popover-close {
	position: absolute;
	top: 9px;
	right: 10px;
	width: 26px;
	height: 26px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #8b94a2;
	font: inherit;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
}

.efsm-popover-close:hover,
.efsm-popover-close:focus-visible {
	color: var(--efsm-red);
	outline: 0;
}

.efsm-popover .efsm-popover-action {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	margin-top: 24px;
	padding: 10px 20px;
	border: 1px solid var(--efsm-blue);
	border-radius: 8px;
	background: var(--efsm-blue);
	color: #fff !important;
	font: inherit;
	font-size: 1rem;
	font-weight: 800;
	line-height: 1.1;
	text-decoration: none;
	cursor: pointer;
	box-shadow: 0 6px 14px rgba(0, 62, 145, .18);
}

.efsm-popover .efsm-popover-action:visited,
.efsm-popover .efsm-popover-action:hover,
.efsm-popover .efsm-popover-action:focus-visible {
	color: #fff !important;
}

.efsm-popover .efsm-popover-action:hover,
.efsm-popover .efsm-popover-action:focus-visible {
	background: var(--efsm-blue-deep);
	outline: 0;
}

.efsm-map-controls {
	position: absolute;
	right: 18px;
	bottom: 18px;
	z-index: 7;
	display: grid;
	overflow: hidden;
	border: 1px solid #d7dfe8;
	border-radius: 7px;
	background: #fff;
	box-shadow: 0 5px 16px rgba(13, 33, 70, .13);
}

.efsm-map-controls button {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	padding: 0;
	border: 0;
	border-bottom: 1px solid #e4e9f0;
	background: #fff;
	color: #15233a;
	font: inherit;
	font-size: 22px;
	font-weight: 800;
	line-height: 1;
	cursor: pointer;
}

.efsm-map-controls button:last-child {
	border-bottom: 0;
}

.efsm-map-controls button:hover,
.efsm-map-controls button:focus-visible {
	background: #f1f5fb;
	outline: 0;
}

.efsm-control-reset-icon {
	display: block;
	width: 16px;
	height: 16px;
	background:
		linear-gradient(currentColor, currentColor) left top / 7px 2px no-repeat,
		linear-gradient(currentColor, currentColor) left top / 2px 7px no-repeat,
		linear-gradient(currentColor, currentColor) right top / 7px 2px no-repeat,
		linear-gradient(currentColor, currentColor) right top / 2px 7px no-repeat,
		linear-gradient(currentColor, currentColor) left bottom / 7px 2px no-repeat,
		linear-gradient(currentColor, currentColor) left bottom / 2px 7px no-repeat,
		linear-gradient(currentColor, currentColor) right bottom / 7px 2px no-repeat,
		linear-gradient(currentColor, currentColor) right bottom / 2px 7px no-repeat;
}

.efsm-legend {
	position: absolute;
	left: 18px;
	bottom: 18px;
	z-index: 7;
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	align-items: center;
	max-width: calc(100% - 90px);
	padding: 10px 15px;
	border: 1px solid #d9e0ea;
	border-radius: 6px;
	background: rgba(255, 255, 255, .96);
	box-shadow: 0 5px 16px rgba(13, 33, 70, .09);
	color: #344156;
	font-size: .9rem;
	font-weight: 600;
}

.efsm-legend span {
	display: inline-flex;
	gap: 9px;
	align-items: center;
}

.efsm-legend-pin {
	position: relative;
	width: 14px;
	height: 14px;
	border-radius: 50% 50% 50% 0;
	background: var(--efsm-red);
	transform: rotate(-45deg);
}

.efsm-legend-pin::after {
	content: "";
	position: absolute;
	inset: 4px;
	border-radius: 50%;
	background: #fff;
}

.efsm-legend-coverage {
	width: 17px;
	height: 17px;
	border-radius: 2px;
	background: var(--efsm-blue);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18);
}

.efsm-directory {
	margin-top: 28px;
	padding: 0;
	border-left: 0;
}

.efsm-region-section {
	margin-bottom: 30px;
	transition: background-color .18s ease, box-shadow .18s ease;
}

.efsm-region-section.is-active {
	border-radius: 6px;
	background: #f1f6ff;
	box-shadow: 0 0 0 10px #f1f6ff;
}

.efsm-region-section[hidden],
.efsm-location-card[hidden] {
	display: none;
}

.efsm-region-section h3 {
	position: relative;
	margin: 0 0 18px;
	padding-left: 18px;
	color: var(--efsm-blue);
	font-size: clamp(1.3rem, 2.2vw, 1.85rem);
	font-weight: 800;
	line-height: 1.15;
}

.efsm-region-section h3::before {
	content: "";
	position: absolute;
	left: 0;
	top: .08em;
	width: 4px;
	height: 1.05em;
	background: var(--efsm-red);
}

.efsm-location-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0 28px;
}

.efsm-location-card {
	position: relative;
	min-height: 116px;
	padding: 0 0 18px 34px;
	margin-bottom: 22px;
	cursor: pointer;
	transition: color .18s ease, transform .18s ease;
}

.efsm-location-card::before {
	content: "";
	position: absolute;
	left: 2px;
	top: 4px;
	width: 18px;
	height: 18px;
	border-radius: 50% 50% 50% 0;
	background: var(--efsm-blue);
	transform: rotate(-45deg);
}

.efsm-location-card::after {
	content: "";
	position: absolute;
	left: 8px;
	top: 10px;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #fff;
}

.efsm-location-card:hover,
.efsm-location-card:focus-visible,
.efsm-location-card.is-active {
	outline: 0;
	transform: translateY(-1px);
}

.efsm-location-card.is-active {
	border-radius: 4px;
	background: #f1f6ff;
	box-shadow: 0 0 0 12px #f1f6ff;
}

.efsm-location-card h4 {
	margin: 0 0 8px;
	color: var(--efsm-blue);
	font-size: 1rem;
	font-weight: 800;
	line-height: 1.25;
}

.efsm-location-card h4 a {
	color: inherit;
}

.efsm-location-card p {
	margin: 0 0 5px;
	color: #1f2c43;
	font-size: .94rem;
	line-height: 1.45;
}

.efsm-location-card a {
	color: var(--efsm-blue-light);
	font-weight: 800;
	text-decoration: none;
}

.efsm-location-card a:hover,
.efsm-location-card a:focus-visible {
	text-decoration: underline;
}

@media (max-width: 820px) {
	.efsm-shell {
		margin: 22px auto;
	}

	.efsm-filter-bar {
		padding: 16px 16px 14px;
	}

	.efsm-filter {
		flex: 1 1 calc(50% - 8px);
		min-width: 0;
	}

	.efsm-map-canvas {
		min-height: 0;
		aspect-ratio: 1.6 / 1;
	}

	.efsm-marker {
		--efsm-marker-scale: .9;
	}

	.efsm-marker:hover,
	.efsm-marker:focus-visible,
	.efsm-marker.is-active {
		--efsm-marker-scale: .98;
	}

	.efsm-popover {
		left: 50% !important;
		top: 18px !important;
		width: min(340px, calc(100% - 30px));
		max-height: calc(100% - 100px);
		overflow: auto;
		transform: translateX(-50%) !important;
	}

	.efsm-popover.is-summary {
		transform: translateX(-50%) !important;
	}

	.efsm-legend {
		left: 12px;
		right: 58px;
		bottom: 12px;
		gap: 10px;
		padding: 9px 11px;
		font-size: .8rem;
	}

	.efsm-map-controls {
		right: 12px;
		bottom: 12px;
	}

	.efsm-location-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0 22px;
	}
}

@media (max-width: 540px) {
	.efsm-filter-bar {
		display: none;
	}

	.efsm-filter {
		flex-basis: 100%;
	}

	.efsm-map-canvas {
		aspect-ratio: 1.6 / 1;
	}

	.efsm-marker {
		--efsm-marker-scale: .82;
	}

	.efsm-marker:hover,
	.efsm-marker:focus-visible,
	.efsm-marker.is-active {
		--efsm-marker-scale: .9;
	}

	.efsm-legend {
		right: 52px;
		gap: 8px;
		padding: 7px 9px;
		font-size: .72rem;
	}

	.efsm-legend span {
		gap: 6px;
	}

	.efsm-map-controls button {
		width: 30px;
		height: 30px;
		font-size: 20px;
	}

	.efsm-popover h3 {
		font-size: 1.15rem;
	}

	.efsm-location-grid {
		grid-template-columns: 1fr;
	}
}
