/* Site font: Source Sans 3 (Adobe, SIL OFL 1.1, license in ../fonts/source-sans-3/).
   Self-hosted on purpose: loading Google Fonts from Google's servers passes visitors'
   IP addresses to Google (GDPR). Chosen 2026-11-20 after trying the system font and
   Inter on the member list. Loaded by base.html and login.html.
   NOT used by the PDF templates (documents/, rendered by WeasyPrint with their own
   fonts). Digits are tabular by default, so number columns line up. */

@font-face {
    font-family: "Source Sans 3";
    src: url("../fonts/source-sans-3/SourceSans3-Regular.woff2") format("woff2");
    font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
    font-family: "Source Sans 3";
    src: url("../fonts/source-sans-3/SourceSans3-It.woff2") format("woff2");
    font-weight: 400; font-style: italic; font-display: swap;
}
/* Semibold also serves every "bold" (600-900): headings, table headers and other
   bold text render Semibold without touching each CSS rule. */
@font-face {
    font-family: "Source Sans 3";
    src: url("../fonts/source-sans-3/SourceSans3-Semibold.woff2") format("woff2");
    font-weight: 600 900; font-style: normal; font-display: swap;
}
@font-face {
    font-family: "Source Sans 3";
    src: url("../fonts/source-sans-3/SourceSans3-SemiboldIt.woff2") format("woff2");
    font-weight: 600 900; font-style: italic; font-display: swap;
}

/* Base size 16px -> 17px: Source Sans runs small. Scales rem/em text;
   fixed-px elements keep their size. */
html {
    font-size: 106.25%;
}

body {
    font-family: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* Form controls don't inherit the page font by default. */
button, input, select, textarea {
    font-family: inherit;
}

/* Header buttons follow the base size, except in the touch/landscape layout
   where header.css sizes them in vh. */
@media not all and (any-pointer: coarse) and (orientation: landscape) {
    .page-header button {
        font-size: 1rem;
    }
}
