/* Apenas o painel de navegação do dashboard e os lançadores de ferramentas. */
html.teddy-simples aside:has(+ main),
html.teddy-simples #mobile-sidebar-launcher,
html.teddy-simples main .fixed:has(> div .i-woot-captain) { display:none !important; }

/* Duas linhas ao abrir. O controle de arraste do Chatwoot continua ajustando a altura. */
html.teddy-simples .resizable-editor-wrapper .reply-box {
  --teddy-editor-height: clamp(54px, calc(var(--editor-height, 120px) - 66px), var(--editor-max-allowed, 100dvh));
}
html.teddy-simples .reply-box .resizable-editor-split,
html.teddy-simples .reply-box .resizable-editor-body:not(.resizable-editor-split *) {
  height: var(--teddy-editor-height);
}
html.teddy-simples .reply-box .resizable-editor-split .editor-mount { min-height: 0; }
html.teddy-simples .reply-box > .flex.justify-between { padding-block: 3px; }

/* Dentro do cadastro, reserve todo o painel para esta conversa. */
html.teddy-conversa-da-pessoa .conversations-list-wrap { display:none !important; }
html.teddy-conversa-da-pessoa .conversation-details-wrap { width:100%; flex:1; border:0; }

html.teddy-simples .conversation-details-wrap > div:has(> .header-actions-wrap) {
  flex-flow:row wrap;
  align-items:center;
  gap:4px 6px;
  height:auto;
  padding:5px 8px;
}
html.teddy-simples .conversation-details-wrap > div:has(> .header-actions-wrap) > :first-child {
  flex:1 1 96px;
  width:auto;
}
html.teddy-simples .header-actions-wrap {
  width:auto;
  max-width:100%;
  gap:4px;
  margin-inline-start:auto;
}
html.teddy-simples .conversation-panel li:has(.message-bubble-container) { min-height:3rem; }
html.teddy-simples .message-bubble-container { margin-bottom:4px; }
html.teddy-simples .message-bubble-container :is(.left-bubble,.right-bubble).py-3 {
  padding:6px 12px;
}
html.teddy-simples .message-bubble-container .text-xs:has(time) {
  margin-top:4px;
  font-size:11px;
  line-height:14px;
}
html.teddy-simples .conversation-panel time { font-size:11px; }
