/* LabREC — painel expansível de BibTeX; complementar a publicacoes.css. */
.publications-page .pub-bibtex-panel {
  margin-top: 14px;
  max-width: 100%;
}
.publications-page .pub-bibtex-panel[hidden] { display: none !important; }
.publications-page .pub-bibtex-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
}
.publications-page .pub-bibtex-header h4 { margin: 0; }
.publications-page .pub-bibtex-copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  border: 1px solid #087f82;
  border-radius: 7px;
  background: #087f82;
  color: #fff;
  font: inherit;
  font-weight: 700;
  font-size: .81rem;
  line-height: 1.3;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}
.publications-page .pub-bibtex-copy:hover {
  background: #08686b;
  border-color: #08686b;
}
.publications-page .pub-bibtex-copy:focus-visible,
.publications-page .pub-bibtex:focus-visible {
  outline: 3px solid #9ee3e2;
  outline-offset: 3px;
}
.publications-page .pub-bibtex-code {
  margin: 0;
  padding: 16px 18px;
  max-height: 320px;
  overflow: auto;
  border: 1px solid #d5e5e8;
  border-radius: 8px;
  background: #fff;
  color: #183442;
  white-space: pre;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: .79rem;
  line-height: 1.65;
  tab-size: 2;
}
.publications-page .pub-bibtex-code code {
  font: inherit;
  white-space: inherit;
}
@media (max-width: 650px) {
  .publications-page .pub-bibtex-copy { width: 100%; }
  .publications-page .pub-bibtex-header { align-items: stretch; }
  .publications-page .pub-bibtex-code { font-size: .73rem; padding: 13px; }
}

/* Ações uniformes em todas as publicações, inclusive as reconstruídas por JS. */
.publications-page .pub-actions .pub-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 24px;
  vertical-align: middle;
  text-decoration: none;
}
.publications-page .pub-actions .pub-link .pub-icon {
  width: 16px;
  height: 16px;
  display: block;
  flex: 0 0 16px;
}
.publications-page .pub-bibtex-copy { gap: 8px; }
.publications-page .pub-bibtex-copy .pub-icon {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
}
