.template-dialog .el-dialog__body{padding:0!important}.template-dialog .el-dialog__header{padding:14px 20px 10px;border-bottom:1px solid #eee}.template-layout[data-v-14fd78b7]{display:-webkit-box;display:-ms-flexbox;display:flex;height:72vh;gap:0;overflow:hidden}.side-panel[data-v-14fd78b7]{width:220px;-ms-flex-negative:0;flex-shrink:0;border-right:1px solid #e8e8e8;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;background:#fafafa}.side-header[data-v-14fd78b7]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;padding:12px 12px 10px;border-bottom:1px solid #eee}.side-title[data-v-14fd78b7]{font-size:13px;font-weight:600;color:#333}.template-list[data-v-14fd78b7]{-webkit-box-flex:1;-ms-flex:1;flex:1;overflow-y:auto;padding:6px 0}.list-empty[data-v-14fd78b7]{text-align:center;color:#bbb;font-size:12px;padding:30px 12px}.template-item[data-v-14fd78b7]{padding:8px 12px;cursor:pointer;border-bottom:1px solid #f0f0f0;-webkit-transition:background .15s;transition:background .15s}.template-item[data-v-14fd78b7]:hover{background:#eef4ff}.template-item.active[data-v-14fd78b7]{background:#e6efff;border-left:3px solid #409eff}.item-main[data-v-14fd78b7]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:6px;margin-bottom:4px}.item-tag[data-v-14fd78b7]{-ms-flex-negative:0;flex-shrink:0}.item-title[data-v-14fd78b7]{font-size:13px;color:#333;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-webkit-box-flex:1;-ms-flex:1;flex:1}.item-meta[data-v-14fd78b7]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.item-version[data-v-14fd78b7]{font-size:11px;color:#aaa}.item-actions[data-v-14fd78b7]{display:-webkit-box;display:-ms-flexbox;display:flex;gap:8px}.action-icon[data-v-14fd78b7]{font-size:14px;cursor:pointer;padding:2px;border-radius:3px;-webkit-transition:color .2s;transition:color .2s}.action-active[data-v-14fd78b7]{color:#67c23a}.action-active[data-v-14fd78b7]:hover{color:#4caf50}.action-delete[data-v-14fd78b7]{color:#ccc}.action-delete[data-v-14fd78b7]:hover{color:#f56c6c}.main-panel[data-v-14fd78b7]{-webkit-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;overflow:hidden}.editor-toolbar[data-v-14fd78b7]{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;padding:10px 16px;border-bottom:1px solid #e8e8e8;background:#fff;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:8px;-ms-flex-negative:0;flex-shrink:0}.editor-toolbar[data-v-14fd78b7],.toolbar-left[data-v-14fd78b7]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.editor-title[data-v-14fd78b7]{font-size:14px;font-weight:600;color:#303133;white-space:nowrap}.toolbar-right[data-v-14fd78b7]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:4px}.var-label[data-v-14fd78b7]{font-size:12px;color:#888;white-space:nowrap}.var-btn[data-v-14fd78b7]{background:#f0f5ff;border-color:#c6d9ff;color:#409eff}.var-btn[data-v-14fd78b7]:hover{background:#409eff;color:#fff;border-color:#409eff}.code-pane[data-v-14fd78b7],.editor-body[data-v-14fd78b7],.preview-pane[data-v-14fd78b7]{-webkit-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;overflow:hidden}.code-pane[data-v-14fd78b7],.preview-pane[data-v-14fd78b7]{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.pane-label[data-v-14fd78b7]{font-size:12px;color:#888;padding:6px 12px;background:#f7f8fa;border-bottom:1px solid #eee;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:4px;-ms-flex-negative:0;flex-shrink:0}.char-count[data-v-14fd78b7]{margin-left:auto;color:#bbb;font-size:11px}.preview-tip[data-v-14fd78b7]{margin-left:4px;color:#bbb;font-size:11px}.edit-mode-tip[data-v-14fd78b7]{margin-left:auto;font-size:11px;color:#409eff;background:#ecf5ff;border-radius:3px;padding:1px 6px}.code-editor[data-v-14fd78b7]{-webkit-box-flex:1;-ms-flex:1;flex:1;width:100%;padding:12px;border:none;outline:none;resize:none;font-family:Consolas,Monaco,Courier New,monospace;font-size:12px;line-height:1.7;color:#333;background:#fafcff;-moz-tab-size:2;-o-tab-size:2;tab-size:2}.pane-divider[data-v-14fd78b7]{width:1px;background:#e8e8e8;-ms-flex-negative:0;flex-shrink:0}.preview-pane[data-v-14fd78b7]{background:#fff}.preview-body[data-v-14fd78b7]{-webkit-box-flex:1;-ms-flex:1;flex:1;overflow-y:auto;padding:16px;font-size:13px;line-height:1.8}.preview-editable[data-v-14fd78b7]{outline:none;cursor:text}.preview-editable[data-v-14fd78b7]:hover{background:#fffef5}.preview-editable[data-v-14fd78b7]:focus{-webkit-box-shadow:inset 0 0 0 2px rgba(64,158,255,.15);box-shadow:inset 0 0 0 2px rgba(64,158,255,.15);background:#fffef5}.editor-footer[data-v-14fd78b7]{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;padding:10px 16px;border-top:1px solid #e8e8e8;background:#fafafa;-ms-flex-negative:0;flex-shrink:0}.editor-footer[data-v-14fd78b7],.footer-info[data-v-14fd78b7]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.footer-info[data-v-14fd78b7]{gap:10px}.saved-hint[data-v-14fd78b7]{font-size:12px;color:#67c23a}.footer-actions[data-v-14fd78b7]{display:-webkit-box;display:-ms-flexbox;display:flex;gap:8px}