* {
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        "Apple Color Emoji",
        "Segoe UI Emoji",
        "Segoe UI Symbol",
        sans-serif;
}

:root {
    --color-background: #fff;
    --color-tbody-background: #eee;
    --color-text: #000;
    --color-thead-background: #ddd;
}

@media (prefers-color-scheme: dark) {
    :root {
        --color-background: #111;
        --color-tbody-background: #222;
        --color-text: #eee;
        --color-thead-background: #333;
    }
}

html {
    background-color: var(--color-background);
    color: var(--color-text);
}

input,
table {
    min-width: 50%;
}

table td,
table th {
    line-height: 1.5em;
    padding: 0.25em 0.5em;
    vertical-align: top;
    white-space: pre-wrap;
}

table thead th {
    background-color: var(--color-thead-background);
}

table tbody td {
    background-color: var(--color-tbody-background);
}

.highcharts-demo-button {
    background: #f2f2f2;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: inline-block;
    font-size: 0.8rem;
    padding: 0.5rem 1.5rem;
    margin: 0.5rem -5px 0.5rem 10px;
    transition: background 250ms;
}

.highcharts-demo-button:hover {
    background: #e6e6e6;
}
