.sf-visual-editor .sf-ve-intro{max-width:760px;color:#50575e}
.sf-visual-editor .sf-ve-toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:18px 0 10px;padding:12px 14px;background:#fff;border:1px solid #dcdcde}
.sf-visual-editor .sf-ve-toolbar label{font-weight:600}
.sf-visual-editor .sf-ve-toolbar select{min-width:260px}
.sf-visual-editor .sf-ve-status{font-size:13px;color:#1d7a4c;font-weight:600}
.sf-visual-editor .sf-ve-status.sf-ve-error{color:#c8102e}
.sf-visual-editor .sf-ve-legend{display:flex;gap:24px;flex-wrap:wrap;margin:0 0 14px;padding:10px 14px;background:#f6f7f7;border-left:4px solid #c8102e;font-size:13px;color:#3f434a}
.sf-visual-editor .sf-ve-layout{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:16px;align-items:start}
.sf-visual-editor .sf-ve-stage{background:#fff;border:1px solid #dcdcde;padding:8px}
.sf-visual-editor .sf-ve-stage iframe{display:block;width:100%;height:72vh;border:0;background:#fff}
.sf-visual-editor .sf-ve-side{background:#fff;border:1px solid #dcdcde;padding:14px}
.sf-visual-editor .sf-ve-side h2{font-size:15px;margin:0 0 6px}
.sf-visual-editor .sf-ve-hint{font-size:12px;color:#646970;margin:0 0 10px}
.sf-visual-editor .sf-ve-side select{width:100%;height:230px;margin-bottom:10px}
.sf-visual-editor .sf-ve-dialog{border:0;border-radius:8px;padding:24px;box-shadow:0 10px 40px rgba(0,0,0,.2);max-width:520px;width:90%}
.sf-visual-editor .sf-ve-dialog::backdrop{background:rgba(0,0,0,.35)}
.sf-visual-editor .sf-ve-dialog h2{margin:0 0 16px;font-size:18px}
.sf-visual-editor .sf-ve-dialog label{display:block;margin-bottom:14px;font-weight:600}
.sf-visual-editor .sf-ve-dialog input{display:block;width:100%;margin-top:5px;padding:8px 10px;border:1px solid #8c8f94;border-radius:3px}
.sf-visual-editor .sf-ve-dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}

/* Injected into the preview iframe. Only active while editing. */
.sf-visual-editing.sf-ve-active .sf-ve-hover{outline:2px dashed #c8102e;outline-offset:3px;cursor:text;border-radius:3px}
.sf-visual-editing.sf-ve-active img.sf-ve-hover,.sf-visual-editing.sf-ve-active a.sf-ve-hover{cursor:pointer}
.sf-visual-editing.sf-ve-active .sf-ve-editing{outline:2px solid #c8102e;outline-offset:3px;background:#fff8f9}
.sf-visual-editing.sf-ve-active .sf-ve-changed{box-shadow:inset 0 0 0 2px #1d7a4c;border-radius:3px}
.sf-visual-editing sf-dynamic{display:contents}
