table.panel-df {
  border-collapse: collapse;
  border-spacing: 0;
  color: var(--design-surface-text-color, var(--panel-on-surface-color));
  font-size: 0.8125rem;
  margin-left: auto;
  margin-right: auto;
  table-layout: auto;
  width: 100%;
}

.panel-df tr,
.panel-df th,
.panel-df td {
  border: none;
  line-height: 1.43;
  max-width: none;
  padding: 8px 16px;
  text-align: right;
  vertical-align: middle;
  white-space: normal;
}

.panel-df thead {
  vertical-align: bottom;
}

.panel-df thead th {
  border-bottom: 1px solid
    color-mix(
      in srgb,
      var(--design-surface-text-color, var(--panel-on-surface-color)) 15%,
      transparent
    );
  font-weight: 500;
  white-space: nowrap;
}

.panel-df tbody {
  display: table-row-group;
  vertical-align: middle;
}

.panel-df tbody th {
  font-weight: 500;
}

.panel-df tbody tr td,
.panel-df tbody tr th {
  border-bottom: 1px solid
    color-mix(
      in srgb,
      var(--design-surface-text-color, var(--panel-on-surface-color)) 8%,
      transparent
    );
}

.panel-df tbody tr:last-child td,
.panel-df tbody tr:last-child th {
  border-bottom: none;
}

.panel-df tbody tr:hover {
  background-color: color-mix(
    in srgb,
    var(--design-primary-color, var(--panel-primary-color)) 8%,
    transparent
  );
}

:host {
  overflow: auto;
  padding-right: 1px;
}

.panel-df th[halign='left'],
.panel-df.start-align td {
  text-align: left;
}

.panel-df th[halign='right'] {
  text-align: right;
}

.panel-df th[halign='center'],
.panel-df.center-align td {
  text-align: center;
}

.panel-df.end-align td {
  text-align: right;
}
