#sbWindow{

    position:fixed;

    top:60px;

    left:140px;

    width:1000px;

    height:800px;

    background:#fff;

    border-radius:10px;

    box-shadow:0 20px 60px rgba(0,0,0,.35);

    display:none;

    flex-direction:column;

    overflow:hidden;

    z-index:9999;

    resize:both;

}

#sbWindow.show{

    display:flex;

}

#sbWindowOverlay{

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.18);

    display:none;

    z-index:9998;

}

#sbWindowOverlay.show{

    display:block;

}

.sb-window-header{

    height:48px;

    background:#6C2BD9;

    color:#fff;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:0 15px;

    cursor:move;

    user-select:none;

}

.sb-window-title{

    font-weight:bold;

}

.sb-window-buttons button{

    border:none;

    background:none;

    color:#fff;

    cursor:pointer;

    font-size:18px;

}

.sb-window-body{

    flex:1;

    overflow:auto;

    padding:15px;

}
.editor-toolbar{

    height:45px;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:0 15px;

    background:#fafafa;

    border-bottom:1px solid #ddd;

}

.editor-buttons{

    display:flex;

    gap:8px;

}

#editorText{

    width:100%;

    height: 450px;;

    border:solid 1px #a58f8f;

    outline:none;

    resize:none;

    padding:15px;

    font-family:Consolas, monospace;

    font-size:14px;

    line-height:1.5;

}