/* Mobile fixes for the logistics and race-location workspaces. */
.race-locations-workspace .race-location-card-actions {
  background: transparent;
  color: inherit;
  text-align: initial;
  letter-spacing: normal;
  font-size: inherit;
  padding: 6px 0 0;
}

.lg-workspace .lg-dashboard-table {
  min-width: 560px;
  table-layout: auto;
}

.lg-workspace .lg-dashboard-table th,
.lg-workspace .lg-dashboard-table td {
  writing-mode: horizontal-tb;
  word-break: normal;
  overflow-wrap: normal;
}

.lg-workspace .lg-dashboard-table thead th {
  white-space: nowrap;
}

@media (max-width: 760px) {
  .lg-workspace .lg-plan-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lg-workspace .lg-plan-row > span:last-child {
    grid-column: 1 / -1;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    width: 100%;
  }

  body #app .lg-workspace .lg-plan-row > span:last-child button {
    min-height: 40px;
    padding: 8px 12px;
    font-size: 12px;
  }

  body #app .lg-workspace .lg-plan-row > span:last-child button:last-child {
    width: 42px;
    padding: 8px;
  }
}
