import { AppShell } from "@/components/app-shell"
import { CompanyReport } from "@/components/reports/company-report"
import { SiteHeader } from "@/components/site-header"
import { requireAuthenticatedSession } from "@/lib/auth-server"

export const dynamic = "force-dynamic"

export default async function ReportsCompanyPage() {
  await requireAuthenticatedSession()
  return (
    <AppShell
      header={
        <SiteHeader
          title="Visão por Empresa"
          lead="Monitore tickets, inventário e colaboradores de um cliente específico em um só lugar."
        />
      }
    >
      <div className="mx-auto w-full max-w-6xl px-4 pb-12 lg:px-6">
        <CompanyReport />
      </div>
    </AppShell>
  )
}
