/* ═══════════════════════════════════════════════════════
   Business Dashboard — 4-Column Grid + Glassmorphism
   Orange-Copper Neon + Glow Effects + Technical Font
   ═══════════════════════════════════════════════════════ */

/* Modern display + mono fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Geist+Mono:wght@300;400;500;600;700&display=swap');

.biz-dash {
  --dash-font: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', sans-serif;
  --dash-mono: 'Geist Mono', 'SF Mono', 'Fira Code', var(--font-mono);
  --copper-1: var(--biz-color);
  --copper-2: var(--biz-color-dark);
  --copper-glow: rgba(var(--biz-rgb), 0.5);
  --copper-glow-soft: rgba(var(--biz-rgb), 0.15);
  --copper-glow-dim: rgba(var(--biz-rgb), 0.08);

  /* Orange-Purple fusion palette for ML Parts */
  --kpi-accent: #F97316;
  --kpi-accent-rgb: 249, 115, 22;
  --kpi-purple: #A78BFA;
  --kpi-purple-rgb: 167, 139, 250;
  --kpi-fusion: #D97706;
  --kpi-text-bright: #FAFAFA;
  --kpi-text-primary: #E5E5E5;
  --kpi-text-secondary: #A3A3A3;
  --kpi-text-muted: #737373;
  --kpi-card-bg: rgba(255, 255, 255, 0.03);
  --kpi-card-border: rgba(255, 255, 255, 0.06);

  position: relative;
  width: 100%;
  min-height: 100vh;
  background: var(--bg-primary);
  display: grid;
  grid-template-columns: 60px 1fr 2fr 1fr;
  grid-template-rows: 1fr;
  gap: 0;
  overflow: hidden;
  font-family: var(--dash-font);
}

/* ── Dust Particle Canvas (full background) ───────────── */
.biz-dash__dust-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ── Directional Light — Top-Right (matches logo highlight) ── */
.biz-dash__toplight {
  position: absolute;
  top: -15%;
  right: -5%;
  width: 70%;
  height: 65%;
  background: radial-gradient(
    ellipse at 80% 15%,
    rgba(255, 240, 220, 0.07) 0%,
    rgba(var(--biz-rgb), 0.04) 25%,
    rgba(var(--biz-rgb), 0.015) 50%,
    transparent 75%
  );
  pointer-events: none;
  z-index: 1;
  filter: blur(20px);
}

/* Secondary flare — sharper focused beam */
.biz-dash__toplight-flare {
  position: absolute;
  top: -8%;
  right: 8%;
  width: 35%;
  height: 50%;
  background: radial-gradient(
    ellipse at 70% 10%,
    rgba(255, 255, 255, 0.035) 0%,
    rgba(var(--biz-rgb), 0.02) 30%,
    transparent 60%
  );
  pointer-events: none;
  z-index: 1;
  filter: blur(10px);
  animation: flarePulse 8s ease-in-out infinite;
}

@keyframes flarePulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.06); }
}

/* ═══════════════════════════════════════════════════════
   CINEMATIC INTRO — Apple-Style Greeting
   ═══════════════════════════════════════════════════════ */
.biz-dash--intro {
  display: flex !important;
  grid-template-columns: unset !important;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

.biz-intro {
  text-align: center;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.biz-intro__greeting {
  font-family: -apple-system, 'SF Pro Display', 'Helvetica Neue', sans-serif;
  font-size: clamp(1.2rem, 3.5vw, 1.8rem);
  font-weight: 300;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.5);
  opacity: 0;
  transform: translateY(20px);
  animation: introReveal 900ms cubic-bezier(0.22, 1, 0.36, 1) 300ms forwards;
}

.biz-intro__name {
  font-family: -apple-system, 'SF Pro Display', 'Helvetica Neue', sans-serif;
  font-size: clamp(2.2rem, 7vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  background: linear-gradient(135deg, #FFFFFF 0%, #8B5CF6 40%, #A855F7 65%, #D946EF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0;
  transform: translateY(24px) scale(0.96);
  animation: introNameReveal 1100ms cubic-bezier(0.22, 1, 0.36, 1) 600ms forwards;
}

.biz-intro__line {
  width: 0;
  height: 1.5px;
  margin: 20px 0 16px;
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.6), transparent);
  animation: introLineExpand 800ms cubic-bezier(0.22, 1, 0.36, 1) 1200ms forwards;
}

.biz-intro__sub {
  font-family: 'Geist Mono', 'SF Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(139, 92, 246, 0.5);
  opacity: 0;
  transform: translateY(10px);
  animation: introReveal 700ms cubic-bezier(0.22, 1, 0.36, 1) 1500ms forwards;
}

/* Intro exit */
.biz-intro--exit {
  animation: introExit 800ms cubic-bezier(0.65, 0, 0.35, 1) forwards;
}
.biz-intro--exit .biz-intro__greeting,
.biz-intro--exit .biz-intro__name,
.biz-intro--exit .biz-intro__sub {
  animation: introChildExit 500ms cubic-bezier(0.65, 0, 0.35, 1) forwards;
}
.biz-intro--exit .biz-intro__line {
  animation: introLineCollapse 400ms cubic-bezier(0.65, 0, 0.35, 1) 100ms forwards;
}

@keyframes introReveal {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes introNameReveal {
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes introLineExpand {
  to { width: min(220px, 50vw); }
}
@keyframes introExit {
  to { opacity: 0; transform: scale(0.97); }
}
@keyframes introChildExit {
  to { opacity: 0; transform: translateY(-12px); }
}
@keyframes introLineCollapse {
  to { width: 0; opacity: 0; }
}

/* ═══════════════════════════════════════════════════════
   ASSEMBLY ANIMATIONS — Staggered Card Build
   ═══════════════════════════════════════════════════════ */
.biz-assemble {
  opacity: 0;
  animation: assembleSlideIn 700ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--assemble-delay, 0ms);
}
.biz-assemble--slide-up {
  animation-name: assembleSlideUp;
}
.biz-assemble--card {
  animation-name: assembleCard;
  animation-duration: 600ms;
}
.biz-assemble--fade {
  animation-name: assembleFade;
  animation-duration: 500ms;
}

@keyframes assembleSlideIn {
  from {
    opacity: 0;
    transform: translateX(-24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes assembleSlideUp {
  from {
    opacity: 0;
    transform: translateY(32px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes assembleCard {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    filter: blur(4px);
  }
  60% {
    opacity: 1;
    filter: blur(0px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0px);
  }
}
@keyframes assembleFade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ── Sidebar ─────────────────────────────────────────── */
.biz-dash__sidebar {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 0;
  gap: 8px;
  background: rgba(255, 255, 255, 0.01);
  border-right: 1px solid rgba(255, 255, 255, 0.03);
  z-index: 10;
}

.biz-dash__sidebar-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 18px;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.biz-dash__sidebar-btn svg {
  width: 18px;
  height: 18px;
}
.biz-dash__sidebar-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
}
.biz-dash__sidebar-btn--active {
  background: rgba(var(--biz-rgb, 249, 115, 22), 0.12);
  color: var(--biz-color, var(--biz-color));
  box-shadow: inset 0 0 0 1px rgba(var(--biz-rgb, 249, 115, 22), 0.25),
              0 0 12px rgba(var(--biz-rgb, 249, 115, 22), 0.15);
}

.biz-dash__sidebar-sep {
  width: 24px;
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
  margin: 8px 0;
}

.biz-dash__sidebar-spacer {
  flex: 1;
}

/* ── Panels (Left + Right) ────────────────────────────── */
.biz-dash__panel {
  position: relative;
  z-index: 5;
  padding: 24px 16px 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: flex-start;
  align-items: stretch;
  background: transparent;
}

.biz-dash__panel::-webkit-scrollbar {
  width: 3px;
}
.biz-dash__panel::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
}

/* ── Panel Header — Neon Brand Identity ────────────── */
.biz-dash__panel-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
  padding: 0 2px;
}

.biz-dash__panel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--kpi-accent, var(--biz-color));
  box-shadow:
    0 0 8px rgba(var(--kpi-accent-rgb, 249,115,22), 0.6),
    0 0 20px rgba(var(--kpi-accent-rgb, 249,115,22), 0.3);
  animation: neonDotBreathe 3s ease-in-out infinite;
}
@keyframes neonDotBreathe {
  0%, 100% {
    box-shadow:
      0 0 6px rgba(var(--kpi-accent-rgb, 249,115,22), 0.5),
      0 0 14px rgba(var(--kpi-accent-rgb, 249,115,22), 0.2);
    transform: scale(1);
  }
  50% {
    box-shadow:
      0 0 10px rgba(var(--kpi-accent-rgb, 249,115,22), 0.8),
      0 0 28px rgba(var(--kpi-accent-rgb, 249,115,22), 0.4),
      0 0 50px rgba(var(--kpi-accent-rgb, 249,115,22), 0.15);
    transform: scale(1.15);
  }
}

.biz-dash__panel-name {
  font-family: var(--dash-font);
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--kpi-accent, var(--biz-color));
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow:
    0 0 12px rgba(var(--kpi-accent-rgb, 249,115,22), 0.4),
    0 0 30px rgba(var(--kpi-accent-rgb, 249,115,22), 0.15);
  animation: neonTextBreathe 4s ease-in-out infinite;
}
@keyframes neonTextBreathe {
  0%, 100% {
    text-shadow:
      0 0 10px rgba(var(--kpi-accent-rgb, 249,115,22), 0.3),
      0 0 24px rgba(var(--kpi-accent-rgb, 249,115,22), 0.1);
  }
  50% {
    text-shadow:
      0 0 14px rgba(var(--kpi-accent-rgb, 249,115,22), 0.5),
      0 0 40px rgba(var(--kpi-accent-rgb, 249,115,22), 0.2),
      0 0 60px rgba(var(--kpi-accent-rgb, 249,115,22), 0.08);
  }
}

/* ── Metric Cards — semi-transparent, bg shows through ── */
/* ── Panel Status Subtitle (below ML PARTS header) ── */
.biz-dash__panel-status {
  font-family: var(--dash-font);
  font-size: 0.56rem;
  color: var(--kpi-text-muted);
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: -6px;
  margin-bottom: 4px;
  padding: 0 2px;
  line-height: 1.3;
}
.biz-dash__status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.biz-dash__status-dot--off {
  background: #EF4444;
  box-shadow: 0 0 6px rgba(239,68,68,0.5);
}
.biz-dash__status-dot--on {
  background: #22C55E;
  box-shadow: 0 0 6px rgba(34,197,94,0.5);
  animation: statusPulse 2s ease-in-out infinite;
}
@keyframes statusPulse {
  0%, 100% { box-shadow: 0 0 4px rgba(34,197,94,0.4); }
  50% { box-shadow: 0 0 10px rgba(34,197,94,0.8); }
}

/* ── Clients Panel Subtitle ── */
.biz-dash__clients-subtitle {
  font-family: var(--dash-font);
  font-size: 0.58rem;
  color: var(--kpi-text-muted);
  letter-spacing: 0.03em;
  margin-top: 1px;
  font-weight: 400;
}

/* ── IRON PROTOCOL — Epic Card ── */
.biz-client__card--iron {
  background:
    linear-gradient(145deg,
      rgba(249,115,22,0.12) 0%,
      rgba(249,115,22,0.04) 40%,
      rgba(139,92,246,0.04) 100%) !important;
  border-color: rgba(249,115,22,0.35) !important;
  animation: ironBreathe 4s ease-in-out infinite, clientCardIn 0.5s ease both !important;
  box-shadow:
    0 0 20px rgba(249,115,22,0.15),
    0 0 60px rgba(249,115,22,0.06),
    inset 0 1px 0 rgba(249,115,22,0.15) !important;
}
.biz-client__card--iron::before {
  background: linear-gradient(90deg,
    transparent,
    rgba(249,115,22,0.7),
    rgba(249,115,22,0.9),
    rgba(249,115,22,0.7),
    transparent) !important;
  height: 2px !important;
  opacity: 1 !important;
}
.biz-client__card--iron::after {
  background: var(--kpi-accent) !important;
  box-shadow: 0 0 10px rgba(249,115,22,0.8), 0 0 25px rgba(249,115,22,0.4) !important;
  opacity: 1 !important;
  animation: ironDotPulse 3s ease-in-out infinite !important;
}
.biz-client__card--iron .biz-client__name {
  color: var(--kpi-accent) !important;
  text-shadow: 0 0 14px rgba(249,115,22,0.4);
  letter-spacing: 0.08em;
}
.biz-client__card--iron .biz-client__avatar-initials {
  background: linear-gradient(135deg, rgba(249,115,22,0.3), rgba(249,115,22,0.1)) !important;
  color: var(--kpi-accent) !important;
  font-weight: 800;
  border: 1px solid rgba(249,115,22,0.3);
}
@keyframes ironBreathe {
  0%, 100% {
    box-shadow:
      0 0 15px rgba(249,115,22,0.1),
      0 0 40px rgba(249,115,22,0.04),
      inset 0 1px 0 rgba(249,115,22,0.1);
    border-color: rgba(249,115,22,0.25);
  }
  50% {
    box-shadow:
      0 0 25px rgba(249,115,22,0.2),
      0 0 70px rgba(249,115,22,0.08),
      0 0 120px rgba(249,115,22,0.03),
      inset 0 1px 0 rgba(249,115,22,0.2);
    border-color: rgba(249,115,22,0.45);
  }
}
@keyframes ironDotPulse {
  0%, 100% {
    box-shadow: 0 0 8px rgba(249,115,22,0.5);
    opacity: 0.8;
  }
  50% {
    box-shadow: 0 0 16px rgba(249,115,22,1), 0 0 35px rgba(249,115,22,0.4);
    opacity: 1;
  }
}

/* ── Branches (multi-location) ── */
.biz-client__branches {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.biz-client__branch {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  font-family: var(--dash-font);
  font-size: 0.6rem;
}
.biz-client__branch-flag {
  font-size: 0.75rem;
}
.biz-client__branch-code {
  font-weight: 700;
  color: var(--kpi-text-primary);
  letter-spacing: 0.04em;
}
.biz-client__branch-name {
  color: var(--kpi-text-muted);
  font-weight: 400;
}

.biz-dash__metric {
  background: rgba(255, 255, 255, 0.015);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(var(--biz-rgb), 0.06);
  border-radius: 14px;
  padding: 14px;
  transition: all 0.3s ease;
  box-shadow: 0 0 0 0 transparent;
}
.biz-dash__metric:hover {
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(var(--biz-rgb), 0.2);
  box-shadow: 0 0 15px rgba(var(--biz-rgb), 0.12),
              0 0 30px rgba(var(--biz-rgb), 0.04);
}

/* Top row: icon + info */
.biz-dash__metric-top {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 6px;
}

.biz-dash__metric-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
}
.biz-dash__metric-icon--copper {
  background: rgba(var(--biz-rgb), 0.1);
  border-color: rgba(var(--biz-rgb), 0.2);
  color: var(--biz-color);
}
.biz-dash__metric-icon svg {
  width: 16px;
  height: 16px;
}

.biz-dash__metric-info {
  flex: 1;
  min-width: 0;
}

.biz-dash__metric-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.biz-dash__metric-label {
  font-family: var(--dash-font);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 3px;
}

.biz-dash__metric-value {
  font-family: var(--dash-font);
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  color: var(--biz-color);
  line-height: 1.1;
}

.biz-dash__metric-value--purple {
  color: var(--purple-400);
}

.biz-dash__metric-sub {
  font-size: 10px;
  color: var(--text-dim);
  margin-top: 4px;
  font-family: var(--dash-font);
}

.biz-dash__metric-badge {
  font-family: var(--dash-font);
  font-size: 9px;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(var(--biz-rgb), 0.12);
  color: var(--biz-color);
  border: 1px solid rgba(var(--biz-rgb), 0.2);
}

/* ── Trend Indicator ──────────────────────────────────── */
.biz-dash__trend {
  display: inline-flex;
  align-items: center;
}
.biz-dash__trend--up { color: var(--success); }
.biz-dash__trend--down { color: var(--error); }
.biz-dash__trend svg {
  width: 14px;
  height: 14px;
}

/* ── Sparkline Chart ──────────────────────────────────── */
.biz-dash__sparkline {
  width: 100%;
  height: 48px;
  display: block;
  margin-top: 6px;
}
.biz-dash__metric--chart {
  overflow: hidden;
}

/* ── Circular Progress ────────────────────────────────── */
.biz-dash__progress-grid {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: 10px 0 2px;
}

.biz-dash__circ-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.biz-dash__circ-svg {
  display: block;
}

.biz-dash__circ-arc {
  transition: stroke-dashoffset 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.biz-dash__circ-value {
  position: absolute;
  font-family: var(--dash-font);
  font-size: 11px;
  font-weight: var(--weight-bold);
  color: var(--biz-color);
}

.biz-dash__progress-labels {
  display: flex;
  justify-content: space-around;
  font-family: var(--dash-font);
  font-size: 9px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

/* ── Linear Progress ──────────────────────────────────── */
.biz-dash__linear-wrap {
  margin-top: 8px;
}

.biz-dash__linear-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.biz-dash__linear-label {
  font-family: var(--dash-font);
  font-size: 9px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.biz-dash__linear-pct {
  font-family: var(--dash-font);
  font-size: 10px;
  color: var(--biz-color);
  font-weight: var(--weight-semibold);
}

.biz-dash__linear-track {
  width: 100%;
  height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.biz-dash__linear-fill {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--biz-color), var(--biz-color-dark));
  transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Performance Card ─────────────────────────────────── */
.biz-dash__metric--progress {
  overflow: hidden;
}

/* ── Divider ─────────────────────────────────────────── */
.biz-dash__divider {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.04);
}

/* ── Center Panel ─────────────────────────────────────── */
.biz-dash__center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0;
  gap: 12px;
  position: relative;
  z-index: 5;
  overflow: hidden;
}

/* ── Hero Ambient Glow — positioned top-right to match light ── */
.biz-dash__hero-glow {
  position: absolute;
  top: -15%;
  right: -10%;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(var(--biz-rgb), 0.14) 0%,
    rgba(var(--biz-rgb), 0.06) 35%,
    transparent 70%
  );
  filter: blur(50px);
  pointer-events: none;
  animation: heroGlowPulse 6s ease-in-out infinite;
  z-index: 0;
}
.biz-dash__hero-glow--secondary {
  top: auto;
  bottom: -10%;
  right: auto;
  left: -5%;
  width: 320px;
  height: 320px;
  background: radial-gradient(
    circle,
    rgba(139, 92, 246, 0.06) 0%,
    transparent 65%
  );
  filter: blur(35px);
  animation-delay: -3s;
  animation-duration: 8s;
}

@keyframes heroGlowPulse {
  0%, 100% {
    opacity: 0.6;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

/* ── Hero Image Wrapper ────────────────────────────────── */
.biz-dash__hero-wrap {
  position: relative;
  z-index: 2;
  width: 380px;
  max-width: 90%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: heroBreathe 8s ease-in-out infinite;
}

@keyframes heroBreathe {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.03); }
}

/* ── Hero Image — BG removed via canvas, CSS adds glow ── */
.biz-dash__hero-img {
  width: 100%;
  height: auto;
  display: block;

  /* Before canvas processing: hide to avoid flash of dark bg */
  opacity: 0;
  transition: opacity 0.5s ease, filter 0.6s ease;

  filter: brightness(1.1) contrast(1.1) saturate(1.2)
          drop-shadow(0 0 50px rgba(var(--biz-rgb), 0.3))
          drop-shadow(0 0 100px rgba(var(--biz-rgb), 0.12));
  -webkit-filter: brightness(1.1) contrast(1.1) saturate(1.2)
                  drop-shadow(0 0 50px rgba(var(--biz-rgb), 0.3))
                  drop-shadow(0 0 100px rgba(var(--biz-rgb), 0.12));

  pointer-events: none;
  user-select: none;
}

/* Fade in after canvas bg removal completes */
.biz-dash__hero-img--loaded {
  opacity: 1;
}

.biz-dash__hero-img:hover {
  filter: brightness(1.2) contrast(1.15) saturate(1.35)
          drop-shadow(0 0 60px rgba(var(--biz-rgb), 0.4))
          drop-shadow(0 0 120px rgba(var(--biz-rgb), 0.18));
}

.biz-dash__biz-sub {
  font-family: var(--dash-font);
  font-size: var(--text-xs);
  color: rgba(var(--biz-rgb), 0.5);
  text-transform: uppercase;
  letter-spacing: 2.5px;
  position: relative;
  z-index: 2;
  margin-top: -4px;
}

/* ── Activity Chart (SVG) ─────────────────────────────── */
.biz-dash__chart-wrap {
  width: 100%;
  max-width: 480px;
  margin-top: 16px;
}

.biz-dash__chart-title {
  font-family: var(--dash-font);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-dim);
  margin-bottom: 12px;
  text-align: center;
}

.biz-dash__chart-svg {
  width: 100%;
  height: 120px;
}

.biz-dash__chart-bar {
  fill: var(--purple-500);
  rx: 3;
  transition: fill var(--transition-fast);
}
.biz-dash__chart-bar:hover {
  fill: var(--purple-400);
}

.biz-dash__chart-label {
  fill: var(--text-dim);
  font-family: var(--dash-font);
  font-size: 9px;
}

/* ── Right Panel Cards — semi-transparent ────────────── */
.biz-dash__card {
  background: rgba(255, 255, 255, 0.015);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(var(--biz-rgb), 0.06);
  border-radius: 14px;
  padding: 16px;
  transition: all 0.3s ease;
}
.biz-dash__card:hover {
  border-color: rgba(var(--biz-rgb), 0.18);
  box-shadow: 0 0 15px rgba(var(--biz-rgb), 0.1),
              0 0 30px rgba(var(--biz-rgb), 0.03);
}

.biz-dash__card-title {
  font-family: var(--dash-font);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--biz-color);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.biz-dash__card-title-icon {
  display: inline-flex;
  color: var(--biz-color);
}
.biz-dash__card-title-icon svg {
  width: 14px;
  height: 14px;
}

/* Collections list */
.biz-dash__coll-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}
.biz-dash__coll-row:last-child {
  border-bottom: none;
}

.biz-dash__coll-name {
  font-family: var(--dash-font);
  font-size: 12px;
  color: var(--text-secondary);
}

.biz-dash__coll-count {
  font-family: var(--dash-font);
  font-size: 12px;
  color: var(--biz-color);
  font-weight: var(--weight-semibold);
}

/* Info row */
.biz-dash__info-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
}

.biz-dash__info-label {
  font-family: var(--dash-font);
  font-size: 11px;
  color: var(--text-dim);
}

.biz-dash__info-val {
  font-family: var(--dash-font);
  font-size: 11px;
  color: var(--text-primary);
}

/* Activity list */
.biz-dash__activity-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}
.biz-dash__activity-item:last-child {
  border-bottom: none;
}

.biz-dash__activity-icon {
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 1px;
}

.biz-dash__activity-text {
  font-family: var(--dash-font);
  font-size: 11px;
  color: var(--text-secondary);
  line-height: 1.4;
}

.biz-dash__activity-time {
  font-family: var(--dash-font);
  font-size: 10px;
  color: var(--text-dim);
  margin-left: auto;
  flex-shrink: 0;
  white-space: nowrap;
}

/* ── Status Indicator ─────────────────────────────────── */
.biz-dash__status {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 0 0;
}

.biz-dash__status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--biz-color);
  box-shadow: 0 0 8px rgba(var(--biz-rgb), 0.5);
  animation: copperDotPulse 3s ease-in-out infinite;
}

.biz-dash__status-text {
  font-family: var(--dash-font);
  font-size: 11px;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════════
   Client Business Cards — Right Area Grid
   ═══════════════════════════════════════════════════════ */

/* Override grid when in clients mode: sidebar | left | center(free) | right(cards) */
.biz-dash--clients {
  grid-template-columns: 60px 1fr 2fr 1fr;
}

/* Clients area sits inside the right panel */
.biz-dash__clients-area {
  gap: 12px;
  padding: 24px 16px 20px;
  overflow-y: auto;
  justify-content: flex-start;
}

.biz-dash__clients-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 4px;
}

.biz-dash__clients-title-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.biz-dash__clients-title {
  font-family: var(--dash-font);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--kpi-text-bright);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0;
}

.biz-dash__clients-count {
  font-family: var(--dash-font);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(var(--kpi-accent-rgb), 0.1), rgba(var(--kpi-purple-rgb), 0.05));
  border: 1px solid rgba(var(--kpi-accent-rgb), 0.18);
  color: var(--kpi-accent);
}

/* Stack: auto-size so panel centering works */
.biz-dash__clients-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1 1 auto;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(var(--biz-rgb),0.2) transparent;
  padding-bottom: 20px;
}

/* Center with credential folder at top */
.biz-dash__center .biz-cred__folder {
  margin-top: 4px;
}

/* ── Concrete Floor — Infinite Depth with Grid Lines ── */
.biz-dash__floor {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  transform: perspective(700px) rotateX(52deg);
  transform-origin: bottom center;
  pointer-events: none;
  z-index: 0;
  background:
    /* Horizontal grid lines — closer spacing */
    repeating-linear-gradient(
      0deg,
      transparent 0px,
      transparent 38px,
      rgba(255, 255, 255, 0.06) 38px,
      rgba(255, 255, 255, 0.06) 39px
    ),
    /* Vertical grid lines — wider spacing */
    repeating-linear-gradient(
      90deg,
      transparent 0px,
      transparent 58px,
      rgba(255, 255, 255, 0.05) 58px,
      rgba(255, 255, 255, 0.05) 59px
    ),
    /* Concrete surface tone */
    linear-gradient(
      to top,
      rgba(50, 48, 44, 0.35) 0%,
      rgba(40, 38, 34, 0.22) 25%,
      rgba(30, 28, 26, 0.10) 50%,
      transparent 80%
    );
  mask-image: linear-gradient(to top, black 0%, black 30%, transparent 85%);
  -webkit-mask-image: linear-gradient(to top, black 0%, black 30%, transparent 85%);
}

/* Accent grid lines — copper tint at the near edge */
.biz-dash__floor::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      0deg,
      transparent 0px,
      transparent 38px,
      rgba(var(--biz-rgb), 0.04) 38px,
      rgba(var(--biz-rgb), 0.04) 39px
    ),
    repeating-linear-gradient(
      90deg,
      transparent 0px,
      transparent 58px,
      rgba(var(--biz-rgb), 0.03) 58px,
      rgba(var(--biz-rgb), 0.03) 59px
    );
  mask-image: linear-gradient(to top, black 0%, transparent 40%);
  -webkit-mask-image: linear-gradient(to top, black 0%, transparent 40%);
  pointer-events: none;
}

/* Horizon glow line */
.biz-dash__floor::after {
  content: '';
  position: absolute;
  top: 15%;
  left: 5%;
  right: 5%;
  height: 2px;
  background: radial-gradient(
    ellipse at center,
    rgba(var(--biz-rgb), 0.12) 0%,
    rgba(var(--biz-rgb), 0.04) 40%,
    transparent 70%
  );
  filter: blur(2px);
  pointer-events: none;
}

/* ── Individual Client Card — Matches KPI card style exactly ── */
.biz-client__card {
  background:
    linear-gradient(145deg,
      rgba(255, 255, 255, 0.035) 0%,
      rgba(255, 255, 255, 0.01) 50%,
      rgba(var(--kpi-accent-rgb), 0.025) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  padding: 18px 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all 400ms cubic-bezier(0.22, 1, 0.36, 1);
  animation: clientCardIn 0.5s ease both;
  position: relative;
  overflow: visible;
  flex: 0 0 auto;
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

@keyframes clientCardIn {
  from { opacity: 0; transform: translateY(16px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Top accent line — same as KPI */
.biz-client__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 14px;
  right: 14px;
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    rgba(var(--kpi-accent-rgb), 0.4),
    rgba(var(--kpi-purple-rgb), 0.25),
    transparent);
  opacity: 0.7;
  transition: opacity 300ms;
}

/* Corner glow dot — same as KPI */
.biz-client__card::after {
  content: '';
  position: absolute;
  top: -1px;
  right: 18px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--kpi-accent-rgb), 0.6), transparent 70%);
  box-shadow: 0 0 8px rgba(var(--kpi-accent-rgb), 0.3);
  opacity: 0;
  transition: opacity 300ms ease;
  pointer-events: none;
}

.biz-client__card:hover {
  background:
    linear-gradient(145deg,
      rgba(255, 255, 255, 0.05) 0%,
      rgba(var(--kpi-accent-rgb), 0.04) 50%,
      rgba(var(--kpi-accent-rgb), 0.06) 100%);
  border-color: rgba(var(--kpi-accent-rgb), 0.22);
  transform: translateY(-2px);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.35),
    0 0 24px rgba(var(--kpi-accent-rgb), 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.biz-client__card:hover::before { opacity: 1; }
.biz-client__card:hover::after { opacity: 1; }
.biz-client__card:active { transform: scale(0.985); }

/* ── Emphasis Card (ML Parts) — Living Breathing Glow ── */
.biz-client__card--emphasis {
  border-color: rgba(var(--kpi-accent-rgb), 0.25);
  background:
    linear-gradient(145deg,
      rgba(var(--kpi-accent-rgb), 0.06) 0%,
      rgba(var(--kpi-accent-rgb), 0.02) 40%,
      rgba(var(--kpi-purple-rgb), 0.04) 100%);
  animation: clientCardIn 0.5s ease both, kpiBreathe 4s ease-in-out infinite 0.6s;
}

.biz-client__card--emphasis::before {
  background: linear-gradient(90deg,
    transparent,
    rgba(var(--kpi-accent-rgb), 0.6),
    rgba(var(--kpi-accent-rgb), 0.35),
    transparent);
  opacity: 1;
}

.biz-client__card--emphasis::after {
  opacity: 1;
  width: 8px;
  height: 8px;
  background: radial-gradient(circle, rgba(var(--kpi-accent-rgb), 0.8), transparent 70%);
  box-shadow: 0 0 12px rgba(var(--kpi-accent-rgb), 0.5);
  animation: kpiDotPulse 4s ease-in-out infinite;
}

.biz-client__card--emphasis .biz-client__name {
  color: var(--kpi-accent);
  text-shadow: 0 0 20px rgba(var(--kpi-accent-rgb), 0.25);
}

.biz-client__card--emphasis .biz-client__progress-fill {
  box-shadow: 0 0 12px rgba(var(--kpi-accent-rgb), 0.4);
}

/* Card Header: Avatar + Info */
.biz-client__header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.biz-client__avatar {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  background: linear-gradient(135deg, rgba(var(--kpi-accent-rgb),0.12), rgba(var(--kpi-purple-rgb),0.06));
  border: 1px solid rgba(var(--kpi-accent-rgb), 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 2px 8px rgba(0,0,0,0.2),
    inset 0 1px 0 rgba(255,255,255,0.06);
}

.biz-client__avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.biz-client__avatar-initials {
  font-family: var(--dash-font);
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--kpi-accent);
  letter-spacing: 0.04em;
}

.biz-client__info {
  flex: 1;
  min-width: 0;
}

.biz-client__name {
  font-family: var(--dash-font);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--kpi-text-bright);
  margin: 0;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.01em;
}

.biz-client__subtitle {
  font-family: var(--dash-font);
  font-size: 0.65rem;
  color: var(--kpi-text-muted);
  margin: 2px 0 0;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 500;
}

/* Website Row */
.biz-client__website {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--dash-mono);
  font-size: 0.62rem;
  color: var(--kpi-text-secondary);
  padding: 4px 10px;
  background: rgba(255,255,255,0.025);
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.04);
  font-weight: 500;
}

.biz-client__website svg {
  width: 11px;
  height: 11px;
  color: var(--kpi-accent);
  opacity: 0.6;
  flex-shrink: 0;
}

/* Progress Bar */
.biz-client__progress-wrap {
  padding: 0;
}

.biz-client__progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.biz-client__progress-label {
  font-family: var(--dash-font);
  font-size: 0.58rem;
  color: var(--kpi-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

.biz-client__progress-pct {
  font-family: var(--dash-font);
  font-size: 0.72rem;
  color: var(--kpi-accent);
  font-weight: 700;
}

.biz-client__progress-track {
  width: 100%;
  height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.2);
}

.biz-client__progress-fill {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--kpi-accent), rgba(var(--kpi-purple-rgb), 0.7), var(--kpi-accent));
  background-size: 200% 100%;
  animation: progressShimmer 3s ease infinite;
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 8px rgba(var(--kpi-accent-rgb), 0.3);
}

@keyframes progressShimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Services Toggle Button */
.biz-client__services-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--kpi-text-secondary);
  font-family: var(--dash-font);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.25s ease;
}

.biz-client__services-toggle:hover {
  background: rgba(var(--kpi-accent-rgb), 0.06);
  border-color: rgba(var(--kpi-accent-rgb), 0.15);
  color: var(--kpi-text-bright);
}

.biz-client__services-toggle--open {
  background: linear-gradient(135deg, rgba(var(--kpi-accent-rgb),0.08), rgba(var(--kpi-purple-rgb),0.04));
  border-color: rgba(var(--kpi-accent-rgb), 0.2);
  color: var(--kpi-accent);
}

.biz-client__toggle-chevron {
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.biz-client__services-toggle--open .biz-client__toggle-chevron {
  transform: rotate(180deg);
}

/* Services Panel (expandable) */
.biz-client__services-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.25s ease,
              padding 0.3s ease;
  opacity: 0;
  padding: 0 4px;
}

.biz-client__services-panel--open {
  max-height: 500px;
  opacity: 1;
  padding: 4px 4px 2px;
}

.biz-client__service-item {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 8px;
  margin: 0 -8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  font-family: var(--dash-font);
  font-size: 0.65rem;
  color: var(--kpi-text-secondary);
  font-weight: 500;
  transition: background 0.2s, box-shadow 0.3s;
}

.biz-client__service-item:last-of-type {
  border-bottom: none;
}

.biz-client__service-item:hover {
  background: rgba(255, 255, 255, 0.03);
}

.biz-client__service-item svg {
  color: var(--kpi-accent);
  opacity: 0.6;
  flex-shrink: 0;
}

.biz-client__svc-label {
  flex: 1;
  min-width: 0;
}

.biz-client__service-item--done .biz-client__svc-label {
  text-decoration: line-through;
  color: var(--kpi-text-muted);
  opacity: 0.5;
}

/* ── Active step: breathing glow ── */
.biz-client__service-item--active {
  background: rgba(var(--biz-rgb, 249, 115, 22), 0.06);
  border-left: 2px solid rgba(var(--biz-rgb, 249, 115, 22), 0.5);
  animation: roadmapBreathe 2.5s ease-in-out infinite;
}
@keyframes roadmapBreathe {
  0%, 100% { box-shadow: 0 0 6px rgba(var(--biz-rgb, 249, 115, 22), 0.08); }
  50%      { box-shadow: 0 0 16px rgba(var(--biz-rgb, 249, 115, 22), 0.2); }
}

/* ── SuperAdmin action buttons ── */
.biz-client__svc-actions {
  display: flex;
  gap: 2px;
  margin-left: auto;
  opacity: 0;
  transition: opacity 0.15s;
  flex-shrink: 0;
}
.biz-client__service-item:hover .biz-client__svc-actions {
  opacity: 1;
}
.biz-client__svc-btn {
  background: rgba(255, 255, 255, 0.06);
  border: none;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.55rem;
  width: 20px;
  height: 20px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
  padding: 0;
}
.biz-client__svc-btn:hover {
  background: rgba(var(--biz-rgb), 0.15);
  color: var(--biz-color);
}
.biz-client__svc-btn--del:hover {
  background: rgba(239, 68, 68, 0.15);
  color: #EF4444;
}

/* ── Add step button ── */
.biz-client__svc-add {
  display: block;
  width: 100%;
  padding: 8px;
  margin-top: 6px;
  background: rgba(var(--biz-rgb), 0.06);
  border: 1px dashed rgba(var(--biz-rgb), 0.2);
  border-radius: 8px;
  color: rgba(var(--biz-rgb), 0.6);
  font-family: var(--dash-font);
  font-size: 0.6rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}
.biz-client__svc-add:hover {
  background: rgba(var(--biz-rgb), 0.12);
  color: var(--biz-color);
  border-color: rgba(var(--biz-rgb), 0.35);
}

/* ── Inline edit input ── */
.biz-client__svc-edit-input {
  width: 100%;
  padding: 6px 8px;
  margin: 4px 0;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(var(--biz-rgb), 0.3);
  border-radius: 6px;
  color: #FAFAFA;
  font-family: var(--dash-font);
  font-size: 0.65rem;
  outline: none;
}
.biz-client__svc-edit-input:focus {
  border-color: var(--biz-color);
  box-shadow: 0 0 8px rgba(var(--biz-rgb), 0.2);
}

/* ── Phase Divider — visual stage separator inside roadmap ── */
.biz-client__phase-divider {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0 5px;
}

.biz-client__phase-divider::before,
.biz-client__phase-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--kpi-accent-rgb), 0.3), transparent);
}

.biz-client__phase-divider span {
  font-family: var(--dash-font);
  font-size: 0.55rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--kpi-accent);
  opacity: 0.7;
  white-space: nowrap;
}

/* ═══════════════════════════════════════════════════════
   Business Overview — Xazai & Rush Ride Dashboard
   Uses CSS custom properties: --biz-color, --biz-rgb
   ═══════════════════════════════════════════════════════ */

.biz-overview {
  min-height: 100vh;
  min-height: 100dvh;
  padding: 32px 40px;
  padding-top: max(32px, env(safe-area-inset-top));
  background: var(--surface-base, #0A0A0F);
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

/* ── Assembly Animation ── */
@keyframes bizAssemble {
  0% {
    opacity: 0;
    transform: translateY(24px) scale(0.92);
    filter: blur(4px);
  }
  60% {
    opacity: 1;
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

.biz-overview__card--assemble {
  animation: bizAssemble 0.5s cubic-bezier(0.22, 1, 0.36, 1) backwards;
  animation-delay: calc(var(--i, 0) * 0.08s);
}

/* ── Header ── */
.biz-overview__header {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.biz-overview__back {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 8px 14px;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: var(--weight-medium);
  cursor: pointer;
  transition: all 150ms ease;
  flex-shrink: 0;
}

.biz-overview__back svg {
  width: 14px;
  height: 14px;
}

.biz-overview__back:hover {
  background: rgba(var(--biz-rgb), 0.06);
  border-color: rgba(var(--biz-rgb), 0.2);
  color: var(--biz-color);
}

.biz-overview__brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 0;
}

.biz-overview__brand-avatar {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  overflow: hidden;
  flex-shrink: 0;
  background: rgba(var(--biz-rgb), 0.08);
  border: 1px solid rgba(var(--biz-rgb), 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3), 0 0 20px rgba(var(--biz-rgb), 0.08);
}

.biz-overview__brand-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.biz-overview__brand-initials {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: var(--weight-bold);
  color: var(--biz-color);
}

.biz-overview__brand-text {
  flex: 1;
  min-width: 0;
}

.biz-overview__logo {
  height: 48px;
  width: 48px;
  object-fit: contain;
  border-radius: 12px;
  flex-shrink: 0;
}

/* ── Smart Insight Banner ─────────────────────────────── */
.biz-overview__insight {
  width: 100%;
  padding: 12px 16px;
  margin-top: 6px;
  font-family: var(--dash-font);
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.5;
  color: #FFFFFF;
  background: linear-gradient(135deg, #7C3AED 0%, #8B5CF6 40%, #A855F7 100%);
  border-radius: 12px;
  letter-spacing: 0.01em;
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.25);
  animation: insightPulse 3s ease-in-out infinite alternate;
}

@keyframes insightPulse {
  0%   { box-shadow: 0 4px 16px rgba(124, 58, 237, 0.25); }
  100% { box-shadow: 0 4px 24px rgba(124, 58, 237, 0.4); }
}

.biz-overview__name {
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: var(--weight-bold);
  color: var(--text-primary);
  margin: 0;
  line-height: 1.2;
  letter-spacing: -0.3px;
}

.biz-overview__tagline {
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--text-muted);
  margin: 2px 0 0;
}

/* ── KPI Grid ── */
.biz-overview__kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.biz-overview__kpi {
  background: rgba(var(--biz-rgb), 0.03);
  border: 1px solid rgba(var(--biz-rgb), 0.10);
  border-radius: 16px;
  padding: 20px;
  transition: all 200ms ease;
  position: relative;
  overflow: hidden;
}

.biz-overview__kpi::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(var(--biz-rgb), 0.3), transparent);
  opacity: 0;
  transition: opacity 200ms ease;
}

.biz-overview__kpi:hover {
  background: rgba(var(--biz-rgb), 0.06);
  border-color: rgba(var(--biz-rgb), 0.20);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2), 0 0 20px rgba(var(--biz-rgb), 0.04);
}

.biz-overview__kpi:hover::before {
  opacity: 1;
}

/* ── Wide KPI (Ventas + Payment Methods) ── */
.biz-overview__kpi--wide {
  grid-column: span 2;
  display: flex;
  flex-direction: row;
  gap: 0;
  padding: 0;
}
.biz-overview__kpi--wide .biz-overview__kpi-main {
  flex: 0 0 45%;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.biz-overview__pm-breakdown {
  flex: 1;
  padding: 18px 22px;
  border-left: 1px solid rgba(var(--biz-rgb), 0.08);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.biz-overview__pm-head {
  font-family: var(--dash-font);
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.3);
  margin-bottom: 4px;
}
.biz-overview__pm-rows {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ── Channel cards ── */
.biz-overview__ch {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--dash-font);
}
.biz-overview__ch-top {
  display: flex;
  align-items: center;
  gap: 8px;
}
.biz-overview__ch-icon {
  font-size: 0.85rem;
  width: 20px;
  text-align: center;
}
.biz-overview__ch-name {
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  flex: 1;
}
.biz-overview__ch-amt {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: rgba(255,255,255,0.9);
}
.biz-overview__ch-bar {
  width: 100%;
  height: 5px;
  border-radius: 5px;
  background: rgba(255,255,255,0.04);
  overflow: hidden;
}
.biz-overview__ch-bar-fill {
  height: 100%;
  border-radius: 5px;
  transition: width 0.8s cubic-bezier(0.22,1,0.36,1);
}
.biz-overview__ch-pct {
  font-size: 0.62rem;
  font-weight: 600;
  color: rgba(255,255,255,0.3);
  flex-shrink: 0;
  min-width: 32px;
  text-align: right;
}

.biz-overview__pm-empty {
  font-family: var(--dash-font);
  font-size: 0.65rem;
  color: rgba(255,255,255,0.15);
  padding: 12px 0;
}

.biz-overview__kpi-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(var(--biz-rgb), 0.08);
  border: 1px solid rgba(var(--biz-rgb), 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--biz-color);
  margin-bottom: 12px;
}

.biz-overview__kpi-icon svg {
  width: 16px;
  height: 16px;
}

.biz-overview__kpi-value-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 6px;
}

.biz-overview__kpi-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
}
.biz-overview__kpi-side-value {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  color: #D946EF;
  line-height: 1;
}
.biz-overview__kpi-side-label {
  font-family: var(--font-sans);
  font-size: 0.55rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Light theme side value */
.biz-overview--light .biz-overview__kpi-side-value {
  color: #D946EF;
}
.biz-overview--light .biz-overview__kpi-side-label {
  color: var(--xz-text-muted);
}

.biz-overview__kpi-value {
  font-family: var(--font-sans);
  font-size: 28px;
  font-weight: var(--weight-bold);
  color: var(--biz-color);
  line-height: 1;
  letter-spacing: -0.5px;
}

.biz-overview__kpi-label {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: var(--weight-medium);
  color: var(--text-secondary);
  margin-bottom: 2px;
}

.biz-overview__kpi-sub {
  font-family: var(--font-sans);
  font-size: 11px;
  color: var(--text-dim);
  font-style: italic;
}

/* ── Charts Row ── */
.biz-overview__charts {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 16px;
}

.biz-overview__chart-card {
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 20px;
  transition: all 200ms ease;
}

.biz-overview__chart-card:hover {
  border-color: rgba(var(--biz-rgb), 0.15);
}

.biz-overview__chart-title {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
  margin-bottom: 2px;
}

.biz-overview__chart-sub {
  font-family: var(--font-sans);
  font-size: 11px;
  color: var(--text-dim);
  margin-bottom: 16px;
}

/* Bar Chart */
.biz-overview__bars {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 140px;
  padding-top: 8px;
}

.biz-overview__bar-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  height: 100%;
}

.biz-overview__bar-value {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: var(--weight-semibold);
  color: var(--text-muted);
  text-align: center;
}

.biz-overview__bar-track {
  flex: 1;
  width: 100%;
  max-width: 36px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

.biz-overview__bar-fill {
  width: 100%;
  border-radius: 6px;
  background: linear-gradient(180deg, var(--biz-color), rgba(var(--biz-rgb), 0.5));
  transition: height 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 0 12px rgba(var(--biz-rgb), 0.2);
}

.biz-overview__bar-label {
  font-family: var(--font-sans);
  font-size: 9px;
  color: var(--text-dim);
  text-transform: capitalize;
  text-align: center;
  white-space: nowrap;
}

/* Mini Donut */
.biz-overview__chart-card--donut {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.biz-overview__donut-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.biz-overview__donut-svg {
  display: block;
}

.biz-overview__donut-arc {
  transition: stroke-dashoffset 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.biz-overview__donut-center {
  position: absolute;
  text-align: center;
}

.biz-overview__donut-pct {
  display: block;
  font-family: var(--font-sans);
  font-size: 24px;
  font-weight: var(--weight-bold);
  color: var(--biz-color);
  line-height: 1;
}

.biz-overview__donut-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 10px;
  color: var(--text-dim);
  margin-top: 2px;
}

/* ── Activity Feed ── */
.biz-overview__activity {
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 20px;
}

.biz-overview__section-title {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
  margin-bottom: 12px;
}

.biz-overview__act-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.biz-overview__act-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.biz-overview__act-item:last-child {
  border-bottom: none;
}

.biz-overview__act-icon {
  font-size: 16px;
  flex-shrink: 0;
}

.biz-overview__act-text {
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--text-secondary);
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.biz-overview__act-time {
  font-family: var(--font-sans);
  font-size: 10px;
  color: var(--text-dim);
  flex-shrink: 0;
}

.biz-overview__act-empty {
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--text-dim);
  padding: 16px 0;
  text-align: center;
}

/* ── Proposal Card (Xazai) ── */
/* ── Chart card full-width ── */
.biz-overview__chart-card--full {
  flex: 1 1 100%;
}

/* ── Proposal — premium image card ── */
.biz-overview__proposal {
  display: flex;
  align-items: stretch;
  gap: 0;
  padding: 0;
  background: rgba(var(--biz-rgb), 0.03);
  border: 1px solid rgba(var(--biz-rgb), 0.08);
  border-radius: 16px;
  cursor: pointer;
  transition: all 300ms cubic-bezier(0.22,1,0.36,1);
  overflow: hidden;
}
.biz-overview__proposal:hover {
  background: rgba(var(--biz-rgb), 0.06);
  border-color: rgba(var(--biz-rgb), 0.2);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.2), 0 0 20px rgba(var(--biz-rgb),0.06);
}

.biz-overview__proposal-preview {
  position: relative;
  width: 180px;
  min-height: 120px;
  flex-shrink: 0;
  overflow: hidden;
  background: rgba(0,0,0,0.2);
}
.biz-overview__proposal-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.biz-overview__proposal-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem;
  background: linear-gradient(135deg, rgba(var(--biz-rgb),0.1), rgba(var(--biz-rgb),0.03));
}
.biz-overview__proposal-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.3);
  opacity: 0;
  transition: opacity 300ms ease;
}
.biz-overview__proposal:hover .biz-overview__proposal-overlay {
  opacity: 1;
}
.biz-overview__proposal-play {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 0.8rem;
  border: 1px solid rgba(255,255,255,0.2);
}

.biz-overview__proposal-info {
  flex: 1;
  min-width: 0;
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}
.biz-overview__proposal-tag {
  font-family: var(--dash-font);
  font-size: 0.5rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--biz-color);
  opacity: 0.7;
}
.biz-overview__proposal-title {
  font-family: var(--dash-font);
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  letter-spacing: -0.02em;
}
.biz-overview__proposal-sub {
  font-family: var(--dash-font);
  font-size: 0.62rem;
  color: var(--biz-color);
  margin-top: 4px;
  transition: transform 200ms ease;
}
.biz-overview__proposal:hover .biz-overview__proposal-sub {
  transform: translateX(4px);
}

/* ═══ KPI TOOLTIPS ═══ */
/* ── KPI Tip (click-based overlay, ? icon in top-right) ── */
.biz-overview__kpi-tip-icon {
  position: absolute; top: 10px; right: 10px;
  width: 18px; height: 18px; border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--dash-font); font-size: 0.5rem; font-weight: 700;
  color: rgba(255,255,255,0.25);
  cursor: pointer;
  transition: all 200ms ease;
  padding: 0; z-index: 2;
}
.biz-overview__kpi-tip-icon:hover {
  background: rgba(var(--biz-rgb),0.15);
  color: var(--biz-color);
  border-color: rgba(var(--biz-rgb),0.3);
}
.biz-overview__kpi { position: relative; }

/* ═══ EXPENSES SECTION ═══ */
.biz-overview__expenses {
  padding: 22px;
  border-radius: 16px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
}
.biz-overview__exp-total {
  font-family: var(--dash-font); font-size: 1.1rem; font-weight: 800;
  color: #F87171; letter-spacing: -0.02em;
}
.biz-overview__exp-explain {
  font-family: var(--dash-font); font-size: 0.6rem;
  color: rgba(255,255,255,0.25); line-height: 1.6;
  margin: 4px 0 16px;
}
.biz-overview__exp-summary {
  display: flex; align-items: center; justify-content: center;
  gap: 12px; padding: 16px;
  background: rgba(255,255,255,0.02);
  border-radius: 12px; border: 1px solid rgba(255,255,255,0.04);
  margin-bottom: 18px;
}
.biz-overview__exp-summary-item {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
}
.biz-overview__exp-summary-label {
  font-family: var(--dash-font); font-size: 0.5rem; font-weight: 500;
  color: rgba(255,255,255,0.3); text-transform: uppercase; letter-spacing: 0.06em;
}
.biz-overview__exp-summary-val {
  font-family: var(--dash-font); font-size: 1rem; font-weight: 800;
  letter-spacing: -0.02em;
}
.biz-overview__exp-summary-val--green { color: #4ADE80; }
.biz-overview__exp-summary-val--red { color: #F87171; }
.biz-overview__exp-summary-sep {
  font-family: var(--dash-font); font-size: 0.9rem; font-weight: 300;
  color: rgba(255,255,255,0.15);
}
.biz-overview__exp-cats-title,
.biz-overview__exp-list-title {
  font-family: var(--dash-font); font-size: 0.55rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: rgba(255,255,255,0.25); margin-bottom: 10px;
}
.biz-overview__exp-cats {
  display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px;
}
.biz-overview__exp-cat {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--dash-font);
}
.biz-overview__exp-cat-icon { font-size: 0.75rem; width: 20px; text-align: center; }
.biz-overview__exp-cat-name {
  font-size: 0.65rem; font-weight: 500;
  color: rgba(255,255,255,0.6); width: 90px; flex-shrink: 0;
}
.biz-overview__exp-cat-bar {
  flex: 1; height: 4px; border-radius: 4px;
  background: rgba(255,255,255,0.04); overflow: hidden;
}
.biz-overview__exp-cat-fill {
  height: 100%; border-radius: 4px;
  background: #F87171;
  transition: width 0.6s cubic-bezier(0.22,1,0.36,1);
}
.biz-overview__exp-cat-amt {
  font-size: 0.62rem; font-weight: 600;
  color: rgba(255,255,255,0.7); width: 65px; text-align: right; flex-shrink: 0;
}
.biz-overview__exp-cat-pct {
  font-size: 0.55rem; font-weight: 500;
  color: rgba(255,255,255,0.25); width: 30px; text-align: right; flex-shrink: 0;
}
.biz-overview__exp-list {
  display: flex; flex-direction: column; gap: 4px;
}
.biz-overview__exp-row {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 10px;
  background: rgba(255,255,255,0.015);
  border: 1px solid rgba(255,255,255,0.03);
  transition: background 200ms ease;
}
.biz-overview__exp-row:hover { background: rgba(255,255,255,0.035); }
.biz-overview__exp-info { flex: 1; min-width: 0; }
.biz-overview__exp-desc {
  font-family: var(--dash-font); font-size: 0.68rem; font-weight: 600;
  color: rgba(255,255,255,0.8);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.biz-overview__exp-meta {
  font-family: var(--dash-font); font-size: 0.52rem;
  color: rgba(255,255,255,0.25); margin-top: 2px;
}
.biz-overview__exp-amount {
  font-family: var(--dash-font); font-size: 0.75rem; font-weight: 700;
  color: #F87171; flex-shrink: 0;
}
.biz-overview__exp-invoice {
  background: rgba(var(--biz-rgb),0.08);
  border: 1px solid rgba(var(--biz-rgb),0.15);
  border-radius: 8px; padding: 6px;
  color: var(--biz-color); cursor: pointer;
  transition: all 200ms ease;
  display: flex; align-items: center; justify-content: center;
}
.biz-overview__exp-invoice:hover {
  background: rgba(var(--biz-rgb),0.2);
  transform: scale(1.05);
}
.biz-overview__exp-arrow {
  font-size: 0.7rem; color: rgba(255,255,255,0.15);
  flex-shrink: 0; transition: transform 200ms ease;
}
.biz-overview__exp-row:hover .biz-overview__exp-arrow {
  transform: translateX(3px); color: var(--biz-color);
}
.biz-overview__exp-no-inv {
  font-size: 0.6rem; color: rgba(255,255,255,0.1); width: 30px; text-align: center;
}
.biz-overview__exp-empty {
  font-family: var(--dash-font); font-size: 0.62rem;
  color: rgba(255,255,255,0.2); line-height: 1.6;
  text-align: center; padding: 20px 0;
}

/* Expense Detail Popup */
.biz-overview__exp-detail {
  position: relative; z-index: 1;
  width: 420px; max-width: 92vw; max-height: 90vh;
  background: rgba(20,20,30,0.97);
  backdrop-filter: blur(30px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  overflow-y: auto;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
  padding: 28px;
}
.biz-overview__exp-detail-header {
  text-align: center; margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.biz-overview__exp-detail-amount {
  font-family: var(--dash-font); font-size: 2rem; font-weight: 800;
  letter-spacing: -0.03em; color: #F87171;
  margin-bottom: 6px;
}
.biz-overview__exp-detail-desc {
  font-family: var(--dash-font); font-size: 0.8rem; font-weight: 500;
  color: rgba(255,255,255,0.6);
}
.biz-overview__exp-detail-fields {
  display: flex; flex-direction: column; gap: 10px;
  margin-bottom: 20px;
}
.biz-overview__exp-detail-field {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.03);
}
.biz-overview__exp-detail-label {
  font-family: var(--dash-font); font-size: 0.6rem; font-weight: 500;
  color: rgba(255,255,255,0.3); text-transform: uppercase; letter-spacing: 0.06em;
}
.biz-overview__exp-detail-value {
  font-family: var(--dash-font); font-size: 0.72rem; font-weight: 600;
  color: rgba(255,255,255,0.8);
}
.biz-overview__exp-detail-status {
  padding: 3px 10px; border-radius: 6px;
  background: rgba(74,222,128,0.1); color: #4ADE80;
  font-size: 0.58rem; text-transform: capitalize;
}
.biz-overview__exp-detail-photo-label {
  font-family: var(--dash-font); font-size: 0.55rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: rgba(255,255,255,0.25); margin-bottom: 8px;
}
.biz-overview__exp-detail-photo {
  border-radius: 12px; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(0,0,0,0.3);
}
.biz-overview__exp-detail-photo img {
  display: block; width: 100%;
  object-fit: contain; max-height: 400px;
}
.biz-overview__exp-detail-no-photo {
  font-family: var(--dash-font); font-size: 0.62rem;
  color: rgba(255,255,255,0.15); text-align: center;
  padding: 20px 0;
  border: 1px dashed rgba(255,255,255,0.06);
  border-radius: 12px;
}

/* Invoice Modal */
.biz-overview__invoice-modal {
  position: fixed; inset: 0; z-index: 10001;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 300ms ease;
}
.biz-overview__invoice-modal--show { opacity: 1; }
.biz-overview__invoice-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.7); backdrop-filter: blur(10px);
}
.biz-overview__invoice-content {
  position: relative; z-index: 1;
  max-width: 90vw; max-height: 90vh;
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.biz-overview__invoice-img {
  display: block; max-width: 90vw; max-height: 85vh;
  object-fit: contain; border-radius: 16px;
}
.biz-overview__invoice-close {
  position: absolute; top: 12px; right: 12px;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(0,0,0,0.5); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff; font-size: 0.7rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 200ms ease; z-index: 2;
}
.biz-overview__invoice-close:hover { background: rgba(255,255,255,0.2); }

/* ═══ ESTADO FINANCIERO (unified) ═══ */
.biz-overview__financial {
  padding: 22px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.biz-overview__fin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.biz-overview__fin-add {
  font-family: var(--dash-font);
  font-size: 0.62rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #8B5CF6, #A855F7);
  border: none;
  border-radius: 8px;
  padding: 6px 14px;
  cursor: pointer;
  letter-spacing: 0.03em;
  transition: all 150ms ease;
}
.biz-overview__fin-add:hover {
  filter: brightness(1.15);
  box-shadow: 0 2px 12px rgba(139, 92, 246, 0.3);
}

/* Hero: Net Balance */
.biz-overview__fin-hero {
  text-align: center;
  padding: 18px 12px 14px;
  margin-bottom: 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 14px;
}
.biz-overview__fin-hero-label {
  font-family: var(--dash-font);
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 6px;
}
.biz-overview__fin-hero-value {
  font-family: var(--dash-font);
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.biz-overview__fin-hero-value--profit { color: #4ADE80; }
.biz-overview__fin-hero-value--loss { color: #F87171; }

/* Summary Row */
.biz-overview__fin-summary {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}
.biz-overview__fin-summary-col {
  flex: 1;
  text-align: center;
  padding: 10px 6px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 10px;
}
.biz-overview__fin-summary-label {
  display: block;
  font-family: var(--dash-font);
  font-size: 0.5rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 4px;
}
.biz-overview__fin-summary-val {
  font-family: var(--dash-font);
  font-size: 0.85rem;
  font-weight: 700;
}
.biz-overview__fin-summary-val--green { color: #4ADE80; }
.biz-overview__fin-summary-val--red { color: #F87171; }

/* Composition Bar */
.biz-overview__fin-bar-wrap {
  margin-bottom: 16px;
}
.biz-overview__fin-bar {
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  overflow: hidden;
  margin-bottom: 8px;
}
.biz-overview__fin-bar-seg {
  height: 100%;
  transition: width 0.6s ease;
}
.biz-overview__fin-bar-seg--fixed { background: #8B5CF6; }
.biz-overview__fin-bar-seg--var { background: #F59E0B; }

.biz-overview__fin-bar-legend {
  display: flex;
  gap: 14px;
  justify-content: center;
}
.biz-overview__fin-bar-key {
  font-family: var(--dash-font);
  font-size: 0.55rem;
  color: rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  gap: 4px;
}
.biz-overview__fin-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}
.biz-overview__fin-dot--fixed { background: #8B5CF6; }
.biz-overview__fin-dot--var { background: #F59E0B; }
.biz-overview__fin-dot--free { background: rgba(255, 255, 255, 0.12); }

/* Tabs */
.biz-overview__fin-tabs {
  display: flex;
  gap: 4px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 12px;
}
.biz-overview__fin-tab {
  flex: 1;
  font-family: var(--dash-font);
  font-size: 0.68rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
  background: transparent;
  border: none;
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
  transition: all 150ms ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.biz-overview__fin-tab:hover { color: rgba(255, 255, 255, 0.6); }
.biz-overview__fin-tab--active {
  background: rgba(139, 92, 246, 0.15);
  color: #A78BFA;
}
.biz-overview__fin-tab-count {
  font-size: 0.55rem;
  background: rgba(255, 255, 255, 0.08);
  padding: 1px 6px;
  border-radius: 6px;
  font-weight: 700;
}
.biz-overview__fin-tab--active .biz-overview__fin-tab-count {
  background: rgba(139, 92, 246, 0.2);
}

/* Tab content transition */
.biz-overview__fin-content {
  transition: opacity 0.15s ease;
}

/* List rows (shared for fixed + variable) */
.biz-overview__fin-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.biz-overview__fin-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: all 150ms ease;
}
.biz-overview__fin-row--editable { cursor: pointer; }
.biz-overview__fin-row--editable:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(139, 92, 246, 0.2);
}
.biz-overview__fin-row-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}
.biz-overview__fin-row-icon { font-size: 1rem; flex-shrink: 0; }
.biz-overview__fin-row-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.biz-overview__fin-row-name {
  font-family: var(--dash-font);
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.biz-overview__fin-row-notes {
  font-family: var(--dash-font);
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.3);
}
.biz-overview__fin-row-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.biz-overview__fin-row-amount {
  font-family: var(--dash-font);
  font-size: 0.8rem;
  font-weight: 600;
  color: #F87171;
}
.biz-overview__fin-row-edit {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.2);
  transition: color 150ms;
}
.biz-overview__fin-row--editable:hover .biz-overview__fin-row-edit { color: rgba(139, 92, 246, 0.6); }
.biz-overview__fin-row-arrow {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.15);
}

/* Discount styles */
.biz-overview__fin-row--discount {
  border-color: rgba(22, 163, 100, 0.15);
  background: rgba(22, 163, 100, 0.04);
}
.biz-overview__fin-discount-badge {
  display: inline-block;
  font-family: var(--dash-font);
  font-size: 0.52rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #16A34A, #22C55E);
  padding: 1px 6px;
  border-radius: 6px;
  margin-left: 6px;
  vertical-align: middle;
  letter-spacing: 0.02em;
}
.biz-overview__fin-row-original {
  font-family: var(--dash-font);
  font-size: 0.65rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.3);
  text-decoration: line-through;
}
.biz-overview__fin-row-amount--discounted {
  color: #4ADE80 !important;
}
.biz-overview__fin-empty {
  text-align: center;
  padding: 20px;
  font-family: var(--dash-font);
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.25);
  font-style: italic;
}

/* Collapsed items (show more/less) */
.biz-overview__fin-collapsed {
  display: none;
}
.biz-overview__fin-collapsed--open {
  display: contents;
}

.biz-overview__fin-toggle {
  display: block;
  width: 100%;
  padding: 10px 0;
  font-family: var(--dash-font);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: rgba(139, 92, 246, 0.7);
  background: none;
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition: color 0.15s ease;
  text-align: center;
}
.biz-overview__fin-toggle:hover {
  color: rgba(139, 92, 246, 1);
}

/* Modal form (reused from balance) */
.biz-overview__bal-modal {
  position: relative;
  width: 380px;
  max-width: 92vw;
  max-height: 90vh;
  overflow-y: auto;
  background: rgba(20, 20, 28, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 28px 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  animation: tipCardIn 0.25s ease-out;
}
.biz-overview__bal-modal-title { font-family: var(--dash-font); font-size: 1rem; font-weight: 600; color: #E5E5E5; margin-bottom: 20px; }
.biz-overview__bal-form { display: flex; flex-direction: column; gap: 14px; }
.biz-overview__bal-field { display: flex; flex-direction: column; gap: 5px; }
.biz-overview__bal-label { font-family: var(--dash-font); font-size: 0.6rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255, 255, 255, 0.4); }
.biz-overview__bal-input { font-family: var(--dash-font); font-size: 0.85rem; color: #E5E5E5; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 10px; padding: 10px 12px; outline: none; transition: border-color 150ms ease; }
.biz-overview__bal-input:focus { border-color: rgba(139, 92, 246, 0.5); box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1); }
.biz-overview__bal-input::placeholder { color: rgba(255, 255, 255, 0.2); }
.biz-overview__bal-actions { display: flex; gap: 10px; margin-top: 6px; }
.biz-overview__bal-btn { flex: 1; font-family: var(--dash-font); font-size: 0.78rem; font-weight: 600; border: none; border-radius: 10px; padding: 11px; cursor: pointer; transition: all 150ms ease; }
.biz-overview__bal-btn--save { background: linear-gradient(135deg, #8B5CF6, #A855F7); color: #fff; }
.biz-overview__bal-btn--save:hover { filter: brightness(1.15); box-shadow: 0 4px 16px rgba(139, 92, 246, 0.3); }
.biz-overview__bal-btn--delete { background: rgba(239, 68, 68, 0.1); color: #EF4444; border: 1px solid rgba(239, 68, 68, 0.2); }
.biz-overview__bal-btn--delete:hover { background: rgba(239, 68, 68, 0.2); }

/* ── Upload area ── */
.biz-overview__bal-upload-area {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.biz-overview__bal-upload-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  border: 2px dashed rgba(139, 92, 246, 0.25);
  border-radius: 12px;
  color: rgba(139, 92, 246, 0.6);
  font-family: var(--dash-font);
  font-size: 0.72rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  background: rgba(139, 92, 246, 0.03);
}
.biz-overview__bal-upload-btn:hover {
  border-color: rgba(139, 92, 246, 0.5);
  background: rgba(139, 92, 246, 0.06);
  color: rgba(139, 92, 246, 0.9);
}

.biz-overview__bal-previews {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.biz-overview__bal-preview {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  width: 72px;
}
.biz-overview__bal-preview img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
}
.biz-overview__bal-preview-file {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: rgba(139, 92, 246, 0.06);
  border-radius: 8px;
}
.biz-overview__bal-preview-name {
  font-family: var(--dash-font);
  font-size: 0.5rem;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 64px;
}
.biz-overview__bal-preview-remove {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #EF4444;
  color: #fff;
  border: none;
  font-size: 0.55rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Attachment badge in rows */
.biz-overview__fin-att-badge {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 0.55rem;
  color: rgba(139, 92, 246, 0.7);
  background: rgba(139, 92, 246, 0.08);
  padding: 1px 5px;
  border-radius: 4px;
  margin-left: 6px;
  font-weight: 600;
  vertical-align: middle;
}

/* ── Light theme ── */
.biz-overview--light .biz-overview__financial { background: var(--xz-surface); border-color: var(--xz-border); box-shadow: var(--xz-shadow); }
.biz-overview--light .biz-overview__fin-hero { background: rgba(124, 58, 237, 0.03); border-color: var(--xz-border); }
.biz-overview--light .biz-overview__fin-hero-label { color: var(--xz-text-muted); }
.biz-overview--light .biz-overview__fin-hero-value--profit { color: #16A34A; }
.biz-overview--light .biz-overview__fin-hero-value--loss { color: #DC2626; }
.biz-overview--light .biz-overview__fin-summary-col { background: rgba(124, 58, 237, 0.02); border-color: var(--xz-border); }
.biz-overview--light .biz-overview__fin-summary-label { color: var(--xz-text-muted); }
.biz-overview--light .biz-overview__fin-summary-val--green { color: #16A34A; }
.biz-overview--light .biz-overview__fin-summary-val--red { color: #DC2626; }
.biz-overview--light .biz-overview__fin-bar { background: rgba(124, 58, 237, 0.06); }
.biz-overview--light .biz-overview__fin-bar-key { color: var(--xz-text-muted); }
.biz-overview--light .biz-overview__fin-dot--free { background: rgba(124, 58, 237, 0.1); }
.biz-overview--light .biz-overview__fin-tabs { background: rgba(124, 58, 237, 0.03); border-color: var(--xz-border); }
.biz-overview--light .biz-overview__fin-tab { color: var(--xz-text-muted); }
.biz-overview--light .biz-overview__fin-tab:hover { color: var(--xz-text-secondary); }
.biz-overview--light .biz-overview__fin-tab--active { background: var(--xz-accent); color: #fff; }
.biz-overview--light .biz-overview__fin-tab-count { background: rgba(255, 255, 255, 0.2); }
.biz-overview--light .biz-overview__fin-row { background: rgba(124, 58, 237, 0.02); border-color: var(--xz-border); }
.biz-overview--light .biz-overview__fin-row--editable:hover { background: rgba(124, 58, 237, 0.06); border-color: rgba(124, 58, 237, 0.2); }
.biz-overview--light .biz-overview__fin-row-name { color: var(--xz-text-primary); }
.biz-overview--light .biz-overview__fin-row-notes { color: var(--xz-text-muted); }
.biz-overview--light .biz-overview__fin-row-amount { color: #DC2626; }
.biz-overview--light .biz-overview__fin-row-edit { color: var(--xz-text-muted); }
.biz-overview--light .biz-overview__fin-row--editable:hover .biz-overview__fin-row-edit { color: var(--xz-accent); }
.biz-overview--light .biz-overview__fin-row-arrow { color: var(--xz-text-muted); }
.biz-overview--light .biz-overview__fin-row--discount { border-color: rgba(22, 163, 100, 0.15); background: rgba(22, 163, 100, 0.04); }
.biz-overview--light .biz-overview__fin-row-original { color: var(--xz-text-muted); }
.biz-overview--light .biz-overview__fin-row-amount--discounted { color: #16A34A !important; }
.biz-overview--light .biz-overview__fin-empty { color: var(--xz-text-muted); }
.biz-overview--light .biz-overview__fin-toggle { color: var(--xz-accent); border-top-color: var(--xz-border); }
.biz-overview--light .biz-overview__fin-toggle:hover { color: #6D28D9; }
.biz-overview--light .biz-overview__bal-modal { background: #fff; border-color: var(--xz-border); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12); }
.biz-overview--light .biz-overview__bal-modal-title { color: var(--xz-text-primary); }
.biz-overview--light .biz-overview__bal-label { color: var(--xz-text-muted); }
.biz-overview--light .biz-overview__bal-input { background: rgba(124, 58, 237, 0.04); border-color: var(--xz-border); color: var(--xz-text-primary); }
.biz-overview--light .biz-overview__bal-input:focus { border-color: var(--xz-accent); box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.08); }
.biz-overview--light .biz-overview__bal-input::placeholder { color: var(--xz-text-muted); }
.biz-overview--light .biz-overview__bal-upload-btn { border-color: rgba(124, 58, 237, 0.2); color: var(--xz-accent); background: rgba(124, 58, 237, 0.02); }
.biz-overview--light .biz-overview__bal-upload-btn:hover { border-color: rgba(124, 58, 237, 0.4); background: rgba(124, 58, 237, 0.05); }
.biz-overview--light .biz-overview__bal-preview { background: rgba(124, 58, 237, 0.03); border-color: var(--xz-border); }
.biz-overview--light .biz-overview__bal-preview-name { color: var(--xz-text-muted); }
.biz-overview--light .biz-overview__fin-att-badge { color: var(--xz-accent); background: rgba(124, 58, 237, 0.08); }

/* ── Responsive ── */
@media (max-width: 480px) {
  .biz-overview__fin-hero-value { font-size: 1.4rem; }
  .biz-overview__fin-summary { gap: 6px; }
  .biz-overview__fin-summary-val { font-size: 0.75rem; }
  .biz-overview__fin-summary-label { font-size: 0.45rem; }
  .biz-overview__fin-tab { font-size: 0.6rem; padding: 7px 6px; }
  .biz-overview__fin-row { padding: 8px 10px; }
  .biz-overview__fin-row-name { font-size: 0.72rem; }
  .biz-overview__fin-row-amount { font-size: 0.72rem; }
}

/* ═══ META MARKETING SECTION ═══ */
.biz-overview__meta {
  padding: 22px;
  border-radius: 16px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
}
.biz-overview__meta-explain {
  font-family: var(--dash-font); font-size: 0.6rem;
  color: rgba(255,255,255,0.25); line-height: 1.6;
  margin: 4px 0 16px;
}
.biz-overview__meta-updated {
  font-family: var(--dash-font); font-size: 0.5rem;
  color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.03);
  padding: 3px 8px; border-radius: 6px;
}
.biz-overview__meta-highlight {
  display: flex; align-items: center; justify-content: center;
  gap: 16px; padding: 18px;
  background: linear-gradient(135deg, rgba(59,130,246,0.06), rgba(139,92,246,0.06));
  border: 1px solid rgba(139,92,246,0.08);
  border-radius: 14px; margin-bottom: 18px;
}
.biz-overview__meta-highlight-item {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
}
.biz-overview__meta-highlight-val {
  font-family: var(--dash-font); font-size: 1.1rem; font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #A78BFA, #3B82F6);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.biz-overview__meta-highlight-label {
  font-family: var(--dash-font); font-size: 0.48rem; font-weight: 500;
  color: rgba(255,255,255,0.3); text-transform: uppercase; letter-spacing: 0.06em;
}
.biz-overview__meta-highlight-sep {
  font-size: 0.8rem; color: rgba(255,255,255,0.1);
}
.biz-overview__meta-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
}
.biz-overview__meta-metric {
  padding: 12px; border-radius: 12px;
  background: rgba(255,255,255,0.015);
  border: 1px solid rgba(255,255,255,0.04);
  cursor: pointer;
  transition: all 200ms ease;
}
.biz-overview__meta-metric:hover {
  background: rgba(255,255,255,0.035);
  border-color: rgba(255,255,255,0.08);
}
.biz-overview__meta-metric-top {
  display: flex; align-items: center; gap: 6px; margin-bottom: 6px;
}
.biz-overview__meta-metric-icon { font-size: 0.75rem; }
.biz-overview__meta-metric-label {
  font-family: var(--dash-font); font-size: 0.52rem; font-weight: 600;
  color: rgba(255,255,255,0.35); text-transform: uppercase; letter-spacing: 0.04em;
  flex: 1;
}
.biz-overview__meta-metric-val {
  font-family: var(--dash-font); font-size: 0.9rem; font-weight: 800;
  color: rgba(255,255,255,0.85); letter-spacing: -0.02em;
}
.biz-overview__meta-metric-tip {
  font-family: var(--dash-font); font-size: 0.55rem;
  color: rgba(255,255,255,0.25); line-height: 1.5;
  max-height: 0; overflow: hidden; opacity: 0;
  transition: all 300ms cubic-bezier(0.22,1,0.36,1);
  margin-top: 0;
}
.biz-overview__meta-metric--expanded .biz-overview__meta-metric-tip {
  max-height: 80px; opacity: 1; margin-top: 8px;
}
.biz-overview__meta-metric--expanded {
  background: rgba(var(--biz-rgb),0.04);
  border-color: rgba(var(--biz-rgb),0.12);
}
.biz-overview__meta-empty {
  text-align: center; padding: 30px 20px;
}
.biz-overview__meta-empty-icon { font-size: 2rem; margin-bottom: 10px; opacity: 0.3; }
.biz-overview__meta-empty p {
  font-family: var(--dash-font); font-size: 0.75rem; font-weight: 600;
  color: rgba(255,255,255,0.4); margin: 0 0 6px;
}
.biz-overview__meta-empty span {
  font-family: var(--dash-font); font-size: 0.58rem;
  color: rgba(255,255,255,0.2); line-height: 1.6;
}

/* ── PM head tip ── */
.biz-overview__pm-head-tip {
  font-family: var(--dash-font); font-size: 0.5rem;
  color: rgba(255,255,255,0.15); line-height: 1.5;
  margin-bottom: 4px;
}

/* ── Evidence Inbox ─────────────────────────────────── */
.biz-overview__inbox {
  padding: 20px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.biz-overview__inbox-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 12px;
}

.biz-overview__inbox-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition: all 0.2s ease;
}

.biz-overview__inbox-item:hover {
  background: rgba(var(--biz-rgb), 0.06);
  border-color: rgba(var(--biz-rgb), 0.15);
  transform: translateX(4px);
}

.biz-overview__inbox-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.biz-overview__inbox-content {
  flex: 1;
  min-width: 0;
}

.biz-overview__inbox-subject {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 3px;
}

.biz-overview__inbox-preview {
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--text-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.biz-overview__inbox-date {
  font-family: var(--font-sans);
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
}

.biz-overview__inbox-arrow {
  color: var(--text-muted);
  font-size: 14px;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.biz-overview__inbox-item:hover .biz-overview__inbox-arrow {
  transform: translateX(3px);
  color: var(--biz-color);
}

.biz-overview__inbox-empty {
  text-align: center;
  padding: 32px 16px;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 13px;
  font-style: italic;
}

.biz-overview__inbox-loading {
  text-align: center;
  padding: 20px 16px;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 12px;
}

/* ── Header Enhancements ─────────────────────────────── */
.biz-overview__header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 0;
  padding-right: 56px; /* Space for notification bell */
  gap: 10px;
}

.biz-overview__range-selector {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.biz-overview__range-pills {
  display: flex;
  gap: 4px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.biz-overview__month-picker {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 6px 10px;
  cursor: pointer;
  outline: none;
  color-scheme: dark;
  transition: border-color 150ms ease;
}

.biz-overview__month-picker:focus {
  border-color: rgba(var(--biz-rgb), 0.4);
}

.biz-overview__month-picker::-webkit-calendar-picker-indicator {
  filter: invert(0.7);
  cursor: pointer;
}

.biz-overview__range-btn {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: var(--weight-semibold);
  color: var(--text-muted);
  background: transparent;
  border: none;
  border-radius: 7px;
  padding: 5px 12px;
  cursor: pointer;
  transition: all 150ms ease;
  letter-spacing: 0.5px;
}

.biz-overview__range-btn:hover {
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
}

.biz-overview__range-btn--active {
  background: rgba(var(--biz-rgb), 0.15);
  color: var(--biz-color);
  box-shadow: 0 2px 8px rgba(var(--biz-rgb), 0.1);
}

.biz-overview__range-label {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: var(--weight-medium);
  color: var(--biz-color);
  background: rgba(var(--biz-rgb), 0.08);
  padding: 2px 8px;
  border-radius: 6px;
  margin-top: 4px;
  letter-spacing: 0.3px;
}

/* ── Custom Date Range Picker ─────────────────────────── */
.biz-overview__range-btn svg {
  vertical-align: -1px;
  margin-right: 2px;
}

.biz-overview__date-range {
  display: none;
  width: 100%;
  margin-top: 8px;
}
.biz-overview__date-range--open {
  display: block;
  animation: dateRangeSlide 0.25s ease-out;
}

@keyframes dateRangeSlide {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.biz-overview__date-range-inner {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 12px 14px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.biz-overview__date-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.biz-overview__date-label {
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
}

.biz-overview__date-input {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 7px 10px;
  outline: none;
  color-scheme: dark;
  transition: border-color 150ms ease;
  width: 100%;
}
.biz-overview__date-input:focus {
  border-color: rgba(var(--biz-rgb), 0.4);
}
.biz-overview__date-input::-webkit-calendar-picker-indicator {
  filter: invert(0.7);
  cursor: pointer;
}

.biz-overview__date-sep {
  font-size: 14px;
  color: var(--text-muted);
  padding-bottom: 8px;
  flex-shrink: 0;
}

.biz-overview__date-apply {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  color: #FFF;
  background: var(--biz-color);
  border: none;
  border-radius: 8px;
  padding: 8px 18px;
  cursor: pointer;
  transition: all 150ms ease;
  white-space: nowrap;
  letter-spacing: 0.3px;
}
.biz-overview__date-apply:hover {
  filter: brightness(1.15);
  box-shadow: 0 2px 12px rgba(var(--biz-rgb), 0.3);
}

/* ── 8-card KPI Grid ─────────────────────────────────── */
.biz-overview__kpi-grid--8 {
  grid-template-columns: repeat(4, 1fr);
}

.biz-overview__kpi--accent {
  background: rgba(var(--biz-rgb), 0.06);
  border-color: rgba(var(--biz-rgb), 0.18);
}

.biz-overview__kpi--accent .biz-overview__kpi-value {
  font-size: 30px;
}

/* ── Brand Initials (Rush Ride fallback) ─────────────── */
.biz-overview__brand-initials {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: var(--weight-bold);
  color: #fff;
  border-radius: inherit;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* ── Staff Section ───────────────────────────────────── */
.biz-overview__staff {
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 20px;
}

.biz-overview__section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.biz-overview__section-header .biz-overview__section-title {
  margin-bottom: 0;
}

.biz-overview__staff-badge {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: var(--weight-medium);
  color: var(--biz-color);
  background: rgba(var(--biz-rgb), 0.08);
  padding: 3px 10px;
  border-radius: 8px;
  border: 1px solid rgba(var(--biz-rgb), 0.12);
}

.biz-overview__staff-summary {
  display: flex;
  gap: 16px;
  margin-bottom: 18px;
  padding: 14px 16px;
  background: rgba(var(--biz-rgb), 0.04);
  border-radius: 12px;
  border: 1px solid rgba(var(--biz-rgb), 0.08);
}

.biz-overview__staff-stat {
  flex: 1;
  text-align: center;
}

.biz-overview__staff-stat-value {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: var(--weight-bold);
  color: var(--biz-color);
  line-height: 1.2;
}

.biz-overview__staff-stat-label {
  font-family: var(--font-sans);
  font-size: 10px;
  color: var(--text-dim);
  margin-top: 2px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.biz-overview__staff-table {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.biz-overview__staff-head {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr 0.8fr;
  gap: 8px;
  padding: 8px 12px;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: var(--weight-semibold);
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.biz-overview__staff-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr 0.8fr;
  gap: 8px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 8px;
  transition: background 150ms ease;
}

.biz-overview__staff-row:hover {
  background: rgba(var(--biz-rgb), 0.04);
}

.biz-overview__staff-person {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.biz-overview__staff-avatar {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(var(--biz-rgb), 0.10);
  border: 1px solid rgba(var(--biz-rgb), 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: var(--weight-bold);
  color: var(--biz-color);
  flex-shrink: 0;
}

.biz-overview__staff-info {
  min-width: 0;
}

.biz-overview__staff-name {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: var(--weight-medium);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.biz-overview__staff-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.biz-overview__staff-role {
  font-family: var(--font-sans);
  font-size: 11px;
  color: var(--text-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.biz-overview__staff-attendance {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: var(--weight-medium);
  color: var(--text-secondary);
  text-align: center;
}

.biz-overview__staff-punct {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: var(--weight-semibold);
}

.biz-overview__staff-bar-track {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 2px;
  overflow: hidden;
}

.biz-overview__staff-bar-fill {
  height: 100%;
  border-radius: 2px;
  transition: width 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.biz-overview__staff-rating {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: var(--weight-semibold);
  color: var(--text-secondary);
  text-align: center;
}

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 1200px) {
  .biz-dash--clients {
    grid-template-columns: 60px 1fr 1fr;
  }
  .biz-dash--clients .biz-dash__panel--left {
    display: none;
  }
}

@media (max-width: 1024px) {
  .biz-dash {
    grid-template-columns: 60px 1fr 2fr;
  }
  .biz-dash--clients {
    grid-template-columns: 60px 1fr 1fr;
  }
  .biz-dash--clients .biz-dash__panel--left {
    display: none;
  }
  .biz-dash__panel--right:not(.biz-dash__clients-area) {
    display: none;
  }
}

@media (max-width: 768px) {
  .biz-dash {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }
  .biz-dash--clients {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto 1fr;
  }
  .biz-dash__sidebar {
    flex-direction: row;
    padding: 12px 16px;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    overflow-x: auto;
  }
  .biz-dash__sidebar-sep {
    width: 1px;
    height: 24px;
    margin: 0 4px;
  }
  .biz-dash__sidebar-spacer {
    display: none;
  }
  .biz-dash__panel--left {
    display: none;
  }
  .biz-dash__panel--right:not(.biz-dash__clients-area) {
    display: none;
  }
  .biz-dash__center {
    padding: 24px 16px;
  }
  .biz-dash--clients .biz-dash__center {
    display: none;
  }
  .biz-dash__hero-wrap {
    width: 280px;
  }

  /* ── Mobile: Show left panel as compact metrics strip ── */
  .biz-dash--clients .biz-dash__panel--left {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 12px;
    overflow-y: visible;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    justify-content: flex-start;
  }

  /* Hide heavy visual elements on mobile compact strip */
  .biz-dash--clients .biz-dash__panel--left .biz-dash__panel-header,
  .biz-dash--clients .biz-dash__panel--left .biz-dash__sparkline,
  .biz-dash--clients .biz-dash__panel--left .biz-dash__divider,
  .biz-dash--clients .biz-dash__panel--left .biz-dash__metric--progress,
  .biz-dash--clients .biz-dash__panel--left .biz-dash__metric-sub {
    display: none;
  }

  /* Compact metric cards: 2 per row */
  .biz-dash--clients .biz-dash__panel--left .biz-dash__metric {
    flex: 1 1 calc(50% - 4px);
    min-width: 0;
    padding: 10px;
  }

  /* Credential folder: full width at bottom of strip */
  .biz-dash--clients .biz-dash__panel--left .biz-cred__folder {
    flex: 1 1 100%;
    margin-top: 0;
  }

  /* Clients area: start from top on mobile for scroll */
  .biz-dash--clients .biz-dash__clients-area {
    justify-content: flex-start;
  }

  /* ── Overview Responsive — Tablet ── */
  .biz-overview {
    padding: 16px;
    gap: 14px;
  }
  .biz-overview__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .biz-overview__header-top {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding-right: 0;
  }
  .biz-overview__range-selector {
    flex: 1;
    min-width: 0;
  }
  .biz-overview__brand-line {
    flex-direction: row;
    align-items: center;
    gap: 10px;
  }
  .biz-overview__receivable-card {
    min-width: auto;
    padding: 8px 14px !important;
  }
  .biz-overview__kpi-grid,
  .biz-overview__kpi-grid--8 {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .biz-overview__kpi--wide {
    grid-column: span 2;
    flex-direction: column;
  }
  .biz-overview__kpi--wide .biz-overview__kpi-main { flex: none; }
  .biz-overview__pm-breakdown { border-left: none; border-top: 1px solid rgba(var(--biz-rgb),0.08); }
  .biz-overview__meta-grid { grid-template-columns: repeat(2, 1fr); }
  .biz-overview__meta-highlight { flex-wrap: wrap; gap: 8px; }
  .biz-overview__exp-summary { flex-wrap: wrap; gap: 8px; }
  .biz-overview__proposal-preview { width: 120px; min-height: 90px; }
  .biz-overview__charts {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .biz-overview__kpi-value {
    font-size: 22px;
  }
  .biz-overview__kpi--accent .biz-overview__kpi-value {
    font-size: 24px;
  }
  .biz-overview__kpi {
    padding: 16px;
  }
  .biz-overview__name {
    font-size: 18px;
  }
  .biz-overview__brand-avatar {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }
  .biz-overview__bars {
    height: 110px;
  }
  /* Staff responsive — tablet */
  .biz-overview__staff-head {
    display: none;
  }
  .biz-overview__staff-row {
    grid-template-columns: 1fr auto auto auto;
    gap: 6px;
    padding: 8px 10px;
  }
  .biz-overview__staff-summary {
    gap: 10px;
    padding: 12px;
  }
  .biz-overview__staff-stat-value {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .biz-overview {
    padding: 12px;
    gap: 10px;
  }
  .biz-overview__kpi-grid,
  .biz-overview__kpi-grid--8 {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .biz-overview__kpi-value {
    font-size: 20px;
  }
  .biz-overview__kpi--accent .biz-overview__kpi-value {
    font-size: 22px;
  }
  .biz-overview__kpi {
    padding: 14px;
  }
  .biz-overview__chart-card {
    padding: 16px;
  }
  .biz-overview__bars {
    height: 100px;
    gap: 6px;
  }
  .biz-overview__activity {
    padding: 14px;
  }
  .biz-overview__proposal {
    padding: 14px 16px;
  }
  .biz-overview__range-selector {
    flex-wrap: nowrap;
    gap: 4px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .biz-overview__range-selector::-webkit-scrollbar { display: none; }
  .biz-overview__range-pills {
    padding: 2px;
    flex-shrink: 0;
  }
  .biz-overview__range-btn {
    padding: 4px 8px;
    font-size: 10px;
  }
  .biz-overview__month-picker {
    font-size: 11px;
    padding: 5px 8px;
  }
  .biz-overview__date-range-inner {
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px;
  }
  .biz-overview__date-field {
    min-width: 0;
    flex: 1 1 100px;
  }
  .biz-overview__date-sep {
    display: none;
  }
  .biz-overview__date-apply {
    width: 100%;
    padding: 10px;
    text-align: center;
  }
  .biz-overview__header-top {
    padding-right: 0;
    flex-wrap: nowrap;
  }
  .biz-overview__month-picker {
    max-width: 130px;
    flex-shrink: 0;
  }
  .biz-overview__back {
    padding: 6px 10px !important;
    font-size: 0.7rem !important;
  }
  .biz-overview__back span { display: none; }
  /* Staff — mobile */
  .biz-overview__staff {
    padding: 14px;
  }
  .biz-overview__staff-row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 10px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  }
  .biz-overview__staff-punct {
    justify-content: flex-start;
  }
  .biz-overview__staff-attendance,
  .biz-overview__staff-rating {
    text-align: left;
    font-size: 11px;
    color: var(--text-muted);
  }
  .biz-overview__staff-attendance::before {
    content: 'Asist: ';
    color: var(--text-dim);
  }
  .biz-overview__staff-rating::before {
    content: 'Rating: ';
    color: var(--text-dim);
  }
  .biz-overview__staff-summary {
    flex-direction: column;
    gap: 8px;
    padding: 10px;
  }
  .biz-overview__staff-stat {
    display: flex;
    align-items: center;
    gap: 8px;
    text-align: left;
  }
  .biz-overview__staff-stat-value {
    font-size: 16px;
  }
  .biz-overview__staff-stat-label {
    font-size: 11px;
    margin-top: 0;
  }
}

/* ═══════════════════════════════════════════════════════
   Credential Vault System
   ═══════════════════════════════════════════════════════ */

/* ── Credential Folder — Virtual Folder Style ── */
.biz-cred__folder {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  margin-top: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: visible;
  width: 100%;
  max-width: 320px;
}

/* Folder body — the main rectangle */
.biz-cred__folder::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(165deg,
      rgba(180,140,60,0.18) 0%,
      rgba(160,120,40,0.10) 40%,
      rgba(140,100,30,0.06) 100%
    );
  border: 1px solid rgba(180,140,60,0.2);
  border-radius: 2px 10px 10px 10px;
  box-shadow:
    0 3px 12px rgba(0,0,0,0.25),
    inset 0 1px 0 rgba(255,255,255,0.06),
    inset 0 -1px 4px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  pointer-events: none;
}

/* Folder tab — the top flap */
.biz-cred__folder::after {
  content: '';
  position: absolute;
  top: -8px;
  left: 0;
  width: 50%;
  height: 10px;
  background:
    linear-gradient(165deg,
      rgba(200,160,60,0.22) 0%,
      rgba(180,140,50,0.14) 100%
    );
  border: 1px solid rgba(180,140,60,0.2);
  border-bottom: none;
  border-radius: 6px 6px 0 0;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08);
  transition: all 0.3s ease;
  pointer-events: none;
}

.biz-cred__folder:hover::before {
  background:
    linear-gradient(165deg,
      rgba(200,160,60,0.24) 0%,
      rgba(180,140,50,0.14) 40%,
      rgba(160,120,40,0.08) 100%
    );
  border-color: rgba(200,160,60,0.3);
  box-shadow:
    0 6px 20px rgba(0,0,0,0.3),
    0 0 16px rgba(200,160,60,0.08),
    inset 0 1px 0 rgba(255,255,255,0.08);
  transform: translateY(-1px);
}

.biz-cred__folder:hover::after {
  background:
    linear-gradient(165deg,
      rgba(220,180,70,0.28) 0%,
      rgba(200,160,60,0.18) 100%
    );
  border-color: rgba(200,160,60,0.3);
}

.biz-cred__folder-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(200,160,60,0.1);
  border: 1px solid rgba(200,160,60,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(220,180,80,0.9);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.biz-cred__folder-info {
  flex: 1;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.biz-cred__folder-name {
  font-family: var(--dash-font);
  font-size: 11px;
  font-weight: var(--weight-semibold);
  color: rgba(230,200,120,0.95);
  letter-spacing: 0.3px;
}

.biz-cred__folder-sub {
  font-family: var(--dash-font);
  font-size: 8px;
  color: rgba(200,170,90,0.5);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-top: 1px;
}

.biz-cred__folder-shield {
  color: rgba(200,160,60,0.35);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

/* ── PIN Overlay ── */
.biz-cred__pin-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.biz-cred__pin-overlay--show {
  opacity: 1;
  pointer-events: all;
}

.biz-cred__pin-box {
  background: rgba(20, 20, 30, 0.95);
  border: 1px solid rgba(var(--biz-rgb), 0.15);
  border-radius: 20px;
  padding: 40px 48px;
  text-align: center;
  position: relative;
  box-shadow:
    0 24px 80px rgba(0,0,0,0.5),
    0 0 40px rgba(var(--biz-rgb),0.05);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.biz-cred__pin-overlay--show .biz-cred__pin-box {
  transform: scale(1);
}

@keyframes pinShake {
  0%, 100% { transform: translateX(0) scale(1); }
  20%, 60% { transform: translateX(-8px) scale(1); }
  40%, 80% { transform: translateX(8px) scale(1); }
}

.biz-cred__pin-box--shake {
  animation: pinShake 0.4s ease;
}

.biz-cred__pin-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  padding: 4px;
  transition: color 0.2s ease;
}

.biz-cred__pin-close:hover { color: var(--text-primary); }

.biz-cred__pin-lock {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(var(--biz-rgb), 0.08);
  border: 1px solid rgba(var(--biz-rgb), 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--biz-color);
}

.biz-cred__pin-lock svg { width: 24px; height: 24px; }

.biz-cred__pin-title {
  font-family: var(--dash-font);
  font-size: 18px;
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
  margin: 0 0 4px;
}

.biz-cred__pin-sub {
  font-family: var(--dash-font);
  font-size: 12px;
  color: var(--text-muted);
  margin: 0 0 24px;
}

.biz-cred__pin-inputs {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 16px;
}

.biz-cred__pin-digit {
  width: 48px;
  height: 56px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
  font-family: var(--dash-font);
  font-size: 24px;
  font-weight: var(--weight-bold);
  text-align: center;
  outline: none;
  transition: all 0.2s ease;
  -webkit-text-security: disc;
}

.biz-cred__pin-digit:focus {
  border-color: rgba(var(--biz-rgb), 0.5);
  box-shadow: 0 0 16px rgba(var(--biz-rgb), 0.15);
  background: rgba(var(--biz-rgb), 0.04);
}

.biz-cred__pin-error {
  font-family: var(--dash-font);
  font-size: 12px;
  color: #ef4444;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.biz-cred__pin-error--show { opacity: 1; }

/* ── Vault Overlay ── */
.biz-cred__vault-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.biz-cred__vault-overlay--show {
  opacity: 1;
  pointer-events: all;
}

.biz-cred__vault-container {
  width: 90%;
  max-width: 900px;
  max-height: 90vh;
  background: rgba(15, 15, 25, 0.97);
  border: 1px solid rgba(var(--biz-rgb), 0.12);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow:
    0 32px 100px rgba(0,0,0,0.6),
    0 0 60px rgba(var(--biz-rgb),0.04);
  transform: scale(0.92) translateY(20px);
  transition: transform 0.35s ease;
}

.biz-cred__vault-overlay--show .biz-cred__vault-container {
  transform: scale(1) translateY(0);
}

.biz-cred__vault-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.biz-cred__vault-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--biz-color);
}

.biz-cred__vault-title {
  font-family: var(--dash-font);
  font-size: 16px;
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
  margin: 0;
  letter-spacing: 0.5px;
}

.biz-cred__vault-close {
  background: none;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  color: var(--text-muted);
  cursor: pointer;
  padding: 6px;
  transition: all 0.2s ease;
}

.biz-cred__vault-close:hover {
  border-color: rgba(var(--biz-rgb),0.3);
  color: var(--text-primary);
  background: rgba(var(--biz-rgb),0.06);
}

.biz-cred__vault-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 24px 24px;
  overflow-y: auto;
  flex: 1;
  scrollbar-width: thin;
  scrollbar-color: rgba(var(--biz-rgb),0.2) transparent;
}

/* ── Vault Business Card ── */
.biz-cred__vault-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.biz-cred__vault-card:hover {
  border-color: rgba(var(--biz-rgb), 0.15);
}

.biz-cred__vault-card--open {
  border-color: rgba(var(--biz-rgb), 0.25);
  background: rgba(var(--biz-rgb), 0.02);
  box-shadow: 0 4px 24px rgba(var(--biz-rgb), 0.06);
}

.biz-cred__vault-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.biz-cred__vault-header:hover {
  background: rgba(var(--biz-rgb), 0.04);
}

.biz-cred__vault-avatar {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(var(--biz-rgb), 0.08);
  border: 1px solid rgba(var(--biz-rgb), 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.biz-cred__vault-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.biz-cred__vault-avatar-initials {
  font-family: var(--dash-font);
  font-size: 14px;
  font-weight: var(--weight-bold);
  color: var(--biz-color);
}

.biz-cred__vault-info {
  flex: 1;
  min-width: 0;
}

.biz-cred__vault-name {
  font-family: var(--dash-font);
  font-size: 14px;
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
  margin: 0;
}

.biz-cred__vault-sub {
  font-family: var(--dash-font);
  font-size: 11px;
  color: var(--text-muted);
  margin: 2px 0 0;
}

.biz-cred__vault-badge {
  font-family: var(--dash-font);
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 8px;
  background: rgba(var(--biz-rgb), 0.08);
  border: 1px solid rgba(var(--biz-rgb), 0.15);
  color: var(--biz-color);
  flex-shrink: 0;
  min-width: 24px;
  text-align: center;
}

/* Card body — hidden by default, expand on open */
.biz-cred__vault-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              padding 0.35s ease;
  padding: 0 16px;
}

.biz-cred__vault-card--open .biz-cred__vault-body {
  max-height: 600px;
  padding: 0 16px 14px;
}

/* Saved credential cards */
.biz-cred__vault-creds {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 10px;
}

.biz-cred__saved-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 10px 12px;
  transition: border-color 0.2s ease;
}

.biz-cred__saved-card:hover {
  border-color: rgba(255, 255, 255, 0.1);
}

.biz-cred__saved-text {
  font-family: var(--dash-font);
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-word;
}

.biz-cred__saved-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
}

.biz-cred__saved-date {
  font-family: var(--dash-font);
  font-size: 10px;
  color: var(--text-dim);
}

.biz-cred__saved-delete {
  background: none;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  padding: 2px;
  transition: color 0.2s ease;
  opacity: 0.4;
}

.biz-cred__saved-delete:hover {
  color: #ef4444;
  opacity: 1;
}

/* Input form */
.biz-cred__vault-form {
  display: flex;
  gap: 8px;
  align-items: flex-end;
}

.biz-cred__vault-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 8px 12px;
  color: var(--text-primary);
  font-family: var(--dash-font);
  font-size: 12px;
  resize: none;
  outline: none;
  transition: border-color 0.2s ease;
}

.biz-cred__vault-input:focus {
  border-color: rgba(var(--biz-rgb), 0.3);
}

.biz-cred__vault-input::placeholder {
  color: var(--text-dim);
}

.biz-cred__vault-confirm {
  background: linear-gradient(135deg, var(--biz-color), var(--biz-color-dark));
  border: none;
  border-radius: 8px;
  padding: 8px 16px;
  color: #fff;
  font-family: var(--dash-font);
  font-size: 11px;
  font-weight: var(--weight-semibold);
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.biz-cred__vault-confirm:hover {
  box-shadow: 0 4px 16px rgba(var(--biz-rgb), 0.3);
  transform: translateY(-1px);
}

/* ── Vault Responsive ── */
@media (max-width: 768px) {
  .biz-cred__vault-container {
    width: 95%;
    max-height: 95vh;
  }
  .biz-cred__vault-titlebar {
    padding: 14px 16px;
  }
  .biz-cred__vault-grid {
    padding: 12px 16px 16px;
  }
  .biz-cred__pin-box {
    padding: 32px 24px;
  }
  .biz-cred__pin-digit {
    width: 42px;
    height: 48px;
    font-size: 20px;
  }
}

/* ── Reduced Motion ── */
@media (prefers-reduced-motion: reduce) {
  .biz-overview__card--assemble { animation: none; opacity: 1; transform: none; filter: none; }
  .biz-client__card { animation: none; }
  .biz-client__card--emphasis { animation: none; }
  .biz-overview__donut-arc { transition: none; }
  .biz-overview__bar-fill { transition: none; }
  .biz-intro__greeting,
  .biz-intro__name,
  .biz-intro__line,
  .biz-intro__sub { animation: none; opacity: 1; transform: none; width: 220px; }
  .biz-assemble,
  .biz-assemble--slide-up,
  .biz-assemble--card,
  .biz-assemble--fade { animation: none; opacity: 1; transform: none; filter: none; }
  .eco-broadcast { animation: none; }
  .eco-broadcast--exit .eco-broadcast { animation: none; }
}


/* ═══════════════════════════════════════════════════════
   Ecosystem Broadcast — Apple-style floating messages
   ═══════════════════════════════════════════════════════ */

/* ── Broadcast Overlay (full-screen, centered) ── */
.eco-broadcast-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  animation: ecoBroadcastBgIn 800ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
.eco-broadcast-overlay--exit,
.eco-broadcast--exit {
  animation: ecoBroadcastBgOut 1000ms cubic-bezier(0.22, 1, 0.36, 1) both;
  pointer-events: none;
}
@keyframes ecoBroadcastBgIn {
  from { background: transparent; }
  to   { background: rgba(0, 0, 0, 0.25); }
}
@keyframes ecoBroadcastBgOut {
  from { background: rgba(0, 0, 0, 0.25); }
  to   { background: transparent; }
}

/* ── The Broadcast Container ── */
.eco-broadcast {
  position: relative;
  max-width: 560px;
  width: 90%;
  padding: 36px 44px;
  text-align: center;
  pointer-events: auto;
  cursor: pointer;
  animation: ecoBroadcastIn 1000ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
.eco-broadcast--exit .eco-broadcast,
.eco-broadcast-overlay.eco-broadcast--exit .eco-broadcast {
  animation: ecoBroadcastOut 1000ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes ecoBroadcastIn {
  0% {
    opacity: 0;
    transform: scale(0.85) translateY(20px);
    filter: blur(12px);
  }
  60% {
    opacity: 1;
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: blur(0);
  }
}
@keyframes ecoBroadcastOut {
  0% {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: blur(0);
  }
  100% {
    opacity: 0;
    transform: scale(0.92) translateY(-30px);
    filter: blur(8px);
  }
}

/* ── Glow behind the message ── */
.eco-broadcast__glow {
  position: absolute;
  inset: -40px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center,
    rgba(var(--biz-rgb, 139,92,246), 0.15) 0%,
    rgba(var(--biz-rgb, 139,92,246), 0.05) 40%,
    transparent 70%);
  filter: blur(30px);
  animation: ecoBroadcastGlow 3s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes ecoBroadcastGlow {
  from { opacity: 0.6; transform: scale(0.95); }
  to   { opacity: 1; transform: scale(1.05); }
}

/* ── Content ── */
.eco-broadcast__content {
  position: relative;
  z-index: 1;
}

.eco-broadcast__sender {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(var(--biz-rgb, 139,92,246), 0.7);
  margin-bottom: 12px;
  animation: ecoBroadcastSenderIn 800ms cubic-bezier(0.22, 1, 0.36, 1) 200ms both;
}
@keyframes ecoBroadcastSenderIn {
  from { opacity: 0; transform: translateY(8px); letter-spacing: 0.3em; }
  to   { opacity: 1; transform: translateY(0); letter-spacing: 0.12em; }
}

.eco-broadcast__message {
  font-size: 1.6rem;
  font-weight: 300;
  line-height: 1.4;
  color: #fff;
  letter-spacing: -0.01em;
  text-shadow: 0 0 40px rgba(var(--biz-rgb, 139,92,246), 0.3);
  animation: ecoBroadcastMsgIn 1200ms cubic-bezier(0.22, 1, 0.36, 1) 300ms both;
}
@keyframes ecoBroadcastMsgIn {
  0% {
    opacity: 0;
    transform: translateY(15px);
    filter: blur(4px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

/* ── Subtle shimmer line ── */
.eco-broadcast__shimmer {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg,
    transparent,
    rgba(var(--biz-rgb, 139,92,246), 0.4),
    transparent);
  animation: ecoBroadcastShimmer 2s ease-in-out infinite;
}
@keyframes ecoBroadcastShimmer {
  0%, 100% { opacity: 0.3; width: 40px; }
  50%      { opacity: 0.8; width: 80px; }
}


/* ═══════════════════════════════════════════════════════
   Broadcast Composer (SuperAdmin send UI)
   ═══════════════════════════════════════════════════════ */

/* ── FAB (Floating Action Button) ── */
.eco-broadcast-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9000;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(var(--biz-rgb, 139,92,246), 0.9), rgba(var(--biz-rgb, 139,92,246), 0.7));
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 4px 20px rgba(var(--biz-rgb, 139,92,246), 0.3),
    0 0 0 0 rgba(var(--biz-rgb, 139,92,246), 0);
  transition: all 300ms cubic-bezier(0.22, 1, 0.36, 1);
  animation: ecoBroadcastFabIn 600ms cubic-bezier(0.22, 1, 0.36, 1) 1500ms both;
}
.eco-broadcast-fab:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow:
    0 8px 30px rgba(var(--biz-rgb, 139,92,246), 0.4),
    0 0 0 4px rgba(var(--biz-rgb, 139,92,246), 0.1);
}
.eco-broadcast-fab--active {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(var(--biz-rgb, 139,92,246), 0.5);
  transform: rotate(45deg);
}
.eco-broadcast-fab--active:hover {
  transform: rotate(45deg) scale(1.05);
}
@keyframes ecoBroadcastFabIn {
  from { opacity: 0; transform: scale(0.5) translateY(20px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* ── Composer Panel ── */
.eco-broadcast-composer {
  position: fixed;
  bottom: 90px;
  right: 28px;
  z-index: 9001;
  display: flex;
  animation: ecoComposerIn 350ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes ecoComposerIn {
  from { opacity: 0; transform: translateY(12px) scale(0.95); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.eco-broadcast-composer__inner {
  width: 340px;
  background: rgba(17, 17, 24, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.eco-broadcast-composer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.eco-broadcast-composer__title {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-primary, #fff);
  letter-spacing: -0.01em;
}
.eco-broadcast-composer__close {
  background: none;
  border: none;
  color: var(--text-muted, #888);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 4px;
  border-radius: 8px;
  transition: all 200ms;
  line-height: 1;
}
.eco-broadcast-composer__close:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary, #fff);
}

.eco-broadcast-composer__input {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 12px 14px;
  color: var(--text-primary, #fff);
  font-size: 0.85rem;
  font-family: inherit;
  resize: none;
  outline: none;
  transition: border-color 200ms;
  line-height: 1.5;
}
.eco-broadcast-composer__input:focus {
  border-color: rgba(var(--biz-rgb, 139,92,246), 0.4);
}
.eco-broadcast-composer__input::placeholder {
  color: var(--text-dim, #555);
}

.eco-broadcast-composer__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
}
.eco-broadcast-composer__count {
  font-size: 0.65rem;
  color: var(--text-dim, #555);
  font-family: var(--font-mono, monospace);
}
.eco-broadcast-composer__send {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 0.75rem;
  font-weight: 600;
  background: linear-gradient(135deg, rgba(var(--biz-rgb, 139,92,246), 0.8), rgba(var(--biz-rgb, 139,92,246), 0.6));
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
  transition: all 200ms;
}
.eco-broadcast-composer__send:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(var(--biz-rgb, 139,92,246), 0.3);
}
.eco-broadcast-composer__send:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

/* ── Mobile ── */
@media (max-width: 768px) {
  .eco-broadcast__message {
    font-size: 1.2rem;
  }
  .eco-broadcast {
    padding: 28px 24px;
  }
  .eco-broadcast-fab {
    bottom: 20px;
    right: 20px;
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }
  .eco-broadcast-composer {
    bottom: 78px;
    right: 16px;
    left: 16px;
  }
  .eco-broadcast-composer__inner {
    width: 100%;
  }
}


/* ═══════════════════════════════════════════════════════
   KPI Cards — Apple-style metric tiles
   ═══════════════════════════════════════════════════════ */

.biz-kpi {
  background:
    linear-gradient(145deg,
      rgba(255, 255, 255, 0.035) 0%,
      rgba(255, 255, 255, 0.01) 50%,
      rgba(var(--kpi-accent-rgb), 0.025) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  padding: 18px 20px 16px;
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  transition: all 400ms cubic-bezier(0.22, 1, 0.36, 1);
  overflow: visible;
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
/* Top accent line */
.biz-kpi::before {
  content: '';
  position: absolute;
  top: 0;
  left: 14px;
  right: 14px;
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    rgba(var(--kpi-accent-rgb), 0.4),
    rgba(var(--kpi-purple-rgb), 0.25),
    transparent);
  opacity: 0.7;
  border-radius: 0;
  transition: opacity 300ms;
  pointer-events: none;
}
/* Corner glow dot */
.biz-kpi::after {
  content: '';
  position: absolute;
  top: -1px;
  right: 18px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--kpi-accent-rgb), 0.6), transparent 70%);
  box-shadow: 0 0 8px rgba(var(--kpi-accent-rgb), 0.3);
  opacity: 0;
  transition: opacity 300ms ease;
  pointer-events: none;
}
.biz-kpi:hover {
  background:
    linear-gradient(145deg,
      rgba(255, 255, 255, 0.05) 0%,
      rgba(var(--kpi-accent-rgb), 0.04) 50%,
      rgba(var(--kpi-accent-rgb), 0.06) 100%);
  border-color: rgba(var(--kpi-accent-rgb), 0.22);
  transform: translateY(-2px);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.35),
    0 0 24px rgba(var(--kpi-accent-rgb), 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.biz-kpi:hover::before {
  opacity: 1;
}
.biz-kpi:hover::after {
  opacity: 1;
}
.biz-kpi:active {
  transform: scale(0.985);
}

/* ── First KPI card (Facturación) — Living Breathing Neon Glow ── */
.biz-kpi:first-of-type {
  border-color: rgba(var(--kpi-accent-rgb), 0.25);
  background:
    linear-gradient(145deg,
      rgba(var(--kpi-accent-rgb), 0.06) 0%,
      rgba(var(--kpi-accent-rgb), 0.02) 40%,
      rgba(var(--kpi-purple-rgb), 0.04) 100%);
  animation: kpiBreathe 4s ease-in-out infinite;
}
.biz-kpi:first-of-type::before {
  background: linear-gradient(90deg,
    transparent,
    rgba(var(--kpi-accent-rgb), 0.6),
    rgba(var(--kpi-accent-rgb), 0.35),
    transparent);
  opacity: 1;
}
.biz-kpi:first-of-type::after {
  opacity: 1;
  width: 8px;
  height: 8px;
  background: radial-gradient(circle, rgba(var(--kpi-accent-rgb), 0.8), transparent 70%);
  box-shadow: 0 0 12px rgba(var(--kpi-accent-rgb), 0.5);
  animation: kpiDotPulse 4s ease-in-out infinite;
}

@keyframes kpiBreathe {
  0%, 100% {
    border-color: rgba(var(--kpi-accent-rgb), 0.2);
    box-shadow:
      0 0 0 0 transparent,
      0 4px 20px rgba(0, 0, 0, 0.3),
      0 0 30px rgba(var(--kpi-accent-rgb), 0.03),
      inset 0 0 20px rgba(var(--kpi-accent-rgb), 0.01);
  }
  50% {
    border-color: rgba(var(--kpi-accent-rgb), 0.4);
    box-shadow:
      0 0 0 4px rgba(var(--kpi-accent-rgb), 0.04),
      0 8px 40px rgba(0, 0, 0, 0.35),
      0 0 50px rgba(var(--kpi-accent-rgb), 0.08),
      inset 0 0 30px rgba(var(--kpi-accent-rgb), 0.03);
  }
}
@keyframes kpiDotPulse {
  0%, 100% {
    box-shadow: 0 0 8px rgba(var(--kpi-accent-rgb), 0.4);
    opacity: 0.7;
  }
  50% {
    box-shadow: 0 0 16px rgba(var(--kpi-accent-rgb), 0.8), 0 0 30px rgba(var(--kpi-accent-rgb), 0.25);
    opacity: 1;
  }
}

/* ── KPI Card Header (icon + titles + help) ── */
.biz-kpi__header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}
.biz-kpi__icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg,
    rgba(var(--kpi-accent-rgb), 0.14),
    rgba(var(--kpi-purple-rgb), 0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.biz-kpi__icon svg {
  width: 16px;
  height: 16px;
  stroke: var(--kpi-accent);
}
.biz-kpi__titles {
  flex: 1;
  min-width: 0;
}
.biz-kpi__label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--kpi-text-primary);
  font-family: var(--dash-font);
  margin-bottom: 2px;
  line-height: 1.2;
}
.biz-kpi__sub {
  font-size: 0.6rem;
  color: var(--kpi-text-muted);
  font-family: var(--dash-font);
  letter-spacing: 0.01em;
  line-height: 1.3;
}

/* ── KPI Value (big number, standalone row) ── */
.biz-kpi__value {
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  font-weight: 700;
  color: var(--kpi-text-bright);
  font-family: var(--dash-font);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.biz-kpi__value--text {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--kpi-text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.biz-kpi__unit {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--kpi-text-muted);
  letter-spacing: 0;
}

/* Help button (?) */
.biz-kpi__help {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--kpi-text-muted);
  font-size: 0.62rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 200ms;
  font-family: var(--dash-font);
}
.biz-kpi__help:hover {
  background: rgba(var(--kpi-accent-rgb), 0.15);
  color: var(--kpi-accent);
  border-color: rgba(var(--kpi-accent-rgb), 0.3);
}

/* Mini sparkline */
.biz-kpi__spark {
  width: 100%;
  height: 30px;
  display: block;
  margin: 4px 0 0;
}

/* ── Marketing ROI bars ── */
.biz-kpi__bar-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 6px 0 0;
}
.biz-kpi__bar-item {
  display: flex;
  align-items: center;
  gap: 10px;
}
.biz-kpi__bar-label {
  font-size: 0.63rem;
  font-family: var(--dash-font);
  color: var(--kpi-text-secondary);
  width: 56px;
  flex-shrink: 0;
  font-weight: 500;
}
.biz-kpi__bar-track {
  flex: 1;
  height: 5px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}
.biz-kpi__bar-fill {
  height: 100%;
  border-radius: 5px;
  background: linear-gradient(90deg, var(--kpi-accent), rgba(var(--kpi-purple-rgb), 0.7));
  transition: width 800ms cubic-bezier(0.22, 1, 0.36, 1);
}
.biz-kpi__bar-fill--return {
  background: linear-gradient(90deg, #22C55E, #4ADE80);
}
.biz-kpi__bar-val {
  font-size: 0.63rem;
  font-family: var(--dash-mono);
  color: var(--kpi-text-secondary);
  min-width: 32px;
  text-align: right;
  font-weight: 600;
}

/* ── Quotes dual ring ── */
.biz-kpi__dual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 10px 0 6px;
}
.biz-kpi__dual-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.biz-kpi__dual-ring {
  position: relative;
  width: 50px;
  height: 50px;
}
.biz-kpi__dual-ring svg {
  display: block;
  width: 50px;
  height: 50px;
}
.biz-kpi__dual-num {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  font-weight: 700;
  font-family: var(--dash-font);
  color: var(--kpi-text-bright);
}
.biz-kpi__dual-label {
  font-size: 0.6rem;
  font-family: var(--dash-font);
  color: var(--kpi-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
}
.biz-kpi__dual-sep {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.06);
}

/* ── Sellers preview ── */
.biz-kpi__sellers-preview {
  padding: 8px 0 4px;
  clear: both;
}
.biz-kpi__sellers-empty {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.65rem;
  color: var(--kpi-text-muted);
  font-family: var(--dash-font);
  font-weight: 500;
}
.biz-kpi__sellers-avatars {
  display: flex;
  gap: 6px;
}
.biz-kpi__sellers-av {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg,
    rgba(var(--kpi-accent-rgb), 0.15),
    rgba(var(--kpi-purple-rgb), 0.1));
  border: 1.5px solid rgba(var(--kpi-accent-rgb), 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.55rem;
  font-weight: 800;
  color: var(--kpi-accent);
  font-family: var(--dash-font);
}

/* ── Inventory rows ── */
.biz-kpi__inv-rows {
  padding: 6px 0;
}
.biz-kpi__inv-empty {
  font-size: 0.65rem;
  color: var(--kpi-text-muted);
  font-family: var(--dash-font);
  text-align: center;
  padding: 10px 0;
  font-weight: 500;
}

/* ═══════════════════════════════════════════════════════
   KPI Tooltip (floating near ?)
   ═══════════════════════════════════════════════════════ */
.biz-kpi-tooltip {
  position: fixed;
  inset: 0;
  z-index: 99990;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: kpiTipBgIn 300ms ease both;
}
.biz-kpi-tooltip--exit {
  animation: kpiTipBgOut 300ms ease both;
}
.biz-kpi-tooltip--exit .biz-kpi-tooltip__card {
  animation: kpiTipCardOut 300ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes kpiTipBgIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes kpiTipBgOut { from { opacity: 1; } to { opacity: 0; } }

.biz-kpi-tooltip__card {
  max-width: 380px;
  width: 100%;
  background: rgba(13, 13, 20, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(var(--kpi-accent-rgb, 249,115,22), 0.15);
  border-radius: 18px;
  padding: 28px 26px 20px;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(var(--kpi-accent-rgb, 249,115,22), 0.06);
  animation: kpiTipCardIn 400ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes kpiTipCardIn {
  from { opacity: 0; transform: translateY(16px) scale(0.95); filter: blur(4px); }
  to   { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}
@keyframes kpiTipCardOut {
  from { opacity: 1; transform: scale(1); }
  to   { opacity: 0; transform: scale(0.95) translateY(-8px); }
}

.biz-kpi-tooltip__text {
  font-size: 0.85rem;
  line-height: 1.7;
  color: #E5E5E5;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
}
.biz-kpi-tooltip__dismiss {
  margin-top: 16px;
  text-align: center;
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.25);
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
}


/* ═══════════════════════════════════════════════════════
   KPI Detail Panel (overlay)
   ═══════════════════════════════════════════════════════ */
.biz-kpi-detail {
  position: fixed;
  inset: 0;
  z-index: 9500;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: kpiDetailBgIn 300ms ease both;
}
.biz-kpi-detail--exit {
  animation: kpiDetailBgOut 300ms ease both;
}
.biz-kpi-detail--exit .biz-kpi-detail__inner {
  animation: kpiDetailOut 300ms ease both;
}
@keyframes kpiDetailBgOut {
  from { opacity: 1; }
  to   { opacity: 0; }
}
@keyframes kpiDetailOut {
  from { opacity: 1; transform: translateY(0) scale(1); }
  to   { opacity: 0; transform: translateY(12px) scale(0.97); }
}
@keyframes kpiDetailBgIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.biz-kpi-detail__inner {
  background: #0c0c13;
  border: 1px solid rgba(var(--kpi-accent-rgb), 0.1);
  border-radius: 22px;
  width: 100%;
  max-width: 540px;
  max-height: 80vh;
  overflow-y: auto;
  padding: 30px;
  position: relative;
  animation: kpiDetailIn 400ms cubic-bezier(0.22, 1, 0.36, 1) both;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.06) transparent;
  font-family: var(--dash-font);
}
@keyframes kpiDetailIn {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.biz-kpi-detail__close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  font-size: 1.2rem;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 200ms;
}
.biz-kpi-detail__close:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.biz-kpi-detail__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--kpi-text-bright);
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.biz-kpi-detail__title svg {
  width: 18px;
  height: 18px;
  stroke: var(--kpi-accent);
}
.biz-kpi-detail__desc {
  font-size: 0.76rem;
  color: var(--kpi-text-secondary);
  line-height: 1.65;
  margin: 0 0 20px;
}
.biz-kpi-detail__subtitle {
  font-size: 0.73rem;
  font-weight: 700;
  color: var(--kpi-text-primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 22px 0 12px;
}

/* ── Billing detail ── */
.biz-kpi-detail__total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  background: linear-gradient(135deg,
    rgba(var(--kpi-accent-rgb), 0.06),
    rgba(var(--kpi-purple-rgb), 0.03));
  border: 1px solid rgba(var(--kpi-accent-rgb), 0.12);
  border-radius: 14px;
  margin-bottom: 18px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--kpi-text-bright);
}
.biz-kpi-detail__total-val {
  font-family: var(--dash-font);
  color: var(--kpi-accent);
  font-size: 1rem;
  font-weight: 700;
}

.biz-kpi-detail__list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.biz-kpi-detail__biz {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.015);
}
.biz-kpi-detail__logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}
.biz-kpi-detail__logo-ph {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(var(--biz-rgb), 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(var(--biz-rgb), 0.6);
  flex-shrink: 0;
}
.biz-kpi-detail__biz-info {
  flex: 1;
}
.biz-kpi-detail__biz-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--kpi-text-bright);
}
.biz-kpi-detail__biz-total {
  font-size: 0.72rem;
  font-family: var(--dash-mono);
  color: var(--kpi-accent);
  margin-top: 3px;
  font-weight: 600;
}

.biz-kpi-detail__methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 14px;
  padding: 8px 14px 14px;
}
.biz-kpi-detail__method {
  display: flex;
  justify-content: space-between;
  font-size: 0.67rem;
  color: var(--kpi-text-secondary);
  padding: 5px 0;
}
.biz-kpi-detail__method-val {
  font-family: var(--dash-mono);
  color: var(--kpi-text-primary);
  font-weight: 600;
}
.biz-kpi-detail__sep {
  height: 1px;
  background: rgba(255, 255, 255, 0.03);
  margin: 4px 0;
}

/* ── Marketing detail ── */
.biz-kpi-detail__mkt-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 16px;
}
.biz-kpi-detail__mkt-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  padding: 14px;
  text-align: center;
}
.biz-kpi-detail__mkt-label {
  display: block;
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--kpi-text-muted);
  margin-bottom: 6px;
}
.biz-kpi-detail__mkt-val {
  font-size: 1.4rem;
  font-weight: 700;
  font-family: var(--dash-font);
  color: var(--kpi-text-bright);
}
.biz-kpi-detail__mkt-val--green {
  color: #4ADE80;
}

.biz-kpi-detail__glossary {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.biz-kpi-detail__term {
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  border-left: 3px solid var(--kpi-accent);
}
.biz-kpi-detail__term-name {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--kpi-accent);
  margin-bottom: 4px;
}
.biz-kpi-detail__term-def {
  font-size: 0.7rem;
  color: var(--kpi-text-secondary);
  line-height: 1.6;
}

/* ── Quotes detail ── */
.biz-kpi-detail__quote-legend {
  display: flex;
  gap: 18px;
  margin-bottom: 14px;
  font-size: 0.67rem;
  color: var(--kpi-text-secondary);
  font-weight: 500;
}
.biz-kpi-detail__legend-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 3px;
  margin-right: 6px;
  vertical-align: middle;
}
.biz-kpi-detail__legend-dot--sent { background: var(--kpi-accent); }
.biz-kpi-detail__legend-dot--closed { background: #4ADE80; }

.biz-kpi-detail__quote-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}
.biz-kpi-detail__quote-row {
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.015);
  border-radius: 10px;
}
.biz-kpi-detail__quote-biz {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--kpi-text-bright);
  display: block;
  margin-bottom: 8px;
}
.biz-kpi-detail__quote-bars {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 4px;
}
.biz-kpi-detail__quote-bar {
  height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
}
.biz-kpi-detail__quote-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 600ms cubic-bezier(0.22, 1, 0.36, 1);
}
.biz-kpi-detail__quote-fill--sent { background: var(--kpi-accent); }
.biz-kpi-detail__quote-fill--closed { background: #4ADE80; }
.biz-kpi-detail__quote-nums {
  display: flex;
  justify-content: space-between;
  font-size: 0.63rem;
  color: var(--kpi-text-secondary);
  font-family: var(--dash-mono);
  font-weight: 600;
}

/* ── Sellers detail ── */
.biz-kpi-detail__sellers {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.biz-kpi-detail__seller-company {
  background: rgba(255, 255, 255, 0.015);
  border-radius: 12px;
  overflow: hidden;
}
.biz-kpi-detail__seller-header {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--kpi-text-bright);
  padding: 12px 16px;
  background: linear-gradient(135deg,
    rgba(var(--kpi-accent-rgb), 0.05),
    rgba(var(--kpi-purple-rgb), 0.03));
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.biz-kpi-detail__seller-list {
  padding: 4px 0;
}
.biz-kpi-detail__seller-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  font-size: 0.66rem;
  transition: background 150ms;
  cursor: pointer;
}
.biz-kpi-detail__seller-row:hover {
  background: rgba(255, 255, 255, 0.02);
}
.biz-kpi-detail__seller-row--empty {
  opacity: 0.35;
  cursor: default;
}
.biz-kpi-detail__seller-row--empty:hover {
  background: none;
}
.biz-kpi-detail__seller-rank {
  font-weight: 800;
  color: var(--kpi-accent);
  font-family: var(--dash-mono);
  min-width: 26px;
}
.biz-kpi-detail__seller-name {
  flex: 1;
  color: var(--kpi-text-primary);
  font-weight: 600;
}
.biz-kpi-detail__seller-deals {
  color: var(--kpi-text-secondary);
  font-family: var(--dash-mono);
  font-size: 0.63rem;
  font-weight: 600;
}
.biz-kpi-detail__seller-amount {
  color: var(--kpi-text-secondary);
  font-family: var(--dash-mono);
  font-size: 0.63rem;
  min-width: 44px;
  text-align: right;
  font-weight: 600;
}

/* ── Inventory detail ── */
.biz-kpi-detail__inv-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.biz-kpi-detail__inv-company {
  background: rgba(255, 255, 255, 0.015);
  border-radius: 12px;
  overflow: hidden;
}
.biz-kpi-detail__inv-header {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--kpi-text-bright);
  padding: 12px 16px;
  background: linear-gradient(135deg,
    rgba(var(--kpi-accent-rgb), 0.05),
    rgba(var(--kpi-purple-rgb), 0.03));
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.biz-kpi-detail__inv-items {
  padding: 10px 16px;
}
.biz-kpi-detail__inv-empty {
  font-size: 0.68rem;
  color: var(--kpi-text-muted);
  text-align: center;
  padding: 10px 0;
  font-weight: 500;
}

/* ── Mobile responsive for KPI + Client Cards ── */
@media (max-width: 768px) {
  /* Panels: consistent full-width padding */
  .biz-dash__panel {
    padding: 16px;
  }
  .biz-dash__clients-area {
    padding: 16px;
  }

  /* KPI cards: full width */
  .biz-kpi {
    padding: 14px 16px 12px;
    border-radius: 14px;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 8px;
  }
  .biz-kpi__value { font-size: 1.4rem; }

  /* Client cards: full width, matching KPI */
  .biz-client__card {
    width: 100%;
    box-sizing: border-box;
    padding: 14px 16px 12px;
    border-radius: 14px;
  }

  /* Credential folder: full width centered */
  .biz-cred__folder {
    max-width: 100%;
  }

  /* Detail panel: mobile friendly */
  .biz-kpi-detail__inner { padding: 22px 18px; max-width: 100%; border-radius: 16px; }
  .biz-kpi-detail__mkt-summary { grid-template-columns: 1fr 1fr; gap: 6px; }
  .biz-kpi-detail__methods { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .biz-kpi { transition: none; }
  .biz-kpi::before { transition: none; }
  .biz-kpi-tooltip { animation: none; }
  .biz-kpi-detail { animation: none; }
  .biz-kpi-detail__inner { animation: none; }
}


/* ══════════════════════════════════════════════════════════════════════
   ONBOARDING SYSTEM — Apple-inspired Intelligent Credential Wizard
   ══════════════════════════════════════════════════════════════════════ */

/* ── Epic Hero Launcher ──────────────────────────────────────────── */
.biz-onb__hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 420px;
  cursor: pointer;
  text-align: center;
  padding: 40px 24px;
  animation: heroFadeIn 1.2s cubic-bezier(0.16,1,0.3,1) both;
}
@keyframes heroFadeIn {
  from { opacity: 0; transform: scale(0.96) translateY(12px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* Ambient glow */
.biz-onb__hero-glow {
  position: absolute;
  top: 50%; left: 50%;
  width: 320px; height: 320px;
  transform: translate(-50%, -55%);
  background: radial-gradient(circle, rgba(139,92,246,0.12) 0%, rgba(139,92,246,0.04) 40%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: heroGlowPulse 4s ease-in-out infinite;
}
.biz-onb__hero-glow2 {
  position: absolute;
  top: 50%; left: 50%;
  width: 500px; height: 500px;
  transform: translate(-50%, -55%);
  background: radial-gradient(circle, rgba(99,102,241,0.06) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
  animation: heroGlowPulse 6s ease-in-out infinite reverse;
}
@keyframes heroGlowPulse {
  0%, 100% { opacity: 0.7; transform: translate(-50%, -55%) scale(1); }
  50%      { opacity: 1;   transform: translate(-50%, -55%) scale(1.15); }
}

/* Animated ring */
.biz-onb__hero-ring {
  position: absolute;
  top: 50%; left: 50%;
  width: 140px; height: 140px;
  transform: translate(-50%, -85%);
  border-radius: 50%;
  border: 1px solid rgba(139,92,246,0.15);
  pointer-events: none;
  animation: heroRingSpin 12s linear infinite;
}
.biz-onb__hero-ring::before {
  content: '';
  position: absolute;
  top: -2px; left: 50%;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: #A78BFA;
  box-shadow: 0 0 8px rgba(139,92,246,0.6);
  transform: translateX(-50%);
}
@keyframes heroRingSpin { to { transform: translate(-50%, -85%) rotate(360deg); } }

/* Central orb with logo */
.biz-onb__hero-orb {
  position: relative;
  width: 88px; height: 88px;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(139,92,246,0.2), rgba(30,30,40,0.9));
  display: flex; align-items: center; justify-content: center;
  box-shadow:
    0 0 0 1px rgba(139,92,246,0.2),
    0 0 40px rgba(139,92,246,0.15),
    0 0 80px rgba(139,92,246,0.06),
    inset 0 1px 0 rgba(255,255,255,0.08);
  margin-bottom: 32px;
  z-index: 2;
  animation: heroOrbFloat 5s ease-in-out infinite;
}
@keyframes heroOrbFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
.biz-onb__hero-logo {
  width: 56px; height: 56px;
  border-radius: 50%;
  object-fit: cover;
  filter: brightness(1.1) saturate(1.1);
}

/* Title */
.biz-onb__hero-title {
  font-family: var(--dash-font);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  background: linear-gradient(180deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.5) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0 0 10px;
  z-index: 2;
  animation: heroFadeUp 1s cubic-bezier(0.16,1,0.3,1) 0.3s both;
}

/* Subtitle */
.biz-onb__hero-sub {
  font-family: var(--dash-font);
  font-size: 0.85rem;
  font-weight: 400;
  color: rgba(255,255,255,0.4);
  letter-spacing: -0.01em;
  line-height: 1.5;
  max-width: 280px;
  margin: 0 0 36px;
  z-index: 2;
  animation: heroFadeUp 1s cubic-bezier(0.16,1,0.3,1) 0.5s both;
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* CTA button */
.biz-onb__hero-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px 14px 28px;
  border: none;
  border-radius: 980px;
  background: linear-gradient(135deg, #7C3AED, #6D28D9);
  color: #fff;
  font-family: var(--dash-font);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  z-index: 2;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
  animation: heroFadeUp 1s cubic-bezier(0.16,1,0.3,1) 0.7s both;
  box-shadow:
    0 1px 2px rgba(0,0,0,0.2),
    0 8px 24px rgba(124,58,237,0.3),
    inset 0 1px 0 rgba(255,255,255,0.15);
}
.biz-onb__hero-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 980px;
  background: linear-gradient(180deg, rgba(255,255,255,0.12) 0%, transparent 50%);
  pointer-events: none;
}
.biz-onb__hero-cta:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow:
    0 1px 2px rgba(0,0,0,0.2),
    0 12px 32px rgba(124,58,237,0.4),
    inset 0 1px 0 rgba(255,255,255,0.15);
}
.biz-onb__hero-cta:active {
  transform: scale(0.97);
}
.biz-onb__hero-cta-arrow {
  display: flex;
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
}
.biz-onb__hero-cta:hover .biz-onb__hero-cta-arrow {
  transform: translateX(4px);
}

/* Floating particles */
.biz-onb__hero-dots {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.biz-onb__hero-dots span {
  position: absolute;
  left: var(--x); top: var(--y);
  width: var(--s); height: var(--s);
  border-radius: 50%;
  background: rgba(139,92,246,0.5);
  animation: heroDotFloat 6s ease-in-out var(--d) infinite;
}
@keyframes heroDotFloat {
  0%, 100% { opacity: 0.3; transform: translateY(0); }
  50%      { opacity: 0.8; transform: translateY(-12px); }
}

/* ── Gate Mode (full-screen onboarding, no dashboard) ────────────── */
.biz-onb__gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at 50% 30%, rgba(139,92,246,0.06) 0%, rgba(14,14,20,1) 70%);
}
.biz-onb__gate-shell {
  position: relative;
  z-index: 1;
  max-width: 620px;
  width: 94%;
  max-height: 92vh;
  overflow-y: auto;
  overflow-x: hidden;
  background: rgba(14,14,20,0.97);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 24px;
  box-shadow: 0 32px 100px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.03),
    inset 0 1px 0 rgba(255,255,255,0.05);
  animation: gateShellIn 0.8s cubic-bezier(0.22,1,0.36,1) both;
  scrollbar-width: thin;
  scrollbar-color: rgba(139,92,246,0.15) transparent;
}
.biz-onb__gate-shell::-webkit-scrollbar { width: 4px; }
.biz-onb__gate-shell::-webkit-scrollbar-thumb { background: rgba(139,92,246,0.15); border-radius: 4px; }
@keyframes gateShellIn {
  from { opacity: 0; transform: translateY(30px) scale(0.94); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ── Overlay ─────────────────────────────────────────────────────── */
.biz-onb__overlay {
  position: fixed; inset: 0; z-index: 10000;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.4,0,0.2,1);
}
.biz-onb__overlay--show { opacity: 1; pointer-events: all; }
.biz-onb__backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
.biz-onb__shell {
  position: relative; z-index: 1;
  max-width: 600px; width: 94%;
  max-height: 90vh; overflow-y: auto; overflow-x: hidden;
  background: rgba(14,14,20,0.97);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 24px;
  box-shadow: 0 32px 100px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.03),
    inset 0 1px 0 rgba(255,255,255,0.05);
  transform: translateY(24px) scale(0.95);
  transition: transform 0.5s cubic-bezier(0.22,1,0.36,1);
  scrollbar-width: thin; scrollbar-color: rgba(139,92,246,0.15) transparent;
}
.biz-onb__overlay--show .biz-onb__shell {
  transform: translateY(0) scale(1);
}
.biz-onb__shell::-webkit-scrollbar { width: 4px; }
.biz-onb__shell::-webkit-scrollbar-thumb { background: rgba(139,92,246,0.15); border-radius: 4px; }

/* ── Particles Canvas ────────────────────────────────────────────── */
.biz-onb__particles {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 0; border-radius: 24px;
}

/* ── Content Container ───────────────────────────────────────────── */
.biz-onb__content {
  position: relative; z-index: 1;
  padding: 36px 32px 28px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

/* ── Shared: Pill CTA Buttons (Apple-inspired) ───────────────────── */
.biz-onb__btn {
  font-family: var(--dash-font); font-size: 0.82rem; font-weight: 600;
  letter-spacing: -0.01em;
  border-radius: 980px; padding: 14px 32px; cursor: pointer;
  transition: all 0.35s cubic-bezier(0.22,1,0.36,1);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: none; position: relative; overflow: hidden;
}
.biz-onb__btn::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.12) 0%, transparent 50%);
  pointer-events: none; border-radius: inherit;
}
.biz-onb__btn--primary {
  background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 50%, #6D28D9 100%);
  color: #fff;
  box-shadow:
    0 2px 8px rgba(139,92,246,0.3),
    0 12px 40px rgba(139,92,246,0.2),
    inset 0 1px 0 rgba(255,255,255,0.15);
}
.biz-onb__btn--primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow:
    0 4px 12px rgba(139,92,246,0.4),
    0 20px 60px rgba(139,92,246,0.25),
    inset 0 1px 0 rgba(255,255,255,0.2);
}
.biz-onb__btn--primary:active { transform: scale(0.98); transition: transform 0.1s; }
.biz-onb__btn--glow {
  background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 50%, #6D28D9 100%);
  color: #fff;
  box-shadow:
    0 2px 8px rgba(139,92,246,0.35),
    0 16px 48px rgba(139,92,246,0.25),
    inset 0 1px 0 rgba(255,255,255,0.15);
  font-size: 0.88rem; padding: 16px 36px;
}
.biz-onb__btn--glow:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow:
    0 4px 14px rgba(139,92,246,0.5),
    0 24px 64px rgba(139,92,246,0.3),
    inset 0 1px 0 rgba(255,255,255,0.2);
}
.biz-onb__btn--ghost {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.5);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.biz-onb__btn--ghost::before { display: none; }
.biz-onb__btn--ghost:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.15);
  color: var(--kpi-text-bright);
  transform: translateY(-1px);
}
.biz-onb__btn--vault {
  background: linear-gradient(135deg, #22C55E 0%, #16A34A 50%, #15803D 100%);
  color: #fff;
  box-shadow:
    0 2px 8px rgba(34,197,94,0.3),
    0 12px 40px rgba(34,197,94,0.2),
    inset 0 1px 0 rgba(255,255,255,0.15);
  width: 100%; margin-top: 24px;
}
.biz-onb__btn--vault:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow:
    0 4px 12px rgba(34,197,94,0.45),
    0 20px 60px rgba(34,197,94,0.3),
    inset 0 1px 0 rgba(255,255,255,0.2);
}
.biz-onb__btn--vault:active { transform: scale(0.98); transition: transform 0.1s; }
.biz-onb__btn--vault:disabled, .biz-onb__btn--disabled {
  opacity: 0.3; cursor: not-allowed; transform: none !important; pointer-events: none;
  box-shadow: none;
}
.biz-onb__btn--pulse { animation: onbBtnPulse 2.5s ease-in-out infinite; }
@keyframes onbBtnPulse {
  0%, 100% { box-shadow: 0 2px 8px rgba(34,197,94,0.3), 0 12px 40px rgba(34,197,94,0.2); }
  50% { box-shadow: 0 4px 16px rgba(34,197,94,0.5), 0 20px 60px rgba(34,197,94,0.35); }
}
.biz-onb__btn--full { width: 100%; margin-top: 24px; }

/* ── Shared: Back / Close (Premium) ──────────────────────────────── */
.biz-onb__x {
  position: absolute; top: 18px; right: 18px;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  color: rgba(255,255,255,0.35); display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.3s cubic-bezier(0.22,1,0.36,1); z-index: 5;
}
.biz-onb__x:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.12);
  color: #fff;
  transform: rotate(90deg) scale(1.05);
}
.biz-onb__back {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--dash-font); font-size: 0.72rem; font-weight: 600;
  letter-spacing: -0.01em;
  color: rgba(255,255,255,0.3); background: none; border: none;
  cursor: pointer; margin-bottom: 24px; padding: 4px 0;
  transition: all 0.25s cubic-bezier(0.22,1,0.36,1);
}
.biz-onb__back svg { transition: transform 0.25s; }
.biz-onb__back:hover { color: #A78BFA; }
.biz-onb__back:hover svg { transform: translateX(-3px); }

/* ── Spinner ─────────────────────────────────────────────────────── */
.biz-onb__spinner {
  width: 16px; height: 16px; border: 2px solid rgba(255,255,255,0.1);
  border-top-color: #fff; border-radius: 50%;
  animation: onbSpin 0.7s linear infinite; display: inline-block;
}
@keyframes onbSpin { to { transform: rotate(360deg); } }

/* ═══ PRECHECK STATE — Apple-inspired ═══ */
.biz-onb__pre {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 8px 0 0;
}

/* ── Hero Orb ── */
.biz-onb__pre-hero {
  position: relative;
  width: 120px; height: 120px;
  margin-bottom: 40px;
}
.biz-onb__pre-orb {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.biz-onb__pre-orb-core {
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, #A78BFA, #8B5CF6, #6D28D9);
  box-shadow:
    0 0 40px rgba(139,92,246,0.6),
    0 0 80px rgba(139,92,246,0.3),
    0 0 120px rgba(139,92,246,0.15);
  animation: preOrbCore 4s ease-in-out infinite;
  z-index: 2;
}
.biz-onb__pre-orb-ring {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(139,92,246,0.15);
  animation: preOrbRing 6s ease-in-out infinite;
}
.biz-onb__pre-orb-ring::before {
  content: '';
  position: absolute; inset: 15px;
  border-radius: 50%;
  border: 1px solid rgba(139,92,246,0.1);
  animation: preOrbRing 5s ease-in-out infinite reverse;
}
.biz-onb__pre-orb-flare {
  position: absolute;
  width: 200%; height: 200%;
  top: -50%; left: -50%;
  background: radial-gradient(circle, rgba(139,92,246,0.06) 0%, transparent 60%);
  animation: preOrbFlare 4s ease-in-out infinite;
  z-index: 0;
}
@keyframes preOrbCore {
  0%, 100% { transform: scale(1); box-shadow: 0 0 40px rgba(139,92,246,0.6), 0 0 80px rgba(139,92,246,0.3); }
  50% { transform: scale(1.1); box-shadow: 0 0 50px rgba(139,92,246,0.7), 0 0 100px rgba(139,92,246,0.4); }
}
@keyframes preOrbRing {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.5; }
  50% { transform: scale(1.08) rotate(180deg); opacity: 1; }
}
@keyframes preOrbFlare {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}

/* ── Typography ── */
.biz-onb__pre-title {
  font-family: var(--dash-font);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.15;
  margin: 0 0 14px;
  background: linear-gradient(180deg, #F5F5F7 0%, rgba(245,245,247,0.6) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: preFadeUp 0.6s cubic-bezier(0.22,1,0.36,1) 0.1s both;
}
.biz-onb__pre-subtitle {
  font-family: var(--dash-font);
  font-size: 0.88rem;
  font-weight: 400;
  color: rgba(255,255,255,0.4);
  line-height: 1.65;
  margin: 0 0 40px;
  max-width: 380px;
  animation: preFadeUp 0.6s cubic-bezier(0.22,1,0.36,1) 0.2s both;
}
@keyframes preFadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Items — floating, no boxes ── */
.biz-onb__pre-items {
  display: flex; flex-direction: column;
  gap: 0; width: 100%; max-width: 340px;
  margin-bottom: 36px;
}
.biz-onb__pre-item {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.03);
  animation: preFadeUp 0.5s cubic-bezier(0.22,1,0.36,1) var(--d, 0s) both;
}
.biz-onb__pre-item:last-child { border-bottom: none; }
.biz-onb__pre-item-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(255,255,255,0.03);
  display: flex; align-items: center; justify-content: center;
  color: rgba(139,92,246,0.6);
  flex-shrink: 0;
  transition: all 0.3s;
}
.biz-onb__pre-item:hover .biz-onb__pre-item-icon {
  background: rgba(139,92,246,0.08);
  color: #A78BFA;
}
.biz-onb__pre-item span {
  font-family: var(--dash-font);
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  letter-spacing: -0.01em;
}

/* ── Time — subtle ── */
.biz-onb__pre-time {
  font-family: var(--dash-font);
  font-size: 0.62rem;
  font-weight: 500;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.02em;
  margin: 0 0 32px;
  animation: preFadeUp 0.5s cubic-bezier(0.22,1,0.36,1) 0.35s both;
}

/* ── Actions — premium feel ── */
.biz-onb__pre-actions {
  display: flex; flex-direction: column; align-items: center;
  gap: 14px; width: 100%;
  animation: preFadeUp 0.5s cubic-bezier(0.22,1,0.36,1) 0.4s both;
}
.biz-onb__pre-start {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; max-width: 300px;
  padding: 16px 32px;
  font-family: var(--dash-font);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #fff;
  background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 50%, #6D28D9 100%);
  border: none;
  border-radius: 16px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.22,1,0.36,1);
  box-shadow:
    0 2px 8px rgba(139,92,246,0.3),
    0 12px 40px rgba(139,92,246,0.2),
    inset 0 1px 0 rgba(255,255,255,0.15);
}
.biz-onb__pre-start::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.12) 0%, transparent 50%);
  pointer-events: none;
}
.biz-onb__pre-start:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow:
    0 4px 12px rgba(139,92,246,0.4),
    0 20px 60px rgba(139,92,246,0.25),
    inset 0 1px 0 rgba(255,255,255,0.2);
}
.biz-onb__pre-start:active {
  transform: scale(0.98);
  transition: transform 0.1s;
}
.biz-onb__pre-start svg {
  transition: transform 0.3s;
}
.biz-onb__pre-start:hover svg {
  transform: translateX(3px);
}
.biz-onb__pre-skip {
  font-family: var(--dash-font);
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(255,255,255,0.25);
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 16px;
  transition: color 0.2s;
  letter-spacing: 0.01em;
}
.biz-onb__pre-skip:hover {
  color: rgba(255,255,255,0.45);
}

/* ── Mobile adjustments ── */
@media (max-width: 480px) {
  .biz-onb__pre-title { font-size: 1.6rem; }
  .biz-onb__pre-subtitle { font-size: 0.78rem; }
  .biz-onb__pre-hero { width: 90px; height: 90px; margin-bottom: 32px; }
  .biz-onb__pre-orb-core { width: 24px; height: 24px; }
}

/* ═══════════════════════════════════════════════════════
   ONBOARDING SCREENS — Apple-Inspired Premium Redesign
   Gradient text, glass morphism, ambient glows, pill CTAs
   ═══════════════════════════════════════════════════════ */

/* ── Shared: Gradient Title Mixin ──────────────────────────────── */
.biz-onb__gradient-title {
  font-family: var(--dash-font);
  font-weight: 800; letter-spacing: -0.04em; line-height: 1.15;
  background: linear-gradient(180deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.5) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Shared: Ambient Glow ──────────────────────────────────────── */
.biz-onb__ambient {
  position: absolute; pointer-events: none; z-index: 0;
  width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(circle, rgba(139,92,246,0.08) 0%, transparent 70%);
  filter: blur(40px);
  animation: onbAmbientPulse 6s ease-in-out infinite;
}
@keyframes onbAmbientPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}

/* ── Shared: Staggered fade-up ─────────────────────────────────── */
@keyframes onbFadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes onbCardIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ═══ NO-TIME STATE ═══ */
.biz-onb__notime {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 32px 0; position: relative; overflow: hidden;
}
.biz-onb__notime-ambient {
  position: absolute; top: -60px; left: 50%; transform: translateX(-50%);
  width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(139,92,246,0.06) 0%, transparent 70%);
  filter: blur(50px); pointer-events: none;
  animation: onbAmbientPulse 6s ease-in-out infinite;
}
.biz-onb__notime-orb {
  position: relative; width: 80px; height: 80px; margin-bottom: 32px;
  animation: onbFadeUp 0.6s cubic-bezier(0.22,1,0.36,1) both;
}
.biz-onb__notime-orb-core {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 20px; height: 20px; border-radius: 50%;
  background: linear-gradient(135deg, #A78BFA, #8B5CF6, #6D28D9);
  box-shadow: 0 0 30px rgba(139,92,246,0.5), 0 0 60px rgba(139,92,246,0.25);
  animation: preOrbCore 4s ease-in-out infinite;
}
.biz-onb__notime-orb-ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid rgba(139,92,246,0.15);
  animation: preOrbRing 6s ease-in-out infinite;
}
.biz-onb__notime-title {
  font-family: var(--dash-font); font-size: 1.6rem; font-weight: 800;
  letter-spacing: -0.04em; margin: 0 0 14px;
  background: linear-gradient(180deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.5) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: onbFadeUp 0.6s cubic-bezier(0.22,1,0.36,1) 0.1s both;
}
.biz-onb__notime-text {
  font-family: var(--dash-font); font-size: 0.82rem; font-weight: 400;
  color: rgba(255,255,255,0.4); line-height: 1.7; margin: 0 0 10px;
  max-width: 360px;
  animation: onbFadeUp 0.6s cubic-bezier(0.22,1,0.36,1) 0.2s both;
}
.biz-onb__notime-hint {
  font-family: var(--dash-font); font-size: 0.65rem; font-weight: 400;
  color: rgba(255,255,255,0.2); margin: 0 0 36px;
  animation: onbFadeUp 0.6s cubic-bezier(0.22,1,0.36,1) 0.3s both;
}

/* ═══ FOLDERS STATE ═══ */
.biz-onb__folders { position: relative; }
.biz-onb__folders-head { margin-bottom: 28px; padding-right: 44px; }
.biz-onb__folders-title {
  font-family: var(--dash-font); font-size: 1.5rem; font-weight: 800;
  letter-spacing: -0.04em; margin: 0 0 8px;
  background: linear-gradient(180deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.5) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: onbFadeUp 0.5s cubic-bezier(0.22,1,0.36,1) both;
}
.biz-onb__folders-sub {
  font-family: var(--dash-font); font-size: 0.72rem; font-weight: 400;
  color: rgba(255,255,255,0.35); margin: 0 0 20px; letter-spacing: -0.01em;
  animation: onbFadeUp 0.5s cubic-bezier(0.22,1,0.36,1) 0.05s both;
}

/* Progress bar — premium */
.biz-onb__progress {
  margin-bottom: 6px;
  animation: onbFadeUp 0.5s cubic-bezier(0.22,1,0.36,1) 0.1s both;
}
.biz-onb__progress-track {
  height: 3px; border-radius: 3px;
  background: rgba(255,255,255,0.04); overflow: hidden;
  position: relative;
}
.biz-onb__progress-track::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,0.02);
  border-radius: 3px;
}
.biz-onb__progress-fill {
  height: 100%; border-radius: 3px;
  background: linear-gradient(90deg, #8B5CF6, #A78BFA, #22C55E);
  transition: width 0.6s cubic-bezier(0.22,1,0.36,1);
  box-shadow: 0 0 8px rgba(139,92,246,0.3);
}
.biz-onb__progress-label {
  display: block; margin-top: 8px;
  font-family: var(--dash-font); font-size: 0.58rem; font-weight: 500;
  color: rgba(255,255,255,0.2); letter-spacing: 0.02em;
}

/* ═══ DOSSIER FOLDER GRID ═══ */
.biz-onb__dgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 8px;
}

.biz-onb__dossier {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.22,1,0.36,1);
  animation: onbCardIn 0.4s cubic-bezier(0.22,1,0.36,1) both;
}

/* Folder tab */
.biz-onb__dossier-tab {
  width: 55%;
  height: 10px;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(165deg, color-mix(in srgb, var(--fc) 22%, transparent), color-mix(in srgb, var(--fc) 12%, transparent));
  border: 1px solid color-mix(in srgb, var(--fc) 20%, transparent);
  border-bottom: none;
  align-self: flex-start;
  margin-left: 8px;
  transition: all 0.3s ease;
}

/* Folder body */
.biz-onb__dossier-body {
  width: 100%;
  padding: 20px 12px 16px;
  border-radius: 2px 10px 10px 10px;
  background: linear-gradient(165deg, color-mix(in srgb, var(--fc) 16%, transparent), color-mix(in srgb, var(--fc) 6%, rgba(20,20,30,0.5)));
  border: 1px solid color-mix(in srgb, var(--fc) 18%, transparent);
  box-shadow: 0 3px 12px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
}

.biz-onb__dossier:hover {
  transform: translateY(-4px);
}
.biz-onb__dossier:hover .biz-onb__dossier-body {
  box-shadow: 0 8px 24px rgba(0,0,0,0.35), 0 0 20px color-mix(in srgb, var(--fc) 10%, transparent), inset 0 1px 0 rgba(255,255,255,0.08);
  border-color: color-mix(in srgb, var(--fc) 30%, transparent);
}
.biz-onb__dossier:hover .biz-onb__dossier-tab {
  background: linear-gradient(165deg, color-mix(in srgb, var(--fc) 30%, transparent), color-mix(in srgb, var(--fc) 18%, transparent));
  border-color: color-mix(in srgb, var(--fc) 28%, transparent);
}

.biz-onb__dossier-icon {
  color: var(--fc);
  opacity: 0.8;
  margin-bottom: 2px;
}

.biz-onb__dossier-name {
  font-family: var(--dash-font);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--kpi-text-bright);
  letter-spacing: -0.01em;
}

.biz-onb__dossier-pct {
  font-family: var(--dash-font);
  font-size: 0.55rem;
  font-weight: 600;
  color: var(--fc);
  opacity: 0.7;
}

.biz-onb__dossier-done {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(34,197,94,0.15);
  color: #4ADE80;
  font-size: 0.55rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ═══ BUSINESS PILL STRIP (inline in form) ═══ */
.biz-onb__biz-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 8px 4px 16px;
  margin-bottom: 8px;
  scrollbar-width: none;
  justify-content: center;
}
.biz-onb__biz-strip::-webkit-scrollbar { display: none; }

.biz-onb__biz-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 14px;
  background: transparent;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.22,1,0.36,1);
  flex-shrink: 0;
  min-width: 64px;
}

.biz-onb__biz-pill--active {
  background: rgba(139,92,246,0.06);
  border-color: rgba(139,92,246,0.3);
  box-shadow: 0 0 20px rgba(139,92,246,0.1);
}

.biz-onb__biz-pill:hover:not(.biz-onb__biz-pill--active) {
  background: rgba(255,255,255,0.03);
}

.biz-onb__biz-pill-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  background-color: rgba(255,255,255,0.05);
  border: 2px solid transparent;
  transition: all 0.3s ease;
  position: relative;
}

.biz-onb__biz-pill--active .biz-onb__biz-pill-img {
  border-color: rgba(139,92,246,0.4);
  box-shadow: 0 0 16px rgba(139,92,246,0.2);
}

.biz-onb__biz-pill-name {
  font-family: var(--dash-font);
  font-size: 0.55rem;
  font-weight: 600;
  color: rgba(255,255,255,0.35);
  white-space: nowrap;
  transition: color 0.2s;
}

.biz-onb__biz-pill--active .biz-onb__biz-pill-name {
  color: rgba(255,255,255,0.8);
}

.biz-onb__biz-pill-done {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #22C55E;
  color: #fff;
  font-size: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(14,14,20,0.97);
}

/* ═══ FOLDER FORM STATE ═══ */
.biz-onb__form { position: relative; }
.biz-onb__form-head {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 24px; padding: 16px 18px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 16px;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  animation: onbFadeUp 0.5s cubic-bezier(0.22,1,0.36,1) both;
}
.biz-onb__form-logo {
  width: 50px; height: 50px; border-radius: 14px;
  background-size: cover; background-position: center;
  background-color: rgba(255,255,255,0.05); flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
.biz-onb__form-icon {
  width: 50px; height: 50px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 1.3rem;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.biz-onb__form-title {
  font-family: var(--dash-font); font-size: 1.05rem; font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(180deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.6) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0 0 3px;
}
.biz-onb__form-sub {
  font-family: var(--dash-font); font-size: 0.65rem; font-weight: 400;
  color: rgba(255,255,255,0.3); margin: 0; letter-spacing: -0.01em;
}
.biz-onb__fields {
  display: flex; flex-direction: column; gap: 14px;
}
.biz-onb__field {
  display: flex; flex-direction: column; gap: 6px;
  animation: onbFadeUp 0.4s cubic-bezier(0.22,1,0.36,1) both;
}
.biz-onb__label {
  font-family: var(--dash-font); font-size: 0.58rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: rgba(255,255,255,0.3);
}
.biz-onb__input-row {
  display: flex; align-items: center; gap: 0;
  position: relative;
}
.biz-onb__input,
.biz-onb__textarea {
  width: 100%; box-sizing: border-box;
  padding: 12px 16px;
  font-family: var(--dash-font); font-size: 0.8rem; font-weight: 400;
  color: rgba(255,255,255,0.9);
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px; outline: none;
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  transition: all 0.3s cubic-bezier(0.22,1,0.36,1);
}
.biz-onb__input::placeholder, .biz-onb__textarea::placeholder {
  color: rgba(255,255,255,0.12);
}
.biz-onb__input:focus, .biz-onb__textarea:focus {
  border-color: rgba(139,92,246,0.4);
  box-shadow: 0 0 0 3px rgba(139,92,246,0.06), 0 0 20px rgba(139,92,246,0.05);
  background: rgba(255,255,255,0.04);
}
.biz-onb__textarea { resize: vertical; min-height: 72px; }
.biz-onb__eye {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: rgba(255,255,255,0.2);
  cursor: pointer; padding: 4px; transition: all 0.25s;
}
.biz-onb__eye:hover { color: #A78BFA; }

/* ═══ REVIEW STATE ═══ */
.biz-onb__review { position: relative; }
.biz-onb__review-title {
  font-family: var(--dash-font); font-size: 1.5rem; font-weight: 800;
  letter-spacing: -0.04em; margin: 0 0 8px;
  background: linear-gradient(180deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.5) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: onbFadeUp 0.5s cubic-bezier(0.22,1,0.36,1) both;
}
.biz-onb__review-sub {
  font-family: var(--dash-font); font-size: 0.72rem; font-weight: 400;
  color: rgba(255,255,255,0.3); margin: 0 0 28px; letter-spacing: -0.01em;
  animation: onbFadeUp 0.5s cubic-bezier(0.22,1,0.36,1) 0.05s both;
}
.biz-onb__rv-section {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px; padding: 16px 18px; margin-bottom: 10px;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: all 0.25s;
  animation: onbCardIn 0.4s cubic-bezier(0.22,1,0.36,1) both;
}
.biz-onb__rv-section:hover {
  border-color: rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.03);
}
.biz-onb__rv-section-head {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--dash-font); font-size: 0.72rem; font-weight: 600;
  color: rgba(255,255,255,0.55); margin-bottom: 12px; flex-wrap: wrap;
  letter-spacing: -0.01em;
}
.biz-onb__rv-sep { color: rgba(255,255,255,0.12); }
.biz-onb__rv-item {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.03);
}
.biz-onb__rv-item:last-child { border-bottom: none; }
.biz-onb__rv-label {
  font-family: var(--dash-font); font-size: 0.62rem; font-weight: 400;
  color: rgba(255,255,255,0.25); flex-shrink: 0; max-width: 50%;
}
.biz-onb__rv-value {
  font-family: var(--dash-font); font-size: 0.7rem; font-weight: 600;
  color: rgba(255,255,255,0.8); text-align: right;
  word-break: break-all;
}
.biz-onb__rv-empty {
  text-align: center; padding: 48px 24px;
  font-family: var(--dash-font); font-size: 0.8rem; font-weight: 400;
  color: rgba(255,255,255,0.18);
}

/* Missing fields — premium alert */
.biz-onb__rv-missing {
  margin-top: 20px; padding: 18px 20px;
  background: rgba(245,158,11,0.03);
  border: 1px solid rgba(245,158,11,0.1);
  border-radius: 16px;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.biz-onb__rv-missing-head {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--dash-font); font-size: 0.72rem; font-weight: 700;
  color: rgba(245,158,11,0.8); margin-bottom: 8px; letter-spacing: -0.01em;
}
.biz-onb__rv-missing-hint {
  font-family: var(--dash-font); font-size: 0.62rem; font-weight: 400;
  color: rgba(255,255,255,0.25); margin: 0 0 14px; line-height: 1.6;
}
.biz-onb__rv-missing-list {
  display: flex; flex-direction: column; gap: 5px;
}
.biz-onb__rv-missing-btn {
  display: block; width: 100%; text-align: left;
  font-family: var(--dash-font); font-size: 0.62rem; font-weight: 400;
  color: rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 10px; padding: 9px 14px; cursor: pointer;
  transition: all 0.25s cubic-bezier(0.22,1,0.36,1);
}
.biz-onb__rv-missing-btn:hover {
  background: rgba(139,92,246,0.05);
  border-color: rgba(139,92,246,0.15);
  color: #A78BFA; transform: translateX(4px);
}
.biz-onb__rv-missing-btn em {
  color: rgba(255,255,255,0.5); font-style: normal; font-weight: 600;
}
.biz-onb__rv-missing-more {
  font-family: var(--dash-font); font-size: 0.55rem;
  color: rgba(255,255,255,0.18); padding: 6px 14px;
}
.biz-onb__review-actions {
  display: flex; gap: 10px; margin-top: 28px; justify-content: flex-end; flex-wrap: wrap;
}

/* ═══ CONFIRM STATE ═══ */
.biz-onb__confirm {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  position: relative; overflow: hidden; padding: 12px 0;
}
.biz-onb__confirm-ambient {
  position: absolute; top: -40px; left: 50%; transform: translateX(-50%);
  width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(139,92,246,0.06) 0%, transparent 70%);
  filter: blur(50px); pointer-events: none;
  animation: onbAmbientPulse 5s ease-in-out infinite;
}
/* Shield orb */
.biz-onb__confirm-shield {
  position: relative; width: 100px; height: 100px; margin-bottom: 28px;
  animation: onbFadeUp 0.6s cubic-bezier(0.22,1,0.36,1) both;
}
.biz-onb__confirm-shield-core {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  z-index: 2;
}
.biz-onb__confirm-shield-ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid rgba(139,92,246,0.15);
  animation: preOrbRing 6s ease-in-out infinite;
}
.biz-onb__confirm-shield-ring::before {
  content: ''; position: absolute; inset: 15px; border-radius: 50%;
  border: 1px solid rgba(139,92,246,0.08);
  animation: preOrbRing 5s ease-in-out infinite reverse;
}
.biz-onb__confirm-shield-glow {
  position: absolute; width: 200%; height: 200%; top: -50%; left: -50%;
  background: radial-gradient(circle, rgba(139,92,246,0.08) 0%, transparent 55%);
  animation: preOrbFlare 4s ease-in-out infinite;
}
.biz-onb__confirm-title {
  font-family: var(--dash-font); font-size: 1.6rem; font-weight: 800;
  letter-spacing: -0.04em; margin: 0 0 12px;
  background: linear-gradient(180deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.5) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: onbFadeUp 0.6s cubic-bezier(0.22,1,0.36,1) 0.1s both;
}
.biz-onb__confirm-text {
  font-family: var(--dash-font); font-size: 0.78rem; font-weight: 400;
  color: rgba(255,255,255,0.4); margin: 0 0 20px;
  animation: onbFadeUp 0.6s cubic-bezier(0.22,1,0.36,1) 0.15s both;
}
.biz-onb__confirm-list {
  list-style: none; padding: 0; margin: 0 0 24px;
  text-align: left; width: 100%;
  display: flex; flex-direction: column; gap: 0;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 16px; overflow: hidden;
  animation: onbFadeUp 0.6s cubic-bezier(0.22,1,0.36,1) 0.2s both;
}
.biz-onb__confirm-list li {
  font-family: var(--dash-font); font-size: 0.75rem; font-weight: 400;
  color: rgba(255,255,255,0.45); line-height: 1.6;
  padding: 14px 20px 14px 44px; position: relative;
  border-bottom: 1px solid rgba(255,255,255,0.03);
}
.biz-onb__confirm-list li:last-child { border-bottom: none; }
.biz-onb__confirm-list li::before {
  content: ''; position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
  width: 8px; height: 8px; border-radius: 50%;
  background: linear-gradient(135deg, #A78BFA, #8B5CF6);
  box-shadow: 0 0 8px rgba(139,92,246,0.4);
}
.biz-onb__confirm-list li strong { color: rgba(255,255,255,0.7); }
.biz-onb__confirm-badge {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 20px; border-radius: 14px;
  background: rgba(139,92,246,0.03);
  border: 1px solid rgba(139,92,246,0.08);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-family: var(--dash-font); font-size: 0.64rem; font-weight: 500;
  color: rgba(167,139,250,0.8); margin-bottom: 28px; width: 100%; text-align: left;
  animation: onbFadeUp 0.6s cubic-bezier(0.22,1,0.36,1) 0.25s both;
}
.biz-onb__confirm-actions {
  display: flex; gap: 10px; width: 100%; flex-wrap: wrap;
  animation: onbFadeUp 0.6s cubic-bezier(0.22,1,0.36,1) 0.3s both;
}
.biz-onb__confirm-actions .biz-onb__btn { flex: 1; min-width: 160px; }

/* ═══ SUCCESS STATE ═══ */
.biz-onb__success {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 32px 0; position: relative; overflow: hidden;
}
.biz-onb__success-ambient {
  position: absolute; top: -40px; left: 50%; transform: translateX(-50%);
  width: 350px; height: 350px; border-radius: 50%;
  background: radial-gradient(circle, rgba(74,222,128,0.06) 0%, rgba(139,92,246,0.04) 40%, transparent 70%);
  filter: blur(50px); pointer-events: none;
  animation: onbAmbientPulse 5s ease-in-out infinite;
}
.biz-onb__success-orb {
  position: relative; width: 100px; height: 100px; margin-bottom: 28px;
  animation: onbSuccessPop 0.7s cubic-bezier(0.22,1,0.36,1) both;
}
.biz-onb__success-orb-core {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  z-index: 2;
}
.biz-onb__success-orb-ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1.5px solid rgba(74,222,128,0.2);
  animation: onbSuccessRingSpin 8s linear infinite;
}
.biz-onb__success-orb-ring::before {
  content: ''; position: absolute; inset: 12px; border-radius: 50%;
  border: 1px solid rgba(74,222,128,0.1);
  animation: onbSuccessRingSpin 6s linear infinite reverse;
}
@keyframes onbSuccessRingSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.biz-onb__success-orb-glow {
  position: absolute; width: 220%; height: 220%; top: -60%; left: -60%;
  background: radial-gradient(circle, rgba(74,222,128,0.1) 0%, transparent 55%);
  animation: preOrbFlare 4s ease-in-out infinite;
}
@keyframes onbSuccessPop {
  0% { transform: scale(0); opacity: 0; }
  60% { transform: scale(1.15); }
  100% { transform: scale(1); opacity: 1; }
}
.biz-onb__success-title {
  font-family: var(--dash-font); font-size: 1.8rem; font-weight: 800;
  letter-spacing: -0.04em; margin: 0 0 14px;
  background: linear-gradient(180deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.5) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: onbFadeUp 0.6s cubic-bezier(0.22,1,0.36,1) 0.15s both;
}
.biz-onb__success-text {
  font-family: var(--dash-font); font-size: 0.82rem; font-weight: 400;
  color: rgba(255,255,255,0.4); margin: 0 0 8px; line-height: 1.7;
  max-width: 380px;
  animation: onbFadeUp 0.6s cubic-bezier(0.22,1,0.36,1) 0.25s both;
}
.biz-onb__success-hint {
  font-family: var(--dash-font); font-size: 0.65rem; font-weight: 400;
  color: rgba(255,255,255,0.18); margin: 0 0 28px;
  animation: onbFadeUp 0.6s cubic-bezier(0.22,1,0.36,1) 0.35s both;
}

/* Success Stats */
.biz-onb__success-stats {
  display: flex; gap: 20px; margin: 20px 0;
  animation: onbFadeUp 0.6s cubic-bezier(0.22,1,0.36,1) 0.3s both;
}
.biz-onb__success-stat {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 14px 20px; border-radius: 14px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  min-width: 80px;
}
.biz-onb__success-stat-val {
  font-family: var(--dash-font); font-size: 1.4rem; font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #A78BFA, #4ADE80);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.biz-onb__success-stat-label {
  font-family: var(--dash-font); font-size: 0.55rem; font-weight: 500;
  color: rgba(255,255,255,0.25); text-transform: uppercase; letter-spacing: 0.05em;
}

/* Success Notice */
.biz-onb__success-notice {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 16px 18px; border-radius: 14px;
  background: rgba(139,92,246,0.04);
  border: 1px solid rgba(139,92,246,0.1);
  text-align: left; width: 100%; max-width: 400px;
  margin: 16px 0 20px;
  animation: onbFadeUp 0.6s cubic-bezier(0.22,1,0.36,1) 0.4s both;
}
.biz-onb__success-notice svg { flex-shrink: 0; margin-top: 2px; }
.biz-onb__success-notice div {
  font-family: var(--dash-font); font-size: 0.68rem;
  color: rgba(255,255,255,0.4); line-height: 1.6;
}
.biz-onb__success-notice strong {
  color: rgba(255,255,255,0.7); display: block; margin-bottom: 4px;
}

/* ═══ PROCESSING STATE ═══ */
.biz-onb__processing {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 40px 0 20px;
}

.biz-onb__proc-orb {
  position: relative; width: 90px; height: 90px; margin-bottom: 32px;
}
.biz-onb__proc-orb-core {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
}
.biz-onb__proc-orb-ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1.5px solid rgba(139,92,246,0.2);
}
.biz-onb__proc-orb-ring--1 {
  animation: procRingSpin 3s linear infinite;
}
.biz-onb__proc-orb-ring--1::before {
  content: ''; position: absolute; top: -3px; left: 50%;
  width: 6px; height: 6px; border-radius: 50%;
  background: #A78BFA; transform: translateX(-50%);
  box-shadow: 0 0 10px rgba(139,92,246,0.6);
}
.biz-onb__proc-orb-ring--2 {
  inset: 12px;
  animation: procRingSpin 4s linear infinite reverse;
  border-color: rgba(139,92,246,0.1);
}
@keyframes procRingSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.biz-onb__proc-title {
  font-family: var(--dash-font); font-size: 1.3rem; font-weight: 700;
  letter-spacing: -0.03em; margin: 0 0 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.5) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.biz-onb__proc-steps {
  display: flex; flex-direction: column; gap: 6px;
  width: 100%; max-width: 320px; text-align: left;
  margin-bottom: 28px;
}

.biz-onb__proc-step {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--dash-font); font-size: 0.72rem; font-weight: 500;
  color: rgba(255,255,255,0.15);
  padding: 8px 0;
  transition: all 0.5s cubic-bezier(0.22,1,0.36,1);
}
.biz-onb__proc-step--active {
  color: rgba(255,255,255,0.7);
}

.biz-onb__proc-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  flex-shrink: 0;
  transition: all 0.5s cubic-bezier(0.22,1,0.36,1);
}
.biz-onb__proc-step--active .biz-onb__proc-dot {
  background: #A78BFA;
  box-shadow: 0 0 8px rgba(139,92,246,0.4);
}

.biz-onb__proc-bar {
  width: 100%; max-width: 320px; height: 3px;
  border-radius: 3px;
  background: rgba(255,255,255,0.04);
  overflow: hidden;
}
.biz-onb__proc-bar-fill {
  height: 100%; width: 0%;
  border-radius: 3px;
  background: linear-gradient(90deg, #8B5CF6, #4ADE80);
  transition: width 0.8s cubic-bezier(0.22,1,0.36,1);
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 768px) {
  .biz-onb__content { padding: 28px 20px 22px; }
  .biz-onb__shell { width: 96%; border-radius: 20px; max-height: 92vh; }
  .biz-onb__dgrid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .biz-onb__rv-item { flex-direction: column; gap: 2px; }
  .biz-onb__rv-value { text-align: left; }
  .biz-onb__confirm-actions { flex-direction: column; }
  .biz-onb__review-actions { flex-direction: column; }
  .biz-onb__hero { min-height: 320px; padding: 24px 16px; }
}
@media (max-width: 480px) {
  .biz-onb__content { padding: 22px 16px 18px; }
  .biz-onb__precheck-title { font-size: 1.1rem; }
  .biz-onb__dgrid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .biz-onb__notime-title { font-size: 1.3rem; }
  .biz-onb__folders-title { font-size: 1.2rem; }
  .biz-onb__success-title { font-size: 1.4rem; }
  .biz-onb__confirm-title { font-size: 1.3rem; }
}

/* ═══ FILE UPLOAD — Brand Assets ═══ */

.biz-onb__upload-section {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.04);
}

.biz-onb__dropzone {
  position: relative;
  border: 2px dashed rgba(139,92,246,0.2);
  border-radius: 16px;
  padding: 32px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.22,1,0.36,1);
  background: rgba(139,92,246,0.02);
}
.biz-onb__dropzone:hover,
.biz-onb__dropzone--active {
  border-color: rgba(139,92,246,0.4);
  background: rgba(139,92,246,0.05);
  box-shadow: 0 0 30px rgba(139,92,246,0.08);
}
.biz-onb__dropzone-content {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.biz-onb__dropzone-text {
  font-family: var(--dash-font); font-size: 0.75rem; font-weight: 500;
  color: rgba(255,255,255,0.4);
}
.biz-onb__dropzone-text em {
  color: #A78BFA; font-style: normal; font-weight: 600;
}
.biz-onb__dropzone-hint {
  font-family: var(--dash-font); font-size: 0.58rem;
  color: rgba(255,255,255,0.2);
}

/* File list */
.biz-onb__file-list {
  display: flex; flex-direction: column; gap: 6px;
  margin-top: 12px;
}
.biz-onb__file-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  animation: onbCardIn 0.3s cubic-bezier(0.22,1,0.36,1) both;
}
.biz-onb__file-icon {
  width: 40px; height: 40px; border-radius: 8px;
  background: rgba(139,92,246,0.06);
  display: flex; align-items: center; justify-content: center;
  color: rgba(139,92,246,0.5);
  flex-shrink: 0; overflow: hidden;
}
.biz-onb__file-thumb {
  width: 100%; height: 100%; object-fit: cover; border-radius: 8px;
}
.biz-onb__file-info {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column; gap: 2px;
}
.biz-onb__file-name {
  font-family: var(--dash-font); font-size: 0.7rem; font-weight: 600;
  color: var(--kpi-text-bright);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.biz-onb__file-size {
  font-family: var(--dash-font); font-size: 0.55rem;
  color: rgba(255,255,255,0.25);
}
.biz-onb__file-remove {
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.3); font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.2s; flex-shrink: 0;
}
.biz-onb__file-remove:hover {
  background: rgba(239,68,68,0.1); border-color: rgba(239,68,68,0.2);
  color: #EF4444;
}

/* Upload progress & error */
.biz-onb__upload-progress {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; margin-top: 8px;
  border-radius: 10px;
  background: rgba(139,92,246,0.04);
  font-family: var(--dash-font); font-size: 0.65rem;
  color: rgba(255,255,255,0.5);
}
.biz-onb__upload-error {
  padding: 10px 14px; margin-top: 8px;
  border-radius: 10px;
  background: rgba(239,68,68,0.06);
  border: 1px solid rgba(239,68,68,0.12);
  font-family: var(--dash-font); font-size: 0.65rem;
  color: #EF4444;
}

/* ═══ FORM LAYOUT IMPROVEMENTS — Premium ═══ */

/* Auto-save indicator — subtle floating */
.biz-onb__autosave {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--dash-font); font-size: 0.58rem; font-weight: 500;
  color: rgba(74,222,128,0.5); margin-bottom: 20px;
  padding: 7px 14px; border-radius: 980px;
  background: rgba(74,222,128,0.03);
  border: 1px solid rgba(74,222,128,0.06);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  animation: onbFadeUp 0.4s cubic-bezier(0.22,1,0.36,1) 0.1s both;
}
.biz-onb__autosave-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: #4ADE80;
  box-shadow: 0 0 6px rgba(74,222,128,0.4);
  animation: onbPulse 2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes onbPulse {
  0%, 100% { opacity: 0.6; box-shadow: 0 0 6px rgba(74,222,128,0.4); }
  50% { opacity: 1; box-shadow: 0 0 12px rgba(74,222,128,0.6); }
}

/* ── Paired Groups (Social Media) — Glass morphism ────────────── */
.biz-onb__group {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 16px; padding: 16px 18px;
  margin-bottom: 8px;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: all 0.25s;
}
.biz-onb__group:hover {
  border-color: rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.025);
}
.biz-onb__group-head {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 12px;
}
.biz-onb__group-icon {
  font-size: 1.1rem; line-height: 1;
}
.biz-onb__group-name {
  font-family: var(--dash-font); font-size: 0.75rem; font-weight: 700;
  color: rgba(255,255,255,0.65); letter-spacing: -0.01em;
}
.biz-onb__group-fields {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
}
.biz-onb__field--inline {
  display: flex; flex-direction: column; gap: 4px;
}
.biz-onb__field--inline .biz-onb__label {
  font-size: 0.52rem;
}
.biz-onb__field--inline .biz-onb__input {
  padding: 10px 13px;
  font-size: 0.75rem;
}

/* ── Global Note (ERP) — Premium ──────────────────────────────── */
.biz-onb__global-note {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; border-radius: 12px;
  background: rgba(139,92,246,0.03);
  border: 1px solid rgba(139,92,246,0.06);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-family: var(--dash-font); font-size: 0.64rem; font-weight: 400;
  color: rgba(139,92,246,0.6);
  margin-bottom: 18px;
  animation: onbFadeUp 0.4s cubic-bezier(0.22,1,0.36,1) both;
}

/* ── Extra Credentials (ERP per-business) — Glass ─────────────── */
.biz-onb__extra-section {
  margin-top: 22px; padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.04);
}
.biz-onb__extra-title {
  font-family: var(--dash-font); font-size: 0.72rem; font-weight: 600;
  color: rgba(255,255,255,0.3); margin-bottom: 14px; letter-spacing: -0.01em;
}
.biz-onb__extra-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 14px; padding: 14px 16px; margin-bottom: 8px;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: all 0.25s;
}
.biz-onb__extra-card:hover {
  border-color: rgba(255,255,255,0.08);
}
.biz-onb__extra-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.biz-onb__btn-add {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  width: 100%; padding: 12px;
  font-family: var(--dash-font); font-size: 0.7rem; font-weight: 600;
  color: rgba(139,92,246,0.5);
  background: rgba(139,92,246,0.02);
  border: 1px dashed rgba(139,92,246,0.12);
  border-radius: 14px; cursor: pointer;
  transition: all 0.3s cubic-bezier(0.22,1,0.36,1);
}
.biz-onb__btn-add:hover {
  background: rgba(139,92,246,0.05);
  border-color: rgba(139,92,246,0.25);
  color: #A78BFA;
  transform: translateY(-1px);
}

/* ── Team Notice ──────────────────────────────────────────────── */
.biz-onb__team-notice {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 14px 16px; border-radius: 12px;
  background: rgba(139,92,246,0.04);
  border: 1px solid rgba(139,92,246,0.1);
  font-family: var(--dash-font); font-size: 0.65rem;
  color: rgba(255,255,255,0.45); line-height: 1.6;
  margin-bottom: 14px;
}
.biz-onb__team-notice svg {
  color: #A78BFA; flex-shrink: 0; margin-top: 2px;
}

/* ── Team Contact Cards — Premium Glass ────────────────────────── */
.biz-onb__team-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 16px; padding: 18px 18px; margin-bottom: 10px;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: all 0.25s;
}
.biz-onb__team-card:hover {
  border-color: rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.025);
}
.biz-onb__team-head {
  font-family: var(--dash-font); font-size: 0.75rem; font-weight: 700;
  letter-spacing: -0.01em;
  background: linear-gradient(180deg, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0.4) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; margin-bottom: 14px;
}
.biz-onb__team-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px; margin-bottom: 14px;
}
.biz-onb__team-tags-label {
  font-family: var(--dash-font); font-size: 0.52rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: rgba(255,255,255,0.2); margin-bottom: 8px;
}
.biz-onb__team-tags {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.biz-onb__tag {
  padding: 7px 16px; border-radius: 980px;
  font-family: var(--dash-font); font-size: 0.62rem; font-weight: 600;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.35);
  cursor: pointer; transition: all 0.25s cubic-bezier(0.22,1,0.36,1);
}
.biz-onb__tag:hover {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.5);
}
.biz-onb__tag--active {
  background: rgba(16,185,129,0.1);
  border-color: rgba(16,185,129,0.3);
  color: #34D399;
  box-shadow: 0 0 12px rgba(16,185,129,0.08);
}

/* ── Responsive adjustments ──────────────────────────────────────── */
@media (max-width: 768px) {
  .biz-onb__group-fields {
    grid-template-columns: 1fr 1fr;
  }
  .biz-onb__extra-row {
    grid-template-columns: 1fr;
  }
  .biz-onb__team-row {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 480px) {
  .biz-onb__group-fields {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════════════════════════════════
   XAZAI LIGHT THEME — Inspired by brand logo colors
   Deep purple (#2D1B69), Magenta (#D946EF), Violet (#8B5CF6)
   Warm cream background with purple accents
   ═══════════════════════════════════════════════════════════════ */

.biz-overview--light {
  --xz-bg: #F8F6FC;
  --xz-surface: #FFFFFF;
  --xz-surface-hover: #F3EEFF;
  --xz-border: rgba(139, 92, 246, 0.12);
  --xz-border-hover: rgba(139, 92, 246, 0.25);
  --xz-text-primary: #1E1338;
  --xz-text-secondary: #4A3D6B;
  --xz-text-muted: #8B7FA8;
  --xz-text-dim: #B0A5C7;
  --xz-accent: #7C3AED;
  --xz-accent-soft: rgba(124, 58, 237, 0.08);
  --xz-shadow: 0 4px 14px -2px rgba(45, 27, 105, 0.06);
  --xz-shadow-hover: 0 8px 30px rgba(124, 58, 237, 0.10);

  background: var(--xz-bg) !important;
  color: var(--xz-text-primary);
}

/* ── Back button ── */
.biz-overview--light .biz-overview__back {
  background: var(--xz-surface);
  border-color: var(--xz-border);
  color: var(--xz-text-muted);
  box-shadow: var(--xz-shadow);
}
.biz-overview--light .biz-overview__back:hover {
  background: var(--xz-surface-hover);
  border-color: var(--xz-border-hover);
  color: var(--xz-accent);
}

/* ── Brand header ── */
.biz-overview--light .biz-overview__name {
  color: var(--xz-text-primary);
}
.biz-overview--light .biz-overview__tagline {
  color: var(--xz-text-muted);
}
.biz-overview--light .biz-overview__brand-avatar {
  background: rgba(124, 58, 237, 0.06);
  border-color: rgba(124, 58, 237, 0.15);
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.08);
}

/* ── Insight banner (already purple, just refine for light) ── */
.biz-overview--light .biz-overview__insight {
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.2);
}

/* ── Range pills ── */
.biz-overview--light .biz-overview__range-btn {
  background: var(--xz-surface);
  border-color: var(--xz-border);
  color: var(--xz-text-muted);
}
.biz-overview--light .biz-overview__range-btn:hover {
  background: var(--xz-surface-hover);
  color: var(--xz-accent);
}
.biz-overview--light .biz-overview__range-btn--active {
  background: var(--xz-accent) !important;
  border-color: var(--xz-accent) !important;
  color: #FFFFFF !important;
}
.biz-overview--light .biz-overview__range-label {
  color: var(--xz-text-muted);
}
.biz-overview--light .biz-overview__month-picker {
  background: var(--xz-surface);
  border-color: var(--xz-border);
  color: var(--xz-text-secondary);
  color-scheme: light;
}
.biz-overview--light .biz-overview__month-picker::-webkit-calendar-picker-indicator {
  filter: none;
}

/* ── Light theme: Date Range Picker ── */
.biz-overview--light .biz-overview__date-range-inner {
  background: var(--xz-surface);
  border-color: var(--xz-border);
  box-shadow: var(--xz-shadow);
}
.biz-overview--light .biz-overview__date-label {
  color: var(--xz-text-muted);
}
.biz-overview--light .biz-overview__date-input {
  background: rgba(124, 58, 237, 0.04);
  border-color: var(--xz-border);
  color: var(--xz-text-primary);
  color-scheme: light;
}
.biz-overview--light .biz-overview__date-input:focus {
  border-color: var(--xz-accent);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.08);
}
.biz-overview--light .biz-overview__date-input::-webkit-calendar-picker-indicator {
  filter: none;
}
.biz-overview--light .biz-overview__date-sep {
  color: var(--xz-text-muted);
}
.biz-overview--light .biz-overview__date-apply {
  background: linear-gradient(135deg, #7C3AED, #A855F7);
  box-shadow: 0 2px 10px rgba(124, 58, 237, 0.25);
}
.biz-overview--light .biz-overview__date-apply:hover {
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.35);
}

/* ── KPI Cards ── */
.biz-overview--light .biz-overview__kpi {
  background: var(--xz-surface);
  border-color: var(--xz-border);
  box-shadow: var(--xz-shadow);
}
.biz-overview--light .biz-overview__kpi::before {
  background: linear-gradient(90deg, transparent, rgba(124, 58, 237, 0.2), transparent);
}
.biz-overview--light .biz-overview__kpi:hover {
  background: var(--xz-surface-hover);
  border-color: var(--xz-border-hover);
  box-shadow: var(--xz-shadow-hover);
}
.biz-overview--light .biz-overview__kpi-icon {
  background: rgba(124, 58, 237, 0.06);
  border-color: rgba(124, 58, 237, 0.12);
  color: var(--xz-accent);
}
.biz-overview--light .biz-overview__kpi-value {
  color: var(--xz-text-primary);
  background: linear-gradient(135deg, #7C3AED, #D946EF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.biz-overview--light .biz-overview__kpi-label {
  color: var(--xz-text-secondary);
}
.biz-overview--light .biz-overview__kpi-sub {
  color: var(--xz-text-muted);
}

/* ── Payment Methods / Wide KPI ── */
.biz-overview--light .biz-overview__pm-breakdown {
  border-left-color: var(--xz-border);
}
.biz-overview--light .biz-overview__pm-head {
  color: var(--xz-text-muted);
}
.biz-overview--light .biz-overview__ch-name {
  color: var(--xz-text-secondary);
}
.biz-overview--light .biz-overview__ch-amt {
  color: var(--xz-text-primary);
}
.biz-overview--light .biz-overview__ch-bar {
  background: rgba(124, 58, 237, 0.06);
}
.biz-overview--light .biz-overview__ch-pct {
  color: var(--xz-text-muted);
}
.biz-overview--light .biz-overview__pm-empty {
  color: var(--xz-text-dim);
}

/* ── Chart Cards ── */
.biz-overview--light .biz-overview__chart-card {
  background: var(--xz-surface);
  border-color: var(--xz-border);
  box-shadow: var(--xz-shadow);
}
.biz-overview--light .biz-overview__chart-card:hover {
  border-color: var(--xz-border-hover);
}
.biz-overview--light .biz-overview__chart-title {
  color: var(--xz-text-primary);
}
.biz-overview--light .biz-overview__chart-sub {
  color: var(--xz-text-muted);
}

/* Bar chart */
.biz-overview--light .biz-overview__bar-value {
  color: var(--xz-text-muted);
}
.biz-overview--light .biz-overview__bar-track {
  background: rgba(124, 58, 237, 0.05);
}
.biz-overview--light .biz-overview__bar-fill {
  background: linear-gradient(180deg, #8B5CF6, #D946EF);
  box-shadow: 0 2px 8px rgba(124, 58, 237, 0.2);
}
.biz-overview--light .biz-overview__bar-label {
  color: var(--xz-text-muted);
}

/* Donut chart */
.biz-overview--light .biz-overview__donut-pct {
  color: var(--xz-accent);
}
.biz-overview--light .biz-overview__donut-label {
  color: var(--xz-text-muted);
}

/* ── Activity Feed ── */
.biz-overview--light .biz-overview__activity {
  background: var(--xz-surface);
  border-color: var(--xz-border);
  box-shadow: var(--xz-shadow);
}
.biz-overview--light .biz-overview__section-title {
  color: var(--xz-text-primary);
}
.biz-overview--light .biz-overview__act-item {
  border-bottom-color: rgba(124, 58, 237, 0.06);
}
.biz-overview--light .biz-overview__act-text {
  color: var(--xz-text-secondary);
}
.biz-overview--light .biz-overview__act-time {
  color: var(--xz-text-dim);
}
.biz-overview--light .biz-overview__act-empty {
  color: var(--xz-text-dim);
}

/* ── Proposal Card ── */
.biz-overview--light .biz-overview__proposal {
  background: linear-gradient(135deg, #F3EEFF 0%, #FCE7F3 100%);
  border-color: rgba(124, 58, 237, 0.15);
  box-shadow: var(--xz-shadow);
}
.biz-overview--light .biz-overview__proposal:hover {
  box-shadow: var(--xz-shadow-hover);
}
.biz-overview--light .biz-overview__proposal-title {
  color: var(--xz-text-primary);
}
.biz-overview--light .biz-overview__proposal-sub {
  color: var(--xz-text-secondary);
}

/* ── Staff table ── */
.biz-overview--light .biz-overview__staff {
  background: var(--xz-surface);
  border-color: var(--xz-border);
  box-shadow: var(--xz-shadow);
}
.biz-overview--light .biz-overview__staff-table th {
  color: var(--xz-text-muted);
  border-bottom-color: var(--xz-border);
}
.biz-overview--light .biz-overview__staff-table td {
  color: var(--xz-text-secondary);
  border-bottom-color: rgba(124, 58, 237, 0.04);
}
.biz-overview--light .biz-overview__staff-name {
  color: var(--xz-text-primary);
}

/* ── Expense popup ── */
.biz-overview--light .biz-overview__expenses-modal {
  background: var(--xz-surface);
  border-color: var(--xz-border);
}
.biz-overview--light .biz-overview__expense-item {
  background: var(--xz-bg);
  border-color: var(--xz-border);
}

/* ── Tooltip (overlay is shared via biz-kpi-tooltip) ── */

/* ── Expenses Section ── */
.biz-overview--light .biz-overview__expenses {
  background: var(--xz-surface);
  border-color: var(--xz-border);
  box-shadow: var(--xz-shadow);
}
.biz-overview--light .biz-overview__exp-explain {
  color: var(--xz-text-muted);
}
.biz-overview--light .biz-overview__exp-summary {
  background: rgba(124, 58, 237, 0.04);
  border-color: var(--xz-border);
}
.biz-overview--light .biz-overview__exp-summary-label {
  color: var(--xz-text-muted);
}
.biz-overview--light .biz-overview__exp-summary-val--green { color: #16A34A; }
.biz-overview--light .biz-overview__exp-summary-val--red { color: #DC2626; }
.biz-overview--light .biz-overview__exp-summary-sep {
  color: var(--xz-text-dim);
}
.biz-overview--light .biz-overview__exp-cats-title,
.biz-overview--light .biz-overview__exp-list-title {
  color: var(--xz-text-muted);
}
.biz-overview--light .biz-overview__exp-cat-name {
  color: var(--xz-text-secondary);
}
.biz-overview--light .biz-overview__exp-cat-bar {
  background: rgba(124, 58, 237, 0.06);
}
.biz-overview--light .biz-overview__exp-cat-fill {
  background: #DC2626;
}
.biz-overview--light .biz-overview__exp-cat-amt {
  color: var(--xz-text-primary);
}
.biz-overview--light .biz-overview__exp-cat-pct {
  color: var(--xz-text-muted);
}
.biz-overview--light .biz-overview__exp-row {
  background: rgba(124, 58, 237, 0.02);
  border-color: var(--xz-border);
}
.biz-overview--light .biz-overview__exp-row:hover {
  background: rgba(124, 58, 237, 0.05);
}
.biz-overview--light .biz-overview__exp-desc {
  color: var(--xz-text-primary);
}
.biz-overview--light .biz-overview__exp-meta {
  color: var(--xz-text-muted);
}
.biz-overview--light .biz-overview__exp-amount {
  color: #DC2626;
}
.biz-overview--light .biz-overview__exp-total {
  color: #DC2626;
}
.biz-overview--light .biz-overview__exp-arrow {
  color: var(--xz-text-dim);
}
.biz-overview--light .biz-overview__exp-no-inv {
  color: var(--xz-text-dim);
}

/* ── Marketing / Meta Ads ── */
.biz-overview--light .biz-overview__meta {
  background: var(--xz-surface);
  border-color: var(--xz-border);
  box-shadow: var(--xz-shadow);
}
.biz-overview--light .biz-overview__meta-explain {
  color: var(--xz-text-muted);
}
.biz-overview--light .biz-overview__meta-updated {
  color: var(--xz-text-muted);
  background: rgba(124, 58, 237, 0.05);
}
.biz-overview--light .biz-overview__meta-highlight {
  background: linear-gradient(135deg, rgba(59,130,246,0.06), rgba(124,58,237,0.08));
  border-color: rgba(124, 58, 237, 0.12);
}
.biz-overview--light .biz-overview__meta-highlight-label {
  color: var(--xz-text-muted);
}
.biz-overview--light .biz-overview__meta-highlight-sep {
  color: var(--xz-text-dim);
}
.biz-overview--light .biz-overview__meta-metric {
  background: rgba(124, 58, 237, 0.02);
  border-color: var(--xz-border);
}
.biz-overview--light .biz-overview__meta-metric:hover {
  background: rgba(124, 58, 237, 0.05);
  border-color: var(--xz-border-hover);
}
.biz-overview--light .biz-overview__meta-metric-label {
  color: var(--xz-text-muted);
}
.biz-overview--light .biz-overview__meta-metric-val {
  color: var(--xz-text-primary);
}
.biz-overview--light .biz-overview__meta-metric-tip {
  color: var(--xz-text-muted);
}
.biz-overview--light .biz-overview__meta-metric--expanded {
  background: rgba(124, 58, 237, 0.06);
  border-color: rgba(124, 58, 237, 0.18);
}
.biz-overview--light .biz-overview__meta-empty p {
  color: var(--xz-text-secondary);
}
.biz-overview--light .biz-overview__meta-empty span {
  color: var(--xz-text-muted);
}

/* ── PM Head tip ── */
.biz-overview--light .biz-overview__pm-head-tip {
  color: var(--xz-text-dim);
}

/* ── Section titles ── */
.biz-overview--light .biz-overview__section-header {
  color: var(--xz-text-primary);
}

/* ── Scrollbar ── */
.biz-overview--light::-webkit-scrollbar {
  width: 6px;
}
.biz-overview--light::-webkit-scrollbar-thumb {
  background: rgba(124, 58, 237, 0.15);
  border-radius: 3px;
}
.biz-overview--light::-webkit-scrollbar-thumb:hover {
  background: rgba(124, 58, 237, 0.25);
}

/* ── SVG strokes / donut BG arcs in light mode ── */
.biz-overview--light .biz-overview__donut-svg circle[stroke*="rgba(255"] {
  stroke: rgba(124, 58, 237, 0.08) !important;
}
.biz-overview--light svg text {
  fill: var(--xz-text-muted) !important;
}

/* ── Notification bell ── */
.biz-overview--light .biz-overview__notif-btn {
  background: var(--xz-surface);
  border-color: var(--xz-border);
  color: var(--xz-text-secondary);
  box-shadow: var(--xz-shadow);
}

/* ── Tooltip overrides ── */
.biz-overview--light .biz-overview__kpi-tip-icon {
  background: rgba(124, 58, 237, 0.06);
  color: var(--xz-accent);
  border-color: rgba(124, 58, 237, 0.15);
}
.biz-overview--light .biz-overview__kpi-tip-icon:hover {
  background: rgba(124, 58, 237, 0.12);
}

/* ── FAB button ── */
.biz-overview--light .biz-overview__fab {
  background: linear-gradient(135deg, #8B5CF6, #D946EF);
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.3);
}

/* ═══════════════════════════════════════════════════════
   KPI Tooltip Overlay (click-based, inside container)
   ═══════════════════════════════════════════════════════ */
.biz-ov-tip-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 1;
  transition: opacity 0.25s ease;
  padding: 24px;
}

.biz-ov-tip-card {
  max-width: 340px;
  width: 100%;
  background: rgba(20, 20, 28, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 24px 22px 18px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5),
              0 0 40px rgba(var(--biz-rgb), 0.08);
  animation: tipCardIn 0.25s ease-out;
}

.biz-ov-tip-text {
  font-family: var(--dash-font);
  font-size: 0.85rem;
  line-height: 1.6;
  color: #E5E5E5;
  letter-spacing: 0.01em;
}

.biz-ov-tip-dismiss {
  margin-top: 16px;
  font-family: var(--dash-font);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.25);
  text-align: center;
}

@keyframes tipCardIn {
  from { opacity: 0; transform: scale(0.92) translateY(8px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* ── Light theme tooltip override ── */
.biz-overview--light .biz-ov-tip-overlay {
  background: rgba(248, 246, 252, 0.6);
}
.biz-overview--light .biz-ov-tip-card {
  background: #FFFFFF;
  border-color: rgba(124, 58, 237, 0.12);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12),
              0 0 30px rgba(124, 58, 237, 0.06);
}
.biz-overview--light .biz-ov-tip-text {
  color: #1E1338;
}
.biz-overview--light .biz-ov-tip-dismiss {
  color: rgba(30, 19, 56, 0.3);
}

/* ═══════════════════════════════════════════════════════
   Brand Row — Logo + Insight + Receivable inline
   ═══════════════════════════════════════════════════════ */
/* ── Brand Line (logo + receivable on same row) ── */
.biz-overview__brand-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.biz-overview__brand-line > .biz-overview__brand {
  flex: 1 1 0;
  min-width: 0;
}
.biz-overview__brand-line > .biz-overview__receivable-card {
  flex-shrink: 0;
}

/* ── Por Cobrar toggle in form ── */
.biz-overview__bal-field--toggle {
  padding: 10px 0;
  border-top: 1px solid rgba(124, 58, 237, 0.08);
  margin-top: 4px;
}
.biz-overview__bal-toggle-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}
.biz-overview__bal-toggle-wrap input[type="checkbox"] {
  display: none;
}
.biz-overview__bal-toggle-slider {
  position: relative;
  width: 38px;
  height: 20px;
  background: rgba(0,0,0,0.08);
  border-radius: 12px;
  transition: background 0.2s;
  flex-shrink: 0;
}
.biz-overview__bal-toggle-slider::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  background: white;
  border-radius: 50%;
  transition: transform 0.2s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
.biz-overview__bal-toggle-wrap input:checked + .biz-overview__bal-toggle-slider {
  background: linear-gradient(135deg, #7C3AED, #A855F7);
}
.biz-overview__bal-toggle-wrap input:checked + .biz-overview__bal-toggle-slider::after {
  transform: translateX(18px);
}
.biz-overview__bal-toggle-text {
  font-family: var(--dash-font);
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
}
.biz-overview__bal-toggle-hint {
  display: block;
  font-family: var(--dash-font);
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 4px;
  padding-left: 48px;
}
.biz-overview__bal-field--toggle {
  border-top-color: rgba(255, 255, 255, 0.06);
}
.biz-overview__bal-toggle-slider {
  background: rgba(255, 255, 255, 0.12);
}

/* ── Receivable Card (header) ── */
.biz-overview__receivable-card {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #7C3AED, #9333EA);
  color: #FFF;
  padding: 8px 14px;
  border-radius: 12px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.2s ease;
  box-shadow: 0 2px 10px rgba(124, 58, 237, 0.3);
  animation: recvPulse 3s ease-in-out infinite;
}
.biz-overview__receivable-card:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 18px rgba(124, 58, 237, 0.4);
}
@keyframes recvPulse {
  0%, 100% { box-shadow: 0 2px 10px rgba(124, 58, 237, 0.3); }
  50% { box-shadow: 0 4px 18px rgba(124, 58, 237, 0.5); }
}
.biz-overview__receivable-icon {
  opacity: 0.8;
}
.biz-overview__receivable-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.biz-overview__receivable-label {
  font-family: var(--dash-font);
  font-size: 0.55rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.7;
}
.biz-overview__receivable-amount {
  font-family: var(--dash-font);
  font-size: 0.85rem;
  font-weight: 700;
}
.biz-overview__receivable-count {
  background: rgba(255,255,255,0.2);
  padding: 2px 7px;
  border-radius: 8px;
  font-size: 0.6rem;
  font-weight: 700;
}

/* ── Receivable Detail Modal ── */
.biz-overview__invoice-modal:has(.biz-overview__recv-modal),
.biz-overview__invoice-modal:has(.biz-overview__pf-modal) {
  opacity: 1;
}
.biz-overview__recv-modal {
  position: relative;
  z-index: 1;
  max-width: 420px;
  width: 92%;
  max-height: 90vh;
  overflow-y: auto;
  background: #FFF;
  border-radius: 20px;
  padding: 28px 22px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.15);
  animation: tipCardIn 0.25s ease-out;
}
.biz-overview__recv-header {
  text-align: center;
  margin-bottom: 20px;
}
.biz-overview__recv-title {
  font-family: var(--dash-font);
  font-size: 1.2rem;
  font-weight: 700;
  color: #1E1338;
}
.biz-overview__recv-subtitle {
  font-family: var(--dash-font);
  font-size: 0.7rem;
  color: #8B7FA8;
  margin-top: 4px;
}
.biz-overview__recv-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}
.biz-overview__recv-row {
  background: rgba(124, 58, 237, 0.04);
  border: 1px solid rgba(124, 58, 237, 0.08);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.biz-overview__recv-row-name {
  font-family: var(--dash-font);
  font-size: 0.82rem;
  font-weight: 600;
  color: #1E1338;
  flex: 1;
}
.biz-overview__recv-row-amount {
  font-family: var(--dash-font);
  font-size: 0.85rem;
  font-weight: 700;
  color: #7C3AED;
}
.biz-overview__recv-row-notes {
  width: 100%;
  font-family: var(--dash-font);
  font-size: 0.65rem;
  color: #8B7FA8;
}
.biz-overview__recv-actions {
  width: 100%;
  display: flex;
  gap: 6px;
  margin-top: 6px;
}
.biz-overview__recv-mark-paid {
  font-family: var(--dash-font);
  font-size: 0.6rem;
  font-weight: 600;
  color: #16A34A;
  background: rgba(22, 163, 74, 0.08);
  border: 1px solid rgba(22, 163, 74, 0.15);
  padding: 5px 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s;
  flex: 1;
}
.biz-overview__recv-mark-paid:hover {
  background: rgba(22, 163, 74, 0.15);
}
.biz-overview__recv-edit {
  font-family: var(--dash-font);
  font-size: 0.6rem;
  font-weight: 600;
  color: #7C3AED;
  background: rgba(124, 58, 237, 0.06);
  border: 1px solid rgba(124, 58, 237, 0.12);
  padding: 5px 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s;
  flex: 1;
}
.biz-overview__recv-edit:hover {
  background: rgba(124, 58, 237, 0.12);
}
.biz-overview__recv-delete {
  font-family: var(--dash-font);
  font-size: 0.65rem;
  font-weight: 600;
  color: #EF4444;
  background: rgba(239, 68, 68, 0.06);
  border: 1px solid rgba(239, 68, 68, 0.12);
  padding: 5px 8px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s;
  width: 32px;
  flex-shrink: 0;
}
.biz-overview__recv-delete:hover {
  background: rgba(239, 68, 68, 0.15);
}

/* ── Receivable row layout ── */
.biz-overview__recv-row-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 8px;
}

/* ── Toggle attachments button ── */
.biz-overview__recv-toggle-atts {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  margin-top: 6px;
  padding: 6px 10px;
  background: rgba(124, 58, 237, 0.04);
  border: 1px solid rgba(124, 58, 237, 0.08);
  border-radius: 8px;
  color: #7C3AED;
  font-family: var(--dash-font);
  font-size: 0.62rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}
.biz-overview__recv-toggle-atts:hover {
  background: rgba(124, 58, 237, 0.08);
}
.biz-overview__recv-toggle-atts--open {
  background: rgba(124, 58, 237, 0.08);
  border-color: rgba(124, 58, 237, 0.15);
}

/* ── Attachment grid ── */
.biz-overview__recv-row-atts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 8px;
  width: 100%;
  margin-top: 8px;
}
.biz-overview__recv-att-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-decoration: none;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(124, 58, 237, 0.08);
  transition: all 0.15s;
}
.biz-overview__recv-att-item:hover {
  border-color: rgba(124, 58, 237, 0.2);
  box-shadow: 0 2px 8px rgba(124, 58, 237, 0.08);
  transform: translateY(-1px);
}
.biz-overview__recv-att-name {
  font-family: var(--dash-font);
  font-size: 0.55rem;
  color: #4A3D6B;
  padding: 4px 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ── Receivable attachment rows (edit modal) ── */
.biz-overview__recv-att {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  background: rgba(124, 58, 237, 0.03);
  border: 1px solid rgba(124, 58, 237, 0.08);
  border-radius: 10px;
}

/* Totals */
.biz-overview__recv-totals {
  border-top: 1px solid rgba(124, 58, 237, 0.08);
  padding-top: 14px;
  margin-bottom: 18px;
}
.biz-overview__recv-total-row {
  display: flex;
  justify-content: space-between;
  font-family: var(--dash-font);
  font-size: 0.78rem;
  color: #4A3D6B;
  padding: 4px 0;
}
.biz-overview__recv-total-row--fee {
  font-size: 0.7rem;
  color: #8B7FA8;
}
.biz-overview__recv-total-row--final {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1E1338;
  border-top: 1px solid rgba(124, 58, 237, 0.1);
  margin-top: 6px;
  padding-top: 8px;
}

/* Pay section */
.biz-overview__recv-pay-section {
  text-align: center;
}
.biz-overview__recv-pay-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #7C3AED, #9333EA);
  color: #FFF;
  border: none;
  border-radius: 14px;
  font-family: var(--dash-font);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.3);
}
.biz-overview__recv-pay-btn:hover {
  box-shadow: 0 6px 24px rgba(124, 58, 237, 0.4);
  transform: translateY(-1px);
}
.biz-overview__recv-pay-btn--quick {
  background: linear-gradient(135deg, #16A34A, #22C55E);
  box-shadow: 0 4px 16px rgba(22, 163, 74, 0.3);
}
.biz-overview__recv-pay-link {
  font-family: var(--dash-font);
  font-size: 0.7rem;
  color: #7C3AED;
  background: none;
  border: none;
  cursor: pointer;
  margin-top: 8px;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.biz-overview__recv-pay-note {
  font-family: var(--dash-font);
  font-size: 0.6rem;
  color: #8B7FA8;
  margin-top: 8px;
}

/* ── Paguelo Facil Modal ── */
.biz-overview__pf-modal {
  position: relative;
  max-width: 380px;
  width: 92%;
  background: #FFF;
  border-radius: 20px;
  padding: 28px 22px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.18);
  animation: tipCardIn 0.25s ease-out;
}
.biz-overview__pf-logo {
  font-family: var(--dash-font);
  font-size: 1.1rem;
  font-weight: 800;
  color: #7C3AED;
  text-align: center;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.biz-overview__pf-amount {
  font-family: var(--dash-font);
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
  color: #1E1338;
  margin-bottom: 4px;
}
.biz-overview__pf-desc {
  font-family: var(--dash-font);
  font-size: 0.65rem;
  color: #8B7FA8;
  text-align: center;
  margin-bottom: 20px;
}
.biz-overview__pf-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.biz-overview__pf-input {
  font-family: var(--dash-font);
  font-size: 0.85rem;
  padding: 12px 14px;
  background: rgba(124, 58, 237, 0.04);
  border: 1px solid rgba(124, 58, 237, 0.12);
  border-radius: 12px;
  outline: none;
  color: #1E1338;
  transition: border-color 0.15s;
  width: 100%;
  box-sizing: border-box;
}
.biz-overview__pf-input:focus {
  border-color: #7C3AED;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.08);
}
.biz-overview__pf-input::placeholder { color: #8B7FA8; }
.biz-overview__pf-row {
  display: flex;
  gap: 10px;
}
.biz-overview__pf-remember {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--dash-font);
  font-size: 0.7rem;
  color: #4A3D6B;
  cursor: pointer;
}
.biz-overview__pf-remember input { accent-color: #7C3AED; }
.biz-overview__pf-pay {
  padding: 14px;
  background: linear-gradient(135deg, #7C3AED, #9333EA);
  color: #FFF;
  border: none;
  border-radius: 14px;
  font-family: var(--dash-font);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.3);
  margin-top: 4px;
}
.biz-overview__pf-pay:hover {
  box-shadow: 0 6px 24px rgba(124, 58, 237, 0.4);
}
.biz-overview__pf-secure {
  font-family: var(--dash-font);
  font-size: 0.55rem;
  color: #8B7FA8;
  text-align: center;
  margin-top: 12px;
}

/* ── Mobile responsive for brand-line ── */
@media (max-width: 480px) {
  .biz-overview__brand-line {
    gap: 8px;
    flex-wrap: nowrap !important;
  }
  .biz-overview__brand-line > .biz-overview__brand {
    min-width: 0;
    flex: 1 1 0;
  }
  .biz-overview__brand-line > .biz-overview__receivable-card {
    padding: 6px 10px;
    border-radius: 10px;
    flex-shrink: 0;
  }
  .biz-overview__receivable-icon { display: none; }
  .biz-overview__receivable-amount {
    font-size: 0.78rem;
  }
  .biz-overview__receivable-label {
    font-size: 0.48rem;
  }
  .biz-overview__receivable-count {
    width: 18px;
    height: 18px;
    font-size: 0.55rem;
  }
}

/* ═══════════════════════════════════════════════════════
   Estado de Resultados — Xazai Income Statement
   ═══════════════════════════════════════════════════════ */
.biz-overview__estado-resultados {
  background: var(--xz-surface, #FFF);
  border: 1px solid var(--xz-border, rgba(124, 58, 237, 0.08));
  border-radius: 16px;
  padding: 20px 22px;
  box-shadow: var(--xz-shadow, 0 4px 14px -2px rgba(45, 27, 105, 0.06));
}

.biz-overview__er-title {
  font-family: var(--dash-font);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--xz-text-primary, #1E1338);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}
.biz-overview__er-title svg {
  color: var(--xz-text-muted, #8B7FA8);
}

.biz-overview__er-row {
  display: flex;
  align-items: center;
  padding: 10px 14px;
  gap: 10px;
  border-radius: 10px;
  margin-bottom: 2px;
}

.biz-overview__er-row--highlight {
  margin: 4px 0;
}
.biz-overview__er-row--green {
  background: linear-gradient(135deg, rgba(22, 163, 74, 0.06), rgba(22, 163, 74, 0.02));
  border: 1px solid rgba(22, 163, 74, 0.1);
}
.biz-overview__er-row--blue {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.06), rgba(59, 130, 246, 0.02));
  border: 1px solid rgba(59, 130, 246, 0.1);
}
.biz-overview__er-row--profit {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(16, 185, 129, 0.03));
  border: 1px solid rgba(16, 185, 129, 0.15);
}
.biz-overview__er-row--loss {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.08), rgba(239, 68, 68, 0.03));
  border: 1px solid rgba(239, 68, 68, 0.15);
}

.biz-overview__er-icon {
  font-size: 0.85rem;
  flex-shrink: 0;
  width: 22px;
  text-align: center;
}

.biz-overview__er-label {
  font-family: var(--dash-font);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--xz-text-primary, #1E1338);
  flex: 1;
}
.biz-overview__er-row--highlight .biz-overview__er-label {
  font-weight: 700;
  font-size: 0.82rem;
}

.biz-overview__er-value {
  font-family: var(--dash-font);
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
}
.biz-overview__er-value--green { color: #16A34A; }
.biz-overview__er-value--blue { color: #3B82F6; }
.biz-overview__er-value--deduct { color: #EF4444; font-weight: 500; }
.biz-overview__er-value--profit { color: #10B981; font-size: 1rem; font-weight: 800; }
.biz-overview__er-value--loss { color: #EF4444; font-size: 1rem; font-weight: 800; }

.biz-overview__er-note {
  font-family: var(--dash-font);
  font-size: 0.6rem;
  color: var(--xz-text-muted, #8B7FA8);
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--xz-border, rgba(124, 58, 237, 0.06));
  line-height: 1.5;
}

@media (max-width: 480px) {
  .biz-overview__estado-resultados { padding: 16px 14px; }
  .biz-overview__er-row { padding: 8px 10px; gap: 8px; }
  .biz-overview__er-label { font-size: 0.7rem; }
  .biz-overview__er-value { font-size: 0.75rem; }
  .biz-overview__er-row--highlight .biz-overview__er-label { font-size: 0.75rem; }
  .biz-overview__er-value--profit,
  .biz-overview__er-value--loss { font-size: 0.88rem; }
}
