/* Scoped application tokens. The public marketing theme is intentionally separate. */
.app-theme {
  --app-sidebar: #14121d;
  --app-workspace: #f6f7fb;
  --app-surface: #fff;
  --app-text: #191724;
  --app-muted: #596579;
  --app-purple: #7437e8;
  --app-purple-soft: #f3eeff;
  --app-border: #e6e7ed;
  --app-success: #087f5b;
  --app-warning: #925300;
  --app-error: #c62828;
  --app-space-1: .25rem;
  --app-space-2: .5rem;
  --app-space-3: .75rem;
  --app-space-4: 1rem;
  --app-space-6: 1.5rem;
  --app-space-8: 2rem;
  --app-radius: 12px;
  --app-radius-sm: 8px;
  --app-shadow: 0 2px 8px rgba(25,23,36,.035);
  --app-font: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  /* Compatibility tokens for existing evidence components. */
  --text: var(--app-text);
  --text-dim: var(--app-muted);
  --text-faint: var(--app-muted);
  --border: var(--app-border);
  --accent-electric: var(--app-purple);
  --accent: var(--app-purple);
  --warn: var(--app-warning);
  --warning: var(--app-warning);
  --danger: var(--app-error);
  color: var(--app-text);
  font-family: var(--app-font);
}
.app-theme :focus-visible { outline: 3px solid var(--app-purple) !important; outline-offset: 3px; }
.app-theme .app-card { background: var(--app-surface); border: 1px solid var(--app-border); border-radius: var(--app-radius); box-shadow: var(--app-shadow); padding: var(--app-space-6); }
.app-theme .app-link { color: var(--app-purple); }
