/* IHLAD design tokens and fonts, shared by the clinician workspace (clinic.css) and the participant page
   (portal.css). See DESIGN-IHLAD.md. Loaded after brand.css, before each page's own stylesheet.

   Fonts: GT Ultra (headings) and Antarctica (text) are IHLAD's own licensed web fonts and load from the font
   addresses IHLAD's site uses; they need IHLAD's confirmation, or their own files, before this goes live. If
   they do not load, Outfit / the system font take over. Arabic is IBM Plex Sans Arabic (open licence), served
   from this site. */
@font-face { font-family:"GT Ultra"; src:url("https://static.wixstatic.com/ufonts/83d5d6_e2c750091e534c5fb1987015d01799f1/woff2/file.woff2") format("woff2"); font-weight:400; font-style:normal; font-display:swap; }
@font-face { font-family:"Antarctica"; src:url("https://static.wixstatic.com/ufonts/55d93a_0bb3fa3dc7f244e6a4f52ed6b6dfff66/woff2/file.woff2") format("woff2"); font-weight:100 900; font-style:normal; font-display:swap; }
@font-face { font-family:"IBM Plex Sans Arabic"; src:url(/static/brand/fonts/plex-arabic-400.woff2) format("woff2"); font-weight:300 400; font-style:normal; font-display:swap; unicode-range:U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family:"IBM Plex Sans Arabic"; src:url(/static/brand/fonts/plex-arabic-500.woff2) format("woff2"); font-weight:500; font-style:normal; font-display:swap; unicode-range:U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family:"IBM Plex Sans Arabic"; src:url(/static/brand/fonts/plex-arabic-600.woff2) format("woff2"); font-weight:600 900; font-style:normal; font-display:swap; unicode-range:U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }

:root {
  /* brand */
  --ih-navy:#00173A;
  --ih-surf:#0B2450;
  --ih-surf2:#143066;
  --ih-acc:#E9B384;
  --ih-acc-deep:#D98E55;
  --ih-grad:linear-gradient(135deg, #F3CBA2, #D98E55);
  --ih-slate:#969FAB;
  --ih-muted:#808B9C;
  --ih-quiet:#BFC5CE;
  /* light surfaces */
  --ih-paper:#FAF9F7;
  --ih-stone:#F5F3EF;
  --ih-sand:#F2EEE6;
  --ih-mint:#E9F7ED;
  --ih-sky:#DDF1FA;
  --ih-pink:#FFE5FF;
  --ih-green:#062E22;
  --ih-maroon:#500A23;
  --ih-link:#154AD1;
  --ih-line:rgba(0,23,58,.12);
  --ih-rail:#E6E3DD;
  /* states */
  --ih-ok:#1F7A4D;
  --ih-warn:#B26A00;
  --ih-bad:#B3261E;
  --ih-bad-soft:#FBE9E7;
  /* white at set strengths, for the navy side */
  --ih-w70:rgba(255,255,255,.72);
  --ih-w50:rgba(255,255,255,.5);
  --ih-w14:rgba(255,255,255,.14);
  --ih-w08:rgba(255,255,255,.08);
  /* type */
  --ih-display:"GT Ultra", "IBM Plex Sans Arabic", "Outfit", "Avenir Next", system-ui, sans-serif;
  --ih-text:"Antarctica", "IBM Plex Sans Arabic", "Inter", "Avenir Next", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ih-dune:url("https://static.wixstatic.com/media/823fa3_9faeffe63c084ee3b0ce80e39470b775~mv2.jpg/v1/fill/w_1280,h_810,al_c,q_85/Header.jpg");
}
/* The clinic can choose Fitter Stock's own look instead: same layout, forest and cream, Fitter Stock's fonts. */
:root[data-brand="fitterstock"] {
  --ih-navy:#1B2318;
  --ih-surf:#273224;
  --ih-surf2:#34422F;
  --ih-acc:#D9C7B4;
  --ih-acc-deep:#AA9888;
  --ih-grad:linear-gradient(135deg, #EEEBE1, #C2B19E);
  --ih-slate:#A4A994;
  --ih-muted:#7C8478;
  --ih-quiet:#C9CCBF;
  --ih-paper:#F7F6F1;
  --ih-stone:#F0F1EB;
  --ih-sand:#F4EFEA;
  --ih-link:#3F6B4A;
  --ih-line:rgba(27,35,24,.14);
  --ih-display:"FAVORA", "IBM Plex Sans Arabic", Georgia, serif;
  --ih-text:"FS Avenir", Avenir, "IBM Plex Sans Arabic", "Helvetica Neue", Arial, sans-serif;
  --ih-dune:none;
}

.ih-ic { width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; display:block; flex:none; }
/* Arabic letters join: never track them apart. */
[dir="rtl"], [dir="rtl"] *, [lang="ar"] { letter-spacing:0 !important; }
