html[dir="rtl"] body { font-family: Tahoma, Arial, sans-serif; text-align: right; background:#f5f6fa; color:#18202f; }
html[dir="rtl"] .sidebar-inner, html[dir="rtl"] .dropdown-menu { text-align:right; }
html[dir="rtl"] .sidebar .nav-link i { margin-left:.65rem!important; margin-right:0!important; }
html[dir="rtl"] .ml-2 { margin-left:0!important; margin-right:.5rem!important; }
html[dir="rtl"] .mr-1, html[dir="rtl"] .mr-2, html[dir="rtl"] .mr-3 { margin-right:0!important; margin-left:.5rem!important; }
html[dir="rtl"] .text-right { text-align:left!important; }
html[dir="rtl"] .dropdown-menu-right { left:0!important; right:auto!important; }
.baseera-sidebar{background:linear-gradient(180deg,#111827 0%,#172554 58%,#312e81 100%)!important;width:268px;position:relative;overflow:hidden}
.baseera-sidebar:after{content:"";position:absolute;width:240px;height:240px;border-radius:50%;background:rgba(99,102,241,.15);bottom:-120px;right:-100px;pointer-events:none}
.baseera-brand{display:flex;align-items:center;gap:12px;color:#fff!important;text-decoration:none!important;direction:rtl}.baseera-mark{width:48px;height:48px;border-radius:16px;background:linear-gradient(135deg,#7c3aed,#22d3ee);display:flex;align-items:center;justify-content:center;position:relative;box-shadow:0 10px 25px rgba(34,211,238,.2)}.baseera-mark i{font-size:20px}.brand-eye{position:absolute;width:8px;height:8px;background:#fff;border-radius:50%;top:8px;right:8px;box-shadow:0 0 0 4px rgba(255,255,255,.16)}.baseera-word{display:flex;flex-direction:column;line-height:1.15}.baseera-word b{font-size:25px;letter-spacing:-1px}.baseera-word small{font-size:10px;color:#a5b4fc;margin-top:5px;letter-spacing:.2px}
.baseera-sidebar .sidebar-inner{position:relative;z-index:1}.baseera-sidebar .nav-item{margin:5px 0}.baseera-sidebar .nav-link{color:#c7d2fe!important;border-radius:12px;padding:12px 15px;transition:.2s}.baseera-sidebar .nav-link:hover{background:rgba(255,255,255,.08);color:#fff!important;transform:translateX(-3px)}.baseera-sidebar .nav-item.active .nav-link{background:linear-gradient(90deg,rgba(124,58,237,.95),rgba(79,70,229,.9));color:#fff!important;box-shadow:0 8px 22px rgba(49,46,129,.35)}
.main-header{background:rgba(255,255,255,.88);backdrop-filter:blur(15px);border-bottom:1px solid #eef0f5;position:sticky;top:0;z-index:20}.main-header header{margin-bottom:0!important}.main-content{padding-top:2rem}.main-header h1{font-weight:700;color:#172554;letter-spacing:-.5px}
.btn-primary{background:linear-gradient(135deg,#4f46e5,#7c3aed);border:0;box-shadow:0 7px 18px rgba(79,70,229,.18)}.btn-primary:hover{background:linear-gradient(135deg,#4338ca,#6d28d9);transform:translateY(-1px)}
.form-control{border:1px solid #e1e5ed;border-radius:10px;min-height:42px}.form-control:focus{border-color:#6366f1;box-shadow:0 0 0 3px rgba(99,102,241,.12)}
.card { border:0; border-radius:16px; box-shadow:0 8px 30px rgba(30,41,59,.055); overflow:visible}.card-header{background:#fff;border-bottom:1px solid #f0f1f5;padding:1.1rem 1.25rem;border-radius:16px 16px 0 0}
.table thead th { border-top:0; color:#6d7280; font-size:.78rem; white-space:nowrap; }
.insight-card { transition:transform .15s ease; }.insight-card:hover{transform:translateY(-2px)}
.insight-icon { width:44px;height:44px;border-radius:12px;display:flex;align-items:center;justify-content:center;margin-left:12px;background:#eef0ff;color:#5d63ff;font-size:1.1rem }
.insight-success{background:#e9f8f0;color:#27ae60}.insight-warning{background:#fff5df;color:#e29a17}.insight-info{background:#e7f5ff;color:#2196f3}.insight-purple{background:#f2eaff;color:#8e44ad}
.url-cell{max-width:300px}.url-cell a{display:block;max-width:300px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.command-hero{min-height:285px;border-radius:24px;background:linear-gradient(125deg,#111827,#1e1b4b 52%,#312e81);position:relative;overflow:hidden;color:#fff;padding:42px 48px;display:flex;align-items:center;justify-content:space-between;box-shadow:0 22px 55px rgba(30,27,75,.2)}.hero-grid{position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px);background-size:32px 32px;mask-image:linear-gradient(to left,#000,transparent)}.hero-glow{position:absolute;width:370px;height:370px;border-radius:50%;background:rgba(99,102,241,.25);filter:blur(5px);left:-100px;top:-180px}.hero-content,.hero-score{position:relative;z-index:2}.hero-kicker{font-size:12px;color:#a5f3fc;background:rgba(34,211,238,.08);border:1px solid rgba(103,232,249,.16);padding:8px 13px;border-radius:100px}.hero-kicker i{font-size:6px;color:#2dd4bf;margin-left:7px;box-shadow:0 0 0 5px rgba(45,212,191,.1);border-radius:50%}.hero-content h2{font-size:34px;font-weight:700;margin:20px 0 10px;letter-spacing:-1px}.hero-content p{color:#cbd5e1;margin-bottom:25px}.hero-actions{display:flex;gap:10px}.hero-primary{background:#fff;color:#312e81!important;padding:11px 20px;border-radius:11px;font-weight:700}.hero-secondary{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.15);color:#fff!important;padding:11px 20px;border-radius:11px}.hero-score{text-align:center;margin-left:25px}.score-ring{--score:0;width:145px;height:145px;border-radius:50%;background:conic-gradient(#22d3ee calc(var(--score)*1%),rgba(255,255,255,.1) 0);display:grid;place-items:center;position:relative}.score-ring:before{content:"";position:absolute;inset:9px;border-radius:50%;background:#1d1b4b}.score-ring div{position:relative;display:flex;flex-direction:column}.score-ring b{font-size:27px}.score-ring small{color:#a5b4fc}.hero-score>span{display:block;color:#94a3b8;font-size:11px;margin-top:11px}
.metric-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.metric-tile{background:#fff;border-radius:18px;padding:20px 22px;box-shadow:0 8px 30px rgba(30,41,59,.05);position:relative;overflow:hidden}.metric-top{display:flex;justify-content:space-between;align-items:center}.metric-icon{width:42px;height:42px;border-radius:12px;display:grid;place-items:center}.metric-icon.indigo{background:#eef2ff;color:#4f46e5}.metric-icon.cyan{background:#ecfeff;color:#0891b2}.metric-icon.violet{background:#f5f3ff;color:#7c3aed}.metric-icon.amber{background:#fffbeb;color:#d97706}.metric-trend{font-size:11px;color:#94a3b8;background:#f8fafc;padding:5px 9px;border-radius:20px}.metric-tile>strong{display:block;font-size:29px;margin-top:15px;color:#172554}.metric-tile>strong small{font-size:15px;color:#6366f1}.metric-tile p{margin:2px 0 7px;color:#8490a3;font-size:12px}.metric-line{height:3px;width:45px;border-radius:10px;background:#6366f1}.cyan-line{background:#06b6d4}.violet-line{background:#8b5cf6}.amber-line{background:#f59e0b}
.dashboard-panel{overflow:hidden}.panel-heading{display:flex;align-items:center;justify-content:space-between;padding:22px 24px;border-bottom:1px solid #f1f3f7}.panel-eyebrow{font-size:10px;text-transform:uppercase;color:#8b5cf6;font-weight:700;letter-spacing:.5px}.panel-heading h3{font-size:18px;margin:3px 0 0;color:#172554;font-weight:700}.live-badge{font-size:10px;color:#059669;background:#ecfdf5;padding:7px 10px;border-radius:20px}.live-badge i{display:inline-block;width:6px;height:6px;background:#10b981;border-radius:50%;margin-left:6px;box-shadow:0 0 0 4px rgba(16,185,129,.1)}.chart-wrap{height:310px;padding:22px}.quick-launch{padding:10px 20px}.quick-launch>a{display:grid;grid-template-columns:45px 1fr 15px;align-items:center;gap:12px;padding:14px 3px;border-bottom:1px solid #f1f3f7;color:#172554;text-decoration:none;transition:.15s}.quick-launch>a:last-child{border:0}.quick-launch>a:hover{transform:translateX(-4px)}.quick-icon{width:42px;height:42px;border-radius:12px;background:#eef2ff;color:#4f46e5;display:grid;place-items:center}.quick-icon.cyan{background:#ecfeff;color:#0891b2}.quick-icon.amber{background:#fffbeb;color:#d97706}.quick-icon.violet{background:#f5f3ff;color:#7c3aed}.quick-launch b{display:block;font-size:13px}.quick-launch small{color:#94a3b8}.quick-launch>a>i{color:#cbd5e1;font-size:10px}.panel-link{font-size:12px;color:#6366f1}.panel-link i{margin-right:5px}.modern-table td{vertical-align:middle;padding:15px 24px}.modern-table th{padding:12px 24px;background:#fafbfc}.campaign-name{display:flex;align-items:center;gap:11px;color:#172554}.campaign-name>span{width:38px;height:38px;border-radius:12px;background:linear-gradient(135deg,#eef2ff,#e0e7ff);color:#4f46e5;display:grid;place-items:center;font-weight:700}.campaign-name b,.campaign-name small{display:block}.campaign-name small{color:#94a3b8;font-size:10px;margin-top:3px}.soft-stat{padding:6px 10px;border-radius:20px;font-size:11px}.soft-stat.success{color:#059669;background:#ecfdf5}.soft-stat.violet{color:#7c3aed;background:#f5f3ff}.row-arrow{width:32px;height:32px;border-radius:9px;background:#f8fafc;color:#64748b;display:grid;place-items:center}.empty-state{text-align:center;padding:50px 15px}.empty-state>span{width:60px;height:60px;border-radius:18px;background:#eef2ff;color:#6366f1;display:grid;place-items:center;margin:0 auto 15px;font-size:20px}.empty-state h4{font-size:17px;color:#172554}.empty-state p{color:#94a3b8}
.funnel-wrap{padding:25px}.funnel-step{display:grid;grid-template-columns:110px 1fr 45px;gap:13px;align-items:center;margin-bottom:22px}.funnel-label{display:flex;justify-content:space-between;font-size:12px}.funnel-label b{color:#172554}.funnel-track{height:12px;border-radius:20px;background:#f1f5f9;overflow:hidden}.funnel-track i{display:block;height:100%;border-radius:20px;transition:width .5s}.funnel-step>small{color:#94a3b8}.segment-list{padding:14px 22px}.segment-list>a{display:grid;grid-template-columns:13px 1fr auto;gap:13px;align-items:center;padding:20px 5px;border-bottom:1px solid #f1f3f7;color:#172554}.segment-list>a:last-child{border:0}.segment-list b,.segment-list small{display:block}.segment-list small{color:#94a3b8;margin-top:4px}.segment-list strong{font-size:23px}.segment-dot{width:10px;height:10px;border-radius:50%}.segment-dot.hot{background:#f59e0b;box-shadow:0 0 0 6px #fffbeb}.segment-dot.dormant{background:#94a3b8;box-shadow:0 0 0 6px #f1f5f9}.interest-cloud{padding:25px;display:flex;flex-wrap:wrap;gap:9px}.interest-cloud span{padding:9px 12px;border-radius:11px;background:#f8fafc;color:#475569;font-size:11px;border:1px solid #eef2f7}.interest-cloud span i{color:#8b5cf6;margin-left:7px}.interest-cloud span b{background:#e0e7ff;color:#4f46e5;border-radius:20px;padding:2px 6px;margin-right:5px}
.back-link{color:#64748b;font-size:12px}.customer-hero{background:linear-gradient(125deg,#111827,#312e81);border-radius:22px;color:#fff;padding:35px 40px;display:flex;align-items:center;position:relative;overflow:hidden}.customer-hero:after{content:"";position:absolute;width:300px;height:300px;border-radius:50%;background:rgba(34,211,238,.1);left:-100px;top:-180px}.customer-avatar{width:76px;height:76px;border-radius:22px;background:linear-gradient(135deg,#8b5cf6,#22d3ee);display:grid;place-items:center;font-size:30px;font-weight:700;margin-left:20px}.customer-identity{flex:1}.intelligence-label{font-size:10px;color:#67e8f9}.customer-identity h2{font-size:26px;margin:7px 0 3px}.customer-identity p{color:#a5b4fc;margin:0}.customer-tags span{display:inline-block;background:rgba(255,255,255,.08);padding:5px 9px;border-radius:20px;font-size:10px;margin:10px 0 0 5px}.engagement-score{display:flex;align-items:center;flex-direction:column;position:relative;z-index:1}.engagement-score .score-ring{width:105px;height:105px}.engagement-score .score-ring b{font-size:22px}.engagement-score>span{font-size:11px;margin-top:8px;padding:4px 9px;border-radius:20px}.level-champion{background:#ecfdf5;color:#10b981}.level-warm{background:#fffbeb;color:#f59e0b}.level-watching{background:#eff6ff;color:#3b82f6}.level-dormant{background:#f1f5f9;color:#64748b}.engagement-score>small{color:#94a3b8;margin-top:5px}.customer-metrics .metric-tile>span{font-size:11px;color:#94a3b8}.customer-metrics .date-value{font-size:14px;margin-top:18px}.activity-timeline{padding:10px 25px}.timeline-item{display:grid;grid-template-columns:42px 1fr auto;gap:14px;padding:18px 0;border-bottom:1px solid #f1f3f7;align-items:start}.timeline-icon{width:40px;height:40px;border-radius:12px;background:#eef2ff;color:#6366f1;display:grid;place-items:center}.type-clicked .timeline-icon{background:#ecfeff;color:#0891b2}.type-bounced .timeline-icon,.type-complained .timeline-icon{background:#fef2f2;color:#dc2626}.timeline-item b{font-size:13px;color:#172554}.timeline-item p{font-size:11px;color:#64748b;margin:3px 0}.timeline-item a{display:block;max-width:400px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:10px}.timeline-item time{font-size:10px;color:#94a3b8}.smart-recommendation{border-radius:16px;background:linear-gradient(135deg,#fffbeb,#fff7ed);border:1px solid #fde68a;padding:20px;display:flex;gap:13px}.smart-recommendation>i{width:38px;height:38px;border-radius:11px;background:#f59e0b;color:#fff;display:grid;place-items:center}.smart-recommendation b{font-size:12px;color:#92400e}.smart-recommendation p{font-size:11px;color:#a16207;margin:5px 0 0;line-height:1.7}
.auth-shell{min-height:100vh;display:grid;grid-template-columns:1.05fr .95fr;background:#fff;direction:ltr}.auth-visual{position:relative;overflow:hidden;background:linear-gradient(145deg,#0f172a,#1e1b4b 55%,#312e81);display:flex;align-items:center;padding:9%;color:#fff;direction:rtl}.auth-visual:before{content:"";position:absolute;inset:0;background-image:radial-gradient(rgba(255,255,255,.09) 1px,transparent 1px);background-size:30px 30px}.visual-orb{position:absolute;border-radius:50%}.orb-one{width:360px;height:360px;background:rgba(124,58,237,.28);top:-110px;left:-100px}.orb-two{width:250px;height:250px;background:rgba(34,211,238,.14);bottom:-70px;right:-50px}.auth-story{position:relative;z-index:2;max-width:570px}.auth-story .eyebrow{display:inline-block;color:#67e8f9;background:rgba(34,211,238,.09);border:1px solid rgba(103,232,249,.2);padding:8px 14px;border-radius:100px;font-size:13px}.auth-story h1{font-size:58px;line-height:1.15;margin:24px 0;font-weight:700;letter-spacing:-2px}.auth-story h1 span{background:linear-gradient(90deg,#a78bfa,#67e8f9);-webkit-background-clip:text;color:transparent}.auth-story>p{font-size:18px;line-height:1.9;color:#c7d2fe;max-width:520px}.story-stats{display:flex;gap:35px;margin-top:50px}.story-stats div{display:flex;flex-direction:column}.story-stats b{font-size:22px}.story-stats small{color:#94a3b8;margin-top:5px}.auth-form-side{display:flex;align-items:center;justify-content:center;padding:40px;direction:rtl;background:linear-gradient(145deg,#fff,#f8faff)}.auth-card-wrap{width:100%;max-width:470px}.auth-brand .baseera-brand{justify-content:center;color:#172554!important}.auth-brand .baseera-word small{color:#6366f1}.auth-card{box-shadow:none;overflow:visible;background:transparent}.auth-card .card-body{padding:1.5rem 1.25rem}.auth-card h2{font-size:28px;font-weight:700;color:#172554}.auth-card .card-header p{color:#7b8496;margin:8px 0 0}.auth-submit{padding:11px 28px;border-radius:10px}.auth-card .form-check{padding-right:1.25rem;padding-left:0}.auth-card .form-check-input{margin-right:-1.25rem;margin-left:0}
@media(max-width:767px){.main-content{padding-left:1rem!important;padding-right:1rem!important}.insight-cards .col-6{padding-left:6px;padding-right:6px}.insight-icon{display:none}}
.report-customer{display:flex;align-items:center;gap:10px;color:#172554!important;min-width:210px}.report-customer>span{width:36px;height:36px;border-radius:11px;background:linear-gradient(135deg,#e0e7ff,#cffafe);color:#4f46e5;display:grid;place-items:center;font-weight:700}.report-customer b,.report-customer small{display:block}.report-customer b{font-size:12px}.report-customer small{font-size:10px;color:#94a3b8;margin-top:2px}.export-intelligence{border-radius:10px;color:#4f46e5;background:#eef2ff;border:1px solid #e0e7ff}
.smart-search-shell{position:relative;width:min(34vw,430px);margin:0 auto;background:#f8fafc;border:1px solid #e9edf3;border-radius:13px;height:44px}.smart-search-shell>i{position:absolute;right:14px;top:14px;color:#94a3b8}.smart-search-shell input{width:100%;height:100%;border:0;background:transparent;padding:0 42px 0 60px;outline:0;font-size:12px}.smart-search-shell kbd{position:absolute;left:10px;top:9px;background:#fff;color:#94a3b8;border:1px solid #e2e8f0;box-shadow:0 1px 2px rgba(15,23,42,.05);border-radius:6px;padding:3px 7px}.smart-results{display:none;position:absolute;top:51px;right:0;left:0;background:#fff;border-radius:15px;box-shadow:0 20px 55px rgba(15,23,42,.16);border:1px solid #edf0f5;padding:9px;z-index:100;max-height:430px;overflow:auto}.smart-results.show{display:block}.smart-results .result-title{font-size:9px;color:#8b5cf6;font-weight:700;padding:8px 10px 5px}.smart-results>a{display:grid;grid-template-columns:37px 1fr 15px;gap:10px;align-items:center;padding:10px;border-radius:10px;color:#172554}.smart-results>a:hover{background:#f8fafc;text-decoration:none}.smart-results>a>span{width:35px;height:35px;border-radius:10px;background:#eef2ff;color:#6366f1;display:grid;place-items:center}.smart-results b,.smart-results small{display:block}.smart-results b{font-size:11px}.smart-results small{font-size:9px;color:#94a3b8}.smart-results>a>i{color:#cbd5e1;font-size:9px}.smart-results>p{text-align:center;color:#94a3b8;font-size:11px;padding:20px;margin:0}
.best-time{font-size:10px;color:#4f46e5;background:#eef2ff;border-radius:20px;padding:7px 11px}.best-time i{margin-left:5px}.hour-heatmap{display:grid;grid-template-columns:repeat(24,1fr);gap:5px;padding:38px 28px 12px;align-items:end}.hour-cell{height:115px;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:8px}.hour-cell i{display:block;width:100%;height:80px;border-radius:6px;background:linear-gradient(180deg,#22d3ee,#6366f1)}.hour-cell span{font-size:8px;color:#94a3b8}.heatmap-legend{display:flex;justify-content:center;align-items:center;gap:6px;font-size:9px;color:#94a3b8;padding-bottom:22px}.heatmap-legend i{width:12px;height:8px;border-radius:3px;background:#e0e7ff}.heatmap-legend i.mid{background:#a5b4fc}.heatmap-legend i.high{background:#6366f1}.advisor-badge{font-size:9px;color:#7c3aed;background:#f5f3ff;padding:6px 9px;border-radius:20px}.advisor-badge i{margin-left:4px}.recommendation-list{padding:10px 20px;max-height:260px;overflow:auto}.recommendation-item{display:flex;gap:12px;padding:13px 2px;border-bottom:1px solid #f1f3f7}.recommendation-item:last-child{border:0}.recommendation-item>span{min-width:38px;height:38px;border-radius:11px;background:#fffbeb;color:#d97706;display:grid;place-items:center}.recommendation-item b{font-size:11px;color:#172554}.recommendation-item p{font-size:9px;color:#7b8798;line-height:1.6;margin:3px 0 0}.tone-violet>span{background:#f5f3ff;color:#7c3aed}.tone-cyan>span{background:#ecfeff;color:#0891b2}.tone-slate>span{background:#f1f5f9;color:#64748b}.tone-green>span{background:#ecfdf5;color:#059669}.pulse-feed{display:grid;grid-template-columns:1fr 1fr;padding:8px 22px}.pulse-feed>a{display:grid;grid-template-columns:42px 1fr auto auto;gap:11px;align-items:center;padding:14px 5px;border-bottom:1px solid #f1f3f7;color:#172554}.pulse-feed>a:nth-child(odd){margin-left:20px}.pulse-avatar{width:39px;height:39px;border-radius:12px;background:linear-gradient(135deg,#e0e7ff,#cffafe);color:#4f46e5;display:grid;place-items:center;font-weight:700}.pulse-feed b{font-size:11px}.pulse-feed p{font-size:9px;color:#94a3b8;margin:2px 0}.pulse-kind{font-size:9px;padding:5px 8px;border-radius:20px}.pulse-kind.clicked{background:#ecfeff;color:#0891b2}.pulse-kind.opened{background:#f5f3ff;color:#7c3aed}.pulse-kind i{margin-left:4px}.pulse-feed time{font-size:8px;color:#94a3b8}
.event-meta{display:flex;flex-wrap:wrap;gap:10px;margin-top:8px}.event-meta span{font-size:8px;color:#94a3b8;background:#f8fafc;padding:4px 7px;border-radius:6px}.event-meta i{margin-left:4px;color:#6366f1}.automated-badge{font-size:8px!important;color:#b45309;background:#fffbeb;padding:3px 6px;border-radius:10px;margin-right:5px;font-weight:400}
@media(max-width:991px){.auth-shell{display:block}.auth-visual{display:none}.auth-form-side{min-height:100vh;padding:22px}.metric-grid{grid-template-columns:repeat(2,1fr)}.command-hero{padding:30px}.hero-score{display:none}.pulse-feed{grid-template-columns:1fr}.pulse-feed>a:nth-child(odd){margin-left:0}.hour-heatmap{gap:3px;padding-left:15px;padding-right:15px}.hour-cell{height:90px}}
@media(max-width:575px){.command-hero{min-height:320px;padding:25px}.hero-content h2{font-size:27px}.hero-actions{flex-direction:column}.metric-grid{grid-template-columns:1fr 1fr;gap:9px}.metric-tile{padding:15px}.metric-tile>strong{font-size:22px}.modern-table td,.modern-table th{padding:12px}.chart-wrap{height:250px;padding:12px}.hour-heatmap{overflow-x:auto;grid-template-columns:repeat(24,18px);justify-content:start}.funnel-step{grid-template-columns:75px 1fr 35px}.customer-hero{padding:25px;flex-wrap:wrap}.customer-avatar{width:58px;height:58px}.engagement-score{margin-top:20px;width:100%}.pulse-kind{display:none}}
.dashboard-panel{overflow:visible!important}.campaign-intel-hero,.health-hero{border-radius:22px;background:linear-gradient(125deg,#111827,#312e81);color:#fff;padding:34px 40px;display:flex;justify-content:space-between;align-items:center;overflow:hidden}.campaign-intel-hero h2,.health-hero h2{font-size:27px;margin:8px 0}.campaign-intel-hero p,.health-hero p{color:#a5b4fc;margin:0}.campaign-health,.health-score{text-align:center;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);border-radius:16px;padding:18px 25px}.campaign-health b,.health-score b{display:block;font-size:25px}.campaign-health small,.health-score small{color:#a5b4fc;font-size:9px}.campaign-metric>span{color:#64748b;font-size:11px}.campaign-metric>span i{color:#6366f1;margin-left:6px}.campaign-lifecycle{display:flex;align-items:center;justify-content:center;padding:35px 25px}.life-step{text-align:center;min-width:125px;color:#94a3b8}.life-step>i{width:45px;height:45px;border-radius:14px;background:#f1f5f9;display:grid;place-items:center;margin:0 auto 10px}.life-step b,.life-step small{display:block}.life-step b{font-size:11px}.life-step small{font-size:8px;margin-top:4px}.life-step.complete{color:#4f46e5}.life-step.complete>i{background:#eef2ff}.life-line{height:2px;width:80px;background:#e2e8f0;margin-bottom:30px}.click-bubble{display:inline-grid;place-items:center;min-width:31px;height:31px;padding:0 7px;background:#ecfeff;color:#0891b2;border-radius:10px}.ranked-links{padding:12px 22px}.ranked-links>a{display:grid;grid-template-columns:30px 1fr auto;gap:10px;align-items:center;padding:13px 0;border-bottom:1px solid #f1f3f7;color:#172554}.ranked-links>a>b{width:27px;height:27px;border-radius:9px;background:#eef2ff;color:#6366f1;display:grid;place-items:center}.ranked-links span,.ranked-links small{display:block}.ranked-links span{font-size:11px}.ranked-links small{font-size:8px;color:#94a3b8;max-width:280px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.health-checks{padding:12px 24px}.health-row{display:grid;grid-template-columns:42px 1fr auto;gap:12px;align-items:center;padding:15px 0;border-bottom:1px solid #f1f3f7}.health-row>i{width:38px;height:38px;border-radius:12px;display:grid;place-items:center}.health-row.passed>i{background:#ecfdf5;color:#059669}.health-row.failed>i{background:#fef2f2;color:#dc2626}.health-row b,.health-row code{display:block}.health-row b{font-size:12px}.health-row code{font-size:9px;color:#64748b}.smtp-services{padding:18px}.smtp-services>div{display:flex;align-items:center;gap:12px;padding:14px;background:#f8fafc;border-radius:12px;margin-bottom:9px}.smtp-services span{flex:1}.smtp-services b,.smtp-services small{display:block}.smtp-services small{font-size:9px;color:#94a3b8}
@media(min-width:768px){.card-table.table-responsive{overflow:visible}.card-table.table-responsive .dropdown-menu{z-index:1060}}
@media(max-width:767px){.campaign-lifecycle{justify-content:flex-start;overflow-x:auto}.campaign-intel-hero,.health-hero{padding:25px;flex-direction:column;align-items:flex-start;gap:20px}}

/* Campaign report: contain very long tracked destinations (WhatsApp text URLs). */
.card-table.table-responsive:has(.campaign-link){
    overflow-x:hidden!important;
    overflow-y:visible!important;
    max-width:100%;
}
.card-table table:has(.campaign-link){
    width:100%!important;
    table-layout:fixed;
}
.card-table table:has(.campaign-link) tr>td:first-child{
    width:auto;
    min-width:0;
}
.card-table table:has(.campaign-link) tr>td:last-child{
    width:120px;
    white-space:nowrap;
}
.campaign-link td:first-child{
    position:relative;
    max-width:0;
    padding-top:18px;
    padding-bottom:18px;
    padding-left:52px;
    direction:ltr;
    text-align:left;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    color:#334155;
    font-family:Tahoma,Arial,sans-serif;
    font-size:12px;
}
.campaign-link td:first-child:before{
    content:"\f0c1";
    font-family:"Font Awesome 5 Free";
    font-weight:900;
    display:inline-grid;
    place-items:center;
    width:32px;
    height:32px;
    margin-right:11px;
    border-radius:10px;
    background:#eef2ff;
    color:#4f46e5;
    vertical-align:middle;
}
.campaign-link td:last-child{
    color:#0891b2;
    font-size:15px;
    font-weight:700;
}
.campaign-link:hover td{background:#f8fafc}

@media(max-width:575px){
    .card-table table:has(.campaign-link) tr>td:last-child{width:72px}
    .campaign-link td:first-child{padding-left:12px;font-size:11px}
    .campaign-link td:first-child:before{width:28px;height:28px;margin-right:7px}
    .campaign-link td:last-child{font-size:13px}
}

/* Advanced intelligence tables: explicit, overflow-safe and responsive. */
.intel-section{overflow:hidden!important}
.intel-table-wrap{width:100%;max-width:100%;overflow-x:auto;overflow-y:visible}
.intel-click-table{width:100%;min-width:900px;table-layout:fixed}
.intel-click-table th:nth-child(1),.intel-click-table td:nth-child(1){width:25%}
.intel-click-table th:nth-child(2),.intel-click-table td:nth-child(2){width:35%}
.intel-click-table th:nth-child(3),.intel-click-table td:nth-child(3){width:12%}
.intel-click-table th:nth-child(4),.intel-click-table td:nth-child(4),.intel-click-table th:nth-child(5),.intel-click-table td:nth-child(5){width:14%}
.intel-click-table td{min-width:0;overflow:hidden}
.intel-click-table time{font-size:10px;color:#64748b;white-space:nowrap}
.intel-destination{display:grid;grid-template-columns:38px minmax(0,1fr);gap:10px;align-items:center;min-width:0;color:#172554!important;text-decoration:none!important}
.intel-destination>span:last-child{display:block;min-width:0}
.intel-destination b,.intel-destination small{display:block;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.intel-destination b{font-size:12px;margin-bottom:4px}
.intel-destination small{direction:ltr;text-align:left;font-size:9px;color:#94a3b8}
.intel-destination .destination-icon{width:36px;height:36px}
.ranked-links>a{min-width:0}
.ranked-links>a>div{min-width:0;overflow:hidden}
.ranked-links span,.ranked-links small{max-width:100%!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

@media(max-width:767px){
    .intel-table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}
    .intel-click-table{min-width:780px}
    .intel-section .panel-heading{padding:18px;align-items:flex-start;gap:10px}
    .intel-section .panel-heading h3{font-size:16px}
}

/* CRM-style customer follow-up controls. */
.customer-filter-bar{display:grid;grid-template-columns:repeat(5,minmax(130px,1fr));gap:12px;align-items:end;padding:18px 22px;background:#f8fafc;border-bottom:1px solid #edf1f6}.customer-filter-bar>div:first-child{grid-column:span 2}
.export-options-toggle{display:inline-flex;align-items:center;gap:6px;color:#047857!important;background:#ecfdf5!important;border-color:#d1fae5!important}
.campaign-export-options{border-bottom:1px solid #e8edf4;background:linear-gradient(135deg,#f8fafc,#f0fdf9)}
.campaign-export-options>form{display:grid;grid-template-columns:minmax(230px,.65fr) minmax(420px,1.8fr) auto;align-items:end;gap:20px;padding:18px 22px}
.export-scope,.export-columns{min-width:0}.export-scope>b,.export-columns>div>b{display:block;margin-bottom:8px;color:#334155;font-size:11px}.export-scope label{display:block;margin:5px 0;color:#475569;font-size:11px;cursor:pointer}.export-scope input,.export-column-grid input{margin-left:5px;accent-color:#059669}.export-scope small,.export-columns>div>small{color:#94a3b8;font-size:9px}.export-columns>div:first-child{display:flex;align-items:center;gap:8px}.export-columns>div:first-child b{margin:0}.export-column-grid{display:flex;flex-wrap:wrap;gap:7px}.export-column-grid label{display:inline-flex;align-items:center;margin:0;padding:6px 9px;border:1px solid #e2e8f0;border-radius:8px;background:#fff;color:#475569;font-size:10px;cursor:pointer}.export-column-grid label:has(input:checked){border-color:#a7f3d0;background:#ecfdf5;color:#047857}.export-download{display:inline-flex;align-items:center;justify-content:center;gap:7px;height:42px;padding-inline:17px;border-radius:10px;white-space:nowrap}
.customer-filter-bar label{display:block;font-size:10px;color:#64748b;margin-bottom:6px;font-weight:700}
.customer-filter-bar .form-control{height:42px;font-size:12px;background:#fff}
.customer-filter-bar .btn{height:42px;display:flex;align-items:center;gap:7px;justify-content:center;white-space:nowrap;border-radius:10px}
.followup-table{min-width:1080px;table-layout:fixed}
.followup-table th:nth-child(1){width:23%}.followup-table th:nth-child(2),.followup-table th:nth-child(3){width:10%}.followup-table th:nth-child(4){width:14%}.followup-table th:nth-child(5){width:43%}
.followup-customer b,.followup-customer small,.followup-table td>strong,.followup-table td>small{display:block}
.followup-customer b{font-size:12px;color:#172554}.followup-customer small,.followup-table td>small{font-size:9px;color:#94a3b8;margin-top:4px}
.followup-table time{font-size:10px;color:#475569;white-space:nowrap}
.followup-form{display:grid;grid-template-columns:130px 170px minmax(160px,1fr) 38px;gap:7px;align-items:center}
.followup-form select,.followup-form input{height:38px;border:1px solid #e2e8f0;border-radius:9px;background:#fff;padding:0 9px;font-size:10px;min-width:0}
.followup-form button{width:38px;height:38px;border:0;border-radius:10px;background:#4f46e5;color:#fff;cursor:pointer}.followup-form button:hover{background:#4338ca}
.followup-status{font-weight:700}.status-new{color:#64748b}.status-data_collected{color:#1d4ed8;background:#eff6ff!important}.status-contacted{color:#0369a1;background:#f0f9ff!important}.status-follow_up{color:#b45309;background:#fffbeb!important}.status-qualified{color:#047857;background:#ecfdf5!important}.status-not_interested{color:#b91c1c;background:#fef2f2!important}.status-completed{color:#6d28d9;background:#f5f3ff!important}
.contacted-stamp{margin-top:7px!important;color:#059669!important}
@media(max-width:991px){.campaign-export-options>form{grid-template-columns:1fr 1.6fr}.export-download{grid-column:1/-1}.customer-filter-bar{grid-template-columns:1fr 1fr}.customer-filter-bar>div:first-child{grid-column:1/-1}}
@media(max-width:575px){.intel-section .panel-heading>div:last-child{align-items:flex-end!important;flex-direction:column}.campaign-export-options>form{grid-template-columns:1fr;padding:15px}.export-download{grid-column:auto}.export-column-grid{display:grid;grid-template-columns:1fr 1fr}.customer-filter-bar{grid-template-columns:1fr;padding:14px}.customer-filter-bar>div:first-child{grid-column:auto}.customer-filter-bar .btn{width:100%}}
.sales-admin-hero{background:linear-gradient(125deg,#111827,#312e81);border-radius:22px;padding:32px 38px;color:#fff;display:flex;align-items:center;justify-content:space-between}.sales-admin-hero span{font-size:10px;color:#67e8f9}.sales-admin-hero h2{font-size:25px;margin:8px 0}.sales-admin-hero p{color:#c7d2fe;margin:0}.sales-admin-hero>i{font-size:55px;color:#67e8f9}.assignment-toolbar{display:grid;grid-template-columns:220px 170px 1fr auto;gap:10px;padding:16px;background:#f8fafc}.assignment-toolbar .btn{white-space:nowrap}@media(max-width:767px){.assignment-toolbar{grid-template-columns:1fr}.sales-admin-hero{padding:24px}.sales-admin-hero>i{display:none}}

/* Baseera Design System v2 — stable overrides for the legacy Bootstrap UI. */
:root{--bsr-bg:#f4f7fb;--bsr-surface:#fff;--bsr-text:#14213d;--bsr-muted:#718096;--bsr-line:#e7ecf3;--bsr-primary:#4f46e5;--bsr-primary-dark:#3730a3;--bsr-cyan:#0891b2;--bsr-radius:16px;--bsr-shadow:0 8px 28px rgba(15,23,42,.065)}
html,body{max-width:100%;overflow-x:hidden}body{background:var(--bsr-bg)!important;color:var(--bsr-text)}.container-fluid>.row{flex-wrap:nowrap}.main-wrapper{min-width:0;background:var(--bsr-bg)}.main-content{width:100%;max-width:1600px;margin:0 auto;padding:28px 30px 45px!important;min-width:0}.main-header{height:76px;display:flex;align-items:center;box-shadow:0 1px 0 var(--bsr-line);z-index:1040}.main-header header{width:100%;gap:22px;padding:0 30px!important}.main-header h1{font-size:23px!important;line-height:1.4;max-width:38%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar{flex:0 0 268px;max-width:268px}.baseera-sidebar{position:sticky!important;top:0;height:100vh;overflow-y:auto!important}.baseera-sidebar::-webkit-scrollbar{width:5px}.baseera-sidebar::-webkit-scrollbar-thumb{background:rgba(255,255,255,.18);border-radius:20px}.baseera-sidebar .nav-link{display:flex;align-items:center;gap:3px;min-height:46px;font-size:13px}.baseera-sidebar .nav-link i{width:22px;text-align:center}.baseera-sidebar .nav-link span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.card{background:var(--bsr-surface);border:1px solid rgba(226,232,240,.75)!important;border-radius:var(--bsr-radius)!important;box-shadow:var(--bsr-shadow)!important;margin-bottom:20px}.card-header{min-height:62px;display:flex;align-items:center;padding:16px 20px!important;border-color:var(--bsr-line)!important;font-size:14px;font-weight:700}.card-header-inner{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px}.card-body{padding:22px}.card-table{max-width:100%}.card-table.table-responsive{overflow-x:auto!important;overflow-y:visible}.table{width:100%;margin-bottom:0;color:#334155}.table thead th,.table>tbody>tr:first-child>td> b{font-size:10px!important;color:#64748b!important;text-transform:none;letter-spacing:0;background:#f8fafc}.table th,.table td{padding:14px 16px!important;border-color:#edf1f6!important;vertical-align:middle!important}.table tbody tr{transition:background .15s}.table tbody tr:hover{background:#fafbff}.table a{color:#3949ab;font-weight:600}.badge{padding:6px 9px;border-radius:20px;font-weight:600;font-size:9px}.badge-success{background:#ecfdf5;color:#047857}.badge-danger{background:#fef2f2;color:#b91c1c}.badge-light{background:#f1f5f9;color:#475569}.empty-table-text{padding:45px 15px!important;color:#94a3b8!important;text-align:center}
.btn{border-radius:10px!important;font-weight:600;font-size:12px;padding:9px 15px;transition:transform .15s,box-shadow .15s}.btn:hover{transform:translateY(-1px)}.btn-primary{background:linear-gradient(135deg,var(--bsr-primary),#7c3aed)!important;box-shadow:0 7px 18px rgba(79,70,229,.18)!important}.btn-light,.btn-default{background:#fff!important;border:1px solid #e1e7ef!important;color:#475569!important}.btn-danger{background:#dc2626;border-color:#dc2626}.form-group{margin-bottom:18px}.form-group label,.form-horizontal label{font-size:11px;font-weight:700;color:#475569;padding-top:10px}.form-control{height:44px;border:1px solid #dfe5ee!important;border-radius:10px!important;background:#fff;color:#172554;font-size:12px;padding:10px 12px}.form-control:focus{border-color:#818cf8!important;box-shadow:0 0 0 4px rgba(99,102,241,.1)!important}.bootstrap-select>.dropdown-toggle{height:44px;border-radius:10px!important}.alert{border:0;border-radius:13px;padding:14px 17px;box-shadow:0 6px 20px rgba(15,23,42,.05)}.alert-success{background:#ecfdf5;color:#047857}.alert-danger{background:#fef2f2;color:#b91c1c}.pagination{gap:5px;justify-content:center;margin-top:18px}.page-link{border:0!important;border-radius:9px!important;color:#4f46e5;min-width:35px;text-align:center}.page-item.active .page-link{background:#4f46e5}.nav-tabs{border-bottom:1px solid var(--bsr-line);display:flex;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;scrollbar-width:thin}.nav-tabs .nav-link{border:0!important;white-space:nowrap;padding:13px 16px;color:#64748b;font-size:11px}.nav-tabs .nav-link.active{color:#4f46e5;background:transparent;border-bottom:2px solid #4f46e5!important;font-weight:700}.widget{background:#fff!important;border:1px solid rgba(226,232,240,.75);border-radius:15px!important;box-shadow:var(--bsr-shadow);overflow:hidden;min-height:112px}.widget .h2{font-size:25px;color:#172554}.widget .text-uppercase{font-size:9px;color:#64748b}.dropdown-menu{border:1px solid var(--bsr-line)!important;border-radius:13px!important;box-shadow:0 20px 55px rgba(15,23,42,.18)!important;padding:7px!important;z-index:20000}.dropdown-item{border-radius:8px;padding:9px 12px;font-size:11px}.dropdown-item:hover{background:#eef2ff;color:#4338ca}.modal-content{border:0;border-radius:18px!important;box-shadow:0 30px 80px rgba(15,23,42,.25)}
@media(max-width:1199px){.main-content{padding:22px 20px 40px!important}.main-header header{padding:0 20px!important}.main-header h1{max-width:48%;font-size:20px!important}.smart-search-shell{width:min(42vw,390px)}}
@media(max-width:767px){.main-header{height:66px}.main-header header{gap:9px;padding:0 14px!important}.main-header h1{font-size:16px!important;max-width:68%}.main-content{padding:15px 12px 35px!important}.card{border-radius:14px!important;margin-bottom:14px}.card-header{min-height:55px;padding:13px 15px!important}.card-body{padding:16px}.table th,.table td{padding:12px!important}.form-horizontal .form-group{display:block}.form-horizontal label,.form-horizontal .col-sm-3,.form-horizontal .col-sm-9{max-width:100%;flex:0 0 100%}.form-horizontal label{padding-bottom:6px}.actions,.actions .row{gap:8px}.btn{padding:9px 12px}.widget{min-height:98px}}

/* Explicit campaign report classes: no :has() dependency. */
.campaign-links-card{overflow:hidden!important}
.campaign-links-table-wrap{width:100%;max-width:100%;overflow:hidden!important}
.campaign-links-table{width:100%!important;table-layout:fixed}
.campaign-links-table tr>td:first-child{width:auto;min-width:0}
.campaign-links-table tr>td:last-child{width:130px;vertical-align:middle;white-space:nowrap}
.campaign-destination{display:grid;grid-template-columns:42px minmax(0,1fr) 20px;align-items:center;gap:12px;min-width:0;color:#172554!important;text-decoration:none!important;direction:rtl}
.destination-icon{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:#eef2ff;color:#4f46e5;font-size:15px}
.destination-icon.is-whatsapp{background:#ecfdf5;color:#16a34a;font-size:18px}
.destination-copy{display:block;min-width:0;text-align:right}
.destination-copy b,.destination-copy small{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.destination-copy b{font-size:13px;color:#172554;margin-bottom:4px}
.destination-copy small{font-size:10px;color:#8490a3;direction:ltr;text-align:left}
.destination-open{font-size:10px;color:#cbd5e1}
.campaign-destination:hover .destination-copy b{color:#4f46e5}
.campaign-destination:hover .destination-open{color:#4f46e5}
.report-click-count{display:inline-grid;place-items:center;min-width:38px;height:38px;padding:0 10px;border-radius:12px;background:#ecfeff;color:#0891b2;font-weight:800}

@media(max-width:575px){
    .campaign-links-table tr>td:last-child{width:72px;padding-left:8px;padding-right:8px}
    .campaign-links-table td:first-child{padding-left:8px;padding-right:12px}
    .campaign-destination{grid-template-columns:34px minmax(0,1fr);gap:9px}
    .destination-icon{width:34px;height:34px;border-radius:10px}
    .destination-open{display:none}
    .destination-copy small{max-width:58vw}
}

/* Premium campaign intelligence layout and reliable floating action menus. */
.baseera-floating-menu{
    display:block!important;
    position:fixed!important;
    padding:8px!important;
    border:1px solid #e8ecf4!important;
    border-radius:14px!important;
    background:#fff!important;
    box-shadow:0 22px 55px rgba(15,23,42,.22)!important;
}
.baseera-floating-menu .dropdown-item{
    border-radius:9px;
    padding:10px 13px;
    font-size:12px;
    color:#334155;
}
.baseera-floating-menu .dropdown-item:hover{background:#eef2ff;color:#4338ca}
.baseera-floating-menu .dropdown-divider{border-color:#eef1f6}
.card:has(.dropdown.show){position:relative;z-index:1050}

.campaign-intel-hero{
    min-height:190px;
    margin-top:8px;
    background:linear-gradient(125deg,#0f172a 0%,#1e1b4b 52%,#312e81 100%)!important;
    box-shadow:0 22px 50px rgba(30,27,75,.18)!important;
}
.campaign-intel-hero>div:first-child{max-width:75%}
.campaign-intel-hero>div:first-child>span{display:inline-block;color:#67e8f9;font-size:11px;background:rgba(34,211,238,.1);padding:7px 11px;border-radius:20px}
.campaign-intel-hero h2{color:#fff!important;line-height:1.45}
.campaign-health{min-width:135px;flex:0 0 auto}
.campaign-health b{color:#fff!important;line-height:1}
.campaign-health small{display:block;margin-top:8px}
.campaign-lifecycle{width:100%;min-height:145px;gap:0;direction:rtl}
.life-step{flex:0 0 145px}
.life-step b{font-size:12px;line-height:1.6}
.life-step small{font-size:10px;line-height:1.6;color:#64748b}
.life-step>i{font-size:15px}
.life-line{flex:1;min-width:35px;max-width:110px}
.campaign-metric{min-height:135px;display:flex;flex-direction:column;justify-content:space-between}
.campaign-metric>span{display:flex;align-items:center;gap:7px}
.campaign-metric>strong{margin-top:12px}
.dashboard-panel>.table-responsive{max-width:100%;overflow-x:auto}

@media(max-width:991px){
    .campaign-intel-hero>div:first-child{max-width:68%}
    .campaign-lifecycle{justify-content:flex-start;overflow-x:auto;padding:28px 18px}
    .life-step{flex-basis:125px}
    .life-line{min-width:38px;flex:0 0 38px}
}
@media(max-width:575px){
    .campaign-intel-hero{min-height:auto;padding:24px!important}
    .campaign-intel-hero>div:first-child{max-width:100%}
    .campaign-intel-hero h2{font-size:21px!important}
    .campaign-health{width:100%;display:flex;align-items:center;justify-content:space-between;text-align:right}
    .campaign-health small{margin-top:0}
    .metric-grid{grid-template-columns:1fr 1fr}
    .campaign-metric{min-height:112px}
}

/* Sales administration workspace. */
.sales-admin-hero{min-height:190px;gap:30px;overflow:hidden;position:relative}
.sales-admin-hero:before,.sales-admin-hero:after{content:"";position:absolute;border-radius:50%;pointer-events:none}
.sales-admin-hero:before{width:250px;height:250px;left:-85px;top:-135px;background:rgba(34,211,238,.12)}
.sales-admin-hero:after{width:190px;height:190px;right:42%;bottom:-160px;background:rgba(129,140,248,.12)}
.sales-admin-hero>div{position:relative;z-index:1}
.sales-admin-hero>div:first-child{max-width:720px}
.sales-admin-hero-stats{display:grid;grid-template-columns:repeat(2,minmax(120px,1fr));gap:10px;min-width:290px}
.sales-admin-hero-stats article{padding:18px 20px;border:1px solid rgba(255,255,255,.13);background:rgba(255,255,255,.08);backdrop-filter:blur(10px);border-radius:16px;text-align:center}
.sales-admin-hero-stats b,.sales-admin-hero-stats small{display:block}.sales-admin-hero-stats b{font-size:27px;color:#fff}.sales-admin-hero-stats small{font-size:9px;color:#c7d2fe;margin-top:5px}
.sales-admin-panel{overflow:hidden}.sales-admin-panel .card-header small{display:block;color:#7c3aed;font-size:9px;margin-bottom:4px}.sales-admin-panel .card-header b{display:block;color:#172554;font-size:14px}
.panel-icon{display:grid;place-items:center;width:39px;height:39px;border-radius:11px;background:#eef2ff;color:#4f46e5}.panel-description{font-size:11px;line-height:1.9;color:#64748b;background:#f8fafc;border:1px solid #edf1f6;border-radius:11px;padding:12px 14px;margin-bottom:18px}.form-hint{display:block;color:#94a3b8;font-size:9px;line-height:1.6;margin-top:6px}
.soft-counter{display:inline-flex;align-items:center;min-height:29px;padding:5px 10px;border-radius:20px;background:#f1f5f9;color:#64748b;font-size:9px;font-weight:700;white-space:nowrap}.soft-counter.has-selection{background:#ecfdf5;color:#047857}
.agent-identity{display:flex;align-items:center;gap:9px;min-width:150px}.agent-identity>span{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border-radius:11px;background:linear-gradient(135deg,#eef2ff,#ecfeff);color:#4f46e5;font-weight:800}.agent-identity b{font-size:11px;color:#172554}.number-pill{display:inline-grid;place-items:center;min-width:35px;height:30px;padding:0 9px;border-radius:10px;background:#f1f5f9;color:#475569;font-weight:800}.number-pill.is-active{background:#ecfdf5;color:#047857}
.assignment-toolbar{grid-template-columns:minmax(180px,220px) minmax(130px,170px) minmax(220px,1fr) auto;align-items:end;padding:18px 20px;border-bottom:1px solid #edf1f6}.assignment-toolbar label{display:block;color:#64748b;font-size:9px;font-weight:700;margin:0 0 7px}.assignment-toolbar .btn{height:44px;padding-inline:20px}.sales-assignment-table{min-width:920px}.sales-assignment-table .check-cell{width:48px;text-align:center}.sales-assignment-table input[type="checkbox"]{width:17px;height:17px;accent-color:#4f46e5;cursor:pointer}.customer-identity{min-width:210px}.customer-identity b,.customer-identity a{display:block;max-width:260px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.customer-identity b{font-size:11px;color:#172554}.customer-identity a{font-size:9px;color:#94a3b8;margin-top:4px;text-align:right}.contact-value{display:inline-block;color:#475569;font-size:10px;white-space:nowrap}.agent-chip,.channel-chip{display:inline-flex;align-items:center;gap:5px;padding:6px 9px;border-radius:9px;background:#eef2ff;color:#4338ca;font-size:9px;font-weight:700;white-space:nowrap}.channel-whatsapp{background:#ecfdf5;color:#047857}.channel-phone{background:#eff6ff;color:#1d4ed8}.channel-email{background:#f5f3ff;color:#6d28d9}.channel-meeting{background:#fff7ed;color:#c2410c}.muted-state{font-size:9px;color:#94a3b8}.status-stack{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.sales-status,.priority-chip{display:inline-flex;align-items:center;min-height:25px;padding:4px 8px;border-radius:20px;font-size:8px;font-weight:800;white-space:nowrap}.sales-status{background:#f1f5f9;color:#64748b}.status-contacted,.status-interested,.status-won{background:#ecfdf5;color:#047857}.status-follow_up,.status-no_answer,.status-proposal{background:#fffbeb;color:#b45309}.status-not_interested,.status-closed{background:#fef2f2;color:#b91c1c}.status-assigned{background:#eef2ff;color:#4338ca}.priority-chip{background:#f8fafc;color:#64748b}.priority-urgent{background:#fef2f2;color:#b91c1c}.priority-high{background:#fff7ed;color:#c2410c}.priority-low{background:#f1f5f9;color:#64748b}.sales-card-footer{padding:4px 18px 16px;border-top:1px solid #edf1f6}.sales-card-footer .pagination{margin-bottom:0}.sales-activity-table{min-width:900px}.sales-activity-table .activity-notes{max-width:310px;color:#64748b;font-size:10px;line-height:1.7}.sales-activity-table time,.sales-assignment-table time{font-size:9px;color:#475569;white-space:nowrap}

/* Interaction polish and keyboard accessibility. */
a,button,.btn,.nav-link,.dropdown-item,.form-control{transition:color .16s ease,background-color .16s ease,border-color .16s ease,box-shadow .16s ease,transform .16s ease}
a:focus-visible,button:focus-visible,.btn:focus-visible,.nav-link:focus-visible,.dropdown-item:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid rgba(99,102,241,.25)!important;outline-offset:2px}
.table-responsive{scrollbar-width:thin;scrollbar-color:#cbd5e1 transparent}.table-responsive::-webkit-scrollbar{height:7px}.table-responsive::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:20px}

@media(max-width:991px){
    .sales-admin-hero{padding:27px 28px}.sales-admin-hero>div:first-child{max-width:60%}.sales-admin-hero-stats{min-width:260px}
    .assignment-toolbar{grid-template-columns:1fr 1fr}.assignment-toolbar>div:nth-child(3){grid-column:1/-1}.assignment-toolbar .btn{width:100%}
}
@media(min-width:1200px) and (max-width:1399px){
    .main-header header{gap:12px!important;padding-inline:18px!important}
    .main-header h1{flex:1 1 190px;max-width:230px!important;font-size:20px!important}
    .smart-search-shell{width:280px!important}
}
@media(max-width:767px){
    .sales-admin-hero{display:block;min-height:0;padding:24px}.sales-admin-hero>div:first-child{max-width:100%}.sales-admin-hero h2{font-size:21px}.sales-admin-hero p{font-size:11px;line-height:1.8}.sales-admin-hero-stats{min-width:0;margin-top:20px}
    .sales-admin-overview>.col-xl-4,.sales-admin-overview>.col-xl-8{padding-left:15px;padding-right:15px}.assignment-toolbar{grid-template-columns:1fr;padding:15px}.assignment-toolbar>div:nth-child(3){grid-column:auto}.sales-admin-panel .card-header-inner{align-items:center}
}
@media(max-width:420px){.sales-admin-hero-stats{grid-template-columns:1fr}.sales-admin-hero-stats article{padding:12px}.sales-admin-hero-stats b{font-size:22px}.soft-counter{max-width:125px;overflow:hidden;text-overflow:ellipsis}.sales-admin-panel .card-header b{font-size:12px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}

/* Smart assignment filters and safe Bootstrap pagination. */
.assignment-discovery-filters{display:grid;grid-template-columns:minmax(220px,1.4fr) repeat(5,minmax(120px,.65fr)) auto auto;gap:9px;align-items:end;padding:16px 20px;background:#f8fafc;border-bottom:1px solid #edf1f6}.assignment-discovery-filters .filter-search{position:relative}.assignment-discovery-filters .filter-search i{position:absolute;right:12px;top:14px;color:#94a3b8;font-size:10px}.assignment-discovery-filters .filter-search input{width:100%;padding-right:32px}.assignment-discovery-filters .form-control{height:40px;font-size:10px}.assignment-discovery-filters .btn{height:40px;white-space:nowrap;padding-inline:12px}.sales-assignment-table{min-width:1180px}.engagement-cells{display:flex;gap:5px}.engagement-cells b{min-width:43px;padding:6px 5px;border-radius:8px;background:#f1f5f9;text-align:center;font-size:10px;color:#172554}.engagement-cells b:nth-child(2){background:#ecfeff;color:#0e7490}.engagement-cells small{display:block;font-size:7px;font-weight:700;margin-top:2px;color:inherit}.pagination .page-link{display:flex!important;align-items:center;justify-content:center;min-width:36px;height:36px;padding:0 9px!important;line-height:1!important}.pagination .page-link svg{width:14px!important;height:14px!important;display:block!important}
.customer-profile-link{color:#172554!important;text-decoration:none!important}.customer-profile-link:hover{color:#4f46e5!important}.interaction-summary{overflow:hidden}.interaction-summary .card-header small{display:block;color:#7c3aed;font-size:9px;margin-bottom:4px}.interaction-summary .card-header b{display:block;color:#172554;font-size:14px}.interaction-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;background:#edf1f6}.interaction-summary-grid article{display:flex;align-items:center;gap:10px;min-width:0;padding:15px 17px;background:#fff}.interaction-summary-grid i{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border-radius:10px;background:#eef2ff;color:#4f46e5}.interaction-summary-grid article:nth-child(2) i{background:#ecfeff;color:#0891b2}.interaction-summary-grid article:nth-child(3) i{background:#fff7ed;color:#c2410c}.interaction-summary-grid article:nth-child(4) i{background:#ecfdf5;color:#047857}.interaction-summary-grid small,.interaction-summary-grid b{display:block}.interaction-summary-grid small{font-size:8px;color:#94a3b8;margin-bottom:4px}.interaction-summary-grid b{font-size:10px;color:#172554;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* The mobile sidebar is a Bootstrap modal, never a desktop flex sidebar. */
#sidebar-modal{z-index:2100!important;position:fixed!important;inset:0 auto 0 0;width:100%;max-width:none!important;display:none}#sidebar-modal.show{display:block}#sidebar-modal .modal-dialog{position:fixed!important;top:0!important;right:0!important;left:auto!important;margin:0!important;width:280px!important;max-width:82vw!important;height:100vh!important;transform:translateX(100%)!important;transition:transform .22s ease!important}#sidebar-modal.show .modal-dialog{transform:translateX(0)!important}#sidebar-modal .modal-content,#sidebar-modal .modal-body{height:100%!important;background:#111b42}#sidebar-modal .baseera-sidebar{position:static!important;height:100%!important;overflow-y:auto!important}body.modal-open{overflow:hidden!important}@media(min-width:1200px){#sidebar-modal{display:none!important}}
@media(max-width:1199px){.assignment-discovery-filters{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:767px){.assignment-discovery-filters{grid-template-columns:1fr;padding:15px}.interaction-summary-grid{grid-template-columns:1fr 1fr}.interaction-summary-grid article{padding:13px}}

/* Baseera CRM - pipeline, tasks and unified customer profile. */
.sales-admin-actions,.crm-hero-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:20px}.sales-admin-actions .btn-outline-light{border:1px solid rgba(255,255,255,.28);color:#fff;background:rgba(255,255,255,.06)}.sales-admin-actions .btn-outline-light:hover{background:#fff;color:#312e81}
.crm-hero{min-height:210px;border-radius:24px;padding:34px 38px;color:#fff;background:radial-gradient(circle at 14% 0,rgba(34,211,238,.2),transparent 27%),linear-gradient(125deg,#0f172a,#1e1b4b 52%,#312e81);box-shadow:0 24px 55px rgba(30,27,75,.18);display:flex;align-items:center;justify-content:space-between;gap:28px;overflow:hidden}.crm-hero>div:first-child{max-width:760px}.crm-hero>div:first-child>span{display:inline-flex;align-items:center;gap:7px;padding:7px 11px;border-radius:20px;background:rgba(34,211,238,.1);color:#67e8f9;font-size:10px}.crm-hero h2{font-size:27px;color:#fff;margin:11px 0 8px}.crm-hero p{margin:0;color:#c7d2fe;line-height:1.8}.crm-hero .btn-cyan{background:#06b6d4;color:#fff;border:0}.crm-hero-value{flex:0 0 210px;text-align:center;padding:24px;border:1px solid rgba(255,255,255,.13);background:rgba(255,255,255,.08);backdrop-filter:blur(12px);border-radius:20px}.crm-hero-value small,.crm-hero-value b,.crm-hero-value span{display:block}.crm-hero-value small{color:#c7d2fe;font-size:9px}.crm-hero-value b{font-size:32px;margin:8px 0 2px}.crm-hero-value span{color:#67e8f9;font-size:10px}
.crm-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.crm-kpis article{display:flex;align-items:center;gap:12px;min-width:0;padding:16px;background:#fff;border:1px solid rgba(226,232,240,.75);border-radius:16px;box-shadow:var(--bsr-shadow)}.crm-kpis article>i{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border-radius:12px;background:#eef2ff;color:#4f46e5}.crm-kpis b,.crm-kpis span{display:block}.crm-kpis b{font-size:21px;color:#172554}.crm-kpis span{font-size:9px;color:#64748b;margin-top:3px}.crm-kpis .tone-orange>i{background:#fff7ed;color:#ea580c}.crm-kpis .tone-red>i{background:#fef2f2;color:#dc2626}.crm-kpis .tone-cyan>i{background:#ecfeff;color:#0891b2}.crm-kpis .tone-green>i{background:#ecfdf5;color:#059669}.crm-kpis .tone-blue>i{background:#eff6ff;color:#2563eb}
.crm-filter-card{overflow:hidden}.crm-filter-grid{display:grid;grid-template-columns:minmax(220px,1.4fr) repeat(4,minmax(130px,.7fr)) auto auto;gap:10px;align-items:end;padding:18px 20px}.crm-filter-grid label{display:block;font-size:9px;font-weight:700;color:#64748b;margin-bottom:6px}.crm-filter-grid .btn{height:44px;display:flex;align-items:center;justify-content:center;gap:6px;white-space:nowrap}.crm-input-icon{position:relative}.crm-input-icon>i{position:absolute;right:13px;top:15px;color:#94a3b8;font-size:11px}.crm-input-icon .form-control{padding-right:35px}.saved-filter-row{display:flex;justify-content:space-between;align-items:center;gap:14px;min-height:54px;padding:10px 20px;background:#f8fafc;border-top:1px solid #edf1f6}.saved-filter-list{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.saved-filter-list>span{font-size:9px;font-weight:800;color:#475569}.saved-filter-list>a{padding:5px 9px;border-radius:20px;background:#eef2ff;color:#4338ca;font-size:9px;text-decoration:none}.saved-filter-list>form{margin:0 0 0 -4px}.saved-filter-list button{width:22px;height:22px;border:0;border-radius:50%;background:#fef2f2;color:#dc2626;cursor:pointer;font-size:8px}.saved-filter-list small{font-size:9px;color:#94a3b8}.save-filter-form{display:flex;align-items:center;gap:6px}.save-filter-form input{height:32px;width:135px;border:1px solid #dfe5ee;border-radius:8px;padding:0 9px;font-size:9px}.save-filter-form button{height:32px;border:0;border-radius:8px;padding:0 10px;background:#172554;color:#fff;font-size:9px;cursor:pointer}
.crm-board{display:flex;gap:13px;width:100%;max-width:100%;overflow-x:auto;overflow-y:hidden;padding:3px 2px 15px;scroll-snap-type:x proximity;scrollbar-width:thin;scrollbar-color:#cbd5e1 transparent}.crm-column{flex:0 0 285px;min-width:285px;background:#eef2f7;border:1px solid #e3e8f0;border-radius:17px;overflow:hidden;scroll-snap-align:start}.crm-column>header{display:flex;align-items:center;justify-content:space-between;padding:14px 15px;background:#fff;border-bottom:3px solid #94a3b8}.crm-column>header>span{display:flex;align-items:center;gap:7px;font-size:11px;font-weight:800;color:#334155}.crm-column>header>span i{color:#64748b}.crm-column>header>b{display:grid;place-items:center;min-width:27px;height:27px;border-radius:9px;background:#f1f5f9;color:#475569;font-size:10px}.crm-column.stage-blue>header{border-color:#3b82f6}.crm-column.stage-amber>header{border-color:#f59e0b}.crm-column.stage-cyan>header{border-color:#06b6d4}.crm-column.stage-violet>header{border-color:#8b5cf6}.crm-column.stage-green>header{border-color:#10b981}.crm-column.stage-red>header{border-color:#ef4444}.crm-column-body{height:590px;overflow-y:auto;padding:10px;scrollbar-width:thin}.crm-lead-card{position:relative;background:#fff;border:1px solid #e7ecf3;border-right:3px solid #94a3b8;border-radius:13px;padding:13px;margin-bottom:9px;box-shadow:0 5px 15px rgba(15,23,42,.045);transition:transform .16s,box-shadow .16s}.crm-lead-card:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(15,23,42,.09)}.crm-lead-card.priority-urgent{border-right-color:#ef4444}.crm-lead-card.priority-high{border-right-color:#f59e0b}.crm-lead-card.priority-low{border-right-color:#94a3b8}.crm-lead-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:7px}.priority-dot{width:8px;height:8px;border-radius:50%;background:#64748b}.priority-urgent .priority-dot{background:#ef4444;box-shadow:0 0 0 4px #fee2e2}.priority-high .priority-dot{background:#f59e0b;box-shadow:0 0 0 4px #fef3c7}.crm-score{display:grid;place-items:center;min-width:31px;height:25px;border-radius:8px;background:#f1f5f9;color:#64748b;font-size:9px;font-weight:800}.crm-score.score-hot{background:#fff7ed;color:#ea580c}.crm-score.score-warm{background:#fffbeb;color:#b45309}.crm-lead-name{display:block;color:#172554!important;font-size:11px;font-weight:800;line-height:1.6;text-decoration:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.crm-lead-location{display:block;color:#94a3b8;font-size:8px;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.crm-lead-location i{margin-left:4px}.crm-lead-signals{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;margin:11px 0}.crm-lead-signals span{text-align:center;padding:7px 3px;border-radius:8px;background:#f8fafc;color:#64748b;font-size:7px}.crm-lead-signals i{display:block;margin-bottom:3px;color:#818cf8}.crm-lead-signals b{color:#172554;font-size:9px}.crm-due{display:flex;align-items:center;gap:5px;padding:7px 8px;border-radius:8px;background:#f8fafc;color:#64748b;font-size:8px;direction:ltr;text-align:left}.crm-due.is-overdue{background:#fef2f2;color:#dc2626}.crm-lead-card>footer{display:flex;align-items:center;justify-content:space-between;gap:7px;margin-top:10px;color:#64748b;font-size:8px}.crm-lead-card>footer span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.crm-lead-card>footer b{color:#059669;white-space:nowrap}.crm-quick-stage{display:grid;grid-template-columns:1fr 31px;gap:5px;margin-top:10px}.crm-quick-stage select{min-width:0;height:31px;border:1px solid #e2e8f0;border-radius:8px;background:#fff;padding:0 7px;font-size:8px}.crm-quick-stage button{border:0;border-radius:8px;background:#4f46e5;color:#fff;cursor:pointer}.crm-column-empty{display:grid;place-items:center;gap:7px;padding:45px 10px;color:#94a3b8;font-size:9px}.crm-column-empty i{font-size:21px}.conversion-cell{display:flex;align-items:center;gap:10px;min-width:170px}.conversion-cell>span{display:block;width:110px;height:7px;border-radius:20px;background:#eef2f7;overflow:hidden}.conversion-cell>span i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#4f46e5,#06b6d4)}.conversion-cell b{font-size:9px;color:#172554}.crm-performance{overflow:hidden}.crm-performance .card-header small,.crm-panel .card-header small{display:block;color:#7c3aed;font-size:9px;margin-bottom:4px}.crm-performance .card-header b,.crm-panel .card-header b{display:block;color:#172554;font-size:14px}
.crm-page-actions{display:flex;align-items:center;justify-content:space-between;gap:10px}.crm-customer-hero{display:flex;align-items:center;gap:22px;padding:30px 34px;border-radius:22px;background:linear-gradient(125deg,#0f172a,#1e1b4b 55%,#312e81);color:#fff;box-shadow:0 20px 48px rgba(30,27,75,.17);overflow:hidden}.crm-customer-avatar{display:grid;place-items:center;flex:0 0 76px;width:76px;height:76px;border-radius:22px;background:linear-gradient(135deg,#6366f1,#06b6d4);font-size:28px;font-weight:800;box-shadow:0 12px 26px rgba(0,0,0,.18)}.crm-customer-main{min-width:0;flex:1}.crm-customer-main>span{color:#67e8f9;font-size:9px}.crm-customer-main h2{font-size:24px;color:#fff;margin:6px 0}.crm-customer-main p{color:#c7d2fe;font-size:10px;margin:0;text-align:right;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.crm-contact-buttons{display:flex;flex-wrap:wrap;gap:7px;margin-top:14px}.crm-contact-buttons a{padding:7px 10px;border:1px solid rgba(255,255,255,.15);border-radius:9px;background:rgba(255,255,255,.08);color:#fff!important;font-size:9px;text-decoration:none}.crm-contact-buttons a.whatsapp{background:rgba(16,185,129,.16);color:#6ee7b7!important}.crm-score-ring{--score:0;display:grid;place-items:center;flex:0 0 110px;width:110px;height:110px;border-radius:50%;background:conic-gradient(#22d3ee calc(var(--score)*1%),rgba(255,255,255,.12) 0);position:relative}.crm-score-ring:before{content:"";position:absolute;inset:9px;border-radius:50%;background:#1e1b4b}.crm-score-ring>div{position:relative;text-align:center}.crm-score-ring b,.crm-score-ring small{display:block}.crm-score-ring b{font-size:27px}.crm-score-ring small{font-size:8px;color:#c7d2fe;margin-top:3px}.customer-kpis{grid-template-columns:repeat(5,minmax(0,1fr))}.crm-panel{overflow:hidden}.crm-stage-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.crm-stage-form label{display:block;font-size:9px;color:#64748b;font-weight:700;margin-bottom:6px}.crm-stage-form .wide{grid-column:1/-1}.crm-stage-form>button{grid-column:1/-1;justify-self:start}.crm-assignment-meta{display:flex;flex-wrap:wrap;gap:9px 18px;margin-top:20px;padding-top:16px;border-top:1px solid #edf1f6;color:#64748b;font-size:9px}.crm-task-form{display:grid;gap:10px}.crm-task-form>div{display:grid;grid-template-columns:130px 1fr;gap:8px}.crm-task-form textarea{height:80px;resize:vertical}.crm-task-list article{display:grid;grid-template-columns:34px minmax(0,1fr) auto;gap:10px;align-items:start;padding:15px 20px;border-bottom:1px solid #edf1f6}.crm-task-list article:last-child{border-bottom:0}.crm-task-list article>form button{width:32px;height:32px;border:0;border-radius:10px;background:#eef2ff;color:#4f46e5;cursor:pointer}.crm-task-list article>div{min-width:0}.crm-task-list b{font-size:11px;color:#172554}.crm-task-list p{font-size:9px;color:#64748b;margin:5px 0;line-height:1.7}.crm-task-list small{font-size:8px;color:#94a3b8}.crm-task-list .is-complete{opacity:.58}.crm-task-list .is-complete b{text-decoration:line-through}.crm-empty-small{display:grid;place-items:center;gap:6px;padding:35px;color:#94a3b8;text-align:center}.crm-empty-small i{font-size:23px}.crm-empty-small p{font-size:9px;margin:0}.crm-contact-timeline{padding:4px 20px 15px}.crm-contact-timeline article{display:grid;grid-template-columns:37px 1fr;gap:11px;position:relative;padding:15px 0}.crm-contact-timeline article:not(:last-child):after{content:"";position:absolute;right:18px;top:49px;bottom:-4px;width:1px;background:#e2e8f0}.timeline-dot{display:grid;place-items:center;width:36px;height:36px;border-radius:11px;background:#eef2ff;color:#4f46e5;z-index:1}.crm-contact-timeline article>div>div{display:flex;align-items:center;gap:7px}.crm-contact-timeline b{font-size:10px}.crm-contact-timeline p{margin:6px 0;font-size:9px;color:#64748b;line-height:1.75}.crm-contact-timeline small{font-size:8px;color:#94a3b8}.crm-interest-list>a{display:grid;grid-template-columns:35px minmax(0,1fr) 30px;gap:9px;align-items:center;padding:13px 17px;border-bottom:1px solid #edf1f6;text-decoration:none!important}.crm-interest-list>a:last-child{border-bottom:0}.interest-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#eef2ff;color:#4f46e5}.crm-interest-list div{min-width:0}.crm-interest-list b,.crm-interest-list small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.crm-interest-list b{font-size:10px;color:#172554}.crm-interest-list small{font-size:8px;color:#94a3b8;margin-top:4px;text-align:left}.crm-interest-list strong{display:grid;place-items:center;width:29px;height:29px;border-radius:9px;background:#ecfeff;color:#0891b2;font-size:10px}.crm-signal-list article{display:grid;grid-template-columns:32px minmax(0,1fr) auto;gap:9px;align-items:center;padding:12px 17px;border-bottom:1px solid #edf1f6}.crm-signal-list article>i{display:grid;place-items:center;width:31px;height:31px;border-radius:9px;background:#ecfeff;color:#0891b2}.crm-signal-list b,.crm-signal-list small{display:block}.crm-signal-list b{font-size:9px;color:#172554}.crm-signal-list small{font-size:8px;color:#94a3b8;margin-top:3px}.crm-signal-list time{font-size:7px;color:#94a3b8;white-space:nowrap}.crm-audit-list{padding:8px 17px}.crm-audit-list article{display:flex;gap:9px;align-items:center;padding:9px 0;border-bottom:1px solid #f1f5f9}.crm-audit-list article>span{width:8px;height:8px;border-radius:50%;background:#818cf8;box-shadow:0 0 0 4px #eef2ff}.crm-audit-list b,.crm-audit-list small{display:block}.crm-audit-list b{font-size:9px;color:#334155}.crm-audit-list small{font-size:7px;color:#94a3b8;margin-top:3px}
@media(max-width:1399px){.crm-filter-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.crm-filter-grid .wide{grid-column:span 2}}
@media(max-width:1199px){.crm-kpis{grid-template-columns:repeat(3,1fr)}.customer-kpis{grid-template-columns:repeat(3,1fr)}}
@media(max-width:767px){.crm-hero{display:block;min-height:0;padding:24px}.crm-hero h2{font-size:21px}.crm-hero-value{margin-top:18px}.crm-kpis,.customer-kpis{grid-template-columns:1fr 1fr}.crm-filter-grid{grid-template-columns:1fr;padding:15px}.crm-filter-grid .wide{grid-column:auto}.saved-filter-row{display:block}.save-filter-form{margin-top:10px}.save-filter-form input{flex:1}.crm-column{flex-basis:270px;min-width:270px}.crm-column-body{height:540px}.crm-customer-hero{display:grid;grid-template-columns:58px 1fr;padding:22px;gap:14px}.crm-customer-avatar{width:58px;height:58px;flex-basis:58px;border-radius:17px;font-size:21px}.crm-customer-main h2{font-size:19px}.crm-score-ring{grid-column:1/-1;justify-self:center;width:95px;height:95px}.crm-stage-form{grid-template-columns:1fr}.crm-stage-form .wide,.crm-stage-form>button{grid-column:auto}.crm-task-form>div{grid-template-columns:1fr}.crm-page-actions{align-items:flex-start}.crm-contact-buttons a{flex:1;text-align:center}}
