0
 !@    x;

    &:first-child {
      margin-top: 6px;
    }

    &:last-child {
      margin-bottom: 6px;
    }
  }

  table {
    table-layout: auto;
    word-break: keep-all;
    border-style: hidden;
    border-collapse: collapse;
    font-variant-numeric: lining-nums tabular-nums;
    box-shadow:
      0 0 0 1px hsl(210, 5%, 92%),
      0 2px hsl(210, 5%, 92%);
    border-radius: 2px;
  }

  thead tr:first-child {
    th {
      &:first-child {
        border-top-left-radius: 2px;
      }

      &:last-child {
        border-top-right-radius: 2px;
      }
    }
  }

  tbody tr:last-child {
    td {
      &:first-child {
        border-bottom-left-radius: 2px;
      }

      &:last-child {
        border-bottom-right-radius: 2px;
      }
    }
  }

  td,
  th {
    padding: 6px 10px;
    border: 1px solid hsl(210, 5%, 92%);
  }

  th {
    background: hsl(210, 5%, 96%);
  }

  td {
    text-align: center;
  }

  table col {
    width: auto;
  }

  blockquote {
    padding: 8px 12px;
    border-left: 5px solid #eee;
  }

  code {
    border: none;
    background: hsl(0, 0%, 97%);
    white-space: pre-wrap;
  }

  pre {
    padding: 12px 15px;
    font-size: 13px;
    line-height: 1.45;
    background: hsl(0, 0%, 97%);
    white-space: pre-wrap;
    border-radius: 3px;
    border: none;
    overflow: auto;
  }

  hr {
    margin-top: 13px;
    margin-bottom: 13px;
    border: none;
    border-top: 1px solid hsl(210, 14%, 91%);
  }
}

.knowledge-base-article-content img.is-previewable {
  cursor: zoom-in;
}

.kb-image-preview-open {
  overflow: hidden;
}

.kb-image-preview {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem;
  background: hsla(209, 26%, 98%, 0.94);

  @include phone {
    padding: 1rem;
  }
}

.kb-image-preview-controls {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: flex;
  gap: 0.5rem;
}

.kb-image-preview-image {
  width: auto;
  max-width: 100%;
  max-height: calc(100vh - 9rem);
  padding: 10px;
  border: 1px solid $border;
  border-radius: 2px;
  background: white;
  box-shadow: $dropshadow;
}

.article-tags {
  margin-top: 1rem;
}

.article-accessories {
  padding: 2rem 0 2rem 4rem;
  margin: 2rem 0;
  list-style: none;
  /* stylelint-disable-next-line declaration-property-value-no-unknown */
  border-top: 1px solid $border;
  position: relative;

  @include phone {
    padding-left: 2.8rem;
  }

  .icon {
    position: absolute;
    left: 1.2rem;
    top: 2rem;
    width: 2rem;
    height: 2rem;
    fill: hsl(208, 13%, 81%);

    @include phone {
      left: 0.5rem;
    }
  }

  &-title {
    text-transform: uppercase;
    font-size: 0.8em;
    font-weight: bold;
    color: $light-color;
    padding: 0 0.8rem 0.2rem;
  }

  &:not(:last-child) {
    padding-bottom: 0;
    margin-bottom: 0;
  }
}

.tags-content {
  display: flex;
  flex-wrap: wrap;
  padding: 0.2rem 0.6rem 0;

  .tag {
    margin: 0.2rem;
  }
}

.tag {
  font-size: 0.8em;
  display: inline-block;
  color: white;
  border-radius: 999px;
  padding: 2px 12px 1px;
  text-decoration: none;
}

.attachment {
  text-decoration: none;
  /* stylelint-disable-next-line declaration-property-value-no-unknown */
  border-bottom: 1px solid $border;
  display: block;
  padding: 0.5rem 0.8rem;
  font-size: 0.8em;

  &:hover {
    background: $light-bg;
  }

  &:last-child {
    border-bottom: none;
  }

  &-size {
    color: $subtle-color;
    font-size: 0.9em;
  }
}

.feedback {
  @extend %box;

  &-buttons {
    margin-top: 10px;
  }
}

.footer {
  margin-top: auto;
  /* stylelint-disable-next-line declaration-property-value-no-unknown */
  border-top: 1px solid $dark-border;
  background: $light-bg;
  color: hsl(210, 8%, 50%);
  font-size: 12px;

  &-menu {
    padding: 1em;
    display: flex;
    align-items: center;
    justify-content: space-between;

    @include phone {
      flex-direction: column;
    }
  }

  .menu {
    justify-content: center;
    flex-grow: 1;
    min-height: 1em;
  }
}

.dropdown-picker {
  display: flex;
  position: re