.mmb-map {
  position: relative; width: 100%; height: 100%; background: #eef1f4;
  box-sizing: border-box; padding: 12px 16px; font: 14px/1.4 sans-serif;
  display: flex; flex-direction: column; overflow: hidden;
}
.mmb-map .mmb-header { flex: 0 0 auto; margin-bottom: 8px; }
.mmb-map .mmb-title { margin: 0; font-size: 20px; font-weight: 500; color: #333; }
.mmb-map .mmb-subtitle { margin: 2px 0 0; font-size: 12px; color: #777; }
.mmb-map .mmb-stage { position: relative; flex: 1 1 auto; min-height: 0; }
.mmb-map .mmb-map-wrap { width: 100%; height: 100%; }
.mmb-map .mmb-map-wrap svg { width: 100%; height: 100%; display: block; }
.mmb-map .mmb-region { fill: #e9e9e9; stroke: #fff; stroke-width: 1px; }
.mmb-map .mmb-dot { fill-opacity: 0.8; stroke: #fff; stroke-width: 0.75px; cursor: pointer; }
.mmb-map .mmb-dot.active { stroke: #16324f; stroke-width: 2px; }

.mmb-map .mmb-legend {
  position: absolute; left: 8px; bottom: 8px; width: 220px;
  background: #fff; border: 1px solid #e5e5e5; border-radius: 6px;
  padding: 8px 10px; font-size: 11px; color: #444;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
.mmb-map .mmb-legend-row { display: flex; align-items: center; gap: 6px; padding: 1px 0; }
.mmb-map .mmb-legend-swatch { width: 12px; height: 12px; border-radius: 50%; flex: 0 0 auto; }
.mmb-map .mmb-legend-note { margin-top: 6px; padding-top: 6px; border-top: 1px solid #eee; font-size: 10px; color: #999; line-height: 1.4; }

.mmb-map .mmb-panel {
  position: absolute; top: 0; right: -340px; width: 260px; max-height: 100%;
  overflow-y: auto; background: #fff; border: 1px solid #e5e5e5; border-radius: 8px;
  padding: 14px 16px; box-shadow: 0 2px 10px rgba(0,0,0,0.12); transition: right 0.25s ease;
}
.mmb-map .mmb-panel.open { right: 8px; }
.mmb-map .mmb-panel-close { position: absolute; top: 8px; right: 10px; border: none; background: none; font-size: 18px; color: #999; cursor: pointer; }
.mmb-map .mmb-panel-name { margin: 0 18px 6px 0; font-size: 15px; font-weight: 600; color: #333; }
.mmb-map .mmb-panel-count { margin: 0 0 8px; font-size: 13px; color: #16324f; font-weight: 600; }
.mmb-map .mmb-panel-chips { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 10px; }
.mmb-map .mmb-chip { background: #f0f4f8; color: #16324f; font-size: 11px; padding: 3px 8px; border-radius: 10px; }
.mmb-map .mmb-panel-ownership { font-size: 11px; color: #999; margin: 0; }
