.pristine-working-today {
	margin: 0;
}

.pristine-working-today__inner {
	width: 100%;
}

.pristine-working-today__header {
	margin: 0 0 22px;
	text-align: center;
}

.pristine-working-today__title {
	margin-top: 0;
}

.pristine-working-today__lede {
	max-width: 640px;
	margin: 0 auto;
	color: #607064;
}

.pristine-working-today__map {
	position: relative;
	width: 100%;
	min-height: 440px;
	background: #e7f0df;
	border: 1px solid rgba(79, 143, 47, 0.16);
	border-radius: 20px;
	box-shadow: 0 24px 55px rgba(16, 36, 22, 0.16);
	overflow: hidden;
	z-index: 1;
}

.pristine-working-today__map::after {
	position: absolute;
	inset: 0;
	content: "";
	pointer-events: none;
	/* Reduced white wash so suburb labels remain crisp and legible */
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(247, 250, 243, 0.02)), rgba(255, 255, 255, 0.01);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.20), inset 0 -70px 110px rgba(79, 143, 47, 0.03);
	z-index: 450;
}

.pristine-working-today__map .leaflet-tile-pane {
	/* Increased saturation/contrast so suburb labels read clearly; brightness kept neutral */
	filter: saturate(1.42) contrast(1.18);
}

.pristine-working-today__map .leaflet-control-attribution {
	padding: 2px 6px;
	border-radius: 8px 0 0 0;
	background: rgba(255, 255, 255, 0.78);
	color: #6d7c70;
	font-size: 9px;
	line-height: 1.25;
}

.pristine-working-today__map .leaflet-control-attribution a {
	color: #4f8f2f;
}

.pristine-working-today__map.leaflet-container {
	font-family: Inter, Arial, sans-serif;
}

.pristine-working-today__map .leaflet-marker-icon {
	cursor: pointer;
}

.pristine-working-today-overlay {
	position: absolute;
	inset: 0;
	z-index: 700;
	display: flex;
	align-items: flex-start;
	justify-content: flex-end;
	padding: 18px;
	pointer-events: auto;
}

.pristine-working-today-overlay[hidden] {
	display: none;
}

.pristine-working-today-overlay__card {
	position: relative;
	width: min(460px, calc(100% - 8px));
	max-height: calc(100% - 4px);
	overflow-y: auto;
	border-radius: 24px;
	background: #ffffff;
	box-shadow: 0 30px 80px rgba(16, 36, 22, 0.32);
	pointer-events: auto;
	-webkit-overflow-scrolling: touch;
}

.pristine-working-today-overlay__close {
	position: absolute;
	top: 14px;
	right: 14px;
	z-index: 2;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.94);
	color: #102416;
	box-shadow: 0 8px 20px rgba(16, 36, 22, 0.18);
	cursor: pointer;
	font-size: 30px;
	font-weight: 400;
	line-height: 38px;
	text-align: center;
}

.pristine-working-today-overlay__close:hover,
.pristine-working-today-overlay__close:focus {
	background: #ffffff;
	color: #4f8f2f;
	outline: none;
}

.pristine-working-today__message {
	margin: 0;
	padding: 24px;
	border: 1px solid rgba(79, 143, 47, 0.16);
	border-radius: 16px;
	background: #ffffff;
	color: #607064;
}

/* Leaflet marker wrapper — allow overflow so the label can extend beyond bounds */
.pristine-working-today-marker {
	background: transparent;
	overflow: visible !important;
}

/* Flex column: vehicle block stacked above the name label */
.pristine-working-today-marker__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0;
}

/* Fixed-size block that holds the absolutely-positioned vehicle spans */
.pristine-working-today-marker__vehicle-wrap {
	position: relative;
	width: 58px;
	height: 42px;
}

/* ─── CSS-drawn vehicle ──────────────────────────────────── */
.pristine-working-today-marker__vehicle {
	position: absolute;
	left: 4px;
	top: 5px;
	width: 50px;
	height: 27px;
	display: block;
	border: 3px solid #101010;
	border-radius: 5px 9px 5px 5px;
	background: rgba(255, 255, 255, 0.94);
	box-shadow: 0 10px 22px rgba(16, 36, 22, 0.22);
}

.pristine-working-today-marker__cab {
	position: absolute;
	right: 5px;
	top: 4px;
	width: 14px;
	height: 10px;
	display: block;
	border: 2px solid #101010;
	border-radius: 3px 5px 2px 2px;
	background: transparent;
}

.pristine-working-today-marker__tray {
	position: absolute;
	left: 5px;
	top: 7px;
	width: 22px;
	height: 8px;
	display: block;
	border-bottom: 3px solid #101010;
	border-left: 3px solid #101010;
	border-radius: 0 0 0 3px;
}

.pristine-working-today-marker__wheel {
	position: absolute;
	bottom: -8px;
	width: 12px;
	height: 12px;
	display: block;
	border: 3px solid #101010;
	border-radius: 50%;
	background: #ffffff;
}

.pristine-working-today-marker__wheel--front {
	right: 6px;
}

.pristine-working-today-marker__wheel--rear {
	left: 7px;
}

/* Pill name label beneath the vehicle */
.pristine-working-today-marker__label {
	display: block;
	margin-top: 6px;
	padding: 2px 7px;
	background: #ffffff;
	border: 1.5px solid #1a1a1a;
	border-radius: 20px;
	font-family: Inter, Arial, sans-serif;
	font-size: 10px;
	font-weight: 800;
	color: #102416;
	white-space: nowrap;
	line-height: 1.35;
	text-align: center;
	letter-spacing: 0.02em;
}

.pristine-working-today-popup {
	width: 100%;
	overflow: hidden;
	color: #26372b;
	background: #ffffff;
	border-radius: 22px;
}

.pristine-working-today-popup__media {
	height: 190px;
	background: linear-gradient(145deg, #7fb83f, #4f8f2f);
}

.pristine-working-today-popup__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.pristine-working-today-popup__body {
	padding: 28px;
}

.pristine-working-today-popup__staff {
	display: block;
	margin-bottom: 8px;
	color: #4f8f2f;
	font-size: 26px;
	font-weight: 900;
	line-height: 1.05;
}

.pristine-working-today-popup__suburb {
	display: block;
	margin-bottom: 18px;
	color: #102416;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 34px;
	line-height: 1.05;
}

.pristine-working-today-popup__meta {
	margin-bottom: 14px;
	color: #26372b;
	font-size: 19px;
	line-height: 1.35;
}

.pristine-working-today-popup__meta span {
	font-weight: 700;
	color: #4f8f2f;
}

.pristine-working-today-popup p {
	margin: 0 0 22px;
	color: #607064;
	font-size: 19px;
	line-height: 1.48;
}

.pristine-working-today-popup__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 58px;
	padding: 16px 24px;
	border-radius: 999px;
	color: #ffffff;
	background: #4f8f2f;
	box-shadow: 0 10px 22px rgba(79, 143, 47, 0.22);
	font-size: 18px;
	font-weight: 800;
	line-height: 1.15;
	text-decoration: none;
}

.pristine-working-today-popup__cta:hover,
.pristine-working-today-popup__cta:focus {
	color: #ffffff;
	background: #8ca938;
	text-decoration: none;
}

.pristine-working-today__last-updated {
	margin: 10px 0 0;
	color: #607064;
	font-size: 13px;
	text-align: right;
	font-family: Inter, Arial, sans-serif;
}

.pristine-working-today-popup__profile {
	display: flex;
	justify-content: center;
	padding: 28px 28px 0;
}

.pristine-working-today-popup__profile img {
	width: 220px;
	height: 220px;
	border-radius: 50%;
	object-fit: cover;
	display: block;
	border: 3px solid rgba(79, 143, 47, 0.2);
	box-shadow: 0 8px 28px rgba(16, 36, 22, 0.16);
}

@media (max-width: 767px) {
	.pristine-working-today {
		margin: 0;
	}

	.pristine-working-today__header {
		text-align: left;
	}

	.pristine-working-today__lede {
		margin-left: 0;
	}

	.pristine-working-today__map {
		min-height: 390px;
		border-radius: 16px;
	}

	.pristine-working-today-overlay {
		align-items: flex-end;
		justify-content: center;
		padding: 12px;
	}

	.pristine-working-today-overlay__card {
		width: 100%;
		max-height: calc(100% - 8px);
		border-radius: 20px;
	}

	.pristine-working-today-popup__media {
		height: 140px;
	}

	.pristine-working-today-popup__profile {
		padding: 22px 22px 0;
	}

	.pristine-working-today-popup__profile img {
		width: 140px;
		height: 140px;
	}

	.pristine-working-today-popup__body {
		padding: 22px;
	}

	.pristine-working-today-popup__staff {
		font-size: 22px;
	}

	.pristine-working-today-popup__suburb {
		font-size: 28px;
		margin-bottom: 14px;
	}

	.pristine-working-today-popup__meta,
	.pristine-working-today-popup p {
		font-size: 16px;
	}

	.pristine-working-today-popup__cta {
		width: 100%;
		min-height: 54px;
		font-size: 16px;
	}
}
