/* School brand for the "Lamp & Ledger" design system: a second token set, loaded AFTER ui.css and bootstrap-bridge.css,
   active only on pages whose <html> carries data-brand="school" (the school /campus app, src/SchoolCampus).
   It never changes a college token or component: without data-brand="school" this file does nothing.
   Colours are the school's own, which staff know from the old site (Styles/School-Modern.css, assets/css/student-modern.css):
   navy #1d3a6b = the one accent (primary buttons, current menu item, focus, links); gold #d6992f = the "flame" role
   (progress line, loader sweep, emblem underline); green #2f9e4f = success and the second chart colour.
   Neutrals are cool slate (the college's are warm stone) so navy sits naturally on them. Light and dark are both designed;
   dark navy would be unreadable as text, so dark uses a lifted blue for text and a mid navy for filled buttons. */

:root[data-brand="school"] {
  --frame: #f2f5f9; --panel: #ffffff; --sunken: #f7f9fc; --raised: #ffffff; --hover: #edf1f7; --pressed: #e2e8f1;
  --line: #dfe5ee; --line-strong: #cbd4e1;
  --ink: #16233b; --ink-2: #4a5672; --ink-3: #626d89; --ink-inv: #ffffff;
  --brand: #1d3a6b; --brand-hover: #142a52; --brand-fg: #ffffff; --brand-text: #1d3a6b; --brand-soft: #e9eff8; --brand-ring: rgba(29,58,107,.28);
  --ember: #d6992f; --ember-soft: #fbf1dc;
  --ok: #1f7a3a; --ok-soft: #e7f5eb; --ok-line: #b7e0c3;
  --c1: #1d3a6b; --c2: #2f9e4f; --c3: #d6992f; --c4: #2f6aa8; --c5: #7a5ea8; --c6: #8790a3;
  --shadow-1: 0 1px 2px rgba(22,35,59,.06);
  --shadow-2: 0 1px 2px rgba(22,35,59,.05), 0 6px 16px -4px rgba(22,35,59,.10);
  --shadow-3: 0 2px 6px rgba(22,35,59,.08), 0 24px 48px -12px rgba(22,35,59,.22);
  --scrim: rgba(22,35,59,.36);
  --logo: url(../img/school-logo.svg); --emblem: url(../img/school-emblem.svg);
}
@media (prefers-color-scheme: dark) {
  :root[data-brand="school"]:not([data-theme="light"]) {
    --frame: #0b1018; --panel: #121925; --sunken: #0f151f; --raised: #19212f; --hover: #1b2433; --pressed: #222d3f;
    --line: #232e42; --line-strong: #324058;
    --ink: #eef2f8; --ink-2: #b3bdd0; --ink-3: #8e99af; --ink-inv: #121925;
    --brand: #2f5b9e; --brand-hover: #3a68ae; --brand-fg: #ffffff; --brand-text: #93b4ea; --brand-soft: rgba(147,180,234,.13); --brand-ring: rgba(147,180,234,.36);
    --ember: #e8b04f; --ember-soft: rgba(232,176,79,.13);
    --ok: #5cc98a; --ok-soft: rgba(92,201,138,.12); --ok-line: rgba(92,201,138,.3);
    --c1: #7fa3e0; --c2: #5cc98a; --c3: #e0ad4c; --c4: #5fa8c9; --c5: #a68ad6; --c6: #a3abbb;
    --shadow-1: 0 1px 2px rgba(0,0,0,.4);
    --shadow-2: 0 1px 2px rgba(0,0,0,.4), 0 8px 20px -6px rgba(0,0,0,.5);
    --shadow-3: 0 2px 6px rgba(0,0,0,.5), 0 28px 56px -12px rgba(0,0,0,.7);
    --scrim: rgba(0,0,0,.55);
    --logo: url(../img/school-logo-dark.svg); --emblem: url(../img/school-emblem.svg);
  }
}
:root[data-brand="school"][data-theme="dark"] {
  --frame: #0b1018; --panel: #121925; --sunken: #0f151f; --raised: #19212f; --hover: #1b2433; --pressed: #222d3f;
  --line: #232e42; --line-strong: #324058;
  --ink: #eef2f8; --ink-2: #b3bdd0; --ink-3: #8e99af; --ink-inv: #121925;
  --brand: #2f5b9e; --brand-hover: #3a68ae; --brand-fg: #ffffff; --brand-text: #93b4ea; --brand-soft: rgba(147,180,234,.13); --brand-ring: rgba(147,180,234,.36);
  --ember: #e8b04f; --ember-soft: rgba(232,176,79,.13);
  --ok: #5cc98a; --ok-soft: rgba(92,201,138,.12); --ok-line: rgba(92,201,138,.3);
  --c1: #7fa3e0; --c2: #5cc98a; --c3: #e0ad4c; --c4: #5fa8c9; --c5: #a68ad6; --c6: #a3abbb;
  --shadow-1: 0 1px 2px rgba(0,0,0,.4);
  --shadow-2: 0 1px 2px rgba(0,0,0,.4), 0 8px 20px -6px rgba(0,0,0,.5);
  --shadow-3: 0 2px 6px rgba(0,0,0,.5), 0 28px 56px -12px rgba(0,0,0,.7);
  --scrim: rgba(0,0,0,.55);
  --logo: url(../img/school-logo-dark.svg); --emblem: url(../img/school-emblem.svg);
}
