html,
body,
#map {
  height: 100%;
  margin: 0;
}
.control {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  padding: 10px 12px;
  border-radius: 12px;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 14px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
  max-width: 360px;
}
.row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0;
  flex-wrap: wrap;
}
.row label {
  min-width: 90px;
  color: #333;
}
input[type="range"] {
  width: 250px;
}
.activity {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid #e5e5e5;
  font-size: 13px;
  color: #222;
}
.activity h4 {
  margin: 0 0 6px 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: #111;
}
.statline {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 3px 0;
}
.statline .k {
  color: #444;
}
.statline .v {
  font-weight: 600;
  color: #111;
  text-align: right;
  white-space: nowrap;
}
.routes-live {
  margin-top: 6px;
  max-height: 140px;
  overflow: auto;
  padding-right: 4px;
}
.route-row {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 2px 0;
}
.swatch {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  flex: 0 0 auto;
}
.route-name {
  flex: 1 1 auto;
  font-weight: 600;
  color: #111;
}
.route-count {
  flex: 0 0 auto;
  font-variant-numeric: tabular-nums;
  color: #222;
  font-weight: 600;
}
.subtle {
  font-size: 12px;
  color: #666;
  margin-top: 4px;
  line-height: 1.25;
}
