:root > * {
    --md-primary-fg-color: #0f2e2a;
    --md-primary-fg-color--light: #1c4a42;
    --md-primary-fg-color--dark: #0b211e;
    --md-accent-fg-color: #37a65f;
}

/* The color scheme attribute lives on <body>, not <html> */
body[data-md-color-scheme="slate"] {
    --md-primary-fg-color: #12332d;
    --md-accent-fg-color: #4cc96b;
}

.md-header__inner > label[for="__search"],
.md-header__inner > .md-search {
    order: 1;
}

.md-header__inner > div.md-header__option {
    order: 2;
}

.md-header__inner > form.md-header__option {
    order: 3;
}

.md-header__inner > .md-header__source {
    order: 4;
}

/* Python-Markdown appends a phantom empty <tbody> row to header-only
   tables (GitHub renders them without one); hide fully-empty rows. */
.md-typeset table tbody tr:not(:has(td:not(:empty))) {
    display: none;
}
