/**
 * HTML PPT 编辑器样式
 * 专门为编辑器UI设计，与用户内容样式完全解耦
 */

/* 编辑器基础样式 */
.editor-panel,
.editor-toolbar,
.editor-sidebar,
.editor-modal {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #1f2937;
    background: #ffffff;
    box-sizing: border-box;
}

/* 编辑器工具栏 */
.editor-toolbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 56px;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
}

.editor-toolbar-left,
.editor-toolbar-center,
.editor-toolbar-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.editor-toolbar-center {
    flex: 1;
    justify-content: center;
}

/* 编辑器按钮 */
.editor-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #ffffff;
    color: #374151;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
    white-space: nowrap;
}

.editor-btn:hover {
    background: #f9fafb;
    border-color: #9ca3af;
}

.editor-btn:active {
    background: #f3f4f6;
    transform: translateY(1px);
}

.editor-btn.primary {
    background: #3b82f6;
    border-color: #3b82f6;
    color: #ffffff;
}

.editor-btn.primary:hover {
    background: #2563eb;
    border-color: #2563eb;
}

.editor-btn.danger {
    background: #ef4444;
    border-color: #ef4444;
    color: #ffffff;
}

.editor-btn.danger:hover {
    background: #dc2626;
    border-color: #dc2626;
}

.editor-btn.success {
    background: #10b981;
    border-color: #10b981;
    color: #ffffff;
}

.editor-btn.success:hover {
    background: #059669;
    border-color: #059669;
}

.editor-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.editor-btn:disabled:hover {
    background: #ffffff;
    border-color: #d1d5db;
    transform: none;
}

/* 编辑器图标按钮 */
.editor-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #ffffff;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s ease;
}

.editor-icon-btn:hover {
    background: #f9fafb;
    border-color: #9ca3af;
}

.editor-icon-btn.active {
    background: #3b82f6;
    border-color: #3b82f6;
    color: #ffffff;
}

/* 编辑器输入框 */
.editor-input {
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.875rem;
    background: #ffffff;
    color: #1f2937;
    transition: all 0.2s ease;
}

.editor-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* 编辑器选择框 */
.editor-select {
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.875rem;
    background: #ffffff;
    color: #1f2937;
    cursor: pointer;
    transition: all 0.2s ease;
}

.editor-select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* 编辑器标签 */
.editor-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.25rem;
}

/* 编辑器卡片 */
.editor-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.editor-card-header {
    padding: 1rem;
    border-bottom: 1px solid #e5e7eb;
    font-weight: 600;
    color: #1f2937;
}

.editor-card-body {
    padding: 1rem;
}

.editor-card-footer {
    padding: 1rem;
    border-top: 1px solid #e5e7eb;
    background: #f9fafb;
    border-radius: 0 0 8px 8px;
}

/* 编辑器侧边栏 */
.editor-sidebar {
    position: fixed;
    top: 56px;
    left: 0;
    width: 300px;
    height: calc(100vh - 56px);
    background: #ffffff;
    border-right: 1px solid #e5e7eb;
    overflow-y: auto;
    z-index: 999;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.editor-sidebar.visible {
    transform: translateX(0);
}

.editor-sidebar-header {
    padding: 1rem;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.editor-sidebar-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

.editor-sidebar-close {
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    font-size: 1.25rem;
    padding: 0.25rem;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.editor-sidebar-close:hover {
    background: #f3f4f6;
    color: #374151;
}

.editor-sidebar-body {
    padding: 1rem;
}

/* 编辑器模态框 */
.editor-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.editor-modal.visible {
    opacity: 1;
    visibility: visible;
}

.editor-modal-content {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    max-width: 90%;
    max-height: 90%;
    overflow-y: auto;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.editor-modal.visible .editor-modal-content {
    transform: scale(1);
}

.editor-modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.editor-modal-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

.editor-modal-close {
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    font-size: 1.5rem;
    padding: 0.25rem;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.editor-modal-close:hover {
    background: #f3f4f6;
    color: #374151;
}

.editor-modal-body {
    padding: 1.5rem;
}

.editor-modal-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid #e5e7eb;
    background: #f9fafb;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
}

/* 编辑器通知 */
.editor-notification {
    position: fixed;
    top: 72px;
    right: 1rem;
    max-width: 400px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    z-index: 1500;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.editor-notification.visible {
    transform: translateX(0);
}

.editor-notification-header {
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.editor-notification-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    color: #ffffff;
}

.editor-notification-icon.success {
    background: #10b981;
}

.editor-notification-icon.error {
    background: #ef4444;
}

.editor-notification-icon.warning {
    background: #f59e0b;
}

.editor-notification-icon.info {
    background: #3b82f6;
}

.editor-notification-content {
    flex: 1;
}

.editor-notification-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 0.25rem 0;
}

.editor-notification-message {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0;
}

.editor-notification-close {
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    font-size: 1.125rem;
    padding: 0.25rem;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.editor-notification-close:hover {
    background: #f3f4f6;
    color: #374151;
}

/* 编辑器进度条 */
.editor-progress {
    width: 100%;
    height: 4px;
    background: #e5e7eb;
    border-radius: 2px;
    overflow: hidden;
}

.editor-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #1d4ed8);
    transition: width 0.3s ease;
    border-radius: 2px;
}

/* 编辑器表格 */
.editor-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.editor-table th,
.editor-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.editor-table th {
    background: #f9fafb;
    font-weight: 600;
    color: #374151;
}

.editor-table tr:hover {
    background: #f9fafb;
}

/* 编辑器徽章 */
.editor-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.editor-badge.primary {
    background: #dbeafe;
    color: #1e40af;
}

.editor-badge.success {
    background: #d1fae5;
    color: #065f46;
}

.editor-badge.warning {
    background: #fef3c7;
    color: #92400e;
}

.editor-badge.error {
    background: #fee2e2;
    color: #991b1b;
}

/* 编辑器快捷键提示 */
.editor-kbd {
    display: inline-block;
    padding: 0.1rem 0.3rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #374151;
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 3px;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
    font-family: ui-monospace, SFMono-Regular, 'SF Mono', Consolas, 'Liberation Mono', Menlo, monospace;
}

/* 编辑器分隔线 */
.editor-divider {
    height: 1px;
    background: #e5e7eb;
    margin: 1rem 0;
}

/* 编辑器滚动条 */
.editor-scrollbar::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.editor-scrollbar::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

.editor-scrollbar::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.editor-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* 编辑器动画 */
.editor-fade-in {
    animation: editorFadeIn 0.3s ease-in-out;
}

.editor-fade-out {
    animation: editorFadeOut 0.3s ease-in-out;
}

.editor-slide-in {
    animation: editorSlideIn 0.3s ease-in-out;
}

.editor-slide-out {
    animation: editorSlideOut 0.3s ease-in-out;
}

@keyframes editorFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes editorFadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}

@keyframes editorSlideIn {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
}

@keyframes editorSlideOut {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-100%);
    }
}

/* 编辑器响应式设计 */
@media (max-width: 768px) {
    .editor-toolbar {
        padding: 0 0.5rem;
    }
    
    .editor-btn {
        padding: 0.5rem;
        font-size: 0.75rem;
    }
    
    .editor-sidebar {
        width: 100%;
    }
    
    .editor-modal-content {
        max-width: 95%;
        margin: 1rem;
    }
    
    .editor-notification {
        right: 0.5rem;
        max-width: calc(100% - 1rem);
    }
}

/* 编辑器暗色模式支持 */
@media (prefers-color-scheme: dark) {
    .editor-panel,
    .editor-toolbar,
    .editor-sidebar,
    .editor-modal-content,
    .editor-card,
    .editor-notification {
        background: #1f2937;
        color: #f9fafb;
        border-color: #374151;
    }
    
    .editor-btn {
        background: #374151;
        color: #f9fafb;
        border-color: #4b5563;
    }
    
    .editor-btn:hover {
        background: #4b5563;
        border-color: #6b7280;
    }
    
    .editor-input,
    .editor-select {
        background: #374151;
        color: #f9fafb;
        border-color: #4b5563;
    }
    
    .editor-input:focus,
    .editor-select:focus {
        border-color: #3b82f6;
    }
    
    .editor-table th {
        background: #374151;
        color: #f9fafb;
    }
    
    .editor-table tr:hover {
        background: #374151;
    }
}

/* 编辑器工具栏固定布局 */
.editor-main-content {
    margin-top: 56px;
    min-height: calc(100vh - 56px);
}

/* 缩放控制器 */
#zoom-controller {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

#zoom-controller:hover {
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}

.zoom-buttons {
    display: flex;
    align-items: center;
    gap: 6px;
}

#zoom-out, #zoom-in, #zoom-reset {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.2s ease;
    color: #374151;
    background: rgba(0, 0, 0, 0.05);
}

#zoom-out:hover, #zoom-in:hover, #zoom-reset:hover {
    background: #3b82f6;
    color: white;
    transform: scale(1.1);
}

#zoom-display {
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    min-width: 45px;
    text-align: center;
    padding: 0 4px;
}

/* 自定义工具提示 */
.custom-tooltip {
    position: relative;
}

.custom-tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    top: 120%;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 1000;
}

.custom-tooltip::before {
    content: '';
    position: absolute;
    top: 110%;
    right: 12px;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 5px solid rgba(0, 0, 0, 0.9);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.custom-tooltip:hover::after,
.custom-tooltip:hover::before {
    opacity: 1;
    visibility: visible;
}

/* 左侧控制器的工具提示显示在右边 */
#zoom-controller .custom-tooltip::after {
    bottom: 50%;
    left: 110%;
    right: auto;
    transform: translateY(50%);
}

#zoom-controller .custom-tooltip::before {
    bottom: 50%;
    left: 105%;
    right: auto;
    transform: translateY(50%);
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-right: 5px solid rgba(0, 0, 0, 0.9);
    border-left: none;
}

/* 侧边栏按钮的工具提示显示在右边 */
.sidebar .custom-tooltip::after {
    bottom: 50%;
    left: 110%;
    right: auto;
    transform: translateY(50%);
}

.sidebar .custom-tooltip::before {
    bottom: 50%;
    left: 105%;
    right: auto;
    transform: translateY(50%);
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-right: 5px solid rgba(0, 0, 0, 0.9);
    border-left: none;
}

/* 编辑器功能按钮 */
.editor-function-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 56px;
    height: 56px;
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.25rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
}

.editor-function-btn:hover {
    background: #2563eb;
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4);
}

.editor-function-btn:active {
    transform: scale(0.95);
}

/* 编辑器快捷键显示 */
.editor-shortcut-hint {
    position: fixed;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
    z-index: 1500;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.editor-shortcut-hint.visible {
    opacity: 1;
    visibility: visible;
}

.editor-shortcut-hint .editor-kbd {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
}

/* 编辑器状态栏 */
.editor-status-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 32px;
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
    font-size: 0.75rem;
    color: #6b7280;
    z-index: 999;
}

.editor-status-left,
.editor-status-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.editor-status-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.editor-status-item.clickable {
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.editor-status-item.clickable:hover {
    background: #f3f4f6;
}

/* 编辑器主体内容区域调整 */
.editor-main-content.with-status-bar {
    margin-bottom: 32px;
}

/* 编辑器拖拽相关样式 */
.editor-draggable {
    cursor: grab;
}

.editor-draggable:active {
    cursor: grabbing;
}

.editor-drag-over {
    background: rgba(59, 130, 246, 0.1);
    border: 2px dashed #3b82f6;
}

.editor-drag-placeholder {
    border: 2px dashed #d1d5db;
    background: #f9fafb;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    color: #6b7280;
    font-size: 0.875rem;
}

/* 编辑器网格布局 */
.editor-grid {
    display: grid;
    gap: 1rem;
}

.editor-grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.editor-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.editor-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 768px) {
    .editor-grid-2,
    .editor-grid-3,
    .editor-grid-4 {
        grid-template-columns: 1fr;
    }
}

/* 编辑器 Flexbox 布局 */
.editor-flex {
    display: flex;
}

.editor-flex-col {
    flex-direction: column;
}

.editor-flex-center {
    align-items: center;
    justify-content: center;
}

.editor-flex-between {
    justify-content: space-between;
}

.editor-flex-around {
    justify-content: space-around;
}

.editor-flex-1 {
    flex: 1;
}

/* 编辑器间距工具类 */
.editor-p-0 { padding: 0; }
.editor-p-1 { padding: 0.25rem; }
.editor-p-2 { padding: 0.5rem; }
.editor-p-3 { padding: 0.75rem; }
.editor-p-4 { padding: 1rem; }
.editor-p-5 { padding: 1.25rem; }
.editor-p-6 { padding: 1.5rem; }

.editor-m-0 { margin: 0; }
.editor-m-1 { margin: 0.25rem; }
.editor-m-2 { margin: 0.5rem; }
.editor-m-3 { margin: 0.75rem; }
.editor-m-4 { margin: 1rem; }
.editor-m-5 { margin: 1.25rem; }
.editor-m-6 { margin: 1.5rem; }

.editor-mb-0 { margin-bottom: 0; }
.editor-mb-1 { margin-bottom: 0.25rem; }
.editor-mb-2 { margin-bottom: 0.5rem; }
.editor-mb-3 { margin-bottom: 0.75rem; }
.editor-mb-4 { margin-bottom: 1rem; }
.editor-mb-5 { margin-bottom: 1.25rem; }
.editor-mb-6 { margin-bottom: 1.5rem; }

.editor-mt-0 { margin-top: 0; }
.editor-mt-1 { margin-top: 0.25rem; }
.editor-mt-2 { margin-top: 0.5rem; }
.editor-mt-3 { margin-top: 0.75rem; }
.editor-mt-4 { margin-top: 1rem; }
.editor-mt-5 { margin-top: 1.25rem; }
.editor-mt-6 { margin-top: 1.5rem; }

/* 编辑器文本工具类 */
.editor-text-xs { font-size: 0.75rem; }
.editor-text-sm { font-size: 0.875rem; }
.editor-text-base { font-size: 1rem; }
.editor-text-lg { font-size: 1.125rem; }
.editor-text-xl { font-size: 1.25rem; }
.editor-text-2xl { font-size: 1.5rem; }

.editor-text-left { text-align: left; }
.editor-text-center { text-align: center; }
.editor-text-right { text-align: right; }

.editor-text-gray-400 { color: #9ca3af; }
.editor-text-gray-500 { color: #6b7280; }
.editor-text-gray-600 { color: #4b5563; }
.editor-text-gray-700 { color: #374151; }
.editor-text-gray-800 { color: #1f2937; }
.editor-text-gray-900 { color: #111827; }

.editor-font-normal { font-weight: 400; }
.editor-font-medium { font-weight: 500; }
.editor-font-semibold { font-weight: 600; }
.editor-font-bold { font-weight: 700; }

/* 编辑器宽度工具类 */
.editor-w-full { width: 100%; }
.editor-w-auto { width: auto; }
.editor-w-fit { width: fit-content; }
.editor-w-1\/2 { width: 50%; }
.editor-w-1\/3 { width: 33.333333%; }
.editor-w-2\/3 { width: 66.666667%; }
.editor-w-1\/4 { width: 25%; }
.editor-w-3\/4 { width: 75%; }

.editor-h-full { height: 100%; }
.editor-h-auto { height: auto; }
.editor-h-fit { height: fit-content; }

/* 编辑器圆角工具类 */
.editor-rounded-none { border-radius: 0; }
.editor-rounded-sm { border-radius: 0.125rem; }
.editor-rounded { border-radius: 0.25rem; }
.editor-rounded-md { border-radius: 0.375rem; }
.editor-rounded-lg { border-radius: 0.5rem; }
.editor-rounded-xl { border-radius: 0.75rem; }
.editor-rounded-2xl { border-radius: 1rem; }
.editor-rounded-full { border-radius: 9999px; }

/* 编辑器阴影工具类 */
.editor-shadow-none { box-shadow: none; }
.editor-shadow-sm { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); }
.editor-shadow { box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06); }
.editor-shadow-md { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); }
.editor-shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); }
.editor-shadow-xl { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); }
.editor-shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }

/* 编辑器可见性工具类 */
.editor-hidden { display: none; }
.editor-visible { display: block; }
.editor-invisible { visibility: hidden; }

/* 编辑器定位工具类 */
.editor-relative { position: relative; }
.editor-absolute { position: absolute; }
.editor-fixed { position: fixed; }
.editor-sticky { position: sticky; }

/* 编辑器 z-index 工具类 */
.editor-z-0 { z-index: 0; }
.editor-z-10 { z-index: 10; }
.editor-z-20 { z-index: 20; }
.editor-z-30 { z-index: 30; }
.editor-z-40 { z-index: 40; }
.editor-z-50 { z-index: 50; }

/* 编辑器溢出工具类 */
.editor-overflow-hidden { overflow: hidden; }
.editor-overflow-visible { overflow: visible; }
.editor-overflow-scroll { overflow: scroll; }
.editor-overflow-auto { overflow: auto; }

/* 编辑器指针事件工具类 */
.editor-pointer-events-none { pointer-events: none; }
.editor-pointer-events-auto { pointer-events: auto; }

/* 编辑器用户选择工具类 */
.editor-select-none { user-select: none; }
.editor-select-text { user-select: text; }
.editor-select-all { user-select: all; }
.editor-select-auto { user-select: auto; }

/* 编辑器内容样式隔离 */
.editor-content-isolate {
    isolation: isolate;
}

.editor-content-isolate * {
    box-sizing: border-box;
}

/* 编辑器重置样式 */
.editor-reset {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
    box-sizing: border-box;
} 