/*
 * LessonDock brand tokens (Navy #000080, Orange #FFA500, White #FFFFFF).
 * The shared Techage design system (style.css, dashboard.css, themes.css) reads only these variables.
 * Light is the default; dark applies when the administrator chooses it (or "system" with a dark OS).
 */
:root {
  --font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-scale: 1;
  --border-radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --button-radius: 8px;
  --primary-color: #000080;
  --secondary-color: #FFA500;
  --accent-color: #FFA500;
  --background-color: #F5F6FB;
  --surface-color: #FFFFFF;
  --text-color: #212529;
  --muted-color: #62668C;
  --success-color: #15803D;
  --warning-color: #B45309;
  --danger-color: #B91C1C;
  --info-color: #1D4ED8;
  --border-color: #E1E3F0;
  --primary-rgb: 0, 0, 128;
  --accent-rgb: 255, 165, 0;
  --success-rgb: 21, 128, 61;
  --warning-rgb: 180, 83, 9;
  --danger-rgb: 185, 28, 28;
  --info-rgb: 29, 78, 216;
  --primary-strong: #00005C;
  --primary-soft: #EBEBFA;
  --accent-strong: #D98C00;
  --accent-soft: #FFF4DE;
  --surface-alt: #F0F1F8;
  --on-primary: #FFFFFF;
  --on-accent: #00004D;
  --chrome-bg: #00004D;
  --chrome-bg-2: #000080;
  --chrome-text: #FFFFFF;
  --sidebar-bg: #00004D;
  --sidebar-text: #E6E7FA;
  --sidebar-muted: rgba(230,231,250,.62);
  --sidebar-hover: rgba(255,255,255,.08);
  --sidebar-active: rgba(255,255,255,.13);
  --sidebar-active-text: #FFFFFF;
  --sidebar-line: rgba(255,255,255,.09);
  --sidebar-mark: #FFA500;
  --header-bg: #FFFFFF;
  --header-text: #15173A;
  --shadow-color: rgba(0,0,64,.07);
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --primary-color: #8C8CFF;
  --secondary-color: #FFB733;
  --accent-color: #FFB733;
  --background-color: #0A0B1E;
  --surface-color: #14163A;
  --text-color: #E6E7F5;
  --muted-color: #9A9DC4;
  --success-color: #22C55E;
  --warning-color: #F59E0B;
  --danger-color: #EF4444;
  --info-color: #60A5FA;
  --border-color: #282B57;
  --primary-rgb: 140, 140, 255;
  --accent-rgb: 255, 183, 51;
  --success-rgb: 34, 197, 94;
  --warning-rgb: 245, 158, 11;
  --danger-rgb: 239, 68, 68;
  --info-rgb: 96, 165, 250;
  --primary-strong: #A5A5FF;
  --primary-soft: #1E2054;
  --accent-strong: #FFC766;
  --accent-soft: #33291A;
  --surface-alt: #1B1D45;
  --on-primary: #0A0B1E;
  --on-accent: #0A0B1E;
  --chrome-bg: #06071A;
  --chrome-bg-2: #14163A;
  --chrome-text: #FFFFFF;
  --sidebar-bg: #0F1030;
  --sidebar-text: #E6E7FA;
  --sidebar-muted: rgba(230,231,250,.6);
  --sidebar-hover: rgba(255,255,255,.07);
  --sidebar-active: rgba(255,255,255,.12);
  --sidebar-active-text: #FFFFFF;
  --sidebar-line: rgba(255,255,255,.08);
  --sidebar-mark: #FFB733;
  --header-bg: #14163A;
  --header-text: #FFFFFF;
  --shadow-color: rgba(0,0,0,.45);
}
@media (prefers-color-scheme: dark) {
  :root[data-theme="system"] {
    color-scheme: dark;
    --primary-color: #8C8CFF; --secondary-color: #FFB733; --accent-color: #FFB733;
    --background-color: #0A0B1E; --surface-color: #14163A; --text-color: #E6E7F5; --muted-color: #9A9DC4;
    --success-color: #22C55E; --warning-color: #F59E0B; --danger-color: #EF4444; --info-color: #60A5FA; --border-color: #282B57;
    --primary-rgb: 140, 140, 255; --accent-rgb: 255, 183, 51; --success-rgb: 34, 197, 94; --warning-rgb: 245, 158, 11; --danger-rgb: 239, 68, 68; --info-rgb: 96, 165, 250;
    --primary-strong: #A5A5FF; --primary-soft: #1E2054; --accent-strong: #FFC766; --accent-soft: #33291A; --surface-alt: #1B1D45;
    --on-primary: #0A0B1E; --on-accent: #0A0B1E; --chrome-bg: #06071A; --chrome-bg-2: #14163A; --chrome-text: #FFFFFF;
    --sidebar-bg: #0F1030; --sidebar-text: #E6E7FA; --sidebar-muted: rgba(230,231,250,.6); --sidebar-hover: rgba(255,255,255,.07);
    --sidebar-active: rgba(255,255,255,.12); --sidebar-active-text: #FFFFFF; --sidebar-line: rgba(255,255,255,.08); --sidebar-mark: #FFB733;
    --header-bg: #14163A; --header-text: #FFFFFF; --shadow-color: rgba(0,0,0,.45);
  }
}
