
.feature-card-icon.te-icon {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}
.te-form-area { margin-top: 4px; }
.te-toolbar {
    background: #f8fafc;
    padding: 10px;
    border-radius: 12px;
    margin-bottom: 10px;
}
.te-tool-row {
    display: flex;
    gap: 4px;
    align-items: center;
    flex-wrap: wrap;
    padding: 4px 0;
    border-bottom: 1px dashed #e2e8f0;
}
.te-tool-row:last-child { border-bottom: none; }
.te-btn {
    min-width: 32px;
    height: 32px;
    border: 1px solid #e2e8f0;
    background: white;
    border-radius: 6px;
    cursor: pointer;
    color: #475569;
    font-size: 0.88rem;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.te-btn:hover {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: white;
    border-color: #7c3aed;
}
.te-sep {
    width: 1px;
    height: 24px;
    background: #e2e8f0;
    margin: 0 6px;
}
.te-select {
    padding: 4px 8px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background: white;
    font-size: 0.82rem;
    outline: none;
    cursor: pointer;
}
.te-color {
    width: 32px;
    height: 32px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    cursor: pointer;
    padding: 2px;
}
.te-action-label {
    font-size: 0.8rem;
    color: #64748b;
    margin-right: 6px;
    font-weight: 600;
}
.te-action-btn {
    padding: 6px 12px;
    border: 1px solid #e2e8f0;
    background: white;
    border-radius: 6px;
    color: #475569;
    font-size: 0.82rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s;
}
.te-action-btn:hover {
    background: #ede9fe;
    color: #7c3aed;
    border-color: #7c3aed;
}
.te-action-btn.te-save {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: white;
    border-color: transparent;
}
.te-action-btn.te-save:hover {
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
}
.te-editor-wrap {
    border: 2px solid rgba(139, 92, 246, 0.2);
    border-radius: 12px;
    overflow: hidden;
    background: white;
}
.te-editor {
    min-height: 260px;
    max-height: 420px;
    overflow-y: auto;
    padding: 20px;
    outline: none;
    font-size: 0.98rem;
    line-height: 1.7;
    color: #1e293b;
    font-family: -apple-system, 'Microsoft YaHei', sans-serif;
    transition: border-color 0.3s;
}
.te-editor:focus {
    box-shadow: inset 0 0 0 3px rgba(139, 92, 246, 0.1);
}
.te-editor:empty::before {
    content: '在此输入或粘贴文本…';
    color: #cbd5e1;
    pointer-events: none;
}
.te-editor h1 { font-size: 1.6rem; font-weight: 700; margin: 12px 0 8px; }
.te-editor h2 { font-size: 1.3rem; font-weight: 700; margin: 10px 0 6px; }
.te-editor h3 { font-size: 1.1rem; font-weight: 600; margin: 8px 0 4px; }
.te-editor p { margin: 6px 0; }
.te-editor ul, .te-editor ol { padding-left: 24px; }
.te-editor blockquote {
    border-left: 4px solid #8b5cf6;
    margin: 10px 0;
    padding: 8px 14px;
    background: #ede9fe;
    color: #5b21b6;
    border-radius: 4px;
}
.te-editor a { color: #7c3aed; text-decoration: underline; }
.te-editor img { max-width: 100%; border-radius: 6px; margin: 8px 0; }
.te-editor table {
    border-collapse: collapse;
    width: 100%;
    margin: 10px 0;
}
.te-editor table td, .te-editor table th {
    border: 1px solid #e2e8f0;
    padding: 6px 10px;
}
.te-stats {
    display: flex;
    gap: 16px;
    padding: 10px 16px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    font-size: 0.85rem;
    color: #475569;
    flex-wrap: wrap;
}
.te-stats b {
    color: #7c3aed;
    font-weight: 700;
    margin-left: 2px;
}

