:root{
  --bg:#f6f8fb; --card:#ffffff; --muted:#6b7280; --accent:#4f46e5; --accent-600:#4338ca;
  --brand:#0d6efd; --brand-dark:#0b5ed7;
  --app-nav-height:72px;
}
*{box-sizing:border-box}
body{font-family:Inter, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial; margin:0; background:var(--bg); color:#0f172a; background: #f8fafc; width:100%}
html,body{min-height:100%; width:100%; max-width:100%; overflow-x:hidden}

/* App shell — footer sticks to bottom and stays visible */
html:not(.login-page) body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}

html:not(.login-page) body > .container-fluid,
html:not(.login-page) body > .app-page,
html:not(.login-page) body > .home-page,
html:not(.login-page) body > .welcome-page {
  flex: 1 0 auto;
  width: 100%;
}

/* Topbar */
.topbar{background:linear-gradient(90deg, #eef2ff, #ffffff); border-bottom:1px solid rgba(15,23,42,0.04);}
.topbar-inner{max-width:1100px; margin:0 auto; padding:12px 20px; display:flex; align-items:center}
.logo{background:linear-gradient(135deg,var(--accent),var(--accent-600)); color:white; width:44px; height:44px; display:flex; align-items:center; justify-content:center; border-radius:8px; font-weight:700}
.logo.small{width:36px; height:36px}
.title{margin-left:12px; font-weight:600}
.spacer{flex:1}

.page{max-width:1100px; margin:28px auto; padding:0 20px}
.actions-panel{display:flex; gap:12px; align-items:center; margin-bottom:18px}
.btn{padding:8px 12px; border-radius:8px; border:1px solid rgba(15,23,42,0.06); background:white; cursor:pointer; text-decoration:none; color:inherit}
.btn-primary{background:var(--accent); color:white; border:none; background:var(--brand);border-color:var(--brand)}
.btn-ghost{background:transparent}

.grid{display:grid; grid-template-columns:repeat(auto-fit, minmax(260px,1fr)); gap:16px}
.card{background:var(--card); padding:16px; border-radius:12px; box-shadow:0 4px 20px rgba(2,6,23,0.04)}
.card h3{margin:0 0 8px 0}
.list{list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:8px}
.muted{color:var(--muted); color:#6b7280}
.small{font-size:13px}

/* Auth styles */
.bg-auth{background:linear-gradient(180deg,#f8fafc,#eef2ff)}
.center-wrap{max-width:1100px; margin:48px auto; display:grid; grid-template-columns:1fr 380px; gap:28px; align-items:center}
.auth-card{background:var(--card); padding:22px; border-radius:12px; box-shadow:0 8px 32px rgba(2,6,23,0.06)}
.auth-card .brand-logo{box-shadow:0 8px 24px rgba(13,110,253,0.12)}
.brand{display:flex; gap:12px; align-items:center; margin-bottom:12px}
.brand .logo{width:56px; height:56px; font-weight:800; border-radius:10px}
.brand h1{margin:0; font-size:20px}
.brand-logo{width:64px;height:64px;background:var(--brand);display:flex;align-items:center;justify-content:center;border-radius:12px;font-weight:800;font-size:22px}
.brand-logo-sm{width:36px;height:36px;background:var(--brand);display:inline-flex;align-items:center;justify-content:center;border-radius:8px;color:white;font-weight:700}
.field{display:block; margin-bottom:12px}
.label-text{display:block; margin-bottom:6px; font-size:13px}
.input{width:100%; padding:10px 12px; border-radius:8px; border:1px solid rgba(15,23,42,0.06)}
.actions{display:flex; justify-content:flex-start}
.alert{padding:10px;border-radius:8px;margin-bottom:12px}
.alert-error{background:#fff1f0;color:#7f1d1d;border:1px solid #ffe4e6}
.footer-note{margin-top:12px;color:var(--muted);font-size:13px}
.brand-panel{padding:20px}
.brand-panel h2{margin-top:0}

.bg-primary{background:linear-gradient(180deg,var(--brand),var(--brand-dark)) !important}

/* small helpers */
.shadow-sm{box-shadow:0 4px 18px rgba(2,6,23,0.06)}

/* ensure template uses full height */

/* Prospects card colored */
.card-prospects{background:linear-gradient(135deg,#0d6efd,#0b5ed7);color:white}
.card-prospects .card-title{color:white}
.card-prospects .list-group-item{background:rgba(255,255,255,0.15);color:white;border-color:rgba(255,255,255,0.2)}
.card-prospects .list-group-item .text-muted{color:rgba(255,255,255,0.7) !important}

/* Premium Navbar — fixed on scroll (beats Bootstrap .navbar { position: relative }) */
nav.navbar.premium-navbar,
.navbar.premium-navbar{
  position:fixed;
  top:0;
  left:0;
  right:0;
  width:100%;
  max-width:100%;
  overflow:visible;
  background:linear-gradient(115deg, #0b1120 0%, #151b33 28%, #1e1b4b 52%, #1e3a8a 100%);
  border-bottom:1px solid rgba(255,255,255,0.07);
  box-shadow:
    0 4px 30px rgba(2,6,23,0.35),
    0 1px 0 rgba(255,255,255,0.05) inset;
  padding:0.7rem 0;
  z-index:1040;
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
  transition:box-shadow 0.25s ease, backdrop-filter 0.25s ease;
}
.app-nav-spacer{
  height:var(--app-nav-height);
  flex-shrink:0;
  pointer-events:none;
}
.premium-navbar.is-scrolled{
  box-shadow:
    0 10px 40px rgba(2,6,23,0.5),
    0 1px 0 rgba(255,255,255,0.06) inset;
  backdrop-filter:blur(22px);
  -webkit-backdrop-filter:blur(22px);
}
.premium-navbar::before{
  content:'';
  position:absolute;
  inset:0;
  background:
    radial-gradient(ellipse 80% 120% at 0% -20%, rgba(99,102,241,0.22), transparent 55%),
    radial-gradient(ellipse 60% 100% at 100% 0%, rgba(56,189,248,0.14), transparent 50%);
  pointer-events:none;
}
.premium-navbar::after{
  content:'';
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:1px;
  background:linear-gradient(90deg, transparent 5%, rgba(129,140,248,0.55) 35%, rgba(56,189,248,0.65) 50%, rgba(129,140,248,0.55) 65%, transparent 95%);
  pointer-events:none;
}
.premium-navbar .navbar-brand,
.premium-navbar .navbar-toggler{
  position:relative;
  z-index:1;
}

.app-nav-brand{
  color:white;
  text-decoration:none;
  transition:opacity 0.2s;
}
.app-nav-brand:hover{
  color:white;
  opacity:0.92;
}
.app-nav-brand-text{
  display:flex;
  flex-direction:column;
  line-height:1.15;
}
.app-nav-trial-badge{
  display:inline-flex;
  flex-direction:column;
  justify-content:center;
  gap:0.05rem;
  margin-left:0.35rem;
  margin-right:0.5rem;
  padding:0.28rem 0.7rem 0.32rem;
  border-radius:999px;
  text-decoration:none;
  background:linear-gradient(135deg, rgba(251, 191, 36, 0.22), rgba(245, 158, 11, 0.18));
  border:1px solid rgba(253, 230, 138, 0.45);
  color:#fde68a;
  line-height:1.15;
  flex-shrink:0;
  max-width:220px;
}
.app-nav-trial-badge:hover,
.app-nav-trial-badge:focus{
  color:#fef3c7;
  border-color:rgba(253, 230, 138, 0.75);
}
.app-nav-trial-badge.is-urgent{
  background:linear-gradient(135deg, rgba(248, 113, 113, 0.28), rgba(239, 68, 66, 0.2));
  border-color:rgba(252, 165, 165, 0.5);
  color:#fecaca;
}
.app-nav-trial-label{
  font-size:0.62rem;
  font-weight:800;
  letter-spacing:0.08em;
  text-transform:uppercase;
}
.app-nav-trial-detail{
  font-size:0.72rem;
  font-weight:600;
  white-space:nowrap;
}
.app-nav-trial-short{
  display:none;
  font-size:0.72rem;
  font-weight:700;
  white-space:nowrap;
}
.premium-navbar .brand-text{
  font-size:1.08rem;
  font-weight:700;
  letter-spacing:-0.02em;
  white-space:nowrap;
  color:#fff;
}
.brand-tagline{
  display:none;
}
.premium-navbar .brand-logo-sm{
  width:42px;
  height:42px;
  border-radius:12px;
  background:linear-gradient(145deg, #6366f1 0%, #2563eb 55%, #0ea5e9 100%);
  border:1px solid rgba(255,255,255,0.22);
  box-shadow:0 6px 20px rgba(37,99,235,0.45), inset 0 1px 0 rgba(255,255,255,0.25);
  font-size:1.05rem;
  flex-shrink:0;
}
.premium-navbar .brand-logo-sm i{
  color:white;
  filter:drop-shadow(0 1px 2px rgba(0,0,0,0.2));
}

.premium-nav-toggler{
  color:rgba(255,255,255,0.92);
  width:42px;
  height:42px;
  border-radius:11px;
  background:rgba(255,255,255,0.08);
  border:1px solid rgba(255,255,255,0.12) !important;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:background 0.2s, border-color 0.2s;
}
.premium-nav-toggler:hover,
.premium-nav-toggler:focus{
  background:rgba(255,255,255,0.14);
  color:#fff;
}
.premium-nav-toggler i{
  font-size:1.45rem;
}

.app-nav-shell{
  align-items:center;
  flex-wrap:nowrap;
  gap:0.75rem;
  width:100%;
  max-width:100%;
  min-width:0;
}
.app-nav-collapse{
  align-items:center;
  flex:1 1 auto;
  min-width:0;
}
.app-nav-track{
  background:rgba(255,255,255,0.06);
  border:1px solid rgba(255,255,255,0.1);
  border-radius:16px;
  padding:0.3rem 0.4rem;
  backdrop-filter:blur(12px);
  box-shadow:inset 0 1px 0 rgba(255,255,255,0.06);
  min-width:0;
}
.app-nav-main{
  flex-direction:row;
  flex-wrap:nowrap;
  align-items:center;
  gap:0.35rem;
}
.nav-pills-custom{
  gap:0.5rem;
}
.nav-pills-custom .nav-link{
  color:rgba(255,255,255,0.82);
  font-weight:500;
  font-size:0.9rem;
  padding:0.5rem 0.95rem;
  border-radius:11px;
  transition:background 0.22s, color 0.22s, box-shadow 0.22s, transform 0.15s;
  white-space:nowrap;
  display:flex;
  align-items:center;
  gap:0.35rem;
  border:1px solid transparent;
}
.nav-pills-custom .nav-link .nav-icon{
  font-size:0.95rem;
  opacity:0.95;
  flex-shrink:0;
}
.nav-pills-custom .nav-link:hover,
.nav-pills-custom .nav-link:focus{
  background:rgba(255,255,255,0.1);
  color:#fff;
  border-color:rgba(255,255,255,0.08);
}
.nav-pills-custom .nav-link.active,
.nav-pills-custom .show > .nav-link.active{
  background:linear-gradient(135deg, rgba(99,102,241,0.95) 0%, rgba(37,99,235,0.95) 100%);
  color:#fff;
  border-color:rgba(255,255,255,0.18);
  box-shadow:0 4px 16px rgba(59,130,246,0.35), inset 0 1px 0 rgba(255,255,255,0.2);
}
.nav-pills-custom .dropdown-toggle::after{
  margin-left:0.2rem;
  vertical-align:middle;
  opacity:0.75;
}

.app-nav-dropdown-menu{
  background:rgba(15,23,42,0.96);
  border:1px solid rgba(255,255,255,0.12);
  border-radius:14px;
  padding:0.45rem;
  min-width:13rem;
  max-width:min(22rem, calc(100vw - 1.5rem));
  margin-top:0.55rem !important;
  box-shadow:0 16px 40px rgba(2,6,23,0.45), 0 0 0 1px rgba(255,255,255,0.04);
  backdrop-filter:blur(20px);
  z-index:1050;
}
.app-nav-dropdown-menu .dropdown-header{
  font-size:0.68rem;
  font-weight:600;
  letter-spacing:0.1em;
  text-transform:uppercase;
  color:rgba(148,163,184,0.9);
  padding:0.35rem 0.75rem 0.5rem;
}
.app-nav-dropdown-menu .dropdown-item{
  color:rgba(255,255,255,0.88);
  border-radius:9px;
  padding:0.55rem 0.8rem;
  font-size:0.88rem;
  font-weight:500;
  transition:background 0.18s, transform 0.15s;
}
.app-nav-dropdown-menu .dropdown-item:hover,
.app-nav-dropdown-menu .dropdown-item:focus{
  background:rgba(255,255,255,0.1);
  color:#fff;
}
.app-nav-dropdown-menu .dropdown-item.active{
  background:linear-gradient(135deg, rgba(99,102,241,0.35), rgba(37,99,235,0.35));
  color:#fff;
}

.app-nav-user{
  margin-left:auto;
  padding-top:0;
  flex-shrink:0;
}

.app-nav-public,
.app-nav-guest{
  margin-left:auto;
  padding-top:0;
  flex-shrink:0;
}

.app-nav-public-link{
  display:inline-flex;
  align-items:center;
  color:rgba(248,244,232,0.88);
  text-decoration:none;
  font-size:0.82rem;
  font-weight:650;
  letter-spacing:0.04em;
  padding:0.35rem 0.15rem;
  white-space:nowrap;
}
.app-nav-public-link:hover,
.app-nav-public-link:focus,
.app-nav-public-link.is-active{
  color:#f3e6c0;
  text-decoration:none;
}

/* Guest social icons — public navbar only (not logged in) */
nav.navbar.premium-navbar .app-nav-guest-social{
  display:inline-flex;
  align-items:center;
  gap:0.35rem;
  padding:0;
  margin:0;
}

nav.navbar.premium-navbar .app-nav-social-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0.38rem;
  border-radius:999px;
  text-decoration:none !important;
  background:linear-gradient(135deg, rgba(201,169,98,0.14) 0%, rgba(201,169,98,0.06) 100%);
  border:1px solid rgba(201,169,98,0.38);
  box-shadow:0 2px 12px rgba(0,0,0,0.18), inset 0 1px 0 rgba(255,255,255,0.06);
  transition:background 0.22s, border-color 0.22s, box-shadow 0.22s, transform 0.18s;
}

nav.navbar.premium-navbar .app-nav-social-sparkle{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:34px;
  height:34px;
  border-radius:9px;
  flex-shrink:0;
  border:1px solid rgba(255,255,255,0.18);
  box-shadow:
    0 2px 10px rgba(0,0,0,0.28),
    inset 0 1px 0 rgba(255,255,255,0.22);
  font-size:0.95rem;
  overflow:hidden;
  transition:box-shadow 0.22s, transform 0.18s, border-color 0.22s;
}

nav.navbar.premium-navbar .app-nav-social-sparkle::after{
  content:'';
  position:absolute;
  inset:0;
  border-radius:inherit;
  background:linear-gradient(145deg, rgba(255,255,255,0.22) 0%, transparent 52%);
  pointer-events:none;
}

nav.navbar.premium-navbar .app-nav-social-sparkle i,
nav.navbar.premium-navbar .app-nav-social-sparkle i::before{
  position:relative;
  z-index:1;
  line-height:1;
  font-size:0.95rem;
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
  text-shadow:0 1px 2px rgba(0,0,0,0.35);
}

nav.navbar.premium-navbar .app-nav-social-link--facebook .app-nav-social-sparkle{
  background:linear-gradient(145deg, #3b8bff 0%, #1877f2 55%, #0d5fcc 100%);
  box-shadow:
    0 2px 10px rgba(0,0,0,0.28),
    0 0 12px rgba(24,119,242,0.35),
    inset 0 1px 0 rgba(255,255,255,0.22);
}

nav.navbar.premium-navbar .app-nav-social-link--instagram .app-nav-social-sparkle{
  background:linear-gradient(145deg, #f77737 0%, #e1306c 48%, #c13584 100%);
  box-shadow:
    0 2px 10px rgba(0,0,0,0.28),
    0 0 12px rgba(225,48,108,0.32),
    inset 0 1px 0 rgba(255,255,255,0.22);
}

nav.navbar.premium-navbar .app-nav-social-link--linkedin .app-nav-social-sparkle{
  background:linear-gradient(145deg, #378fe9 0%, #0a66c2 55%, #004182 100%);
  box-shadow:
    0 2px 10px rgba(0,0,0,0.28),
    0 0 12px rgba(10,102,194,0.32),
    inset 0 1px 0 rgba(255,255,255,0.22);
}

nav.navbar.premium-navbar .app-nav-social-link:hover,
nav.navbar.premium-navbar .app-nav-social-link:focus{
  text-decoration:none !important;
  background:linear-gradient(135deg, rgba(201,169,98,0.22) 0%, rgba(201,169,98,0.1) 100%);
  border-color:rgba(201,169,98,0.55);
  box-shadow:0 4px 18px rgba(201,169,98,0.18), inset 0 1px 0 rgba(255,255,255,0.08);
  transform:translateY(-1px);
}

nav.navbar.premium-navbar .app-nav-social-link:hover .app-nav-social-sparkle,
nav.navbar.premium-navbar .app-nav-social-link:focus .app-nav-social-sparkle{
  border-color:rgba(255,255,255,0.35);
  transform:scale(1.04);
}

nav.navbar.premium-navbar .app-nav-social-link--facebook:hover .app-nav-social-sparkle,
nav.navbar.premium-navbar .app-nav-social-link--facebook:focus .app-nav-social-sparkle{
  box-shadow:
    0 4px 16px rgba(0,0,0,0.32),
    0 0 20px rgba(24,119,242,0.55),
    inset 0 1px 0 rgba(255,255,255,0.3);
}

nav.navbar.premium-navbar .app-nav-social-link--instagram:hover .app-nav-social-sparkle,
nav.navbar.premium-navbar .app-nav-social-link--instagram:focus .app-nav-social-sparkle{
  box-shadow:
    0 4px 16px rgba(0,0,0,0.32),
    0 0 20px rgba(225,48,108,0.5),
    inset 0 1px 0 rgba(255,255,255,0.3);
}

nav.navbar.premium-navbar .app-nav-social-link--linkedin:hover .app-nav-social-sparkle,
nav.navbar.premium-navbar .app-nav-social-link--linkedin:focus .app-nav-social-sparkle{
  box-shadow:
    0 4px 16px rgba(0,0,0,0.32),
    0 0 20px rgba(10,102,194,0.5),
    inset 0 1px 0 rgba(255,255,255,0.3);
}

/* Guest navbar — visible only when not logged in */
nav.navbar.premium-navbar .app-nav-guest a.app-nav-guest-signin,
nav.navbar.premium-navbar .app-nav-guest a.app-nav-guest-signin:link,
nav.navbar.premium-navbar .app-nav-guest a.app-nav-guest-signin:visited{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:0.5rem;
  box-sizing:border-box;
  padding:0.55rem 1.1rem;
  font-size:0.76rem;
  font-weight:700;
  letter-spacing:0.025em;
  line-height:1.3;
  text-align:center;
  text-decoration:none !important;
  white-space:nowrap;
  border-radius:999px;
  border:1px solid rgba(232,200,114,0.55);
  background:linear-gradient(135deg, #e8cc88 0%, #c9a962 42%, #a8863e 100%);
  color:#0a0a12 !important;
  box-shadow:
    0 4px 18px rgba(201,169,98,0.35),
    inset 0 1px 0 rgba(255,248,231,0.45);
  cursor:pointer;
  transition:transform 0.18s ease, box-shadow 0.22s ease, border-color 0.22s ease, filter 0.22s ease;
}

nav.navbar.premium-navbar .app-nav-guest a.app-nav-guest-signin:hover,
nav.navbar.premium-navbar .app-nav-guest a.app-nav-guest-signin:focus{
  text-decoration:none !important;
  color:#0a0a12 !important;
  border-color:rgba(245,230,196,0.75);
  background:linear-gradient(135deg, #f0d898 0%, #d4b872 42%, #b8944a 100%);
  box-shadow:
    0 6px 24px rgba(201,169,98,0.45),
    inset 0 1px 0 rgba(255,255,255,0.5);
  transform:translateY(-1px);
}

nav.navbar.premium-navbar .app-nav-guest-signin-icon,
nav.navbar.premium-navbar .app-nav-guest-signin-icon i,
nav.navbar.premium-navbar .app-nav-guest-signin-text{
  color:#0a0a12 !important;
  -webkit-text-fill-color:#0a0a12 !important;
  text-decoration:none !important;
}

nav.navbar.premium-navbar .app-nav-guest-signin-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:1.35rem;
  height:1.35rem;
  flex-shrink:0;
  border-radius:50%;
  background:rgba(10,10,18,0.12);
}

nav.navbar.premium-navbar .app-nav-guest-signin-text{
  font-size:inherit;
  font-weight:inherit;
  letter-spacing:inherit;
}

.app-nav-why-kashdi{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0.38rem;
  border-radius:999px;
  text-decoration:none;
  background:linear-gradient(135deg, rgba(201,169,98,0.14) 0%, rgba(201,169,98,0.06) 100%);
  border:1px solid rgba(201,169,98,0.38);
  box-shadow:0 2px 12px rgba(0,0,0,0.18), inset 0 1px 0 rgba(255,255,255,0.06);
  transition:background 0.22s, border-color 0.22s, box-shadow 0.22s, transform 0.18s;
  white-space:nowrap;
}

.app-nav-why-kashdi-icon{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:34px;
  height:34px;
  border-radius:9px;
  flex-shrink:0;
  background:linear-gradient(145deg, rgba(201,169,98,0.28) 0%, rgba(168,134,62,0.12) 100%);
  border:1px solid rgba(232,200,114,0.45);
  box-shadow:
    0 0 14px rgba(201,169,98,0.35),
    inset 0 1px 0 rgba(255,248,231,0.22);
  font-size:0.9rem;
  overflow:visible;
}

.app-nav-why-kashdi-icon::after{
  content:'';
  position:absolute;
  inset:-2px;
  border-radius:11px;
  background:radial-gradient(circle at 50% 40%, rgba(255,236,179,0.35) 0%, transparent 68%);
  pointer-events:none;
  animation:navGoldSparkle 2.8s ease-in-out infinite;
}

.app-nav-why-kashdi-icon i,
.app-nav-why-kashdi-icon i::before{
  position:relative;
  z-index:1;
  color:#f5e6c4 !important;
  -webkit-text-fill-color:#f5e6c4 !important;
  text-shadow:
    0 0 6px rgba(201,169,98,0.95),
    0 0 14px rgba(232,200,114,0.55),
    0 1px 0 rgba(255,248,231,0.85);
  animation:navGoldIconShimmer 2.8s ease-in-out infinite;
}

.app-nav-why-kashdi:hover .app-nav-why-kashdi-icon i,
.app-nav-why-kashdi:hover .app-nav-why-kashdi-icon i::before,
.app-nav-why-kashdi:focus .app-nav-why-kashdi-icon i,
.app-nav-why-kashdi:focus .app-nav-why-kashdi-icon i::before{
  color:#fff8e7 !important;
  -webkit-text-fill-color:#fff8e7 !important;
  text-shadow:
    0 0 8px rgba(245,230,196,1),
    0 0 18px rgba(201,169,98,0.85),
    0 1px 0 rgba(255,255,255,0.9);
}

.app-nav-why-kashdi.is-active .app-nav-why-kashdi-icon{
  background:linear-gradient(145deg, rgba(201,169,98,0.38) 0%, rgba(168,134,62,0.2) 100%);
  border-color:rgba(245,230,196,0.72);
  box-shadow:
    0 0 22px rgba(201,169,98,0.55),
    inset 0 1px 0 rgba(255,248,231,0.28);
}

.app-nav-why-kashdi:hover .app-nav-why-kashdi-icon,
.app-nav-why-kashdi:focus .app-nav-why-kashdi-icon{
  border-color:rgba(245,230,196,0.65);
  box-shadow:
    0 0 20px rgba(201,169,98,0.5),
    inset 0 1px 0 rgba(255,248,231,0.3);
}

@keyframes navGoldSparkle{
  0%, 100%{ opacity:0.45; transform:scale(1); }
  50%{ opacity:0.95; transform:scale(1.06); }
}

@keyframes navGoldIconShimmer{
  0%, 100%{
    text-shadow:
      0 0 5px rgba(201,169,98,0.75),
      0 0 10px rgba(232,200,114,0.4),
      0 1px 0 rgba(255,248,231,0.75);
  }
  50%{
    text-shadow:
      0 0 10px rgba(245,230,196,1),
      0 0 20px rgba(201,169,98,0.85),
      0 1px 0 rgba(255,255,255,0.95);
  }
}

.app-nav-why-kashdi:hover,
.app-nav-why-kashdi:focus{
  text-decoration:none;
  background:linear-gradient(135deg, rgba(201,169,98,0.22) 0%, rgba(201,169,98,0.1) 100%);
  border-color:rgba(201,169,98,0.55);
  box-shadow:0 4px 18px rgba(201,169,98,0.18), inset 0 1px 0 rgba(255,255,255,0.08);
  transform:translateY(-1px);
}

.app-nav-why-kashdi.is-active{
  background:linear-gradient(135deg, rgba(201,169,98,0.24) 0%, rgba(201,169,98,0.12) 100%);
  border-color:rgba(201,169,98,0.62);
  box-shadow:0 0 0 1px rgba(201,169,98,0.2), 0 4px 20px rgba(201,169,98,0.2);
}

nav.navbar.premium-navbar .app-nav-guest a.app-nav-why-kashdi,
nav.navbar.premium-navbar .app-nav-guest a.app-nav-why-kashdi:link,
nav.navbar.premium-navbar .app-nav-guest a.app-nav-why-kashdi:visited{
  text-decoration:none !important;
  color:inherit;
}

/* Founders Studio sparkle badge */
.app-nav-founder-studio{
  display:inline-flex;
  align-items:center;
  gap:0.45rem;
  padding:0.2rem 0.7rem 0.2rem 0.25rem;
  border-radius:999px;
  text-decoration:none;
  background:linear-gradient(135deg, rgba(251,191,36,0.14), rgba(168,85,247,0.12));
  border:1px solid rgba(251,191,36,0.28);
  box-shadow:0 0 18px rgba(251,191,36,0.12);
  transition:background 0.22s, border-color 0.22s, box-shadow 0.22s, transform 0.18s;
  flex-shrink:0;
}
.app-nav-founder-studio:hover{
  background:linear-gradient(135deg, rgba(251,191,36,0.22), rgba(168,85,247,0.18));
  border-color:rgba(251,191,36,0.45);
  box-shadow:0 0 24px rgba(251,191,36,0.22), 0 4px 14px rgba(15,23,42,0.2);
  transform:translateY(-1px);
}
.app-nav-founder-studio.is-active{
  background:linear-gradient(135deg, rgba(251,191,36,0.26), rgba(168,85,247,0.2));
  border-color:rgba(251,191,36,0.5);
  box-shadow:0 0 28px rgba(251,191,36,0.28);
}
.app-nav-founder-sparkle{
  position:relative;
  width:34px;
  height:34px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
}
.app-nav-founder-icon{
  display:block;
  width:34px;
  height:34px;
  animation:founderIconFloat 3s ease-in-out infinite;
}
.app-nav-founder-glint{
  position:absolute;
  inset:-2px;
  border-radius:50%;
  background:conic-gradient(from 0deg, transparent 0deg, rgba(255,255,255,0.55) 40deg, transparent 80deg);
  opacity:0;
  animation:founderGlintSpin 4s linear infinite;
  pointer-events:none;
  mix-blend-mode:screen;
}
.app-nav-founder-label{
  font-size:0.78rem;
  font-weight:700;
  letter-spacing:0.02em;
  color:#fde68a;
  white-space:nowrap;
  text-shadow:0 0 12px rgba(251,191,36,0.35);
}
.app-nav-founder-studio:hover .app-nav-founder-label{
  color:#fef3c7;
}
.app-nav-studio-dropdown .dropdown-toggle::after{
  margin-left:0.15rem;
  vertical-align:0.15em;
  border-top-color:rgba(253,230,138,0.85);
}
.app-nav-studio-menu{
  min-width:220px;
  margin-top:0.45rem !important;
}
@keyframes founderIconFloat{
  0%, 100%{ transform:translateY(0) scale(1); }
  50%{ transform:translateY(-2px) scale(1.04); }
}
@keyframes founderGlintSpin{
  0%{ transform:rotate(0deg); opacity:0; }
  15%{ opacity:0.7; }
  35%{ opacity:0; }
  100%{ transform:rotate(360deg); opacity:0; }
}

.app-nav-user-chip{
  background:rgba(255,255,255,0.07);
  border:1px solid rgba(255,255,255,0.12);
  border-radius:999px;
  padding:0.3rem 0.85rem 0.3rem 0.35rem;
  backdrop-filter:blur(8px);
}
.app-nav-user-toggle{
  color:rgba(255,255,255,0.9);
}
.app-nav-user-toggle:hover,
.app-nav-user-toggle:focus{
  color:#fff;
}
.app-nav-avatar{
  width:28px;
  height:28px;
  border-radius:50%;
  background:linear-gradient(135deg, #fbbf24, #f59e0b);
  color:#1e1b4b;
  font-size:0.72rem;
  font-weight:700;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 2px 8px rgba(251,191,36,0.35);
}
.app-nav-username{
  font-size:0.85rem;
  font-weight:500;
  color:rgba(255,255,255,0.9);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  max-width:14rem;
  display:inline-block;
  vertical-align:middle;
}
.premium-navbar .btn-logout{
  background:rgba(255,255,255,0.08);
  border:1px solid rgba(255,255,255,0.14);
  color:rgba(255,255,255,0.92);
  white-space:nowrap;
  border-radius:10px;
  padding:0.4rem 0.85rem;
  font-weight:500;
  font-size:0.85rem;
  backdrop-filter:blur(8px);
  transition:background 0.2s, border-color 0.2s, box-shadow 0.2s;
  display:inline-flex;
  align-items:center;
  gap:0.35rem;
}
.premium-navbar .btn-logout:hover{
  background:rgba(255,255,255,0.14);
  border-color:rgba(255,255,255,0.22);
  color:#fff;
  box-shadow:0 4px 14px rgba(15,23,42,0.25);
}

.app-nav-tools{
  margin-left:auto;
  flex-shrink:0;
}

.app-nav-org-name{
  display:none;
}

.app-nav-guest-signin-text--short{
  display:none;
}

/* Desktop: one horizontal row. Never let the menu stack inside the header. */
@media (min-width: 1200px) {
  .premium-navbar .navbar-toggler{
    display:none !important;
  }
  .premium-navbar .navbar-collapse,
  .premium-navbar .navbar-collapse.collapse,
  .premium-navbar .navbar-collapse.collapsing,
  .premium-navbar .navbar-collapse.show,
  .premium-navbar .app-nav-collapse{
    display:flex !important;
    flex:1 1 auto;
    flex-direction:row !important;
    flex-wrap:nowrap;
    align-items:center;
    justify-content:center;
    gap:0.5rem;
    min-width:0;
    height:auto !important;
    max-height:none;
    position:static !important;
    inset:auto;
    padding:0;
    margin:0;
    overflow:visible;
    background:transparent;
    border:0;
    box-shadow:none;
  }
  .app-nav-track{
    flex:0 1 auto;
    min-width:0;
    display:flex;
    justify-content:center;
  }
  .app-nav-main,
  .premium-navbar .navbar-nav.app-nav-main{
    flex-direction:row !important;
    flex-wrap:nowrap;
    align-items:center;
    justify-content:center;
    width:auto;
    max-width:100%;
  }
  .nav-pills-custom .nav-link{
    width:auto;
  }
  .app-nav-founder-label{
    display:inline;
  }
}

@media (min-width: 1200px) and (max-width: 1479.98px) {
  .nav-pills-custom .nav-link{
    padding:0.4rem 0.55rem;
    font-size:0.8rem;
  }
  .app-nav-main{
    gap:0.12rem;
  }
  .nav-item:not(.dropdown) .app-nav-link-text{
    display:none;
  }
  .app-nav-founder-label,
  .app-nav-logout-text{
    display:none;
  }
  .app-nav-trial-detail{
    display:none;
  }
  .app-nav-trial-short{
    display:inline;
  }
  .app-nav-username{
    max-width:7rem;
  }
  .app-nav-user-toggle.dropdown-toggle::after,
  .app-nav-studio-dropdown .dropdown-toggle::after{
    display:none;
  }
}

@media (min-width: 1480px) {
  .app-nav-username{
    max-width:10rem;
  }
}

/* Phone and tablet only: overlay panel, header stays one row */
@media (max-width: 1199.98px) {
  .premium-navbar .navbar-toggler{
    display:flex !important;
  }
  .premium-navbar .navbar-collapse,
  .premium-navbar .navbar-collapse.collapse{
    position:fixed !important;
    top:var(--app-nav-height, 72px);
    left:0.75rem;
    right:0.75rem;
    width:auto;
    height:auto !important;
    max-height:calc(100dvh - var(--app-nav-height, 72px) - 1rem);
    display:none !important;
    background:linear-gradient(165deg, rgba(15,23,42,0.98) 0%, rgba(30,27,75,0.98) 100%);
    border:1px solid rgba(255,255,255,0.12);
    border-radius:16px;
    margin:0.45rem 0 0;
    padding:0.85rem;
    box-shadow:0 20px 48px rgba(2,6,23,0.5);
    overflow-x:hidden;
    overflow-y:auto;
    backdrop-filter:blur(20px);
    z-index:1055;
  }
  .premium-navbar .navbar-collapse.show,
  .premium-navbar .navbar-collapse.collapsing{
    display:block !important;
  }
  .premium-navbar .navbar-collapse.collapsing{
    height:auto !important;
  }
  .app-nav-track{
    width:100%;
    margin:0 !important;
  }
  .app-nav-main,
  .premium-navbar .navbar-nav.app-nav-main{
    width:100%;
    flex-direction:column !important;
    align-items:stretch !important;
    gap:0.2rem;
    margin:0 !important;
  }
  .nav-pills-custom .nav-link{
    width:100%;
    padding:0.75rem 0.9rem;
    justify-content:flex-start;
  }
  .navbar-collapse .app-nav-dropdown-menu{
    position:static !important;
    transform:none !important;
    float:none;
    width:100%;
    max-width:none;
    margin:0.25rem 0 0.5rem 0 !important;
    box-shadow:none;
    border:none;
    background:rgba(255,255,255,0.06);
  }
  .app-nav-founder-label,
  .app-nav-logout-text,
  .app-nav-username{
    display:none;
  }
  .app-nav-user-toggle.dropdown-toggle::after,
  .app-nav-studio-dropdown .dropdown-toggle::after{
    display:none;
  }
  .app-nav-user-chip{
    padding:0.15rem 0.2rem;
  }
  .app-nav-founder-studio{
    padding:0.15rem;
  }
  .app-nav-guest-signin-text--full{
    display:none;
  }
  .app-nav-guest-signin-text--short{
    display:inline;
  }
  nav.navbar.premium-navbar .app-nav-guest a.app-nav-guest-signin{
    white-space:nowrap;
    max-width:none;
    padding:0.5rem 0.85rem;
    font-size:0.76rem;
  }
}

@media (max-width: 575.98px) {
  nav.navbar.premium-navbar .app-nav-guest a.app-nav-guest-signin{
    font-size:0.74rem;
    padding:0.55rem 0.75rem;
  }
  .app-nav-guest-social{
    display:none;
  }
}

@media (max-width: 1199.98px) {
  .app-nav-trial-detail{
    display:none;
  }
  .app-nav-trial-short{
    display:inline;
  }
  .app-nav-trial-badge{
    max-width:none;
    padding:0.28rem 0.55rem;
  }
}

/* Page shell — full width edge to edge */
.app-page,
.container-fluid.app-page {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding-left: 1rem;
  padding-right: 1rem;
}
@media (min-width: 768px) {
  .app-page,
  .container-fluid.app-page {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}
@media (min-width: 1400px) {
  .app-page,
  .container-fluid.app-page {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* Colored icons */
.icon-cyan{color:#22d3ee !important}
.icon-orange{color:#fb923c !important}
.icon-green{color:#4ade80 !important}
.icon-yellow{color:#facc15 !important}
.icon-pink{color:#f472b6 !important}
.icon-purple{color:#a78bfa !important}
.icon-teal{color:#2dd4bf !important}
.icon-red{color:#f87171 !important}

/* make list-group items wrap nicely */
.list-group-item small{display:block}

/* Enhance multi-select dropdown for tags/groups */
#campaignTagsSelect {
  min-height: 120px;
  max-height: 200px;
  overflow-y: auto;
  border-radius: 8px;
  background: #f8fafc;
  font-size: 1rem;
  padding: 0.5rem;
}
#campaignTagsSelect option {
  padding: 0.5em 1em;
  border-radius: 6px;
  margin-bottom: 2px;
}
#campaignTagsSelect:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 0.2rem rgba(59,130,246,.25);
}

@media(max-width:900px){.center-wrap{grid-template-columns:1fr; padding:20px} .brand-panel{order:2}}

/* Mobile layout */
@media (max-width: 991.98px) {
  .container-fluid.px-4,
  .container-fluid.px-3 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  h2 {
    font-size: 1.35rem;
  }
  .card-header {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .table-responsive {
    font-size: 0.92rem;
  }
  .page-header-row .app-title-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .page-header-row .app-title-actions {
    width: 100%;
  }
  .page-header-row .app-title-actions .btn,
  .page-header-row .app-title-actions form {
    width: 100%;
  }
  .page-header-row .app-title-actions .btn {
    width: 100%;
  }
  .page-header-row .btn,
  .page-header-row form{
    width:100%;
  }
  .page-header-row .btn{
    width:100%;
  }
  .modal-dialog {
    margin: 0.75rem;
  }
}

@media (max-width: 575.98px) {
  .premium-navbar .brand-text {
    font-size: 1rem;
  }
  .split-login-left {
    padding: 28px 20px !important;
  }
  .split-login-title {
    font-size: 1.6rem;
  }
  .card-body .row > [class*="col-"] {
    margin-bottom: 0.25rem;
  }
}

/* Home / Login page — full width edge to edge, no page scroll */
html.login-page,
html.login-page body {
  width: 100%;
  max-width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
}

html.login-page body {
  display: flex;
  flex-direction: column;
  height: 100vh;
  height: 100dvh;
}

.split-login-container {
  width: 100%;
  max-width: 100%;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  overflow: hidden;
}

.app-page-footer,
.split-login-page-footer {
  flex: 0 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.65rem clamp(1.25rem, 3vw, 3rem);
  background: #fff;
  border-top: 1px solid #e9ecef;
  color: #6c757d;
  font-size: 0.875rem;
  z-index: 3;
}

/* Global site footer — see site-footer.css */
.split-login-left {
  flex: 1 1 50%;
  width: 50%;
  max-width: none;
  min-width: 0;
  min-height: 0;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: clamp(1.5rem, 4vh, 2.5rem) clamp(1.25rem, 3vw, 3rem);
  box-shadow: 0 0 32px 0 rgba(0,0,0,0.04);
  z-index: 2;
  overflow: auto;
}

.split-login-form-wrap {
  width: 100%;
  max-width: 420px;
  margin: 0;
  padding: 0;
}

.split-login-right {
  flex: 1 1 50%;
  width: 50%;
  max-width: none;
  min-width: 0;
  min-height: 0;
  background: #2a2172;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  overflow: hidden;
}

.split-login-art {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  display: block;
  background: #2a2172;
}

@media (max-width: 991.98px) {
  .split-login-container {
    flex-direction: column;
  }
  .split-login-left {
    width: 100%;
    flex: 1 1 auto;
    height: 100%;
    justify-content: center;
    align-items: center;
    padding: 1.5rem 1.25rem;
  }
  .split-login-right {
    display: none;
  }
}

/* ================= HOME PAGE (Claude-style) ================= */

.home-page-body {
  background: #faf9f7;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  width: 100%;
  max-width: 100%;
}

.home-page {
  position: relative;
  flex: 1 0 auto;
  min-height: calc(100vh - var(--app-nav-height, 72px));
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

.home-bg-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
  width: 100%;
}

.home-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
}

.home-orb-1 {
  width: 420px;
  height: 420px;
  background: linear-gradient(135deg, #c4b5fd, #93c5fd);
  top: -120px;
  right: -80px;
}

.home-orb-2 {
  width: 360px;
  height: 360px;
  background: linear-gradient(135deg, #fcd34d, #fb923c);
  bottom: 10%;
  left: -100px;
}

.home-orb-3 {
  width: 280px;
  height: 280px;
  background: linear-gradient(135deg, #6ee7b7, #34d399);
  top: 40%;
  right: 15%;
  opacity: 0.25;
}

.home-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 2rem 1rem 3rem;
}

@media (min-width: 768px) {
  .home-container {
    padding: 2.25rem 1.5rem 3.5rem;
  }
}

@media (min-width: 1400px) {
  .home-container {
    padding: 2.5rem 2rem 3.5rem;
  }
}

.home-header {
  margin-bottom: 2rem;
}

.home-greeting-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  color: #64748b;
  margin-bottom: 1rem;
  backdrop-filter: blur(8px);
}

.home-greeting-badge i {
  color: #0d6efd;
}

.home-title {
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 700;
  color: #1e293b;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}

.home-subtitle {
  color: #64748b;
  font-size: 1.05rem;
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Stats row */
.home-stats-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.home-stat-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem 1.1rem;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
  position: relative;
  overflow: hidden;
}

.home-stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 16px 16px 0 0;
}

.home-stat-leads::before { background: linear-gradient(90deg, #6366f1, #818cf8); }
.home-stat-clients::before { background: linear-gradient(90deg, #0ea5e9, #38bdf8); }
.home-stat-articles::before { background: linear-gradient(90deg, #10b981, #34d399); }
.home-stat-infographics::before { background: linear-gradient(90deg, #f472b6, #ec4899); }
.home-stat-emails::before { background: linear-gradient(90deg, #f59e0b, #fbbf24); }
.home-stat-emails-today::before { background: linear-gradient(90deg, #14b8a6, #2dd4bf); }

.home-stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.1);
  border-color: rgba(15, 23, 42, 0.1);
  color: inherit;
}

.home-stat-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.home-stat-leads .home-stat-icon { background: #eef2ff; color: #6366f1; }
.home-stat-clients .home-stat-icon { background: #e0f2fe; color: #0284c7; }
.home-stat-articles .home-stat-icon { background: #d1fae5; color: #059669; }
.home-stat-infographics .home-stat-icon { background: #fce7f3; color: #db2777; }
.home-stat-emails .home-stat-icon { background: #fef3c7; color: #d97706; }
.home-stat-emails-today .home-stat-icon { background: #ccfbf1; color: #0f766e; }

.home-stat-value {
  font-size: 1.65rem;
  font-weight: 700;
  line-height: 1;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.home-stat-label {
  font-size: 0.78rem;
  font-weight: 500;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.home-stat-trend {
  font-size: 0.72rem;
  color: #94a3b8;
  margin-top: auto;
}

.home-stat-trend i {
  font-size: 0.65rem;
}

/* Chat panel */
.home-chat-panel {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(15, 23, 42, 0.07);
  border-radius: 20px;
  box-shadow: 0 4px 32px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.04);
  overflow: hidden;
  backdrop-filter: blur(16px);
  margin-bottom: 2.5rem;
  width: 100%;
}

.home-chat-messages {
  flex: 0 1 auto;
  min-height: 0;
  max-height: min(45vh, 480px);
  overflow-y: auto;
  padding: 1.25rem clamp(1rem, 2vw, 2rem) 0.75rem;
  scroll-behavior: smooth;
}

.home-chat-welcome,
.home-chat-msg {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

.home-chat-welcome {
  margin-bottom: 0;
}

.home-chat-msg-user {
  flex-direction: row-reverse;
}

.home-chat-avatar {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0d6efd, #6366f1);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.home-chat-avatar-user {
  background: linear-gradient(135deg, #64748b, #475569);
}

.home-chat-bubble {
  max-width: min(85%, 900px);
  padding: 0.85rem 1.1rem;
  border-radius: 16px;
  font-size: 0.95rem;
  line-height: 1.55;
}

.home-chat-bubble-ai {
  background: #f1f5f9;
  color: #1e293b;
  border-bottom-left-radius: 4px;
}

.home-chat-bubble-user {
  background: linear-gradient(135deg, #0d6efd, #4338ca);
  color: white;
  border-bottom-right-radius: 4px;
}

.home-chat-input-wrap {
  flex-shrink: 0;
  padding: 0.75rem clamp(1rem, 2vw, 2rem) 1.1rem;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  background: rgba(248, 250, 252, 0.6);
}

.home-chat-input-box {
  display: flex;
  align-items: flex-end;
  gap: 0.65rem;
  background: #fff;
  border: 1.5px solid rgba(15, 23, 42, 0.1);
  border-radius: 16px;
  padding: 0.85rem 0.85rem 0.85rem 1.15rem;
  min-height: 72px;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}

.home-chat-input-box:focus-within {
  border-color: #0d6efd;
  box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.12);
}

.home-chat-textarea {
  flex: 1;
  border: none;
  outline: none;
  resize: none;
  font-size: 0.95rem;
  line-height: 1.5;
  min-height: 48px;
  max-height: 160px;
  background: transparent;
  color: #1e293b;
  font-family: inherit;
  padding: 0.15rem 0;
}

.home-chat-textarea::placeholder {
  color: #94a3b8;
}

.home-chat-send {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, #0d6efd, #4338ca);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.15s, opacity 0.15s;
  flex-shrink: 0;
}

.home-chat-send:hover:not(:disabled) {
  transform: scale(1.05);
}

.home-chat-send:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.home-chat-hint {
  text-align: center;
  font-size: 0.75rem;
  color: #94a3b8;
  margin: 0.5rem 0 0;
}

.home-chat-prospects {
  max-width: 100%;
  width: min(100%, 720px);
}

.home-prospects-table-wrap {
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  background: #fff;
  max-height: 360px;
  overflow: auto;
}

.home-prospect-avatar {
  width: 36px;
  height: 36px;
  font-size: 14px;
  flex-shrink: 0;
}

.home-chat-rich {
  max-width: min(100%, 720px);
}

.home-article-preview {
  border: 1px solid #e2e8f0 !important;
  border-radius: 0.5rem;
}

.home-infographic-preview {
  max-height: 280px;
  object-fit: cover;
  width: 100%;
  border: 1px solid #e2e8f0;
}

.home-next-steps {
  border-color: #e2e8f0 !important;
}

.home-next-steps .btn {
  font-size: 0.8rem;
}

.home-assistant-text {
  line-height: 1.55;
}

.home-integrations-status {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
}

.home-founder-brand-form .form-label {
  color: #334155;
}

.home-founder-brand-form .form-control {
  border-radius: 0.5rem;
  border-color: #e2e8f0;
}

.home-founder-brand-form .form-control:focus {
  border-color: #6366f1;
  box-shadow: 0 0 0 0.15rem rgba(99, 102, 241, 0.12);
}

.home-founder-actions {
  padding-top: 0.75rem;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.home-founder-action-create {
  font-weight: 600;
  color: #0a0a14 !important;
  background: linear-gradient(135deg, #d4b872 0%, #b8944a 100%) !important;
  border: none !important;
  box-shadow: 0 2px 10px rgba(201, 169, 98, 0.3);
}

.home-founder-action-create:hover {
  color: #0a0a14 !important;
  background: linear-gradient(135deg, #e0c88a 0%, #a8863e 100%) !important;
  box-shadow: 0 4px 14px rgba(201, 169, 98, 0.4);
}

.home-founder-portal-step--primary {
  border-color: rgba(201, 169, 98, 0.45);
  background: rgba(201, 169, 98, 0.08);
  color: #92702a;
}

.home-founder-portal-step--primary span {
  background: rgba(201, 169, 98, 0.25);
  color: #78591f;
}

.home-founder-profile-card {
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  background: #fff;
  padding: 1rem;
}

.home-founder-profile-head {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

.home-founder-profile-photo {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid #e2e8f0;
}

.home-founder-profile-photo-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #6366f1, #818cf8);
  color: #fff;
  font-weight: 700;
  font-size: 1.25rem;
}

.home-founder-profile-name {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
}

.home-founder-profile-summary {
  border-top: 1px solid #f1f5f9;
  padding-top: 0.65rem;
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

@media (max-width: 575px) {
  .home-founder-profile-head {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* Founder persona modal (home chat → Founders Studio) */
.home-founder-modal-dialog {
  max-width: 760px;
}

.home-founder-persona-modal {
  border: 1px solid rgba(201, 169, 98, 0.2);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(8, 8, 22, 0.35);
}

.home-founder-modal-header-premium {
  background: linear-gradient(135deg, #1a1a2e 0%, #2d2a4a 55%, #252a38 100%);
  padding: 1.5rem 1.5rem 1.35rem;
  position: relative;
  overflow: hidden;
}

.home-founder-modal-header-premium::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 100% 0%, rgba(201, 169, 98, 0.14) 0%, transparent 55%);
  pointer-events: none;
}

.home-founder-modal-header-premium .kashdi-modal-eyebrow {
  color: rgba(201, 169, 98, 0.9);
  letter-spacing: 0.14em;
}

.home-founder-modal-header-premium .kashdi-modal-title {
  font-size: 1.45rem;
  letter-spacing: 0.02em;
}

.home-founder-modal-header-main {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.home-founder-modal-avatar-wrap {
  flex-shrink: 0;
}

.home-founder-modal-avatar {
  width: 68px;
  height: 68px;
  border-radius: 16px;
  object-fit: cover;
  border: 2px solid rgba(201, 169, 98, 0.45);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.home-founder-modal-avatar-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(201, 169, 98, 0.25), rgba(99, 102, 241, 0.2));
  color: #f8f6f0;
  font-size: 1.65rem;
  font-weight: 800;
}

.home-founder-modal-body {
  padding: 1.25rem 1.35rem 1.35rem;
  background: #f8f7f4;
  max-height: min(58vh, 480px);
  overflow-y: auto;
}

.home-founder-modal-alert {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.8rem 1rem;
  margin-bottom: 1rem;
  background: rgba(201, 169, 98, 0.1);
  border: 1px solid rgba(201, 169, 98, 0.28);
  border-radius: 12px;
  font-size: 0.84rem;
  color: #78716c;
  line-height: 1.5;
}

.home-founder-modal-alert i {
  flex-shrink: 0;
  margin-top: 0.1rem;
  color: #b8944a;
}

.home-founder-modal-hero {
  padding: 1.15rem 1.2rem;
  margin-bottom: 1rem;
  text-align: center;
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.04) 0%, rgba(201, 169, 98, 0.08) 100%);
  border: 1px solid rgba(201, 169, 98, 0.18);
  border-radius: 14px;
}

.home-founder-modal-one-liner {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  font-style: italic;
  color: #1e293b;
  line-height: 1.55;
  letter-spacing: -0.01em;
}

.home-founder-modal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.home-founder-modal-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #475569;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, box-shadow 0.2s;
}

.home-founder-modal-link:hover {
  color: #6366f1;
  border-color: rgba(99, 102, 241, 0.35);
  box-shadow: 0 2px 10px rgba(99, 102, 241, 0.1);
}

.home-founder-modal-card {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.07);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  margin-bottom: 0.85rem;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
}

.home-founder-modal-card-last {
  margin-bottom: 0;
}

.home-founder-modal-section-title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 0.75rem;
}

.home-founder-modal-section-title i {
  color: #b8944a;
  font-size: 0.9rem;
}

.home-founder-modal-count {
  margin-left: auto;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  background: #fef3c7;
  color: #b45309;
  border-radius: 999px;
  letter-spacing: 0.04em;
}

.home-founder-modal-text {
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.65;
  margin: 0;
}

.home-founder-modal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
}

.home-founder-modal-stat {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.9rem 1rem;
  background: linear-gradient(135deg, #faf9f7 0%, #fff 100%);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 12px;
}

.home-founder-modal-stat-wide {
  grid-column: 1 / -1;
}

.home-founder-modal-stat-icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #eef2ff;
  color: #6366f1;
  font-size: 0.95rem;
}

.home-founder-modal-stat-content {
  min-width: 0;
  flex: 1;
}

.home-founder-modal-stat-label {
  display: block;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 0.3rem;
}

.home-founder-modal-stat-value {
  margin: 0;
  font-size: 0.86rem;
  color: #334155;
  line-height: 1.55;
}

.home-founder-modal-duo {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.home-founder-modal-card-compact {
  margin-bottom: 0;
  height: 100%;
}

.home-founder-modal-chip-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.home-founder-modal-chip {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.4;
  color: #334155;
}

.home-founder-modal-chip-pillar {
  background: #eef2ff;
  border: 1px solid #c7d2fe;
  color: #3730a3;
}

.home-founder-modal-chip-expertise {
  background: rgba(201, 169, 98, 0.1);
  border: 1px solid rgba(201, 169, 98, 0.25);
  color: #78591f;
}

.home-founder-modal-chip-expertise i {
  color: #b8944a;
  font-size: 0.85rem;
  margin-top: 0.1rem;
  flex-shrink: 0;
}

.home-founder-modal-chip-num {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: #6366f1;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
}

.home-founder-modal-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.home-founder-modal-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.3;
  white-space: normal;
  word-break: break-word;
  max-width: 100%;
}

.home-founder-modal-badge-pillar {
  background: #eef2ff;
  color: #4338ca;
  border: 1px solid #c7d2fe;
}

.home-founder-modal-badge-expertise {
  background: rgba(201, 169, 98, 0.12);
  color: #92702a;
  border: 1px solid rgba(201, 169, 98, 0.28);
}

.home-founder-modal-topics {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.home-founder-modal-topic {
  padding: 0.8rem 0.95rem;
  background: #f8f7f4;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-left: 3px solid #b8944a;
  border-radius: 0 10px 10px 0;
}

.home-founder-modal-topic-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.25rem;
  line-height: 1.4;
}

.home-founder-modal-topic-why {
  margin: 0;
  font-size: 0.8rem;
  color: #64748b;
  line-height: 1.5;
}

.home-founder-modal-footer {
  background: #fff;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  gap: 0.5rem;
  padding: 0.85rem 1.35rem;
}

.home-founder-modal-cta {
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #0a0a14 !important;
  background: linear-gradient(135deg, #d4b872 0%, #b8944a 100%) !important;
  border: none !important;
  box-shadow: 0 4px 16px rgba(201, 169, 98, 0.35);
}

.home-founder-modal-cta:hover {
  background: linear-gradient(135deg, #e0c88a 0%, #a8863e 100%) !important;
  color: #0a0a14 !important;
  box-shadow: 0 6px 22px rgba(201, 169, 98, 0.4);
}

.home-founder-modal-portal-bar {
  padding: 0.85rem 1.35rem;
  background: linear-gradient(180deg, #f8f7f4 0%, #fff 100%);
  border-top: 1px solid rgba(201, 169, 98, 0.15);
}

.home-founder-modal-portal-label {
  display: block;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #b8944a;
  margin-bottom: 0.55rem;
  text-align: center;
}

.home-founder-modal-portal-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
}

.home-founder-portal-step {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.7rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #475569;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, box-shadow 0.2s;
}

.home-founder-portal-step span {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(201, 169, 98, 0.15);
  color: #92702a;
  font-size: 0.65rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.home-founder-portal-step:hover {
  color: #6366f1;
  border-color: rgba(99, 102, 241, 0.35);
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.1);
}

@media (max-width: 575px) {
  .home-founder-modal-header-main {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .home-founder-modal-grid,
  .home-founder-modal-duo {
    grid-template-columns: 1fr;
  }

  .home-founder-modal-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .home-founder-modal-footer .btn {
    width: 100%;
    justify-content: center;
  }
}

.app-pagination .pagination {
  flex-wrap: wrap;
  justify-content: center;
}

.home-pipeline-log {
  background: #f8fafc;
  border-left: 3px solid #f59e0b;
  padding: 0.75rem 1rem;
  border-radius: 0 0.375rem 0.375rem 0;
  line-height: 1.6;
}

.home-typing-dots {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  height: 20px;
}

.home-typing-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #94a3b8;
  animation: homeTypingBounce 1.2s infinite ease-in-out;
}

.home-typing-dots span:nth-child(2) { animation-delay: 0.15s; }
.home-typing-dots span:nth-child(3) { animation-delay: 0.3s; }

@keyframes homeTypingBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-5px); opacity: 1; }
}

/* Quick links */
.home-quicklinks-title {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
  text-align: center;
  margin-bottom: 1.25rem;
}

.home-quicklinks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.85rem;
  width: 100%;
}

.home-quicklink-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.1rem 1.15rem;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  backdrop-filter: blur(8px);
}

.home-quicklink-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.08);
  background: #fff;
  color: inherit;
}

.home-ql-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.home-ql-topics .home-ql-icon { background: #fef3c7; color: #d97706; }
.home-ql-infographic .home-ql-icon { background: #fce7f3; color: #db2777; }
.home-ql-articles .home-ql-icon { background: #d1fae5; color: #059669; }
.home-ql-prospects .home-ql-icon { background: #ede9fe; color: #7c3aed; }
.home-ql-campaigns .home-ql-icon { background: #fee2e2; color: #dc2626; }
.home-ql-dashboard .home-ql-icon { background: #e0f2fe; color: #0284c7; }
.home-ql-pipeline .home-ql-icon { background: #fef9c3; color: #ca8a04; }
.home-ql-founders .home-ql-icon { background: linear-gradient(135deg, #fef3c7, #fde68a); color: #b45309; }
.home-ql-brand .home-ql-icon { background: linear-gradient(135deg, #ede9fe, #ddd6fe); color: #7c3aed; }

.home-ql-content {
  flex: 1;
  min-width: 0;
}

.home-ql-title {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  color: #1e293b;
}

.home-ql-desc {
  display: block;
  font-size: 0.78rem;
  color: #94a3b8;
  margin-top: 0.1rem;
}

.home-ql-arrow {
  color: #cbd5e1;
  font-size: 0.9rem;
  transition: transform 0.2s, color 0.2s;
}

.home-quicklink-card:hover .home-ql-arrow {
  color: #0d6efd;
  transform: translateX(3px);
}

@media (max-width: 1399.98px) {
  .home-stats-row {
    grid-template-columns: repeat(3, 1fr);
  }
  .home-quicklinks-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}

@media (max-width: 991.98px) {
  .home-stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .home-quicklinks-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575.98px) {
  .home-container {
    padding: 1.5rem 1rem 2.5rem;
  }
  .home-stats-row {
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
  }
  .home-stat-card {
    padding: 0.85rem;
  }
  .home-stat-value {
    font-size: 1.35rem;
  }
  .home-stat-trend {
    display: none;
  }
  .home-quicklinks-grid {
    grid-template-columns: 1fr;
  }
  .home-chat-messages {
    max-height: 320px;
  }
}

/* Dashboard — health + integrations row */
.dash-clickable-card {
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

a.dash-clickable-card:hover,
a.dash-clickable-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 0.35rem 1rem rgba(15, 23, 42, 0.12) !important;
}

.dash-clickable-card[data-href]:hover {
  box-shadow: 0 0.35rem 1rem rgba(15, 23, 42, 0.1) !important;
}

.dash-clickable-card[data-href]:focus-visible {
  outline: 2px solid #0d6efd;
  outline-offset: 2px;
}

.dash-status-row .dash-health-card,
.dash-status-row .dash-integrations-card {
  min-height: 132px;
}

.dash-health-success {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
}

.dash-health-success-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #dcfce7;
  color: #16a34a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
  flex-shrink: 0;
}

.dash-integration-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}

.dash-integ-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 0.65rem 0.35rem;
  border-radius: 0.625rem;
  border: 1px solid #e2e8f0;
  background: #fafbfc;
  position: relative;
  transition: border-color 0.15s, box-shadow 0.15s;
  text-decoration: none;
  color: inherit;
}

.dash-integ-tile:hover {
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
  border-color: #cbd5e1;
}

.dash-integ-tile.connected {
  border-color: #bbf7d0;
  background: #fff;
}

.dash-integ-tile.disconnected {
  opacity: 0.72;
  border-style: dashed;
}

.dash-integ-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.dash-integ-tile[data-brand="ai"] .dash-integ-icon {
  background: #ede9fe;
  color: #7c3aed;
}

.dash-integ-tile[data-brand="email"] .dash-integ-icon {
  background: #fee2e2;
  color: #dc2626;
}

.dash-integ-tile[data-brand="linkedin"] .dash-integ-icon {
  background: #dbeafe;
  color: #0a66c2;
}

.dash-integ-tile[data-brand="twitter"] .dash-integ-icon {
  background: #f1f5f9;
  color: #0f172a;
}

.dash-integ-tile.disconnected .dash-integ-icon {
  background: #f1f5f9 !important;
  color: #94a3b8 !important;
}

.dash-integ-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: #475569;
  line-height: 1;
}

.dash-integ-dot {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cbd5e1;
}

.dash-integ-tile.connected .dash-integ-dot {
  background: #22c55e;
  box-shadow: 0 0 0 2px #fff;
}

@media (max-width: 991.98px) {
  .dash-integration-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Dashboard — regional strategy */
.dash-region-strategy-card .border-end {
  border-color: #e2e8f0 !important;
}

.dash-region-focus-panel {
  background: linear-gradient(160deg, #f8fafc 0%, #f1f5f9 100%);
}

.dash-region-data-panel {
  background: #fff;
}

.dash-region-section-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
}

.dash-region-hero {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.dash-region-hero-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.dash-region-hero[data-region="apac"] .dash-region-hero-icon { background: #e0f2fe; color: #0284c7; }
.dash-region-hero[data-region="usa"] .dash-region-hero-icon { background: #dbeafe; color: #1d4ed8; }
.dash-region-hero[data-region="europe"] .dash-region-hero-icon,
.dash-region-hero[data-region="uk"] .dash-region-hero-icon,
.dash-region-hero[data-region="emea"] .dash-region-hero-icon { background: #ede9fe; color: #6d28d9; }
.dash-region-hero[data-region="mena"] .dash-region-hero-icon { background: #fef3c7; color: #d97706; }
.dash-region-hero[data-region="latam"] .dash-region-hero-icon { background: #dcfce7; color: #15803d; }
.dash-region-hero[data-region="canada"] .dash-region-hero-icon { background: #fee2e2; color: #dc2626; }
.dash-region-hero:not([data-region=""]):not([data-region="apac"]):not([data-region="usa"]):not([data-region="europe"]):not([data-region="uk"]):not([data-region="emea"]):not([data-region="mena"]):not([data-region="latam"]):not([data-region="canada"]) .dash-region-hero-icon,
.dash-region-hero[data-region=""] .dash-region-hero-icon { background: #e0e7ff; color: #4338ca; }

.dash-region-title {
  font-size: 1.65rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.2;
}

.dash-region-rationale {
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.55;
}

.dash-region-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.dash-region-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  color: #334155;
  text-decoration: none;
  transition: box-shadow 0.15s, transform 0.15s;
}

.dash-region-chip:hover {
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
  color: #0f172a;
}

.dash-region-chip[data-region="apac"] i { color: #0284c7; }
.dash-region-chip[data-region="usa"] i { color: #1d4ed8; }
.dash-region-chip[data-region="europe"] i,
.dash-region-chip[data-region="uk"] i,
.dash-region-chip[data-region="emea"] i { color: #6d28d9; }
.dash-region-chip[data-region="mena"] i { color: #d97706; }
.dash-region-chip[data-region="latam"] i { color: #15803d; }
.dash-region-chip[data-region="canada"] i { color: #dc2626; }

.dash-region-action-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.dash-region-action-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.45rem 0;
  font-size: 0.875rem;
  color: #475569;
  border-bottom: 1px solid #f1f5f9;
}

.dash-region-action-list li:last-child { border-bottom: none; }
.dash-region-action-list li i { margin-top: 0.15rem; flex-shrink: 0; }

.dash-region-narrative {
  font-size: 0.82rem;
  color: #64748b;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  line-height: 1.5;
}

.dash-region-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.dash-region-row {
  display: grid;
  grid-template-columns: auto 1fr repeat(3, minmax(52px, 64px)) auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid #e2e8f0;
  background: #fafbfc;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s, border-color 0.15s, box-shadow 0.15s;
}

.dash-region-row:hover {
  background: #fff;
  border-color: #cbd5e1;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
  color: inherit;
}

.dash-region-row.is-primary {
  background: linear-gradient(90deg, #eff6ff 0%, #fafbfc 100%);
  border-color: #93c5fd;
}

.dash-region-row-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.dash-region-row[data-region="apac"] .dash-region-row-icon { background: #e0f2fe; color: #0284c7; }
.dash-region-row[data-region="usa"] .dash-region-row-icon { background: #dbeafe; color: #1d4ed8; }
.dash-region-row[data-region="europe"] .dash-region-row-icon,
.dash-region-row[data-region="uk"] .dash-region-row-icon,
.dash-region-row[data-region="emea"] .dash-region-row-icon { background: #ede9fe; color: #6d28d9; }
.dash-region-row[data-region="mena"] .dash-region-row-icon { background: #fef3c7; color: #d97706; }
.dash-region-row[data-region="latam"] .dash-region-row-icon { background: #dcfce7; color: #15803d; }
.dash-region-row[data-region="canada"] .dash-region-row-icon { background: #fee2e2; color: #dc2626; }
.dash-region-row:not([data-region="apac"]):not([data-region="usa"]):not([data-region="europe"]):not([data-region="uk"]):not([data-region="emea"]):not([data-region="mena"]):not([data-region="latam"]):not([data-region="canada"]) .dash-region-row-icon {
  background: #f1f5f9; color: #64748b;
}

.dash-region-row-main {
  min-width: 0;
}

.dash-region-row-main strong {
  display: block;
  font-size: 0.9rem;
  color: #0f172a;
}

.dash-region-row-slug {
  font-size: 0.68rem;
  color: #94a3b8;
  text-transform: lowercase;
}

.dash-region-row-stat {
  text-align: center;
}

.dash-region-stat-val {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  color: #0f172a;
  line-height: 1.2;
}

.dash-region-stat-lbl {
  display: block;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #94a3b8;
}

.dash-region-row-badge {
  justify-self: end;
}

.dash-tag-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  font-size: 0.78rem;
  font-weight: 500;
  color: #475569;
  text-decoration: none;
}

.dash-tag-chip:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.dash-tag-count {
  background: #fff;
  border-radius: 999px;
  padding: 0.05rem 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: #0d6efd;
}

@media (max-width: 991.98px) {
  .dash-region-focus-panel {
    border-right: none !important;
    border-bottom: 1px solid #e2e8f0;
  }
  .dash-region-row {
    grid-template-columns: auto 1fr auto;
    grid-template-rows: auto auto;
  }
  .dash-region-row-stat:nth-child(4),
  .dash-region-row-stat:nth-child(5),
  .dash-region-row-stat:nth-child(6) {
    display: none;
  }
  .dash-region-row-badge {
    grid-column: 3;
    grid-row: 1;
  }
}

/* ================= DASHBOARD PREMIUM ================= */

.dashboard-page {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background: #f1f5f9;
  background-image:
    radial-gradient(ellipse 80% 50% at 0% -10%, rgba(99, 102, 241, 0.08), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(56, 189, 248, 0.06), transparent 50%);
  min-height: 100vh;
}

.dash-page {
  max-width: 1480px;
  margin: 0 auto;
}

.dash-page-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
}

/* Title + top-right actions on the same row */
.app-page-header {
  display: block;
}

.app-page-header.dash-page-header,
.app-page-header.info-page-header {
  align-items: unset;
}

.app-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.app-title-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.app-title-actions form {
  display: inline;
}

.app-page-header .dash-page-subtitle,
.app-page-header .info-page-subtitle {
  margin-top: 0.5rem;
}

.dash-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6366f1;
  margin-bottom: 0.35rem;
}

.dash-page-title {
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.03em;
}

.dash-page-title i {
  color: #6366f1;
}

.dash-page-subtitle {
  color: #64748b;
  font-size: 0.92rem;
}

.btn-dash-primary {
  background: linear-gradient(135deg, #6366f1, #2563eb);
  border: none;
  color: #fff;
  font-weight: 500;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn-dash-primary:hover {
  background: linear-gradient(135deg, #4f46e5, #1d4ed8);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

/* Premium “Add Topic” CTA — used on Topics + Thought Leadership */
.btn-add-topic {
  --bat-bg-1: #0f766e;
  --bat-bg-2: #0d9488;
  --bat-shadow: rgba(13, 148, 136, 0.32);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--bat-bg-1) 0%, var(--bat-bg-2) 55%, #14b8a6 100%);
  color: #fff !important;
  font-weight: 650;
  font-size: 0.875rem;
  letter-spacing: 0.01em;
  line-height: 1.2;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.22) inset,
    0 8px 20px var(--bat-shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
  text-decoration: none;
}

.btn-add-topic:hover,
.btn-add-topic:focus {
  color: #fff !important;
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.28) inset,
    0 12px 28px rgba(13, 148, 136, 0.4);
}

.btn-add-topic:active {
  transform: translateY(0);
  filter: brightness(0.98);
}

.btn-add-topic__label {
  padding: 0;
}

.btn-add-topic--sm {
  padding: 0.4rem 0.95rem;
  font-size: 0.8125rem;
}

.btn-add-topic--navy {
  --bat-bg-1: #1e3a5f;
  --bat-bg-2: #2563eb;
  --bat-shadow: rgba(37, 99, 235, 0.28);
}

/* Keep pill CTA looking intentional inside the TL hero */
.tl-hero .btn-add-topic {
  border-color: rgba(255, 255, 255, 0.22);
}

.topics-count-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #334155;
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1.2;
}

.topics-count-chip i {
  color: #0d9488;
}

.btn-dash-outline {
  background: #fff;
  border: 1px solid #e2e8f0;
  color: #334155;
  font-weight: 500;
  border-radius: 10px;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.btn-dash-outline:hover {
  border-color: #6366f1;
  color: #4338ca;
  background: #fff;
  box-shadow: 0 2px 10px rgba(99, 102, 241, 0.12);
}

.btn-dash-light {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  font-weight: 500;
  border-radius: 10px;
  backdrop-filter: blur(4px);
}

.btn-dash-light:hover {
  background: rgba(255, 255, 255, 0.3);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

.dash-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.4rem;
  padding: 0.1rem 0.4rem;
  margin-left: 0.35rem;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* KPI cards */
.dash-kpi-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  height: 100%;
  padding: 1rem 1.1rem;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
  color: #0f172a;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.dash-kpi-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}

.dash-kpi-prospects::before { background: linear-gradient(90deg, #6366f1, #818cf8); }
.dash-kpi-campaigns::before { background: linear-gradient(90deg, #10b981, #34d399); }
.dash-kpi-replies::before { background: linear-gradient(90deg, #0ea5e9, #38bdf8); }
.dash-kpi-articles::before { background: linear-gradient(90deg, #f59e0b, #fbbf24); }
.dash-kpi-infographics::before { background: linear-gradient(90deg, #ec4899, #f472b6); }
.dash-kpi-schedule::before { background: linear-gradient(90deg, #64748b, #94a3b8); }
.dash-kpi-emails::before { background: linear-gradient(90deg, #f59e0b, #fbbf24); }
.dash-kpi-emails-today::before { background: linear-gradient(90deg, #14b8a6, #2dd4bf); }

.dash-kpi-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.1);
  border-color: rgba(99, 102, 241, 0.15);
  color: #0f172a;
}

.dash-kpi-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.dash-kpi-prospects .dash-kpi-icon { background: #eef2ff; color: #6366f1; }
.dash-kpi-campaigns .dash-kpi-icon { background: #d1fae5; color: #059669; }
.dash-kpi-replies .dash-kpi-icon { background: #e0f2fe; color: #0284c7; }
.dash-kpi-articles .dash-kpi-icon { background: #fef3c7; color: #d97706; }
.dash-kpi-infographics .dash-kpi-icon { background: #fce7f3; color: #db2777; }
.dash-kpi-schedule .dash-kpi-icon { background: #f1f5f9; color: #475569; }
.dash-kpi-emails .dash-kpi-icon { background: #fef3c7; color: #d97706; }
.dash-kpi-emails-today .dash-kpi-icon { background: #ccfbf1; color: #0f766e; }

.dash-kpi-value {
  font-size: 1.65rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
}

.dash-kpi-sub {
  font-size: 0.95rem;
  font-weight: 500;
  color: #94a3b8;
}

.dash-kpi-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 0.15rem;
}

.dash-kpi-meta {
  font-size: 0.75rem;
  color: #94a3b8;
  margin-top: 0.35rem;
  line-height: 1.4;
}

/* Premium content cards */
.dash-premium-card {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 18px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}

.dash-premium-card:hover {
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.08);
}

/* Unified product × campaign status card */
.dash-product-camp-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.dash-product-camp-sum {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  text-align: center;
}

.dash-product-camp-sum-val {
  display: block;
  font-size: 1.35rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.2;
}

.dash-product-camp-sum-label {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #64748b;
}

.dash-product-camp-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.dash-product-camp-head,
.dash-product-camp-row {
  display: grid;
  grid-template-columns: minmax(140px, 1.6fr) 0.7fr 0.7fr 0.8fr 1fr 0.9fr;
  gap: 0.65rem;
  align-items: center;
}

.dash-product-camp-head {
  padding: 0.35rem 0.85rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #94a3b8;
}

.dash-product-camp-row {
  text-decoration: none;
  color: inherit;
  padding: 0.75rem 0.85rem;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}

.dash-product-camp-row:hover {
  border-color: #c7d2fe;
  background: #f8fafc;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.08);
}

.dash-product-camp-name {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

.dash-product-camp-name strong {
  display: block;
  font-size: 0.95rem;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dash-product-camp-sub {
  font-size: 0.75rem;
  color: #64748b;
  margin-top: 0.1rem;
}

.dash-product-camp-icon {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eef2ff;
  color: #4f46e5;
  flex-shrink: 0;
}

.dash-product-camp-stat-val {
  display: block;
  font-weight: 700;
  color: #1e293b;
  font-size: 0.95rem;
}

.dash-product-camp-stat-hint {
  display: block;
  font-size: 0.7rem;
  color: #94a3b8;
  margin-top: 0.05rem;
}

.dash-product-camp-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
}

.dash-product-camp-badge--running { background: #dcfce7; color: #15803d; }
.dash-product-camp-badge--launching { background: #dbeafe; color: #1d4ed8; }
.dash-product-camp-badge--paused { background: #fef3c7; color: #b45309; }
.dash-product-camp-badge--completed { background: #e0e7ff; color: #4338ca; }
.dash-product-camp-badge--stopped { background: #fee2e2; color: #b91c1c; }
.dash-product-camp-badge--idle { background: #f1f5f9; color: #475569; }
.dash-product-camp-badge--empty { background: #f8fafc; color: #94a3b8; border: 1px dashed #cbd5e1; }

@media (max-width: 767.98px) {
  .dash-product-camp-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .dash-product-camp-row {
    grid-template-columns: 1fr auto;
    gap: 0.5rem 0.75rem;
  }
  .dash-product-camp-stat {
    display: none;
  }
  .dash-product-camp-status {
    justify-self: end;
  }
}

.dash-premium-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  color: #fff;
}

.dash-header-indigo { background: linear-gradient(135deg, #4338ca 0%, #6366f1 50%, #818cf8 100%); }
.dash-header-emerald { background: linear-gradient(135deg, #047857 0%, #10b981 50%, #34d399 100%); }
.dash-header-rose { background: linear-gradient(135deg, #be185d 0%, #ec4899 50%, #f472b6 100%); }

.dash-premium-card-title {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1rem;
  font-weight: 600;
}

.dash-premium-card-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.dash-premium-card-link {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  opacity: 0.9;
}

.dash-premium-card-body {
  padding: 1.25rem;
}

.dash-premium-card-footer {
  padding: 0 1.25rem 1.25rem;
  text-align: center;
}

/* Prospects table */
.dash-prospects-table {
  font-size: 0.88rem;
  margin: 0;
}

.dash-prospects-table thead th {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #94a3b8;
  border-bottom: 1px solid #f1f5f9;
  padding: 0.65rem 0.75rem;
  background: transparent;
}

.dash-prospects-table tbody td {
  padding: 0.85rem 0.75rem;
  border-bottom: 1px solid #f8fafc;
  vertical-align: middle;
}

.dash-prospects-table tbody tr:hover {
  background: #f8fafc;
}

.dash-prospect-name-cell {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.dash-prospect-avatar {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #6366f1, #818cf8);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dash-table-muted {
  color: #475569;
}

.dash-email-link {
  color: #6366f1;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
}

.dash-email-link:hover {
  color: #4338ca;
  text-decoration: underline;
}

.dash-location-pill {
  display: inline-flex;
  align-items: center;
  font-size: 0.8rem;
  color: #64748b;
  background: #f1f5f9;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
}

/* Content feature */
.dash-content-feature {
  border-left: 3px solid #6366f1;
  padding-left: 1rem;
}

.dash-content-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.65rem;
  line-height: 1.4;
}

.dash-content-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.dash-meta-pill {
  display: inline-flex;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: #f1f5f9;
  color: #64748b;
}

.dash-meta-topic {
  background: #eef2ff;
  color: #4338ca;
}

.dash-content-excerpt {
  color: #64748b;
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dash-content-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.dash-social-group {
  display: inline-flex;
  gap: 0.35rem;
}

.btn-dash-social {
  width: 34px;
  height: 34px;
  padding: 0;
  border: none;
  border-radius: 9px;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: transform 0.15s, opacity 0.15s;
}

.btn-dash-social:hover {
  transform: scale(1.08);
  color: #fff;
  opacity: 0.92;
}

.btn-dash-social.twitter { background: #1da1f2; }
.btn-dash-social.linkedin { background: #0a66c2; }
.btn-dash-social.instagram { background: linear-gradient(45deg, #f09433, #dc2743, #bc1888); }

/* Empty states */
.dash-empty-state {
  text-align: center;
  padding: 2rem 1rem;
  color: #94a3b8;
}

.dash-empty-state i {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.65rem;
  opacity: 0.5;
}

.dash-empty-state p {
  margin: 0;
  font-size: 0.9rem;
}

/* Sidebar panels */
.dash-sidebar .dash-premium-card {
  border-radius: 16px;
}

.dash-side-card-header {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid #f1f5f9;
}

.dash-side-card-header h6 {
  flex: 1;
  font-weight: 600;
  color: #1e293b;
  font-size: 0.95rem;
}

.dash-side-arrow {
  color: #cbd5e1;
  font-size: 0.85rem;
}

.dash-side-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.dash-side-social { background: #eef2ff; color: #6366f1; }
.dash-side-email { background: #fce7f3; color: #db2777; }
.dash-side-tags { background: #fef3c7; color: #d97706; }

.dash-side-card-body {
  padding: 0.85rem 1.15rem 1.15rem;
}

.dash-side-stat {
  font-size: 0.82rem;
  color: #64748b;
  margin-bottom: 0.75rem;
}

.dash-side-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.dash-side-list-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid #f8fafc;
  font-size: 0.84rem;
  color: #475569;
  line-height: 1.45;
}

.dash-side-list-item:last-child {
  border-bottom: none;
}

.dash-side-list-item i {
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.dash-side-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 1.25rem 0.5rem;
  color: #94a3b8;
  font-size: 0.85rem;
  text-align: center;
}

.dash-side-empty i {
  font-size: 1.5rem;
  opacity: 0.45;
}

.dash-tag-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.dash-tag-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.45rem 0.65rem;
  background: #f8fafc;
  border-radius: 10px;
  transition: background 0.15s;
}

.dash-tag-row:hover {
  background: #f1f5f9;
}

.dash-tag-name {
  font-size: 0.84rem;
  font-weight: 500;
  color: #334155;
  text-transform: capitalize;
}

.dash-tag-badge {
  min-width: 1.75rem;
  padding: 0.15rem 0.5rem;
  background: linear-gradient(135deg, #6366f1, #818cf8);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 999px;
  text-align: center;
}

@media (max-width: 991.98px) {
  .dash-page-header:not(.app-page-header) {
    align-items: flex-start;
  }
  .dash-page-actions {
    width: 100%;
  }
  .dash-page-actions .btn,
  .dash-page-actions form {
    flex: 1;
  }
  .dash-page-actions form .btn {
    width: 100%;
  }
}

@media (max-width: 575.98px) {
  .app-title-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .app-title-actions {
    width: 100%;
  }
  .app-title-actions .btn,
  .app-title-actions form {
    flex: 1;
  }
  .app-title-actions form .btn {
    width: 100%;
  }
}

@media (max-width: 575.98px) {
  .dash-prospects-table thead {
    display: none;
  }
  .dash-prospects-table tbody td {
    display: block;
    padding: 0.35rem 0;
    border: none;
  }
  .dash-prospects-table tbody tr {
    display: block;
    padding: 0.85rem 0;
    border-bottom: 1px solid #f1f5f9;
  }
}

/* ================= KASHDI MODAL FORMS ================= */

.kashdi-modal {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.18);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

/* Scrollable kashdi modals — form wraps body+footer so Bootstrap alone
   cannot scroll; keep header/footer fixed and scroll the body. */
.kashdi-modal-dialog {
  max-height: calc(100vh - 1.5rem);
  margin: 0.75rem auto;
}

.kashdi-modal-dialog .kashdi-modal {
  max-height: calc(100vh - 1.5rem);
  display: flex;
  flex-direction: column;
}

.kashdi-modal-dialog .kashdi-modal-form {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}

.kashdi-modal-dialog .modal-body.kashdi-modal-body,
.kashdi-modal-dialog .kashdi-modal-body.modal-body {
  flex: 1 1 auto;
  min-height: 0;
  max-height: none;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.kashdi-modal-dialog .kashdi-modal-footer.modal-footer {
  flex-shrink: 0;
  margin: 0;
  border-radius: 0;
}

.kashdi-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 1.5rem;
  border: none;
  color: #fff;
}

.kashdi-modal-header-indigo {
  background: linear-gradient(135deg, #4338ca 0%, #6366f1 50%, #818cf8 100%);
}

.kashdi-modal-eyebrow {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 0.35rem;
}

.kashdi-modal-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: #fff;
}

.kashdi-modal-subtitle {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 420px;
}

.kashdi-modal-close {
  opacity: 0.85;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.kashdi-modal-body {
  padding: 1.25rem 1.5rem 0.5rem;
  background: #fafbfc;
}

.kashdi-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 0.65rem;
  padding: 1rem 1.5rem 1.25rem;
  background: #fff;
  border-top: 1px solid #f1f5f9;
}

.kashdi-form-section {
  background: #fff;
  border: 1px solid #e8edf3;
  border-radius: 14px;
  padding: 1.1rem 1.15rem 1.15rem;
  margin-bottom: 1rem;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.kashdi-form-section-head {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid #f1f5f9;
}

.kashdi-form-section-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: #eef2ff;
  color: #6366f1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.kashdi-form-section-icon-emerald {
  background: #d1fae5;
  color: #059669;
}

.kashdi-form-section-icon-amber {
  background: #fef3c7;
  color: #d97706;
}

.kashdi-form-section-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 0.15rem;
}

.kashdi-form-section-desc {
  font-size: 0.78rem;
  color: #94a3b8;
  margin: 0;
}

.kashdi-form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #475569;
  margin-bottom: 0.4rem;
}

.kashdi-field-hint {
  display: flex;
  align-items: flex-start;
  gap: 0.35rem;
  margin-top: 0.4rem;
  font-size: 0.74rem;
  line-height: 1.45;
  color: #94a3b8;
}

.kashdi-field-hint i {
  flex-shrink: 0;
  margin-top: 0.1rem;
  font-size: 0.72rem;
  color: #cbd5e1;
}

.kashdi-input-wrap {
  position: relative;
}

.kashdi-input-icon {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 0.95rem;
  pointer-events: none;
  z-index: 2;
}

.kashdi-form-control {
  padding: 0.6rem 0.85rem 0.6rem 2.35rem;
  border: 1.5px solid #e2e8f0;
  border-radius: 11px;
  font-size: 0.9rem;
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.kashdi-form-control:focus {
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
  background: #fff;
}

.kashdi-form-control::placeholder {
  color: #cbd5e1;
}

.kashdi-tag-hints {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.kashdi-tag-hint {
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.kashdi-tag-hint:hover {
  background: #eef2ff;
  border-color: #c7d2fe;
  color: #4338ca;
}

@media (max-width: 575.98px) {
  .kashdi-modal-header {
    padding: 1.1rem 1.15rem;
  }
  .kashdi-modal-body,
  .kashdi-modal-footer {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .kashdi-modal-footer {
    flex-direction: column-reverse;
  }
  .kashdi-modal-footer .btn {
    width: 100%;
  }
}

/* ================= INFOGRAPHICS PAGE ================= */

.infographics-page {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background: #f1f5f9;
  background-image:
    radial-gradient(ellipse 70% 45% at 100% -5%, rgba(236, 72, 153, 0.08), transparent 55%),
    radial-gradient(ellipse 50% 40% at 0% 0%, rgba(99, 102, 241, 0.07), transparent 50%);
  min-height: 100vh;
}

.info-page {
  max-width: 1480px;
  margin: 0 auto;
}

.info-page-header {
  display: block;
  margin-bottom: 1.75rem;
}

.info-page-title {
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.03em;
}

.info-page-title i {
  color: #ec4899;
}

.info-page-subtitle {
  color: #64748b;
  font-size: 0.92rem;
}

.info-page-actions {
  flex-shrink: 0;
}

.info-search-form {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.info-search-wrap {
  position: relative;
}

.info-search-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 0.9rem;
  pointer-events: none;
}

.info-search-input {
  padding-left: 2.2rem;
  min-width: 220px;
  border-radius: 10px;
  border: 1.5px solid #e2e8f0;
  font-size: 0.88rem;
}

.info-search-input:focus {
  border-color: #ec4899;
  box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.12);
}

/* Infographic cards */
.info-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
  transition: transform 0.22s, box-shadow 0.22s;
  position: relative;
}

.info-card-select {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 3;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 8px;
  padding: 0.2rem 0.3rem;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
}

.info-card-select .form-check-input {
  width: 1.15rem;
  height: 1.15rem;
  margin: 0;
  cursor: pointer;
  border: 2px solid #64748b;
  accent-color: #2563eb;
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.12);
}

.info-card-media {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #f1f5f9;
}

.info-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.info-card:hover .info-card-img {
  transform: scale(1.04);
}

.info-card-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.55) 0%, transparent 50%);
  opacity: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 1rem;
  transition: opacity 0.22s;
}

.info-card-media:hover .info-card-media-overlay {
  opacity: 1;
}

.info-card-preview-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  background: rgba(255, 255, 255, 0.95);
  color: #1e293b;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

.info-platform-pill {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  color: #fff;
  backdrop-filter: blur(6px);
}

.info-platform-instagram { background: linear-gradient(45deg, #f09433, #dc2743); }
.info-platform-linkedin { background: #0a66c2; }
.info-platform-twitter { background: #1da1f2; }
.info-platform-general,
.info-platform- { background: rgba(15, 23, 42, 0.65); }

.info-card-body {
  padding: 0.85rem 1rem 0.5rem;
  flex: 1;
}

.info-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.5rem;
}

.info-meta-pill {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 500;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: #f1f5f9;
  color: #64748b;
}

.info-meta-topic {
  background: #fce7f3;
  color: #be185d;
}

.info-card-prompt {
  font-size: 0.78rem;
  color: #94a3b8;
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.info-card-footer {
  padding: 0 1rem 1rem;
}

.info-social-row {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 0.55rem;
}

.info-social-btn {
  flex: 1;
  height: 36px;
  border: none;
  border-radius: 10px;
  color: #fff;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s, opacity 0.15s;
}

.info-social-btn:hover {
  transform: scale(1.05);
  color: #fff;
  opacity: 0.92;
}

.info-social-btn.twitter { background: #1da1f2; }
.info-social-btn.linkedin { background: #0a66c2; }
.info-social-btn.instagram { background: linear-gradient(45deg, #f09433, #dc2743, #bc1888); }

.info-action-row {
  display: flex;
  gap: 0.45rem;
}

/* Empty state */
.info-empty-state {
  text-align: center;
  padding: 4rem 1.5rem;
  background: #fff;
  border: 1px dashed #e2e8f0;
  border-radius: 20px;
  max-width: 520px;
  margin: 2rem auto;
}

.info-empty-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.25rem;
  border-radius: 20px;
  background: linear-gradient(135deg, #fce7f3, #fbcfe8);
  color: #db2777;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.info-empty-state h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.5rem;
}

.info-empty-state p {
  color: #64748b;
  margin-bottom: 1.25rem;
}

/* Modal extras */
.kashdi-modal-header-rose {
  background: linear-gradient(135deg, #be185d 0%, #ec4899 50%, #f472b6 100%);
}

.kashdi-modal-header-amber {
  background: linear-gradient(135deg, #b45309 0%, #f59e0b 50%, #fbbf24 100%);
}

.kashdi-form-select {
  padding-left: 2.35rem;
  appearance: auto;
}

.kashdi-form-textarea {
  padding: 0.65rem 0.85rem;
  border: 1.5px solid #e2e8f0;
  border-radius: 11px;
  font-size: 0.9rem;
  resize: vertical;
}

.kashdi-form-textarea:focus {
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
}

.info-style-hints {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.info-preview-img {
  max-height: 75vh;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.15);
}

.info-modal-thumb {
  max-height: 140px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.1);
}

.info-tip-box {
  font-size: 0.82rem;
  color: #0369a1;
  background: #e0f2fe;
  border-radius: 10px;
  padding: 0.65rem 0.85rem;
}

@media (max-width: 767.98px) {
  .info-search-form {
    width: 100%;
  }
  .info-search-wrap {
    flex: 1;
  }
  .info-search-input {
    width: 100%;
    min-width: 0;
  }
  .info-page-actions .btn-dash-primary {
    width: 100%;
  }
}

/* Founder persona modal — ensure styles apply over generic kashdi modal */
.home-founder-persona-modal .home-founder-modal-body {
  padding: 1.25rem 1.35rem 1.35rem !important;
  background: #f8f7f4 !important;
  max-height: min(58vh, 480px);
  overflow-y: auto;
}

.home-founder-persona-modal .home-founder-modal-card {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 2px 14px rgba(15, 23, 42, 0.05);
}

.home-founder-persona-modal .home-founder-modal-section-title {
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  margin-bottom: 0.85rem;
}
