.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:rgba(0,0,0,.6);z-index:1000;display:flex;justify-content:center;align-items:center;padding:1rem}.modal-content{background-color:#333;border-radius:8px;box-shadow:0 4px 16px rgba(0,0,0,.3);width:65vw;scrollbar-width:thin;scrollbar-color:#dadada rgba(0,0,0,.1);position:relative}.modal-content::-webkit-scrollbar{width:8px;height:8px}.modal-content::-webkit-scrollbar-track{background-color:#1e1e1e;border-radius:4px}.modal-content::-webkit-scrollbar-thumb{background-color:#dadada;border-radius:4px}.modal-content::-webkit-scrollbar-thumb:hover{background-color:rgb(192.5,192.5,192.5)}@media(max-width:1024px){.modal-content{width:90vw}}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:1rem 1.5rem}.modal-header h3{margin:0;font-size:1.25rem;font-weight:500;color:#fff}.modal-body{padding:1rem;max-height:80vh;overflow-y:scroll}.modal-footer{padding:1rem 1.5rem;display:flex;justify-content:center;align-items:center}.error-message{color:#ff6b6b;background-color:rgba(255,107,107,.1);padding:.5rem;border-radius:4px;margin-bottom:1rem}label{display:block;margin-bottom:.15rem;color:#fff;font-size:1.15rem;font-weight:500}.form-group{width:97%;margin:0 auto 1rem;position:relative}.form-group .tag-input-container{margin-bottom:1rem}.form-group .tag-input-container .tag-input-wrapper{min-height:45px}.form-group .tag-input-container .tag-input-wrapper .tag-input{width:100%}input[type=number],input[type=text],select,textarea{padding:.75rem;font-size:1rem;font-family:Inter,sans-serif;background-color:#555;border:1px solid #777;color:#fff;border-radius:.25rem}input[type=number]:focus,input[type=text]:focus,select:focus,textarea:focus{border-color:#3282b8;outline:none}input[type=number],input[type=text],select,textarea{width:100%}textarea{resize:none;min-height:200px}input[type=checkbox]{margin-right:.5rem}small{display:block;color:#ccc;font-size:.875rem;margin-top:.25rem;margin-bottom:1rem}.form-actions{justify-content:space-between;gap:.75rem;width:97%;margin:auto}.form-actions,.form-actions .publish-switch{display:flex;flex-direction:row;align-items:center;flex-wrap:nowrap}.form-actions .publish-switch{justify-content:flex-start}.form-actions .publish-switch label{margin-left:.25rem}.form-actions button{display:inline-block;padding:.5rem 1rem;border:none;color:#fff;cursor:pointer;font-family:inherit;font-size:inherit;line-height:1;text-align:center;transition:background-color .2s ease,color .2s ease,transform .1s ease}.form-actions button:active{transform:translateY(1px)}.form-actions button:focus{outline:none}.form-actions button:disabled{opacity:.6;cursor:not-allowed}.form-actions .primary{background-color:rgba(0,0,0,0);border:1px solid #3282b8;border-radius:.25rem;color:#3282b8;font-size:1rem;cursor:pointer}.form-actions .primary:hover{background-color:rgba(50,130,184,.1)}.modal-close{display:inline-block;padding:.5rem 1rem;border:none;color:#fff;cursor:pointer;font-family:inherit;font-size:inherit;line-height:1;text-align:center;transition:background-color .2s ease,color .2s ease,transform .1s ease;width:32px;height:32px;display:flex;justify-content:center;align-items:center;font-size:1.5rem;font-weight:700;background-color:rgba(0,0,0,0);color:#ccc}.modal-close:active{transform:translateY(1px)}.modal-close:focus{outline:none}.modal-close:disabled{opacity:.6;cursor:not-allowed}.modal-close:hover{color:#fff;background-color:hsla(0,0%,100%,.1)}.component-modal textarea{font-family:monospace}.settings-modal input[type=checkbox]{margin-bottom:1rem}.settings-modal{width:45%}.settings-modal h4{margin-bottom:.15rem;color:#3282b8;font-size:1.5rem;margin-top:.25rem}.settings-modal p{margin-bottom:.5rem;color:#ccc;font-size:1rem}.settings-modal p a{color:#089ad9;text-decoration:none;font-weight:700}.settings-modal label{display:block;margin:.75rem 0}.settings-modal label input,.settings-modal label select{width:100%;margin-top:.375rem}.settings-modal .settings-toggle{display:flex;flex-direction:row;justify-content:space-between;align-items:center;flex-wrap:nowrap;margin:1rem 0}.settings-modal .system-prompt-header{display:flex;justify-content:flex-start;align-items:baseline;margin-bottom:.5rem;margin-top:1.5rem}.settings-modal .system-prompt-header label{margin:0}.settings-modal .system-prompt-header .reset-default-btn{color:#ccc;padding:.25rem .5rem;font-size:.8rem;margin-left:.5rem;cursor:pointer}.reset-btn{display:inline-block;border:none;color:#fff;cursor:pointer;font-family:inherit;font-size:inherit;line-height:1;text-align:center;transition:background-color .2s ease,color .2s ease,transform .1s ease;padding:.5rem .75rem;font-size:.875rem;margin-bottom:.5rem}.reset-btn:active{transform:translateY(1px)}.reset-btn:focus{outline:none}.reset-btn:disabled{opacity:.6;cursor:not-allowed}.community-components-modal .modal-content{width:70vw;max-width:900px}.community-components-modal .modal-body{height:75vh;overflow-y:scroll}.community-components-modal .library-file-list{display:flex;flex-direction:column;gap:.75rem}.community-components-modal .library-file-item{background-color:rgb(75.65,75.65,75.65);border-radius:4px;border:1px solid rgb(60.35,60.35,60.35)}.community-components-modal .library-file-item .file-header{display:flex;justify-content:space-between;align-items:flex-start;padding:.75rem 1rem;background-color:rgb(88.4,88.4,88.4);border-bottom:1px solid rgb(55.25,55.25,55.25);border-top-left-radius:4px;border-top-right-radius:4px}.community-components-modal .library-file-item .file-header .file-header-tree-view{flex-grow:1;overflow:hidden;margin-right:.5rem}.community-components-modal .library-file-item .file-header .file-header-tree-view .simple-tree-view{font-size:.85rem}.community-components-modal .library-file-item .file-header .file-header-tree-view .simple-tree-view .simple-tree-node{padding:.1rem .3rem;margin-bottom:.1rem}.community-components-modal .library-file-item .file-header .file-header-tree-view .simple-tree-view .simple-tree-node .simple-tree-node-header{padding:.15rem 0}.community-components-modal .library-file-item .file-header .file-actions{display:flex;align-items:center;gap:.5rem;align-self:flex-start;padding-top:.1rem}.community-components-modal .library-file-item .file-header .import-button{display:inline-block;color:#fff;cursor:pointer;font-family:inherit;font-size:inherit;line-height:1;text-align:center;transition:background-color .2s ease,color .2s ease,transform .1s ease;padding:.4rem .8rem;font-size:.9rem;background-color:#3282b8;border:none;border-radius:2px}.community-components-modal .library-file-item .file-header .import-button:active{transform:translateY(1px)}.community-components-modal .library-file-item .file-header .import-button:focus{outline:none}.community-components-modal .library-file-item .file-header .import-button:disabled{opacity:.6;cursor:not-allowed}.community-components-modal .library-file-item .file-header .import-button:hover{background-color:rgb(39.1025641026,101.6666666667,143.8974358974)}.community-components-modal .library-file-item .file-header .import-button.importing{background-color:#444;cursor:default}.community-components-modal .library-file-item .file-header .import-button.imported{background-color:#2ecc71;display:flex;flex-direction:row-reverse;align-items:center;justify-content:center;gap:.5rem}.community-components-modal .file-error,.community-components-modal .manifest-error{color:#ff6b6b;background-color:rgba(255,107,107,.1);padding:.75rem;border-radius:4px;margin-bottom:1rem}.simple-tree-view .simple-tree-node{padding:.15rem .5rem;font-size:1.05rem;color:#fff;border-radius:4px;margin-bottom:.2rem}.simple-tree-view .simple-tree-node.component:hover{background-color:#686868}.simple-tree-view .simple-tree-node .simple-tree-node-header{display:flex;align-items:center;padding:.25rem 0}.simple-tree-view .simple-tree-node .simple-tree-node-header.component-header{cursor:pointer}.simple-tree-view .simple-tree-node .simple-tree-node-icon{margin-right:.5rem;display:flex;align-items:center}.simple-tree-view .simple-tree-node .simple-tree-node-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1 1}.simple-tree-view .simple-tree-node .component-content-details{background-color:rgb(75.65,75.65,75.65);color:#ccc;padding:.5rem .75rem;margin:.25rem 0;border-radius:2px;font-size:.85rem;white-space:pre-wrap;border:1px solid rgb(60.35,60.35,60.35);overflow-y:auto;scrollbar-width:thin;scrollbar-color:#dadada rgba(0,0,0,.1)}.simple-tree-view .simple-tree-node .component-content-details::-webkit-scrollbar{width:8px;height:8px}.simple-tree-view .simple-tree-node .component-content-details::-webkit-scrollbar-track{background-color:#1e1e1e;border-radius:4px}.simple-tree-view .simple-tree-node .component-content-details::-webkit-scrollbar-thumb{background-color:#dadada;border-radius:4px}.simple-tree-view .simple-tree-node .component-content-details::-webkit-scrollbar-thumb:hover{background-color:rgb(192.5,192.5,192.5)}.simple-tree-view .simple-tree-node .simple-tree-node-content{border-bottom:1px solid rgb(55.25,55.25,55.25)}.simple-tree-view .simple-tree-node .simple-tree-node-content:hover{background-color:rgb(88.4,88.4,88.4)}.confirm-delete-modal .form-actions button.danger:hover{background-color:rgb(39.1025641026,101.6666666667,143.8974358974)}