*{box-sizing:border-box}body{margin:0;font-family:IBM Plex Sans,Noto Sans SC,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background:var(--chatbi-page-bg,#FFFFFF);font-size:var(--chatbi-font-size,14px)}body.theme-dark{background:#0f172a;color:#e2e8f0}.app-shell,body,html{min-height:100vh}.app-shell{display:flex;flex-direction:column;background:var(--chatbi-page-bg,#ffffff)}.app-shell-body{flex:1 0 auto;min-width:0}.app-layout{min-height:calc(100vh - 148px);background:var(--chatbi-page-bg,#ffffff);overflow-x:hidden;display:flex;flex-direction:column}.app-layout>.app-body.ant-layout{flex:1 1;min-height:0}.app-topbar{display:flex;align-items:center;gap:8px;width:100%;min-height:72px;padding:10px 16px 10px 0;background:#fff;border-bottom:1px solid #eef0f3;z-index:30;box-sizing:border-box}.theme-dark .app-topbar{background:#111827;border-bottom-color:#334155}.app-topbar-brand{width:260px;flex-shrink:0;display:flex;align-items:center;gap:4px;padding:0 12px 0 16px;box-sizing:border-box}.app-topbar-nav{flex:1 1;min-width:0;display:flex;align-items:center}.app-topbar-right{display:flex;align-items:center;gap:14px;flex-shrink:0;margin-left:auto;padding-right:4px}.site-footer{flex-shrink:0;background:#fff;border-top:1px solid #eef0f3;padding:28px 16px 32px;color:#8c8c8c;font-size:12px;font-weight:400;line-height:1.8;text-align:center}.theme-dark .site-footer{background:#0f172a;border-top-color:#1e293b;color:#94a3b8}.site-footer-inner{max-width:1100px;margin:0 auto}.site-footer-line,.site-footer-nav{margin:0 0 8px}.site-footer-line a,.site-footer-nav a{color:inherit;text-decoration:none;font-weight:400}.site-footer-line a:hover,.site-footer-nav a:hover{color:#595959;text-decoration:underline}.theme-dark .site-footer-line a:hover,.theme-dark .site-footer-nav a:hover{color:#e2e8f0}.site-footer-sep{margin:0 8px;color:#bfbfbf}.theme-dark .site-footer-sep{color:#475569}.site-footer-gap{margin-right:10px}.site-footer-tip{word-break:break-all}.site-footer-meta{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;row-gap:4px}.site-footer-badge{display:inline-flex;align-items:center;gap:4px}.site-footer-gs{display:inline-block;width:14px;height:14px;border-radius:2px;background:linear-gradient(135deg,#ef4444 0 50%,transparent 50%),linear-gradient(225deg,#3b82f6 0 50%,transparent 50%);background-color:#fff;border:1px solid #d9d9d9;vertical-align:middle}.app-layout>.ant-layout{min-width:0;overflow-x:hidden}.theme-dark .app-layout{background:var(--chatbi-page-bg,#0f172a)}.app-sider{padding:12px 8px 20px;border-right:1px solid #eef0f3;background:var(--chatbi-sider-bg,#ffffff)!important;overflow:auto}.theme-dark .app-sider{border-right-color:#1f2937;background:var(--chatbi-sider-bg,#111827)!important}.brand{display:inline-flex;align-items:center;gap:8px;font-size:16px;font-weight:600;color:#166534;margin:0;line-height:1.25;white-space:nowrap;text-decoration:none}.brand--topbar{min-width:0;align-items:flex-start}.brand-text{display:flex;flex-direction:column;min-width:0;gap:1px}.brand-name,.brand-tagline{overflow:hidden;text-overflow:ellipsis}.brand-tagline{font-size:11px;font-weight:500;line-height:1.3;color:#64748b}.brand-icon{font-size:20px;flex-shrink:0;margin-top:2px}.theme-dark .brand-tagline{color:#94a3b8}.app-side-menu.ant-menu{background:transparent!important;-webkit-border-end:none!important;border-inline-end:none!important;font-size:var(--chatbi-sider-font-size,14px)!important}.app-side-menu.ant-menu-inline .ant-menu-item,.app-side-menu.ant-menu-inline .ant-menu-submenu-title{border-radius:8px;margin-inline:4px;margin-block:6px;width:calc(100% - 8px);font-size:var(--chatbi-sider-font-size,14px)!important;line-height:calc(var(--chatbi-sider-font-size, 14px) + 12px)!important;height:auto!important;min-height:calc(var(--chatbi-sider-icon-size, 20px) + 22px);padding-block:10px!important}.app-side-menu.ant-menu-inline .ant-menu-sub .ant-menu-item{margin-block:4px;min-height:calc(var(--chatbi-sider-icon-size, 20px) + 18px);padding-block:8px!important}.app-side-menu .ant-menu-item .anticon,.app-side-menu .ant-menu-submenu-title .anticon{font-size:var(--chatbi-sider-icon-size,20px)!important;width:var(--chatbi-sider-icon-size,20px)!important;height:var(--chatbi-sider-icon-size,20px)!important;line-height:var(--chatbi-sider-icon-size,20px)!important}.app-side-menu .ant-menu-item .anticon>svg,.app-side-menu .ant-menu-submenu-title .anticon>svg{width:var(--chatbi-sider-icon-size,20px);height:var(--chatbi-sider-icon-size,20px)}.app-side-menu.ant-menu-inline .ant-menu-item-selected{background:color-mix(in srgb,var(--chatbi-button-bg,#D29350) 16%,transparent)!important;color:var(--chatbi-button-bg,#D29350)!important;font-weight:600}.app-side-menu .ant-menu-submenu-selected>.ant-menu-submenu-title{color:var(--chatbi-button-bg,#D29350)!important}.main-side-list{max-height:calc(100vh - 220px);overflow:auto}.theme-dark .brand{color:#86efac}.app-header{background:transparent!important;padding:12px 28px 0!important;height:auto!important;line-height:1.4!important;display:flex!important;align-items:center;justify-content:space-between;gap:16px}.app-header-actions{justify-content:flex-end}.main-workspace{background:transparent;height:100%;min-height:calc(100vh - 200px);min-width:0;max-width:100%;overflow-x:hidden;display:flex;flex-direction:column;padding:12px;box-sizing:border-box}.member-entry-btn{display:inline-flex;align-items:center;gap:6px;border:none;cursor:pointer;border-radius:999px;padding:7px 14px;background:#e8f8e4;color:#1f2937;transition:background .15s ease,color .15s ease}.member-entry-btn:hover{background:#dcf5d4}.member-entry-crown-icon{color:#eab308!important;font-size:15px;filter:drop-shadow(0 1px 1px rgba(161,98,7,.25))}.member-entry-label{font-size:13px;font-weight:600;line-height:1;white-space:nowrap}.member-entry-credits{min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:rgba(34,197,94,.18);color:#15803d;font-size:11px;font-weight:700;line-height:18px;text-align:center}.theme-dark .member-entry-btn{background:#14532d55;color:#e2e8f0}.theme-dark .member-entry-btn:hover{background:#14532d88}.theme-dark .member-entry-credits{background:#16653466;color:#86efac}.mobile-menu-btn.ant-btn{font-size:20px;width:40px;height:40px;flex-shrink:0;color:#334155}.quick-entries{display:flex;align-items:center;gap:4px;min-width:0;overflow-x:auto;padding:0;margin:0;scrollbar-width:thin}.quick-entry-btn{display:inline-flex;align-items:center;gap:6px;flex-shrink:0;border:none;background:transparent;color:#374151;border-radius:0;padding:12px 14px;margin:0;cursor:pointer;transition:color .15s ease}.quick-entry-btn:hover{background:transparent;color:#111827}.quick-entry-btn:hover .quick-entry-label{color:#111827}.quick-entry-icon{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:0;font-size:16px;background:transparent!important;box-shadow:none!important}.quick-entry-label{font-size:14px;font-weight:400;line-height:1.2;white-space:nowrap;color:#374151}.theme-dark .quick-entry-btn,.theme-dark .quick-entry-label{color:#cbd5e1}.theme-dark .quick-entry-btn:hover,.theme-dark .quick-entry-btn:hover .quick-entry-label{color:#f8fafc}.main-panel{background:#fff;border:1px solid #bbf7d0;border-radius:12px;box-shadow:0 10px 28px rgba(22,163,74,.06);min-height:calc(100vh - 100px);flex:1 1}.main-panel,.main-panel-body{min-width:0;overflow-x:hidden}.main-panel-body{position:relative;padding:16px 20px 24px}.route-alive-root{position:relative;width:100%;min-width:0}.page-refresh-btn{position:absolute;top:0;right:0;z-index:6;color:#64748b!important;width:28px;height:28px;padding:0!important;display:inline-flex!important;align-items:center;justify-content:center}.page-refresh-btn:hover{color:var(--chatbi-primary,#ea580c)!important;background:rgba(234,88,12,.08)!important}.route-alive--hidden{position:absolute;left:0;top:0;width:100%;height:0;margin:0;padding:0;overflow:hidden;visibility:hidden;pointer-events:none;z-index:-1}.route-alive--active{position:relative;display:block;width:100%;min-width:0;visibility:visible;pointer-events:auto;padding-top:4px;padding-right:32px;box-sizing:border-box}.theme-dark .main-panel{background:#111827;border-color:#334155}.header-ds-row{display:flex;align-items:center;justify-content:flex-start;gap:12px;flex-wrap:nowrap;width:100%;min-width:0}.header-ds-row .ant-dropdown-trigger{flex:0 1 auto;min-width:0;max-width:min(560px,calc(100% - 120px))}.ds-switcher{display:inline-flex;align-items:center;gap:6px;width:auto;max-width:100%;min-width:0;border:none;background:transparent;padding:4px 0;margin:0;cursor:pointer;color:#374151;font-size:14px;line-height:1.4}.ds-switcher:hover .ds-switcher-arrow,.ds-switcher:hover .ds-switcher-value{color:var(--chatbi-button-bg,#d29350)}.ds-switcher-label{color:#9ca3af;flex-shrink:0}.ds-switcher-label:after{content:"："}.ds-switcher-value{color:#111827;font-weight:600;flex:0 1 auto;min-width:0;max-width:min(420px,48vw);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ds-switcher-arrow{font-size:11px;color:#9ca3af;transition:transform .15s ease}.theme-dark .ds-switcher,.theme-dark .ds-switcher-value{color:#e2e8f0}.theme-dark .ds-switcher-arrow,.theme-dark .ds-switcher-label{color:#94a3b8}.ontology-link{color:#16a34a!important;padding-inline:0!important;height:auto!important;font-weight:600;flex-shrink:0;white-space:nowrap}.main-panel-body .ant-card-head-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ontology-modal-title{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-right:28px}.ontology-legend{flex-wrap:wrap;margin-bottom:12px}.ontology-canvas{position:relative;width:100%;min-height:520px;max-height:62vh;overflow:auto;border:1px solid #dcfce7;border-radius:12px;background:linear-gradient(#f0fdf4 1px,transparent 0) 0 0 /24px 24px,linear-gradient(90deg,#f0fdf4 1px,transparent 0) 0 0 /24px 24px,#ffffff}.theme-dark .ontology-canvas{border-color:#334155;background:linear-gradient(#1e293b 1px,transparent 0) 0 0 /24px 24px,linear-gradient(90deg,#1e293b 1px,transparent 0) 0 0 /24px 24px,#0f172a}.ontology-svg{position:absolute;inset:0;pointer-events:none}.er-table-card{position:absolute;background:#fff;border:1px solid #86efac;border-radius:10px;box-shadow:0 8px 20px rgba(22,163,74,.12);overflow:hidden;z-index:2}.er-table-card:active{z-index:5}.theme-dark .er-table-card{background:#111827;border-color:#166534}.er-table-head{background:#16a34a;color:#fff;padding:8px 10px;min-height:52px}.er-table-head-drag{cursor:-webkit-grab;cursor:grab;-webkit-user-select:none;-moz-user-select:none;user-select:none;touch-action:none}.er-table-head-drag:active{cursor:-webkit-grabbing;cursor:grabbing}.er-table-name{font-weight:700;font-size:14px}.er-table-comment{font-size:12px;opacity:.9}.er-table-cols{padding:4px 0}.er-col-row{display:grid;grid-template-columns:28px 70px 62px 1fr;grid-gap:4px;gap:4px;align-items:center;height:28px;padding:0 8px;font-size:12px;border-bottom:1px solid #f0fdf4}.theme-dark .er-col-row{border-bottom-color:#1f2937}.er-col-flags{display:inline-flex;gap:2px;width:28px}.er-col-name{font-weight:600}.er-col-name,.er-col-type{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.er-col-type{color:#64748b}.er-col-comment{color:#94a3b8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ontology-rel-list{margin-top:14px;max-height:140px;overflow:auto}.ontology-rel-list ul{margin:8px 0 0;padding-left:18px}.header-actions{justify-content:flex-end}.icon-btn{display:inline-flex;align-items:center;gap:6px;border:1px solid #bbf7d0;background:rgba(255,255,255,.85);color:#334155;border-radius:999px;padding:4px 12px;cursor:pointer;font-size:13px;line-height:1.4}.theme-dark .icon-btn{border-color:#334155;background:rgba(30,41,59,.9);color:#e2e8f0}.icon-btn:hover{border-color:#86efac;color:#16a34a}.user-chip{display:inline-flex;align-items:center;gap:8px;cursor:pointer;padding:2px 4px 2px 2px;border-radius:8px;transition:background .15s ease}.user-chip:hover{background:#f3f4f6}.theme-dark .user-chip:hover{background:rgba(148,163,184,.12)}.user-chip .ant-avatar{border-radius:8px!important}.user-chip-name{max-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:500;color:#374151;font-size:14px}.theme-dark .user-chip-name{color:#e2e8f0}.account-tag{-webkit-margin-end:0!important;margin-inline-end:0!important;border-radius:999px;padding-inline:10px}.app-content{padding:12px 28px 28px;overflow-x:hidden}.dataset-view{display:grid;grid-gap:16px;gap:16px;width:100%;min-width:0}.dataset-card{width:100%}.dataset-card,.dataset-card .ant-card-body{min-width:0;overflow:hidden}.analyze-result{padding:4px 2px}.analyze-result-body{margin:0!important;white-space:pre-wrap;line-height:1.75;color:#334155;font-size:14px}.theme-dark .analyze-result-body{color:#cbd5e1}.smart-analyze-btn{color:#16a34a!important;font-weight:600;padding-inline:4px!important}.smart-analyze-btn:hover{color:#15803d!important}.smart-analyze-panel{margin-top:14px;padding:12px 14px;border-radius:10px;background:linear-gradient(160deg,#f0fdf4,#f8fafc);border:1px solid #bbf7d0}.smart-analyze-title{display:block;margin-bottom:8px;color:#166534}.smart-analyze-body{margin:0!important;white-space:pre-wrap;line-height:1.7;color:#334155}.theme-dark .smart-analyze-panel{background:linear-gradient(160deg,#14532d33,#111827);border-color:#334155}.theme-dark .smart-analyze-title{color:#86efac}.theme-dark .smart-analyze-body{color:#cbd5e1}.cross-table-wrap{width:100%;max-width:100%;min-width:0;overflow:hidden}.cross-table-wrap .ant-table-wrapper,.cross-table.ant-table-wrapper{width:100%!important;max-width:100%}.cross-table .ant-table{width:100%}.cross-table .ant-table-container{width:100%!important}.cross-table .ant-table-body,.cross-table .ant-table-content{overflow-x:auto!important}.cross-table .ant-table-thead>tr>th{background:#f0fdf4;font-weight:600;text-align:center;white-space:nowrap}.cross-table .ant-table-cell.cross-table-row-header,.cross-table .cross-table-row-header{background:#f8fafc!important;white-space:nowrap!important;word-break:keep-all!important}.cross-table .cross-table-row-label{white-space:nowrap!important;word-break:keep-all!important;display:inline-block;max-width:100%;overflow:hidden;text-overflow:ellipsis;vertical-align:bottom}.cross-table .cross-table-col-title{display:inline-block;white-space:nowrap}.cross-table .ant-table-cell{white-space:nowrap}.cross-table .cross-table-empty{color:#94a3b8}.theme-dark .cross-table .ant-table-thead>tr>th{background:#1e293b}.theme-dark .cross-table .ant-table-cell.cross-table-row-header,.theme-dark .cross-table .cross-table-row-header{background:#0f172a!important}.chat-stage{display:flex;flex-direction:column;justify-content:flex-start;min-height:calc(100vh - 168px);width:100%;min-width:0}.chat-stage-meta{margin-bottom:12px}.chat-composer-block{width:100%;position:relative;z-index:2}.chat-result-block,.chat-tip-card{margin-top:16px}.agent-list-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));grid-gap:16px;gap:16px}.agent-list-card{display:flex;flex-direction:column;min-height:148px;padding:16px;border:1px solid #e2e8f0;border-radius:14px;background:linear-gradient(180deg,#ffffff,#f8fafc);transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease}.agent-list-card:hover{border-color:#86efac;box-shadow:0 8px 20px rgba(22,163,74,.08);transform:translateY(-1px)}.agent-list-card.is-disabled{opacity:.62}.agent-list-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;margin-bottom:12px}.agent-list-card-icon{width:44px;height:44px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;background:#ecfdf5;color:#15803d;font-size:22px;flex-shrink:0}.agent-list-card-actions{display:inline-flex;gap:2px}.agent-list-card-badge{display:inline-flex;align-items:center;padding:2px 8px;border-radius:999px;font-size:11px;font-weight:650;color:#166534;background:#ecfdf5;border:1px solid #bbf7d0}.theme-dark .agent-list-card-badge{color:#86efac;background:#14532d55;border-color:#334155}.agent-list-card-name{margin:0 0 6px;font-size:16px;font-weight:650;color:#0f172a;line-height:1.35}.agent-list-card-desc{margin:0;flex:1 1;font-size:13px;line-height:1.5;color:#64748b;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.theme-dark .agent-list-card{border-color:#334155;background:linear-gradient(180deg,#1e293b,#0f172a)}.theme-dark .agent-list-card:hover{border-color:#4ade80;box-shadow:0 8px 20px rgba(0,0,0,.28)}.theme-dark .agent-list-card-icon{background:#14532d55;color:#86efac}.theme-dark .agent-list-card-name{color:#e2e8f0}.theme-dark .agent-list-card-desc{color:#94a3b8}.query-flow-runner{margin-top:16px;padding:16px 16px 20px;border:1px solid #e2e8f0;border-radius:14px;background:linear-gradient(180deg,#ffffff,#f8fafc)}.query-flow-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:12px;flex-wrap:wrap}.query-flow-title{font-size:14px;font-weight:650;color:#0f172a}.query-flow-sub{font-size:12px;color:#64748b}.query-flow-canvas{position:relative;width:100%;height:220px}.query-flow-links{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none;z-index:0}.query-flow-link{stroke:#cbd5e1;stroke-width:2;stroke-linecap:round;transition:stroke .25s ease}.query-flow-link.is-done{stroke:#86efac}.query-flow-link.is-active{stroke:var(--chatbi-button-bg,#d29350);stroke-dasharray:6 4;animation:query-flow-dash .8s linear infinite}@keyframes query-flow-dash{to{stroke-dashoffset:-20}}.query-flow-node{position:absolute;z-index:1;transform:translate(-50%,-50%);width:min(148px,22vw);min-width:112px;padding:10px 10px 8px;border-radius:12px;border:1px solid #e2e8f0;background:#fff;box-shadow:0 4px 12px rgba(15,23,42,.04);display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center;transition:border-color .2s ease,box-shadow .2s ease,background .2s ease}.query-flow-node-icon{width:28px;height:28px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;background:#f1f5f9;color:#64748b;font-size:15px}.query-flow-node-label{font-size:12px;font-weight:600;color:#334155;line-height:1.3}.query-flow-node.is-done{border-color:#86efac;background:#f0fdf4}.query-flow-node.is-done .query-flow-node-icon{background:#dcfce7;color:#15803d}.query-flow-node.is-active{border-color:var(--chatbi-button-bg,#d29350);box-shadow:0 6px 18px rgba(210,147,80,.22)}.query-flow-node.is-active .query-flow-node-icon{background:#fff7ed;color:var(--chatbi-button-bg,#d29350)}.query-flow-node.is-error{border-color:#fca5a5;background:#fef2f2}.query-flow-node.is-error .query-flow-node-icon{background:#fee2e2;color:#dc2626}.query-flow-runner.is-running .query-flow-title{color:var(--chatbi-button-bg,#d29350)}.theme-dark .query-flow-runner{border-color:#334155;background:linear-gradient(180deg,#1e293b,#0f172a)}.theme-dark .query-flow-title{color:#e2e8f0}.theme-dark .query-flow-sub{color:#94a3b8}.theme-dark .query-flow-link{stroke:#475569}.theme-dark .query-flow-link.is-done{stroke:#4ade80}.theme-dark .query-flow-node{border-color:#334155;background:#0f172a;box-shadow:none}.theme-dark .query-flow-node-label{color:#cbd5e1}.theme-dark .query-flow-node-icon{background:#1e293b;color:#94a3b8}.theme-dark .query-flow-node.is-done{border-color:#4ade80;background:#14532d33}.theme-dark .query-flow-node.is-active{border-color:var(--chatbi-button-bg,#d29350)}.agent-skill-picker{margin-top:20px;padding:4px 2px 8px}.agent-skill-picker--empty{min-height:180px;display:flex;align-items:center;justify-content:center}.agent-skill-picker-title{font-size:13px;font-weight:600;color:#64748b;margin-bottom:12px}.agent-skill-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));grid-gap:12px;gap:12px}.agent-skill-card{border:1px solid #e2e8f0;border-radius:12px;background:linear-gradient(180deg,#ffffff,#f8fafc);padding:12px 14px;min-height:108px}.agent-skill-card-head{display:flex;align-items:flex-start;gap:10px;margin-bottom:10px}.agent-skill-card-icon{width:36px;height:36px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;background:#ecfdf5;color:#15803d;font-size:18px;flex-shrink:0}.agent-skill-card-meta{min-width:0;flex:1 1}.agent-skill-card-name{font-size:14px;font-weight:650;color:#0f172a;line-height:1.3}.agent-skill-card-desc{display:block;font-size:12px;margin-top:2px}.agent-skill-card-skills{display:flex;flex-wrap:wrap;gap:6px}.agent-skill-chip{border:1px solid #bbf7d0;background:#f0fdf4;color:#166534;border-radius:999px;padding:2px 10px;font-size:12px;font-weight:600;line-height:1.5;cursor:pointer;transition:background .15s ease,border-color .15s ease,color .15s ease}.agent-skill-chip:hover{border-color:#86efac;background:#dcfce7}.agent-skill-chip.is-active{background:var(--chatbi-button-bg,#d29350);border-color:var(--chatbi-button-bg,#d29350);color:#fff}.agent-skill-selected{margin-top:12px;font-size:12px;color:#166534;font-weight:600}.agent-skill-selected--compact{margin:0 0 12px}.theme-dark .agent-skill-picker-title{color:#94a3b8}.theme-dark .agent-skill-card{border-color:#334155;background:linear-gradient(180deg,#1e293b,#0f172a)}.theme-dark .agent-skill-card-icon{background:#14532d55;color:#86efac}.theme-dark .agent-skill-card-name{color:#e2e8f0}.theme-dark .agent-skill-chip{background:#1e293b;border-color:#334155;color:#cbd5e1}.theme-dark .agent-skill-chip:hover{border-color:#4ade80;color:#86efac}.theme-dark .agent-skill-chip.is-active{background:var(--chatbi-button-bg,#d29350);border-color:var(--chatbi-button-bg,#d29350);color:#fff}.theme-dark .agent-skill-selected{color:#86efac}.ask-card{box-shadow:0 8px 24px rgba(22,163,74,.08)}.ask-mode-row{display:flex;align-items:center;gap:8px;margin-bottom:12px;flex-wrap:wrap}.ask-upload-chip{display:inline-flex;align-items:center;gap:6px;max-width:100%;padding:4px 8px 4px 10px;border-radius:999px;background:#ecfdf5;border:1px solid #bbf7d0;color:#166534;font-size:13px}.ask-upload-clear{border:none;background:transparent;color:#64748b;cursor:pointer;display:inline-flex;padding:0;line-height:1}.ask-upload-clear:hover{color:#dc2626}.theme-dark .ask-upload-chip{background:#14532d44;border-color:#334155;color:#86efac}.ask-mode-btn{display:inline-flex;align-items:center;gap:6px;border:1px solid #bbf7d0;background:#f0fdf4;color:#166534;border-radius:999px;padding:4px 12px;font-size:13px;font-weight:600;line-height:1.4;cursor:pointer;transition:background .2s ease,border-color .2s ease,color .2s ease,box-shadow .2s ease}.ask-mode-btn:hover{border-color:#86efac;background:#dcfce7}.ask-mode-btn.active{background:var(--chatbi-button-bg,#D29350);border-color:var(--chatbi-button-bg,#D29350);color:#fff;box-shadow:0 4px 12px rgba(22,163,74,.22)}.theme-dark .ask-mode-btn{background:#1e293b;border-color:#334155;color:#cbd5e1}.theme-dark .ask-mode-btn:hover{border-color:#4ade80;color:#86efac}.theme-dark .ask-mode-btn.active{background:var(--chatbi-button-bg,#D29350);border-color:var(--chatbi-button-bg,#D29350);color:#fff}.ask-composer{align-items:stretch!important}.ask-composer .ask-input textarea,.ask-composer .ask-input.ant-input,.ask-composer .ask-input.ant-input-affix-wrapper,.ask-composer textarea.ask-input{border-right:none!important;border-top-right-radius:0!important;border-bottom-right-radius:0!important;min-height:64px!important;padding-top:20px!important;padding-bottom:20px!important;line-height:24px!important;box-sizing:border-box}.ask-composer .ant-btn{display:inline-flex!important;align-items:center;justify-content:center;min-height:64px}.ask-composer .ask-optimize-btn.ant-btn{background:var(--chatbi-button-bg,#D29350);border-color:var(--chatbi-button-bg,#D29350);color:#fff;border-radius:0;box-shadow:none}.ask-composer .ask-optimize-btn.ant-btn:focus,.ask-composer .ask-optimize-btn.ant-btn:hover{background:#15803d!important;border-color:#15803d!important;color:#fff!important}.theme-dark .ask-composer .ask-optimize-btn.ant-btn{background:var(--chatbi-button-bg,#22c55e);border-color:var(--chatbi-button-bg,#22c55e);color:#052e16}.theme-dark .ask-composer .ask-optimize-btn.ant-btn:focus,.theme-dark .ask-composer .ask-optimize-btn.ant-btn:hover{background:#4ade80!important;border-color:#4ade80!important;color:#052e16!important}.history-item{cursor:pointer;border-radius:8px;padding-inline:8px!important}.history-item.active,.history-item:hover{background:#dcfce7}.theme-dark .history-item.active,.theme-dark .history-item:hover{background:#1e293b}.auth-page,.profile-page{min-height:calc(100vh - 148px);background:var(--chatbi-page-bg,#ffffff);padding:16px 24px 40px}.auth-page{display:flex;flex-direction:column;align-items:center}.theme-dark .auth-page,.theme-dark .profile-page{background:var(--chatbi-page-bg,#0f172a)}.theme-preview-box{display:flex;border:1px solid #d9d9d9;border-radius:10px;overflow:hidden;min-height:120px}.theme-preview-sider{width:120px;padding:12px;font-size:12px;flex-shrink:0}.theme-preview-main{flex:1 1;padding:16px}.auth-topbar,.profile-topbar{display:flex;justify-content:space-between;align-items:center;width:100%;max-width:960px;margin:0 auto}.auth-brand{font-size:20px;font-weight:700;color:#166534;text-decoration:none;display:inline-flex;align-items:center;gap:8px}.theme-dark .auth-brand{color:#86efac}.auth-card{width:min(440px,100%);margin:48px 0 0;box-shadow:0 12px 40px rgba(15,23,42,.08)}.site-info-page{min-height:calc(100vh - 148px);background:var(--chatbi-page-bg,#ffffff);padding:16px 24px 40px;display:flex;flex-direction:column;align-items:center}.theme-dark .site-info-page{background:var(--chatbi-page-bg,#0f172a)}.site-info-topbar{display:flex;justify-content:space-between;align-items:center;width:100%;max-width:860px}.site-info-card{width:min(860px,100%);margin-top:24px;box-shadow:0 12px 40px rgba(15,23,42,.06)}.site-info-title{margin-top:0!important}.site-info-updated{margin-bottom:8px!important}.site-info-intro{font-size:15px;line-height:1.8}.site-info-section{margin-top:8px}.site-info-section .ant-typography{line-height:1.85}.site-info-links{margin-top:28px;padding-top:16px;border-top:1px solid #f0f0f0;color:#8c8c8c;font-size:13px}.theme-dark .site-info-links{border-top-color:#334155}.site-info-links a{color:inherit}.site-info-links a:hover{color:var(--chatbi-primary,#5250d2)}.auth-social{margin-top:8px;padding-top:4px}.auth-social-divider{display:flex;align-items:center;gap:12px;color:#94a3b8;font-size:13px;margin-bottom:16px}.auth-social-divider:after,.auth-social-divider:before{content:"";flex:1 1;height:1px;background:#e2e8f0}.theme-dark .auth-social-divider:after,.theme-dark .auth-social-divider:before{background:#334155}.auth-social-divider span{flex-shrink:0}.auth-social-btns{display:flex;justify-content:center;gap:20px}.auth-social-btn{width:44px;height:44px;border-radius:50%;border:1px solid #e2e8f0;background:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:22px;cursor:pointer;transition:background .15s ease,border-color .15s ease,transform .15s ease}.auth-social-btn:hover{transform:translateY(-1px)}.auth-social-btn--wechat{color:#07c160}.auth-social-btn--wechat:hover{border-color:#07c160;background:#f0faf4}.auth-social-btn--qq{color:#12b7f5}.auth-social-btn--qq:hover{border-color:#12b7f5;background:#f0f9ff}.theme-dark .auth-social-btn{background:#1e293b;border-color:#334155}.auth-oauth-body{display:flex;flex-direction:column;align-items:center;padding:8px 0 4px}.auth-oauth-qr{padding:12px;border-radius:12px;background:#f8fafc;border:1px solid #e2e8f0}.auth-oauth-qr--wechat{background:#f0faf4;border-color:#bbf7d0}.auth-oauth-qr--qq{background:#f0f9ff;border-color:#bae6fd}.auth-oauth-tip{margin:16px 0 0!important;text-align:center}.app-sider--drawer{padding:0;border:none!important;background:transparent!important;overflow:visible}.app-content{min-width:0}@media (max-width:767px){.app-layout--mobile{min-height:calc(100dvh - 180px)}.app-content{padding:0!important}.main-workspace{min-height:calc(100dvh - 220px);padding:8px}.app-topbar{position:-webkit-sticky;position:sticky;top:0;min-height:64px;padding:8px 8px 8px 0}.app-topbar-brand{width:auto;max-width:42%;padding-left:4px;padding-right:4px}.brand--topbar{font-size:13px}.quick-entries{gap:0;-webkit-overflow-scrolling:touch}.quick-entry-btn{padding:8px 10px}.quick-entry-label{font-size:13px}.quick-entry-icon{width:16px;height:16px;font-size:15px}.member-entry-label{font-size:12px}.main-panel{border-radius:10px;min-height:calc(100dvh - 72px);box-shadow:none}.main-panel-body{padding:12px 12px 20px}.header-ds-row{flex-direction:row;align-items:center;gap:10px;min-width:0}.ask-mode-row{flex-wrap:wrap;gap:8px}.ask-upload-chip{max-width:100%}.ask-composer.ant-space-compact{display:flex!important;flex-direction:column!important;width:100%}.ask-composer .ask-input textarea,.ask-composer .ask-input.ant-input,.ask-composer .ask-input.ant-input-affix-wrapper,.ask-composer textarea.ask-input{border-right:1px solid #d9d9d9!important;border-radius:8px!important;min-height:88px!important;margin-bottom:8px}.ask-composer .ant-btn{min-height:44px!important;width:100%;border-radius:8px!important}.ask-composer .ask-optimize-btn.ant-btn{border-radius:8px!important;margin-bottom:8px}.user-chip-name{max-width:72px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.auth-page,.profile-page,.site-info-page{padding:12px 12px 32px}.auth-topbar,.profile-topbar{gap:8px;flex-wrap:wrap}.auth-card{margin-top:24px}.theme-preview-box{flex-direction:column}.theme-preview-sider{width:100%}.membership-shell{flex-direction:column}.membership-aside{width:100%}}.membership-modal .ant-modal-content{padding:0;overflow:hidden}.membership-shell{display:flex;min-height:520px}.membership-aside{width:300px;flex-shrink:0;padding:28px 24px;background:#f5f1ea}.membership-brand{font-weight:700;color:#d97706;margin-bottom:16px}.membership-aside-tag{display:inline-block;font-size:11px;font-weight:700;letter-spacing:.08em;color:#fff;background:#ea580c;padding:2px 8px;margin-bottom:10px}.membership-aside-title{margin:0 0 8px!important}.membership-aside-desc{margin-bottom:18px!important}.membership-feature-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}.membership-feature-list li{display:flex;gap:8px;align-items:flex-start;color:#44403c;font-size:13px}.membership-feature-list .anticon{color:#ea580c;margin-top:3px}.membership-main{flex:1 1;padding:24px 28px 28px;background:#fff;min-width:0}.membership-main-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.membership-close{border:none;background:transparent;cursor:pointer;font-size:16px;color:#78716c}.membership-plan-list{display:flex;flex-direction:column;gap:10px;margin-bottom:18px}.membership-plan-card{text-align:left;border:1px solid #e7e5e4;background:#fff;padding:12px 14px;cursor:pointer;border-radius:0}.membership-plan-card.active{border-color:#2563eb;box-shadow:inset 0 0 0 1px #2563eb}.membership-plan-top{display:flex;align-items:center;gap:8px;margin-bottom:4px}.membership-badge{font-size:11px;color:#fff;background:#ea580c;padding:1px 6px}.membership-plan-credits{color:#78716c;font-size:13px}.membership-plan-price{margin-top:4px;font-size:22px;font-weight:700;color:#1c1917}.membership-plan-price small{font-size:13px;font-weight:500;color:#78716c;margin-left:2px}.membership-pay-box{display:flex;gap:20px;border:1px solid #e7e5e4;padding:16px}.membership-qr{width:168px;height:168px;flex-shrink:0;background:#fafaf9;display:flex;align-items:center;justify-content:center}.membership-qr img{display:block}.membership-qr-placeholder{color:#a8a29e;font-size:12px;text-align:center;padding:12px}.membership-pay-info{flex:1 1;min-width:0}.membership-amount{font-size:28px;font-weight:700;color:#ea580c;line-height:1.1}.membership-amount small{font-size:14px;font-weight:500;color:#a8a29e}.membership-channels{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.membership-channel{border:1px solid #d6d3d1;background:#fff;padding:6px 12px;cursor:pointer;border-radius:999px;font-size:13px}.membership-channel.active{border-color:#16a34a;color:#15803d;background:#f0fdf4}.membership-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.ontology-canvas-title{display:flex;align-items:center;gap:10px}.ontology-canvas-shell{display:flex;flex-direction:column;gap:10px;min-height:70vh}.ontology-canvas-meta,.ontology-canvas-toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.ontology-canvas-hint{display:block;margin-bottom:4px}.ontology-canvas-body{display:grid;grid-template-columns:1fr 240px;grid-gap:12px;gap:12px;min-height:520px;flex:1 1}.ontology-canvas-board{position:relative;overflow:auto;min-height:520px;border:1px solid #e2e8f0;border-radius:12px;background:linear-gradient(90deg,rgba(148,163,184,.12) 1px,transparent 0),linear-gradient(rgba(148,163,184,.12) 1px,transparent 0);background-size:24px 24px;background-color:#f8fafc}.theme-dark .ontology-canvas-board{border-color:#334155;background-color:#0f172a}.ontology-canvas-edges{position:absolute;inset:0;width:100%;height:100%;min-width:1200px;min-height:800px;pointer-events:none}.ontology-graph-node{position:absolute;z-index:2;box-sizing:border-box;border:1.5px solid;border-radius:10px;padding:8px 10px;cursor:-webkit-grab;cursor:grab;-webkit-user-select:none;-moz-user-select:none;user-select:none;touch-action:none;box-shadow:0 1px 2px rgba(15,23,42,.06);display:flex;flex-direction:column;gap:2px}.ontology-graph-node.is-active{box-shadow:0 0 0 2px rgba(217,119,6,.35)}.ontology-graph-node-type{font-size:11px;font-weight:600;line-height:1.2}.ontology-graph-node-label{font-size:13px;color:#0f172a;line-height:1.3;word-break:break-word}.ontology-graph-node-bind{display:block;margin-top:2px;font-size:11px;color:#64748b;line-height:1.2;word-break:break-all}.theme-dark .ontology-graph-node-label{color:#e2e8f0}.theme-dark .ontology-graph-node-bind{color:#94a3b8}.ontology-canvas-empty{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:#94a3b8;font-size:14px;pointer-events:none;padding:24px;text-align:center}.ontology-canvas-side{border:1px solid #e2e8f0;border-radius:12px;padding:14px;background:#fff}.theme-dark .ontology-canvas-side{border-color:#334155;background:#111827}.ontology-side-field{display:flex;flex-direction:column;gap:6px;margin-bottom:12px}.ontology-side-field label{font-size:12px;color:#64748b}.ontology-legend{margin-top:20px;display:flex;flex-direction:column;gap:8px}.ontology-legend-item{display:flex;align-items:center;gap:8px;font-size:12px;color:#64748b}.ontology-legend-item i{width:10px;height:10px;border-radius:50%;display:inline-block}@media (max-width:900px){.ontology-canvas-body{grid-template-columns:1fr}}.dashboard-page{padding:4px 0 24px;width:100%;max-width:100%;min-width:0;box-sizing:border-box;overflow-x:hidden}.dashboard-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:4px;width:100%;box-sizing:border-box}.dashboard-hint{margin-bottom:16px!important}.dashboard-grid-wrap{width:100%;max-width:100%;min-width:0;min-height:320px;box-sizing:border-box;overflow-x:hidden;position:relative}.dashboard-grid.react-grid-layout{width:100%!important;max-width:100%;margin:0}.dashboard-grid .react-grid-item,.dashboard-grid.react-grid-layout{box-sizing:border-box;transition:none!important}.dashboard-tile.react-grid-item>.dashboard-tile-card{width:100%;max-width:100%}.dashboard-tile{height:100%}.dashboard-tile-card{height:100%;display:flex;flex-direction:column;box-sizing:border-box}.dashboard-tile-card .ant-card-body{flex:1 1;min-height:0;overflow:auto}.dashboard-tile-drag{cursor:move;-webkit-user-select:none;-moz-user-select:none;user-select:none;display:inline-block;max-width:min(360px,50vw);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:bottom}.dashboard-tile-loading{display:flex;align-items:center;justify-content:center;min-height:120px}.dashboard-tile-body .ant-table-wrapper{margin-bottom:0}