/* base/print.css — Print styles (bills, receipts, reports).
   Part of the split style.css. Keep the load order in includes/layout.php. */

@media print {
    .print-only { display: block; }
    .no-print,
    .desk-rail,
    .desk-top,
    .desk-shade,
    .desk-close,
    .nav-burger,
    .flash,
    .admin-return { display: none !important; }
    body.desk-body,
    body.desk-admin { background: #fff; }
    .desk { display: block; }
    .desk-main,
    .desk-content { padding: 0; margin: 0; width: auto; }
    .desk-content .panel {
      box-shadow: none;
      border: none;
      padding: 0;
    }
    .bank-print-head {
      margin: 0 0 12px;
      font-weight: 700;
      font-size: 16px;
    }
    .bank-accounts-list h2 { margin-bottom: 8px; }
    .table-wrap { overflow: visible; }
    table.data { width: 100%; font-size: 12px; }
    table.data thead th {
      position: static;
      background: #f8f1de;
      color: #3a160e;
    }
    table.data th,
    table.data td {
      border: 1px solid #c6a15b;
      padding: 6px 8px;
    }
    .bank-account-no { font-size: 13px; }
    @page { size: A5 portrait; margin: 5mm; }
    .desk-rail, .desk-top, .desk-shade, .no-print, .desk-foot { display: none !important; }
    .desk, .desk-main, .desk-content { display: block !important; height: auto !important; overflow: visible !important; padding: 0 !important; background: #fff !important; }
    .gold-bill-scroll { overflow: visible !important; }
    .gold-bill, .inv-logo, .gold-bill-table th, .inv-netbar span, .bill-paid, .bill-company, .bill-delivered {
      -webkit-print-color-adjust: exact;
      print-color-adjust: exact;
    }
    .gold-bill { width: 100% !important; min-height: 0 !important; max-width: 100% !important; box-shadow: none !important; }
}

@media (max-width: 760px) {
    .gold-bill { width: 148mm; max-width: none; }
}

@media (max-width: 1100px) {
    .gold-bill { width: 148mm; max-width: none; }
}

@media (max-width: 760px) {
    .desk-admin .panel,
    .desk-admin form.panel {
      max-width: 100%;
      padding: 12px 10px;
    }
    body.desk-admin .panel,
    body.desk-admin form.panel,
    body.desk-admin .members-page {
      max-width: 100%;
      margin-left: 0;
      margin-right: 0;
    }
}

body.app-shell .panel,
body.app-shell form.panel,
body.app-shell .dash-board,
body.app-shell .client-dash,
body.app-shell .genealogy-panel,
body.app-shell .team-level-panel {
  margin: 0 0 14px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

table.data tfoot th {
  padding-top: 10px;
  border-top: 2px solid rgba(45, 12, 17, 0.14);
  font-size: 13px;
  text-transform: none;
  letter-spacing: 0;
  color: #2d0c11;
  font-variant-numeric: tabular-nums;
}
