/* Relatorio de pessoa fisica (formato Lemit) da Consulta cadastral */
.cdr .cdr-sec { border: 1px solid var(--line, rgba(128,128,128,.28)); border-radius: 4px; margin: .9rem 0; background: var(--surface, #fff); }
.cdr .cdr-sec-t { padding: .7rem 1rem; font-weight: 700; font-size: .78rem; letter-spacing: .05em; text-transform: uppercase; border-bottom: 1px solid var(--line, rgba(128,128,128,.28)); }
.cdr .cdr-item { padding: .35rem 1rem; border-bottom: 1px solid var(--line, rgba(128,128,128,.2)); }
.cdr .cdr-item:last-child { border-bottom: 0; }
.cdr .cdr-l { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .32rem 1rem; }
.cdr .cdr-item .cdr-l { padding-left: 0; padding-right: 0; }
.cdr .cdr-l > span:first-child { font-weight: 600; }
.cdr .cdr-l > b { font-weight: 400; text-align: right; word-break: break-word; }
.cdr .cdr-vazio { padding: .2rem 1rem .8rem; margin: 0; }
.cdr .cdr-seg { display: inline-flex; border: 1px solid var(--line, rgba(128,128,128,.4)); border-radius: 4px; overflow: hidden; }
.cdr .cdr-seg button { border: 0; border-right: 1px solid var(--line, rgba(128,128,128,.4)); background: transparent; color: inherit; padding: .3rem .8rem; font: inherit; font-size: .8rem; cursor: pointer; }
.cdr .cdr-seg button:last-child { border-right: 0; }
.cdr .cdr-seg button.on { background: #a32a2a; color: #fff; }
.cdr .cdr-so-impressao { display: none; }
.cdr-print-head, .cdr-print-foot { display: none; }

@page { size: A4; margin: 14mm 13mm 16mm; }
@media print {
  html, body { background: #fff !important; color: #111 !important; font-size: 11pt; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .ti-sidebar, .ti-topbar, .jr-sem-impressao, .jr-toast, .ts-filtro, .jr-campos, .jr-card-acoes,
  #cd-resultado > .jr-card, .cdr .jr-card-acoes { display: none !important; }
  .ti-shell, .ti-main, .ti-view, .ti-content { display: block !important; margin: 0 !important; padding: 0 !important; width: auto !important; max-width: none !important; background: #fff !important; box-shadow: none !important; }
  .cdr-print-head { display: flex; align-items: center; gap: 14px; border-bottom: 2px solid #a32a2a; padding-bottom: 10px; margin-bottom: 14px; }
  .cdr-print-head img { height: 34px; width: auto; }
  .cdr-print-tit h1 { font-size: 15pt; margin: 0; color: #a32a2a; letter-spacing: 0; }
  .cdr-print-tit p { margin: 2px 0 0; font-size: 9pt; color: #555; }
  .cdr-print-foot { display: block; margin-top: 16px; padding-top: 8px; border-top: 1px solid #bbb; font-size: 8pt; color: #555; line-height: 1.4; }
  #cd-saida .jr-card { border: 0 !important; box-shadow: none !important; padding: 0 !important; margin: 0 0 10px !important; background: #fff !important; }
  #cd-saida .jr-card-topo h2 { font-size: 14pt; margin: 0 0 2px; }
  #cd-saida .jr-nota { color: #555 !important; }
  .cdr .cdr-sec { border: 1px solid #bbb !important; background: #fff !important; break-inside: avoid; page-break-inside: avoid; margin: 0 0 9px; }
  .cdr .cdr-sec-t { background: #f1eeee !important; color: #111; border-bottom: 1px solid #bbb !important; padding: 5px 10px; font-size: 8.5pt; }
  .cdr .cdr-l { padding: 3px 10px; font-size: 10pt; }
  .cdr .cdr-item { padding: 2px 0; border-bottom: 1px solid #ddd !important; }
  .cdr .cdr-so-impressao { display: flex !important; }
  .cdr a { color: inherit; text-decoration: none; }
  .cdr .jr-sit { border: 1px solid #999; padding: 0 5px; font-size: 8pt; color: #111 !important; background: #fff !important; }
  #cd-saida .jr-dl { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 16px; }
  #cd-saida .jr-dl-largo { grid-column: 1 / -1; }
  #cd-saida .jr-dl dt { color: #555; font-size: 8pt; }
  details.jr-outros { display: none; }
}
