.conversation-name-line{display:flex;align-items:center;justify-content:space-between;gap:8px}
.conversation-name-line time{color:#969ba6;font-size:8px;font-weight:500}
.inbox-page-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 12px}
.inbox-page-head h2{margin:0;color:#181b25;font-size:20px;letter-spacing:-.02em}
.inbox-page-head p{margin:3px 0 0;color:#777d8b;font-size:12px}
.manychat-inbox{display:grid!important;grid-template-columns:185px 304px minmax(380px,1fr) 272px!important;height:calc(100vh - 108px)!important;min-height:590px!important;border:1px solid #e1e4ea!important;border-radius:12px!important;background:#fff!important;box-shadow:0 10px 35px #19213d0c!important}
.inbox-navigation{min-width:0;border-right:1px solid #e5e7ec;background:#f7f8fa}
.inbox-navigation-head{display:flex;align-items:center;justify-content:space-between;padding:16px 14px 12px}
.inbox-navigation-head strong{font-size:13px}
.inbox-navigation-head span{color:#858b97;font-size:10px}
.inbox-folders{display:grid;gap:2px;padding:0 8px}
.inbox-folders button{display:grid;grid-template-columns:19px 1fr auto;align-items:center;gap:7px;width:100%;padding:9px 8px;border:0;border-radius:7px;background:transparent;color:#4f5562;font:inherit;font-size:11px;text-align:left;cursor:pointer}
.inbox-folders button:hover{background:#eceef3}
.inbox-folders button.active{background:#e9e5ff;color:#5b2bca;font-weight:800}
.inbox-folders i{font-style:normal;text-align:center}
.inbox-folders b{min-width:20px;color:#9398a3;font-size:9px;text-align:right}
.inbox-label-head{display:flex;align-items:center;justify-content:space-between;margin:15px 13px 6px;color:#9297a2;font-size:9px;font-weight:900;letter-spacing:.09em}
.inbox-label-head button{padding:0;border:0;background:transparent;color:#6532db;font-size:9px;cursor:pointer}
.inbox-labels{display:grid;gap:2px;padding:0 8px}
.inbox-labels button{display:flex;align-items:center;gap:8px;width:100%;padding:8px;border:0;border-radius:7px;background:transparent;color:#5f6571;font:inherit;font-size:10px;text-align:left;cursor:pointer}
.inbox-labels button:before{content:'';width:8px;height:8px;border-radius:3px;background:#8b5cf6}
.inbox-labels button.active,.inbox-labels button:hover{background:#eceef3;color:#4e24bd}
.inbox-labels small{padding:8px;color:#9a9faa;font-size:9px}
.manychat-inbox .conversation-list{min-width:0;border-right:1px solid #e5e7ec;background:#fff}
.conversation-list-head{display:flex;align-items:center;justify-content:space-between;padding:14px 13px 9px}
.conversation-list-head strong{font-size:13px}
.inbox-live-status{display:inline-flex;align-items:center;gap:5px;color:#26704f;font-size:10px;font-weight:700;letter-spacing:.02em}
.inbox-live-status i{width:7px;height:7px;border-radius:50%;background:#35a66f;box-shadow:0 0 0 3px rgba(53,166,111,.12)}
.manychat-inbox .inbox-tools{display:grid;gap:7px;padding:0 10px 10px;border-bottom:1px solid #e7e9ee}
.inbox-search{display:grid;grid-template-columns:22px 1fr;align-items:center;border:1px solid #dfe2e8;border-radius:8px;background:#fff}
.inbox-search span{color:#8b919c;text-align:center}
.manychat-inbox .inbox-tools .inbox-search input{width:100%;padding:8px 7px;border:0;outline:0;font-size:11px}
.inbox-select-row{display:grid;grid-template-columns:1fr 1fr;gap:6px}
.manychat-inbox .inbox-tools select{width:100%;padding:7px;border:1px solid #e0e3e8;border-radius:7px;background:#fff;color:#606672;font:inherit;font-size:9px}
.manychat-inbox .conversation-items{height:calc(100% - 130px);overflow:auto}
.manychat-inbox .conversation-item{grid-template-columns:36px minmax(0,1fr);padding:11px 12px;border-color:#eef0f3}
.manychat-inbox .conversation-item:hover{background:#f6f5fb}
.manychat-inbox .conversation-item.active{background:#eeebff;box-shadow:inset 3px 0 #6d37df}
.manychat-inbox .conversation-item small{font-size:10px}
.manychat-inbox .conversation-badges{margin-top:5px}
.manychat-inbox .conversation-badges b{font-size:8px}
.manychat-inbox .chat-panel{min-width:0;background:#fff}
.manychat-inbox .chat-head{min-height:62px;padding:10px 14px}
.manychat-inbox .chat-head>div:first-child strong{font-size:13px}
.manychat-inbox .chat-actions{gap:5px;flex-wrap:nowrap;justify-content:flex-end;white-space:nowrap}
.manychat-inbox .chat-actions button,.manychat-inbox .chat-actions select{padding:7px 8px;font-size:9px}
.manychat-inbox .messages{padding:18px;background:#f7f8fb}
.manychat-inbox .message{font-size:12px}
.manychat-inbox .composer-pro{padding:10px 12px;background:#fff}
.conversation-details{min-width:0;overflow:auto;border-left:1px solid #e5e7ec;background:#fbfbfd}
.details-empty{display:grid;justify-items:center;gap:7px;padding:80px 18px;color:#858b98;text-align:center}
.details-empty span{display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:#ece8ff;color:#6530d8;font-size:21px}
.details-empty p{margin:0;font-size:10px;line-height:1.5}
.contact-profile{padding:18px 16px;border-bottom:1px solid #e6e8ed;text-align:center}
.contact-profile-avatar{display:grid;place-items:center;width:58px;height:58px;margin:0 auto 9px;border-radius:50%;background:linear-gradient(135deg,#3858ff,#8b2bea);color:#fff;font-size:17px;font-weight:900}
.contact-profile strong,.contact-profile small{display:block}
.contact-profile strong{font-size:13px}
.contact-profile small{margin-top:4px;color:#858b97;font-size:9px}
.contact-detail-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;margin-top:13px}
.contact-detail-actions button{display:grid;gap:3px;padding:7px 3px;border:1px solid #e1e4ea;border-radius:7px;background:#fff;color:#656b77;font-size:8px;cursor:pointer}
.contact-detail-actions button i{color:#6330d6;font-size:13px;font-style:normal}
.details-section{padding:13px 14px;border-bottom:1px solid #e6e8ed}
.details-section>strong{display:block;margin-bottom:9px;color:#777d88;font-size:9px;letter-spacing:.06em}
.detail-row{display:flex;justify-content:space-between;gap:10px;margin:7px 0;font-size:9px}
.detail-row span{color:#8b909b}
.detail-row b{overflow:hidden;color:#4b505b;text-align:right;text-overflow:ellipsis}
.detail-tags{display:flex;flex-wrap:wrap;gap:5px}
.detail-tags span{padding:4px 6px;border-radius:999px;background:#ece8ff;color:#5a2ac7;font-size:8px}
.details-reminder{color:#a15b00!important}
.channel-dot{display:inline-block;width:7px;height:7px;margin-right:5px;border-radius:50%;background:#22a36a}
@media(max-width:1250px){.manychat-inbox{grid-template-columns:160px 270px minmax(360px,1fr)!important}
.conversation-details{display:none}
}
@media(max-width:900px){.manychat-inbox{grid-template-columns:150px 255px minmax(340px,1fr)!important;overflow:auto!important}
.inbox-page-head p{display:none}
}
@media(max-width:700px){.inbox-page-head{align-items:flex-start}
.manychat-inbox{display:block!important;height:auto!important;min-height:0!important}
.inbox-navigation{display:flex;overflow:auto;border-right:0;border-bottom:1px solid #e5e7ec}
.inbox-navigation-head,.inbox-label-head,.inbox-labels{display:none}
.inbox-folders{display:flex;padding:7px}
.inbox-folders button{grid-template-columns:auto auto;white-space:nowrap}
.inbox-folders b{display:none}
.manychat-inbox .conversation-list{min-height:330px;border-right:0}
.manychat-inbox .conversation-items{height:260px}
.manychat-inbox .chat-panel{min-height:520px}
.conversation-details{display:none}
}

/* Legibility and workspace refinement — 2026-11-05 */
.inbox-page-head{display:grid;grid-template-columns:minmax(220px,auto) minmax(260px,520px) auto;align-items:center;margin-bottom:10px}
.inbox-page-title{min-width:0;display:grid;grid-template-columns:minmax(320px,1fr) repeat(3,minmax(118px,auto));align-items:center;gap:8px}.inbox-page-title>p{grid-column:1/-1}.inbox-top-filters{display:contents}.inbox-top-filters select{min-height:40px;padding:0 32px 0 12px;border:1px solid #d4d7df;border-radius:12px;background:#fff;color:#555d69;font:inherit;font-size:11px;font-weight:700;box-shadow:0 2px 9px rgba(29,32,48,.04)}
.inbox-page-head h2{font-size:22px;font-weight:850}
.inbox-page-head p{color:#606675;font-size:13px;font-weight:600;line-height:1.35}
.inbox-search-top{width:100%;min-height:40px;border-color:#d4d7df;border-radius:10px;box-shadow:0 2px 9px rgba(29,32,48,.05)}
.inbox-search-top span{font-size:18px;font-weight:800}
.inbox-search-top input{width:100%;padding:10px 10px 10px 4px;border:0;outline:0;background:transparent;color:#242731;font:inherit;font-size:13px;font-weight:600}
.inbox-search-top input::placeholder{color:#858a96;font-weight:550}
.manychat-inbox{grid-template-columns:190px 318px minmax(400px,1fr) 282px!important;height:calc(100vh - 102px)!important}
.inbox-navigation-head strong,.conversation-list-head strong,.manychat-inbox .chat-head>div:first-child strong,.contact-profile strong{font-size:14px;font-weight:800}
.inbox-navigation-head span{font-size:11px;font-weight:600}
.inbox-folders button{font-size:12px;font-weight:650}
.inbox-folders b{font-size:10px;font-weight:750}
.inbox-label-head,.details-section>strong{font-size:10px}
.inbox-labels button,.inbox-labels small{font-size:11px;font-weight:600}
.manychat-inbox .inbox-tools{padding:0 11px 11px}
.manychat-inbox .inbox-tools select{padding:8px;font-size:10.5px;font-weight:650}
.manychat-inbox .conversation-items{height:calc(100% - 48px)}
.manychat-inbox .conversation-item{grid-template-columns:40px minmax(0,1fr);padding:12px 13px}
.conversation-name-line strong{font-size:12.5px;font-weight:800}
.conversation-name-line time{font-size:9.5px;font-weight:650}
.manychat-inbox .conversation-item small{font-size:11px;font-weight:550;line-height:1.35}
.manychat-inbox .conversation-badges b{font-size:9px;font-weight:750}
.manychat-inbox .chat-head p{font-size:11px;font-weight:600}
.manychat-inbox .chat-actions button,.manychat-inbox .chat-actions select{font-size:10px;font-weight:700}
.manychat-inbox .message{font-size:13px;font-weight:520;line-height:1.45;white-space:pre-wrap;overflow-wrap:anywhere}
.contact-profile small,.details-empty p{font-size:10.5px;font-weight:600}
.contact-detail-actions button{font-size:9.5px;font-weight:700}
.detail-row{font-size:10.5px;line-height:1.35}
.detail-row b{font-weight:750}
.detail-tags span{font-size:9.5px;font-weight:700}
@media(max-width:1250px){.inbox-page-head{grid-template-columns:minmax(210px,auto) minmax(240px,1fr) auto}.manychat-inbox{grid-template-columns:170px 290px minmax(370px,1fr)!important}}
@media(max-width:1250px){.inbox-page-title{grid-template-columns:minmax(260px,1fr) repeat(3,minmax(105px,auto))}.inbox-top-filters select{padding-left:9px;font-size:10px}}
@media(max-width:900px){.inbox-page-head{grid-template-columns:1fr auto}.inbox-search-top{grid-column:1/-1;grid-row:2;margin-top:8px}.manychat-inbox{grid-template-columns:158px 270px minmax(350px,1fr)!important;height:calc(100vh - 148px)!important}}
@media(max-width:900px){.inbox-page-title{grid-template-columns:1fr repeat(3,minmax(96px,auto))}.inbox-search-top{grid-column:1/-1!important;grid-row:auto!important;margin-top:0!important}}
@media(max-width:700px){.inbox-page-title{grid-template-columns:1fr}.inbox-top-filters{display:grid;grid-template-columns:repeat(3,1fr);grid-column:1}.inbox-top-filters select{min-width:0}}
@media(max-width:700px){.inbox-page-head{display:grid;grid-template-columns:1fr}.inbox-page-head .action-group{grid-row:3;margin-top:8px}.inbox-search-top{grid-row:2}.manychat-inbox{height:auto!important}.inbox-page-head p{display:block;font-size:12px}}

/* One page title lives in the global topbar; local space is reserved for work. */
.inbox-page-head{grid-template-columns:minmax(300px,520px) auto}
.inbox-page-title{display:grid;gap:5px}
.inbox-page-title p{margin:0 2px}
@media(max-width:900px){.inbox-page-head{grid-template-columns:1fr auto}.inbox-search-top{grid-column:auto;grid-row:auto;margin-top:0}}
@media(max-width:700px){.inbox-page-head{grid-template-columns:1fr}.inbox-page-head .action-group{grid-row:2}.inbox-search-top{grid-row:auto}}

/* Keep the reply composer permanently inside the visible Inbox viewport. */
.manychat-inbox .chat-panel{height:100%;min-height:0;overflow:hidden}
.manychat-inbox>.inbox-navigation,.manychat-inbox>.conversation-list,.manychat-inbox>.chat-panel,.manychat-inbox>.conversation-details{height:100%;min-height:0}
.manychat-inbox>.inbox-navigation,.manychat-inbox>.conversation-list{overflow:hidden}
.manychat-inbox>.conversation-list{display:flex;flex-direction:column}
.manychat-inbox .conversation-items{flex:1;height:auto!important;min-height:0;overscroll-behavior:contain}
.manychat-inbox .chat-head,.manychat-inbox .conversation-ai-analysis,.manychat-inbox .ai-reply-suggestion,.manychat-inbox .messaging-window-status,.manychat-inbox .composer-pro{flex:0 0 auto}
.manychat-inbox .chat-head>div>p{display:none}
.manychat-inbox .messages{min-height:0;overflow:auto}
.manychat-inbox .messages{overscroll-behavior:contain}
.manychat-inbox .composer-pro{position:relative;z-index:3;grid-template-columns:auto minmax(120px,1fr) auto;border-top:1px solid #dfe2e8;box-shadow:0 -6px 18px rgba(26,29,43,.06)}
.manychat-inbox .composer-pro textarea{width:100%;min-width:0}
.messaging-window-status{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 12px;border-top:1px solid #e4e6eb;background:#f4fbf6;color:#275d43}
.messaging-window-status.closed{background:#fff7e6;color:#76520b}
.messaging-window-status div{min-width:0}
.messaging-window-status strong,.messaging-window-status span{display:block}
.messaging-window-status strong{font-size:11px;font-weight:850}
.messaging-window-status span{margin-top:2px;font-size:9.5px;font-weight:600;line-height:1.3}
.messaging-window-status button{flex:0 0 auto}
.composer-shortcuts{display:flex;align-items:center;gap:5px;grid-column:1/-1}
.composer-shortcuts button{padding:5px 8px;border:0;border-radius:7px;background:#f0f1f5;color:#555c69;font-size:10px;font-weight:750;cursor:pointer}
.composer-shortcuts button:hover{background:#e7e3fa;color:#592bc4}
.composer-shortcuts button.recording{background:#ffe5e5;color:#b42318;box-shadow:0 0 0 2px rgba(180,35,24,.12)}
.composer-shortcuts .audio-record-button{margin-left:3px;border:1px solid #7651db;background:#eee9ff;color:#5425bd;box-shadow:0 2px 7px rgba(84,37,189,.14)}
.composer-shortcuts .audio-record-button:hover{background:#dfd5ff;color:#42159e}
.composer-shortcuts .audio-record-button,.quick-reply-ai-actions #reply-record-audio{align-items:center;justify-content:center}.quick-reply-ai-actions #reply-record-audio{display:inline-flex;gap:6px}.flow-start-confirmation,.flow-start-warning{margin:0 0 14px;padding:12px 14px;border-radius:10px;font-size:12px;line-height:1.5}.flow-start-confirmation{border:1px solid #b8dec8;background:#effaf3;color:#245a3b}.flow-start-warning{border:1px solid #efcf9e;background:#fff8e9;color:#7a4b12}.chat-actions .start-flow-button{border-color:#cfc2ef;color:#5830b4}
.composer-mode .enter-send-toggle{padding:4px 7px;border:1px solid #ddd6ed;border-radius:7px;background:#faf8ff;color:#777080;font-size:9px;line-height:1;cursor:pointer;white-space:nowrap}.composer-mode .enter-send-toggle:hover{background:#f1ecfb;color:#5f36b5}.composer-mode .enter-send-toggle.active{border-color:#c8b7ec;background:#f1edff;color:#5425bd;font-weight:800}
.voice-draft{display:grid;grid-template-columns:32px minmax(120px,1fr) auto auto auto;align-items:center;gap:8px;grid-column:1/-1;padding:8px 10px;border:1px solid #d8cff5;border-radius:10px;background:#f8f6ff}
.voice-draft[hidden]{display:none}
.voice-draft canvas{width:100%;height:44px}
.voice-draft button{border:0;border-radius:7px;padding:6px 8px;cursor:pointer;font-size:10px;font-weight:800}
.voice-play{width:30px;height:30px;background:#6940d0;color:#fff}
.voice-action{background:#e9e2ff;color:#5126b4}
.voice-discard{background:#fff0f0;color:#a22b25}
.voice-draft span{font-size:10px;font-weight:750;color:#676d78;white-space:nowrap}
.message-audio-wave{display:flex;align-items:center;gap:3px;width:190px;height:38px;padding:0 4px}
.message-audio-wave i{display:block;width:4px;border-radius:4px;background:currentColor;opacity:.8}
.message-audio-wave i:nth-child(3n+1){height:10px}.message-audio-wave i:nth-child(3n+2){height:25px}.message-audio-wave i:nth-child(3n){height:17px}
.message-audio-player{width:min(300px,70vw)}
.audio-player-line{display:grid;grid-template-columns:32px minmax(130px,1fr) 34px;align-items:center;gap:8px}
.audio-message-play{display:grid;place-items:center;width:30px;height:30px;padding:0;border:0;border-radius:50%;background:#5f6b73;color:#fff;cursor:pointer}.audio-message-play:disabled{opacity:.4;cursor:not-allowed}
.audio-message-wave{display:flex;align-items:center;gap:2px;height:34px;overflow:hidden;position:relative}
.audio-message-wave i{display:block;flex:1;min-width:2px;border-radius:3px;background:linear-gradient(to top,currentColor 0 var(--audio-progress,0%),#8b959d var(--audio-progress,0%) 100%);opacity:.85}
.audio-message-wave i{height:4px;transition:height .18s ease}
.audio-message-time{font-size:9px;opacity:.72}.audio-transcript{display:-webkit-box;margin:5px 0 0;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:3;font-size:11px;line-height:1.3}.message-audio-player.expanded .audio-transcript{-webkit-line-clamp:unset}.audio-more{margin-top:2px;padding:0;border:0;background:transparent;color:#2794d8;font-size:10px;cursor:pointer}
.manychat-inbox .message-copy{white-space:pre-wrap;overflow-wrap:anywhere}.manychat-inbox .message-copy a{color:#1769c2;font-weight:700;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:2px}.manychat-inbox .message.outbound .message-copy a{color:#174f94}.manychat-inbox .message-copy a:hover{color:#0e4f96}
.manychat-inbox .conversation-items .person-initial.reply-status-replied{background:#4f9f72;color:#fff;box-shadow:0 0 0 3px rgba(79,159,114,.11)}.manychat-inbox .conversation-items .person-initial.reply-status-pending{background:#cf626b;color:#fff;box-shadow:0 0 0 3px rgba(207,98,107,.11)}
.manychat-inbox .message.image-message{padding:0;border:0;background:transparent;box-shadow:none}.manychat-inbox .message.image-message small{margin:4px 3px 0;text-align:right}.message-photo{margin:0;max-width:310px}.message-photo img{display:block;width:100%;max-height:360px;object-fit:cover;border:0;border-radius:10px;box-shadow:0 1px 3px rgba(20,24,32,.12)}.message-photo figcaption{margin-top:6px;font-size:11px;line-height:1.35}
.manychat-inbox .message.video-message{padding:0;border:0;background:transparent;box-shadow:none}.manychat-inbox .message.video-message small{margin:4px 3px 0;text-align:right}.message-video{margin:0;max-width:340px}.message-video video{display:block;width:100%;max-height:420px;background:#111;border:0;border-radius:10px;box-shadow:0 1px 3px rgba(20,24,32,.14)}.message-video figcaption{margin-top:6px;font-size:11px;line-height:1.35}
.message-date-separator{position:sticky;top:7px;z-index:5;align-self:center;margin:5px auto;padding:5px 11px;border:1px solid #e0e3e8;border-radius:999px;background:rgba(255,255,255,.94);box-shadow:0 2px 7px rgba(23,28,38,.08);color:#626975;font-size:10px;font-weight:800;line-height:1;backdrop-filter:blur(6px)}
.manychat-inbox .message>small{text-align:right;font-size:9px}
.colored-tag{border:1.5px solid var(--tag-color)!important;background:color-mix(in srgb,var(--tag-color) 7%,#fff)!important;color:color-mix(in srgb,var(--tag-color) 68%,#111)!important}
.chat-actions{position:relative}
.manychat-inbox .chat-head{display:grid;grid-template-columns:minmax(0,1fr);align-items:start;gap:8px}.manychat-inbox .chat-head>div:first-child{min-width:0}.manychat-inbox .chat-head>div:first-child>strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.manychat-inbox .chat-actions{min-width:0;width:100%;gap:5px;flex-wrap:wrap;justify-content:flex-start;overflow:visible}.manychat-inbox .chat-actions>button,.manychat-inbox .chat-actions>select{flex:0 0 auto;padding:7px 9px;font-size:10px}
.tag-dropdown{position:absolute;z-index:30;top:42px;right:150px;width:290px;padding:12px;border:1px solid #ddd7ef;border-radius:11px;background:#fff;box-shadow:0 14px 34px rgba(37,28,64,.2);text-align:left}
.tag-dropdown>strong{display:block;margin-bottom:8px;font-size:12px;color:#363b45}
.tag-dropdown-list{display:grid;gap:5px;max-height:220px;overflow:auto}
.tag-dropdown-list label{display:grid;grid-template-columns:18px 24px 1fr;align-items:center;gap:7px;padding:4px;border-radius:7px;cursor:pointer}
.tag-dropdown-list label:hover{background:#f6f4fb}.tag-dropdown-list input[type=color]{width:22px;height:22px;padding:0;border:0;background:transparent}
.tag-dropdown-list span{padding:4px 7px;border:1.5px solid var(--tag-color);border-radius:999px;background:color-mix(in srgb,var(--tag-color) 7%,#fff);color:color-mix(in srgb,var(--tag-color) 68%,#111);font-size:10px;font-weight:800}
.tag-create-field{display:block;margin-top:10px;padding-top:9px;border-top:1px solid #ece9f2;font-size:10px;font-weight:800;color:#626875}
.tag-create-field div{display:grid;grid-template-columns:1fr 34px;gap:7px;margin-top:5px}.tag-create-field input[type=text],.tag-create-field input:not([type]){min-width:0;padding:7px;border:1px solid #dfe1e7;border-radius:7px}.tag-create-field input[type=color]{width:34px;height:32px;padding:2px;border:1px solid #dfe1e7;border-radius:7px;background:#fff}
.tag-dropdown-actions{display:flex;justify-content:flex-end;gap:6px;margin-top:10px}.tag-dropdown-actions button{padding:6px 9px;border:1px solid #dfe1e7;border-radius:7px;background:#fff;font-size:10px;font-weight:800;cursor:pointer}.tag-dropdown-actions .primary{border-color:#6940d0;background:#6940d0;color:#fff}

/* Composer compacto inspirado no atendimento nativo do WhatsApp. */
.manychat-inbox .composer-pro{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:6px 8px;margin:8px 10px 10px;padding:9px 11px;border:1px solid #d7dbe2;border-radius:12px;box-shadow:0 3px 12px rgba(27,31,42,.08);background:#fff}
.composer-pro .composer-mode{display:flex;align-items:center;gap:8px;grid-column:1/-1;grid-row:1;padding:0 0 5px;border:0}
.composer-mode button{border:0;background:transparent;color:#626975;font-size:10px;font-weight:750;cursor:pointer}.composer-mode button.active{color:#303640}.composer-mode .channel-compose-button{color:#2d6b50}.composer-mode .channel-compose-button::first-letter{color:#21b66f}.composer-mode .composer-summary{margin-left:auto;color:#7444d3}.composer-mode .composer-improve-text{padding:4px 7px;border-radius:7px;background:#f0ebfb;color:#6337bd}.composer-mode .composer-improve-text:hover{background:#e6ddf8}.composer-mode .composer-improve-text:disabled{opacity:.55;cursor:wait}
.manychat-inbox .composer-pro textarea{grid-column:1/-1;grid-row:2;min-height:48px;max-height:120px;padding:6px 2px;border:0!important;outline:0;resize:vertical;background:transparent;box-shadow:none!important}
.composer-pro .composer-shortcuts{position:relative;display:flex;align-items:center;gap:4px;grid-column:1;grid-row:3;padding:0}
.composer-shortcuts>button{display:grid;place-items:center;width:34px;height:32px;padding:0;border:0;border-right:1px solid #e1e3e8;border-radius:0;background:transparent;color:#67707b;font-size:19px}.composer-shortcuts>button:last-of-type{border-right:0}.composer-shortcuts>span{height:21px;border-left:1px solid #d9dce2}
.composer-shortcuts .composer-ai-write{color:#7b47d4;font-size:21px}.composer-shortcuts .audio-record-button{margin:0;border:0;background:transparent;color:#58636e;font-size:20px;box-shadow:none}.composer-shortcuts .audio-record-button.recording{border-radius:7px;background:#16b976;color:#fff;box-shadow:none}
.composer-pro>.primary{grid-column:3;grid-row:3;align-self:center;width:44px;height:34px;padding:0;border-radius:10px;font-size:0}.composer-pro>.primary::after{content:'➤';font-size:16px}
.composer-pro .quick-reply-menu{display:none}
.ready-reply-dock{position:relative;grid-column:2;grid-row:3;align-self:center}.ready-reply-toggle{position:relative;display:grid;place-items:center;width:38px;height:34px;padding:0;border:1px solid #d8d2e9;border-radius:10px;background:#f5f2fc;color:#6640bd;cursor:pointer}.ready-reply-toggle:hover,.ready-reply-toggle[aria-expanded=true]{border-color:#8b70d6;background:#ebe5fb;color:#4e269e}.ready-reply-toggle svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.ready-reply-toggle>span{position:absolute;top:-7px;right:-6px;display:grid;place-items:center;min-width:16px;height:16px;padding:0 4px;border:2px solid #fff;border-radius:9px;background:#6f43d1;color:#fff;font-size:8px;font-weight:900}.ready-reply-toggle>span:empty{display:none}.ready-reply-panel{position:absolute;right:0;bottom:43px;z-index:35;width:min(380px,calc(100vw - 48px));overflow:hidden;border:1px solid #dcd8e8;border-radius:14px;background:#fff;box-shadow:0 18px 46px rgba(31,25,54,.23)}.ready-reply-panel[hidden]{display:none}.ready-reply-panel header{display:flex;align-items:center;justify-content:space-between;padding:12px 13px 9px;border-bottom:1px solid #eeebf4}.ready-reply-panel header div{display:grid;gap:2px}.ready-reply-panel header strong{color:#30343d;font-size:12px}.ready-reply-panel header small{color:#858a95;font-size:9px}.ready-reply-close{display:grid;place-items:center;width:27px;height:27px;padding:0;border:0;border-radius:50%;background:#f2f2f5;color:#656b76;font-size:18px;cursor:pointer}.ready-reply-search{display:flex;align-items:center;gap:7px;margin:10px 11px 7px;padding:0 10px;border:1px solid #dedfe5;border-radius:9px;background:#fafbfc}.ready-reply-search:focus-within{border-color:#8b70d6;box-shadow:0 0 0 2px rgba(111,67,209,.1)}.ready-reply-search svg{flex:0 0 16px;width:16px;height:16px;fill:none;stroke:#858b95;stroke-width:1.8;stroke-linecap:round}.ready-reply-search input{min-width:0;width:100%;padding:9px 0;border:0!important;outline:0;background:transparent!important;box-shadow:none!important;font-size:11px}.ready-reply-list{display:grid;max-height:260px;overflow:auto;padding:3px 7px 7px}.ready-reply-option{display:grid;grid-template-columns:28px minmax(0,1fr);align-items:start;gap:8px;width:100%;padding:9px;border:0;border-radius:9px;background:transparent;color:#30343d;text-align:left;cursor:pointer}.ready-reply-option:hover,.ready-reply-option:focus-visible{outline:0;background:#f3effc}.ready-reply-symbol{display:grid;place-items:center;width:27px;height:27px;border-radius:8px;background:#eee8fb;color:#673cc0;font-size:13px;font-weight:900}.ready-reply-option>span:last-child{display:grid;min-width:0;gap:3px}.ready-reply-option strong{overflow:hidden;text-overflow:ellipsis;color:#353943;font-size:11px;white-space:nowrap}.ready-reply-option small{display:-webkit-box;overflow:hidden;color:#737985;font-size:9.5px;line-height:1.35;-webkit-box-orient:vertical;-webkit-line-clamp:2}.ready-reply-empty{display:grid;justify-items:center;gap:4px;padding:24px 16px;color:#7a7f89;text-align:center}.ready-reply-empty strong{font-size:11px}.ready-reply-empty small{font-size:9.5px;line-height:1.4}.ready-reply-manage{width:100%;padding:9px;border:0;border-top:1px solid #eeebf4;background:#faf9fd;color:#6540ba;font-size:10px;font-weight:850;cursor:pointer}.ready-reply-manage:hover{background:#f2edfc}
.ready-reply-panel header kbd{margin-left:auto;padding:2px 6px;border:1px solid #d9d4e6;border-bottom-width:2px;border-radius:6px;background:#faf9fd;color:#6b55a0;font:800 9px/1.4 Inter,system-ui,sans-serif}.ready-reply-panel header kbd+.ready-reply-close{margin-left:7px}
#generic-dialog.quick-reply-dialog{position:fixed;inset:0;margin:auto;width:min(980px,95vw);max-height:min(780px,92vh);border-radius:20px}#generic-dialog.quick-reply-dialog .dialog-card{max-height:92vh;overflow:auto;padding:22px}#generic-dialog.quick-reply-dialog .dialog-head{align-items:flex-start;border-bottom:1px solid #ece9f3}#generic-dialog.quick-reply-dialog .dialog-head h2{margin:4px 0 17px;font:800 24px/1.2 Inter,system-ui,sans-serif;color:#252735}#generic-dialog.quick-reply-dialog .dialog-head span{color:#7752c6;font-size:9px;font-weight:900;letter-spacing:.14em}#generic-dialog.quick-reply-dialog #generic-content{display:block}#generic-dialog.quick-reply-dialog .dialog-actions{margin-top:16px;padding-top:15px;border-top:1px solid #ece9f3}#generic-dialog.quick-reply-dialog .dialog-actions .primary{min-width:150px}
.quick-reply-studio{display:grid;grid-template-columns:minmax(300px,.88fr) minmax(360px,1.12fr);min-height:470px;margin-top:18px;overflow:hidden;border:1px solid #e2ddeb;border-radius:16px;background:#fff}.quick-reply-editor{position:relative;padding:20px;border-right:1px solid #e7e2ef;background:linear-gradient(145deg,#fbfaff,#f7f5fc)}.quick-reply-section-head span,.quick-reply-library-head span{color:#7550c2;font-size:8.5px;font-weight:900;letter-spacing:.14em}.quick-reply-section-head h3,.quick-reply-library-head h3{margin:4px 0 5px;color:#2d3039;font-size:17px;line-height:1.25}.quick-reply-section-head p{margin:0 0 18px;color:#777d89;font-size:10.5px;line-height:1.45}.quick-reply-field{display:block;margin-top:13px;color:#454955;font-size:10.5px!important;font-weight:850!important}.quick-reply-field>small,.quick-reply-icon-field>small{display:block;margin-top:3px;color:#8a8f99;font-size:9px;font-weight:500;line-height:1.35}.quick-reply-dialog .quick-reply-field input,.quick-reply-dialog .quick-reply-field textarea{margin-top:7px!important;border-color:#dcd8e5!important;background:#fff;font:500 11px/1.45 Inter,system-ui,sans-serif;box-shadow:0 1px 2px rgba(35,28,58,.03)}.quick-reply-dialog .quick-reply-field input:focus,.quick-reply-dialog .quick-reply-field textarea:focus{outline:0;border-color:#7954ca!important;box-shadow:0 0 0 3px rgba(121,84,202,.1)}.quick-reply-dialog .quick-reply-field textarea{min-height:118px;resize:vertical}.quick-reply-icon-field{min-width:0;margin:14px 0 0;padding:0;border:0}.quick-reply-icon-field legend{padding:0;color:#454955;font-size:10.5px;font-weight:850}.quick-reply-icon-grid{display:grid;grid-template-columns:repeat(12,1fr);gap:5px;margin-top:8px}.quick-reply-icon-grid button{display:grid;place-items:center;min-width:0;height:30px;padding:0;border:1px solid #e0dce8;border-radius:8px;background:#fff;font-size:14px;cursor:pointer;transition:.15s}.quick-reply-icon-grid button:hover{border-color:#a38ad8;background:#f3effc}.quick-reply-icon-grid button.selected{border-color:#7450c8;background:#eae3fa;box-shadow:0 0 0 2px rgba(116,80,200,.12)}.quick-reply-preview{display:grid;grid-template-columns:34px minmax(0,1fr);gap:9px;align-items:start;margin-top:15px;padding:11px;border:1px solid #e2dced;border-radius:11px;background:#fff}.quick-reply-preview>span{display:grid;place-items:center;width:34px;height:34px;border-radius:9px;background:#eee8fa;font-size:17px}.quick-reply-preview>div{display:grid;min-width:0;gap:2px}.quick-reply-preview small{color:#8b6fca;font-size:7.5px;font-weight:900;letter-spacing:.12em}.quick-reply-preview strong{overflow:hidden;text-overflow:ellipsis;color:#353843;font-size:10.5px;white-space:nowrap}.quick-reply-preview p{display:-webkit-box;overflow:hidden;margin:1px 0 0;color:#747985;font-size:9px;line-height:1.35;-webkit-box-orient:vertical;-webkit-line-clamp:2}.quick-reply-cancel-edit{margin-top:10px;padding:6px 0;border:0;background:transparent;color:#7050b7;font-size:9.5px;font-weight:800;cursor:pointer}.quick-reply-library{display:flex;min-width:0;flex-direction:column;padding:20px;background:#fff}.quick-reply-library-head{display:flex;align-items:center;justify-content:space-between}.quick-reply-library-head h3{margin-bottom:0}.quick-reply-library-head>strong{display:grid;place-items:center;min-width:30px;height:30px;padding:0 8px;border-radius:15px;background:#f0ebfa;color:#6741b8;font-size:10px}.quick-reply-library-search{display:flex!important;align-items:center;gap:8px;margin-top:14px;padding:0 10px;border:1px solid #ddd9e5;border-radius:10px;background:#fafafd}.quick-reply-library-search:focus-within{border-color:#8668ce;box-shadow:0 0 0 3px rgba(121,84,202,.09)}.quick-reply-library-search svg{flex:0 0 16px;width:16px;height:16px;fill:none;stroke:#898e98;stroke-width:1.8;stroke-linecap:round}.quick-reply-dialog .quick-reply-library-search input{margin:0!important;padding:10px 0!important;border:0!important;outline:0;background:transparent;font-size:10.5px;box-shadow:none!important}.quick-reply-library-list{display:grid;align-content:start;gap:7px;max-height:370px;margin-top:11px;overflow:auto;padding-right:4px}.quick-reply-library-card{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:9px;padding:9px;border:1px solid #e4e1e9;border-radius:11px;background:#fff;transition:.15s}.quick-reply-library-card:hover{border-color:#cfc5e4;box-shadow:0 5px 14px rgba(44,36,67,.06)}.quick-reply-library-card.editing{border-color:#825ed0;background:#faf8ff;box-shadow:0 0 0 2px rgba(121,84,202,.1)}.quick-reply-library-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:10px;background:#f1ecfa;font-size:18px}.quick-reply-library-copy{display:grid;min-width:0;gap:3px;padding:0;border:0;background:transparent;text-align:left;cursor:pointer}.quick-reply-library-copy strong{overflow:hidden;text-overflow:ellipsis;color:#333640;font-size:10.5px;white-space:nowrap}.quick-reply-library-copy small{display:-webkit-box;overflow:hidden;color:#777d87;font-size:9px;line-height:1.35;-webkit-box-orient:vertical;-webkit-line-clamp:2}.quick-reply-library-actions{display:flex;gap:3px;opacity:.5;transition:.15s}.quick-reply-library-card:hover .quick-reply-library-actions,.quick-reply-library-card.editing .quick-reply-library-actions{opacity:1}.quick-reply-library-actions button{display:grid;place-items:center;width:27px;height:27px;padding:0;border:0;border-radius:7px;background:#f1eff5;color:#65547c;font-size:13px;cursor:pointer}.quick-reply-library-actions button:hover{background:#e8e2f4;color:#5634a4}.quick-reply-library-actions button.delete:hover{background:#fbe9e8;color:#b33d38}.quick-reply-library-empty{display:grid;justify-items:center;gap:4px;padding:45px 20px;color:#7a7f89;text-align:center}.quick-reply-library-empty>span{display:grid;place-items:center;width:45px;height:45px;margin-bottom:4px;border-radius:13px;background:#f2eef9;font-size:20px}.quick-reply-library-empty strong{color:#484c56;font-size:11px}.quick-reply-library-empty small{font-size:9.5px;line-height:1.4}
.quick-reply-ai-tools{margin-top:9px}.quick-reply-ai-actions{display:flex;flex-wrap:wrap;gap:6px}.quick-reply-ai-actions button,.quick-reply-voice-actions button{padding:7px 9px;border:1px solid #d9d2e8;border-radius:8px;background:#fff;color:#6442ae;font-size:9px;font-weight:800;cursor:pointer}.quick-reply-ai-actions button:hover,.quick-reply-voice-actions button:hover{border-color:#967bd0;background:#f2edfb}.quick-reply-ai-actions button:disabled,.quick-reply-voice-actions button:disabled{opacity:.5;cursor:wait}.quick-reply-ai-actions #reply-record-audio.recording{border-color:#d45454;background:#fff0f0;color:#b22e2e}.quick-reply-voice{display:grid;grid-template-columns:minmax(0,1fr);gap:7px;margin-top:8px;padding:10px;border:1px solid #ddd6eb;border-radius:10px;background:#fff}.quick-reply-voice-head{display:flex;align-items:center;gap:7px;color:#4c4f59;font-size:9px}.quick-reply-voice-head .voice-status-dot{width:7px;height:7px;border-radius:50%;background:#e34d4d;box-shadow:0 0 0 3px rgba(227,77,77,.12)}.quick-reply-voice-head small{margin-left:auto;color:#7f8490}.quick-reply-voice canvas{width:100%;height:38px;border-radius:7px;background:#f8f6fc}.quick-reply-voice audio{width:100%;height:32px}.quick-reply-voice-actions{display:flex;flex-wrap:wrap;gap:6px}.quick-reply-voice-actions .improve{border-color:#b8a6de;background:#f1ecfb}.quick-reply-voice-actions .discard{margin-left:auto;border-color:#ead6d6;color:#aa4141}
@media(max-width:780px){#generic-dialog.quick-reply-dialog{width:96vw;max-height:94vh}#generic-dialog.quick-reply-dialog .dialog-card{padding:16px}.quick-reply-studio{grid-template-columns:1fr;max-height:66vh;overflow:auto}.quick-reply-editor{border-right:0;border-bottom:1px solid #e7e2ef}.quick-reply-library-list{max-height:300px}.quick-reply-icon-grid{grid-template-columns:repeat(6,1fr)}}
.message-context-menu{position:fixed;z-index:100000;width:250px;padding:6px;border:1px solid #ddd8e7;border-radius:12px;background:#fff;box-shadow:0 18px 46px rgba(28,23,45,.24)}.message-context-menu button{display:grid;width:100%;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:9px;padding:9px;border:0;border-radius:8px;background:transparent;color:#343741;text-align:left;cursor:pointer}.message-context-menu button:hover,.message-context-menu button:focus-visible{outline:0;background:#f2eefb}.message-context-menu button>span:first-child{display:grid;place-items:center;width:34px;height:34px;border-radius:9px;background:#eae3fa;font-size:16px}.message-context-menu button>span:last-child{display:grid;gap:2px}.message-context-menu strong{font-size:10.5px}.message-context-menu small{color:#7b808b;font-size:8.5px}
.message-context-menu .message-delete-action{color:#a8323e}.message-context-menu .message-delete-action>span:first-child{background:#fff0f1;color:#c03240}.message-context-menu .message-delete-action:hover,.message-context-menu .message-delete-action:focus-visible{background:#fff3f4}.message-context-menu .delete-everyone{border-top:1px solid #eee9ef;border-radius:0 0 8px 8px}
.manychat-inbox .message-actions-trigger{position:absolute;top:50%;right:-30px;display:grid;width:24px;height:28px;padding:0;border:0;border-radius:7px;transform:translateY(-50%);place-items:center;background:transparent;color:#7b8490;font-size:18px;line-height:1;opacity:.55;cursor:pointer}.manychat-inbox .message.outbound .message-actions-trigger{right:auto;left:-30px;color:#59718f}.manychat-inbox .message:hover .message-actions-trigger,.manychat-inbox .message-actions-trigger:hover,.manychat-inbox .message-actions-trigger:focus-visible{background:#eef1f5;opacity:1;outline:0}
#generic-dialog.tag-dialog{width:min(560px,94vw);max-height:90vh;border-radius:18px}#generic-dialog.tag-dialog .dialog-card{max-height:90vh;overflow:auto}.tag-manager{display:grid;gap:16px}.tag-manager-head{display:grid;grid-template-columns:38px minmax(0,1fr);align-items:center;gap:10px;padding:11px;border:1px solid #e4dff0;border-radius:11px;background:#faf8ff}.tag-manager-head>span{display:grid;place-items:center;width:38px;height:38px;border-radius:10px;background:#eae3fa;color:#6339ba;font-size:20px}.tag-manager-head>div{display:grid;gap:3px}.tag-manager-head strong{color:#333640;font-size:11px}.tag-manager-head small{color:#7b808b;font-size:9px;line-height:1.4}.tag-manager-list{display:grid;gap:7px;max-height:260px;overflow:auto}.tag-manager-list label{display:grid!important;grid-template-columns:20px 22px minmax(0,1fr) 30px;align-items:center;gap:8px;padding:8px 9px;border:1px solid #e2e0e6;border-radius:10px;background:#fff;cursor:pointer}.tag-manager-list label:hover{border-color:#cfc5e4;background:#fcfbff}.tag-manager-list input[type=checkbox]{position:absolute;width:1px!important;height:1px;opacity:0;pointer-events:none}.tag-manager-check{display:grid;place-items:center;width:19px;height:19px;border:1px solid #cec9d6;border-radius:6px;background:#fff;color:transparent;font-size:10px}.tag-manager-list input:checked+.tag-manager-check{border-color:#7044c6;background:#7044c6;color:#fff}.tag-manager-name{justify-self:start;padding:5px 8px;border:1.5px solid var(--tag-color);border-radius:999px;background:color-mix(in srgb,var(--tag-color) 7%,#fff);color:color-mix(in srgb,var(--tag-color) 70%,#111);font-size:10px;font-weight:800}.tag-manager-list input[type=color]{width:28px!important;height:28px;padding:1px!important;border:0!important;border-radius:7px;background:#f0f1f4}.tag-manager-empty{padding:25px;border:1px dashed #d9d5e1;border-radius:10px;color:#7b808b;text-align:center;font-size:10px}.tag-manager-create{display:block!important;color:#454955;font-size:11px!important}.tag-manager-create>small{display:block;margin-top:3px;color:#858a94;font-size:9px;font-weight:500}.tag-manager-create>div{display:grid;grid-template-columns:minmax(0,1fr) 42px;gap:8px;margin-top:7px}.tag-dialog .tag-manager-create input{margin:0!important}.tag-dialog .tag-manager-create input[type=color]{height:40px;padding:2px}
.conversation-tag-popover{position:fixed;z-index:100010;display:grid;width:min(310px,calc(100vw - 16px));max-height:min(430px,calc(100vh - 16px));overflow:hidden;border:1px solid #dcd8e5;border-radius:13px;background:#fff;box-shadow:0 18px 42px rgba(28,23,45,.22);font:500 11px/1.35 Inter,system-ui,sans-serif}.conversation-tag-popover header{display:flex;align-items:center;justify-content:space-between;padding:11px 12px 9px;border-bottom:1px solid #eeeaf3}.conversation-tag-popover header>div{display:grid;gap:1px}.conversation-tag-popover header strong{color:#30333c;font-size:12px}.conversation-tag-popover header small{color:#858a95;font-size:8.5px}.tag-popover-close{display:grid;place-items:center;width:25px;height:25px;padding:0;border:0;border-radius:7px;background:transparent;color:#737985;font-size:17px;cursor:pointer}.tag-popover-close:hover{background:#f0edf5}.tag-popover-list{display:grid;gap:4px;max-height:230px;overflow:auto;padding:8px}.tag-popover-list label{position:relative;display:grid!important;grid-template-columns:21px minmax(0,1fr) 25px;align-items:center;gap:7px;padding:6px 7px;border-radius:8px;cursor:pointer}.tag-popover-list label:hover{background:#f7f5fa}.tag-popover-list input[type=checkbox]{position:absolute;width:1px!important;height:1px!important;opacity:0;pointer-events:none}.tag-popover-check{display:grid;place-items:center;width:19px;height:19px;border:1px solid #ccc7d4;border-radius:6px;background:#fff;color:transparent;font-size:9px}.tag-popover-list input:checked+.tag-popover-check{border-color:#7044c6;background:#7044c6;color:#fff}.tag-popover-name{justify-self:start;overflow:hidden;max-width:190px;padding:4px 7px;border:1px solid var(--tag-color);border-radius:999px;color:color-mix(in srgb,var(--tag-color) 75%,#111);font-size:9.5px;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.tag-popover-list input[type=color]{width:24px!important;height:24px;padding:1px!important;border:0!important;border-radius:6px;background:#f0f1f4}.tag-popover-empty{padding:18px;color:#838893;text-align:center;font-size:9.5px}.tag-popover-create{display:grid;grid-template-columns:minmax(0,1fr) 32px;align-items:center;gap:6px;padding:8px;border-top:1px solid #eeeaf3}.tag-popover-create input{box-sizing:border-box;height:34px!important;margin:0!important;padding:7px 9px!important;border:1px solid #dcd8e5!important;border-radius:8px!important;font-size:10px!important}.tag-popover-create input[type=color]{justify-self:center;width:24px!important;height:24px!important;padding:1px!important;border:0!important;border-radius:6px!important;background:#f0f1f4!important}.tag-popover-create input[type=color]::-webkit-color-swatch-wrapper{padding:0}.tag-popover-create input[type=color]::-webkit-color-swatch{border:0;border-radius:5px}.conversation-tag-popover footer{display:flex;justify-content:flex-end;gap:6px;padding:8px;border-top:1px solid #eeeaf3;background:#faf9fc}.conversation-tag-popover footer button{padding:7px 11px;border:1px solid #d9d5df;border-radius:8px;background:#fff;color:#5e626c;font-size:9.5px;font-weight:800;cursor:pointer}.conversation-tag-popover footer .tag-popover-save{border-color:#6840bc;background:#7047c7;color:#fff}.conversation-tag-popover footer button:disabled{opacity:.55;cursor:wait}
.emoji-menu{position:absolute;bottom:36px;left:36px;z-index:10;display:flex;gap:3px;padding:6px;border:1px solid #dddfe5;border-radius:9px;background:#fff;box-shadow:0 8px 24px rgba(30,34,45,.16)}.emoji-menu[hidden]{display:none}.emoji-menu button{padding:4px;border:0;background:transparent;font-size:17px;cursor:pointer}
.composer-pro .voice-draft{position:relative;left:auto;bottom:auto;z-index:8;display:grid;width:auto;grid-column:1/-1;grid-row:2/4;grid-template-columns:auto 36px minmax(140px,1fr) auto auto auto;align-items:center;gap:9px;padding:10px 11px;border:1px solid #d8dde6;border-radius:12px;background:#f7f8fa;box-shadow:0 4px 14px rgba(25,30,42,.08)}.composer-pro .voice-draft[hidden]{display:none}.voice-draft-title{display:flex;align-items:center;gap:6px;padding-right:3px;color:#3e4550;font-size:10px;white-space:nowrap}.voice-status-dot{width:7px;height:7px;border-radius:50%;background:#7356d8;box-shadow:0 0 0 3px rgba(115,86,216,.12)}.composer-pro .voice-draft canvas{height:36px;cursor:pointer}.composer-pro .voice-draft .voice-play{display:grid;place-items:center;width:34px;height:34px;padding:0;border-radius:50%;background:#171a20;color:#fff;font-size:12px}.composer-pro .voice-draft .voice-action{padding:7px 10px;border:1px solid #d7cffa;background:#eeeaff;color:#5b35ba}.composer-pro .voice-draft .voice-discard{padding:7px 9px;background:transparent;color:#a33a34}.composer-pro .voice-draft.recording-live{grid-template-columns:auto 1fr auto}.composer-pro .voice-draft.recording-live canvas{background:repeating-linear-gradient(90deg,#12b981 0 3px,transparent 3px 7px);animation:voicePulse .8s ease-in-out infinite}.voice-draft.recording-live .voice-play,.voice-draft.recording-live .voice-action{display:none}.voice-draft.recording-live .voice-discard{display:block;white-space:nowrap;background:#e04444;color:#fff}.voice-draft.recording-live .voice-status-dot{background:#e04444;box-shadow:0 0 0 3px rgba(224,68,68,.14)}
.composer-pro .voice-draft.recording-live canvas{background:linear-gradient(180deg,rgba(224,68,68,.035),rgba(224,68,68,.08));border-radius:7px;animation:none}.voice-draft.recording-live .voice-status-dot{animation:voicePulse .9s ease-in-out infinite}
.voice-transcript-actions{display:flex;align-items:center;gap:6px}.composer-pro .voice-draft .voice-transcript-actions .voice-improve{border-color:#cfc2f4;background:#e9e1fb;color:#5126a5;white-space:nowrap}.voice-draft.recording-live .voice-transcript-actions{display:none}@media(max-width:760px){.composer-pro .voice-draft{grid-template-columns:auto 32px minmax(90px,1fr) auto!important}.voice-transcript-actions{grid-column:1/-1;justify-content:flex-end}.composer-pro .voice-draft .voice-discard{grid-column:4}}
.attachment-draft{display:grid;grid-template-columns:42px minmax(0,1fr) 28px;align-items:center;gap:8px;grid-column:1/-1;padding:6px 8px;border:1px solid #dfe2e8;border-radius:8px}.attachment-draft[hidden]{display:none}.attachment-draft img{width:42px;height:42px;object-fit:cover;border-radius:6px}.attachment-draft span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px}.attachment-draft button{width:26px;height:26px;border:0;border-radius:50%;background:#f0f1f4;color:#626873;cursor:pointer}
.manychat-inbox .composer-pro textarea{min-height:82px;max-height:220px;padding:9px 3px;font-size:13px;line-height:1.5}
.composer-shortcuts>button{width:30px;height:29px;font-size:16px}.composer-shortcuts .composer-ai-write{font-size:18px}.composer-shortcuts .audio-record-button{font-size:17px}
.composer-pro.composer-drop-active{border-color:#7047d8!important;background:#faf8ff!important;box-shadow:0 0 0 3px rgba(112,71,216,.14)!important}
.composer-pro.composer-drop-active::before{content:'Solte o arquivo aqui';position:absolute;inset:5px;z-index:30;display:grid;place-items:center;border:2px dashed #7954dc;border-radius:10px;background:rgba(250,248,255,.94);color:#5d36bd;font-size:13px;font-weight:800;pointer-events:none}
.attachment-visual{display:grid;place-items:center;width:42px;height:42px;border-radius:7px;background:#f0f1f4;overflow:hidden}.attachment-visual img,.attachment-visual video{width:42px;height:42px;object-fit:cover}.attachment-visual span{font-size:22px}.attachment-draft>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px}
.composer-shortcuts #composer-attach{border-radius:7px;background:#f3f0ff;color:#6540bf}.attachment-picker{position:absolute;z-index:24;bottom:37px;left:60px;display:grid;width:245px;gap:3px;padding:8px;border:1px solid #ddd9eb;border-radius:12px;background:#fff;box-shadow:0 14px 36px rgba(30,24,54,.2)}.attachment-picker[hidden]{display:none}.attachment-picker>strong{padding:5px 7px;color:#6b607b;font-size:10px;text-transform:uppercase;letter-spacing:.05em}.attachment-picker>button{display:flex;align-items:center;gap:9px;width:100%;padding:8px;border:0;border-radius:8px;background:transparent;color:#303640;text-align:left;cursor:pointer}.attachment-picker>button:hover{background:#f4f1fc}.attachment-picker>button>b{display:grid;place-items:center;width:29px;height:29px;border-radius:8px;background:#eee9fb;color:#6840c4}.attachment-picker>button>span{display:grid;gap:2px;font-size:11px;font-weight:800}.attachment-picker>button small{color:#818795;font-size:9px;font-weight:500}.composer-drop-hint{margin-left:6px;color:#858b96;font-size:9px;white-space:nowrap}.attachment-draft:has(#attachment-video-preview:not([hidden])) .attachment-visual{position:relative}.attachment-draft:has(#attachment-video-preview:not([hidden])) .attachment-visual:after{content:'▶';position:absolute;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#171a20cc;color:#fff;font-size:9px}
@media(max-width:1180px){.composer-drop-hint{display:none}}
@keyframes voicePulse{50%{opacity:.42}}
.outbound-check-button{border-color:#e8bd64!important;background:#fff7df!important;color:#77520a!important}
.outbound-check-steps{margin:8px 0 14px;padding-left:22px;color:#565c67;font-size:12px;line-height:1.6}
@media(min-width:901px){.manychat-inbox{height:calc(100dvh - 116px)!important;min-height:480px!important}}
@media(min-width:901px) and (max-height:760px){.manychat-inbox{height:calc(100dvh - 104px)!important;min-height:430px!important}.manychat-inbox .conversation-ai-analysis{padding:7px 11px}.manychat-inbox .conversation-ai-analysis p{margin:2px 0;font-size:10.5px}.manychat-inbox .chat-head{min-height:52px}.messaging-window-status{padding:6px 10px}.manychat-inbox .composer-pro{padding:7px 9px}}

.analysis-actions{display:flex;align-items:center;gap:6px;flex:0 0 auto}
.analysis-close{display:grid;place-items:center;width:28px;height:28px;padding:0;border:1px solid #d8d2ed;border-radius:7px;background:#fff;color:#675a87;font-size:18px;line-height:1;cursor:pointer}
.analysis-close:hover{background:#ebe6fb;color:#4722a2}
.conversation-ai-analysis-collapsed{display:flex;justify-content:flex-end;padding:5px 10px;border-bottom:1px solid #e4e0f1;background:#faf9ff;flex:0 0 auto}
.conversation-ai-analysis-collapsed button{padding:5px 8px;border:0;background:transparent;color:#6241ae;font-size:10px;font-weight:800;cursor:pointer}

.tag-picker{display:flex;flex-wrap:wrap;gap:7px;padding:10px;border:1px solid #e1e3e8;border-radius:10px;background:#f8f8fb}
.tag-choice{position:relative;margin:0!important;cursor:pointer}
.tag-choice input{position:absolute!important;width:1px!important;height:1px!important;opacity:0;pointer-events:none}
.tag-choice span{display:inline-flex;padding:7px 10px;border:1px solid #d9dce4;border-radius:999px;background:#fff;color:#575d69;font-size:11px;font-weight:750}
.tag-choice input:checked+span{border-color:#7350d5;background:#eee9ff;color:#5223bd;box-shadow:inset 0 0 0 1px #7350d5}
.tag-choice input:focus-visible+span{outline:2px solid #6c3dde;outline-offset:2px}
.new-tags-field small{display:block;margin-top:5px;color:#7d838e;font-size:10px;font-weight:500}

@media(max-width:700px){.manychat-inbox>.conversation-list{height:auto;min-height:330px}.manychat-inbox .conversation-items{flex:none;height:260px!important}}

.message-video-placeholder .video-cover{position:relative;width:min(340px,70vw);aspect-ratio:9/16;max-height:420px;overflow:hidden;border-radius:12px;background:radial-gradient(circle at 50% 35%,#47505c 0,#20242a 45%,#111318 100%);box-shadow:0 2px 9px rgba(16,20,28,.24)}.message-video-placeholder img{display:block;width:100%;height:100%;object-fit:cover}.video-cover::after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,transparent 52%,rgba(6,8,12,.34));pointer-events:none}.video-cover-fallback{position:absolute;inset:0;display:grid!important;place-items:center!important;width:auto!important;height:auto!important;margin:0!important;border-radius:0!important;background:transparent!important;color:rgba(255,255,255,.34);font-size:46px!important}.message-video-placeholder button{position:absolute;z-index:2;top:50%;left:50%;display:grid;place-items:center;width:58px;height:58px;padding:0;border:1px solid rgba(255,255,255,.72);border-radius:50%;transform:translate(-50%,-50%);background:rgba(17,20,26,.68);color:#fff;box-shadow:0 5px 18px rgba(0,0,0,.28);cursor:pointer;backdrop-filter:blur(6px)}.message-video-placeholder button span{display:block;width:auto;height:auto;margin:0 0 0 3px;border-radius:0;background:transparent;font-size:21px}.message-video-placeholder button.loading span{font-size:0}.message-video-placeholder button.loading::after,.audio-message-play.loading::after{content:'';width:16px;height:16px;border:2px solid rgba(255,255,255,.4);border-top-color:#fff;border-radius:50%;animation:mediaSpin .7s linear infinite}.message-video-placeholder button:disabled{cursor:wait}.audio-message-play.loading{font-size:0}@keyframes mediaSpin{to{transform:rotate(360deg)}}
.message-video-card .video-cover{aspect-ratio:16/9;max-height:230px;background:linear-gradient(135deg,#2d2542,#171a24 58%,#101218)}.video-text-cover{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:flex-end;gap:4px;padding:16px 18px;color:#fff}.video-text-cover small{position:relative;z-index:1;color:#c9b8f7;font-size:9px;font-weight:900;letter-spacing:.14em}.video-text-cover strong{position:relative;z-index:1;display:-webkit-box;max-width:72%;overflow:hidden;font-size:13px;line-height:1.35;-webkit-box-orient:vertical;-webkit-line-clamp:2}.message-video-card.message-video-placeholder button{width:52px;height:52px}

/* English draft action: keep composer controls usable on narrow panels. */
.composer-pro .composer-mode{flex-wrap:wrap;row-gap:7px}
#composer-translate-english{white-space:nowrap}

/* On-demand translation of received messages, original stays visible. */
.received-translation-tools{margin-top:7px}
.received-translate-button{border:0;background:transparent;color:#6337bd;font:inherit;font-size:11px;cursor:pointer;padding:3px 0;text-align:left}
.received-translate-button:hover{text-decoration:underline}
.received-translate-button:disabled{opacity:.6;cursor:wait}
.received-translation{margin-top:6px;border-top:1px solid #ddd6ed;padding-top:8px;max-width:100%}
.received-translation[hidden]{display:none}
.received-translation strong{font-size:10px;color:#746582;display:block;margin-bottom:4px}
.received-translation p{white-space:pre-wrap;overflow-wrap:anywhere;margin:0;font-size:inherit;color:inherit}

/* Conversation canvas inspired by the compact CRM reference. */
.manychat-inbox .chat-head{position:relative;z-index:20;display:flex;min-height:58px;padding:8px 12px;border-bottom:1px solid #e5e7eb;overflow:visible;background:#fff;align-items:center}
.manychat-inbox .chat-contact-identity{position:relative;display:grid;min-width:0;padding-left:40px;grid-template-columns:minmax(0,1fr);align-content:center}
.manychat-inbox .chat-contact-avatar{position:absolute;left:0;top:50%;display:grid;width:30px;height:30px;border-radius:50%;transform:translateY(-50%);place-items:center;background:#dbe3f1;color:#67758d;font-size:12px;font-weight:850}
.manychat-inbox .chat-contact-identity>strong{font-size:12px!important;font-weight:750!important}
.manychat-inbox .chat-contact-identity>p{display:block!important;margin:2px 0 0!important;color:#777f8d;font-size:9px!important}
.manychat-inbox .chat-contact-identity .chat-meta{display:none}
.manychat-inbox .chat-actions{width:auto;min-width:0;margin-left:auto;flex-wrap:nowrap;justify-content:flex-end;align-items:center}
.manychat-inbox .chat-actions .chat-icon-action{position:relative;display:grid;width:37px;height:37px;padding:0!important;border:1px solid currentColor!important;border-radius:10px;background:color-mix(in srgb,currentColor 9%,#fff);font-size:19px!important;place-items:center}
.manychat-inbox .chat-actions .chat-icon-action:hover,.manychat-inbox .chat-actions .chat-icon-action:focus-visible{transform:translateY(-1px);filter:saturate(1.2);box-shadow:0 4px 10px rgba(30,41,59,.14)}
.manychat-inbox .chat-actions #chat-reminder{color:#d78313}.manychat-inbox .chat-actions #start-chat-flow{color:#6847d8}.manychat-inbox .chat-actions #toggle-chat-ai{color:#0877e8}.manychat-inbox .chat-actions #tag-chat{color:#a432c4}.manychat-inbox .chat-actions #assign-chat{color:#078b87}.manychat-inbox .chat-actions #resolve-chat{color:#d13b4c}
.manychat-inbox .chat-actions #pin-chat{color:#526174}.manychat-inbox .chat-actions #pin-chat.is-pinned{color:#0877e8;background:#eaf4ff}.conversation-item.pinned{border-left:3px solid #0877e8}.conversation-pin{display:inline-block;margin-right:5px;color:#0877e8;font-size:9px;vertical-align:middle}
.manychat-inbox .chat-actions .flow-action-icon{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.manychat-inbox .chat-actions .tag-action-icon{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.manychat-inbox .chat-priority-wrap{position:relative;display:inline-flex;color:#e08a12}
.manychat-inbox .chat-actions .priority-select{width:37px;height:37px;padding:0!important;border:1px solid #e0a34f;border-radius:10px;color:transparent;background:color-mix(in srgb,#e08a12 9%,#fff) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%23d7800e' stroke-width='2.4'%3E%3Cpath d='M4 4v16M4 5h13l-2.4 4.5L17 14H4'/%3E%3C/svg%3E") center/22px no-repeat;-webkit-appearance:none;appearance:none;cursor:pointer}
.manychat-inbox .chat-actions .priority-select:hover,.manychat-inbox .chat-actions .priority-select:focus-visible{border-color:#c77708;outline:0;box-shadow:0 4px 10px rgba(224,138,18,.18)}
.manychat-inbox .chat-actions [data-tooltip]::after{content:attr(data-tooltip);position:absolute;z-index:100;top:calc(100% + 7px);left:50%;width:max-content;max-width:190px;padding:6px 8px;border-radius:6px;transform:translate(-50%,-3px);background:#20242b;color:#fff;font-size:10px;font-weight:700;line-height:1.2;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .08s ease,transform .08s ease}
.manychat-inbox .chat-actions [data-tooltip]:hover::after,.manychat-inbox .chat-actions [data-tooltip]:focus-visible::after,.manychat-inbox .chat-actions [data-tooltip]:focus-within::after{opacity:1;visibility:visible;transform:translate(-50%,0)}
.manychat-inbox .chat-actions .confirm-response-button{min-width:88px;height:31px;padding:0 9px!important;border:1px solid #f0a9ae;border-radius:8px;background:#fff3f4;color:#bd2431;font-size:9px!important;font-weight:800;white-space:nowrap;cursor:pointer}
.manychat-inbox .chat-actions .confirm-response-button:hover{border-color:#db313f;background:#ffe8ea}
.manychat-inbox .chat-actions .confirm-response-button.confirmed{border-color:#9dd9b5;background:#ebf9f0;color:#168346;cursor:default;opacity:1}
.manychat-inbox .chat-channel-bar{position:relative;z-index:1;display:flex;min-height:36px;padding:0 14px;border-bottom:1px solid #d9dde4;align-items:center;gap:7px;background:#fff;color:#2d333d;font-size:11px}
.manychat-inbox .chat-channel-bar::after{content:'';position:absolute;align-self:flex-end;width:96px;height:2px;background:#0878f9}
.manychat-inbox .chat-channel-whatsapp{display:grid;width:21px;height:21px;border-radius:50%;place-items:center;background:#21c766;color:#fff;font-size:10px}
.manychat-inbox .messages{padding:18px 17px 24px!important;gap:14px;background:#fff!important}
.manychat-inbox .message{position:relative;max-width:min(76%,620px);padding:9px 12px;border:0;border-radius:18px;background:#f2f3f5;box-shadow:none;font-size:12px;line-height:1.45}
.manychat-inbox .message.inbound{align-self:flex-start;margin-left:39px;background:#f2f3f5;color:#30343a}
.manychat-inbox .message.outbound{align-self:flex-end;margin-right:39px;background:#0877e8;color:#fff}
.manychat-inbox .message.inbound::before,.manychat-inbox .message.outbound::after{content:'';position:absolute;top:50%;width:27px;height:27px;border-radius:50%;transform:translateY(-50%);background:#d9e1ef}
.manychat-inbox .message.inbound::before{left:-39px;background:radial-gradient(circle at 50% 35%,#fff 0 24%,transparent 25%),radial-gradient(ellipse at 50% 88%,#fff 0 34%,transparent 35%),#d4ddeb}
.manychat-inbox .message.outbound::after{right:-39px;background:linear-gradient(145deg,#282733,#6f5544 48%,#17191e)}
.manychat-inbox .message small{margin-top:4px;color:#78808c;font-size:8.5px}
.manychat-inbox .message.outbound small,.manychat-inbox .message.outbound .message-copy a{color:#eaf4ff}
.manychat-inbox .message.internal{max-width:84%;border:1px solid #eadb9c;background:#fff8dc}
.manychat-inbox .message-date-separator{background:#fff;color:#8a9099}
.manychat-inbox .composer-pro{margin:0!important;padding:0 12px 10px!important;border:0!important;border-top:1px solid #dfe3e8!important;border-radius:0!important;box-shadow:none!important}
.composer-pro .composer-mode{min-height:38px;margin:0 -12px 5px;padding:0 12px!important;border-bottom:1px solid #e3e6eb!important;align-items:stretch!important}
.composer-pro .composer-mode>button[data-compose-mode]{position:relative;padding:0 4px;font-size:11px;font-weight:650}
.composer-pro .composer-mode .channel-compose-button::first-letter{color:inherit}
.composer-pro .composer-mode>button[data-compose-mode].active::after{content:'';position:absolute;right:0;bottom:-1px;left:0;height:2px;background:#0877e8}
.composer-pro .composer-mode .composer-channel-status{display:flex;align-items:center;color:#36a66b;font-size:9px;font-weight:700}
@media(max-width:1180px){.manychat-inbox .chat-actions .chat-icon-action:nth-of-type(2),.manychat-inbox .chat-actions .chat-icon-action:nth-of-type(4){display:none}.composer-pro .composer-mode .composer-channel-status{display:none}.manychat-inbox .chat-actions .confirm-response-button{min-width:31px;width:31px;padding:0!important;font-size:0!important}.manychat-inbox .chat-actions .confirm-response-button::before{content:'✓';font-size:14px}}
@media(max-width:700px){.manychat-inbox .message{max-width:82%}.manychat-inbox .message.inbound{margin-left:32px}.manychat-inbox .message.outbound{margin-right:32px}.manychat-inbox .message.inbound::before{left:-34px}.manychat-inbox .message.outbound::after{right:-34px}.manychat-inbox .chat-actions{overflow-x:auto;overflow-y:hidden}.manychat-inbox .chat-actions .chat-icon-action{flex:0 0 37px}}

/* Identified, readable controls above the conversation list. */
.inbox-page-head{display:grid;grid-template-columns:minmax(580px,760px) auto;align-items:end}
.inbox-page-title{display:grid;grid-template-columns:1fr;gap:8px}
.inbox-search-top{grid-column:1;width:100%}
.inbox-top-filters{display:grid;grid-template-columns:minmax(150px,1fr) minmax(170px,1.1fr) minmax(150px,1fr);gap:8px}
.inbox-top-filter{display:grid;min-width:0;gap:4px;color:#626977;font-size:10px;font-weight:850;letter-spacing:.04em}
.inbox-top-filter>span{padding-left:3px}
.inbox-top-filters .inbox-top-filter select{width:100%;min-width:0;min-height:42px;padding:0 34px 0 12px;border:1px solid #d4d7df;border-radius:11px;background-color:#fff;color:#333944;font-size:12px;font-weight:700;line-height:1.25;text-overflow:ellipsis}
@media(max-width:1050px){.inbox-page-head{grid-template-columns:1fr}.inbox-page-head .action-group{justify-self:start;margin-top:4px}}
@media(max-width:700px){.inbox-top-filters{grid-template-columns:1fr}.inbox-top-filters .inbox-top-filter select{font-size:13px}}

/* Compact fixed inbox toolbar: search and filters share one row. */
.inbox-page-head{position:sticky;z-index:24;top:0;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:8px;margin-bottom:7px;padding:4px 0;background:#fff}
.inbox-page-title{display:grid;min-width:0;grid-template-columns:minmax(180px,1.45fr) repeat(3,minmax(88px,.72fr));align-items:end;gap:6px}
.inbox-page-title>p{display:none!important}
.inbox-search-top{grid-column:auto!important;grid-row:auto!important;min-width:0;width:100%;min-height:34px;height:34px;margin:0!important;border-radius:9px}
.inbox-search-top span{font-size:14px}
.inbox-search-top input{min-width:0;padding:7px 7px 7px 2px;font-size:10px}
.inbox-top-filters{display:contents}
.inbox-top-filter{display:grid;min-width:0;gap:2px;font-size:8px;letter-spacing:.025em}
.inbox-top-filter>span{padding-left:2px;line-height:1}
.inbox-top-filters .inbox-top-filter select{width:100%;min-width:0;min-height:34px;height:34px;padding:0 22px 0 8px;border-radius:9px;font-size:9px;line-height:1.1}
.inbox-page-head .action-group{display:flex;align-items:center;align-self:end;gap:5px;margin:0!important;white-space:nowrap}
.inbox-page-head .action-group button{min-height:34px;padding:0 9px;font-size:9px}
@media(max-width:900px){.inbox-page-head{grid-template-columns:minmax(0,1fr) auto}.inbox-page-title{grid-template-columns:minmax(145px,1.25fr) repeat(3,minmax(76px,.7fr))}.inbox-page-head .action-group button{padding-inline:7px;font-size:8px}}
@media(max-width:700px){.inbox-page-head{position:relative;grid-template-columns:1fr}.inbox-page-title{grid-template-columns:minmax(140px,1.25fr) repeat(3,minmax(70px,.7fr))}.inbox-page-head .action-group{grid-row:auto;justify-self:start}.inbox-top-filters{display:contents}.inbox-top-filters .inbox-top-filter select{font-size:8px}}
