.dashboard-heading { display: grid; grid-template-columns: 1fr auto 1fr; }
.vehicle { justify-self: end; }
.mode-switch {
  display: flex;
  gap: 4px;
  padding: 4px;
  width: max-content;
  background: #141a1e;
  border: 1px solid #354249;
  border-radius: 7px;
}
.mode-switch a {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 4px;
  color: #c8d5d8;
  text-decoration: none;
  font-size: .78rem;
  font-weight: 680;
}
.mode-switch a:hover { color: var(--mint); }
.mode-switch a[aria-current=page] { background: #29413e; color: #a4efda; }
@media (max-width: 940px) {
  .dashboard-heading { grid-template-columns: 1fr auto; }
  .vehicle { display: none; }
}
@media (max-width: 820px) and (orientation: portrait) {
  .overview, .plots { grid-template-columns: 1fr; }
  .overview > .panel { min-height: 300px; }
  .plots > .panel { height: 230px; }
}
@media (max-width: 530px) {
  .dashboard-heading { grid-template-columns: 1fr; gap: 10px; }
}
