/*
 * Group Administration Tool - THEME
 *
 * Every colour and font in the tool comes from this file. To change the
 * look (spec 12 Q11: Sam's final colour codes and logo), edit the values
 * below and nothing else.
 *
 * Accent: Your Focus orange. Pass 13 (Q11, Your Focus 4 November 2026: use
 * the existing branding): the three brand tokens are the onboarding portal's
 * own, --brand #FF9100 = --accent, --brand-dark #D67A00 = --accent-hover,
 * --brand-pale #FFEFDA = --accent-pale; --accent-ink #8A5A08 already equals
 * the portal's --brand-ink. The scope says the green in the mock-ups is NOT
 * to be used.
 *
 * Contrast: #FF9100 on white is 2.26:1 and #D67A00 3.16:1, so neither is
 * ever used for small text. Text on an orange background uses
 * --accent-contrast (dark); orange-family text on a light background uses
 * --accent-ink; focus rings use --accent-focus (3:1 or better).
 */
:root {
  /* Brand */
  --accent: #FF9100;
  --accent-hover: #D67A00;
  --accent-contrast: #241300;   /* text on --accent */
  --accent-ink: #8A5A08;        /* orange-family text on light backgrounds */
  --accent-pale: #FFEFDA;
  /* focus rings and selected-state borders. Pass 14 (review 11 L15): #D67A00
     was 2.85:1 on the page background; #C26F00 is 3.4:1 on --page-bg, 3.77:1
     on white, 3.14:1 on the sidebar and 3.34:1 on --accent-pale. */
  --accent-focus: #C26F00;
  --logo-bg: #FFFFFF;           /* the logo's black lettering sits on a light chip in the dark header */

  /* Shell */
  --header-bg: #2B2A27;
  --header-text: #FFFFFF;
  --header-muted: #C9C5BC;
  --sidebar-bg: #ECEAE5;
  --page-bg: #F5F3EF;
  --card-bg: #FFFFFF;
  --border: #E4E0D8;
  --border-strong: #D3CEC4;

  /* Text */
  --text: #1F1E1B;
  --text-muted: #6B6760;
  --text-soft: #6D6860;         /* pass 10: 4.6:1 or better on every light background (WCAG AA); was #8B867D, 3.3:1 */

  /* Status tones (pills, attention tiles, roll cells) */
  --good-bg: #E3EFE6;   --good-text: #2D6B45;
  --warn-bg: #F7EAD3;   --warn-text: #84520A;
  --bad-bg:  #F6DEDA;   --bad-text:  #A3322A;
  --muted-bg: #ECEAE5;  --muted-text: #5A5750;
  --private-bg: #E5E7EC; --private-text: #4A5060;
  --flag-row-bg: #FBF1EF;
  --missing-bg: #FFF8F7;   /* empty required field on the public request form */

  /* Type */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", -apple-system, "Segoe UI", Arial, sans-serif;

  --radius: 10px;
  --radius-sm: 6px;
}
