@charset "UTF-8";.file-audio{--play-color: var(--fg-2);position:relative;background:var(--button-bg-default);border-radius:8px}.file-audio:before{content:"";display:block;width:100%;padding-top:100%}.file-audio-play,.file-audio-icon,.file-audio-time{position:absolute;z-index:1}.file-audio-play,.file-audio-icon{top:50%;left:50%;transform:translate(-50%,-50%)}.file-audio-play{top:50%;left:50%;transform:translate(-50%,-50%);width:42px;height:42px;border-radius:50%;line-height:42px;text-align:center;opacity:0;z-index:2;transition:all .15s;background-color:var(--button-bg-default);color:var(--fg-7)}.file-audio-play .iconfont{font-size:22px}.file-audio-icon{color:var(--play-color);font-size:24px}.file-audio:hover .file-audio-play{opacity:1}.file-audio:hover .file-audio-icon{opacity:0}.file-audio-time{right:5px;bottom:5px;font-size:12px;color:var(--fg-3)}.file-audio-waves{position:absolute;pointer-events:none;bottom:0;left:0;width:100%;height:100%;display:flex;justify-content:space-around;align-items:end}.file-audio-wave{height:20%;background:linear-gradient(to top,rgba(255,255,255,.5),transparent);width:5px;opacity:0}@keyframes file-audio-waving{0%,to{height:20%;opacity:1}50%{height:50%;opacity:1}}.file-video{position:relative;background:var(--button-bg-default);border-radius:8px}.file-video:before{content:"";display:block;width:100%;padding-top:100%}.file-video-media{position:absolute;object-fit:contain;top:0;left:0;width:100%;height:100%;z-index:1}.file-video-play,.file-video-time{position:absolute;z-index:1}.file-video-play{top:50%;left:50%;transform:translate(-50%,-50%);width:42px;height:42px;border-radius:50%;background-color:var(--button-bg-default);color:var(--fg-7);line-height:42px;text-align:center;opacity:0;z-index:2;transition:all .15s}.file-video-play .iconfont{font-size:22px}.file-video:hover .file-video-play{opacity:1}.file-video-time{right:5px;bottom:5px;font-size:12px;color:var(--fg-3)}.file-view{position:relative;box-sizing:border-box}.file-view img{object-fit:cover}.file-view video{object-fit:contain}.file-view img,.file-view video,.file-view audio{outline:none;max-width:100%}.file-view pre{overflow:auto;width:100%;box-sizing:border-box;margin:0;background:var(--fg-0);border-radius:8px;color:var(--fg-7);font-size:12px;line-height:1.1}.file-view pre::-webkit-scrollbar{width:0;height:0}.file-view-square:before{content:"";display:block;padding-top:100%;width:100%;pointer-events:none}.file-view-square .file-view-inner{position:absolute;width:100%;height:100%;top:0;left:0}.file-view.error:after{content:"加载失败";position:absolute;width:100%;height:100%;left:0;top:0;display:flex;align-items:center;justify-content:center;background:var(--fg-0);color:var(--fg-2);font-size:14px;border-radius:8px}.file-view.error .file-view-inner{display:none}.tools{white-space:nowrap}.tool{vertical-align:middle;height:24px;padding:0 3px}.upload{border:1px solid var(--input-border-default);border-radius:4px;height:32px;min-width:36px;max-width:50%;position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden;box-sizing:border-box;outline:none}.upload-icon{position:absolute;text-align:center;left:50%;top:50%;transform:translate(-50%,-50%)}.upload-icon:before{color:var(--fg-5);font-size:16px}.upload .icon-video:before,.upload .icon-audio:before{color:var(--brand-default)}.upload:hover{border-color:var(--input-border-hover)}.upload:hover .upload-icon{color:var(--fg-9)}.upload:active{opacity:.8}.upload-thumb{display:block;max-height:36px;width:100%;height:100%;object-fit:cover;padding:2px;box-sizing:border-box;border-radius:inherit;border-radius:6px}.upload-img{max-width:300px;max-height:300px;object-fit:contain}.upload-filename{margin-left:4px;word-break:break-all;flex:1;overflow:hidden;text-overflow:ellipsis;color:var(--fg-2, rgba(255, 255, 255, .3));font-size:12px;white-space:nowrap}.upload-tools{position:absolute;right:0;top:0;display:none}.upload:hover .upload-tools{display:block}.upload-tool{width:24px;height:24px;display:inline-flex;align-items:center;justify-content:center;color:var(--fg-2, rgba(255, 255, 255, .3))}.upload-tool:hover{color:var(--fg-9)}.upload-loading{position:absolute;width:100%;height:100%;display:flex;justify-content:center;align-items:center;opacity:.5;animation:rotating 2s linear infinite}.upload-percent{position:absolute;width:100%;height:100%;font-size:12px;background-color:var(--fg-invert-5);color:var(--fg-7);display:flex;align-items:center;justify-content:center;overflow:hidden;white-space:nowrap}.upload-placeholder{display:block;width:100%;text-align:center;font-size:14px;color:var(--fg-2)}.upload-input{position:fixed;z-index:-1;opacity:0;width:0;height:0;display:block}.bool-switch,.bool-tab{height:28px;line-height:28px;display:inline-block;border-radius:var(--button-bradius, 8px);text-align:center;font-size:14px;color:var(--fg-3, rgba(255, 255, 255, .51));cursor:pointer;user-select:none;box-sizing:border-box}.bool-switch:hover,.bool-tab:hover{background:var(--button-bg-hover, rgba(255, 255, 255, .12))}.bool-switch.active,.bool-tab.active{background:var(--button-bg-segment-on-default, rgba(255, 255, 255, .08));color:var(--fg-6, rgba(255, 255, 255, .97));box-shadow:0 1px 1px rgba(255,255,255,.1) inset}.bool-switch.active:hover,.bool-tab.active:hover{background:var(--button-bg-segment-on-default, rgba(255, 255, 255, .12))}.bool-switch{width:100%}.bool-tab{height:28px;line-height:28px;width:calc(50% - 1px)}.bool-tab:first-child{margin-right:2px}.txtarea{color:var(--fg-9);border:1px solid var(--input-border-default);background:var(--input-bg-default);overflow:auto;outline:none;position:relative}.txtarea:empty:before{content:attr(placeholder);color:var(--input-placeholder, var(--fg-3));position:absolute;top:0;bottom:0;display:flex;align-items:center}.txtarea:hover{background:var(--input-bg-hover);border-color:var(--input-border-hover)}.txtarea:focus{background:var(--input-bg-selected);border-color:var(--input-border-selected)}.txtarea[disabled=true]{background:var(--input-bg-disabled);border-color:var(--input-border-disabled);color:var(--fg-3);cursor:not-allowed}.input-var{background-color:var(--input-bg-default);border:1px solid var(--input-border-default);border-radius:8px;min-height:32px;box-sizing:border-box;font-size:0;position:relative;overflow:hidden;flex:1;white-space:nowrap;outline:none}.input-var:hover{border-color:var(--input-border-hover);background-color:var(--input-bg-hover)}.input-var:focus,.input-var:focus-within{border-color:var(--input-border-selected)}.input-var div.bool{background-color:transparent;height:30px;border:0}.input-var .upload{width:22px;height:22px;top:4px;left:5px;max-width:22px;min-width:22px;position:absolute;border:0}.input-var .upload img{width:100%;height:100%;object-fit:cover}.input-var[is-tag=true]{padding:0 8px}.input-var[is-tag=true]:before{content:"";position:absolute;width:100%;height:100%;opacity:0;top:0;left:0;z-index:1}.input-var[is-tag=true] .bool{display:inline-block;width:28px;font-size:0}.input-var[is-tag=true] .bool-switch{margin-top:3px;height:24px;width:24px;line-height:24px}.input-var[is-tag=true] .upload{position:relative;left:0;display:inline-flex;margin-right:4px}.input-var[is-tag=true] .tag{margin-right:4px;margin-top:4px}.input-var[is-tag=true] .nowrap-1{display:block;max-width:5em;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.input-var-filename{-webkit-appearance:none;appearance:none;display:block;padding-left:32px;height:30px;width:100%;border:0;outline:none;background:transparent;box-sizing:border-box;color:var(--fg-5)}.input-var-textarea{outline:none;-webkit-appearance:none;appearance:none;width:100%;min-height:30px;border:0!important;padding:5px 8px;box-sizing:border-box;background:transparent;line-height:20px;position:relative;max-height:100px;resize:none;overflow:auto;color:var(--fg-9);font-size:14px}.input-var-textarea::-webkit-scrollbar{opacity:0;background:transparent;border:0;width:0;height:0}.input-var-btn{height:24px;position:absolute;right:4px;top:3px;border-radius:8px;color:var(--fg-3, rgba(255, 255, 255, .35));visibility:hidden;padding:0 5px;z-index:2}.input-var:hover .input-var-btn{visibility:visible}.slider:hover{background:var(--input-slider-bg-hover, rgba(255, 255, 255, .09))}.slider-track{background-color:var(--input-slider-bg-progress);border-radius:inherit;border:1px solid var(--input-slider-border-progress);box-sizing:border-box;height:100%;width:50%;position:relative}.slider-thumb{width:20px;height:24px;position:absolute;top:2px;right:2px;border-radius:6px;background-color:var(--input-slider-button-default);box-shadow:0 1px 1px 0 var(--fg-2) inset,0 2px 4px 0 var(--invert-black-2);cursor:pointer}.slider-thumb:hover{background-color:var(--input-slider-button-hover)}.slider.is-focus .slider-thumb{background-color:var(--input-slider-button-pressed)}.slider.is-focus .slider-track{background-color:var(--input-slider-bg-progress-selected)}.prm-num-inner{border:none;outline:none;width:100%;height:32px;box-sizing:border-box;display:block;background:transparent;-webkit-appearance:none;appearance:none;padding:0;color:var(--fg-9)}.prm-num-inner::-webkit-inner-spin-button{display:none}.prm-num:hover .prm-num-inner{padding-right:20px}.prm-num-left{position:relative;display:inline-block;width:96px;height:32px;vertical-align:middle}.prm-num-slider{vertical-align:middle;height:32px;display:inline-block;width:calc(100% - 100px);border-radius:8px;margin-left:4px;background-color:var(--input-bg-default);border:1px solid var(--input-border-default);box-sizing:border-box}.prm-num-slider:hover{border-color:var(--input-border-hover);background-color:var(--input-bg-hover)}.prm-num-left .btn-text{display:none}.radio{display:flex;align-items:center;justify-content:center;min-height:1em}.radio-switch,.radio-tab{display:inline-block;border-radius:8px;text-align:center;font-size:14px;color:var(--fg-3, rgba(255, 255, 255, .51));cursor:pointer;user-select:none;box-sizing:border-box;overflow:hidden;white-space:nowrap;padding:0 4px;height:100%;position:relative;line-height:1}.radio-switch:after,.radio-tab:after{content:"";display:inline-block;height:100%;width:0;vertical-align:middle}.radio-switch:hover,.radio-tab:hover{background:var(--button-bg-hover, rgba(255, 255, 255, .12))}.radio-switch.active,.radio-tab.active{background:var(--button-bg-default, rgba(255, 255, 255, .1));color:var(--fg-6, rgba(255, 255, 255, .97));box-shadow:0 1px 1px 0 var(--button-bg-default) inset}.radio-switch.active:hover,.radio-tab.active:hover{background:var(--button-bg-hover, rgba(255, 255, 255, .12))}.radio-switch{width:100%}.radio-tab{flex:1 1 auto}.prm-radio .radio-tab,.prm-radio .radio-switch{height:28px}.prm-radio.prm-input{padding:1px}.textrich{outline:none;word-break:break-all;white-space:normal}.textrich-elem{vertical-align:middle}.textrich .is-selected{background-color:var(--input-bg-selected)}.textrich-dragclone{opacity:.5;pointer-events:none;position:fixed;z-index:10001}.textrich:empty:before{content:attr(placeholder);color:var(--fg-3, rgba(255, 255, 255, .3))}.tag-refs{display:inline-block;font-size:0;border:1px solid transparent;background:var(--tag-bg);color:var(--tag-txt);padding:1px;box-sizing:border-box;border-radius:8px;vertical-align:middle;caret-color:transparent;position:relative;margin:1px;line-height:1;white-space:normal}.tag-refsimg{cursor:default;outline:none;border-radius:8px}.tag-refsimg:focus{outline:1px solid var(--fg-2)}.tag-refs:hover,.tag-refs.is-hover{border-color:var(--tag-border-hover);background:var(--tag-bg-hover);color:var(--tag-txt-hover)}.tag-refs:focus{outline:none;border-color:var(--fg-2)}.tag-refs .tag-ref{min-height:18px;height:auto;white-space:wrap;margin-left:1px}.tag-refs .tag-ref:first-child{border:0;background-color:transparent}.tag-refs .tag-ref-text{padding:2px 0;line-height:1.2}.input-tag{background-color:var(--input-bg-default);border-radius:4px;border:1px solid var(--input-border-default);color:#fff;box-sizing:border-box;position:relative}.input-tag-placeholder{color:var(--fg-3);width:100%;height:100%;overflow:hidden;box-sizing:border-box;position:absolute;top:0;left:0;line-height:30px;padding:0 .5em}.input-tag:hover{background-color:var(--input-bg-hover);border-color:var(--input-border-hover)}.input-tag:focus-within,.input-tag:active{background-color:var(--input-bg-selected);border-color:#25a4ff}.input-tag-item{display:inline-block;line-height:1;padding:4px 5px;background-color:var(--button-bg-default);border-radius:6px;margin:3px;user-select:none;vertical-align:middle}.input-tag-item:hover{background-color:var(--button-bg-hover)}.input-tag-del{font-size:inherit;color:var(--fg-5);vertical-align:middle;font-weight:bolder;line-height:inherit;cursor:pointer}.input-tag-del:hover{color:var(--fg-9)}.input-tag-input{outline:none;border:none;background:transparent;color:inherit;min-width:2em;display:inline-block;max-width:100%;overflow:hidden;vertical-align:middle}.input-tag-list{position:absolute;min-width:100%;top:calc(100% + 5px);left:0;z-index:1000;transform:scaleY(0);transform-origin:top;transition:transform .35s;background-color:#2e2e2e;box-shadow:rgba(0,0,0,.5) 0 2px 5px;border-radius:4px;overflow:hidden;padding:5px;box-sizing:border-box}.input-tag-listshow{transform:scaleY(1)}.input-tag-option{cursor:pointer;padding:6px 10px;box-sizing:border-box;border-radius:4px;font-size:12px;color:#fff;position:relative;display:flex;align-items:center;justify-content:space-between}.input-tag-option:hover{background-color:var(--button-bg-hover)}.input-tag-icons .iconfont{font-size:inherit;margin-left:2px}.tag-fn{color:#935cce;background:rgba(146,90,206,.1);border:1px solid rgba(146,90,206,.08);border-radius:8px;padding:2px 5px;display:inline-block;box-sizing:border-box;user-select:none;cursor:default}.tag-fn-args{display:inline-block}.tag-fn-close,.tag-fn-icon{min-width:1em;height:1em;margin-right:2px;font-size:inherit;white-space:nowrap}.tag-fn-close{display:none}.tag-fn:hover .tag-fn-close{display:inline-block}.tag-fn:hover .tag-fn-icon{display:none}.tag-fn-arg{display:inline-block;position:relative}.tag-fn-arg .tools{position:absolute;display:none;left:calc(100% - 2px);top:1px;z-index:1}.tag-fn-arg .tools-btn{font-size:12px;height:20px}.tag-fn-arg:hover .tools{display:block}.tag-fn-argsign{display:inline-block;margin-right:4px}.tag-fn .input-tag{min-width:4em}.tag-fn .radio-switch{font-size:12px;line-height:22px}.tag-fn-input,.tag-fn-txtarea{border-radius:.5em;border:none;outline:none;box-sizing:border-box;background-color:var(--input-bg);-webkit-appearance:none;appearance:none}.tag-fn-input{height:24px}.tag-fn-input .input-tag-item{font-size:12px;padding:3px 5px}.tag-fn-input .input-tag-placeholder{font-size:12px;line-height:24px;padding:0 5px}.tag-fn-txtarea{overflow:hidden;min-width:3em;display:inline-block;vertical-align:middle;min-height:24px;padding-left:5px;padding-right:5px}.jtable-title{width:100%}.jtable-title-text{display:inline-block;width:calc(100% - 130px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.monaco .dialog-wrapper{width:calc(100% - 64px)}.monaco .dialog-body{min-height:320px;height:calc(100vh - 226px);width:100%;border-radius:8px 8px 0 0;position:relative}.monaco .dialog-body .scroll-decoration{display:none}.monaco .dialog-body .slider{border-radius:4px;opacity:.5}.monaco .dialog-body .margin{background-color:transparent!important}.monaco .dialog-body .monaco-editor,.monaco .dialog-body .monaco-editor-background{outline:none;background-color:transparent}.monaco .dialog-body .line-numbers{color:var(--fg-1, rgba(255, 255, 255, .15))!important}.monaco .dialog-body .line-numbers.active-line-number{color:var(--fg-5, rgba(255, 255, 255, .5))!important}.monaco-title{user-select:default;font-size:16px}.monaco-title .iconfont{opacity:.5;font-size:inherit}.bubble-role{--bubble-role-avatar-width: 32px;display:inline-flex;align-items:center}.bubble-role-avatar{width:var(--bubble-role-avatar-width);height:var(--bubble-role-avatar-width);flex-shrink:0;position:relative;margin-right:calc(var(--bubble-role-avatar-width) * .4)}.bubble-role-nickname{flex:1;font-size:14px}.bubble-role-tag{margin-left:2px}.editor-chat .dialog-wrapper{max-width:720px;width:calc(100vw - 80px)}.editor-chat .dialog-content{height:calc(100vh - 226px);padding:0;background-color:var(--viewer-bg-previewer)}.editor-chat .dialog-body{padding:12px;box-sizing:border-box;height:100%}.editor-chat-item{display:flex;margin:10px 5px;position:relative;flex-wrap:wrap}.editor-chat-item .bubble-role{--bubble-role-avatar-width: 20px !important;display:flex;width:100%;margin-bottom:5px}.editor-chat-user{justify-content:flex-end}.editor-chat-tools{display:none;position:absolute;top:-25px;left:0;white-space:nowrap;z-index:1;width:48px}.editor-chat-inner{position:relative;display:inline-block}.editor-chat-inner:hover .editor-chat-tools,.editor-chat-inner:focus-within .editor-chat-tools{display:block}.editor-chat-inner:hover .editor-chat-tools .btn,.editor-chat-inner:focus-within .editor-chat-tools .btn{margin-right:1px;color:var(--fg-5);font-size:12px}.editor-chat-inner:hover .editor-chat-tools .btn:hover,.editor-chat-inner:focus-within .editor-chat-tools .btn:hover{color:var(--fg-9)}.editor-chat-item:focus-within .bubble-role{opacity:0}.editor-chat-inner{padding:8px 10px;max-width:80%;min-width:120px;border-radius:16px;box-sizing:border-box;border:1px solid transparent}.editor-chat-inner:focus-within,.editor-chat-inner:focus{border-color:var(--input-border-selected)}.editor-chat-user .editor-chat-inner{background:var(--viewer-bg-chat-bubble-self, #3BC859);color:var(--viewer-fg-chat-self)}.editor-chat-assistant .editor-chat-inner{background:var(--viewer-bg-chat-bubble-ai, rgba(255, 255, 255, .08));color:var(--viewer-fg-chat-ai)}.editor-chat-narrator .editor-chat-inner{border-radius:0;max-width:100%;background:linear-gradient(90deg,var(--viewer-bg-chat-narration-2) 0%,var(--viewer-bg-chat-narration-1) 25%,var(--viewer-bg-chat-narration-1) 75%,var(--viewer-bg-chat-narration-2) 100%);width:100%;text-align:center;color:var(--viewer-fg-chat-narration)}.editor-chat .bubble-role-nickname{flex:none}.datepicker{text-align:center;border-radius:12px;user-select:none;font-size:12px;color:var(--fg-7);position:absolute;display:flex;align-items:center;justify-content:space-evenly;width:auto}.datepicker-box{padding:10px}.datepicker-title{font-size:14px;margin-bottom:5px}.datepicker-cols{display:flex}.datepicker-col{overflow:hidden}.datepicker-scroll{height:120px;overflow:hidden}.datepicker-list{height:100%;transition:all .3s}.datepicker-hd{border-bottom:1px solid var(--line1);padding-bottom:2px;color:var(--fg-5)}.datepicker-item{height:24px;box-sizing:border-box;white-space:nowrap;transition:all .3s;padding:0 8px;color:var(--fg-3)}.datepicker-cur{color:var(--fg-9);font-weight:600;border-top:1px solid var(--line1);border-bottom:1px solid var(--line1)}.collection-editor{color:var(--fg-9)}.collection-editor.dialog-wrapper{max-width:600px;width:100%}.collection-editor-header{text-align:center;position:relative;height:56px;line-height:56px;font-size:16px;padding-top:8px;box-sizing:border-box}.collection-editor-header .icon-close{position:absolute;line-height:32px;right:12px;top:16px;width:32px;height:32px;font-size:18px;text-align:center}.collection-editor-body{max-height:calc(100vh - 120px);overflow:auto}.collection-editor-body::-webkit-scrollbar{width:0;height:0}.collection-editor-cover{width:88px;height:136px;position:relative;margin:0 auto}.collection-editor-cover .avatar{display:block;width:100%;height:100%;border-radius:12px}.collection-editor-cover .btn{position:absolute;bottom:-2px;right:-2px;width:26px;height:26px;padding:0;font-size:18px;border-color:var(--fg-9);z-index:9}.collection-editor-covername{text-align:center;font-size:14px;color:var(--fg-3);white-space:nowrap;margin-top:8px;margin-bottom:12px}.collection-editor-subtitle{color:var(--fg-3);font-size:16px;padding:0 15px;margin:10px 12px 3px;white-space:nowrap}.collection-editor-label{white-space:nowrap;margin-right:8px;margin-bottom:5px;font-size:14px;font-weight:600;color:var(--fg-9)}.collection-editor-label.icon-warning{color:var(--color-warning)}.collection-editor-label.icon-warning:before{margin-right:2px}.collection-editor-label .icon-warning{vertical-align:middle;color:var(--color-warning);margin-left:4px;font-size:inherit}.collection-editor-form{margin:0 15px 4px;border-radius:12px;background-color:var(--input-bg);padding:12px 15px;box-sizing:border-box}.collection-editor-row{display:flex;align-items:center;padding:6px 15px}.collection-editor-input{color:var(--fg-8);width:100%;max-height:250px;-webkit-appearance:none;appearance:none;outline:none;background-color:transparent;border:1px solid transparent;border-radius:6px;padding:5px 8px;box-sizing:border-box;font-size:14px}.collection-editor-input::-webkit-scrollbar{width:0;height:0}.collection-editor-input:hover{background-color:var(--input-bg-hover);border-color:var(--input-border-hover)}.collection-editor-input:focus{background-color:var(--input-bg-selected);border-color:var(--input-border-selected)}.collection-editor-input::placeholder{color:var(--input-placeholder)}.collection-editor-bool .bool-tab{background-color:var(--input-bg);color:var(--fg-2);width:50%;height:32px;line-height:32px}.collection-editor-bool .bool-tab:first-child{border-radius:8px 0 0 8px;margin-right:0}.collection-editor-bool .bool-tab:last-child{border-radius:0 8px 8px 0}.collection-editor-bool .bool-tab.active{color:var(--fg-9);background-color:var(--btn-bg-active)}.collection-editor-selector{height:32px;line-height:32px;flex:1;text-align:right;font-size:14px;color:var(--fg-3);user-select:none}.collection-editor-selector-caret{font-size:inherit}.collection-editor-row .collection-editor-label{margin-bottom:0}.collection-editor-row .collection-editor-input{min-height:32px}.collection-editor-row .collection-editor-bool{flex:1}.collection-editor-btn{width:calc(100% - 30px);margin:15px auto;display:flex}.input-json{background-color:var(--input-bg-default);border:1px solid var(--input-border-default);border-radius:8px;height:32px;line-height:32px;box-sizing:border-box;font-size:0;position:relative;overflow:hidden;white-space:nowrap;outline:none}.input-json>span{vertical-align:middle}.input-json:hover{border-color:var(--input-border-hover);background-color:var(--input-bg-hover)}.input-json:focus,.input-json:focus-within{border-color:var(--input-border-selected)}.input-json-bracket{font-size:14px;display:inline-block;vertical-align:middle;opacity:.25;padding:0 2px}.input-json-bracket:last-child{padding-left:0}.input-json-tag{margin-right:2px}.input-json-tag.tag{padding:0 2px}.input-json-tagtxt{max-width:4em;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.input-json-ext{opacity:.3}.input-json-img{display:inline-block;box-sizing:border-box;padding:1px}.input-json-img img{width:24px;height:24px;border-radius:4px;overflow:hidden;object-fit:cover}.input-text{background-color:var(--input-bg-default);border:1px solid var(--input-border-default);border-radius:8px;height:32px;line-height:32px;box-sizing:border-box;position:relative;outline:none;font-size:14px;padding:0 5px;color:var(--fg-9)}.input-text:hover{border-color:var(--input-border-hover);background-color:var(--input-bg-hover)}.input-text:focus{border-color:var(--input-border-selected)}.input-role{width:100%;position:relative;border:1px solid var(--input-border-default);border-radius:8px;background-color:var(--input-bg-default);height:32px;overflow:hidden}.input-role-tags{width:100%;overflow:auto;white-space:nowrap;padding-right:26px;box-sizing:border-box}.input-role-tags::-webkit-scrollbar{width:0;height:0}.input-role-tag{margin-top:4px;margin-left:3px}.input-role-btn{position:absolute;right:3px;top:3px;height:24px;padding:0 3px;border-radius:8px;visibility:hidden}.input-role:hover .btn{visibility:visible}.input-role-empty{color:var(--fg-2);display:flex;align-items:center;position:absolute;height:100%;padding:0 5px}.jtable .dialog-wrapper{max-width:calc(100% - 60px);min-width:280px;width:100%}.jtable table{width:100%;min-width:280px;text-align:left;border-collapse:collapse;table-layout:fixed}.jtable-th-upload{width:45px}.jtable-th-upload>div{width:45px}.jtable th{color:var(--fg-2, rgba(255, 255, 255, .24));font-size:14px;font-weight:400;padding:2px;line-height:1.2}.jtable th:first-child,.jtable th:last-child{width:22px}.jtable td{padding:2px}.jtable-drag,.jtable-del{height:32px;line-height:32px;display:block;color:transparent;padding:0 2px}.jtable tbody tr:hover{background-color:var(--button-bg-ghost-hover)}tr:hover .jtable-drag{color:var(--fg-1)}tr:hover .jtable-del{color:var(--fg-3)}tr:hover .jtable-del:hover{color:var(--fg-7)}.jtable .input-text{width:100%}.jtable .upload{max-width:100%}.jtable .upload-thumb{width:30px}.jtable .upload-icon{left:0;top:0;width:30px;transform:none;position:relative}.jtable-monaco{width:100%;height:calc(100vh - 164px);border-radius:8px 8px 0 0;position:relative}.jtable-monaco .scroll-decoration{display:none}.jtable-monaco .slider{border-radius:4px;opacity:.5}.jtable-monaco .margin{background-color:transparent!important}.jtable-monaco .monaco-editor,.jtable-monaco .monaco-editor-background{outline:none;background-color:transparent}.jtable-monaco .line-numbers{color:var(--fg-1)!important}.jtable-monaco .line-numbers.active-line-number{color:var(--fg-5)!important}.chat-btn{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;border-radius:12px;font-size:14px;font-weight:600;padding:0 12px;border:1px solid transparent;box-sizing:border-box;height:36px;cursor:pointer;user-select:none;white-space:normal}.chat-btn-span{margin-right:4px}.chat-btn-span:last-child{margin-right:0}.chat-btn-hovershow,.chat-btn:hover .chat-btn-hoverhide{display:none}.chat-btn:hover .chat-btn-hovershow{display:inline-block}.chat-btn[disabled=true]{pointer-events:none;cursor:not-allowed}.chat-btn.purple{background:var(--brand-trans, rgba(160, 102, 255, .15));color:var(--brand-lighter, #A066FF)}.chat-btn.purple:hover{background:var(--brand-trans-lighter, rgba(160, 102, 255, .2))}.chat-btn.purple:active{background:var(--brand-trans, rgba(160, 102, 255, .15))}.chat-btn.purple:disabled,.chat-btn.purple[disabled=true]{color:var(--fg-1, rgba(255, 255, 255, .2));background:var(--brand-trans, rgba(160, 102, 255, .15))}.chat-btn.purple-fill{background:var(--bg-gradient-brand, linear-gradient(180deg, #9B4DFF 0%, #7B4DFF 100%));color:#fff}.chat-btn.purple-fill:hover{border-color:var(--border-gradient-default-light, rgba(255, 255, 255, .2));background:var(--bg-gradient-brand-light, linear-gradient(180deg, #B276FF 0%, #8357FF 100%))}.chat-btn.purple-fill:active{border-color:var(--border-gradient-default-light, rgba(255, 255, 255, .2));background:var(--bg-gradient-brand-dark, linear-gradient(180deg, #7218E4 0%, #794AFE 100%))}.chat-btn.default,.chat-btn.btn-default{color:var(--fg-9);border-color:var(--button-border-ghost-default);background:var(--button-bg-ghost)}.chat-btn.default:hover,.chat-btn.btn-default:hover{border-color:var(--button-border-ghost-hover);background:var(--button-bg-ghost-hover)}.chat-btn.default:active,.chat-btn.btn-default:active{border-color:var(--button-border-ghost-pressed);background:var(--button-bg-ghost-pressed)}.chat-btn.default:disabled,.chat-btn.default[disabled=true],.chat-btn.btn-default:disabled,.chat-btn.btn-default[disabled=true]{color:var(--fg-1);background:var(--button-bg-disabled-neg)}.chat-btn.gray{background:var(--button-bg-default, rgba(0, 0, 0, .03));color:var(--fg-9)}.chat-btn.gray:hover{background:var(--button-bg-hover, rgba(0, 0, 0, .12))}.chat-btn.gray:active{background:var(--button-bg-pressed, rgba(0, 0, 0, .08))}.chat-btn.btn-gray{background:var(--button-bg-default, rgba(0, 0, 0, .03));color:var(--fg-6)}.chat-btn.btn-gray:hover{background:var(--button-bg-hover, rgba(0, 0, 0, .12))}.chat-btn.btn-gray:active{background:var(--button-bg-pressed, rgba(0, 0, 0, .08))}.chat-btn.btn-gray:disabled,.chat-btn.btn-gray[disabled=true]{border-color:var(--invert-1);background:var(--button-bg-disabled-neg);pointer-events:none;cursor:not-allowed}.chat-btn.pink-fill{background:var(--bg-gradient-strong, linear-gradient(180deg, #CD57F6 0%, #9E3DFF 100%));color:#fff}.chat-btn.pink-fill:hover{border-color:var(--border-gradient-default-light, rgba(255, 255, 255, .2));background:var(--bg-gradient-strong-light, linear-gradient(180deg, #d668fb 0%, #a655f8 100%))}.chat-btn.pink-fill:active{border-color:var(--border-gradient-default-light, rgba(255, 255, 255, .2));background:var(--bg-gradient-strong-dark, linear-gradient(180deg, #c64fee 0%, #9539f1 100%))}.chat-btn.green-border{color:var(--brand-default);border-color:var(--brand-default)}.chat-btn.green-border:hover{border-color:var(--brand-lighter)}.chat-btn.green-border:active{border-color:var(--brand-dark)}.chat-btn.green-fill{background-color:var(--brand-default);color:var(--previewer-fg-chat-self)}.chat-btn.green-fill:hover{background-color:var(--brand-light)}.chat-btn.green-fill:active{background-color:var(--brand-dark)}.chat-btn.green-fill:disabled,.chat-btn.green-fill[disabled=true]{color:var(--invert-black-3);background-color:var(--brand-light)}.chat-btn.white-border{border-radius:16px;border:1px solid var(--invert-5, rgba(255, 255, 255, .51));background:var(--invert-black-2, rgba(0, 0, 0, .2));color:var(--invert-9, rgba(255, 255, 255, .97))}.chat-btn.white-border:hover,.chat-btn.white-border:active{border-color:var(--invert-5, rgba(255, 255, 255, .51));background-color:var(--invert-black-3, rgba(0, 0, 0, .2))}.chat-btn.btn-fill{color:var(--invert-9, rgba(255, 255, 255, .97));border-color:var(--border-gradient-default, rgba(255, 255, 255, .15));background-color:var(--brand-default, #3BC859)}.chat-btn.btn-fill:hover{border-color:var(--border-gradient-default-light, rgba(255, 255, 255, .2));background-color:var(--brand-light, #67CF74)}.chat-btn.btn-fill:active{border-color:var(--border-gradient-default-light, rgba(255, 255, 255, .2));background-color:var(--brand-dark, #4AB858)}.chat-btn.btn-fill:disabled,.chat-btn.btn-fill[disabled=true]{color:var(--brand-transparent, rgba(59, 200, 89, .2));background-color:var(--brand-transparent-more, rgba(59, 200, 89, .14))}.chat-btn.btn-border{color:var(--brand-default, #3BC859);border-color:var(--brand-default, #3BC859)}.chat-btn.btn-border:hover{color:var(--brand-lighter, #77DE84);border-color:var(--brand-lighter, #77DE84)}.chat-btn.btn-border:active{color:var(--brand-default, #3BC859);border-color:var(--brand-default, #3BC859)}.chat-btn.btn-border:disabled,.chat-btn.btn-border[disabled=true]{color:var(--brand-transparent, rgba(59, 200, 89, .2));border-color:var(--brand-transparent, rgba(59, 200, 89, .2))}.chat-btn.danger{border-color:var(--accent-red-9, rgba(255, 70, 59, .95));box-shadow:0 1px 1px rgba(255,255,255,.1) inset;color:var(--accent-red-9, rgba(255, 70, 59, .95))}.chat-btn.danger:hover{color:var(--accent-red-light);border-color:var(--accent-red-light)}.chat-btn.danger:active{color:var(--accent-red-9, rgba(255, 70, 59, .95));border-color:var(--accent-red-9, rgba(255, 70, 59, .95))}.chat-btn.btn-grandstand{border-color:var(--border-default, rgba(255, 255, 255, .06));background:linear-gradient(270deg,#d4b587,#fee4bc 24.5%,#fee4bc 75%,#d4b587);color:var(--button-fg-grandstand, #5B4438);font-weight:600}.chat-btn.btn-grandstand:hover{border-color:var(--border-default, rgba(0, 0, 0, .08));background:linear-gradient(270deg,#dbc095,#ffedd0 24.5%,#ffedd0 75%,#dbc095)}.has-chatbg .chat-btn.btn-default{color:var(--invert-9, rgba(255, 255, 255, .97));border:1px solid var(--invert-2, rgba(255, 255, 255, .2));background:var(--invert-black-6, rgba(0, 0, 0, .66))}.has-chatbg .chat-btn.btn-default:hover{border:1px solid var(--invert-4, rgba(255, 255, 255, .44));background:var(--invert-black-5, rgba(0, 0, 0, .51))}.has-chatbg .chat-btn.btn-default:active{border:1px solid var(--invert-4, rgba(255, 255, 255, .44));background:var(--invert-black-7, rgba(0, 0, 0, .75))}.has-chatbg .chat-btn.btn-default:disabled,.has-chatbg .chat-btn.btn-default[disabled=true]{border-radius:var(--button-radius, 16px);background:var(--invert-black-3, rgba(0, 0, 0, .3));border:1px solid var(--invert-black-3, rgba(0, 0, 0, .3));color:var(--invert-3, rgba(255, 255, 255, .2))}.has-chatbg .chat-btn.btn-border{color:var(--invert-9, rgba(255, 255, 255, .97));border:1px solid var(--invert-7, rgba(255, 255, 255, .75));background:var(--invert-black-6, rgba(0, 0, 0, .66))}.has-chatbg .chat-btn.btn-border:hover{border:1px solid var(--invert-9, rgba(255, 255, 255, .99));background:var(--invert-black-5, rgba(0, 0, 0, .51))}.has-chatbg .chat-btn.btn-border:active{border:1px solid var(--invert-9, rgba(255, 255, 255, .99));background:var(--invert-black-7, rgba(0, 0, 0, .75))}.has-chatbg .chat-btn.btn-border:disabled,.has-chatbg .chat-btn.btn-border[disabled=true]{color:var(--invert-7, rgba(255, 255, 255, .75));border:1px solid var(--invert-2, rgba(255, 255, 255, .2));background:var(--invert-black-2, rgba(0, 0, 0, .2))}.has-chatbg .chat-btn.btn-gray{background:var(--invert-black-3, rgba(0, 0, 0, .03));color:var(--invert-6);border-color:var(--invert-2)}.has-chatbg .chat-btn.btn-gray:hover{color:var(--invert-9);background:var(--invert-black-4, rgba(0, 0, 0, .12))}.has-chatbg .chat-btn.btn-gray:active{background:var(--invert-black-3, rgba(0, 0, 0, .08))}.has-chatbg .chat-btn.btn-gray:disabled,.has-chatbg .chat-btn.btn-gray[disabled=true]{border-color:var(--invert-1);background:var(--invert-black-2);pointer-events:none;cursor:not-allowed}.rish-input{outline:none;word-break:break-all;white-space:pre-wrap;border-radius:var(--input-radius, 8px);box-sizing:border-box}.rish-input:empty:before{content:attr(placeholder);color:var(--fg-3, rgba(255, 255, 255, .35))}.rish-input span{min-width:1px;display:inline-block}.rish-input[contenteditable]{-webkit-user-select:text;user-select:text}.theater{cursor:default;color:var(--fg-9, rgba(255, 255, 255, .97))}.theater-editor,.theater-sort{position:fixed;max-width:600px;height:calc(100% - 36px);top:20px;left:0;right:0;box-sizing:border-box;margin:auto;background:var(--bg-page-dark, #fff);border-radius:16px;border:1px solid var(--border-default)}.theater-editor{z-index:101;font-size:14px}.theater-editor-close{position:absolute;top:-30px;right:0;height:30px;width:30px;padding:0;border-radius:50%!important}.theater-editor-main{border-radius:inherit;height:calc(100% - 64px);position:relative;background:var(--viewer-bg-previewer)}.theater-editor-header{display:flex;align-items:center;justify-content:space-between;padding:8px 12px;border-radius:16px 16px 0 0}.theater-editor-title{display:flex;align-items:center;font-size:16px;font-weight:600;position:relative;border:1px solid transparent;box-sizing:border-box;max-width:100%;white-space:nowrap}.theater-editor-order{display:block;width:18px;height:18px;line-height:18px;text-align:center;border-radius:50%;font-size:12px;background-color:var(--invert-2);margin-left:2px}.theater-editor-tools{white-space:nowrap;overflow:auto;overflow-y:hidden}.theater-editor-tools::-webkit-scrollbar{width:0;height:0}.theater-editor-tool{height:24px;padding:0 8px;margin-left:5px;position:relative;vertical-align:middle;font-size:12px}.theater-editor-tool .icon{font-size:14px}.theater-editor-tool .icon img{height:16px}.theater-editor-uploader{position:absolute;top:0;left:0;width:100%;height:100%;display:block;opacity:0;z-index:10}.theater-editor-box{display:flex;flex-direction:column;height:calc(100% - 40px)}.theater-editor-scroll{flex:1 1 auto;overflow:auto}.theater-editor-scroll::-webkit-scrollbar{width:0;height:0}.theater-editor-groups,.theater-editor-options{position:relative;padding-bottom:38px}.theater-editor-groups{display:flex;flex-direction:column;justify-content:end;min-height:calc(100% - 38px)}.theater-editor-role{font-size:12px;color:var(--viewer-fg-chat-ai);position:relative;display:inline-flex;align-items:center;margin-bottom:4px;padding:2px 6px 2px 2px;box-sizing:border-box;border-radius:12px;cursor:default;vertical-align:middle}.theater-editor-role-avatar{width:20px;height:20px;overflow:hidden;border-radius:50%;position:relative}.theater-editor-role-avatar img{width:100%;height:100%;display:block;object-fit:cover}.theater-editor-role-name{line-height:20px;display:inline-block;padding:0 4px;border-radius:10px;font-weight:600}.theater-editor-role-name:empty{padding:0 2px}.theater-editor-role.icon-tts_off,.theater-editor-role.icon-tts_on{font-size:16px;padding:0;width:24px;height:24px;justify-content:center;margin-left:1px}.theater-editor-group{margin:0 12px 12px}.theater-editor-group.narration{margin-right:0;margin-left:0}.theater-editor-content{border-radius:4px;padding:4px;position:relative;color:var(--viewer-fg-chat-ai)}.theater-editor-content:not(:first-child){margin-top:6px}.theater-editor-content:hover,.theater-editor-content:focus-within{background-color:var(--viewer-bg-chat-hover)}.theater-editor-content-tool{position:absolute;left:-2px;top:-2px;display:none;background:var(--invert-black-6);color:var(--invert-9);border-radius:50%;padding:0;width:32px;height:32px;font-size:18px;font-weight:600;text-align:center;line-height:32px;transform:scale(.5);transform-origin:left top;z-index:1}.theater-editor-content:hover .theater-editor-content-tool{display:block}.theater-editor-content .rish-input{color:inherit}.theater-editor-bubble{min-height:32px;border-radius:12px;padding:4px;box-sizing:border-box;background:var(--viewer-bg-chat-bubble-ai);position:relative}.theater-editor-bubble.system{border:1px solid var(--border-default, rgba(0, 0, 0, .08));background:var(--viewer-bg-chat-system)}.theater-editor-bubble.narration{color:var(--viewer-fg-chat-narration, #5D3800);text-align:center;background:linear-gradient(to right,var(--viewer-bg-chat-narration-2) 0%,var(--viewer-bg-chat-narration-1) 25%,var(--viewer-bg-chat-narration-1) 75%,var(--viewer-bg-chat-narration-2) 100%)}.theater-editor-bubble.toast{color:var(--viewer-fg-chat-system, rgba(93, 56, 0, .8));border:1px solid var(--border-default, rgba(0, 0, 0, .08));background:var(--viewer-bg-chat-toast, rgba(255, 242, 210, .96))}.theater-editor-upload{position:relative}.theater-editor-upload .avatar{width:64px;height:64px;border-radius:8px;background-color:var(--fg-1)}.theater-editor-upload .avatar-icon{color:var(--fg-5)}.theater-editor-upload .file-audio-icon,.theater-editor-upload .file-video-icon{font-size:16px}.theater-editor-upload .file-audio-play,.theater-editor-upload .file-video-play{width:32px;height:32px;line-height:32px}.theater-editor-upload .file-audio-play .iconfont,.theater-editor-upload .file-video-play .iconfont{font-size:16px}.theater-editor-upload .file-audio{width:64px}.theater-editor-upload .file-video{width:128px;max-width:100%}.theater-editor-options{padding-top:5px;flex:0 1 auto}.theater-editor-option{background-color:var(--viewer-bg-chat-bubble-self);width:calc(100% - 24px);margin-bottom:8px;margin-left:12px;border-radius:12px;padding:8px 24px 8px 8px;box-sizing:border-box;position:relative}.theater-editor-option .rish-input{line-height:1.4;text-align:center;color:var(--invert-black-9);font-size:14px;font-weight:600}.theater-editor-option .rish-input:empty:before{color:inherit;opacity:.35}.theater-editor-option-val.rish-input{color:var(--invert-black-6);font-size:12px;font-weight:400}.theater-editor-option-val.rish-input:focus{color:var(--invert-black-9)}.theater-editor-rt,.theater-editor-rb,.theater-editor-notchat{position:absolute;padding:0 4px;height:20px;font-size:12px;font-weight:600;border-color:var(--invert-2)!important;min-width:24px;background-color:inherit!important;box-shadow:0 0 1px var(--invert-black-6)!important;border-radius:8px}.theater-editor-rt .icon,.theater-editor-rb .icon,.theater-editor-notchat .icon{font-size:inherit;margin-right:0}.theater-editor-rt:hover,.theater-editor-rb:hover,.theater-editor-notchat:hover{border-color:var(--invert-3)!important;box-shadow:0 0 2px var(--invert-black-6)!important}.narration .theater-editor-rb{right:10px;background-color:var(--viewer-bg-chat-narration-1)!important}.theater-editor-option .theater-editor-rt,.theater-editor-option .theater-editor-rb{color:var(--invert-black-9)}.theater-editor-rt{right:-3px;top:-3px}.theater-editor-rb{right:-3px;bottom:-3px}.theater-editor-notchat{right:24px;bottom:-3px;height:16px;width:16px;padding:0;min-width:12px}.theater-editor-notchat .icon{font-size:10px}.theater-editor-add{width:calc(100% - 24px);height:26px;position:absolute;bottom:12px;left:12px;font-size:12px;z-index:1}.theater-editor-footer{position:absolute;bottom:20px;left:0;width:100%;overflow:auto;overflow-y:hidden;white-space:nowrap}.theater-editor-footer::-webkit-scrollbar{width:0;height:0}.theater-editor-footer .chat-btn{min-width:44px;height:36px;margin-left:5px;box-sizing:border-box;vertical-align:top;position:relative}.theater-editor-footer .chat-btn:first-child{margin-left:12px}.theater-editor-footer .chat-btn:last-child{padding:0 8px;margin-right:12px}.theater-editor-footer .chat-btn-text{margin-right:0}.theater-editor-footer .chat-btn.green-border{padding:0 10px;flex-direction:column;line-height:1}.theater-editor-footer .chat-btn.green-border .icon-more{line-height:8px;height:8px;font-size:inherit}.theater .chat-btn{border-radius:8px}.theater-dropmenu .icon-add-top,.theater-dropmenu .icon-add-bottom{transform:rotate(-90deg)}.theater-sort{z-index:3000;cursor:default}.theater-sort-title{height:56px;line-height:56px;font-size:16px;font-weight:600;text-align:center;position:relative}.theater-sort-close{--button-bg-default: transparent;height:32px;padding:0 8px;position:absolute;right:12px;top:8px}.theater-sort-list{padding:0 8px;height:calc(100% - 116px);overflow:auto;overflow-x:hidden}.theater-sort-list::-webkit-scrollbar{width:0;height:0}.theater-sort-item{height:52px;line-height:52px;color:var(--fg-9);background:var(--button-bg-segment-on-default);margin-bottom:1px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:14px;border:1px solid transparent;box-sizing:border-box}.theater-sort-item:first-child{border-radius:12px 12px 0 0}.theater-sort-item:last-child{border-radius:0 0 12px 12px;margin-bottom:0}.theater-sort-icon{margin:0 12px;display:inline-flex;width:40px;justify-content:center;align-items:center}.theater-sort-label{font-size:16px;font-weight:600;margin-right:2em}.theater-sort-summary{color:var(--fg-5)}.theater-sort-btn{display:flex;margin:12px}.has-chatbg .theater-editor-title{color:#fff;text-shadow:0px 0px 16px rgba(0,0,0,.3)}.has-chatbg .theater-editor-titletxt:focus{color:var(--fg-9)}.has-chatbg .theater-editor-header{background:linear-gradient(to bottom,var(--invert-black-6),transparent)}.has-chatbg .theater-editor-role{background-color:var(--viewer-avatar-bg-image-on, rgba(0, 0, 0, .3));color:var(--viewer-avatar-bg-image-on-light, rgba(255, 255, 255, .75))}@media screen and (max-width: 750px){.theater-editor,.theater-sort{width:100%;height:100%;border-radius:0;border:0}.theater-editor-header{border-radius:0}}@media screen and (max-width: 419px){.theater-editor-titletxt{display:inline-block;width:2em;overflow:hidden}.theater-editor-tool{margin-left:2px;padding:0 5px}}[data-theme=dark]{--viewer-avatar-bg: rgb(0, 0, 0, .3);--viewer-avatar-bg-image-on: rgb(0, 0, 0, .3);--viewer-avatar-fg: rgb(255, 255, 255);--viewer-avatar-fg-image-on: rgb(255, 255, 255, .99);--viewer-avatar-fg-image-on-light: rgb(255, 255, 255, .75);--viewer-avatar-fg-light: rgb(255, 255, 255, .75);--viewer-bg-ad: rgb(40, 40, 40, .9);--viewer-bg-bubble-button: rgb(41, 41, 41);--viewer-bg-chat: rgb(255, 255, 255, 0);--viewer-bg-chat-bubble-ai: rgb(45, 52, 62, .95);--viewer-bg-chat-bubble-self: rgb(121, 226, 121);--viewer-bg-chat-bubble-self-light: rgb(154, 250, 152);--viewer-bg-chat-hover: rgb(255, 255, 255, .03);--viewer-bg-chat-narration-1: rgb(0, 0, 0, .8);--viewer-bg-chat-narration-2: rgb(0, 0, 0, 0);--viewer-bg-chat-system: rgb(51, 51, 51, .8);--viewer-bg-chat-toast: rgb(0, 0, 0, .45);--viewer-bg-content: rgb(9, 9, 9);--viewer-bg-input: rgb(17, 17, 17, .95);--viewer-bg-input-image-on: rgb(17, 17, 17, .98);--viewer-bg-narrator: rgb(79, 94, 115);--viewer-bg-page: rgb(0, 0, 0);--viewer-bg-previewer: rgb(40, 40, 40);--viewer-bg-toast-1: rgb(51, 51, 51);--viewer-bg-toast-2: rgb(51, 51, 51, 0);--viewer-bg-voice: rgb(154, 250, 152, .99);--viewer-bg-voice-ai: rgb(103, 123, 151, .6);--viewer-bg-chat-tips: rgb(17, 17, 17, .8);--viewer-border-chat-narration-1: rgb(255, 255, 255, .07);--viewer-border-chat-narration-2: rgb(255, 255, 255, 0);--viewer-border-chatarea: rgb(255, 255, 255, .08);--viewer-border-content: rgb(255, 255, 255, .08);--viewer-brand-viewer: rgb(121, 226, 121);--viewer-brand-viewer-dark: rgb(0, 202, 65);--viewer-fg-1: rgb(255, 255, 255, .15);--viewer-fg-2: rgb(255, 255, 255, .21);--viewer-fg-3: rgb(255, 255, 255, .32);--viewer-fg-4: rgb(255, 255, 255, .43);--viewer-fg-5: rgb(255, 255, 255, .54);--viewer-fg-6: rgb(255, 255, 255, .6);--viewer-fg-7: rgb(255, 255, 255, .74);--viewer-fg-8: rgb(255, 255, 255, .83);--viewer-fg-9: rgb(255, 255, 255, .99);--viewer-fg-chat-ai: rgb(255, 255, 255);--viewer-fg-chat-ai-alpha-1: rgb(255, 255, 255, .1);--viewer-fg-chat-ai-alpha-3: rgb(255, 255, 255, .3);--viewer-fg-chat-narration: rgb(255, 255, 255, .95);--viewer-fg-chat-narration-alpha-3: rgb(255, 255, 255, .3);--viewer-fg-chat-self: rgb(0, 0, 0);--viewer-fg-chat-self-alpha-3: rgb(0, 0, 0, .3);--viewer-fg-chat-self-alpha-6: rgb(0, 0, 0, .54);--viewer-fg-chat-system: rgb(255, 255, 255, .95);--viewer-fg-chat-system-alpha-3: rgb(255, 255, 255, .3);--viewer-fg-chat-system-button: rgb(121, 226, 121);--viewer-fg-chat-system-button-sub: rgb(121, 226, 121);--viewer-fg-chat-toast: rgb(255, 255, 255, .95);--viewer-fg-chat-toast-alpha-3: rgb(255, 255, 255, .3);--viewer-fg-toast: rgb(239, 216, 143);--viewer-fg-chat-tips: rgb(255, 255, 255, .95);--viewer-input-bg: rgb(255, 255, 255, .12);--viewer-input-border: rgb(255, 255, 255, .08);--viewer-input-button-bg: rgb(255, 255, 255, .05);--viewer-input-button-border: rgb(255, 255, 255, .05);--viewer-cata-list-bg: rgb(34, 40, 47, .95);--viewer-dialog-bg: rgb(16, 19, 22);--viewer-dialog-bg-1: rgb(45, 52, 62);--viewer-dialog-bg-2: rgb(17, 17, 17)}[data-theme=light]{--viewer-avatar-bg: rgb(255, 255, 255, 0);--viewer-avatar-bg-image-on: rgb(0, 0, 0, .3);--viewer-avatar-fg: rgb(0, 0, 0);--viewer-avatar-fg-image-on: rgb(255, 255, 255, .99);--viewer-avatar-fg-image-on-light: rgb(255, 255, 255, .75);--viewer-avatar-fg-light: rgb(0, 0, 0, .75);--viewer-bg-ad: rgb(236, 242, 251, .9);--viewer-bg-bubble-button: rgb(255, 255, 255);--viewer-bg-chat: rgb(0, 0, 0, 0);--viewer-bg-chat-bubble-ai: rgb(223, 233, 248, .95);--viewer-bg-chat-bubble-self: rgb(121, 226, 121);--viewer-bg-chat-bubble-self-light: rgb(154, 250, 152);--viewer-bg-chat-hover: rgb(0, 0, 0, .03);--viewer-bg-chat-narration-1: rgb(238, 238, 238, .8);--viewer-bg-chat-narration-2: rgb(238, 238, 238, 0);--viewer-bg-chat-system: rgb(238, 238, 238, .8);--viewer-bg-chat-toast: rgb(238, 238, 238, .8);--viewer-bg-content: rgb(245, 245, 245);--viewer-bg-input: rgb(255, 255, 255, .95);--viewer-bg-input-image-on: rgb(255, 255, 255, .98);--viewer-bg-narrator: rgb(255, 255, 255);--viewer-bg-page: rgb(255, 255, 255);--viewer-bg-previewer: rgb(255, 255, 255);--viewer-bg-toast-1: rgb(255, 244, 204);--viewer-bg-toast-2: rgb(255, 244, 204, 0);--viewer-bg-voice: rgb(154, 250, 152);--viewer-bg-voice-ai: rgb(240, 245, 253, .9);--viewer-bg-chat-tips: rgb(238, 238, 238, .8);--viewer-border-chat-narration-1: rgb(245, 245, 245, .8);--viewer-border-chat-narration-2: rgb(245, 245, 245, 0);--viewer-border-chatarea: rgb(0, 0, 0, .05);--viewer-border-content: rgb(0, 0, 0, .05);--viewer-brand-viewer: rgb(121, 226, 121);--viewer-brand-viewer-dark: rgb(0, 202, 65);--viewer-fg-1: rgb(197, 209, 220);--viewer-fg-2: rgb(170, 184, 197);--viewer-fg-3: rgb(142, 160, 176);--viewer-fg-4: rgb(124, 141, 157);--viewer-fg-5: rgb(100, 115, 131);--viewer-fg-6: rgb(83, 97, 111);--viewer-fg-7: rgb(65, 78, 90);--viewer-fg-8: rgb(36, 42, 47);--viewer-fg-9: rgb(20, 23, 27);--viewer-fg-chat-ai: rgb(0, 0, 0);--viewer-fg-chat-ai-alpha-1: rgb(0, 0, 0, .1);--viewer-fg-chat-ai-alpha-3: rgb(0, 0, 0, .3);--viewer-fg-chat-narration: rgb(0, 0, 0);--viewer-fg-chat-narration-alpha-3: rgb(0, 0, 0, .3);--viewer-fg-chat-self: rgb(0, 0, 0, .95);--viewer-fg-chat-self-alpha-3: rgb(0, 0, 0, .3);--viewer-fg-chat-self-alpha-6: rgb(0, 0, 0, .54);--viewer-fg-chat-system: rgb(0, 0, 0, .95);--viewer-fg-chat-system-alpha-3: rgb(0, 0, 0, .3);--viewer-fg-chat-system-button: rgb(121, 226, 121);--viewer-fg-chat-system-button-sub: rgb(121, 226, 121);--viewer-fg-chat-toast: rgb(0, 0, 0, .45);--viewer-fg-chat-toast-alpha-3: rgb(0, 0, 0, .25);--viewer-fg-toast: rgb(153, 91, 46);--viewer-fg-chat-tips: rgb(0, 0, 0, .95);--viewer-input-bg: rgb(0, 0, 0, 0);--viewer-input-border: rgb(0, 0, 0, .12);--viewer-input-button-bg: rgb(0, 0, 0, .02);--viewer-input-button-border: rgb(0, 0, 0, .05);--viewer-cata-list-bg: rgb(237, 240, 243);--viewer-dialog-bg: rgb(255, 255, 255);--viewer-dialog-bg-1: rgb(255, 255, 255);--viewer-dialog-bg-2: rgb(236, 242, 251)}.prm-rich-inner{max-height:220px;overflow:auto;color:var(--fg-9)}.prm-rich-inner::-webkit-scrollbar{width:0;height:0}.prm-rich-win{position:absolute;bottom:0;right:0;opacity:0;font-size:14px;width:18px;height:18px;line-height:18px;text-align:center;transform:rotate(90deg);border-radius:2px 6px 2px 4px}.prm-rich-win:hover{opacity:1;background:rgba(255,255,255,.1)}.prm-text{min-height:32px;max-height:220px}.prm-text:focus,.prm-text:focus-within{border-color:var(--input-border-selected)}.prm-text-inner{width:100%;outline:none;border:0;overflow:auto;max-height:210px;white-space:normal;color:var(--fg-9)}.prm-text-inner::-webkit-scrollbar{width:0;height:0}.prm-text-inner:empty:before{content:attr(placeholder);color:var(--fg-3)}.prm-upload-inner{position:absolute;width:22px;height:22px;min-width:22px;top:4px;left:5px;border:0}.prm-upload-inner img{object-fit:cover;width:100%;height:100%}.prm-upload-name{margin-left:32px;width:calc(100% - 40px);border:0;background-color:transparent;height:22px;line-height:20px;outline:none;color:var(--fg-8);box-sizing:border-box}[data-theme=dark]{--viewer-bg-previewer: rgb(40,40,40);--viewer-bg-chat-bubble-ai: rgb(45,52,62,.95);--viewer-bg-chat-bubble-self: rgb(121,226,121);--viewer-bg-chat-narration-1: rgb(0,0,0,.8);--viewer-bg-chat-narration-2: rgb(0,0,0,0);--viewer-fg-chat-ai: rgb(255,255,255);--viewer-fg-chat-self: rgb(0,0,0);--viewer-fg-chat-narration: rgb(255,255,255,.95)}[data-theme=light]{--viewer-bg-chat-bubble-ai: rgb(223,233,248,.95);--viewer-bg-chat-bubble-self: rgb(121,226,121);--viewer-bg-chat-narration-1: rgb(238,238,238,.8);--viewer-bg-chat-narration-2: rgb(238,238,238,0);--viewer-bg-previewer: rgb(255,255,255);--viewer-fg-chat-ai: rgb(0,0,0);--viewer-fg-chat-self: rgb(0,0,0,.95);--viewer-fg-chat-narration: rgb(0,0,0)}.prm-initchat{overflow:hidden}.prm-initchat.prm-input:not([is-ref=true]){padding:0}.prm-initchat-inner{width:100%;min-height:24px;max-height:220px;overflow:auto;color:var(--fg-9)}.prm-initchat-inner::-webkit-scrollbar{width:0;height:0}.prm-initchat-inner:empty:before{content:attr(placeholder);opacity:.25;position:absolute;line-height:24px;pointer-events:none;line-height:30px;padding-left:5px}.prm-initchat-row{display:flex;margin:8px 4px;opacity:.6}.prm-initchat-row:hover{opacity:1}.prm-initchat-user{justify-content:flex-end}.prm-initchat-assistant{flex-direction:column}.prm-initchat-rich{padding:8px 10px;max-height:80px;max-width:80%;min-width:80px;border-radius:16px;overflow:auto;box-sizing:border-box}.prm-initchat-rich::-webkit-scrollbar{width:0;height:0}.prm-initchat-user .prm-initchat-rich{background:var(--viewer-bg-chat-bubble-self, #3BC859);color:var(--viewer-fg-chat-self)}.prm-initchat-assistant .prm-initchat-rich{background:var(--viewer-bg-chat-bubble-ai, rgba(255, 255, 255, .08));color:var(--viewer-fg-chat-ai)}.prm-initchat-narrator .prm-initchat-rich{border-radius:0;max-width:100%;background:linear-gradient(90deg,var(--viewer-bg-chat-narration-2) 0%,var(--viewer-bg-chat-narration-1) 25%,var(--viewer-bg-chat-narration-1) 75%,var(--viewer-bg-chat-narration-2) 100%);width:100%;text-align:center;color:var(--viewer-fg-chat-narration)}.prm-initchat .bubble-role{--bubble-role-avatar-width: 20px !important;display:flex;width:100%;margin-bottom:2px}.prm-initchat .bubble-role-nickname{flex:none}.prm-jtable-inner{overflow:auto;width:100%;max-height:150px}.prm-jtable-inner::-webkit-scrollbar{width:0;height:0}.prm-jtable-table{min-width:100%;min-height:24px;pointer-events:none}.prm-jtable-table th{text-align:left;color:var(--fg-2, rgba(255, 255, 255, .24));font-size:14px;font-weight:400;padding:2px;line-height:1.2}.prm-jtable-table td{padding:2px}.prm-jtable.is-empty:before{content:attr(placeholder);color:var(--fg-3)}.prm-roleid[data-v-aedb5485]{font-size:14px}.prm{position:relative}.prm-input{position:relative;font-size:14px;box-sizing:border-box;word-break:break-all;background-color:var(--input-bg-default);border:1px solid var(--input-border-default);border-radius:8px;padding:3px 5px;overflow:hidden;outline:none}.prm-input.has-tool{padding:3px 50px 3px 5px}.prm-input:focus,.prm-input:focus-within{border-color:var(--input-border-selected)}.prm-tools{display:none;position:absolute;top:3px;right:1px;white-space:nowrap;z-index:1;border-radius:8px}.prm-tools .btn{margin-right:1px;color:var(--fg-4);font-size:12px;border-radius:inherit;background-color:var(--button-bg-hover);flex-shrink:0}.prm-tools .btn:hover,.prm-tools .icon:hover{color:var(--fg-8)}.prm:hover .prm-tools{display:flex;align-items:center}.prm:hover .prm-upload-name{padding-right:calc(var(--prm-upload-name-pad) * 20px - 5px)}.prm:after{content:attr(maxlength);display:block;position:absolute;z-index:0;color:var(--fg-3);height:28px;line-height:28px;bottom:0;right:0;padding-right:4px;font-weight:400}.prm[is-over-len=true]:after{color:rgba(216,81,81,.8)}.dialog{position:fixed;z-index:2000;top:0;left:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;background-color:var(--overlay-dark)}.dialog-wrapper{width:420px;background-color:var(--bg-dialog);border:1px solid var(--border-dialog);border-radius:16px;overflow:hidden;box-sizing:border-box;padding-bottom:8px}.dialog-close{position:absolute;right:12px;top:0;bottom:0;margin:auto;font-size:16px;color:var(--fg-7);width:24px;height:24px;line-height:24px;text-align:center}.dialog-header{position:relative;height:48px;font-size:16px;color:var(--fg-9);padding:0 12px;display:flex;align-items:center}.dialog-title{text-align:center;width:calc(100% - 24px)}.dialog-content{background-color:var(--bg-dialog-content);border-radius:8px;margin:0 8px;padding:12px 8px;box-sizing:border-box}.dialog-content:last-child{border-radius:8px}.dialog-icon{width:24px;height:24px;text-align:center;font-size:20px;float:left;margin-right:5px}.dialog-warning .dialog-icon{color:var(--color-warning)}.dialog-success .dialog-icon{color:var(--color-success)}.dialog-error .dialog-icon{color:var(--color-danger)}.dialog-info .dialog-icon{color:var(--color-info)}.dialog-body{box-sizing:border-box;max-height:calc(100vh - 150px);overflow:auto;font-size:14px;color:var(--fg-9)}.dialog-body::-webkit-scrollbar{width:0;height:0}.dialog-row{display:flex;align-items:center}.dialog-row:not(:last-child){margin-bottom:8px}.dialog-label{font-size:14px;color:var(--fg-7)}.dialog-inmenu{background-color:var(--input-bg-default);border:1px solid var(--input-border-default);border-radius:8px;min-height:32px;box-sizing:border-box;font-size:0;position:relative;overflow:hidden;flex:1;white-space:nowrap;outline:none;padding:3px 5px}.dialog-upload{position:absolute;width:22px;height:22px;min-width:22px;top:4px;left:5px;border:0}.dialog-upload img{object-fit:cover}.dialog-upload-name{margin-left:32px;margin-top:3px;width:calc(100% - 40px);border:0;background-color:transparent;height:22px;line-height:20px;outline:none;color:var(--fg-8)}.dialog-formmsg{margin-bottom:12px}.dialog-footer{height:48px;padding:8px 20px;margin:0 8px;box-sizing:border-box;border-radius:0 0 8px 8px;border-top:1px solid var(--border-default);background-color:var(--bg-dialog-content);text-align:right}.dialog-footer[layout=fill]{display:flex}.dialog-footer[layout=between]{display:flex;justify-content:space-between}.dialog-btn{min-width:60px}.dialog-btn:not(:last-child){margin-right:8px}.dialog-footer[layout=fill] .dialog-btn{flex:1}.folder{color:var(--fg-9, #fff)}.folder.dialog-wrapper{width:calc(100% - 20px);height:calc(100% - 20px)}.folder .scroll{overflow:auto;padding:0 5px}.folder .scroll-nodata{padding:20px 0}.folder-header{position:relative;height:48px;line-height:48px;cursor:default;display:flex;align-items:center}.folder-tabs{display:flex;align-items:center;padding:0 10px;overflow:auto;overflow-y:hidden;flex:1;white-space:nowrap}.folder-tabs::-webkit-scrollbar{width:0;height:0}.folder-tab{font-size:14px;padding:0 5px;position:relative;user-select:none}.folder-tab-menu{opacity:0;font-size:inherit}.folder-tab.active{color:var(--brand-default, var(--color-success));font-weight:600}.folder-tab.active:after{content:"";display:block;width:calc(100% - 26px);border-bottom:1px solid;left:5px;bottom:2px;position:absolute}.folder-tab.active .folder-tab-menu{opacity:1}.folder-search{border-radius:16px;width:100px;font-size:14px;max-width:360px;transition:width .25s}.folder-search:focus-within{width:calc(100% - 200px)}.folder-close{display:block;width:32px;height:32px;line-height:32px;text-align:center;position:relative;font-size:18px;font-weight:600;margin-right:8px}.folder-body{background-color:var(--bg-dialog-content);box-sizing:border-box;height:calc(100% - 40px);display:flex;flex-direction:column}.folder-tags{padding:8px}.folder-tag{position:relative;margin-left:5px;height:28px;border-radius:6px}.folder-file{width:12.5%;float:left;margin-bottom:15px;box-sizing:border-box;vertical-align:top;font-size:14px;position:relative;padding:5px;border-radius:8px;border:1px solid transparent}.folder-file.active{border-color:var(--color-success)}.folder-file-name{overflow:hidden;position:relative;display:block;width:100%;padding:5px 0;color:var(--fg-8, rgba(255, 255, 255, .85))}.folder-file-uploading{position:absolute;z-index:100;left:5px;right:5px;height:5px;border-radius:2px;bottom:0;background:rgba(255,255,255,.1);overflow:hidden}.folder-file-uploaded{height:100%;background:var(--color-success)}.folder-file-tools{position:absolute;right:5px;top:5px;z-index:11;display:none}.folder-file-tools .tool{--btn-bg: rgba(0, 0, 0, .5);--btn-bg-hover: rgba(0, 0, 0, .6);--btn-bg-active: rgba(0, 0, 0, .8);padding-left:5px;padding-right:5px}.folder-file.active .folder-file-tools{display:block}.folder-file-tag{margin-right:2px}@media screen and (max-width: 1664px){.folder-file{width:14.28%}}@media screen and (max-width: 1464px){.folder-file{width:16.66%}}@media screen and (max-width: 1264px){.folder-file{width:20%}}@media screen and (max-width: 1100px){.folder-file{width:25%}}@media screen and (max-width: 750px){.folder-file{width:33.33%}}@media screen and (min-width: 750px){.folder-search{width:200px}}
