@import "tailwindcss";
@import "tw-animate-css";
@import "../../node_modules/react-mentions-ts/styles/tailwind.css";
@import "./styles/markdown.css";

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

:root {
  --neutral-tint-rgb: rgb(90 132 154);
  --neutral-tint: #5a849a;
  --background: #f7f9fc;
  --foreground: rgb(27 33 43);
  --card: #ffffff;
  --card-foreground: rgb(27 33 43);
  --popover: #ffffff;
  --popover-foreground: rgb(27 33 43);
  --primary: oklch(0.56 0.1 214);
  --primary-foreground: oklch(0.98 0.004 230);
  --secondary: color-mix(in srgb, var(--neutral-tint-rgb) 14%, transparent);
  --secondary-foreground: rgb(35 43 54);
  --muted: color-mix(in srgb, var(--neutral-tint-rgb) 11%, transparent);
  --muted-foreground: rgb(87 98 114 / 0.9);
  --accent: color-mix(in srgb, var(--neutral-tint-rgb) 14%, transparent);
  --accent-foreground: rgb(35 43 54);
  --destructive: oklch(0.58 0.22 22);
  --destructive-foreground: oklch(0.99 0.004 90);
  --border: color-mix(in srgb, var(--neutral-tint-rgb) 20%, transparent);
  --input: color-mix(in srgb, var(--neutral-tint-rgb) 13%, transparent);
  --ring: oklch(0.56 0.1 214);
  --chart-1: oklch(0.58 0.07 220);
  --chart-2: oklch(0.66 0.08 170);
  --chart-3: oklch(0.62 0.07 250);
  --chart-4: oklch(0.71 0.06 205);
  --chart-5: oklch(0.5 0.06 240);
  --sidebar: rgb(255 255 255 / 0.92);
  --sidebar-foreground: var(--foreground);
  --sidebar-primary: oklch(0.56 0.1 214);
  --sidebar-primary-foreground: oklch(0.98 0.004 230);
  --sidebar-accent: color-mix(in srgb, var(--neutral-tint-rgb) 14%, transparent);
  --sidebar-accent-foreground: var(--accent-foreground);
  --sidebar-border: color-mix(in srgb, var(--neutral-tint-rgb) 16%, transparent);
  --sidebar-ring: oklch(0.56 0.1 214);
  --sidebar-card-bg: color-mix(in srgb, var(--neutral-tint-rgb) 6%, transparent);
  --sidebar-card-border: color-mix(in srgb, var(--neutral-tint-rgb) 20%, transparent);
  --sidebar-input-bg: color-mix(in srgb, var(--neutral-tint-rgb) 9%, transparent);
  --sidebar-input-border: color-mix(in srgb, var(--neutral-tint-rgb) 26%, transparent);
  --sidebar-control-off: color-mix(in srgb, var(--neutral-tint-rgb) 12%, transparent);
  --sidebar-control-on: color-mix(in oklch, var(--primary) 74%, var(--surface-2));
  --radius: 1rem;
  --radius-small: 6px;
  --radius-card: 14px;
  --radius-container: 20px;
  --font-display: "Bebas Neue", sans-serif;
  --font-sans: "IBM Plex Sans", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;
  --shadow-color: oklch(0.19 0.01 255);
  --shadow-opacity: 0.16;
  --shadow-blur: 28px;
  --shadow-spread: -6px;
  --shadow-offset-x: 0px;
  --shadow-offset-y: 10px;
  --letter-spacing: 0em;
  --spacing: 0.25rem;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --tracking-normal: 0.005em;
  --panel: color-mix(in oklch, var(--surface-1) 96%, white 4%);
  --panel-border: color-mix(in srgb, var(--neutral-tint-rgb) 20%, transparent);
  --surface-0: var(--background);
  --surface-1: var(--card);
  --surface-2: color-mix(in srgb, var(--neutral-tint-rgb) 8%, transparent);
  --surface-3: color-mix(in srgb, var(--neutral-tint-rgb) 14%, transparent);
  --surface-selected: color-mix(in srgb, var(--neutral-tint-rgb) 20%, transparent);
  --surface-selected-border: color-mix(in srgb, var(--neutral-tint-rgb) 34%, transparent);
  --elev-overlay-1: rgb(255 255 255 / 0.05);
  --elev-overlay-2: rgb(255 255 255 / 0.08);
  --elev-overlay-3: rgb(255 255 255 / 0.12);
  --elev-edge-1: color-mix(in oklch, var(--border) 70%, transparent);
  --elev-edge-2: color-mix(in oklch, var(--border) 84%, transparent);
  --plane-workspace-bg: color-mix(in oklch, var(--surface-1) 92%, var(--surface-0) 8%);
  --plane-workspace-border: color-mix(in oklch, var(--panel-border) 88%, var(--surface-0));
  --plane-sidepanel-bg: color-mix(in oklch, var(--surface-2) 12%, var(--surface-1));
  --plane-sidepanel-border: color-mix(in oklch, var(--panel-border) 94%, var(--surface-2));
  --plane-card-bg: color-mix(in oklch, var(--sidebar-card-bg) 92%, var(--surface-1));
  --plane-card-border: color-mix(in oklch, var(--sidebar-card-border) 92%, var(--surface-2));
  --chat-surface-bg: color-mix(in oklch, var(--surface-1) 92%, white 8%);
  --chat-assistant-bg: color-mix(in oklch, var(--surface-2) 92%, var(--surface-1));
  --chat-assistant-border: color-mix(in oklch, var(--border) 70%, transparent);
  --chat-user-bg: color-mix(in srgb, var(--neutral-tint-rgb) 8%, transparent);
  --chat-user-border: color-mix(in oklch, var(--border) 74%, transparent);
  --chat-user-header-bg: color-mix(in srgb, var(--neutral-tint-rgb) 12%, transparent);
  --action-bg: color-mix(in oklch, var(--primary) 92%, white 8%);
  --action-bg-hover: color-mix(in oklch, var(--primary) 88%, white 12%);
  --action-border: color-mix(in oklch, var(--primary) 52%, var(--border));
  --action-fg: var(--primary-foreground);
  --danger-soft-bg: color-mix(in oklch, var(--destructive) 13%, transparent);
  --danger-soft-border: color-mix(in oklch, var(--destructive) 34%, transparent);
  --danger-soft-fg: color-mix(in oklch, var(--destructive) 78%, black 22%);
  --status-idle-bg: color-mix(in oklch, var(--surface-3) 86%, transparent);
  --status-idle-border: color-mix(in oklch, var(--border) 74%, transparent);
  --status-idle-fg: color-mix(in oklch, var(--foreground) 72%, var(--muted-foreground) 28%);
  --status-running-bg: color-mix(in oklch, #1ea465 16%, transparent);
  --status-running-border: color-mix(in oklch, #1b8f59 38%, transparent);
  --status-running-fg: color-mix(in oklch, #0e6a40 72%, black 28%);
  --status-error-bg: var(--danger-soft-bg);
  --status-error-border: var(--danger-soft-border);
  --status-error-fg: var(--danger-soft-fg);
  --status-connecting-bg: color-mix(in oklch, #b97811 16%, transparent);
  --status-connecting-border: color-mix(in oklch, #9f660f 36%, transparent);
  --status-connecting-fg: color-mix(in oklch, #6a4100 78%, black 22%);
  --status-connected-bg: color-mix(in oklch, #21888f 18%, transparent);
  --status-connected-border: color-mix(in oklch, #1b7277 38%, transparent);
  --status-connected-fg: color-mix(in oklch, #15585c 78%, black 22%);
  --status-disconnected-bg: var(--status-idle-bg);
  --status-disconnected-border: var(--status-idle-border);
  --status-disconnected-fg: var(--status-idle-fg);
  --status-approval-bg: color-mix(in oklch, #a77113 16%, transparent);
  --status-approval-border: color-mix(in oklch, #8f6011 34%, transparent);
  --status-approval-fg: color-mix(in oklch, #6a4504 82%, black 18%);
  --command-bg: color-mix(in oklch, #081018 88%, var(--surface-1));
  --command-border: color-mix(in oklch, #344d5e 62%, transparent);
  --command-fg: rgb(234 242 248 / 0.98);
  --command-copy-bg: color-mix(in oklch, #182838 82%, var(--surface-1));
  --command-copy-hover-bg: color-mix(in oklch, #243c52 78%, var(--surface-1));
  --command-copy-border: color-mix(in oklch, #3d6178 62%, transparent);
  --model-control-border: color-mix(in oklch, var(--action-bg) 34%, var(--sidebar-input-border));
}

.dark {
  --radius: 1rem;
  --neutral-tint-rgb: rgb(108 146 176);
  --neutral-tint: #6c92b0;
  --background: #0b1118;
  --foreground: rgb(246 250 255 / 0.97);
  --card: #121a24;
  --card-foreground: rgb(246 250 255 / 0.97);
  --popover: #121a24;
  --popover-foreground: rgb(246 250 255 / 0.94);
  --primary: #22a8cc;
  --primary-foreground: rgb(247 252 255 / 0.98);
  --secondary: color-mix(in srgb, var(--neutral-tint-rgb) 14%, transparent);
  --secondary-foreground: rgb(246 250 255 / 0.95);
  --muted: color-mix(in srgb, var(--neutral-tint-rgb) 12%, transparent);
  --muted-foreground: rgb(224 236 248 / 0.78);
  --accent: color-mix(in srgb, var(--neutral-tint-rgb) 20%, transparent);
  --accent-foreground: rgb(246 250 255 / 0.94);
  --destructive: oklch(0.62 0.21 22);
  --destructive-foreground: rgb(255 255 255 / 0.96);
  --border: color-mix(in srgb, var(--neutral-tint-rgb) 30%, transparent);
  --input: color-mix(in srgb, var(--neutral-tint-rgb) 22%, transparent);
  --ring: #30bce2;
  --chart-1: oklch(0.69 0.09 218);
  --chart-2: oklch(0.7 0.08 170);
  --chart-3: oklch(0.68 0.08 255);
  --chart-4: oklch(0.7 0.07 205);
  --chart-5: oklch(0.62 0.07 240);
  --sidebar: #0f1721;
  --sidebar-foreground: rgb(246 250 255 / 0.94);
  --sidebar-primary: #22a8cc;
  --sidebar-primary-foreground: rgb(247 252 255 / 0.98);
  --sidebar-accent: color-mix(in srgb, var(--neutral-tint-rgb) 20%, transparent);
  --sidebar-accent-foreground: rgb(246 250 255 / 0.94);
  --sidebar-border: color-mix(in srgb, var(--neutral-tint-rgb) 24%, transparent);
  --sidebar-ring: #30bce2;
  --sidebar-card-bg: color-mix(in oklch, var(--surface-2) 88%, var(--surface-1));
  --sidebar-card-border: color-mix(in srgb, var(--neutral-tint-rgb) 36%, transparent);
  --sidebar-input-bg: color-mix(in oklch, var(--surface-2) 84%, var(--surface-1));
  --sidebar-input-border: color-mix(in srgb, var(--neutral-tint-rgb) 40%, transparent);
  --sidebar-control-off: color-mix(in oklch, var(--surface-2) 88%, var(--surface-1));
  --sidebar-control-on: color-mix(in oklch, var(--primary) 82%, var(--surface-2));
  --panel: color-mix(in oklch, var(--surface-1) 96%, black 4%);
  --panel-border: color-mix(in srgb, var(--neutral-tint-rgb) 36%, transparent);
  --shadow-color: oklch(0.08 0.012 250);
  --shadow-opacity: 0.24;
  --surface-0: #0b1118;
  --surface-1: #121a24;
  --surface-2: #1a2533;
  --surface-3: #223142;
  --surface-selected: #26384c;
  --surface-selected-border: #3c5a76;
  --elev-overlay-1: rgb(255 255 255 / 0.03);
  --elev-overlay-2: rgb(255 255 255 / 0.06);
  --elev-overlay-3: rgb(255 255 255 / 0.09);
  --elev-edge-1: color-mix(in oklch, var(--surface-selected-border) 42%, var(--border));
  --elev-edge-2: color-mix(in oklch, var(--surface-selected-border) 64%, var(--border));
  --plane-workspace-bg: color-mix(in oklch, var(--surface-1) 94%, var(--surface-0) 6%);
  --plane-workspace-border: color-mix(in oklch, var(--panel-border) 88%, var(--surface-0));
  --plane-sidepanel-bg: color-mix(in oklch, var(--surface-2) 20%, var(--surface-1));
  --plane-sidepanel-border: color-mix(in oklch, var(--panel-border) 96%, var(--surface-2));
  --plane-card-bg: color-mix(in oklch, var(--surface-2) 76%, var(--surface-1));
  --plane-card-border: color-mix(in oklch, var(--surface-selected-border) 44%, var(--border));
  --chat-surface-bg: color-mix(in oklch, var(--surface-1) 88%, black 12%);
  --chat-assistant-bg: color-mix(in oklch, var(--surface-2) 90%, var(--surface-1));
  --chat-assistant-border: color-mix(in oklch, var(--border) 74%, var(--surface-selected-border) 26%);
  --chat-user-bg: color-mix(in oklch, var(--surface-1) 86%, var(--surface-0));
  --chat-user-border: color-mix(in oklch, var(--border) 82%, transparent);
  --chat-user-header-bg: color-mix(in oklch, var(--surface-2) 72%, var(--surface-1));
  --action-bg: color-mix(in oklch, var(--primary) 88%, white 12%);
  --action-bg-hover: color-mix(in oklch, var(--primary) 84%, white 16%);
  --action-border: color-mix(in oklch, var(--primary) 68%, var(--border));
  --action-fg: var(--primary-foreground);
  --danger-soft-bg: color-mix(in oklch, var(--destructive) 18%, transparent);
  --danger-soft-border: color-mix(in oklch, var(--destructive) 42%, transparent);
  --danger-soft-fg: color-mix(in oklch, var(--destructive) 82%, white 18%);
  --status-idle-bg: color-mix(in oklch, var(--surface-3) 66%, var(--surface-2));
  --status-idle-border: color-mix(in oklch, var(--surface-selected-border) 78%, var(--border));
  --status-idle-fg: color-mix(in oklch, var(--foreground) 92%, var(--muted-foreground) 8%);
  --status-running-bg: color-mix(in oklch, #20aa68 22%, transparent);
  --status-running-border: color-mix(in oklch, #2ec57a 46%, transparent);
  --status-running-fg: color-mix(in oklch, #7be3ad 68%, white 32%);
  --status-error-bg: var(--danger-soft-bg);
  --status-error-border: var(--danger-soft-border);
  --status-error-fg: var(--danger-soft-fg);
  --status-connecting-bg: color-mix(in oklch, #b97811 24%, transparent);
  --status-connecting-border: color-mix(in oklch, #cf8a14 50%, transparent);
  --status-connecting-fg: color-mix(in oklch, #f5cb86 66%, white 34%);
  --status-connected-bg: color-mix(in oklch, #239199 24%, transparent);
  --status-connected-border: color-mix(in oklch, #27a8b0 52%, transparent);
  --status-connected-fg: color-mix(in oklch, #9be5e8 68%, white 32%);
  --status-disconnected-bg: var(--status-idle-bg);
  --status-disconnected-border: var(--status-idle-border);
  --status-disconnected-fg: var(--status-idle-fg);
  --status-approval-bg: color-mix(in oklch, #a77113 26%, transparent);
  --status-approval-border: color-mix(in oklch, #c68518 48%, transparent);
  --status-approval-fg: color-mix(in oklch, #f2c986 68%, white 32%);
  --command-bg: color-mix(in oklch, #060c12 90%, var(--surface-1));
  --command-border: color-mix(in oklch, #325066 68%, transparent);
  --command-fg: rgb(236 243 248 / 0.96);
  --command-copy-bg: color-mix(in oklch, #1b2d3f 86%, var(--surface-1));
  --command-copy-hover-bg: color-mix(in oklch, #254056 82%, var(--surface-1));
  --command-copy-border: color-mix(in oklch, #406882 66%, transparent);
  --model-control-border: color-mix(in oklch, var(--action-bg) 48%, var(--sidebar-input-border));
}

@theme inline {
  --color-background: var(--background);
  --color-foreground: var(--foreground);
  --color-card: var(--card);
  --color-card-foreground: var(--card-foreground);
  --color-popover: var(--popover);
  --color-popover-foreground: var(--popover-foreground);
  --color-primary: var(--primary);
  --color-primary-foreground: var(--primary-foreground);
  --color-secondary: var(--secondary);
  --color-secondary-foreground: var(--secondary-foreground);
  --color-muted: var(--muted);
  --color-muted-foreground: var(--muted-foreground);
  --color-accent: var(--accent);
  --color-accent-foreground: var(--accent-foreground);
  --color-destructive: var(--destructive);
  --color-destructive-foreground: var(--destructive-foreground);
  --color-border: var(--border);
  --color-input: var(--input);
  --color-ring: var(--ring);
  --color-chart-1: var(--chart-1);
  --color-chart-2: var(--chart-2);
  --color-chart-3: var(--chart-3);
  --color-chart-4: var(--chart-4);
  --color-chart-5: var(--chart-5);
  --color-sidebar: var(--sidebar);
  --color-sidebar-foreground: var(--sidebar-foreground);
  --color-sidebar-primary: var(--sidebar-primary);
  --color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
  --color-sidebar-accent: var(--sidebar-accent);
  --color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
  --color-sidebar-border: var(--sidebar-border);
  --color-sidebar-ring: var(--sidebar-ring);
  --color-shadow-color: var(--shadow-color);
  --color-surface-0: var(--surface-0);
  --color-surface-1: var(--surface-1);
  --color-surface-2: var(--surface-2);
  --color-surface-3: var(--surface-3);
  --radius-sm: var(--radius-small);
  --radius-md: var(--radius-small);
  --radius-lg: var(--radius-card);
  --radius-xl: var(--radius-container);
  --radius-2xl: var(--radius-container);
  --radius-3xl: var(--radius-container);
  --radius-4xl: var(--radius-container);
  --font-sans: var(--font-sans);
  --font-mono: var(--font-mono);
  --font-serif: "Baskervville", serif;
  --tracking-tighter: calc(var(--tracking-normal) - 0.05em);
  --tracking-tight: calc(var(--tracking-normal) - 0.025em);
  --tracking-wide: calc(var(--tracking-normal) + 0.025em);
  --tracking-wider: calc(var(--tracking-normal) + 0.05em);
  --tracking-widest: calc(var(--tracking-normal) + 0.1em);
  --tracking-normal: var(--tracking-normal);
  --shadow-2xs: 0 1px 1px color-mix(in oklch, var(--shadow-color) 10%, transparent);
  --shadow-xs: 0 2px 6px color-mix(in oklch, var(--shadow-color) 16%, transparent);
  --shadow-sm: 0 7px 18px -9px color-mix(in oklch, var(--shadow-color) 35%, transparent);
  --shadow: 0 10px 24px -14px color-mix(in oklch, var(--shadow-color) 42%, transparent);
  --shadow-md: 0 14px 36px -17px color-mix(in oklch, var(--shadow-color) 48%, transparent);
  --shadow-lg: 0 24px 60px -26px color-mix(in oklch, var(--shadow-color) 58%, transparent);
  --shadow-xl: 0 36px 90px -38px color-mix(in oklch, var(--shadow-color) 66%, transparent);
  --shadow-2xl: 0 44px 120px -45px color-mix(in oklch, var(--shadow-color) 78%, transparent);
}

@layer base {
  html {
    font-size: 112%;
  }

  * {
    @apply border-border outline-ring/50;
    box-sizing: border-box;
  }

  body {
    @apply bg-background text-foreground;
    min-height: 100vh;
    margin: 0;
    letter-spacing: var(--tracking-normal);
    font-family: var(--font-sans), sans-serif;
    position: relative;
    overflow: hidden;
  }

  body::before {
    content: "";
    position: fixed;
    inset: -30%;
    z-index: -2;
    background:
      radial-gradient(circle at 16% 18%, color-mix(in oklch, var(--border) 24%, transparent), transparent 42%),
      radial-gradient(circle at 84% 8%, color-mix(in oklch, var(--muted) 58%, transparent), transparent 34%),
      linear-gradient(148deg, color-mix(in oklch, var(--background) 94%, white) 0%, var(--background) 62%, color-mix(in oklch, var(--background) 90%, black) 100%);
    transform: rotate(-2deg) scale(1.04);
  }

  body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background-image:
      linear-gradient(transparent 95%, color-mix(in oklch, var(--border) 58%, transparent) 96%),
      linear-gradient(90deg, transparent 95%, color-mix(in oklch, var(--border) 52%, transparent) 96%);
    background-size: 30px 30px;
    opacity: 0.14;
    pointer-events: none;
  }

  .dark body::before {
    inset: 0;
    transform: none;
    background: var(--background);
  }

  .dark body::after {
    background-image: none;
    opacity: 0;
  }
}

button:not(:disabled),
input[type="button"]:not(:disabled),
input[type="submit"]:not(:disabled),
input[type="reset"]:not(:disabled),
summary,
[role="button"]:not([aria-disabled="true"]) {
  cursor: pointer;
}

* {
  scrollbar-width: thin;
  scrollbar-color: color-mix(in oklch, var(--foreground) 11%, var(--border)) transparent;
}

.dark * {
  scrollbar-color: color-mix(in oklch, var(--foreground) 34%, var(--border)) transparent;
}

*::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

*::-webkit-scrollbar-track {
  background: transparent;
}

*::-webkit-scrollbar-thumb {
  background: color-mix(in oklch, var(--foreground) 11%, var(--border));
  border-radius: 999px;
  border: 2px solid transparent;
}

*::-webkit-scrollbar-thumb:hover {
  background: color-mix(in oklch, var(--foreground) 17%, var(--border));
}

.dark *::-webkit-scrollbar-thumb {
  background: color-mix(in oklch, var(--foreground) 36%, var(--border));
}

.dark *::-webkit-scrollbar-thumb:hover {
  background: color-mix(in oklch, var(--foreground) 46%, var(--border));
}

textarea {
  scrollbar-gutter: auto;
}

textarea::-webkit-scrollbar {
  width: 0;
  height: 0;
}

textarea:hover::-webkit-scrollbar,
textarea:focus-visible::-webkit-scrollbar,
textarea:focus::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

.glass-panel {
  border: 0;
  background: var(--panel);
  backdrop-filter: none;
  border-radius: var(--radius-container);
  box-shadow: var(--shadow-xs);
}

.fade-up {
  animation: fadeUp 540ms cubic-bezier(0.2, 0.74, 0.2, 1) both;
}

.fade-up-delay {
  animation: fadeUp 540ms cubic-bezier(0.2, 0.74, 0.2, 1) 120ms both;
}

.agent-avatar-selected {
  box-shadow: 0 0 0 2px color-mix(in oklch, var(--primary) 36%, transparent);
}

.agent-name-selected {
  border-color: color-mix(in oklch, var(--primary) 40%, var(--border));
  box-shadow: inset 0 0 0 1px color-mix(in oklch, var(--primary) 16%, transparent);
}

.agent-inspect-panel {
  position: relative;
  height: 100%;
  width: 100%;
  border-radius: var(--radius-container);
  background: transparent;
  color: var(--sidebar-foreground);
  border: 0;
  box-shadow: none;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: color-mix(in oklch, var(--border) 60%, transparent) transparent;
}

.sidebar-shell {
  box-shadow: var(--shadow-xs);
  background: color-mix(in oklch, var(--panel) 84%, white 16%);
}

.dark .sidebar-shell {
  box-shadow: var(--shadow-2xs);
  background: var(--plane-sidepanel-bg);
}

.sidebar-section {
  padding-block: 1.5rem;
}

.sidebar-section:first-of-type {
  padding-top: 1rem;
}

.sidebar-section + .sidebar-section {
  margin-top: 2rem;
}

.sidebar-section-title {
  font-size: 1rem;
  line-height: 1.2;
  font-weight: 600;
  color: color-mix(in oklch, var(--foreground) 96%, var(--muted-foreground) 4%);
}

.sidebar-copy {
  font-size: 0.82rem;
  line-height: 1.55;
}

.sidebar-card {
  border: 1px solid var(--sidebar-card-border);
  border-radius: var(--radius-card);
  background: var(--sidebar-card-bg);
  box-shadow: 0 1px 2px color-mix(in oklch, var(--foreground) 5%, transparent);
}

.sidebar-input {
  border: 1px solid var(--sidebar-input-border);
  background: var(--sidebar-input-bg);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.sidebar-input:focus,
.sidebar-input:focus-visible {
  border-color: color-mix(in oklch, var(--ring) 72%, var(--sidebar-input-border));
  box-shadow: 0 0 0 3px color-mix(in oklch, var(--ring) 22%, transparent) !important;
}

.ui-switch {
  position: relative;
  display: inline-flex;
  height: 32px;
  width: 54px;
  align-items: center;
  border-radius: var(--radius-small);
  border: 0;
  background: var(--sidebar-control-off);
  box-shadow: inset 0 0 0 1px color-mix(in oklch, var(--foreground) 8%, transparent);
  transition:
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.ui-switch--on {
  background: var(--sidebar-control-on);
  box-shadow: inset 0 0 0 1px color-mix(in oklch, var(--sidebar-control-on) 56%, transparent);
}

.ui-switch-thumb {
  height: 26px;
  width: 26px;
  border-radius: calc(var(--radius-small) - 2px);
  background: var(--primary-foreground);
  box-shadow: 0 2px 5px color-mix(in oklch, black 20%, transparent);
  transform: translateX(3px);
  transition: transform 180ms ease;
}

.ui-switch--on .ui-switch-thumb {
  transform: translateX(25px);
}

.sidebar-btn-primary {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: calc(var(--radius) + 0.16rem);
  border: 1px solid var(--action-border);
  background: var(--action-bg);
  color: var(--action-fg);
  transition: filter 180ms ease;
}

.sidebar-btn-primary:hover {
  filter: brightness(1.04);
}

.sidebar-btn-ghost {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: calc(var(--radius) + 0.08rem);
  border: 1px solid color-mix(in oklch, var(--border) 92%, transparent);
  background: color-mix(in oklch, var(--surface-1) 82%, transparent);
  color: color-mix(in oklch, var(--foreground) 76%, var(--muted-foreground) 24%);
  transition:
    border-color 180ms ease,
    background-color 180ms ease;
}

.sidebar-btn-ghost:hover {
  border-color: color-mix(in oklch, var(--border) 76%, var(--foreground) 24%);
  background: color-mix(in oklch, var(--surface-2) 88%, transparent);
}

.sidebar-btn-utility {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: color-mix(in oklch, var(--muted-foreground) 78%, var(--foreground) 22%);
  transition: color 180ms ease;
}

.sidebar-btn-utility:hover {
  color: color-mix(in oklch, var(--foreground) 72%, var(--muted-foreground) 28%);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.ui-panel {
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-card);
  background: var(--panel);
  box-shadow: var(--shadow-sm);
}

.dark .ui-panel {
  border-color: var(--plane-workspace-border);
  background: var(--plane-workspace-bg);
  box-shadow: var(--shadow-2xs);
}

.ui-depth-workspace {
  background: var(--plane-workspace-bg);
}

.dark .ui-depth-workspace {
  border-color: var(--plane-workspace-border);
  background: var(--plane-workspace-bg);
  box-shadow:
    inset 0 1px 0 var(--elev-overlay-1),
    var(--shadow-2xs);
}

.ui-depth-sidepanel {
  background: var(--plane-sidepanel-bg);
}

.dark .ui-depth-sidepanel {
  border-color: var(--plane-sidepanel-border);
  background: var(--plane-sidepanel-bg);
  box-shadow:
    0 0 0 1px color-mix(in oklch, var(--elev-edge-1) 72%, transparent),
    inset 0 1px 0 var(--elev-overlay-1),
    var(--shadow-xs);
}

.ui-section,
.sidebar-section {
  padding-block: 1.5rem;
}

.ui-section:first-of-type,
.sidebar-section:first-of-type {
  padding-top: 1rem;
}

.ui-section + .ui-section,
.sidebar-section + .sidebar-section {
  margin-top: 1.5rem;
}

.sidebar-section + .sidebar-section {
  border-top: 1px solid color-mix(in oklch, var(--border) 66%, transparent);
  padding-top: 1.35rem;
}

.ui-section-title,
.sidebar-section-title {
  font-size: 1rem;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: color-mix(in oklch, var(--foreground) 96%, var(--muted-foreground) 4%);
}

.sidebar-section-title {
  display: inline-flex;
  align-items: center;
  min-height: 1.7rem;
  border: 1px solid color-mix(in oklch, var(--border) 72%, transparent);
  border-radius: calc(var(--radius-small) - 2px);
  padding: 0.12rem 0.5rem;
  background: color-mix(in oklch, var(--surface-2) 86%, transparent);
}

.ui-card,
.sidebar-card {
  border: 1px solid var(--sidebar-card-border);
  border-radius: var(--radius-card);
  background: var(--sidebar-card-bg);
  box-shadow: 0 1px 2px color-mix(in oklch, var(--foreground) 5%, transparent);
}

.dark .ui-card,
.dark .sidebar-card {
  border-color: var(--plane-card-border);
  background: var(--plane-card-bg);
  box-shadow:
    inset 0 1px 0 var(--elev-overlay-1),
    0 1px 2px color-mix(in oklch, var(--foreground) 10%, transparent);
}

.ui-menu-popover {
  background: var(--popover);
}

.ui-card-selected {
  border-color: var(--surface-selected-border);
  background: var(--surface-selected);
  box-shadow:
    inset 0 0 0 1px color-mix(in oklch, var(--primary) 38%, transparent),
    0 1px 2px color-mix(in oklch, var(--foreground) 7%, transparent);
}

.dark .ui-card-selected {
  border-color: color-mix(in oklch, var(--primary) 32%, var(--plane-card-border));
  background: color-mix(in oklch, var(--surface-selected) 78%, var(--plane-card-bg));
  box-shadow:
    inset 0 0 0 1px color-mix(in oklch, var(--primary) 48%, transparent),
    inset 0 1px 0 var(--elev-overlay-2),
    0 1px 2px color-mix(in oklch, var(--foreground) 10%, transparent);
}

.ui-card-select-indicator {
  pointer-events: none;
  position: absolute;
  left: 0;
  top: 0.7rem;
  bottom: 0.7rem;
  width: 5px;
  border-radius: 0 9999px 9999px 0;
  background: linear-gradient(
    180deg,
    color-mix(in oklch, var(--primary) 96%, white 4%) 0%,
    color-mix(in oklch, var(--primary) 84%, var(--surface-selected-border)) 55%,
    color-mix(in oklch, var(--primary) 68%, var(--surface-selected-border)) 100%
  );
  transition: opacity 180ms ease;
}

.ui-input,
.sidebar-input {
  border: 1px solid var(--sidebar-input-border);
  background: var(--sidebar-input-bg);
  color: color-mix(in oklch, white 92%, var(--foreground) 8%);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.ui-input::placeholder,
.sidebar-input::placeholder {
  color: color-mix(in oklch, white 58%, var(--muted-foreground) 42%);
}

.ui-input:focus,
.ui-input:focus-visible,
.sidebar-input:focus,
.sidebar-input:focus-visible {
  border-color: color-mix(in oklch, var(--ring) 72%, var(--sidebar-input-border));
  box-shadow: 0 0 0 3px color-mix(in oklch, var(--ring) 22%, transparent) !important;
}

.ui-btn-primary,
.sidebar-btn-primary {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-small);
  border: 1px solid var(--action-border);
  background: var(--action-bg);
  color: var(--action-fg);
  transition: filter 180ms ease;
}

.ui-btn-primary:hover,
.sidebar-btn-primary:hover {
  background: var(--action-bg-hover);
  filter: none;
}

.ui-btn-send {
  border-radius: var(--radius-small);
  background: color-mix(in oklch, var(--action-bg) 92%, var(--surface-1));
}

.ui-btn-send:hover {
  background: color-mix(in oklch, var(--action-bg-hover) 92%, var(--surface-1));
}

.ui-btn-secondary {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-small);
  border: 1px solid color-mix(in oklch, var(--border) 82%, transparent);
  background: color-mix(in oklch, var(--surface-1) 92%, transparent);
  color: color-mix(in oklch, var(--foreground) 74%, var(--muted-foreground) 26%);
  transition:
    border-color 180ms ease,
    background-color 180ms ease;
}

.ui-btn-secondary:hover {
  border-color: color-mix(in oklch, var(--border) 62%, var(--foreground) 38%);
  background: color-mix(in oklch, var(--surface-2) 90%, transparent);
}

.ui-btn-ghost,
.sidebar-btn-ghost {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-small);
  border: 0;
  background: color-mix(in oklch, var(--surface-1) 82%, transparent);
  color: color-mix(in oklch, var(--foreground) 76%, var(--muted-foreground) 24%);
  transition:
    border-color 180ms ease,
    background-color 180ms ease;
}

.ui-btn-ghost:hover,
.sidebar-btn-ghost:hover {
  background: color-mix(in oklch, var(--surface-2) 96%, transparent);
  box-shadow: var(--shadow-2xs);
}

.ui-btn-icon {
  --ui-btn-icon-size: 2.25rem;
  display: inline-flex;
  height: var(--ui-btn-icon-size);
  width: var(--ui-btn-icon-size);
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-small);
  border: 0;
  background: color-mix(in oklch, var(--surface-3) 92%, transparent);
  color: color-mix(in oklch, var(--foreground) 72%, var(--muted-foreground) 28%);
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

.ui-btn-icon-sm {
  --ui-btn-icon-size: 1.95rem;
}

.ui-btn-icon-xs {
  --ui-btn-icon-size: 1.6rem;
}

.agent-avatar-shuffle-btn {
  border: 1px solid color-mix(in oklch, var(--border) 74%, transparent);
  background: color-mix(in oklch, var(--surface-1) 92%, var(--surface-2));
  color: color-mix(in oklch, var(--foreground) 80%, var(--muted-foreground) 20%);
  box-shadow: 0 1px 2px color-mix(in oklch, var(--foreground) 14%, transparent);
  opacity: 0.92;
}

.ui-btn-icon.agent-avatar-shuffle-btn:hover,
.ui-btn-icon.agent-avatar-shuffle-btn:focus-visible {
  opacity: 1;
  background: color-mix(in oklch, var(--surface-1) 98%, var(--surface-2));
  color: color-mix(in oklch, var(--foreground) 92%, var(--muted-foreground) 8%);
  box-shadow: 0 1px 3px color-mix(in oklch, var(--foreground) 18%, transparent);
}

.ui-topbar {
  border-bottom: 1px solid color-mix(in oklch, var(--border) 72%, transparent);
  border-radius: 0;
  background: color-mix(in oklch, var(--surface-1) 96%, var(--surface-0));
  box-shadow: none;
}

.dark .ui-topbar {
  border-bottom-color: color-mix(in oklch, var(--border) 88%, var(--surface-selected-border));
  background: color-mix(in oklch, var(--surface-1) 94%, var(--surface-0));
}

.ui-topbar .ui-btn-icon {
  --ui-btn-icon-size: 1.55rem;
  background: transparent;
  box-shadow: none;
}

.ui-topbar .ui-btn-icon:hover {
  background: color-mix(in oklch, var(--surface-2) 72%, transparent);
  box-shadow: none;
}

.ui-btn-icon:hover {
  background: color-mix(in oklch, var(--surface-2) 98%, transparent);
  box-shadow: var(--shadow-2xs);
  color: color-mix(in oklch, var(--foreground) 88%, var(--muted-foreground) 12%);
}

.ui-segment {
  display: grid;
  gap: 0.45rem;
  border: 1px solid color-mix(in oklch, var(--border) 78%, transparent);
  border-radius: var(--radius-small);
  padding: 0.2rem;
  background: color-mix(in oklch, var(--surface-2) 78%, transparent);
  box-shadow: none;
}

.ui-segment-command-mode {
  gap: 0.46rem;
  padding: 0.32rem;
}

.dark .ui-segment-command-mode {
  border-color: color-mix(in oklch, var(--border) 94%, transparent);
  background: color-mix(in oklch, var(--surface-2) 92%, var(--surface-1));
  box-shadow: inset 0 1px 0 var(--elev-overlay-1);
}

.ui-segment-item {
  border: 1px solid transparent;
  border-radius: calc(var(--radius-small) - 2px);
  background: color-mix(in oklch, var(--surface-1) 88%, var(--surface-2));
  color: color-mix(in oklch, var(--foreground) 64%, var(--muted-foreground) 36%);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  box-shadow: none;
  transition:
    background-color 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease;
}

.ui-segment-item[data-active="true"],
.ui-segment-item[aria-pressed="true"] {
  background: color-mix(in oklch, var(--surface-selected) 88%, var(--surface-1));
  border: 1px solid var(--surface-selected-border);
  color: color-mix(in oklch, var(--foreground) 90%, var(--muted-foreground) 10%);
  box-shadow: inset 0 0 0 1px color-mix(in oklch, var(--primary) 24%, transparent);
}

.ui-segment-fleet-filter {
  padding-left: 0;
  padding-right: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.ui-segment-fleet-filter .ui-segment-item {
  border: 0;
  box-shadow: none;
}

.ui-segment-fleet-filter .ui-segment-item[data-active="true"],
.ui-segment-fleet-filter .ui-segment-item[aria-pressed="true"] {
  border: 0;
  box-shadow: none;
}

.ui-segment-command-mode .ui-segment-item {
  min-height: 2.125rem;
  border-color: color-mix(in oklch, var(--border) 68%, transparent);
  background: color-mix(in oklch, var(--surface-1) 86%, var(--surface-2));
  color: color-mix(in oklch, var(--foreground) 74%, var(--muted-foreground) 26%);
}

.dark .ui-segment-command-mode .ui-segment-item {
  border-color: color-mix(in oklch, var(--border) 78%, transparent);
  background: color-mix(in oklch, var(--surface-1) 90%, var(--surface-2));
  color: color-mix(in oklch, var(--foreground) 80%, var(--muted-foreground) 20%);
}

.ui-segment-command-mode .ui-segment-item[data-active="true"],
.ui-segment-command-mode .ui-segment-item[aria-pressed="true"] {
  color: color-mix(in oklch, var(--foreground) 96%, var(--muted-foreground) 4%);
  border-color: color-mix(in oklch, var(--primary) 64%, var(--surface-selected-border));
  background: color-mix(in oklch, var(--primary) 24%, var(--surface-selected));
  box-shadow:
    inset 0 1px 0 var(--elev-overlay-2),
    inset 0 0 0 1px color-mix(in oklch, var(--primary) 42%, transparent);
}

.ui-selected {
  background: var(--surface-selected);
  border: 1px solid var(--surface-selected-border);
  box-shadow: inset 0 0 0 1px color-mix(in oklch, var(--primary) 24%, transparent);
}

.ui-chat-scroll {
  border: 1px solid color-mix(in oklch, var(--border) 72%, transparent);
  border-radius: var(--radius-card);
  background: var(--chat-surface-bg);
  --foreground: #ffffff;
}

.dark .ui-chat-scroll {
  border-color: color-mix(in oklch, var(--plane-workspace-border) 90%, var(--border));
  background: color-mix(in oklch, var(--surface-1) 95%, var(--surface-0));
}

.ui-chat-scroll-borderless {
  border: 0 !important;
  border-radius: 0;
  background: transparent;
}

.dark .ui-chat-scroll-borderless {
  border: 0 !important;
  background: transparent;
}

.ui-chat-user-card {
  border: 1px solid var(--chat-user-border);
  background: var(--chat-user-bg);
  box-shadow: 0 1px 3px color-mix(in oklch, var(--foreground) 8%, transparent);
}

.ui-chat-assistant-card {
  border: 1px solid var(--chat-assistant-border);
  border-radius: var(--radius-small);
  background: var(--chat-assistant-bg);
  padding: 0.92rem 1.08rem;
  box-shadow: inset 0 1px 0 var(--elev-overlay-1);
}

.dark .ui-chat-assistant-card {
  padding: 1rem 1.2rem;
  box-shadow:
    inset 0 1px 0 var(--elev-overlay-2),
    0 1px 2px color-mix(in oklch, var(--foreground) 10%, transparent);
}

.ui-chat-thinking {
  border: 1px solid color-mix(in oklch, var(--border) 48%, transparent);
  background: color-mix(in oklch, var(--surface-1) 92%, transparent);
  color: color-mix(in oklch, var(--muted-foreground) 86%, var(--foreground) 14%);
}

.ui-settings-row {
  border: 1px solid color-mix(in oklch, var(--border) 56%, transparent);
  border-radius: var(--radius-small);
  background: color-mix(in oklch, var(--surface-2) 78%, transparent);
}

.ui-chip {
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-small);
  border: 1px solid var(--status-idle-border);
  background: var(--status-idle-bg);
  box-shadow: inset 0 1px 0 var(--elev-overlay-1);
  color: var(--status-idle-fg);
}

.ui-scroll {
  scrollbar-width: thin;
  scrollbar-color: color-mix(in oklch, var(--border) 60%, transparent) transparent;
}

.dark .ui-scroll {
  scrollbar-color: color-mix(in oklch, var(--foreground) 36%, var(--border)) transparent;
}

.ui-scroll::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.ui-scroll::-webkit-scrollbar-thumb {
  border-radius: 9999px;
  background: color-mix(in oklch, var(--border) 58%, transparent);
}

.dark .ui-scroll::-webkit-scrollbar-thumb {
  background: color-mix(in oklch, var(--foreground) 34%, var(--border));
}

.dark .ui-scroll::-webkit-scrollbar-thumb:hover {
  background: color-mix(in oklch, var(--foreground) 44%, var(--border));
}

.lucide {
  stroke-width: 1.75;
}

.agent-inspect-panel .text-\[10px\] {
  font-size: 11px;
}

.agent-inspect-panel .text-\[11px\] {
  font-size: 12px;
}

[data-agent-panel] .text-\[10px\] {
  font-size: 11px;
}

[data-agent-panel] .text-\[11px\] {
  font-size: 12px;
}

.console-title {
  font-family: var(--font-display), sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.type-page-title {
  font-size: 23px;
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: 0.005em;
}

.type-agent-name {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
}

.type-secondary-heading {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
}

.type-body {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.68;
}

.type-meta {
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0.01em;
}

.ui-badge {
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-small);
  padding: 0.18rem 0.58rem;
  font-family: var(--font-mono), monospace;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.045em;
  line-height: 1.1;
}

.ui-control-important {
  border-color: var(--model-control-border);
  background: color-mix(in oklch, var(--surface-1) 80%, var(--surface-2));
  box-shadow: 0 1px 2px color-mix(in oklch, var(--foreground) 8%, transparent);
}

.ui-alert-danger {
  border: 1px solid var(--danger-soft-border);
  background: var(--danger-soft-bg);
  color: var(--danger-soft-fg);
}

.ui-text-danger {
  color: var(--danger-soft-fg);
}

.ui-text-success {
  color: var(--status-running-fg);
}

.ui-badge-status-idle {
  border: 1px solid var(--status-idle-border);
  background: var(--status-idle-bg);
  color: var(--status-idle-fg);
  box-shadow: inset 0 1px 0 var(--elev-overlay-1);
}

.ui-badge-status-running {
  border: 1px solid var(--status-running-border);
  background: var(--status-running-bg);
  color: var(--status-running-fg);
}

.ui-badge-status-error {
  border: 1px solid var(--status-error-border);
  background: var(--status-error-bg);
  color: var(--status-error-fg);
}

.ui-badge-status-connecting {
  border: 1px solid var(--status-connecting-border);
  background: var(--status-connecting-bg);
  color: var(--status-connecting-fg);
}

.ui-badge-status-connected {
  border: 1px solid var(--status-connected-border);
  background: var(--status-connected-bg);
  color: var(--status-connected-fg);
}

.ui-badge-status-disconnected {
  border: 1px solid var(--status-disconnected-border);
  background: var(--status-disconnected-bg);
  color: var(--status-disconnected-fg);
}

.ui-badge-approval {
  border: 1px solid var(--status-approval-border);
  background: var(--status-approval-bg);
  color: var(--status-approval-fg);
}

.ui-btn-danger {
  border: 1px solid var(--danger-soft-border);
  background: var(--danger-soft-bg);
  color: var(--danger-soft-fg);
}

.ui-btn-danger:hover {
  background: color-mix(in oklch, var(--destructive) 20%, transparent);
}

.ui-btn-icon-danger {
  color: var(--danger-soft-fg);
}

.ui-btn-icon-danger:hover {
  background: color-mix(in oklch, var(--destructive) 18%, transparent);
  color: var(--danger-soft-fg);
}

.ui-dot-status-disconnected,
.ui-dot-status-connecting,
.ui-dot-status-connected {
  border-radius: 9999px;
}

.ui-dot-status-disconnected {
  background: var(--status-disconnected-fg);
}

.ui-dot-status-connecting {
  background: var(--status-connecting-fg);
}

.ui-dot-status-connected {
  background: var(--status-connected-fg);
}

.ui-command-surface {
  border: 1px solid var(--command-border);
  background: var(--command-bg);
}

.ui-command-surface code {
  color: var(--command-fg);
}

.ui-command-copy {
  border: 1px solid var(--command-copy-border);
  background: var(--command-copy-bg);
  color: var(--command-fg);
}

.ui-command-copy:hover {
  background: var(--command-copy-hover-bg);
}

.status-ping {
  opacity: 0.9;
}

.typing-dots {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.typing-dots > span {
  width: 4px;
  height: 4px;
  border-radius: 9999px;
  background: currentColor;
  opacity: 0.28;
  animation: typingPulse 960ms ease-in-out infinite;
}

.typing-dots > span:nth-child(2) {
  animation-delay: 160ms;
}

.typing-dots > span:nth-child(3) {
  animation-delay: 320ms;
}

:where(button, input, textarea, select, [role="button"], summary):focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
  box-shadow: none !important;
}

.agent-rename-input:focus,
.agent-rename-input:focus-visible {
  outline: none !important;
  outline-offset: 0;
  border-color: color-mix(in oklch, var(--ring) 62%, var(--sidebar-input-border));
  box-shadow: 0 0 0 2px color-mix(in oklch, var(--ring) 20%, transparent) !important;
}

.agent-rename-control:focus-visible {
  outline: none !important;
  outline-offset: 0;
  box-shadow: 0 0 0 2px color-mix(in oklch, var(--ring) 20%, transparent) !important;
}

.chat-composer-input {
  color: #ffffff;
}

.type-agent-name {
  color: #ffffff;
}

.chat-composer-input:focus,
.chat-composer-input:focus-visible {
  outline: none !important;
  outline-offset: 0 !important;
  box-shadow: none !important;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes typingPulse {
  0%,
  80%,
  100% {
    opacity: 0.28;
    transform: translateY(0);
  }
  40% {
    opacity: 0.95;
    transform: translateY(-1px);
  }
}
