.wcfg {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.wcfg-preview {
    position: relative;
    min-height: 420px;
    border: 1px solid #eee;
    background: #fafafa;
    border-radius: 8px;
    overflow: hidden;
}

.wcfg-canvas {
    position: relative;
    width: 100%;
    height: 100%;
}

.wcfg-layer {
    position: absolute;
    inset: 0;
    margin: auto;
    max-width: 100%;
    max-height: 100%;
}

.wcfg-controls {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.wcfg-perspectives select {
    padding: 6px 8px;
}

.wcfg-feature {
    margin-bottom: 10px;
}

.wcfg-feature-label {
    font-weight: 600;
    margin-bottom: 6px;
}

.wcfg-choices {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.wcfg-swatch,
.wcfg-btn {
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 8px;
    padding: 6px 10px;
    cursor: pointer;
}

.wcfg-swatch img {
    display: block;
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 6px;
}

.wcfg-btn.is-active,
.wcfg-swatch.is-active {
    outline: 2px solid #111;
}

.wcfg-feature-placeholder {
    color: #777;
}

.wcfg-noscript {
    margin-top: 10px;
    color: #c00;
}