/* ===== AI 助手工具按钮共享样式 ===== */

/* 工具按钮容器 */
.tool-chips,
#floatingAiPanel .fa-tool-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}
.tool-chips {
    padding: 0 0 0.5rem 0;
}
#floatingAiPanel .fa-tool-chips {
    padding: 0.4rem 0.8rem 0;
}

/* 工具按钮通用样式 */
.tool-chip,
#floatingAiPanel .fa-tool-chip {
    display: inline-block;
    font-size: 16px;
    color: #8b5a5a;
    border: 1px solid #d4c4b8;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.15s;
    white-space: nowrap;
}

/* 工具按钮差异化样式 */
.tool-chip {
    background: #fdf5f3;
    padding: 0.3rem 0.75rem;
}
#floatingAiPanel .fa-tool-chip {
    background: #fff;
    padding: 0.25rem 0.4rem;
    width: calc(25% - 0.3rem);
    text-align: center;
}

/* 工具按钮 hover */
.tool-chip:hover,
#floatingAiPanel .fa-tool-chip:hover {
    background: #f5eae8;
    border-color: #c47a7a;
    color: #6b4040;
}

/* 手机端：工具按钮一行四个 */
@media (max-width: 767.98px) {
    .tool-chip {
        width: calc(25% - 0.3rem);
        text-align: center;
        padding: 0.3rem 0.25rem;
        font-size: 14px;
    }
    #floatingAiPanel .fa-tool-chip {
        width: calc(25% - 0.3rem);
        text-align: center;
        padding: 0.3rem 0.25rem;
        font-size: 16px;
    }
}