/* Pierce: what every page shares. The typefaces, the two inks of the house (#121212 and #f5f5f5), the scale
   and the resets. The sign-in page loads this file and its own. The interface loads this one and app.css.
   Corners are square and nothing casts a shadow, as everywhere at Berkway. */

@font-face { font-family: "Public Sans"; src: url('/static/fonts/public-sans-latin.woff2') format('woff2'); font-weight: 100 900; font-display: swap;
  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: "Public Sans"; src: url('/static/fonts/public-sans-latin-ext.woff2') format('woff2'); font-weight: 100 900; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Mono"; src: url('/static/fonts/plex-mono-400-latin.woff2') format('woff2'); font-weight: 400; font-display: swap;
  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: "IBM Plex Mono"; src: url('/static/fonts/plex-mono-400-latin-ext.woff2') format('woff2'); font-weight: 400; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Mono"; src: url('/static/fonts/plex-mono-400-cyrillic.woff2') format('woff2'); font-weight: 400; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "IBM Plex Mono"; src: url('/static/fonts/plex-mono-500-latin.woff2') format('woff2'); font-weight: 500; font-display: swap;
  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: "IBM Plex Mono"; src: url('/static/fonts/plex-mono-500-latin-ext.woff2') format('woff2'); font-weight: 500; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Mono"; src: url('/static/fonts/plex-mono-500-cyrillic.woff2') format('woff2'); font-weight: 500; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

:root {
  color-scheme: dark;
  --brand-black: #121212;
  --brand-white: #f5f5f5;
  --ground: var(--brand-black);
  --surface: #171717;
  --raised: #222222;
  --border: #2a2a2a;
  --rule: #212121;
  --control: #404040;
  --text: var(--brand-white);
  --soft: #cfcfcf;
  --muted: #8f8f8f;
  --accent: var(--brand-white);
  /* Risk colours: the brand's rust, amber and green, lifted for a black ground */
  --positive: #4fa583;
  --negative: #e2674f;
  --warning: #d8a445;
  --pill-positive-bg: #1a2a23; --pill-positive-ink: #6cc7a1;
  --pill-negative-bg: #2e1b17; --pill-negative-ink: #f08b75;
  --pill-warning-bg: #2b2415; --pill-warning-ink: #dfae54;
  --pill-neutral-bg: #222222; --pill-neutral-ink: #c2c2c2;
    --radius-card: 0;
  --radius-field: 0;
  --radius-chip: 0;
  --gap: 24px;
  --pad: 32px;
  --card-pad: 20px;
  --row: 42px;
  --control-h: 32px;
  --font: "Public Sans", Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --fs-title: 26px; --fs-answer: 32px; --fs-section: 20px; --fs-card: 16px; --fs-body: 13px; --fs-small: 12px;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 20px;
  color: var(--text);
  background: var(--ground);
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration-color: var(--control); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
::selection { background: #f5f5f5; color: #121212; }
.num, .id, time, .mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.visually-hidden, .print-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.sprite { position: absolute; width: 0; height: 0; }
.skip-link { position: absolute; inset-inline-start: 12px; top: 8px; z-index: 20; padding: 6px 12px; background: var(--text); color: #000; transform: translateY(-200%); }
.skip-link:focus { transform: none; }
.muted { color: var(--muted); }
.soft { color: var(--soft); }
body { margin: 0; min-width: 320px; }
