body.console-shell{--green:#205b4c;--green-dark:#174b3f;--line:#e5e6eb;--ink:#1d2129;background:#f2f3f5;color:#1d2129;font-family:"Microsoft YaHei",system-ui,sans-serif;padding-left:220px!important}
.console-shell .portal-topbar{position:relative;margin-left:-220px;width:calc(100% + 220px);height:60px;min-height:60px;padding:0 24px;background:#fff;border-bottom:1px solid #e5e6eb;box-shadow:none;z-index:25}
.console-shell .brand-symbol{background:#205b4c;border-radius:4px;width:32px;height:32px;font-size:18px}.console-shell .portal-brand strong{font:600 17px "Microsoft YaHei",sans-serif}.console-shell .portal-brand small{display:none}
#consoleNav{position:fixed;left:0;top:60px;bottom:0;width:220px;padding:20px 12px;background:#fff;border-right:1px solid #e5e6eb;display:flex;flex-direction:column;gap:5px;z-index:20}
#consoleNav a,#consoleNav button{display:block;text-align:left;padding:10px 16px;border:0;border-radius:3px;background:transparent;color:#4e5969;text-decoration:none;font:14px/1.6 "Microsoft YaHei",sans-serif;cursor:pointer}#consoleNav a.active{background:#e8f2ed;color:#205b4c}#consoleNav a:hover,#consoleNav button:hover{background:#f2f3f5}.console-group{font-size:11px;color:#86909c;padding:0 16px 10px}#consoleAccount{margin-top:auto;border-top:1px solid #e5e6eb;padding-top:12px;font-size:12px}
.console-shell #historySidebar{display:none!important}.console-shell.console-history-open #historySidebar{display:flex!important;position:fixed;left:220px;top:60px;width:300px;height:calc(100dvh - 60px);z-index:24;background:white;border:1px solid #e5e6eb;box-shadow:8px 0 24px #0001}.console-shell #historyResize{display:none!important}
.console-shell .launcher{padding:24px}.console-shell .launcher-layout{grid-template-columns:minmax(300px,.8fr) minmax(0,1.5fr);gap:20px}.console-shell .launcher-assistant,.console-shell .project-hub,.console-shell .capability-card,.console-shell .module-panel>section{border-radius:4px;box-shadow:none;border:1px solid #e5e6eb;background:#fff}
.console-shell h1,.console-shell h2,.console-shell h3{font-family:"Microsoft YaHei",system-ui,sans-serif;letter-spacing:0}.console-shell h1{font-size:24px}.console-shell h2{font-size:19px}.console-shell .workspace-main{padding:24px;min-width:0}.console-shell .workspace-header{margin-bottom:18px}.console-shell .workspace-header h1{font-size:24px}.console-shell .workspace-header p{font-size:13px}
.console-shell .capability-workspace{grid-template-columns:minmax(310px,38%) minmax(0,1fr)}.console-shell.console-knowledge .capability-workspace{grid-template-columns:minmax(0,1.6fr) minmax(340px,1fr)}
.console-shell .workspace-side{border-right:1px solid #e5e6eb;background:#fff;min-width:0}.console-shell .portal-chat-bubble,.console-shell .launcher-chat-bubble{border-radius:6px;box-shadow:none}.console-shell .portal-message-list{padding:20px}.console-shell .portal-chat-header{padding:18px}.console-shell .portal-chat-navigation{display:none}
.console-shell .module-panel,.console-shell .workspace-main{max-width:100%;overflow-wrap:anywhere}.console-shell .knowledge-panel{padding:20px}.console-shell input,.console-shell select,.console-shell textarea{border-radius:3px}.console-shell .eyebrow{font-size:10px;color:#86909c}
@media(max-width:1000px){body.console-shell{padding-left:0!important}.console-shell .portal-topbar{margin-left:0;width:100%;padding:0 14px}#consoleNav{position:static;width:100%;flex-direction:row;flex-wrap:wrap;padding:10px}#consoleNav .console-group{display:none}#consoleAccount{margin:0;padding:0;border:0}.console-shell.console-history-open #historySidebar{left:0;width:min(320px,90vw)}.console-shell.console-knowledge .capability-workspace,.console-shell .capability-workspace,.console-shell .launcher-layout{grid-template-columns:minmax(0,1fr)}.console-shell .launcher{padding:14px}.console-shell .workspace-side{height:65dvh;min-height:400px}.console-shell .workspace-main{padding:16px}.console-shell .topbar-center{display:none}}

.console-shell.console-knowledge .capability-workspace{grid-template-columns:minmax(0,1.6fr) minmax(340px,1fr)}@media(max-width:1000px){.console-shell.console-knowledge .capability-workspace{grid-template-columns:minmax(0,1fr)!important}}

.console-shell #allFunctionsBtn{display:none!important}.console-shell .portal-brand{cursor:default}.console-shell .capability-workspace{margin-top:20px;min-height:0}.console-shell .module-identity-icon,.console-shell .portal-chat-attach-button{background:#e8f2ed;color:#205b4c}.console-shell .portal-chat-composer,.console-shell .portal-chat-quick-actions{background:#fff}.console-shell #modulePanel button{background:#e8f2ed;border:1px solid #b9d5c6;color:#205b4c;border-radius:3px}.console-shell .status-badge{background:#f2f3f5;color:#86909c}.console-shell .module-panel>section{padding:24px}

/* Keep the established green grouped navigation.  The two hybrid-analysis
   links deliberately use the same unboxed row treatment as their siblings. */
#consoleNav{overflow-y:auto;padding:12px 10px;gap:10px;background:#f7faf8}
#consoleNav .console-nav-group{flex-shrink:0;margin:0;padding:6px;border:1px solid #c9ddd2;border-radius:10px;background:#e8f1ec;box-shadow:none}
#consoleNav .console-group{display:block;margin:0 0 4px;padding:8px 10px;font:600 13px/20px "Microsoft YaHei",sans-serif;color:#295b4d;border-bottom:1px solid #c9ddd2;cursor:default}
#consoleNav a,#consoleNav button{box-sizing:border-box;display:flex;align-items:center;min-height:44px;margin:0;padding:10px;border-radius:6px;font:400 13px/24px "Microsoft YaHei",sans-serif;color:#294c41;text-decoration:none;overflow-wrap:anywhere}
#consoleNav .console-nav-group a{min-height:44px;padding:10px 8px;font-size:13px;line-height:24px;border:0;background:transparent;box-shadow:none}
#consoleNav>a,#consoleNav>button{padding:9px 10px;flex-shrink:0;border:1px solid #c9ddd2;background:#e8f1ec}
#consoleNav a.active{background:#205b4c;color:#fff;font-weight:600;box-shadow:0 2px 4px #174b3f18}
#consoleNav a:hover,#consoleNav button:hover{background:#d5e7dc;color:#174b3f}
#consoleNav .console-nav-group a[href="#/f1_image"],#consoleNav .console-nav-group a[href="#/parent_recommendation"]{border:0;background:transparent;box-shadow:none}
#consoleNav a.active:hover{background:#174b3f;color:#fff}
#consoleNav a:focus-visible,#consoleNav button:focus-visible{outline:2px solid #205b4c;outline-offset:2px}
#consoleAccount{flex-shrink:0;margin-top:auto;padding:10px 4px 0}
@media(max-width:1000px){#consoleNav{gap:8px}#consoleNav .console-nav-group{width:100%;display:flex;flex-wrap:wrap;gap:4px;padding:6px}#consoleNav .console-group{display:block;flex-basis:100%;padding:6px 8px}#consoleNav>footer{width:100%}}

/* The conversation is a persistent middle workspace for every module. */
.console-shell .capability-workspace{grid-template-columns:minmax(320px,38%) minmax(0,1fr)}
.console-shell .gs-workspace-mode{display:grid;grid-template-columns:minmax(320px,38%) minmax(0,1fr)}
.console-shell .gs-workspace-mode .workspace-side{display:flex}
@media(max-width:1000px){.console-shell .gs-workspace-mode{display:block}.console-shell .gs-workspace-mode .workspace-side{display:flex}}

/* The console header is in normal flow; do not reserve a second header above main. */
body.console-shell{--topbar:60px}
body.console-shell>main{padding-top:0;min-height:calc(100dvh - 60px)}
body.console-shell .capability-workspace{margin-top:0}
body.console-shell .gs-workspace-mode>.workspace-main{padding:0;height:100%;min-height:0}
@media(min-width:1001px){
 body.console-shell.training-workspace{height:100dvh;overflow:hidden;display:flex;flex-direction:column}
 body.console-shell.training-workspace>.portal-topbar{flex:0 0 60px}
 body.console-shell.training-workspace>main{flex:1;min-height:0;overflow:hidden}
 body.console-shell.training-workspace .gs-workspace-mode{height:100%;min-height:0;margin:0}
 body.console-shell.training-workspace>p{flex:0 0 auto;margin:0;padding:6px 12px!important;font-size:11px!important;line-height:16px}
}
