:root{--color-bg:#fff;--color-bg-subtle:#f8f9fa;--color-surface:#fff;--color-surface-blue:#f7fbff;--color-primary:#1677ff;--color-primary-hover:#005ce6;--color-primary-soft:#eaf4ff;--color-primary-border:#b7dcff;--color-border:#e6edf5;--color-border-blue:#d7e8fb;--color-text:#111827;--color-text-muted:#64748b;--color-text-subtle:#94a3b8;--radius-sm:6px;--radius-md:8px;--shadow-flat:0 1px 2px #0f172a0a;--app-header-height:64px;--app-sider-width:236px;--app-sider-collapsed-width:72px}html,body{background:var(--color-bg);width:100%;min-width:320px;height:100%;min-height:100vh;color:var(--color-text);margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;overflow:hidden}*{box-sizing:border-box}#root{height:100vh;min-height:100vh}.app-shell{background:var(--color-bg);height:100vh;min-height:100vh}.app-main-layout{min-height:100vh;margin-left:var(--app-sider-width);transition:margin-left .2s}.app-shell-collapsed .app-main-layout{margin-left:var(--app-sider-collapsed-width)}.app-sider{z-index:20;border-right:1px solid var(--color-border-blue);height:100vh;box-shadow:none;inset:0 auto 0 0;background:#fbfdff!important;position:fixed!important}.app-logo{height:64px;color:var(--color-text);letter-spacing:0;white-space:nowrap;align-items:center;gap:10px;padding:0 18px;font-weight:700;display:flex}.app-logo-mark{border:1px solid var(--color-primary-border);border-radius:var(--radius-md);background:var(--color-primary-soft);width:30px;height:30px;color:var(--color-primary);flex:0 0 30px;place-items:center;display:grid}.app-sider .ant-menu{background:0 0;padding:6px 10px;border-inline-end:0!important}.app-sider .ant-menu-item{border-radius:var(--radius-sm);color:#475569;height:36px;margin:2px 0;line-height:36px}.app-sider .ant-menu-item .anticon{color:#64748b}.app-sider .ant-menu-item-selected{font-weight:600;background:var(--color-primary-soft)!important;color:var(--color-primary)!important}.app-sider .ant-menu-item-selected .anticon{color:var(--color-primary)}.app-sider-footer{position:absolute;bottom:16px;left:10px;right:10px}.app-collapse-button{color:#475569;border:1px solid #0000;height:34px}.app-collapse-button:hover{border-color:var(--color-primary-border);color:var(--color-primary)!important;background:var(--color-primary-soft)!important}.app-header{top:0;right:0;left:var(--app-sider-width);z-index:18;height:var(--app-header-height);border-bottom:1px solid var(--color-border);background:#fff;justify-content:space-between;align-items:center;padding:0 20px;transition:left .2s;display:flex;position:fixed}.app-shell-collapsed .app-header{left:var(--app-sider-collapsed-width)}.app-header-left{align-items:center;gap:16px;min-width:0;display:flex}.app-header-search{width:300px;height:34px;color:var(--color-text-subtle);background:var(--color-bg-subtle);border:1px solid var(--color-border);border-radius:var(--radius-sm);align-items:center;gap:8px;padding:0 11px;font-size:12px;display:flex}.app-header-title{color:var(--color-text)}.app-user-trigger{border-radius:999px;height:38px;padding:0 8px}.app-user-trigger:hover{background:var(--color-primary-soft)!important}.app-user-avatar{color:#075985;border:1px solid var(--color-primary-border);background:#dff1ff}.app-user-name{color:#344054;font-size:13px}.app-user-card{flex-direction:column;gap:10px;width:248px;padding:4px 2px;display:flex}.app-user-card .ant-typography{line-height:1.35;display:block}.app-content{height:calc(100vh - var(--app-header-height));margin-top:var(--app-header-height);background:var(--color-bg);scrollbar-width:none;padding:22px;overflow:auto}.app-content-inner{flex-direction:column;min-height:100%;display:flex}.app-content-inner>:first-child{flex:1 0 auto}.app-footer{text-align:center;flex:none;padding:20px 0 2px;font-size:12px}.app-footer a{color:var(--color-text-subtle)}.app-footer a:hover{color:var(--color-primary)}.app-content::-webkit-scrollbar{width:0;height:0}.hidden-scrollbar{scrollbar-width:none;-ms-overflow-style:none}.hidden-scrollbar::-webkit-scrollbar{width:0;height:0}.thin-scrollbar{scrollbar-color:#d1d5db transparent;scrollbar-width:thin}.thin-scrollbar::-webkit-scrollbar{width:6px;height:6px}.thin-scrollbar::-webkit-scrollbar-thumb{background:#d1d5db;border-radius:999px}.page-title{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:16px;display:flex}.page-title h1{color:var(--color-text);letter-spacing:0;margin:0;font-size:22px;font-weight:650;line-height:1.25}.page-title-extra{flex:none}.muted{color:var(--color-text-muted)}.ant-card{box-shadow:var(--shadow-flat);border-color:var(--color-border)!important;border-radius:var(--radius-md)!important}.ant-card-head{border-bottom-color:var(--color-border)!important;min-height:44px!important}.ant-card-head-title{color:var(--color-text);font-size:14px;font-weight:650}.ant-card-body{padding:16px!important}.metric-card{min-height:104px}.metric-card .ant-card-body{height:100%}.metric-card .ant-statistic-content-prefix{color:var(--color-primary)}.data-card,.chat-workbench-card,.history-list-card,.history-detail-card{box-shadow:none}.data-card .ant-list-item-meta-title,.history-list-card .ant-list-item-meta-title{margin-bottom:2px!important}.upload-card{box-shadow:none;background:#fbfdff;border-color:var(--color-border-blue)!important}.history-list-item{border-radius:var(--radius-md);border:1px solid #0000;margin:2px 0;padding:10px 12px!important}.history-list-item:hover{background:var(--color-bg-subtle)}.history-list-item.active{background:var(--color-primary-soft);border-color:var(--color-primary-border)}.history-detail-card .ant-card-small{border-color:var(--color-border);box-shadow:none}.ant-statistic-title{color:var(--color-text-muted)!important;font-size:12px!important}.ant-statistic-content{font-weight:650;color:var(--color-text)!important}.ant-table{color:#344054}.ant-table-thead>tr>th{font-size:12px;color:#475569!important;border-bottom-color:var(--color-border)!important;background:#f8fafc!important;font-weight:650!important}.ant-table-tbody>tr>td{font-size:13px;border-bottom-color:#eef2f6!important}.ant-list-item{padding:12px 0!important}.ant-tag{border-radius:999px;font-weight:500}.ant-btn{border-radius:var(--radius-sm)}.ant-btn-primary{background:var(--color-primary);box-shadow:none}.ant-btn-primary:hover{background:var(--color-primary-hover)!important}.ant-segmented{border:1px solid var(--color-border);background:#f1f5f9}.section-kicker{color:var(--color-primary);letter-spacing:.08em;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;font-size:11px;font-weight:700;display:block}.workspace-hero{border-bottom:1px solid var(--color-border);justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:18px;padding:26px 0 20px;display:flex}.workspace-hero.compact{padding-top:8px}.workspace-hero h2{color:var(--color-text);letter-spacing:0;margin:8px 0;font-size:28px;font-weight:720}.workspace-hero .ant-typography{max-width:720px;color:var(--color-text-muted);margin-bottom:0}.dashboard-workspace,.knowledge-workspace{flex-direction:column;gap:16px;display:flex}.metrics-band{border:1px solid var(--color-border);border-radius:var(--radius-md);background:#fff;grid-template-columns:repeat(4,minmax(0,1fr));display:grid;overflow:hidden}.metric-cell{border-right:1px solid var(--color-border);align-items:center;gap:12px;min-width:0;padding:18px 22px;display:flex}.metric-cell:last-child{border-right:0}.metric-cell svg{color:var(--color-primary)}.metric-cell span{flex-direction:column;gap:4px;min-width:0;display:flex}.metric-cell strong{color:var(--color-text);font-size:28px;font-weight:720;line-height:1}.compact-card{box-shadow:none!important}.compact-card+.compact-card,.knowledge-workspace>.compact-card{margin-top:0}.compact-list-item{padding:11px 0!important}.compact-list-item .ant-list-item-meta-avatar{color:var(--color-primary);margin-inline-end:10px!important}.status-row{background:var(--color-bg-subtle);border:1px solid var(--color-border);border-radius:var(--radius-sm);align-items:center;gap:9px;min-height:38px;padding:8px 10px;display:flex}.status-row svg{color:var(--color-primary)}.status-row .ant-typography{flex:1}.upload-dropzone{width:100%;min-height:112px;color:var(--color-text);text-align:left;border:1px solid var(--color-border);border-radius:var(--radius-sm);cursor:pointer;background:#fff;align-items:center;gap:14px;padding:18px;display:flex}.upload-dropzone:hover{border-color:var(--color-primary-border);background:var(--color-primary-soft)}.upload-dropzone svg{color:var(--color-primary)}.upload-dropzone span{flex-direction:column;gap:4px;display:flex}.knowledge-citation-list{flex-direction:column;gap:8px;max-height:360px;margin-top:14px;display:flex;overflow:auto}.knowledge-citation-card{background:var(--color-bg-subtle);border:1px solid var(--color-border);border-radius:var(--radius-sm);gap:10px;padding:11px 12px;display:flex}.knowledge-citation-card svg{color:var(--color-primary);flex:none}.knowledge-citation-copy{flex-direction:column;gap:3px;min-width:0;display:flex}.knowledge-citation-copy .ant-typography{margin:0}.knowledge-citation-copy .ant-typography:last-child{color:#4b5563;-webkit-line-clamp:3;-webkit-box-orient:vertical;font-size:13px;line-height:1.6;display:-webkit-box;overflow:hidden}.history-workspace{height:calc(100vh - var(--app-header-height) - 44px);border:1px solid var(--color-border);border-radius:var(--radius-md);background:#fff;min-height:560px;display:flex;overflow:hidden}.history-panel{background:var(--color-bg-subtle);border-right:1px solid var(--color-border);flex-direction:column;flex:0 0 320px;width:320px;display:flex}.history-panel-head{border-bottom:1px solid var(--color-border);padding:16px}.history-panel-head h4{margin:5px 0 0;font-size:16px}.history-session-list{flex:1;padding:8px;overflow:auto}.history-session-list .ant-list-items{flex-direction:column;gap:4px;display:flex}.history-session-item{width:100%;min-height:60px;color:var(--color-text-muted);text-align:left;border-radius:var(--radius-sm);cursor:pointer;background:0 0;border:1px solid #0000;align-items:flex-start;gap:10px;padding:11px 12px;display:flex}.history-session-item:hover,.history-session-item.active{color:var(--color-text);border-color:var(--color-border);box-shadow:var(--shadow-flat);background:#fff}.history-session-item svg{color:var(--color-primary)}.history-session-item span{flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.history-session-item strong{text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.history-detail-panel{flex:1;min-width:0;padding:16px}.history-detail-card,.history-detail-card>.ant-card-body{height:100%}.history-message-list{height:100%;padding-right:4px;overflow:auto}.history-message{flex-direction:column;margin-bottom:16px;display:flex}.history-message.user{align-items:flex-end}.history-message.assistant{align-items:flex-start}.history-message-bubble{white-space:pre-wrap;border-radius:var(--radius-sm);max-width:min(760px,82%);padding:10px 12px;font-size:14px;line-height:1.7;margin:0!important}.history-message.user .history-message-bubble{color:#fff;background:var(--color-primary)}.history-message.assistant .history-message-bubble{color:#374151;background:var(--color-bg-subtle);border:1px solid var(--color-border)}.chat-shell{height:calc(100vh - var(--app-header-height) - 44px);background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-md);min-height:560px;display:flex;overflow:hidden}.chat-sidebar{background:var(--color-bg-subtle);border-right:1px solid var(--color-border);flex-direction:column;flex:0 0 280px;width:280px;min-width:0;display:flex}.chat-sidebar-head,.citation-drawer-head{border-bottom:1px solid var(--color-border);justify-content:space-between;align-items:flex-start;gap:12px;min-height:64px;padding:16px 16px 12px;display:flex}.chat-sidebar-head h5,.citation-drawer-head h5{color:var(--color-text);margin:2px 0 0;font-size:14px;font-weight:700}.chat-sidebar-kicker{color:var(--color-text-subtle);letter-spacing:.08em;text-transform:uppercase;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;font-size:11px;font-weight:700;display:block}.chat-icon-button{color:#4b5563;border-color:var(--color-border);border-radius:var(--radius-sm);width:32px;height:32px;box-shadow:none;place-items:center;display:inline-grid}.chat-session-list{flex:1;padding:8px;overflow:auto}.chat-session-item{width:100%;min-height:58px;color:var(--color-text-muted);text-align:left;border-radius:var(--radius-sm);cursor:pointer;background:0 0;border:1px solid #0000;align-items:flex-start;gap:10px;margin:0 0 4px;padding:11px 12px;display:flex}.chat-session-item:hover,.chat-session-item.active{color:var(--color-text);border-color:var(--color-border);box-shadow:var(--shadow-flat);background:#fff}.chat-session-item.active svg{color:var(--color-primary)}.chat-session-copy{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.chat-session-title{color:inherit;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:650;line-height:1.25;overflow:hidden}.chat-session-meta{color:var(--color-text-subtle);font-size:11px}.chat-main{background:#fff;flex-direction:column;flex:1;min-width:0;display:flex}.chat-workspace-header{border-bottom:1px solid var(--color-border);justify-content:space-between;align-items:center;gap:16px;min-height:68px;padding:14px 24px;display:flex}.chat-workspace-header h4{color:var(--color-text);align-items:center;gap:10px;margin:4px 0 0;font-size:16px;font-weight:700;display:flex}.chat-workspace-actions{align-items:center;gap:8px;min-width:0;display:flex}.chat-workspace-actions .ant-tag,.chat-composer-status{align-items:center;gap:5px;display:inline-flex}.chat-thread{background:#fff;flex:1;min-height:0;position:relative;overflow:auto}.chat-progress{z-index:2;background:0 0;height:1px;position:sticky;top:0;overflow:hidden}.chat-progress:after{content:"";background:var(--color-primary);width:34%;height:100%;animation:1.2s ease-in-out infinite chat-progress;display:block}.chat-thread-inner{width:min(800px,100% - 48px);min-height:100%;margin:0 auto;padding:28px 0 32px}.chat-empty-state{min-height:360px;color:var(--color-text-subtle);text-align:center;align-content:center;place-items:center;gap:8px;display:grid}.chat-empty-state h4{color:var(--color-text);margin:4px 0 0}.chat-empty-state .ant-typography{max-width:440px;margin:0}.chat-message{flex-direction:column;width:100%;margin-bottom:24px;display:flex}.chat-message.user{align-items:flex-end}.chat-message.assistant{align-items:flex-start}.message-label{color:var(--color-text-subtle);letter-spacing:0;align-items:center;gap:5px;margin-bottom:6px;font-size:11px;font-weight:650;display:inline-flex}.message-body{max-width:min(100%,760px);color:var(--color-text);white-space:pre-wrap;border-radius:var(--radius-sm);padding:10px 12px}.chat-message.user .message-body{color:#fff;text-align:right;background:var(--color-primary);border:1px solid var(--color-primary);max-width:min(70%,620px)}.chat-message.assistant .message-body{color:#374151;background:var(--color-bg-subtle);border:1px solid var(--color-border)}.prose-medical{font-size:14px;line-height:1.7}.prose-medical h1,.prose-medical h2{color:var(--color-text);margin-top:1.5em;font-weight:600}.message-body.streaming{color:#4b5563}.chat-inline-alert{border-radius:var(--radius-sm);margin-top:10px}.citation-strip-title{color:var(--color-text-subtle);letter-spacing:.08em;margin-bottom:8px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;font-size:11px;font-weight:700}.citation-card-row{gap:8px;padding-bottom:2px;display:flex;overflow-x:auto}.citation-card{width:160px;height:60px;color:var(--color-text-muted);text-align:left;background:var(--color-bg-subtle);border:1px solid var(--color-border);border-radius:var(--radius-sm);cursor:pointer;flex:0 0 160px;gap:8px;padding:9px 10px;display:flex;position:relative}.citation-card:hover,.citation-card.active{border-color:var(--color-primary-border);background:#fff}.citation-card svg{color:var(--color-text-subtle);flex:none}.citation-card-copy{flex-direction:column;flex:1;min-width:0;display:flex}.citation-card-score{color:var(--color-primary);text-overflow:ellipsis;white-space:nowrap;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;font-size:10px;font-weight:700;line-height:1.2;overflow:hidden}.citation-card-title{color:#4b5563;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:700;line-height:1.25;overflow:hidden}.citation-card-meta{color:var(--color-text-subtle);text-overflow:ellipsis;white-space:nowrap;font-size:10px;line-height:1.2;overflow:hidden}.citation-match-dot{background:#10b981;border-radius:50%;width:7px;height:7px;position:absolute;bottom:8px;right:8px;box-shadow:0 0 0 3px #10b9811f}.citation-drawer{background:var(--color-bg-subtle);border-left:0 solid #0000;flex:0 0 0;width:0;min-width:0;transition:flex-basis .22s,width .22s;overflow:hidden}.citation-drawer-body{height:calc(100% - 64px);padding:16px;overflow:auto}.citation-drawer-body h5{color:var(--color-text);margin:12px 0 8px;font-size:15px}.citation-drawer-meta{color:var(--color-text-subtle);flex-wrap:wrap;gap:6px;margin-bottom:12px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;font-size:11px;display:flex}.citation-drawer-meta span,.chat-composer-status{border:1px solid var(--color-border);border-radius:var(--radius-sm);background:#fff;padding:3px 7px}.citation-highlight{color:#374151;border:1px solid var(--color-border);border-radius:var(--radius-sm);white-space:pre-wrap;background:#fff;padding:14px;font-size:13px;line-height:1.75;margin:0!important}.citation-drawer-empty{height:calc(100% - 64px);color:var(--color-text-subtle);text-align:center;align-content:center;place-items:center;gap:10px;padding:20px;display:grid}.chat-composer-shell{border-top:1px solid var(--color-border);background:#fff;flex:none;padding:14px 24px 16px}.chat-composer{border:1px solid var(--color-border);border-radius:var(--radius-md);background:#fff;width:min(800px,100%);margin:0 auto}.chat-composer-toolbar{border-bottom:1px solid var(--color-border);justify-content:space-between;align-items:center;gap:12px;min-height:42px;padding:8px 10px;display:flex}.chat-composer-toolbar .ant-segmented{min-width:0}.chat-composer-status{color:var(--color-text-subtle);flex:none;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;font-size:11px}.chat-console-input{box-shadow:none!important;resize:none!important;border:0!important;border-radius:0!important}.chat-console-input textarea,textarea.chat-console-input{max-height:200px}.chat-composer-footer{border-top:1px solid var(--color-border);justify-content:space-between;align-items:center;gap:12px;min-height:42px;padding:8px 10px;display:flex}.chat-disclaimer{min-width:0;color:var(--color-text-muted);align-items:center;gap:6px;font-size:12px;display:inline-flex}.chat-send-button{box-shadow:0 0 0 3px #007aff14,0 6px 16px #007aff2e}.chat-stop-button{color:#b42318;border-color:#fecdca}.cursor-blink{color:var(--color-primary);margin-left:2px;animation:.9s steps(2,start) infinite cursor-blink;display:inline-block}.typing-dots{align-items:center;gap:4px;min-height:24px;display:inline-flex}.typing-dots span{background:#8c8c8c;border-radius:50%;width:6px;height:6px;animation:1s ease-in-out infinite typing-dot}.typing-dots span:nth-child(2){animation-delay:.15s}.typing-dots span:nth-child(3){animation-delay:.3s}@keyframes cursor-blink{0%,45%{opacity:1}46%,to{opacity:0}}@keyframes typing-dot{0%,80%,to{opacity:.45;transform:translateY(0)}40%{opacity:1;transform:translateY(-3px)}}@keyframes chat-progress{0%{transform:translate(-110%)}to{transform:translate(310%)}}.auth-page{background:var(--color-bg-subtle);grid-template-columns:minmax(0,1fr) 420px;min-height:100vh;display:grid}.auth-hero{color:var(--color-text);background:#fff;flex-direction:column;justify-content:space-between;gap:40px;padding:56px;display:flex}.auth-hero h1{max-width:720px;color:var(--color-text);letter-spacing:0;margin:10px 0 12px;font-size:34px;font-weight:720;line-height:1.15}.auth-brand{align-items:center;gap:10px;display:flex}.auth-brand-mark{width:34px;height:34px;color:var(--color-primary);background:var(--color-primary-soft);border:1px solid var(--color-primary-border);border-radius:var(--radius-sm);place-items:center;display:grid}.auth-brand .ant-typography{line-height:1.35;display:block}.auth-copy .ant-typography{max-width:620px;color:var(--color-text-muted);font-size:15px}.auth-status-grid{border:1px solid var(--color-border);border-radius:var(--radius-md);grid-template-columns:repeat(3,minmax(0,1fr));display:grid;overflow:hidden}.auth-status-grid>div{border-right:1px solid var(--color-border);flex-direction:column;justify-content:center;gap:6px;min-height:92px;padding:16px;display:flex}.auth-status-grid>div:last-child{border-right:0}.auth-status-grid strong{color:var(--color-text);font-size:20px}.auth-panel{background:var(--color-bg-subtle);border-left:1px solid var(--color-border);align-items:center;padding:32px;display:flex}.auth-card{width:100%;box-shadow:none}.auth-card .ant-card-body{padding:26px!important}.auth-card-head{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.auth-card-head h3{color:var(--color-text);margin:6px 0 0;font-size:22px}@media (width<=980px){.app-header-search{display:none}}@media (width<=1024px){.workspace-hero{flex-direction:column;align-items:flex-start}.metrics-band{grid-template-columns:repeat(2,minmax(0,1fr))}.metric-cell:nth-child(2){border-right:0}.metric-cell:nth-child(-n+2){border-bottom:1px solid var(--color-border)}.history-workspace{flex-direction:column;height:auto;min-height:0}.history-panel{border-right:0;border-bottom:1px solid var(--color-border);flex:none;width:100%}.history-session-list{max-height:260px}.history-detail-panel{min-height:480px}.chat-shell{height:calc(100vh - var(--app-header-height) - 32px)}.chat-sidebar{display:none}.citation-drawer.open{flex-basis:340px;width:340px}}@media (width<=900px){.page-title{flex-direction:column}.page-title-extra{width:100%}.auth-page{grid-template-columns:1fr;min-height:auto}.auth-hero{gap:24px;padding:40px 24px}.auth-hero h1{font-size:28px}.auth-status-grid{grid-template-columns:1fr}.auth-status-grid>div{border-right:0;border-bottom:1px solid var(--color-border);min-height:72px}.auth-status-grid>div:last-child{border-bottom:0}.auth-panel{border-left:0;padding:24px}}@media (width<=768px){.app-main-layout,.app-shell-collapsed .app-main-layout{margin-left:var(--app-sider-collapsed-width)}.app-sider{width:var(--app-sider-collapsed-width)!important;max-width:var(--app-sider-collapsed-width)!important;min-width:var(--app-sider-collapsed-width)!important;flex-basis:var(--app-sider-collapsed-width)!important}.app-logo{justify-content:center;padding:0}.app-logo>span:last-child,.app-sider .ant-menu-title-content,.app-sider-footer{display:none}.app-header,.app-shell-collapsed .app-header{left:var(--app-sider-collapsed-width);padding:0 12px}.app-content{padding:16px}.app-user-name,.chat-composer-status,.chat-workspace-actions .ant-tag{display:none}.chat-shell{height:calc(100vh - var(--app-header-height) - 32px);min-height:520px;position:relative}.workspace-hero h2{font-size:24px}.metrics-band{grid-template-columns:1fr}.metric-cell,.metric-cell:nth-child(2){border-right:0;border-bottom:1px solid var(--color-border)}.metric-cell:last-child{border-bottom:0}.metric-cell strong{font-size:24px}.history-detail-panel{padding:12px}.history-message-bubble{max-width:92%}.chat-workspace-header{padding:12px 16px}.chat-thread-inner{width:calc(100% - 32px);padding:20px 0 24px}.chat-message.user .message-body{max-width:88%}.chat-composer-shell{padding:12px 16px}.chat-composer-toolbar,.chat-composer-footer{flex-direction:column;align-items:stretch}.chat-composer-toolbar .ant-segmented{width:100%}.chat-composer-footer{gap:8px}.chat-send-button,.chat-stop-button{align-self:flex-end}.citation-drawer{z-index:5;border-top:0 solid #0000;border-left:0;flex:none;width:100%;height:0;transition:height .22s;position:absolute;bottom:0;left:0;right:0}.citation-drawer.open{border-top:1px solid var(--color-border);border-left:0;flex-basis:auto;width:100%;height:54%}}:root{--font-display:"Space Grotesk", Inter, ui-sans-serif, system-ui, sans-serif;--font-mono:"JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;--color-sky-50:#f2f7ff;--color-sky-100:#e6f0ff;--color-sky-500:#1677ff;--color-slate-50:#f8fafc;--color-slate-100:#f1f5f9;--color-slate-200:#e2e8f0;--color-slate-400:#94a3b8;--color-slate-500:#64748b;--color-slate-700:#334155;--color-slate-900:#0f172a}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#fff}body ::-webkit-scrollbar{width:5px;height:5px}body ::-webkit-scrollbar-thumb{background:#dbe3ee;border-radius:999px}.section-kicker,.chat-sidebar-kicker{color:var(--color-slate-400);font-family:var(--font-mono);letter-spacing:.12em;text-transform:uppercase}.ant-tag{min-height:22px;font-family:var(--font-mono);border-radius:8px;align-items:center;gap:4px;font-size:11px;display:inline-flex}.app-header{grid-template-columns:minmax(180px,auto) minmax(0,1fr) auto;gap:18px;padding:0 24px;display:grid}.app-header-left,.app-header-center,.app-header-right{align-items:center;min-width:0;display:flex}.app-header-center{justify-content:center}.app-header-right{justify-content:flex-end;gap:14px}.app-header-title{color:#1e293b;cursor:pointer;text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:700;transition:color .15s;overflow:hidden}.app-header-title:hover{color:#1677ff}.app-header-title span{color:#c5cfdd;margin:0 6px}.app-header-title strong{color:var(--color-slate-700)}.app-header-search{background:#f8fafc;border-color:#edf2f7;border-radius:10px;justify-content:flex-start;width:310px;font-size:13px}.app-cluster-state,.app-latency{color:var(--color-slate-700);font-family:var(--font-mono);white-space:nowrap;font-size:12px;font-weight:700}.app-cluster-state{color:#059669;align-items:center;gap:8px;display:inline-flex}.app-cluster-state i,.inline-status i,.auth-status-grid i{background:#10b981;border-radius:999px;width:7px;height:7px}.app-cluster-state.warning{color:#d97706}.app-cluster-state.warning i{background:#f59e0b}.app-latency{color:var(--color-slate-700)}.app-header-divider{background:#e6edf5;width:1px;height:18px}.app-bell-button{color:var(--color-slate-500)}.app-user-trigger{width:34px;height:34px;padding:0}.app-user-avatar{color:var(--color-slate-700);font-family:var(--font-display);background:#eef4fb;border-color:#e3ebf5;font-size:12px;font-weight:700}.app-content{background:#fff;padding:0}.dashboard-workspace,.knowledge-workspace{width:min(1480px,100%);margin:0 auto;padding:56px 48px 72px}.studio-page-head{border-bottom:1px solid #edf2f7;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:32px;padding-bottom:32px;display:flex}.studio-page-head.compact{align-items:flex-start}.studio-page-head h2{color:var(--color-slate-900);font-family:var(--font-display);letter-spacing:0;margin:8px 0 6px;font-size:36px;font-weight:750;line-height:1.12}.studio-page-head .ant-typography{color:#72839c;max-width:880px;margin-bottom:0;font-size:15px}.studio-kicker-row,.inline-status{align-items:center;gap:8px;display:flex}.inline-status{color:#64748b;font-family:var(--font-mono);font-size:13px}.studio-metrics{border-bottom:1px solid #edf2f7;grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:48px;padding-bottom:42px;display:grid}.studio-metric{border-right:1px solid #edf2f7;min-width:0;padding-right:28px}.studio-metric:last-child{border-right:0}.studio-metric span{color:var(--color-slate-400);font-family:var(--font-mono);letter-spacing:.1em;text-transform:uppercase;font-size:12px;font-weight:700;display:block}.studio-metric strong{color:var(--color-slate-900);font-family:var(--font-display);margin-top:12px;font-size:38px;font-weight:800;line-height:1;display:inline-block}.studio-metric em{color:#059669;background:#ecfdf5;border-radius:6px;margin-left:10px;padding:3px 8px;font-size:12px;font-style:normal;font-weight:700;display:inline-block}.dashboard-grid{grid-template-columns:minmax(0,2fr) minmax(320px,.85fr);gap:48px;display:grid}.dashboard-primary{flex-direction:column;gap:18px;min-width:0;display:flex}.studio-section-title{justify-content:space-between;align-items:center;gap:16px;margin-bottom:10px;display:flex}.studio-section-title span{color:var(--color-slate-900);font-family:var(--font-display);align-items:center;gap:9px;font-size:18px;font-weight:720;display:inline-flex}.studio-section-title svg{color:var(--color-slate-400)}.studio-section-title button,.history-report-actions button,.history-panel-foot button{color:var(--color-slate-400);font-family:var(--font-mono);cursor:pointer;background:0 0;border:0;font-size:12px}.studio-list-panel,.service-panel,.studio-table-section{background:#fff;border:1px solid #edf2f7;border-radius:12px;overflow:hidden}.studio-list-panel-empty,.studio-chat-cards-empty{padding:14px}.studio-doc-row,.service-row{border-bottom:1px solid #edf2f7;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:18px;min-height:76px;padding:14px 18px;display:grid}.studio-doc-row:last-child,.service-row:last-child{border-bottom:0}.studio-doc-main,.service-row>div{align-items:center;gap:12px;min-width:0;display:flex}.studio-doc-icon{width:38px;height:38px;color:var(--color-sky-500);background:#fff;border:1px solid #dce8f7;border-radius:8px;place-items:center;display:grid}.studio-doc-main div,.service-row div{flex-direction:column;gap:4px;min-width:0;display:flex}.studio-doc-row strong,.service-row strong,.studio-chat-card strong{color:#243042;text-overflow:ellipsis;white-space:nowrap;font-size:15px;font-weight:750;overflow:hidden}.studio-doc-row small,.service-row small,.studio-doc-row>span,.studio-chat-card p{color:var(--color-slate-400);font-family:var(--font-mono);font-size:12px}.studio-chat-cards{background:#fff;border:1px solid #edf2f7;border-radius:12px;gap:12px;display:grid;overflow:hidden}.studio-chat-card{background:#fff;border:1px solid #edf2f7;border-radius:12px;flex-direction:column;gap:8px;padding:16px;display:flex}.service-row{grid-template-columns:auto minmax(0,1fr) auto}.service-row>svg{color:#10b981}.auth-page{background:#f8fafc;grid-template-columns:minmax(0,1fr) 560px;min-height:100vh}.auth-hero{border-right:1px solid #edf2f7;padding:92px;position:relative}.auth-brand-mark{color:#fff;background:var(--color-sky-500);border:0;border-radius:10px;width:52px;height:52px;box-shadow:0 10px 24px #1677ff2e}.auth-brand .ant-typography:first-child{color:var(--color-slate-900);font-size:20px}.auth-brand .ant-typography:last-child{color:var(--color-slate-400);font-size:13px}.auth-version-pill{color:var(--color-sky-500);background:var(--color-sky-50);border-radius:999px;align-items:center;gap:7px;margin-bottom:28px;padding:7px 12px;font-size:14px;font-weight:700;display:inline-flex}.auth-hero h1{max-width:770px;font-family:var(--font-display);font-size:48px;font-weight:800;line-height:1.14}.auth-hero h1:first-letter{letter-spacing:0}.auth-hero h1 span{color:var(--color-sky-500)}.auth-copy .ant-typography{color:#72839c;max-width:760px;font-size:16px;line-height:1.75}.auth-status-grid{border:0;border-top:1px solid #edf2f7;border-radius:0}.auth-status-grid>div{border-right:0;min-height:118px;padding:28px 0}.auth-status-grid span{color:var(--color-slate-400);font-family:var(--font-mono);letter-spacing:.12em;font-size:13px;font-weight:700}.auth-status-grid strong{color:var(--color-slate-900);align-items:center;gap:10px;font-size:17px;display:inline-flex}.auth-status-grid i.blue{background:var(--color-sky-500)}.auth-panel{border-left:0;justify-content:center;padding:72px;position:relative}.auth-card{background:#fff;border:1px solid #edf2f7;border-radius:24px;max-width:410px;padding:36px;box-shadow:0 24px 80px #0f172a0f}.auth-card h2{color:var(--color-slate-900);font-family:var(--font-display);margin:30px 0 6px;font-size:28px}.auth-card>.ant-typography{color:var(--color-slate-400);margin-bottom:24px}.auth-segmented{width:100%;margin-bottom:24px;padding:3px}.auth-card .ant-form-item-label>label{color:#58708d;font-size:13px;font-weight:700}.auth-card .ant-input-affix-wrapper{background:#fbfdff}.auth-submit{justify-content:center;align-items:center;gap:8px;margin-top:6px;display:inline-flex}.auth-notice{color:#64748b;background:#f8fafc;border:1px solid #edf2f7;border-radius:12px;align-items:flex-start;gap:10px;margin-top:28px;padding:14px;font-size:12px;line-height:1.6;display:flex}.auth-notice svg{color:var(--color-slate-400);flex:none}.auth-credit{color:var(--color-slate-400);font-family:var(--font-mono);letter-spacing:.14em;text-align:center;font-size:11px;font-weight:700;position:absolute;bottom:34px;left:0;right:0}.knowledge-lab-grid{grid-template-columns:minmax(0,1.15fr) minmax(380px,.85fr);gap:34px;display:grid}.knowledge-input-column,.knowledge-tester-column{background:#fff;border:1px solid #e6edf5;border-radius:16px;padding:30px}.knowledge-card-title{align-items:center;gap:12px;margin-bottom:24px;display:flex}.knowledge-card-title strong{color:var(--color-slate-900);font-family:var(--font-display);font-size:20px}.knowledge-card-title>.ant-tag:last-child{margin-left:auto}.knowledge-editor-section .ant-form-item-label>label,.knowledge-tester-column .ant-typography{color:#647895;font-weight:700}.knowledge-editor-section textarea{line-height:1.75;min-height:230px!important}.knowledge-editor-footer{color:var(--color-slate-400);justify-content:space-between;align-items:center;gap:16px;font-size:13px;display:flex}.knowledge-editor-footer span{align-items:center;gap:7px;display:inline-flex}.knowledge-tester-column{min-height:540px}.knowledge-searchbar{width:100%;margin:12px 0 24px}.knowledge-result-canvas{border:1px dashed #d8e4f2;border-radius:14px;flex-direction:column;gap:10px;min-height:330px;padding:16px;display:flex}.knowledge-result-canvas.has-results{border-style:solid;overflow:auto}.knowledge-empty{min-height:298px;color:var(--color-slate-400);text-align:center;align-content:center;place-items:center;gap:8px;display:grid}.knowledge-empty strong{color:var(--color-slate-700)}.knowledge-upload-section{flex-shrink:0}.upload-dropzone.dashed{text-align:center;border-style:dashed;justify-content:center;min-height:138px}.studio-table-section{margin-top:34px;padding:18px}.chat-shell,.history-workspace{height:calc(100vh - var(--app-header-height));border:0;border-radius:0;min-height:640px}.chat-sidebar,.history-panel{background:#fbfdff;border-color:#edf2f7;flex-basis:310px;width:310px}.chat-sidebar-head,.history-panel-head{background:#fff;padding:22px 18px}.chat-session-list,.history-session-list{padding:14px}.chat-session-item,.history-session-item{border-radius:12px;min-height:74px;margin-bottom:10px;padding:15px}.chat-session-item.active,.history-session-item.active{background:#f5f9ff;border-color:#d5e7ff;box-shadow:0 1px 3px #0f172a0f}.chat-workspace-header{padding:18px 34px;box-shadow:0 8px 18px #0f172a08}.chat-workspace-header h4{font-family:var(--font-display)}.chat-thread-inner{width:min(1180px,100% - 96px);padding-top:46px}.chat-message.user .message-body{border-radius:18px;max-width:min(380px,72%);padding:18px 24px;box-shadow:0 16px 32px #1677ff24}.chat-message.assistant .message-body{background:#f8fafc;border-color:#edf2f7;border-radius:22px;max-width:min(960px,88%);padding:26px;font-size:15px}.citation-strip-title{color:var(--color-sky-500)}.citation-card{background:#fff;flex-basis:310px;width:310px;height:auto;min-height:74px}.chat-composer-shell{padding:16px 34px 20px}.chat-composer{border-radius:16px;width:min(1180px,100%)}.history-panel{flex-basis:340px;width:340px}.history-panel-head h5{color:var(--color-slate-700);margin:0 0 6px}.history-search{border-bottom:1px solid #edf2f7;padding:16px 14px}.history-filter-tags{flex-wrap:wrap;gap:7px;margin-top:12px;display:flex}.history-session-item{min-height:122px;color:var(--color-slate-700);flex-direction:column;gap:8px;display:flex;position:relative}.history-session-tag{color:var(--color-slate-500);background:#f1f5f9;border-radius:8px;align-self:flex-start;padding:3px 8px;font-size:12px}.history-session-item strong{color:#124a7a;font-size:15px;line-height:1.35}.history-session-item small{color:var(--color-slate-400);line-height:1.45}.history-session-item time{color:var(--color-slate-400);font-family:var(--font-mono);font-size:12px}.history-panel-foot{min-height:48px;color:var(--color-slate-400);font-family:var(--font-mono);border-top:1px solid #edf2f7;justify-content:space-between;align-items:center;padding:0 14px;font-size:12px;display:flex}.history-panel-foot button{align-items:center;gap:5px;display:inline-flex}.history-report{flex:1;min-width:0;padding:48px 52px;overflow:auto}.history-report-head{border-bottom:1px solid #edf2f7;justify-content:space-between;align-items:flex-start;gap:32px;margin-bottom:34px;padding-bottom:28px;display:flex}.history-report-head h2{color:var(--color-slate-900);font-family:var(--font-display);margin:8px 0 6px;font-size:34px}.history-report-head .ant-typography{color:#72839c;margin-bottom:0}.history-report-actions{flex:none;gap:10px;display:flex}.history-report-actions button{color:var(--color-slate-700);box-shadow:var(--shadow-flat);background:#fff;border:1px solid #e2e8f0;border-radius:10px;align-items:center;gap:8px;padding:10px 15px;display:inline-flex}.history-report-actions button.dark{color:#fff;background:#0f172a;border-color:#0f172a}.history-report-grid{grid-template-columns:minmax(0,1fr) 340px;gap:36px;display:grid}.history-report-main{min-width:0;overflow:auto}.prompt-box,.report-paper,.telemetry-card,.citation-audit-card{background:#fff;border:1px solid #edf2f7;border-radius:16px}.prompt-box{background:#f8fafc;margin-bottom:24px;padding:22px 26px}.prompt-box span{color:var(--color-slate-400);font-family:var(--font-mono);letter-spacing:.08em;font-size:12px;font-weight:700;display:block}.prompt-box strong{color:var(--color-slate-900);margin-top:8px;font-size:15px;display:block}.report-paper{padding:42px}.report-paper h3{color:var(--color-slate-900);font-family:var(--font-display);margin-top:0}.telemetry-card,.citation-audit-card{padding:22px}.telemetry-card h5,.citation-audit-card h5{color:#334155;font-family:var(--font-display);align-items:center;gap:8px;margin-top:0;display:flex}.telemetry-card div{border-bottom:1px solid #edf2f7;justify-content:space-between;align-items:center;gap:12px;padding:14px 0;display:flex}.telemetry-card strong{color:var(--color-slate-900);font-family:var(--font-mono)}.citation-audit-item strong{color:#334155}.citation-audit-item p{color:#72839c;margin:8px 0 0;line-height:1.6}@media (width<=1180px){.app-header{grid-template-columns:minmax(180px,1fr) minmax(0,auto)}.app-header-center{display:none}.app-header-right{gap:10px}.dashboard-grid,.history-report-grid,.knowledge-lab-grid{grid-template-columns:1fr}.knowledge-input-column,.knowledge-tester-column{grid-column:auto}}@media (width<=900px){.auth-page{grid-template-columns:1fr}.auth-hero{padding:48px 28px}.auth-hero h1,.studio-page-head h2,.history-report-head h2{font-size:30px}.auth-panel{padding:28px}.auth-credit{margin-top:22px;position:static}.dashboard-workspace,.knowledge-workspace,.history-report{padding:28px 20px 48px}.studio-page-head,.history-report-head{flex-direction:column}.studio-metrics{grid-template-columns:1fr 1fr;gap:22px}.studio-metric{border-right:0}}@media (width<=760px){.app-cluster-state,.app-latency,.app-header-divider{display:none}.studio-metrics,.studio-doc-row,.auth-status-grid{grid-template-columns:1fr}.chat-thread-inner{width:calc(100% - 32px)}.history-workspace,.chat-shell{min-height:560px}.history-panel{display:none}.report-paper{padding:24px}}.auth-page-zip{color:#0f172a;background:#f8fafc80;flex-direction:row;width:100%;min-height:100vh;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;display:flex}.auth-page-zip .auth-hero{background:#fff;border-right:1px solid #e2e8f099;flex-direction:column;flex:1 1 0;justify-content:space-between;gap:48px;min-width:0;padding:64px;display:flex;position:relative;overflow:hidden}.auth-page-zip .auth-hero:before{content:"";z-index:0;pointer-events:none;filter:blur(64px);background:#e6f0ff66;border-radius:999px;width:384px;height:384px;position:absolute;top:25%;left:25%}.auth-page-zip .auth-brand,.auth-page-zip .auth-copy,.auth-page-zip .auth-status-grid{z-index:1;position:relative}.auth-page-zip .auth-brand{align-items:center;gap:12px;display:flex}.auth-page-zip .auth-brand-mark{color:#fff;background:#1677ff;border:0;border-radius:10px;justify-content:center;align-items:center;width:40px;height:40px;display:flex;box-shadow:0 8px 18px #1677ff33}.auth-page-zip .auth-brand .ant-typography{margin:0;display:block}.auth-page-zip .auth-brand .ant-typography:first-child{color:#0f172a;font-family:var(--font-display);font-size:16px;font-weight:600;line-height:1}.auth-page-zip .auth-brand .ant-typography:last-child{color:#94a3b8;margin-top:4px;font-size:12px;line-height:1.2}.auth-page-zip .auth-copy{max-width:576px;margin:48px 0}.auth-page-zip .auth-version-pill{color:#1677ff;background:#f2f7ff;border-radius:999px;align-items:center;gap:6px;margin:0 0 24px;padding:4px 10px;font-size:12px;font-weight:600;line-height:1.35;display:inline-flex}.auth-page-zip .auth-version-pill svg{width:12px;height:12px}.auth-page-zip .auth-hero h1{color:#0f172a;max-width:576px;font-family:var(--font-display);letter-spacing:0;background:0 0;margin:0;font-size:36px;font-weight:650;line-height:1.2}.auth-page-zip .auth-hero h1 span{color:#1677ff}.auth-page-zip .auth-copy .ant-typography{color:#64748b;max-width:576px;margin:16px 0 0;font-size:14px;font-weight:400;line-height:1.75}.auth-page-zip .auth-status-grid{border:0;border-top:1px solid #f1f5f9;border-radius:0;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;padding-top:24px;display:grid;overflow:visible}.auth-page-zip .auth-status-grid>div{border:0;flex-direction:column;justify-content:flex-start;gap:6px;min-height:0;padding:0;display:flex}.auth-page-zip .auth-status-grid span{color:#94a3b8;font-family:var(--font-mono);letter-spacing:.12em;text-transform:uppercase;font-size:12px;font-weight:500}.auth-page-zip .auth-status-grid strong{color:#1e293b;align-items:center;gap:8px;font-size:14px;font-weight:600;line-height:1.45;display:flex}.auth-page-zip .auth-status-grid i{background:#10b981;border-radius:999px;flex:0 0 6px;width:6px;height:6px}.auth-page-zip .auth-status-grid i.blue{background:#1677ff}.auth-page-zip .auth-panel{background:#fff;border:0;flex:0 0 480px;justify-content:center;align-items:center;width:480px;padding:64px;display:flex;position:relative}.auth-page-zip .auth-card{background:#fff;border:1px solid #e2e8f080;border-radius:16px;width:100%;max-width:384px;padding:32px;box-shadow:0 24px 48px #f1f5f9a6}.auth-page-zip .auth-card-head{justify-content:space-between;align-items:center;gap:12px;margin-bottom:24px;display:flex}.auth-page-zip .auth-card-head .section-kicker{color:#94a3b8;letter-spacing:.12em;font-size:12px;font-weight:500}.auth-page-zip .auth-card-head .ant-tag{color:#059669;background:#ecfdf5;border-color:#d1fae5;border-radius:6px;min-height:22px;margin:0;padding:2px 8px;font-size:10px;font-weight:500}.auth-page-zip .auth-card h2.ant-typography{font-family:var(--font-display);letter-spacing:0;margin:0 0 4px;font-size:24px;font-weight:650;line-height:1.25;color:#0f172a!important}.auth-page-zip .auth-card-subtitle.ant-typography{color:#94a3b8;margin:0 0 24px;font-size:12px;line-height:1.45}.auth-page-zip .auth-segmented{background:#f1f5f9;border:0;border-radius:8px;width:100%;margin-bottom:24px;padding:2px}.auth-page-zip .auth-segmented .ant-segmented-item{color:#94a3b8;border-radius:6px;min-height:30px;font-size:12px;font-weight:600}.auth-page-zip .auth-segmented .ant-segmented-item-selected{color:#1e293b;background:#fff;box-shadow:0 1px 2px #0f172a0d}.auth-page-zip .auth-card .ant-form{flex-direction:column;gap:16px;display:flex}.auth-page-zip .auth-card .ant-form-item{margin-bottom:0;position:relative}.auth-page-zip .auth-card .ant-form-item-label{padding-bottom:6px}.auth-page-zip .auth-card .ant-form-item-label>label{color:#64748b;height:auto;font-size:12px;font-weight:600}.auth-page-zip .auth-password-label{justify-content:space-between;align-items:center;width:100%;display:flex}.auth-page-zip .auth-forgot-button{color:#1677ff;cursor:pointer;background:0 0;border:0;padding:0;font-size:12px;font-weight:500;line-height:1.45}.auth-page-zip .auth-forgot-button:hover{color:#005ce6;text-decoration:underline}.auth-page-zip .auth-card .ant-input-affix-wrapper{color:#1e293b;height:38px;box-shadow:none;background:#f8fafc80;border-color:#e2e8f0;border-radius:8px;padding:0 12px;transition:border-color .15s,box-shadow .15s,background-color .15s}.auth-page-zip .auth-card .ant-input-affix-wrapper input:-webkit-autofill{transition:background-color 5000s ease-in-out;-webkit-box-shadow:inset 0 0 0 30px #0000!important}.auth-page-zip .auth-card .ant-input-affix-wrapper input:-webkit-autofill:hover{transition:background-color 5000s ease-in-out;-webkit-box-shadow:inset 0 0 0 30px #0000!important}.auth-page-zip .auth-card .ant-input-affix-wrapper input:-webkit-autofill:focus{transition:background-color 5000s ease-in-out;-webkit-box-shadow:inset 0 0 0 30px #0000!important}.auth-page-zip .auth-card .ant-input-affix-wrapper input:-webkit-autofill:active{transition:background-color 5000s ease-in-out;-webkit-box-shadow:inset 0 0 0 30px #0000!important}.auth-page-zip .auth-card .ant-input-affix-wrapper:hover{background:#f8fafc;border-color:#e2e8f0}.auth-page-zip .auth-card .ant-input-affix-wrapper-focused,.auth-page-zip .auth-card .ant-input-affix-wrapper:focus-within{background:#f8fafc80;border-color:#1677ff;box-shadow:0 0 0 2px #1677ff33}.auth-page-zip .auth-card .ant-input{color:#1e293b;background:0 0;font-size:14px}.auth-page-zip .auth-card .ant-input::placeholder,.auth-page-zip .auth-card .ant-input-prefix,.auth-page-zip .auth-card .ant-input-suffix{color:#94a3b8}.auth-page-zip .auth-submit{color:#fff;background:#1677ff;border:0;border-radius:8px;justify-content:center;align-items:center;gap:6px;height:38px;margin-top:8px;font-size:14px;font-weight:600;display:flex;box-shadow:0 4px 12px #1677ff1f}.auth-page-zip .auth-submit:hover{box-shadow:0 8px 18px #1677ff38;background:#005ce6!important}.auth-page-zip .auth-notice{color:#64748b;background:#f8fafc;border:1px solid #f1f5f9;border-radius:8px;align-items:flex-start;gap:10px;margin-top:24px;padding:12px;font-size:11px;line-height:1.5;display:flex}.auth-page-zip .auth-notice svg{color:#94a3b8;flex:none;width:14px;height:14px;margin-top:2px}.auth-page-zip .auth-credit{color:#94a3b8;font-family:var(--font-mono);letter-spacing:.14em;text-align:center;text-transform:uppercase;font-size:10px;font-weight:500;position:absolute;bottom:24px;left:0;right:0}@keyframes pulse-subtle-login{0%,to{opacity:1;transform:scale(1)}50%{opacity:.7;transform:scale(1.05)}}.auth-page-zip .auth-version-pill svg{animation:2s ease-in-out infinite pulse-subtle-login}@media (width<=900px){.auth-page-zip{flex-direction:column}.auth-page-zip .auth-hero{border-bottom:1px solid #e2e8f099;border-right:0;padding:32px}.auth-page-zip .auth-panel{flex-basis:auto;width:100%;padding:32px}.auth-page-zip .auth-credit{margin-top:24px;position:static}}@media (width<=640px){.auth-page-zip .auth-hero{padding:28px 20px}.auth-page-zip .auth-copy{margin:40px 0}.auth-page-zip .auth-hero h1{font-size:30px}.auth-page-zip .auth-status-grid{grid-template-columns:1fr}.auth-page-zip .auth-panel{padding:24px 20px}}.dashboard-workspace,.knowledge-workspace{width:min(1456px,100%);min-height:calc(100vh - var(--app-header-height));color:#0f172a;font-family:var(--font-sans);background:#fff;margin:0 auto;padding:40px 48px 64px}.dashboard-workspace .studio-page-head,.knowledge-workspace .studio-page-head{border-bottom:1px solid #f1f5f9;align-items:center;gap:24px;margin:0 0 24px;padding:0 0 24px}.knowledge-workspace .studio-page-head{margin-bottom:40px;padding-bottom:24px}.dashboard-workspace .studio-kicker-row,.knowledge-workspace .studio-kicker-row{gap:8px;margin-bottom:4px}.dashboard-workspace .section-kicker,.knowledge-workspace .section-kicker{color:#94a3b8;font-family:var(--font-mono);letter-spacing:.14em;text-transform:uppercase;font-size:12px;font-weight:600;line-height:1.4}.dashboard-workspace .studio-kicker-row .ant-tag,.knowledge-workspace .studio-kicker-row .ant-tag{color:#1677ff;background:#f2f7ff;border-color:#d9eaff;border-radius:999px;min-height:20px;margin:0;padding:1px 8px;font-size:11px;font-weight:600}.dashboard-workspace .inline-status,.knowledge-workspace .inline-status{color:#64748b;font-family:var(--font-mono);align-items:center;gap:7px;font-size:13px;display:inline-flex}.dashboard-workspace .inline-status i,.knowledge-workspace .inline-status i{background:#10b981;border-radius:999px;width:6px;height:6px}.dashboard-workspace .studio-page-head h2.ant-typography,.knowledge-workspace .studio-page-head h2.ant-typography{color:#0f172a;font-family:var(--font-display);letter-spacing:0;margin:0;font-size:30px;font-weight:650;line-height:1.18}.dashboard-workspace .studio-page-head .ant-typography,.knowledge-workspace .studio-page-head .ant-typography{color:#64748b;max-width:760px;margin:4px 0 0;font-size:14px;font-weight:400;line-height:1.55}.dashboard-workspace .studio-page-head .ant-space{gap:8px!important}.dashboard-workspace .studio-page-head .ant-btn{color:#475569;border-color:#e2e8f0;border-radius:8px;height:32px;padding:0 14px;font-size:12px;font-weight:600;box-shadow:0 1px 2px #0f172a0a}.dashboard-workspace .studio-page-head .ant-btn-primary{color:#fff;background:#1677ff;border-color:#1677ff;box-shadow:0 6px 14px #1677ff2e}.dashboard-workspace .studio-metrics{border-bottom:1px solid #f1f5f9;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:0 0 24px;padding:0 0 24px}.dashboard-workspace .studio-metric{border-right:1px solid #f1f5f9;min-height:80px;padding:0 24px 0 0}.dashboard-workspace .studio-metric span{color:#94a3b8;font-family:var(--font-mono);letter-spacing:.12em;text-transform:uppercase;margin-bottom:14px;font-size:12px;font-weight:600}.dashboard-workspace .studio-metric strong{color:#0f172a;font-family:var(--font-display);letter-spacing:0;margin:0;font-size:36px;font-weight:700;line-height:1}.dashboard-workspace .studio-metric em{color:#059669;background:#ecfdf5;border:1px solid #d1fae5;border-radius:6px;margin-left:10px;padding:2px 7px;font-size:11px;font-style:normal;font-weight:600}.dashboard-workspace .dashboard-grid{grid-template-columns:minmax(0,2fr) minmax(320px,.94fr);gap:24px}.dashboard-workspace .dashboard-grid-single{grid-template-columns:minmax(0,1fr)}.dashboard-workspace .dashboard-primary{gap:24px}.dashboard-workspace .dashboard-aside{flex-direction:column;gap:24px;display:flex}.dashboard-workspace .studio-section-title{margin-bottom:16px}.dashboard-workspace .studio-section-title span,.knowledge-workspace .studio-section-title span{color:#0f172a;font-family:var(--font-display);letter-spacing:0;gap:8px;font-size:16px;font-weight:650}.dashboard-workspace .studio-section-title svg,.knowledge-workspace .studio-section-title svg{color:#94a3b8}.dashboard-workspace .studio-section-title button{color:#94a3b8;font-family:var(--font-mono);font-size:12px}.dashboard-workspace .studio-list-panel,.dashboard-workspace .service-panel{box-shadow:none;background:#f8fafc2e;border:1px solid #f1f5f9;border-radius:8px}.dashboard-workspace .studio-doc-row,.dashboard-workspace .service-row{border-bottom-color:#f1f5f9;gap:12px;min-height:72px;padding:14px;transition:background-color .15s}.dashboard-workspace button.studio-doc-row{width:100%;color:inherit;cursor:pointer;font:inherit;text-align:left;background:0 0;border:0}.dashboard-workspace .studio-doc-row:hover,.dashboard-workspace .service-row:hover{background:#f8fafcd1}.dashboard-workspace button.studio-doc-row:focus-visible{outline-offset:-2px;outline:2px solid #1677ff}.dashboard-workspace .studio-doc-icon{color:#1677ff;background:#fff;border:1px solid #e2e8f0;border-radius:6px;width:36px;height:36px}.dashboard-workspace .studio-doc-row strong,.dashboard-workspace .service-row strong,.dashboard-workspace .studio-chat-card strong{color:#1e293b;letter-spacing:0;font-size:14px;font-weight:600;line-height:1.35}.dashboard-workspace .studio-doc-row small,.dashboard-workspace .service-row small,.dashboard-workspace .studio-doc-row>span,.dashboard-workspace .studio-chat-card p{color:#94a3b8;font-family:var(--font-mono);font-size:12px;line-height:1.35}.dashboard-workspace .studio-doc-row .ant-tag,.dashboard-workspace .service-row .ant-tag{min-height:22px;font-family:var(--font-mono);border-radius:6px;margin:0;padding:1px 8px;font-size:10px;font-weight:600}.dashboard-workspace .service-panel{padding:4px}.dashboard-workspace .service-row{grid-template-columns:auto auto minmax(0,1fr) auto;align-items:center;min-height:66px;padding:12px 10px}.dashboard-workspace .service-row>svg{color:#1677ff;grid-column:2;margin:0;display:block}.dashboard-workspace .service-row:before{content:"";background:#10b981;border-radius:999px;flex:0 0 6px;width:6px;height:6px}.dashboard-workspace .service-row>div:before{display:none}.dashboard-workspace .service-row>div{flex-direction:column;align-items:flex-start;gap:4px;min-width:0;display:flex}.dashboard-workspace .service-row>div>div{gap:4px}.dashboard-workspace .studio-chat-cards{background:#f8fafc2e;border:1px solid #f1f5f9;border-radius:8px;gap:12px}.dashboard-workspace .studio-chat-card{box-shadow:none;background:#fff;border:1px solid #e2e8f0a6;border-radius:12px;gap:8px;padding:16px;transition:border-color .15s,box-shadow .15s}.dashboard-workspace .studio-chat-card:hover{border-color:#1677ff59;box-shadow:0 1px 2px #0f172a0a}.dashboard-workspace .studio-chat-card .ant-tag{color:#64748b;width:fit-content;font-family:var(--font-mono);background:#f1f5f9d1;border:0;border-radius:4px;margin:0;font-size:10px}.diagnostic-console{background:#0f172a;border:1px solid #1e293b;border-radius:12px;padding:16px;box-shadow:0 12px 28px #0f172a1f}.diagnostic-console-head{border-bottom:1px solid #1e293b;justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px;padding-bottom:8px;display:flex}.diagnostic-console-head span{gap:6px;display:inline-flex}.diagnostic-console-head i{border-radius:999px;width:10px;height:10px}.diagnostic-console-head i:first-child{background:#f43f5e}.diagnostic-console-head i:nth-child(2){background:#f59e0b}.diagnostic-console-head i:nth-child(3){background:#10b981}.diagnostic-console-head strong{color:#64748b;font-family:var(--font-mono);letter-spacing:.14em;font-size:10px;font-weight:600}.diagnostic-console-body{color:#cbd5e1;min-height:140px;font-family:var(--font-mono);font-size:11px}.diagnostic-console-body p{gap:6px;margin:0 0 6px;line-height:1.45;display:flex}.diagnostic-console-body p span{color:#1677ff}.diagnostic-console-empty{color:#64748b;text-align:center;place-content:center;gap:4px;height:140px;display:grid}.diagnostic-console-empty small{color:#475569;font-size:10px}.knowledge-workspace .knowledge-lab-grid{grid-template-columns:minmax(0,7fr) minmax(380px,5fr);align-items:stretch;gap:32px;display:grid}.knowledge-workspace .knowledge-input-column,.knowledge-workspace .knowledge-tester-column{background:#fff;border:1px solid #f1f5f9;border-radius:12px;flex-direction:column;gap:0;min-height:0;padding:20px;display:flex}.knowledge-workspace .knowledge-tester-column{overflow:hidden}.knowledge-workspace .knowledge-upload-section{flex-shrink:0}.knowledge-workspace .knowledge-editor-section{border-top:1px solid #f1f5f9;flex-direction:column;flex:1;margin-top:24px;padding-top:24px;display:flex}.knowledge-workspace .knowledge-visibility-toggle{margin-bottom:12px}.knowledge-workspace .knowledge-upload-dragger.ant-upload-wrapper{display:block}.knowledge-workspace .knowledge-upload-dragger .ant-upload-drag{background:#f8fafc80;border:1px dashed #e2e8f0;border-radius:10px;padding:18px 16px;transition:border-color .15s,background-color .15s}.knowledge-workspace .knowledge-upload-dragger .ant-upload-drag:not(.ant-upload-disabled):hover{background:#f8fafcd9;border-color:#1677ff}.knowledge-workspace .knowledge-upload-dragger .ant-upload-drag-icon{margin-bottom:6px;line-height:1}.knowledge-workspace .knowledge-upload-dragger .ant-upload-drag-icon svg{color:#94a3b8}.knowledge-workspace .knowledge-upload-dragger .ant-upload-hint{color:#94a3b8;margin:0;font-size:12px;line-height:1.5}.knowledge-workspace .knowledge-card-title{align-items:center;gap:12px;margin-bottom:18px;display:flex}.knowledge-workspace .knowledge-card-title>svg{color:#94a3b8}.knowledge-workspace .knowledge-card-title strong{color:#0f172a;font-family:var(--font-display);letter-spacing:0;font-size:18px;font-weight:650}.knowledge-workspace .knowledge-card-title .ant-tag{color:#1677ff;min-height:28px;font-family:var(--font-mono);background:#f2f7ff;border:0;border-radius:8px;margin:0;padding:3px 12px;font-size:12px;font-weight:700}.knowledge-workspace .knowledge-card-title>.ant-tag:last-child{border:1px solid #d9eaff;border-radius:8px 8px 0}.knowledge-workspace .knowledge-editor-section .ant-form{flex-direction:column;gap:16px;display:flex}.knowledge-workspace .knowledge-editor-section .ant-form-item{margin-bottom:0}.knowledge-workspace .knowledge-editor-section .ant-form-item-label{padding-bottom:6px}.knowledge-workspace .knowledge-editor-section .ant-form-item-label>label{color:#64748b;letter-spacing:0;font-size:12px;font-weight:650}.knowledge-workspace .knowledge-editor-section .ant-input,.knowledge-workspace .knowledge-editor-section .ant-input-outlined,.knowledge-workspace .knowledge-tester-column .ant-input,.knowledge-workspace .knowledge-searchbar .ant-input-affix-wrapper{color:#1e293b;box-shadow:none;background:#fff;border-color:#e2e8f0;border-radius:8px;font-size:14px}.knowledge-workspace .knowledge-editor-section .ant-input{min-height:40px;padding:9px 12px}.knowledge-workspace .knowledge-editor-section textarea.ant-input{resize:none;padding:12px;line-height:1.7;min-height:220px!important}.knowledge-workspace .knowledge-editor-section .ant-input:hover,.knowledge-workspace .knowledge-editor-section .ant-input:focus,.knowledge-workspace .knowledge-tester-column .ant-input:hover,.knowledge-workspace .knowledge-tester-column .ant-input:focus{border-color:#1677ff;box-shadow:0 0 0 2px #1677ff1a}.knowledge-workspace .knowledge-editor-footer{color:#94a3b8;margin-top:2px;font-size:12px}.knowledge-workspace .knowledge-editor-footer span{gap:7px}.knowledge-workspace .knowledge-editor-footer .ant-btn{color:#fff;background:#1677ff;border-color:#1677ff;border-radius:8px;height:36px;padding:0 16px;font-size:12px;font-weight:600;box-shadow:0 5px 14px #1677ff29}.knowledge-workspace .knowledge-tester-column .ant-typography{color:#64748b;margin:0 0 16px;font-size:13px;font-weight:600;line-height:1.7}.knowledge-workspace .knowledge-searchbar{width:100%;margin:0 0 24px}.knowledge-workspace .knowledge-searchbar .ant-input{height:36px;padding:7px 12px;font-size:13px}.knowledge-workspace .knowledge-searchbar .ant-btn{background:#1677ff;border-radius:0 8px 8px 0;min-width:78px;height:36px;font-size:12px;font-weight:600}.knowledge-workspace .knowledge-result-canvas{background:#f8fafc80;border:1px dashed #e2e8f0;border-radius:10px;flex:1;justify-content:center;min-height:280px;padding:16px}.knowledge-workspace .knowledge-result-canvas.has-results{background:0 0;border-style:solid;justify-content:flex-start}.knowledge-workspace .knowledge-empty{color:#94a3b8;min-height:270px}.knowledge-workspace .knowledge-empty strong{color:#334155;font-size:13px;font-weight:600}.knowledge-workspace .knowledge-empty span{color:#94a3b8;max-width:260px;font-size:11px;line-height:1.5}.knowledge-workspace .knowledge-citation-card{background:#fff;border:1px solid #e2e8f0;border-radius:8px;grid-template-columns:auto minmax(0,1fr);gap:10px;padding:12px;display:grid}.knowledge-workspace .knowledge-citation-card svg{color:#1677ff}.knowledge-workspace .knowledge-citation-copy{min-width:0}.knowledge-workspace .knowledge-citation-copy .ant-typography{margin:0 0 4px;font-size:12px;display:block}.knowledge-workspace .knowledge-citation-copy p.ant-typography{color:#64748b;margin:8px 0 0;font-size:12px;font-weight:400;line-height:1.55}.knowledge-workspace .upload-dropzone.dashed{color:#94a3b8;cursor:pointer;background:#f8fafc33;border:1px dashed #e2e8f0;border-radius:12px;flex-direction:column;justify-content:center;gap:12px;min-height:168px;padding:32px;transition:border-color .15s,background-color .15s,color .15s}.knowledge-workspace .upload-dropzone.dashed:hover{color:#1677ff;background:#f2f7ff73;border-color:#1677ff6b}.knowledge-workspace .upload-dropzone.dashed.pending,.knowledge-workspace .upload-dropzone.dashed:disabled{color:#1677ff;cursor:progress;background:#f2f7ff94;border-color:#1677ff6b}.knowledge-workspace .upload-dropzone.dashed>span{flex-direction:column;align-items:center;gap:4px;display:flex}.knowledge-workspace .upload-dropzone.dashed strong{color:#1e293b;font-size:14px;font-weight:600}.knowledge-workspace .upload-dropzone.dashed .ant-typography{color:#94a3b8;font-size:12px}.knowledge-workspace .studio-table-section{background:#fff;border:1px solid #f1f5f9;border-radius:10px;margin-top:32px;padding:0;overflow:hidden}.knowledge-workspace .studio-table-section .studio-section-title{border-bottom:1px solid #f1f5f9;margin:0;padding:16px 18px}.knowledge-workspace .studio-table-section .ant-table{color:#1e293b;font-size:13px}.knowledge-workspace .studio-table-section .ant-table-thead>tr>th{color:#64748b;font-family:var(--font-mono);letter-spacing:.08em;text-transform:uppercase;background:#f8fafc8c;font-size:11px;font-weight:600}.knowledge-workspace .studio-table-section .ant-table-tbody>tr>td{border-bottom-color:#f1f5f9}@media (width<=1180px){.dashboard-workspace .dashboard-grid,.knowledge-workspace .knowledge-lab-grid{grid-template-columns:1fr}.knowledge-workspace .knowledge-input-column,.knowledge-workspace .knowledge-tester-column{grid-area:auto}}@media (width<=900px){.dashboard-workspace,.knowledge-workspace{padding:32px 24px 48px}.dashboard-workspace .studio-page-head,.knowledge-workspace .studio-page-head{align-items:flex-start}.dashboard-workspace .studio-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 0}.dashboard-workspace .studio-metric:nth-child(2n){border-right:0}}@media (width<=640px){.dashboard-workspace,.knowledge-workspace{padding:28px 18px 42px}.dashboard-workspace .studio-page-head,.knowledge-workspace .studio-page-head{margin-bottom:28px;padding-bottom:24px}.dashboard-workspace .studio-page-head h2.ant-typography,.knowledge-workspace .studio-page-head h2.ant-typography{font-size:26px}.dashboard-workspace .studio-metrics{grid-template-columns:1fr;margin-bottom:32px;padding-bottom:32px}.dashboard-workspace .studio-metric{border-right:0;min-height:0;padding-right:0}.dashboard-workspace .studio-doc-row{grid-template-columns:1fr}.knowledge-workspace .knowledge-input-column,.knowledge-workspace .knowledge-tester-column{padding:18px}.knowledge-workspace .knowledge-editor-footer{flex-direction:column;align-items:stretch}}.chat-shell,.history-workspace{height:calc(100vh - var(--app-header-height));color:#0f172a;min-height:640px;font-family:var(--font-sans);background:#fff;border:0;border-radius:0;overflow:hidden}.chat-sidebar{background:#f8fafc33;border-right:1px solid #f1f5f9;flex-direction:column;flex:0 0 280px;justify-content:space-between;width:280px;display:flex}.history-panel{background:#f8fafc33;border-right:1px solid #f1f5f9;flex-direction:column;flex:0 0 300px;justify-content:space-between;width:300px;display:flex}.chat-sidebar-head,.history-panel-head{background:#fff;border-bottom:1px solid #f1f5f9;justify-content:space-between;align-items:center;gap:14px;padding:16px;display:flex}.history-panel-head{flex-direction:column;justify-content:center;align-items:flex-start;gap:2px}.chat-sidebar-kicker,.history-panel-head .ant-typography:last-child{color:#94a3b8;font-family:var(--font-mono);letter-spacing:.08em;text-transform:uppercase;font-size:12px;font-weight:600;line-height:1.35}.chat-sidebar-head h5.ant-typography,.history-panel-head h5.ant-typography{color:#0f172a;font-family:var(--font-display);margin:4px 0 0;font-size:15px;font-weight:650;line-height:1.35}.chat-icon-button{color:#64748b;background:#fff;border:1px solid #e2e8f0;border-radius:8px;place-items:center;width:34px;height:34px;display:grid;box-shadow:0 1px 2px #0f172a0d}.chat-icon-button:hover{color:#1677ff!important;border-color:#d9eaff!important}.chat-sidebar-search,.history-search{background:#fff;border-bottom:1px solid #f1f5f9;padding:12px}.history-search{flex-direction:column;gap:10px;display:flex}.chat-sidebar-search .ant-input-affix-wrapper,.history-search .ant-input-affix-wrapper{color:#1e293b;height:32px;box-shadow:none;background:#f8fafc;border:1px solid #0000;border-radius:7px;font-size:12px}.history-search .ant-input-affix-wrapper{background:#fff;border-color:#e2e8f0}.chat-sidebar-search .ant-input-affix-wrapper:hover,.chat-sidebar-search .ant-input-affix-wrapper-focused,.history-search .ant-input-affix-wrapper:hover,.history-search .ant-input-affix-wrapper-focused{box-shadow:none;background:#fff;border-color:#dbe7f5}.chat-sidebar-search .ant-input,.history-search .ant-input{background:0 0;font-size:12px}.chat-session-list,.history-session-list{flex:1;max-height:none;padding:8px;overflow-y:auto}.chat-session-item,.history-session-item{color:#475569;width:100%;min-height:0;box-shadow:none;text-align:left;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:8px;grid-template-columns:auto minmax(0,1fr);gap:10px;margin:0 0 4px;padding:10px;transition:background-color .15s,border-color .15s,color .15s;display:grid}.chat-session-item{grid-template-columns:minmax(0,1fr) auto;align-items:center;padding:6px}.chat-session-main{min-width:0;color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;grid-template-columns:auto minmax(0,1fr);align-items:flex-start;gap:10px;padding:4px;display:grid}.chat-session-copy{min-width:0}.chat-session-menu-button{color:#94a3b8;opacity:0;width:28px;height:28px}.chat-session-item:hover .chat-session-menu-button,.chat-session-item.active .chat-session-menu-button{opacity:1}.chat-sidebar-tabs{background:#fff;border-bottom:1px solid #f1f5f9;gap:8px;padding:10px 12px;display:flex}.chat-sidebar-tabs .ant-btn{border-radius:7px;flex:1;font-size:12px;font-weight:600}.history-session-item{flex-direction:column;gap:6px;margin-bottom:8px;padding:12px;display:flex}.chat-session-item:hover,.history-session-item:hover{background:#f1f5f9b3}.chat-session-item.active{color:#075985;background:#f2f7ffb8;border-color:#d9eaffb3}.history-session-item.active{background:#fff;border-color:#1677ff66;box-shadow:0 1px 2px #0f172a0a}.chat-session-item svg{color:#64748b;margin-top:2px}.chat-session-title,.history-session-item strong{color:inherit;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:600;line-height:1.35;display:block;overflow:hidden}.history-session-item strong{color:#075985}.history-session-item-row{justify-content:space-between;align-items:center;gap:10px;width:100%;min-width:0;display:flex}.history-session-item-row strong{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.history-session-item-row time{white-space:nowrap;flex-shrink:0;position:static;top:auto;right:auto;margin-top:0!important}.chat-session-meta,.history-session-item small,.history-session-item time{color:#94a3b8;font-family:var(--font-mono);margin-top:4px;font-size:11px;line-height:1.35;display:block}.history-session-tag{color:#64748b;background:#f1f5f9;border-radius:6px;width:fit-content;padding:3px 8px;font-size:11px;font-weight:600}.history-filter-tags{flex-wrap:wrap;gap:6px;display:flex}.history-filter-tags button{color:#475569;cursor:pointer;background:#f1f5f9;border:0;border-radius:7px;min-height:24px;padding:3px 9px;font-size:12px;font-weight:600}.history-filter-tags button.active{color:#fff;background:#1677ff}.chat-main{background:#fff;flex-direction:column;flex:1;justify-content:space-between;min-width:0;display:flex}.chat-workspace-header{background:#fff;border-bottom:1px solid #f1f5f9;justify-content:space-between;align-items:center;gap:20px;padding:18px 32px;display:flex;box-shadow:0 8px 18px #0f172a05}.chat-workspace-header h4.ant-typography{color:#0f172a;font-family:var(--font-display);align-items:center;gap:10px;margin:6px 0 0;font-size:15px;font-weight:650;line-height:1.35;display:flex}.chat-status-dot{background:#10b981;border-radius:999px;flex:0 0 7px;width:7px;height:7px}.chat-workspace-actions{align-items:center;gap:10px;display:flex}.chat-workspace-actions .ant-tag{color:#1677ff;background:#f2f7ff;border:0;border-radius:8px;align-items:center;gap:5px;min-height:26px;margin:0;padding:3px 9px;font-size:12px;font-weight:600;display:inline-flex}.chat-thread{background:#fff;flex:1;min-height:0;padding:24px 32px;overflow-y:auto}.chat-thread-inner{width:min(1160px,100%);min-height:100%;margin:0 auto}.chat-empty-state{color:#94a3b8;text-align:center;place-content:center;justify-items:center;gap:8px;min-height:100%;display:grid}.chat-empty-state h4.ant-typography{color:#0f172a;font-family:var(--font-display);margin:8px 0 0;font-size:20px;font-weight:650}.chat-empty-state .ant-typography{color:#94a3b8;margin:0;font-size:13px}.chat-message{flex-direction:column;gap:6px;max-width:85%;margin:0 0 28px;display:flex}.chat-message.user{align-items:flex-end;margin-left:auto}.chat-message.assistant{align-items:flex-start;margin-right:auto}.message-label{color:#94a3b8;font-family:var(--font-mono);align-items:center;gap:8px;font-size:11px;font-weight:600;display:inline-flex}.message-label svg{display:none}.chat-message.user .message-body,.chat-message.assistant .message-body{border-radius:16px;font-size:13px;line-height:1.7}.chat-message.user .message-body{color:#fff;background:#1677ff;border:0;padding:14px 18px;font-weight:600;box-shadow:0 8px 16px #1677ff24}.chat-message.assistant .message-body{color:#1e293b;background:#f8fafc;border:1px solid #f1f5f9;padding:22px}.prose-medical{white-space:pre-wrap}.chat-message.assistant .prose-medical{white-space:normal}.chat-message.assistant .prose-medical p,.chat-message.assistant .prose-medical ul,.chat-message.assistant .prose-medical ol,.chat-message.assistant .prose-medical table,.chat-message.assistant .prose-medical pre{margin:0 0 12px}.chat-message.assistant .prose-medical p:last-child,.chat-message.assistant .prose-medical ul:last-child,.chat-message.assistant .prose-medical ol:last-child,.chat-message.assistant .prose-medical table:last-child,.chat-message.assistant .prose-medical pre:last-child{margin-bottom:0}.chat-message.assistant .prose-medical ul,.chat-message.assistant .prose-medical ol{padding-left:20px}.chat-message.assistant .prose-medical table{border-collapse:collapse;width:100%;font-size:12px}.chat-message.assistant .prose-medical th,.chat-message.assistant .prose-medical td{border:1px solid #e2e8f0;padding:6px 8px}.chat-message.assistant .prose-medical code{font-family:var(--font-mono);background:#eef4fb;border-radius:4px;padding:1px 4px}.chat-message.assistant .message-body.streaming{min-width:120px}.typing-dots{gap:6px;display:inline-flex}.typing-dots span{background:#94a3b8;border-radius:999px;width:7px;height:7px}.citation-strip{border-top:1px solid #f1f5f9;width:100%;margin-top:12px;padding-top:12px}.citation-strip-title{color:#1677ff;font-family:var(--font-mono);letter-spacing:.12em;text-transform:uppercase;margin-bottom:8px;font-size:10px;font-weight:700}.citation-card-row{gap:8px;display:grid;overflow:visible}.citation-card{color:#64748b;text-align:left;background:#fff;border:1px solid #e2e8f0;border-radius:8px;grid-template-columns:auto minmax(0,1fr) auto;gap:10px;width:100%;padding:10px;display:grid}.citation-card:hover,.citation-card.active{border-color:#1677ff59}.citation-card svg{color:#1677ff}.citation-card-score{color:#1e293b;font-size:11px;font-weight:650}.citation-card-title,.citation-card-meta{color:#94a3b8;font-family:var(--font-mono);font-size:10px}.citation-card-title{color:#1e293b;font-family:var(--font-sans);font-size:12px;font-weight:650;display:block}.citation-card-meta{white-space:normal;margin-top:3px;line-height:1.45;display:block}.kg-hit-strip{width:100%;margin-top:8px}.kg-hit-title{color:#0891b2;font-family:var(--font-mono);letter-spacing:.12em;text-transform:uppercase;margin-bottom:6px;font-size:10px;font-weight:700}.kg-tag-row{flex-wrap:wrap;gap:6px;max-height:52px;display:flex;overflow:hidden}.kg-tag-row .ant-tag{text-overflow:ellipsis;white-space:nowrap;border-radius:6px;max-width:100%;margin-inline-end:0;font-size:12px;line-height:22px;overflow:hidden}.chat-composer-shell{background:#fff;border-top:1px solid #f1f5f9;flex:none;padding:22px 32px 24px}.chat-composer{width:min(1160px,100%);box-shadow:none;background:#fff;border:1px solid #e2e8f0;border-radius:16px;margin:0 auto;overflow:hidden}.chat-composer-toolbar{background:#fff;border-bottom:1px solid #f1f5f9;justify-content:space-between;align-items:center;gap:16px;padding:10px 14px;display:flex}.chat-composer-toolbar .ant-segmented{background:#f1f5f9;border-radius:10px;padding:2px}.chat-composer-toolbar .ant-segmented-item{color:#64748b;border-radius:8px;min-height:30px;font-size:13px;font-weight:600}.chat-composer-toolbar .ant-segmented-item-selected{color:#1e293b;background:#fff;box-shadow:0 1px 2px #0f172a0d}.chat-composer-status{color:#94a3b8;background:#fff;border:1px solid #e2e8f0;border-radius:8px;align-items:center;gap:6px;min-height:26px;padding:3px 9px;font-size:12px;display:inline-flex}.chat-console-input.ant-input{color:#1e293b;resize:none;background:#fff;border:0;border-radius:0;padding:12px 16px;font-size:13px;line-height:1.6;min-height:68px!important;box-shadow:none!important}.chat-console-input.ant-input::placeholder{color:#94a3b8}.chat-composer-footer{background:#fff;border-top:1px solid #f1f5f9;justify-content:space-between;align-items:center;gap:16px;padding:10px 14px;display:flex}.chat-disclaimer{color:#64748b;align-items:center;gap:7px;font-size:12px;display:inline-flex}.chat-disclaimer svg{color:#94a3b8}.chat-send-button,.chat-stop-button{border-radius:8px;min-width:110px;height:36px;font-size:13px;font-weight:650}.chat-send-button{background:#1677ff;border-color:#1677ff;box-shadow:0 6px 14px #1677ff29}.citation-drawer{background:#fff;border-left:0;flex:0 0 0;width:0;transition:width .2s,flex-basis .2s;overflow:hidden}.citation-drawer.open{border-left:1px solid #f1f5f9;flex-basis:320px;width:320px}.citation-drawer-head{min-height:86px}.citation-drawer-body{padding:18px}.history-report{background:#fff;flex:1;min-width:0;padding:40px 48px;overflow-y:auto}.history-report>.ant-empty{min-height:calc(100vh - var(--app-header-height) - 80px);place-content:center;display:grid}.history-report-head{border-bottom:1px solid #f1f5f9;justify-content:space-between;align-items:center;gap:24px;margin:0 0 32px;padding-bottom:24px;display:flex}.history-report-head .section-kicker{color:#94a3b8;font-family:var(--font-mono);letter-spacing:.12em;font-size:12px;font-weight:600}.history-report-head h2.ant-typography{color:#0f172a;font-family:var(--font-display);letter-spacing:0;margin:4px 0 0;font-size:28px;font-weight:650;line-height:1.2}.history-report-head .ant-typography{color:#64748b;margin-bottom:0;font-size:13px}.history-report-actions{align-items:center;gap:10px;display:flex}.history-report-actions button{color:#475569;background:#fff;border:1px solid #e2e8f0;border-radius:8px;align-items:center;gap:7px;min-height:34px;padding:0 14px;font-size:12px;font-weight:650;display:inline-flex;box-shadow:0 1px 2px #0f172a0a}.history-report-actions button.dark{color:#fff;background:#0f172a;border-color:#0f172a;box-shadow:0 8px 16px #0f172a1f}.history-report-grid{grid-template-columns:minmax(0,8fr) minmax(280px,4fr);align-items:flex-start;gap:32px;display:grid}.history-report-main{flex-direction:column;gap:24px;display:flex;overflow:visible}.prompt-box{background:#f8fafc;border:1px solid #f1f5f9;border-radius:12px;padding:16px}.prompt-box span{color:#94a3b8;letter-spacing:0;text-transform:none;margin-bottom:6px;font-size:12px;font-weight:700;display:block}.prompt-box strong{color:#1e293b;font-size:13px;font-weight:650;line-height:1.55}.report-paper{background:#fff;border:1px solid #f1f5f9;border-radius:12px;padding:32px;box-shadow:0 1px 2px #0f172a08}.report-paper h3.ant-typography{color:#0f172a;font-family:var(--font-display);border-bottom:1px solid #f1f5f9;margin:0 0 22px;padding-bottom:12px;font-size:20px;font-weight:700;line-height:1.35}.report-paper .ant-typography{color:#334155;white-space:pre-wrap;font-size:14px;line-height:1.85}.history-report-aside{flex-direction:column;gap:24px;display:flex}.telemetry-card,.citation-audit-card{box-shadow:none;background:#f8fafc73;border:1px solid #e2e8f0;border-radius:12px;padding:18px}.citation-audit-card{background:#fff;border-color:#f1f5f9}.telemetry-card h5.ant-typography,.citation-audit-card h5.ant-typography{color:#475569;font-family:var(--font-mono);letter-spacing:.08em;text-transform:uppercase;align-items:center;gap:8px;margin:0 0 14px;font-size:12px;font-weight:700;display:flex}.citation-audit-card h5.ant-typography{color:#1e293b;font-family:var(--font-display);letter-spacing:0;text-transform:none;font-size:15px}.citation-audit-card h5 svg{color:#1677ff}.telemetry-card div{min-height:42px;font-family:var(--font-mono);border-bottom:1px solid #e2e8f0bf;justify-content:space-between;align-items:center;gap:16px;padding:12px 0;font-size:12px;display:flex}.telemetry-card div:last-child{border-bottom:0}.telemetry-card span{color:#64748b}.telemetry-card strong{color:#0f172a;font-weight:700}.telemetry-card div:nth-of-type(2) strong,.telemetry-card div:nth-of-type(4) strong{color:#0f172a}.citation-audit-item{background:#f8fafc;border-radius:8px;padding:12px}.citation-audit-item+.citation-audit-item{margin-top:10px}.citation-audit-item strong{color:#334155;margin-bottom:4px;font-size:12px;font-weight:700;display:block}.citation-audit-item p{color:#64748b;margin:0;font-size:12px;line-height:1.5}.history-panel-foot{background:#fff;border-top:1px solid #f1f5f9;justify-content:space-between;align-items:center;gap:12px;min-height:48px;padding:12px 14px;display:flex}.history-panel-foot span,.history-panel-foot button{color:#94a3b8;font-family:var(--font-mono);font-size:11px}.history-panel-foot button{background:0 0;border:0;align-items:center;gap:5px;display:inline-flex}.quick-start-card{background:#fff;border:1px solid #f1f5f9;border-radius:8px;padding:18px}.quick-start-actions{margin-bottom:18px}.quick-start-steps{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.quick-start-steps article{background:#f8fafc;border:1px solid #edf2f7;border-radius:8px;min-width:0;padding:14px}.quick-start-steps strong,.quick-start-steps span{display:block}.quick-start-steps strong{color:#0f172a;font-size:13px}.quick-start-steps span{color:#64748b;margin-top:6px;font-size:12px;line-height:1.55}.quick-start-examples{flex-wrap:wrap;gap:8px;margin-top:14px;display:flex}.quick-start-examples button,.chat-example-questions button{color:#1677ff;cursor:pointer;background:#f2f7ff;border:1px solid #d9eaff;border-radius:8px;padding:6px 10px;font-size:12px}.document-preview-drawer{flex-direction:column;gap:18px;display:flex}.document-preview-content{color:#334155;white-space:pre-wrap;background:#f8fafc;border:1px solid #eef2f7;border-radius:8px;padding:14px;line-height:1.7}.chat-mode-guide{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;width:min(760px,100%);margin-top:10px;display:grid}.chat-mode-guide article{text-align:left;background:#fff;border:1px solid #edf2f7;border-radius:8px;min-width:0;padding:14px}.chat-mode-guide article.active{background:#f2f7ff;border-color:#b9d7ff}.chat-mode-guide strong,.chat-mode-guide span{display:block}.chat-mode-guide strong{color:#0f172a;font-size:13px}.chat-mode-guide span{color:#64748b;margin-top:6px;font-size:12px;line-height:1.5}.chat-kb-callout{color:#0f766e;background:#f0fdfa;border:1px solid #ccfbf1;border-radius:8px;justify-content:center;align-items:center;gap:10px;width:min(760px,100%);padding:10px 12px;font-size:12px;display:flex}.chat-kb-callout.warning{color:#92400e;background:#fffbeb;border-color:#fde68a}.chat-kb-callout.info{color:#075985;background:#f2f7ff;border-color:#d9eaff}.chat-kb-callout a{color:#1677ff;white-space:nowrap;font-weight:700}.chat-example-questions{flex-wrap:wrap;justify-content:center;gap:8px;width:min(760px,100%);margin-top:4px;display:flex}.chat-example-questions>span{color:#64748b;text-align:center;width:100%;font-size:12px}.citation-empty-note{color:#64748b;background:#f8fafc;border:1px solid #edf2f7;border-radius:8px;margin-top:10px;padding:8px 10px;font-size:12px}.message-feedback{color:#64748b;flex-wrap:wrap;align-items:center;gap:8px;margin-top:10px;font-size:12px;display:flex}.message-feedback-reasons{flex-wrap:wrap;gap:6px;width:100%;display:flex}.kb-status-spin{animation:1.2s linear infinite chat-progress}.kb-row-highlight>td{transition:background-color .3s;background:#f2f7ff!important}@media (width<=1180px){.citation-drawer.open{z-index:20;width:320px;position:absolute;top:0;bottom:0;right:0;box-shadow:-16px 0 32px #0f172a14}.history-report-grid{grid-template-columns:1fr}}@media (width<=900px){.quick-start-steps{grid-template-columns:1fr}.chat-sidebar,.history-panel{display:none}.chat-workspace-header,.chat-thread,.chat-composer-shell,.history-report{padding-left:20px;padding-right:20px}.history-report-head{flex-direction:column;align-items:flex-start}}@media (width<=640px){.app-sider{display:none}.app-main-layout{margin-left:0}.dashboard-workspace .studio-metrics{grid-template-columns:1fr}.dashboard-workspace .studio-page-head .ant-space{width:100%}.dashboard-workspace .studio-page-head .ant-btn{flex:auto}.chat-mode-guide{grid-template-columns:1fr}.chat-workspace-header{flex-direction:column;align-items:flex-start;min-height:0;padding-top:16px;padding-bottom:16px}.chat-message,.chat-message.user .message-body,.chat-message.assistant .message-body{max-width:100%}.citation-card-row{display:flex;overflow-x:auto}.citation-card{min-width:260px}.chat-composer-toolbar,.chat-composer-footer{flex-direction:column;align-items:stretch}.chat-composer-toolbar .ant-segmented{width:100%}.chat-disclaimer{font-size:12px}.history-report{padding:28px 18px}.history-report-head h2.ant-typography{font-size:24px}.history-report-actions{flex-wrap:wrap;width:100%}.report-paper{padding:22px}}
