*{margin:0;padding:0;box-sizing:border-box}.app{min-height:100vh;display:flex;flex-direction:column;background:#0f172a;color:#e2e8f0;font-family:Lato,system-ui,sans-serif}.chat-layout{flex:1;display:flex;flex-direction:column;max-width:56rem;margin:0 auto;width:100%;padding:1rem}.chat-header{text-align:center;padding:1.5rem 0;border-bottom:1px solid #334155}.chat-logo{color:#00c8ff;margin-bottom:.5rem}.chat-header h1{font-size:4rem;font-weight:700;color:#f1f5f9}.chat-header-tagline{font-size:1rem;color:#94a3b8;margin-top:1rem}.chat-header-credit{font-size:.8125rem;color:#6580e4;margin-top:.5rem}.chat-header-credit a{color:#fff;text-decoration:none}.chat-header-credit a:hover{color:#e2e8f0}.chat-messages{flex:1;overflow-y:auto;padding:1rem 0;display:flex;flex-direction:column;gap:1rem}.chat-welcome{text-align:center;padding:2rem;color:#64748b;font-size:.9375rem}.chat-message{padding:.75rem 1rem;border-radius:.75rem;max-width:95%}.chat-message--user{align-self:flex-end;background:#1e3a5f;color:#e2e8f0}.chat-message--assistant{align-self:flex-start;background:#1e293b;border:1px solid #334155}.chat-message-label{font-size:.75rem;font-weight:600;color:#94a3b8;margin-bottom:.35rem}.chat-message-text{font-size:.9375rem;line-height:1.5;word-break:break-word}.chat-message-markdown{font-size:.9375rem;line-height:1.6}.chat-message-markdown p{margin:0 0 .5rem}.chat-message-markdown p:last-child{margin-bottom:0}.chat-message-markdown ul,.chat-message-markdown ol{margin:.25rem 0 .5rem 1.25rem;padding:0}.chat-message-markdown li{margin:.15rem 0}.chat-message-markdown strong{font-weight:600}.chat-message-markdown code{font-size:.875em;padding:.15em .4em;border-radius:.25rem;background:#0003}.chat-message-markdown pre{margin:.5rem 0;padding:.75rem;border-radius:.5rem;background:#0003;overflow-x:auto}.chat-message-markdown pre code{padding:0;background:none}.chat-message-markdown a{color:#7dd3fc;text-decoration:underline}.chat-message-markdown a:hover{color:#38bdf8}.chat-message-markdown h1,.chat-message-markdown h2,.chat-message-markdown h3{font-size:1rem;font-weight:600;margin:.75rem 0 .35rem}.chat-message-markdown h1:first-child,.chat-message-markdown h2:first-child,.chat-message-markdown h3:first-child{margin-top:0}.chat-message-markdown table{width:100%;border-collapse:collapse;margin:.5rem 0;font-size:.875rem;border:1px solid #475569;border-radius:.5rem;overflow:hidden;background:#334155}.chat-message-markdown th,.chat-message-markdown td{padding:.5rem .75rem;text-align:left;border:1px solid #475569}.chat-message-markdown th{background:#475569;color:#e2e8f0;font-weight:600}.chat-message-markdown tbody tr:nth-child(2n){background:#334155}.chat-message-markdown tbody tr:nth-child(odd){background:#3b4458}.chat-cursor{display:inline-block;width:.4em;height:1em;background:#38bdf8;animation:blink 1s step-end infinite;vertical-align:-.1em;margin-left:2px}.chat-cursor-inline{display:inline-block;width:.2em;height:1em;background:#38bdf8;animation:blink 1s step-end infinite;vertical-align:-.1em;margin-left:1px}.chat-result-block{margin-top:1rem;padding-top:1rem;border-top:1px solid #334155}.chat-result-section{margin-bottom:1rem}.chat-result-section:last-child{margin-bottom:0}.chat-result-chart{min-height:200px;padding:.5rem 0}.chat-result-chart-title{font-size:.9375rem;font-weight:600;color:#e2e8f0;margin-bottom:.5rem}.chat-result-label{font-family:ui-monospace,Cascadia Code,Source Code Pro,Menlo,monospace;font-size:.8125rem;color:#94a3b8;margin-bottom:.35rem}.chat-result-explanation{font-size:.9375rem;line-height:1.5;color:#cbd5e1;white-space:pre-wrap;word-break:break-word}.chat-result-explanation--markdown{white-space:normal}.chat-result-explanation--markdown ul,.chat-result-explanation--markdown ol{margin:.5rem 0;padding-left:1.5rem}.chat-result-explanation--markdown li{margin:.25rem 0}.chat-result-explanation--markdown p{margin:.5rem 0}.chat-result-explanation--markdown p:first-child{margin-top:0}.chat-result-explanation--markdown p:last-child{margin-bottom:0}.chat-result-explanation--markdown strong{font-weight:600}.chat-result-explanation--markdown h1,.chat-result-explanation--markdown h2,.chat-result-explanation--markdown h3{font-size:1rem;font-weight:600;margin:.75rem 0 .35rem}.chat-result-explanation--markdown h1:first-child,.chat-result-explanation--markdown h2:first-child,.chat-result-explanation--markdown h3:first-child{margin-top:0}.chat-result-explanation--markdown table{width:100%;border-collapse:collapse;margin:.5rem 0;font-size:.875rem;border:1px solid #475569;border-radius:.5rem;overflow:hidden;background:#334155}.chat-result-explanation--markdown th,.chat-result-explanation--markdown td{padding:.5rem .75rem;text-align:left;border:1px solid #475569}.chat-result-explanation--markdown th{background:#475569;color:#e2e8f0;font-weight:600}.chat-result-explanation--markdown tbody tr:nth-child(2n){background:#334155}.chat-result-explanation--markdown tbody tr:nth-child(odd){background:#3b4458}.chat-result-sql{font-family:ui-monospace,Cascadia Code,Source Code Pro,Menlo,monospace;font-size:.8125rem;line-height:1.4;color:#fcd34d;background:#00000040;border:1px solid #334155;border-radius:.5rem;padding:.75rem 1rem;margin:0;overflow-x:auto;white-space:pre-wrap;word-break:break-word}@keyframes blink{50%{opacity:0}}.chat-result{margin-top:.75rem;padding-top:.75rem;border-top:1px solid #334155}.chat-result-summary{font-size:.875rem;color:#cbd5e1;line-height:1.5;margin-bottom:.5rem}.chat-result-warnings{font-size:.8125rem;color:#fbbf24;margin:.5rem 0;padding-left:1.25rem}.chat-result-details{margin-top:.5rem;font-size:.875rem}.chat-result-details summary{cursor:pointer;color:#94a3b8}.chat-result-sql{margin-top:.35rem;padding:.75rem;background:#0f172a;border-radius:.5rem;overflow-x:auto;font-size:.8125rem;color:#7dd3fc}.chat-result-table-wrap{margin-top:.35rem;overflow-x:auto;border-radius:.5rem;border:1px solid #334155}.chat-result-table{width:100%;border-collapse:collapse;font-size:.8125rem}.chat-result-table th,.chat-result-table td{padding:.5rem .75rem;text-align:left;border-bottom:1px solid #334155}.chat-result-table th{background:#1e293b;color:#94a3b8;font-weight:600}.chat-result-table tr:last-child td{border-bottom:none}.chat-result-more{padding:.5rem .75rem;font-size:.75rem;color:#64748b}.chat-result-meta{font-size:.8125rem;color:#94a3b8;margin-bottom:.35rem}.chat-result-table-more{padding:.5rem .75rem;font-size:.75rem;color:#64748b}.chart-view{margin-top:.5rem;padding:1rem;border-radius:.5rem;border:1px solid #334155;background:#0f172a80}.chart-view-title{font-size:.9375rem;font-weight:600;color:#e2e8f0;margin:0 0 .75rem}.chart-view--pie .recharts-legend-item-text{color:#94a3b8}.chat-form{display:flex;gap:.5rem;padding:1rem 0;border-top:1px solid #334155}.chat-input{flex:1;padding:.75rem 1rem;border-radius:.75rem;border:1px solid #334155;background:#1e293b;color:#e2e8f0;font-size:.9375rem}.chat-input::placeholder{color:#64748b}.chat-input:focus{outline:none;border-color:#38bdf8;box-shadow:0 0 0 2px #38bdf833}.chat-send{padding:.75rem 1rem;border-radius:.75rem;border:none;background:#38bdf8;color:#0f172a;cursor:pointer;display:flex;align-items:center;justify-content:center}.chat-send:hover:not(:disabled){background:#0ea5e9}.chat-send:disabled{opacity:.6;cursor:not-allowed}.chat-spin{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}body{margin:0;font-family:Lato,system-ui,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#root{min-height:100vh}
