/* Dossie: legivel na tela e na impressao, fundo branco. */
body { font: 13px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color: #111; background: #fff; max-width: 900px; margin: 24px auto; padding: 0 16px; }
.doc-head { display: flex; align-items: center; gap: 12px; border-bottom: 2px solid #0b0f14; padding-bottom: 10px; margin-bottom: 18px; }
.doc-brand { font-weight: 700; font-size: 18px; }
.doc-sub { color: #555; }
.doc-meta { margin-left: auto; text-align: right; color: #555; font-size: 11px; }
h1 { font-size: 20px; margin: 0 0 12px; }
h2 { font-size: 15px; margin: 22px 0 8px; border-bottom: 1px solid #ddd; padding-bottom: 4px; }
table { width: 100%; border-collapse: collapse; margin: 6px 0 10px; }
.kv th { text-align: left; width: 16%; color: #555; font-weight: 600; padding: 4px 6px; vertical-align: top; }
.kv td { padding: 4px 6px; }
.grid th, .grid td { border: 1px solid #ddd; padding: 5px 7px; text-align: left; vertical-align: top; }
.grid th { background: #f3f5f7; }
code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 11px; }
.small { font-size: 11px; color: #555; }
@media print { body { margin: 0; } a { color: #111; text-decoration: none; } }
@media print { .noprint { display: none; } }
.print-bar { position: sticky; top: 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; margin-bottom: 14px; background: #fff; border-bottom: 1px solid #ddd; }
.print-bar a { color: #0b5f73; text-decoration: none; }
.print-bar button { font: inherit; font-weight: 600; color: #fff; background: #0b7285; border: 0; border-radius: 6px; padding: 8px 16px; cursor: pointer; }
.print-bar button:hover { background: #095c6b; }

/* impressao: linha de tabela nao quebra no meio da pagina; cabecalho repete */
tr, .finding { break-inside: avoid; page-break-inside: avoid; }
thead { display: table-header-group; }
h2 { break-after: avoid; page-break-after: avoid; }
