/* Documento impresso (relatórios e ficha do lead) — padrão de documento BCM. */
.doc {
  background: #FFFFFF; color: #3C3C3B; font-family: var(--f-texto); font-size: 12px; line-height: 1.4;
  padding: 28px 32px; border: 1px solid var(--cinza-20); border-radius: var(--raio); overflow-x: auto;
}
.doc-cab {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px;
  padding-bottom: 10px; border-bottom: 2px solid #006EA5; margin-bottom: 16px;
}
.doc-cab img { width: 150px; height: auto; }
.doc-meta { font-family: var(--f-mono); font-size: 10.5px; color: #686969; text-align: right; line-height: 1.5; }
.doc h1 { font-family: var(--f-titulo); font-size: 28px; color: #006EA5; margin: 0 0 4px; line-height: 1; }
.doc h2 { font-family: var(--f-titulo); font-size: 19px; color: #3C3C3B; margin: 20px 0 6px; line-height: 1.05; }
.doc .filtros-doc { font-size: 11px; color: #686969; margin-bottom: 12px; }
.doc .resumo { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 8px; }
.doc .resumo div { border: 1px solid rgba(104,105,105,.25); border-radius: 4px; padding: 6px 12px; min-width: 110px; }
.doc .resumo b { display: block; font-family: var(--f-titulo); font-size: 24px; color: #006EA5; font-weight: 400; line-height: 1.1; }
.doc .resumo span { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.doc table { width: 100%; border-collapse: collapse; margin: 6px 0 12px; font-size: 10.5px; }
.doc thead { display: table-header-group; }
.doc th {
  background: #006EA5; color: #FFFFFF; font-weight: 600; font-size: 9.5px; text-transform: uppercase;
  letter-spacing: .04em; text-align: left; padding: 5px 6px;
}
.doc td { padding: 5px 6px; border-bottom: 1px solid rgba(104,105,105,.3); vertical-align: top; }
.doc tbody tr:nth-child(even) { background: #EBEBEA; }
.doc tr { break-inside: avoid; page-break-inside: avoid; }
.doc td.n, .doc th.n { text-align: right; font-variant-numeric: tabular-nums; }
.doc .total td { background: #EBEBEA; font-weight: 600; border-top: 2px solid #006EA5; }
.doc .sub { color: #686969; font-size: 10px; }
.doc .caixa { display: inline-block; width: 12px; height: 12px; border: 1.5px solid #3C3C3B; border-radius: 2px; }
.doc .st { font-weight: 700; font-size: 9.5px; text-transform: uppercase; letter-spacing: .03em; }
.doc .critico { color: #B3261E; } .doc .atencao { color: #8A5A00; } .doc .conforme { color: #1F6B4A; }
.doc .doc-rod { margin-top: 20px; padding-top: 8px; border-top: 1px solid rgba(104,105,105,.3); font-size: 9.5px; color: #686969; }
.doc dl.ficha { display: grid; grid-template-columns: 160px 1fr; gap: 4px 12px; margin: 8px 0; font-size: 12px; }
.doc dl.ficha dt { font-weight: 700; color: #686969; font-size: 10px; text-transform: uppercase; letter-spacing: .04em; padding-top: 2px; }
.doc dl.ficha dd { margin: 0; }
.doc .vazio-doc { color: #686969; padding: 12px 0; }
.doc .capa-doc { width: 100%; max-height: 60mm; object-fit: cover; border-radius: 4px; margin: 4px 0 10px; display: block; }
.doc .fair-head { display: flex; gap: 12px; align-items: center; margin: 2px 0 6px; }
.doc .capa-mini { width: 32mm; height: 18mm; object-fit: cover; border-radius: 3px; flex: none; }

@media print {
  .doc { border: 0; padding: 0; font-size: 10.5pt; overflow: visible; }
  .doc table { font-size: 8.5pt; }
  .doc th { font-size: 7.5pt; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .doc tbody tr:nth-child(even), .doc .total td { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .doc h2 { break-after: avoid; page-break-after: avoid; }
  .doc .quebra { break-before: page; page-break-before: always; }
}
