.iso-ai-chat {
    border: 1px solid rgba(0, 0, 0, .10);
    border-radius: 14px;
    overflow: hidden;
    max-width: 520px
}

.iso-ai-chat__head {
    padding: 12px 14px;
    background: rgba(0, 0, 0, .04);
    font-weight: 600
}

.iso-ai-chat__log {
    padding: 14px;
    max-height: 360px;
    overflow: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #fff
}

.iso-ai-msg {
    max-width: 85%;
    padding: 10px 12px;
    border-radius: 12px;
    line-height: 1.35;
    white-space: pre-wrap;
    word-break: break-word
}

.iso-ai-msg--user {
    align-self: flex-end;
    background: #e9f0ff
}

.iso-ai-msg--ai {
    align-self: flex-start;
    background: #f3f3f3
}

.iso-ai-chat__foot {
    display: flex;
    gap: 10px;
    padding: 12px 14px;
    background: #fff;
    border-top: 1px solid rgba(0, 0, 0, .06)
}

.iso-ai-chat__input {
    flex: 1;
    border: 1px solid rgba(0, 0, 0, .15);
    border-radius: 10px;
    padding: 10px 12px;
    resize: vertical;
    min-height: 44px
}

.iso-ai-chat__btn {
    border: 0;
    border-radius: 10px;
    padding: 10px 14px;
    cursor: pointer
}

.iso-ai-chat__meta {
    padding: 10px 14px;
    background: #fff;
    border-top: 1px dashed rgba(0, 0, 0, .12);
    font-size: 12px;
    opacity: .75
}