/* The tokens of the Rapsodi style (U1.4.R23, from the design the owner approved on 24 October 2026), for everything that is drawn in it: the web app's sheet
   (`apps/web/web.css`, which the field page and the external rooms app load too) and the two add-in panes' (`packages/shared/styles/pane.css`, U1.4.R23c). This
   file is served as `/assets/tokens.css` and every page links it before its own sheet. Declared here and nowhere else, so that the web app and the panes cannot drift.

   THE TOKENS ARE IN THE TWO BLOCKS BELOW AND NOWHERE ELSE. The first group is the palette as the README of docs/u1-design/rapsodi names it; the second is what the
   rest of the sheets ask for ("--head", "--quiet", ...), each an alias of one palette colour, so that a screen never names a colour. brand.spec.ts holds that, and
   holds the contrast of each text on each ground it is set on; styles.spec.ts holds it for the panes.

   The brand's faces are two files of this repository, served from this origin (packages/shared/brand/, `/assets/`, beside this file). Semplicita is for headings, the
   product's name and the figures of a document card, and for nothing else; everything else is Arial, 13 px. No font is fetched from elsewhere. */
@font-face {
  font-family: Nordr;
  src: url('semplicita-400.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: Nordr;
  src: url('semplicita-600.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}

:root {
  /* Light only (U1.4.R24, the owner, 26 October 2026): the page, its form controls, its scroll bars and its canvas are drawn in this palette whatever the system's
     appearance. There is no other scheme to declare, and a second one would be a second palette to keep in step. */
  color-scheme: light;
  /* The palette: violet, blue and sky are the brand's, and the rest is the light page. */
  --violet: #251141;
  --blue: #55788a;
  --sky: #e3eaed;
  --paper: #ffffff;
  --lilac: #eee9f3;
  --tint: #f6f3f8;
  --slate: #59636e;
  --line: #e8e9ed;
  /* The README gives the labels #736a7e. That is 4.3 to 1 on the lilac of a selected row and 4.2 on the sky, short of the 4.5 that a 10 px label needs, so the
     label is this a little darker, which has 4.8 or more on every ground it is set on. */
  --label: #6a6176;
  --field: #d9d5df;
  /* What a page is made of. */
  --canvas: var(--sky);
  --ink: var(--violet);
  --soft: var(--slate);
  --quiet: var(--label);
  --head: var(--violet);
  /* The blue of the palette has 4.7 to 1 on white and 3.9 on the sky, so a link, which is read on both, is a shade darker; it is violet when pointed at. */
  --link: #476a7c;
  --link-hover: var(--violet);
  --mist: var(--sky);
  --wash: #f7f5f9;
  --hairline: var(--field);
  --control: #8c8a96;
  --problem: #8a1f17;
  --focus: var(--blue);
  --primary: var(--violet);
  --primary-hover: #3a2560;
  --on-primary: #ffffff;
  --selection-bg: #d7cbea;
  --selection-ink: var(--violet);
  --shadow: rgb(37 17 65 / 0.16);
  --card-shadow: rgb(37 17 65 / 0.06);
  --display: Nordr, Arial, sans-serif;
  --radius: 3px;
  --pill: 20px;
}
