/* Lead CRM — UI styles (Bootstrap 5 base) */
:root {
  --primary: #2563eb; --primary-600: #1d4ed8; --primary-50: #eff6ff;
  --bg: #f5f7fb; --card: #ffffff; --border: #e7eaf0; --text: #0f172a; --muted: #64748b;
  --sidebar: #0f172a; --sidebar-2: #1e293b; --sidebar-text: #cbd5e1;
  --radius: 14px; --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 4px 16px rgba(15, 23, 42, .04);
  --bs-primary: #2563eb; --bs-primary-rgb: 37, 99, 235; --bs-link-color: #2563eb; --bs-link-hover-color: #1d4ed8;
}
* { -webkit-font-smoothing: antialiased; }
body { font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif; background: var(--bg); color: var(--text); font-size: .925rem; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-600); }
.btn { border-radius: 10px; font-weight: 500; }
.btn-primary { --bs-btn-bg: var(--primary); --bs-btn-border-color: var(--primary); --bs-btn-hover-bg: var(--primary-600); --bs-btn-hover-border-color: var(--primary-600); --bs-btn-active-bg: var(--primary-600); --bs-btn-disabled-bg: #93b4f5; --bs-btn-disabled-border-color: #93b4f5; }
.btn-light { --bs-btn-bg: #fff; --bs-btn-border-color: var(--border); --bs-btn-hover-bg: #f1f5f9; --bs-btn-hover-border-color: #dbe1ea; }
.btn-icon { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; color: var(--muted); font-size: 1.15rem; }
.btn-icon:hover { background: #f1f5f9; color: var(--text); }
.form-control, .form-select { border-radius: 10px; border-color: var(--border); }
.form-control:focus, .form-select:focus { border-color: #93b4f5; box-shadow: 0 0 0 .2rem rgba(37, 99, 235, .12); }
.form-label { font-weight: 500; color: #334155; }
.min-w-0 { min-width: 0; }

/* Shell */
.app-shell { display: flex; min-height: 100vh; }
.sidebar { width: 252px; flex-shrink: 0; background: var(--sidebar); color: var(--sidebar-text); display: flex; flex-direction: column; position: fixed; inset: 0 auto 0 0; z-index: 1040; transition: transform .2s ease; }
.sidebar-brand { display: flex; align-items: center; gap: .65rem; padding: 1.25rem 1.25rem 1rem; color: #fff; font-weight: 700; font-size: 1.05rem; }
.sidebar-brand:hover { color: #fff; }
.brand-mark { width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, #3b82f6, #1d4ed8); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; box-shadow: 0 4px 12px rgba(37, 99, 235, .4); }
.sidebar-site { margin: 0 1rem .75rem; padding: .7rem .85rem; border-radius: 10px; background: var(--sidebar-2); color: #e2e8f0; }
.sidebar-nav { padding: .25rem .75rem; display: flex; flex-direction: column; gap: 2px; overflow-y: auto; flex: 1; }
.sidebar-link { display: flex; align-items: center; gap: .75rem; padding: .6rem .8rem; border-radius: 10px; color: var(--sidebar-text); font-weight: 500; }
.sidebar-link i { font-size: 1.05rem; opacity: .85; }
.sidebar-link:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.sidebar-link.active { background: var(--primary); color: #fff; box-shadow: 0 6px 16px rgba(37, 99, 235, .35); }
.sidebar-footer { padding: 1rem 1.25rem; color: #64748b; border-top: 1px solid rgba(255, 255, 255, .06); }
.sidebar-backdrop { display: none; }
.main { flex: 1; margin-left: 252px; min-width: 0; display: flex; flex-direction: column; }
.topbar { position: sticky; top: 0; z-index: 1020; height: 64px; display: flex; align-items: center; gap: .75rem; padding: 0 1.5rem; background: rgba(255, 255, 255, .9); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.topbar-search { position: relative; align-items: center; width: min(460px, 50vw); }
.topbar-search i { position: absolute; left: .85rem; color: var(--muted); }
.topbar-search .form-control { padding-left: 2.3rem; background: #f8fafc; }
.profile-btn { display: flex; align-items: center; gap: .5rem; border: 1px solid var(--border); padding: .25rem .6rem .25rem .25rem; border-radius: 999px; background: #fff; }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--primary-50); color: var(--primary); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: .85rem; flex-shrink: 0; }
.avatar-sm { width: 28px; height: 28px; font-size: .75rem; }
.avatar-lg { width: 52px; height: 52px; font-size: 1.25rem; }
.notif-dot { position: absolute; top: 4px; right: 3px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #ef4444; color: #fff; font-size: .65rem; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.notif-menu { width: 340px; border-radius: 12px; border-color: var(--border); box-shadow: 0 12px 32px rgba(15, 23, 42, .12); overflow: hidden; }
.notif-list { max-height: 360px; overflow-y: auto; }
.notif-list a { display: block; padding: .7rem 1rem; border-bottom: 1px solid #f1f5f9; color: var(--text); }
.notif-list a:hover { background: #f8fafc; }
.notif-unread { background: #f8fbff; border-left: 3px solid var(--primary) !important; }
.support-banner { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; padding: .6rem 1.5rem; background: #fef3c7; color: #92400e; border-bottom: 1px solid #fde68a; font-size: .875rem; }
.content { padding: 1.5rem; max-width: 1600px; width: 100%; }

/* Page */
.page-head { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.25rem; }
.page-title { font-size: 1.5rem; font-weight: 700; margin: 0; letter-spacing: -.01em; }
.page-sub { color: var(--muted); margin: .25rem 0 0; font-size: .875rem; }
.breadcrumb { --bs-breadcrumb-divider-color: #94a3b8; }
.breadcrumb a { color: var(--muted); }

/* Cards */
.card-soft { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.card-header-soft { display: flex; justify-content: space-between; align-items: center; gap: .75rem; padding: .9rem 1.1rem; border-bottom: 1px solid var(--border); }
.card-title-sm { font-size: .95rem; font-weight: 600; margin: 0; }
.stat-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem 1.1rem; box-shadow: var(--shadow); height: 100%; }
.stat-icon { width: 38px; height: 38px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.1rem; margin-bottom: .6rem; }
.stat-label { color: var(--muted); font-size: .8rem; font-weight: 500; }
.stat-value { font-size: 1.6rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.stat-hint { color: var(--muted); font-size: .75rem; margin-top: .15rem; }
.secret-card { border: 1px solid #fcd34d; background: #fffbeb; border-radius: var(--radius); }

/* Soft colors */
.bg-primary-soft { background: #e0ecff; } .text-primary { color: var(--primary) !important; }
.bg-success-soft { background: #dcfce7; } .bg-info-soft { background: #cffafe; } .bg-warning-soft { background: #fef3c7; }
.bg-danger-soft { background: #fee2e2; } .bg-secondary-soft { background: #eef2f6; } .bg-purple-soft { background: #ede9fe; } .bg-teal-soft { background: #ccfbf1; }
.text-purple { color: #7c3aed !important; } .text-teal { color: #0d9488 !important; } .text-info { color: #0891b2 !important; }
.badge-soft { display: inline-flex; align-items: center; padding: .25rem .6rem; border-radius: 999px; font-size: .72rem; font-weight: 600; white-space: nowrap; }
.badge-soft-primary { background: #e0ecff; color: #1d4ed8; } .badge-soft-success { background: #dcfce7; color: #15803d; }
.badge-soft-info { background: #cffafe; color: #0e7490; } .badge-soft-warning { background: #fef3c7; color: #b45309; }
.badge-soft-danger { background: #fee2e2; color: #b91c1c; } .badge-soft-secondary { background: #eef2f6; color: #475569; }
.badge-soft-purple { background: #ede9fe; color: #6d28d9; } .badge-soft-teal { background: #ccfbf1; color: #0f766e; }
.chip { display: inline-block; padding: .15rem .5rem; margin: 0 .25rem .25rem 0; border-radius: 6px; background: #f1f5f9; font-size: .72rem; }

/* Tables */
.table-modern { --bs-table-bg: transparent; margin: 0; }
.table-modern thead th { background: #f8fafc; color: var(--muted); font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; border-bottom: 1px solid var(--border); padding: .7rem 1rem; white-space: nowrap; }
.table-modern td, .table-modern tbody th { padding: .75rem 1rem; vertical-align: middle; border-color: #f1f5f9; }
.table-modern tbody tr:hover { background: #fafcff; }

/* Empty */
.empty-state { text-align: center; padding: 2.5rem 1rem; }
.empty-icon { width: 56px; height: 56px; margin: 0 auto .75rem; border-radius: 16px; background: #f1f5f9; color: #94a3b8; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; }

/* Activity */
.activity-list { list-style: none; margin: 0; padding: .5rem 0; }
.activity-list li { display: flex; align-items: center; gap: .75rem; padding: .55rem 1.1rem; }
.activity-icon { width: 34px; height: 34px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.timeline { list-style: none; margin: 0; padding: 1rem 1.1rem 1rem 2rem; position: relative; }
.timeline::before { content: ''; position: absolute; left: 1.2rem; top: 1rem; bottom: 1rem; width: 2px; background: #e2e8f0; }
.timeline li { position: relative; padding-bottom: .9rem; }
.timeline li::before { content: ''; position: absolute; left: -.98rem; top: .35rem; width: 10px; height: 10px; border-radius: 50%; background: #fff; border: 2px solid var(--primary); }

/* Status pills */
.status-strip { display: flex; flex-wrap: wrap; gap: .4rem; }
.status-pill { border: 1px solid var(--border); background: #fff; border-radius: 999px; padding: .35rem .85rem; font-size: .8rem; font-weight: 500; color: #334155; }
.status-pill:hover { border-color: var(--primary); color: var(--primary); }
.status-pill.active { background: var(--primary); border-color: var(--primary); color: #fff; }

/* Code / copy */
.code-block { background: #0f172a; color: #e2e8f0; border-radius: 10px; padding: 1rem; font-size: .78rem; white-space: pre-wrap; word-break: break-all; max-height: 420px; overflow: auto; }
.copy-field { display: flex; align-items: center; gap: .5rem; background: #fff; border: 1px dashed #cbd5e1; border-radius: 10px; padding: .35rem .35rem .35rem .75rem; }
.copy-field code { flex: 1; word-break: break-all; color: #0f172a; font-size: .8rem; }
.copy-corner { position: absolute; top: .5rem; right: .5rem; }
.key-mask { background: #f1f5f9; padding: .3rem .6rem; border-radius: 8px; color: #334155; }
.steps { padding-left: 1.2rem; } .steps li { margin-bottom: .45rem; }
.nav-pills-sm .nav-link { padding: .35rem .8rem; font-size: .82rem; border-radius: 8px; color: var(--muted); }
.nav-pills-sm .nav-link.active { background: var(--primary-50); color: var(--primary); font-weight: 600; }

/* Charts */
.chart-box { position: relative; height: 290px; }
.chart-box-lg { height: 440px; }

/* Toasts */
.toast { border-radius: 12px; box-shadow: 0 10px 30px rgba(15, 23, 42, .15); color: #fff; }
.toast-success { background: #16a34a; } .toast-danger { background: #dc2626; } .toast-warning { background: #d97706; } .toast-info { background: #2563eb; }
.toast .btn-close { filter: invert(1) grayscale(100%) brightness(200%); }

/* Auth */
.auth-body { background: var(--bg); }
.auth-wrap { min-height: 100vh; display: flex; }
.auth-side { flex: 1; background: radial-gradient(1200px 600px at 0% 0%, #1d4ed8 0%, #0f172a 60%); color: #fff; align-items: center; padding: 4rem; }
.auth-side > div { max-width: 520px; }
.auth-main { flex: 1; display: flex; align-items: center; justify-content: center; padding: 2rem 1rem; }
.auth-card { width: 100%; max-width: 420px; background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 2.25rem; box-shadow: 0 20px 50px rgba(15, 23, 42, .08); }

/* Loading state */
.btn.is-loading { position: relative; color: transparent !important; pointer-events: none; }
.btn.is-loading::after { content: ''; position: absolute; inset: 0; margin: auto; width: 1rem; height: 1rem; border: 2px solid currentColor; border-color: #fff #fff transparent transparent; border-radius: 50%; animation: spin .7s linear infinite; }
.btn-light.is-loading::after { border-color: var(--primary) var(--primary) transparent transparent; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Responsive */
@media (max-width: 991.98px) {
  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: none; }
  .sidebar.open + .sidebar-backdrop { display: block; position: fixed; inset: 0; background: rgba(15, 23, 42, .45); z-index: 1030; }
  .main { margin-left: 0; }
  .content { padding: 1rem; }
  .topbar { padding: 0 1rem; }
}

/* ---------- SaaS additions ---------- */
.brand-logo { height: 34px; width: auto; max-width: 140px; object-fit: contain; border-radius: 8px; background: #fff; padding: 2px; }
.plan-banner { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; padding: .55rem 1.5rem; font-size: .875rem; border-bottom: 1px solid transparent; }
.plan-banner-info { background: #eff6ff; color: #1e40af; border-color: #dbeafe; }
.plan-banner-warning { background: #fffbeb; color: #92400e; border-color: #fde68a; }
.plan-banner-danger { background: #fef2f2; color: #991b1b; border-color: #fecaca; }
.auth-card-wide { max-width: 640px; }
.otp-icon { width: 56px; height: 56px; border-radius: 16px; background: var(--primary-50); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 1.6rem; }
.otp-input { font-size: 1.6rem; letter-spacing: .6rem; font-weight: 700; }
.logo-preview { width: 96px; height: 64px; border: 1px dashed #cbd5e1; border-radius: 10px; display: flex; align-items: center; justify-content: center; overflow: hidden; background: #fff; flex-shrink: 0; }
.logo-preview img { max-width: 100%; max-height: 100%; object-fit: contain; }
.cycle-toggle { display: inline-flex; background: #e8edf5; border-radius: 999px; padding: 4px; }
.cycle-toggle button { border: 0; background: transparent; padding: .4rem 1rem; border-radius: 999px; font-weight: 600; font-size: .85rem; color: #475569; }
.cycle-toggle button.active { background: #fff; color: var(--text); box-shadow: 0 1px 4px rgba(15, 23, 42, .1); }
.price-card { position: relative; background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 1.6rem; height: 100%; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.price-card.featured { border: 2px solid var(--primary); box-shadow: 0 16px 40px rgba(37, 99, 235, .15); }
.price-ribbon { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--primary); color: #fff; font-size: .72rem; font-weight: 700; padding: .25rem .8rem; border-radius: 999px; text-transform: uppercase; letter-spacing: .04em; }
.price .amount { font-size: 2.2rem; font-weight: 800; letter-spacing: -.02em; }
.price .per { color: var(--muted); margin-left: .25rem; }
.price-features { list-style: none; padding: 0; margin: 0 0 1.25rem; font-size: .88rem; }
.price-features li { padding: .3rem 0; display: flex; gap: .5rem; }
.price-features li i { color: #16a34a; }
.price-features li.off { color: #94a3b8; }
.price-features li.off i { color: #cbd5e1; }
.upi-qr { width: 200px; height: 200px; flex-shrink: 0; background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 8px; }
.upi-qr svg, .upi-qr img { width: 100%; height: 100%; }
.getting-started { background: linear-gradient(135deg, #eff6ff, #fff 60%); }
.gs-step { display: flex; gap: .75rem; align-items: flex-start; padding: .9rem; border: 1px solid var(--border); border-radius: 12px; background: #fff; color: var(--text); height: 100%; }
.gs-step:hover { border-color: var(--primary); color: var(--text); }
.gs-num { width: 30px; height: 30px; border-radius: 50%; background: var(--primary); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; }
.gs-step.done .gs-num { background: #16a34a; }
.gs-step.done { opacity: .75; }
/* Invoice / print */
.print-body { background: #f1f5f9; }
.invoice { max-width: 820px; margin: 2rem auto 0; background: #fff; padding: 2.5rem; border-radius: 12px; border: 1px solid var(--border); }
@media print { .no-print { display: none !important; } .print-body { background: #fff; } .invoice { border: 0; margin: 0; padding: 0; } }
/* Public site */
.public-body { background: #f8fafc; }
.public-nav { background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.public-nav .nav-link { color: #334155; font-weight: 500; }
.hero { padding: 4.5rem 0 2.5rem; background: radial-gradient(900px 400px at 85% 0%, #dbeafe 0%, transparent 70%), radial-gradient(700px 400px at 0% 100%, #ede9fe 0%, transparent 70%); }
.hero-pill { display: inline-flex; gap: .4rem; align-items: center; background: #fff; border: 1px solid var(--border); padding: .35rem .8rem; border-radius: 999px; font-size: .8rem; font-weight: 600; color: #1d4ed8; margin-bottom: 1.2rem; }
.hero-title { font-size: clamp(2rem, 4.6vw, 3.3rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.08; margin-bottom: 1rem; }
.hero-sub { font-size: 1.1rem; color: #475569; margin-bottom: 1.6rem; }
.hero-mock { background: #fff; border-radius: 18px; border: 1px solid var(--border); box-shadow: 0 30px 60px rgba(15, 23, 42, .12); overflow: hidden; }
.hero-mock-bar { display: flex; gap: 6px; padding: .7rem 1rem; border-bottom: 1px solid var(--border); background: #f8fafc; }
.hero-mock-bar span { width: 10px; height: 10px; border-radius: 50%; background: #e2e8f0; }
.mock-stat { flex: 1; background: #f8fafc; border: 1px solid var(--border); border-radius: 10px; padding: .6rem .75rem; }
.mock-stat small { display: block; color: var(--muted); font-size: .7rem; }
.mock-stat strong { font-size: 1.3rem; }
.mock-row { display: flex; align-items: center; gap: .6rem; padding: .55rem .25rem; border-top: 1px solid #f1f5f9; }
.plugin-strip { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; justify-content: center; margin-top: 3rem; color: var(--muted); font-size: .85rem; }
.plugin-strip .chip { background: #fff; border: 1px solid var(--border); font-size: .78rem; padding: .3rem .65rem; }
.section { padding: 4.5rem 0; }
.section-title { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; letter-spacing: -.02em; }
.feature-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 1.4rem; height: 100%; }
.feature-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--primary-50); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; margin-bottom: .9rem; }
.step-num { width: 52px; height: 52px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 800; font-size: 1.3rem; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 8px 20px rgba(37, 99, 235, .3); }
.cta { padding: 4rem 0; background: linear-gradient(135deg, #1d4ed8, #0f172a); color: #fff; }
.public-footer { padding: 2rem 0; border-top: 1px solid var(--border); background: #fff; color: var(--muted); }
.public-footer a { color: var(--muted); }
.legal-text h5 { margin-top: 1.6rem; font-weight: 700; }
.legal-text { color: #334155; line-height: 1.7; }

/* ---------- Landing page (modern) ---------- */
.lp { background: #fff; color: #0f172a; font-size: 1rem; }
.lp-announce { background: #0f172a; color: #e2e8f0; text-align: center; font-size: .85rem; padding: .55rem 1rem; }
.lp-announce a { color: #fff; font-weight: 600; margin-left: .5rem; }
.lp-nav { background: rgba(255,255,255,.85); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid rgba(15,23,42,.06); padding: .75rem 0; }
.lp-brand { display: inline-flex; align-items: center; gap: .6rem; font-weight: 800; font-size: 1.15rem; color: #0f172a; text-decoration: none; }
.lp-brand:hover { color: #0f172a; }
.lp-logo { height: 38px; width: auto; max-width: 200px; object-fit: contain; }
.lp-links .nav-link { color: #475569; font-weight: 500; padding: .5rem .9rem !important; }
.lp-links .nav-link:hover { color: var(--primary); }
.lp-btn-ghost { background: #fff; border: 1px solid #e2e8f0; color: #0f172a; font-weight: 600; }
.lp-btn-ghost:hover { border-color: #cbd5e1; background: #f8fafc; }
.lp-btn-main { padding: .8rem 1.6rem; font-weight: 600; box-shadow: 0 10px 24px -8px var(--primary); }

.lp-hero { position: relative; padding: 5rem 0 3rem; overflow: hidden; }
.lp-hero-bg { position: absolute; inset: 0; background:
  radial-gradient(900px 500px at 85% -10%, rgba(var(--bs-primary-rgb), .16), transparent 60%),
  radial-gradient(700px 400px at -10% 10%, rgba(139, 92, 246, .12), transparent 60%),
  linear-gradient(180deg, #f8faff 0%, #fff 100%); }
.lp-hero-bg::after { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(15,23,42,.07) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(180deg, #000 0%, transparent 75%); }
.lp-pill { display: inline-flex; align-items: center; gap: .55rem; background: #fff; border: 1px solid #e2e8f0; border-radius: 999px; padding: .4rem .9rem; font-size: .82rem; font-weight: 600; color: #334155; box-shadow: 0 2px 8px rgba(15,23,42,.05); margin-bottom: 1.25rem; }
.lp-pill-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,.18); }
.lp-title { font-size: clamp(2.3rem, 4.6vw, 3.7rem); font-weight: 800; line-height: 1.07; letter-spacing: -.035em; margin-bottom: 1.25rem; }
.lp-grad { background: linear-gradient(90deg, var(--primary), #8b5cf6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp-sub { font-size: 1.12rem; color: #475569; line-height: 1.65; margin-bottom: 2rem; max-width: 560px; }
.lp-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; font-size: .9rem; color: #475569; }
.lp-points i { color: #22c55e; margin-right: .35rem; }

.lp-mock-wrap { position: relative; padding: 1rem 1rem 2rem; }
.lp-mock { background: #fff; border-radius: 18px; border: 1px solid #e2e8f0; box-shadow: 0 40px 80px -20px rgba(15,23,42,.25), 0 0 0 8px rgba(255,255,255,.6); overflow: hidden; transform: perspective(1400px) rotateY(-6deg) rotateX(2deg); }
.lp-mock-bar { display: flex; align-items: center; gap: 6px; padding: .7rem 1rem; background: #f8fafc; border-bottom: 1px solid #eef2f6; }
.lp-mock-bar > span { width: 10px; height: 10px; border-radius: 50%; background: #e2e8f0; }
.lp-mock-bar > span:nth-child(1) { background: #f87171; } .lp-mock-bar > span:nth-child(2) { background: #fbbf24; } .lp-mock-bar > span:nth-child(3) { background: #34d399; }
.lp-mock-url { margin-left: .75rem; flex: 1; background: #fff; border: 1px solid #eef2f6; border-radius: 6px; font-size: .7rem; color: #94a3b8; padding: .2rem .6rem; }
.lp-mock-body { display: flex; }
.lp-mock-side { width: 52px; background: #0f172a; display: flex; flex-direction: column; align-items: center; gap: 1.1rem; padding: 1rem 0; color: #64748b; }
.lp-mock-side .active { color: #fff; background: var(--primary); border-radius: 8px; padding: .3rem .45rem; }
.lp-mock-main { flex: 1; padding: 1rem; }
.lp-mock-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin-bottom: .8rem; }
.lp-mock-stats div { border: 1px solid #eef2f6; border-radius: 10px; padding: .55rem .7rem; }
.lp-mock-stats small { display: block; color: #94a3b8; font-size: .65rem; }
.lp-mock-stats strong { font-size: 1.15rem; }
.lp-mock-stats em { font-style: normal; font-size: .62rem; font-weight: 700; margin-left: .3rem; }
.lp-mock-stats em.up { color: #16a34a; }
.lp-mock-chart { display: flex; align-items: flex-end; gap: 5px; height: 70px; padding: .4rem .2rem; margin-bottom: .6rem; border-bottom: 1px dashed #eef2f6; }
.lp-mock-chart span { flex: 1; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, var(--primary), rgba(var(--bs-primary-rgb), .35)); }
.lp-mock-row { display: flex; align-items: center; gap: .6rem; padding: .5rem .3rem; border-bottom: 1px solid #f1f5f9; }
.lp-float { position: absolute; display: flex; align-items: center; gap: .6rem; background: #fff; border-radius: 14px; padding: .65rem .9rem; box-shadow: 0 18px 40px -12px rgba(15,23,42,.3); border: 1px solid #eef2f6; animation: lpFloat 5s ease-in-out infinite; }
.lp-float strong { display: block; font-size: .85rem; } .lp-float small { color: #64748b; font-size: .72rem; }
.lp-float-icon { width: 34px; height: 34px; border-radius: 10px; color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.lp-float-1 { left: -18px; bottom: 6px; } .lp-float-2 { right: -8px; top: -6px; animation-delay: 1.5s; }
@keyframes lpFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.lp-works { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 3.5rem; padding-top: 2rem; border-top: 1px solid #eef2f6; }
.lp-works-label { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #94a3b8; }
.lp-works-list { display: flex; flex-wrap: wrap; gap: .5rem; }

.lp-stats { padding: 1rem 0 3rem; }
.lp-stat { background: linear-gradient(180deg, #fff, #f8faff); border: 1px solid #eef2f6; border-radius: 16px; padding: 1.4rem 1rem; }
.lp-stat strong { display: block; font-size: 2rem; font-weight: 800; letter-spacing: -.02em; color: var(--primary); }
.lp-stat span { color: #64748b; font-size: .88rem; }

.lp-section { padding: 5.5rem 0; }
.lp-alt { background: #f8fafc; }
.lp-head { text-align: center; max-width: 720px; margin: 0 auto 3.25rem; }
.lp-eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--primary); background: var(--primary-50); padding: .3rem .8rem; border-radius: 999px; margin-bottom: 1rem; }
.lp-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; letter-spacing: -.03em; margin-bottom: .75rem; }
.lp-head p { color: #64748b; font-size: 1.05rem; margin: 0; }
.lp-feature { height: 100%; background: #fff; border: 1px solid #eef2f6; border-radius: 18px; padding: 1.6rem; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.lp-feature:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -18px rgba(15,23,42,.18); border-color: rgba(var(--bs-primary-rgb), .3); }
.lp-feature-icon { width: 48px; height: 48px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.35rem; color: var(--primary); background: var(--primary-50); margin-bottom: 1rem; }
.lp-feature h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .45rem; }
.lp-feature p { color: #64748b; font-size: .92rem; margin: 0; line-height: 1.6; }
.lp-steps { position: relative; }
.lp-step { text-align: center; padding: 0 1rem; position: relative; }
.lp-step-num { width: 56px; height: 56px; margin: 0 auto 1.1rem; border-radius: 16px; background: linear-gradient(135deg, var(--primary), #8b5cf6); color: #fff; font-weight: 800; font-size: 1.35rem; display: flex; align-items: center; justify-content: center; box-shadow: 0 12px 24px -10px var(--primary); }
.lp-step h3 { font-size: 1.1rem; font-weight: 700; }
.lp-step p { color: #64748b; font-size: .94rem; }
@media (min-width: 768px) { .lp-steps .col-md:not(:last-child) .lp-step::after { content: ''; position: absolute; top: 28px; left: calc(50% + 40px); right: calc(-50% + 40px); border-top: 2px dashed #cbd5e1; } }
.lp-price { padding: 1.9rem; border-radius: 20px; transition: transform .2s ease; }
.lp-price:hover { transform: translateY(-4px); }
.lp-price .price .amount { font-size: 2.4rem; font-weight: 800; letter-spacing: -.03em; }
.lp-quote { background: #fff; border: 1px solid #eef2f6; border-radius: 18px; padding: 1.6rem; height: 100%; margin: 0; display: flex; flex-direction: column; }
.lp-stars { color: #f59e0b; margin-bottom: .75rem; font-size: .9rem; }
.lp-quote blockquote { color: #334155; flex: 1; font-size: .98rem; line-height: 1.65; }
.lp-quote figcaption { display: flex; gap: .7rem; align-items: center; }
.lp-quote figcaption small { display: block; color: #64748b; }
.lp-faq .accordion-item { border: 1px solid #eef2f6; border-radius: 14px !important; margin-bottom: .75rem; overflow: hidden; }
.lp-faq .accordion-button { font-weight: 600; padding: 1.1rem 1.3rem; }
.lp-faq .accordion-button:not(.collapsed) { background: var(--primary-50); color: var(--primary); box-shadow: none; }
.lp-faq .accordion-body { color: #475569; }
.lp-cta { padding: 0 0 5.5rem; }
.lp-cta-box { text-align: center; color: #fff; border-radius: 28px; padding: 4rem 1.5rem; background: radial-gradient(600px 300px at 80% 0%, rgba(139,92,246,.55), transparent 60%), linear-gradient(135deg, var(--primary), #0f172a); box-shadow: 0 40px 80px -30px rgba(15,23,42,.5); }
.lp-cta-box h2 { font-weight: 800; font-size: clamp(1.7rem, 3.4vw, 2.5rem); letter-spacing: -.02em; }
.lp-cta-box p { opacity: .8; margin-bottom: 2rem; font-size: 1.05rem; }
.lp-footer { background: #0b1220; color: #94a3b8; padding: 4rem 0 1.5rem; }
.lp-footer h4 { color: #fff; font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1rem; }
.lp-footer ul { list-style: none; padding: 0; margin: 0; }
.lp-footer li { margin-bottom: .55rem; font-size: .92rem; }
.lp-footer a { color: #cbd5e1; text-decoration: none; }
.lp-footer a:hover { color: #fff; }
.lp-brand-light, .lp-brand-light:hover { color: #fff; }
.lp-logo-footer { background: #fff; border-radius: 8px; padding: 4px 8px; }
.lp-contact li { display: flex; gap: .6rem; }
.lp-contact i { color: var(--primary); filter: brightness(1.5); }
.lp-social { display: flex; gap: .5rem; }
.lp-social a { width: 36px; height: 36px; border-radius: 10px; background: rgba(255,255,255,.06); display: inline-flex; align-items: center; justify-content: center; }
.lp-social a:hover { background: var(--primary); }
.lp-footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; border-top: 1px solid rgba(255,255,255,.08); margin-top: 2.5rem; padding-top: 1.5rem; font-size: .82rem; }
.site-logo-preview { min-height: 64px; display: flex; align-items: center; background: repeating-conic-gradient(#f1f5f9 0% 25%, #fff 0% 50%) 50% / 16px 16px; border: 1px dashed #cbd5e1; border-radius: 12px; padding: .75rem; }
.site-logo-preview img { max-height: 70px; max-width: 100%; }
.brand-mark-lg { width: 48px; height: 48px; font-size: 1.3rem; }
@media (max-width: 991.98px) {
  .lp-hero { padding: 3rem 0 2rem; }
  .lp-mock { transform: none; }
  .lp-float-1 { left: 0; } .lp-float-2 { right: 0; }
  .lp-section { padding: 4rem 0; }
}
@media (prefers-reduced-motion: reduce) { .lp-float { animation: none; } .lp-feature, .lp-price { transition: none; } }
.signup-steps { display: flex; gap: .4rem; flex-wrap: wrap; }
.signup-steps span { font-size: .72rem; font-weight: 600; color: #94a3b8; background: #f1f5f9; border-radius: 999px; padding: .2rem .65rem; }
.signup-steps span.active { color: var(--primary); background: var(--primary-50); }

/* ---------- v3 public site ---------- */
.lp-skip { position: absolute; left: 1rem; top: 1rem; z-index: 2000; background: #fff; padding: .5rem 1rem; border-radius: 8px; }
.lp-links .nav-link.active { color: var(--primary); font-weight: 600; }
.lp-links .dropdown-toggle::after { vertical-align: .15em; border-top-width: .28em; opacity: .6; }
.lp-mega { border: 1px solid #e8edf5; border-radius: 18px; box-shadow: 0 30px 60px -20px rgba(15,23,42,.25); padding: 0; overflow: hidden; margin-top: .6rem !important; }
@media (min-width: 992px) { .dropdown-mega .lp-mega { width: 720px; left: 50%; transform: translateX(-30%); } .lp-mega-sm { width: 320px; } }
.lp-mega-item { display: flex; gap: .8rem; align-items: flex-start; padding: .7rem .8rem; border-radius: 12px; color: #0f172a; }
.lp-mega-item:hover { background: #f5f8ff; color: #0f172a; }
.lp-mega-item strong { display: block; font-size: .9rem; } .lp-mega-item small { color: #64748b; font-size: .8rem; }
.lp-mega-icon { width: 38px; height: 38px; flex-shrink: 0; border-radius: 10px; background: var(--primary-50); color: var(--primary); display: inline-flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.lp-mega-side { background: #f8fafc; padding: 1.1rem 1.2rem; border-left: 1px solid #eef2f6; }
.lp-mega-label { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #94a3b8; margin-bottom: .6rem; }
.lp-mega-ints { display: grid; grid-template-columns: 1fr 1fr; gap: .35rem; margin-bottom: .8rem; }
.lp-mega-ints a { display: flex; align-items: center; gap: .45rem; font-size: .78rem; font-weight: 600; color: #334155; padding: .3rem; border-radius: 8px; }
.lp-mega-ints a:hover { background: #fff; }
.lp-btn-outline-light { color: #fff; border: 1px solid rgba(255,255,255,.4); font-weight: 600; }
.lp-btn-outline-light:hover { background: rgba(255,255,255,.12); color: #fff; border-color: #fff; }
.lp-top { position: fixed; right: 1.1rem; bottom: 1.1rem; width: 44px; height: 44px; border-radius: 12px; border: 1px solid #e2e8f0; background: #fff; color: #0f172a; box-shadow: 0 10px 24px -8px rgba(15,23,42,.3); opacity: 0; pointer-events: none; transition: opacity .2s ease; z-index: 1030; }
.lp-top.show { opacity: 1; pointer-events: auto; }
@media (max-width: 991.98px) {
  .lp-offcanvas { max-width: 86vw; }
  .lp-offcanvas .lp-links .nav-link { padding: .75rem 0 !important; font-size: 1.02rem; border-bottom: 1px solid #f1f5f9; }
  .lp-offcanvas .lp-mega { border: 0; box-shadow: none; margin: 0 !important; background: transparent; }
  .lp-mega-side { display: none; }
}
/* Integration icons / logos */
.int-icon { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; border-radius: 10px; width: 36px; height: 36px; font-size: 1.05rem; background: #f1f5f9; color: #475569; }
.int-icon.int-sm { width: 26px; height: 26px; border-radius: 7px; font-size: .8rem; }
.int-icon.int-lg { width: 52px; height: 52px; border-radius: 14px; font-size: 1.45rem; }
.int-icon.int-xl { width: 68px; height: 68px; border-radius: 18px; font-size: 1.9rem; }
.int-icon.has-logo { background: #fff; border: 1px solid #eef2f6; padding: 4px; }
.int-icon.has-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.tone-rose { background: #ffe4e6; color: #be123c; } .tone-orange { background: #ffedd5; color: #c2410c; } .tone-amber { background: #fef3c7; color: #b45309; }
.tone-yellow { background: #fef9c3; color: #a16207; } .tone-sky { background: #e0f2fe; color: #0369a1; } .tone-indigo { background: #e0e7ff; color: #4338ca; }
.tone-red { background: #fee2e2; color: #b91c1c; } .tone-teal { background: #ccfbf1; color: #0f766e; } .tone-violet { background: #ede9fe; color: #6d28d9; }
.tone-purple { background: #f3e8ff; color: #7e22ce; } .tone-slate { background: #e2e8f0; color: #334155; } .tone-green { background: #dcfce7; color: #15803d; }
.tone-brand { background: var(--primary-50); color: var(--primary); }
.lp-works-item { display: inline-flex; align-items: center; gap: .5rem; font-size: .84rem; font-weight: 600; color: #334155; background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: .35rem .8rem .35rem .4rem; transition: border-color .15s, transform .15s, box-shadow .15s; }
.lp-works-item:hover { color: #0f172a; border-color: rgba(var(--bs-primary-rgb), .4); transform: translateY(-2px); box-shadow: 0 8px 18px -10px rgba(15,23,42,.25); }
.lp-mock-meta { font-size: .7rem; }
.lp-tg { background: #229ED9; }
.lp-h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; letter-spacing: -.03em; margin: .25rem 0 .75rem; }
.lp-narrow { max-width: 880px; }
.lp-compare { height: 100%; border-radius: 20px; padding: 1.8rem; border: 1px solid #eef2f6; }
.lp-compare h3 { font-size: 1.1rem; font-weight: 800; display: flex; gap: .5rem; align-items: center; margin-bottom: 1rem; }
.lp-compare ul { list-style: none; padding: 0; margin: 0; }
.lp-compare li { padding: .55rem 0 .55rem 1.7rem; position: relative; border-top: 1px dashed #e2e8f0; color: #334155; }
.lp-compare li:first-child { border-top: 0; }
.lp-compare-before { background: #fbfbfc; } .lp-compare-before h3 i { color: #ef4444; }
.lp-compare-before li::before { content: '\2715'; position: absolute; left: .2rem; color: #ef4444; font-weight: 700; }
.lp-compare-after { background: linear-gradient(160deg, var(--primary-50), #fff 70%); border-color: rgba(var(--bs-primary-rgb), .25); }
.lp-compare-after h3 i { color: #16a34a; }
.lp-compare-after li::before { content: '\2713'; position: absolute; left: .2rem; color: #16a34a; font-weight: 800; }
.lp-checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.lp-checks li { display: flex; gap: .9rem; align-items: flex-start; }
.lp-checks li > i { width: 40px; height: 40px; border-radius: 12px; background: var(--primary-50); color: var(--primary); display: inline-flex; align-items: center; justify-content: center; font-size: 1.15rem; flex-shrink: 0; }
.lp-checks strong { display: block; } .lp-checks span { color: #64748b; font-size: .93rem; }
.lp-checks-sm { gap: .6rem; } .lp-checks-sm li > i { width: 28px; height: 28px; font-size: .95rem; border-radius: 8px; }
.lp-board { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; padding: 1rem; border-radius: 22px; background: linear-gradient(160deg, #f1f5ff, #f8fafc); border: 1px solid #e8edf5; box-shadow: 0 30px 60px -30px rgba(15,23,42,.3); }
.lp-board-col { background: #fff; border-radius: 14px; padding: .7rem; border: 1px solid #eef2f6; min-height: 220px; }
.lp-board-head { display: flex; align-items: center; gap: .45rem; font-size: .78rem; font-weight: 700; color: #334155; margin-bottom: .6rem; }
.lp-board-head .dot { width: 8px; height: 8px; border-radius: 50%; }
.lp-board-head em { margin-left: auto; font-style: normal; background: #f1f5f9; border-radius: 999px; padding: 0 .45rem; font-size: .7rem; color: #64748b; }
.lp-board-card { position: relative; border: 1px solid #eef2f6; border-radius: 10px; padding: .55rem .65rem; margin-bottom: .5rem; box-shadow: 0 2px 6px rgba(15,23,42,.04); }
.lp-board-card strong { display: block; font-size: .8rem; } .lp-board-card small { color: #94a3b8; font-size: .68rem; }
.heat { display: inline-block; font-size: .62rem; font-weight: 700; border-radius: 999px; padding: .05rem .45rem; margin-top: .3rem; }
.heat-hot { background: #fee2e2; color: #b91c1c; } .heat-warm { background: #fef3c7; color: #b45309; } .heat-cold { background: #e0f2fe; color: #0369a1; }
.lp-int-card { display: flex; align-items: center; gap: .75rem; padding: .85rem 1rem; background: #fff; border: 1px solid #eef2f6; border-radius: 14px; color: #0f172a; height: 100%; transition: border-color .15s, box-shadow .15s, transform .15s; }
.lp-int-card:hover { color: #0f172a; border-color: rgba(var(--bs-primary-rgb), .35); box-shadow: 0 14px 30px -16px rgba(15,23,42,.25); transform: translateY(-2px); }
.lp-int-card strong { display: block; font-size: .9rem; } .lp-int-card small { color: #94a3b8; font-size: .75rem; }
.lp-int-card > .bi { color: #cbd5e1; }
.lp-pagehead { position: relative; overflow: hidden; padding: 3.5rem 0 3rem; }
.lp-crumbs { font-size: .82rem; margin-bottom: 1.2rem; --bs-breadcrumb-divider-color: #cbd5e1; }
.lp-crumbs a { color: #64748b; }
.lp-pagehead-title { font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.1; max-width: 860px; margin: .25rem 0 1rem; }
.lp-pagehead-sub { font-size: 1.1rem; color: #475569; max-width: 720px; margin: 0; line-height: 1.6; }
.lp-subnav { position: sticky; top: 64px; z-index: 1010; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-top: 1px solid #eef2f6; border-bottom: 1px solid #eef2f6; }
.lp-subnav .container { display: flex; gap: .25rem; overflow-x: auto; padding-top: .5rem; padding-bottom: .5rem; }
.lp-subnav a { white-space: nowrap; color: #475569; font-weight: 600; font-size: .88rem; padding: .4rem .9rem; border-radius: 999px; }
.lp-subnav a i { margin-right: .4rem; } .lp-subnav a:hover { background: var(--primary-50); color: var(--primary); }
.lp-group-head { position: sticky; top: 140px; }
.lp-group-icon { width: 56px; height: 56px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.5rem; color: #fff; background: linear-gradient(135deg, var(--primary), #8b5cf6); box-shadow: 0 12px 24px -10px var(--primary); }
.lp-feature-row { display: flex; gap: 1rem; align-items: flex-start; }
.lp-feature-row .lp-feature-icon { margin-bottom: 0; flex-shrink: 0; }
.lp-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem; padding: 1.6rem 1.8rem; border-radius: 20px; background: linear-gradient(135deg, var(--primary-50), #fff); border: 1px solid rgba(var(--bs-primary-rgb), .18); }
.lp-band-icons { display: flex; gap: .4rem; }
.lp-filter { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.8rem; }
.lp-filter button { border: 1px solid #e2e8f0; background: #fff; border-radius: 999px; padding: .45rem 1rem; font-weight: 600; font-size: .87rem; color: #475569; }
.lp-filter button span { color: #94a3b8; font-weight: 500; margin-left: .2rem; }
.lp-filter button.active { background: #0f172a; border-color: #0f172a; color: #fff; } .lp-filter button.active span { color: #cbd5e1; }
.lp-int-tile { display: flex; flex-direction: column; height: 100%; padding: 1.5rem; background: #fff; border: 1px solid #eef2f6; border-radius: 18px; color: #0f172a; transition: border-color .15s, box-shadow .2s, transform .2s; }
.lp-int-tile:hover { color: #0f172a; border-color: rgba(var(--bs-primary-rgb), .35); box-shadow: 0 20px 40px -20px rgba(15,23,42,.25); transform: translateY(-3px); }
.lp-int-tile p { color: #64748b; font-size: .92rem; flex: 1; }
.lp-int-link { font-weight: 600; font-size: .88rem; color: var(--primary); }
.lp-note { display: flex; gap: .8rem; align-items: flex-start; padding: 1rem 1.2rem; border-radius: 14px; background: #f8fafc; border: 1px solid #eef2f6; color: #334155; font-size: .93rem; }
.lp-note > i { color: var(--primary); font-size: 1.15rem; }
.lp-connect-arrow { color: #94a3b8; font-size: 1.3rem; }
.lp-steplist { counter-reset: s; list-style: none; padding: 0; margin: 0; }
.lp-steplist li { counter-increment: s; position: relative; padding: .2rem 0 1.2rem 3rem; color: #334155; }
.lp-steplist li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 10px; background: var(--primary-50); color: var(--primary); font-weight: 800; display: flex; align-items: center; justify-content: center; }
.lp-steplist li:not(:last-child)::after { content: ''; position: absolute; left: 15px; top: 36px; bottom: 4px; border-left: 2px dashed #e2e8f0; }
.lp-steplist-lg li { font-size: 1.05rem; padding-bottom: 1.6rem; }
.lp-mini-check { display: flex; gap: .5rem; align-items: center; font-size: .9rem; padding: .55rem .75rem; border-radius: 10px; background: #f8fafc; }
.lp-mini-check i { color: #16a34a; }
.lp-side-card { background: #fff; border: 1px solid #eef2f6; border-radius: 18px; padding: 1.5rem; box-shadow: 0 10px 30px -20px rgba(15,23,42,.2); }
.lp-dl { display: grid; grid-template-columns: auto 1fr; gap: .45rem 1rem; font-size: .9rem; margin: 1rem 0 1.25rem; }
.lp-dl dt { color: #64748b; font-weight: 500; } .lp-dl dd { margin: 0; font-weight: 600; text-align: right; }
.lp-mini-ints { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; }
.lp-mini-ints a { display: flex; gap: .45rem; align-items: center; color: #334155; font-size: .84rem; font-weight: 600; padding: .35rem; border-radius: 8px; }
.lp-mini-ints a:hover { background: #f8fafc; }
.price-note { margin-top: .15rem; }
.lp-table-wrap { overflow-x: auto; background: #fff; border-radius: 18px; border: 1px solid #eef2f6; }
.lp-compare-table { min-width: 640px; }
.lp-compare-table th, .lp-compare-table td { padding: .85rem 1rem; vertical-align: middle; border-color: #f1f5f9; }
.lp-compare-table thead th { font-weight: 800; font-size: .95rem; background: #fff; position: sticky; top: 0; }
.lp-compare-table tbody th { font-weight: 500; color: #334155; }
.lp-compare-group th { background: #f8fafc !important; font-size: .72rem; font-weight: 700 !important; letter-spacing: .08em; text-transform: uppercase; color: #64748b !important; }
.lp-compare-table .is-featured { background: rgba(var(--bs-primary-rgb), .04); }
.lp-flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; position: relative; }
.lp-flow-step { position: relative; background: #fff; border: 1px solid #eef2f6; border-radius: 18px; padding: 1.3rem; }
.lp-flow-step:not(:last-child)::after { content: '\2192'; position: absolute; right: -.95rem; top: 1.8rem; color: #94a3b8; font-weight: 700; z-index: 1; }
.lp-flow-icon { width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, var(--primary), #8b5cf6); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 1.2rem; margin-bottom: .8rem; }
.lp-flow-n { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #94a3b8; }
.lp-flow-step h3 { font-size: 1rem; font-weight: 700; margin: .2rem 0 .4rem; } .lp-flow-step p { color: #64748b; font-size: .87rem; margin: 0; }
@media (max-width: 991.98px) { .lp-flow { grid-template-columns: 1fr 1fr; } .lp-flow-step::after { display: none; } .lp-group-head { position: static; } }
@media (max-width: 575.98px) { .lp-flow { grid-template-columns: 1fr; } .lp-board { grid-template-columns: 1fr 1fr; } .lp-board-col:last-child { display: none; } }
.lp-prose { font-size: 1.05rem; line-height: 1.8; color: #334155; }
.lp-prose h5, .lp-prose h2, .lp-prose h3 { color: #0f172a; }
.lp-search { position: relative; } .lp-search i { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: #94a3b8; }
.lp-search .form-control { padding-left: 2.7rem; border-radius: 14px; }
.lp-guide-nav { display: flex; flex-direction: column; gap: .15rem; }
.lp-guide-nav a { display: flex; gap: .6rem; align-items: center; padding: .55rem .7rem; border-radius: 10px; color: #334155; font-weight: 500; font-size: .92rem; }
.lp-guide-nav a:hover { background: #f8fafc; } .lp-guide-nav a.active { background: var(--primary-50); color: var(--primary); font-weight: 600; }
.lp-form-card { background: #fff; border: 1px solid #eef2f6; border-radius: 20px; padding: 2rem; box-shadow: 0 20px 50px -30px rgba(15,23,42,.3); }
.lp-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.lp-reach { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.lp-reach li { display: flex; gap: .8rem; align-items: center; }
.lp-reach small { display: block; color: #94a3b8; font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.lp-reach a, .lp-reach span:not(.int-icon) { font-weight: 600; color: #0f172a; }

/* ======================================================================
   v3 app shell — light sidebar, grouped nav, command palette, dark mode
   ====================================================================== */
:root { --bg: #f6f7fb; --sidebar-w: 260px; --sidebar-mini-w: 76px; --ring: 0 0 0 .2rem rgba(var(--bs-primary-rgb), .14); }
.app-body { background: var(--bg); }
.sidebar { width: var(--sidebar-w); background: var(--card); color: var(--text); border-right: 1px solid var(--border); }
.sidebar-top { display: flex; align-items: center; justify-content: space-between; padding: 1rem .9rem .75rem 1.1rem; }
.sidebar-brand { padding: 0; color: var(--text); min-width: 0; }
.sidebar-brand:hover { color: var(--text); }
.sidebar-collapse { width: 32px; height: 32px; font-size: 1rem; }
.sidebar-site { display: flex; align-items: center; gap: .65rem; margin: 0 .9rem .6rem; padding: .6rem .7rem; border-radius: 12px; background: var(--bg); color: var(--text); border: 1px solid var(--border); }
.ws-avatar { width: 34px; height: 34px; border-radius: 10px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--primary), #8b5cf6); }
.sidebar-nav { padding: .25rem .7rem 1rem; gap: 1px; }
.sidebar-section { font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #94a3b8; padding: .9rem .75rem .35rem; }
.sidebar-link { color: #475569; padding: .55rem .75rem; font-size: .9rem; position: relative; }
.sidebar-link i { font-size: 1.05rem; opacity: .9; width: 20px; text-align: center; }
.sidebar-link:hover { background: var(--bg); color: var(--text); }
.sidebar-link.active { background: var(--primary-50); color: var(--primary); box-shadow: none; font-weight: 600; }
.sidebar-link.active::before { content: ''; position: absolute; left: -.7rem; top: 20%; bottom: 20%; width: 3px; border-radius: 0 3px 3px 0; background: var(--primary); }
.sidebar-badge { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: #ef4444; color: #fff; font-size: .68rem; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.sidebar-usage { display: block; margin: 0 .9rem .6rem; padding: .7rem .8rem; border-radius: 12px; border: 1px solid var(--border); color: var(--text); background: linear-gradient(160deg, var(--primary-50), transparent); }
.sidebar-usage:hover { color: var(--text); border-color: rgba(var(--bs-primary-rgb), .35); }
.usage-bar { height: 6px; border-radius: 6px; background: rgba(148,163,184,.25); margin-top: .45rem; overflow: hidden; }
.usage-bar span { display: block; height: 100%; border-radius: 6px; background: var(--primary); }
.sidebar-footer { color: #94a3b8; border-top: 1px solid var(--border); padding: .8rem 1.1rem; }
.main { margin-left: var(--sidebar-w); }
.topbar { background: color-mix(in srgb, var(--card) 88%, transparent); gap: .5rem; }
.cmdk-trigger { display: inline-flex; align-items: center; gap: .6rem; height: 40px; min-width: 40px; padding: 0 .75rem; border: 1px solid var(--border); border-radius: 12px; background: var(--bg); color: var(--muted); font-size: .88rem; width: min(420px, 46vw); }
.cmdk-trigger:hover { border-color: rgba(var(--bs-primary-rgb), .35); color: var(--text); }
.cmdk-trigger kbd, .cmdk kbd { margin-left: auto; background: var(--card); color: var(--muted); border: 1px solid var(--border); border-radius: 6px; font-size: .7rem; padding: .1rem .4rem; box-shadow: none; font-family: inherit; }
@media (max-width: 767.98px) { .cmdk-trigger { width: 40px; padding: 0; justify-content: center; } }
.btn-icon { background: transparent; border: 0; }
.content { max-width: 1480px; }
.content-wide { max-width: none; }
.page-title { font-size: 1.55rem; font-weight: 800; letter-spacing: -.02em; }

/* Mini sidebar (desktop) */
@media (min-width: 992px) {
  .sidebar-mini .sidebar { width: var(--sidebar-mini-w); }
  .sidebar-mini .main { margin-left: var(--sidebar-mini-w); }
  .sidebar-mini .brand-text, .sidebar-mini .sidebar-label, .sidebar-mini .ws-text, .sidebar-mini .sidebar-usage, .sidebar-mini .sidebar-footer, .sidebar-mini .sidebar-section { display: none; }
  .sidebar-mini .sidebar-top { flex-direction: column; gap: .5rem; padding: 1rem .5rem .5rem; }
  .sidebar-mini .sidebar-site { justify-content: center; margin: 0 .6rem .5rem; padding: .45rem; }
  .sidebar-mini .sidebar-link { justify-content: center; padding: .65rem; }
  .sidebar-mini .sidebar-link .sidebar-badge { position: absolute; top: 2px; right: 4px; min-width: 16px; height: 16px; font-size: .6rem; }
  .sidebar-mini .sidebar-nav { padding-top: .75rem; }
  .sidebar-mini .sidebar-link + .sidebar-link { margin-top: 2px; }
}
.sidebar, .main { transition: width .18s ease, margin-left .18s ease, transform .2s ease; }

/* KPI cards */
.kpi-card { display: block; height: 100%; background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 1rem 1.1rem; color: var(--text); box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s, border-color .15s; }
a.kpi-card:hover { color: var(--text); transform: translateY(-2px); box-shadow: 0 14px 30px -18px rgba(15,23,42,.35); border-color: rgba(var(--bs-primary-rgb), .3); }
.kpi-label { color: var(--muted); font-size: .8rem; font-weight: 600; }
.kpi-value { font-size: 1.85rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.15; margin-top: .15rem; }
.kpi-icon { width: 40px; height: 40px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.kpi-trend { font-size: .76rem; display: flex; gap: .35rem; align-items: center; flex-wrap: wrap; }
.trend { display: inline-flex; align-items: center; gap: .1rem; font-weight: 700; padding: .05rem .4rem; border-radius: 6px; }
.trend-up { color: #15803d; background: #dcfce7; } .trend-down { color: #b91c1c; background: #fee2e2; }
.kpi-spark { width: 96px; height: 34px; flex-shrink: 0; }
.mini-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .6rem; }
.mini-stats a { display: flex; justify-content: space-between; align-items: center; gap: .5rem; padding: .65rem .9rem; background: var(--card); border: 1px solid var(--border); border-radius: 12px; color: var(--muted); font-size: .8rem; font-weight: 500; }
.mini-stats a strong { color: var(--text); font-size: .98rem; }
.mini-stats a:hover { border-color: rgba(var(--bs-primary-rgb), .3); color: var(--text); }
.mini-stats a.is-alert { border-color: #fecaca; background: #fef2f2; } .mini-stats a.is-alert strong { color: #b91c1c; }
.bg-warning-soft.text-warning, .text-warning { color: #b45309 !important; }

/* Worklists (dashboard, follow-ups, duplicates) */
.worklist { list-style: none; margin: 0; padding: .25rem 0; }
.worklist li { display: flex; align-items: center; gap: .8rem; padding: .7rem 1.1rem; border-bottom: 1px solid var(--border); }
.worklist li:last-child { border-bottom: 0; }
.worklist li:hover { background: color-mix(in srgb, var(--primary) 3%, transparent); }
.worklist-actions { display: flex; gap: .3rem; flex-shrink: 0; align-items: center; }
.due-pill { flex-shrink: 0; font-size: .7rem; font-weight: 700; border-radius: 8px; padding: .25rem .5rem; min-width: 74px; text-align: center; }
.due-over { background: #fee2e2; color: #b91c1c; } .due-today { background: #fef3c7; color: #b45309; } .due-later { background: var(--primary-50); color: var(--primary); }
.heat { white-space: nowrap; vertical-align: middle; }
.heat i { font-size: .7em; }
.fu-summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; }
.fu-sum { display: flex; align-items: center; gap: .6rem; padding: .8rem 1rem; border-radius: 14px; background: var(--card); border: 1px solid var(--border); color: var(--text); font-weight: 600; font-size: .88rem; }
.fu-sum strong { margin-left: auto; font-size: 1.2rem; }
.fu-sum i { width: 32px; height: 32px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; }
.fu-danger i { background: #fee2e2; color: #b91c1c; } .fu-warning i { background: #fef3c7; color: #b45309; } .fu-primary i { background: var(--primary-50); color: var(--primary); } .fu-secondary i { background: #eef2f6; color: #475569; }
@media (max-width: 767.98px) { .fu-summary { grid-template-columns: 1fr 1fr; } .worklist li { flex-wrap: wrap; } .worklist-actions { width: 100%; justify-content: flex-end; } }
.followup-card.is-over { border-color: #fecaca; }

/* View tabs + quick filters */
.view-tabs { display: inline-flex; padding: 3px; border-radius: 12px; background: var(--card); border: 1px solid var(--border); }
.view-tabs a { display: inline-flex; align-items: center; gap: .4rem; padding: .4rem .8rem; border-radius: 9px; color: var(--muted); font-weight: 600; font-size: .84rem; }
.view-tabs a:hover { color: var(--text); } .view-tabs a.active { background: var(--primary-50); color: var(--primary); }
.quick-filters { display: flex; flex-wrap: wrap; gap: .4rem; }
.quick-filters a { padding: .35rem .85rem; border-radius: 999px; border: 1px solid var(--border); background: var(--card); color: var(--muted); font-size: .82rem; font-weight: 600; }
.quick-filters a span { opacity: .7; margin-left: .15rem; }
.quick-filters a:hover { color: var(--text); } .quick-filters a.active { background: var(--text); border-color: var(--text); color: var(--card); }

/* Pipeline board */
.board-filters { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.input-icon { position: relative; } .input-icon i { position: absolute; left: .7rem; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: .85rem; }
.input-icon .form-control { padding-left: 2rem; min-width: 240px; }
.board { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(270px, 1fr); gap: .9rem; overflow-x: auto; padding-bottom: 1rem; align-items: start; scroll-snap-type: x proximity; }
.board-col { background: color-mix(in srgb, var(--border) 45%, var(--bg)); border-radius: 16px; padding: .6rem; min-height: 60vh; scroll-snap-align: start; transition: background .15s, box-shadow .15s; }
.board-col.drag-over { background: var(--primary-50); box-shadow: inset 0 0 0 2px rgba(var(--bs-primary-rgb), .35); }
.board-col-head { display: flex; align-items: center; gap: .5rem; font-weight: 700; font-size: .85rem; padding: .35rem .4rem .6rem; }
.board-col-head .dot { width: 9px; height: 9px; border-radius: 50%; }
.bg-purple { background: #8b5cf6 !important; } .bg-teal { background: #14b8a6 !important; }
.board-count { margin-left: auto; font-size: .72rem; background: var(--card); border: 1px solid var(--border); border-radius: 999px; padding: .05rem .5rem; color: var(--muted); }
.board-drop { display: flex; flex-direction: column; gap: .5rem; min-height: 120px; }
.board-card { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: .7rem .75rem; box-shadow: 0 1px 2px rgba(15,23,42,.05); cursor: grab; transition: box-shadow .15s, transform .15s, opacity .15s; }
.board-card:hover { box-shadow: 0 10px 22px -14px rgba(15,23,42,.4); }
.board-card.dragging { opacity: .45; transform: rotate(2deg); }
.board-card.just-moved { animation: pop .8s ease; }
@keyframes pop { 0% { box-shadow: 0 0 0 0 rgba(var(--bs-primary-rgb), .5); } 100% { box-shadow: 0 0 0 10px rgba(var(--bs-primary-rgb), 0); } }
.board-card-title { font-weight: 700; font-size: .88rem; color: var(--text); }
.board-card-meta { font-size: .75rem; color: var(--muted); margin-top: .15rem; }
.board-card-foot { display: flex; align-items: center; gap: .6rem; font-size: .72rem; color: var(--muted); margin-top: .55rem; }
.board-move { margin-top: .55rem; font-size: .75rem; padding-top: .2rem; padding-bottom: .2rem; }
@media (hover: hover) and (pointer: fine) { .board-move { display: none; } .board-card:focus-visible .board-move, .board-move:focus { display: block; } }
.board-more { font-size: .78rem; text-align: center; padding: .4rem; }
.board-empty { text-align: center; color: var(--muted); font-size: .8rem; padding: 1.2rem .5rem; border: 1px dashed var(--border); border-radius: 12px; }
.avatar-xs { width: 22px; height: 22px; font-size: .65rem; }

/* Command palette */
.cmdk-dialog { max-width: 620px; margin-top: 12vh; }
.cmdk { border: 1px solid var(--border); border-radius: 18px; overflow: hidden; box-shadow: 0 40px 80px -20px rgba(15,23,42,.45); }
.cmdk-input { display: flex; align-items: center; gap: .7rem; padding: .9rem 1.1rem; border-bottom: 1px solid var(--border); }
.cmdk-input i { color: var(--muted); font-size: 1.1rem; }
.cmdk-input input { flex: 1; border: 0; outline: 0; background: transparent; font-size: 1.02rem; color: var(--text); }
.cmdk-list { max-height: 55vh; overflow-y: auto; padding: .4rem; }
.cmdk-group { font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #94a3b8; padding: .6rem .7rem .3rem; }
.cmdk-item { display: flex; align-items: center; gap: .75rem; padding: .6rem .7rem; border-radius: 10px; color: var(--text); }
.cmdk-item i { width: 32px; height: 32px; border-radius: 9px; background: var(--bg); display: inline-flex; align-items: center; justify-content: center; color: var(--muted); flex-shrink: 0; }
.cmdk-item.active { background: var(--primary-50); color: var(--text); } .cmdk-item.active i { background: var(--primary); color: #fff; }
.cmdk-title { font-weight: 600; font-size: .9rem; } .cmdk-sub { font-size: .76rem; color: var(--muted); }
.cmdk-empty { padding: 1.5rem; text-align: center; color: var(--muted); font-size: .9rem; }
.cmdk-foot { display: flex; gap: 1rem; padding: .55rem 1rem; border-top: 1px solid var(--border); font-size: .72rem; color: var(--muted); }
.cmdk-foot kbd { margin: 0 .15rem 0 0; }

/* Owner: enquiries + editor */
.enquiry.is-new { border-left: 3px solid var(--primary); }
.enquiry-msg { background: var(--bg); border-radius: 12px; padding: .85rem 1rem; white-space: normal; color: var(--text); font-size: .92rem; }
.int-upload { display: flex; gap: .8rem; align-items: center; padding: .8rem; border: 1px solid var(--border); border-radius: 14px; height: 100%; }
.theme-light-hide { display: none; }
[data-bs-theme="dark"] .theme-light-hide { display: inline; } [data-bs-theme="dark"] .theme-dark-hide { display: none; }

/* ---------------- Dark mode ---------------- */
[data-bs-theme="dark"] {
  --bg: #0b1120; --card: #111827; --border: #1f2937; --text: #e5e7eb; --muted: #94a3b8;
  --primary-50: rgba(var(--bs-primary-rgb), .14); --shadow: 0 1px 2px rgba(0,0,0,.4);
  --bs-body-bg: #0b1120; --bs-body-color: #e5e7eb; --bs-border-color: #1f2937; --bs-secondary-bg: #111827; --bs-tertiary-bg: #0f172a;
  color-scheme: dark;
}
[data-bs-theme="dark"] body { background: var(--bg); color: var(--text); }
[data-bs-theme="dark"] .sidebar-link { color: #cbd5e1; }
[data-bs-theme="dark"] .btn-light { --bs-btn-bg: #1f2937; --bs-btn-color: #e5e7eb; --bs-btn-border-color: #273449; --bs-btn-hover-bg: #273449; --bs-btn-hover-color: #fff; --bs-btn-hover-border-color: #334155; --bs-btn-active-bg: #334155; --bs-btn-active-color: #fff; }
[data-bs-theme="dark"] .btn-icon { color: #94a3b8; } [data-bs-theme="dark"] .btn-icon:hover { background: #1f2937; color: #fff; }
[data-bs-theme="dark"] .form-control, [data-bs-theme="dark"] .form-select { background-color: #0f172a; border-color: #273449; color: #e5e7eb; }
[data-bs-theme="dark"] .form-label { color: #cbd5e1; }
[data-bs-theme="dark"] .stat-card, [data-bs-theme="dark"] .profile-btn, [data-bs-theme="dark"] .status-pill, [data-bs-theme="dark"] .gs-step, [data-bs-theme="dark"] .price-card,
[data-bs-theme="dark"] .copy-field, [data-bs-theme="dark"] .auth-card, [data-bs-theme="dark"] .cycle-toggle button.active, [data-bs-theme="dark"] .invoice { background: var(--card); color: var(--text); border-color: var(--border); }
[data-bs-theme="dark"] .profile-btn { color: var(--text); }
[data-bs-theme="dark"] .table-modern thead th { background: #0f172a; color: #94a3b8; border-color: var(--border); }
[data-bs-theme="dark"] .table-modern td, [data-bs-theme="dark"] .table-modern tbody th { border-color: #1a2333; color: var(--text); }
[data-bs-theme="dark"] .table-modern tbody tr:hover { background: rgba(255,255,255,.02); }
[data-bs-theme="dark"] .notif-list a { color: var(--text); border-color: var(--border); } [data-bs-theme="dark"] .notif-list a:hover { background: #0f172a; }
[data-bs-theme="dark"] .empty-icon, [data-bs-theme="dark"] .chip, [data-bs-theme="dark"] .key-mask { background: #1f2937; color: #94a3b8; }
[data-bs-theme="dark"] .getting-started { background: linear-gradient(135deg, rgba(var(--bs-primary-rgb), .15), var(--card) 60%); }
[data-bs-theme="dark"] .copy-field code { color: #e5e7eb; }
[data-bs-theme="dark"] .timeline::before { background: #1f2937; } [data-bs-theme="dark"] .timeline li::before { background: var(--card); }
[data-bs-theme="dark"] .plan-banner-info { background: rgba(37,99,235,.12); color: #93c5fd; border-color: rgba(37,99,235,.25); }
[data-bs-theme="dark"] .plan-banner-warning { background: rgba(245,158,11,.1); color: #fcd34d; border-color: rgba(245,158,11,.25); }
[data-bs-theme="dark"] .plan-banner-danger { background: rgba(239,68,68,.1); color: #fca5a5; border-color: rgba(239,68,68,.25); }
[data-bs-theme="dark"] .bg-primary-soft { background: rgba(37,99,235,.18); } [data-bs-theme="dark"] .bg-success-soft { background: rgba(22,163,74,.18); }
[data-bs-theme="dark"] .bg-info-soft { background: rgba(6,182,212,.16); } [data-bs-theme="dark"] .bg-warning-soft { background: rgba(245,158,11,.16); }
[data-bs-theme="dark"] .bg-danger-soft { background: rgba(239,68,68,.16); } [data-bs-theme="dark"] .bg-secondary-soft { background: #1f2937; }
[data-bs-theme="dark"] .bg-purple-soft { background: rgba(139,92,246,.18); } [data-bs-theme="dark"] .bg-teal-soft { background: rgba(20,184,166,.16); }
[data-bs-theme="dark"] .badge-soft-secondary { background: #1f2937; color: #cbd5e1; }
[data-bs-theme="dark"] .mini-stats a.is-alert { background: rgba(239,68,68,.1); border-color: rgba(239,68,68,.3); }
[data-bs-theme="dark"] .board-col { background: #0f172a; }
[data-bs-theme="dark"] .card-footer.bg-white { background: var(--card) !important; }
[data-bs-theme="dark"] .breadcrumb a { color: #94a3b8; }
[data-bs-theme="dark"] .code-block { background: #020617; }
[data-bs-theme="dark"] .alert-light { background: #0f172a; color: #cbd5e1; border-color: var(--border); }
[data-bs-theme="dark"] .site-logo-preview { background: repeating-conic-gradient(#1f2937 0% 25%, #111827 0% 50%) 50% / 16px 16px; }

@media (max-width: 991.98px) {
  .main { margin-left: 0; }
  .sidebar { box-shadow: 20px 0 60px -20px rgba(15,23,42,.4); }
}
@media print { .sidebar, .topbar, .plan-banner { display: none !important; } .main { margin-left: 0 !important; } }
/* backdrop-filter would make the nav the containing block of the fixed off-canvas menu on phones */
@media (max-width: 991.98px) { .lp-nav { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; } }
.code-box { background: #0f172a; color: #e2e8f0; border-color: #1e293b; font-size: .8rem; }
.code-box:focus { background: #0f172a; color: #fff; }
.seo-table th, .seo-table td { border-color: var(--border); }
.og-preview { width: 240px; aspect-ratio: 1200/630; object-fit: cover; border-radius: 10px; border: 1px solid var(--border); }
.og-empty { display: flex; align-items: center; justify-content: center; background: var(--bg); text-align: center; padding: .5rem; }
.char-count { font-size: .7rem; color: var(--muted); } .char-count.over { color: #dc2626; font-weight: 600; }

/* ---------- Email marketing ---------- */
.mk-quota { min-width: 200px; }
.mk-tpl { display: flex; flex-direction: column; height: 100%; padding: 1.3rem; border-radius: 16px; background: var(--card); border: 1px solid var(--border); color: var(--text); transition: border-color .15s, transform .15s, box-shadow .15s; }
.mk-tpl:hover { color: var(--text); border-color: rgba(var(--bs-primary-rgb), .4); transform: translateY(-2px); box-shadow: 0 14px 30px -18px rgba(15,23,42,.35); }
.mk-tpl-snip { font-size: .8rem; color: var(--muted); margin-top: .4rem; }
.mk-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: .15rem; padding: .5rem; border-bottom: 1px solid var(--border); position: sticky; top: 64px; z-index: 5; background: var(--card); border-radius: 16px 16px 0 0; }
.mk-toolbar > button, .mk-toolbar .dropdown > button, .mk-tool-file { border: 0; background: transparent; color: var(--text); border-radius: 8px; padding: .35rem .5rem; display: inline-flex; align-items: center; cursor: pointer; font-size: .95rem; margin: 0; }
.mk-toolbar > button:hover, .mk-toolbar .dropdown > button:hover, .mk-tool-file:hover, .mk-toolbar > button.active { background: var(--primary-50); color: var(--primary); }
.mk-sep { width: 1px; height: 22px; background: var(--border); margin: 0 .25rem; }
.mk-canvas { background: #f1f5f9; padding: 1.25rem; }
.mk-editor { max-width: 640px; margin: 0 auto; min-height: 420px; background: #fff; color: #334155; border-radius: 12px; padding: 2rem 1.75rem; border: 1px solid #e2e8f0; outline: none; font-family: Arial, Helvetica, sans-serif; font-size: 15px; line-height: 1.65; }
.mk-editor:focus { box-shadow: 0 0 0 3px rgba(var(--bs-primary-rgb), .18); }
.mk-editor h1 { font-size: 26px; color: #0f172a; } .mk-editor h2 { font-size: 21px; color: #0f172a; } .mk-editor h3 { font-size: 17px; color: #0f172a; }
.mk-editor img { max-width: 100%; height: auto; border-radius: 8px; }
.mk-editor blockquote { border-left: 4px solid var(--primary); background: #f8fafc; padding: .6rem 1rem; margin: 0 0 14px; }
.mk-editor a { color: var(--primary); }
.mk-editor a[data-button] { display: inline-block; background: var(--primary); color: #fff; text-decoration: none; font-weight: 700; padding: .7rem 1.4rem; border-radius: 8px; }
[data-bs-theme="dark"] .mk-canvas { background: #0b1120; }
.mk-sticky { position: sticky; top: 80px; }
.mk-aud { display: grid; gap: .5rem; }
.mk-aud-opt { display: flex; gap: .6rem; align-items: flex-start; padding: .65rem .75rem; border: 1px solid var(--border); border-radius: 12px; cursor: pointer; }
.mk-aud-opt:has(input:checked) { border-color: var(--primary); background: var(--primary-50); }
.mk-aud-opt input { margin-top: .25rem; } .mk-aud-opt strong { display: block; font-size: .88rem; } .mk-aud-opt small { color: var(--muted); font-size: .76rem; }
.mk-aud-sub { padding: 0 0 .25rem 1.9rem; }
.mk-count { display: flex; gap: .6rem; align-items: center; margin-top: 1rem; padding: .7rem .8rem; border-radius: 12px; background: var(--bg); font-size: .85rem; }
.mk-count i { color: var(--primary); font-size: 1.1rem; }
.mk-preview-frame { width: 100%; height: 72vh; border: 0; border-radius: 12px; background: #f1f5f9; transition: width .2s; }
.mk-drop { border: 2px dashed var(--border); border-radius: 16px; padding: 2rem; text-align: center; background: var(--bg); }
.mk-map th { min-width: 150px; vertical-align: top; }
@media (min-width: 992px) { .border-end-lg { border-right: 1px solid var(--border); } }
@media (max-width: 1199.98px) { .mk-sticky { position: static; } }

/* ---------- WhatsApp ---------- */
.wa-phone { padding: 1rem; }
.wa-chat { min-height: 260px; border-radius: 14px; padding: 1.2rem 1rem; background: #e5ddd5 radial-gradient(rgba(0,0,0,.035) 1px, transparent 1px) 0 0 / 14px 14px; display: flex; flex-direction: column; align-items: flex-start; }
[data-bs-theme="dark"] .wa-chat { background-color: #0b141a; }
.wa-bubble { background: #fff; color: #111b21; border-radius: 10px; padding: .55rem .75rem; font-size: .88rem; line-height: 1.45; box-shadow: 0 1px 1px rgba(0,0,0,.08); white-space: normal; word-break: break-word; }
.wa-out { max-width: 92%; border-top-left-radius: 2px; }
td .wa-bubble { background: #f0fdf4; border: 1px solid #dcfce7; box-shadow: none; }
[data-bs-theme="dark"] .wa-bubble { background: #1f2c34; color: #e9edef; }

/* v3.5 — "Works with": bigger logo-only tiles (name shown as tooltip / screen-reader label) */
.lp-works { flex-direction: column; align-items: stretch; gap: 1.1rem; }
.lp-works-label { text-align: center; }
.lp-works-list { justify-content: center; gap: .9rem; }
.lp-works-item.lp-works-logo { justify-content: center; width: 150px; height: 84px; padding: .7rem 1rem; border-radius: 16px; gap: 0; }
.lp-works-logo img { max-width: 100%; max-height: 52px; width: auto; height: auto; object-fit: contain; filter: grayscale(.15); transition: filter .15s, transform .15s; }
.lp-works-logo:hover img { filter: none; transform: scale(1.04); }
.lp-works-logo .int-icon.int-lg { width: 56px; height: 56px; font-size: 1.6rem; }
@media (max-width: 575.98px) {
  .lp-works-list { gap: .6rem; }
  .lp-works-item.lp-works-logo { width: calc(33.333% - .4rem); min-width: 96px; height: 72px; padding: .55rem .6rem; }
  .lp-works-logo img { max-height: 44px; }
}
/* v3.5 — phones: wide row gutters (g-5) made the page scroll sideways by a few pixels */
@media (max-width: 575.98px) { .row.g-5 { --bs-gutter-x: 1.5rem; } }
.lp-int-card > span:not(.int-icon) { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 575.98px) { .lp-int-card { gap: .5rem; padding: .75rem .7rem; } .lp-int-card > .bi { display: none; } }
.spam-note { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; padding: .85rem 1rem; margin-bottom: 1rem; background: var(--bs-body-bg, #fff); border: 1px solid var(--bs-border-color, #e2e8f0); border-radius: 12px; }
.spam-note > span { flex: 1 1 320px; } .spam-note > .bi { font-size: 1.1rem; }

/* ============ v3.6 — Website chatbot widget ============ */
.lc { --lc-c: var(--primary, #2563eb); font-family: 'Inter', system-ui, sans-serif; }
.lc:not(.lc-inline) { position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 1045; display: flex; flex-direction: column; align-items: flex-end; gap: .75rem; }
.has-chat .lp-top { bottom: 5.1rem; }
.lc-launch { width: 58px; height: 58px; border-radius: 50%; border: 0; background: var(--lc-c); color: #fff; font-size: 1.5rem; box-shadow: 0 12px 28px -8px rgba(var(--bs-primary-rgb), .65); display: inline-flex; align-items: center; justify-content: center; transition: transform .15s ease; order: 3; }
.lc-launch:hover { transform: scale(1.06); }
.lc-launch:focus-visible { outline: 3px solid rgba(var(--bs-primary-rgb), .35); outline-offset: 3px; }
.lc-i-close, .lc-open .lc-i-open { display: none; } .lc-open .lc-i-close { display: inline; font-size: 1.2rem; }
.lc-teaser { order: 2; position: relative; max-width: 260px; background: #fff; color: #0f172a; border-radius: 16px 16px 4px 16px; box-shadow: 0 16px 40px -12px rgba(15,23,42,.35); border: 1px solid #e2e8f0; animation: lcIn .25s ease; }
.lc-teaser-text { border: 0; background: none; text-align: left; padding: .8rem 1.9rem .8rem 1rem; font-size: .88rem; line-height: 1.45; color: inherit; }
.lc-teaser-x { position: absolute; top: 4px; right: 6px; border: 0; background: none; color: #94a3b8; font-size: 1.15rem; line-height: 1; padding: .2rem .35rem; }
.lc-panel { order: 1; width: 370px; height: min(600px, calc(100vh - 7.5rem)); background: #fff; color: #0f172a; border-radius: 20px; box-shadow: 0 24px 64px -16px rgba(15,23,42,.45); border: 1px solid #e2e8f0; display: flex; flex-direction: column; overflow: hidden; animation: lcIn .2s ease; }
.lc-panel[hidden] { display: none; }
.lc-inline .lc-panel { width: 100%; height: 540px; box-shadow: var(--shadow); animation: none; }
@keyframes lcIn { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
.lc-head { display: flex; align-items: center; gap: .65rem; padding: .85rem .9rem; background: var(--lc-c); color: #fff; }
.lc-avatar { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.95); color: var(--lc-c); display: inline-flex; align-items: center; justify-content: center; font-size: 1.15rem; overflow: hidden; flex-shrink: 0; }
.lc-avatar img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.lc-who { display: flex; flex-direction: column; line-height: 1.2; margin-right: auto; min-width: 0; }
.lc-who strong { font-size: .95rem; } .lc-who small { font-size: .74rem; opacity: .9; }
.lc-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #4ade80; margin-right: 5px; vertical-align: 1px; }
.lc-icon { border: 0; background: rgba(255,255,255,.14); color: #fff; width: 32px; height: 32px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; }
.lc-icon:hover { background: rgba(255,255,255,.26); }
.lc-body { flex: 1; overflow-y: auto; padding: 1rem .9rem .5rem; background: #f6f8fc; display: flex; flex-direction: column; gap: .55rem; overscroll-behavior: contain; }
.lc-msg { display: flex; } .lc-user { justify-content: flex-end; }
.lc-bubble { max-width: 86%; padding: .6rem .8rem; border-radius: 16px; font-size: .88rem; line-height: 1.5; word-wrap: break-word; overflow-wrap: anywhere; }
.lc-bot .lc-bubble { background: #fff; border: 1px solid #e7ebf2; border-bottom-left-radius: 5px; color: #1e293b; }
.lc-user .lc-bubble { background: var(--lc-c); color: #fff; border-bottom-right-radius: 5px; }
.lc-bot .lc-bubble a { color: var(--lc-c); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.lc-typing .lc-bubble { display: inline-flex; gap: 4px; padding: .75rem .9rem; }
.lc-typing span { width: 7px; height: 7px; border-radius: 50%; background: #94a3b8; animation: lcDot 1s infinite ease-in-out; }
.lc-typing span:nth-child(2) { animation-delay: .15s; } .lc-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes lcDot { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.lc-chips { display: flex; flex-wrap: wrap; gap: .4rem; padding: .35rem .9rem .5rem; background: #f6f8fc; }
.lc-chips:empty { display: none; }
.lc-chip { border: 1px solid rgba(var(--bs-primary-rgb), .35); background: #fff; color: var(--lc-c); border-radius: 999px; padding: .32rem .75rem; font-size: .8rem; font-weight: 600; }
.lc-chip:hover { background: var(--lc-c); color: #fff; }
.lc-form { display: flex; gap: .45rem; padding: .65rem; border-top: 1px solid #e7ebf2; background: #fff; }
.lc-form input { flex: 1; min-width: 0; border: 1px solid #e2e8f0; border-radius: 12px; padding: .6rem .8rem; font-size: .9rem; outline: none; background: #fff; color: #0f172a; }
.lc-form input:focus { border-color: rgba(var(--bs-primary-rgb), .6); box-shadow: 0 0 0 3px rgba(var(--bs-primary-rgb), .12); }
.lc-form button { border: 0; width: 42px; border-radius: 12px; background: var(--lc-c); color: #fff; }
.lc-foot { text-align: center; font-size: .7rem; color: #94a3b8; padding: 0 0 .5rem; background: #fff; }
.lc-foot a { color: inherit; text-decoration: underline; }
@media (max-width: 575.98px) {
  .lc:not(.lc-inline) { right: .8rem; bottom: .8rem; }
  .lc:not(.lc-inline) .lc-panel { position: fixed; inset: 0; width: 100%; height: 100%; height: 100dvh; border-radius: 0; border: 0; }
  .lc-open .lc-launch { display: none; }
  .lc-form input { font-size: 16px; }
  body.lc-lock { overflow: hidden; }
  .has-chat .lp-top { bottom: 4.6rem; right: .8rem; }
}
@media print { .lc { display: none !important; } }

/* Owner: chatbot */
.tab-count { display: inline-block; min-width: 18px; padding: 0 5px; margin-left: 4px; border-radius: 999px; background: #f59e0b; color: #fff; font-size: .68rem; line-height: 18px; text-align: center; }
.chat-row { display: flex; gap: .85rem; align-items: flex-start; padding: .9rem 1rem; }
.chat-row.unread { background: rgba(var(--bs-primary-rgb), .04); }
.chat-row.unread .chat-row-top strong::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--primary); margin-right: .4rem; vertical-align: 1px; }
.chat-row-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .15rem; }
.chat-row-top { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.chat-row-q { color: var(--text); opacity: .85; font-size: .88rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat-transcript { padding: 1.25rem; display: flex; flex-direction: column; gap: .9rem; max-height: 72vh; overflow-y: auto; }
.ct-msg { display: flex; flex-direction: column; max-width: 82%; }
.ct-user { align-self: flex-end; align-items: flex-end; }
.ct-bubble { padding: .65rem .9rem; border-radius: 16px; font-size: .9rem; line-height: 1.5; overflow-wrap: anywhere; }
.ct-bot .ct-bubble { background: var(--bg); border: 1px solid var(--border); border-bottom-left-radius: 5px; }
.ct-user .ct-bubble { background: var(--primary); color: #fff; border-bottom-right-radius: 5px; }
.ct-meta { font-size: .72rem; color: var(--muted); margin-top: .25rem; }
.text-truncate-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Owner: news */
.news-thumb { width: 64px; height: 44px; border-radius: 8px; overflow: hidden; background: var(--bg); border: 1px solid var(--border); display: inline-flex; align-items: center; justify-content: center; color: #94a3b8; flex-shrink: 0; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-edit-img { width: 100%; max-height: 200px; object-fit: cover; border-radius: 10px; border: 1px solid var(--border); }
.news-canvas .mk-editor { max-width: 760px; font-family: 'Inter', system-ui, sans-serif; font-size: 16px; line-height: 1.75; min-height: 460px; }
.mk-editor[data-placeholder]:empty::before { content: attr(data-placeholder); color: #94a3b8; }
.gp-preview { border: 1px solid var(--border); border-radius: 12px; padding: .9rem 1rem; background: var(--card); font-family: Arial, sans-serif; }
.gp-url { color: #202124; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gp-title { color: #1a0dab; font-size: 19px; line-height: 1.3; margin: 2px 0 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gp-desc { color: #4d5156; font-size: 13.5px; line-height: 1.5; }
[data-bs-theme="dark"] .gp-url { color: #bdc1c6; } [data-bs-theme="dark"] .gp-title { color: #8ab4f8; } [data-bs-theme="dark"] .gp-desc { color: #bdc1c6; }

/* Public: news */
.nw-bar { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; margin-bottom: 2rem; }
.nw-cats { display: flex; flex-wrap: wrap; gap: .5rem; }
.nw-cats a { padding: .45rem .95rem; border-radius: 999px; border: 1px solid #e2e8f0; background: #fff; color: #334155; font-weight: 500; font-size: .9rem; }
.nw-cats a span { color: #94a3b8; font-size: .78rem; margin-left: .2rem; }
.nw-cats a:hover { border-color: var(--primary); color: var(--primary); }
.nw-cats a.active { background: #0f172a; border-color: #0f172a; color: #fff; } .nw-cats a.active span { color: #cbd5e1; }
.nw-search { position: relative; flex: 0 1 280px; }
.nw-search i { position: absolute; left: .85rem; top: 50%; transform: translateY(-50%); color: #94a3b8; }
.nw-search input { width: 100%; border: 1px solid #e2e8f0; border-radius: 999px; padding: .55rem 1rem .55rem 2.3rem; outline: none; background: #fff; }
.nw-search input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(var(--bs-primary-rgb), .12); }
.nw-card { height: 100%; display: flex; flex-direction: column; background: #fff; border: 1px solid #e8ecf3; border-radius: 18px; overflow: hidden; transition: transform .18s ease, box-shadow .18s ease; }
.nw-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -20px rgba(15,23,42,.3); }
.nw-card-img { display: block; aspect-ratio: 1200 / 630; background: linear-gradient(135deg, rgba(var(--bs-primary-rgb), .12), rgba(139,92,246,.14)); overflow: hidden; }
.nw-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.nw-card:hover .nw-card-img img { transform: scale(1.03); }
.nw-ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 2.4rem; color: rgba(var(--bs-primary-rgb), .45); }
.nw-card-body { padding: 1.2rem 1.3rem 1.35rem; display: flex; flex-direction: column; flex: 1; }
.nw-meta { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; font-size: .8rem; color: #64748b; margin-bottom: .55rem; }
.nw-cat { background: rgba(var(--bs-primary-rgb), .1); color: var(--primary); font-weight: 600; padding: .15rem .6rem; border-radius: 999px; font-size: .75rem; }
.nw-title { font-size: 1.12rem; font-weight: 700; line-height: 1.35; margin-bottom: .5rem; letter-spacing: -.01em; }
.nw-title a { color: #0f172a; } .nw-title a:hover { color: var(--primary); }
.nw-excerpt { color: #475569; font-size: .93rem; line-height: 1.6; margin-bottom: 1rem; }
.nw-more { margin-top: auto; font-weight: 600; font-size: .9rem; }
.nw-card-big { flex-direction: row; }
.nw-card-big .nw-card-img { flex: 0 0 56%; aspect-ratio: auto; min-height: 320px; }
.nw-card-big .nw-card-body { padding: 2rem 2.2rem; justify-content: center; }
.nw-card-big .nw-title { font-size: 1.7rem; }
@media (max-width: 767.98px) { .nw-card-big { flex-direction: column; } .nw-card-big .nw-card-img { min-height: 0; aspect-ratio: 1200 / 630; } .nw-card-big .nw-card-body { padding: 1.3rem; } .nw-card-big .nw-title { font-size: 1.3rem; } .nw-search { flex-basis: 100%; } }
.nw-empty { text-align: center; padding: 4rem 1rem; border: 1px dashed #cbd5e1; border-radius: 18px; color: #64748b; }
.nw-empty > i { font-size: 2.6rem; color: #94a3b8; }
.nw-pages { display: flex; justify-content: center; gap: .35rem; margin-top: 2.5rem; flex-wrap: wrap; }
.nw-pages a, .nw-pages span { min-width: 40px; height: 40px; padding: 0 .6rem; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; border: 1px solid #e2e8f0; background: #fff; color: #334155; font-weight: 600; }
.nw-pages span { border: 0; background: none; }
.nw-pages a.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.nw-pages a.disabled { pointer-events: none; opacity: .45; }
.nw-preview { background: #fef3c7; color: #92400e; text-align: center; padding: .55rem 1rem; font-size: .9rem; }
.nw-head .lp-pagehead-title { max-width: 900px; }
.nw-byline { display: flex; align-items: center; gap: .7rem; margin-top: 1.25rem; color: #475569; font-size: .9rem; line-height: 1.4; }
.nw-author-dot { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), #8b5cf6); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; }
.nw-hero-img { margin: 0 0 2rem; border-radius: 18px; overflow: hidden; border: 1px solid #e8ecf3; }
.nw-hero-img img { width: 100%; height: auto; display: block; }
.nw-body { font-size: 1.06rem; line-height: 1.8; color: #1e293b; overflow-wrap: break-word; }
.nw-body h2 { font-size: 1.55rem; font-weight: 800; margin: 2.2rem 0 .8rem; letter-spacing: -.015em; color: #0f172a; }
.nw-body h3 { font-size: 1.22rem; font-weight: 700; margin: 1.8rem 0 .6rem; color: #0f172a; }
.nw-body h1 { font-size: 1.7rem; font-weight: 800; }
.nw-body p { margin-bottom: 1.15rem; }
.nw-body ul, .nw-body ol { margin-bottom: 1.2rem; padding-left: 1.4rem; } .nw-body li { margin-bottom: .4rem; }
.nw-body img { max-width: 100%; height: auto; border-radius: 12px; margin: .5rem 0; }
.nw-body blockquote { border-left: 4px solid var(--primary); background: rgba(var(--bs-primary-rgb), .06); padding: 1rem 1.2rem; border-radius: 0 12px 12px 0; margin: 1.5rem 0; color: #334155; }
.nw-body a { text-decoration: underline; text-underline-offset: 3px; }
.nw-body hr { margin: 2rem 0; opacity: .15; }
.nw-tags { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 2rem; }
.nw-tags a { background: #f1f5f9; color: #475569; padding: .3rem .75rem; border-radius: 999px; font-size: .85rem; }
.nw-tags a:hover { background: rgba(var(--bs-primary-rgb), .1); color: var(--primary); }
.nw-share { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid #e8ecf3; }
.nw-share a, .nw-share button { height: 40px; min-width: 40px; padding: 0 .7rem; border-radius: 10px; border: 1px solid #e2e8f0; background: #fff; color: #334155; display: inline-flex; align-items: center; justify-content: center; font-size: 1.05rem; }
.nw-share .s-wa:hover { color: #16a34a; border-color: #16a34a; } .nw-share .s-fb:hover { color: #1877f2; border-color: #1877f2; }
.nw-share .s-x:hover { color: #000; border-color: #000; } .nw-share .s-in:hover { color: #0a66c2; border-color: #0a66c2; }
.nw-share button.copied { color: #16a34a; border-color: #16a34a; }
.nw-side { position: sticky; top: 96px; }
.nw-latest { list-style: none; padding: 0; margin: 0; display: grid; gap: .85rem; }
.nw-latest a { color: #0f172a; font-weight: 600; font-size: .92rem; line-height: 1.4; display: block; }
.nw-latest a:hover { color: var(--primary); } .nw-latest small { color: #94a3b8; font-size: .78rem; }
.nw-cta { border-radius: 18px; padding: 1.4rem; background: linear-gradient(135deg, var(--primary), #7c3aed); color: #fff; }
.nw-cta > i { font-size: 1.5rem; display: block; margin-bottom: .5rem; } .nw-cta strong { display: block; font-size: 1.05rem; } .nw-cta p { opacity: .9; font-size: .9rem; margin: .4rem 0 1rem; }
.nw-related { margin-top: 4rem; padding-top: 3rem; border-top: 1px solid #e8ecf3; }
@media (max-width: 991.98px) { .nw-side { position: static; } }

/* v3.7 — Editors (News + Email campaigns): the page header covered the first lines while typing / jumping to the top.
   The toolbar now stays pinned under the header and the writing area scrolls inside its own box below it,
   sized to the screen — so no line is ever hidden behind the header or the toolbar. */
.card-soft:has(> .mk-toolbar) { overflow: visible; }
.mk-toolbar { position: sticky; top: 64px; }
.mk-canvas { --mk-tb: 52px; max-height: calc(100vh - 64px - var(--mk-tb) - 12px); min-height: 320px; overflow-y: auto; overscroll-behavior: contain; scroll-padding: 1.25rem 0; }
.mk-canvas > textarea { min-height: 360px; }
.card-soft > .mk-canvas:last-child { border-radius: 0 0 var(--radius) var(--radius); }
@media (max-width: 767.98px) { .mk-canvas { padding: .75rem; } .mk-editor { padding: 1.25rem 1rem; } }
html { scroll-padding-top: 80px; }
/* v3.7 — Email marketing on phones: the "Emails this month" box was wider than its card */
.kpi-card .mk-quota { min-width: 0; }
.mk-quota .d-flex { gap: .5rem; flex-wrap: wrap; }
