/* The estate's ground, for the standalone app only (wheatley-ui's own CSS never sets
 * :root tokens, so inside entropic or Cloud the host's apply). The website's palette, as
 * Cloud's portal sets it: #e2e9e9 and black, untinted greys, AA inks in both themes. */

:root {
  --background: 226 233 233;
  --foreground: 0 0 0;
  --card: 246 246 246;
  --card-foreground: 0 0 0;
  --popover: 246 246 246;
  --popover-foreground: 0 0 0;
  --surface-raised: 246 246 246;
  --primary: 0 0 0;
  --primary-foreground: 255 255 255;
  --secondary: 237 237 237;
  --secondary-foreground: 0 0 0;
  --muted: 237 237 237;
  --muted-foreground: 82 82 82;
  --accent: 228 228 228;
  --accent-foreground: 0 0 0;
  --border: 194 194 194;
  --input: 122 122 122;
  --ring: 0 0 0;
  --focus-ring: 0 0 0;
  --destructive: 185 28 28;
  --destructive-foreground: 255 255 255;
  --success: 21 128 61;
  --success-foreground: 255 255 255;
  --warning: 146 64 14;
  --info: 29 78 216;
  --radius: 0.625rem;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --background: 0 0 0;
    --foreground: 226 233 233;
    --card: 20 20 20;
    --card-foreground: 226 233 233;
    --popover: 23 23 23;
    --popover-foreground: 226 233 233;
    --surface-raised: 20 20 20;
    --primary: 226 233 233;
    --primary-foreground: 0 0 0;
    --secondary: 31 31 31;
    --secondary-foreground: 226 233 233;
    --muted: 31 31 31;
    --muted-foreground: 163 163 163;
    --accent: 38 38 38;
    --accent-foreground: 226 233 233;
    --border: 46 46 46;
    --input: 107 107 107;
    --ring: 226 233 233;
    --focus-ring: 226 233 233;
    --destructive: 248 113 113;
    --destructive-foreground: 0 0 0;
    --success: 74 222 128;
    --success-foreground: 0 0 0;
    --warning: 252 211 77;
    --info: 147 197 253;
    color-scheme: dark;
  }
}

html, body { margin: 0; }
body {
  background: rgb(var(--background));
  color: rgb(var(--foreground));
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}
