/* Vela dashboard semantic tokens, shared by sign-in and the workspace. */
@font-face {
  font-family: "Vela Sans";
  src: url("/static/vela-sans.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Vela Display";
  src: url("/static/vela-display.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Vela Mono";
  src: url("/static/vela-mono.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --font-sans: "Vela Sans", Arial, sans-serif;
  --font-heading: "Vela Display", "Vela Sans", Arial, sans-serif;
  --font-mono: "Vela Mono", monospace;
  --motion-fast: 120ms;
  --motion-base: 180ms;
  --motion-slow: 240ms;
  --motion-ease: cubic-bezier(.16,1,.3,1);
  color-scheme: light;
  --background: #fafafa;
  --foreground: #191b1f;
  --card: #ffffff;
  --card-foreground: #191b1f;
  --popover: #ffffff;
  --popover-foreground: #191b1f;
  --primary: #007bee;
  --primary-foreground: #ffffff;
  --secondary: #f2f2f2;
  --secondary-foreground: #191b1f;
  --muted: #f2f2f2;
  --muted-foreground: #666666;
  --accent: #f2f2f2;
  --accent-foreground: #171717;
  --destructive: oklch(0.577 0.245 27.325);
  --border: #e5e7eb;
  --input: #d9d9d9;
  --ring: #007bee;
  --radius: 0.75rem;
  --sidebar: #fafafa;
  --sidebar-foreground: #333333;
  --sidebar-primary: #007bee;
  --sidebar-primary-foreground: #ffffff;
  --sidebar-accent: rgb(23 31 43 / 5.5%);
  --sidebar-accent-foreground: #191b1f;
  --sidebar-border: #e5e7eb;
  --sidebar-ring: #007bee;
  --vela-ink: #191b1f;
  --vela-abyss: #0a0a0a;
  --vela-sail: #ffffff;
  --vela-blue: #007bee;
  --vela-steel: #708197;
  --vela-cyan: #37c8f3;
  --vela-solar: #f5a524;
  --vela-wind: #37c8f3;
  --vela-storage: #2fcf86;
  --vela-success: #12845a;
  --vela-warning: #a65f00;
  --vela-info: #087ea4;
  --vela-shell: #fafafa;
  --vela-panel: #ffffff;
  --vela-panel-strong: #ffffff;
  --vela-panel-border: var(--border);
  --vela-raised-shadow: 0 1px 2px rgb(0 0 0 / 4%);
  --vela-rail-ease: cubic-bezier(0.32, 0.72, 0, 1);
  --vela-control-border: var(--input);
  --vela-control-bg: #f7f8fa;
  --vela-control-shadow:
    inset 0 1px 0 rgb(255 255 255 / 90%), 0 1px 2px rgb(0 0 0 / 5%);
  --vela-tab-active: #ffffff;
  --vela-tab-active-border: var(--border);
  --vela-tab-active-shadow: 0 1px 2px rgb(0 0 0 / 5%);
  --vela-action-foreground: #ffffff;
  --vela-primary-button-bg: linear-gradient(
    180deg,
    #55a2ff 0%,
    #087bf5 48%,
    #0064e8 100%
  );
  --vela-primary-button-border: rgb(105 171 255 / 86%);
  --vela-button-shadow:
    inset 0 1px 0 rgb(255 255 255 / 48%), inset 0 -1px 0 rgb(0 38 120 / 32%),
    0 8px 18px rgb(0 91 234 / 18%);
  --vela-button-shadow-hover:
    inset 0 1px 0 rgb(255 255 255 / 56%), inset 0 -1px 0 rgb(0 38 120 / 36%),
    0 10px 22px rgb(0 91 234 / 24%);
  --vela-button-shadow-active:
    inset 0 1px 4px rgb(0 38 120 / 32%), 0 1px 2px rgb(0 65 170 / 16%);
  --vela-scrim: rgb(0 0 0 / 32%);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --background: #000000;
  --foreground: #ededed;
  --card: #111111;
  --card-foreground: #ededed;
  --popover: #111111;
  --popover-foreground: #ededed;
  --primary: #52abff;
  --primary-foreground: #0a0a0a;
  --secondary: #1a1a1a;
  --secondary-foreground: #ededed;
  --muted: #1a1a1a;
  --muted-foreground: #a1a1a1;
  --accent: #1f1f1f;
  --accent-foreground: #ededed;
  --destructive: oklch(0.704 0.191 22.216);
  --border: rgb(255 255 255 / 9%);
  --input: rgb(255 255 255 / 14%);
  --ring: #52abff;
  --sidebar: #000000;
  --sidebar-foreground: #ededed;
  --sidebar-primary: #52abff;
  --sidebar-primary-foreground: #0a0a0a;
  --sidebar-accent: rgb(255 255 255 / 8%);
  --sidebar-accent-foreground: #ffffff;
  --sidebar-border: rgb(255 255 255 / 10%);
  --sidebar-ring: #52abff;
  --vela-ink: #0a0a0a;
  --vela-abyss: #000000;
  --vela-sail: #f5f5f5;
  --vela-blue: #007bee;
  --vela-steel: oklch(0.66 0.052 250);
  --vela-cyan: oklch(0.78 0.14 220);
  --vela-solar: #ffd166;
  --vela-wind: #70e1ff;
  --vela-storage: #69e6a7;
  --vela-success: #69e6a7;
  --vela-warning: #ffd166;
  --vela-info: #70e1ff;
  --vela-shell: #0a0a0a;
  --vela-panel: #111111;
  --vela-panel-strong: #161616;
  --vela-panel-border: rgb(255 255 255 / 9%);
  --vela-raised-shadow: none;
  --vela-control-border: var(--input);
  --vela-control-bg: rgb(255 255 255 / 4.5%);
  --vela-control-shadow:
    inset 0 1px 0 rgb(255 255 255 / 7%), 0 1px 2px rgb(0 0 0 / 18%);
  --vela-tab-active: #2a2a2a;
  --vela-tab-active-border: rgb(255 255 255 / 10%);
  --vela-tab-active-shadow:
    0 1px 2px rgb(0 0 0 / 40%), inset 0 1px 0 rgb(255 255 255 / 5%);
  --vela-action-foreground: #ffffff;
  --vela-primary-button-bg: linear-gradient(
    180deg,
    #3d9bff 0%,
    #0d7ef7 46%,
    #006fee 100%
  );
  --vela-primary-button-border: #1c86f6;
  --vela-button-shadow:
    inset 0 1px 0 rgb(255 255 255 / 26%), inset 0 -1px 0 rgb(0 29 101 / 35%),
    0 1px 2px rgb(0 0 0 / 40%), 0 4px 12px rgb(0 98 230 / 18%);
  --vela-button-shadow-hover:
    inset 0 1px 0 rgb(255 255 255 / 32%), inset 0 -1px 0 rgb(0 29 101 / 38%),
    0 2px 4px rgb(0 0 0 / 42%), 0 6px 16px rgb(0 98 230 / 24%);
  --vela-button-shadow-active:
    inset 0 1px 3px rgb(0 29 101 / 42%), 0 1px 2px rgb(0 0 0 / 32%);
  --vela-scrim: rgb(0 0 0 / 55%);
}

:root[data-theme="dark"] .vela-mark { content: url("/static/brand-dark.svg"); }
:root[data-theme="dark"] .vela-lockup { content: url("/static/vela-wordmark-dark.svg"); }
.theme-icon { display: inline-flex; width: 18px; height: 18px; align-items: center; justify-content: center; }
.theme-icon svg { width: 100%; height: 100%; }
@media (prefers-reduced-motion: reduce) {
  :root { --motion-fast: 0ms; --motion-base: 0ms; --motion-slow: 0ms; }
}
