Skip to content

High-performance browser automation bridge and multi-instance orchestrator with advanced stealth injection and real-time dashboard.

4.8 KB
Raw Blame
@import "tailwindcss";

@theme {
  --font-sans:
    system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono:
    "SFMono-Regular", "Cascadia Code", "Fira Code", Consolas, ui-monospace,
    monospace;

  --color-bg-app: #0f1117;
  --color-bg-surface: #1a1d27;
  --color-bg-elevated: #222633;
  --color-bg-hover: #222633;
  --color-border-subtle: #ffffff1a;
  --color-border-default: #3b82f62e;
  --color-text-primary: #e2e8f0;
  --color-text-secondary: #94a3b8;
  --color-text-muted: #64748b;
  --color-primary: #60a5fa;
  --color-primary-hover: #93c5fd;
  --color-success: #22c55e;
  --color-warning: #fbbf24;
  --color-destructive: #ef4444;
  --color-info: #93c5fd;

  --spacing-page: 1rem;
}

:root,
html[data-site-mode="agent"] {
  --brand-bg-rgb: 15 17 23;
  --brand-surface-rgb: 26 29 39;
  --brand-surface-hover-rgb: 34 38 51;
  --brand-surface-code-rgb: 20 23 32;
  --brand-border-rgb: 59 130 246;
  --brand-border-subtle-rgb: 255 255 255;
  --brand-text-rgb: 226 232 240;
  --brand-text-muted-rgb: 148 163 184;
  --brand-text-dim-rgb: 100 116 139;
  --brand-accent-rgb: 96 165 250;
  --brand-accent-light-rgb: 147 197 253;
  --brand-accent-dark-rgb: 37 99 235;
  --brand-accent-contrast-rgb: 255 255 255;
  --theme-glow-rgb: 96 165 250;
  --selection-bg-rgb: 59 130 246;
  --panel-shadow:
    0 0 0 1px rgb(var(--brand-border-rgb) / 0.03), 0 24px 50px rgb(0 0 0 / 0.26);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background-color: rgb(var(--brand-bg-rgb));
  background-image: none;
  color: rgb(var(--brand-text-rgb));
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#root {
  min-height: 100vh;
}

::selection {
  background-color: rgb(var(--selection-bg-rgb) / 0.95);
  color: #000;
}

::-moz-selection {
  background-color: rgb(var(--selection-bg-rgb) / 0.95);
  color: #000;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:not([class]) {
  color: rgb(var(--brand-accent-rgb));
}

a:not([class]):hover {
  color: rgb(var(--brand-accent-light-rgb));
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

code {
  border-radius: 4px;
  background-color: rgb(var(--brand-accent-rgb) / 0.1);
  color: rgb(var(--brand-accent-light-rgb));
  font-family: var(--font-mono);
  font-size: 0.85em;
  padding: 2px 6px;
}

pre {
  overflow-x: auto;
  border: 1px solid rgb(var(--brand-border-subtle-rgb) / 0.12);
  border-radius: 16px;
  background-color: rgb(var(--brand-surface-code-rgb));
  color: rgb(var(--brand-text-rgb));
  padding: 1.5rem;
  font-size: 0.85rem;
  line-height: 1.8;
}

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

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

::-webkit-scrollbar-thumb {
  border-radius: 9999px;
  background: rgb(var(--brand-surface-hover-rgb));
}

::-webkit-scrollbar-thumb:hover {
  background: rgb(var(--brand-text-dim-rgb) / 0.9);
}

@layer utilities {
  .dashboard-shell {
    background-color: rgb(var(--brand-bg-rgb));
    color: rgb(var(--brand-text-rgb));
  }

  .dashboard-panel {
    background: linear-gradient(
      180deg,
      rgb(var(--brand-surface-rgb) / 0.98),
      rgb(var(--brand-surface-rgb) / 0.9)
    );
  }

  .dashboard-panel-hover {
    transition:
      background-color 0.18s ease,
      border-color 0.18s ease,
      transform 0.18s ease,
      box-shadow 0.18s ease;
  }

  .dashboard-panel-hover:hover {
    border-color: rgb(var(--brand-border-rgb) / 0.18);
    background: rgb(var(--brand-surface-hover-rgb));
    box-shadow:
      0 0 0 1px rgb(var(--brand-border-rgb) / 0.06),
      0 24px 50px rgb(0 0 0 / 0.3);
  }

  .dashboard-panel-selected {
    border-color: rgb(var(--brand-border-rgb) / 0.32);
    background: linear-gradient(
      180deg,
      rgb(var(--brand-accent-rgb) / 0.12),
      rgb(var(--brand-surface-hover-rgb) / 0.96)
    );
    box-shadow:
      0 0 0 1px rgb(var(--brand-border-rgb) / 0.08),
      0 0 36px rgb(var(--brand-accent-rgb) / 0.08);
  }

  .dashboard-section-label {
    color: rgb(var(--brand-accent-rgb));
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }

  .dashboard-section-title {
    color: rgb(var(--brand-text-dim-rgb));
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }

  .dashboard-mono {
    font-family: var(--font-mono);
  }

  .dashboard-grid {
    background-image:
      linear-gradient(rgb(255 255 255 / 0.025) 1px, transparent 1px),
      linear-gradient(90deg, rgb(255 255 255 / 0.025) 1px, transparent 1px);
    background-position: center;
    background-size: 18px 18px;
  }
}