/* 061A: left Xiaobei master rail + right compact cards. */
.app.left-chat-layout{grid-template-rows:minmax(0,1fr);gap:0;padding:10px;}
.app.left-chat-layout .topbar{position:absolute;left:14px;right:14px;top:10px;min-height:50px;padding:7px 12px;border-radius:18px;z-index:10;}
.app.left-chat-layout .topbar .brand small{font-size:10.8px;}
.app.left-chat-layout .topbar .mark{width:32px;height:32px;border-radius:12px;}
.app.left-chat-layout .global-nav{justify-content:flex-start;}
.app.left-chat-layout .nav-tab{padding:5px 6px;font-size:11.5px;}
.app.left-chat-layout .top-actions .btn.ghost{display:none;}
.app.left-chat-layout .top-actions .btn.primary{min-height:30px;padding:6px 10px;font-size:11.5px;}
.app.left-chat-layout .chip{min-height:28px;padding:5px 9px;font-size:11px;}
.app.left-chat-layout .workbench{height:100vh;grid-template-columns:clamp(400px,32vw,520px) minmax(760px,1fr)!important;gap:12px;padding-top:60px;overflow:hidden;}
.app.left-chat-layout .chat-panel{display:grid!important;grid-template-rows:auto auto minmax(0,1fr) auto!important;border-radius:20px;min-width:380px;}
.app.left-chat-layout .chat-head{min-height:46px;padding:9px 12px;}
.app.left-chat-layout .chat-head b{font-size:18px;}
.app.left-chat-layout .chat-status{padding:7px 12px;}
.app.left-chat-layout .context-line{font-size:12px;line-height:1.45;}
.app.left-chat-layout .chat-stream{min-height:0;height:100%;padding:10px 12px!important;gap:8px!important;overflow:auto;align-content:start;}
.app.left-chat-layout .msg{gap:7px!important;}
.app.left-chat-layout .avatar{width:28px!important;height:28px!important;border-radius:10px!important;font-size:10px!important;}
.app.left-chat-layout .bubble{padding:8px 10px!important;border-radius:12px!important;font-size:12.3px!important;line-height:1.55!important;box-shadow:none!important;}
.app.left-chat-layout .inline-card{display:none!important;}
.xb-rail-actions{padding:9px 12px;border-bottom:1px solid rgba(22,132,111,.1);background:rgba(250,253,248,.74);}
.xb-rail-actions-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px;color:#173e36;font-size:12px;font-weight:900;}
.xb-chip-row{display:flex;flex-wrap:wrap;gap:6px;}
.xb-chip-row button{border:1px solid rgba(22,132,111,.16);background:#fff;border-radius:999px;color:#1c6257;font-size:11.5px;font-weight:900;padding:5px 8px;cursor:pointer;}
.xb-rail-files{padding:8px 12px;border-bottom:1px solid rgba(22,132,111,.1);background:rgba(255,253,248,.86);}
.xb-rail-files-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px;color:#536b63;font-size:11.5px;font-weight:900;}
.xb-rail-files .file-chip{font-size:11px;padding:4px 7px;}
.app.left-chat-layout .composer{align-self:end;position:static!important;border:0;border-top:1px solid rgba(22,132,111,.12);border-radius:0;background:rgba(255,253,248,.96);box-shadow:none;backdrop-filter:none;padding:8px 10px;z-index:auto;}
.app.left-chat-layout .compose-box{border-radius:14px;box-shadow:none;}
.app.left-chat-layout .composer textarea{min-height:54px;max-height:92px;padding:9px 10px 4px;font-size:12.5px;}
.app.left-chat-layout .composer .upload-strip{display:none;}
.app.left-chat-layout .composer .quick-prompt-row{display:none;}
.app.left-chat-layout .compose-bottom{padding:6px 8px;border-top:1px solid rgba(22,132,111,.08);}
.app.left-chat-layout .upload-btn{width:30px;height:30px;border-radius:11px;font-size:17px;}
.app.left-chat-layout .send-icon-btn{width:34px;height:30px;border-radius:11px;}
.app.left-chat-layout .settings-panel.show{display:flex;max-height:86px;overflow:auto;}
.app.left-chat-layout .stage{border-radius:20px;}
.app.left-chat-layout .stage-head{padding:9px 12px;min-height:46px;}
.app.left-chat-layout .stage-head h2{font-size:17px;}
.app.left-chat-layout .component-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;padding:10px!important;}
.app.left-chat-layout .component{padding:10px!important;border-radius:12px!important;box-shadow:none!important;}
.app.left-chat-layout .component.featured{grid-column:1/-1;}
.app.left-chat-layout .component-head{margin-bottom:6px;gap:8px;}
.app.left-chat-layout .component h3{font-size:14px;margin-top:2px;}
.app.left-chat-layout .component p{font-size:12px;line-height:1.5;}
.app.left-chat-layout .pill{min-height:19px;padding:3px 7px;font-size:10.5px;}
.app.left-chat-layout .list{gap:0;margin-top:8px;border-top:1px solid rgba(22,132,111,.12);}
.app.left-chat-layout .row{border:0;border-bottom:1px solid rgba(22,132,111,.1);border-radius:0;background:transparent;padding:7px 2px;grid-template-columns:minmax(0,1fr) auto;}
.app.left-chat-layout .row strong{font-size:12.5px;}
.app.left-chat-layout .row small{font-size:11.3px;}
.app.left-chat-layout .two{display:grid;grid-template-columns:1fr;gap:0;border-top:1px solid rgba(22,132,111,.12);}
.app.left-chat-layout .box{border:0;border-bottom:1px solid rgba(22,132,111,.1);border-radius:0;background:transparent;padding:8px 2px;}
.app.left-chat-layout .box.candidate{background:rgba(255,247,228,.45);}
.app.left-chat-layout .component-actions{justify-content:flex-end;gap:6px;margin-top:8px;}
.app.left-chat-layout .component-actions .btn{min-height:28px;padding:5px 9px;font-size:11.5px;}
.app.left-chat-layout .resource-grid{grid-template-columns:1fr;gap:0;margin-top:8px;border-top:1px solid rgba(22,132,111,.12);}
.app.left-chat-layout .resource{border:0;border-bottom:1px solid rgba(22,132,111,.1);border-radius:0;background:transparent;padding:7px 2px;}
.app.left-chat-layout .docx-preview-group,.app.left-chat-layout .export-confirm-row,.app.left-chat-layout .docx-preview-item,.app.left-chat-layout .package-preview-item{border-radius:0!important;box-shadow:none!important;}
.app.left-chat-layout .docx-preview-list,.app.left-chat-layout .package-preview-grid{gap:0!important;}
.app.left-chat-layout .docx-preview-item,.app.left-chat-layout .package-preview-item{border-left:0!important;border-right:0!important;border-top:0!important;border-bottom:1px solid rgba(22,132,111,.1)!important;background:transparent!important;padding:7px 2px!important;}
.app.left-chat-layout .export-confirm-list{gap:0!important;border-top:1px solid rgba(22,132,111,.12);}
.app.left-chat-layout .export-confirm-row{border-left:0!important;border-right:0!important;border-top:0!important;border-bottom:1px solid rgba(22,132,111,.1)!important;background:transparent!important;padding:7px 2px!important;}
.app.left-chat-layout .package-preview-status,.app.left-chat-layout .export-confirm-note,.app.left-chat-layout .ui-flow-note,.app.left-chat-layout .ui-decision-result{border-radius:8px!important;padding:8px 9px!important;font-size:12px!important;}
.app.left-chat-layout .layout-mode-switch{display:none!important;}
.app.left-chat-layout .layout-note{display:none!important;}
.app.left-chat-layout .layout-node-strip{display:none!important;}
@media(max-width:1240px){.app.left-chat-layout .workbench{grid-template-columns:380px minmax(0,1fr)!important}.app.left-chat-layout .component-grid{grid-template-columns:1fr!important;}}
@media(max-width:900px){.app.left-chat-layout{height:auto;overflow:auto}.app.left-chat-layout .topbar{position:static}.app.left-chat-layout .workbench{height:auto;grid-template-columns:1fr!important;padding-top:0}.app.left-chat-layout .chat-panel{min-width:0}.app.left-chat-layout .stage{min-height:560px}.app.left-chat-layout .composer{position:sticky!important;bottom:0}}
