@charset "UTF-8";.history-list{height:100%;color:var(--df-color-text-strong);display:flex;flex-direction:column;padding:0 20px;box-sizing:border-box;overflow:hidden;position:relative}
.unexpand{position:absolute;top:0;left:0;height:40px;border-radius:8px;opacity:1;display:flex;flex-direction:row;align-items:center;padding:4px 8px;gap:4px;cursor:pointer;background:var(--df-color-fill);box-sizing:border-box;border:1.2px solid var(--df-color-fill-dim);backdrop-filter:blur(32px)}
.unexpand .title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:148px;font-size:14px;font-weight:600;letter-spacing:0px;font-variation-settings:"opsz" auto;color:var(--df-color-text-strong)}
.unexpand .divider{width:1px;height:16px;margin-left:12px;margin-right:12px;background-color:var(--df-color-border-divider)}
.unexpand .expand-icon-container{cursor:pointer;height:24px;width:16px;line-height:24px}
.header{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}
.header .page-title{font-family:PingFang SC;font-size:16px;font-weight:600;letter-spacing:0px;font-variation-settings:"opsz" auto;color:var(--df-color-text-strong)}
.header .expand-icon-container{cursor:pointer}
.action-area{display:flex;flex-direction:column;gap:12px;margin-bottom:12px}
.action-area .new-chat-btn{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;height:32px;border-radius:4px;box-sizing:border-box;border:1px solid var(--df-color-text-strong);font-size:12px;font-weight:600;color:var(--df-color-text-strong)}
.action-area .new-chat-btn:hover{background-color:var(--df-color-fill)}
.action-area .new-chat-btn .plus-icon{font-size:20px;font-weight:300;margin-right:8px}
.action-area .search-box{display:flex}
.action-area .search-box .search-input{box-sizing:border-box;height:32px}
.action-area .search-box .close-btn{width:32px;margin-left:12px}
.history-container{flex:1;overflow-y:auto;overflow-x:hidden;display:flex;flex-direction:column;gap:12px}
.history-container::-webkit-scrollbar{width:6px}
.history-container::-webkit-scrollbar-track{background:transparent}
.history-container::-webkit-scrollbar-thumb{background:var(--df-color-border);border-radius:3px}
.history-container::-webkit-scrollbar-thumb:hover{background:var(--df-color-border-strong)}
.history-card{box-sizing:border-box;display:flex;padding:8px 12px 8px 8px;width:100%;height:64px;border-radius:8px;align-items:flex-start;opacity:1;cursor:pointer}
.history-card:hover,.history-card.active{background:var(--df-color-fill)}
.history-card .card-thumbnail{flex-shrink:0;width:32px;height:32px;border-radius:4px;display:flex;align-items:center;justify-content:center;overflow:hidden;background-color:var(--df-color-surface-input);font-size:16px}
.history-card .card-thumbnail img{width:100%;height:100%;object-fit:cover}
.history-card .card-thumbnail .thumbnail-placeholder{width:100%;height:100%;display:flex;align-items:center;justify-content:center;color:var(--df-color-text-muted)}
.history-card .card-thumbnail .thumbnail-placeholder svg{width:24px;height:24px;fill:currentColor}
.history-card .card-content{flex:1;min-width:0;display:flex;flex-direction:column;margin-left:8px;color:var(--df-color-text)}
.history-card .card-content .card-header{display:flex;justify-content:space-between;align-items:flex-start}
.history-card .card-content .card-header .card-title{margin:0;flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;opacity:1;font-family:PingFang SC;font-size:14px;font-weight:400;line-height:14px;letter-spacing:0px;font-variation-settings:"opsz" auto;color:var(--df-color-text)}
.history-card .card-content .card-header .more-btn{flex-shrink:0;background:transparent;border:none;color:var(--df-color-text-secondary);cursor:pointer;width:14px;height:14px}
.history-card .card-content .card-header .more-btn svg{font-size:12px}
.history-card .card-content .card-stats{display:flex;gap:8px;height:17px;align-items:center}
.history-card .card-content .card-stats .stat-item{display:flex;align-items:center;gap:4px}
.history-card .card-content .card-stats .stat-item .stat-icon{font-size:12px;color:var(--df-color-text-secondary)}
.history-card .card-content .card-stats .stat-item .stat-value{font-size:12px;color:var(--df-color-text-secondary)}
.history-card .card-content .card-info{display:flex;height:17px;justify-content:space-between;align-items:center;font-size:12px;font-variation-settings:"opsz" auto;color:var(--df-color-text-faint)}
.history-card .card-content .card-info .card-user{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:100px}
.history-card-narrow{height:48px}
.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:115px 20px 60px;text-align:center}
.empty-state .empty-icon{font-size:24px;color:var(--df-color-text-secondary)}
.empty-state .empty-text{font-size:12px;font-weight:400;line-height:normal;letter-spacing:0px;color:var(--df-color-text-secondary)}
.popover-item{height:34px;display:flex;flex-direction:row;align-items:center;gap:4px;z-index:1;padding-left:16px;cursor:pointer}
.popover-item:hover{background-color:var(--df-color-fill)}
.history-rename-dialog{background:var(--df-color-surface-sunken)}
.history-rename-dialog .el-dialog__header{background:var(--df-color-surface-sunken);border-bottom:1px solid var(--df-color-border)}
.history-rename-dialog .el-dialog__body{background:var(--df-color-surface-sunken);padding:20px 24px}
.history-rename-dialog .history-rename-form .el-form-item{margin-bottom:0}
.history-rename-dialog .history-rename-form .el-input__wrapper{background:var(--df-color-surface-input)!important;box-shadow:0 0 0 1px var(--df-color-border-strong) inset!important}
.history-rename-dialog .history-rename-form .el-input__wrapper:hover{box-shadow:0 0 0 1px var(--df-color-text-muted) inset!important}
.history-rename-dialog .history-rename-form .el-input__wrapper.is-focus{box-shadow:0 0 0 1px var(--df-color-primary) inset!important}
.history-delete-dialog{background:var(--df-color-surface-sunken)}
.history-delete-dialog .el-dialog__header{display:none}
.history-delete-dialog .el-dialog__body{padding:24px 24px 20px;background:var(--df-color-surface-sunken)}
.history-delete-dialog .el-dialog__footer{padding:0 24px 24px;border-top:0px solid var(--df-color-border);background:var(--df-color-surface-sunken)!important}
.history-delete-dialog .delete-dialog-content .delete-dialog-title{font-family:PingFang SC;font-size:18px;font-weight:600;line-height:24px;color:var(--df-color-text-strong);margin-bottom:16px}
.history-delete-dialog .delete-dialog-content .delete-dialog-body .delete-dialog-text{font-family:PingFang SC;font-size:14px;line-height:22px;color:var(--df-color-text-secondary);margin-bottom:8px}
.history-delete-dialog .delete-dialog-content .delete-dialog-body .delete-dialog-text.delete-dialog-warning{color:var(--df-color-danger)}
.history-delete-dialog .delete-dialog-footer{display:flex;justify-content:flex-end}
.history-delete-dialog .delete-dialog-footer .delete-dialog-cancel{background:transparent;border:1px solid var(--df-color-border-strong);color:var(--df-color-text-secondary);border-radius:6px;padding:8px 24px;height:36px}
.history-delete-dialog .delete-dialog-footer .delete-dialog-cancel:hover{border-color:var(--df-color-text-muted);color:var(--df-color-text-strong)}
.history-delete-dialog .delete-dialog-footer .delete-dialog-confirm{background-color:var(--df-color-danger);border-color:var(--df-color-danger);color:var(--df-color-text-strong);border-radius:6px;padding:8px 24px;height:36px}
.history-delete-dialog .delete-dialog-footer .delete-dialog-confirm:hover{background-color:var(--df-color-danger-hover);border-color:var(--df-color-danger-hover)}
.history-delete-dialog .delete-dialog-footer .delete-dialog-confirm:active{background-color:var(--df-color-danger-deep);border-color:var(--df-color-danger-deep)}
.dialog-footer-right{padding-top:16px;display:flex;justify-content:flex-end}
.filter-wrap{display:flex;align-items:center;justify-content:space-between;height:32px;border-radius:8px;opacity:1;padding:4px 8px;gap:4px;box-sizing:border-box;border:1px solid var(--df-color-fill)}
.filter-wrap .search{width:30px;font-size:12px;color:var(--df-color-text);cursor:pointer;text-align:center}
.filter-wrap .has-search{color:var(--el-color-primary)}
.filter-wrap .divider{width:1px;height:12px;background-color:var(--df-color-border-strong)}
.popover-trigger{display:flex;align-items:center;justify-content:center;height:32px;opacity:1;width:78px;height:20px;gap:4px;font-size:12px;font-variation-settings:"opsz" auto;color:var(--df-color-text);cursor:pointer}
.trigger-label{color:var(--df-color-text-strong);font-size:14px}
.popover-content{display:flex;flex-direction:column;gap:0px;padding:0}
.popover-item,.popover-title{display:flex;align-items:center;font-size:12px;cursor:pointer;border-radius:0;transition:all .2s ease;color:var(--df-color-text);height:41px;padding:0 12px;gap:6px}
.popover-title{color:var(--df-color-text-muted)}
.popover-item:hover,.popover-item.active{background:var(--df-color-fill-strong);font-weight:600;color:var(--df-color-text)}
.el-popover.history-popover-no-padding{padding:0!important;width:84px!important;min-width:84px!important}
.el-popper.search-popover{padding:0!important;border-radius:8px!important}
.main-container{flex-direction:column;font-family:Helvetica Neue,Helvetica,PingFang SC,sans-serif;position:relative;height:calc(100vh - 132px);overflow-y:hidden;display:flex;z-index:1;border-radius:8px;overflow:hidden}
.page-title{font-size:28px;color:var(--df-color-text-on-card);font-weight:600;margin:0 0 40px;text-align:center}
.gallery-container{width:100%;overflow:hidden;padding:20px 0}
.gallery{display:flex;flex-direction:row;align-items:center;overflow:hidden;margin-top:20px;gap:16px;position:relative}
.gallery-scroll{display:flex;flex-direction:row;gap:20px;overflow-x:auto;scrollbar-width:none;-ms-overflow-style:none;scroll-behavior:smooth;border-radius:12px}
.gallery-scroll::-webkit-scrollbar{display:none}
/* 模板卡同心：外 16 = 内缩略图 4 + 边距 12 */
.gallery-card{width:calc((100% - 60px)/4);min-width:200px;height:88px;border-radius:16px;display:flex;flex-direction:row;align-items:center;padding:12px;gap:12px;flex-grow:1;cursor:pointer;background:var(--df-color-surface);z-index:1;flex-shrink:0;transition:background .2s ease;box-sizing:border-box}
.gallery-card:hover{background:linear-gradient(0deg,var(--df-color-surface-raised),var(--df-color-surface-raised)),var(--df-color-surface)}
.card-image{width:48px;height:48px;border-radius:4px;background-color:var(--df-color-surface-input);flex-shrink:0;position:relative;overflow:hidden}
.card-image img{width:100%}
.card-image .video-img{position:absolute;left:17px;bottom:17px;width:14px;height:14px}
.card-image .video-img img{width:100%;height:100%}
.card-text{display:flex;flex-direction:column;justify-content:center;flex:1;min-width:0}
.card-title{font-size:14px;font-weight:600;line-height:24px;letter-spacing:0em;font-variation-settings:"opsz" auto;color:var(--df-color-text-strong);margin:0 0 4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.card-desc{font-size:12px;color:var(--df-color-text-strong);margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.arrow-btn-wrapper{position:absolute;top:0;bottom:0;width:53px;padding:4px;display:flex;align-items:center;justify-content:center;z-index:10;pointer-events:none}
.arrow-btn-wrapper.prev{justify-content:flex-start;left:0;border-radius:12px 0 0 12px;background:linear-gradient(to right,var(--df-color-gallery-fade) 5%,transparent)}
.arrow-btn-wrapper.next{justify-content:flex-end;right:0;border-radius:0 12px 12px 0;background:linear-gradient(to left,var(--df-color-gallery-fade) 5%,transparent)}
.arrow-btn{width:28px;height:28px;border-radius:14px;display:flex;justify-content:center;align-items:center;background:var(--df-color-fill-strong);cursor:pointer;font-size:14px;color:var(--df-color-text-strong);pointer-events:auto;flex-shrink:0}
.main-wrap{display:flex;box-sizing:border-box;margin:0 auto;height:calc(100vh - 132px);position:relative;width:100%}
.main-wrap .right-container{display:flex;flex:1;height:100%;justify-content:center;overflow:hidden;width:100%}
.main-wrap .right{display:flex;flex-direction:column;position:relative;height:100%;padding:0 29px 0 40px;justify-content:center}
/* 对标线上 conversation padding-bottom:15px；底栏免责声明绝对定位，sender 留出其高度避免压住表单 */
.main-wrap .right .right-conversation{width:100%;flex:1;padding:0 0 15px;overflow-y:scroll;scrollbar-width:none;margin-top:0}
.main-wrap .right .right-sender{padding:0 0 53px}
.main-wrap .right-bg{background-image:url(assets/workshop-bg-CBLFSPOD.png);background-size:cover;background-position:center;background-repeat:no-repeat}
.main-wrap .left{width:0;box-sizing:border-box;transition:width .3s ease-in-out,opacity .2s ease;overflow:hidden;opacity:1}
.main-wrap .left.is-pending{opacity:0;pointer-events:none}
.main-wrap .left.show-settings{margin-top:24px;width:280px;box-sizing:border-box;border-width:0px 1px 0px 0px;border-style:solid;border-color:var(--df-color-fill)}
.main-wrap .left.left-fixed{position:fixed;left:100px;top:80px;width:224px;height:40px;z-index:9999}

