

h1 {
    margin: 0 0 12px;
}
p.lead {
    margin: 0 0 20px;
}
.controls {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-bottom: 20px;
}



.layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}
.panel {
    border: 1px solid #d7dde311;
    border-radius: 8px;
    padding: 12px;
}
ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
li.system-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    margin-bottom: 6px;
    border: 1px solid #d7dde3;
    border-radius: 6px;
}
li.stage-item {
    display:flex;
    justify-content: space-between;
    align-items: center;
    
    padding: 6px 8px;
    margin-bottom: 6px;
    border: 1px dashed #b8c2cc;
    border-radius: 6px;
    cursor: grab;
}
li.stage-item.drag-over {
    border-style: solid;
    background: #eef4ffcc;
}
.stage-item span {
    pointer-events: none;
}
.remove-btn {
    background: #ffe3e3;
    border: 1px solid #ffb3b3;
    color: #9c1c1c;
}
.remove-btn:hover:not([disabled]) {
    background: #ffc9c9;
}
#sketch-container {
    /* margin-top: 24px; */
    /* border: 1px solid #d7dde3; */
    /* border-radius: 8px; */
    /* background: #ffffff; */
    /* min-height: 200px; */
    z-index: 5;
    font-size: 0;
}
#system-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* .handler-toggle{
    float: right;
} */