/* ============================================================================
   Ohmorrow — Bold pop theme
   Flat colour blocks, 2px ink outlines, chunky caps, no soft shadows or
   gradients. Brand colours are fixed; the semantic tokens are what the screens
   use, and they switch for dark mode ("midnight sun"). Print always uses the
   light tokens.
   The brand tokens alone, shared by the family app (styles.css) and the
   caregiver's page (care-ui/care.css), which each link this file first.
   ========================================================================== */
@font-face{font-family:'Outfit';src:url('/fonts/outfit-latin-wght-normal.woff2') format('woff2');
  font-weight:100 900;font-style:normal;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:'Figtree';src:url('/fonts/figtree-latin-wght-normal.woff2') format('woff2');
  font-weight:300 900;font-style:normal;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}

:root{
  color-scheme:light;
  /* brand, the same in light and dark */
  --poppy:#E4312B; --poppy-ink:#D32A24; --sunflower:#F5C400; --cobalt:#1D4ED8;
  --meadow:#1F9D55; --blush:#F7A8C4; --tangerine:#FF7A1A;
  /* strong fills on the year wall, each with the text colour that reads on it */
  --fill-off:var(--sunflower);    --fill-off-ink:#111111;
  --fill-hol:var(--cobalt);       --fill-hol-ink:#FFFFFF;
  --fill-leave:var(--poppy-ink);  --fill-leave-ink:#FFFFFF;

  /* semantic */
  --bg:#FFFFFF; --panel:#FFFFFF; --panel2:#FAF6EE; --line:#111111; --line2:#E7E1D5;
  --ink:#111111; --ink2:#3D3A35; --ink3:#6B675F;
  --accent:#111111; --accent-soft:#EFEBE2; --accent-ink:#111111;
  --good:#6B4F00; --good-soft:#FFE680;        /* 9/80 days off and "done": sunflower */
  --warn:#A34400; --warn-soft:#FFE2C7;
  --bad:#B01E17;  --bad-soft:#FFD9D6;
  --leave:#B01E17; --leave-soft:#FFD9D6;      /* Personal Leave: poppy */
  --hol:#1D4ED8;  --hol-soft:#D8E3FF;         /* holidays: cobalt */
  --link:#1D4ED8;
  --radius:14px; --pop:6px 6px 0 #111111;
  --stripe:repeating-linear-gradient(90deg,var(--poppy) 0 64px,var(--sunflower) 64px 128px,
    var(--cobalt) 128px 192px,var(--blush) 192px 256px,var(--meadow) 256px 320px);
  --font-display:'Outfit','Avenir Next',Futura,system-ui,sans-serif;
  --font-body:'Figtree',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
}
@media screen and (prefers-color-scheme: dark){
  :root{
    color-scheme:dark;
    --bg:#111111; --panel:#1A1917; --panel2:#23211E; --line:#F4EFE6; --line2:#35322D;
    --ink:#F7F3EA; --ink2:#D2CCC0; --ink3:#A39D91;
    --accent:#F7F3EA; --accent-soft:#2C2A26; --accent-ink:#F7F3EA;
    --good:#FFD84D; --good-soft:#3A3108;
    --warn:#FFB27A; --warn-soft:#3B2412;
    --bad:#FF8A82;  --bad-soft:#3F1815;
    --leave:#FF8A82; --leave-soft:#3F1815;
    --hol:#9DB8FF;  --hol-soft:#17264D;
    --link:#9DB8FF;
    --pop:6px 6px 0 var(--sunflower);   /* an ink offset would vanish on the dark page */
  }
}
