60px -30px var(--shadow);
      }
      .legend { color: var(--muted); font-size: 12px; }

      .overlay {
        position: fixed; inset: 0; display: none; align-items: center; justify-content: center; z-index: 40;
        background: rgba(2,6,23,0.6); backdrop-filter: blur(2px);
      }
      .dialog { background: #0b1120; border: 1px solid var(--border); border-radius: 16px; padding: 20px; width: min(520px, 94vw); box-shadow: 0 24px 60px -30px var(--shadow); }
      .dialog h2 { margin: 0 0 8px; }
     