.eege-map-shell,
.eege-alert-ticker,
.eege-grid,
.eege-directory-search,
.eege-route-planner,
.eege-viral-radar,
.eege-today-feed,
.eege-data-card {
	box-sizing: border-box;
}

.eege-map-toolbar {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: end;
	margin-bottom: 12px;
}

.eege-map-search {
	display: grid;
	gap: 4px;
	min-width: min(100%, 260px);
}

.eege-map-search input,
.eege-directory-search input,
.eege-directory-search select,
.eege-directory-search textarea,
.eege-route-planner input {
	width: 100%;
	border: 1px solid #c9d2d9;
	border-radius: 6px;
	padding: 9px 10px;
}

.eege-map-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.eege-filter,
.eege-directory-search button,
.eege-route-planner button {
	border: 1px solid #afbdc8;
	background: #fff;
	border-radius: 6px;
	padding: 8px 11px;
	cursor: pointer;
}

.eege-filter.is-active,
.eege-directory-search button,
.eege-route-planner button {
	background: #174e72;
	border-color: #174e72;
	color: #fff;
}

.eege-map {
	position: relative;
	display: grid;
	grid-template-columns: 1fr minmax(220px, 30%);
	min-height: var(--eege-map-height, 520px);
	border: 1px solid #d8e0e6;
	border-radius: 8px;
	overflow: hidden;
	background: #e8f2f7;
}

.eege-map-canvas {
	position: relative;
	min-height: var(--eege-map-height, 520px);
	background:
		linear-gradient(rgba(25, 79, 121, .12) 1px, transparent 1px),
		linear-gradient(90deg, rgba(25, 79, 121, .12) 1px, transparent 1px),
		linear-gradient(135deg, #082241, #0f4774 48%, #12416a);
	background-size: 52px 52px, 52px 52px, auto;
	overflow: hidden;
}

.eege-map-canvas::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: var(--eege-map-image);
	background-position: center;
	background-repeat: no-repeat;
	background-size: 100% 100%;
	opacity: .96;
	pointer-events: none;
}

.eege-map-watermark {
	position: absolute;
	inset: auto 18px 14px auto;
	color: rgba(255, 255, 255, .68);
	font-weight: 700;
	text-shadow: 0 1px 8px rgba(5, 16, 28, .5);
}

.eege-marker {
	position: absolute;
	width: 26px;
	height: 26px;
	transform: translate(-50%, -50%);
	border-radius: 999px;
	border: 2px solid #fff;
	background: #176b87;
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	box-shadow: 0 6px 16px rgba(20, 44, 61, .2);
	cursor: pointer;
	z-index: 2;
}

.eege-marker-city { width: 14px; height: 14px; background: #2f7d32; }
.eege-marker-alert { background: #b42318; }
.eege-marker-directory { background: #7d4f12; }
.eege-marker-event { background: #5f4bb6; }

.eege-map-panel {
	padding: 18px;
	background: #fff;
	border-left: 1px solid #d8e0e6;
}

.eege-map-list {
	display: none;
	margin-top: 10px;
}

.eege-map-list-row {
	display: block;
	width: 100%;
	text-align: left;
	padding: 9px;
	border: 1px solid #d8e0e6;
	background: #fff;
}

.eege-alert-ticker {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.eege-alert-pill {
	display: inline-flex;
	gap: 8px;
	align-items: center;
	border-radius: 999px;
	padding: 7px 11px;
	background: #eef4f7;
	color: #122b3a;
	text-decoration: none;
}

.eege-severity-warning,
.eege-severity-emergency {
	background: #fff1f0;
	color: #9b1c16;
}

.eege-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
	gap: 14px;
}

.eege-card,
.eege-directory-card,
.eege-trend-card,
.eege-data-card {
	border: 1px solid #d8e0e6;
	border-radius: 8px;
	background: #fff;
	padding: 14px;
}

.eege-card a {
	color: inherit;
	text-decoration: none;
}

.eege-card img {
	width: 100%;
	height: auto;
	border-radius: 6px;
}

.eege-directory-search {
	display: grid;
	gap: 14px;
}

.eege-directory-filter,
.eege-directory-submit,
.eege-route-form {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
	gap: 10px;
}

.eege-route-planner {
	display: grid;
	gap: 16px;
}

.eege-today-feed {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(180px, .8fr) minmax(0, 1fr);
	gap: 18px;
}

.eege-today-column {
	display: grid;
	align-content: start;
	gap: 10px;
}

.eege-today-column h2 {
	margin: 0 0 4px;
	font-size: 1.2rem;
}

.eege-today-item {
	border-top: 1px solid #d8e0e6;
	padding-top: 10px;
}

.eege-today-item a {
	color: inherit;
	font-weight: 700;
	text-decoration: none;
}

.eege-today-item p {
	margin: 5px 0 0;
	color: #637281;
}

.eege-route-form label {
	display: grid;
	gap: 5px;
	font-weight: 700;
}

.eege-route-form button {
	align-self: end;
	min-height: 42px;
}

.eege-route-results {
	display: grid;
	gap: 16px;
}

.eege-route-summary {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 14px;
	align-items: center;
	border: 1px solid #d8e0e6;
	border-radius: 8px;
	background: #f8fbfd;
	padding: 14px;
}

.eege-route-summary p {
	flex-basis: 100%;
	margin: 0;
	color: #637281;
}

.eege-route-section {
	display: grid;
	gap: 10px;
}

.eege-route-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
	gap: 12px;
}

.eege-route-card {
	border: 1px solid #d8e0e6;
	border-radius: 8px;
	background: #fff;
	padding: 14px;
}

.eege-route-card span {
	display: inline-block;
	margin-bottom: 7px;
	color: #637281;
	font-size: .78rem;
	font-weight: 700;
	text-transform: uppercase;
}

.eege-route-card h3 {
	margin: 0 0 6px;
	font-size: 1rem;
}

.eege-route-card p {
	margin: 0 0 8px;
	color: #354656;
}

.eege-honeypot {
	position: absolute !important;
	left: -9999px !important;
}

.eege-muted {
	color: #637281;
}

.eege-success {
	color: #0f6b32;
}

.eege-error {
	color: #b42318;
}

@media (max-width: 720px) {
	.eege-map {
		grid-template-columns: 1fr;
	}

	.eege-map-panel {
		border-left: 0;
		border-top: 1px solid #d8e0e6;
	}

	.eege-map-list {
		display: grid;
		gap: 4px;
	}

	.eege-today-feed {
		grid-template-columns: 1fr;
	}
}
