/* UI-only MVP: keep the complete question/history stack docked to the composer. */
body[data-popup][data-view=questions] .popup-messages{
  display:flex;
  flex-direction:column;
  flex:1;
  min-height:0;
}
body[data-popup][data-view=questions] .popup-messages:has(+.popup-composer)>*{
  flex-shrink:0;
}
body[data-popup][data-view=questions] .popup-messages:has(+.popup-composer)>:first-child{
  margin-top:auto;
}
body[data-popup][data-view=questions] .popup-composer{
  margin-top:0;
}
