/*
 * Lethbridge Motorcycle Club theme: "Big sky, hardpack". Sky-blue and dirt-brown on chalk, the club's navy
 * instead of black, and one red kept for actions. The same values are mirrored in site.json
 * (participant.theme), which is all the participant app (my.<host>) reads.
 */
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; src: url(/fonts/archivo-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; src: url(/fonts/archivo-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Archivo'; font-style: italic; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; src: url(/fonts/archivo-italic-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Archivo'; font-style: italic; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; src: url(/fonts/archivo-italic-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --background: #fafaf7;
  --foreground: #0b1240;
  --card: #ffffff;
  --card-foreground: #0b1240;
  --popover: #ffffff;
  --popover-foreground: #0b1240;
  --primary: #d62828;
  --primary-foreground: #ffffff;
  --secondary: #0b1240;
  --secondary-foreground: #fafaf7;
  --muted: #e3eef6;
  --muted-foreground: #705950;
  --accent: #efe5d3;
  --accent-foreground: #0b1240;
  --destructive: #b42318;
  --destructive-foreground: #ffffff;
  --border: #d9d2c9;
  --input: #ffffff;
  --ring: #0b1240;
  --chart-1: #6ea0c2;
  --chart-2: #0b1240;
  --chart-3: #c5a982;
  --chart-4: #705950;
  --chart-5: #d62828;
  --sidebar: #ffffff;
  --sidebar-foreground: #0b1240;
  --sidebar-primary: #d62828;
  --sidebar-primary-foreground: #ffffff;
  --sidebar-accent: #efe5d3;
  --sidebar-accent-foreground: #0b1240;
  --sidebar-border: #d9d2c9;
  --sidebar-ring: #0b1240;
  --font-sans: 'Archivo', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-display: 'Archivo', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --tracking-normal: 0em;
  --radius: 0.5rem;
  --spacing: 0.25rem;
  --shadow-2xs: 0 1px 2px 0 rgb(11 18 64 / 0.06);
  --shadow-xs: 0 1px 2px 0 rgb(11 18 64 / 0.08);
  --shadow-sm: 0 1px 3px 0 rgb(11 18 64 / 0.12), 0 1px 2px -1px rgb(11 18 64 / 0.1);
  --shadow: 0 1px 3px 0 rgb(11 18 64 / 0.12), 0 1px 2px -1px rgb(11 18 64 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(11 18 64 / 0.14), 0 2px 4px -2px rgb(11 18 64 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(11 18 64 / 0.16), 0 4px 6px -4px rgb(11 18 64 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(11 18 64 / 0.18), 0 8px 10px -6px rgb(11 18 64 / 0.1);
  --shadow-2xl: 0 25px 50px -12px rgb(11 18 64 / 0.3);
  /* Site colours (css/lmc.css). The palette stays the same in both modes; the surfaces below flip. */
  --sky: #6ea0c2;
  --sky-pale: #e3eef6;
  --navy: #0b1240;
  --mud: #705950;
  --sand: #c5a982;
  --gate: var(--primary);
  --chalk: #fafaf7;
  --surface-alt: #e3eef6;
  --gate-ink: #d62828;
}

.dark {
  --background: #0b1240;
  --foreground: #fafaf7;
  --card: #141c57;
  --card-foreground: #fafaf7;
  --popover: #141c57;
  --popover-foreground: #fafaf7;
  --primary: #d62828;
  --primary-foreground: #ffffff;
  --secondary: #fafaf7;
  --secondary-foreground: #0b1240;
  --muted: #141c57;
  --muted-foreground: #c4c9e3;
  --accent: #1d2766;
  --accent-foreground: #fafaf7;
  --destructive: #f87171;
  --destructive-foreground: #0b1240;
  --border: #2b3472;
  --input: #141c57;
  --ring: #6ea0c2;
  --chart-1: #6ea0c2;
  --chart-2: #fafaf7;
  --chart-3: #c5a982;
  --chart-4: #a58f84;
  --chart-5: #ff6b6b;
  --sidebar: #141c57;
  --sidebar-foreground: #fafaf7;
  --sidebar-primary: #d62828;
  --sidebar-primary-foreground: #ffffff;
  --sidebar-accent: #1d2766;
  --sidebar-accent-foreground: #fafaf7;
  --sidebar-border: #2b3472;
  --sidebar-ring: #6ea0c2;
  --surface-alt: #101755;
  --gate-ink: #ff7b7b;
}

/* Header and footer. Light: a chalk bar with navy text. Dark: a navy bar. The footer is navy in both modes. */
[data-theme-region="header"] { background: #fafaf7; color: #0b1240; border-color: #d9d2c9; }
.dark [data-theme-region="header"] { background: #0b1240; color: #fafaf7; border-color: #2b3472; }
[data-theme-region="footer"] { background: #0b1240; color: #fafaf7; border-color: #c5a982; }
.dark [data-theme-region="footer"] { background: #070b2b; color: #fafaf7; border-color: #c5a982; }
