html,body,#root{margin:0;padding:0;height:100%;overflow:hidden}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Hiragino Sans GB,Microsoft YaHei,sans-serif;color:#1c1f23;background:#f5f6f8;-webkit-font-smoothing:antialiased}#app{padding:0;position:relative;width:100%;height:100%;min-width:1250px;overflow:hidden;color:#1c1f23}#app.preview-app{min-width:0}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-thumb{background-color:#d0d3d9;border-radius:4px}::-webkit-scrollbar-thumb:hover{background-color:#b6bac2}::-webkit-scrollbar-track{background:transparent}#comps{width:202px;min-width:202px;background:#fff;border-right:1px solid #e8eaed;height:calc(100vh - 60px);overflow:hidden;-webkit-user-select:none;user-select:none;display:flex;flex-direction:column}#comps .comps-tabs{width:100%;flex:1;min-height:0;display:flex;flex-direction:column;background:#fff}#comps .comps-tabs .semi-tabs-bar{display:flex;flex-wrap:nowrap;align-items:center;gap:16px;padding:0 12px;border-bottom:1px solid #eef0f3;overflow:hidden;flex-shrink:0}#comps .comps-tabs .semi-tabs-tab{float:none;flex:0 0 auto;font-size:13px;padding:10px 4px;margin-right:0!important;white-space:nowrap}#comps .comps-tabs .semi-tabs-tab:nth-of-type(1){padding-left:0}#comps .outline-tab{display:inline-flex;align-items:baseline}#comps .outline-count{font-size:11px;font-weight:400;color:#a0a6b0;margin-left:1px}#comps .comps-tabs .semi-tabs-content{flex:1;min-height:0;padding:0;overflow:hidden}#comps .comps-tabs .semi-tabs-pane,#comps .comps-tabs .semi-tabs-pane-motion-overlay{height:100%;padding-top:0;overflow:hidden!important}#comps #semiTabPaneltools,#comps #semiTabPanelelements,#comps #semiTabPanelpage{overflow:hidden!important}#comps .comps{height:100%;margin:0;padding:10px;box-sizing:border-box;overflow-y:auto;overscroll-behavior:contain}#comps .semi-collapse{border:none;background:transparent}#comps .semi-collapse-item{border-bottom:none;background:transparent}#comps .semi-collapse-header{height:30px;line-height:30px;padding:0 8px;margin:0 0 6px;background:#f6f7f9;border-radius:6px;font-size:12px;font-weight:600;color:#3c4043}#comps .semi-collapse-content{padding:0;background:transparent}#comps .subComp{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;width:100%}#comps .item-comp{border:1px solid #e8eaed;border-radius:8px;background:#fff;height:62px;margin:0;padding:4px 2px;box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;cursor:pointer;position:relative;transition:border-color .15s,box-shadow .15s}#comps .item-comp:hover{background:#fff;border-color:var(--semi-color-primary, #0064fa);box-shadow:0 2px 8px #0064fa1f}#comps .item-comp .icon{position:static;width:30px;height:30px;padding:0;display:inline-block;object-fit:contain}#comps .item-comp span.icon{width:22px;height:22px;margin:0;border-radius:4px}#comps .item-comp .name{display:block;width:100%;font-size:11px;line-height:16px;color:#646a73;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#comps .item-comp:hover .name{color:#1c1f23!important}#comps .elements{position:relative;margin:0;padding:8px;box-sizing:border-box;background:#fff;font-size:12px;height:100%;overflow-y:auto;overscroll-behavior:contain}#comps .elements .semi-list{background:transparent}#comps .elements .semi-empty-title{font-size:12px;font-weight:400;color:#b8bec7}#comps .elements .semi-list-item{padding:0;border:none;background:transparent}#comps .item-element{cursor:pointer;display:flex;flex-wrap:nowrap;align-items:center;width:100%;height:34px;line-height:34px;padding:0 8px;margin-bottom:2px;border-radius:6px;border-bottom:none;box-sizing:border-box;position:relative;overflow:hidden;transition:background .15s}#comps .item-element:hover{background:#f2f6ff}#comps .item-element.active{background:#e8f0ff}#comps .item-element .index{display:inline-block;width:22px;text-align:center;color:#a0a6b0;font-size:11px;flex-shrink:0}#comps .item-element .icon{position:static;width:18px;height:18px;margin:0 8px 0 4px;flex-shrink:0}#comps .item-element .name{flex:1;min-width:0;margin-left:0;font-size:12px;color:#3c4043;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:34px}#comps .item-element:hover .name{color:#1c1f23!important}#comps .activeState{position:absolute;width:7px;height:7px;top:14px;right:10px;background:var(--semi-color-primary, #0064fa);border-radius:50%}#comps .page-panel{height:100%;padding:12px;box-sizing:border-box;overflow-y:auto;overscroll-behavior:contain}#comps .page-panel-title{font-size:12px;font-weight:600;color:#3c4043;margin-bottom:12px}#comps .page-size-row{display:flex;align-items:center;gap:8px;margin-bottom:10px}#comps .page-size-row label{width:32px;flex-shrink:0;font-size:12px;color:#8a919f}#comps .page-size-row .semi-input-number{flex:1;min-width:0}#comps .page-size-unit{font-size:12px;color:#a0a6b0}#comps .page-size-tip{font-size:11px;color:#a0a6b0;margin:2px 0 14px}.assist span{position:absolute;width:6px;height:6px;border:1px solid red;display:inline;background:#fff}.assist .trans{width:22px;height:22px;border:none;background:transparent;border-radius:50%;cursor:pointer}.assist .trans img{width:22px;height:22px}.adR,.adL{cursor:ew-resize}.adT,.adB{cursor:ns-resize}#content.content{position:fixed;left:10px;top:0;z-index:9999;text-align:center}#content{width:calc(100% - 435px);height:calc(100vh - 60px);min-height:0;display:flex;overflow:auto}#content,#canvas{position:relative;background:#f5f6f8;overflow:auto;transform-origin:top left}.canvas-stage{position:relative;overflow:hidden;flex:none;margin:auto}.slide{position:fixed;top:80px;left:214px;z-index:11;-webkit-user-select:none;user-select:none;width:32px;height:150px;box-sizing:border-box;background:#fff;border:1px solid #e8eaed;border-radius:18px;box-shadow:0 4px 16px #1c1f231a}.screen{position:fixed;right:12px;top:72px;width:36px;height:36px;display:flex;align-items:center;justify-content:center;background:#fff;border-radius:50%;box-shadow:0 2px 10px #1c1f2326;cursor:pointer;z-index:10000}.screen:hover{box-shadow:0 2px 12px #0064fa59}.screen img{width:22px;height:22px}.ctrl{width:16px;height:16px;right:4px;cursor:pointer;opacity:.6;transition:opacity .15s}.ctrl:hover{opacity:1}.ctrl.zoom{position:absolute;top:8px;left:8px}.ctrl.zoomOut{position:absolute;top:126px;left:8px}.zoom-slider{position:absolute!important;top:32px;left:14px;height:84px!important;width:12px!important}.zoom-slider .semi-slider-rail{width:4px;background:#e8eaed}.zoom-slider .semi-slider-track{width:4px;background:var(--semi-color-primary, #0064fa)}.zoom-slider .semi-slider-handle{border-color:var(--semi-color-primary, #0064fa)}.comp-item{cursor:move;z-index:1;-webkit-user-select:none;user-select:none}.comp-element img{z-index:-1}.multipleActive{border:1px solid red}.comp-item .active{border:1px solid var(--semi-color-primary, #0064fa);z-index:10}.comp-item .comp-room{z-index:0}.comp-item .comp-room.active{border:4px solid white;z-index:0;box-shadow:1px 0 8px #0064fa99}.comp-device{background:#9acd32}.comp-device.isShadow{box-shadow:0 0 8px 2px #0006}#canvas{background:#eee;transform-origin:top left;overflow:hidden;box-shadow:0 6px 28px #1c1f2314}#canvas.other{background-repeat:no-repeat!important;background-size:1920px 1080px}#canvas.grid{background-image:linear-gradient(rgba(200,205,208,.3) 1px,transparent 0),linear-gradient(90deg,rgba(200,205,208,.3),1px,transparent 0),linear-gradient(#c8cdd0 1px,transparent 0),linear-gradient(90deg,#c8cdd0 1px,transparent 0);background-size:20px 20px,20px 20px,100px 100px,100px 100px}#canvas.floor{background:url(data:image/webp;base64,UklGRkYAAABXRUJQVlA4IDoAAACwAwCdASoUABQAPmEskkakIqGhKAgAgAwJaQAALnWbcJBJNlX+AAD+/gw9kr9vrFofkcVDpA4AAAAA)}.comp-img.isShadow{box-shadow:-1px 1px 10px 5px #0000004d}.comp-line_colu{width:7px;background:#fff}.comp-line_colu.isShadow{box-shadow:0 0 14px -1px #000}.comp-line_row{height:7px;background:#fff}.comp-line_row.isShadow{box-shadow:0 0 14px -1px #000}.comp-pillar{width:15px;height:15px;background:#fff;z-index:12}.comp-pillar-shadow.isShadow{box-shadow:0 0 3px 1px #0006}.comp-room{border:6px solid #ffffff}.comp-room.isShadow{box-shadow:1px 0 8px #0009}.comp-room-inset{display:inline-block}.comp-room-inset.isShadow{box-shadow:inset 0 0 26px -11px #0d0d0dcc}.comp-text{text-align:center;font-size:14px;color:#4f4f4f}.comp-text-inner{outline:none;overflow:hidden}#settings{position:fixed;right:0;top:60px;width:232px;height:calc(100vh - 60px);background:#fff;border-left:1px solid #e8eaed;overflow:hidden;-webkit-user-select:none;user-select:none;z-index:100;display:flex;flex-direction:column}#settings .setting-config{position:fixed;top:0;left:0;width:100%;height:60px;display:flex;align-items:center;justify-content:center;gap:18px;padding:0 18px;box-sizing:border-box;background:#fff;border-bottom:1px solid #e8eaed;z-index:900}#settings .toolbar-brand{position:absolute;left:18px;top:50%;transform:translateY(-50%);display:flex;align-items:center;gap:8px;flex-shrink:0}#settings .brand-icon{width:24px;height:24px}#settings .brand-name{font-size:16px;font-weight:600;letter-spacing:.2px;color:#1c1f23}#settings .toolbar-group{display:flex;align-items:center;gap:12px;flex-shrink:0}#settings .toolbar-label{font-size:12px;color:#8a919f;white-space:nowrap}#settings .toolbar-sep{width:1px;height:24px;background:#e8eaed}#settings .bgs{display:flex;align-items:center;gap:6px}#settings .bg-swatch{width:28px;height:28px;padding:4px;box-sizing:border-box;border:1px solid #e8eaed;border-radius:6px;background:#fff;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;transition:border-color .15s,box-shadow .15s}#settings .bg-swatch img{width:18px;height:18px;object-fit:contain}#settings .bg-swatch:hover{border-color:var(--semi-color-primary, #0064fa)}#settings .bg-swatch.active{border-color:var(--semi-color-primary, #0064fa);box-shadow:0 0 0 2px #0064fa1f}#settings .upload-btn{margin-left:4px}#settings .align-group{gap:12px}#settings .align-spacing{display:flex;gap:16px}#settings .align-spacing-item{display:flex;align-items:center;gap:6px}#settings .align-label{font-size:12px;color:#8a919f;white-space:nowrap}#settings .align-btn{width:30px;height:30px;padding:0;border:none;border-radius:6px;background:transparent;color:#5b626e;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:background .15s,color .15s}#settings .align-icon{width:20px;height:20px;display:block}#settings .align-btn:hover{background:#f2f4f7;color:var(--semi-color-primary, #0064fa)}#settings .align-actions{display:flex;gap:2px}#settings .space-num{width:110px}#settings .toolbar-actions{position:absolute;right:18px;top:50%;transform:translateY(-50%);display:flex;align-items:center;gap:4px;flex-shrink:0}#settings .clear-btn-wrap{display:inline-flex}#settings .setting-element{width:100%;height:100%;padding:12px 14px 24px;box-sizing:border-box;overflow-y:auto;overflow-x:hidden}#settings .element-header{display:flex;align-items:center;gap:8px;padding:2px 2px 12px;border-bottom:1px solid #eef0f3;margin-bottom:4px}#settings .element-icon{width:24px;height:24px;padding:2px;border-radius:5px;background:#f4f6f8;object-fit:contain}#settings .element-name{font-size:15px;font-weight:600;color:#1c1f23}#settings .item{padding:9px 0;border-bottom:1px dashed #eef0f3;position:relative}#settings .item:last-child{border-bottom:none}#settings .title{display:block;font-size:12px;color:#8a919f;line-height:20px;margin-bottom:2px}#settings .subs{display:flex;flex-direction:column;gap:6px}#settings .grid{display:grid}#settings .grid-2{grid-template-columns:1fr 1fr;gap:8px}#settings .grid-2 .subs-item,#settings .grid-1 .subs-item{display:flex;align-items:center;gap:6px;min-width:0}#settings .lab{color:#8a919f;font-size:12px;text-align:center;flex-shrink:0}#settings .grid-2 .lab{width:16px}#settings .grid-1 .lab{width:32px;text-align:left}#settings .grid-2 .val,#settings .grid-2 .val.semi-input-number,#settings .grid-1 .val,#settings .grid-1 .val.semi-input-number{width:100%;min-width:0}#settings .subs-item.full{display:flex;align-items:flex-start;gap:6px;min-width:0}#settings .subs-item.full .lab{width:32px;text-align:left;padding-top:3px}#settings .val-cb{margin:0}#settings .val-cb .val{color:#3c4043;font-size:13px}#settings .val-s,#settings .val-s.semi-select{width:100%;margin:0}#settings .semi-slider{flex:1 1 auto;width:auto;min-width:0;margin:0 4px}#settings .semi-input-number{border-radius:6px}#settings .cols{display:flex;flex-wrap:wrap;gap:6px;padding:2px 0;height:auto}#settings .col-item{width:22px;height:22px;display:inline-block;border-radius:4px;border:1px solid rgba(0,0,0,.08);cursor:pointer;margin:0;transition:transform .12s}#settings .col-item:hover{transform:scale(1.08)}#settings .col-item.active{box-shadow:0 0 0 2px #fff,0 0 0 3px var(--semi-color-primary, #0064fa)}#settings .del-item{text-align:center;padding:16px 0 8px}#settings .delete-btn{width:100%;justify-content:center}#settings .muls-list{display:flex;align-items:center;justify-content:space-between;padding:0 2px 6px}#settings .muls-list .title{margin:0;font-size:13px;font-weight:600;color:#3c4043}#settings .nums{font-size:12px;color:#a0a6b0}#settings .nums .val{color:var(--semi-color-primary, #0064fa);padding:0 3px;font-weight:600}#settings .muls{display:flex;flex-direction:column}#settings .muls-item{display:flex;align-items:center;height:34px;padding:0 4px;border-radius:6px;cursor:pointer;position:relative;transition:background .15s}#settings .muls-item:hover{background:#f2f6ff}#settings .ele-index{display:inline-block;width:22px;text-align:center;color:#a0a6b0;font-size:11px}#settings .ele-icon{width:16px;height:16px;display:inline-block;margin:0 8px 0 4px}#settings .ele-name{color:#3c4043;font-size:12px}#settings .ele-del{position:absolute;right:2px;opacity:.5}#settings .ele-del:hover{opacity:1}#settings .muls .semi-empty{padding:20px 0 10px}#settings .muls .semi-empty-title{font-size:13px;color:#999}#settings .muls .semi-empty-description{font-size:12px;color:#bbb}.history-drawer .semi-sidesheet-inner{border-radius:0}.history-drawer .semi-sidesheet-header{align-items:center;padding:16px 20px;border-bottom:1px solid #eef0f3}.history-drawer .semi-sidesheet-title{font-size:15px;font-weight:600;color:#1c1f23}.history-drawer .semi-sidesheet-body{padding:0;overflow:hidden}.history-drawer .semi-sidesheet-footer{padding:12px 20px;border-top:1px solid #eef0f3}.history-body{display:grid;grid-template-columns:212px minmax(0,1fr);height:100%;background:#fff}.history-list{display:flex;flex-direction:column;border-right:1px solid #eef0f3;background:#fafbfc;margin:0;padding:14px 10px;overflow:hidden}.history-list .title{display:flex;align-items:center;justify-content:space-between;font-size:13px;font-weight:600;color:#3c4043;padding:2px 8px 10px;border-bottom:1px solid #eef0f3;flex-shrink:0}.history-list .title .nums{min-width:20px;height:18px;padding:0 7px;border-radius:9px;background:#eef0f3;color:#8a919f;font-size:11px;font-weight:400;line-height:18px;text-align:center}.history-list .uls{flex:1;min-height:0;overflow-y:auto;padding-top:8px;overscroll-behavior:contain}.history-list .uls::-webkit-scrollbar{width:6px}.history-list .item{position:relative;display:flex;flex-direction:column;gap:2px;padding:8px 24px 8px 10px;margin-bottom:4px;border-radius:8px;cursor:pointer;transition:background .15s,box-shadow .15s}.history-list .item .name{font-size:13px;line-height:18px;color:#3c4043;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.history-list .item .time{font-size:11px;line-height:16px;color:#a0a6b0}.history-list .item:hover{background:#f2f4f7}.history-list .item.isActive{background:#eaf1ff;box-shadow:inset 2px 0 0 var(--semi-color-primary, #0064fa)}.history-list .item.isActive .name{color:var(--semi-color-primary, #0064fa);font-weight:500}.history-list .item.isActive .time{color:#6b9bf0}.history-list .state{position:absolute;right:10px;top:13px;width:6px;height:6px;border-radius:50%;background:#c8cdd4}.history-list .state.custom{background:#00b42a}.history-list .semi-empty{padding:40px 0}.history-list .semi-empty-title{font-size:12px;color:#b8bec7}.history-list .semi-empty-description{font-size:12px;color:#c3c8cf}.history-content{display:flex;flex-direction:column;min-width:0;padding:16px 20px 18px;overflow:hidden}.preview-header{display:flex;flex-direction:column;gap:4px;margin-bottom:12px;flex-shrink:0}.preview-name{font-size:14px;font-weight:600;color:#1c1f23;line-height:20px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.preview-name.empty{font-weight:400;color:#a0a6b0}.preview-meta{display:flex;align-items:center;gap:8px;font-size:12px;color:#8a919f}.preview-meta .dot{width:3px;height:3px;border-radius:50%;background:#c8cdd4}.preview{position:relative;flex:1;min-height:0;display:flex;align-items:center;justify-content:center;border:1px solid #e8eaed;border-radius:10px;background:#f7f8fa;overflow:hidden;box-shadow:inset 0 1px 4px #1c1f230a}.preview-inner{position:absolute;top:0;left:0;width:1920px;height:1080px;transform-origin:top left;background:#eee;box-shadow:0 6px 24px #1c1f231f}.preview .onData{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:13px;color:#b8bec7}.preview-stats{display:flex;gap:8px;margin-top:14px;flex-shrink:0}.preview-stats .stat{flex:1;display:flex;flex-direction:column;gap:2px;padding:9px 12px;border:1px solid #eef0f3;border-radius:8px;background:#fafbfc}.preview-stats .stat-value{font-size:16px;font-weight:600;line-height:20px;color:#1c1f23}.preview-stats .stat-label{font-size:11px;line-height:14px;color:#8a919f}.history-footer{display:flex;align-items:center;justify-content:space-between}.history-footer-left{display:flex;gap:8px}#keyboard{position:fixed;right:30px;bottom:30px;z-index:1001}#keyboard .help-btn{width:42px;height:42px;border-radius:50%;background:#fff;box-shadow:0 0 5px #f003;opacity:.8}#keyboard .help-btn:hover{opacity:1;box-shadow:0 0 5px #3370ff}.help-info{width:180px;padding:10px;background:#f4f5f5}.help-info .title{margin:5px 3px;border-bottom:1px dashed #ccc;padding-bottom:10px}.help-info .datas{color:#666;font-size:14px;margin:3px}.help-info .datas .item{height:30px;line-height:30px;position:relative}.help-info .datas .val{position:absolute;right:5px}.help-info .item .name{color:#888;padding-right:10px}.help-info code{color:#1e90ff;padding:2px}#editor{margin-top:60px;padding:0;position:relative;color:#2c3e50;display:flex;flex-direction:row}.preview-root{width:100vw;height:100vh;display:flex;align-items:center;justify-content:center;background:#eef0f3;overflow:hidden}.preview-stage{position:relative;overflow:hidden;flex:none}.preview-canvas{position:relative;background:#eee;transform-origin:top left;overflow:hidden;box-shadow:0 10px 40px #1c1f2324}.preview-canvas.other{background-repeat:no-repeat!important;background-size:1920px 1080px}.preview-canvas.grid{background-image:linear-gradient(rgba(200,205,208,.3) 1px,transparent 0),linear-gradient(90deg,rgba(200,205,208,.3),1px,transparent 0),linear-gradient(#c8cdd0 1px,transparent 0),linear-gradient(90deg,#c8cdd0 1px,transparent 0);background-size:20px 20px,20px 20px,100px 100px,100px 100px}.preview-canvas.floor{background:url(data:image/webp;base64,UklGRkYAAABXRUJQVlA4IDoAAACwAwCdASoUABQAPmEskkakIqGhKAgAgAwJaQAALnWbcJBJNlX+AAD+/gw9kr9vrFofkcVDpA4AAAAA)}.preview-comp{position:absolute}.preview-comp .comp-text-inner{cursor:default}.preview-empty{width:100vw;height:100vh;display:flex;align-items:center;justify-content:center;background:#eef0f3;color:#8a919f;font-size:14px}
