/* Impressão da página completa: fundo claro, sem navegação nem painéis
   ilustrativos. O resumo executivo para anexar a processo é resumo.html. */

@page { size: A4; margin: 16mm 14mm; }

:root {
  --bg: #fff; --bg-2: #fff; --panel: #fff; --panel-hi: #f4f5f7;
  --border: #d5d8de; --border-hi: #b9bec7;
  --fg: #111418; --fg-dim: #2b3038; --muted: #555c66;
  --accent: #0057b8; --accent-strong: #0057b8;
  --orange: #9a4d00; --ok: #1d6b3a; --warn: #8a5a00; --err: #a3243b; --magenta: #8a1f7c;
}

html, body { background: #fff !important; color: var(--fg); font-size: 10.5pt; }

.topnav, .hero-bg, .hero .mock, #telas, .hero-actions, .paths, .calc { display: none !important; }

section, .hero, .strip { padding: 8mm 0 !important; border: 0 !important; background: #fff !important; }
.hero .wrap { grid-template-columns: 1fr !important; }
.split, .grid-3, .layers, .stack-grid, .tiers, .steps, .contact { grid-template-columns: 1fr 1fr !important; }
.brief { grid-template-columns: 1fr !important; }

/* Tabelas não rolam no papel: soltar a largura mínima e não imprimir URLs dentro delas */
.table-wrap { overflow: visible !important; }
.status, .table-wrap .status, .table-wrap .status.conf { min-width: 0 !important; }
.status td:first-child, .status.conf td:first-child { white-space: normal !important; min-width: 0 !important; }
table a::after { content: none !important; }

.card, .tech, .tier, .step, .layer-card, .class-card, .scenario, .flow li,
.note, .callout, .thesis, .status tr, .glossary > div, .brief-list > div, .who-card {
  break-inside: avoid; box-shadow: none !important; background: #fff !important;
}
h2, h3, .section-head { break-after: avoid; }

.hero h1 em { background: none !important; color: var(--accent) !important; }
.diagram, .timeline, .tag, .aud { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.diagram { break-inside: avoid; }

a { color: var(--fg); text-decoration: underline; }
main a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 8.5pt; color: var(--muted); word-break: break-all; }
