.mehr-chat-photo{display:block;max-width:100%;width:auto;max-height:300px;object-fit:contain;border-radius:12px;margin:6px 0}.mehr-chat-audio{display:block;width:260px;max-width:100%;height:42px;margin:6px 0}.mehr-media-bar{display:flex;gap:7px;padding:7px 12px;flex-shrink:0;background:#f2f7fb}.mehr-media-bar button{border:1px solid #d5e3ee;border-radius:12px;padding:7px 10px;background:#fff;color:#315a73;font:inherit;font-size:12px;cursor:pointer;min-height:38px}.mehr-media-preview{background:#fff;padding:12px;max-height:45dvh;overflow:auto;flex-shrink:0;border-top:1px solid #dce5ed}.mehr-media-preview>div:last-child{display:flex;gap:8px;margin-top:8px}.mehr-media-preview button{background:#eaf3fb;color:#315a73;border:1px solid #d5e3ee;padding:8px 14px;border-radius:10px;font:inherit}.mehr-media-preview input{width:100%;box-sizing:border-box;font:inherit;padding:8px;margin-top:7px;color:#243e52;background:#fff;border:1px solid #dce5ed;border-radius:9px}.mehr-media-preview small{display:block;color:#466173;font-size:12px;line-height:1.8}.mehr-media-preview[hidden]{display:none!important}#mehr-global-ai .mehr-media-bar button{color:#315a73!important;background:#fff!important;width:auto!important;height:auto!important}.mehr-chat-photo-link{display:block}#mehr-new-reply{position:fixed;bottom:90px;right:18px;z-index:9998;border:1px solid #bcd8ec;background:#fff;color:#245676;border-radius:18px;padding:12px 17px;box-shadow:0 6px 30px #24496630;font:inherit;cursor:pointer}#mehr-new-reply[hidden]{display:none}.mehr-chat-unread-badge{background:#df4e55;color:#fff;border-radius:20px;padding:2px 6px;font-size:11px;margin-inline-start:5px}#mehr-global-ai .human-push-note{font-size:11px;color:#526c80;line-height:1.9;text-align:center}#mehr-global-ai .human-push-control{font:inherit;font-size:11px;border:0;padding:6px;background:#edf3f8;color:#38698a;cursor:pointer}

.mehr-media-host{flex:0 0 auto;min-height:0}.mehr-media-host[hidden]{display:none!important}#mehr-global-ai .mehr-media-preview button{color:#315a73!important;background:#eaf3fb!important}#mehr-global-ai .mehr-media-preview input{color:#243e52!important;-webkit-text-fill-color:#243e52!important}
/* Unified paperclip / microphone composer and voice bubbles. */
.mehr-media-host{position:relative;background:#d6e2d2}.mehr-media-bar{position:absolute;bottom:4px;right:12px;left:12px;z-index:8;display:flex;gap:12px;padding:17px;background:#fff;border-radius:18px;box-shadow:0 -5px 30px #142e3826;justify-content:center}.mehr-media-bar[hidden]{display:none!important}.mehr-media-bar button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:12px 20px;border:0;background:#f5f8fc;color:#43566a;min-width:105px;min-height:92px}.mehr-media-bar svg{width:32px;height:32px;color:#3390ec;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.telegram-composer>.mehr-attach,.telegram-composer>.mehr-mic,#mehr-global-ai .telegram-composer>.mehr-attach,#mehr-global-ai .telegram-composer>.mehr-mic{background:transparent!important;border:0!important;color:#8b969d!important;box-shadow:none!important;border-radius:50%;padding:9px!important;width:42px!important;height:42px!important;min-width:42px;flex:0 0 42px;display:grid;place-items:center}.telegram-composer>.mehr-mic,#mehr-global-ai .telegram-composer>.mehr-mic{color:#3390ec!important}.telegram-composer svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.telegram-composer>[hidden]{display:none!important}.mehr-media-preview{border-radius:18px 18px 0 0;box-shadow:0 -4px 15px #0000000c;padding:16px;max-height:46dvh}.mehr-media-preview>div:first-child{font-size:13px;font-weight:600;color:#39769e;margin-bottom:9px}.mehr-media-preview button{border:0;border-radius:20px;min-height:40px;padding:9px 18px}.mehr-media-preview audio{width:100%}.mehr-chat-photo{border-radius:10px;max-height:330px;margin:2px 0;width:auto}.mehr-voice{display:flex;align-items:center;gap:10px;min-width:210px;width:260px;max-width:100%;padding:5px 0;direction:ltr}.mehr-voice>audio{display:none}.mehr-voice .voice-play,#mehr-global-ai .mehr-voice .voice-play{background:#3390ec!important;color:white!important;border:0!important;border-radius:50%!important;width:44px!important;height:44px!important;min-height:44px!important;min-width:44px;flex:0 0 44px;padding:11px!important;display:grid;place-items:center}.bubble.mine .voice-play,#mehr-global-ai .is-user .voice-play{background:#65aa49!important}.voice-play svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.voice-track{flex:1;min-width:0}.voice-track input{width:100%;height:5px;padding:0!important;margin:8px 0!important;border:0!important;appearance:none;-webkit-appearance:none;background:linear-gradient(to right,#459bdd var(--played,0%),#b7d9ed var(--played,0%));border-radius:4px;cursor:pointer;min-height:0!important}.voice-track input::-webkit-slider-thumb{appearance:none;width:10px;height:10px;background:#3390ec;border-radius:50%}.voice-track input::-moz-range-thumb{width:10px;height:10px;background:#3390ec;border-radius:50%;border:0}.voice-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:10px;color:#7192a3;font-variant-numeric:tabular-nums}.voice-meta button,#mehr-global-ai .voice-meta button{font:inherit!important;font-size:10px!important;padding:2px 6px!important;width:auto!important;height:22px!important;min-height:22px!important;border:0!important;background:#ffffff60!important;color:#4389ad!important;border-radius:10px!important;box-shadow:none!important}.mehr-voice button:focus-visible{outline:2px solid #1e75c8;outline-offset:3px}.mehr-voice button:disabled{opacity:.5}
/* 2.6 compact WhatsApp-style recorder shared by customer and operator. */
.wa-voice-active,#mehr-global-ai .wa-voice-active{display:none!important}
.mehr-media-host.wa-voice-host{background:#f4f2ee;padding:0!important;flex-shrink:0}
.mehr-media-preview.wa-recorder,#mehr-global-ai .mehr-media-preview.wa-recorder{padding:12px 15px calc(10px + env(safe-area-inset-bottom))!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:#f4f2ee!important;max-height:170px;overflow:visible;min-height:100px}
.wa-recorder .wa-record-top,#mehr-global-ai .wa-recorder .wa-record-top{display:flex;align-items:center;direction:ltr;gap:10px;height:31px;margin:0 0 10px;padding:0 2px;color:#222;font-weight:400}
.wa-timer{font:16px system-ui,sans-serif;color:#282b2d;font-variant-numeric:tabular-nums;min-width:46px;text-align:left}
.wa-wave{display:flex;align-items:center;justify-content:flex-end;gap:2px;flex:1;height:30px;overflow:hidden;direction:ltr}
.wa-wave i{display:block;width:2.5px;min-width:2px;height:3px;background:#5d6265;border-radius:3px;transition:height .1s}
.wa-record-dot{width:7px;height:7px;min-width:7px;background:#e54864;border-radius:50%;animation:wa-record-pulse 1.1s ease-in-out infinite}.wa-record-dot.paused{background:#8c9296;animation:none}
.mehr-media-preview .wa-actions,#mehr-global-ai .mehr-media-preview .wa-actions{display:flex;direction:ltr;align-items:center;justify-content:space-between;gap:9px;margin:0!important;min-height:44px}
.mehr-media-preview .wa-actions button,#mehr-global-ai .mehr-media-preview .wa-actions button{border:0!important;border-radius:50%!important;box-shadow:none!important;padding:10px!important;width:42px!important;height:42px!important;min-width:42px!important;min-height:42px!important;flex:0 0 42px;display:grid;place-items:center;background:transparent!important;color:#333!important}
.wa-actions svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.mehr-media-preview .wa-actions .wa-pause,#mehr-global-ai .mehr-media-preview .wa-actions .wa-pause{color:#df315b!important;outline:2px solid currentColor;outline-offset:-10px;padding:13px!important}.wa-actions .wa-pause svg{width:16px;height:16px;stroke-width:2.5}
.mehr-media-preview .wa-actions .wa-send,#mehr-global-ai .mehr-media-preview .wa-actions .wa-send{background:#22bd69!important;color:#fff!important;width:44px!important;height:44px!important;min-width:44px!important}.wa-actions .wa-send svg{fill:currentColor;stroke-width:1.1;width:24px;height:24px}
.mehr-media-preview .wa-actions .wa-finish,#mehr-global-ai .mehr-media-preview .wa-actions .wa-finish{color:#008f72!important}
.wa-recorder>div:first-child:empty,.wa-recorder>small:empty{display:none!important}
.wa-recorder>small,#mehr-global-ai .wa-recorder>small{font-size:10px!important;line-height:1.5;color:#748078;text-align:center;margin:0 0 4px}
.wa-recorder .mehr-voice{width:100%;min-width:0;margin:0 0 7px;padding:0 2px}.wa-recorder .mehr-voice .voice-play,#mehr-global-ai .wa-recorder .mehr-voice .voice-play{background:transparent!important;color:#687b75!important;width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;padding:8px!important;flex:0 0 36px}.wa-recorder .voice-meta{font-size:10px;color:#78857f}.wa-recorder .voice-track input{background:linear-gradient(to right,#00a884 var(--played,0%),#c7d4cc var(--played,0%))}.wa-recorder .voice-track input::-webkit-slider-thumb{background:#00a884}
.mehr-media-preview [hidden],#mehr-global-ai .mehr-media-preview [hidden]{display:none!important}
@keyframes wa-record-pulse{50%{opacity:.35}}
@media(prefers-reduced-motion:reduce){.wa-record-dot{animation:none}.wa-wave i{transition:none}}
@media(max-width:360px){.wa-wave{gap:1.5px}.wa-wave i{min-width:2px}.mehr-media-preview.wa-recorder{padding-inline:10px!important}}
#mehr-resume-chat{position:fixed;bottom:90px;right:16px;left:16px;max-width:440px;z-index:9999;background:#008f72;color:#fff;border:0;padding:16px;border-radius:14px;font:inherit;box-shadow:0 5px 30px #0003;cursor:pointer}

.mehr-ai-bubble a.mehr-quick-link,.bubble a.mehr-quick-link{display:block!important;background:#f4c542!important;color:#302509!important;border:1px solid #dab12e!important;border-radius:12px;padding:12px 16px;margin:8px 0;text-decoration:none!important;font-weight:700;text-align:center;line-height:1.7;overflow-wrap:anywhere}.mehr-quick-link:focus-visible{outline:3px solid #498bea;outline-offset:2px}
