.operation-dashboard-view {
  display: none;
}

.operation-dashboard-view.active {
  display: block;
}

.operation-dashboard-view .operation-tenant-toolbar {
  align-items: center;
  margin: 14px 0 10px;
}

.operation-dashboard-view .operation-tenant-toolbar label {
  white-space: nowrap;
}

.operation-dashboard-view .operation-tenant-toolbar .wide-input {
  min-width: min(420px, 100%);
}

.operation-dashboard-view .rtc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  margin: 12px 0;
}

.operation-dashboard-view .rtc-card {
  border: 1px solid #dbe7f4;
  border-radius: 16px;
  padding: 14px;
  background: #f8fbff;
}

.operation-dashboard-view .rtc-card h3 {
  margin: 0 0 8px;
}

.operation-dashboard-view .seatbar,
.operation-dashboard-view .route-load-progress {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  overflow: hidden;
  background: #e5e7eb;
  border-radius: 999px;
}

.operation-dashboard-view .seatbar {
  display: block;
  width: 100%;
  height: 12px;
  margin: 8px 0;
}

.operation-dashboard-view .route-load-progress {
  width: 90px;
  height: 8px;
}

.operation-dashboard-view .seatbar::-webkit-progress-bar,
.operation-dashboard-view .route-load-progress::-webkit-progress-bar {
  background: #e5e7eb;
  border-radius: 999px;
}

.operation-dashboard-view .seatbar::-webkit-progress-value,
.operation-dashboard-view .route-load-progress::-webkit-progress-value {
  background: #10b981;
  border-radius: 999px;
}

.operation-dashboard-view .seatbar::-moz-progress-bar,
.operation-dashboard-view .route-load-progress::-moz-progress-bar {
  background: #10b981;
  border-radius: 999px;
}

.operation-dashboard-view .abnormal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
}

.operation-dashboard-view .abnormal-item {
  border: 1px solid #dbe7f4;
  border-radius: 14px;
  padding: 12px;
  background: #fff;
}

.operation-dashboard-view .abnormal-item b {
  display: block;
  font-size: 22px;
  color: #08776f;
}

.operation-dashboard-view .abnormal-item small {
  display: block;
  margin-top: 4px;
}

.operation-dashboard-view .operation-alert {
  border: 1px solid #dbe7f4;
  border-radius: 14px;
  padding: 12px;
  margin: 8px 0;
  background: #f8fbff;
}

.operation-dashboard-view .operation-alert.info {
  border-left: 6px solid #3b82f6;
}

.operation-dashboard-view .operation-alert.warning,
.operation-dashboard-view .operation-alert.warn {
  border-left: 6px solid #f59e0b;
}

.operation-dashboard-view .operation-alert.critical,
.operation-dashboard-view .operation-alert.fail {
  border-left: 6px solid #ef4444;
}

.operation-dashboard-view .operation-alert.pass {
  border-left: 6px solid #10b981;
}

.operation-dashboard-view .route-load {
  display: flex;
  align-items: center;
  gap: 8px;
}

.operation-dashboard-view .fleet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.operation-dashboard-view .fleet-card {
  border: 1px solid #dbe7f4;
  border-radius: 18px;
  padding: 16px;
  background: #f8fbff;
  box-shadow: 0 10px 24px rgba(16, 35, 63, 0.04);
}

.operation-dashboard-view .fleet-card h3 {
  margin: 0 0 8px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.operation-dashboard-view .fleet-status {
  display: inline-flex;
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 800;
  border: 1px solid #dbe7f4;
  background: #fff;
}

.operation-dashboard-view .fleet-status.running {
  background: #ecfdf3;
  color: #047857;
  border-color: #86efac;
}

.operation-dashboard-view .fleet-status.waiting {
  background: #f8fafc;
  color: #475569;
}

.operation-dashboard-view .fleet-status.warning {
  background: #fffbeb;
  color: #b45309;
  border-color: #fde68a;
}

.operation-dashboard-view .fleet-route-line {
  display: grid;
  gap: 6px;
  margin: 10px 0;
  color: #52627a;
}

.operation-dashboard-view .fleet-kv {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid #edf2f7;
  padding-top: 8px;
  margin-top: 8px;
}

.operation-dashboard-view .fleet-map-placeholder {
  min-height: 220px;
  border: 1px dashed #b7c7dc;
  border-radius: 18px;
  background: linear-gradient(135deg, #f0fdfa, #eef2ff);
  display: grid;
  place-items: center;
  text-align: center;
  color: #52627a;
  font-weight: 800;
  margin-top: 12px;
}

.operation-dashboard-view .fleet-event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
}

.operation-dashboard-view .fleet-event {
  border: 1px solid #dbe7f4;
  border-radius: 14px;
  padding: 12px;
  background: #fff;
}

.operation-dashboard-view .fleet-event b {
  display: block;
  font-size: 22px;
  color: #08776f;
}

.operation-dashboard-view .fleet-event.warning {
  border-left: 6px solid #f59e0b;
}

.operation-dashboard-view .fleet-event.pass {
  border-left: 6px solid #10b981;
}

.operation-dashboard-view .drill-check.warn {
  border-left: 5px solid #f59e0b;
}

.operation-dashboard-view .drill-check.warn > span {
  background: #fef3c7;
  color: #92400e;
}

@media (max-width: 760px) {
  .operation-dashboard-view .operation-tenant-toolbar {
    align-items: stretch;
  }

  .operation-dashboard-view .operation-tenant-toolbar > * {
    width: 100%;
  }
}
