/* MenkulEX v1.2.419 – message cohesion and history readability. No JS state. */
.xan-customer-ai-v231 .xcai-chat-v175 > .xcai-chat-log-v175 {
  display:flex!important; flex-direction:column!important;
  justify-content:flex-start!important; align-content:flex-start!important;
  gap:8px!important; row-gap:8px!important;
  padding:11px 12px!important; scroll-padding-block:12px!important;
}
.xan-customer-ai-v231 .xcai-chat-v175 .xcai-chat-msg-v175 {
  flex:0 0 auto!important; margin:0!important; min-height:0!important;
  width:fit-content!important; max-width:min(92%,740px)!important;
  padding:9px 11px!important; line-height:1.45!important;
}
.xan-customer-ai-v231 .xcai-chat-v175 .xcai-chat-msg-v175.is-ai {
  align-self:flex-start!important;
}
.xan-customer-ai-v231 .xcai-chat-v175 .xcai-chat-msg-v175.is-user {
  align-self:flex-end!important;
}
.xan-customer-ai-v231 .xcai-chat-v175 .xcai-chat-msg-v175 b,
.xan-customer-ai-v231 .xcai-chat-v175 .xcai-chat-msg-v175 p {
  margin:0!important; max-width:100%!important; overflow-wrap:anywhere!important;
}
.xan-customer-ai-v231 .xcai-chat-v175 .xcai-chat-msg-v175 b {margin-bottom:3px!important;}
/* Screen history: two readable lines instead of a single severely truncated one. */
body.mx208-standalone .mx201-history-row,
body.xan-customer-ai-standalone-v246 .mx201-history-row {
  display:grid!important; grid-template-columns:minmax(0,1fr) 34px!important;
  gap:4px!important; align-items:center!important; min-width:0!important;
}
body.mx208-standalone .mx201-history-row .mx201-history-open,
body.xan-customer-ai-standalone-v246 .mx201-history-row .mx201-history-open {
  display:-webkit-box!important;-webkit-box-orient:vertical!important;
  -webkit-line-clamp:2!important;white-space:normal!important;
  line-height:1.35!important;overflow:hidden!important; overflow-wrap:anywhere!important;
  min-width:0!important; max-width:100%!important;text-align:left!important;
}
body.mx208-standalone .mx201-history-row .mx201-history-delete,
body.xan-customer-ai-standalone-v246 .mx201-history-row .mx201-history-delete {
  width:32px!important;min-width:32px!important;height:36px!important;
  text-align:center!important;justify-self:end!important;
}
body.mx208-standalone .mx201-history-head,
body.xan-customer-ai-standalone-v246 .mx201-history-head {min-width:0!important;gap:6px!important;}
@media(max-width:620px){
 .xan-customer-ai-v231 .xcai-chat-v175 > .xcai-chat-log-v175{padding:9px!important;gap:7px!important;}
 .xan-customer-ai-v231 .xcai-chat-v175 .xcai-chat-msg-v175{max-width:96%!important;padding:8px 9px!important;}
}
