.goodietools-post-creator {
    width: 100%;
}

.goodietools-pc-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(300px, 1.1fr);
    gap: 28px;
    align-items: start;
}

.goodietools-pc-editor {
    display: grid;
    gap: 18px;
    min-width: 0;
}

.goodietools-pc-section {
    padding: 18px;
    border: 1px solid #e4e8ef;
    border-radius: 10px;
    background: #fff;
}

.goodietools-pc-section h3 {
    margin: 0 0 14px;
    color: #202938;
    font-size: 16px;
}

.goodietools-pc-section .goodietools-field {
    margin-bottom: 12px;
}

.goodietools-pc-section textarea,
.goodietools-pc-section select,
.goodietools-pc-section input[type="number"],
.goodietools-pc-section input[type="file"] {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
}

.goodietools-pc-section input[type="color"] {
    width: 58px;
    height: 38px;
    padding: 3px;
}

.goodietools-pc-help {
    margin: 7px 0 0;
    color: #687386;
    font-size: 13px;
}

.goodietools-pc-preview-wrap {
    position: sticky;
    top: 24px;
    min-width: 0;
    padding: 18px;
    border: 1px solid #e4e8ef;
    border-radius: 10px;
    background: #f5f7fa;
}

.goodietools-pc-preview-heading {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
    color: #202938;
}

.goodietools-pc-dimensions {
    color: #687386;
    font-size: 13px;
}

.goodietools-pc-preview-frame {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 240px;
    overflow: hidden;
    background: #e8edf4;
    border-radius: 6px;
}

.goodietools-pc-canvas {
    display: block;
    width: 100%;
    height: auto;
    max-height: 72vh;
    object-fit: contain;
}

.goodietools-pc-download {
    width: 100%;
    margin-top: 4px;
}

.goodietools-pc-status {
    min-height: 1.4em;
    margin: 10px 0 0;
    font-size: 14px;
}

@media (max-width: 800px) {
    .goodietools-pc-layout {
        grid-template-columns: 1fr;
    }
    .goodietools-pc-preview-wrap {
        position: static;
        grid-row: 1;
    }
    .goodietools-pc-canvas {
        max-height: 60vh;
    }
}
