svg >path { fill: {C}; }"> svg >path { fill: {C}; }"> svg >path { fill: {C}; }">
div[title*="{T}"] >svg >path {
fill: {C};
}

The code above is only for a single line. {T} should be replaced by the address of the map, {C} as the color code (with # prefix).

More info in this thread:

CSS: Custom color for map pins