.crm-page{background:#f6f8f7!important}
.crm-main-toolbar{background:#fff;min-height:62px;border-bottom:0;padding:8px 20px}
.crm-queue-tabs{gap:5px}.crm-queue-tabs button{height:36px;border:0;border-radius:12px;padding:0 12px;font-size:11px;transition:background .18s,color .18s,transform .18s}.crm-queue-tabs button.active{background:#e4f2e9;color:#1d7652;box-shadow:inset 0 0 0 1px #d5e9dc}.crm-queue-tabs button:hover{background:#f0f5f1;transform:translateY(-1px)}
.crm-toolbar-actions .crm-toolbar-new{border-radius:11px;height:36px;box-shadow:0 3px 8px #226f4920}.crm-toolbar-actions button{border-radius:9px}
.crm-page .wa-inbox-layout{margin:0 12px 12px;border:1px solid #e3eae5;border-radius:18px;box-shadow:0 5px 20px #284b3310;transition:grid-template-columns .32s cubic-bezier(.22,1,.36,1);position:relative}
.crm-list-header{padding:21px 18px 14px;border-bottom:0}.crm-list-title{margin-bottom:17px}.crm-list-title h1{font-size:19px;letter-spacing:-.6px}.crm-list-header .wa-search{height:43px;border-radius:13px;background:#f2f5f3;border:1px solid #eaf0eb}.crm-list-header .wa-search input{font-size:12px}
.crm-filter-trigger{border-radius:9px;height:32px}.crm-quick-filters{margin-top:14px;gap:6px}.crm-quick-filters button{font-size:11px;padding:7px 11px}
.crm-list{padding:0 8px 10px}.crm-chat-row{border:0;border-radius:14px;margin:3px 0;padding:16px 12px;min-height:96px;gap:13px;transition:background .16s,transform .2s,box-shadow .2s}.crm-chat-row.active{background:#e9f3ed;box-shadow:inset 0 0 0 1px #dbeae0}.crm-chat-row.active:before{display:none}.crm-chat-row:hover{transform:translateX(2px);background:#f0f5f1}.crm-chat-row.active:hover{background:#e5f1e9}.crm-row-title strong{font-size:13px}.crm-row-preview{font-size:12px;margin-top:6px}.crm-row-tags{margin-top:8px}.crm-unread{right:12px;bottom:15px}
.ex-avatar{position:relative;display:inline-flex;width:45px;height:45px;flex:none}.ex-avatar>img,.ex-avatar-fallback{width:100%;height:100%;border-radius:50%;object-fit:cover;box-shadow:0 0 0 2px #fff}.ex-avatar-fallback{display:grid;place-items:center;background:#d7e5db;color:#3d6751;font-weight:700}.ex-channel{position:absolute;bottom:-2px;right:-3px;display:grid;place-items:center;width:19px;height:19px;background:#1daf72;border:2px solid #fff;border-radius:50%;color:#fff}.ex-channel.instagram{background:linear-gradient(140deg,#8053bd,#ce5987,#eb945e)}.ex-channel svg{width:12px;height:12px}.ex-ai-off{display:inline-flex;position:relative;flex:none;color:#98a19b;margin-right:2px}.ex-ai-off .icon{width:14px;height:14px}.ex-ai-off i{position:absolute;width:18px;height:1.5px;top:6px;left:-2px;background:#8e9c92;transform:rotate(-45deg);border-top:1px solid #fff}
.crm-thread-head{height:78px;min-height:78px;padding:0 20px;background:#fff;border-bottom:0;gap:13px}.ex-profile.wa-info-button{border:0;background:transparent;display:flex;width:auto;height:auto;padding:7px 10px 7px 4px;border-radius:14px;text-align:left;gap:12px;transition:background .18s,transform .18s}.ex-profile.wa-info-button:hover{background:#eff5f1;transform:translateY(-1px)}.ex-profile>span:last-child{display:block;min-width:0}.ex-profile strong{display:block;font-size:15px;color:#263d31;font-weight:750}.ex-profile small{display:flex;align-items:center;gap:5px;font-size:10px;font-weight:500;color:#839488;margin-top:4px}.ex-profile small .icon{width:11px;height:11px;transition:transform .22s}.ex-profile[aria-expanded=true] small .icon{transform:rotate(-90deg)}.ex-ai-switch{display:flex;align-items:center;gap:7px;border:0;background:#f3f7f4;padding:8px 10px;border-radius:11px;color:#347959;font:700 11px 'DM Sans',sans-serif;white-space:nowrap}.ex-ai-switch>.icon{width:15px;height:15px}.ex-ai-switch>i{display:block;position:relative;width:29px;height:17px;border-radius:99px;background:#239266;transition:background .2s}.ex-ai-switch b{display:block;position:absolute;top:3px;left:15px;width:11px;height:11px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0002;transition:left .22s cubic-bezier(.22,1,.36,1)}.ex-ai-switch[aria-checked=false]{color:#87958c;background:#f3f4f3}.ex-ai-switch[aria-checked=false]>i{background:#b7c2ba}.ex-ai-switch[aria-checked=false] b{left:3px}.ex-more{border:0;background:#f4f6f4;border-radius:11px;width:35px;height:35px}
.crm-thread-subbar{background:#fff;border:0;height:31px;min-height:31px;padding:0 24px;gap:12px}.ex-status{display:flex;align-items:center;gap:6px;background:#f5f5ed;border-radius:6px;padding:4px 7px;font-size:10px}.ex-assigned{display:flex;align-items:center;gap:4px;font-size:10px}.ex-assigned .icon{width:12px;height:12px}.crm-thread-tabs{height:39px;min-height:39px;background:#fff;padding:0 26px;gap:20px}.crm-thread-tabs button{font-size:11px}.crm-thread-tabs button span{background:#f0f4f0;border-radius:5px;padding:1px 4px}
.crm-thread .wa-messages{background-color:#f0f4ef;background-image:linear-gradient(#f0f4ef55,#f0f4ef55),url('./chat-wallpaper.svg');background-size:auto,430px;padding-top:25px;padding-bottom:28px}.wa-date{border-radius:9px;letter-spacing:.3px;background:#fff9;color:#819185;box-shadow:none;font-size:10px}.wa-bubble{border-radius:16px!important;padding:13px 15px 9px;font-size:14px;box-shadow:0 2px 6px #283d2810;line-height:1.55}.wa-message-row.inbound .wa-bubble{border-top-left-radius:4px!important}.wa-message-row.outbound .wa-bubble{background:#d4eddb;border-top-right-radius:4px!important}.wa-bubble:before,.wa-bubble:after{display:none}.wa-message-row{gap:9px;align-items:center;margin-bottom:17px}.wa-message-row.outbound{flex-direction:row-reverse;justify-content:flex-start}.wa-message-meta{font-size:10px;margin-top:8px}.ex-reply-button{display:grid;place-items:center;flex:none;width:28px;height:28px;border:0;border-radius:50%;background:#fff9;color:#789181;opacity:0;transform:translateX(-4px);transition:opacity .18s,transform .18s}.ex-reply-button .icon{width:15px;height:15px}.wa-message-row:hover .ex-reply-button,.ex-reply-button:focus-visible{opacity:1;transform:none}.wa-thread-signal{background:transparent;box-shadow:none;font-size:10px;color:#829586}
.crm-thread .wa-composer{position:relative;background:#f0f4ef;padding:6px 17px 11px;border-top:0}.ex-composer-main{display:flex;align-items:center;gap:7px;border:1px solid #e1e9e2;border-radius:19px;background:#fff;padding:9px 10px;box-shadow:0 5px 18px #2d493b0a;transition:box-shadow .2s,border .2s}.ex-composer-main:focus-within{border-color:#95c7a8;box-shadow:0 0 0 3px #9bc6ab25}.ex-composer-main textarea{font-size:13px;min-height:37px;height:37px;padding:9px 1px;resize:none}.ex-tool{width:31px;height:34px;flex:none;border:0;border-radius:10px;display:grid;place-items:center;background:transparent;color:#7c9184;transition:background .15s,color .15s,transform .15s}.ex-tool:hover{background:#edf5ef;color:#277653;transform:translateY(-2px)}.ex-tool .icon{width:20px;height:20px}.ex-composer-main .wa-send{border-radius:13px;width:38px;height:38px;box-shadow:0 3px 8px #1c764f24;transition:transform .18s,background .18s}.wa-send:hover{transform:translateY(-2px)}.wa-send:active{transform:scale(.94)}.ex-composer-foot{display:flex;align-items:center;justify-content:space-between;margin:9px 8px 0;color:#819286;font-size:10px}.ex-composer-foot>span{display:flex;align-items:center;gap:4px}.ex-composer-foot svg{width:11px;height:11px;color:#719680}.ex-composer-foot small{font-size:9px;color:#96a399}.ex-emoji-anchor{position:relative}.ex-emoji-picker{position:absolute;bottom:48px;left:0;display:grid;grid-template-columns:repeat(4,38px);gap:5px;background:#fff;padding:12px;border:1px solid #e2eae3;border-radius:17px;box-shadow:0 12px 34px #263b3025;z-index:30;animation:ex-pop .2s ease}.ex-emoji-picker[hidden],.ex-recording[hidden]{display:none}.ex-emoji-picker button{font-size:23px;border:0;background:#fff;border-radius:9px;padding:5px;cursor:pointer}.ex-emoji-picker button:hover{background:#edf5ee;transform:scale(1.1)}
.ex-reply-draft{display:flex;align-items:center;justify-content:space-between;background:#fff;border-left:3px solid #4caa7a;border-radius:9px;padding:9px 12px;margin-bottom:8px;animation:ex-pop .18s ease}.ex-reply-draft strong,.ex-reply-draft small{display:block;font-size:10px}.ex-reply-draft strong{color:#38875e;margin-bottom:4px}.ex-reply-draft small{color:#7e8f83;max-width:350px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ex-reply-draft button{border:0;background:transparent;color:#7c8b80}.ex-reply-draft .icon{width:14px;height:14px}.ex-quoted{border-left:3px solid #4caa7a;background:#234b2f09;border-radius:6px;margin:0 0 9px;padding:8px;font-size:11px}.ex-quoted strong,.ex-quoted span{display:block}.ex-quoted strong{color:#32794f;font-size:10px;margin-bottom:3px}.ex-quoted span{max-height:55px;overflow:hidden}.ex-attachments{display:flex;gap:8px;overflow:auto}.ex-attachments:empty{display:none}.ex-attachment{position:relative;background:#fff;border:1px solid #e2eae2;border-radius:12px;padding:9px;margin-bottom:8px;flex:none;max-width:300px}.ex-attachment>button{position:absolute;right:3px;top:3px;border:0;border-radius:50%;background:#fff;display:grid;place-items:center;width:22px;height:22px;color:#65816d}.ex-attachment>button .icon{width:12px;height:12px}.ex-media-image{display:block;max-width:100%;max-height:220px;border-radius:10px}.ex-attachment .ex-media-image{height:70px;max-width:160px;object-fit:cover}.wa-bubble audio,.ex-attachment audio{display:block;max-width:100%;width:250px;height:38px}.ex-file-link{display:flex;align-items:center;gap:9px;color:#37694b;text-decoration:none;font-size:12px;overflow-wrap:anywhere;padding:5px 18px 5px 2px}.ex-file-link small{display:block;font-size:10px;color:#8a998e}.ex-file-link>.icon{width:24px;height:24px;flex:none}.ex-recording{position:absolute;left:17px;right:17px;bottom:38px;height:56px;background:#fff7f4;border:1px solid #eddbd4;border-radius:17px;display:flex;align-items:center;gap:10px;padding:10px 15px;z-index:5}.ex-record-dot{width:8px;height:8px;border-radius:50%;background:#cd7464;animation:ex-record 1.2s infinite}.ex-recording strong{font-size:12px;flex:1}.ex-recording time{margin-left:7px;font-variant-numeric:tabular-nums}.ex-recording button{display:flex;align-items:center;gap:4px;background:#fff;border:1px solid #e7d9d2;border-radius:9px;padding:7px;color:#926456;font-size:11px}.ex-recording .icon{width:13px;height:13px}
.crm-drawer .wa-context-header{background:#fff;height:78px;min-height:78px}.crm-drawer .wa-context-header strong{font-size:12px}.crm-drawer-tabs{background:#fff}.crm-detail-identity{padding:24px 20px;gap:14px}.crm-detail-section{padding:19px 20px}.crm-detail-section select,.crm-detail-section textarea{border-radius:10px;background:#fafcf9}.wa-context.context-pane{transition:opacity .25s,visibility .25s,transform .32s cubic-bezier(.22,1,.36,1)}.crm-action-menu,.crm-filter-popover{border-radius:15px;box-shadow:0 12px 40px #1f3e2920;animation:ex-pop .2s cubic-bezier(.22,1,.36,1)}.crm-action-menu button{border-radius:8px;padding:11px}.crm-modal{border-radius:20px;animation:ex-pop .24s cubic-bezier(.22,1,.36,1)}.crm-modal-backdrop{backdrop-filter:blur(4px);background:#173f3259;animation:ex-fade .18s ease}
@keyframes ex-pop{from{opacity:0;transform:translateY(8px) scale(.97)}to{opacity:1;transform:none}}@keyframes ex-fade{from{opacity:0}to{opacity:1}}@keyframes ex-record{50%{opacity:.4}}
@media(hover:none){.ex-reply-button{opacity:.7;transform:none}}
@media(max-width:1220px){.crm-main-toolbar{padding:6px 12px;gap:5px}.crm-queue-tabs button{padding:0 8px}.crm-toolbar-actions{gap:1px}}
@media(max-width:650px){.crm-page .wa-inbox-layout{margin:0;border-radius:0;border-left:0;border-right:0;border-bottom:0}.crm-main-toolbar{padding:0 10px}.crm-thread-head{padding:0 10px;gap:7px;min-height:72px;height:72px}.ex-profile.wa-info-button{padding:4px;gap:10px;min-width:0}.ex-profile strong{font-size:13px;max-width:135px;overflow:hidden;text-overflow:ellipsis}.ex-profile small{font-size:9px}.ex-profile .ex-avatar{width:38px;height:38px}.ex-profile>span:last-child{display:block}.ex-ai-switch{gap:5px;padding:7px}.ex-ai-switch>.icon{display:none}.ex-ai-switch>span{display:block}.crm-thread-subbar{padding:0 16px}.ex-composer-main{gap:2px;padding:7px}.ex-composer-main textarea{font-size:16px}.ex-tool{width:28px}.crm-thread .wa-composer{padding:6px 8px 9px}.crm-thread .wa-messages{padding-left:13px;padding-right:13px}.wa-bubble{font-size:13px;max-width:82%}.ex-reply-button{width:22px}.wa-message-row{gap:4px}.crm-thread-tabs{padding:0 18px}}
@media(prefers-reduced-motion:reduce){.crm-page *,.crm-modal,.crm-modal-backdrop{animation:none!important;transition:none!important}}
