:root {
    --color-text: #222;
    --color-selection: #b3d4fc;
}
/*******************************************************/
/* https://github.com/u1ui/norm.css/blob/main/norm.css */
/*******************************************************/
:where(html) {
    line-height: 1.1875;
    -webkit-text-size-adjust: none;
    text-size-adjust: none;
}
:where(h1) {
    font-size: 2em;
    margin-block: 0.67em;
}
:where(dl, ol, ul) :where(dl, ol, ul) {
    margin: 0;
}
:where(hr) {
    color: inherit;
}
:where(abbr[title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.1em;
}
:where(b, strong) {
    font-weight: bolder;
}
:where(small) {
    font-size: 80%;
}
:where(table) {
    border-color: currentColor;
}
:where(textarea, button, input, select) {
    margin: 0;
}
:where(textarea) {
    baseline-source: first;
}
:where(button, input:is([type='button'], [type='reset'], [type='submit'])) {
    -webkit-appearance: button;
}
:where([type='search']) {
    -webkit-appearance: textfield;
}
:where(::-webkit-search-decoration) {
    -webkit-appearance: none;
}
:where(::placeholder) {
    color: inherit;
    opacity: 0.54;
}
:where(::-webkit-file-upload-button) {
    -webkit-appearance: button;
    font: inherit;
}
:where(:-moz-ui-invalid) {
    box-shadow: none;
}
:where(summary) {
    display: list-item;
}
:where(search) {
    display: block;
}
:where([inert]) {
    pointer-events: none;
    cursor: default;
}
:where([inert], [inert] *) {
    -webkit-user-select: none;
    user-select: none;
}
/**************************************************************************/
/* based on html5 boilerplate, then heavily modified                      */
/* https://github.com/h5bp/html5-boilerplate/blob/main/dist/css/style.css */
/**************************************************************************/
html {
    color: var(--color-text);
    font-size: 1em;
    line-height: 1.4;
}
::-moz-selection {
    background: var(--color-selection);
    text-shadow: none;
}
::selection {
    background: var(--color-selection);
    text-shadow: none;
}
hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}
audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}
fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}
textarea {
    resize: vertical;
}
/* ==========================================================================
   Helper classes
   ========================================================================== */
/*
 * Hide visually and from screen readers
 */
.hidden,
[hidden] {
    display: none !important;
}
/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */
.visually-hidden {
    border: 0;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}
/*
 * Extends the .visually-hidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */
.visually-hidden.focusable:active,
.visually-hidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    white-space: inherit;
    width: auto;
}
/*
 * Hide visually and from screen readers, but maintain layout
 */
.invisible {
    visibility: hidden;
}
/*
 * Clearfix: contain floats
 *
 * The use of `table` rather than `block` is only necessary if using
 * `::before` to contain the top-margins of child elements.
 */
.clearfix::before,
.clearfix::after {
    content: '';
    display: table;
}
.clearfix::after {
    clear: both;
}
/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */
@media print {
    *,
    *::before,
    *::after {
        background: #fff !important;
        color: #000 !important;
        /* Black prints faster */
        box-shadow: none !important;
        text-shadow: none !important;
    }
    a,
    a:visited {
        text-decoration: underline;
    }
    a[href]::after {
        content: ' (' attr(href) ')';
    }
    abbr[title]::after {
        content: ' (' attr(title) ')';
    }
    a[href^='#']::after,
    a[href^='javascript:']::after {
        content: '';
    }
    pre {
        white-space: pre-wrap !important;
    }
    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }
    tr,
    img {
        page-break-inside: avoid;
    }
    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }
    h2,
    h3 {
        page-break-after: avoid;
    }
}
