/* this gets exported as style.css and can be used for the default theming */
/* these are the necessary styles for React/Svelte Flow, they get used by base.css and style.css */
.react-flow {
  direction: ltr;

  --xy-edge-stroke-default: #b1b1b7;
  --xy-edge-stroke-width-default: 1;
  --xy-edge-stroke-selected-default: #555;

  --xy-connectionline-stroke-default: #b1b1b7;
  --xy-connectionline-stroke-width-default: 1;

  --xy-attribution-background-color-default: rgba(255, 255, 255, 0.5);

  --xy-minimap-background-color-default: #fff;
  --xy-minimap-mask-background-color-default: rgba(240, 240, 240, 0.6);
  --xy-minimap-mask-stroke-color-default: transparent;
  --xy-minimap-mask-stroke-width-default: 1;
  --xy-minimap-node-background-color-default: #e2e2e2;
  --xy-minimap-node-stroke-color-default: transparent;
  --xy-minimap-node-stroke-width-default: 2;

  --xy-background-color-default: transparent;
  --xy-background-pattern-dots-color-default: #91919a;
  --xy-background-pattern-lines-color-default: #eee;
  --xy-background-pattern-cross-color-default: #e2e2e2;
  background-color: var(--xy-background-color, var(--xy-background-color-default));
  --xy-node-color-default: inherit;
  --xy-node-border-default: 1px solid #1a192b;
  --xy-node-background-color-default: #fff;
  --xy-node-group-background-color-default: rgba(240, 240, 240, 0.25);
  --xy-node-boxshadow-hover-default: 0 1px 4px 1px rgba(0, 0, 0, 0.08);
  --xy-node-boxshadow-selected-default: 0 0 0 0.5px #1a192b;
  --xy-node-border-radius-default: 3px;

  --xy-handle-background-color-default: #1a192b;
  --xy-handle-border-color-default: #fff;

  --xy-selection-background-color-default: rgba(0, 89, 220, 0.08);
  --xy-selection-border-default: 1px dotted rgba(0, 89, 220, 0.8);

  --xy-controls-button-background-color-default: #fefefe;
  --xy-controls-button-background-color-hover-default: #f4f4f4;
  --xy-controls-button-color-default: inherit;
  --xy-controls-button-color-hover-default: inherit;
  --xy-controls-button-border-color-default: #eee;
  --xy-controls-box-shadow-default: 0 0 2px 1px rgba(0, 0, 0, 0.08);

  --xy-edge-label-background-color-default: #ffffff;
  --xy-edge-label-color-default: inherit;
  --xy-resize-background-color-default: #3367d9;
}
.react-flow.dark {
  --xy-edge-stroke-default: #3e3e3e;
  --xy-edge-stroke-width-default: 1;
  --xy-edge-stroke-selected-default: #727272;

  --xy-connectionline-stroke-default: #b1b1b7;
  --xy-connectionline-stroke-width-default: 1;

  --xy-attribution-background-color-default: rgba(150, 150, 150, 0.25);

  --xy-minimap-background-color-default: #141414;
  --xy-minimap-mask-background-color-default: rgba(60, 60, 60, 0.6);
  --xy-minimap-mask-stroke-color-default: transparent;
  --xy-minimap-mask-stroke-width-default: 1;
  --xy-minimap-node-background-color-default: #2b2b2b;
  --xy-minimap-node-stroke-color-default: transparent;
  --xy-minimap-node-stroke-width-default: 2;

  --xy-background-color-default: #141414;
  --xy-background-pattern-dots-color-default: #555;
  --xy-background-pattern-lines-color-default: #333;
  --xy-background-pattern-cross-color-default: #333;
  --xy-node-color-default: #f8f8f8;
  --xy-node-border-default: 1px solid #3c3c3c;
  --xy-node-background-color-default: #1e1e1e;
  --xy-node-group-background-color-default: rgba(240, 240, 240, 0.25);
  --xy-node-boxshadow-hover-default: 0 1px 4px 1px rgba(255, 255, 255, 0.08);
  --xy-node-boxshadow-selected-default: 0 0 0 0.5px #999;

  --xy-handle-background-color-default: #bebebe;
  --xy-handle-border-color-default: #1e1e1e;

  --xy-selection-background-color-default: rgba(200, 200, 220, 0.08);
  --xy-selection-border-default: 1px dotted rgba(200, 200, 220, 0.8);

  --xy-controls-button-background-color-default: #2b2b2b;
  --xy-controls-button-background-color-hover-default: #3e3e3e;
  --xy-controls-button-color-default: #f8f8f8;
  --xy-controls-button-color-hover-default: #fff;
  --xy-controls-button-border-color-default: #5b5b5b;
  --xy-controls-box-shadow-default: 0 0 2px 1px rgba(0, 0, 0, 0.08);

  --xy-edge-label-background-color-default: #141414;
  --xy-edge-label-color-default: #f8f8f8;
}
.react-flow__background {
  background-color: var(--xy-background-color-props, var(--xy-background-color, var(--xy-background-color-default)));
  pointer-events: none;
  z-index: -1;
}
.react-flow__container {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}
.react-flow__pane {
  z-index: 1;
  touch-action: none;
}
.react-flow__pane.draggable {
    cursor: grab;
  }
.react-flow__pane.dragging {
    cursor: grabbing;
  }
.react-flow__pane.selection {
    cursor: pointer;
  }
.react-flow__viewport {
  transform-origin: 0 0;
  z-index: 2;
  pointer-events: none;
}
.react-flow__renderer {
  z-index: 4;
}
.react-flow__selection {
  z-index: 6;
}
.react-flow__nodesselection-rect:focus,
.react-flow__nodesselection-rect:focus-visible {
  outline: none;
}
.react-flow__edge-path {
  stroke: var(--xy-edge-stroke, var(--xy-edge-stroke-default));
  stroke-width: var(--xy-edge-stroke-width, var(--xy-edge-stroke-width-default));
  fill: none;
}
.react-flow__connection-path {
  stroke: var(--xy-connectionline-stroke, var(--xy-connectionline-stroke-default));
  stroke-width: var(--xy-connectionline-stroke-width, var(--xy-connectionline-stroke-width-default));
  fill: none;
}
.react-flow .react-flow__edges {
  position: absolute;
}
.react-flow .react-flow__edges svg {
    overflow: visible;
    position: absolute;
    pointer-events: none;
  }
.react-flow__edge {
  pointer-events: visibleStroke;
}
.react-flow__edge.selectable {
    cursor: pointer;
  }
.react-flow__edge.animated path {
    stroke-dasharray: 5;
    animation: dashdraw 0.5s linear infinite;
  }
.react-flow__edge.animated path.react-flow__edge-interaction {
    stroke-dasharray: none;
    animation: none;
  }
.react-flow__edge.inactive {
    pointer-events: none;
  }
.react-flow__edge.selected,
  .react-flow__edge:focus,
  .react-flow__edge:focus-visible {
    outline: none;
  }
.react-flow__edge.selected .react-flow__edge-path,
  .react-flow__edge.selectable:focus .react-flow__edge-path,
  .react-flow__edge.selectable:focus-visible .react-flow__edge-path {
    stroke: var(--xy-edge-stroke-selected, var(--xy-edge-stroke-selected-default));
  }
.react-flow__edge-textwrapper {
    pointer-events: all;
  }
.react-flow__edge .react-flow__edge-text {
    pointer-events: none;
    -webkit-user-select: none;
       -moz-user-select: none;
            user-select: none;
  }
/* Arrowhead marker styles - use CSS custom properties as default */
.react-flow__arrowhead polyline {
  stroke: var(--xy-edge-stroke, var(--xy-edge-stroke-default));
}
.react-flow__arrowhead polyline.arrowclosed {
  fill: var(--xy-edge-stroke, var(--xy-edge-stroke-default));
}
.react-flow__connection {
  pointer-events: none;
}
.react-flow__connection .animated {
    stroke-dasharray: 5;
    animation: dashdraw 0.5s linear infinite;
  }
svg.react-flow__connectionline {
  z-index: 1001;
  overflow: visible;
  position: absolute;
}
.react-flow__nodes {
  pointer-events: none;
  transform-origin: 0 0;
}
.react-flow__node {
  position: absolute;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  pointer-events: all;
  transform-origin: 0 0;
  box-sizing: border-box;
  cursor: default;
}
.react-flow__node.selectable {
    cursor: pointer;
  }
.react-flow__node.draggable {
    cursor: grab;
    pointer-events: all;
  }
.react-flow__node.draggable.dragging {
      cursor: grabbing;
    }
.react-flow__nodesselection {
  z-index: 3;
  transform-origin: left top;
  pointer-events: none;
}
.react-flow__nodesselection-rect {
    position: absolute;
    pointer-events: all;
    cursor: grab;
  }
.react-flow__handle {
  position: absolute;
  pointer-events: none;
  min-width: 5px;
  min-height: 5px;
  width: 6px;
  height: 6px;
  background-color: var(--xy-handle-background-color, var(--xy-handle-background-color-default));
  border: 1px solid var(--xy-handle-border-color, var(--xy-handle-border-color-default));
  border-radius: 100%;
}
.react-flow__handle.connectingfrom {
    pointer-events: all;
  }
.react-flow__handle.connectionindicator {
    pointer-events: all;
    cursor: crosshair;
  }
.react-flow__handle-bottom {
    top: auto;
    left: 50%;
    bottom: 0;
    transform: translate(-50%, 50%);
  }
.react-flow__handle-top {
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
  }
.react-flow__handle-left {
    top: 50%;
    left: 0;
    transform: translate(-50%, -50%);
  }
.react-flow__handle-right {
    top: 50%;
    right: 0;
    transform: translate(50%, -50%);
  }
.react-flow__edgeupdater {
  cursor: move;
  pointer-events: all;
}
.react-flow__pane.selection .react-flow__panel {
  pointer-events: none;
}
.react-flow__panel {
  position: absolute;
  z-index: 5;
  margin: 15px;
}
.react-flow__panel.top {
    top: 0;
  }
.react-flow__panel.bottom {
    bottom: 0;
  }
.react-flow__panel.top.center, .react-flow__panel.bottom.center {
      left: 50%;
      transform: translateX(-15px) translateX(-50%);
    }
.react-flow__panel.left {
    left: 0;
  }
.react-flow__panel.right {
    right: 0;
  }
.react-flow__panel.left.center, .react-flow__panel.right.center {
      top: 50%;
      transform: translateY(-15px) translateY(-50%);
    }
.react-flow__attribution {
  font-size: 10px;
  background: var(--xy-attribution-background-color, var(--xy-attribution-background-color-default));
  padding: 2px 3px;
  margin: 0;
}
.react-flow__attribution a {
    text-decoration: none;
    color: #999;
  }
@keyframes dashdraw {
  from {
    stroke-dashoffset: 10;
  }
}
.react-flow__edgelabel-renderer {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  left: 0;
  top: 0;
}
.react-flow__viewport-portal {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.react-flow__minimap {
  background: var(
    --xy-minimap-background-color-props,
    var(--xy-minimap-background-color, var(--xy-minimap-background-color-default))
  );
}
.react-flow__minimap-svg {
    display: block;
  }
.react-flow__minimap-mask {
    fill: var(
      --xy-minimap-mask-background-color-props,
      var(--xy-minimap-mask-background-color, var(--xy-minimap-mask-background-color-default))
    );
    stroke: var(
      --xy-minimap-mask-stroke-color-props,
      var(--xy-minimap-mask-stroke-color, var(--xy-minimap-mask-stroke-color-default))
    );
    stroke-width: var(
      --xy-minimap-mask-stroke-width-props,
      var(--xy-minimap-mask-stroke-width, var(--xy-minimap-mask-stroke-width-default))
    );
  }
.react-flow__minimap-node {
    fill: var(
      --xy-minimap-node-background-color-props,
      var(--xy-minimap-node-background-color, var(--xy-minimap-node-background-color-default))
    );
    stroke: var(
      --xy-minimap-node-stroke-color-props,
      var(--xy-minimap-node-stroke-color, var(--xy-minimap-node-stroke-color-default))
    );
    stroke-width: var(
      --xy-minimap-node-stroke-width-props,
      var(--xy-minimap-node-stroke-width, var(--xy-minimap-node-stroke-width-default))
    );
  }
.react-flow__background-pattern.dots {
    fill: var(
      --xy-background-pattern-color-props,
      var(--xy-background-pattern-color, var(--xy-background-pattern-dots-color-default))
    );
  }
.react-flow__background-pattern.lines {
    stroke: var(
      --xy-background-pattern-color-props,
      var(--xy-background-pattern-color, var(--xy-background-pattern-lines-color-default))
    );
  }
.react-flow__background-pattern.cross {
    stroke: var(
      --xy-background-pattern-color-props,
      var(--xy-background-pattern-color, var(--xy-background-pattern-cross-color-default))
    );
  }
.react-flow__controls {
  display: flex;
  flex-direction: column;
  box-shadow: var(--xy-controls-box-shadow, var(--xy-controls-box-shadow-default));
}
.react-flow__controls.horizontal {
    flex-direction: row;
  }
.react-flow__controls-button {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 26px;
    width: 26px;
    padding: 4px;
    border: none;
    background: var(--xy-controls-button-background-color, var(--xy-controls-button-background-color-default));
    border-bottom: 1px solid
      var(
        --xy-controls-button-border-color-props,
        var(--xy-controls-button-border-color, var(--xy-controls-button-border-color-default))
      );
    color: var(
      --xy-controls-button-color-props,
      var(--xy-controls-button-color, var(--xy-controls-button-color-default))
    );
    cursor: pointer;
    -webkit-user-select: none;
       -moz-user-select: none;
            user-select: none;
  }
.react-flow__controls-button svg {
      width: 100%;
      max-width: 12px;
      max-height: 12px;
      fill: currentColor;
    }
.react-flow__edge.updating .react-flow__edge-path {
      stroke: #777;
    }
.react-flow__edge-text {
    font-size: 10px;
  }
.react-flow__node.selectable:focus,
  .react-flow__node.selectable:focus-visible {
    outline: none;
  }
.react-flow__node-input,
.react-flow__node-default,
.react-flow__node-output,
.react-flow__node-group {
  padding: 10px;
  border-radius: var(--xy-node-border-radius, var(--xy-node-border-radius-default));
  width: 150px;
  font-size: 12px;
  color: var(--xy-node-color, var(--xy-node-color-default));
  text-align: center;
  border: var(--xy-node-border, var(--xy-node-border-default));
  background-color: var(--xy-node-background-color, var(--xy-node-background-color-default));
}
.react-flow__node-input.selectable:hover, .react-flow__node-default.selectable:hover, .react-flow__node-output.selectable:hover, .react-flow__node-group.selectable:hover {
      box-shadow: var(--xy-node-boxshadow-hover, var(--xy-node-boxshadow-hover-default));
    }
.react-flow__node-input.selectable.selected,
    .react-flow__node-input.selectable:focus,
    .react-flow__node-input.selectable:focus-visible,
    .react-flow__node-default.selectable.selected,
    .react-flow__node-default.selectable:focus,
    .react-flow__node-default.selectable:focus-visible,
    .react-flow__node-output.selectable.selected,
    .react-flow__node-output.selectable:focus,
    .react-flow__node-output.selectable:focus-visible,
    .react-flow__node-group.selectable.selected,
    .react-flow__node-group.selectable:focus,
    .react-flow__node-group.selectable:focus-visible {
      box-shadow: var(--xy-node-boxshadow-selected, var(--xy-node-boxshadow-selected-default));
    }
.react-flow__node-group {
  background-color: var(--xy-node-group-background-color, var(--xy-node-group-background-color-default));
}
.react-flow__nodesselection-rect,
.react-flow__selection {
  background: var(--xy-selection-background-color, var(--xy-selection-background-color-default));
  border: var(--xy-selection-border, var(--xy-selection-border-default));
}
.react-flow__nodesselection-rect:focus,
  .react-flow__nodesselection-rect:focus-visible,
  .react-flow__selection:focus,
  .react-flow__selection:focus-visible {
    outline: none;
  }
.react-flow__controls-button:hover {
      background: var(
        --xy-controls-button-background-color-hover-props,
        var(--xy-controls-button-background-color-hover, var(--xy-controls-button-background-color-hover-default))
      );
      color: var(
        --xy-controls-button-color-hover-props,
        var(--xy-controls-button-color-hover, var(--xy-controls-button-color-hover-default))
      );
    }
.react-flow__controls-button:disabled {
      pointer-events: none;
    }
.react-flow__controls-button:disabled svg {
        fill-opacity: 0.4;
      }
.react-flow__controls-button:last-child {
    border-bottom: none;
  }
.react-flow__controls.horizontal .react-flow__controls-button {
    border-bottom: none;
    border-right: 1px solid
      var(
        --xy-controls-button-border-color-props,
        var(--xy-controls-button-border-color, var(--xy-controls-button-border-color-default))
      );
  }
.react-flow__controls.horizontal .react-flow__controls-button:last-child {
    border-right: none;
  }
.react-flow__resize-control {
  position: absolute;
}
.react-flow__resize-control.left,
.react-flow__resize-control.right {
  cursor: ew-resize;
}
.react-flow__resize-control.top,
.react-flow__resize-control.bottom {
  cursor: ns-resize;
}
.react-flow__resize-control.top.left,
.react-flow__resize-control.bottom.right {
  cursor: nwse-resize;
}
.react-flow__resize-control.bottom.left,
.react-flow__resize-control.top.right {
  cursor: nesw-resize;
}
/* handle styles */
.react-flow__resize-control.handle {
  width: 5px;
  height: 5px;
  border: 1px solid #fff;
  border-radius: 1px;
  background-color: var(--xy-resize-background-color, var(--xy-resize-background-color-default));
  translate: -50% -50%;
}
.react-flow__resize-control.handle.left {
  left: 0;
  top: 50%;
}
.react-flow__resize-control.handle.right {
  left: 100%;
  top: 50%;
}
.react-flow__resize-control.handle.top {
  left: 50%;
  top: 0;
}
.react-flow__resize-control.handle.bottom {
  left: 50%;
  top: 100%;
}
.react-flow__resize-control.handle.top.left {
  left: 0;
}
.react-flow__resize-control.handle.bottom.left {
  left: 0;
}
.react-flow__resize-control.handle.top.right {
  left: 100%;
}
.react-flow__resize-control.handle.bottom.right {
  left: 100%;
}
/* line styles */
.react-flow__resize-control.line {
  border-color: var(--xy-resize-background-color, var(--xy-resize-background-color-default));
  border-width: 0;
  border-style: solid;
}
.react-flow__resize-control.line.left,
.react-flow__resize-control.line.right {
  width: 1px;
  transform: translate(-50%, 0);
  top: 0;
  height: 100%;
}
.react-flow__resize-control.line.left {
  left: 0;
  border-left-width: 1px;
}
.react-flow__resize-control.line.right {
  left: 100%;
  border-right-width: 1px;
}
.react-flow__resize-control.line.top,
.react-flow__resize-control.line.bottom {
  height: 1px;
  transform: translate(0, -50%);
  left: 0;
  width: 100%;
}
.react-flow__resize-control.line.top {
  top: 0;
  border-top-width: 1px;
}
.react-flow__resize-control.line.bottom {
  border-bottom-width: 1px;
  top: 100%;
}
.react-flow__edge-textbg {
  fill: var(--xy-edge-label-background-color, var(--xy-edge-label-background-color-default));
}
.react-flow__edge-text {
  fill: var(--xy-edge-label-color, var(--xy-edge-label-color-default));
}

/* =========================================================
   OMNIUS FLOW MAP
========================================================= */

#root {
  border-inline: 0 !important;
  border-left: 0 !important;
  border-right: 0 !important;
  text-align: left !important;
}

.omnius-map {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: -1;
  height: min(78vh, 820px);
  min-height: 650px;
  overflow: hidden;
  box-sizing: border-box;
  background-color: #f2f2f1;
  background-size: 45px 45px;
  -webkit-user-select: none;
  user-select: none;
}

/* =========================================================
   REACT FLOW
========================================================= */

.omnius-map .react-flow {
  position: relative;

  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;

  height: 100% !important;

  overflow: hidden;

  box-sizing: border-box;

  background: transparent !important;
}

.omnius-map .react-flow__renderer {
  position: absolute;

  inset: 0;

  width: 100% !important;
  max-width: 100% !important;

  height: 100% !important;

  overflow: hidden;
}

.omnius-map .react-flow__pane {
  width: 100%;
  height: 100%;

  cursor: grab !important;
}

.omnius-map .react-flow__pane:active {
  cursor: grabbing !important;
}

.omnius-map .react-flow__viewport {
  width: 100%;
  height: 100%;
}

/* =========================================================
   NODES
========================================================= */

.omnius-map .react-flow__node {
  cursor: default !important;
}

.omnius-map .react-flow__node-card,
.omnius-map .react-flow__node-dark {
  pointer-events: auto;
}

.omnius-map .react-flow__node-action {
  cursor: pointer !important;
  pointer-events: auto !important;
}

/* =========================================================
   STANDARD CARD
========================================================= */

.omnius-map-card {
  position: relative;
  width: 270px;
  overflow: visible;
  box-sizing: border-box;
  color: #000;
  background: #e6e6e5;
  border-radius: 8px;
}

/* =========================================================
   CARD HEADER
========================================================= */

.omnius-map-card__head {
  position: relative;
  padding: 15px;

  box-sizing: border-box;
}

.omnius-map-card__title {
  margin: 0;

  color: inherit;

  font-size: 13px;
  line-height: 1.2;
  font-weight: 600;

  letter-spacing: -0.035em;
}

.omnius-map-card__subtitle {
  color: #969696;

  font-size: 12px;

  font-weight: 400;
}

/* =========================================================
   CARD BODY
========================================================= */

.omnius-map-card__body {
  display: flex;
  flex-wrap: wrap;

  gap: 8px;

  padding: 15px;

  box-sizing: border-box;
  border-radius: 0 0 8px 8px;
  border-top: 1px solid #dadada;
}

.omnius-map-card__line {
  display: inline-block;

  padding: 4px 12px;

  border: 1px dashed #bdbdbd;
  border-radius: 50px;

  font-size: 13px;
  line-height: 20px;
  font-weight: 400;

  color: #000;

  white-space: nowrap;
}

/* =========================================================
   DARK CARD
========================================================= */

.omnius-map-card--dark {
  color: #fff;

  background: #000;
}
.omnius-map-card--dark .omnius-map-card__line {
  color: #fff;
  border-color: #666;
}

.omnius-map-card--dark .omnius-map-card__title {
  color: #fff;
}

.omnius-map-card--dark .omnius-map-card__subtitle {
  color: #8c8c8c;
}

.omnius-map-card--dark .omnius-map-card__body {
  color: #ffffff;

  background: #000;

  border-top-color: #3f3e3f;
}
/* =========================================================
   OUTPUT CARD
========================================================= */

.omnius-node-output .omnius-map-card {
  background-color: #0a8bfe;
  color: #fff !important;
}
.omnius-node-output .omnius-map-card__line {
  color: #fff;
}
.omnius-node-output .omnius-map-card__body {
  border-top-color: #84c5ff;
}
.omnius-node-output .omnius-map-card__line {
  border-color: #84c5ff;
}

/* =========================================================
   HANDLES
========================================================= */

.omnius-map-handle {
  width: 2px !important;
  height: 2px !important;

  min-width: 2px !important;
  min-height: 2px !important;

  border: 0 !important;

  background: transparent !important;

  opacity: 0 !important;

  pointer-events: none !important;
}

/* =========================================================
   EDGES
========================================================= */

.omnius-map .react-flow__edge {
  pointer-events: none;
}

.omnius-map .react-flow__edge-path {
  fill: none;
}

.omnius-map-edge {
  fill: none;

  stroke: #c9c9c9;

  stroke-width: 1.3;

  stroke-linecap: round;
  stroke-linejoin: round;

  pointer-events: none;

  transition:
    stroke 0.3s ease,
    opacity 0.3s ease;
}

/* =========================================================
   MOVING DOT
========================================================= */

.omnius-map-edge-dot {
  fill: #006fe8;

  pointer-events: none;

  filter: drop-shadow(0 0 5px rgba(0, 111, 232, 0.7));
}

/* =========================================================
   ACTION BUTTON
========================================================= */

.omnius-map-action {
  position: relative;
  height: 58px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 24px 0 14px;

  box-sizing: border-box;

  color: #ffffff;

  background: #000000;

  border: 2px solid #006fe8;
  border-radius: 4px;

  font-size: 17px;
  line-height: 1;
  font-weight: 500;

  letter-spacing: -0.02em;

  white-space: nowrap;

  cursor: pointer !important;
  pointer-events: auto !important;

  -webkit-user-select: none;
  user-select: none;

  box-shadow:
    0 0 0 3px rgba(0, 111, 232, 0.22),
    0 0 17px rgba(0, 111, 232, 0.24);

  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    background-color 0.18s ease,
    transform 0.18s ease;
}

.omnius-map-action:hover {
  border-color: #006fe8;

  box-shadow:
    0 0 0 4px rgba(0, 111, 232, 0.22),
    0 0 22px rgba(0, 111, 232, 0.24);
}

.omnius-map-action:active {
  transform: scale(0.98);
}

.omnius-map-action__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 31px;
  height: 31px;
  flex: 0 0 31px;
  pointer-events: none;
}

.omnius-map-action__icon img {
  display: block;
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.omnius-map-action__text {
  pointer-events: none;
}

/* =========================================================
   NODE REVEAL
   IMPORTANT:
   ONLY OPACITY ON REACT FLOW NODE
========================================================= */

.omnius-node-reveal {
  animation: omniusNodeOpacity 0.55s ease both;
}

@keyframes omniusNodeOpacity {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* =========================================================
   CARD REVEAL

   NO TRANSFORM HERE.
   Transform on the card visually moves it away from
   the React Flow handle/edge position.
========================================================= */

.omnius-node-reveal .omnius-map-card {
  animation: none !important;

  transform: none !important;
}

/* =========================================================
   ACTION REVEAL

   Button can still animate because no outgoing flow edge
   depends on its visual position.
========================================================= */

.omnius-node-reveal .omnius-map-action {
  animation: omniusActionReveal 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes omniusActionReveal {
  from {
    opacity: 0;

    transform: translateX(-10px) scale(0.98);
  }

  to {
    opacity: 1;

    transform: translateX(0) scale(1);
  }
}

/* =========================================================
   REACT FLOW STATES
========================================================= */

.omnius-map .react-flow__node.selected {
  box-shadow: none !important;
}

.omnius-map .react-flow__node:focus,
.omnius-map .react-flow__node:focus-visible {
  outline: none !important;
}

.omnius-map .react-flow__edge.selected .react-flow__edge-path {
  stroke: #c9c9c9;
}

/* =========================================================
   ATTRIBUTION
========================================================= */

.omnius-map .react-flow__attribution {
  display: none !important;
}

/* =========================================================
   SVG
========================================================= */

.omnius-map svg {
  shape-rendering: geometricPrecision;
}

/* =========================================================
   TABLET
========================================================= */

@media screen and (max-width: 991px) {
  .omnius-map {
    width: 100%;
    max-width: 100%;
    min-width: 0;

    height: 72vh;
    min-height: 600px;

    background-size: 40px 40px;
  }

  .omnius-map-card {
    width: 260px;
  }
}

/* =========================================================
   MOBILE
========================================================= */

@media screen and (max-width: 767px) {
  .omnius-map {
    width: 100%;
    max-width: 100%;
    min-width: 0;

    height: 620px;
    min-height: 620px;

    border-radius: 6px;

    background-size: 32px 32px;
  }

  .omnius-map-card {
    width: 245px;

    min-height: 135px;
  }

  .omnius-map-card__head {
    padding: 15px;
  }

  .omnius-map-card__title {
    font-size: 13px;
  }

  .omnius-map-card__subtitle {
    font-size: 12px;
  }

  .omnius-map-card__body {
    display: flex;
    flex-wrap: wrap;

    gap: 8px;

    padding: 15px;

    box-sizing: border-box;
  }

  .omnius-map-action {
    min-width: 190px;
    height: 52px;

    gap: 14px;

    padding: 0 19px;

    font-size: 15px;
  }
}

/* =========================================================
   SMALL MOBILE
========================================================= */

@media screen and (max-width: 479px) {
  .omnius-map {
    width: 100%;
    max-width: 100%;
    min-width: 0;

    height: 560px;
    min-height: 560px;

    background-size: 28px 28px;
  }

  .omnius-map-card {
    width: 230px;
  }
}

