.cd-table {
  min-width: 720px;
}
.cd-table caption {
  caption-side: top;
  padding-bottom: 6px;
  color: hsl(var(--muted-foreground));
  font-size: 13px;
  line-height: 20px;
  text-align: start;
}
.cd-table tbody th {
  font-weight: 400;
}
.cd-table tbody th .dh-sub {
  margin-top: 2px;
}
.cd-table tbody th .dh-sub.dh-mono {
  font-family: var(--dh-font-mono);
  font-size: 12px;
}
.cd-notes {
  margin: 0;
  padding: 0;
  list-style: none;
}
.cd-notes > li + li {
  margin-top: 2px;
}
.cd-act {
  min-width: 160px;
}
.cd-act > * + * {
  margin-inline-start: 8px;
}
.cd-nolink {
  display: block;
  color: hsl(var(--muted-foreground));
  font-size: 12px;
  line-height: 18px;
}
.cd-above {
  max-width: var(--dh-measure);
}
@media (max-width: 640px) {
  .cd-table {
    border-collapse: separate;
    border-spacing: 0;
  }
  .cd-table .cd-act,
  .cd-table thead th:last-child {
    position: sticky;
    inset-inline-end: 0;
    z-index: 1;
    width: 9.5rem;
    min-width: 9.5rem;
    max-width: 9.5rem;
    padding-inline-start: 6px;
    background: hsl(var(--background));
    box-shadow: calc(var(--dh-ring-w) * -1 * var(--dh-dir, 1)) 0 0 hsl(var(--border));
    overflow-wrap: anywhere;
  }
  .cd-act > * + * {
    margin-inline-start: 0;
  }
  :root .cd-act > span > .dh-raised-tiny {
    justify-content: flex-start;
    min-height: 44px;
    padding-inline-start: 0;
  }
  .cd-table caption {
    position: sticky;
    inset-inline-start: 0;
    width: calc(100vw - 60px);
    max-width: 100%;
  }
  :root .dh-scroll:has(> .cd-table) {
    background:
      linear-gradient(to var(--dh-end, right), hsl(var(--background)) 67%, hsl(var(--background) / 0)) var(--dh-start, left) center / 36px 100% no-repeat local,
      linear-gradient(to var(--dh-end, right), hsl(var(--dh-shade) / var(--dh-cue)), hsl(var(--dh-shade) / 0)) var(--dh-start, left) center / 24px 100% no-repeat scroll,
      linear-gradient(var(--dh-scroll-kbd, transparent), var(--dh-scroll-kbd, transparent));
  }
}
@media (min-width: 641px) {
  .cd-act {
    white-space: nowrap;
  }
  .cd-act > .cd-nolink {
    white-space: normal;
  }
}
@media (max-width: 1023px), (pointer: coarse) {
  .cd-act a {
    display: inline-flex;
    align-items: center;
    min-height: var(--dh-tap);
  }
}
@media print {
  .cd-table {
    min-width: 0;
  }
  .cd-act a {
    display: none;
  }
}
