/* Presentation only: framing never changes the original crop or provenance. */
figure.cv-proof-figure,
.canvas-editor-rendered figure.cv-proof-figure {
  box-sizing: border-box;
  max-width: 100%;
  margin: 18px auto;
  padding: 8px;
  border: 1px solid #b8c7d3;
  border-radius: 4px;
  background: #fff;
  box-shadow: none;
  overflow: visible;
  break-inside: avoid;
  page-break-inside: avoid;
  text-indent: 0;
  text-align: left;
}
figure.cv-proof-figure > .synap-print-label,
figure.cv-proof-figure:not(:has(> .synap-print-label))::before {
  display: block;
  margin: 0;
  padding: 0 0 8px;
  font-family: Arial, sans-serif;
  font-size: 9pt;
  font-weight: 600;
  line-height: 1.3;
  text-indent: 0;
  text-align: left;
  color: #52677a;
}
figure.cv-proof-figure:not(:has(> .synap-print-label))::before { content: 'Print do documento'; }
figure.cv-proof-figure img,
.canvas-editor-rendered figure.cv-proof-figure img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: none;
  margin: 0 auto;
  object-fit: contain;
  background: #fff;
}
figure.cv-proof-figure figcaption,
.canvas-editor-rendered figure.cv-proof-figure figcaption {
  display: block;
  margin: 8px 0 0;
  padding: 8px 2px 0;
  border-top: 1px solid #d9e2e8;
  background: #fff;
  font-size: 10pt;
  font-weight: 400;
  line-height: 1.4;
  color: #334155;
  text-align: left;
  text-indent: 0;
  overflow-wrap: anywhere;
}
.evidence-library button:has(> img) {
  box-sizing: border-box;
  padding: 6px !important;
  border: 1px solid #b8c7d3 !important;
  border-radius: 4px !important;
  background: #fff !important;
}
@media print {
  figure.cv-proof-figure { border-color: #8899a8; box-shadow: none; }
}
@media (max-width: 600px) {
  figure.cv-proof-figure { margin: 14px 0; padding: 6px; }
}
