/* Ordinary bubbles stay ordinary; delivery problems get one compact action. */
.chat-message.pending {opacity:.82}
.chat-message.pending .chat-message-bubble {border-style:solid}
.chat-message.pending time {font-style:normal}
.crm-attempt .chat-message-bubble {max-width:min(680px,100%)}
.crm-attempt.crm-pending .chat-message-bubble {opacity:.82}
.chat-attempt-line {
  display:flex;
  align-items:flex-start;
  gap:5px;
}
.chat-attempt-line .chat-message-text {
  flex:1;
  min-width:0;
  align-self:center;
  overflow-wrap:anywhere;
}
.chat-send-error-icon {
  display:grid;
  place-items:center;
  flex:none;
  width:28px;
  height:28px;
  margin:-4px -5px -4px 0;
  padding:0;
  border:0;
  border-radius:50%;
  background:transparent;
  color:#fff0d9;
  cursor:pointer;
  font:inherit;
}
.chat-send-error-icon span {
  display:grid;
  place-items:center;
  width:17px;
  height:17px;
  border:1px solid currentColor;
  border-radius:50%;
  font:700 11px/1 var(--font, sans-serif);
}
.crm-blocked .chat-send-error-icon {color:#ffe0e7}
.chat-send-error-icon:hover, .chat-send-error-icon[aria-expanded="true"] {background:#ffffff18}
.chat-send-error-icon:focus-visible, .chat-send-retry:focus-visible {outline:2px solid #fff;outline-offset:1px}
.chat-attempt-details {
  max-width:38ch;
  margin-top:8px;
  padding-top:8px;
  border-top:1px solid #ffffff36;
  white-space:normal;
}
.chat-attempt-details[hidden] {display:none}
.chat-send-block-reason {display:block;font-size:11px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}
.chat-attempt-details .chat-message-employee {color:#e3dfff;font-size:10px}
.chat-send-retry {
  margin-top:6px;
  padding:4px 8px;
  border:1px solid #ffffff50;
  border-radius:6px;
  background:transparent;
  color:inherit;
  font:inherit;
  font-weight:600;
  cursor:pointer;
}
.chat-send-retry:hover {background:#ffffff18}
.chat-send-retry:disabled {opacity:.55;cursor:default}
.crm-attempt-retry {width:100%;border:0;cursor:pointer;background:transparent}
@media(max-width:600px){
  .crm-attempt .chat-message-bubble {max-width:100%}
  .chat-send-error-icon {width:32px;height:32px}
  .chat-send-retry {min-height:32px}
}
