/* Keep the live support widget compact while leaving the conversation usable. */
#malsyBuddy.is-open #malsyPanel {
  width: min(360px, calc(100vw - 28px));
  height: min(510px, calc(100dvh - 78px));
  max-height: calc(100dvh - 78px);
}

#malsyPanel > #malsyHead { padding: 10px 13px; }
#malsyPanel > #malsyTabs { padding: 6px 9px; gap: 5px; }
#malsyLivePane .mocee-live-intro { padding: 8px 12px; }
#malsyLivePane .mocee-live-embed { min-height: 0; }
#malsyLivePane .mocee-live-embed iframe { min-height: 0; height: 100% !important; }

@media (max-width: 600px) {
  #malsyBuddy.is-open { inset: auto 12px 12px auto !important; }
  #malsyBuddy.is-open #malsyPanel {
    width: min(360px, calc(100vw - 24px));
    height: min(510px, calc(100dvh - 68px));
    max-height: calc(100dvh - 68px);
  }
}
