'use client';

import type { ReactNode } from 'react';

import Header from '@/components/Header';
import AuthGuard from '@/components/AuthGuard';
import { AppRuntimeBridge } from '@/components/AppRuntimeBridge';

export function AppShell({ children }: { children: ReactNode }) {
  return (
    <div className="min-h-screen bg-background text-foreground">
      <Header />
      <main className="pt-16">
        <AuthGuard>
          <AppRuntimeBridge />
          {children}
        </AuthGuard>
      </main>
    </div>
  );
}
