/* SurveyAI Conversation - visual overflow fix only */

#surveyAIChatSection {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

#surveyAIChatHistory {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden !important;
    overflow-y: auto;
    overflow-wrap: anywhere;
    word-break: normal;
}

#surveyAIChatHistory .chat-bubble,
#surveyAIChatHistory > * {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    word-break: normal;
}

#surveyAIChatHistory pre,
#surveyAIChatHistory code {
    max-width: 100%;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

#surveyAIChatSection .chat-compose {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

#surveyAIChatSection .chat-compose input {
    min-width: 0;
}
