"use client";

import { AppShell } from "@/components/AppShell";
import { PolicyCaptura } from "@/components/PolicyCaptura";

/**
 * OCR mode of the policy intake screen. Drops the GMX PDF, walks through
 * per-page review, confirms. Same wrapper as `/polizas/nuevo` (manual)
 * with `initialMode="auto"`, so the tab strip is identical and swapping
 * modes doesn't drop state.
 *
 * Sister route `/polizas/captura/[id]` is the batch review screen once a
 * batch is uploaded.
 */
export default function CapturaOcrPage() {
  return (
    <AppShell>
      <PolicyCaptura initialMode="auto" />
    </AppShell>
  );
}