.light {
    --bg: #fff;
    --fg: #000;
    --sidebar-bg: #fff;
    --sidebar-fg: #000;
    --sidebar-non-existant: #555;
    --sidebar-active: #000;
    --sidebar-spacer: #fff;
    --icons: #000;
    --icons-hover: #000;
    --links: #000;
    --inline-code-color: #000;
    --theme-popup-bg: #fff;
    --theme-popup-border: #000;
    --theme-hover: #fff;
    --quote-bg: #fff;
    --quote-border: #000;
    --warning-border: #000;
    --table-border-color: #000;
    --table-header-bg: #fff;
    --table-alternate-bg: #fff;
    --searchbar-border-color: #000;
    --searchbar-bg: #fff;
    --searchbar-fg: #000;
    --searchbar-shadow-color: transparent;
    --searchresults-header-fg: #000;
    --searchresults-border-color: #000;
    --searchresults-li-bg: #fff;
    --search-mark-bg: #ddd;
}

#mdbook-theme-toggle {
    display: none;
}

.sidebar {
    border-right: 1px solid #000;
}

.nav-wide-wrapper {
    display: none;
}

.nav-wrapper {
    display: block;
}

.mobile-nav-chapters {
    border-radius: 0;
}

.content a,
.sidebar a {
    text-decoration: underline;
}

.sidebar .chapter a.active {
    font-weight: bold;
}

:root {
    --content-max-width: 1080px;
    --page-padding: 24px;
}

.content main {
    padding-block-end: 4em;
}

.content p,
.content ol,
.content ul {
    line-height: 1.7;
}

.content ul {
    padding-inline-start: 0;
    list-style: none;
}

.content li + li {
    margin-block-start: 0.6em;
}

.content h2,
.content h3 {
    margin-block-start: 2em;
}

.content table {
    width: 100%;
    margin: 1.5em 0 2em;
    border-collapse: collapse;
    line-height: 1.6;
}

.content table th,
.content table td {
    padding: 0.6em 1em;
    border: none;
    border-block-end: 1px solid #ccc;
    text-align: left;
    vertical-align: top;
}

.content table thead th {
    border-block-end: 2px solid #000;
}

.content table th,
.content table td:first-child {
    white-space: nowrap;
}

.content table code {
    overflow-wrap: anywhere;
}

@media (max-width: 900px) {
    .content table th,
    .content table td:first-child {
        white-space: normal;
    }
}

@media (max-width: 820px) {
    .content table,
    .content table tbody,
    .content table tr,
    .content table td {
        display: block;
    }

    .content table thead {
        display: none;
    }

    .content table tr {
        padding: 0.8em 0;
        border-block-end: 1px solid #ccc;
    }

    .content table td {
        padding: 0.15em 0;
        border: none;
    }

    .content table td:first-child {
        font-weight: bold;
    }
}

* {
    scrollbar-width: none;
}

*::-webkit-scrollbar {
    display: none;
}
