.pf-chatbot__message-table {
  border-radius: var(--pf-t--global--border--radius--small);
  --pf-v6-c-table--BackgroundColor: var(--pf-t--global--background--color--tertiary--default) !important;
  border: var(--pf-t--global--border--width--high-contrast--regular) solid
    var(--pf-t--global--border--color--high-contrast) !important;
  padding: 0 var(--pf-t--global--spacer--lg) 0 var(--pf-t--global--spacer--lg);

  &.pf-m-grid.pf-v6-c-table tbody:where(.pf-v6-c-table__tbody):first-of-type {
    border-block-start: 0;
  }

  &.pf-m-primary {
    --pf-v6-c-table--BackgroundColor: var(--pf-t--global--background--color--secondary--default) !important;
  }

  tbody {
    border-radius: var(--pf-t--global--border--radius--small);
  }

  tr {
    --pf-v6-c-table__tr--responsive--PaddingInlineEnd: 0;
    --pf-v6-c-table__tr--responsive--PaddingInlineStart: 0;
  }

  .pf-v6-c-table__tr:last-of-type {
    border-block-end: 0;
  }

  &.pf-m-markdown {
    table,
    tbody,
    td,
    thead,
    th,
    tr {
      font-size: inherit;
    }
  }
}
