Skip to content

Open-source agentic AI Search Execution Platform. Track AI visibility, find opportunities, and let agents turn signals into prioritized actions and drafted fixes across ChatGPT, Claude, Gemini, Google AI Overviews, Google AI Mode, Perplexity, Grok, and Microsoft Copilot.

9.5 KB
Raw Blame
@import "tailwindcss";
@import "tw-animate-css";
@import "shadcn/tailwind.css";
@plugin "@tailwindcss/typography";

@custom-variant dark (&:is(.dark *));

@theme inline {
  --color-background: var(--background);
  --color-foreground: var(--foreground);
  --font-sans: 'Inter', ui-sans-serif, system-ui, sans-serif;
  --font-mono: var(--font-geist-mono);
  --color-sidebar-ring: var(--sidebar-ring);
  --color-sidebar-border: var(--sidebar-border);
  --color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
  --color-sidebar-accent: var(--sidebar-accent);
  --color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
  --color-sidebar-primary: var(--sidebar-primary);
  --color-sidebar-foreground: var(--sidebar-foreground);
  --color-sidebar: var(--sidebar);
  --color-chart-5: var(--chart-5);
  --color-chart-4: var(--chart-4);
  --color-chart-3: var(--chart-3);
  --color-chart-2: var(--chart-2);
  --color-chart-1: var(--chart-1);
  --color-ring: var(--ring);
  --color-input: var(--input);
  --color-border: var(--border);
  --color-destructive: var(--destructive);
  --color-accent-foreground: var(--accent-foreground);
  --color-accent: var(--accent);
  --color-muted-foreground: var(--muted-foreground);
  --color-muted: var(--muted);
  --color-secondary-foreground: var(--secondary-foreground);
  --color-secondary: var(--secondary);
  --color-primary-foreground: var(--primary-foreground);
  --color-primary: var(--primary);
  --color-popover-foreground: var(--popover-foreground);
  --color-popover: var(--popover);
  --color-card-foreground: var(--card-foreground);
  --color-card: var(--card);
  --radius-sm: calc(var(--radius) * 0.6);
  --radius-md: calc(var(--radius) * 0.8);
  --radius-lg: var(--radius);
  --radius-xl: calc(var(--radius) * 1.4);
  --radius-2xl: calc(var(--radius) * 1.8);
  --radius-3xl: calc(var(--radius) * 2.2);
  --radius-4xl: calc(var(--radius) * 2.6);
}

:root {
  /* Page ground a shade lighter than the sidebar, so white cards stand out. */
  --background: oklch(0.985 0.001 106.4);
  --foreground: oklch(0.145 0 0);
  --card: oklch(1 0 0);
  --card-foreground: oklch(0.145 0 0);
  --popover: oklch(1 0 0);
  --popover-foreground: oklch(0.145 0 0);
  --primary: oklch(0.205 0 0);
  --primary-foreground: oklch(0.985 0 0);
  --secondary: oklch(0.97 0 0);
  --secondary-foreground: oklch(0.205 0 0);
  --muted: oklch(0.97 0 0);
  --muted-foreground: oklch(0.556 0 0);
  --accent: oklch(0.97 0 0);
  --accent-foreground: oklch(0.205 0 0);
  --destructive: oklch(0.58 0.22 27);
  --border: oklch(0.922 0 0);
  --input: oklch(0.922 0 0);
  --ring: oklch(0.708 0 0);
  --chart-1: oklch(0.809 0.105 251.813);
  --chart-2: oklch(0.623 0.214 259.815);
  --chart-3: oklch(0.546 0.245 262.881);
  --chart-4: oklch(0.488 0.243 264.376);
  --chart-5: oklch(0.424 0.199 265.638);
  --radius: 0.625rem;
  /* A step darker than the page, so the navigation reads as its own column;
     the hover tone sits below it so items still highlight. */
  --sidebar: oklch(0.945 0 0);
  --sidebar-foreground: oklch(0.145 0 0);
  --sidebar-primary: oklch(0.205 0 0);
  --sidebar-primary-foreground: oklch(0.985 0 0);
  --sidebar-accent: oklch(0.91 0 0);
  --sidebar-accent-foreground: oklch(0.205 0 0);
  --sidebar-border: oklch(0.922 0 0);
  --sidebar-ring: oklch(0.708 0 0);
}

.dark {
  --background: oklch(0.145 0 0);
  --foreground: oklch(0.985 0 0);
  --card: oklch(0.205 0 0);
  --card-foreground: oklch(0.985 0 0);
  --popover: oklch(0.205 0 0);
  --popover-foreground: oklch(0.985 0 0);
  --primary: oklch(0.87 0.00 0);
  --primary-foreground: oklch(0.205 0 0);
  --secondary: oklch(0.269 0 0);
  --secondary-foreground: oklch(0.985 0 0);
  --muted: oklch(0.269 0 0);
  --muted-foreground: oklch(0.708 0 0);
  --accent: oklch(0.371 0 0);
  --accent-foreground: oklch(0.985 0 0);
  --destructive: oklch(0.704 0.191 22.216);
  --border: oklch(1 0 0 / 10%);
  --input: oklch(1 0 0 / 15%);
  --ring: oklch(0.556 0 0);
  --chart-1: oklch(0.809 0.105 251.813);
  --chart-2: oklch(0.623 0.214 259.815);
  --chart-3: oklch(0.546 0.245 262.881);
  --chart-4: oklch(0.488 0.243 264.376);
  --chart-5: oklch(0.424 0.199 265.638);
  --sidebar: oklch(0.205 0 0);
  --sidebar-foreground: oklch(0.985 0 0);
  --sidebar-primary: oklch(0.488 0.243 264.376);
  --sidebar-primary-foreground: oklch(0.985 0 0);
  --sidebar-accent: oklch(0.371 0 0);
  --sidebar-accent-foreground: oklch(0.985 0 0);
  --sidebar-border: oklch(1 0 0 / 10%);
  --sidebar-ring: oklch(0.556 0 0);
}

@layer base {
  * {
    @apply border-border outline-ring/50;
  }
  body {
    @apply bg-background text-foreground;
  }
  html {
    @apply font-sans;
  }
}

@utility container {
  margin-inline: auto;
  padding-inline: 1.5rem;
  width: 100%;

  @media (width >= 640px) {
    max-width: 640px;
  }
  @media (width >= 768px) {
    max-width: 768px;
    padding-inline: 2rem;
  }
  @media (width >= 1024px) {
    max-width: 1024px;
  }
  @media (width >= 1280px) {
    max-width: 1280px;
  }
  @media (width >= 1536px) {
    max-width: 1536px;
  }
}

/*
 * The Content Agent card's motion (Content Editor v1.1, CE-026), and its
 * waiting page's: subtle, and never a rotating ring. Each element that moves
 * also takes motion-reduce:animate-none, so all of it stops with reduced
 * motion.
 */
@theme {
  --animate-agent-ring: agent-ring 2.2s ease-out infinite;
  --animate-agent-ring-slow: agent-ring 3s ease-out infinite;
  --animate-agent-blink: agent-blink 4s infinite;
  --animate-agent-spark: agent-spark 1.6s ease-in-out infinite;
  --animate-agent-breathe: agent-breathe 1.6s ease-in-out infinite;
  --animate-agent-sweep: agent-sweep 1.6s ease-in-out infinite;
  --animate-agent-look: agent-look 1.2s ease-in-out infinite;
  --animate-agent-dot: agent-dot 1.2s infinite;
  --animate-agent-slide: agent-slide 1.4s ease-in-out infinite;
  --animate-agent-fill: agent-fill 6s ease-out infinite both;

  @keyframes agent-ring {
    0% {
      transform: scale(0.9);
      opacity: 0.9;
    }
    100% {
      transform: scale(1.25);
      opacity: 0;
    }
  }
  @keyframes agent-blink {
    0%,
    92%,
    100% {
      transform: scaleY(1);
    }
    95% {
      transform: scaleY(0.1);
    }
  }
  @keyframes agent-spark {
    0%,
    100% {
      opacity: 0.3;
      transform: scale(0.7);
    }
    50% {
      opacity: 1;
      transform: scale(1.1);
    }
  }
  @keyframes agent-breathe {
    0%,
    100% {
      box-shadow: 0 0 0 0 color-mix(in oklab, var(--foreground) 10%, transparent);
    }
    50% {
      box-shadow: 0 0 0 6px color-mix(in oklab, var(--foreground) 6%, transparent);
    }
  }
  @keyframes agent-sweep {
    0% {
      background-position: 150% 0;
    }
    100% {
      background-position: -100% 0;
    }
  }
  @keyframes agent-look {
    0%,
    100% {
      transform: translateX(-1px);
    }
    50% {
      transform: translateX(1.5px);
    }
  }
  @keyframes agent-dot {
    0%,
    80%,
    100% {
      opacity: 0.25;
      transform: translateY(0);
    }
    40% {
      opacity: 1;
      transform: translateY(-2px);
    }
  }
  @keyframes agent-slide {
    0% {
      transform: translateX(-100%);
    }
    100% {
      transform: translateX(340%);
    }
  }
  /* A line of the page drawn in, kept a while, then gone for the next pass. */
  @keyframes agent-fill {
    0% {
      transform: scaleX(0);
      opacity: 0;
    }
    10% {
      opacity: 1;
    }
    30%,
    85% {
      transform: scaleX(1);
      opacity: 1;
    }
    100% {
      transform: scaleX(1);
      opacity: 0;
    }
  }
}

/*
 * Chat's shared agent pieces (components/agentic), as in the Chat v2
 * mockups: the avatar at work (breathes and bobs) and waiting (an amber ring
 * that grows out), the list dots (a ring out of the running dot, a nudge of
 * the one that needs you), the step under way and the done tick that pops in
 * once. The avatar reuses the Content Agent's blink, spark, look and sweep.
 * Each element that moves also takes motion-reduce:animate-none.
 */
@theme {
  --color-agent-spark: #d9b98a;
  --animate-agent-work:
    agent-breathe 1.6s ease-in-out infinite, agent-bob 1.4s ease-in-out infinite;
  --animate-agent-wait: agent-wait 2s ease-out infinite;
  --animate-agent-dot-ring: agent-dot-ring 1.6s ease-out infinite;
  --animate-agent-nudge: agent-nudge 2.4s ease-in-out infinite;
  --animate-agent-step: agent-step 2s ease-in-out infinite;
  --animate-agent-tick: agent-tick 0.42s ease-out 1;

  @keyframes agent-bob {
    0%,
    100% {
      transform: translateY(0) rotate(0);
    }
    25% {
      transform: translateY(-2px) rotate(-3deg);
    }
    50% {
      transform: translateY(0) rotate(0);
    }
    75% {
      transform: translateY(-1px) rotate(3deg);
    }
  }
  @keyframes agent-wait {
    0% {
      transform: scale(0.92);
      opacity: 0.9;
    }
    100% {
      transform: scale(1.2);
      opacity: 0;
    }
  }
  @keyframes agent-dot-ring {
    0% {
      transform: scale(0.5);
      opacity: 0.8;
    }
    100% {
      transform: scale(1.3);
      opacity: 0;
    }
  }
  @keyframes agent-nudge {
    0%,
    90%,
    100% {
      transform: translateY(0);
    }
    93% {
      transform: translateY(-2px);
    }
    96% {
      transform: translateY(1px);
    }
  }
  /* The step's soft ring (its ring-* colour) widens and fades back. */
  @keyframes agent-step {
    0%,
    100% {
      box-shadow: 0 0 0 3px var(--tw-ring-color);
    }
    50% {
      box-shadow: 0 0 0 6px color-mix(in oklab, var(--tw-ring-color) 60%, transparent);
    }
  }
  @keyframes agent-tick {
    0% {
      transform: scale(0.55);
      opacity: 0;
    }
    65% {
      transform: scale(1.12);
      opacity: 1;
    }
    100% {
      transform: scale(1);
    }
  }
}