/* ==========================================================================
   THEME — School Communicator / SmartIndaba
   Applied via: <html class="theme-schoolcomm">

   The five tokens the BrooksCorp Design Standard says are the whole reskin,
   plus the neutral overrides the SmartIndaba palette specifies.

   Sampled from the SmartIndaba brand card: navy #0B2A55 (deep #061529),
   cyan #18A0F2, green #45D9A6, purple #7B6BE8, ink #12203A, muted #5B6C86,
   hairline #DCE5F0, tint #F3F7FC.

   NOTE ON CONTRAST — this is the one thing to check before changing the accent.
   Cyan #18A0F2 on white is roughly 2.7:1. That is fine for a 36px button label
   and for icons; it fails WCAG AA for 13px helper text. So --bc-text-accent
   points at accent-700, exactly the pattern themes/gold.css uses.
   ========================================================================== */
.theme-schoolcomm {
  /* ── Brand: chrome, sidebar, headings ─────────────────────────────────── */
  --bc-brand-50:  #EAF1FA;
  --bc-brand-100: #CBDCEF;
  --bc-brand-200: #9BB8DB;
  --bc-brand-300: #6C93C4;
  --bc-brand-400: #3D68A0;
  --bc-brand-500: #12386E;
  --bc-brand-600: #0B2A55;   /* PRIMARY chrome */
  --bc-brand-700: #061529;   /* deep navy — auth, inverse panels */
  --bc-brand-800: #050F1F;
  --bc-brand-900: #030A16;

  /* ── Accent: action, active nav, focus ────────────────────────────────── */
  --bc-accent-50:  #E8F5FE;
  --bc-accent-100: #C5E7FC;
  --bc-accent-200: #93D2FA;
  --bc-accent-300: #5BBAF7;
  --bc-accent-400: #2FAAF4;
  --bc-accent-500: #18A0F2;  /* PRIMARY ACCENT — SmartIndaba cyan */
  --bc-accent-600: #1183CB;
  --bc-accent-700: #0B67A2;
  --bc-accent-800: #084E7B;
  --bc-accent-900: #063654;

  /* ── Support: progress and positive state ─────────────────────────────── */
  --bc-support-50:  #ECFBF5;
  --bc-support-100: #CDF3E4;
  --bc-support-200: #96E7C8;
  --bc-support-300: #45D9A6;
  --bc-support-400: #29BE8B;
  --bc-support-500: #1E9C72;

  /* ── Informational — the SmartIndaba purple ───────────────────────────── */
  --bc-info:    #7B6BE8;
  --bc-info-bg: #F0EDFC;
  --bc-info-fg: #4B3DA8;

  /* ── Neutrals ─────────────────────────────────────────────────────────── */
  --bc-grey-25:  #FAFCFE;
  --bc-grey-50:  #F3F7FC;   /* application background */
  --bc-grey-100: #E9EFF7;
  --bc-grey-200: #DCE5F0;   /* hairline */
  --bc-grey-300: #C3D0E2;
  --bc-grey-400: #93A3BB;
  --bc-grey-500: #5B6C86;   /* muted text */
  --bc-grey-600: #405269;
  --bc-grey-700: #12203A;   /* ink */
  --bc-grey-800: #0E1A2E;
  --bc-grey-900: #08101D;

  /* Small accent text must not use accent-500 — see the contrast note above. */
  --bc-text-accent: var(--bc-accent-700);

  --bc-focus-ring: 0 0 0 3px rgba(24,160,242,.28);

  /* Ink for anything sitting ON the brand colour — the sidebar, inverse panels.
     White here because the platform brand is navy; a school's theme replaces both
     of these with whatever is legible on their own colour. */
  --bc-on-brand:      #FFFFFF;
  --bc-on-brand-rgb:  255, 255, 255;

  /* Ink for a filled accent surface — a primary button, the progress bar, an
     active page number. Measured against the accent, not assumed white: cyan takes
     dark ink, navy takes white, and the button label stays readable either way. */
  --bc-on-accent:     #101828;
  --bc-on-accent-rgb: 16, 24, 40;
}
