/** Admin 端布局 — 警示风格：slate-950 Header + amber 主色。 */

export default function AdminLayout({ children }: { children: React.ReactNode }) {
  return (
    <div className="min-h-screen bg-slate-100">
      <header className="sticky top-0 z-10 flex h-14 items-center bg-[var(--admin-header-bg)] px-4">
        <span className="font-bold text-[var(--admin-primary)]">AIPortPilot</span>
        <span className="ml-2 inline-flex items-center rounded bg-[var(--admin-primary)]/20 px-1.5 py-0.5 text-xs font-medium text-[var(--admin-primary)]">
          ADMIN
        </span>
      </header>
      <main className="container mx-auto max-w-7xl px-4 py-6">{children}</main>
    </div>
  );
}
