body.wb-shell{--ws-bg:#fff;--ws-panel:#f8f8f7;--ws-ink:#202123;--ws-muted:#777;--ws-line:#e8e8e7;background:var(--ws-bg);color:var(--ws-ink);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif;height:100dvh;overflow:hidden}
.wb-shell>.head,.wb-shell .main>.nav,.wb-shell .nav-resizer{display:none!important}.wb-shell .main{height:calc(100dvh - 58px)!important;display:flex;max-width:none;margin:0;padding:0;gap:0;overflow:hidden}.ws-topbar{height:58px;display:flex;align-items:center;gap:12px;padding:0 24px 0 276px;border-bottom:1px solid transparent;box-sizing:border-box}.ws-title{font-size:16px;font-weight:600}.ws-core{font-size:11px;color:#888;border:1px solid #e9e9e9;padding:3px 7px;border-radius:6px}.ws-options-button{margin-left:auto;background:none;border:1px solid var(--ws-line);border-radius:8px;padding:8px 12px;cursor:pointer}.ws-icon{display:none;border:0;background:none;font-size:20px;cursor:pointer}.ws-sidebar{position:fixed;inset:0 auto 0 0;width:248px;background:var(--ws-panel);display:flex;flex-direction:column;padding:18px 12px 12px;box-sizing:border-box;z-index:100;gap:8px}.ws-brand{display:flex;align-items:center;gap:10px;padding:0 10px 16px;font-size:17px}.ws-mark{display:grid;place-items:center;background:#222;color:#fff;width:29px;height:29px;border-radius:10px;font-size:12px}.ws-navigation{display:flex;flex-direction:column;gap:2px}.ws-nav-button{border:0;background:transparent;padding:10px 12px;border-radius:9px;color:#323232;text-align:left;font-size:14px;cursor:pointer}.ws-nav-button:hover,.ws-nav-button.selected,.ws-account-button:hover{background:#eaeae8}.ws-section-label{padding:17px 12px 3px;font-size:11px;color:#8a8a86}.ws-search{width:100%;box-sizing:border-box;padding:9px 10px;border:1px solid #ddd;border-radius:8px;background:white}.ws-account{margin-top:auto;border-top:1px solid #e7e7e4;padding-top:8px}.ws-account-button{border:0;background:none;text-align:left;width:100%;padding:12px;border-radius:8px;cursor:pointer;color:#444}.wb-shell #convSidebar{width:auto!important;flex:1;min-height:0;border:0;background:transparent;padding:0;overflow:auto}.wb-shell .conv-sidebar-head,.wb-shell #convExpand,.wb-shell #btnNew{display:none!important}.wb-shell .conv-list{padding:0}.wb-shell .conv-item{border:0;border-radius:8px;margin:2px 0;background:none;font-size:13px}.wb-shell .conv-item.active,.wb-shell .conv-item:hover{background:#eaeae8}.wb-shell .conv-item[hidden]{display:none!important}.wb-shell .main>.view{margin-left:248px;flex:1;min-width:0;max-width:none;border:0;padding:24px 36px;overflow:auto;background:white}.wb-shell #view-chat{padding:0}.wb-shell .chat-wrap,.wb-shell .chat-main{height:100%;border:0;box-shadow:none;border-radius:0;background:white;min-height:0}.wb-shell .chat-wrap{margin:0;max-width:none}.wb-shell .chat-main{flex:1;position:relative;display:flex;flex-direction:column}.wb-shell #msgs{width:100%;max-width:850px;box-sizing:border-box;margin:0 auto;padding:28px 24px 16px;flex:1;min-height:0;overflow-y:auto;background:white}.wb-shell .msg{gap:14px;margin-bottom:24px}.wb-shell .msg .bubble{box-shadow:none;border:0;border-radius:18px;line-height:1.8;font-size:15px}.wb-shell .msg.ai .bubble,.wb-shell .msg.assistant .bubble{background:white;padding:8px 0}.wb-shell .msg.user .bubble{background:#f1f1f1;color:#222}.wb-shell .chat-input{display:flex;gap:8px;align-items:flex-end;margin:0 auto;padding:10px 18px 8px;box-sizing:border-box;width:100%;max-width:850px;border:0;background:white;flex-shrink:0}.wb-shell .chat-input .input-wrap{background:#f4f4f4;border:1px solid #e5e5e5;box-shadow:0 3px 14px #00000004;flex:1;border-radius:24px;padding:4px 7px}.wb-shell .chat-input textarea{border:0!important;box-shadow:none!important;background:transparent;padding:15px 12px 8px;min-height:72px;max-height:220px;line-height:1.6;font-size:15px;color:#222}.wb-shell .input-tools{padding:4px 6px;gap:8px}.wb-shell .chat-input .send-btn{background:#202123;border:0;color:#fff;margin:0 0 7px;box-shadow:none;width:40px;min-width:40px;height:40px}.wb-shell .wb-composer-plus{background:transparent;color:#333}.ws-composer-note{margin:0 0 14px;text-align:center;font-size:11px;color:#999;flex-shrink:0}.ws-welcome{text-align:center;margin:auto auto 28px;padding:22px;max-width:700px;box-sizing:border-box}.ws-welcome[hidden]{display:none}.ws-welcome-mark{font-size:34px;color:#343434;margin-bottom:20px}.ws-welcome h1{font-weight:550;letter-spacing:-.5px;font-size:30px;margin:0 0 12px}.ws-welcome p{font-size:14px;color:#888;margin:0 0 30px}.ws-suggestions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}.ws-suggestion{background:white;border:1px solid #e4e4e4;border-radius:22px;padding:10px 17px;color:#555;cursor:pointer}.ws-suggestion:hover{background:#f6f6f6}.wb-shell .ws-empty #msgs{display:none}.wb-shell .ws-empty .chat-input{margin-bottom:auto}.wb-shell .ws-empty .ws-composer-note{margin-top:-4px;margin-bottom:22px}.ws-tools h1{font-size:28px;font-weight:600}.ws-lead{color:#888;font-size:14px;line-height:1.8;max-width:750px}.ws-tool-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;max-width:1000px;margin-top:30px}.ws-tool-card{display:flex;flex-direction:column;gap:12px;padding:23px;border:1px solid #e5e5e5;border-radius:14px;background:white;text-align:left;cursor:pointer;color:#333;line-height:1.5}.ws-tool-card:hover{background:#fafafa;border-color:#aaa}.ws-tool-card span{font-size:12px;color:#888}.ws-tool-card[hidden]{display:none}.ws-dialog{border:1px solid #ddd;border-radius:18px;padding:24px;max-width:560px;width:calc(100vw - 48px);box-sizing:border-box;max-height:85dvh;overflow:auto;color:#333}.ws-dialog::backdrop{background:#0005}.ws-dialog-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}.ws-dialog h2{margin:0;font-size:19px}.ws-close{border:0;background:#f3f3f3;border-radius:8px;padding:8px 12px;cursor:pointer}.ws-dialog .chat-bar{display:flex;flex-direction:column;align-items:stretch;gap:18px;border:0;padding:0;background:none}.ws-option-label{display:flex;justify-content:space-between;align-items:center;font-size:14px;gap:20px}.ws-dialog select{max-width:240px!important;width:60%;border:1px solid #ddd;border-radius:8px;padding:9px;color:#333!important}.ws-dialog #skillPop{position:relative!important;inset:auto!important;width:auto!important}.ws-muted{color:#888;font-size:13px;line-height:1.8}.ws-setting-nav{display:flex;gap:6px;padding:4px 0 18px;flex-wrap:wrap}.ws-setting-button{border:0;padding:9px 13px;border-radius:8px;background:none;color:#666;cursor:pointer}.ws-setting-button.selected{background:#eee;color:#222}.ws-setting-content>h2{font-size:22px;margin:12px 0 24px}.ws-setting-content[hidden],.wb-shell .ws-legacy-config{display:none!important}.wb-shell #view-settings .set-tabs{border-bottom:1px solid #e5e5e5}.wb-shell .set-tab{padding:12px 17px}.wb-shell .set-tab.active{color:#222;border-bottom-color:#222}.wb-shell .card{border:1px solid #e7e7e7;box-shadow:none;border-radius:12px}.wb-shell .btn{box-shadow:none}.wb-shell #view-auto>.set-tabs{display:none}.wb-shell #qSidebar{background:#fafafa!important;width:210px!important;flex-basis:210px!important}.wb-shell #atp-create>.card>div{height:calc(100dvh - 112px)!important;min-height:300px!important}.wb-shell #qSidebarToggle,.wb-shell #qSidebarExpand{display:none!important}.wb-shell #qChatPane>div:first-child{flex-wrap:wrap}.wb-shell #autoModelSel{display:none!important}.wb-shell .ws-auto-composer{background:#f4f4f4;border:1px solid #e5e5e5;border-radius:20px;padding:8px}.wb-shell #autoQuickText{border:0;background:transparent;min-height:62px;box-shadow:none}.wb-shell #autoQuickBtn{background:#222;border:0;border-radius:20px}.wb-shell :focus-visible{outline:2px solid #555;outline-offset:3px}.wb-shell [hidden]{display:none!important}
@media(max-width:1100px){.ws-sidebar{width:218px}.ws-topbar{padding-left:240px}.wb-shell .main>.view{margin-left:218px;padding:20px}.ws-tool-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.ws-sidebar{transform:translateX(-100%);transition:transform .18s;width:248px;box-shadow:5px 0 25px #0002}.ws-sidebar-open .ws-sidebar{transform:translateX(0)}.ws-topbar{padding:0 14px}.ws-icon{display:block}.ws-core{display:none}.wb-shell .main>.view{margin-left:0;padding:18px}.ws-welcome h1{font-size:25px}.ws-welcome{padding:20px 12px}.ws-suggestions{gap:7px}.ws-suggestion{padding:9px 12px}.ws-tool-grid{grid-template-columns:1fr}.wb-shell #qSidebar{width:135px!important;flex-basis:135px!important}.wb-shell #msgs{padding:20px 15px}.wb-shell .chat-input{padding:8px 12px}.ws-composer-note{font-size:10px}.ws-dialog{padding:18px}}

.wb-shell .ws-sidebar #qSidebar{display:none!important;border:0!important;width:auto!important;flex:1!important;min-height:0;background:transparent!important}.wb-shell.ws-history-mode .ws-sidebar #qSidebar{display:flex!important}.wb-shell.ws-history-mode #convSidebar{display:none!important}.wb-shell .ws-sidebar #qSidebar>div:first-child,.wb-shell .ws-sidebar #qSidebar>div:nth-child(2){display:none!important}.wb-shell .ws-sidebar #qConvList{padding:0!important}.wb-shell .ws-sidebar #qPinList{max-height:130px}.wb-shell #atp-create>.card{border:0}.wb-shell #qChatLog{max-width:850px;width:100%;box-sizing:border-box;margin:0 auto}.wb-shell #qChatPane>div:last-child{max-width:850px;width:100%;box-sizing:border-box;margin:0 auto;border:0!important;background:white!important}

.wb-shell .chat-input::before{display:none}.wb-shell .chat-input .input-tools{border:0;background:transparent}.wb-shell .chat-input .input-wrap:focus-within{border-color:#bbb;box-shadow:none}.wb-shell .chat-input .input-tools .send-btn{margin:0 0 0 auto;align-self:center;width:34px;min-width:34px;height:34px}.wb-shell .ws-empty .chat-input{margin-bottom:0}.wb-shell .ws-empty .ws-composer-note{margin-top:6px;margin-bottom:auto}.wb-shell .ws-auto-composer{flex-wrap:wrap}.wb-shell .ws-auto-composer #autoQuickText{order:-1;flex:0 0 100%!important;box-sizing:border-box}.wb-shell .ws-auto-composer #autoQuickBtn{margin-left:auto}

.wb-shell .chat-input textarea:focus-visible{outline:none}.ws-sidebar-backdrop{display:none}.wb-shell .btn:not(.ghost):not(.danger){background:#262626;border-color:#262626;color:white}.wb-shell .btn.ghost{color:#444;border-color:#ddd}.wb-shell .ws-setting-content>div{background:#fff!important;border-color:#e7e7e7!important}.wb-shell .msg .av{background:#eee!important;color:#555!important;box-shadow:none}@media(max-width:760px){.wb-shell.ws-sidebar-open .ws-sidebar-backdrop{display:block;position:fixed;inset:0 0 0 248px;background:#0003;border:0;z-index:99}}

.wb-shell #convSidebar{min-width:0!important}

.wb-shell .btn:not(.ghost):not(.danger){background:#262626!important;border-color:#262626!important;color:white!important}.wb-shell .ws-history-bubble.ws-user{background:#f1f1f1!important;color:#222!important;border-radius:18px!important}.wb-shell .ws-history-bubble.ws-assistant{background:white!important;color:#222!important;border:0!important;border-radius:0!important;font-size:15px!important}.ws-history-welcome{text-align:center;padding:70px 20px;color:#777}.ws-history-welcome h2{color:#333;font-weight:550}.ws-setting-content[data-category=assistants] th:nth-child(3),.ws-setting-content[data-category=assistants] td:nth-child(3){display:none}

/* Reference-inspired shared desktop and browser layout. */
body.wb-shell{--ws-panel:#f7f9fa;--ws-line:#e8ecef;background:#edf3f7}
.ws-rail{position:fixed;left:0;top:0;bottom:0;width:62px;display:flex;flex-direction:column;align-items:center;gap:8px;padding:17px 6px;box-sizing:border-box;background:#edf3f7;z-index:110}
.ws-rail-button{display:grid;place-items:center;width:44px;height:44px;min-height:44px;padding:0!important;border:0;border-radius:13px;background:transparent;color:#7c898f;font-size:23px;cursor:pointer;text-align:center}.ws-rail-button:hover,.ws-rail-button.selected{background:#dfe7eb;color:#202729}.ws-rail-bottom{margin-top:auto}
.ws-sidebar{left:70px;top:10px;bottom:10px;width:272px;border-radius:18px 0 0 18px;border:1px solid var(--ws-line);border-right:0;padding:20px 14px 12px;gap:10px}.ws-brand{font-size:21px;padding:4px 8px 16px}.ws-mark{display:none}.ws-navigation{gap:6px}.ws-nav-button{font-size:15px}.ws-search{border-color:var(--ws-line)}
.ws-topbar{position:relative;margin:10px 10px 0 342px;height:66px;padding:0 26px;background:#fff;border-radius:0 18px 0 0;border-top:1px solid var(--ws-line);border-right:1px solid var(--ws-line)}.ws-title{font-size:17px}.ws-core{display:none}.ws-sync-label{font-size:11px;color:#98a1a6;margin-left:4px;white-space:nowrap}.ws-options-button{border:0;color:#7c858a}
.wb-shell .main{height:calc(100dvh - 86px)!important;margin-right:10px;border-radius:0 0 18px 0}.wb-shell .main>.view{margin-left:342px;background:white;border-right:1px solid var(--ws-line);border-bottom:1px solid var(--ws-line);padding:24px 30px}.wb-shell #view-chat{padding:0}.wb-shell #msgs{max-width:1040px;padding:25px 34px}.wb-shell .msg .bubble{font-size:16px;line-height:1.85}.wb-shell .chat-input{max-width:1040px;padding:12px 24px 6px}.wb-shell .chat-input .input-wrap{background:#fff;border:1px solid #e8e8e8;border-radius:25px;box-shadow:0 2px 14px #24324208}.wb-shell .chat-input textarea{min-height:85px}.wb-shell .input-tools{min-height:40px}.ws-memory-shortcut{border:0;background:transparent;color:#78838a;padding:7px 10px;cursor:pointer;font-size:12px}.ws-composer-note{color:#a0a8ac;margin-bottom:12px}.wb-shell .ws-empty .chat-input{margin-bottom:0}.ws-welcome-mark{color:#6c858c}.ws-business-list{flex:1;overflow:auto;min-height:0}.ws-business-link{display:block;width:100%;border:0;background:transparent;border-radius:10px;color:#4d565b;text-align:left;padding:11px 12px;cursor:pointer;font-size:14px}.ws-business-link:hover{background:#e9eef1}.ws-business-mode #convSidebar,.ws-business-mode #qSidebar{display:none!important}.ws-business-mode .ws-sidebar>.ws-section-label{display:none}.ws-business-list .ws-section-label{padding-top:20px}.ws-tool-card{border-color:#e9edef;padding:22px;border-radius:15px}.ws-tools h1{margin-top:8px}.ws-tool-grid{max-width:none}.wb-shell .card{border-color:#e9edef;border-radius:14px}.wb-shell .main>.view table{border-collapse:collapse;font-size:13px}.wb-shell .main>.view th{background:#f7f9fa;color:#647078;font-weight:500}.wb-shell .main>.view td,.wb-shell .main>.view th{border-bottom-color:#edf0f2}.wb-shell .main>.view input:not([type=checkbox]):not([type=radio]),.wb-shell .main>.view select{border-radius:8px}.wb-shell .main>.view>h2{font-size:23px}.wb-memory-panel{box-shadow:0 20px 80px #17202b22;border:1px solid #e9edef}.wb-memory-toolbar{display:flex;gap:8px;margin:12px 0;flex-wrap:wrap}.wb-memory-toolbar input,.wb-memory-toolbar select{padding:9px;border:1px solid #dde4e8;border-radius:9px}.wb-memory-toolbar input{flex:1;min-width:140px}.wb-memory-status{background:#f4f8f6;color:#447160;padding:10px 12px;border-radius:10px;font-size:13px}
@media(max-width:1100px) and (min-width:761px){.ws-sidebar{width:232px}.ws-topbar{margin-left:302px;padding:0 20px}.wb-shell .main>.view{margin-left:302px;padding:20px}.ws-sync-label{display:none}.wb-shell #msgs{padding:22px 25px}}
@media(max-width:760px){.ws-rail{display:none}.ws-sidebar{left:0;top:0;bottom:0;width:272px;border-radius:0;transform:translateX(-101%)}.ws-sidebar-open .ws-sidebar{transform:translateX(0)}.ws-topbar{margin:0;height:58px;border-radius:0;padding:0 14px}.wb-shell .main{height:calc(100dvh - 58px)!important;margin:0;border-radius:0}.wb-shell .main>.view{margin-left:0;padding:16px;border:0}.wb-shell .chat-input{padding:8px 12px 5px}.wb-shell #msgs{padding:18px 16px}.ws-sync-label{display:none}.wb-shell.ws-sidebar-open .ws-sidebar-backdrop{left:272px}.ws-sidebar .ws-navigation{flex-shrink:0}.ws-sidebar .ws-account:before{content:'资料、目标、定时任务与插件可从输入框 + 打开';display:block;font-size:11px;color:#8c969b;line-height:1.7;padding:8px}}

@media(max-width:760px){.ws-rail{display:flex;position:fixed;inset:auto 0 0 0;flex-direction:row;width:100%;height:54px;padding:5px 8px;gap:4px;overflow-x:auto;border-top:1px solid #dfe7eb}.ws-rail-button{min-width:36px;width:36px;height:40px;min-height:40px;font-size:21px}.ws-rail-bottom{margin:0}.wb-shell .main{height:calc(100dvh - 112px)!important}.ws-sidebar{bottom:54px}.wb-shell.ws-sidebar-open .ws-sidebar-backdrop{bottom:54px}}

.wb-shell .ws-empty .ws-welcome{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;margin:0 auto;padding:28px}.wb-shell .ws-empty .ws-composer-note{margin-bottom:12px;margin-top:4px}.wb-shell .msg .av{display:none}.ws-rail-button svg{flex-shrink:0}

.ws-module-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 0 22px;margin-bottom:20px;border-bottom:1px solid #edf0f2}.ws-module-heading h2{font-size:24px;margin:0 0 7px;font-weight:600}.ws-module-heading p{margin:0;color:#899399;font-size:13px}.ws-module-action{padding:10px 15px;border:1px solid #dde4e8;background:white;color:#48575d;border-radius:10px;cursor:pointer;white-space:nowrap}.ws-module-action:hover{background:#f3f7f8}@media(max-width:760px){.ws-module-heading{align-items:flex-start;flex-direction:column}.ws-module-heading h2{font-size:21px}}

.wx-page{font-size:14px}.wx-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px}.wx-heading h1{font-size:26px;font-weight:600;margin:0}.wx-button{background:white;border:1px solid #e1e6ea;border-radius:9px;padding:9px 13px;color:#45515a;cursor:pointer}.wx-button:hover,.wx-tabs .active{background:#edf2f5;color:#20272b}.wx-tabs,.wx-toolbar{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:18px}.wx-tabs{border-bottom:1px solid #edf0f2;padding-bottom:14px}.wx-toolbar input,.wx-toolbar select{border:1px solid #dce3e8;padding:10px;border-radius:9px;max-width:100%;min-width:0}.wx-toolbar input{flex:1}.wx-file-row{display:flex;align-items:center;gap:8px;padding:18px 4px;border-bottom:1px solid #edf0f2;flex-wrap:wrap}.wx-file-row>div{flex:1;min-width:170px;overflow-wrap:anywhere}.wx-file-row small{display:block;color:#8a949c;margin-top:6px}.wx-page [role=status]{color:#7a858d;font-size:12px;line-height:1.8}.wx-embedded-panel{position:static!important;inset:auto!important;display:block!important;background:transparent!important;z-index:auto!important}.wx-panel-content{width:100%!important;max-width:100%!important;max-height:none!important;box-sizing:border-box!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;overflow:visible!important}.wx-panel-content>h3{display:none}.wx-panel-content textarea,.wx-panel-content input,.wx-panel-content select{box-sizing:border-box}.wx-task-list{display:grid;gap:8px;grid-template-columns:repeat(2,minmax(0,1fr));margin:20px 0}.wx-task-list .wx-button{text-align:left;overflow-wrap:anywhere}.wx-task-detail{padding-top:15px;border-top:1px solid #edf0f2}.wx-task-detail p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8}.wx-task-detail textarea{width:100%;min-height:80px}.wx-task-detail .wx-button{margin:6px}.wx-task-detail h2{font-size:19px}.wx-editor{border:1px solid #e5eaee;padding:16px;border-radius:14px;margin:18px 0}.wx-editor summary{cursor:pointer;font-weight:500}@media(max-width:760px){.wx-heading h1{font-size:22px}.wx-toolbar select{width:100%}.wx-task-list{grid-template-columns:1fr}.wx-file-row .wx-button{padding:7px}}

.wx-button:disabled{opacity:.4;cursor:default}.wx-button:disabled:hover{background:white}
.wx-context{display:flex;gap:7px;align-items:center;flex-wrap:wrap;margin:0 auto;padding:4px 24px;max-width:1040px;width:100%;box-sizing:border-box;color:#8a949c;font-size:11px}.wx-context .wx-button{font-size:11px;padding:5px 9px}.wx-context span{margin-left:auto}.wx-workspace-nav{display:none;flex:1;overflow:auto;min-height:0;gap:4px;flex-direction:column}.wx-workspace-nav .wx-button{border:0;background:transparent;text-align:left;padding:12px}.wx-workspace-nav .selected{background:#e7edf1}.wx-workspace-mode .wx-workspace-nav{display:flex}.wx-workspace-mode .ws-business-list,.wx-workspace-mode #convSidebar,.wx-workspace-mode #qSidebar{display:none!important}.wx-mobile-nav{display:none}.wx-panel-content>div:first-child>h3{display:none}.wx-panel-content>div:first-child>button{display:none}.wx-heading{flex-wrap:wrap;gap:10px}.wx-heading h1{margin-right:auto}.wx-panel-content pre{white-space:pre-wrap;overflow-wrap:anywhere}.wx-panel-content section,.wx-panel-content article{overflow-wrap:anywhere}
@media(max-width:760px){.ws-rail{display:none}.wx-mobile-nav{display:flex;position:fixed;bottom:0;left:0;right:0;height:54px;align-items:center;justify-content:space-around;border-top:1px solid #dfe7eb;background:#f4f7fa;z-index:70}.wx-mobile-nav .wx-button{border:0;background:transparent;font-size:13px;padding:10px}.wx-context{padding:4px 12px}.wx-context span{margin-left:0}}

/* ===== 2026.09.27.155 导航去重 / 对话-工作双模式 / 知识库并入资料库 ===== */
.wb-hidden{display:none!important}
.wb-subnav{display:flex;flex-direction:column;gap:4px;flex-shrink:0}
.wb-subnav[hidden]{display:none!important}
.wb-sub-item{border:0;background:transparent;text-align:left;padding:10px 12px;border-radius:10px;color:#4d565b;font-size:14px;cursor:pointer;width:100%}
.wb-sub-item:hover{background:#e9eef1}
.wb-sub-item.selected{background:#e3eaee;color:#1f272b;font-weight:600}
body:not(.wb-group-chat) #convSidebar{display:none!important}
body:not(.wb-group-chat) .ws-search{display:none!important}
.wb-kb-hidden{display:none!important}
.wb-kb-embedded{display:flex!important;flex:1;min-height:0;flex-direction:column;margin:0!important;padding:0!important;border:0!important;background:transparent!important;overflow:auto!important}
.wb-mode-bar{display:flex;align-items:center;gap:6px;padding:8px 10px 2px;flex-wrap:wrap}
.wb-mode-btn{border:1px solid #e5e5e5;background:#fff;border-radius:999px;padding:5px 12px;font-size:12px;color:#6b7280;cursor:pointer}
.wb-mode-btn:hover{background:#f6f6f6}
.wb-mode-btn.selected{background:#202123;border-color:#202123;color:#fff}
.wb-mode-note{margin-left:auto;font-size:11px;color:#a0a8ac}
body.wb-mode-chat .wx-context{display:none!important}
@media(max-width:760px){.wb-mode-note{display:none}.wb-subnav{flex-direction:row;flex-wrap:wrap}}

/* ===== 2026.09.27.157 资料库标题同步 / 手机底部导航对齐 ===== */
/* 手机端只保留一条底部导航（.wx-mobile-nav），并让内容区、侧栏与安全区完全对齐 */
@media(max-width:760px){
.ws-rail{display:none!important}
.wx-mobile-nav{height:calc(54px + env(safe-area-inset-bottom,0px));padding-bottom:env(safe-area-inset-bottom,0px);box-sizing:border-box}
.wb-shell .main{height:calc(100dvh - 112px - env(safe-area-inset-bottom,0px))!important}
.ws-sidebar{bottom:calc(54px + env(safe-area-inset-bottom,0px))}
.wb-shell.ws-sidebar-open .ws-sidebar-backdrop{bottom:calc(54px + env(safe-area-inset-bottom,0px))}
}
.wx-mobile-nav .wx-button{flex:1;min-width:0;border-radius:10px;color:#5c676d}
.wx-mobile-nav .wx-button.selected{background:#e3eaee;color:#1f272b;font-weight:600}

/* ===== 2026.09.27.157 自定义功能区（员工用自然语言让 AI 生成只读界面） ===== */
.wx-button.wx-primary{background:#202123;border-color:#202123;color:#fff}
.wx-button.wx-primary:hover{background:#333;color:#fff}
.wx-button.wx-danger{color:#a33232;border-color:#e7cfcf}
.wx-button.wx-danger:hover{background:#fbf1f1;color:#8d2626}
.wxc-status{color:#7a858d;font-size:12px;line-height:1.9;display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.wxc-inline{padding:5px 10px;font-size:12px}
.wxc-canvas{display:flex;flex-direction:column;gap:16px;max-width:1040px;margin-top:8px}
.wxc-summary{color:#5c676d;font-size:14px;line-height:1.9;margin:0}
.wxc-note{background:#f6f8f9;border-left:3px solid #cfd8dd;border-radius:0 10px 10px 0;padding:12px 15px;color:#556069;font-size:13px;line-height:1.9;margin:0}
.wxc-card{border:1px solid #e8edf0;border-radius:14px;padding:18px 20px;background:#fff;overflow:hidden}
.wxc-card-title{font-size:15px;font-weight:600;margin:0 0 14px;color:#20272b}
.wxc-warn{color:#a33232;font-size:13px;margin:0;line-height:1.8}
.wxc-meta{color:#96a0a6;font-size:11px;line-height:1.8;margin:12px 0 0}
.wxc-kpi{display:flex;align-items:baseline;gap:12px}
.wxc-kpi-value{font-size:32px;font-weight:600;letter-spacing:-.5px;color:#1c2429}
.wxc-kpi-label{font-size:13px;color:#7a858d}
.wxc-table{width:100%;border-collapse:collapse;font-size:13px;table-layout:fixed}
.wxc-table th,.wxc-table td{text-align:left;padding:9px 10px;border-bottom:1px solid #eef2f4;overflow-wrap:anywhere}
.wxc-table th{color:#7a858d;font-weight:500;font-size:12px;background:#fafcfd}
.wxc-table tr:last-child td{border-bottom:0}
.wxc-list{list-style:none;margin:0;padding:0}
.wxc-list li{display:flex;flex-direction:column;gap:4px;padding:11px 2px;border-bottom:1px solid #eef2f4}
.wxc-list li:last-child{border-bottom:0}
.wxc-list li strong{font-size:14px;font-weight:500;color:#232b30;overflow-wrap:anywhere}
.wxc-list li span{font-size:12px;color:#8a949c;overflow-wrap:anywhere}
.wxc-bars{display:flex;flex-direction:column;gap:10px}
.wxc-bar-row{display:grid;grid-template-columns:minmax(64px,168px) 1fr auto;align-items:center;gap:12px;font-size:12px}
.wxc-bar-label{color:#5c676d;overflow-wrap:anywhere}
.wxc-bar-track{background:#f0f4f6;border-radius:999px;height:10px;overflow:hidden;display:block}
.wxc-bar-fill{display:block;height:100%;border-radius:999px;background:#5b8fb0}
.wxc-bar-value{color:#3d474d;font-variant-numeric:tabular-nums;min-width:48px;text-align:right}
.wxc-sources{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:22px 0 0;padding:12px 14px;background:#f8fafb;border:1px solid #ecf1f3;border-radius:12px;font-size:12px;color:#5c676d}
.wxc-sources>strong{font-size:12px;color:#3d474d}
.wxc-source{background:#fff;border:1px solid #e4eaed;border-radius:999px;padding:4px 10px}
.wxc-list-wrap{display:flex;flex-direction:column;gap:12px;max-width:1040px;margin-top:20px}
.wxc-feature{display:flex;align-items:center;gap:16px;border:1px solid #e8edf0;border-radius:14px;padding:16px 18px;background:#fff;flex-wrap:wrap}
.wxc-feature-body{display:flex;flex-direction:column;gap:6px;flex:1;min-width:220px}
.wxc-feature-body strong{font-size:15px;color:#20272b}
.wxc-feature-body span{font-size:13px;color:#6b757b;line-height:1.8}
.wxc-feature-body small{font-size:11px;color:#9aa4aa}
.wxc-feature-actions{display:flex;gap:8px;flex-wrap:wrap}
.wxc-prompt{width:100%;max-width:820px;box-sizing:border-box;border:1px solid #dce3e8;border-radius:12px;padding:13px 14px;font-size:14px;line-height:1.8;font-family:inherit;color:#20272b;resize:vertical}
.wxc-prompt:focus{outline:2px solid #cfdbe2;outline-offset:1px;border-color:#c3d1d9}
.wxc-examples{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0 4px;max-width:820px}
.wxc-example{font-size:12px;color:#5c676d;border-radius:999px;text-align:left;line-height:1.6}
.wxc-caps{border:1px solid #e8edf0;border-radius:12px;padding:14px 16px;margin:18px 0 0;max-width:820px;background:#fbfcfd}
.wxc-caps summary{cursor:pointer;font-size:13px;color:#45515a}
.wxc-source-line{display:flex;flex-direction:column;gap:3px;margin:12px 0 0}
.wxc-source-line strong{font-size:13px;color:#232b30}
.wxc-source-line span{font-size:12px;color:#8a949c;line-height:1.8}
.wxc-preview{border:1px solid #dfe7eb;border-radius:14px;padding:20px 22px;margin:22px 0 0;max-width:1040px;background:#fff}
.wxc-preview h2{font-size:19px;margin:0 0 10px}
.wxc-plan{margin:14px 0 0;padding-left:20px;font-size:13px;line-height:2;color:#4b555b}
@media(max-width:760px){
.wxc-card{padding:14px 15px}
.wxc-kpi-value{font-size:26px}
.wxc-table{font-size:12px}
.wxc-table th,.wxc-table td{padding:8px 7px}
.wxc-bar-row{grid-template-columns:minmax(52px,110px) 1fr auto;gap:8px}
.wxc-feature{padding:14px}
.wxc-preview{padding:16px}
}
.wn-library-full .ws-sidebar,.wn-library-full .ws-rail,.wn-library-full .wx-mobile-nav{display:none!important}.wb-shell.wn-library-full .main>.view{margin-left:0!important}.wn-library-full .ws-topbar{margin-left:0!important;padding-left:24px!important}.wn-library-full.wb-shell .main{height:calc(100dvh - 58px)!important}
.wn-filters{display:flex;gap:8px;flex-wrap:wrap}.wn-filters input,.wn-filters select{width:auto!important;max-width:180px;min-width:100px;padding:8px}.wn-message-tools{display:flex;gap:10px;align-items:center;flex-wrap:wrap;font-size:11px;color:#899197;grid-column:2;margin:4px 0 14px}.wn-button{border:0;background:transparent;color:#5f6d75;cursor:pointer;border-radius:8px;padding:7px 9px;font:inherit}.wn-button:hover{background:#eef1f3}.wn-model{display:flex;align-items:center;gap:4px;margin-left:auto}.wn-model select{max-width:220px;border:0;background:transparent;font-size:12px}.wn-model button{font-size:11px}.wn-dots{position:absolute;left:8px;top:60px;max-height:65%;overflow:auto;display:flex;flex-direction:column;z-index:3}.wn-dots button{padding:3px;color:#a2aab0;font-size:20px;line-height:20px}.wn-highlight{background:#f2f6f7;border-radius:12px}.wb-shell #view-chat{position:relative}.wn-sections{display:flex;gap:5px;margin:8px 12px}.wn-sections select{max-width:155px;border:1px solid #e3e8eb;border-radius:8px}.wn-section-hidden{display:none!important}.wn-dialog input,.wn-dialog textarea{display:block;width:100%;box-sizing:border-box;border:1px solid #e2e6e8;border-radius:8px;padding:10px;margin:10px 0}.wn-dialog{max-width:580px}.wn-split-pane{width:45%;min-width:280px;display:flex;flex-direction:column;border-left:1px solid #e2e6e8;background:white;z-index:4}.wn-split-pane header{display:flex;justify-content:space-between;padding:12px}.wn-split-pane iframe{border:0;width:100%;flex:1;min-height:0}.wn-split .main>.view{flex:1;min-width:0!important;width:auto!important}.wn-pane .ws-topbar,.wn-pane .ws-sidebar,.wn-pane .ws-rail,.wn-pane .wx-mobile-nav{display:none!important}.wn-pane.wb-shell .main{height:100dvh!important}.wn-pane .main>.view{margin-left:0!important}.wn-pane .wx-heading button{display:none}
@media(max-width:760px){.wn-model{flex:1;min-width:0}.wn-model select{max-width:160px}.wn-dots{left:0}.wn-split .main{flex-direction:column}.wn-split-pane{width:100%;height:46%;min-width:0;border-left:0;border-top:1px solid #ddd}.wn-split .main>.view{max-height:54%}.wn-message-tools{gap:4px}.wn-filters input,.wn-filters select{max-width:calc(50% - 10px);min-width:90px}.wn-library-full .ws-topbar{padding-left:12px!important}.ws-topbar>.wn-button{padding:4px;font-size:12px}.ws-core{display:none}}
.wb-shell .msg{flex-wrap:wrap}.wb-shell .msg>.wn-message-tools{flex:0 0 calc(100% - 42px);margin-left:42px}.wn-model+.send-btn{margin-left:6px!important}
.wn-task-badge{display:inline-flex;vertical-align:middle;align-items:center;margin-left:7px;padding:1px 6px;border-radius:10px;font-size:10px;line-height:17px;font-weight:600;white-space:nowrap;background:#e9eff2;color:#4b6573}.wn-task-badge.running{background:#e6f0ff;color:#315ea8}.wn-task-badge.attention{background:#fff0d4;color:#a45a06}.wn-task-badge.done{background:#e5f4e9;color:#277444}.wn-task-badge.failed{background:#fbe9e8;color:#a7433d}.wn-task-attention{margin-left:auto;border:1px solid #e6aa58;border-radius:10px;background:#fff4df;color:#8c4a00;padding:7px 10px;cursor:pointer;font-size:12px;font-weight:600}.wn-task-attention:hover{background:#ffe9c0}.wn-attention-dialog button{display:block;width:100%;text-align:left;border:0;background:#f6f8fa;border-radius:9px;padding:12px;margin:8px 0;cursor:pointer;color:#263238}.wn-attention-dialog button:hover{background:#e9eff4}.conv-item-title{display:flex;align-items:center;min-width:0}.conv-item-title .wn-task-badge{margin-left:auto}
@media(max-width:760px){.wn-task-attention{font-size:11px;padding:5px 7px;max-width:145px}.wn-task-badge{font-size:9px}}

.wn-library-full .ws-topbar .ws-icon,.wn-library-full .ws-topbar .ws-options-button,.wn-library-full .ws-topbar>.wn-button{display:none!important}.wn-permission{font-size:11px;color:#617178;white-space:nowrap}.wn-library-full .wx-file-row small{overflow-wrap:anywhere}
.wn-permission,.wn-verification{border:0;background:transparent;color:#40526a;font-size:12px;max-width:132px;cursor:pointer}.wn-verification{max-width:136px}.wn-model select{max-width:210px}.wn-model button{white-space:nowrap}
@media(max-width:760px){.wn-library-full .wx-toolbar>input[type=search]{flex:1 0 100%;min-width:100%;box-sizing:border-box}.wn-filters>input[type=search]{flex:0 1 calc(50% - 10px)!important;min-width:90px!important}.wn-permission{margin-left:auto;font-size:10px}}

/* Narrow composer: reserve usable space for the model and keep controls inside it. */
@media(max-width:760px){
 .wb-shell .input-tools .wn-model{flex:1 1 300px;min-width:0;max-width:100%;flex-wrap:wrap;gap:6px}
 .wb-shell .input-tools .wn-model select{flex:1 1 140px;min-width:100px;width:auto;max-width:100%}
 .wb-shell .input-tools .wn-model button{flex:0 0 auto}
 .wb-shell .input-tools>label{flex:0 0 auto;white-space:nowrap}
}

.wn-library-filters .wn-filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:10px;padding:12px 0}.wn-library-filters input,.wn-library-filters select{width:100%;min-width:0;box-sizing:border-box}.wb-download-actions a,.proc-answer a{overflow-wrap:anywhere}#view-mobile-control iframe{min-width:0}

.conv-item-title .wn-conv-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.conv-item-title .wn-task-badge{flex:0 0 auto;max-width:62px;overflow:visible}

.wn-library-simple .ws-sidebar{display:none!important}.wn-library-simple .ws-topbar{margin-left:62px!important;padding-left:24px!important}.wn-library-simple.wb-shell .main>#view-workspace{margin-left:62px!important}@media(max-width:760px){.wn-library-simple .ws-topbar,.wn-library-simple.wb-shell .main>#view-workspace{margin-left:0!important}}

/* 2026-10-22: compact business navigation; chat/mobile/library layouts retained. */
@media(min-width:761px){
 body.wb-shell.ws-business-mode:not(.wn-library-full):not(.wn-library-simple) .ws-sidebar{width:192px;padding-left:8px;padding-right:8px}
 body.wb-shell.ws-business-mode:not(.wn-library-full):not(.wn-library-simple) .ws-topbar{margin-left:262px}
 body.wb-shell.ws-business-mode:not(.wn-library-full):not(.wn-library-simple) .main>.view{margin-left:262px}
 body.wb-shell.ws-business-mode .ws-business-link,body.wb-shell.ws-business-mode .wb-sub-item{padding:9px 10px;font-size:13px}
}
