/* v130.3 — TeklifAI Customer Portfolio & Detail Dashboard */
:root{
  --tka-brand:#4f46e5;
  --tka-brand-600:#4338ca;
  --tka-ai:#7c3aed;
  --tka-ai-gradient:linear-gradient(135deg,#6366f1 0%,#a855f7 100%);
  --tka-bg:#f8fafc;
  --tka-surface:#fff;
  --tka-border:#e2e8f0;
  --tka-text:#0f172a;
  --tka-muted:#64748b;
  --tka-emerald:#10b981;
  --tka-amber:#f59e0b;
  --tka-rose:#f43f5e;
}
html,body,#appView{font-family:"Plus Jakarta Sans",Inter,"Segoe UI",Arial,sans-serif!important}
body{background:var(--tka-bg)!important}
/* Four-column ergonomic application shell: icon rail + customer portfolio + workspace + context */
#appView.app-shell{--crm-shell-sidebar:68px;--crm-shell-context:288px;grid-template-columns:68px minmax(0,1fr) 288px!important;background:#eef2f7!important}
#appView>.sidebar{padding:14px 10px!important;align-items:stretch;background:#fff!important;border-right:1px solid #e7ebf0!important}
#appView>.sidebar .brand{justify-content:center;padding:2px 0 20px!important}
#appView>.sidebar .brand>div:last-child{display:none!important}
#appView>.sidebar .brand .brand-mark{width:40px!important;height:40px!important;border-radius:12px!important;background:var(--tka-ai-gradient)!important;box-shadow:0 8px 22px rgba(99,102,241,.23)!important;font-size:0!important}
#appView>.sidebar .brand .brand-mark:after{content:'AI';font-size:11px;font-weight:800;letter-spacing:-.03em}
#appView>.sidebar .menu-group>summary,#appView>.sidebar .settings-navigation>summary,#appView>.sidebar .nav-section-label{display:none!important}
#appView>.sidebar .menu-group,#appView>.sidebar .settings-navigation,#appView>.sidebar .favorites-navigation{margin:0!important}
#appView>.sidebar .menu-items{gap:7px!important}
#appView>.sidebar .nav-item,#appView>.sidebar .tw-nav-item{width:44px!important;height:44px!important;min-height:44px!important;padding:0!important;border-radius:12px!important;justify-content:center!important;margin:0 auto!important;color:#64748b!important;position:relative}
#appView>.sidebar .nav-item span{position:absolute;left:56px;top:50%;transform:translateY(-50%);padding:6px 9px;border-radius:7px;background:#111827;color:#fff;font-size:10px;white-space:nowrap;opacity:0;pointer-events:none;transition:.14s ease;z-index:110}
#appView>.sidebar .nav-item:hover span{opacity:1;transform:translate(2px,-50%)}
#appView>.sidebar .nav-item svg,#appView>.sidebar .nav-item [data-lucide]{width:19px!important;height:19px!important;fill:none!important;stroke:currentColor!important;opacity:1!important}
#appView>.sidebar .nav-item.active,#appView>.sidebar .tw-nav-item-active{background:#eef2ff!important;color:var(--tka-brand)!important}
#appView>.sidebar .nav-item.active:before{content:'';position:absolute;left:-10px;width:3px;height:23px;border-radius:0 5px 5px 0;background:var(--tka-brand)}
#appView>.sidebar .settings-subnav{padding:0!important}.crm-shell-sidebar-profile{grid-template-columns:1fr!important;padding:13px 0 0!important;justify-items:center}.crm-shell-sidebar-profile>div:nth-child(2),.crm-shell-profile-action,#appView>.sidebar .sidebar-personalization{display:none!important}.crm-shell-avatar{width:36px!important;height:36px!important}
#appView>main{margin:10px 0 10px 10px!important;border-radius:14px 0 0 14px!important;background:var(--tka-bg)!important;overflow:clip}
#appView>main>.topbar{height:64px!important;background:#fff!important;padding:0 18px!important;border-bottom:1px solid #e9edf3!important}
#appView>main>.topbar .topbar-left{gap:14px!important}.topbar-brand{display:flex;align-items:center;gap:8px;flex:0 0 auto;margin-right:2px}.topbar-brand-mark{width:32px;height:32px;border-radius:10px;background:var(--tka-ai-gradient);display:grid;place-items:center;color:white;box-shadow:0 7px 16px rgba(99,102,241,.19)}.topbar-brand-mark svg{width:15px;height:15px}.topbar-brand strong{font-size:14px;letter-spacing:-.035em;color:#111827}.topbar-brand strong span{color:var(--tka-brand)}
#appView .global-search{height:38px!important;max-width:470px!important;background:#f8fafc!important;border:1px solid #e6eaf0!important;border-radius:10px!important}.global-search:focus-within{background:#fff!important;border-color:#a5b4fc!important;box-shadow:0 0 0 3px rgba(79,70,229,.08)!important}.global-search .search-go{display:none!important}.global-search input{padding-right:70px!important}.global-search kbd{right:9px!important;top:8px!important;background:#fff!important;color:#64748b!important;font-size:8px!important}
.topbar-utility{border:0!important;background:#f8fafc!important;color:#475569!important;height:36px!important;border-radius:9px!important}.topbar-utility:hover{background:#eef2ff!important;color:var(--tka-brand)!important}.topbar-action{border-radius:10px!important;background:#f8fafc!important}.user-menu #userAvatar{background:linear-gradient(135deg,#e0e7ff,#ede9fe)!important;color:#4338ca!important}.topbar-logout{display:none!important}
#appView .contextbar{height:38px!important;min-height:38px!important;background:#fff!important;padding:0 20px!important;border-bottom:1px solid #eef1f5!important}.contextbar>div{font-size:9px!important}.contextbar>div span{color:#94a3b8!important}.contextbar #pageTitle{color:#475569!important}
#pageContent.content{padding:0!important;background:#f8fafc!important;min-height:calc(100vh - 102px)!important}
.crm-context-center{top:10px!important;height:calc(100vh - 20px)!important;border-radius:0 14px 14px 0!important;border:1px solid #e5e9ef!important;border-left:0!important;background:#fff!important;padding:18px 17px!important}.crm-context-header small{color:#818cf8!important;font-weight:800}.crm-context-header strong{font-size:13px!important}.crm-context-item{grid-template-columns:28px 1fr!important;padding:10px 0!important}.crm-context-item>i{width:26px!important;height:26px!important;border-radius:8px!important}.crm-context-actions button{border-radius:9px!important;min-height:38px!important;padding:9px 10px!important;font-weight:600}.crm-context-actions button.primary-action{background:#eef2ff!important;color:var(--tka-brand)!important;border-color:#e0e7ff!important}.crm-system-state>i{background:var(--tka-emerald)!important}
/* Customer portfolio */
.customer-crm-v1303{display:grid!important;grid-template-columns:336px minmax(0,1fr)!important;min-height:calc(100vh - 102px)!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;overflow:hidden!important}
.customer-directory-v1303{width:auto!important;min-width:0!important;background:#fff!important;border-right:1px solid #e5e9ef!important;padding:18px 15px 12px!important;display:flex!important;flex-direction:column!important;min-height:0}
.customer-directory-v1303>header{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;padding:0 1px 13px!important;gap:8px}.customer-directory-v1303 .page-eyebrow{font-size:8px!important;color:#818cf8!important;font-weight:800!important;letter-spacing:.08em!important}.customer-directory-v1303 h1{font-size:17px!important;letter-spacing:-.035em!important;margin-top:3px!important;color:#0f172a!important}.customer-directory-actions{display:flex!important;gap:5px!important}.customer-tool-btn,.customer-add-v1303{height:30px;border:1px solid #e3e8ef;border-radius:8px;background:#fff;color:#64748b;display:inline-flex;align-items:center;justify-content:center;gap:4px;padding:0 8px;font-size:9px;font-weight:700;cursor:pointer}.customer-tool-btn{width:30px;padding:0}.customer-tool-btn svg,.customer-add-v1303 svg{width:13px;height:13px}.customer-tool-btn:hover{background:#f8fafc;color:#334155}.customer-add-v1303{border-color:#4f46e5!important;background:#4f46e5!important;color:#fff!important;box-shadow:0 5px 12px rgba(79,70,229,.16)}
.customer-search-v1303{height:38px!important;border:1px solid #dfe5ec!important;background:#f8fafc!important;border-radius:10px!important;padding:0 11px!important;display:flex!important;align-items:center!important;gap:8px!important;margin:0 0 9px!important}.customer-search-v1303:focus-within{background:#fff!important;border-color:#a5b4fc!important;box-shadow:0 0 0 3px rgba(79,70,229,.07)!important}.customer-search-v1303 svg{width:14px;height:14px;color:#94a3b8;flex:0 0 auto}.customer-search-v1303 input{border:0!important;box-shadow:none!important;background:transparent!important;padding:0!important;height:auto!important;font-size:10px!important}.customer-directory-meta{display:flex;align-items:center;justify-content:space-between;padding:1px 2px 9px;color:#94a3b8;font-size:8px}.customer-directory-meta button{display:inline-flex;align-items:center;gap:3px;border:0;background:transparent;color:#64748b;font-size:8px}.customer-directory-meta button svg{width:11px;height:11px}
.customer-directory-list{flex:1!important;overflow:auto!important;padding:0 2px 8px 0!important;scrollbar-width:thin}.customer-directory-entry{position:relative!important;margin-bottom:4px!important}.customer-directory-row-v1303{width:100%!important;min-height:76px!important;display:grid!important;grid-template-columns:36px minmax(0,1fr) auto!important;gap:10px!important;align-items:center!important;padding:10px 10px!important;border:1px solid transparent!important;border-radius:10px!important;background:#fff!important;text-align:left!important;position:relative!important;transition:.14s ease!important}.customer-directory-row-v1303:hover{background:#f8fafc!important;border-color:#edf0f4!important}.customer-directory-row-v1303.active{background:#eef2ff!important;border-color:#e0e7ff!important;box-shadow:none!important}.customer-directory-row-v1303.active:before{content:'';position:absolute;left:-2px;top:12px;bottom:12px;width:3px;border-radius:3px;background:#4f46e5}.customer-avatar-v1303{width:36px;height:36px;border-radius:10px;display:grid;place-items:center;background:#f1f5f9;color:#475569;font-size:11px;font-weight:800}.customer-directory-row-v1303.active .customer-avatar-v1303{background:#fff;color:#4f46e5}.customer-row-copy{min-width:0;display:grid;gap:3px}.customer-row-copy strong{display:block;font-size:9.5px!important;line-height:1.32!important;color:#172033!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;word-break:break-word!important}.customer-row-copy small{font-size:8px!important;color:#94a3b8!important}.customer-row-copy em{font-style:normal;font-size:8px;color:#64748b;display:flex;align-items:center;gap:4px}.customer-row-copy em svg{width:10px;height:10px}.customer-open-badge{align-self:start;min-width:20px;height:20px;padding:0 5px;border-radius:6px;background:#fff7ed;color:#d97706;display:grid;place-items:center;font-size:8px;border:1px solid #ffedd5}.customer-empty-list{padding:34px 16px;display:grid;place-items:center;text-align:center;color:#94a3b8;gap:6px}.customer-empty-list svg{width:24px}.customer-empty-list strong{font-size:10px;color:#475569}.customer-empty-list span{font-size:8px;line-height:1.5}
.customer-workspace-v1303{min-width:0!important;background:#f8fafc!important;overflow:auto!important;padding:0!important}.customer-workspace-loading{margin:28px!important;border-radius:12px!important}
.customer-profile-head-v1303{padding:18px 22px 0!important;background:#fff!important;border-bottom:1px solid #e8edf2!important}.customer-breadcrumb{display:flex;align-items:center;gap:5px;color:#94a3b8;font-size:8px;margin-bottom:14px}.customer-breadcrumb svg{width:10px;height:10px}.customer-breadcrumb strong{color:#64748b;font-weight:600}.customer-profile-main{display:flex;align-items:flex-end;justify-content:space-between;gap:20px}.customer-profile-title-v1303{display:flex;align-items:flex-start;gap:12px;min-width:0}.customer-profile-avatar-v1303{width:46px;height:46px;border-radius:13px;display:grid;place-items:center;flex:0 0 auto;background:linear-gradient(135deg,#e0e7ff,#f3e8ff);color:#4f46e5;font-size:15px;font-weight:800;border:1px solid #e4e7fb}.customer-profile-title-v1303>div{min-width:0}.customer-profile-title-v1303 h2{margin:5px 0 4px!important;font-size:18px!important;line-height:1.25!important;letter-spacing:-.035em!important;color:#111827!important;white-space:normal!important;overflow:visible!important;word-break:break-word!important;max-width:760px}.customer-profile-title-v1303 p{font-size:8.5px!important;color:#64748b!important;line-height:1.5!important}.customer-status-line-v1303{height:18px}.customer-active-pill{display:inline-flex;align-items:center;gap:5px;font-size:7.5px;font-weight:700;color:#047857;background:#ecfdf5;border:1px solid #d1fae5;border-radius:999px;padding:3px 7px}.customer-active-pill i{width:6px;height:6px;border-radius:50%;background:#10b981;box-shadow:0 0 0 3px rgba(16,185,129,.1);animation:tkaPulse 2s ease-out infinite}@keyframes tkaPulse{0%,100%{box-shadow:0 0 0 2px rgba(16,185,129,.12)}50%{box-shadow:0 0 0 5px rgba(16,185,129,0)}}
.customer-profile-actions-v1303{display:flex!important;align-items:center!important;gap:7px!important;flex-wrap:nowrap!important;padding-bottom:3px}.customer-profile-actions-v1303 button,.customer-profile-actions-v1303 summary{height:34px!important;border-radius:9px!important;padding:0 10px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;font-size:9px!important;font-weight:700!important;white-space:nowrap}.customer-profile-actions-v1303 svg{width:13px;height:13px}.customer-action-secondary{border:1px solid #e2e8f0!important;background:#fff!important;color:#475569!important}.customer-ai-gradient{border:0!important;background:var(--tka-ai-gradient)!important;color:white!important;box-shadow:0 7px 18px rgba(124,58,237,.18)!important;position:relative;overflow:hidden}.customer-ai-gradient:after{content:'';position:absolute;inset:0;background:linear-gradient(110deg,transparent 20%,rgba(255,255,255,.19) 47%,transparent 74%);transform:translateX(-100%);transition:transform .45s ease}.customer-ai-gradient:hover:after{transform:translateX(100%)}.customer-ai-gradient.compact{height:32px!important;padding:0 10px!important;font-size:8.5px!important}.customer-new-quote{border:0!important;background:#4f46e5!important;color:#fff!important;box-shadow:0 6px 14px rgba(79,70,229,.15)!important}.customer-new-quote:hover{background:#4338ca!important}.customer-more-menu summary{width:34px!important;padding:0!important;border:1px solid #e2e8f0!important;background:#fff!important;color:#64748b!important}.customer-more-menu summary svg{width:15px!important}
.customer-tabs-v1303{margin-top:16px!important;border-top:1px solid #f1f4f7!important;border-bottom:0!important;display:flex!important;gap:22px!important;overflow-x:auto!important}.customer-tabs-v1303 button{height:42px!important;padding:0 1px!important;border:0!important;border-bottom:2px solid transparent!important;background:transparent!important;color:#64748b!important;font-size:8.5px!important;font-weight:650!important;border-radius:0!important;white-space:nowrap!important}.customer-tabs-v1303 button.active{color:#4f46e5!important;border-bottom-color:#4f46e5!important;background:transparent!important}
.customer-tab-content-v1303{padding:18px 22px 28px!important}.customer-overview-metrics-v1303{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important;margin:0 0 14px!important}.customer-overview-metrics-v1303 article{min-height:94px!important;border:1px solid #e3e8ee!important;border-radius:12px!important;background:#fff!important;padding:14px!important;display:grid!important;grid-template-columns:34px minmax(0,1fr)!important;align-items:center!important;gap:10px!important;box-shadow:0 2px 8px rgba(15,23,42,.025)!important}.metric-icon{width:34px;height:34px;border-radius:10px;display:grid;place-items:center}.metric-icon svg{width:16px;height:16px}.metric-icon.indigo{background:#eef2ff;color:#4f46e5}.metric-icon.emerald{background:#ecfdf5;color:#059669}.metric-icon.amber{background:#fffbeb;color:#d97706}.metric-icon.rose{background:#fff1f2;color:#e11d48}.customer-overview-metrics-v1303 small{display:block;font-size:7.5px!important;color:#94a3b8!important;letter-spacing:.055em!important;font-weight:800!important}.customer-overview-metrics-v1303 strong{display:block;font-size:15px!important;color:#172033!important;line-height:1.25!important;margin:3px 0!important;white-space:normal!important;word-break:break-word!important}.customer-overview-metrics-v1303 em{font-style:normal!important;font-size:7.5px!important;color:#64748b!important}
.customer-overview-grid-v1303{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:12px!important;margin-bottom:12px!important}.customer-dashboard-card{border:1px solid #e2e8f0!important;border-radius:12px!important;background:#fff!important;box-shadow:0 2px 10px rgba(15,23,42,.025)!important;padding:16px!important;position:relative!important;overflow:hidden!important}.customer-section-head{display:flex!important;justify-content:space-between!important;align-items:flex-start!important;gap:16px!important;margin-bottom:12px!important}.customer-section-head h3{font-size:11px!important;color:#172033!important;margin:2px 0 3px!important;letter-spacing:-.02em!important}.customer-section-head p{font-size:8px!important;color:#94a3b8!important;line-height:1.5!important}.card-kicker{display:block;font-size:7px;color:#818cf8;font-weight:800;letter-spacing:.075em}.text-action{display:inline-flex!important;align-items:center!important;gap:4px!important;border:0!important;background:transparent!important;color:#4f46e5!important;font-size:8px!important;font-weight:700!important;white-space:nowrap!important}.text-action svg{width:11px;height:11px}.customer-contact-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px}.customer-info-row{padding:10px 0!important;border-bottom:1px solid #f1f4f7!important;display:grid!important;gap:3px!important}.customer-info-row span{font-size:7.5px!important;color:#94a3b8!important}.customer-info-row strong{font-size:9px!important;color:#334155!important;font-weight:650!important;white-space:normal!important;overflow-wrap:anywhere!important}.customer-info-row strong a{color:#4f46e5!important}.customer-insight-preview:before{content:'';position:absolute;left:0;top:0;bottom:0;width:3px;background:var(--tka-ai-gradient)}.ai-card-glow{position:absolute;width:150px;height:150px;border-radius:50%;right:-70px;top:-80px;background:radial-gradient(circle,rgba(168,85,247,.11),transparent 66%);pointer-events:none}.customer-insight-card{border-radius:9px!important;border:1px solid #edf0f5!important;background:#fafbff!important;padding:10px!important;grid-template-columns:28px minmax(0,1fr) auto!important}.customer-insight-card>span{width:26px!important;height:26px!important;border-radius:8px!important;background:#eef2ff!important;color:#4f46e5!important}.customer-insight-card strong{font-size:8.5px!important}.customer-insight-card p{font-size:7.5px!important}.customer-insight-card button{font-size:7.5px!important;color:#4f46e5!important}
.customer-empty-activity{text-align:center!important;display:grid!important;place-items:center!important;padding:26px 18px!important;margin-bottom:12px!important}.empty-illustration{width:52px;height:52px;border-radius:16px;display:grid;place-items:center;background:linear-gradient(135deg,#eef2ff,#faf5ff);color:#7c3aed;border:1px solid #ede9fe;margin-bottom:10px}.empty-illustration svg{width:23px;height:23px}.customer-empty-activity h3{font-size:11px!important;color:#172033!important}.customer-empty-activity p{font-size:8px!important;color:#94a3b8!important;max-width:430px!important;line-height:1.55!important;margin:5px 0 11px!important}.customer-empty-activity button{height:32px!important;font-size:8.5px!important}.customer-recent-card,.customer-recent-quotes{margin-bottom:12px!important}.customer-quote-list article{border-color:#edf0f4!important;border-radius:9px!important;background:#fff!important}.customer-quote-list article:hover{border-color:#c7d2fe!important;background:#fafaff!important}
/* Floating AI button: visually distinct without competing with the primary workflow */
.global-copilot-launcher{background:var(--tka-ai-gradient)!important;box-shadow:0 10px 28px rgba(99,102,241,.26)!important;border:1px solid rgba(255,255,255,.35)!important}.global-copilot-launcher:before{content:'';position:absolute;inset:-5px;border-radius:inherit;border:1px solid rgba(129,140,248,.25);animation:tkaAiRing 2.4s ease-out infinite;pointer-events:none}@keyframes tkaAiRing{0%,100%{transform:scale(.95);opacity:.5}50%{transform:scale(1.08);opacity:.08}}
@media(max-width:1480px){#appView.app-shell{--crm-shell-context:250px;grid-template-columns:68px minmax(0,1fr) 250px!important}.customer-crm-v1303{grid-template-columns:310px minmax(0,1fr)!important}.customer-profile-actions-v1303 .customer-action-secondary{display:none!important}.customer-overview-metrics-v1303{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:1180px){#appView.app-shell{grid-template-columns:68px minmax(0,1fr)!important}.crm-context-center{display:none!important}.customer-crm-v1303{grid-template-columns:290px minmax(0,1fr)!important}.topbar-brand{display:none}.customer-profile-main{align-items:flex-start;flex-direction:column}.customer-profile-actions-v1303{width:100%;padding-bottom:10px}.customer-overview-grid-v1303{grid-template-columns:1fr!important}}
@media(max-width:850px){#appView.app-shell{grid-template-columns:1fr!important}#appView>.sidebar{position:fixed!important;z-index:140!important;left:-72px!important;width:68px!important;transition:left .18s ease}body.menu-open #appView>.sidebar{left:0!important}#appView>main{margin:0!important;border-radius:0!important}.customer-crm-v1303{grid-template-columns:1fr!important}.customer-directory-v1303{max-height:330px!important;border-right:0!important;border-bottom:1px solid #e5e9ef!important}.customer-profile-main{gap:13px}.customer-profile-actions-v1303{overflow:auto!important}.customer-overview-metrics-v1303{grid-template-columns:1fr!important}.customer-contact-grid{grid-template-columns:1fr}.customer-tab-content-v1303{padding:14px!important}.customer-profile-head-v1303{padding-left:14px!important;padding-right:14px!important}.topbar-productivity{display:none!important}}

/* v136.2 — Customer Search & Quick Access */
.customer-search-shell{position:relative;z-index:32;margin:0 0 9px}.customer-search-shell .customer-search-v1303{margin:0!important;position:relative}.customer-search-clear{margin-left:auto;width:24px;height:24px;flex:0 0 24px;border:0;border-radius:7px;background:transparent;color:#94a3b8;display:grid;place-items:center;cursor:pointer}.customer-search-clear:hover{background:#eef2ff;color:#4f46e5}.customer-search-clear svg{width:13px!important;height:13px!important}.customer-search-clear.hidden{display:none!important}
.customer-quick-access{position:absolute;left:0;right:0;top:calc(100% + 6px);z-index:90;max-height:min(440px,calc(100vh - 230px));overflow:auto;padding:8px;border:1px solid #e2e8f0;border-radius:12px;background:#fff;box-shadow:0 18px 45px rgba(15,23,42,.16);opacity:0;visibility:hidden;pointer-events:none;transform:translateY(-12px) scale(.985);transform-origin:top center;transition:opacity .18s ease,transform .2s cubic-bezier(.2,.8,.2,1),visibility 0s linear .2s}.customer-quick-access.open{opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0) scale(1);transition-delay:0s}.customer-quick-access.closing{opacity:0;visibility:visible;pointer-events:none;transform:translateY(-12px) scale(.985)}
.customer-quick-head{height:32px;padding:0 5px 4px;display:flex;align-items:center;justify-content:space-between;gap:8px;color:#64748b}.customer-quick-head strong{font-size:9px;letter-spacing:.055em;text-transform:uppercase;color:#475569}.customer-quick-head span{font-size:8px;color:#94a3b8}.customer-quick-head button{border:0;background:transparent;color:#4f46e5;font-size:8.5px;font-weight:700;padding:5px;border-radius:6px}.customer-quick-head button:hover{background:#eef2ff}
.customer-quick-filters{display:flex;gap:5px;padding:2px 3px 8px;border-bottom:1px solid #f1f5f9;margin-bottom:5px;overflow-x:auto;scrollbar-width:none}.customer-quick-filters::-webkit-scrollbar{display:none}.customer-quick-filters button{height:29px;display:inline-flex;align-items:center;gap:4px;white-space:nowrap;border:1px solid #e2e8f0;border-radius:999px;background:#fff;color:#64748b;padding:0 9px;font-size:8.5px;font-weight:650}.customer-quick-filters button:hover{border-color:#c7d2fe;background:#f8faff;color:#4338ca}.customer-quick-filters button.active{border-color:#a5b4fc;background:#eef2ff;color:#4338ca}.customer-quick-filters svg{width:11px;height:11px}
.customer-quick-list{display:grid;gap:2px}.customer-quick-row{display:flex;align-items:center;min-width:0;border-radius:9px;transition:background .12s ease}.customer-quick-row:hover{background:#f8fafc}.customer-quick-main{flex:1;min-width:0;display:grid;grid-template-columns:30px minmax(0,1fr);align-items:center;gap:9px;border:0;background:transparent;text-align:left;padding:8px 6px}.customer-quick-avatar{width:30px;height:30px;border-radius:9px;display:grid;place-items:center;background:#f1f5f9;color:#475569;font-size:10px;font-weight:800}.customer-quick-main>span:last-child{min-width:0;display:grid;gap:2px}.customer-quick-main strong,.customer-quick-main small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.customer-quick-main strong{font-size:9px;color:#172033}.customer-quick-main small{font-size:7.5px;color:#94a3b8}.customer-quick-star,.customer-quick-ai{height:27px;min-width:27px;border:0;border-radius:8px;background:transparent;color:#94a3b8;display:inline-flex;align-items:center;justify-content:center;gap:3px;margin-right:2px}.customer-quick-star:hover,.customer-quick-star.active{background:#fffbeb;color:#d97706}.customer-quick-star.active svg{fill:currentColor}.customer-quick-ai{padding:0 6px;color:#6366f1}.customer-quick-ai:hover{background:#eef2ff}.customer-quick-ai span{font-size:7.5px;font-weight:800}.customer-quick-star svg,.customer-quick-ai svg{width:12px;height:12px}.customer-quick-empty{padding:22px 12px;text-align:center;color:#94a3b8;font-size:8.5px;line-height:1.5}
.customer-directory-entry{display:flex!important;align-items:stretch!important;min-width:0}.customer-directory-entry .customer-directory-row-v1303{flex:1!important;min-width:0!important}.customer-favorite-mini{align-self:center;width:27px;height:27px;flex:0 0 27px;margin-left:2px;border:0;border-radius:8px;background:transparent;color:#cbd5e1;display:grid;place-items:center;opacity:.35;transition:.12s ease}.customer-directory-entry:hover .customer-favorite-mini,.customer-favorite-mini:focus,.customer-favorite-mini.active{opacity:1}.customer-favorite-mini:hover,.customer-favorite-mini.active{background:#fffbeb;color:#d97706}.customer-favorite-mini.active svg{fill:currentColor}.customer-favorite-mini svg{width:12px;height:12px}.customer-directory-entry .customer-ai-mini{flex:0 0 30px!important;margin-right:2px!important;margin-left:1px!important}
@media (prefers-reduced-motion:reduce){.customer-quick-access{transition:none!important}}

/* v139.7 - paged customer workspace */
.customer-load-more{display:flex;justify-content:center;padding:14px 0 4px}.customer-load-more button{min-width:210px}

/* v139.7.1 - customer workspace demand-loading */
.customer-workspace-empty{min-height:420px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:48px;color:#64748b}
.customer-workspace-empty .empty-illustration{width:56px;height:56px;border-radius:18px;display:grid;place-items:center;background:#f1f5f9;color:#64748b;margin-bottom:16px}
.customer-workspace-empty .empty-illustration svg{width:24px;height:24px}
.customer-workspace-empty h2{margin:0 0 8px;color:#0f172a;font-size:20px}
.customer-workspace-empty p{max-width:520px;margin:0;line-height:1.65;font-size:13px}
.customer-page-nav{display:flex;align-items:center;justify-content:center;gap:12px;padding:16px 0 4px}
.customer-page-nav span{min-width:68px;text-align:center;font-size:12px;font-weight:700;color:#64748b}
.customer-page-nav button[disabled]{opacity:.45;cursor:not-allowed}
