/* 工具箱样式 */

/* 灵感笔记分类标签 */
#category-tabs button.active-tab {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: color-mix(in srgb, var(--primary-color) 10%, transparent);
}

/* 工具结果区 prose 适配 */
#result-content h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.25rem;
}

#result-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 1rem;
    margin-bottom: 0.375rem;
    color: var(--text-primary);
}

#result-content p {
    margin-bottom: 0.75rem;
    line-height: 1.75;
    color: var(--text-secondary);
}

#result-content ul, #result-content ol {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
}

#result-content li {
    margin-bottom: 0.25rem;
    line-height: 1.6;
}

#result-content strong {
    color: var(--primary-color);
}

#result-content code {
    background: color-mix(in srgb, var(--primary-color) 10%, var(--bg-dark));
    padding: 0.125rem 0.375rem;
    border-radius: 0.25rem;
    font-size: 0.875em;
}

/* 降AI 左右对照 */
.deai-compare .original-pane,
.deai-compare .result-pane {
    min-height: 200px;
}

/* 笔记详情折叠 */
.note-detail {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.note-detail.expanded {
    max-height: 2000px;
}

/* 加载动画 */
@keyframes tool-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.fa-circle-notch.fa-spin {
    animation: tool-spin 1s linear infinite;
}
