.webeditor-demo {
    margin: 30px 0;
    padding: clamp(18px, 3vw, 30px);
    border: 1px solid #e7e8ef;
    border-radius: 8px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 8px 24px rgba(50, 43, 78, .045);
}

.webeditor-demo-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.webeditor-demo-eyebrow {
    color: #7568a6;
    font: 800 .64rem ui-monospace, SFMono-Regular, Consolas, monospace;
    letter-spacing: .12em;
}

.webeditor-demo-head h2 {
    margin: 6px 0 5px;
    color: #263d55;
    font-size: clamp(1.25rem, 2.4vw, 1.65rem);
    letter-spacing: -.04em;
}

.webeditor-demo-head p {
    max-width: 650px;
    margin: 0;
    color: #718196;
    font-size: .82rem;
    line-height: 1.7;
}

.webeditor-demo-badge {
    flex: 0 0 auto;
    padding: 7px 9px;
    border: 1px solid #e4dfef;
    border-radius: 999px;
    background: #f7f5fb;
    color: #62558f;
    font: 800 .58rem ui-monospace, SFMono-Regular, Consolas, monospace;
    letter-spacing: .06em;
}

.webeditor-demo-notice {
    margin: 0 0 18px;
    padding: 11px 13px;
    border: 1px solid #eee2c5;
    border-radius: 6px;
    background: #fffaf0;
    color: #76591c;
    font-size: .74rem;
    line-height: 1.65;
}

.webeditor-demo .board-editor-form {
    --blue: #7568a6;
    --line: #e7e8ef;
    --muted: #718196;
    --soft: #f8f7fb;
    --ink: #263d55;
    gap: 13px;
    margin-top: 0;
}

.webeditor-demo .editor-field > input {
    border-radius: 6px;
}

.webeditor-demo .editor-title-field > input {
    font-size: 1.2rem;
    font-weight: 750;
}

.webeditor-demo .editor-panel {
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(50, 43, 78, .04);
}

.webeditor-demo .editor-panel .editor {
    min-height: 420px;
    padding: clamp(18px, 3vw, 30px);
}

.webeditor-demo .editor-tools {
    background: #faf9fc;
}

.webeditor-demo .editor-actions .button {
    min-height: 42px;
    padding: 0 18px;
    border-radius: 6px;
    background: #7568a6;
}

.webeditor-demo .editor-actions .button:hover {
    background: #62558f;
}

.feature-capture .webeditor-demo {
    display: flex;
    width: 100%;
    min-height: 100vh;
    flex-direction: column;
    margin: 0;
    padding: clamp(20px, 2.6vw, 36px) clamp(20px, 3vw, 52px);
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.feature-capture .webeditor-demo .board-editor-form {
    flex: 1;
}

.feature-capture .webeditor-demo .editor-panel .editor {
    min-height: clamp(420px, 62vh, 760px);
}

@media (max-width: 600px) {
    .webeditor-demo-head {
        flex-direction: column;
    }

    .webeditor-demo .editor-panel .editor {
        min-height: 340px;
        padding: 18px;
    }

    .feature-capture .webeditor-demo {
        padding: 16px;
    }

    .feature-capture .webeditor-demo .editor-panel .editor {
        min-height: 52vh;
    }
}
