/* Keep the checked private conversation inside the existing context region.
   Its history scrolls independently above the one retained bottom composer. */
.office-console-shell .office-reading-pane>.office-assistant-conversation,
.office-console-shell .office-reading-pane>.office-assistant-conversation.as-drawer {
  display:flex;flex-direction:column;overflow:hidden;gap:10px;
}
.office-assistant-conversation .staffmor-context-head {flex:none;gap:8px;padding-bottom:8px}
.office-assistant-conversation .staffmor-context-head .btn {min-width:44px;min-height:44px}
.office-assistant-conversation .office-assistant-feed {flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:0}
.office-assistant-conversation .remote-message {grid-template-columns:28px minmax(0,1fr);gap:8px;padding:12px 0}
.office-assistant-conversation .message-avatar {width:28px;height:28px}
.office-assistant-conversation .msg-head {flex-wrap:wrap;gap:4px 8px}
.office-assistant-conversation .msg-head time {font-size:.75rem}
.office-assistant-conversation .body {overflow-wrap:anywhere;white-space:pre-wrap}
.office-assistant-conversation .office-assistant-recovery {flex:none;margin:0;font:400 .875rem/1.45 var(--sans);overflow-wrap:anywhere}
.office-assistant-conversation .remote-image {max-width:100%;height:auto}

/* Bound the existing assistant transcript to its current narrow context region.
   Keep natural vertical reading and the same message/body styles. */
.office-console-shell .office-assistant-conversation .office-assistant-feed {
  display:flex;flex-direction:column;align-items:stretch;
  min-width:0;width:100%;box-sizing:border-box;
}
.office-console-shell .office-assistant-conversation .office-assistant-feed>.remote-message {
  min-width:0;width:100%;max-width:100%;box-sizing:border-box;
}
.office-console-shell .office-assistant-conversation .office-assistant-feed>.remote-message>.message-main {
  min-width:0;max-width:100%;
}
.office-console-shell .office-assistant-conversation .office-assistant-feed>.remote-message>.message-main>.body {
  min-width:0;width:100%;max-width:100%;box-sizing:border-box;overflow-wrap:anywhere;
}

/* Keep the same assistant flex reading region after an original thread opens. */
.office-console-shell.has-thread .office-reading-pane>.office-assistant-conversation.as-drawer {display:flex}
