html {
    font-size: 100%;
    font-family: system-ui;
}

body {
    max-width: 850px;
    margin: 0 auto;
    padding: 10px;
    -webkit-text-size-adjust: 100%;
}

body a {
    color: #ff2d01;
}

body > * {
    line-height: 1.1em;
}

/* ── Page header ── */

.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #e8eaed;
    margin-bottom: 4px;
}

.page-home-link {
    font-size: 0.9em;
    color: #5a667f;
    text-decoration: none;
}

.page-home-link:hover {
    text-decoration: underline;
}

.page-select {
    position: relative;
}

.page-select svg {
    position: absolute;
    right: 18px;
    top: calc(50% - 3px);
    width: 10px;
    height: 6px;
    stroke-width: 2px;
    stroke: #9098a9;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    pointer-events: none;
}

.page-select select {
    appearance: none;
    -webkit-appearance: none;
    padding: 6px 28px 6px 10px;
    border: 1px solid #e8eaed;
    border-radius: 5px;
    background: #fff;
    box-shadow: 0 1px 3px -2px #9098a9;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.875rem;
    color: #223254;
    transition: all 150ms ease;
}

.page-select select:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 119, 255, 0.2);
}

.page-sprites {
    position: absolute;
    width: 0;
    height: 0;
    pointer-events: none;
}

h1,
h2 {
    margin: 2em 0 16px;
}

h3 {
    margin-bottom: 8px;
}

tr,
p,
li {
    line-height: 1.5em;
}

p,
ul {
    margin: 0 0 16px;
}

table {
    font-size: 1em;
    border-spacing: 0;
    border-collapse: collapse;
    text-align: left;
    width: 100%;
}

thead {
    background: #e8eaed;
}

tr {
    border-bottom: 1px solid #dadce0;
}

tr:first-child {
    border-top: 1px solid #dadce0;
}

td,
th {
    padding: 8px;
}

td {
    vertical-align: top;
}

td:first-child {
    white-space: nowrap;
}

thead th:last-child {
    min-width: 290px;
}

table p,
table ul {
    margin: 0;
}

table p {
    padding-bottom: 16px;
}

table p:last-child {
    padding-bottom: 0;
}

table ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

table li {
    white-space: nowrap;
}

.overflow-x {
    overflow-x: auto;
}

@media (prefers-color-scheme: dark) {
    body {
        color: #eee;
        background: #121212;
    }

    body a {
        color: #ff375f;
    }

    .page-home-link {
        color: #a9b2c3;
    }

    .page-header {
        border-bottom-color: #2a2a2a;
    }

    .page-select select {
        background: #1e1e1e;
        border-color: #3a3a3a;
        color: #e0e0e0;
    }

    .page-select svg {
        stroke: #6b7280;
    }

    thead {
        background: #343536;
    }

    tr {
        border-bottom: 1px solid #353536;
    }

    tr:first-child {
        border-top: 1px solid #353536;
    }
}
