.md-typeset {
  color: rgb(33, 33, 33);
  font-size: 0.825rem;
  line-height: 1.45;
  --spec-table-border: rgba(82, 108, 254, 0.6);
  --spec-table-head-bg: rgb(227, 232, 255);
  --spec-code-bg: rgb(242, 244, 255);
  --spec-code-fg: rgb(0, 0, 0);
  --spec-slurm-directive-color: rgb(198, 40, 40);
}

[data-md-color-scheme="slate"] .md-typeset {
  color: rgb(255, 255, 255);
  --spec-table-border: rgba(82, 108, 254, 0.48);
  --spec-table-head-bg: rgb(45, 50, 86);
  --spec-code-bg: rgb(38, 42, 62);
  --spec-code-fg: rgb(255, 255, 255);
  --spec-slurm-directive-color: rgb(255, 138, 128);
}

.md-typeset table:not([class]) {
  display: table;
  width: 100%;
  margin: 0.3rem 0 0;
  overflow: hidden;
  border: 1px solid var(--spec-table-border);
  border-collapse: collapse;
  border-radius: 0.25rem;
  outline: 1px solid var(--spec-table-border);
  outline-offset: -1px;
  background: var(--md-default-bg-color);
  font-size: 0.75rem;
}

.md-typeset table:not([class]) :is(th, td) {
  padding: 0.25rem 0.42rem;
  border: 1px solid var(--spec-table-border);
  vertical-align: middle;
  line-height: 1.6;
}

.md-typeset table:not([class]) th {
  background: var(--spec-table-head-bg);
  color: var(--md-default-fg-color);
  font-weight: 700;
  min-width: 0;
}

.md-typeset table:not([class]) tbody tr:hover {
  background: transparent;
  box-shadow: none;
}

.md-typeset table:not([class]) td,
.md-typeset table:not([class]) tbody tr:hover td {
  background: var(--md-default-bg-color);
}

.md-typeset table:not([class]) :is(th, td):first-child {
  width: 1%;
  white-space: nowrap;
}

.md-typeset .spec-table,
.md-typeset__table {
  margin-bottom: 0;
}

.md-typeset .spec-table table td:not(:first-child) {
  text-align: right;
}

.md-typeset h1 {
  font-size: 2em;
  margin: 0 0 0.5em;
}

.md-typeset h1:not(:first-of-type) {
  margin-top: 1em;
}

.md-typeset h2 {
  font-size: 1.35em;
  border-left: 7px solid var(--md-accent-fg-color);
  padding-left: 0.35em;
  margin-top: 1.5em;
}

.md-typeset h3 {
  border-bottom: 2px solid var(--md-accent-fg-color);
  padding-bottom: 0.1em;
  margin-top: 0.8em;
  margin-bottom: 0.5em;
}

.md-typeset :is(h1, h2, h3) + p {
  margin-top: 0.35em;
}

.md-typeset p {
  text-align: justify;
  text-justify: inter-character;
}

.md-typeset :is(ul, ol) li {
  margin-top: 0.2em;
  margin-bottom: 0.2em;
}

.md-typeset .admonition p,
.md-typeset details p {
  font-size: 1.2em;
}

.md-typeset .text-marker {
  background: rgba(255, 183, 77, 0.5);
  font-weight: 700;
  padding: 0.0em 0.12em;
}

[data-md-color-scheme="slate"] .md-typeset .text-marker {
  background: rgba(255, 167, 38, 0.36);
}

.md-typeset .notice-warning {
  color: rgb(211, 47, 47);
  font-weight: 600;
}

[data-md-color-scheme="slate"] .md-typeset .notice-warning {
  color: rgb(255, 138, 128);
}

.md-typeset .chat-window p {
  margin: 0.35rem 0 0.8rem;
}

.md-typeset .chat-page-actions {
  display: flex;
  margin: 0 0 0.8rem;
}

.md-typeset .askdona-chat-frame {
  display: block;
  width: 100%;
  height: calc(100vh - 220px);
  min-height: 620px;
  border: 1px solid var(--spec-table-border);
  border-radius: 0.25rem;
  background: #fff;
}

.md-typeset .action-button {
  margin: 0.1rem 0 0.2rem;
}

.md-typeset .action-button,
.md-typeset .chat-return-link {
  padding: 0.45em 0.8em;
  border-radius: 0.28rem;
}

.md-typeset .action-button {
  background-color: rgb(0, 102, 255);
  border-color: rgb(0, 102, 255);
  color: rgb(255, 255, 255) !important;
}

.md-typeset .action-button:is(:hover, :focus) {
  background-color: rgb(0, 82, 204);
  border-color: rgb(0, 82, 204);
}

.md-typeset .language-bash.highlight pre {
  border: 1px solid var(--spec-table-border);
  background: var(--spec-code-bg);
}

.md-typeset .language-bash.highlight code {
  background: transparent;
}

.md-typeset pre > code {
  padding: 0.55em 0.8em;
}

.md-typeset code {
  color: var(--spec-code-fg);
  font-family: "JetBrains Mono", "SFMono-Regular", Consolas, Menlo, monospace;
  font-size: 0.77rem;
}

.md-typeset :not(pre) > code {
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  color: rgb(20, 40, 255);
  font-weight: 700;
  margin: 0;
  padding: 0;
}

[data-md-color-scheme="slate"] .md-typeset :not(pre) > code {
  color: rgb(234, 128, 252);
}

.md-typeset .highlight :is(.c1, .nv) {
  color: var(--spec-slurm-directive-color);
}

.md-typeset .highlight :is(.c1, .ch) {
  font-style: normal;
}

.md-typeset .highlight .ch {
  color: green;
}

.md-typeset .highlight :is(.m, .mi, .mf) {
  color: var(--spec-code-fg);
}

.md-nav .md-nav__link {
  padding-top: 0.04rem;
  padding-bottom: 0.04rem;
}

.md-nav--primary > .md-nav__list > .md-nav__item--current-language {
  margin-top: 0;
}

.md-nav--primary > .md-nav__list > .md-nav__item--current-language > .md-nav__link {
  display: none;
}

.md-nav--secondary .md-nav__link {
  font-size: 0.7rem;
}

.md-nav code {
  font-family: "JetBrains Mono", "SFMono-Regular", Consolas, Menlo, monospace;
  font-size: inherit;
}

.md-nav :not(pre) > code {
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  color: rgb(20, 40, 255);
  font-weight: 700;
  margin: 0;
  padding: 0;
}

[data-md-color-scheme="slate"] .md-nav :not(pre) > code {
  color: rgb(234, 128, 252);
}

[dir="ltr"] .md-nav--integrated > .md-nav__list > .md-nav__item--active .md-nav--secondary {
  border-left: 2px solid var(--md-accent-fg-color);
}
