.md-typeset h2 {
  margin-top: 1.5em;
  margin-bottom: 0.2em;
}

.md-typeset h3 {
  margin-top: 0.5em;
  margin-bottom: 0.1em;
  font-size: 0.9em;
  text-transform: uppercase;
  color: var(--md-typeset-color);
  opacity: 0.7;
}

h3 + pre, h3 + p {
  margin-top: 0px !important;
}

.md-typeset p:has(+ dd) {
  margin-bottom: 0.1rem;
  font-weight: 600;
}

.md-typeset dd {
  margin-top: 0rem;
  margin-bottom: 0.3rem;
}

.md-typeset dd p {
  margin-bottom: 0px;
}

/* For logging/color.md */
.color-swatch {
  display: inline-block;
  width: 1.6em;
  height: 1.1em;
  margin: 0 0.5em 0.1em 0.2em;
  vertical-align: middle;
  border-radius: 0.5em;
  border: 1px solid #8882;
  box-shadow: 0 1px 3px #00000022;
  flex-shrink: 0;
}

[data-md-color-scheme="slate"] .color-swatch {
  border: 2px solid #aaa8;
}

.color-list {
  list-style: none;
  padding: 0;
}

.color-list li {
  margin: 0.45em 0;
  display: flex;
  align-items: center;
  gap: 0.6em;
}

.color-list strong {
  font-weight: 600;
}

.color-list small {
  color: var(--md-default-fg-color--lighter);
  font-size: 0.85em;
}

body .md-typeset .md-typeset__table table:not([class]) th {
  padding-top: 0.3em;
  padding-bottom: 0.3em;
}

body .md-typeset .md-typeset__table table:not([class]) td {
  padding-top: 0.1em;
  padding-bottom: 0.1em;
}

body .md-typeset h1 {
  margin-bottom: 0.8em;
}

body .md-typeset h2 {
  margin-top: 0.6em;
}

body .md-main .md-main__inner {
  margin-top: 0.8rem;
}

.generatedTable th {
  padding-right: 0.3em !important;
  padding-left: 0.3em !important;
  min-width: 0 !important;
}

.generatedTable td {
  padding-right: 0.3em !important;
  padding-left: 0.3em !important;
  min-width: 0 !important;
}