@layer base {
  :root {
    color-scheme: light;

    /* A cool, near-white canvas with pure-white surfaces on top of it: the
       cards read as raised without needing heavy borders or shadows. */
    --background: 220 33% 98.2%; /* #f8fafc-ish, a touch bluer */
    --foreground: 222 47% 13%; /* deep navy, not black */

    --card: 0 0% 100%;
    --card-foreground: 222 47% 13%;

    --popover: 0 0% 100%;
    --popover-foreground: 222 47% 13%;

    --primary: 221 83% 53%; /* #2563eb */
    --primary-foreground: 0 0% 100%;

    --secondary: 220 30% 96%;
    --secondary-foreground: 222 40% 20%;

    --muted: 220 30% 96%;
    --muted-foreground: 218 13% 44%;

    /* Hover and selected rows take a faint wash of the brand blue rather
       than grey, which is most of what makes the chrome feel current. */
    --accent: 217 91% 96%;
    --accent-foreground: 221 70% 40%;

    --destructive: 0 72% 51%;
    --destructive-foreground: 0 0% 100%;

    --success: 152 60% 36%;
    --success-foreground: 0 0% 100%;

    --border: 220 22% 91%;
    --input: 220 20% 88%;
    --ring: 221 83% 53%;

    --radius: 12px;

    /* Layered, low-contrast shadows tinted with the foreground hue. */
    --shadow-soft: 0 1px 2px 0 hsl(222 47% 13% / 0.04), 0 1px 3px 0 hsl(222 47% 13% / 0.04);
    --shadow-raised: 0 2px 4px -1px hsl(222 47% 13% / 0.05), 0 8px 24px -6px hsl(222 47% 13% / 0.10);
  }
}

@layer base {
  * {
    @apply border-border;
  }
  html {
    -webkit-text-size-adjust: 100%;
    text-rendering: optimizeLegibility;
  }
  body {
    @apply bg-background text-foreground;
    font-feature-settings: "cv02", "cv03", "cv04", "cv11";
  }
  ::selection {
    background: hsl(var(--primary) / 0.18);
  }
}
