/* Nabogo case-map (unified) — consistent style across all cases */
.cm-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: white;
  border: 1px solid var(--border);
  box-shadow: 0 8px 32px rgba(15,26,43,0.08);
}
.cm-leaflet { height: 540px; width: 100%; }
.cm-canvas {
  position: absolute; inset: 0; pointer-events: none; z-index: 400;
}
.cm-title {
  position: absolute; top: 16px; left: 16px; z-index: 500;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  padding: 10px 14px; border-radius: 999px;
  font-size: 0.82rem; font-weight: 700;
  color: var(--text-primary);
  box-shadow: 0 4px 12px rgba(15,26,43,0.1);
  display: flex; align-items: center; gap: 8px;
  max-width: calc(100% - 32px);
}
.cm-title .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--brand-green);
  animation: cmpulse 1.6s infinite;
}
@keyframes cmpulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,166,115,0.6); }
  50% { box-shadow: 0 0 0 6px rgba(0,166,115,0); }
}
.cm-legend {
  position: absolute; top: 16px; right: 16px; z-index: 500;
  background: rgba(255,255,255,0.96);
  padding: 12px 14px; border-radius: 10px;
  box-shadow: 0 4px 12px rgba(15,26,43,0.1);
  font-size: 0.78rem;
  line-height: 1.7;
  color: var(--text-primary);
}
.cm-legend .row { display: flex; align-items: center; gap: 8px; }
.cm-legend .swatch {
  display: inline-block; flex-shrink: 0;
  width: 14px; height: 14px; border-radius: 50%;
  border: 1.5px solid white;
}
.cm-legend .swatch.line { width: 18px; height: 3px; border-radius: 0; border: 0; }
.cm-legend .swatch.particle { box-shadow: 0 0 6px rgba(0,166,115,0.6); }
.cm-stats {
  display: flex; gap: 8px; flex-wrap: wrap;
  padding: 16px;
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
}
.cm-stats .pill {
  background: white; padding: 6px 14px; border-radius: 999px;
  font-size: 0.84rem; color: var(--text-secondary);
  border: 1px solid var(--border);
}
.cm-stats .pill strong { color: var(--brand-green); margin-right: 4px; }
.cm-stats .pill.brand strong { color: var(--brand-blue); }
.cm-stats .pill.amber strong { color: var(--accent-amber); }

@media (max-width: 720px) {
  .cm-leaflet { height: 380px; }
  .cm-legend { display: none; }
  .cm-title { font-size: 0.72rem; padding: 8px 12px; }
}

/* Business case section */
.bc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.bc-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}
.bc-card .label {
  font-size: 0.78rem; color: var(--text-muted);
  letter-spacing: 0.06em; text-transform: uppercase;
  font-weight: 600;
}
.bc-card .value {
  font-size: 2rem; font-weight: 800;
  margin-top: 6px;
  color: var(--brand-green);
  line-height: 1;
}
.bc-card .value.blue { color: var(--brand-blue); }
.bc-card .value.amber { color: var(--accent-amber); }
.bc-card .desc {
  font-size: 0.86rem; color: var(--text-secondary);
  margin-top: 10px; line-height: 1.5;
}
