.grafik {
  overflow: hidden;
  border-radius: 5px;
  background: #333;
  color: #fff;
  margin-top: 60px;
}

.grafik-wrapper {
  padding-top: 60px;
}

.grafik__scroll {
  overflow-x: auto;
  scrollbar-color: #4cb38e #242424;
  scrollbar-width: thin;
}

.grafik__scroll::-webkit-scrollbar {
  height: 10px;
}

.grafik__scroll::-webkit-scrollbar-track {
  border-radius: 5px;
  background: #242424;
}

.grafik__scroll::-webkit-scrollbar-thumb {
  border: 2px solid #242424;
  border-radius: 5px;
  background: #4cb38e;
}

.grafik__scroll::-webkit-scrollbar-thumb:hover {
  background: #68c9a2;
}

.grafik__table {
  width: 100%;
  min-width: 760px;
  margin: 0;
  border: 0;
  table-layout: fixed;
  color: inherit;
  border-collapse: separate;
  padding-bottom: 20px;
}

.grafik__table tr:first-child {
  border-top: 10px solid transparent;
}

.grafik__table th,
.grafik__table td {
  border: 0;
}

.grafik__table thead th {
  height: 54px;
  padding: 0 8px;
  border-bottom: 1px solid #4cb38e;
  color: #e7e7e7;
  font-size: 12px;
  font-weight: 400;
  text-align: center;
  vertical-align: middle;
}

.grafik__table thead .grafik__time-heading,
.grafik__table tbody th {
  width: 92px;
}

.grafik__table tbody tr {
  height: 72px;
}

.grafik__table tbody th {
  padding: 0 14px 0 32px;
  color: #e7e7e7;
  font-size: 12px;
  font-weight: 400;
  text-align: left;
  vertical-align: middle;
  white-space: nowrap;
}

.grafik__table tbody td {
  position: relative;
  z-index: 0;
  overflow: visible;
  box-sizing: border-box;
  border-left: 1px solid #4cb38e;
  vertical-align: top;
}

.grafik__table tbody td.grafik__event-cell {
  z-index: 2;
}

.grafik__class {
  position: absolute;
  top: 8px;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  box-sizing: border-box;
  padding: 8px;
  background: linear-gradient(135deg, #191919 60%, #202715);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

@media (max-width: 600px) {
  .grafik__table {
    min-width: 720px;
  }

  .grafik__table thead .grafik__time-heading,
  .grafik__table tbody th {
    width: 76px;
  }

  .grafik__table tbody th {
    padding-left: 18px;
  }
}
