@media print {
  @page {
    size: A4 landscape;
    margin: 10mm;
  }

  body {
    background: #ffffff !important;
    color: #000000 !important;
    font-size: 10pt;
  }

  .no-print,
  .sidebar,
  .topbar,
  .toolbar,
  .modal-backdrop,
  .toast-container,
  .action-col {
    display: none !important;
  }

  .app-shell,
  .main-wrap,
  .main-content {
    display: block !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
  }

  .card,
  .class-schedule-card,
  .kop-surat {
    box-shadow: none !important;
    border-color: #333333 !important;
  }

  .schedule-cards-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  .matrix-layout {
    display: block !important;
  }

  .matrix-layout > div {
    margin-bottom: 16px;
    page-break-inside: avoid;
  }

  table.data-table th,
  table.data-table td,
  table.matrix-table th,
  table.matrix-table td {
    border: 1px solid #333333 !important;
    padding: 4px 6px !important;
    font-size: 9pt !important;
  }

  table.matrix-table tr.day-banner td {
    background: #fef08a !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .kop-surat {
    border-bottom: 2px solid #000000 !important;
    padding: 10px 14px !important;
    margin-bottom: 12px !important;
  }
}
