body {
	background: #f6f7f9;
}

.counter {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.3rem 0.7rem;
	border-radius: 0.4rem;
	font-size: 0.875rem;
	text-decoration: none;
}

.status-dot {
	display: inline-block;
	width: 0.6rem;
	height: 0.6rem;
	border-radius: 50%;
	background: #adb5bd;
	margin-right: 0.2rem;
}
.status-dot.active {
	background: #198754;
}
.status-dot.reconnecting {
	background: #ffc107;
}
.status-dot.error {
	background: #dc3545;
}

#map {
	height: 42vh;
	min-height: 260px;
	border-radius: 0.4rem;
	border: 1px solid #dee2e6;
}

.place-tree {
	max-height: 60vh;
	overflow: auto;
}
.place-tree .list-group-item {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	padding-top: 0.35rem;
	padding-bottom: 0.35rem;
	cursor: pointer;
}
.place-tree .list-group-item .badge {
	margin-left: auto;
}
.place-tree .toggle {
	width: 1rem;
	flex-shrink: 0;
	color: #6c757d;
}

.obs-card {
	border-left: 4px solid #198754;
	transition: background-color 0.6s;
}
.obs-card.stale {
	border-left-color: #adb5bd;
}
.obs-card.nan {
	border-left-color: #ffc107;
}
.obs-card.flash {
	background-color: #d1e7dd;
	transition: none;
}
.obs-value {
	font-size: 1.6rem;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	line-height: 1.1;
}
.obs-unit {
	font-size: 0.95rem;
	color: #6c757d;
	margin-left: 0.25rem;
}
.obs-place {
	font-size: 0.75rem;
}

#plot {
	height: 62vh;
	min-height: 360px;
}

.stats td {
	font-variant-numeric: tabular-nums;
}
