html,body{width:100%;height:100%}input::-ms-clear,input::-ms-reveal{display:none}*,*:before,*:after{box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-ms-overflow-style:scrollbar;-webkit-tap-highlight-color:rgba(0,0,0,0)}body{margin:0}[tabindex="-1"]:focus{outline:none}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5em;font-weight:500}p{margin-top:0;margin-bottom:1em}abbr[title],abbr[data-original-title]{-webkit-text-decoration:underline dotted;text-decoration:underline dotted;border-bottom:0;cursor:help}address{margin-bottom:1em;font-style:normal;line-height:inherit}input[type=text],input[type=password],input[type=number],textarea{-webkit-appearance:none}ol,ul,dl{margin-top:0;margin-bottom:1em}ol ol,ul ul,ol ul,ul ol{margin-bottom:0}dt{font-weight:500}dd{margin-bottom:.5em;margin-left:0}blockquote{margin:0 0 1em}dfn{font-style:italic}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}pre,code,kbd,samp{font-size:1em;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace}pre{margin-top:0;margin-bottom:1em;overflow:auto}figure{margin:0 0 1em}img{vertical-align:middle;border-style:none}a,area,button,[role=button],input:not([type=range]),label,select,summary,textarea{touch-action:manipulation}table{border-collapse:collapse}caption{padding-top:.75em;padding-bottom:.3em;text-align:left;caption-side:bottom}input,button,select,optgroup,textarea{margin:0;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}button,input{overflow:visible}button,select{text-transform:none}button,html [type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{padding:0;border-style:none}input[type=radio],input[type=checkbox]{box-sizing:border-box;padding:0}input[type=date],input[type=time],input[type=datetime-local],input[type=month]{-webkit-appearance:listbox}textarea{overflow:auto;resize:vertical}fieldset{min-width:0;margin:0;padding:0;border:0}legend{display:block;width:100%;max-width:100%;margin-bottom:.5em;padding:0;color:inherit;font-size:1.5em;line-height:inherit;white-space:normal}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:none}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}summary{display:list-item}template{display:none}[hidden]{display:none!important}:root{--ground: #f5f7fa;--surface: #ffffff;--surface-strong: #ffffff;--raised: #f2f6ff;--active: #edf3ff;--border: #e6eaf0;--rule: #edf0f4;--control: #c0c9d6;--text: #172033;--muted: #667085;--accent: #2457c5;--accent-soft: #e8f0ff;--positive: #16856b;--negative: #c44747;--warning: #c27a18;--shadow-soft: 0 8px 28px rgba(20, 35, 60, .06);--shadow-card: 0 4px 16px rgba(20, 35, 60, .05);--radius-card: 14px;--radius-control: 10px;--radius-sheet: 18px;--sidebar-width: 272px;--font: "IBM Plex Sans", "Inter", "PingFang SC", "Microsoft YaHei", sans-serif;--mono: "IBM Plex Mono", ui-monospace, monospace}*{box-sizing:border-box}html,body,#root{height:100%}body{margin:0;background:var(--ground);color:var(--text);font-family:var(--font);font-size:14px}button,input,select,textarea{font:inherit}button{cursor:pointer;transition:transform .15s ease,background .15s ease,border-color .15s ease,box-shadow .15s ease,opacity .15s ease}button:hover:not(:disabled){transform:none}button:disabled{cursor:not-allowed}input,select,textarea{transition:border-color .15s ease,box-shadow .15s ease,background .15s ease}input:not(.ant-input):focus,select:focus,textarea:not(.ant-input):focus{outline:none;border-color:#1d4ed880;box-shadow:0 0 0 4px #1d4ed814}.shell{display:flex;gap:14px;height:100vh;height:100dvh;min-height:0;padding:14px;background:transparent;overflow:hidden}.sidebar{width:var(--sidebar-width);min-width:var(--sidebar-width);padding:18px 14px;display:flex;flex-direction:column;gap:20px;overflow-y:auto;background:#fff;border:1px solid var(--border);border-radius:var(--radius-sheet);box-shadow:var(--shadow-soft)}.brand{display:flex;align-items:center;gap:12px;padding:4px 6px 8px}.brand-mark{width:42px;height:42px;display:flex;align-items:center;justify-content:center;border-radius:14px;background:linear-gradient(135deg,#2563eb24,#60a5fa42);border:1px solid rgba(37,99,235,.18);box-shadow:0 12px 22px #2563eb1f}.brand-mark svg{width:28px;height:28px;display:block}.brand-wordmark{display:flex;flex-direction:column;line-height:1}.brand-name{font-size:17px;font-weight:800;letter-spacing:-.03em;color:var(--text)}.brand-tag{margin-top:4px;font-size:10px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--accent)}.primary{border:1px solid transparent;border-radius:var(--radius-control);background:linear-gradient(135deg,#111827,#1f2937);color:#fff;padding:10px 12px;font-weight:600;box-shadow:0 10px 20px #11182726}.primary:hover:not(:disabled){box-shadow:0 12px 22px #11182733}.side-section{display:flex;flex-direction:column;gap:8px}.side-label{display:flex;align-items:center;gap:7px;font-size:11px;line-height:1.3;color:var(--muted);padding:0 4px;letter-spacing:.08em;text-transform:uppercase}.side-section .ant-select{width:100%}.side-actions{display:grid;gap:7px}.side-actions .ant-btn{justify-content:flex-start}.conv-list{display:grid;gap:6px}.conversation-row{display:flex;align-items:center;gap:4px;min-width:0}.conv-item{flex:1;min-width:0;height:38px;justify-content:flex-start;text-align:left;color:var(--muted)}.conv-name{display:block;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.conversation-menu{color:var(--muted);flex:none}.conv-item:hover,.conversation-menu:hover,.conversation-row:focus-within .conversation-menu{background:var(--active);color:var(--accent)}.conv-item.active{background:var(--active);color:var(--accent);font-weight:600}.sidebar-empty{color:var(--muted);padding:10px 0}.sidebar-empty .ant-empty-description{color:var(--muted);font-size:12px}.main{flex:1;min-width:0;min-height:0;display:flex;flex-direction:column}.topbar{height:60px;flex:none;display:flex;align-items:center;gap:12px;padding:0 20px;margin:0 2px 10px;border:1px solid var(--border);border-radius:var(--radius-sheet);background:#fff;box-shadow:var(--shadow-soft)}.topbar-title{flex:1;font-weight:700;letter-spacing:-.02em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.topbar-right{display:flex;align-items:center;gap:8px}.icon-btn{border:1px solid transparent;background:transparent;border-radius:var(--radius-control);padding:7px 9px;color:var(--muted);font-size:12px}.icon-btn:hover{background:var(--active);color:var(--text)}.hamburger{display:none}.sheet{flex:1;min-height:0;margin:0 4px 0 0;border:1px solid var(--border);border-radius:var(--radius-sheet);background:#fff;box-shadow:var(--shadow-soft);display:flex;flex-direction:column;overflow:hidden}.content{flex:1;min-height:0;overflow-y:auto;padding:28px 30px 22px}.welcome{height:100%;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:stretch}.welcome-intro{display:flex;flex-direction:column;justify-content:center;max-width:560px}.welcome h1{font-size:30px;line-height:1.15;font-weight:750;letter-spacing:-.04em;margin:0 0 12px}.welcome p{color:var(--muted);margin:0 0 20px;line-height:1.7;font-size:15px}.welcome-steps{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 18px;color:var(--muted);font-size:13px}.welcome-steps span{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;background:#1d4ed80f;border:1px solid rgba(29,78,216,.08)}.welcome-steps span+span:before{content:"→";color:var(--control);margin-right:10px}.suggestions{display:flex;flex-wrap:wrap;gap:8px}.suggestions button{border:1px solid rgba(148,163,184,.25);background:#fffc;border-radius:999px;padding:9px 12px;color:var(--text);font-weight:500}.suggestions button:hover{border-color:#1d4ed840;background:var(--raised)}.welcome-meta{margin-top:auto;padding-top:26px;color:var(--muted);font-size:12px;font-variant-numeric:tabular-nums}.welcome-example{border:1px solid var(--border);border-radius:var(--radius-card);background:linear-gradient(180deg,#fffffff2,#f4f7fceb);box-shadow:var(--shadow-card);padding:20px;display:flex;flex-direction:column;justify-content:center}.example-q{font-weight:700;margin-bottom:12px;letter-spacing:-.02em}.example-sql{background:#0f172a;color:#dfe7ff;font-family:var(--mono);font-size:12px;line-height:1.6;padding:12px;border-radius:12px;margin:0 0 16px;box-shadow:inset 0 0 0 1px #94a3b81f}.bar-list{display:grid;gap:14px}.bar-row{display:grid;grid-template-columns:48px 1fr 88px;align-items:center;gap:12px}.bar-row span{color:var(--muted);font-size:13px}.bar-row i{display:block;height:16px;background:linear-gradient(90deg,#60a5fa,#2563eb);border-radius:999px;box-shadow:0 8px 16px #2563eb33}.bar-row b{text-align:right;font-weight:600;font-size:13px;font-variant-numeric:tabular-nums}.example-insight{color:var(--muted);font-size:13px;line-height:1.6;margin:16px 0!important;font-variant-numeric:tabular-nums}.chat{max-width:760px;margin:0 auto 20px;display:flex;flex-direction:column;gap:10px}.bubble{max-width:82%;padding:12px 14px;border-radius:18px;line-height:1.6;white-space:pre-wrap;font-size:14px;box-shadow:0 10px 22px #0f172a0a}.bubble.user{margin-left:auto;background:linear-gradient(135deg,#111827,#1f2937);color:#fff;border-bottom-right-radius:6px}.bubble.assistant{background:#f8fafce6;border:1px solid rgba(148,163,184,.12);color:var(--text);border-bottom-left-radius:6px}.stage{display:flex;width:fit-content;max-width:100%;align-items:center;margin-bottom:14px}.conversation-empty{margin:56px auto}.charts-block,.insights,.narrative{margin-top:28px}.block-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px;gap:12px}.block-head .ant-typography,.insights>.ant-typography,.narrative .ant-typography{margin:0;font-size:17px}.block-actions{display:flex;gap:8px;flex-wrap:wrap}.charts-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,480px),1fr));gap:18px}.chart-card{height:380px;overflow:hidden;border:1px solid var(--border);border-radius:var(--radius-card);box-shadow:var(--shadow-card);background:#fff;resize:both}.chart-card .ant-card-body{display:flex;width:100%;height:100%;flex-direction:column;padding:16px}.chart-card-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px}.chart-card-title{display:flex;align-items:center;gap:8px;min-width:0}.chart-card-title strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:700}.chart-kind-dot{width:8px;height:8px;border-radius:3px;background:linear-gradient(135deg,#60a5fa,#2563eb);flex:none;box-shadow:0 0 0 4px #60a5fa1f}.chart-card-actions{display:flex;align-items:center;gap:7px;flex:none}.sql-box{background:#0f172a;color:#e2e8f0;padding:10px 12px;border-radius:12px;overflow-x:auto;font-size:12px;font-family:var(--mono);margin:0 0 12px}.narrative{background:linear-gradient(135deg,#dbeafe52,#f8fafcd9);border:1px solid rgba(96,165,250,.16);border-radius:var(--radius-card);padding:16px 18px}.narrative-head{margin-bottom:6px}.narrative-summary{line-height:1.75;margin:8px 0 0;color:var(--text)}.narrative-points{margin:10px 0 0;padding-left:20px;color:var(--muted)}.narrative-points li{margin-bottom:5px;line-height:1.7}.insight-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:14px}.insight-card{border:1px solid var(--border);border-radius:var(--radius-card);box-shadow:0 8px 18px #0f172a0a}.insight-card .ant-card-body{padding:16px}.insight-head{display:flex;align-items:center;gap:8px}.insight-card p{margin:10px 0 0;color:var(--muted);line-height:1.7;font-variant-numeric:tabular-nums}.workspace-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:22px}.summary-card{border:1px solid var(--border);border-radius:12px;box-shadow:none}.summary-card .ant-card-body{display:flex;flex-direction:column;gap:8px;min-height:82px;justify-content:center;padding:14px 16px}.summary-card.accent{background:#f5f8ff;border-color:#dce7ff}.summary-label{color:var(--muted);font-size:11px;letter-spacing:.08em;text-transform:uppercase}.summary-card strong{font-size:14px;line-height:1.5;letter-spacing:-.02em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.page-alert{margin-bottom:18px}.composer{flex:none;display:flex;gap:12px;align-items:center;padding:14px 24px 18px;border-top:1px solid var(--rule);background:#fff}.composer .ant-input-textarea{flex:1;min-width:0}.composer .ant-input{min-height:42px;padding:10px 12px;line-height:1.5}.composer .send-btn{min-width:92px;height:42px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding-top:4px}.form-grid label{display:flex;flex-direction:column;gap:7px;color:var(--text);font-size:13px;font-weight:500}.form-wide{grid-column:1 / -1}.ant-modal .form-grid input,.ant-modal .form-grid .ant-select,.ant-modal .form-grid .ant-input-number,.ant-modal .form-grid .ant-input-password{width:100%}@media (max-width: 900px){.shell{padding:12px;gap:12px}.sidebar{position:fixed;inset:12px auto 12px 12px;z-index:40;background:#ffffffe6;transform:translate(-112%);transition:transform .2s ease}.sidebar.open{transform:translate(0);box-shadow:0 0 60px #0f172a38}.sidebar-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:39;border:0;background:#0f172a47}.hamburger{display:inline-flex}.sheet{margin-right:0;border-radius:20px;border-right:none}}@media (max-width: 640px){.shell{gap:8px;padding:8px}.topbar{height:54px;gap:6px;padding:0 10px;margin-bottom:8px}.topbar-title{font-size:13px}.topbar-right{gap:2px}.topbar-right .ant-tag{max-width:100px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-inline-end:0}.content{padding:16px 14px}.workspace-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.summary-card .ant-card-body{min-height:72px;padding:10px 8px}.summary-label{font-size:9px;letter-spacing:0}.summary-card strong{font-size:11px}.welcome{grid-template-columns:1fr;height:auto;gap:16px}.welcome-intro{max-width:none}.welcome h1{font-size:24px}.charts-grid,.insight-grid,.form-grid{grid-template-columns:1fr}.chart-card{height:320px}.chart-card-head{align-items:flex-start;flex-direction:column}.chart-card-actions{max-width:100%;flex-wrap:wrap}.block-head{align-items:flex-start;flex-direction:column}.composer{gap:8px;padding:10px 12px 12px}.composer .send-btn{min-width:76px}.form-wide{grid-column:auto}}
