/*
 * CODSHIPX_AI_R136_R2_GLOBAL_INBOX_FULLVIEW
 *
 * Global CRM Inbox UI capability.
 * No workspace, plan, subscription, seller or entitlement gate.
 */

.inbox-shell.r83-live-inbox
  .chat-head-actions
  > .cx-r136-fullview-toggle {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  flex: 0 0 auto !important;
  min-width: 86px !important;
  height: 36px !important;
  min-height: 36px !important;
  padding: 0 10px !important;
  margin: 0 !important;
  color: #32445d !important;
  background: #fff !important;
  border: 1px solid #dce4ec !important;
  border-radius: 10px !important;
  font: inherit !important;
  font-size: 11px !important;
  font-weight: 750 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  cursor: pointer !important;
  box-shadow: 0 3px 10px rgba(15,35,65,.05) !important;
  transition:
    transform .15s ease,
    border-color .15s ease,
    background .15s ease,
    box-shadow .15s ease !important;
}

.inbox-shell.r83-live-inbox
  .chat-head-actions
  > .cx-r136-fullview-toggle:hover {
  transform: translateY(-1px) !important;
  background: #fbfcfd !important;
  border-color: #bdcad8 !important;
  box-shadow: 0 6px 18px rgba(15,35,65,.09) !important;
}

.inbox-shell.r83-live-inbox
  .chat-head-actions
  > .cx-r136-fullview-toggle:focus-visible {
  outline: 3px solid rgba(139,220,13,.22) !important;
  outline-offset: 2px !important;
}

.cx-r136-fullview-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 14px !important;
  height: 14px !important;
  flex: 0 0 14px !important;
  font-size: 14px !important;
  line-height: 1 !important;
}

.cx-r136-fullview-text {
  display: inline-flex !important;
  align-items: center !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

body.cx-r136-inbox-fullview-active {
  overflow: hidden !important;
}

.inbox-shell.r83-live-inbox.cx-r136-inbox-fullview {
  position: fixed !important;
  inset: 0 !important;
  z-index: 2147483000 !important;

  display: grid !important;
  grid-template-columns:
    minmax(300px,360px)
    minmax(0,1fr) !important;
  grid-template-rows: minmax(0,1fr) !important;

  width: 100vw !important;
  max-width: none !important;

  height: 100vh !important;
  height: 100dvh !important;
  max-height: none !important;
  min-height: 0 !important;

  margin: 0 !important;
  padding: 0 !important;

  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;

  background: #f7f9fc !important;
  overflow: hidden !important;
}

.inbox-shell.r83-live-inbox.cx-r136-inbox-fullview
  > .context-pane {
  display: none !important;
}

.inbox-shell.r83-live-inbox.cx-r136-inbox-fullview
  > .inbox-list {
  display: flex !important;
  flex-direction: column !important;

  min-width: 0 !important;
  width: auto !important;
  max-width: none !important;

  min-height: 0 !important;
  height: 100% !important;
  max-height: none !important;

  margin: 0 !important;

  border-top: 0 !important;
  border-left: 0 !important;
  border-bottom: 0 !important;
  border-radius: 0 !important;

  overflow: hidden !important;
}

.inbox-shell.r83-live-inbox.cx-r136-inbox-fullview
  > .inbox-list
  .conversation-stack {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  overflow-y: auto !important;
  overscroll-behavior: contain !important;
}

.inbox-shell.r83-live-inbox.cx-r136-inbox-fullview
  > .chat-pane {
  display: flex !important;
  flex-direction: column !important;

  min-width: 0 !important;
  width: auto !important;
  max-width: none !important;

  min-height: 0 !important;
  height: 100% !important;
  max-height: none !important;

  margin: 0 !important;

  border: 0 !important;
  border-radius: 0 !important;

  overflow: hidden !important;
}

.inbox-shell.r83-live-inbox.cx-r136-inbox-fullview
  .chat-head {
  position: relative !important;
  inset: auto !important;
  flex: 0 0 auto !important;
  min-height: 70px !important;
  z-index: 10 !important;
  background: #fff !important;
}

.inbox-shell.r83-live-inbox.cx-r136-inbox-fullview
  .message-canvas {
  position: relative !important;
  inset: auto !important;

  flex: 1 1 auto !important;
  min-height: 0 !important;
  height: auto !important;
  max-height: none !important;

  overflow-y: auto !important;
  overscroll-behavior: contain !important;
}

.inbox-shell.r83-live-inbox.cx-r136-inbox-fullview
  .composer {
  position: relative !important;
  inset: auto !important;

  flex: 0 0 auto !important;
  z-index: 10 !important;

  background: #fff !important;
}

.inbox-shell.r83-live-inbox.cx-r136-inbox-fullview
  .cx-r136-fullview-toggle {
  color: #fff !important;
  background: #10213d !important;
  border-color: #10213d !important;
  box-shadow: 0 7px 20px rgba(8,24,49,.18) !important;
}

@media (max-width: 900px) {
  .inbox-shell.r83-live-inbox
    .chat-head-actions
    > .cx-r136-fullview-toggle {
    min-width: 38px !important;
    width: 38px !important;
    padding: 0 !important;
  }

  .cx-r136-fullview-text {
    display: none !important;
  }

  .inbox-shell.r83-live-inbox.cx-r136-inbox-fullview {
    grid-template-columns: 1fr !important;
  }

  .inbox-shell.r83-live-inbox.cx-r136-inbox-fullview
    > .inbox-list {
    display: none !important;
  }
}
