/* Self-hosted monospaced faces (active: Maple Mono; Commit Mono kept for
   easy comparison). Both SIL Open Font License 1.1 — see the LICENSE files in
   vendor/fonts/. Swap the family in --font-mono below to change. */
@font-face {
    font-family: "Commit Mono";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../vendor/fonts/commit-mono/commit-mono-latin-400-normal.332136561658.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Commit Mono";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("../vendor/fonts/commit-mono/commit-mono-latin-500-normal.cac67a4c008f.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Commit Mono";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("../vendor/fonts/commit-mono/commit-mono-latin-600-normal.3e5227977b3c.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Maple Mono (400/500/600, latin). SIL Open Font License 1.1. */
@font-face {
    font-family: "Maple Mono";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../vendor/fonts/maple-mono/maple-mono-latin-400-normal.b195cda7bd53.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Maple Mono";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("../vendor/fonts/maple-mono/maple-mono-latin-500-normal.612ebd7fee02.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Maple Mono";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("../vendor/fonts/maple-mono/maple-mono-latin-600-normal.41ead5562c3a.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Split: Oat's --font-sans stays proportional (system-ui) for text;
   --font-mono carries the figures, dates and the wordmark. */
:root {
    --font-mono: "Maple Mono", ui-monospace, SFMono-Regular, Menlo, Consolas,
        monospace;
}

/* Normalise optical size across every font on the page (sans + mono) to one
   x-height, so mixed text looks consistent. Inherited — set once, applies
   everywhere; each element keeps its own font-family. */
html {
    font-size-adjust: 0.52;
}

/* Which content is monospaced (family only; sizing is handled above). */
data,
.cell-date,
input[type="date"],
aside[data-sidebar] > header strong,
nav[data-topnav] strong {
    font-family: var(--font-mono);
}
