
.mindsidebar {
  border-right: 1px solid #dde1e7;
  height: 100vh;
}
.mindchat-header {
  border-bottom: 1px solid #dde1e7;
  background: #fff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem !important;
}
.mindchat-header h5 {
  font-size: 0.95rem;
  font-weight: 400;
  color: #6c757d;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mindmessages {
  overflow-y: auto;
  flex: 1;
  padding: 1.25rem 1rem;
}
.mindmsg {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}
.mindavatar {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #6c757d;
  border: 1px solid #dde1e7;
  flex-shrink: 0;
}
.mindbubble {
  border-radius: 12px;
  max-width: 70%;
  background-color: #f0f2f5;
  padding: 10px 14px;
  font-size: 14px;
  line-height: 1.5;
  word-break: break-word;
}
.mindcomposer {
  border-top: 1px solid #dde1e7;
  padding: 0.75rem;
  background: #f8f9fa;
}
.mindtextarea {
  resize: none;
}
.mindlist-group-item {
  border: none;
  padding-left: 0;
  padding-right: 0;
}
.mindlist-group-item:hover {
  background-color: #f0f2f5 !important;
}

/* Bloco de resposta em texto/markdown */
.mind-resposta-texto {
  padding-left: 75px;
  padding-right: 1rem;
  margin-bottom: 1.25rem;
  font-size: 14px;
  line-height: 1.7;
  color: #212529;
}
.mind-resposta-texto p {
  margin-bottom: 0.75rem;
}
.mind-resposta-texto p:last-child {
  margin-bottom: 0;
}
.mind-resposta-texto h1,
.mind-resposta-texto h2,
.mind-resposta-texto h3,
.mind-resposta-texto h4 {
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
  line-height: 1.3;
}
.mind-resposta-texto h1 { font-size: 1.4em; }
.mind-resposta-texto h2 { font-size: 1.25em; }
.mind-resposta-texto h3 { font-size: 1.1em; }
.mind-resposta-texto ul,
.mind-resposta-texto ol {
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
}
.mind-resposta-texto li {
  margin-bottom: 0.25rem;
}
.mind-resposta-texto code {
  background: #f0f2f5;
  border: 1px solid #dde1e7;
  border-radius: 4px;
  padding: 1px 5px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.9em;
}
.mind-resposta-texto pre {
  background: #f6f8fa;
  border: 1px solid #dde1e7;
  border-radius: 6px;
  padding: 0.75rem 1rem;
  overflow-x: auto;
  margin-bottom: 0.75rem;
}
.mind-resposta-texto pre code {
  background: none;
  border: none;
  padding: 0;
  font-size: 0.88em;
}
.mind-resposta-texto blockquote {
  border-left: 3px solid #adb5bd;
  padding-left: 0.75rem;
  color: #6c757d;
  margin: 0.5rem 0 0.75rem;
}
.mind-resposta-texto hr {
  border: none;
  border-top: 1px solid #dde1e7;
  margin: 1rem 0;
}
.mind-resposta-texto strong {
  font-weight: 600;
}
.mind-resposta-texto table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 0.75rem;
  font-size: 0.9em;
}
.mind-resposta-texto th,
.mind-resposta-texto td {
  border: 1px solid #dde1e7;
  padding: 6px 10px;
  text-align: left;
}
.mind-resposta-texto th {
  background: #f0f2f5;
  font-weight: 600;
}
.mind-modelo-badge {
  font-size: 11px;
  color: #999;
  text-align: right;
  margin-top: 8px;
  display: block;
}
/* Trilha de investigação do Oráculo, atualizada durante o carregamento */
.mind-trilha {
  padding-left: 75px;
  padding-right: 1rem;
  margin-bottom: 1.25rem;
  font-family: 'Courier New', Courier, monospace;
  font-size: 12px;
  line-height: 1.6;
  color: #6c757d;
}
.mind-trilha-passo {
  white-space: pre-wrap;
  word-break: break-word;
}
.mind-trilha-atual {
  color: #495057;
  display: flex;
  align-items: center;
  gap: 6px;
}
.mind-trilha-atual img {
  height: 16px;
}
/* Anexos da pergunta do Oráculo */
.mind-anexo-controle {
  display: flex;
  align-items: center;
  gap: 8px;
}
.mind-anexos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.mind-anexo {
  display: flex;
  align-items: center;
  gap: 6px;
  max-width: 280px;
  padding: 4px 8px;
  border: 1px solid #dde1e7;
  border-radius: 16px;
  background: #fff;
  font-size: 12px;
  line-height: 1.3;
}
.mind-anexo-thumb {
  height: 24px;
  width: 24px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid #dde1e7;
  flex-shrink: 0;
}
.mind-anexo-icone {
  color: #6c757d;
  font-size: 14px;
  width: 24px;
  text-align: center;
  flex-shrink: 0;
}
.mind-anexo-nome {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #212529;
}
.mind-anexo-tamanho {
  color: #6c757d;
  white-space: nowrap;
  flex-shrink: 0;
}
.mind-anexo-remover {
  color: #bd0d00;
  cursor: pointer;
  flex-shrink: 0;
}
.mind-anexo-remover:hover,
.mind-anexo-remover:focus {
  color: #8a0900;
  text-decoration: none;
}
.mind-anexos-resumo {
  font-size: 11px;
  color: #6c757d;
  white-space: nowrap;
}
.mind-anexo-etiqueta {
  font-size: 12px;
  color: #6c757d;
  align-self: flex-end;
}
.mind-selecionar-manual {
  font-size: 12px;
  color: #6c757d;
  cursor: pointer;
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
}
.mind-selecionar-manual:hover {
  color: #495057;
  text-decoration: underline;
}
