.is-editing .stall-box {
    border: 2px solid red;
    background: rgba(66, 133, 244, 0.12);
    color: red;
    font-size: 14px;
    align-items: flex-start;
    justify-content: flex-start;
    cursor: move;
}

.is-editing .stall-box.is-editing-target {
    border-color: #4285F4;
    background: rgba(66, 133, 244, 0.4);
}

.resize-handle {
    position: absolute;
    width: var(--handle-size);
    height: var(--handle-size);
    margin: calc(var(--handle-size) / -2) 0 0 calc(var(--handle-size) / -2);
    background: #fff;
    border: 1px solid #4285F4;
    z-index: 2;
}

.handle-n,
.handle-s {
    left: 50%;
    cursor: ns-resize;
}

.handle-e,
.handle-w {
    top: 50%;
    cursor: ew-resize;
}

.handle-n,
.handle-ne,
.handle-nw {
    top: 0;
}

.handle-s,
.handle-se,
.handle-sw {
    top: 100%;
}

.handle-w,
.handle-nw,
.handle-sw {
    left: 0;
}

.handle-e,
.handle-ne,
.handle-se {
    left: 100%;
}

.handle-ne,
.handle-sw {
    cursor: nesw-resize;
}

.handle-nw,
.handle-se {
    cursor: nwse-resize;
}

.edit-panel {
    position: fixed;
    top: 90px;
    left: 10px;
    z-index: 500;
    width: 200px;
    padding: 10px;
    font-size: 12px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.edit-title {
    font-weight: bold;
    margin-bottom: 6px;
}

.edit-panel label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
}

.edit-panel input {
    width: 90px;
}

.edit-panel textarea {
    width: 100%;
    height: 120px;
    margin-top: 6px;
    font-family: monospace;
    font-size: 10px;
}
