
/* LL AI v62.9 — interaction/action-row stability override */
.msgrow{
  display:flex !important;
  flex-direction:column !important;
  align-items:flex-start !important;
  gap:2px !important;
  width:min(100%,780px) !important;
  max-width:100% !important;
}
.msg.ai{
  width:100% !important;
  max-width:100% !important;
  padding:0 !important;
  background:transparent !important;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
}
.msg.ai .aiMsgBody,.msg.ai .assistantTextBody{
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
}
.msg.user{
  align-self:flex-end !important;
  width:auto !important;
  max-width:min(760px,88vw) !important;
}
.msgActions{
  display:flex !important;
  flex-direction:row !important;
  align-items:center !important;
  justify-content:flex-start !important;
  flex-wrap:nowrap !important;
  width:max-content !important;
  max-width:100% !important;
  min-height:34px !important;
  margin:4px 0 0 2px !important;
  padding:0 !important;
  gap:2px !important;
  position:relative !important;
}
.msgActions .responseCopyBtn{order:1 !important}
.msgActions .speakbtn{order:2 !important}
.msgActions .responseShareBtn{order:3 !important}
.msgActions .responseRetryBtn{display:none !important}
.msgActions .ll625MoreBtn{order:4 !important}
.msgActions .btn,.msgActions .ll625MoreBtn{
  width:32px !important;
  min-width:32px !important;
  height:32px !important;
  min-height:32px !important;
  padding:0 !important;
  margin:0 !important;
  display:grid !important;
  place-items:center !important;
  border:0 !important;
  border-radius:8px !important;
  background:transparent !important;
  color:color-mix(in srgb,var(--theme-text) 64%,transparent) !important;
  opacity:1 !important;
  transform:none !important;
  box-shadow:none !important;
  transition:background .14s ease,color .14s ease,transform .14s ease !important;
}
.msgActions .btn:hover,.msgActions .btn:focus-visible,.msgActions .ll625MoreBtn.is-open{
  color:var(--theme-text) !important;
  background:rgba(255,255,255,.065) !important;
}
.msgActions .btn:active{transform:scale(.94) !important}
.msgActions .btn svg,.msgActions .ll625MoreBtn svg{
  width:18px !important;
  height:18px !important;
  fill:none !important;
  stroke:currentColor !important;
  stroke-width:1.7 !important;
  stroke-linecap:round !important;
  stroke-linejoin:round !important;
}
.ll625ResponseMenu{
  left:0 !important;
  right:auto !important;
  bottom:calc(100% + 8px) !important;
  width:248px !important;
  max-width:calc(100vw - 24px) !important;
  padding:8px !important;
  border-radius:17px !important;
  background:rgba(35,35,35,.98) !important;
  border:1px solid rgba(255,255,255,.09) !important;
  box-shadow:0 22px 70px rgba(0,0,0,.48) !important;
}
.ll625ResponseMenu button{
  min-height:44px !important;
  border-radius:11px !important;
  font-size:14px !important;
  font-weight:600 !important;
}
@media(max-width:800px){
  .msgrow{width:100% !important}
  .msgActions{margin-top:3px !important}
  .msgActions .btn,.msgActions .ll625MoreBtn{width:34px !important;min-width:34px !important;height:34px !important;min-height:34px !important}
}
/* Final specificity locks — keep these last. */
.msgActions .responseRetryBtn{display:none !important;visibility:hidden !important;width:0 !important;min-width:0 !important;height:0 !important;min-height:0 !important;padding:0 !important;margin:0 !important;overflow:hidden !important}
.msg.user{
  background:var(--theme-surface,#303030) !important;
  color:var(--theme-text,#f5f5f5) !important;
  border:1px solid var(--theme-line,rgba(255,255,255,.08)) !important;
  border-radius:20px !important;
  border-bottom-right-radius:7px !important;
  padding:11px 15px !important;
  box-shadow:none !important;
}
