h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6,
.heading {
  line-height: var(--line-height-small);
}

a {
  text-underline-offset: var(--text-underline-offset);
}

a:not([class*="toolbar"]):focus,
a:not([class*="toolbar"]):focus-within {
  transition: var(--transition-time);
  text-decoration: none;
  border-block-end: 0;
  outline: var(--outline);
  outline-offset: var(--outline-offset);
  background: transparent;
  box-shadow: none;
  text-decoration-thickness: 1px;
  text-underline-offset: var(--text-underline-offset);
}

a:not([class*="toolbar"]):hover {
  text-decoration: underline;
  text-decoration-thickness: var(--text-decoration-thickness);
}

table {
  border: var(--border-dark);
  font-size: var(--font-size-small);
}

table caption {
  margin-block-end: var(--spacing);
  text-align: left;
  font-size: var(--font-size-h4);
  font-weight: bold;
}

table th,
table td {
  padding: var(--spacing-smaller) var(--spacing);
  border: 0;
}

table tr {
  border-block-end: var(--border-dark);
}

table th {
  background-color: var(--color-grey-lightest);
  font-weight: bold;
}

table p:last-child {
  margin: 0;
}
