/* MkDocs Material colors matching the macbot website. */
:root, [data-md-color-scheme="default"] {
  --md-primary-fg-color: #1B1A2E;
  --md-primary-fg-color--light: #2B2A4C;
  --md-primary-fg-color--dark: #14131F;
  --md-accent-fg-color: #FF7A1A;
  --md-typeset-a-color: #E05F00;
}
[data-md-color-scheme="slate"] {
  --md-primary-fg-color: #14131F;
  --md-accent-fg-color: #FF9A4D;
  --md-typeset-a-color: #FF9A4D;
  --md-default-bg-color: #17162A;
}
.md-header, .md-tabs { background-color: #14131F; }
.md-typeset code, .md-typeset pre { font-family: ui-monospace, "SF Mono", Menlo, monospace; }
.md-typeset h1 { font-weight: 800; letter-spacing: -.02em; }
[data-md-color-scheme="default"] .md-typeset h1 { color: #1B1A2E; }
[data-md-color-scheme="slate"] .md-typeset h1 { color: #F7F5F0; }

/* Readability: clear heading hierarchy, comfortable measure, compact tables. */
.md-typeset { font-size: .78rem; line-height: 1.7; }
.md-content__inner { max-width: 46rem; }
.md-typeset h1 { font-size: 1.9em; margin-bottom: .6em; }
.md-typeset h2 { font-weight: 700; font-size: 1.35em; margin-top: 2.2em; padding-top: .9em;
  border-top: 1px solid var(--md-default-fg-color--lightest); }
.md-typeset h3 { font-weight: 650; font-size: 1.08em; margin-top: 1.6em; }
.md-typeset h2 + h3 { margin-top: .8em; }
.md-typeset p, .md-typeset ul, .md-typeset ol { margin-block: .7em; }

.md-typeset table:not([class]) { font-size: .74rem; border-radius: 6px; }
.md-typeset table:not([class]) th { background: var(--md-default-fg-color--lightest); font-weight: 650; }
.md-typeset table:not([class]) td, .md-typeset table:not([class]) th { padding: .5em .9em; }

.md-typeset .admonition, .md-typeset details { font-size: .74rem; border-width: 0 0 0 3px; box-shadow: none;
  border-radius: 0 6px 6px 0; }
.md-typeset .admonition.tip, .md-typeset details.tip { border-color: #FF7A1A; }
.md-typeset .tip > .admonition-title, .md-typeset .tip > summary { background: rgba(255,122,26,.08); }
.md-typeset .tip > .admonition-title::before, .md-typeset .tip > summary::before { background-color: #FF7A1A; }

.md-typeset .grid.cards > ul > li { border-radius: 8px; transition: border-color .15s, box-shadow .15s; }
.md-typeset .grid.cards > ul > li:hover { border-color: #FF7A1A; box-shadow: 0 2px 10px rgba(27,26,46,.08); }
.md-typeset .grid.cards > ul > li > hr { margin: .5em 0; }
.md-typeset .grid.cards a { font-weight: 600; }

.md-typeset kbd { font-size: .72rem; }
.md-nav__item--section > .md-nav__link { font-weight: 700; color: var(--md-default-fg-color); }
.md-typeset table:not([class]) td:first-child code, .md-typeset table:not([class]) th code { white-space: nowrap; word-break: keep-all; }
