/* Cache-safe Lilli avatar presentation.
   The portrait itself is transparent; no circular crop or backing tile is used. */
.chat-panel__avatar {
  width: 64px !important;
  height: 72px !important;
  flex: 0 0 64px;
  object-fit: contain !important;
  object-position: center;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  filter: drop-shadow(0 5px 9px rgba(0, 0, 0, 0.42));
}

@media (max-width: 660px) {
  .chat-panel__avatar {
    width: 58px !important;
    height: 66px !important;
    flex-basis: 58px;
  }
}

/* Live presence indicator and conversation-first header. The colour reflects
   Lilli's local support window in Europe/Brussels (09:00–18:00). */
.chat-panel__head {
  min-height: 82px;
  gap: 12px !important;
  align-items: center;
}

.chat-panel__meta {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.chat-panel__name {
  display: block !important;
  margin: 0 !important;
  color: #f3eee2;
  font-size: 12px !important;
  line-height: 1.2;
  letter-spacing: .04em;
}

.chat-panel__status {
  display: flex !important;
  align-items: center;
  gap: 6px;
  margin: 0 !important;
  color: rgba(245, 241, 232, .58);
  font-size: 9px;
  line-height: 1.25;
  white-space: normal;
}

.chat-panel__status small {
  display: block !important;
  margin: 0 !important;
  color: inherit !important;
  font-size: inherit !important;
  line-height: inherit;
}

.chat-panel__head .chat-panel__status-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  display: inline-block;
  border-radius: 50%;
  font-size: 0;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
  background: #ee5c64;
  box-shadow: 0 0 0 3px rgba(238, 92, 100, .11), 0 0 10px rgba(238, 92, 100, .52);
  transition: background .25s ease, box-shadow .25s ease;
}

.chat-panel__head .chat-panel__status-dot.is-online {
  background: #5ee58a;
  box-shadow: 0 0 0 3px rgba(94, 229, 138, .11), 0 0 10px rgba(94, 229, 138, .52);
}

.chat-panel__head .chat-panel__status-dot.is-offline {
  background: #ee5c64;
}

.chat-msg--quick button {
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
}

.chat-msg--quick button:active {
  transform: translateY(1px);
}

@media (max-width: 660px) {
  .chat-panel__head {
    min-height: 76px;
  }

  .chat-panel__status {
    max-width: 190px;
  }
}
