.dashboard-overview:has(.dashboard-bot-space) {
  display: flex;
  flex-direction: column;
}
.dashboard-overview > .dashboard-bot-space {
  order: -1;
  width: 100%;
  box-sizing: border-box;
}
.app-shell .classic-bot-card.dashboard-bot-space {
  overflow: hidden;
  padding: 0;
  background: #f9f9fb;
  border: 1px solid #cbd8ea;
  border-radius: 8px;
}
.dashboard-robot {
  width: 100%;
  aspect-ratio: 3 / 1;
  min-height: 180px;
  position: relative;
  min-width: 0;
}
.dashboard-robot-viewport {
  position: absolute;
  inset: 0;
  touch-action: pan-y;
}
.dashboard-robot-viewport canvas {
  display: block;
  width: 100%;
  height: 100%;
}
.dashboard-robot .station-label {
  display: none;
}
.dashboard-robot-fallback {
  position: absolute;
  inset: 30% 12%;
  margin: 0;
  text-align: center;
  color: #5a7394;
  font-size: 13px;
}
.app-shell .dashboard-robot-pause {
  position: absolute;
  right: 16px;
  bottom: 8px;
  padding: 5px 9px;
  min-height: 30px;
  border-radius: 5px;
  font-size: 11px;
  background: #f9f9fbe6;
}
.dashboard-bot-space .bot-card-body {
  padding: 18px 24px 0;
  margin: 0;
  border-top: 1px solid #cfdbeb;
}
.dashboard-bot-space .bot-card-body > div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.dashboard-bot-space .bot-card-body h3 {
  margin: 0;
  font-size: 10px;
  letter-spacing: 0.7px;
}
.dashboard-bot-space .bot-card-counts {
  gap: 6px;
}
.dashboard-bot-space .bot-card-state {
  padding: 0 24px 20px;
  margin: 12px 0 0;
  line-height: 1.6;
}
@media (max-width: 640px) {
  .dashboard-bot-space .bot-card-body {
    padding: 16px 18px 0;
  }
  .dashboard-bot-space .bot-card-state {
    padding: 0 18px 18px;
  }
}
