@charset "UTF-8";*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;background-color:#f7f8fa;color:#333;line-height:1.6}#app{min-height:100vh}*:not(html):not(body){scrollbar-width:thin;scrollbar-color:#cfd6e4 transparent}*:not(html):not(body)::-webkit-scrollbar{width:3px;height:3px}*:not(html):not(body)::-webkit-scrollbar-thumb{background:#cfd6e4;border-radius:999px;transition:background .2s}*:not(html):not(body)::-webkit-scrollbar-thumb:hover{background:#aab7d4}*:not(html):not(body)::-webkit-scrollbar-track{background:transparent;border-radius:999px}.chat-messages{flex:1;padding:20px;overflow-y:auto}.message{margin-bottom:15px;padding:10px 15px;border-radius:8px;max-width:80%}.message.user{background:#e6f7ff;margin-left:auto;text-align:right}.message.ai{background:#f5f5f5}.chat-input{display:flex;padding:20px;border-top:1px solid #e8e8e8;gap:10px}.chat-input input{flex:1;padding:10px 15px;border:1px solid #d9d9d9;border-radius:6px;font-size:14px;min-width:200px;max-width:100%;width:auto;transition:width .2s ease}.chat-input button{padding:10px 20px;background:#1890ff;color:#fff;border:none;border-radius:6px;cursor:pointer;font-size:14px}.chat-input button:hover{background:#40a9ff}.progress-message{background-color:#f0f7ff;border-left:4px solid #1890ff}.progress-container{padding:16px}.progress-header{display:flex;align-items:center;gap:8px;margin-bottom:12px}.progress-icon{font-size:20px}.progress-title{font-size:16px;font-weight:500;color:#1890ff}.progress-bar-container{width:100%;height:8px;background-color:#e8f4fd;border-radius:4px;overflow:hidden;margin-bottom:12px}.progress-bar{height:100%;background:linear-gradient(90deg,#1890ff,#52c41a);border-radius:4px;transition:width .3s ease}.progress-stages{max-height:200px;overflow-y:auto;display:flex;flex-direction:column;gap:8px}@keyframes slideIn{0%{opacity:0;transform:translate(-10px)}to{opacity:1;transform:translate(0)}}.stage-icon{font-size:16px}.stage-message{flex:1;color:#333}.stage-detail{font-size:12px;color:#999;font-style:italic}.stage-sql-container{margin-top:8px;padding:12px;background-color:#f8f9fa;border-radius:4px;border-left:3px solid #1890ff}.stage-sql-label{font-size:12px;font-weight:500;color:#666;margin-bottom:8px}.stage-sql-code{margin:0;padding:8px;background-color:#2d2d2d;color:#f8f8f2;border-radius:4px;font-family:Consolas,Monaco,Courier New,monospace;font-size:13px;line-height:1.5;overflow-x:auto;white-space:pre-wrap;word-break:break-all}.stage-result-container{margin-top:8px;padding:12px;background-color:#f0f7ff;border-radius:4px;border-left:3px solid #52c41a}.stage-result-label{font-size:12px;font-weight:500;color:#666;margin-bottom:8px}.preview-table-wrapper{overflow-x:auto;max-height:100%;overflow-y:auto}.preview-table{width:100%;border-collapse:collapse;font-size:12px;background-color:#fff}.preview-table th{background-color:#fafafa;padding:6px 8px;text-align:left;font-weight:500;border-bottom:1px solid #e8e8e8;position:sticky;top:0;z-index:1}.preview-table td{padding:6px 8px;border-bottom:1px solid #f0f0f0}.preview-table tr:hover{background-color:#f5f5f5}.no-preview-data{padding:8px;color:#999;text-align:center;font-style:italic}.stage-ai-response-container{margin-top:8px;padding:12px;background-color:#fff7e6;border-radius:4px;border-left:3px solid #faad14}.stage-ai-response-label{font-size:12px;font-weight:500;color:#666;margin-bottom:8px}.stage-ai-response-content{font-size:13px;line-height:1.6;color:#333;white-space:pre-wrap;word-break:break-word}.analysis-result-container{min-height:420px;background:#f9fbff;border:1px solid #e5edff;border-radius:12px;padding:16px;margin:0 20px;overflow:auto}.analysis-result-card{background:#fff;border-radius:10px;padding:16px;display:flex;flex-direction:column;gap:16px;margin-bottom:10px}.analysis-result-header{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}.analysis-result-header h5{font-size:16px;color:#1d39c4}.analysis-meta{font-size:12px;color:#8c8c8c}.analysis-text{font-size:14px;color:#444;line-height:1.6}.analysis-chart-list{margin-top:12px;display:flex;flex-direction:column;gap:16px}.analysis-chart-card .chart-container{background:#f8f9fa;border:1px solid #e9ecef;border-radius:8px;padding:16px;margin-top:8px}.analysis-chart-card .chart-title{font-size:14px;font-weight:600;margin-bottom:8px}.chart-image{max-width:100%;height:auto;border-radius:6px;box-shadow:0 2px 8px #0000001a;display:block;margin:0 auto;background:#fff;padding:8px}
