.cheatsheet {
    margin-left: 10px;
    margin-right: 10px;
    background-color: var(--debug-colour-2);
}

.cheatsheet-table,
.cheatsheet-table tr,
.cheatsheet-table td,
.cheatsheet-table th {
    border: 1px solid black;
}

.cheatsheet-table tr {
    height: 40px;
}

.cheatsheet-table td {
    padding-left: 5px;
    padding-right: auto;
}

.cheatsheet-table th {
    position: sticky;
    background-color: var(--background);
    top: 0;
    /* Don't forget this, required for the stickiness */
}

.label-in-tab {
    display: inline-block;
    color: var(--foreground);
    background-color: var(--background);
    text-align: center;
    font-size: 14px;
    padding: 18px 18px;  
    border: none;
  }
  
  .edit-in-tab {
    display: inline-block;
    color: var(--foreground);
    font-size: 14px;
    margin-top: 6px;
    margin-bottom: 6px;
  }

  .cheatsheet-toolbar {
    align-items: center;
    flex-wrap: wrap;
    column-gap: 0.75em;
    row-gap: 0.25em;
  }

  .cheatsheet-inline-control {
    display: inline-flex;
    align-items: center;
    gap: 0.35em;
  }

  .cheatsheet-inline-control input[type=checkbox] {
    margin: 0;
  }

  .cheatsheet-inline-control label {
    font-size: 14px;
    line-height: 1;
    padding: 0;
    margin: 0;
    color: var(--foreground);
    background: none;
    border: none;
  }