/* ==========================================================================
   Print Presentation Stylesheet — The Tax Club, ABU Zaria (§6A.8)
   Ink-friendly light mode forced regardless of active screen theme.
   ========================================================================== */

@media print {
  @page {
    margin: 14mm 12mm;
  }

  :root,
  [data-theme="dark"] {
    --bg: #FFFFFF !important;
    --surface: #FFFFFF !important;
    --surface-alt: #FFFFFF !important;
    --text: #000000 !important;
    --text-muted: #333333 !important;
    --border: #999999 !important;
    --border-strong: #000000 !important;
    --brand-ink: #000000 !important;
    --success: #000000 !important;
    --warning: #000000 !important;
    --danger: #000000 !important;
  }

  html,
  body,
  body.app-admin,
  body.app-portal {
    background: #FFFFFF !important;
    color: #000000 !important;
    font-size: 10pt !important;
    line-height: 1.45 !important;
  }

  /* Hide chrome, navigation, interactive controls, overlays */
  .admin-sidebar,
  .admin-topbar,
  .site-header,
  .site-footer,
  .mobile-drawer,
  .drawer-backdrop,
  .theme-toggle,
  .nav-toggle,
  .skip-link,
  .btn,
  button,
  form.no-print,
  .no-print,
  .filter-ledger-row,
  .filter-bar,
  .active-filters-bar,
  .pagination,
  .toast-stack,
  .modal-backdrop,
  .offline-strip,
  .cta-band {
    display: none !important;
  }

  /* Single-column full-width main area */
  .admin-shell,
  .portal-shell {
    display: block !important;
  }

  .admin-content,
  .portal-content,
  .container {
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  /* Preserve rules, headings, logo, and #00FF00 eyebrow underline only */
  .eyebrow {
    color: #000000 !important;
    border-bottom: 2px solid #00FF00 !important;
  }

  .card,
  .ruled-grid,
  .ruled-cell,
  .table-wrap {
    background: #FFFFFF !important;
    border-color: #000000 !important;
    overflow: visible !important;
  }

  .data-table {
    width: 100% !important;
    border-collapse: collapse !important;
  }

  .data-table thead {
    display: table-header-group !important;
  }

  .data-table tr,
  .ruled-cell,
  .card,
  .error-summary,
  .print-avoid-break {
    page-break-inside: avoid !important;
    break-inside: avoid !important;
  }

  .print-page-break {
    page-break-before: always !important;
    break-before: page !important;
  }

  a {
    color: #000000 !important;
    text-decoration: none !important;
  }
}
