/* Цветовая адаптация общего ИИ-чата под тему moment. */
body.moment-home .smart-chat-layer,
body.moment-next .smart-chat-layer {
    --blue: #238045;
    --navy: #175f37;
    --muted: #66736b;
}

body.moment-home .smart-chat-layer .chat-avatar,
body.moment-next .smart-chat-layer .chat-avatar {
    border-color: #dce5db;
    color: #238045;
    background: #eef6e9;
    box-shadow: 0 8px 18px rgba(35,128,69,.13);
}

body.moment-home .smart-chat-layer .chat-avatar.inverse,
body.moment-next .smart-chat-layer .chat-avatar.inverse {
    border-color: rgba(255, 255, 255, .35);
    color: #fff;
    background: rgba(255, 255, 255, .17);
    box-shadow: none;
}

body.moment-home .smart-chat-layer .chat-launcher,
body.moment-next .smart-chat-layer .chat-launcher {
    background: linear-gradient(145deg, #238045, #238045);
    box-shadow: 0 18px 38px rgba(23,95,55,.3);
}

body.moment-home .smart-chat-layer .chat-nudge,
body.moment-next .smart-chat-layer .chat-nudge {
    border-color: #dce5db;
    box-shadow: 0 25px 65px rgba(23,95,55,.2);
}

body.moment-home .smart-chat-layer .chat-nudge-actions button,
body.moment-home .smart-chat-layer .chat-quick-actions button,
body.moment-next .smart-chat-layer .chat-nudge-actions button,
body.moment-next .smart-chat-layer .chat-quick-actions button {
    border-color: #dce5db;
    color: #238045;
    background: #f8fbf6;
}

body.moment-home .smart-chat-layer .chat-panel,
body.moment-next .smart-chat-layer .chat-panel {
    border-color: #dce5db;
    box-shadow: 0 28px 80px rgba(23,95,55,.25);
}

body.moment-home .smart-chat-layer .chat-panel-head,
body.moment-next .smart-chat-layer .chat-panel-head {
    background: linear-gradient(135deg, #238045, #175f37);
}

body.moment-home .smart-chat-layer .chat-message.user,
body.moment-next .smart-chat-layer .chat-message.user {
    box-shadow: 0 7px 17px rgba(35,128,69,.22);
}
