/* Tokens for the Field Ops demo. The source is design-system/fieldops-demo/MASTER.md: change it there first. */

@font-face { font-family: "Space Grotesk"; src: url("../fonts/SpaceGrotesk-Variable.ttf") format("truetype"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/DMSans-Variable.ttf") format("truetype"); font-weight: 100 1000; font-display: swap; }

:root, :host {
  color-scheme: light;

  --paper: #FAF9F6;
  --white: #FFFFFF;
  --tint: #EEF3F0;
  --wash: #E2F6EC;
  --teal: #115E59;
  --teal-d: #0D4844;
  --mint: #A7F3D0;
  --ink: #202927;
  --ink-2: #52615C;
  --rule: #CBD3CC;
  --hair: #E1E6E2;
  --line: #73857D;
  --on-teal-2: #CDE6DF;
  --on-ink-2: #B9C4BF;
  --live: #2FB380;
  --danger: #A12A24;

  /* see-through steps of the colours above, for lines and rings on teal and on the guide bar */
  --on-teal-line: rgba(255, 255, 255, .25);
  --on-teal-ring: rgba(255, 255, 255, .4);
  --mint-ring: rgba(167, 243, 208, .3);
  --on-ink-line: rgba(255, 255, 255, .3);
  --on-ink-off: rgba(255, 255, 255, .22);
  --touch: rgba(255, 255, 255, .6);
  --shadow-near: rgba(32, 41, 39, .08);
  --shadow-far: rgba(32, 41, 39, .24);

  --dis: "Space Grotesk", Arial, sans-serif;
  --body: "DM Sans", Arial, sans-serif;

  /* in rem so the visitor's own text-size setting is honoured: 14, 15, 16, 18, 22, 28, 32 and 40 px at the usual 16 */
  --t-14: .875rem; --t-15: .9375rem; --t-16: 1rem; --t-18: 1.125rem; --t-22: 1.375rem; --t-28: 1.75rem; --t-32: 2rem; --t-40: 2.5rem;

  --s-4: 4px; --s-8: 8px; --s-12: 12px; --s-16: 16px; --s-20: 20px; --s-24: 24px; --s-28: 28px; --s-32: 32px; --s-48: 48px; --s-64: 64px;

  --r-win: 18px; --r-phone: 40px; --r-sheet: 22px; --r-bar: 16px; --r-ctl: 10px;

  --ctl: 44px;
  --ctl-touch: 48px;

  --quick: 150ms;
  --arrive: 220ms;
  --draw: 360ms;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
