@import"https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Vazirmatn:wght@400;500;600;700&display=swap";:root{font-family:Inter,sans-serif;color:#172033;background:#eef3f9;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-width:1024px;background:#eef3f9}button,textarea,input{font:inherit}button{transition:transform .2s ease,background .2s ease,border-color .2s ease,box-shadow .2s ease,color .2s ease}button:not(:disabled):hover{transform:translateY(-1px)}button:disabled{opacity:.45;cursor:not-allowed!important}.crm-workspace{height:100vh!important;min-height:720px;display:grid!important;grid-template-columns:70px 340px minmax(520px,1fr);gap:0;padding:0;overflow:hidden;background:#f8fafc;color:#172033}.crm-nav-rail{position:relative;grid-column:1;grid-row:1;display:flex;flex-direction:column;align-items:center;gap:8px;padding:18px 0;color:#91a4ba;background:#253649;box-shadow:inset -1px 0 #ffffff0f;z-index:12}.nav-rail-brand{width:34px;height:34px;margin-bottom:12px;display:grid;place-items:center;border:0;border-radius:11px;color:#fff;background:#2f9bf2;font-size:17px;font-weight:800;box-shadow:0 7px 16px #2f9bf24d;cursor:pointer}.nav-rail-brand:hover{background:#47a9f5}.agent-account-menu{position:absolute;top:14px;left:60px;z-index:50;width:238px;padding:8px;border:1px solid #dce5f0;border-radius:16px;background:#fff;box-shadow:0 18px 45px #0f233c33;color:#25354b}.agent-account-menu:before{content:"";position:absolute;top:16px;left:-7px;width:12px;height:12px;border-left:1px solid #dce5f0;border-bottom:1px solid #dce5f0;background:#fff;transform:rotate(45deg)}.agent-account-menu a,.agent-account-menu>button{position:relative;z-index:1;width:100%;display:flex;align-items:center;gap:10px;padding:11px 12px;border:0;border-radius:10px;color:#42536a;background:transparent;font-size:12px;text-decoration:none;text-align:left;cursor:pointer}.agent-account-menu a:hover,.agent-account-menu>button:hover{color:#1d68c9;background:#eef5ff}.agent-account-head{border-bottom:1px solid #edf1f6!important;margin-bottom:5px;padding:10px 8px!important}.agent-account-avatar{width:34px;height:34px;display:grid;place-items:center;overflow:hidden;border-radius:50%;color:#fff;background:#398fe8;font-size:13px;font-weight:700}.agent-account-avatar img{width:100%;height:100%;object-fit:cover}.agent-account-head span:last-child{display:flex;flex-direction:column;gap:3px;min-width:0}.agent-account-head strong{overflow:hidden;color:#192d45;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.agent-account-head small{color:#8a99ac;font-size:10px}.nav-rail-item{position:relative;width:62px;min-height:56px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:0;border-radius:12px;color:#91a4ba;background:transparent;cursor:pointer;font-size:9px}.nav-rail-item:hover,.nav-rail-item.active{color:#fff;background:#2f4a64}.nav-rail-item.active:before{content:"";position:absolute;left:0;width:3px;height:30px;border-radius:0 4px 4px 0;background:#43a8f5}.nav-rail-item b{position:absolute;top:4px;right:10px;min-width:14px;height:14px;padding:0 4px;border-radius:999px;color:#fff;background:#3da7f4;font-size:9px;line-height:14px}.nav-rail-glyph{height:20px;font-size:20px;line-height:20px}.crm-sidebar,.crm-main,.crm-profile-rail{min-width:0;border:0!important;background:#ffffffe6!important;box-shadow:inset -1px 0 #e3eaf2,inset 1px 0 #e3eaf2;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.crm-sidebar{width:auto!important;padding:20px 14px!important;border-radius:0;overflow:hidden auto!important;scrollbar-width:thin;scrollbar-color:#c6d2e3 transparent}.crm-sidebar h3{margin:0 0 18px!important;padding:0 10px;color:#122542;font-size:16px!important;letter-spacing:-.03em}.crm-sidebar h3:before{display:none}.crm-sidebar h4{margin:22px 10px 10px!important;color:#76849a;font-size:11px!important;font-weight:700;letter-spacing:.09em;text-transform:uppercase}.crm-sidebar hr{margin:18px 8px;border:0;border-top:1px solid #edf1f6}.crm-sidebar>button:first-of-type{width:calc(100% - 16px)!important;margin:0 8px 16px!important;padding:10px!important;border:1px solid #e6ebf2!important;border-radius:14px!important;background:#f8fafc!important}.crm-sidebar>button:first-of-type:hover{border-color:#bcd3f8!important;background:#f1f6ff!important}.sidebar-agent-profile,.sidebar-account-links{display:none!important}.sidebar-search{display:flex;align-items:center;gap:8px;height:38px;margin:0 8px 18px;padding:0 11px;border:1px solid #e4ebf4;border-radius:12px;color:#8da0b7;background:#f8fafc}.sidebar-search:focus-within{border-color:#9fc2f0;background:#fff;box-shadow:0 0 0 3px #307ee21a}.sidebar-search span{font-size:19px;line-height:1}.sidebar-search input{width:100%;min-width:0;border:0;outline:0;color:#34445a;background:transparent;font-size:11px}.sidebar-search input::placeholder{color:#a3afbf}.sidebar-status-dot{display:inline-block;width:8px;height:8px;flex:0 0 8px;border-radius:50%;background:#b4c0cf;box-shadow:0 0 0 3px #b4c0cf24}.sidebar-status-dot[data-online=true]{background:#22bf76;box-shadow:0 0 0 3px #22bf7624}.crm-sidebar a{color:#3475d4;text-decoration:none}.crm-sidebar>div[style*=borderBottom]{margin:3px 0;padding:13px 10px!important;border:1px solid transparent!important;border-radius:15px}.crm-sidebar>div[style*=borderBottom]:hover{border-color:#dce8f8!important;background:#f6f9fe!important}.crm-sidebar>div[style*="background: '#f0f9ff'"]{border-color:#cfe0fa!important;background:#edf5ff!important;box-shadow:inset 3px 0 #2878e8}.crm-sidebar small{color:#8a98aa!important;font-size:10px}.crm-main{display:flex!important;flex-direction:column;border-radius:0;overflow:hidden;background:#f9fbfeeb!important}.crm-chat-header{min-height:60px;padding:8px 20px!important;border-bottom:1px solid #e6edf5!important;background:#fffffff5;box-shadow:0 3px 18px #3246640a}.crm-chat-header>div{gap:14px!important}.chat-customer-avatar{position:relative;width:44px;height:44px;display:grid;place-items:center;flex:0 0 44px;overflow:hidden;border-radius:50%;color:#2268bd;background:#dceafe;font-size:15px;font-weight:700}.chat-customer-avatar img{width:100%;height:100%;object-fit:cover}.chat-customer-avatar .presence-dot{right:0;bottom:0}.crm-chat-header>div>span:first-child{display:flex;flex-direction:column;gap:4px}.crm-chat-header>div>span:first-child>div:first-child{color:#91a0b4!important;font-size:10px!important;font-weight:700;letter-spacing:.09em;text-transform:uppercase}.crm-chat-header>div>span:first-child>div:nth-child(2){color:#15233a;font-size:16px;letter-spacing:-.02em}.crm-chat-header button{width:38px!important;height:38px!important;border:1px solid #e2e9f2!important;border-radius:12px!important;color:#6e7e93!important;background:#fff!important;box-shadow:0 4px 12px #2945680d}.crm-chat-header button:hover{border-color:#a9c7f3!important;color:#1969d8!important;background:#f4f8ff!important}.header-more-button{color:#6f8095!important}.crm-message-list{flex:1!important;padding:24px clamp(18px,5vw,72px)!important;background-color:#e4eee3!important;background-image:radial-gradient(rgba(108,151,105,.14) 1px,transparent 1px),linear-gradient(135deg,transparent 46%,rgba(255,255,255,.2) 47% 49%,transparent 50%)!important;background-size:26px 26px,74px 74px!important;scrollbar-width:thin;scrollbar-color:#b6cbb6 transparent}.crm-message-list>div>div[id^=message-]{margin:10px 0!important}.crm-message-list>div>div[id^=message-]>div{max-width:min(72%,620px)!important;padding:12px 16px 10px!important;border:1px solid rgba(219,228,239,.9);border-radius:18px!important;box-shadow:0 7px 22px #30476712!important}.crm-message-list img{max-width:100%!important;border-radius:13px!important}.crm-message-list>div>div:first-child>span{padding:6px 14px!important;border:1px solid #e0e9f4;border-radius:999px!important;color:#7990ac!important;background:#ffffffd1!important;font-size:10px!important;font-weight:700;text-transform:uppercase}.crm-composer{margin:12px 18px 18px!important;padding:8px 12px!important;min-height:64px!important;border:1px solid #e1e9f3;border-radius:18px!important;box-shadow:0 12px 28px #2c446517!important}.crm-composer>div:last-child{gap:6px!important}.crm-composer textarea{padding:11px 10px!important;color:#28384e;font-size:13px!important}.crm-composer button{color:#7689a1!important}.crm-composer button:hover{color:#1c70e5!important;background:#f1f6ff!important}.crm-composer .composer-send{order:5;width:40px;height:40px;display:grid;place-items:center;border:0;border-radius:13px;color:#fff!important;background:#2175e6!important;box-shadow:0 7px 16px #2175e63d;cursor:pointer}.crm-composer .composer-send:hover{color:#fff!important;background:#155fc8!important}.crm-profile-rail{display:none}.profile-rail-head{display:flex;align-items:center;justify-content:space-between;color:#6e7d93;font-size:12px;font-weight:700;letter-spacing:.02em;text-transform:uppercase}.profile-rail-close{width:30px;height:30px;border:0;border-radius:10px;color:#8090a4;background:transparent;cursor:pointer;font-size:20px}.profile-rail-close:hover{background:#eef4fb;color:#206fd5}.profile-hero{padding:28px 0 24px;border-bottom:1px solid #edf1f6;text-align:center}.profile-hero-avatar{position:relative;width:88px;height:88px;margin:0 auto 14px;display:grid;place-items:center;overflow:hidden;border:5px solid #f1f6fc;border-radius:50%;color:#2469c7;background:#dceafe;font-size:28px;font-weight:700}.profile-hero-avatar img{width:100%;height:100%;object-fit:cover}.presence-dot{position:absolute;right:1px;bottom:3px;width:16px;height:16px;border:3px solid #fff;border-radius:50%;background:#aab6c5}.presence-dot.is-online{background:#23c27a}.profile-hero h2{margin:0 0 8px;color:#172a45;font-size:17px;letter-spacing:-.03em}.profile-role{display:inline-flex;padding:5px 11px;border-radius:999px;color:#2872d1;background:#e8f1ff;font-size:10px;font-weight:700}.profile-details{display:grid;gap:1px;margin:16px 0;padding:4px 0;border-bottom:1px solid #edf1f6}.profile-details>div,.profile-stat-card>div{display:flex;justify-content:space-between;gap:12px;padding:11px 2px}.profile-details span,.profile-stat-card span{color:#91a0b4;font-size:11px}.profile-details strong,.profile-stat-card strong{max-width:145px;overflow:hidden;color:#34445a;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.profile-stat-card{margin:16px 0;padding:8px 12px;border:1px solid #e4edf8;border-radius:16px;background:linear-gradient(145deg,#f8fbff,#eef5fd)}.profile-action{width:100%;padding:12px;border:1px solid #d7e6fa;border-radius:13px;color:#2571d2;background:#f2f7ff;font-size:11px;font-weight:700;cursor:pointer}.profile-empty{display:grid;min-height:280px;place-content:center;padding:20px;color:#8a99ad;text-align:center}.profile-empty-icon{margin-bottom:14px;color:#a7c5eb;font-size:38px}.profile-empty strong{color:#53657d;font-size:13px}.profile-empty p{margin:8px 0;font-size:11px;line-height:1.6}.handover-menu-anchor{position:relative}.handover-menu-anchor>.header-more-button{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border:1px solid #e2e9f2;border-radius:12px;color:#6e7e93;background:#fff;cursor:pointer}.handover-menu{position:absolute;top:calc(100% + 8px);right:0;z-index:80;width:278px;max-width:calc(100vw - 24px);padding:7px;border:1px solid #e1e9f3;border-radius:16px;background:#fff;box-shadow:0 18px 44px #14294333}.handover-menu-heading{padding:8px 10px 7px;color:#8795a8;font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.crm-chat-header .handover-menu button{display:flex;align-items:center;gap:11px;width:100%!important;height:auto!important;min-height:58px;padding:8px 9px;border:0!important;border-radius:11px!important;color:#25354b;background:transparent!important;box-shadow:none!important;text-align:left;cursor:pointer}.crm-chat-header .handover-menu button:hover:not(:disabled){color:#25354b!important;background:#f6f8fc!important}.handover-menu button:focus-visible{outline:2px solid #8bb5f5;outline-offset:1px}.handover-menu button:disabled{opacity:.48;cursor:not-allowed}.handover-menu-icon{display:grid;flex:0 0 36px;width:36px;height:36px;place-items:center;border-radius:11px}.handover-menu-icon-transfer{color:#2563eb;background:#eff6ff}.handover-menu-icon-mention{color:#7c3aed;background:#f5f0ff}.handover-menu-icon-note{color:#b45309;background:#fff7e8}.handover-menu-icon-history{color:#475569;background:#f1f5f9}.handover-menu-copy{display:grid;flex:1;min-width:0;gap:3px}.handover-menu-copy strong{color:#24354b;font-size:12px;font-weight:700}.handover-menu-copy small{color:#8795a8;font-size:10px;line-height:1.35}.handover-menu .handover-menu-history{margin-top:4px;padding-top:11px;border-top:1px solid #edf1f6;border-radius:0 0 11px 11px}.broadcast-open-button{width:calc(100% - 16px);margin:0 8px 14px;padding:11px 12px;border:1px solid #b8d5fb;border-radius:12px;color:#155eb8;background:#eff6ff;font-size:12px;font-weight:700;cursor:pointer}.broadcast-open-button:hover{border-color:#83b5f5;background:#e4f0ff}.broadcast-dialog-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1350;display:grid;place-items:center;padding:16px;background:#0f172a7a;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.broadcast-dialog{width:min(560px,100%);max-height:min(88vh,760px);overflow:auto;padding:22px;border:1px solid #e5ebf3;border-radius:20px;color:#172b49;background:#fff;box-shadow:0 28px 80px #0f233c40}.broadcast-dialog>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:16px}.broadcast-dialog>header h2{margin:0;color:#142943;font-size:20px}.broadcast-dialog>header p{margin:5px 0 0;color:#8495ad;font-size:12px}.broadcast-dialog>header>button{width:34px;height:34px;border:0;border-radius:10px;color:#64748b;background:#f1f5f9;cursor:pointer;font-size:22px}.broadcast-audience{display:grid;gap:5px;margin:12px 0;padding:13px;border:1px solid #dce8f8;border-radius:13px;color:#60738b;background:#f5f9ff;font-size:11px;line-height:1.5}.broadcast-audience strong{color:#1d5ca8;font-size:12px}.broadcast-system-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.broadcast-system-heading button{padding:5px 8px;border:1px solid #cfe0f6;border-radius:8px;color:#2167b4;background:#fff;cursor:pointer;font-size:10px;font-weight:700}.broadcast-system-heading button:disabled{opacity:.48;cursor:not-allowed}.broadcast-system-option{display:flex;align-items:center;gap:8px;padding:7px 8px;border:1px solid #e3ebf5;border-radius:9px;color:#34445a;background:#fff;font-size:11px}.broadcast-system-option input{accent-color:#1765ed}.broadcast-system-option span{flex:1;font-weight:700}.broadcast-system-option small{color:#8495ad;font-size:10px}.broadcast-field{display:grid;gap:7px;margin:14px 0;color:#5c6e86;font-size:11px;font-weight:700}.broadcast-field textarea{width:100%;padding:11px 12px;border:1px solid #dfe7f1;border-radius:11px;outline:0;color:#21344f;background:#fbfdff;font-size:13px;font-weight:400;resize:vertical}.broadcast-field select{width:100%;padding:10px 12px;border:1px solid #dfe7f1;border-radius:11px;color:#21344f;background:#fbfdff;font-size:13px;font-weight:400}.broadcast-field textarea:focus{border-color:#8eb6ef;box-shadow:0 0 0 3px #1765ed1a}.broadcast-field small{color:#8495ad;text-align:right;font-weight:400}.broadcast-confirm{display:flex;align-items:flex-start;gap:9px;margin:14px 0;color:#4a5d75;font-size:12px;line-height:1.5}.broadcast-confirm input{margin-top:2px;accent-color:#1765ed}.broadcast-error,.broadcast-success{margin:10px 0;font-size:12px}.broadcast-error{color:#b91c1c}.broadcast-success{color:#15803d}.broadcast-dialog>footer{display:flex;justify-content:flex-end;gap:8px;margin-top:16px;padding-top:14px;border-top:1px solid #edf1f6}.broadcast-dialog>footer button{padding:9px 14px;border:1px solid #dbe3ee;border-radius:10px;color:#53657d;background:#fff;cursor:pointer;font-size:12px;font-weight:700}.broadcast-dialog>footer button:last-child{border-color:#1765ed;color:#fff;background:#1765ed}.broadcast-dialog>footer button:disabled{opacity:.48;cursor:not-allowed}.handover-dialog-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1300;display:grid;place-items:center;padding:16px;background:#0f172a6b;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.handover-dialog{position:relative;width:min(560px,100%);max-height:min(88vh,820px);overflow:auto;padding:22px;border:1px solid #e5ebf3;border-radius:20px;color:#172b49;background:#fff;box-shadow:0 28px 80px #0f233c40}.handover-dialog>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:18px}.handover-dialog>header h2{margin:0;color:#142943;font-size:20px}.handover-dialog>header p{margin:5px 0 0;color:#8495ad;font-size:12px}.handover-dialog>header>button{width:34px;height:34px;border:0;border-radius:10px;color:#64748b;background:#f1f5f9;cursor:pointer;font-size:22px}.handover-field{display:grid;gap:7px;margin:12px 0;color:#5c6e86;font-size:11px;font-weight:700}.handover-field input,.handover-field textarea{width:100%;padding:10px 12px;border:1px solid #dfe7f1;border-radius:11px;outline:0;color:#21344f;background:#fbfdff;font-size:13px;font-weight:400}.handover-field input:focus,.handover-field textarea:focus{border-color:#8eb6ef;box-shadow:0 0 0 3px #1765ed1a}.handover-field textarea{resize:vertical}.handover-staff-list,.internal-note-list,.transfer-history-list{display:grid;gap:8px;max-height:230px;overflow:auto;margin:10px 0 14px;padding:2px}.handover-staff-option{width:100%;display:flex;align-items:center;gap:9px;padding:9px;border:1px solid #e7edf5;border-radius:12px;color:#34445a;background:#fff;text-align:left;cursor:pointer}.handover-staff-option:hover,.handover-staff-option.is-selected{border-color:#8eb6ef;background:#f1f6ff}.handover-staff-avatar{width:34px;height:34px;flex:0 0 34px;display:grid;place-items:center;overflow:hidden;border-radius:50%;color:#fff;background:#398fe8;font-size:13px;font-weight:700}.handover-staff-avatar img{width:100%;height:100%;object-fit:cover}.handover-staff-copy{display:grid;flex:1;min-width:0;gap:3px}.handover-staff-copy strong,.mention-suggestions strong{overflow:hidden;color:#25354b;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.handover-staff-copy small,.mention-suggestions small{color:#8495ad;font-size:10px}.handover-status-dot{width:8px;height:8px;border-radius:50%;background:#94a3b8}.handover-status-dot.status-online{background:#16c784}.handover-status-dot.status-away{background:#f59e0b}.handover-status-dot.status-busy{background:#ef4444}.handover-staff-option>small{color:#8495ad;font-size:10px}.handover-summary{display:grid;gap:6px;margin:14px 0;padding:13px;border:1px solid #dce8f8;border-radius:13px;color:#50627a;background:#f5f9ff;font-size:12px}.handover-summary strong{margin-bottom:2px;color:#1d5ca8}.handover-dialog>footer{display:flex;justify-content:flex-end;gap:8px;margin-top:16px;padding-top:14px;border-top:1px solid #edf1f6}.handover-dialog>footer button{padding:9px 14px;border-radius:10px;cursor:pointer;font-size:12px;font-weight:700}.handover-secondary{border:1px solid #dbe3ee;color:#53657d;background:#fff}.handover-primary{border:1px solid #1765ed;color:#fff;background:#1765ed}.handover-error{margin:10px 0;color:#b91c1c;font-size:12px}.handover-empty{padding:18px 10px;color:#8495ad;text-align:center;font-size:12px}.internal-note-list{max-height:260px}.internal-note-card,.transfer-history-card{padding:12px;border:1px solid #e1eaf5;border-radius:13px;background:#f7faff}.internal-note-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#48617e;font-size:11px}.internal-note-meta time,.transfer-history-card time{color:#91a0b4;font-size:10px}.internal-note-body{margin-top:8px;color:#2f4057;white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.6}.internal-note-mentions{margin-top:8px;color:#2167b4;font-size:11px}.mention-suggestions{display:grid;max-height:180px;overflow:auto;margin-top:-6px;padding:5px;border:1px solid #dfe7f1;border-radius:12px;background:#fff;box-shadow:0 12px 30px #0f233c1a}.mention-suggestions button{display:flex;align-items:center;gap:9px;padding:7px;border:0;border-radius:8px;background:#fff;text-align:left;cursor:pointer}.mention-suggestions button:hover{background:#f1f6ff}.mention-suggestions button>span:last-child{display:grid;gap:3px}.transfer-history-list{max-height:480px}.transfer-history-card{display:grid;gap:6px}.transfer-history-card>strong{color:#21344f;font-size:13px}.transfer-history-card>span,.transfer-history-card p{margin:0;color:#5f7189;font-size:11px;line-height:1.6}.notification-panel{position:absolute;top:150px;left:66px;z-index:100;width:min(330px,calc(100vw - 90px));max-height:70vh;padding:10px;border:1px solid #dce5f0;border-radius:16px;color:#25354b;background:#fff;box-shadow:0 18px 48px #0f233c33}.notification-panel>header{display:flex;align-items:center;justify-content:space-between;padding:6px 6px 10px;border-bottom:1px solid #edf1f6;font-size:13px}.notification-panel>header button{border:0;color:#8495ad;background:transparent;cursor:pointer;font-size:20px}.notification-panel>p{color:#b91c1c;font-size:11px}.notification-list{display:grid;max-height:calc(70vh - 60px);overflow:auto;padding-top:5px}.notification-item{display:grid;gap:5px;padding:10px 8px;border:0;border-bottom:1px solid #f0f3f7;border-radius:8px;color:#52647a;background:#fff;text-align:left;cursor:pointer}.notification-item.is-unread{background:#f1f6ff}.notification-item strong{color:#243951;font-size:11px}.notification-item span{font-size:10px;line-height:1.45}.notification-item small{color:#91a0b4;font-size:9px}.conversation-owner-notice{margin:0 0 7px;padding:8px 11px;border:1px solid #dce8f8;border-radius:10px;color:#52647a;background:#f3f8ff;font-size:11px;line-height:1.5}.conversation-transfer-indicator{display:block;margin-top:3px;color:#2563eb;font-size:9px;font-weight:600}.active-handover-note{display:grid;gap:5px;margin:8px 16px 0;padding:10px 13px;border:1px solid #b9d4f7;border-left:4px solid #2878e8;border-radius:11px;color:#3d5574;background:#f1f7ff;font-size:11px}.active-handover-note strong{color:#1d5ca8;font-size:10px;text-transform:uppercase}.active-handover-note span{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.5}@media (max-width: 1280px){.crm-workspace{grid-template-columns:70px 300px minmax(480px,1fr)}.crm-sidebar{padding:16px 10px!important}.crm-message-list{padding-inline:28px!important}}@media (max-width: 900px){body{min-width:0}.crm-workspace{grid-template-columns:60px minmax(0,1fr)}.crm-sidebar{display:none}}:root{--aqsa-blue: #1765ed;--aqsa-navy: #142943;--aqsa-light-blue: #f0f5ff;--aqsa-background: #f5f8fd;--aqsa-text: #172b49;--aqsa-secondary: #8495ad;--aqsa-green: #16c784;font-family:DM Sans,Vazirmatn,sans-serif;color:var(--aqsa-text);background:var(--aqsa-background);letter-spacing:0}body{min-width:320px;background:var(--aqsa-background);color:var(--aqsa-text);font-family:DM Sans,Vazirmatn,sans-serif}button,input,textarea,select{font-family:inherit;letter-spacing:0}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid rgba(23,101,237,.22);outline-offset:2px}.crm-workspace{position:relative;height:100dvh!important;min-height:0;grid-template-columns:76px minmax(320px,370px) minmax(0,1fr);background:var(--aqsa-background);color:var(--aqsa-text);font-family:DM Sans,Vazirmatn,sans-serif!important}.crm-nav-rail{grid-column:1;gap:9px;padding:18px 10px 14px;background:var(--aqsa-navy);color:#b6c4d7;box-shadow:inset -1px 0 #ffffff12}.nav-rail-brand{width:44px;height:44px;margin:0 0 14px;border-radius:14px;background:var(--aqsa-blue);box-shadow:0 8px 18px #1765ed4d;font-size:19px}.nav-rail-item{width:56px;min-height:58px;border-radius:14px;color:#a6b7cd;font-size:10px}.nav-rail-item:hover,.nav-rail-item.active{color:#fff;background:#ffffff17}.nav-rail-item.active:before{left:-10px;height:34px;background:#54a0ff}.nav-rail-item b{top:3px;right:3px;min-width:17px;height:17px;background:var(--aqsa-blue);font-size:9px;line-height:17px}.nav-rail-spacer{flex:1}.nav-rail-footer{display:grid;justify-items:center;gap:7px;color:#c3d1e4;font-size:9px;font-weight:600;line-height:1.3;text-align:center}.nav-rail-footer-mark{display:grid;width:34px;height:34px;place-items:center;border:1px solid rgba(255,255,255,.22);border-radius:11px;color:#fff;background:#1765ed38;font-size:17px;font-weight:700}.crm-sidebar{position:relative;padding:22px 14px 14px!important;border-right:1px solid #e6edf7!important;background:#fff!important;box-shadow:2px 0 16px #14294306;-webkit-backdrop-filter:none;backdrop-filter:none}.conversation-brand{display:flex;align-items:center;gap:11px;margin:0 4px 21px}.conversation-brand-mark{display:grid;width:38px;height:38px;flex:0 0 38px;place-items:center;border-radius:12px;color:#fff;background:var(--aqsa-blue);box-shadow:0 6px 15px #1765ed33;font-size:18px;font-weight:700}.conversation-brand>span:last-child{display:flex;min-width:0;flex-direction:column;gap:2px}.conversation-brand strong{color:var(--aqsa-text);font-size:14px;font-weight:700}.conversation-brand small{color:var(--aqsa-secondary);font-size:10px}.sidebar-search{height:43px;margin:0 2px 17px;padding:0 12px;border-color:#e4ebf5;border-radius:13px;color:#7f91aa;background:#f8faff}.sidebar-search:focus-within{border-color:#8eb6fb;background:#fff;box-shadow:0 0 0 3px #1765ed1a}.sidebar-search input{color:var(--aqsa-text);font-size:12px}.sidebar-search input::placeholder{color:#97a6ba}.sidebar-account-links{display:none!important}.crm-sidebar hr{margin:0 3px 15px;border-color:#edf1f7}.conversation-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 2px 8px}.crm-sidebar .conversation-panel-heading h4{margin:0!important;color:var(--aqsa-text);font-size:15px!important;font-weight:700;letter-spacing:0;text-transform:none}.conversation-filter{display:inline-flex;height:34px;align-items:center;gap:6px;padding:0 8px;border:1px solid #e4ebf5;border-radius:10px;color:var(--aqsa-secondary);background:#fff}.conversation-filter select{max-width:105px;border:0;outline:0;color:#52657f;background:transparent;font-size:10px;cursor:pointer}.crm-sidebar .system-group-heading{display:flex;align-items:center;gap:8px;margin:15px 3px 6px!important;padding:9px 10px;border:0;border-radius:11px;color:var(--aqsa-text);background:#f0f5ff;font-size:11px!important;font-weight:700;letter-spacing:.04em;text-transform:uppercase}.system-group-heading svg{color:var(--aqsa-blue)}.system-group-heading>span:nth-child(2){min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.system-group-count{display:grid;min-width:21px;height:21px;place-items:center;padding:0 5px;border-radius:999px;color:var(--aqsa-blue);background:#fff;font-size:10px}.conversation-row{position:relative;display:flex;align-items:center;gap:11px;min-height:78px;margin:3px 0;padding:10px 9px!important;border:1px solid transparent!important;border-bottom-color:#edf1f6!important;border-radius:13px;background:#fff;cursor:pointer;transition:background .16s ease,border-color .16s ease,box-shadow .16s ease,transform .16s ease;animation:conversation-enter .2s ease-out both}.conversation-row:hover{border-color:#dce8fa!important;background:#f8fbff;transform:translateY(-1px)}.conversation-row.is-active{border-color:#c8dcfb!important;background:var(--aqsa-light-blue)!important;box-shadow:inset 3px 0 var(--aqsa-blue),0 5px 14px #1765ed0f}.conversation-avatar{position:relative;display:grid;width:43px;height:43px;flex:0 0 43px;place-items:center;overflow:visible;border-radius:50%;color:#fff;background:linear-gradient(145deg,#5b9cff,#1765ed);font-size:16px;font-weight:600}.conversation-avatar img{width:100%;height:100%;border-radius:50%;object-fit:cover}.conversation-avatar .presence-dot{right:-1px;bottom:-1px;width:13px;height:13px;border-width:2px}.conversation-copy{display:flex;min-width:0;flex:1;flex-direction:column;gap:3px}.conversation-title-row,.conversation-preview-row{display:flex;min-width:0;align-items:center;justify-content:space-between;gap:8px}.conversation-title-row strong{min-width:0;overflow:hidden;color:var(--aqsa-text);font-size:12px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.conversation-title-row time{flex:0 0 auto;color:var(--aqsa-secondary);font-size:9px}.conversation-admin{overflow:hidden;color:#7688a2;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.conversation-preview{min-width:0;overflow:hidden;color:#8495ad;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.conversation-unread{display:grid;min-width:19px;height:19px;flex:0 0 auto;place-items:center;padding:0 5px;border-radius:999px;color:#fff;background:var(--aqsa-blue);font-size:9px;font-weight:700}.conversation-assignment,.conversation-activity{overflow:hidden;color:#70849e;font-size:9px;text-overflow:ellipsis;white-space:nowrap}.conversation-activity{color:#16875d}.staff-panel-heading{margin-top:20px!important}.staff-row{padding:7px 8px;border-radius:10px}.crm-main{min-width:0;background:var(--aqsa-background)!important;box-shadow:none}.crm-chat-header{min-height:76px;padding:12px 22px!important;border-bottom:1px solid #e5ecf5!important;background:#fff;box-shadow:0 4px 14px #14294309}.crm-chat-header>div{gap:11px!important}.chat-customer-avatar{width:48px;height:48px;flex-basis:48px;color:#fff;background:linear-gradient(145deg,#5b9cff,#1765ed);box-shadow:0 5px 14px #1765ed29}.crm-chat-header>div>span:first-child{gap:3px}.crm-chat-header>div>span:first-child>div:first-child{color:var(--aqsa-text)!important;font-size:15px!important;font-weight:700;letter-spacing:0;text-transform:none}.crm-chat-header>div>span:first-child>div:nth-child(2){color:var(--aqsa-secondary);font-size:11px;letter-spacing:0}.crm-chat-header button{width:40px!important;height:40px!important;border-color:#e4ebf5!important;border-radius:13px!important;color:#58708d!important;background:#fff!important;box-shadow:0 3px 10px #1429430a}.crm-chat-header button:hover{border-color:#b8d0f7!important;color:var(--aqsa-blue)!important;background:#f5f8ff!important}.mobile-back-button{display:none!important}.crm-message-list{min-height:0;padding:24px clamp(20px,5vw,76px)!important;background-color:var(--aqsa-light-blue)!important;background-image:radial-gradient(circle at 1px 1px,rgba(23,101,237,.055) 1px,transparent 1.4px),linear-gradient(135deg,transparent 48%,rgba(23,101,237,.025) 49%,transparent 51%)!important;background-size:26px 26px,82px 82px!important;scrollbar-color:#c7d7ed transparent}.crm-message-list>div>div[id^=message-]{margin:12px 0!important}.crm-message-list>div>div[id^=message-]>div{max-width:min(72%,620px)!important;padding:12px 16px 10px!important;border:1px solid #e4ebf5;border-radius:18px!important;box-shadow:0 5px 16px #14294312!important}.crm-message-list .chat-message-bubble.is-outgoing{background:#dceaff!important}.crm-message-list .chat-message-bubble.is-incoming{background:#fff!important}.crm-message-list>div>div:first-child>span{border-color:#e1e9f4;color:#7185a0!important;background:#ffffffe6!important}.crm-composer{margin:12px 18px 16px!important;padding:8px 10px!important;min-height:62px!important;border:1px solid #e2eaf5;border-radius:17px!important;background:#fff;box-shadow:0 8px 24px #14294314!important}.crm-composer>div:last-child{gap:5px!important}.crm-composer textarea{min-height:42px!important;padding:10px 13px!important;border:1px solid #e7edf5!important;border-radius:12px!important;color:var(--aqsa-text);background:#fbfcff!important;font-size:12px!important}.crm-composer button:not(.composer-send){border-radius:12px!important;color:#627895!important}.crm-composer button:not(.composer-send):hover{color:var(--aqsa-blue)!important;background:#eff5ff!important}.crm-composer .composer-send{width:42px;height:42px;border-radius:13px;background:var(--aqsa-blue)!important;box-shadow:0 6px 14px #1765ed38}.crm-composer .composer-send:hover{background:#0e55d3!important}.crm-recording-compose{width:100%;min-height:44px;display:flex;align-items:center;gap:9px;direction:ltr}.crm-recording-time{min-width:34px;color:#334155;font-size:13px;font-variant-numeric:tabular-nums}.crm-composer .crm-recording-cancel,.crm-composer .crm-recording-pause{width:36px;height:36px;flex-shrink:0;display:grid;place-items:center;border:0;border-radius:50%;cursor:pointer}.crm-composer .crm-recording-cancel{background:#fff1f2!important;color:#e11d48!important}.crm-composer .crm-recording-pause{background:#f1f5f9!important;color:#475569!important}.crm-composer .crm-recording-cancel:hover{background:#ffe4e6!important;color:#e11d48!important}.crm-composer .crm-recording-pause:hover{background:#e2e8f0!important;color:#475569!important}.crm-recording-wave{min-width:16px;flex:1;display:flex;align-items:center;justify-content:center;gap:2px;overflow:hidden}.crm-recording-wave span{width:2px;max-height:24px;flex-shrink:0;border-radius:2px;background:#94a3b8;animation:crmRecordingWave .9s ease-in-out infinite alternate}.crm-recording-compose.is-paused .crm-recording-wave span{animation-play-state:paused;opacity:.5}@keyframes crmRecordingWave{to{opacity:.4;transform:scaleY(.55)}}.crm-composer .crm-recording-send{width:44px;height:40px;flex-shrink:0;display:grid;place-items:center;border:0;border-radius:50%;background:#1683ff!important;color:#fff!important;cursor:pointer;box-shadow:0 3px 10px #1683ff40}.crm-composer .crm-recording-send:hover:not(:disabled){background:#0e6fe0!important;color:#fff!important}.crm-composer .crm-recording-send:disabled{opacity:.45;cursor:not-allowed}.nav-rail-item,.conversation-row,.crm-chat-header button,.crm-composer button{transition-duration:.16s}.nav-rail-item:focus-visible,.crm-chat-header button:focus-visible,.conversation-row:focus-visible{outline:3px solid rgba(23,101,237,.3);outline-offset:2px}@keyframes conversation-enter{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}@media (max-width: 1180px){.crm-workspace{grid-template-columns:68px minmax(290px,330px) minmax(0,1fr)}.crm-sidebar{padding-inline:11px!important}.crm-message-list{padding-inline:28px!important}}@media (max-width: 900px){.crm-workspace{grid-template-columns:58px minmax(270px,34vw) minmax(0,1fr)!important}.crm-nav-rail{display:flex!important}.crm-sidebar{display:block!important}.crm-chat-header{padding-inline:14px!important}.crm-message-list{padding-inline:20px!important}}@media (max-width: 640px){body{min-width:0}.crm-workspace{grid-template-columns:minmax(0,1fr)!important;overflow:hidden}.crm-nav-rail{display:none!important}.crm-sidebar{position:absolute;top:0;right:0;bottom:0;left:0;z-index:20;display:none!important;width:auto!important;height:100%;padding:18px 14px!important}.crm-workspace.mobile-list-open .crm-sidebar{display:block!important}.crm-workspace.mobile-list-open .crm-main{visibility:hidden;pointer-events:none}.crm-workspace:not(.mobile-list-open) .crm-sidebar{display:none!important}.crm-main{grid-column:1;width:100%}.mobile-back-button{display:inline-grid!important;width:34px!important;height:34px!important;flex:0 0 34px;place-items:center}.crm-chat-header{min-height:66px;padding:9px 10px!important}.crm-chat-header>div{gap:6px!important}.chat-customer-avatar{width:38px;height:38px;flex-basis:38px}.crm-chat-header button{width:34px!important;height:34px!important;border-radius:11px!important}.crm-chat-header>div>span:first-child>div:first-child{font-size:13px!important}.crm-message-list{padding:14px 12px!important}.crm-message-list>div>div[id^=message-]>div{max-width:88%!important}.crm-composer{margin:8px!important;padding:6px!important}.conversation-panel-heading{margin-bottom:6px}}@media (prefers-reduced-motion: reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
