/* Brekfuz Design System — global entry point, FLATTENED.
   Vendored from claude.ai/design project "Brekfuz Design System"
   (567d5671-16a9-44a6-b8f8-44462d4d0fc7). Formerly imports-only: the browser could not
   discover the eight real sheets until this file landed, which put a second serial round
   trip in front of first paint on every cold navigation — and the bare @import URLs
   revalidated every five minutes forever. One file, one fetch, the immutable ?v= tier.
   The eight fragments stay on disk as the re-sync source; re-run the concatenation when
   they change (their order below is the old import order). Do not edit sections here;
   edit the fragment and re-flatten. */

/* ── bkz/fonts.css ─────────────────────────────── */
/* ── Fonts ─────────────────────────────────────────────────────────────────
   Brekfuz ships NO webfonts. The product renders in the PLATFORM UI FONT — SF
   Pro on macOS/iOS, Segoe UI Variable on Windows, Roboto on Android — and in the
   platform mono for code. The design system reproduces the stacks verbatim. */
:root {
  --bkz-font-sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --bkz-font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --bkz-font-brand: var(--bkz-font-sans);
}

/* ── bkz/colors.css ─────────────────────────────── */
/* Brekfuz colors — lifted verbatim from apps/web/src/app/globals.css.
   FOUR surface families coexist in production. Do not blend them. */
:root {
  --brand: #2681c4;
  --brand-strong: color-mix(in srgb, var(--brand) 82%, #000);
  --brand-soft: color-mix(in srgb, var(--brand) 12%, #fff);
  --brand-softer: color-mix(in srgb, var(--brand) 7%, #fff);
  --brand-ink: color-mix(in srgb, var(--brand) 72%, #12203a);
  --brand-contrast: #ffffff;

  --bkz-white: #ffffff;
  --bkz-black: #0a0a0a;

  --bkz-bg: #f5f3f0;
  --bkz-bg-shell: #f9f9f9;
  --bkz-surface: #ffffff;
  --bkz-surface-sunken: #fafafa;
  --bkz-surface-input: #fbfbfb;
  --bkz-surface-inverse: #202020;
  --bkz-surface-inverse-deep: #111111;
  --bkz-surface-graph: #080808;
  --bkz-card-strong: rgba(245, 243, 240, 0.7);
  --bkz-border: rgba(148, 142, 132, 0.20);
  --bkz-border-hairline: #eaeaea;
  --bkz-border-rail: #ececec;
  --bkz-border-soft: #f0f0f0;
  --bkz-border-input: #e1e1e1;

  --bkz-ink: #0f172a;
  --bkz-muted: #64748b;
  --bkz-ink-black: #000000;
  --bkz-ink-strong: #202020;
  --bkz-ink-rail: #3a3a3a;
  --bkz-ink-body: #555555;
  --bkz-ink-muted: #666666;
  --bkz-ink-soft: #707070;
  --bkz-ink-slate: #9aa4b2;
  --bkz-ink-faint: #8b8b8b;
  --bkz-ink-ghost: #909090;
  --bkz-ink-disabled: #c0c0c0;

  --bkz-amber-300: #fcd34d;
  --bkz-amber-400: #fbbf24;
  --bkz-orange-300: #fdba74;
  --bkz-rose-200: #fecdd3;
  --bkz-stone-300: #d6d3d1;
  --bkz-stone-400: #a8a29e;
  --bkz-warm-200: #e7e0d8;

  --bkz-accent: #6366f1;
  --bkz-accent-2: #818cf8;
  --bkz-accent-deep: #4f46e5;
  --bkz-accent-glow: rgba(99, 102, 241, 0.18);
  --bkz-accent-subtle: rgba(99, 102, 241, 0.06);

  --glass-bg: rgba(255, 255, 255, 0.52);
  --glass-bg-hover: rgba(255, 255, 255, 0.62);
  --glass-border: rgba(255, 255, 255, 0.65);
  --glass-border-strong: rgba(255, 255, 255, 0.85);
  --glass-shine: rgba(255, 255, 255, 0.18);

  --bkz-coral: #F17463;
  --bkz-coral-tint: #fbeeeb;
  --bkz-coral-ink: #98463b;

  --bkz-cream-page: #fbfaf7;
  --bkz-cream-card: #fffdf8;
  --bkz-cream-raised: #fffaf0;
  --bkz-cream-sunken: #f8f5ee;
  --bkz-cream-chip: #f3efe6;
  --bkz-cream-chip-hover: #ece6d8;
  --bkz-cream-warm: #f7f5f0;
  --bkz-cream-border: #e8e3d8;
  --bkz-cream-border-soft: #f0eadf;
  --bkz-cream-border-card: #eee8dc;
  --bkz-cream-border-hero: #e7e0d4;
  --bkz-cream-border-panel: #e5ddce;
  --bkz-cream-border-input: #ded6c7;
  --bkz-cream-track: #efe9dc;
  --bkz-cream-ink: #211f1a;
  --bkz-cream-ink-strong: #28241d;
  --bkz-cream-ink-body: #5d5547;
  --bkz-cream-ink-muted: #6b6152;
  --bkz-cream-ink-soft: #7a7468;
  --bkz-cream-ink-faint: #8a8070;
  --bkz-cream-ink-ghost: #a89f8d;
  --bkz-cream-cta: #2d251b;
  --bkz-cream-cta-hover: #3b3125;

  --bkz-sage-card: #fbfdf9;
  --bkz-sage-border: #dfe8df;

  --bkz-auth-ink: #071845;
  --bkz-auth-ink-body: #52638c;
  --bkz-auth-muted: #657397;
  --bkz-auth-faint: #7b89ad;
  --bkz-auth-icon: #8292b8;
  --bkz-blue: #2681c4;
  --bkz-blue-strong: #1f6fa8;
  /* The lit end of the auth-primary gradient. Was a raw hex in app.css's .login-primary. */
  --bkz-blue-strong-bright: #3f97d9;
  --bkz-blue-deep: #18567f;
  --bkz-blue-link: #1f6fa8;
  --bkz-blue-tint: #eaf4fb;
  --bkz-blue-tint-soft: #f2f8fc;
  --bkz-auth-border: #dde4f6;
  --bkz-auth-border-input: #d8def0;
  --bkz-auth-rule: #dce3f5;
  --bkz-auth-line: rgba(92, 118, 255, 0.15);

  --bkz-brand-tint: #e9f2fb;
  --bkz-brand-tint-alt: #e8f0fb;
  --bkz-brand-border: #b7d0ef;
  --bkz-brand-light: #6da7ec;
  --bkz-brand-mark-light: #48a4e0;
  --bkz-brand-blue: #2681c4;
  --bkz-brand-mid: #2a78d6;
  --bkz-brand-strong-alt: #256abf;
  --bkz-brand-deep: #1c5f92;
  --bkz-brand-ring: rgba(42, 120, 214, 0.15);

  --bkz-web-blue: #1f40ed;
  --bkz-web-ink: #0d0f14;
  --bkz-web-paper: #f7f6f2;
  --bkz-web-rule: rgba(13, 15, 20, 0.14);
  --bkz-web-meta: rgba(13, 15, 20, 0.45);

  --bkz-success: #059669;
  --bkz-success-alt: #37a45d;
  --bkz-success-deep: #0f9e6e;
  --bkz-success-ink: #2f6741;
  --bkz-success-tint: #f1fbf4;
  --bkz-success-border: #cfe8d7;

  --bkz-warn: #d97706;
  --bkz-warn-alt: #cf9022;
  --bkz-warn-soft: #d0b36b;
  --bkz-warn-ink: #7c5310;
  --bkz-warn-tint: #f6f0e4;

  --bkz-danger: #dc2626;
  --bkz-danger-alt: #c94f3f;
  --bkz-danger-ink: #8a3429;
  --bkz-danger-tint: #fff6f4;
  --bkz-danger-border: #f4d4cf;
  --bkz-danger-alert-bg: #fff8f7;
  --bkz-danger-alert-ink: #7a2e24;
  --bkz-danger-alert-border: #f3d5d0;

  --bkz-slack-blue: #36C5F0;
  --bkz-slack-green: #2EB67D;
  --bkz-slack-yellow: #ECB22E;
  --bkz-slack-red: #E01E5A;
  --bkz-node-user: #F17463;
  --bkz-node-message: #888888;
  --bkz-node-channel: #2563eb;
  --bkz-node-thread: #10b981;

  --text-heading: var(--bkz-ink);
  --text-body: var(--bkz-ink-body);
  --text-muted: var(--bkz-muted);
  --text-on-inverse: var(--bkz-white);
  --surface-page: var(--bkz-bg);
  --surface-card: var(--bkz-surface);
  --surface-profile-card: var(--bkz-cream-card);
  --border-card: var(--bkz-border);
  --accent: var(--brand);
  --accent-auth: var(--bkz-blue);
}

/* ── bkz/typography.css ─────────────────────────────── */
/* Type scale — every size is a literal from apps/web/src. Whole pixels, never
   a t-shirt scale. Tight tracking on display, wide on eyebrows. */
:root {
  --bkz-text-3xs: 9px;
  --bkz-text-2xs: 10px;
  --bkz-text-xs: 11px;
  --bkz-text-sm: 12px;
  --bkz-text-base: 13px;
  --bkz-text-md: 14px;
  --bkz-text-lg: 15px;
  --bkz-text-xl: 16px;
  --bkz-text-2xl: 17px;
  --bkz-text-3xl: 18px;
  --bkz-text-4xl: 24px;
  --bkz-text-5xl: 28px;
  --bkz-text-6xl: 30px;
  --bkz-text-7xl: 38px;
  --bkz-text-8xl: 44px;

  --bkz-weight-regular: 400;
  --bkz-weight-medium: 500;
  --bkz-weight-semibold: 600;
  --bkz-weight-650: 650;
  --bkz-weight-bold: 700;

  --bkz-leading-none: 1;
  --bkz-leading-tight: 1.25;
  --bkz-leading-snug: 1.5;
  --bkz-leading-body: 1.55;
  --bkz-leading-relaxed: 1.7;

  --bkz-tracking-display: -0.055em;
  --bkz-tracking-tight: -0.035em;
  --bkz-tracking-snug: -0.02em;
  --bkz-tracking-card: -0.01em;
  --bkz-tracking-normal: 0;
  --bkz-tracking-eyebrow: 0.16em;
  --bkz-tracking-eyebrow-wide: 0.18em;
  --bkz-tracking-eyebrow-widest: 0.28em;
}

/* ── bkz/spacing.css ─────────────────────────────── */
/* Spacing — the Tailwind 4px rhythm, plus the layout maxima from shell.tsx. */
:root {
  --bkz-space-0-5: 2px;
  --bkz-space-1: 4px;
  --bkz-space-1-5: 6px;
  --bkz-space-2: 8px;
  --bkz-space-2-5: 10px;
  --bkz-space-3: 12px;
  --bkz-space-3-5: 14px;
  --bkz-space-4: 16px;
  --bkz-space-5: 20px;
  --bkz-space-6: 24px;
  --bkz-space-7: 28px;
  --bkz-space-8: 32px;
  --bkz-space-9: 36px;
  --bkz-space-10: 40px;
  --bkz-space-14: 56px;

  --bkz-shell-max: 1280px;
  --bkz-auth-max: 1500px;
  --bkz-shell-pad-x: 16px;
  --bkz-shell-pad-x-lg: 24px;
  --bkz-shell-pad-y: 24px;
  --bkz-grid-gap: 20px;
  --bkz-card-gap: 12px;
  --bkz-card-pad: 16px;
  --bkz-panel-pad: 20px;
  --bkz-auth-card-pad: 36px;
}

/* ── bkz/radii.css ─────────────────────────────── */
/* Corner radii. Brekfuz is aggressively round. */
:root {
  --bkz-radius-xs: 4px;
  --bkz-radius-sm: 6px;
  --bkz-radius-md: 8px;
  --bkz-radius-lg: 11px;
  --bkz-radius-auth: 12px;
  --bkz-radius-xl: 12px;
  --bkz-radius-2xl: 14px;
  --bkz-radius-3xl: 16px;
  --bkz-radius-4xl: 20px;
  --bkz-radius-5xl: 24px;
  --bkz-radius-panel: 28px;
  --bkz-radius-panel-lg: 32px;
  --bkz-radius-auth-card: 30px;
  --bkz-radius-full: 9999px;
}

/* ── bkz/elevation.css ─────────────────────────────── */
/* Shadows — wide, low-opacity and tinted to their family; never grey drops. */
:root {
  --bkz-shadow-hairline: 0 1px 2px rgba(0, 0, 0, 0.03);
  --bkz-shadow-xs: 0 1px 3px rgba(0, 0, 0, 0.03);
  --bkz-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
  --bkz-shadow-menu: 0 8px 24px rgba(0, 0, 0, 0.08);
  --bkz-shadow-modal: 0 8px 32px rgba(0, 0, 0, 0.12);
  --bkz-shadow-avatar: 0 4px 14px rgba(0, 0, 0, 0.3);
  --bkz-shadow-searchbar: 0 12px 32px rgba(32, 32, 32, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);

  --bkz-shadow-profile-panel: 0 18px 50px rgba(55, 45, 25, 0.08);
  --bkz-shadow-profile-hover: 0 10px 30px rgba(55, 45, 25, 0.07);

  --bkz-shadow-auth-card: 0 28px 80px rgba(20, 35, 90, 0.12), 0 8px 24px rgba(20, 35, 90, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  --bkz-shadow-auth-query: 0 28px 70px rgba(35, 55, 120, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.96);
  --bkz-shadow-auth-source: 0 18px 46px rgba(73, 100, 243, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.94);
  --bkz-shadow-auth-source-hover: 0 28px 70px rgba(73, 100, 243, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.94);
  --bkz-shadow-auth-primary: 0 18px 40px rgba(73, 100, 243, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  --bkz-shadow-auth-primary-hover: 0 22px 48px rgba(73, 100, 243, 0.30), inset 0 1px 0 rgba(255, 255, 255, 0.42);

  --glass-shadow: 0 2px 12px rgba(15, 23, 42, 0.04), 0 8px 32px rgba(15, 23, 42, 0.03);
  --glass-shadow-lg: 0 4px 20px rgba(15, 23, 42, 0.06), 0 12px 48px rgba(15, 23, 42, 0.04);
  --glass-inset: inset 0 1px 0 rgba(255, 255, 255, 0.92), inset 0 -1px 0 rgba(255, 255, 255, 0.12);
  --bkz-shadow-nav-glass: 0 1px 3px rgba(0,0,0,0.12), 0 8px 24px rgba(0,0,0,0.08), inset 0 1px 0 rgba(255,255,255,0.06);

  --bkz-shadow-hero: 0 18px 55px rgba(42, 35, 25, 0.06);
  --bkz-shadow-profile-panel-lg: 0 24px 80px rgba(55, 45, 25, 0.10);
  --bkz-shadow-sage: 0 16px 45px rgba(37, 58, 38, 0.05);
  --bkz-shadow-automation-hover: 0 12px 32px rgba(20, 22, 26, 0.07);
  --bkz-shadow-menu-rail: 0 12px 34px rgba(0, 0, 0, 0.12);

  --bkz-inset-sheen: inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

/* ── bkz/motion.css ─────────────────────────────── */
/* Motion. One easing curve does almost all the work: cubic-bezier(0.16, 1, 0.3, 1).
   Entrances rise and fade (never scale from zero, never bounce). Presses shrink to 0.97. */
:root {
  --bkz-ease-settle: cubic-bezier(0.16, 1, 0.3, 1);
  --bkz-ease-exit: cubic-bezier(0.4, 0, 1, 1);
  --bkz-ease-in-out: ease-in-out;

  --bkz-duration-fast: 180ms;
  --bkz-duration-base: 200ms;
  --bkz-duration-slow: 300ms;
  --bkz-duration-entrance: 450ms;
  --bkz-duration-rise: 720ms;

  --bkz-press-scale: 0.97;
  --bkz-hover-lift: -1px;
  --bkz-spring: 110 22 0.9;
}

@keyframes bkz-fade-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes bkz-spring-in { 0% { opacity: 0; transform: translateY(10px) scale(0.97); } 50% { transform: translateY(-3px) scale(1.008); } 100% { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes bkz-glass-shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
@keyframes bkz-login-rise { from { opacity: 0; transform: translateY(18px) scale(0.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes bkz-source-drift { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes bkz-word-in { from { opacity: 0; transform: translateY(3px); } to { opacity: 1; transform: translateY(0); } }
@keyframes bkz-ingest-sweep { 0% { transform: translateX(-100%); } 100% { transform: translateX(300%); } }
.bkz-ingest-sweep { animation: bkz-ingest-sweep 1.9s ease-in-out infinite; }

@keyframes bkz-aurora { from { background-position: 50% 50%, 50% 50%; } to { background-position: 350% 50%, 350% 50%; } }

@keyframes bkz-glow-pulse { 0%, 100% { opacity: 0.4; } 50% { opacity: 0.8; } }
@keyframes bkz-ping { 75%, 100% { transform: scale(2.2); opacity: 0; } }
@keyframes bkz-shimmer-sweep { 0% { background-position: 100% center; } 100% { background-position: 0% center; } }

.bkz-fade-up { animation: bkz-fade-up 0.45s var(--bkz-ease-settle) both; }
.bkz-spring-in { animation: bkz-spring-in 0.5s var(--bkz-ease-settle) both; }

@media (prefers-reduced-motion: reduce) {
  .bkz-fade-up, .bkz-spring-in, .bkz-ingest-sweep, .bkz-word { animation: none !important; transform: none; opacity: 1; }
}
.bkz-word { display: inline; opacity: 0; animation: bkz-word-in 0.3s ease-out forwards; }

/* ── bkz/base.css ─────────────────────────────── */
/* Minimal resets carried over from globals.css — nothing opinionated. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--bkz-font-sans);
  font-size: var(--bkz-text-md);
  color: var(--bkz-ink-strong);
  background: var(--bkz-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
code, pre, .bkz-mono { font-family: var(--bkz-font-mono); font-size: 0.82em; }
a { color: var(--bkz-blue-link); text-decoration: none; }
a:hover { color: var(--bkz-blue-deep); }
*:focus-visible { outline: 2px solid rgba(99, 102, 241, 0.4); outline-offset: 2px; }
::selection { background: rgba(99, 102, 241, 0.15); color: var(--bkz-ink); }

/* ── Aurora background film ── */
.bkz-aurora-bg {
  --aurora: repeating-linear-gradient(100deg, var(--bkz-stone-300) 10%, var(--bkz-warm-200) 15%, var(--bkz-orange-300) 20%, var(--bkz-rose-200) 25%, var(--bkz-amber-300) 30%);
  --light-gradient: repeating-linear-gradient(100deg, #fff 0%, #fff 7%, transparent 10%, transparent 12%, #fff 16%);
  position: fixed; inset: -10px; pointer-events: none; z-index: 0;
  opacity: 0.35; will-change: transform; filter: blur(10px);
  background-image: var(--light-gradient), var(--aurora);
  background-size: 300%, 200%; background-position: 50% 50%, 50% 50%;
}
.bkz-aurora-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: var(--light-gradient), var(--aurora);
  background-size: 200%, 100%; background-attachment: fixed;
  animation: bkz-aurora 60s linear infinite; mix-blend-mode: difference;
}
.bkz-aurora-still::after { animation: none; background-attachment: scroll; }
.bkz-aurora-bg-mask { -webkit-mask-image: radial-gradient(ellipse at 100% 0%, black 10%, transparent 70%); mask-image: radial-gradient(ellipse at 100% 0%, black 10%, transparent 70%); }

/* ── Spotlight border ── */
.bkz-spotlight { position: relative; }
.bkz-spotlight::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: radial-gradient(240px circle at var(--bkz-mx, 50%) var(--bkz-my, 50%), rgba(42,120,214,0.5), rgba(42,120,214,0.08) 55%, transparent 78%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0; transition: opacity 0.25s ease; pointer-events: none;
}
.bkz-spotlight:hover::after { opacity: 1; }

/* ── Liquid glass surfaces ── */
.bkz-surface-glass {
  background: var(--glass-bg);
  backdrop-filter: blur(24px) saturate(200%); -webkit-backdrop-filter: blur(24px) saturate(200%);
  border: 1px solid var(--glass-border); border-radius: 1.5rem;
  box-shadow: var(--glass-shadow), var(--glass-inset);
  transition: all 0.3s var(--bkz-ease-settle);
}
.bkz-surface-glass:hover { box-shadow: var(--glass-shadow-lg), var(--glass-inset); border-color: var(--glass-border-strong); }
.bkz-surface-glass, .bkz-surface-solid { position: relative; overflow: hidden; }
.bkz-surface-glass::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 0; background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 40%, transparent 60%, rgba(255,255,255,0.05) 100%); }
.bkz-surface-solid::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 0; background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%); }
.bkz-surface-solid {
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(28px) saturate(210%); -webkit-backdrop-filter: blur(28px) saturate(210%);
  border: 1px solid var(--glass-border); border-radius: 1.5rem;
  box-shadow: var(--glass-shadow), var(--glass-inset);
  transition: all 0.3s var(--bkz-ease-settle);
}
.bkz-liquid-glass {
  position: relative; background: rgba(255,255,255,0.45);
  backdrop-filter: blur(16px) saturate(180%); -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid var(--glass-border); border-radius: 1.25rem;
  box-shadow: var(--glass-inset), 0 1px 4px rgba(15,23,42,0.03);
}
.bkz-nav-glass {
  background: rgba(15,23,42,0.78);
  backdrop-filter: blur(32px) saturate(200%); -webkit-backdrop-filter: blur(32px) saturate(200%);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--bkz-shadow-nav-glass);
}

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(15, 23, 42, 0.1); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: rgba(15, 23, 42, 0.2); }

.bkz-shimmer-coral {
  background-image:
    linear-gradient(90deg, transparent calc(50% - 36px), rgba(255,255,255,0.7) 50%, transparent calc(50% + 36px)),
    linear-gradient(var(--bkz-coral), var(--bkz-coral));
  background-size: 250% 100%, 100% 100%;
  background-position: 0% center;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.bkz-shimmer-coral:hover { animation: bkz-shimmer-sweep 1s ease-in-out; }

.bkz-diagonal-bg {
  background-image: repeating-linear-gradient(45deg, transparent, transparent 5px, rgba(0,0,0,0.04) 5px, rgba(0,0,0,0.04) 6px);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%), linear-gradient(to bottom, transparent 0%, black 2%, black 98%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%), linear-gradient(to bottom, transparent 0%, black 2%, black 98%, transparent 100%);
  -webkit-mask-composite: source-in; mask-composite: intersect;
}

/* ══ HOLOGRAPHIC HORIZON GRID ══ the brand environment, verbatim. */
.bkz-holo-shell { position: relative; min-height: 100svh; overflow: hidden; color: var(--bkz-auth-ink); background: radial-gradient(circle at 58% 38%, rgba(92,118,255,0.12), transparent 30%), radial-gradient(circle at 18% 82%, rgba(166,182,255,0.22), transparent 36%), linear-gradient(180deg, #ffffff 0%, #fbfcff 47%, #f7f9ff 100%); }
.bkz-holo-sky { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 21%, rgba(180,194,255,0.22), transparent 28%), linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(247,250,255,0.34) 44%, rgba(255,255,255,0.82) 100%); }
.bkz-holo-plane {
  --holo-rgb: 92, 118, 255;
  position: absolute; left: 50%; top: 130px; width: min(1780px, 145vw); height: 760px;
  transform: translateX(-50%) perspective(900px) rotateX(62deg) translateY(-126px) scale(1.04);
  transform-origin: top center; border-radius: 50%; opacity: 0.72;
  background-image:
    radial-gradient(ellipse at 18% 44%, rgba(var(--holo-rgb), 0.18), transparent 23%),
    radial-gradient(ellipse at 61% 34%, rgba(var(--holo-rgb), 0.14), transparent 21%),
    radial-gradient(ellipse at 86% 38%, rgba(var(--holo-rgb), 0.15), transparent 21%),
    linear-gradient(rgba(var(--holo-rgb), 0.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--holo-rgb), 0.2) 1px, transparent 1px);
  background-size: 62% 48%, 48% 38%, 40% 34%, 42px 42px, 42px 42px;
  background-position: 0 44px, 48% 34px, 100% 56px, center, center;
  box-shadow: inset 0 70px 110px rgba(255, 255, 255, 0.88);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, black 13%, black 58%, transparent 88%);
  mask-image: linear-gradient(180deg, transparent 0%, black 13%, black 58%, transparent 88%);
  animation: bkz-holo-breathe 7.5s ease-in-out infinite; will-change: transform, opacity;
}
.bkz-holo-plane::before, .bkz-holo-plane::after {
  content: ""; position: absolute; inset: 18% -8% auto; height: 210px; border-radius: 50%;
  opacity: 0.54; transform: rotate(-2deg); filter: blur(0.2px);
  background: repeating-radial-gradient(ellipse at center, rgba(var(--holo-rgb), 0.18) 0 1px, transparent 1px 11px);
}
.bkz-holo-plane::after { inset: 10% 6% auto; height: 180px; opacity: 0.35; transform: rotate(2deg); }
.bkz-holo-spark { position: absolute; left: var(--x); top: var(--y); width: 3px; height: 3px; border-radius: 999px; background: rgba(var(--holo-rgb, 92, 118, 255), 0.72); box-shadow: 0 0 18px rgba(var(--holo-rgb, 92, 118, 255), 0.5); animation: bkz-holo-spark 4.8s ease-in-out infinite; animation-delay: var(--delay); }
.bkz-holo-fog { position: absolute; inset: auto -10% -28% -10%; height: 52%; background: radial-gradient(ellipse at center, rgba(238,243,255,0.86), transparent 68%); filter: blur(24px); }
.bkz-holo-card-stage { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; background: radial-gradient(ellipse at 50% 13%, rgba(160,178,255,0.26), transparent 48%), linear-gradient(180deg, rgba(255,255,255,0.94) 0%, rgba(246,249,255,0.34) 52%, rgba(255,255,255,0.9) 100%); }
.bkz-holo-card-grid {
  --holo-rgb: 92, 118, 255;
  position: absolute; left: 50%; top: 18%; width: 168%; height: 96%;
  transform: translateX(-50%) perspective(620px) rotateX(60deg) translateY(-58px) scale(1.02);
  transform-origin: top center; opacity: 0.72;
  background-image:
    radial-gradient(ellipse at 30% 40%, rgba(var(--holo-rgb), 0.21), transparent 25%),
    radial-gradient(ellipse at 74% 36%, rgba(var(--holo-rgb), 0.17), transparent 23%),
    linear-gradient(rgba(var(--holo-rgb), 0.22) 1.1px, transparent 1.1px),
    linear-gradient(90deg, rgba(var(--holo-rgb), 0.22) 1.1px, transparent 1.1px);
  background-size: 58% 46%, 44% 38%, 30px 30px, 30px 30px;
  background-position: 0 30px, 50% 24px, center, center;
  box-shadow: inset 0 44px 64px rgba(255, 255, 255, 0.82);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, black 14%, black 66%, transparent 94%);
  mask-image: linear-gradient(180deg, transparent 0%, black 14%, black 66%, transparent 94%);
  animation: bkz-holo-card-breathe 8s ease-in-out infinite; will-change: transform, opacity;
}
.bkz-holo-card-spark { position: absolute; left: var(--x); top: var(--y); width: 3px; height: 3px; border-radius: 999px; background: rgba(var(--holo-rgb, 92, 118, 255), 0.62); box-shadow: 0 0 14px rgba(var(--holo-rgb, 92, 118, 255), 0.45); animation: bkz-holo-card-spark 5.2s ease-in-out infinite; animation-delay: var(--delay); }
.bkz-holo-card-fog { position: absolute; inset: auto -14% -22% -14%; height: 56%; background: radial-gradient(ellipse at center, rgba(238,243,255,0.9), transparent 70%); filter: blur(20px); }
@keyframes bkz-holo-breathe {
  0%, 100% { opacity: 0.58; transform: translateX(-50%) perspective(900px) rotateX(62deg) translateY(-126px) scale(1.02); }
  50% { opacity: 0.82; transform: translateX(-50%) perspective(900px) rotateX(62deg) translateY(-118px) scale(1.055); }
}
@keyframes bkz-holo-spark { 0%, 100% { opacity: 0.16; transform: translateY(0) scale(0.8); } 50% { opacity: 0.82; transform: translateY(-5px) scale(1.25); } }
@keyframes bkz-holo-card-breathe {
  0%, 100% { opacity: 0.5; transform: translateX(-50%) perspective(620px) rotateX(60deg) translateY(-58px) scale(1.02); }
  50% { opacity: 0.72; transform: translateX(-50%) perspective(620px) rotateX(60deg) translateY(-50px) scale(1.05); }
}
@keyframes bkz-holo-card-spark { 0%, 100% { opacity: 0.14; transform: translateY(0) scale(1); } 50% { opacity: 0.7; transform: translateY(-4px) scale(1.22); } }
@media (max-width: 1023px) {
  .bkz-holo-shell { overflow-y: auto; }
  .bkz-holo-plane { top: 88px; width: 190vw; height: 560px; opacity: 0.44; }
}
@media (prefers-reduced-motion: reduce) {
  .bkz-holo-plane, .bkz-holo-spark, .bkz-holo-card-grid, .bkz-holo-card-spark { animation: none !important; }
}

/* ── Raking sweep ── */
@keyframes bkz-sweep { 0% { transform: translateX(-100%) skewX(-14deg); } 100% { transform: translateX(100%) skewX(-14deg); } }
.bkz-sweep-host { position: relative; overflow: hidden; }
.bkz-sweep-host::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.55), transparent); transform: translateX(-100%) skewX(-14deg); }
.bkz-sweep-host:hover::after { animation: bkz-sweep 1s ease-in-out; }
.bkz-blueprint-offset { position: relative; }
.bkz-blueprint-offset::after { content: ""; position: absolute; inset: 8px -8px -8px 8px; z-index: -1; border: 1px dashed rgba(92,118,255,0.28); border-radius: inherit; }
