/* ============================================
   NEXOR 360 — Print Styles
   ============================================ */

@media print {
  @page {
    size: A4;
    margin: 20mm 18mm 15mm 22mm;
  }

  * {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  body {
    font-size: 10pt;
    color: #000;
  }

  .toc-sidebar,
  .toc-toggle {
    display: none !important;
  }

  .proposal-content {
    margin-left: 0 !important;
  }

  .cover-page {
    min-height: 100vh;
    page-break-after: always;
  }

  .proposal-section {
    padding: 10mm 0;
    page-break-before: always;
    max-width: 100%;
  }

  .proposal-section + .proposal-section {
    border-top: none;
  }

  h2.section-heading { font-size: 16pt; }
  h3.subsection-heading { font-size: 12pt; }

  p {
    max-width: 100%;
    orphans: 3;
    widows: 3;
  }

  .proposal-table {
    box-shadow: none;
    font-size: 8pt;
    page-break-inside: avoid;
  }

  .diagram-container {
    page-break-inside: avoid;
  }

  .arch-layer:hover,
  .flow-card:hover,
  .sm-state:hover,
  .metric-card:hover,
  .team-card:hover {
    transform: none !important;
    box-shadow: none !important;
  }

  .flow-card__substeps { display: none !important; }
  .contract-toggle { display: none !important; }

  a { color: var(--dark-text) !important; text-decoration: none; }

  .gantt { page-break-inside: avoid; }
}

.print-header,
.print-footer {
  display: none;
}
