'use client';

import {GuestGuard} from '@/features/auth/guards/GuestGuard';

/**
 * The unauthenticated surface: sign-in today, password reset and invitation
 * acceptance when they land.
 *
 * No shell — no sidebar, no top bar, no workspace scope — because none of it
 * means anything without an account, and mounting the providers behind it
 * would start fetching workspace data for a visitor who has not signed in.
 * The page owns its own full-bleed layout.
 */
export function PublicLayout({children}: {children: React.ReactNode}) {
  return <GuestGuard>{children}</GuestGuard>;
}
