html, body {
	height: 100%;
	margin: 0;
	padding: 0;
}

.container {
	display: flex;
	flex-direction: column;
	height: 100%;
	max-width: 100%;
}

.controls {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
	padding: 10px 0;
	font-size: 14px;
}

.controls label {
	display: flex;
	align-items: center;
	gap: 6px;
}

.controls select,
.controls input[type="time"] {
	font-family: inherit;
	font-size: 14px;
	padding: 3px 6px;
}

.controls button {
	font-family: inherit;
	font-size: 14px;
	padding: 4px 10px;
	background: #FC5130;
	color: #fff;
	border: none;
	border-radius: 3px;
	cursor: pointer;
}

.controls button:hover {
	background: #e03f20;
}

.legend {
	margin-left: auto;
	color: #555;
}

.swatch {
	display: inline-block;
	width: 12px;
	height: 12px;
	border-radius: 2px;
	margin-right: 3px;
	vertical-align: middle;
}

.swatch.free {
	background: #3E7C4A;
}

.swatch.restricted {
	background: #FC5130;
}

.swatch.coverage {
	background: transparent;
	border: 2px dashed #006886;
	width: 10px;
	height: 10px;
}

#map {
	flex: 1 1 auto;
}

.zone-tooltip {
	background: rgba(255,255,255,0.9);
	padding: 4px 6px;
	border-radius: 4px;
	font-size: 12px;
	font-family: sans-serif;
	line-height: 1.2;
}

.borough-label {
	font-weight: bold;
	font-size: 13px;
	pointer-events: auto;
}

.borough-label a {
	color: #006886;
}

.borough-label a:visited {
	color: #006886;
}

.zone-popup h3 {
	margin: 0 0 4px;
	font-size: 14px;
}

.zone-popup p {
	margin: 2px 0;
	font-size: 13px;
}

.zone-popup .status {
	font-weight: bold;
}

.zone-popup .status.free {
	color: #3E7C4A;
}

.zone-popup .status.restricted {
	color: #FC5130;
}

.zone-popup .status.unknown {
	color: #999999;
}

@media (max-width: 768px) {
	.container {
		padding: 0;
		box-shadow: none;
	}

	.header {
		padding: 8px 12px 0;
	}

	.controls {
		padding: 10px 12px;
	}
}
