/*
 * Dashboard design tokens. docs/specs/2026-11-11-dashboard-design-tokens.md owns every value and the contrast table.
 * Since 2026-11-21 the neutral, brand and accent values come from the landing page palette (the light values) and
 * values derived from it (the dark values); the spec's palette section says which is which.
 * The red, amber, green and blue status values are copied from @radix-ui/colors 3.0.0 (the sRGB blocks), and the
 * dark status text colors and --destructive-background are adjusted values between Radix steps.
 *
 * MIT License
 *
 * Copyright (c) 2021 Radix
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in all
 * copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 * SOFTWARE.
 */
:root {
  --background: #fbfbf7;
  --card: #ffffff;
  --muted: #edf3ea;
  --foreground: #1a211d;
  --muted-foreground: #465148;
  --border: #c8cdc6;
  --input: #646f65;
  --primary: #202720;
  --primary-foreground: #ffffff;
  --primary-hover-overlay: #8ce2b726;
  --ring: #00805a;
  --accent: #b8e9c9;
  --accent-foreground: #204a34;

  --destructive: #641723;
  --destructive-background: #feebec;
  --destructive-border: #f4a9aa;
  --warning: #4f3422;
  --warning-background: #fff7c2;
  --warning-border: #e9c162;
  --success: #193b2d;
  --success-background: #e6f6eb;
  --success-border: #8eceaa;
  --info: #113264;
  --info-background: #e6f4fe;
  --info-border: #8ec8f6;

  /* Text, spacing and radius tokens. */
  --font-size-h1: 28px;
  --line-height-h1: 1.3;
  --font-size-h1-mobile: 24px;
  --font-size-h2: 20px;
  --line-height-h2: 1.3;
  --font-size-h3: 17px;
  --line-height-h3: 1.3;
  --font-size-body: 15px;
  --line-height-body: 1.6;
  --font-size-help: 13px;
  --line-height-help: 1.5;
  --font-size-caption: 12px;
  --line-height-caption: 1.5;
  --font-size-input-mobile: 16px;
  --line-height-input-mobile: 1.6;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;

  --radius-sm: 4px;
  --radius: 6px;
  --radius-lg: 10px;
  --radius-full: 9999px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --background: #111512;
    --card: #1b211d;
    --muted: #252d27;
    --foreground: #e1e8e1;
    --muted-foreground: #9faba2;
    --border: #29312b;
    --input: #7a877c;
    --primary: #7fcfa6;
    --primary-foreground: #10261a;
    --ring: #8ce2b7;
    --accent: #1d4431;
    --accent-foreground: #a6dcc0;

    --destructive: #f08a84;
    --destructive-background: #500f1c;
    --destructive-border: #8c333a;
    --warning: #c9a961;
    --warning-background: #302008;
    --warning-border: #714f19;
    --success: #76b994;
    --success-background: #132d21;
    --success-border: #28684a;
    --info: #84abd4;
    --info-background: #0d2847;
    --info-border: #205d9e;
  }
}
