/* styles.css */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: Bahnschrift, DIN Alternate, Franklin Gothic Medium, Nimbus Sans Narrow, sans-serif-condensed, sans-serif;
  font-weight: normal;
}

textarea {
  font-family: ui-monospace, Cascadia Code, Source Code Pro, Menlo, Consolas, DejaVu Sans Mono, monospace;
  font-weight: normal;
}

button {
  cursor: pointer;
  transition: all .2s;
  font-family: inherit;
}

button:hover {
  opacity: .9;
  transform: translateY(-1px);
}

button:active {
  transform: translateY(0);
}

.react-flow__handle {
  border-width: 2px !important;
  width: 12px !important;
  height: 12px !important;
}

.react-flow__edge-path {
  stroke-width: 2.5 !important;
}

@media (width <= 768px) {
  .react-flow__handle {
    border-width: 6px !important;
    width: 20px !important;
    height: 20px !important;
  }

  .react-flow__edge-path {
    stroke-width: 4 !important;
  }
}

@media (hover: none) and (pointer: coarse) {
  .react-flow__handle {
    border-width: 6px !important;
    width: 20px !important;
    height: 20px !important;
  }

  .react-flow__edge-path {
    stroke-width: 4 !important;
  }
}

.node-description {
  color: #666;
  padding-bottom: .5rem;
  font-size: 11px;
  font-style: italic;
}

.dark-mode .node-description {
  color: #aaa;
}

.node-picker {
  position: absolute;
  z-index: 10;
  display: flex;
  background: #fff;
  border-radius: .5rem;
  flex-wrap: wrap;
  align-items:  center;
  gap: 10px;
  padding: .15rem 1rem;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Noto Sans, Ubuntu, Cantarell, Helvetica Neue, sans-serif;
  font-weight: normal;
  top: 10px;
  left: 10px;
  box-shadow: 0 2px 8px #0000001a;
}

.node-picker.dark-mode {
  background: #2a2a2a;
  box-shadow: 0 2px 8px #0006;
}

.node-picker-title {
  color: #000;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: .5rem;
  width: 160px;
  min-height: 1rem;
  padding: .5rem;
  font-family: inherit;
  font-size: .875rem;
  font-weight: bold;
}

.node-picker-title::placeholder {
  color: #999;
  font-weight: normal;
}

.node-picker.dark-mode .node-picker-title {
  color: #e0e0e0;
  background: #3a3a3a;
  border: 1px solid #555;
}

.node-picker.dark-mode .node-picker-title::placeholder {
  color: #777;
}

.node-picker-select {
  cursor: pointer;
  color: #000;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: .5rem;
  min-width: 180px;
  min-height: 48px;
  padding: .5rem;
  font-family: inherit;
  font-size: .75rem;
}

.node-picker.dark-mode .node-picker-select {
  color: #e0e0e0;
  background: #3a3a3a;
  border: 1px solid #555;
}

.node-picker-button {
  cursor: pointer;
  color: #000;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: .5rem;
  min-width: 48px;
  min-height: 1rem;
  padding: .35rem;
  font-size: .8rem;
}

.node-picker.dark-mode .node-picker-button {
  color: #e0e0e0;
  background: #3a3a3a;
  border: 1px solid #555;
}

.node-picker-group {
  display: flex;
  align-items:  center;
  gap: 10px;
}

.node-picker-divider {
  background: #ccc;
  flex-shrink: 0;
  width: 1px;
  height: 24px;
}

.node-picker.dark-mode .node-picker-divider {
  background: #555;
}

.published-url-inline {
  display: flex;
  overflow: hidden;
  background: #f0f7ff;
  border: 1px solid #ccc;
  border-radius: .5rem;
  align-items:  center;
  gap: 4px;
  max-width: 280px;
  padding: .25rem .5rem;
  font-size: .75rem;
}

.node-picker.dark-mode .published-url-inline {
  background: #2a3a4a;
  border-color: #555;
}

.published-url-inline a {
  color: #0173b2;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.published-url-inline a:hover {
  text-decoration: underline;
}

.node-picker.dark-mode .published-url-inline a {
  color: #5ba3ff;
}

.published-url-copy, .published-url-dismiss {
  cursor: pointer;
  color: #666;
  background: none;
  border: none;
  flex-shrink: 0;
  padding: 0 2px;
  font-size: .75rem;
  line-height: 1;
}

.published-url-dismiss {
  font-size: 1rem;
}

.node-picker.dark-mode .published-url-copy, .node-picker.dark-mode .published-url-dismiss {
  color: #aaa;
}

@media (width <= 768px), (hover: none) and (pointer: coarse) {
  .node-picker {
    padding: 10px;
  }

  .node-picker-title {
    width: 140px;
    min-height: 44px;
    padding: 10px 14px;
    font-size: 16px;
  }

  .node-picker-select {
    min-width: 160px;
    min-height: 44px;
    padding: 10px 14px;
    font-size: 16px;
  }

  .node-picker-button {
    min-width: 44px;
    min-height: 44px;
    padding: 10px 14px;
    font-size: 16px;
  }

  .node-picker-divider {
    height: 20px;
  }
}

.node-header-source, .dark-mode .node-header-source {
  color: #fff !important;
  background: #0173b2 !important;
  border-bottom-color: #015a8c !important;
}

.node-header-transformer, .dark-mode .node-header-transformer {
  color: #fff !important;
  background: #de8f05 !important;
  border-bottom-color: #b57204 !important;
}

.node-header-destination, .dark-mode .node-header-destination {
  color: #fff !important;
  background: #029e73 !important;
  border-bottom-color: #027d5b !important;
}

.node-header-source button, .node-header-transformer button, .node-header-destination button {
  color: #fff !important;
  background: #fff3 !important;
  border-color: #ffffff4d !important;
}

.node-header-source button:hover, .node-header-transformer button:hover, .node-header-destination button:hover {
  background: #ffffff4d !important;
}

.node-container {
  background: #fff;
  border: 2px solid #777;
  border-radius: .65rem;
  min-width: 14rem;
}

.dark-mode .node-container {
  background: #2a2a2a;
  border: 2px solid #555;
}

.node-container.selected {
  box-shadow: 0 0 0 2px #555;
}

.dark-mode .node-container.selected {
  box-shadow: 0 0 0 2px #888;
}

.node-header {
  display: flex;
  color: #000;
  background: #f9f9f9;
  border-bottom: 1px solid #eee;
  border-radius: .5rem .5rem 0 0;
  justify-content: space-between;
  align-items:  center;
  padding: 6px 8px;
}

.dark-mode .node-header {
  color: #e0e0e0;
  background: #333;
  border-bottom: 1px solid #444;
}

.node-header-title {
  font-size: 16px;
  font-weight: bold;
}

.node-delete-button {
  cursor: pointer;
  display: flex;
  color: #666;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: .5rem;
  flex-shrink: 0;
  justify-content: center;
  align-items:  center;
  width: 16px;
  height: 16px;
  padding: 0;
  font-size: 12px;
  line-height: 14px;
}

.dark-mode .node-delete-button {
  color: #aaa;
  background: #3a3a3a;
  border: 1px solid #555;
}

.node-body {
  padding: 10px;
}

.node-input, .node-textarea, .node-select {
  color: #000;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: .5rem;
  width: 100%;
  padding: 4px;
  font-size: 12px;
}

.dark-mode .node-input, .dark-mode .node-textarea, .dark-mode .node-select {
  color: #e0e0e0;
  background: #3a3a3a;
  border: 1px solid #555;
}

.node-textarea {
  min-height: 100px;
  font-family: ui-monospace, Cascadia Code, Source Code Pro, Menlo, Consolas, DejaVu Sans Mono, monospace;
}

.node-input:disabled, .node-textarea:disabled, .node-select:disabled {
  background: #f5f5f5;
}

.dark-mode .node-input:disabled, .dark-mode .node-textarea:disabled, .dark-mode .node-select:disabled {
  background: #2a2a2a;
}

.node-label {
  color: #666;
  display: block;
  margin-bottom: 2px;
  font-size: 11px;
}

.dark-mode .node-label {
  color: #aaa;
}

.node-field {
  margin-bottom: 5px;
}

.node-field-with-spacing {
  margin-bottom: 8px;
}

.node-info {
  color: #666;
  margin-bottom: 5px;
  font-size: 11px;
}

.dark-mode .node-info {
  color: #aaa;
}

.node-button {
  cursor: pointer;
  color: #000;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: .5rem;
  padding: 2px 8px;
  font-size: 11px;
}

.dark-mode .node-button {
  color: #e0e0e0;
  background: #3a3a3a;
  border: 1px solid #555;
}

.node-button:disabled {
  cursor: not-allowed;
  opacity: .5;
}

.node-button-group {
  display: flex;
  align-items:  center;
  gap: 5px;
  margin-bottom: 5px;
}

.node-checkbox-label {
  display: flex;
  cursor: pointer;
  color: #000;
  align-items:  center;
  gap: 4px;
  font-size: 11px;
}

.dark-mode .node-checkbox-label {
  color: #e0e0e0;
}

.node-checkbox-label input[type="checkbox"] {
  cursor: pointer;
  margin: 0;
}

.result-textarea {
  overflow: auto;
  background: #f9f9f9;
  border: 1px solid #eee;
  border-radius: .5rem;
  width: 100%;
  height: 200px;
  min-height: 150px;
  padding: 5px;
  font-size: 12px;
}

.dark-mode .result-textarea {
  color: #e0e0e0;
  background: #333;
  border: 1px solid #555;
}

.result-textarea.no-value {
  color: #999;
}

.result-textarea.wrap {
  white-space: pre-wrap;
}

.result-textarea.no-wrap {
  white-space: pre;
}

.app-container {
  background: #fff;
  width: 100vw;
  height: 100vh;
}

.dark-mode .app-container {
  background: #1a1a1a;
}

.node-status {
  font-size: 11px;
  font-style: italic;
}

.node-status.loading {
  color: #666;
}

.dark-mode .node-status.loading {
  color: #aaa;
}

.node-status.error {
  color: #d44;
}

.node-button-wide {
  cursor: pointer;
  color: #000;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: .5rem;
  width: 100%;
  padding: 6px 12px;
  font-size: 12px;
}

.dark-mode .node-button-wide {
  color: #e0e0e0;
  background: #3a3a3a;
  border: 1px solid #555;
}

.help-modal-overlay {
  position: fixed;
  display: flex;
  z-index: 1000;
  background: #00000080;
  justify-content: center;
  align-items:  center;
  inset: 0;
}

.help-modal {
  display: flex;
  position: relative;
  background: #fff;
  border-radius: 8px;
  flex-direction: column;
  max-width: 500px;
  max-height: 80vh;
  padding: 24px;
  box-shadow: 0 4px 20px #0003;
}

.dark-mode .help-modal {
  color: #e0e0e0;
  background: #2a2a2a;
  box-shadow: 0 4px 20px #00000080;
}

.help-modal h2 {
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 1.5rem;
}

.help-modal-close {
  position: absolute;
  cursor: pointer;
  color: #666;
  background: none;
  border: none;
  padding: 4px 8px;
  font-size: 1.5rem;
  line-height: 1;
  top: 12px;
  right: 12px;
}

.help-modal-close:hover {
  color: #000;
}

.dark-mode .help-modal-close {
  color: #999;
}

.dark-mode .help-modal-close:hover {
  color: #fff;
}

.help-modal-content {
  overflow-y: auto;
}

.help-modal-content p {
  margin: 0 0 12px !important;
  line-height: 1.25 !important;
}

.help-modal-content p:last-child {
  margin-bottom: 0;
}

.help-modal-content ul {
  margin: 0 0 12px !important;
  padding-left: 1.5rem !important;
  line-height: 1.25 !important;
}

.template-token-handle {
  position: absolute;
  display: flex;
  align-items:  center;
  height: .3rem;
  left: -6px;
}

.template-token-label {
  color: #666;
  margin-bottom: .25rem;
  margin-left: .5rem;
  font-size: .75rem;
  font-weight: bold;
}

.dark-mode .template-token-label {
  color: #ccc;
}

.node-help-wrapper {
  position: relative;
}

.node-help-frame {
  position: absolute;
  pointer-events: none;
  z-index: -1;
  background: #c1dbf9bf;
  border: 2px solid #4a90e2;
  border-radius: 1rem;
  min-height: 6rem;
  padding: 30px;
  inset: -1rem -5.25rem -3.5rem;
}

.dark-mode .node-help-frame {
  background: #2541658c;
  border-color: #5ba3ff;
}

.handle-help-label {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  width: 4rem;
  font-size: 11px;
  transform: translateY(-50%);
}

.handle-help-left {
  text-align: right;
  right: calc(100% + 15px);
}

.handle-help-right {
  text-align: left;
  left: calc(100% + 15px);
}

.help-label-title {
  color: #4a90e2;
  margin-bottom: 2px;
  font-weight: bold;
}

.dark-mode .help-label-title {
  color: #5ba3ff;
}

.help-label-desc {
  color: #666;
  font-style: italic;
  line-height: 1;
}

.dark-mode .help-label-desc {
  color: #aaa;
}

.help-description {
  position: absolute;
  text-align: left;
  color: #666;
  pointer-events: none;
  margin-left: 1rem;
  margin-right: 1rem;
  font-size: 12px;
  bottom: .5rem;
  left: 0;
  right: 0;
}

.dark-mode .help-description {
  color: #aaa;
}

.node-header-buttons {
  display: flex;
  align-items:  center;
  gap: 4px;
}

.node-help-button {
  cursor: pointer;
  display: flex;
  color: #666;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: .5rem;
  flex-shrink: 0;
  justify-content: center;
  align-items:  center;
  width: 16px;
  height: 16px;
  padding: 0;
  font-size: 11px;
  font-weight: bold;
  line-height: 14px;
}

.dark-mode .node-help-button {
  color: #aaa;
  background: #3a3a3a;
  border: 1px solid #555;
}

.node-header-source .node-help-button, .node-header-transformer .node-help-button, .node-header-destination .node-help-button {
  color: #fff !important;
  background: #fff3 !important;
  border-color: #ffffff4d !important;
}

.node-header-source .node-help-button:hover, .node-header-transformer .node-help-button:hover, .node-header-destination .node-help-button:hover {
  background: #ffffff4d !important;
}

/* node_modules/@xyflow/react/dist/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: #ffffff80;
  --xy-minimap-background-color-default: #fff;
  --xy-minimap-mask-background-color-default: #f0f0f099;
  --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: #f0f0f040;
  --xy-node-boxshadow-hover-default: 0 1px 4px 1px #00000014;
  --xy-node-boxshadow-selected-default: 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: #0059dc14;
  --xy-selection-border-default: 1px dotted #0059dccc;
  --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 #00000014;
  --xy-edge-label-background-color-default: #fff;
  --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: #96969640;
  --xy-minimap-background-color-default: #141414;
  --xy-minimap-mask-background-color-default: #3c3c3c99;
  --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: #777;
  --xy-background-pattern-lines-color-default: #777;
  --xy-background-pattern-cross-color-default: #777;
  --xy-node-color-default: #f8f8f8;
  --xy-node-border-default: 1px solid #3c3c3c;
  --xy-node-background-color-default: #1e1e1e;
  --xy-node-group-background-color-default: #f0f0f040;
  --xy-node-boxshadow-hover-default: 0 1px 4px 1px #ffffff14;
  --xy-node-boxshadow-selected-default: 0 0 0 .5px #999;
  --xy-handle-background-color-default: #bebebe;
  --xy-handle-border-color-default: #1e1e1e;
  --xy-selection-background-color-default: #c8c8dc14;
  --xy-selection-border-default: 1px dotted #c8c8dccc;
  --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 #00000014;
  --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;
}

.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 {
  outline: none;
}

.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 .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 {
  outline: none;
}

.react-flow__edge:focus-visible {
  outline: none;
}

.react-flow__edge.selected .react-flow__edge-path, .react-flow__edge.selectable:focus .react-flow__edge-path {
  stroke: var(--xy-edge-stroke-selected, var(--xy-edge-stroke-selected-default));
}

.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;
}

.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 .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;
  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%;
  width: 6px;
  min-width: 5px;
  height: 6px;
  min-height: 5px;
}

.react-flow__handle.connectingfrom {
  pointer-events: all;
}

.react-flow__handle.connectionindicator {
  pointer-events: all;
  cursor: crosshair;
}

.react-flow__handle-bottom {
  top: auto;
  bottom: 0;
  left: 50%;
  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 {
  background: var(--xy-attribution-background-color, var(--xy-attribution-background-color-default));
  margin: 0;
  padding: 2px 3px;
  font-size: 10px;
}

.react-flow__attribution a {
  text-decoration: none;
  color: #999;
}

@keyframes dashdraw {
  from {
    stroke-dashoffset: 10;
  }
}

.react-flow__edgelabel-renderer {
  position: absolute;
  pointer-events: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.react-flow__viewport-portal {
  position: absolute;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.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;
  box-shadow: var(--xy-controls-box-shadow, var(--xy-controls-box-shadow-default));
  flex-direction: column;
}

.react-flow__controls.horizontal {
  flex-direction: row;
}

.react-flow__controls-button {
  display: flex;
  background: var(--xy-controls-button-background-color, var(--xy-controls-button-background-color-default));
  border: none;
  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;
  justify-content: center;
  align-items:  center;
  width: 26px;
  height: 26px;
  padding: 4px;
}

.react-flow__controls-button svg {
  fill: currentColor;
  width: 100%;
  max-width: 12px;
  max-height: 12px;
}

.react-flow__edge.updating .react-flow__edge-path {
  stroke: #777;
}

.react-flow__edge-text {
  font-size: 10px;
}

.react-flow__node.selectable:focus {
  outline: none;
}

.react-flow__node.selectable:focus-visible {
  outline: none;
}

.react-flow__node-input, .react-flow__node-default, .react-flow__node-output, .react-flow__node-group {
  border-radius: var(--xy-node-border-radius, var(--xy-node-border-radius-default));
  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));
  width: 150px;
  padding: 10px;
  font-size: 12px;
}

.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-default.selectable.selected, .react-flow__node-default.selectable:focus, .react-flow__node-output.selectable.selected, .react-flow__node-output.selectable:focus, .react-flow__node-group.selectable.selected, .react-flow__node-group.selectable:focus {
  box-shadow: var(--xy-node-boxshadow-selected, var(--xy-node-boxshadow-selected-default));
}

.react-flow__node-input.selectable:focus-visible {
  box-shadow: var(--xy-node-boxshadow-selected, var(--xy-node-boxshadow-selected-default));
}

.react-flow__node-default.selectable:focus-visible {
  box-shadow: var(--xy-node-boxshadow-selected, var(--xy-node-boxshadow-selected-default));
}

.react-flow__node-output.selectable:focus-visible {
  box-shadow: var(--xy-node-boxshadow-selected, var(--xy-node-boxshadow-selected-default));
}

.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__selection:focus {
  outline: none;
}

.react-flow__nodesselection-rect:focus-visible {
  outline: none;
}

.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: .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;
}

.react-flow__resize-control.handle {
  background-color: var(--xy-resize-background-color, var(--xy-resize-background-color-default));
  border: 1px solid #fff;
  border-radius: 1px;
  width: 5px;
  height: 5px;
  translate: -50% -50%;
}

.react-flow__resize-control.handle.left {
  top: 50%;
  left: 0;
}

.react-flow__resize-control.handle.right {
  top: 50%;
  left: 100%;
}

.react-flow__resize-control.handle.top {
  top: 0;
  left: 50%;
}

.react-flow__resize-control.handle.bottom {
  top: 100%;
  left: 50%;
}

.react-flow__resize-control.handle.top.left, .react-flow__resize-control.handle.bottom.left {
  left: 0;
}

.react-flow__resize-control.handle.top.right, .react-flow__resize-control.handle.bottom.right {
  left: 100%;
}

.react-flow__resize-control.line {
  border-color: var(--xy-resize-background-color, var(--xy-resize-background-color-default));
  border-style: solid;
  border-width: 0;
}

.react-flow__resize-control.line.left, .react-flow__resize-control.line.right {
  width: 1px;
  height: 100%;
  top: 0;
  transform: translate(-50%);
}

.react-flow__resize-control.line.left {
  border-left-width: 1px;
  left: 0;
}

.react-flow__resize-control.line.right {
  border-right-width: 1px;
  left: 100%;
}

.react-flow__resize-control.line.top, .react-flow__resize-control.line.bottom {
  width: 100%;
  height: 1px;
  left: 0;
  transform: translate(0, -50%);
}

.react-flow__resize-control.line.top {
  border-top-width: 1px;
  top: 0;
}

.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));
}
