.stat-card {
  border-radius: 16px;
  border: none;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.stat-card h6 {
  color: #64748b;
  font-size: 13px;
  margin-bottom: 8px;
}

.stat-card h3 {
  font-size: 32px;
  font-weight: 700;
  color: #0f172a;
}

.stat-card p {
  margin: 0;
  color: #64748b;
  font-size: 13px;
}

.workflow-list {
  padding-left: 18px;
  margin-bottom: 0;
}

.workflow-list li {
  margin-bottom: 8px;
}

.poseidonx-map-page {
  overflow: hidden;
  background: #0f172a;
}

.poseidonx-map-navbar {
  height: 56px;
  z-index: 1100;
}

.poseidonx-map-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  height: calc(100vh - 56px);
}

.poseidonx-map-sidebar {
  background: #ffffff;
  border-right: 1px solid #dbe3ef;
  padding: 16px;
  overflow-y: auto;
  z-index: 1000;
}

.poseidonx-map-main {
  position: relative;
  height: 100%;
}

#map {
  width: 100%;
  height: 100%;
}

.poseidonx-status {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px;
  min-height: 72px;
  white-space: pre-wrap;
  color: #334155;
}

.poseidonx-profile-panel {
  display: none;
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 520px;
  height: 300px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.25);
  z-index: 900;
  overflow: hidden;
}

.poseidonx-profile-header {
  height: 46px;
  padding: 8px 12px;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#profileChart {
  width: 100%;
  height: calc(100% - 46px);
}

body.panel-hidden .poseidonx-map-layout {
  grid-template-columns: 0 1fr;
}

body.panel-hidden .poseidonx-map-sidebar {
  display: none;
}

@media (max-width: 992px) {
  .poseidonx-map-layout {
    grid-template-columns: 1fr;
  }

  .poseidonx-map-sidebar {
    position: absolute;
    left: 0;
    top: 56px;
    width: 340px;
    max-width: 90vw;
    height: calc(100vh - 56px);
  }

  body.panel-hidden .poseidonx-map-sidebar {
    display: none;
  }

  .poseidonx-profile-panel {
    left: 12px;
    right: 12px;
    width: auto;
  }
}