.lm-legend {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 11px;
    max-width: 220px;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.08);
    z-index: 2;
    pointer-events: none;
}
.lm-title { font-weight: 700; color: #0f172a; margin-bottom: 4px; }
.lm-item { display: flex; align-items: center; gap: 6px; margin: 2px 0; color: #334155; }
.lm-dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.lm-sub { color: #64748b; }
.lm-empty {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #64748b;
    background: #f8fafc;
    font-size: 13px;
    text-align: center;
}
.lm-empty i { font-size: 26px; opacity: .5; }
