/* Shared by browser printing and the ?print page. Loaded after heat-results.css. */
.race-results .mobile-heading,
.race-results .race-nav,
.race-results .section-tabs,
.race-results .toolbar,
.race-results .selection,
.race-results .legend,
.race-results .race-editor,
.race-results .race-edit-button {
  display: none !important;
}

.race-results .race-overview,
.race-results .tab-content,
.race-results .tab-pane,
.race-results .tab-pane:not(.active) {
  display: block !important;
}

.race-results,
.race-results .workspace,
.race-results .tab-content,
.race-results .tab-pane,
.race-results .table-scroll,
.race-results .stats-wrap {
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
}

.race-results .lap-table,
.race-results .stats-table,
.race-results .pits-table {
  width: 100%;
  min-width: 0;
  font-size: 9px;
}

.race-results .lap-table col,
.race-results .stats-table col {
  width: auto;
}

/* The ?print page also overrides the screen table's cell sizing. */
.race-results .lap-table th,
.race-results .lap-table td,
.race-results .stats-table th,
.race-results .stats-table td,
.race-results .pits-table th,
.race-results .pits-table td,
.race-results.race-print :is(.lap-table, .stats-table, .pits-table) :is(th, td) {
  min-width: 0;
  width: auto;
  padding: 2px;
  height: auto;
}

.race-results thead {
  display: table-header-group;
  position: static !important;
}

.race-results tr {
  break-inside: avoid;
}

.race-results th {
  position: relative !important;
  left: auto !important;
}

.race-results col.lap-col {
  width: 28px;
}

.race-results .driver-avatar {
  display: none;
}

.race-results .stats-group-label {
  position: static;
}

.race-results .stat-label-short {
  display: none;
}

.race-results .stat-label-full {
  display: inline;
}

.race-results .kart-badge {
  background: transparent;
  color: inherit;
}

.race-results #panel-stats,
.race-results #panel-pits {
  margin-top: 16px;
}

body.race-results-page > .container-fluid {
  height: auto !important;
}

.race-results {
  print-color-adjust: exact;
  -webkit-print-color-adjust: exact;
}
