/* CDR's colors, fonts and shapes (the 2026 brand manual in brand-kit/, CLAUDE.md "Look"): the only file with color
   values in it. Blue carries no words on white or ice except the headline's one accent word, in --blue-word; words
   are navy, slate or gray. Category, status and pin colors approved by the brand kit's owner (Dec 2 2026). Nunito
   Sans for everything, plus Playfair Display italic for the one accent word in a headline; both kept in the repo
   (public/fonts), never loaded from Google. Shapes: fully rounded buttons and labels, cards about 18px round with a
   soft shadow.
   Dark (CLAUDE.md "Look"): the same names stand for the same jobs, so every screen follows without its own dark rules.
   On dark, --navy is the words, --white the cards, --ice and --off the tinted fills, the page near-black navy; strong
   fills (buttons, what's picked, today) are near white with navy words; blue stays the accent and may carry words. */
@font-face {
  font-family: "Nunito Sans";
  src: url("fonts/nunito-sans.woff2") format("woff2");
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("fonts/playfair-display-600-italic.woff2") format("woff2");
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}

:root {
  color-scheme: light;
  --navy: #08364B;
  --blue: #2DAAE4;          /* the logo's blue, CDR's official one: icons, lines, fills, the accent word on navy */
  --blue-word: #239ADF;     /* the manual's palette blue: only the headline's accent word on white (3.1 to 1, big text) */
  --deep: #105A7A;          /* Deep Blue: a navy button under the pointer, icons on ice */
  --gray: #545454;          /* the manual's Gray: small print */
  --ice: #DCEDF8;
  --white: #FFFFFF;
  --slate: #46648C;         /* quiet words */
  --hair: #C4DDF0;          /* hairlines */
  --off: #F5F9FC;           /* pale fills inside white cards (hints, a row under the pointer) */
  --page: #FAFCFE;          /* the page behind the cards: light enough for the accent word to read on it */
  --navy-soft: rgba(8, 54, 75, .16);

  /* Jobs, not colors: what a strong fill, a panel and a colored tile use. */
  --fill: #08364B;          /* buttons, what's picked, today */
  --on-fill: #FFFFFF;
  --fill-hover: #105A7A;
  --fill-icon: #2DAAE4;     /* an icon on a strong fill */
  --toggle: #08364B;        /* a switch that's on */
  --panel: #08364B;         /* the one navy panel on Home, a project's tile, a video's frame */
  --on-panel: #FFFFFF;
  --on-panel-hover: #DCEDF8;
  --on-color: #FFFFFF;      /* icons on a category tile or a switch's knob: white in both looks */

  /* Shapes. */
  --pill: 999px;            /* labels and chips that stay on one line */
  --pill-btn: 30px;         /* buttons and chips: fully round up to 60px tall; a label that wraps gets soft corners, not a lozenge */
  --pill-label: 14px;       /* the short label pill: round on one line, soft corners on two */
  --round: 18px;            /* cards */
  --round-big: 22px;        /* cards on a laptop, sheets */
  --shadow: 0 1px 2px rgba(8, 54, 75, .06), 0 6px 20px rgba(8, 54, 75, .07);
  --shadow-up: 0 2px 4px rgba(8, 54, 75, .08), 0 12px 32px rgba(8, 54, 75, .12);

  /* Status: always with an icon and a word, never color alone. */
  --ok: #15803D;  --ok-bg: #E3F3E8;
  --slip: #B54708; --slip-bg: #FDEFD9;
  --late: #B42318; --late-bg: #FDE7E5;
  --paused: #46648C; --paused-bg: #EAF0F6;

  /* The five categories and Something else. */
  --c-social: #E0569A;
  --c-print: #7048E8;
  --c-swag: #B7791F;
  --c-web: #2DAAE4;
  --c-events: #0E8F74;
  --c-other: #46648C;

  --pin: #FFD21F;           /* proof pins: yellow, navy edge, white ring */

  --font: "Nunito Sans", system-ui, sans-serif;
  --serif: "Playfair Display", Georgia, serif;   /* the headline's one accent word, nothing else */
  --ease: cubic-bezier(.2, .8, .2, 1);
}

/* Dark: this device's choice on Settings, or the phone's setting under Auto (app/boot-theme.js sets data-theme before
   the first paint; Light is the default). Three surfaces: page, card, tinted fill. Checked for contrast: words 5.4 to 1
   or more on every fill, the accent word 6 to 1 on a card. */
:root[data-theme="dark"] {
  color-scheme: dark;
  --navy: #F1F6FA;          /* words: headlines near white */
  --blue-word: #2DAAE4;     /* the accent word: the logo's blue reads on dark */
  --deep: #8FD3F4;          /* icons on a tinted fill */
  --gray: #97A7B4;
  --ice: #1D4058;           /* label pills and tinted fills: a visible blue tint */
  --white: #112634;         /* cards, bars, sheets: clearly lighter than the page */
  --slate: #9DB4C7;         /* quiet words: soft grey-blue */
  --hair: #28475A;
  --off: #16303F;           /* a row under the pointer, pale fills inside a card */
  --page: #050F16;          /* the page: near-black navy */
  --navy-soft: rgba(0, 4, 8, .65);
  /* A faint light edge does what the soft shadow does on white: it lifts each card off the page. */
  --shadow: 0 0 0 1px rgba(255, 255, 255, .06), 0 8px 24px rgba(0, 0, 0, .45);
  --shadow-up: 0 0 0 1px rgba(255, 255, 255, .08), 0 12px 32px rgba(0, 0, 0, .55);

  /* Strong fills turn near white with navy words, as navy with white words does on light; blue stays the accent. */
  --fill: #EEF5FA;
  --on-fill: #08364B;
  --fill-hover: #FFFFFF;
  --fill-icon: #105A7A;
  --toggle: #2DAAE4;
  --panel: #0E4A68;
  --on-panel: #FFFFFF;
  --on-panel-hover: #DCEDF8;

  --ok: #5FD58C;  --ok-bg: #0E3B27;
  --slip: #F4A847; --slip-bg: #3E2A0E;
  --late: #FF8F86; --late-bg: #4A1A1B;
  --paused: #9DB4C7; --paused-bg: #1D4058;
}
