/* NeuroClarity Resources: the colour tokens and the font, the one set every page reads.
   Copied from post-diagnosis-care's app/static/css/colour-tokens.css (Evergreen, experience review 2026-11-15), so
   the Resources screens and the report look like one NeuroClarity product (product principle 1). Change a colour in
   post-diagnosis-care first, then copy it here; never a colour of Resources' own. Light only, as there. The chip and
   error colours below come from post-diagnosis-care's ui-components.css. */

:root {
  --color-text: #15251E;          /* body text and headings (was #264653) */
  --color-muted: #4B5A50;         /* secondary lines, counts, hints: one muted step (was #788c94 and see-through teal) */
  --color-page: #F6F7F2;          /* page background (was cream #FEF9F0) */
  --color-card: #FFFFFF;          /* cards, fields, windows */
  --color-line: #D5DBCD;          /* the light hairline around cards and fields */
  --color-line-soft: #E4E8DE;     /* dividers between rows inside a card */
  --color-panel: #EAEEE4;         /* soft panel, hover fill, tool buttons (was #FAF4E8) */
  --color-main: #1E3D32;          /* main button fill (forest; was coral #D06C52) */
  --color-on-main: #FFFFFF;       /* words on the main button and on other forest fills */
  --color-link: #A64D24;          /* links and accent words (was #9E3B1B) */
  --color-selected: #1E3D32;      /* selected marks: tab underline, chosen switch, focus ring, selected-row bar */
  --color-selected-row: #E4ECE0;  /* selected row or item, soft highlight (was pink #FBF3F1) */
  --color-decor: #E07B4B;         /* apricot: list markers and decorative rules only, never text */
  --color-warn: #8A5A00;          /* warning words (was #B56816) */
  --color-done: #1F7A4D;          /* done words and ticks on patient pages (was #059669) */
  /* Native checkboxes, radios and sliders tick in the main colour everywhere (inherited), instead of
     the browser blue; a rule with its own accent-color still wins. */
  accent-color: var(--color-main);
  color-scheme: light;
  /* Status chips and error lines, copied from post-diagnosis-care's app/static/css/ui-components.css (--ui-chip-*
     and --ui-error-*), where they carry meaning and stay apart from the Evergreen set above. Green: approved, a
     condition token, done. Amber: proposed, an issue token, a warning. Red: removed, "Now" in a comparison. Blue:
     own items. Grey: draft, archived, "More". */
  --color-chip-green-bg: #e4f1e9;
  --color-chip-green: #1f7a4d;
  --color-chip-amber-bg: #fbf0d7;
  --color-chip-amber: #8a6309;
  --color-chip-red-bg: #fbe3de;
  --color-chip-red: #9a2e1a;
  --color-chip-blue-bg: #e3edf8;
  --color-chip-blue: #2d5e95;
  --color-chip-grey-bg: #ecebe6;
  --color-chip-grey: #4f5560;
  --color-error-bg: #fbede7;
  --color-error: #8a2f17;
  /* Shadows and the hover tint, all from the text colour (the plan page's drawings). */
  --shadow-pane: -12px 0 30px -20px rgba(21, 37, 30, 0.3);
  --shadow-card: 0 1px 2px rgba(21, 37, 30, 0.06), 0 12px 32px -16px rgba(21, 37, 30, 0.22);
  --shadow-drop: 0 8px 24px -12px rgba(21, 37, 30, 0.35);
  --shadow-seg: 0 1px 2px rgba(21, 37, 30, 0.12);
  --shadow-knob: 0 1px 2px rgba(21, 37, 30, 0.2);
  --color-tint: rgba(21, 37, 30, 0.08);
  /* Inter, as post-diagnosis-care's pages (loaded by index.html from Google Fonts). */
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
