:root {
  --radius: 10px;
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Inter Tight", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: ui-serif, Georgia, "Times New Roman", serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --ring-offset: 2px;
  --background: #F3F5F8;
  --foreground: #101820;
  --card: #FFFFFF;
  --card-foreground: #101820;
  --popover: #FFFFFF;
  --popover-foreground: #101820;
  --primary: #1F4FA8;
  --primary-foreground: #FFFFFF;
  --secondary: #E5EAF0;
  --secondary-foreground: #2A3742;
  --muted: #E5EAF0;
  --muted-foreground: #56636F;
  --accent: #8A6520;
  --accent-foreground: #FFFFFF;
  --destructive: #B32318;
  --destructive-foreground: #FFFFFF;
  --border: #CDD6E0;
  --input: #CDD6E0;
  --ring: #1F4FA8;
  --chart-1: #1F4FA8;
  --chart-2: #2E7D6B;
  --chart-3: #8A6520;
  --chart-4: #6B4CA8;
  --chart-5: #3E4C5A;
  --sidebar: #FFFFFF;
  --sidebar-foreground: #101820;
  --sidebar-primary: #1F4FA8;
  --sidebar-primary-foreground: #FFFFFF;
  --sidebar-accent: #E5EAF0;
  --sidebar-accent-foreground: #101820;
  --sidebar-border: #CDD6E0;
  --sidebar-ring: #1F4FA8;
}

.dark {
  --background: #0C1015;
  --foreground: #E7EDF3;
  --card: #131A21;
  --card-foreground: #E7EDF3;
  --popover: #131A21;
  --popover-foreground: #E7EDF3;
  --primary: #7FA8F0;
  --primary-foreground: #06152E;
  --secondary: #1D262F;
  --secondary-foreground: #DCE4EC;
  --muted: #1D262F;
  --muted-foreground: #9AA8B6;
  --accent: #D2A85A;
  --accent-foreground: #1A1204;
  --destructive: #F2756A;
  --destructive-foreground: #2A0806;
  --border: #2B3641;
  --input: #2B3641;
  --ring: #7FA8F0;
  --chart-1: #7FA8F0;
  --chart-2: #5EC2A6;
  --chart-3: #D2A85A;
  --chart-4: #A990E8;
  --chart-5: #9AA8B6;
  --sidebar: #131A21;
  --sidebar-foreground: #E7EDF3;
  --sidebar-primary: #7FA8F0;
  --sidebar-primary-foreground: #06152E;
  --sidebar-accent: #1D262F;
  --sidebar-accent-foreground: #E7EDF3;
  --sidebar-border: #2B3641;
  --sidebar-ring: #7FA8F0;
}

/* Keyboard focus. Zero specificity — override it with any plain selector. */
@layer base {
  :where(a[href], button, input, select, textarea, summary, [tabindex]:not([tabindex="-1"])):focus-visible {
    outline: 2px solid var(--ring);
    outline-offset: var(--ring-offset, 2px);
  }
}

/* Keyboard focus. Zero specificity — override it with any plain selector. */
@layer base {
  :where(a[href], button, input, select, textarea, summary, [tabindex]:not([tabindex="-1"])):focus-visible {
    outline: 2px solid var(--ring);
    outline-offset: var(--ring-offset, 2px);
  }
}