+/* Visual Diffs
+------------------
+`highlight-edited` - visual diff activated
+`added` - entity was created by the user
+`moved` - node has different coordinates
+`geometry-edited` - way has different nodes
+`segment-edited` - one or both adjacents nodes moved
+`retagged` - some tagging change has occurred
+*/
+
+/* Vertex visual diffs */
+.ideditor .highlight-edited g.points g.node.vertex.added > circle.shadow,
+.ideditor .highlight-edited g.points g.node.vertex.retagged > circle.shadow,
+.ideditor .highlight-edited g.points g.node.vertex.moved > circle.shadow {
+ fill-opacity: 0.8;
+}
+.ideditor .highlight-edited g.points g.node.vertex.added > circle.shadow {
+ fill: rgb(133, 255, 103);
+}
+.ideditor .highlight-edited g.points g.node.vertex.retagged > circle.shadow {
+ fill: #fcde5a;
+}
+.ideditor .highlight-edited g.points g.node.vertex.moved > circle.shadow {
+ fill: rgb(255, 126, 46);
+}
+
+/* Point visual diffs */
+.ideditor .highlight-edited g.points g.node.point.added > path.shadow,
+.ideditor .highlight-edited g.points g.node.point.retagged > path.shadow,
+.ideditor .highlight-edited g.points g.node.point.moved > path.shadow {
+ stroke-opacity: 0.8;
+ stroke-width: 10;
+}
+.ideditor .highlight-edited g.points g.node.point.added > path.shadow {
+ stroke: rgb(133, 255, 103);
+}
+.ideditor .highlight-edited g.points g.node.point.retagged > path.shadow {
+ stroke: #fcde5a;
+}
+.ideditor .highlight-edited g.points g.node.point.moved > path.shadow {
+ stroke: rgb(255, 126, 46);
+}
+
+/* Line/area segment visual diffs
+- segments are rendered on top of the ways for convenience and to differentiate
+ them from entire line diffs, so make them thin
+*/
+.ideditor .highlight-edited g.lines > path.line.segment-edited,
+.ideditor .highlight-edited g.areas > path.area.segment-edited {
+ stroke: rgb(255, 126, 46);
+ stroke-dasharray: 10, 3;
+ stroke-width: 1.5 !important;
+ stroke-opacity: 1;
+}
+
+/* Entire line/area visual diffs */
+.ideditor .highlight-edited path.line.shadow.added,
+.ideditor .highlight-edited path.line.shadow.retagged,
+.ideditor .highlight-edited path.line.shadow.geometry-edited,
+.ideditor .highlight-edited path.area.shadow.added,
+.ideditor .highlight-edited path.area.shadow.retagged,
+.ideditor .highlight-edited path.area.shadow.geometry-edited {
+ stroke-opacity: 0.6;
+}
+.ideditor .highlight-edited.fill-wireframe path.line.shadow.added,
+.ideditor .highlight-edited.fill-wireframe path.line.shadow.retagged,
+.ideditor .highlight-edited.fill-wireframe path.line.shadow.geometry-edited,
+.ideditor .highlight-edited.fill-wireframe path.area.shadow.added,
+.ideditor .highlight-edited.fill-wireframe path.area.shadow.retagged,
+.ideditor .highlight-edited.fill-wireframe path.area.shadow.geometry-edited {
+ stroke-width: 3;
+}
+.ideditor .highlight-edited path.line.shadow.added,
+.ideditor .highlight-edited path.area.shadow.added {
+ stroke: rgb(133, 255, 103);
+}
+.ideditor .highlight-edited path.area.shadow.retagged,
+.ideditor .highlight-edited path.line.shadow.retagged {
+ stroke: #fcde5a;
+}
+.ideditor .highlight-edited path.line.shadow.geometry-edited,
+.ideditor .highlight-edited path.area.shadow.geometry-edited {
+ stroke: rgb(255, 126, 46);
+}
+