@page {
  size: auto;
  margin: 14mm;
}

.pagehead-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

@media print {
  body {
    background: #fff !important;
    color: #111 !important;
  }

  .sidebar,
  .topbar,
  .pagehead-actions,
  .pagehead .button,
  .pagehead > a,
  .search,
  .formpanel,
  .computer-event-panel,
  .computer-history-panel,
  .print-hide {
    display: none !important;
  }

  .computer-table-panel th:last-child,
  .computer-table-panel td:last-child {
    display: none !important;
  }

  .main {
    margin-left: 0 !important;
    min-height: 0 !important;
  }

  .content {
    max-width: none !important;
    padding: 0 !important;
  }

  .pagehead {
    margin-bottom: 12px !important;
  }

  .panel,
  .metric {
    box-shadow: none !important;
    break-inside: avoid;
  }

  .tablewrap {
    overflow: visible !important;
  }

  table {
    width: 100% !important;
    min-width: 0 !important;
    border-collapse: collapse !important;
    font-size: 8pt !important;
  }

  th,
  td {
    padding: 4px !important;
    overflow-wrap: anywhere;
  }

  thead {
    display: table-header-group;
  }

  tr {
    break-inside: avoid;
  }
}
