/* node_modules/reactflow/dist/style.css */
.react-flow {
  direction: ltr;
}
.react-flow__container {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}
.react-flow__pane {
  z-index: 1;
  cursor: -webkit-grab;
  cursor: grab;
}
.react-flow__pane.selection {
  cursor: pointer;
}
.react-flow__pane.dragging {
  cursor: -webkit-grabbing;
  cursor: grabbing;
}
.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 .react-flow__edges {
  pointer-events: none;
  overflow: visible;
}
.react-flow__edge-path,
.react-flow__connection-path {
  stroke: #b1b1b7;
  stroke-width: 1;
  fill: none;
}
.react-flow__edge {
  pointer-events: visibleStroke;
  cursor: pointer;
}
.react-flow__edge.animated path {
  stroke-dasharray: 5;
  -webkit-animation: dashdraw 0.5s linear infinite;
  animation: dashdraw 0.5s linear infinite;
}
.react-flow__edge.animated path.react-flow__edge-interaction {
  stroke-dasharray: none;
  -webkit-animation: 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:focus .react-flow__edge-path,
.react-flow__edge:focus-visible .react-flow__edge-path {
  stroke: #555;
}
.react-flow__edge-textwrapper {
  pointer-events: all;
}
.react-flow__edge-textbg {
  fill: white;
}
.react-flow__edge .react-flow__edge-text {
  pointer-events: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}
.react-flow__connection {
  pointer-events: none;
}
.react-flow__connection .animated {
  stroke-dasharray: 5;
  -webkit-animation: dashdraw 0.5s linear infinite;
  animation: dashdraw 0.5s linear infinite;
}
.react-flow__connectionline {
  z-index: 1001;
}
.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: -webkit-grab;
  cursor: grab;
}
.react-flow__node.dragging {
  cursor: -webkit-grabbing;
  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: -webkit-grab;
  cursor: grab;
}
.react-flow__handle {
  position: absolute;
  pointer-events: none;
  min-width: 5px;
  min-height: 5px;
  width: 6px;
  height: 6px;
  background: #1a192b;
  border: 1px solid white;
  border-radius: 100%;
}
.react-flow__handle.connectionindicator {
  pointer-events: all;
  cursor: crosshair;
}
.react-flow__handle-bottom {
  top: auto;
  left: 50%;
  bottom: -4px;
  transform: translate(-50%, 0);
}
.react-flow__handle-top {
  left: 50%;
  top: -4px;
  transform: translate(-50%, 0);
}
.react-flow__handle-left {
  top: 50%;
  left: -4px;
  transform: translate(0, -50%);
}
.react-flow__handle-right {
  right: -4px;
  top: 50%;
  transform: translate(0, -50%);
}
.react-flow__edgeupdater {
  cursor: move;
  pointer-events: all;
}
.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.left {
  left: 0;
}
.react-flow__panel.right {
  right: 0;
}
.react-flow__panel.center {
  left: 50%;
  transform: translateX(-50%);
}
.react-flow__attribution {
  font-size: 10px;
  background: rgba(255, 255, 255, 0.5);
  padding: 2px 3px;
  margin: 0;
}
.react-flow__attribution a {
  text-decoration: none;
  color: #999;
}
@-webkit-keyframes dashdraw {
  from {
    stroke-dashoffset: 10;
  }
}
@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;
}
.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-default,
.react-flow__node-input,
.react-flow__node-output,
.react-flow__node-group {
  padding: 10px;
  border-radius: 3px;
  width: 150px;
  font-size: 12px;
  color: #222;
  text-align: center;
  border-width: 1px;
  border-style: solid;
  border-color: #1a192b;
  background-color: white;
}
.react-flow__node-default.selectable:hover,
.react-flow__node-input.selectable:hover,
.react-flow__node-output.selectable:hover,
.react-flow__node-group.selectable:hover {
  box-shadow: 0 1px 4px 1px rgba(0, 0, 0, 0.08);
}
.react-flow__node-default.selectable.selected,
.react-flow__node-default.selectable:focus,
.react-flow__node-default.selectable:focus-visible,
.react-flow__node-input.selectable.selected,
.react-flow__node-input.selectable:focus,
.react-flow__node-input.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: 0 0 0 0.5px #1a192b;
}
.react-flow__node-group {
  background-color: rgba(240, 240, 240, 0.25);
}
.react-flow__nodesselection-rect,
.react-flow__selection {
  background: rgba(0, 89, 220, 0.08);
  border: 1px dotted rgba(0, 89, 220, 0.8);
}
.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 {
  box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.08);
}
.react-flow__controls-button {
  border: none;
  background: #fefefe;
  border-bottom: 1px solid #eee;
  box-sizing: content-box;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 16px;
  height: 16px;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  padding: 5px;
}
.react-flow__controls-button:hover {
  background: #f4f4f4;
}
.react-flow__controls-button svg {
  width: 100%;
  max-width: 12px;
  max-height: 12px;
}
.react-flow__controls-button:disabled {
  pointer-events: none;
}
.react-flow__controls-button:disabled svg {
  fill-opacity: 0.4;
}
.react-flow__minimap {
  background-color: #fff;
}
.react-flow__minimap svg {
  display: block;
}
.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 {
  width: 4px;
  height: 4px;
  border: 1px solid #fff;
  border-radius: 1px;
  background-color: #3367d9;
  transform: 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%;
}
.react-flow__resize-control.line {
  border-color: #3367d9;
  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%;
}

/* src/css/styles.css */
:root {
  --node-padding: 10px;
  --node-border-radius: 5px;
  --node-font-size: 14px;
  --node-font-weight: bold;
  --node-text-align: center;
  --font-text-size: 14px;
  --font-monospace: "Roboto Mono", monospace;
  --border-color-light: #d3cbbd;
  --border-color-dark: #a99b87;
  --background-modifier-form-field: #f5efe1;
  --background-modifier-form-field-highlighted: #e4dccf;
  --node-text-color: var( --text-normal );
}
.theme-light {
  --button-primary-background: #5a8f6a;
  --button-primary-hover-background: #4a7a5c;
  --button-primary-text-color: #ffffff;
  --button-secondary-background: #d9d1bf;
  --button-secondary-hover-background: #c4bda9;
  --button-secondary-text-color: #333333;
  --llm-user-border-color: #79a07e;
  --llm-user-background-color: #e6f2e6;
  --llm-llm-border-color: #b2a27e;
  --llm-llm-background-color: #f8f3e9;
  --llm-tool-border-color: #b08d57;
  --llm-tool-background-color: #fdf4e3;
  --llm-error-border-color: #c25b5b;
  --llm-error-background-color: #f7e0e0;
  --llm-assistant-border-color: #9c9c8f;
  --llm-assistant-background-color: #ecece4;
  --text-normal: #333;
  --text-muted: #666;
  --background-secondary-alt: #f0f0f0;
  --text-accent: #007bff;
}
.theme-dark {
  --button-primary-background: #4a7a5c;
  --button-primary-hover-background: #3a6a4c;
  --button-primary-text-color: #ffffff;
  --button-secondary-background: #a99d8b;
  --button-secondary-hover-background: #948d7b;
  --button-secondary-text-color: #f0f0f0;
  --llm-user-border-color: #5a8f6a;
  --llm-user-background-color: #2b3a2d;
  --llm-llm-border-color: #8c7e60;
  --llm-llm-background-color: #3a3227;
  --llm-tool-border-color: #806842;
  --llm-tool-background-color: #3b2c1c;
  --llm-error-border-color: #9c4b4b;
  --llm-error-background-color: #4a2d2d;
  --llm-assistant-border-color: #7c7c70;
  --llm-assistant-background-color: #3a3a35;
  --text-normal: #f0f0f0;
  --text-muted: #b0b0b0;
  --background-secondary-alt: #2a2a2a;
  --text-accent: #6aa84f;
}
.llm-agent-chat-panel .message-type-user {
  border: 1px solid var(--llm-user-border-color);
  background-color: var( --llm-user-background-color );
}
.llm-agent-chat-panel .message-type-llm {
  border: 1px solid var(--llm-llm-border-color);
  background-color: var( --llm-llm-background-color );
}
.llm-agent-chat-panel .message-type-tool {
  border: 1px solid var(--llm-tool-border-color);
  background-color: var( --llm-tool-background-color );
}
.llm-agent-chat-panel .message-type-error {
  border: 1px solid var(--llm-error-border-color);
  background-color: var( --llm-error-background-color );
}
.llm-agent-chat-panel .message-type-assistant {
  border: 1px solid var(--llm-assistant-border-color);
  background-color: var( --llm-assistant-background-color );
}
.llm-agent-chat-panel .message {
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  padding: 10px;
  border-radius: 5px;
  max-width: 80%;
  word-break: break-word;
  overflow-wrap: break-word;
}
.llm-agent-chat-panel .message.user {
  margin-left: auto;
}
.llm-agent-chat-panel .message.assistant {
  margin-right: auto;
}
.chat-meta {
  margin-bottom: 5px;
}
.chat-sender-info {
  display: flex;
  align-items: center;
  gap: 8px;
}
.chat-message-icon svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.chat-role-label {
  font-weight: bold;
  font-size: 0.9em;
  color: var(--text-muted);
}
.chat-message-content {
  font-size: var(--font-text-size);
  line-height: 1.5;
  color: var(--text-normal);
  user-select: text;
}
.llm-agent-chat-panel {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.chat-history {
  flex-grow: 1;
  overflow-y: auto;
  padding: 10px;
  -webkit-user-select: text;
  -moz-user-select: text;
  user-select: text;
  scroll-behavior: smooth;
}
.chat-message-content code {
  background-color: var(--background-secondary-alt);
  border-radius: 4px;
  padding: 2px 4px;
  font-family: var(--font-monospace);
  font-size: 0.9em;
  color: var(--text-accent);
}
.chat-message-content pre {
  white-space: pre-wrap;
  word-break: break-word;
  overflow-x: auto;
}
.chat-message-content pre code {
  background-color: transparent;
}
.chat-input-form {
  display: flex;
  padding: 10px;
  border-top: 1px solid #eee;
  gap: 10px;
}
.command-input {
  position: relative;
  flex-grow: 1;
}
#message-input {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  scroll-margin-bottom: 30px;
}
.submit-button {
  padding: 4px 8px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 11px;
  transition: all 0.2s;
  width: auto;
  height: auto;
  background-color: var( --button-primary-background ) !important;
  color: var( --button-primary-text-color ) !important;
  opacity: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
#send-button:hover {
  background-color: var( --button-primary-hover-background ) !important;
}
.chat-input-container {
  border-top: 1px solid var(--background-modifier-border);
  padding: 8px 10px 4px 10px;
  position: relative;
}
.scroll-container {
  overflow-y: auto;
  scrollbar-width: thin;
  max-height: 70vh;
  margin-bottom: 8px;
}
.message-input-editor {
  min-height: 20px;
  max-height: 200px;
  overflow-y: auto;
  word-wrap: break-word;
  white-space: pre-wrap;
}
.message-input-editor.is-empty::before {
  content: attr(data-placeholder);
  color: var(--text-muted);
  position: absolute;
  pointer-events: none;
}
.message-input-editor[data-placeholder]::before {
  content: attr(data-placeholder);
  color: var(--text-muted);
  position: absolute;
  pointer-events: none;
  opacity: 0.6;
}
.message-input-editor.is-empty[data-placeholder]::before {
  display: block;
}
.message-input-editor:not(.is-empty)[data-placeholder]::before,
.message-input-editor:focus[data-placeholder]::before {
  display: none;
}
.message-input-editor .reference-box {
  display: inline-flex !important;
  vertical-align: middle;
  margin: 0 1px;
}
.message-input-editor .reference-box:focus {
  outline: 2px solid var(--interactive-accent);
  outline-offset: 1px;
}
.chat-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-muted);
}
.control-buttons-left {
  display: flex;
  align-items: center;
  gap: 8px;
}
.control-buttons-right {
  display: flex;
  align-items: center;
  gap: 8px;
}
.model-select-container {
  position: relative;
}
.model-select-button {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border: none;
  border-radius: 8px;
  background-color: var( --button-secondary-background );
  color: var( --button-secondary-text-color );
  cursor: pointer;
  font-size: 11px;
  transition: all 0.2s;
}
.model-select-button:hover {
  background-color: var( --button-secondary-hover-background );
  filter: brightness(1.1);
}
.model-name {
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dropdown-icon {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}
.model-dropdown {
  position: absolute;
  left: 0;
  width: max-content;
  min-width: 150px;
  background-color: var( --background-primary );
  border: 1px solid var(--border-color-dark);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  max-height: 200px;
  overflow-y: auto;
}
.model-option {
  padding: 8px 12px;
  cursor: pointer;
  font-size: 11px;
  color: var(--text-normal);
  transition: background-color 0.2s;
}
.model-option:hover {
}
.model-option.selected {
  background-color: var( --background-modifier-selected );
  color: var(--text-highlighted);
}
.model-option:first-child {
  border-radius: 8px 8px 0 0;
}
.model-option:last-child {
  border-radius: 0 0 8px 8px;
}
.submit-button {
  padding: 4px 8px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 11px;
  transition: all 0.2s;
}
.submit-button:hover:enabled {
  filter: brightness(1.25);
}
.submit-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.submit-text {
  font-family:
    system-ui,
    -apple-system,
    sans-serif;
}
.suggestions {
  position: absolute;
  bottom: 100%;
  left: 0;
  right: 0;
  background-color: var( --background-primary );
  border: 1px solid var(--border-color-dark);
  border-radius: 8px;
  max-height: 150px;
  overflow-y: auto;
  z-index: 100;
  margin-bottom: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.suggestion-item {
  padding: 8px 12px;
  cursor: pointer;
  font-size: 12px;
  color: var(--text-normal);
  transition: background-color 0.2s;
}
.suggestion-item:hover {
}
.suggestion-item.selected {
  background-color: var(--background-modifier-selected);
  color: var(--text-highlighted);
}
.chat-input-form {
  display: none;
}
#message-input {
  display: none;
}
.reference-box {
  display: inline-flex;
  align-items: center;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 11px;
  margin: 0 2px;
  cursor: pointer;
  user-select: none;
  vertical-align: middle;
  transition: all 0.2s ease;
}
.reference-box:hover {
  opacity: 0.8;
  transform: translateY(-1px);
}
.reference-box-icon {
  width: 12px;
  height: 12px;
  margin-right: 4px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.reference-box-name {
  font-weight: 500;
  white-space: nowrap;
}
.reference-box.file.single {
  background: rgba(100, 150, 255, 0.1);
  border: 1px solid rgba(100, 150, 255, 0.3);
  color: var(--text-normal);
}
.reference-box.file.permanent {
  background: rgba(100, 150, 255, 0.2);
  border: 1px solid rgba(100, 150, 255, 0.6);
  color: var(--text-normal);
  font-weight: 600;
}
.reference-box.file.permanent .reference-box-name {
  font-weight: 600;
}
.reference-box.prompt {
  display: inline-flex;
  flex-direction: row;
  box-shadow: var(--shadow-l);
  z-index: auto;
  position: static;
  top: auto;
  width: auto;
  max-width: none;
  max-height: none;
  overflow: hidden;
}
.reference-box.prompt.single {
  background: rgba(255, 150, 100, 0.1);
  border: 1px solid rgba(255, 150, 100, 0.3);
  color: var(--text-normal);
}
.reference-box.prompt.permanent {
  background: rgba(238, 122, 69, 0.2);
  border: 1px solid rgba(255, 150, 100, 0.6);
  color: var(--text-normal);
  font-weight: 600;
}
.reference-box.prompt.permanent .reference-box-name {
  font-weight: 600;
}
.reference-autocomplete {
  --item-height: 33px;
  --visible-items: 10;
  position: absolute;
  background: var(--background-primary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  max-height: calc(var(--item-height) * var(--visible-items));
  overflow-y: auto;
  min-width: 250px;
  max-width: 400px;
}
.reference-option {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 12px;
  color: var(--text-normal);
  transition: background-color 0.2s;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.reference-option:hover,
.reference-option.selected {
  background-color: var(--background-modifier-hover);
}
.reference-option:last-child {
  border-bottom: none;
}
.reference-option-icon {
  width: 16px;
  height: 16px;
  margin-right: 8px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}
.reference-option-name {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 500;
}
.reference-option-path {
  font-size: 10px;
  color: var(--text-muted);
  margin-left: 8px;
  max-width: 150px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.theme-dark .reference-autocomplete {
  background: var(--background-primary);
  border-color: var(--border-color);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.theme-dark .reference-option:hover,
.theme-dark .reference-option.selected {
  background-color: rgba(255, 255, 255, 0.1);
}
.theme-light .reference-autocomplete {
  background: #ffffff;
  border-color: #e0e0e0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.theme-light .reference-option:hover,
.theme-light .reference-option.selected {
  background-color: rgba(0, 0, 0, 0.05);
}
.reference-autocomplete::-webkit-scrollbar {
  width: 6px;
}
.reference-autocomplete::-webkit-scrollbar-track {
  background: transparent;
}
.reference-autocomplete::-webkit-scrollbar-thumb {
  background: var(--scrollbar-thumb-bg);
  border-radius: 3px;
}
.reference-autocomplete::-webkit-scrollbar-thumb:hover {
  background: var(--scrollbar-thumb-bg-hover);
}
.setting-item.llm-agent-excluded-folder-item {
  padding-left: 30px;
  border-left: 2px solid var(--background-modifier-border);
  margin-bottom: 5px;
  margin-top: 5px;
}
.setting-item.llm-agent-excluded-folder-item .setting-item-control {
  display: flex;
  align-items: center;
  gap: 5px;
}
.setting-item.llm-agent-excluded-folder-item .setting-item-control input {
  flex-grow: 1;
}
.status-bar-item {
  display: none;
  padding: 0;
  &.plugin-editor-width-slider {
    display: inline-flex;
    & .editor-width-slider {
      width: 80px !important;
    }
    & .editor-width-slider-value {
      padding: 4px 3px !important;
      font-size: 10px !important;
      margin: 0 !important;
    }
  }
}
.llm-agent-graph-main {
  display: flex;
  height: 100%;
  width: 100%;
}
.llm-agent-history-sidebar {
  border-right: 1px solid var(--background-modifier-border);
  overflow-y: auto;
  background-color: var(--background-secondary);
  transition:
    width 0.3s ease,
    min-width 0.3s ease,
    border-right 0.3s ease;
  min-width: 0;
}
.llm-agent-history-sidebar.expanded {
  width: 200px;
  min-width: 200px;
}
.llm-agent-history-sidebar.collapsed {
  width: 0;
  min-width: 0;
  border-right: none;
  overflow: hidden;
}
.graph-title-generated {
  color: var(--text-normal);
}
.graph-title-pending {
  color: var(--text-muted);
}
.react-flow__node-default,
.react-flow__node-user,
.react-flow__node-llm,
.react-flow__node-tool,
.react-flow__node-error,
.react-flow__node-assistant {
  padding: var(--node-padding);
  border-radius: var(--node-border-radius);
  text-align: var(--node-text-align);
  font-size: var(--node-font-size);
  font-weight: var(--node-font-weight);
  color: var(--node-text-color);
}
.react-flow__node-user {
  border: 1px solid var(--llm-user-border-color);
  background-color: var( --llm-user-background-color );
}
.react-flow__node-llm {
  border: 1px solid var(--llm-llm-border-color);
  background-color: var( --llm-llm-background-color );
}
.react-flow__node-tool {
  border: 1px solid var(--llm-tool-border-color);
  background-color: var( --llm-tool-background-color );
}
.react-flow__node-error {
  border: 1px solid var(--llm-error-border-color);
  background-color: var( --llm-error-background-color );
}
.react-flow__node-assistant {
  border: 1px solid var(--llm-assistant-border-color);
  background-color: var(--llm-assistant-background-color);
}
.react-flow__node {
  font-size: 12px !important;
  padding: 4px 8px !important;
  min-width: 100px !important;
  max-width: 130px !important;
  min-height: 30px !important;
  border-radius: 6px !important;
}
.react-flow__node-default {
  width: auto !important;
  height: auto !important;
}
.react-flow__node.selected-node {
  border-color: var(--interactive-accent-hover);
  box-shadow: 0 0 0 2px var(--interactive-accent-hover);
}
.react-flow__node button.node-delete-button {
  background: var(--background-primary);
  border: 1px solid var(--background-modifier-border);
  border-radius: 4px;
  color: var(--text-error);
  cursor: pointer;
  font-size: 0.8em;
  padding: 3px 6px;
  margin-top: 5px;
  transition: all 0.2s ease-in-out;
}
.react-flow__node button.node-delete-button:hover {
  background-color: var(--background-modifier-error-hover);
  color: var(--text-on-accent);
}
.react-flow__edge-path {
  stroke: var(--background-modifier-border);
  stroke-width: 1.5;
}
.graph-view-toolbar {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.global-action-button {
  background-color: var(--background-secondary-alt);
  border: 1px solid var(--background-modifier-border);
  height: auto;
  border-radius: 8px;
  padding: 10px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2em;
  color: var(--text-normal);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: background-color 0.2s ease, color 0.2s ease;
}
.global-action-button:hover {
  background-color: var(--background-modifier-hover);
  color: var(--interactive-accent);
}
[data-tooltip]:hover:after {
  content: attr(data-tooltip);
  position: absolute;
  left: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  background-color: var(--background-modifier-hover);
  color: var(--text-normal);
  padding: 5px 8px;
  border-radius: 4px;
  font-size: 0.8em;
  z-index: 100;
}
/*# sourceMappingURL=data:application/json;base64,[encoded data, 82792 characters] */
