@import "@thinkwork/ui/theme.css";

/* Tailwind v4 scans the project root by default, but won't pick up
   Tailwind classes used inside the @thinkwork/ui workspace package
   (sidebar, tooltip, button variants, sr-only, etc.) without an
   explicit @source directive. Without this, shadcn primitives from
   the shared UI package render unstyled. */
@source "../../../packages/ui/src/**/*.{ts,tsx}";
@source "../../../packages/computer-stdlib/src/**/*.{ts,tsx}";

@keyframes tw-shimmer-character {
  0%,
  100% {
    color: #6b7280;
  }
  50% {
    color: #d1d5db;
  }
}

.tw-shimmer-char {
  animation: tw-shimmer-character 1.68s ease-in-out infinite;
}

/* Streamdown's built-in code block wraps the highlighted body in a second
   rounded card and an empty-when-unspecified language header. Inside our
   prose host, collapse the chrome to the single inner card. */
.ai-response [data-streamdown="code-block"] {
  margin-block: 0.75rem;
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 0;
  min-width: 0;
}
.ai-response [data-streamdown="code-block-header"] {
  display: none;
}
