.sql-chat-section.svelte-1pukcd4{width:420px;flex-shrink:0;height:500px;background:var(--sql-chat-background);border-radius:12px;box-shadow:0 4px 20px #0000001a;display:flex;flex-direction:column;transition:all .3s ease;border:1px solid var(--sql-chat-border);overflow:hidden}.sql-chat-section.collapsed.svelte-1pukcd4{height:60px}.sql-chat-header.svelte-1pukcd4{display:flex;justify-content:space-between;align-items:center;padding:15px 20px;border-bottom:1px solid var(--sql-chat-border);background:linear-gradient(135deg,var(--sql-chat-background) 0%,var(--sql-chat-border) 100%)}.sql-chat-title.svelte-1pukcd4{display:flex;align-items:center;gap:10px;color:var(--sql-chat-title-text)}.sql-chat-title.svelte-1pukcd4 i:where(.svelte-1pukcd4){font-size:1.2em;color:var(--sql-chat-accent)}.sql-chat-title.svelte-1pukcd4 h3:where(.svelte-1pukcd4){margin:0;font-size:calc(var(--sql-chat-font-size) * 1.1);font-weight:600}.sql-chat-controls.svelte-1pukcd4{display:flex;gap:8px;align-items:center}.sql-chat-clear.svelte-1pukcd4,.sql-chat-toggle.svelte-1pukcd4{background:none;border:1px solid var(--sql-chat-primary-text);color:var(--sql-chat-primary-text);border-radius:8px;width:35px;height:35px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s ease;font-size:14px}.sql-chat-clear.svelte-1pukcd4:hover,.sql-chat-toggle.svelte-1pukcd4:hover{background:var(--sql-chat-primary-text);color:var(--sql-chat-background);transform:translateY(-1px)}.collapsed.svelte-1pukcd4 .sql-chat-content:where(.svelte-1pukcd4){display:none}.sql-chat-content.svelte-1pukcd4{display:flex;flex-direction:column;height:100%;min-height:0}.sql-chat-history.svelte-1pukcd4{flex:1;overflow-y:auto;padding:0;display:flex;flex-direction:column;scroll-behavior:smooth}.sql-chat-welcome.svelte-1pukcd4{padding:30px 20px;text-align:center;color:var(--sql-chat-secondary-text)}.sql-suggestions.svelte-1pukcd4{text-align:left}.sql-suggestions-title.svelte-1pukcd4{font-weight:600;margin-bottom:15px;color:var(--sql-chat-primary-text);font-size:calc(var(--sql-chat-font-size) * .9)}.sql-suggestion-chip.svelte-1pukcd4{display:block;width:100%;margin-bottom:8px;padding:10px 15px;background:var(--sql-chat-border);border:none;border-radius:20px;color:var(--sql-chat-primary-text);cursor:pointer;font-size:calc(var(--sql-chat-font-size) * .85);text-align:left;transition:all .2s ease;font-family:var(--sql-chat-font-family)}.sql-suggestion-chip.svelte-1pukcd4:hover{background:var(--sql-chat-accent);color:var(--sql-chat-background);transform:translate(5px)}.current-query-info.svelte-1pukcd4{margin-top:20px;padding:12px;background:var(--sql-chat-border);border-radius:8px;border:1px solid var(--sql-chat-accent)}.current-query-label.svelte-1pukcd4{color:var(--sql-chat-accent);font-weight:600;font-size:calc(var(--sql-chat-font-size) * .85);margin:0;text-align:center}.sql-chat-message.svelte-1pukcd4{margin:15px 20px;max-width:85%;animation:svelte-1pukcd4-slideIn .3s ease}.sql-chat-message.user.svelte-1pukcd4{align-self:flex-end;margin-left:auto}.sql-chat-message.assistant.svelte-1pukcd4{align-self:flex-start;margin-right:auto}.sql-message-header.svelte-1pukcd4{display:flex;justify-content:space-between;align-items:center;margin-bottom:5px;font-size:calc(var(--sql-chat-font-size) * .75);color:var(--sql-chat-secondary-text)}.sql-message-sender.svelte-1pukcd4{font-weight:600}.sql-message-time.svelte-1pukcd4{opacity:.7}.sql-message-content.svelte-1pukcd4{padding:12px 16px;border-radius:16px;font-size:calc(var(--sql-chat-font-size) * .9);line-height:1.5;word-wrap:break-word}.sql-chat-message.user.svelte-1pukcd4 .sql-message-content:where(.svelte-1pukcd4){background:var(--sql-chat-accent);color:var(--sql-chat-background);border-bottom-right-radius:4px}.sql-chat-message.assistant.svelte-1pukcd4 .sql-message-content:where(.svelte-1pukcd4){background:var(--sql-chat-border);color:var(--sql-chat-primary-text);border-bottom-left-radius:4px}.sql-chat-message.loading.svelte-1pukcd4 .sql-message-content:where(.svelte-1pukcd4){opacity:.8;display:flex;align-items:center;gap:10px}.sql-typing-indicator.svelte-1pukcd4{display:flex;gap:3px;align-items:center}.sql-typing-indicator.svelte-1pukcd4 span:where(.svelte-1pukcd4){width:6px;height:6px;border-radius:50%;background:var(--sql-chat-accent);animation:svelte-1pukcd4-typing 1.4s infinite ease-in-out}.sql-typing-indicator.svelte-1pukcd4 span:where(.svelte-1pukcd4):nth-child(1){animation-delay:-.32s}.sql-typing-indicator.svelte-1pukcd4 span:where(.svelte-1pukcd4):nth-child(2){animation-delay:-.16s}.sql-query-container.svelte-1pukcd4{margin-top:12px;border:1px solid var(--sql-chat-secondary-text);border-radius:8px;overflow:hidden;background:var(--sql-chat-background)}.sql-query-header.svelte-1pukcd4{display:flex;justify-content:space-between;align-items:center;padding:8px 12px;background:var(--sql-chat-border);border-bottom:1px solid var(--sql-chat-secondary-text)}.sql-query-label.svelte-1pukcd4{font-weight:600;font-size:calc(var(--sql-chat-font-size) * .8);color:var(--sql-chat-secondary-text)}.sql-use-query-btn.svelte-1pukcd4{background:var(--sql-chat-accent);color:var(--sql-chat-background);border:none;padding:4px 8px;border-radius:4px;font-size:calc(var(--sql-chat-font-size) * .75);cursor:pointer;display:flex;align-items:center;gap:4px;transition:all .2s ease}.sql-use-query-btn.svelte-1pukcd4:hover{transform:translateY(-1px);box-shadow:0 2px 4px #0003}.sql-query-code.svelte-1pukcd4{padding:12px;margin:0;background:var(--sql-chat-background);color:var(--sql-chat-primary-text);font-family:Monaco,Menlo,Ubuntu Mono,monospace;font-size:calc(var(--sql-chat-font-size) * .8);line-height:1.4;overflow-x:auto;white-space:pre-wrap}@keyframes svelte-1pukcd4-typing{0%,80%,to{transform:scale(.8);opacity:.5}40%{transform:scale(1);opacity:1}}@keyframes svelte-1pukcd4-slideIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.sql-chat-input-form.svelte-1pukcd4{padding:20px;border-top:1px solid var(--sql-chat-border);background:var(--sql-chat-background)}.sql-chat-input-container.svelte-1pukcd4{display:flex;gap:10px;align-items:flex-end;margin-bottom:8px}.sql-chat-input.svelte-1pukcd4{flex:1;padding:12px 16px;border:2px solid var(--sql-chat-border);border-radius:24px;background:var(--sql-chat-background);color:var(--sql-chat-primary-text);font-family:var(--sql-chat-font-family);font-size:var(--sql-chat-font-size);resize:none;outline:none;transition:all .2s ease}.sql-chat-input.svelte-1pukcd4:focus{border-color:var(--sql-chat-accent);box-shadow:0 0 0 3px rgba(var(--sql-chat-accent),.1)}.sql-chat-input.svelte-1pukcd4:disabled{opacity:.6;cursor:not-allowed}.sql-chat-send-button.svelte-1pukcd4{width:44px;height:44px;border-radius:50%;border:none;background:var(--sql-chat-accent);color:var(--sql-chat-background);cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s ease;flex-shrink:0;font-size:16px}.sql-chat-send-button.svelte-1pukcd4:hover:not(:disabled){transform:scale(1.05);box-shadow:0 4px 12px rgba(var(--sql-chat-accent),.3)}.sql-chat-send-button.svelte-1pukcd4:active:not(:disabled){transform:scale(.95)}.sql-chat-send-button.svelte-1pukcd4:disabled{opacity:.5;cursor:not-allowed;transform:none}.sql-input-hint.svelte-1pukcd4{font-size:calc(var(--sql-chat-font-size) * .75);color:var(--sql-chat-secondary-text);text-align:center;opacity:.7}.sql-chat-history.svelte-1pukcd4::-webkit-scrollbar{width:6px}.sql-chat-history.svelte-1pukcd4::-webkit-scrollbar-track{background:transparent}.sql-chat-history.svelte-1pukcd4::-webkit-scrollbar-thumb{background:var(--sql-chat-border);border-radius:3px}.sql-chat-history.svelte-1pukcd4::-webkit-scrollbar-thumb:hover{background:var(--sql-chat-secondary-text)}@media (max-width: 768px){.sql-chat-section.svelte-1pukcd4{width:100%;height:50vh;order:1;border-radius:12px 12px 0 0}.sql-chat-section.collapsed.svelte-1pukcd4{height:60px;width:100%}.sql-chat-message.svelte-1pukcd4{margin:10px 15px;max-width:90%}.sql-chat-input-form.svelte-1pukcd4{padding:15px}.sql-suggestion-chip.svelte-1pukcd4{font-size:calc(var(--sql-chat-font-size) * .8);padding:8px 12px}}.sql-editor-overlay.svelte-15q8ulh{position:static;width:100%;min-height:100vh;background:var(--theme-background);display:block;font-family:var( --theme-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif );font-size:var(--theme-font-size, 14px);color:var(--theme-primary-text)}.sql-editor-container.svelte-15q8ulh{width:100%;min-height:100vh;padding:20px;background:var(--theme-background);display:flex;flex-direction:column;overflow:visible}@keyframes svelte-15q8ulh-fadeIn{0%{opacity:0}to{opacity:1}}@keyframes svelte-15q8ulh-slideDown{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.sql-header.svelte-15q8ulh{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:20px;padding-bottom:15px;border-bottom:2px solid var(--theme-chart-border)}.indicator-info.svelte-15q8ulh{margin-top:4px}.indicator-title.svelte-15q8ulh{margin:0 0 6px;color:var(--theme-primary);font-size:calc(var(--theme-font-size) * 1.3);font-weight:600}.table-reference-button.svelte-15q8ulh{background:transparent;color:var(--theme-primary-text);border:1px solid var(--theme-chart-border);padding:8px 16px;border-radius:6px;font-size:calc(var(--theme-font-size) * .9);cursor:pointer;display:flex;align-items:center;gap:6px;transition:all .2s ease;font-weight:500}.table-reference-button.svelte-15q8ulh:hover:not(.active){background:var(--theme-chart-grid);border-color:var(--theme-primary)}.table-reference-button.active.svelte-15q8ulh{background:var(--theme-primary);color:#fff;border-color:var(--theme-primary)}.editor-container.svelte-15q8ulh{border:2px solid var(--theme-chart-border);border-radius:4px;overflow:hidden;background:var(--theme-background);box-shadow:inset 0 1px 3px #0003;display:flex;flex-direction:column;position:relative;flex-shrink:0;min-height:250px}.editor-container.auto-height.svelte-15q8ulh,.editor-container.auto-height.with-panels.svelte-15q8ulh{min-height:300px}.editor-container.error.svelte-15q8ulh{border-color:#e74c3c;box-shadow:inset 0 1px 3px #e74c3c33}.resize-handle.svelte-15q8ulh{position:absolute;bottom:0;left:0;right:0;height:8px;cursor:ns-resize;background:transparent;border-top:1px solid var(--theme-chart-border);transition:background .2s ease}.resize-handle.svelte-15q8ulh:hover{background:var(--theme-chart-grid)}.codemirror-editor.svelte-15q8ulh{font-family:Monaco,Menlo,Ubuntu Mono,monospace;font-size:calc(var(--theme-font-size) * .9);flex:1;height:100%}.codemirror-editor .cm-editor{background:var(--theme-background)!important;color:var(--theme-primary-text)!important;height:100%!important;display:flex!important;flex-direction:column!important}.codemirror-editor .cm-content{padding:12px!important}.codemirror-editor .cm-focused{outline:none!important}.codemirror-editor .cm-scroller{flex:1!important;overflow:auto!important}.codemirror-editor .cm-gutters{background:var(--theme-chart-grid)!important;color:var(--theme-secondary-text)!important;border-right:1px solid var(--theme-chart-border)!important}.validation-error.svelte-15q8ulh{background:#e74c3c1a;border:1px solid rgba(231,76,60,.3);border-radius:4px;padding:8px 12px;margin-top:8px;color:#e74c3c;font-size:calc(var(--theme-font-size) * .85);display:flex;align-items:center;gap:6px}.validation-warning.svelte-15q8ulh{background:#f1c40f1a;border:1px solid rgba(241,196,15,.3);border-radius:4px;padding:8px 12px;margin-top:8px;color:#f1c40f;font-size:calc(var(--theme-font-size) * .85);display:flex;align-items:center;gap:6px}.query-actions.svelte-15q8ulh{margin-top:15px;display:flex;justify-content:space-between;align-items:center;gap:10px}.left-actions.svelte-15q8ulh,.right-actions.svelte-15q8ulh{display:flex;gap:10px}.action-button.svelte-15q8ulh{background:transparent;color:var(--theme-primary-text);border:1px solid var(--theme-chart-border);padding:8px 16px;border-radius:6px;font-size:calc(var(--theme-font-size) * .9);cursor:pointer;display:flex;align-items:center;gap:6px;transition:all .2s ease;font-weight:500}.action-button.svelte-15q8ulh:hover{background:var(--theme-chart-grid);border-color:var(--theme-primary)}.save-run-button.svelte-15q8ulh{background:var(--theme-primary);color:#fff;border:none;padding:10px 20px;border-radius:6px;font-size:calc(var(--theme-font-size) * .9);cursor:pointer;display:flex;align-items:center;gap:6px;transition:background-color .2s ease;font-weight:500}.save-run-button.svelte-15q8ulh:hover:not(.disabled){background:var(--theme-primary-hover, var(--theme-primary))}.save-run-button.disabled.svelte-15q8ulh{background:var(--theme-secondary-text);cursor:not-allowed;opacity:.6}.save-run-button.has-changes.svelte-15q8ulh{background:#f39c12}.save-run-button.has-changes.svelte-15q8ulh:hover{background:#e67e22}.results-button.svelte-15q8ulh{background:transparent;color:var(--theme-primary-text);border:1px solid var(--theme-chart-border);padding:10px 20px;border-radius:6px;font-size:calc(var(--theme-font-size) * .9);cursor:pointer;display:flex;align-items:center;gap:6px;transition:all .2s ease;font-weight:500}.results-button.svelte-15q8ulh:hover:not(.disabled):not(.active){background:var(--theme-chart-grid);border-color:var(--theme-primary)}.results-button.active.svelte-15q8ulh{background:var(--theme-primary);color:#fff;border-color:var(--theme-primary)}.results-button.disabled.svelte-15q8ulh{opacity:.6;cursor:not-allowed}.plot-button.svelte-15q8ulh{background:#27ae60;color:#fff;border:none;padding:10px 20px;border-radius:6px;font-size:calc(var(--theme-font-size) * .9);cursor:pointer;display:flex;align-items:center;gap:6px;transition:all .2s ease;font-weight:500}.plot-button.svelte-15q8ulh:hover{background:#229954;transform:translateY(-1px)}.plot-button.disabled.svelte-15q8ulh{background:var(--theme-secondary-text);cursor:not-allowed;opacity:.6}.results-section.svelte-15q8ulh{margin-top:20px;border-top:1px solid var(--theme-chart-border);padding-top:15px;display:flex;flex-direction:column;min-height:300px}.results-table-container.svelte-15q8ulh{flex:1;overflow-y:auto;border:1px solid var(--theme-chart-border);border-radius:4px;min-height:0}.results-table.svelte-15q8ulh{width:100%;border-collapse:collapse;font-size:calc(var(--theme-font-size) * .9)}.results-table.svelte-15q8ulh th:where(.svelte-15q8ulh){background:var(--theme-background);color:var(--theme-primary-text);padding:10px 12px;text-align:left;font-weight:600;border-bottom:1px solid var(--theme-chart-border);position:sticky;top:0;z-index:1;box-shadow:0 2px 4px #0000001a}.results-table.svelte-15q8ulh td:where(.svelte-15q8ulh){padding:8px 12px;border-bottom:1px solid var(--theme-chart-border);color:var(--theme-primary-text)}.results-table.svelte-15q8ulh tbody:where(.svelte-15q8ulh) tr:where(.svelte-15q8ulh):hover{background:var(--theme-chart-grid)}.table-reference-panel.svelte-15q8ulh{background:var(--theme-background);border:1px solid var(--theme-chart-border);border-radius:6px;margin-top:15px;overflow:hidden;display:flex;flex-direction:column;min-height:250px}.tables-list.svelte-15q8ulh{overflow-y:auto;padding:12px;min-height:250px}.table-item.svelte-15q8ulh{margin-bottom:12px;border:1px solid var(--theme-chart-border);border-radius:4px;overflow:hidden}.table-header.svelte-15q8ulh{width:100%;background:none;border:none;padding:10px 12px;color:var(--theme-primary-text);cursor:pointer;display:flex;align-items:center;gap:8px;font-family:Monaco,Menlo,Ubuntu Mono,monospace;font-size:calc(var(--theme-font-size) * .9);transition:background .2s ease;text-align:left}.table-header.svelte-15q8ulh:hover{background:var(--theme-chart-grid)}.table-name.svelte-15q8ulh{font-weight:600;color:var(--theme-primary)}.columns-list.svelte-15q8ulh{padding:8px 12px 12px;display:flex;flex-direction:column;gap:4px}.column-item.svelte-15q8ulh{padding:6px 8px;background:var(--theme-chart-grid);border-radius:3px;border:1px solid var(--theme-chart-border);margin-bottom:2px}.column-header.svelte-15q8ulh{display:flex;justify-content:space-between;align-items:center}.column-name.svelte-15q8ulh{font-family:Monaco,Menlo,Ubuntu Mono,monospace;font-size:calc(var(--theme-font-size) * .85);color:var(--theme-primary-text);font-weight:500}.column-type.svelte-15q8ulh{font-family:Monaco,Menlo,Ubuntu Mono,monospace;font-size:calc(var(--theme-font-size) * .8);color:var(--theme-secondary-text);background:var(--theme-background);padding:2px 6px;border-radius:2px;border:1px solid var(--theme-chart-border)}.distinct-values.svelte-15q8ulh{margin-top:4px;padding-top:4px;border-top:1px solid var(--theme-chart-border);font-size:calc(var(--theme-font-size) * .75)}.values-label.svelte-15q8ulh{color:var(--theme-secondary-text);font-weight:500;margin-right:4px}.values-list.svelte-15q8ulh{color:var(--theme-primary);font-family:Monaco,Menlo,Ubuntu Mono,monospace;background:var(--theme-background);padding:2px 4px;border-radius:2px;border:1px solid var(--theme-chart-border)}.more-indicator.svelte-15q8ulh{color:var(--theme-secondary-text);font-weight:700;margin-left:4px}.examples-title.svelte-15q8ulh{margin:0 0 15px;color:var(--theme-primary-text);font-size:calc(var(--theme-font-size) * 1.1);font-weight:600;border-bottom:1px solid var(--theme-chart-border);padding-bottom:8px}.example-item.svelte-15q8ulh{margin-bottom:15px;border:1px solid var(--theme-chart-border);border-radius:6px;overflow:hidden;background:var(--theme-background)}.example-header.svelte-15q8ulh{width:100%;background:none;border:none;padding:12px 15px;color:var(--theme-primary-text);cursor:pointer;display:flex;align-items:center;gap:10px;font-size:calc(var(--theme-font-size) * .95);transition:background .2s ease;text-align:left}.example-header.svelte-15q8ulh:hover{background:var(--theme-chart-grid)}.example-name.svelte-15q8ulh{font-weight:600;color:var(--theme-primary)}.example-description.svelte-15q8ulh{padding:0 15px 12px;color:var(--theme-secondary-text);font-size:calc(var(--theme-font-size) * .85);line-height:1.4;border-top:1px solid var(--theme-chart-border);background:var(--theme-chart-grid);margin:0}.sql-query-man-panel.svelte-15q8ulh{background:var(--theme-background);border:1px solid var(--theme-chart-border);border-radius:6px;margin-top:15px;overflow:hidden;display:flex;flex-direction:column;min-height:400px}.sql-query-man-panel.svelte-15q8ulh .sql-chat-section{border:none!important;border-radius:0!important;box-shadow:none!important;width:100%!important;height:100%!important;min-height:400px!important;flex:1!important}.query-modification-panel.svelte-15q8ulh{background:linear-gradient(135deg,var(--theme-chart-border) 0%,var(--theme-background) 100%);border:2px solid var(--theme-primary);border-radius:12px;margin:15px 0;padding:20px;animation:svelte-15q8ulh-slideIn .3s ease}.modification-header.svelte-15q8ulh{display:flex;align-items:center;gap:10px;margin-bottom:10px;color:var(--theme-primary-text)}.modification-header.svelte-15q8ulh i:where(.svelte-15q8ulh){color:var(--theme-primary);font-size:1.2em}.modification-title.svelte-15q8ulh{font-weight:600;font-size:calc(var(--theme-font-size) * 1.1)}.modification-description.svelte-15q8ulh{color:var(--theme-secondary-text);margin-bottom:20px;font-style:italic;line-height:1.4}.modification-actions.svelte-15q8ulh{display:flex;gap:15px;justify-content:center}.accept-modification-btn.svelte-15q8ulh,.reject-modification-btn.svelte-15q8ulh{padding:12px 24px;border:none;border-radius:8px;font-size:calc(var(--theme-font-size) * .95);font-weight:600;cursor:pointer;display:flex;align-items:center;gap:8px;transition:all .2s ease;font-family:var(--theme-font-family)}.accept-modification-btn.svelte-15q8ulh{background:#28a745;color:#fff}.accept-modification-btn.svelte-15q8ulh:hover{background:#218838;transform:translateY(-2px);box-shadow:0 4px 12px #28a74566}.reject-modification-btn.svelte-15q8ulh{background:#dc3545;color:#fff}.reject-modification-btn.svelte-15q8ulh:hover{background:#c82333;transform:translateY(-2px);box-shadow:0 4px 12px #dc354566}@keyframes svelte-15q8ulh-slideIn{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}
