/* Documentos legais: layout sóbrio de documento jurídico, independente do visual do app. */
:root { --tinta: #1f2328; --suave: #57606a; --linha: #d0d7de; --fundo-meta: #f6f8fa; --link: #0b5cad; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--tinta); font: 16px/1.65 Georgia, 'Times New Roman', serif; }
a { color: var(--link); }
.doc-topo { border-bottom: 1px solid var(--linha); padding: 14px 16px; display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: baseline; justify-content: space-between; font-family: system-ui, -apple-system, 'Segoe UI', sans-serif; }
.doc-marca { font-weight: 700; letter-spacing: .02em; }
.doc-nav { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; }
.doc-nav a { text-decoration: none; color: var(--suave); }
.doc-nav a[aria-current="page"] { color: var(--tinta); font-weight: 700; text-decoration: underline; }
.doc { max-width: 780px; margin: 0 auto; padding: 28px 16px 64px; }
.doc h1 { font-size: 30px; line-height: 1.2; margin: 0 0 18px; }
.doc h2 { font-size: 19px; margin: 34px 0 10px; padding-top: 10px; border-top: 1px solid var(--linha); }
.doc h2.sem-numero { border-top: 0; margin-top: 8px; }
.doc h3 { font-size: 16.5px; margin: 22px 0 6px; }
.doc p { margin: 0 0 10px; text-align: justify; hyphens: auto; }
.doc .cl { display: block; }
.doc .cl b.n { font-family: system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 14px; margin-right: 6px; }
.doc ul, .doc ol { margin: 0 0 12px; padding-left: 24px; }
.doc li { margin-bottom: 4px; }
.doc-meta { border-collapse: collapse; margin: 0 0 22px; font: 14px/1.5 system-ui, -apple-system, 'Segoe UI', sans-serif; width: 100%; }
.doc-meta th { text-align: left; width: 38%; color: var(--suave); font-weight: 600; }
.doc-meta th, .doc-meta td { padding: 6px 10px; border: 1px solid var(--linha); background: var(--fundo-meta); vertical-align: top; overflow-wrap: anywhere; }
.doc-meta td { background: #fff; }
.doc-sumario { border: 1px solid var(--linha); padding: 6px 18px 10px; margin-bottom: 8px; font-family: system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 14.5px; }
.doc-sumario ul { margin: 0; padding-left: 0; list-style: none; } .doc-sumario li { margin: 3px 0; }
.doc table.tab { border-collapse: collapse; width: 100%; margin: 8px 0 16px; font: 14px/1.5 system-ui, -apple-system, 'Segoe UI', sans-serif; }
.doc table.tab th, .doc table.tab td { border: 1px solid var(--linha); padding: 7px 9px; text-align: left; vertical-align: top; }
.doc table.tab th { background: var(--fundo-meta); }
.doc .tab-rolagem { overflow-x: auto; }
.doc .destaque { border-left: 3px solid var(--tinta); padding: 8px 14px; background: var(--fundo-meta); margin: 12px 0; }
.doc code { font-size: 13.5px; background: var(--fundo-meta); padding: 1px 4px; border-radius: 3px; }
.doc-rodape { margin-top: 44px; padding-top: 14px; border-top: 1px solid var(--linha); color: var(--suave); font: 13.5px/1.6 system-ui, -apple-system, 'Segoe UI', sans-serif; }
@media (max-width: 560px) {
  body { font-size: 15.5px; }
  .doc h1 { font-size: 25px; }
  .doc p { text-align: left; }
  .doc-meta th { width: 44%; }
}
@media print {
  .doc-topo, .doc-rodape p:last-child { display: none; }
  .doc { max-width: none; padding: 0; }
  a { color: inherit; text-decoration: none; }
  .doc h2 { break-after: avoid; }
}
