/* AI 助手开关状态 —— 外框样式全部来自 webflow.css，内层来自 vendor/widget.css */
.ai-chat__nav { display: none; }
.ai-chat.is-open .ai-chat__nav { display: block; z-index: 9999; }
.ai-chat.is-open .ai-chat__menu { animation: mmAiSlide .5s cubic-bezier(.5, .5, 0, 1) both; }
.ai-chat.is-open .ai-chat__overlay { animation: mmAiFade .35s ease both; }
@keyframes mmAiSlide { from { transform: translateX(100%); } to { transform: translateX(0); } }
@keyframes mmAiFade { from { opacity: 0; } to { opacity: 1; } }

/* 按钮文字在 “Ask AI / Close AI” 间切换 */
.ai-chat .sidenav__button-label:nth-child(2) { display: none; }
.ai-chat.is-open .sidenav__button-label:nth-child(1) { display: none; }
.ai-chat.is-open .sidenav__button-label:nth-child(2) { display: flex; }

/* 让 “Ask Matthew AI / Close AI” 完整显示 */
.ai-chat__button-text { width: auto !important; min-width: 3.5rem; }
