.create-wrapper { max-width: 900px; margin: 30px auto; }
.um-container {
    border: 1px solid #d6deef;
    border-radius: 8px;
    overflow: hidden;
}
.um-container .edui-editor,
.um-container .edui-editor-toolbarbox,
.um-container .edui-editor-toolbarboxouter,
.um-container .edui-editor-iframeholder,
.um-container .edui-editor-iframeholder iframe {
    width: 100% !important;
    box-sizing: border-box;
}
.um-container .edui-editor-iframeholder { overflow-x: hidden !important; }
.ai-assist {
    margin-top: 10px;
    padding: 12px;
    border: 1px solid #e6ebf5;
    border-radius: 8px;
    background: #f8fbff;
}
.ai-assist-title { font-size: 13px; font-weight: 700; color: #234ea3; margin-bottom: 8px; }
.ai-assist-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.ai-assist-input {
    flex: 1;
    min-width: 200px;
    height: 36px;
    border: 1px solid #d6deef;
    border-radius: 8px;
    padding: 0 10px;
    font-size: 13px;
}
.ai-btn {
    height: 34px;
    padding: 0 12px;
    border: 1px solid #c7d7ff;
    background: #fff;
    color: #2f63da;
    border-radius: 7px;
    font-size: 12px;
    cursor: pointer;
}
.ai-btn:hover { background: #edf3ff; }
.ai-btn:disabled { opacity: .6; cursor: not-allowed; }
.create-header {
    background: linear-gradient(135deg, #e8f0ff 0%, #f5faff 100%);
    border: 1px solid #d6e3f5;
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 20px;
}
.create-header h1 { font-size: 24px; font-weight: 700; color: #1f3f8f; margin: 0 0 8px; }
.create-header p { color: #6f7e96; font-size: 13px; margin: 0; }
.form-card {
    background: #fff;
    border: 1px solid #e6ebf5;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
}
.form-group { margin-bottom: 20px; }
.form-group:last-child { margin-bottom: 0; }
.form-label {
    display: block;
    font-weight: 600;
    color: #1f2d3d;
    margin-bottom: 8px;
    font-size: 14px;
}
.form-label .required { color: #e43e3e; }
.form-input { width: 100%; border: 1px solid #d6deef; border-radius: 8px; padding: 10px 12px; font-size: 14px; color: #1f2d3d; font-family: inherit; transition: all .15s; box-sizing: border-box; }
.form-input:focus { outline: none; border-color: #2f63da; box-shadow: 0 0 0 2px rgba(47, 99, 218, 0.1); }
.form-input::placeholder { color: #bbb; }
textarea.form-input { min-height: 300px; resize: vertical; }
.form-hint { color: #888; font-size: 12px; margin-top: 6px; }
.form-error { color: #e43e3e; font-size: 12px; margin-top: 6px; }
.editor-toolbar {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    padding: 10px;
    background: #f8fafc;
    border-radius: 6px;
    margin-bottom: 8px;
}
.toolbar-btn {
    padding: 6px 12px;
    border: 1px solid #d6deef;
    background: #fff;
    color: #456;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    transition: all .15s;
}
.toolbar-btn:hover { background: #e8efff; border-color: #2f63da; color: #2f63da; }
.toolbar-separator { width: 1px; background: #d6deef; margin: 0 4px; }
.tag-input-wrapper { display: flex; gap: 8px; flex-wrap: wrap; align-items: flex-start; }
.tag-input-field { flex: 1; min-width: 200px; }
.tag-list { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.tag-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: #edf3ff;
    color: #2956b3;
    border-radius: 999px;
    font-size: 13px;
}
.tag-item .remove { cursor: pointer; font-weight: bold; opacity: 0.6; transition: opacity .15s; }
.tag-item .remove:hover { opacity: 1; }
.image-upload-zone {
    border: 2px dashed #d6deef;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    background: #f8fafc;
    cursor: pointer;
    transition: all .15s;
}
.image-upload-zone:hover { border-color: #2f63da; background: #f0f7ff; }
.image-upload-zone .icon { font-size: 32px; margin-bottom: 8px; }
.image-upload-zone .text { color: #6f7e96; font-size: 13px; }
.image-upload-zone input[type="file"] { display: none; }
.image-preview-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 12px; margin-top: 12px; }
.image-preview-item {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    background: #f0f4fb;
    border-radius: 8px;
    overflow: hidden;
}
.image-preview-item img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.image-preview-item .delete-btn {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 24px;
    height: 24px;
    background: rgba(255, 0, 0, 0.7);
    color: white;
    border-radius: 50%;
    border: 0;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .15s;
}
.image-preview-item .delete-btn:hover { background: rgba(255, 0, 0, 1); }
.options-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.option-item label { display: flex; align-items: center; gap: 8px; cursor: pointer; font-weight: normal; }
.option-item input[type="checkbox"],
.option-item input[type="radio"] { cursor: pointer; }
.preview-toggle { display: flex; gap: 12px; margin-bottom: 12px; }
.preview-toggle button {
    flex: 1;
    padding: 10px;
    border: 1px solid #d6deef;
    background: #fff;
    color: #6f7e96;
    border-radius: 6px;
    cursor: pointer;
    transition: all .15s;
    font-weight: 600;
}
.preview-toggle button.active { background: #2f63da; color: #fff; border-color: #2f63da; }
.preview-pane {
    border: 1px solid #e6ebf5;
    border-radius: 8px;
    padding: 16px;
    background: #fff;
    min-height: 300px;
    display: none;
}
.preview-pane.active { display: block; }
.preview-content { max-width: 100%; overflow-x: auto; }
.form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    padding-top: 20px;
    border-top: 1px solid #e6ebf5;
}
.btn {
    padding: 10px 24px;
    border-radius: 8px;
    border: 1px solid #d6deef;
    background: #fff;
    color: #456;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all .15s;
}
.btn:hover { border-color: #2f63da; color: #2f63da; }
.btn.primary {
    background: #2f63da;
    color: #fff;
    border-color: #2f63da;
}
.btn.primary:hover { background: #1f4c8f; border-color: #1f4c8f; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.tips-card {
    background: linear-gradient(135deg, #fff9f0 0%, #fffcf8 100%);
    border: 1px solid #f5d5b8;
    border-radius: 10px;
    padding: 14px;
    margin-bottom: 14px;
    font-size: 13px;
    line-height: 1.8;
}
.tips-card h4 { margin: 0 0 8px; color: #d97706; font-weight: 700; }
.tips-card li { margin: 4px 0; color: #78350f; }
.form-counter-row { display: flex; justify-content: space-between; margin-top: 4px; }
.ai-assist-intent-row { margin-bottom: 8px; }
.tag-add-btn { flex-shrink: 0; }
@media (max-width: 768px) {
    .options-group { grid-template-columns: 1fr; }
    .form-actions { flex-direction: column; }
    .btn { width: 100%; }
}
