.editor-body {
    max-width: 1400px;
}

.editor-layout {
    display: block;
    text-align: left;
    margin-top: 20px;
}

.canvas-wrap {
    width: 100%;
    max-height: 75vh;
    overflow: auto;
    border: 1px solid #eee;
    margin-bottom: 20px;
    background-image:
        linear-gradient(45deg, #f5f5f5 25%, transparent 25%),
        linear-gradient(-45deg, #f5f5f5 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #f5f5f5 75%),
        linear-gradient(-45deg, transparent 75%, #f5f5f5 75%);
    background-size: 16px 16px;
    background-position:
        0 0,
        0 8px,
        8px -8px,
        -8px 0px;
}

.canvas {
    position: relative;
    overflow: hidden;
}

.editor-panel {
    width: 100%;
    font-size: 13px;
}

.editor-panel h3 {
    font-size: 13px;
    margin: 16px 0 6px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #888;
}

.panel-columns {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.panel-columns > div {
    flex: 1;
    min-width: 260px;
}

.el-box {
    position: absolute;
    border: 1px dashed #999;
    cursor: move;
    box-sizing: border-box;
    user-select: none;
}

.el-box .resize-handle {
    position: absolute;
    right: -5px;
    bottom: -5px;
    width: 10px;
    height: 10px;
    background: #1db954;
    border-radius: 2px;
    cursor: nwse-resize;
}

.el-row {
    border: 1px solid #eee;
    border-radius: 6px;
    padding: 8px 10px;
    margin-bottom: 8px;
}

.el-row .el-title {
    font-weight: 600;
    margin-bottom: 4px;
    display: block;
}

.el-row .field {
    display: inline-block;
    margin: 4px 8px 0 0;
    font-size: 12px;
}

.el-row .field input {
    display: inline-block;
    margin-left: 4px;
}

.save-bar {
    display: flex;
    align-items: center;
    gap: 10px;
}

.preset-picker {
    display: flex;
    gap: 10px;
    margin: 8px 0 4px;
}

.preset-btn {
    flex: 1;
    height: 60px;
    border: 2px solid #eee;
    border-radius: 6px;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.preset-btn:hover {
    border-color: #1db954;
}

.preset-btn span {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    font-size: 10px;
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
    padding: 2px 4px;
    text-align: center;
}


.file-btn-label {
    display: inline-block;
    font-family: -apple-system, sans-serif;
    font-size: 14px;
    padding: 8px 16px;
    cursor: pointer;
    background: #e0e0e0;
    border: 1px solid #c6c6c6;
    border-radius: 4px;
    margin-bottom: 0px;
}

.file-btn-label:hover {
    background: #eee;
}
