@import "https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap";
:root{--font-main:"Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;--primary:#f03d3d;--primary-hover:#dc2626;--primary-light:#fff1f1;--primary-gradient:linear-gradient(135deg, #f03d3d 0%, #e11d48 100%);--bg-app:#f7f8fa;--bg-card:#fff;--bg-hover:#f1f3f6;--bg-active:#fee2e2;--text-main:#1e293b;--text-muted:#64748b;--text-light:#94a3b8;--border-color:#edf0f5;--border-light:#f1f5f9;--color-green:#10b981;--color-green-light:#ecfdf5;--color-blue:#3b82f6;--color-blue-light:#eff6ff;--color-amber:#f59e0b;--color-amber-light:#fffbeb;--color-purple:#8b5cf6;--color-purple-light:#f5f3ff;--color-pink:#ec4899;--color-pink-light:#fdf2f8;--shadow-sm:0 1px 3px #0000000a;--shadow-card:0 2px 10px #00000008, 0 1px 2px #00000005;--shadow-card-hover:0 10px 25px -5px #0000000f, 0 8px 10px -6px #0000000a;--shadow-dropdown:0 10px 30px #00000014;--radius-sm:6px;--radius-md:10px;--radius-lg:14px;--radius-xl:18px;--radius-pill:9999px;--header-height:64px;--sidebar-width:260px;--sidebar-collapsed-width:76px;--transition:all .22s cubic-bezier(.4, 0, .2, 1)}.title-case-fields input:not([type=number]):not([data-preserve-case]),.title-case-fields textarea{text-transform:capitalize}*{box-sizing:border-box;margin:0;padding:0}html,body{font-family:var(--font-main);background-color:var(--bg-app);color:var(--text-main);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;min-height:100vh}.app-container{width:100%;min-height:100vh;display:flex}.main-wrapper{min-width:0;transition:var(--transition);flex-direction:column;flex:1;display:flex}.content-area{flex:1;width:100%;max-width:1600px;margin:0 auto;padding:24px}.crm-card{background:var(--bg-card);border:1px solid var(--border-color);border-radius:var(--radius-lg);box-shadow:var(--shadow-card);transition:var(--transition);padding:20px}.crm-card:hover{box-shadow:var(--shadow-card-hover)}.patient-register-card{padding:28px}.patient-register-card label{color:var(--text-main);flex-direction:column;gap:6px;font-size:12px;font-weight:700;display:flex}.patient-register-card input,.patient-register-card select,.patient-register-card textarea{border-radius:var(--radius-md);width:100%;color:var(--text-main);font:inherit;transition:var(--transition);background:#fff;border:1px solid #dbe2ea;outline:none;padding:10px 12px;font-size:13px}.patient-register-card input:focus,.patient-register-card select:focus,.patient-register-card textarea:focus{border-color:var(--primary);box-shadow:0 0 0 3px #f03d3d1a}.patient-register-card h4{color:var(--text-main);border-left:3px solid var(--primary);margin:22px 0 10px;padding-left:10px;font-size:13px}.patient-profile-card{padding:28px}.patient-profile-card>div:first-child{border-bottom:1px solid var(--border-light);padding-bottom:18px}.patient-profile-card>div:first-child h2{letter-spacing:-.4px;font-size:22px}.patient-profile-card>div:nth-child(2){background:var(--primary-light);border-radius:var(--radius-md);border:1px solid #ffe0e0;padding:16px}.patient-profile-card>div:nth-child(2) strong{color:var(--text-muted);letter-spacing:.4px;text-transform:uppercase;font-size:11px;font-weight:700;display:block}.patient-profile-card>div:nth-child(2) p{color:var(--text-main);margin-top:5px;font-size:13px;font-weight:600}.patient-profile-summary{background:linear-gradient(135deg,#f8fafc,#eef7f6);grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid;border-color:#cfe3e2!important;padding:16px!important}.patient-profile-summary>div{border:1px solid #e2e8f0;border-left:4px solid var(--primary);background:#fff;border-radius:10px;min-height:64px;padding:12px 14px;box-shadow:0 3px 10px #0f172a0a}.patient-profile-summary>div strong{letter-spacing:.55px;font-size:11px;font-weight:800;color:#0f172a!important}.patient-profile-summary>div p{overflow-wrap:anywhere;word-break:break-word;font-size:13px;font-weight:600;line-height:1.45;color:#475569!important;margin:8px 0 0!important}.patient-profile-card p,.patient-profile-card small,.patient-profile-card strong,.patient-profile-card button{overflow-wrap:anywhere;word-break:break-word}.prescription-details-card{overflow-x:hidden}.prescription-details-card *{overflow-wrap:anywhere;word-break:break-word;min-width:0;max-width:100%}.prescription-details-card p,.prescription-details-card small{line-height:1.5}@media (max-width:640px){.patient-profile-summary{grid-template-columns:1fr}}.patient-profile-card>div:nth-child(3){border-bottom:1px solid var(--border-light);align-items:center;padding:16px 0 4px}.patient-profile-card>div:nth-child(3) input{border-radius:var(--radius-md);min-width:180px;font:inherit;border:1px solid #dbe2ea;padding:9px 11px;font-size:13px}.patient-profile-card h3{color:var(--text-main);align-items:center;gap:8px;margin:22px 0 10px;font-size:14px;display:flex}.patient-profile-card h3:before{content:"";background:var(--primary);border-radius:3px;width:4px;height:17px}.patient-directory-card{padding:24px}.patient-directory-header,.patient-pagination{justify-content:space-between;align-items:center;gap:16px;display:flex}.patient-filter-panel{border:1px solid var(--border-light);border-radius:var(--radius-md);background:#f8fafc;margin:20px 0;padding:14px}.patient-filter-row{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.patient-filter-row+.patient-filter-row{grid-template-columns:repeat(4,minmax(0,1fr));margin-top:12px}.patient-filter-row label{color:var(--text-muted);flex-direction:column;gap:6px;font-size:11px;font-weight:700;display:flex}.patient-filter-row input,.patient-filter-row select{width:100%;min-height:34px;color:var(--text-main);font:inherit;background:#fff;border:1px solid #dbe2ea;border-radius:8px;outline:none;padding:7px 9px;font-size:12px}.patient-filter-row input:focus,.patient-filter-row select:focus{border-color:var(--primary);box-shadow:0 0 0 3px #f03d3d14}.patient-search-input,.patient-date-input{align-items:center;display:flex;position:relative}.patient-search-input svg,.patient-date-input svg{color:var(--text-light);pointer-events:none;position:absolute;left:9px}.patient-search-input input,.patient-date-input input{padding-left:29px}.patient-reset-button{align-self:end;min-height:34px}.patient-table-wrap{overflow-x:auto}.patient-directory-table{border-collapse:collapse;width:100%;min-width:760px;font-size:12.5px}.patient-directory-table th{color:var(--text-muted);letter-spacing:.5px;text-align:left;text-transform:uppercase;background:#f8fafc;padding:12px 14px;font-size:10px;font-weight:800}.patient-directory-table td{border-top:1px solid var(--border-light);color:var(--text-main);vertical-align:middle;padding:14px}.patient-directory-table tbody tr{cursor:pointer;transition:var(--transition)}.patient-directory-table tbody tr:hover{background:var(--primary-light)}.patient-address-cell{text-overflow:ellipsis;white-space:nowrap;max-width:260px;overflow:hidden;color:var(--text-muted)!important}.patient-empty-cell{text-align:center;color:var(--text-muted)!important;padding:36px!important}.patient-pagination{color:var(--text-muted);margin-top:16px;font-size:12px;font-weight:600}.patient-pagination div{gap:6px;display:flex}.patient-pagination button{border:1px solid var(--border-color);width:32px;height:32px;color:var(--text-main);cursor:pointer;background:#fff;border-radius:8px;justify-content:center;align-items:center;display:flex}.patient-pagination button:disabled{cursor:not-allowed;opacity:.45}.patient-invoice-items{border:1px solid var(--border-light);border-radius:var(--radius-md);overflow:hidden}.patient-invoice-items>div{border-bottom:1px solid var(--border-light);justify-content:space-between;align-items:center;gap:16px;padding:12px 14px;font-size:13px;display:flex}.patient-invoice-items>div:last-child{border-bottom:0}.patient-invoice-items span{flex-direction:column;gap:4px;display:flex}.patient-invoice-items small{color:var(--text-muted);font-size:11px}.patient-invoice-total{border-radius:var(--radius-md);background:var(--primary);color:#fff;justify-content:space-between;margin-top:16px;padding:14px 16px;font-size:16px;display:flex}@media (max-width:900px){.patient-filter-row,.patient-filter-row+.patient-filter-row{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:560px){.patient-filter-row,.patient-filter-row+.patient-filter-row{grid-template-columns:1fr}}.card-header{justify-content:space-between;align-items:center;margin-bottom:16px;display:flex}.card-title-group{align-items:center;gap:8px;display:flex}.card-accent-bar{background-color:var(--primary);border-radius:2px;width:4px;height:18px}.card-title{color:var(--text-main);letter-spacing:-.2px;font-size:15px;font-weight:700}.card-subtitle{color:var(--text-muted);font-size:12px;font-weight:500}.btn{font-family:var(--font-main);border-radius:var(--radius-md);cursor:pointer;transition:var(--transition);border:1px solid #0000;outline:none;justify-content:center;align-items:center;gap:6px;padding:7px 14px;font-size:13px;font-weight:600;display:inline-flex}.btn-primary{background:var(--primary);color:#fff}.btn-primary:hover{background:var(--primary-hover)}.btn-outline{border-color:var(--border-color);color:var(--text-main);background:#fff}.btn-outline:hover{background:var(--bg-hover);border-color:#cbd5e1}.btn-pill-group{border-radius:var(--radius-pill);background:#f1f5f9;gap:2px;padding:3px;display:inline-flex}.btn-pill{border-radius:var(--radius-pill);color:var(--text-muted);cursor:pointer;transition:var(--transition);background:0 0;border:none;padding:5px 12px;font-size:12px;font-weight:600}.btn-pill.active{background:var(--primary);color:#fff;box-shadow:0 2px 6px #f03d3d59}.badge{border-radius:var(--radius-pill);align-items:center;gap:4px;padding:3px 8px;font-size:11px;font-weight:700;display:inline-flex}.badge-success{background:var(--color-green-light);color:var(--color-green)}.badge-danger{color:#ef4444;background:#fee2e2}.badge-info{background:var(--color-blue-light);color:var(--color-blue)}.badge-warning{background:var(--color-amber-light);color:var(--color-amber)}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track{background:0 0}::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:4px}::-webkit-scrollbar-thumb:hover{background:#94a3b8}@keyframes fadeIn{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}.animate-fade{animation:.25s forwards fadeIn}.crm-chat{width:100%;min-width:0;height:calc(100dvh - 130px);min-height:620px;color:var(--text-main);border:1px solid var(--border-color);box-shadow:var(--shadow-card);background:#fff;border-radius:16px;flex-direction:column;display:flex;overflow:hidden}.crm-chat-page-header{border-bottom:1px solid var(--border-light);flex-shrink:0;justify-content:space-between;align-items:center;gap:10px;min-height:54px;padding:0 16px;display:flex}.crm-chat-page-header h1{color:var(--text-main);letter-spacing:-.65px;font-size:18px;font-weight:700;line-height:1}.crm-chat-page-header p{color:var(--text-muted);margin-top:5px;font-size:13px}.crm-chat-primary-button{background:var(--primary);color:#fff;min-height:38px;font:inherit;white-space:nowrap;cursor:pointer;transition:var(--transition);border:0;border-radius:10px;justify-content:center;align-items:center;gap:8px;padding:0 15px;font-size:12px;font-weight:700;display:inline-flex}.crm-chat-primary-button:hover{background:var(--primary-hover);box-shadow:0 5px 14px #f03d3d2e}.crm-chat-layout{flex:1;grid-template-columns:285px minmax(0,1fr) 250px;min-width:0;min-height:0;display:grid}.crm-chat-sidebar,.crm-chat-conversation,.crm-chat-details{background:#fff;min-width:0;min-height:0}.crm-chat-sidebar{border-right:1px solid var(--border-color);flex-direction:column;display:flex;overflow:hidden}.crm-chat-search-wrap{color:#8b9bb0;height:42px;transition:var(--transition);background:#f8fafc;border:1px solid #e3e8ef;border-radius:10px;flex-shrink:0;align-items:center;gap:10px;margin:16px 14px 18px;padding:0 12px;display:flex}.crm-chat-search-wrap:focus-within{background:#fff;border-color:#f5a0a0;box-shadow:0 0 0 3px #f03d3d14}.crm-chat-search-wrap input{width:100%;min-width:0;color:var(--text-main);font:inherit;background:0 0;border:0;outline:0;font-size:12px}.crm-chat-search-wrap input::placeholder{color:#94a3b8}.crm-chat-section-heading{color:#8b9bb0;letter-spacing:.8px;text-transform:uppercase;justify-content:space-between;align-items:center;padding:0 16px 10px;font-size:10px;font-weight:800;display:flex}.crm-chat-count{min-width:22px;height:22px;color:var(--primary);letter-spacing:0;background:#fff1f1;border-radius:7px;justify-content:center;align-items:center;padding:0 6px;font-size:11px;display:inline-flex}.crm-chat-conversation-list{flex:1;min-height:0;padding:0 9px 12px;overflow-y:auto}.crm-chat-conversation-item{width:100%;min-width:0;color:var(--text-main);text-align:left;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:12px;align-items:flex-start;gap:11px;margin-bottom:4px;padding:12px 10px;transition:background .16s,border-color .16s;display:flex}.crm-chat-conversation-item:hover{background:#f8fafc}.crm-chat-conversation-item.is-active{background:#fff4f4;border-color:#ffe1e1}.crm-chat-avatar-wrap{flex-shrink:0;position:relative}.crm-chat-avatar{border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:43px;height:43px;font-size:13px;font-weight:800;display:flex}.crm-chat-page-actions{align-items:center;gap:8px;display:flex}.crm-chat-toolbar-button,.crm-chat-new-button{color:#707070;cursor:pointer;background:#fff;border:1px solid #e2e8f0;border-radius:6px;justify-content:center;align-items:center;gap:6px;min-height:32px;padding:0 10px;font-size:12px;transition:all .2s;display:inline-flex}.crm-chat-toolbar-button:hover,.crm-chat-new-button:hover{color:#e41f07;border-color:#e41f07}.crm-chat-new-button{color:#fff;background:#e41f07;border-color:#e41f07;width:32px;padding:0}.crm-chat-new-button:hover{color:#fff;background:#c11a06}.crm-chat-avatar img,.crm-chat-profile-avatar img{border-radius:inherit;object-fit:cover;width:100%;height:100%}.crm-chat-online-dot{background:#10b981;border:2px solid #fff;border-radius:50%;width:11px;height:11px;position:absolute;bottom:0;right:-1px}.crm-chat-conversation-copy{flex:1;min-width:0}.crm-chat-conversation-topline{justify-content:space-between;align-items:center;gap:8px;min-width:0;display:flex}.crm-chat-person-name{color:#253247;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:750;overflow:hidden}.crm-chat-time{color:#94a3b8;flex-shrink:0;font-size:10px}.crm-chat-preview{color:#718198;text-overflow:ellipsis;white-space:nowrap;margin-top:5px;font-size:11px;line-height:1.5;overflow:hidden}.crm-chat-unread{background:var(--primary);color:#fff;border-radius:6px;margin-top:7px;padding:3px 7px;font-size:9px;font-weight:800;display:inline-flex}.crm-chat-empty{color:var(--text-muted);text-align:center;padding:30px 12px;font-size:12px}.crm-chat-conversation{flex-direction:column;display:flex;overflow:hidden}.crm-chat-conversation-header{border-bottom:1px solid var(--border-light);flex-shrink:0;justify-content:space-between;align-items:center;gap:12px;min-height:74px;padding:14px 18px;display:flex}.crm-chat-active-person{align-items:center;gap:12px;min-width:0;display:flex}.crm-chat-header-avatar{width:42px;height:42px}.crm-chat-active-person-copy{min-width:0}.crm-chat-active-person-copy h2{color:#253247;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:800;overflow:hidden}.crm-chat-active-person-copy p{color:var(--text-muted);align-items:center;gap:6px;margin-top:5px;font-size:11px;display:flex}.crm-chat-status-dot{background:#94a3b8;border-radius:50%;width:7px;height:7px}.crm-chat-status-dot.is-online{background:#10b981}.crm-chat-header-actions{flex-shrink:0;align-items:center;gap:3px;display:flex}.crm-chat-icon-button{color:#71839d;cursor:pointer;width:34px;height:34px;transition:var(--transition);background:0 0;border:0;border-radius:9px;flex-shrink:0;justify-content:center;align-items:center;display:inline-flex}.crm-chat-icon-button:hover,.crm-chat-icon-button.is-selected{color:var(--primary);background:#fff1f1}.crm-chat-back-button{display:none}.crm-chat-thread-label{color:#8b9bb0;border-bottom:1px solid #f1f4f8;flex-shrink:0;justify-content:center;align-items:center;gap:8px;min-height:38px;font-size:11px;display:flex}.crm-chat-messages{background:#f8fafc;flex-direction:column;flex:1;align-items:stretch;gap:16px;min-height:0;padding:22px 24px;display:flex;overflow:hidden auto}.crm-chat-day-divider{justify-content:center;align-items:center;margin:1px 0 3px;display:flex}.crm-chat-day-divider span{color:#94a3b8;text-transform:uppercase;background:#fff;border:1px solid #e8edf3;border-radius:999px;padding:4px 9px;font-size:9px;font-weight:700}.crm-chat-message-row{flex-direction:column;width:100%;min-width:0;display:flex}.crm-chat-message-row.is-mine{align-items:flex-end}.crm-chat-message-row.is-theirs{align-items:flex-start}.crm-chat-bubble{overflow-wrap:anywhere;border-radius:14px;width:fit-content;max-width:min(82%,520px);padding:11px 14px;font-size:12px;line-height:1.65;box-shadow:0 1px 2px #0f172a0d}.crm-chat-bubble.is-mine{background:var(--primary);color:#fff;border-bottom-right-radius:5px}.crm-chat-bubble.is-theirs{color:#334155;background:#fff;border:1px solid #e9edf3;border-bottom-left-radius:5px}.crm-chat-message-meta{color:#94a3b8;align-items:center;gap:5px;margin-top:5px;padding:0 2px;font-size:10px;display:flex}.crm-chat-message-meta.is-mine svg{color:var(--primary)}.crm-chat-composer{border-top:1px solid var(--border-color);background:#fff;flex-shrink:0;padding:14px 18px 12px}.crm-chat-composer-box{min-height:52px;transition:var(--transition);background:#fff;border:1px solid #dfe6ee;border-radius:13px;align-items:center;gap:5px;padding:5px 7px;display:flex}.crm-chat-composer-box:focus-within{border-color:#f4a0a0;box-shadow:0 0 0 3px #f03d3d12}.crm-chat-composer-icon{color:#8b9bb0;cursor:pointer;width:34px;height:34px;transition:var(--transition);background:0 0;border:0;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;display:inline-flex}.crm-chat-composer-icon:hover{color:var(--primary);background:#fff1f1}.crm-chat-composer-box textarea{resize:none;width:100%;min-width:0;min-height:34px;max-height:100px;color:var(--text-main);font:inherit;background:0 0;border:0;outline:0;flex:1;padding:8px 6px;font-size:12px;line-height:1.5}.crm-chat-composer-box textarea::placeholder{color:#94a3b8}.crm-chat-send-button{background:var(--primary);color:#fff;cursor:pointer;width:38px;height:38px;transition:var(--transition);border:0;border-radius:11px;flex-shrink:0;justify-content:center;align-items:center;display:inline-flex}.crm-chat-send-button:hover:not(:disabled){background:var(--primary-hover);transform:translateY(-1px)}.crm-chat-send-button:disabled{cursor:not-allowed;opacity:.45}.crm-chat-composer-hint{color:#9aa7b8;text-align:center;margin-top:8px;font-size:10px}.crm-chat-composer-hint span{margin:0 4px}.crm-chat-details{border-left:1px solid var(--border-color);flex-direction:column;display:flex;overflow:hidden auto}.crm-chat-profile{border-bottom:1px solid var(--border-light);text-align:center;flex-direction:column;align-items:center;padding:28px 16px 22px;display:flex}.crm-chat-profile-avatar{border-radius:50%;justify-content:center;align-items:center;width:76px;height:76px;font-size:21px;font-weight:800;display:flex}.crm-chat-profile h3{color:#253247;margin-top:14px;font-size:13px;font-weight:800}.crm-chat-profile p{color:#8b9bb0;margin-top:5px;font-size:11px}.crm-chat-profile-status{color:#64748b;background:#f1f5f9;border-radius:999px;margin-top:10px;padding:4px 9px;font-size:10px;font-weight:700}.crm-chat-profile-status.is-online{color:#059669;background:#ecfdf5}.crm-chat-stats{border-bottom:1px solid var(--border-light);grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:16px 12px;display:grid}.crm-chat-stat-card{background:#fafbfd;border:1px solid #edf1f6;border-radius:12px;flex-direction:column;align-items:center;min-width:0;padding:13px 7px;display:flex}.crm-chat-stat-card svg{color:var(--primary)}.crm-chat-stat-card strong{color:#253247;margin-top:8px;font-size:18px;font-weight:800}.crm-chat-stat-card span{color:#8b9bb0;margin-top:3px;font-size:10px}.crm-chat-shared{padding:20px 13px}.crm-chat-details-heading{margin:0 4px 12px}.crm-chat-details-heading h4{color:#253247;font-size:12px;font-weight:800}.crm-chat-details-heading span{color:#94a3b8;margin-top:4px;font-size:10px;display:block}.crm-chat-shared-item{text-align:left;cursor:pointer;width:100%;transition:var(--transition);background:0 0;border:0;border-radius:10px;align-items:center;gap:10px;padding:10px 7px;display:flex}.crm-chat-shared-item:hover{background:#f8fafc}.crm-chat-shared-icon{width:36px;height:36px;color:var(--primary);background:#fff1f1;border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;display:inline-flex}.crm-chat-shared-item>span:last-child{flex-direction:column;gap:4px;min-width:0;display:flex}.crm-chat-shared-item strong{color:#475569;font-size:11px;font-weight:700}.crm-chat-shared-item small{color:#94a3b8;font-size:10px}.crm-chat-no-selection{color:#94a3b8;text-align:center;flex-direction:column;justify-content:center;align-items:center;min-width:0;display:flex}.crm-chat-no-selection h2{color:var(--text-main);margin-top:14px;font-size:15px}.crm-chat-no-selection p{margin-top:6px;font-size:12px}@media (max-width:1200px){.crm-chat-layout{grid-template-columns:255px minmax(0,1fr)}.crm-chat-details{display:none}}@media (max-width:767px){.crm-chat{border-radius:12px;height:calc(100dvh - 170px);min-height:440px}.crm-chat-page-header h1{font-size:19px}.crm-chat-primary-button{min-height:36px;padding:0 10px;font-size:11px}.crm-chat-layout{display:block;position:relative}.crm-chat-sidebar{border-right:0;height:100%}.crm-chat-mobile-hidden{display:none}.crm-chat-conversation{height:100%;display:none}.crm-chat-conversation.crm-chat-mobile-active{display:flex}.crm-chat-back-button{display:inline-flex}.crm-chat-conversation-header{min-height:66px;padding:10px}.crm-chat-header-actions{gap:0}.crm-chat-header-actions .crm-chat-icon-button{width:30px;height:30px}.crm-chat-header-actions .crm-chat-icon-button:first-child,.crm-chat-header-actions .crm-chat-icon-button:nth-child(2){display:none}.crm-chat-messages{gap:16px;padding:16px 12px}.crm-chat-bubble{max-width:90%;padding:10px 12px;font-size:12px}.crm-chat-composer{padding:10px}.crm-chat-composer-hint{font-size:9px}.crm-chat-image-button{display:none}}@media (max-width:380px){.crm-chat-page-header{gap:8px}.crm-chat-page-header h1{font-size:17px}.crm-chat-page-header p{font-size:11px}.crm-chat-primary-button{gap:4px;padding:0 8px}.crm-chat-avatar{width:37px;height:37px;font-size:11px}.crm-chat-conversation-item{gap:8px;padding:10px 8px}}.crm-chat .crm-chat-messages{scroll-behavior:smooth;gap:20px;padding:24px 24px 32px}.crm-chat .crm-chat-message-row:last-of-type{margin-bottom:8px}.crm-chat .crm-chat-composer-box{min-height:54px}@media (max-width:767px){.crm-chat .crm-chat-messages{gap:16px;padding:18px 12px 28px}.crm-chat .crm-chat-composer{flex-shrink:0;padding:8px 16px}}.crm-chat-modal-overlay{z-index:1000;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#0f172a73;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.crm-chat-new-modal{border:1px solid var(--border-color);background:#fff;border-radius:18px;flex-direction:column;width:min(100%,480px);max-height:min(680px,90dvh);display:flex;overflow:hidden;box-shadow:0 24px 70px #0f172a33}.crm-chat-modal-header{border-bottom:1px solid var(--border-light);justify-content:space-between;align-items:flex-start;gap:16px;padding:22px 22px 18px;display:flex}.crm-chat-modal-header h2{color:var(--text-main);font-size:19px;font-weight:800}.crm-chat-modal-header p{color:var(--text-muted);margin-top:5px;font-size:12px}.crm-chat-modal-tabs{grid-template-columns:1fr 1fr;gap:8px;padding:14px 20px 8px;display:grid}.crm-chat-modal-tabs button{border:1px solid var(--border-color);min-height:40px;color:var(--text-muted);cursor:pointer;background:#fff;border-radius:10px;justify-content:center;align-items:center;gap:8px;font-size:12px;font-weight:700;display:flex}.crm-chat-modal-tabs button.is-active{color:var(--primary);background:#fff1f1;border-color:#ffd4d4}.crm-chat-group-name{flex-direction:column;gap:7px;padding:10px 20px;display:flex}.crm-chat-group-name label{color:var(--text-main);font-size:12px;font-weight:700}.crm-chat-group-name input,.crm-chat-modal-search input{width:100%;min-width:0;color:var(--text-main);font:inherit;background:0 0;border:0;outline:0;font-size:12px}.crm-chat-group-name input{border:1px solid var(--border-color);border-radius:10px;min-height:42px;padding:0 12px}.crm-chat-modal-search{border:1px solid var(--border-color);color:#94a3b8;background:#f8fafc;border-radius:10px;align-items:center;gap:10px;min-height:42px;margin:10px 20px;padding:0 12px;display:flex}.crm-chat-contact-list{min-height:100px;padding:0 12px 10px;overflow-y:auto}.crm-chat-contact-option{text-align:left;cursor:pointer;background:#fff;border:1px solid #0000;border-radius:11px;align-items:center;gap:12px;width:100%;padding:10px;display:flex}.crm-chat .crm-chat-contact-option{width:100%;min-width:0;color:var(--text-main);text-align:left;cursor:pointer;background:#fff;border:1px solid #0000;border-radius:12px;align-items:center;gap:12px;padding:10px 12px;transition:background .18s,border-color .18s;display:flex}.crm-chat .crm-chat-contact-option:hover{background:#f8fafc}.crm-chat .crm-chat-contact-option.is-selected{background:#fff4f4;border-color:#ffe1e1}.crm-chat .crm-chat-contact-avatar{border-radius:50%;flex:0 0 46px;justify-content:center;align-items:center;width:46px;height:46px;font-size:13px;font-weight:800;display:flex;overflow:hidden}.crm-chat .crm-chat-contact-avatar img{object-fit:cover;width:100%;height:100%;display:block}.crm-chat .crm-chat-contact-avatar-0{color:#d7264d;background:#ffe1e5}.crm-chat .crm-chat-contact-avatar-1{color:#7441c8;background:#eee5ff}.crm-chat .crm-chat-contact-avatar-2{color:#047857;background:#d1fae5}.crm-chat .crm-chat-contact-avatar-3{color:#0369a1;background:#e0f2fe}.crm-chat .crm-chat-contact-avatar-4{color:#b45309;background:#fef3c7}.crm-chat .crm-chat-contact-copy{flex-direction:column;flex:1;gap:5px;min-width:0;display:flex}.crm-chat .crm-chat-contact-copy strong{color:#253247;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:750;line-height:1.4;display:block;overflow:hidden}.crm-chat .crm-chat-contact-copy small{color:#718198;text-overflow:ellipsis;white-space:nowrap;font-size:11px;line-height:1.4;display:block;overflow:hidden}.crm-chat .crm-chat-contact-check{color:#fff;background:#fff;border:1px solid #d8e0eb;border-radius:50%;flex:0 0 24px;justify-content:center;align-items:center;width:24px;height:24px;display:flex}.crm-chat .crm-chat-contact-check.is-selected{border-color:var(--primary);background:var(--primary)}.crm-chat-contact-option:hover{background:#f8fafc}.crm-chat-contact-option.is-selected{background:#fff5f5;border-color:#ffd4d4}.crm-chat-contact-copy{flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.crm-chat-contact-copy strong{color:var(--text-main);font-size:12px}.crm-chat-contact-copy small{color:var(--text-muted);font-size:11px}.crm-chat .crm-chat-contact-list{flex-direction:column;gap:2px;min-height:100px;padding:4px 12px 10px;display:flex;overflow-y:auto}.crm-chat .crm-chat-contact-copy strong,.crm-chat .crm-chat-contact-copy small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.crm-chat-contact-check{color:#fff;border:1px solid #d7dee8;border-radius:50%;justify-content:center;align-items:center;width:21px;height:21px;display:flex}.crm-chat-contact-check.is-selected{border-color:var(--primary);background:var(--primary)}.crm-chat-modal-footer{border-top:1px solid var(--border-light);background:#fff;justify-content:space-between;align-items:center;gap:12px;padding:14px 20px;display:flex}.crm-chat-modal-footer>span{color:var(--text-muted);font-size:11px}.crm-chat-modal-footer button:disabled{cursor:not-allowed;opacity:.45}@media (max-width:480px){.crm-chat-modal-overlay{padding:12px}.crm-chat-modal-header{padding:18px 16px 14px}.crm-chat-modal-tabs{padding-left:14px;padding-right:14px}.crm-chat-modal-search{margin-left:14px;margin-right:14px}.crm-chat-modal-footer{padding:12px 14px}}.crm-chat-attachment-wrap{flex-shrink:0;align-items:center;display:inline-flex;position:relative}.crm-chat-attachment-menu{z-index:100;border:1px solid var(--border-color);background:#fff;border-radius:12px;width:190px;padding:8px;position:absolute;bottom:calc(100% + 8px);left:0;right:auto;box-shadow:0 12px 30px #0f172a24}.crm-chat-emoji-picker{z-index:100;border:1px solid var(--border-color);background:#fff;border-radius:12px;grid-template-columns:repeat(4,36px);gap:4px;padding:8px;display:grid;position:absolute;bottom:calc(100% + 8px);left:auto;right:0;box-shadow:0 12px 30px #0f172a24}.crm-chat-attachment-menu{width:190px}.crm-chat-attachment-menu button{width:100%;color:var(--text-main);cursor:pointer;background:0 0;border:0;border-radius:8px;align-items:center;gap:10px;padding:10px;font-size:12px;display:flex}.crm-chat-attachment-menu button:hover,.crm-chat-emoji-picker button:hover{color:var(--primary);background:#fff1f1}.crm-chat-emoji-picker{grid-template-columns:repeat(4,36px);gap:4px;display:grid}.crm-chat-emoji-picker button{cursor:pointer;background:0 0;border:0;border-radius:8px;width:36px;height:36px;font-size:20px}.crm-chat-attachment-preview{border:1px solid var(--border-color);background:snow;border-radius:12px;align-items:center;gap:12px;width:100%;min-width:0;margin-bottom:10px;padding:10px 12px;display:flex}.crm-chat-attachment-thumbnail{object-fit:cover;border:1px solid var(--border-color);border-radius:8px;flex-shrink:0;width:52px;height:52px}.crm-chat-attachment-file-icon{width:44px;height:44px;color:var(--primary);background:#fff0f0;border-radius:9px;flex-shrink:0;justify-content:center;align-items:center;display:flex}.crm-chat-attachment-file-info{flex-direction:column;flex:1;gap:5px;min-width:0;display:flex}.crm-chat-attachment-file-info strong{color:var(--text-main);text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:700;overflow:hidden}.crm-chat-attachment-file-info span{color:var(--text-muted);font-size:11px}.crm-chat-attachment-remove{width:32px;height:32px;color:var(--text-muted);cursor:pointer;background:0 0;border:0;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;display:flex}.crm-chat-attachment-remove:hover{color:var(--primary);background:#ffe5e5}.crm-chat .crm-chat-attachment-preview-list{flex-wrap:wrap;align-items:flex-start;gap:8px;max-height:150px;margin-bottom:8px;padding:2px 2px 8px;display:flex;overflow-y:auto}.crm-chat .crm-chat-attachment-preview{background:snow;border:1px solid #e8edf3;border-radius:12px;align-items:center;gap:9px;width:min(230px,100%);min-width:0;min-height:60px;margin:0;padding:7px 9px;display:flex}.crm-chat .crm-chat-attachment-thumbnail,.crm-chat .crm-chat-attachment-file-icon{border-radius:8px;flex:0 0 42px;width:42px;height:42px}.crm-chat .crm-chat-attachment-thumbnail{object-fit:cover}.crm-chat .crm-chat-attachment-file-icon{color:var(--primary);background:#fff0f0;justify-content:center;align-items:center;display:flex}.crm-chat .crm-chat-attachment-file-info{flex:1;gap:3px;min-width:0}.crm-chat .crm-chat-attachment-file-info strong{text-overflow:ellipsis;white-space:nowrap;font-size:11px;display:block;overflow:hidden}.crm-chat .crm-chat-attachment-file-info span{font-size:10px}.crm-chat .crm-chat-attachment-remove{flex:0 0 25px;width:25px;height:25px}.crm-chat .crm-chat-message-attachments{flex-wrap:wrap;gap:8px;width:100%;min-width:0;max-width:min(82%,360px);display:flex}@media (max-width:767px){.crm-chat .crm-chat-message-attachments{max-width:92%}}.crm-chat .crm-chat-attachment-preview-list{flex-flow:wrap;align-items:flex-start;gap:10px;width:100%;max-height:142px;padding:4px 2px 10px;display:flex;overflow-y:auto}.crm-chat .crm-chat-attachment-preview{background:#fff;border:1px solid #e5eaf1;border-radius:12px;flex-direction:column;flex:0 0 94px;align-items:stretch;gap:6px;width:94px;min-width:94px;height:112px;min-height:112px;margin:0;padding:7px;display:flex;position:relative;overflow:hidden}.crm-chat .crm-chat-attachment-thumbnail{object-fit:cover;border-radius:7px;flex:0 0 58px;width:100%;height:58px;display:block}.crm-chat .crm-chat-attachment-file-icon{width:100%;height:58px;color:var(--primary);background:#fff0f0;border-radius:7px;flex:0 0 58px;justify-content:center;align-items:center;display:flex}.crm-chat .crm-chat-attachment-file-info{width:100%;min-width:0;display:block;overflow:hidden}.crm-chat .crm-chat-attachment-file-info strong{color:#253247;text-overflow:ellipsis;white-space:nowrap;font-size:10px;line-height:1.3;display:block;overflow:hidden}.crm-chat .crm-chat-attachment-file-info span{color:#8794a8;margin-top:2px;font-size:9px;display:block}.crm-chat .crm-chat-attachment-remove{color:#64748b;cursor:pointer;background:#fffffff0;border:0;border-radius:50%;justify-content:center;align-items:center;width:22px;height:22px;display:flex;position:absolute;top:4px;right:4px;box-shadow:0 1px 4px #0f172a1f}.crm-chat .crm-chat-composer{flex-shrink:0}.crm-chat .crm-chat-message-attachments{flex-wrap:wrap;gap:8px;width:100%;min-width:0;max-width:min(82%,360px);margin-top:2px;display:flex}.crm-chat .crm-chat-message-attachments.is-mine{justify-content:flex-end;align-self:flex-end}.crm-chat .crm-chat-message-attachments.is-theirs{justify-content:flex-start;align-self:flex-start}.crm-chat .crm-chat-message-attachment{color:#253247;text-align:left;cursor:pointer;background:#fff;border:1px solid #e5eaf1;border-radius:12px;align-items:center;gap:9px;width:min(100%,260px);min-width:0;padding:8px;display:flex}.crm-chat .crm-chat-message-attachment.is-image{width:auto;max-width:100%;padding:4px;display:block;overflow:hidden}.crm-chat .crm-chat-message-attachment.is-image img{object-fit:contain;border-radius:8px;width:auto;max-width:min(220px,100%);height:auto;max-height:180px;display:block}.crm-chat .crm-chat-message-document-icon{width:38px;height:42px;color:var(--primary);background:#fff0f0;border-radius:8px;flex:0 0 38px;justify-content:center;align-items:center;display:flex}.crm-chat .crm-chat-message-attachment-info{flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.crm-chat .crm-chat-message-attachment-info strong{text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.crm-chat .crm-chat-message-attachment-info small{color:#8794a8;font-size:10px}.crm-chat .crm-chat-message-attachment:hover{border-color:#ffcaca;box-shadow:0 2px 8px #f03d3d14}.crm-chat .crm-chat-image-lightbox>img{object-fit:contain;border-radius:8px;max-width:min(92vw,1100px);max-height:82vh;display:block;box-shadow:0 10px 40px #00000040}.crm-chat .crm-chat-image-lightbox>p{color:#fff;overflow-wrap:anywhere;max-width:90vw;font-size:12px}.crm-chat .crm-chat-image-lightbox-close{color:#fff;cursor:pointer;background:#ffffff24;border:0;border-radius:50%;justify-content:center;align-items:center;width:40px;height:40px;display:flex;position:absolute;top:18px;right:22px}@media (max-width:767px){.crm-chat .crm-chat-attachment-preview-list{gap:8px;max-height:130px}.crm-chat .crm-chat-attachment-preview{flex-basis:84px;width:84px;min-width:84px;height:104px;min-height:104px}.crm-chat .crm-chat-message-attachments{max-width:92%}}.crm-chat .crm-chat-message-row{position:relative;overflow:visible}.crm-chat .crm-chat-message-content{flex-direction:column;align-items:flex-start;width:fit-content;min-width:0;max-width:min(88%,560px);display:flex;position:relative;overflow:visible}.crm-chat .crm-chat-message-content.is-mine{align-items:flex-end}.crm-chat .crm-chat-message-content.is-theirs{align-items:flex-start}.crm-chat .crm-chat-message-content .crm-chat-bubble,.crm-chat .crm-chat-message-content .crm-chat-message-attachments{max-width:100%}.crm-chat .crm-message-actions{z-index:20;opacity:0;visibility:hidden;pointer-events:none;align-items:center;padding:0;transition:opacity .14s,visibility .14s;display:flex;position:absolute;top:4px;right:5px}.crm-chat .crm-chat-message-content:hover .crm-message-actions,.crm-chat .crm-chat-message-content:focus-within .crm-message-actions,.crm-chat .crm-message-actions.is-open{opacity:1;visibility:visible;pointer-events:auto}.crm-chat .crm-message-dropdown-trigger{color:#fff;width:24px;height:24px;box-shadow:none;cursor:pointer;background:#82141e38;border:0;border-radius:7px;outline:none;place-items:center;padding:0;transition:color .14s,transform .14s,background .14s;display:grid}.crm-chat .crm-message-dropdown-trigger svg{stroke-width:2.3px;width:16px;height:16px;transition:transform .15s}.crm-chat .crm-chat-message-content.is-mine .crm-message-dropdown-trigger:hover,.crm-chat .crm-chat-message-content.is-mine .crm-message-actions.is-open .crm-message-dropdown-trigger{color:#fff;background:#82141e57}.crm-chat .crm-chat-message-content.is-theirs .crm-message-dropdown-trigger{color:#64748b}.crm-chat .crm-chat-message-content.is-theirs .crm-message-dropdown-trigger:hover,.crm-chat .crm-chat-message-content.is-theirs .crm-message-actions.is-open .crm-message-dropdown-trigger{color:#334155;background:#0f172a0f}.crm-chat .crm-message-actions.is-open .crm-message-dropdown-trigger svg{transform:rotate(180deg)}.crm-chat .crm-message-dropdown-trigger:focus-visible{outline-offset:1px;outline:2px solid #ffffffd9}@media (hover:none){.crm-chat .crm-message-actions{opacity:1;visibility:visible;pointer-events:auto}.crm-chat .crm-chat-message-content.is-mine .crm-message-dropdown-trigger{color:#fff}}.crm-message-dropdown{z-index:10000;color:#334155;background:#fff;border:1px solid #e8edf3;border-radius:12px;width:196px;padding:5px;animation:.12s ease-out crmMessageMenuIn;position:fixed;box-shadow:0 14px 34px #0f172a2e,0 2px 6px #0f172a0d}.crm-message-dropdown button{color:#334155;text-align:left;width:100%;min-height:38px;font:inherit;cursor:pointer;background:0 0;border:0;border-radius:8px;align-items:center;gap:10px;padding:9px 10px;font-size:12px;font-weight:600;transition:background .12s,color .12s;display:flex}.crm-message-dropdown button svg{color:#718096;flex:none}.crm-message-dropdown button:hover{color:#1e293b;background:#f4f6f9}.crm-message-dropdown button.is-danger,.crm-message-dropdown button.is-danger svg{color:#dc2626}.crm-message-dropdown button.is-danger:hover{color:#b91c1c;background:#fff1f2}@keyframes crmMessageMenuIn{0%{opacity:0;transform:translateY(4px)scale(.99)}to{opacity:1;transform:translateY(0)scale(1)}}.crm-inline-edit{box-sizing:border-box;background:#fff;border:1px solid #dbe2ea;border-radius:12px;width:min(100%,520px);min-width:260px;padding:10px;box-shadow:0 2px 8px #0f172a0d}.crm-inline-edit textarea{box-sizing:border-box;resize:vertical;color:#1e293b;width:100%;min-height:54px;font:inherit;background:#fff;border:1px solid #dbe2ea;border-radius:7px;outline:none;padding:8px 9px;line-height:1.5;display:block}.crm-inline-edit textarea:focus{border-color:#94a3b8;box-shadow:0 0 0 2px #94a3b826}.crm-inline-edit-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:7px;margin-top:9px;display:flex}.crm-inline-edit-actions>span{color:#94a3b8;margin-right:auto;font-size:10px}.crm-inline-cancel,.crm-inline-save{cursor:pointer;border-radius:7px;padding:6px 11px;font-size:12px;font-weight:600}.crm-inline-cancel{color:#475569;background:#fff;border:1px solid #dbe2ea}.crm-inline-save{color:#fff;background:#334155;border:1px solid #334155}.crm-inline-save:disabled,.crm-inline-cancel:disabled{opacity:.45;cursor:not-allowed}.crm-message-edited{color:#64748b;font-size:11px;font-style:italic}.crm-edit-overlay{z-index:1000;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#0f172a75;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.crm-edit-dialog{box-sizing:border-box;color:#1e293b;background:#fff;border:1px solid #e2e8f0;border-radius:18px;width:min(100%,480px);padding:22px;box-shadow:0 24px 80px #0f172a38}.crm-delete-dialog{max-width:420px}.crm-delete-dialog h3{color:#1e293b;margin:0;font-size:18px;font-weight:650}.crm-delete-dialog>p{color:#64748b;margin:5px 0 0;font-size:13px;line-height:1.6}.crm-delete-icon{color:#dc2626;background:#fef2f2;border-radius:12px;place-items:center;width:44px;height:44px;margin-bottom:14px;display:grid}.crm-edit-footer{justify-content:space-between;align-items:center;gap:12px;margin-top:18px;display:flex}.crm-edit-footer>div{gap:8px;display:flex}.crm-edit-cancel,.crm-delete-confirm{cursor:pointer;border-radius:9px;padding:9px 14px;font-size:13px;font-weight:600}.crm-edit-cancel{color:#475569;background:#fff;border:1px solid #e2e8f0}.crm-delete-confirm{color:#fff;background:#dc2626;border:1px solid #dc2626}.crm-delete-confirm:disabled{opacity:.5;cursor:not-allowed}@media (hover:none){.crm-chat .crm-message-actions{opacity:1;visibility:visible;pointer-events:auto}}@media (max-width:640px){.crm-chat .crm-chat-message-content{max-width:94%}.crm-inline-edit{width:100%;min-width:0}.crm-inline-edit-actions>span{display:none}}.crm-chat-image-item{border-radius:10px;min-width:0;position:relative;overflow:hidden}.crm-chat-image-item>.crm-chat-message-attachment.is-image{width:100%;height:100%}.crm-chat-image-delete{z-index:2;color:#fff;cursor:pointer;opacity:0;background:#0f172acc;border:1px solid #ffffff40;border-radius:50%;place-items:center;width:32px;height:32px;transition:opacity .15s;display:grid;position:absolute;top:8px;right:8px}.crm-chat-image-item:hover .crm-chat-image-delete,.crm-chat-image-delete:focus-visible{opacity:1}@media (hover:none){.crm-chat-image-delete{opacity:1}}.crm-chat .crm-chat-message-attachments.is-image-collection{align-items:stretch;justify-content:initial;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;width:min(360px,82%);min-width:0;max-width:min(360px,82%);padding:4px;overflow:hidden;display:grid!important}.crm-chat .crm-chat-message-attachments.is-image-collection .crm-chat-image-item{width:100%;min-width:0;height:150px;margin:0;display:block}.crm-chat .crm-chat-message-attachments.is-image-collection .crm-chat-image-item>.crm-chat-message-attachment.is-image{border:0;border-radius:8px;width:100%;max-width:none;height:100%;padding:0;display:block;overflow:hidden}.crm-chat .crm-chat-message-attachments.is-image-collection.image-count-1 .crm-chat-message-attachment.is-image img{object-fit:contain;height:auto;max-height:260px}@media (max-width:640px){.crm-chat .crm-chat-message-attachments.is-image-collection{width:92%;max-width:92%}.crm-chat .crm-chat-message-attachments.is-image-collection .crm-chat-image-item{height:120px}}.crm-chat .crm-chat-message-card{box-sizing:border-box;background:#fff;border:1px solid #e7edf4;border-radius:14px;flex-direction:column;align-items:stretch;gap:6px;width:fit-content;min-width:0;max-width:100%;padding:8px;display:flex;overflow:hidden}.crm-chat .crm-chat-message-card>.crm-chat-bubble{box-sizing:border-box;overflow-wrap:anywhere;width:100%;min-width:0;max-width:100%}.crm-chat .crm-chat-message-card>.crm-chat-message-attachments{box-sizing:border-box;width:100%;min-width:0;max-width:100%}.crm-chat .crm-chat-message-card>.crm-chat-message-attachments.is-image-collection{background:0 0;border:0;border-radius:0;grid-template-columns:repeat(2,minmax(0,1fr));align-self:stretch;gap:4px;width:min(100%,360px);min-width:0;max-width:100%;padding:0;display:grid;overflow:hidden}.crm-chat .crm-chat-message-attachments.is-image-collection .crm-chat-image-item{box-sizing:border-box;width:100%;min-width:0;height:150px;margin:0;display:block;overflow:hidden}.crm-chat .crm-chat-message-attachments.is-image-collection .crm-chat-image-item>.crm-chat-message-attachment.is-image{box-sizing:border-box;border:0;border-radius:8px;width:100%;min-width:0;max-width:100%;height:100%;padding:0;display:block;overflow:hidden}.crm-chat .crm-chat-message-attachments.is-image-collection.image-count-1{width:min(100%,360px);display:block}.crm-chat .crm-chat-message-attachments.is-image-collection.image-count-1 .crm-chat-image-item>.crm-chat-message-attachment.is-image img{object-fit:contain;height:auto;max-height:260px}.crm-chat .crm-chat-message-attachments.is-image-collection.image-count-3 .crm-chat-image-item:first-child{grid-row:span 2;height:304px}.crm-chat .crm-chat-message-card>.crm-chat-message-attachments:not(.is-image-collection){grid-template-columns:repeat(2,minmax(0,1fr));align-self:stretch;gap:8px;width:100%;min-width:0;max-width:100%;display:grid}@media (max-width:640px){.crm-chat .crm-chat-message-content{max-width:94%}.crm-chat .crm-chat-message-attachments.is-image-collection .crm-chat-image-item{height:120px}.crm-chat .crm-chat-message-attachments.is-image-collection.image-count-3 .crm-chat-image-item:first-child{height:244px}.crm-chat .crm-chat-message-card>.crm-chat-message-attachments:not(.is-image-collection){grid-template-columns:minmax(0,1fr)}}.crm-chat .crm-chat-message-card>.crm-chat-message-attachments.is-image-collection{box-sizing:border-box;background:0 0;border:0;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:150px;align-content:start;align-items:stretch;gap:4px;width:min(360px,100%);min-width:0;max-width:100%;margin:0;padding:0;overflow:hidden;display:grid!important}.crm-chat .crm-chat-message-attachments.is-image-collection>.crm-chat-image-item{box-sizing:border-box;width:100%;min-width:0;height:100%;min-height:0;margin:0;padding:0;overflow:hidden}.crm-chat .crm-chat-message-attachments.is-image-collection .crm-chat-image-item>.crm-chat-message-attachment.is-image{box-sizing:border-box;border:0;border-radius:8px;width:100%;min-width:0;max-width:100%;height:100%;margin:0;padding:0;display:block;overflow:hidden}.crm-chat .crm-chat-message-card>.crm-chat-message-attachments.is-image-collection.image-count-1{width:min(360px,100%);display:block!important}.crm-chat .crm-chat-message-attachments.is-image-collection.image-count-1 .crm-chat-image-item{height:auto;max-height:260px}.crm-chat .crm-chat-message-attachments.is-image-collection.image-count-1 .crm-chat-image-item>.crm-chat-message-attachment.is-image{height:auto}.crm-chat .crm-chat-message-attachments.is-image-collection.image-count-3 .crm-chat-image-item:first-child{grid-row:span 2}.crm-chat .crm-chat-message-card>.crm-chat-message-attachments:not(.is-image-collection){box-sizing:border-box;grid-template-columns:repeat(2,minmax(0,1fr));align-self:stretch;gap:8px;width:100%;min-width:0;max-width:100%;margin:0;display:grid}.crm-chat .crm-chat-message-attachments:not(.is-image-collection)>.crm-chat-message-attachment.is-document{box-sizing:border-box;width:100%;min-width:0;max-width:100%}.crm-chat .crm-chat-message-attachment-info{flex:1 1 0;min-width:0}.crm-chat .crm-chat-message-attachment-info strong{text-overflow:ellipsis;white-space:nowrap;max-width:100%;display:block;overflow:hidden}.crm-attachment-delete-dialog{max-width:440px;animation:.16s ease-out crm-delete-dialog-in}.crm-attachment-delete-dialog .crm-delete-icon{width:48px;height:48px;color:var(--primary);background:#fff1f1;border-radius:14px;justify-content:center;align-items:center;display:flex}.crm-attachment-delete-dialog h3{letter-spacing:-.35px;font-size:19px}.crm-attachment-delete-dialog .crm-delete-filename{color:#334155;overflow-wrap:anywhere;font-weight:700}.crm-attachment-delete-dialog .crm-delete-confirm{border:1px solid var(--primary);background:var(--primary);color:#fff;cursor:pointer;border-radius:10px;min-height:38px;padding:9px 15px;transition:background .15s,transform .15s,box-shadow .15s;box-shadow:0 4px 10px #f03d3d26}.crm-attachment-delete-dialog .crm-delete-confirm:hover:not(:disabled){background:var(--primary-hover);transform:translateY(-1px);box-shadow:0 6px 14px #f03d3d33}.crm-attachment-delete-dialog .crm-edit-cancel{border-radius:10px;min-height:38px;transition:background .15s}.crm-attachment-delete-dialog .crm-edit-cancel:hover:not(:disabled){background:#f8fafc}.crm-attachment-delete-dialog button:disabled{cursor:not-allowed;opacity:.6}@keyframes crm-delete-dialog-in{0%{opacity:0;transform:translateY(6px)scale(.985)}to{opacity:1;transform:translateY(0)scale(1)}}@media (max-width:640px){.crm-chat .crm-chat-message-card>.crm-chat-message-attachments.is-image-collection{grid-auto-rows:120px}.crm-chat .crm-chat-message-card>.crm-chat-message-attachments:not(.is-image-collection){grid-template-columns:minmax(0,1fr)}}@media (prefers-reduced-motion:reduce){.crm-attachment-delete-dialog{animation:none}}.crm-chat .crm-chat-message-card{align-items:flex-start;width:fit-content;min-width:0;max-width:100%}.crm-chat .crm-chat-message-card>.crm-chat-bubble{width:100%;max-width:100%}.crm-chat .crm-chat-message-card>.crm-chat-message-attachments.is-image-collection{background:0 0;border:0;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:145px;grid-auto-flow:row;place-content:start;align-items:stretch;gap:4px;width:min(100%,360px);max-width:100%;margin:0;padding:0;overflow:hidden;display:grid!important}.crm-chat .crm-chat-message-attachments.is-image-collection .crm-chat-image-item{width:100%;min-width:0;height:100%;min-height:0;margin:0;padding:0;overflow:hidden}.crm-chat .crm-chat-message-attachments.is-image-collection .crm-chat-image-item>.crm-chat-message-attachment.is-image{border:0;width:100%;max-width:100%;height:100%;margin:0;padding:0;display:block;overflow:hidden}.crm-chat .crm-chat-message-attachments.is-image-collection .crm-chat-image-item>.crm-chat-message-attachment.is-image img{object-fit:cover;width:100%;max-width:100%;height:100%;max-height:100%;display:block}.crm-chat .crm-chat-message-card>.crm-chat-message-attachments.is-image-collection.image-count-1{width:fit-content;max-width:100%;display:block!important}.crm-chat .crm-chat-message-attachments.is-image-collection.image-count-1 .crm-chat-image-item{width:fit-content;max-width:360px;height:auto;max-height:260px}.crm-chat .crm-chat-message-attachments.is-image-collection.image-count-1 .crm-chat-image-item>.crm-chat-message-attachment.is-image{width:fit-content;max-width:100%;height:auto}.crm-chat .crm-chat-message-attachments.is-image-collection.image-count-1 .crm-chat-image-item>.crm-chat-message-attachment.is-image img{object-fit:contain;width:auto;max-width:100%;height:auto;max-height:260px}.crm-chat .crm-chat-message-attachments.is-image-collection.image-count-3 .crm-chat-image-item:first-child{grid-row:span 2;height:auto;min-height:0}.crm-chat .crm-chat-message-card>.crm-chat-message-attachments:not(.is-image-collection){grid-template-columns:repeat(2,minmax(0,1fr));align-self:stretch;gap:6px;width:100%;min-width:0;max-width:100%;margin:0;display:grid}.crm-chat .crm-chat-message-card>.crm-chat-message-attachments:not(.is-image-collection)>.crm-chat-message-attachment{box-sizing:border-box;width:100%;min-width:0;max-width:100%}@media (max-width:640px){.crm-chat .crm-chat-message-attachments.is-image-collection{grid-auto-rows:120px;width:min(100%,320px)}.crm-chat .crm-chat-message-attachments.is-image-collection.image-count-1{width:fit-content}.crm-chat .crm-chat-message-card>.crm-chat-message-attachments:not(.is-image-collection){grid-template-columns:minmax(0,1fr)}}.crm-chat .crm-chat-message-attachments.is-image-collection{grid-auto-rows:112px;grid-auto-flow:row;align-content:start;gap:4px;min-width:0;overflow:hidden;background:0 0!important;border:0!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;width:min(100%,280px)!important;max-width:280px!important;height:auto!important;margin:0!important;padding:0!important;display:grid!important}@media (max-width:640px){.crm-chat .crm-chat-image-lightbox{padding:56px 16px 100px}.crm-chat .crm-chat-gallery-prev{left:6px}.crm-chat .crm-chat-gallery-next{right:6px}}.crm-chat .crm-chat-message-attachments.is-image-collection.image-count-3 .crm-chat-image-item:nth-child(3){grid-column:1/-1!important;height:112px!important}.crm-chat .crm-chat-message-attachments.is-image-collection.image-count-4{grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-auto-rows:112px!important}.crm-chat .crm-chat-message-card:has(.is-image-collection){width:fit-content;min-width:0;max-width:100%}.crm-chat .crm-chat-message-attachments.is-image-collection{grid-auto-rows:112px;align-content:start;gap:4px;min-width:0;overflow:hidden;background:0 0!important;border:0!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;width:min(100%,280px)!important;max-width:280px!important;height:auto!important;margin:0!important;padding:0!important;display:grid!important}.crm-chat .crm-chat-message-attachments.is-image-collection .crm-chat-image-item{border-radius:8px;min-width:0;position:relative;overflow:hidden;width:100%!important;height:112px!important;margin:0!important;padding:0!important}.crm-chat .crm-chat-message-attachments.is-image-collection .crm-chat-image-item .crm-chat-message-attachment.is-image{border-radius:8px;display:block;overflow:hidden;border:0!important;width:100%!important;height:100%!important;padding:0!important}.crm-chat .crm-chat-message-attachments.is-image-collection .crm-chat-image-item img{display:block;object-fit:cover!important;width:100%!important;max-width:none!important;height:100%!important;max-height:none!important}.crm-chat-image-more{z-index:3;color:#fff;cursor:pointer;background:#00000094;border:0;border-radius:8px;justify-content:center;align-items:center;font-size:27px;font-weight:700;display:flex;position:absolute;inset:0}.crm-chat-image-more:hover{background:#000000ad}.crm-chat .crm-chat-message-attachments.is-image-collection.image-count-1 .crm-chat-image-item{width:fit-content!important;height:auto!important}.crm-chat .crm-chat-message-attachments.is-image-collection.image-count-1 .crm-chat-image-item img{object-fit:contain!important;width:auto!important;max-width:100%!important;height:auto!important;max-height:260px!important}.crm-chat .crm-chat-image-lightbox{z-index:10000;background:#000000eb;flex-direction:column;justify-content:center;align-items:center;gap:12px;padding:56px 72px 90px;display:flex;position:fixed;inset:0}.crm-chat .crm-chat-image-lightbox>img{object-fit:contain;width:auto;max-width:min(100%,1100px);height:auto;max-height:calc(100vh - 190px);display:block}.crm-chat .crm-chat-image-lightbox-close{z-index:5;color:#fff;cursor:pointer;background:#ffffff24;border:0;border-radius:50%;place-items:center;width:44px;height:44px;display:grid;position:absolute;top:18px;right:22px}.crm-chat .crm-chat-gallery-nav{z-index:5;color:#fff;cursor:pointer;background:#ffffff29;border:0;border-radius:12px;place-items:center;width:48px;height:56px;font-size:42px;line-height:1;display:grid;position:absolute;top:50%;transform:translateY(-50%)}.crm-chat .crm-chat-gallery-prev{left:18px}.crm-chat .crm-chat-gallery-next{right:18px}.crm-chat .crm-chat-gallery-caption{color:#fff;text-align:center;flex-direction:column;align-items:center;gap:5px;margin:0;display:flex}.crm-chat .crm-chat-gallery-caption span{color:#ffffffb3;font-size:12px}.crm-chat .crm-chat-gallery-thumbnails{gap:8px;max-width:calc(100vw - 32px);padding:6px;display:flex;position:absolute;bottom:18px;left:50%;overflow-x:auto;transform:translate(-50%)}.crm-chat .crm-chat-gallery-thumbnails button{opacity:.65;cursor:pointer;background:0 0;border:2px solid #0000;border-radius:6px;flex:0 0 54px;width:54px;height:54px;padding:0;overflow:hidden}.crm-chat .crm-chat-gallery-thumbnails button.is-active{opacity:1;border-color:#fff}.crm-chat .crm-chat-gallery-thumbnails img{object-fit:cover;width:100%;height:100%}@media (max-width:640px){.crm-chat .crm-chat-image-lightbox{padding:56px 16px 100px}.crm-chat .crm-chat-gallery-prev{left:6px}.crm-chat .crm-chat-gallery-next{right:6px}}.crm-chat .crm-chat-message-card>.crm-chat-message-attachments.is-image-collection{background:0 0!important;border:0!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-auto-rows:112px!important;grid-auto-flow:row!important;align-content:start!important;align-items:stretch!important;gap:4px!important;width:min(280px,100%)!important;min-width:0!important;max-width:280px!important;height:auto!important;min-height:0!important;margin:0!important;padding:0!important;display:grid!important;overflow:hidden!important}.crm-chat .crm-chat-message-attachments.is-image-collection>.crm-chat-image-item{border-radius:8px!important;grid-area:auto!important;width:100%!important;min-width:0!important;height:112px!important;min-height:0!important;margin:0!important;padding:0!important;display:block!important;position:relative!important;overflow:hidden!important}.crm-chat .crm-chat-message-attachments.is-image-collection.image-count-1{width:fit-content!important;max-width:min(280px,100%)!important;display:block!important}.crm-chat .crm-chat-message-attachments.is-image-collection.image-count-1>.crm-chat-image-item{width:fit-content!important;max-width:280px!important;height:auto!important}.crm-chat .crm-chat-message-attachments.is-image-collection.image-count-1 .crm-chat-message-attachment.is-image{width:fit-content!important;max-width:100%!important;height:auto!important}.crm-chat .crm-chat-message-attachments.is-image-collection.image-count-1 .crm-chat-image-item img{object-fit:contain!important;width:auto!important;max-width:280px!important;height:auto!important;max-height:260px!important;display:block!important}.crm-chat .crm-chat-message-attachments.is-image-collection.image-count-2{grid-template-rows:112px!important}.crm-chat .crm-chat-message-attachments.is-image-collection.image-count-3>.crm-chat-image-item:first-child{grid-area:1/1/span 2!important;height:228px!important}.crm-chat .crm-chat-message-attachments.is-image-collection.image-count-3>.crm-chat-image-item:nth-child(2){grid-area:1/2!important}.crm-chat .crm-chat-message-attachments.is-image-collection.image-count-3>.crm-chat-image-item:nth-child(3){grid-area:2/2!important;height:112px!important}.crm-chat .crm-chat-message-attachments.is-image-collection.image-count-4{grid-template-rows:repeat(2,112px)!important}.crm-chat .crm-chat-message-attachments.is-image-collection .crm-chat-image-item>.crm-chat-message-attachment.is-image{border:0!important;border-radius:8px!important;width:100%!important;max-width:100%!important;height:100%!important;margin:0!important;padding:0!important;display:block!important;overflow:hidden!important}.crm-chat .crm-chat-message-attachments.is-image-collection .crm-chat-image-item img{object-fit:cover!important;width:100%!important;max-width:none!important;height:100%!important;max-height:none!important;display:block!important}.crm-chat .crm-chat-image-more{z-index:3!important;color:#fff!important;cursor:pointer!important;background:#00000094!important;border:0!important;border-radius:8px!important;justify-content:center!important;align-items:center!important;font-size:27px!important;font-weight:700!important;display:flex!important;position:absolute!important;inset:0!important}@media (max-width:640px){.crm-chat .crm-chat-message-attachments.is-image-collection{grid-auto-rows:96px!important;width:min(248px,100%)!important;max-width:248px!important}.crm-chat .crm-chat-message-attachments.is-image-collection>.crm-chat-image-item{height:96px!important}.crm-chat .crm-chat-message-attachments.is-image-collection.image-count-3>.crm-chat-image-item:first-child{height:196px!important}.crm-chat .crm-chat-message-attachments.is-image-collection.image-count-3>.crm-chat-image-item:nth-child(3){height:96px!important}.crm-chat .crm-chat-message-attachments.is-image-collection.image-count-1>.crm-chat-image-item{height:auto!important}.crm-chat .crm-chat-message-attachments.is-image-collection.image-count-1 .crm-chat-image-item img{max-width:248px!important}}.crm-chat .crm-chat-gallery-delete{z-index:6;color:#fff;min-height:40px;font:inherit;cursor:pointer;background:#ef4444;border:1px solid #ffffff2e;border-radius:10px;justify-content:center;align-items:center;gap:8px;padding:0 14px;font-size:12px;font-weight:700;display:inline-flex;position:absolute;top:22px;right:78px;box-shadow:0 4px 18px #00000038}.crm-chat .crm-chat-gallery-delete:hover{background:#dc2626}.crm-chat .crm-chat-gallery-delete:focus-visible{outline-offset:3px;outline:2px solid #fff}@media (max-width:640px){.crm-chat .crm-chat-gallery-delete{min-height:36px;padding:0 11px;top:76px;right:16px}}.crm-edit-overlay{justify-content:center;align-items:center;display:flex;z-index:100000!important;position:fixed!important;inset:0!important}.crm-edit-overlay .crm-edit-dialog{position:relative;z-index:100001!important}.crm-chat-image-gallery,.crm-chat-image-preview-overlay{z-index:9990!important}.crm-chat-upload-error{color:#991b1b;background:linear-gradient(135deg,#fff7f7,#fff1f2);border:1px solid #fecaca;border-radius:14px;align-items:flex-start;gap:12px;margin:0 0 12px;padding:14px 16px;animation:.18s ease-out chat-error-enter;display:flex;box-shadow:0 4px 14px #dc262612}.crm-chat-upload-error-icon{color:#dc2626;background:#fee2e2;border-radius:10px;flex:0 0 34px;justify-content:center;align-items:center;width:34px;height:34px;display:flex}.crm-chat-upload-error-content{flex:1;min-width:0}.crm-chat-upload-error-content strong{margin:1px 0 4px;font-size:13px;font-weight:800;display:block}.crm-chat-upload-error-content p{color:#7f1d1d;overflow-wrap:anywhere;margin:0;font-size:12px;line-height:1.6}.crm-chat-upload-error-close{color:#991b1b;cursor:pointer;background:0 0;border:0;border-radius:7px;justify-content:center;align-items:center;padding:4px;display:flex}.crm-chat-upload-error-close:hover{background:#fee2e2}@keyframes chat-error-enter{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}@media (prefers-reduced-motion:reduce){.crm-chat-upload-error{animation:none}}.crm-chat-reply-preview,.crm-chat-reply-composer{color:#475569;background:#2563eb14;border-left:3px solid #2563eb;flex-direction:column;gap:2px;max-width:100%;padding:7px 10px;font-size:12px;display:flex}.crm-chat-reply-preview{border-radius:5px;margin-bottom:6px}.crm-chat-reply-preview strong,.crm-chat-reply-composer strong{color:#1d4ed8;font-size:11px}.crm-chat-reply-preview span,.crm-chat-reply-composer span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.crm-chat-reply-composer{border-left-width:4px;border-radius:8px;margin-bottom:8px;padding-right:34px;position:relative}.crm-chat-reply-composer button{color:#64748b;cursor:pointer;background:0 0;border:0;justify-content:center;align-items:center;padding:5px;display:flex;position:absolute;top:7px;right:6px}.crm-chat-reply-composer button:hover{color:#0f172a}.crm-chat-toast{color:#fff;z-index:100;background:#0f172a;border-radius:9px;align-items:center;gap:8px;padding:10px 12px;display:flex;position:fixed;bottom:24px;right:24px;box-shadow:0 12px 32px #0f172a38}.crm-chat-toast button{color:#cbd5e1;cursor:pointer;background:0 0;border:0;padding:0 2px;font-size:18px;line-height:1}.crm-chat-header-actions{position:relative}.crm-chat-conversation-menu{z-index:20;background:#fff;border:1px solid #e2e8f0;border-radius:8px;min-width:150px;padding:5px;position:absolute;top:calc(100% + 8px);right:0;box-shadow:0 12px 28px #0f172a24}.crm-chat-conversation-menu button{color:#334155;cursor:pointer;text-align:left;background:0 0;border:0;border-radius:6px;align-items:center;gap:8px;width:100%;padding:8px 9px;font-size:12px;display:flex}.crm-chat-conversation-menu button:hover{background:#f1f5f9}.crm-calendar{color:#1f2020}.crm-calendar-page-header{justify-content:space-between;align-items:center;margin-bottom:18px;display:flex}.crm-calendar-page-header h1{font-size:22px;font-weight:700}.crm-calendar-page-header p{color:#707070;margin-top:5px;font-size:13px}.crm-calendar-header-actions,.crm-calendar-view-tabs,.crm-calendar-month-nav{align-items:center;gap:8px;display:flex}.crm-calendar-outline-button,.crm-calendar-primary-button,.crm-calendar-add-event,.crm-calendar-toolbar button,.crm-calendar-add-category{cursor:pointer;font:inherit;border-radius:6px;justify-content:center;align-items:center;gap:7px;font-size:12px;transition:all .2s;display:inline-flex}.crm-calendar-outline-button{color:#454646;background:#fff;border:1px solid #e2e8f0;min-height:34px;padding:0 12px}.crm-calendar-primary-button,.crm-calendar-add-event{color:#fff;background:#e41f07;border:1px solid #e41f07;min-height:34px;padding:0 13px;font-weight:600}.crm-calendar-primary-button:hover,.crm-calendar-add-event:hover{background:#c11a06}.crm-calendar-layout{background:#fff;border:1px solid #e2e8f0;border-radius:8px;grid-template-columns:250px minmax(0,1fr);min-height:calc(100dvh - 190px);display:grid;overflow:hidden}.crm-calendar-sidebar{border-right:1px solid #e2e8f0;padding:18px}.crm-calendar-add-event{width:100%}.crm-calendar-mini-heading,.crm-calendar-sidebar-title{justify-content:space-between;align-items:center;display:flex}.crm-calendar-mini-heading{color:#1f2020;border-bottom:1px solid #eef2f6;margin-top:26px;padding-bottom:10px;font-size:13px;font-weight:700}.crm-calendar-help,.crm-calendar-empty{color:#8a8d91;font-size:11px;line-height:1.5}.crm-calendar-help{margin:12px 0 15px}.crm-calendar-category-list{gap:11px;display:grid}.crm-calendar-category{color:#5a5b5b;cursor:pointer;align-items:center;gap:8px;font-size:12px;display:flex}.crm-calendar-category input{accent-color:#e41f07;width:14px;height:14px}.crm-calendar-category-dot{border-radius:50%;width:8px;height:8px}.crm-calendar-add-category{color:#e41f07;background:0 0;border:0;margin-top:20px;padding:0}.crm-calendar-upcoming{border-top:1px solid #eef2f6;margin-top:24px;padding-top:18px}.crm-calendar-sidebar-title strong{font-size:13px}.crm-calendar-sidebar-title span{color:#e41f07;background:#fce9e6;border-radius:10px;padding:3px 7px;font-size:11px}.crm-calendar-upcoming-item{cursor:pointer;text-align:left;background:0 0;border:0;align-items:flex-start;gap:9px;width:100%;margin-top:15px;padding:0;display:flex}.crm-calendar-upcoming-bar{border-radius:8px;flex:0 0 4px;height:34px}.crm-calendar-upcoming-item span:last-child,.crm-calendar-list-row div{flex-direction:column;gap:4px;min-width:0;display:flex}.crm-calendar-upcoming-item strong,.crm-calendar-list-row strong{color:#323333;text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:600;overflow:hidden}.crm-calendar-upcoming-item small,.crm-calendar-list-row small{color:#8a8d91;font-size:10px}.crm-calendar-main{min-width:0;padding:18px}.crm-calendar-toolbar{justify-content:space-between;align-items:center;margin-bottom:16px;display:flex}.crm-calendar-month-nav strong{text-align:center;min-width:130px;font-size:15px}.crm-calendar-toolbar button{color:#707070;background:#fff;border:1px solid #e2e8f0;min-height:30px;padding:0 10px}.crm-calendar-month-nav button{width:30px;padding:0}.crm-calendar-toolbar button:hover,.crm-calendar-view-tabs button.is-active{color:#e41f07;background:#fce9e6;border-color:#f7b8ad}.crm-calendar-grid{border:1px solid #e2e8f0;border-radius:6px;overflow:hidden}.crm-calendar-weekdays,.crm-calendar-cells{grid-template-columns:repeat(7,minmax(0,1fr));display:grid}.crm-calendar-weekdays{background:#f7f8f9;border-bottom:1px solid #e2e8f0}.crm-calendar-weekdays span{color:#707070;text-align:center;padding:11px 8px;font-size:11px;font-weight:600}.crm-calendar-cell{cursor:pointer;text-align:left;background:#fff;border:1px solid #eef2f6;border-top:0;border-left:0;min-height:92px;padding:8px}.crm-calendar-cell:nth-child(7n){border-right:0}.crm-calendar-cell:hover,.crm-calendar-cell.is-selected{background:#fffaf9}.crm-calendar-cell.is-muted{color:#b5b5b5;background:#fafbfc}.crm-calendar-cell-number{color:#454646;border-radius:50%;justify-content:center;align-items:center;width:24px;height:24px;font-size:11px;display:inline-flex}.crm-calendar-cell.is-today .crm-calendar-cell-number{color:#fff;background:#e41f07}.crm-calendar-cell-events{gap:4px;margin-top:6px;display:grid}.crm-calendar-event-pill{color:#454646;text-overflow:ellipsis;white-space:nowrap;background:#f7f8f9;border-left:3px solid;border-radius:3px;padding:4px 5px;font-size:10px;overflow:hidden}.crm-calendar-event-list{border:1px solid #e2e8f0;border-radius:6px;padding:8px 14px}.crm-calendar-list-row{border-bottom:1px solid #eef2f6;align-items:center;gap:12px;min-height:58px;display:flex}.crm-calendar-list-row:last-child{border-bottom:0}.crm-calendar-list-location{color:#8a8d91;align-items:center;gap:4px;margin-left:auto;font-size:10px;display:flex}.crm-calendar-modal-overlay{z-index:1000;background:#0f172a6b;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.crm-calendar-modal{background:#fff;border-radius:10px;gap:16px;width:100%;max-width:540px;padding:22px;display:grid;box-shadow:0 24px 70px #0f172a33}.crm-calendar-modal header{justify-content:space-between;align-items:flex-start;display:flex}.crm-calendar-modal header h2{font-size:18px}.crm-calendar-modal header p{color:#8a8d91;margin-top:4px;font-size:11px}.crm-calendar-modal header button{color:#707070;cursor:pointer;background:0 0;border:0}.crm-calendar-modal label{color:#454646;gap:6px;font-size:11px;font-weight:600;display:grid}.crm-calendar-modal input,.crm-calendar-modal select{color:#323333;font:inherit;background:#fff;border:1px solid #e2e8f0;border-radius:6px;outline:0;min-height:38px;padding:0 10px;font-size:12px}.crm-calendar-modal input:focus,.crm-calendar-modal select:focus{border-color:#e41f07;box-shadow:0 0 0 3px #fce9e6}.crm-calendar-form-row{grid-template-columns:1fr 1fr;gap:12px;display:grid}.crm-calendar-category-modal input[type=color]{padding:4px}.crm-calendar-modal footer{justify-content:flex-end;gap:8px;display:flex}.crm-calendar-modal footer button{cursor:pointer;border:1px solid #e2e8f0;border-radius:6px;min-height:34px;padding:0 13px;font-size:12px}.crm-calendar-modal footer button:last-child{color:#fff;background:#e41f07;border-color:#e41f07}@media (max-width:900px){.crm-calendar-layout{grid-template-columns:210px minmax(0,1fr)}.crm-calendar-main{padding:12px}.crm-calendar-cell{min-height:76px}}@media (max-width:700px){.crm-calendar-page-header{flex-direction:column;align-items:flex-start;gap:12px}.crm-calendar-layout{display:block}.crm-calendar-sidebar{border-bottom:1px solid #e2e8f0;border-right:0}.crm-calendar-category-list{grid-template-columns:repeat(2,minmax(0,1fr))}.crm-calendar-upcoming{display:none}.crm-calendar-toolbar{flex-direction:column;align-items:flex-start;gap:12px}.crm-calendar-cell{min-height:62px;padding:4px}.crm-calendar-event-pill{font-size:9px}.crm-calendar-form-row{grid-template-columns:1fr}}.crm-todo-page-header,.crm-todo-header-actions,.crm-todo-toolbar,.crm-todo-filters,.crm-todo-item,.crm-todo-meta,.crm-todo-assignees,.crm-todo-actions,.crm-todo-summary,.crm-todo-details header,.crm-todo-detail-grid,.crm-todo-assignee-detail{align-items:center;display:flex}.crm-todo-page-header{justify-content:space-between;margin-bottom:18px}.crm-todo-page-header h1{font-size:22px;font-weight:700}.crm-todo-page-header p{color:#707070;margin-top:5px;font-size:13px}.crm-todo-header-actions,.crm-todo-filters{gap:8px}.crm-todo-tool-button,.crm-todo-primary{color:#707070;cursor:pointer;background:#fff;border:1px solid #e2e8f0;border-radius:6px;min-height:34px;padding:0 11px;font-size:12px}.crm-todo-primary{color:#fff;background:#e41f07;border-color:#e41f07;align-items:center;gap:6px;font-weight:600;display:inline-flex}.crm-todo-primary:hover{background:#c11a06}.crm-todo-summary{background:#fff;border:1px solid #e2e8f0;border-radius:8px;margin-bottom:18px}.crm-todo-summary>div{border-right:1px solid #eef2f6;flex-direction:column;flex:1;gap:5px;padding:15px 18px;display:flex}.crm-todo-summary>div:last-child{border-right:0}.crm-todo-summary strong{color:#707070;font-size:11px;font-weight:500}.crm-todo-summary b{color:#1f2020;font-size:19px}.crm-todo-card{background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:18px}.crm-todo-toolbar{border-bottom:1px solid #eef2f6;justify-content:space-between;padding-bottom:16px}.crm-todo-search{color:#8a8d91;border:1px solid #e2e8f0;border-radius:6px;align-items:center;gap:8px;width:240px;min-height:36px;padding:0 10px;display:flex}.crm-todo-search input{color:#323333;font:inherit;border:0;outline:0;width:100%;font-size:12px}.crm-todo-filters{color:#707070;font-size:11px}.crm-todo-filters select{color:#454646;font:inherit;background:#fff;border:1px solid #e2e8f0;border-radius:5px;min-height:32px;padding:0 7px;font-size:11px}.crm-todo-group{margin-top:20px}.crm-todo-group>header{justify-content:space-between;align-items:center;margin-bottom:9px;display:flex}.crm-todo-group>header>div{align-items:center;gap:9px;display:flex}.crm-todo-group h2{font-size:13px;font-weight:700}.crm-todo-group>header span{color:#707070;background:#f7f8f9;border-radius:9px;padding:3px 7px;font-size:10px}.crm-todo-group>header button{color:#e41f07;cursor:pointer;background:0 0;border:0;font-size:11px}.crm-todo-priority.high{color:#e41f07}.crm-todo-priority.medium{color:#ffa201}.crm-todo-priority.low{color:#2f80ed}.crm-todo-list{border:1px solid #eef2f6;border-radius:7px;overflow:hidden}.crm-todo-item{gap:12px;min-height:76px;padding:12px 14px}.crm-todo-item+.crm-todo-item{border-top:1px solid #eef2f6}.crm-todo-item:hover{background:#fffaf9}.crm-todo-check{color:#fff;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:50%;justify-content:center;align-items:center;width:20px;height:20px;padding:0;display:inline-flex}.crm-todo-check.is-complete{background:#1abe17;border-color:#1abe17}.crm-todo-item-content{flex:1;min-width:0}.crm-todo-title{color:#323333;cursor:pointer;text-align:left;text-overflow:ellipsis;white-space:nowrap;background:0 0;border:0;padding:0;font-size:12px;font-weight:600;display:block;overflow:hidden}.crm-todo-meta{flex-wrap:wrap;gap:10px;margin-top:7px}.crm-todo-meta>span:first-child{color:#8a8d91;align-items:center;gap:4px;font-size:10px;display:inline-flex}.crm-todo-tag,.crm-todo-status{border-radius:4px;padding:3px 6px;font-size:10px;display:inline-flex}.crm-todo-tag{color:#e41f07;background:#fce9e6}.crm-todo-status.pending{color:#d48600;background:#fff6e6}.crm-todo-status.inprogress{color:#2f80ed;background:#eaf2fd}.crm-todo-status.completed{color:#159512;background:#e8f9e8}.crm-todo-status.onhold{color:purple;background:#f1ebf7}.crm-todo-assignees{gap:6px;margin-top:8px}.crm-todo-assignees small{color:#707070;font-size:10px}.crm-todo-avatar{color:#e41f07;background:#fce9e6;border-radius:50%;justify-content:center;align-items:center;width:23px;height:23px;display:inline-flex}.crm-todo-actions{gap:3px;margin-left:auto}.crm-todo-actions button{color:#8a8d91;cursor:pointer;background:0 0;border:0;border-radius:5px;justify-content:center;align-items:center;width:28px;height:28px;display:inline-flex}.crm-todo-actions button:hover{color:#e41f07;background:#fce9e6}.crm-todo-empty{color:#8a8d91;text-align:center;padding:30px;font-size:12px}.crm-todo-overlay{z-index:1000;background:#0f172a6b;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.crm-todo-modal,.crm-todo-details{background:#fff;border-radius:10px;width:min(100%,540px);box-shadow:0 24px 70px #0f172a33}.crm-todo-modal{gap:15px;padding:22px;display:grid}.crm-todo-modal header,.crm-todo-details header{justify-content:space-between;align-items:flex-start;display:flex}.crm-todo-modal h2,.crm-todo-details h2{font-size:18px}.crm-todo-modal header p{color:#8a8d91;margin-top:4px;font-size:11px}.crm-todo-modal header button,.crm-todo-details header button{color:#707070;cursor:pointer;background:0 0;border:0}.crm-todo-modal label{color:#454646;gap:6px;font-size:11px;font-weight:600;display:grid}.crm-todo-modal input,.crm-todo-modal select,.crm-todo-modal textarea{color:#323333;font:inherit;border:1px solid #e2e8f0;border-radius:6px;outline:0;padding:9px 10px;font-size:12px}.crm-todo-modal textarea{resize:vertical}.crm-todo-form-row{grid-template-columns:1fr 1fr;gap:12px;display:grid}.crm-todo-modal footer,.crm-todo-details footer{justify-content:flex-end;gap:8px;display:flex}.crm-todo-modal footer button,.crm-todo-details footer button{cursor:pointer;border:1px solid #e2e8f0;border-radius:6px;min-height:34px;padding:0 13px;font-size:12px}.crm-todo-modal footer button:last-child,.crm-todo-details footer button:first-child{color:#fff;background:#e41f07;border-color:#e41f07}.crm-todo-details{padding:24px}.crm-todo-details header{border-bottom:1px solid #eef2f6;padding-bottom:16px}.crm-todo-detail-label{color:#e41f07;text-transform:uppercase;margin-bottom:7px;font-size:10px;font-weight:700;display:block}.crm-todo-detail-grid{border-bottom:1px solid #eef2f6;gap:18px;padding:18px 0}.crm-todo-detail-grid div{gap:5px;display:grid}.crm-todo-detail-grid small,.crm-todo-details h3{color:#8a8d91;font-size:10px}.crm-todo-detail-grid strong{font-size:12px}.crm-todo-details h3{text-transform:uppercase;margin-top:18px}.crm-todo-details>p{color:#5a5b5b;margin-top:7px;font-size:12px;line-height:1.7}.crm-todo-assignee-detail{color:#454646;gap:8px;margin-top:8px;font-size:12px}.crm-todo-details footer{margin-top:24px}.crm-todo-details footer button{align-items:center;gap:5px;display:inline-flex}.crm-todo-details footer .danger{color:#e41f07;background:#fff;border-color:#f3b6b0}@media (max-width:760px){.crm-todo-page-header,.crm-todo-toolbar{flex-direction:column;align-items:flex-start;gap:12px}.crm-todo-header-actions,.crm-todo-filters,.crm-todo-search{width:100%}.crm-todo-summary{grid-template-columns:1fr 1fr;display:grid}.crm-todo-summary>div:nth-child(2){border-right:0}.crm-todo-item{align-items:flex-start}.crm-todo-actions{align-self:flex-start}.crm-todo-form-row{grid-template-columns:1fr}}.crm-notes-page-header,.crm-notes-header-actions,.crm-notes-layout,.crm-notes-toolbar,.crm-notes-bulk,.crm-notes-card-top,.crm-note-card-footer,.crm-note-actions,.crm-notes-form-row,.crm-notes-detail-meta{align-items:center;display:flex}.crm-notes-page-header{justify-content:space-between;margin-bottom:18px}.crm-notes-page-header h1{font-size:22px;font-weight:700}.crm-notes-page-header p{color:#707070;margin-top:5px;font-size:13px}.crm-notes-header-actions,.crm-notes-bulk{gap:8px}.crm-notes-tool-button,.crm-notes-primary{color:#707070;cursor:pointer;background:#fff;border:1px solid #e2e8f0;border-radius:6px;min-height:34px;padding:0 11px;font-size:12px}.crm-notes-primary{color:#fff;background:#e41f07;border-color:#e41f07;align-items:center;gap:6px;font-weight:600;display:inline-flex}.crm-notes-layout{background:#fff;border:1px solid #e2e8f0;border-radius:8px;align-items:stretch;min-height:calc(100dvh - 190px)}.crm-notes-sidebar{border-right:1px solid #e2e8f0;flex:0 0 205px;padding:18px 14px}.crm-notes-sidebar h2{color:#323333;margin-bottom:10px;font-size:13px}.crm-notes-sidebar button{color:#707070;cursor:pointer;text-align:left;background:0 0;border:0;border-radius:6px;justify-content:space-between;align-items:center;width:100%;padding:9px 10px;font-size:12px;display:flex}.crm-notes-sidebar button:hover,.crm-notes-sidebar button.is-active{color:#e41f07;background:#fce9e6;font-weight:600}.crm-notes-sidebar button span{background:#f7f8f9;border-radius:9px;padding:2px 6px;font-size:10px}.crm-notes-filter-heading{border-top:1px solid #eef2f6;margin-top:18px;padding-top:18px}.crm-notes-sidebar button.is-filter-active{color:#e41f07;font-weight:600}.crm-notes-main{flex:1;min-width:0;padding:18px}.crm-notes-toolbar{border-bottom:1px solid #eef2f6;justify-content:space-between;padding-bottom:15px}.crm-notes-search{color:#8a8d91;border:1px solid #e2e8f0;border-radius:6px;align-items:center;gap:8px;width:240px;min-height:36px;padding:0 10px;display:flex}.crm-notes-search input{font:inherit;border:0;outline:0;width:100%;font-size:12px}.crm-notes-bulk button,.crm-notes-export-links button{color:#707070;cursor:pointer;background:#fff;border:1px solid #e2e8f0;border-radius:5px;align-items:center;gap:5px;min-height:30px;padding:0 8px;font-size:11px;display:inline-flex}.crm-notes-bulk button:hover,.crm-notes-export-links button:hover{color:#e41f07;border-color:#e41f07}.crm-notes-export-links{align-items:center;gap:10px;padding:12px 0 2px;display:flex}.crm-notes-export-links span{color:#707070;margin-right:auto;font-size:11px}.crm-notes-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:16px;display:grid}.crm-note-card{border:1px solid #e2e8f0;border-radius:8px;min-width:0;padding:14px;transition:all .2s}.crm-note-card:hover{border-color:#f1b1a8;box-shadow:0 5px 18px #0f172a0f}.crm-note-card-top{justify-content:space-between}.crm-note-card-top>button{color:#8a8d91;cursor:pointer;letter-spacing:2px;background:0 0;border:0}.crm-note-priority{border-radius:4px;padding:3px 7px;font-size:10px}.crm-note-priority.high{color:#e41f07;background:#fce9e6}.crm-note-priority.medium{color:#d48600;background:#fff6e6}.crm-note-priority.low{color:#2f80ed;background:#eaf2fd}.crm-note-title{color:#323333;cursor:pointer;text-align:left;text-overflow:ellipsis;white-space:nowrap;background:0 0;border:0;width:100%;margin-top:14px;padding:0;font-size:13px;font-weight:700;display:block;overflow:hidden}.crm-note-date{color:#8a8d91;margin-top:7px;font-size:10px;display:block}.crm-note-card p{color:#707070;min-height:52px;margin-top:12px;font-size:11px;line-height:1.6}.crm-note-card-footer{border-top:1px solid #eef2f6;gap:7px;margin-top:15px;padding-top:12px}.crm-note-avatar{color:#e41f07;background:#fce9e6;border-radius:50%;justify-content:center;align-items:center;width:24px;height:24px;font-size:10px;display:inline-flex}.crm-note-tag{color:#707070;background:#f7f8f9;border-radius:4px;padding:3px 6px;font-size:10px}.crm-note-actions{gap:2px;margin-left:auto}.crm-note-actions button{color:#8a8d91;cursor:pointer;background:0 0;border:0;justify-content:center;align-items:center;width:25px;height:25px;padding:0;display:inline-flex}.crm-note-actions button:hover{color:#e41f07}.crm-note-actions input{accent-color:#e41f07}.crm-notes-empty{color:#8a8d91;text-align:center;padding:40px;font-size:12px}.crm-notes-overlay{z-index:1000;background:#0f172a6b;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.crm-notes-modal,.crm-notes-detail{background:#fff;border-radius:10px;width:min(100%,540px);box-shadow:0 24px 70px #0f172a33}.crm-notes-modal{gap:15px;padding:22px;display:grid}.crm-notes-modal header,.crm-notes-detail header{justify-content:space-between;align-items:flex-start;display:flex}.crm-notes-modal header h2,.crm-notes-detail h2{font-size:18px}.crm-notes-modal header p{color:#8a8d91;margin-top:4px;font-size:11px}.crm-notes-modal header button,.crm-notes-detail header button{color:#707070;cursor:pointer;background:0 0;border:0}.crm-notes-modal label{color:#454646;gap:6px;font-size:11px;font-weight:600;display:grid}.crm-notes-modal input,.crm-notes-modal select,.crm-notes-modal textarea{color:#323333;font:inherit;border:1px solid #e2e8f0;border-radius:6px;outline:0;padding:9px 10px;font-size:12px}.crm-notes-modal textarea{resize:vertical}.crm-notes-form-row{gap:12px}.crm-notes-form-row label{flex:1}.crm-notes-modal footer,.crm-notes-detail footer{justify-content:flex-end;gap:8px;display:flex}.crm-notes-modal footer button,.crm-notes-detail footer button{cursor:pointer;border:1px solid #e2e8f0;border-radius:6px;min-height:34px;padding:0 13px;font-size:12px}.crm-notes-modal footer button:last-child,.crm-notes-detail footer button:first-child{color:#fff;background:#e41f07;border-color:#e41f07}.crm-notes-detail{padding:24px}.crm-notes-detail header{border-bottom:1px solid #eef2f6;padding-bottom:16px}.crm-notes-detail header span{color:#e41f07;text-transform:uppercase;margin-bottom:7px;font-size:10px;font-weight:700;display:block}.crm-notes-detail>p{color:#5a5b5b;margin-top:20px;font-size:12px;line-height:1.8}.crm-notes-detail-meta{flex-wrap:wrap;gap:8px;margin-top:18px}.crm-notes-detail-meta span,.crm-notes-detail-meta strong{color:#707070;background:#f7f8f9;border-radius:4px;padding:4px 7px;font-size:10px}.crm-notes-detail-meta strong{color:#e41f07;background:#fce9e6}.crm-notes-detail footer{margin-top:24px}.crm-notes-detail footer button{align-items:center;gap:5px;display:inline-flex}.crm-notes-detail footer button:last-child{color:#e41f07;background:#fff;border-color:#f1b1a8}@media (max-width:1000px){.crm-notes-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:760px){.crm-notes-page-header,.crm-notes-toolbar{flex-direction:column;align-items:flex-start;gap:12px}.crm-notes-layout{display:block}.crm-notes-sidebar{border-bottom:1px solid #e2e8f0;border-right:0}.crm-notes-sidebar button{width:auto;margin-right:5px;display:inline-flex}.crm-notes-filter-heading{border:0;margin:12px 8px 0 0;padding:0;display:inline-block}.crm-notes-search{width:100%}.crm-notes-grid{grid-template-columns:1fr}.crm-notes-form-row{flex-direction:column;align-items:stretch}}.crm-users-module{flex-direction:column;gap:18px;display:flex}.crm-users-header{justify-content:space-between;align-items:flex-start;gap:20px;display:flex}.crm-users-header h1{color:#202223;letter-spacing:-.4px;margin:0;font-size:24px;font-weight:750}.crm-users-header h1 span{color:#e41f07;vertical-align:middle;background:#fce9e6;border-radius:12px;margin-left:6px;padding:4px 8px;font-size:11px}.crm-users-header p:not(.crm-eyebrow){color:#707070;margin:6px 0 0;font-size:13px}.crm-eyebrow{color:#e41f07;letter-spacing:1.2px;text-transform:uppercase;margin:0 0 5px;font-size:10px;font-weight:750}.crm-users-actions,.crm-modal-footer{gap:8px;display:flex}.crm-users-alert{color:#b42318;background:#fff1f0;border:1px solid #f3c0b9;border-radius:6px;padding:10px 12px;font-size:12px}.crm-users-toolbar{background:#fff;border:1px solid #e2e8f0;border-radius:8px;flex-wrap:wrap;align-items:center;gap:9px;padding:12px;display:flex}.crm-users-toolbar input,.crm-users-toolbar select{color:#454646;font:inherit;border:1px solid #e2e8f0;border-radius:6px;outline:0;min-height:34px;padding:0 10px;font-size:12px}.crm-users-toolbar input{flex:230px}.crm-users-toolbar select{min-width:125px}.crm-users-table-wrap{padding:0;overflow-x:auto}.crm-users-table{border-collapse:collapse;width:100%;min-width:850px}.crm-users-table th{color:#8a8d91;letter-spacing:.3px;text-align:left;text-transform:uppercase;background:#fafbfc;padding:13px 15px;font-size:10px;font-weight:700}.crm-users-table td{color:#707070;white-space:nowrap;border-top:1px solid #eef2f6;padding:14px 15px;font-size:12px}.crm-users-table td strong{color:#323333;font-size:13px}.crm-role-badge,.crm-status-badge{border-radius:12px;padding:4px 8px;font-size:10px;font-weight:700;display:inline-block}.crm-role-badge.staff{color:#2563eb;background:#eef4ff}.crm-role-badge.user{color:#60656c;background:#f3f4f6}.crm-status-badge.active{color:#16803c;background:#eaf8ef}.crm-status-badge.inactive{color:#b42318;background:#fff1f0}.crm-table-action{color:#e41f07;cursor:pointer;background:0 0;border:0;margin-right:10px;padding:0;font-size:11px}.crm-table-action.danger{color:#8a8d91}.crm-users-empty{color:#8a8d91;text-align:center;padding:46px;font-size:12px}.crm-modal-backdrop{z-index:1000;background:#0f172a6b;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.crm-modal-card{background:#fff;border-radius:10px;width:100%;max-width:450px;padding:24px;position:relative;box-shadow:0 24px 70px #0f172a33}.crm-modal-card form{gap:14px;display:grid}.crm-modal-card h2{color:#323333;margin:0;font-size:18px}.crm-modal-subtitle,.crm-modal-card>p{color:#707070;margin:7px 0 3px;font-size:12px;line-height:1.6}.crm-modal-card label{color:#454646;gap:6px;font-size:11px;font-weight:700;display:grid}.crm-modal-card input,.crm-modal-card select{color:#323333;font:inherit;border:1px solid #e2e8f0;border-radius:6px;outline:0;min-height:36px;padding:0 10px;font-size:12px}.crm-modal-close{color:#8a8d91;cursor:pointer;background:0 0;border:0;font-size:22px;line-height:1;position:absolute;top:15px;right:16px}.crm-modal-footer{justify-content:flex-end;margin-top:8px}.crm-switch-row{flex-direction:row;justify-content:space-between;align-items:center;display:flex!important}.crm-switch-row input{width:16px;min-height:auto}.btn-danger{color:#fff;cursor:pointer;background:#b42318;border:1px solid #b42318;border-radius:6px;min-height:34px;padding:0 13px;font-size:12px}@media (max-width:700px){.crm-users-header{flex-direction:column}.crm-users-actions{width:100%}.crm-users-actions button{flex:1}}.crm-chat-archive-toggle{color:#2563eb;cursor:pointer;background:0 0;border:0;margin-left:auto;padding:2px 0;font-size:11px}
