/* Shared dock and compact conversation. No external fonts or assets. */
.chat-widget-launch{gap:9px;padding:13px 19px;border:1px solid #ffffff35;background:linear-gradient(140deg,#a61743,#790d30);box-shadow:0 8px 25px #65132a35;font-size:13px;transition:transform .2s,box-shadow .2s}.chat-widget-launch:hover{transform:translateY(-2px);box-shadow:0 12px 32px #65132a45}.chat-widget{border:1px solid #e9dfe3;border-radius:20px;box-shadow:0 24px 75px #25121b35;width:min(420px,calc(100vw - 28px));height:min(660px,calc(100dvh - 115px));background:#fff;animation:chat-reveal .22s ease-out}.chat-widget>header{background:linear-gradient(120deg,#8c1438,#6c102d);padding:12px 15px;min-height:42px}.chat-widget>header>strong{font-size:14px;letter-spacing:.01em}.chat-widget>header button,.chat-widget>header a{width:32px;height:32px;font-size:21px;border-radius:9px}.chat-widget-help{padding:7px 12px;border-top:1px solid #eee8eb;font-size:10px}.chat-widget iframe{color-scheme:light}
@keyframes chat-reveal{from{opacity:0;transform:translateY(12px) scale(.98)}to{opacity:1;transform:none}}
body.chat-modern-view{height:100dvh;overflow:hidden;background:#f6f5f7;color:#2c2630;font-family:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}.chat-modern-view .chat-only-main{box-sizing:border-box;height:100%;padding:0;overflow:auto;scrollbar-width:thin}.chat-modern-view .message-conversation{display:flex;flex-direction:column;box-sizing:border-box;height:100%;padding:0;border:0;border-radius:0;background:#f6f5f7}.chat-modern-view .message-back{flex-shrink:0;margin:0;padding:8px 14px;background:white;font-size:11px}.chat-modern-view .conversation-header{flex-shrink:0;gap:10px;margin:0;padding:10px 14px;background:white;border-bottom:1px solid #eee9ed}.chat-modern-view .conversation-header h1{font-size:15px;line-height:1.35}.chat-modern-view .conversation-header .message-avatar{width:38px;height:38px;border-radius:13px}.chat-modern-view .message-presence{font-size:10px;margin:3px 0 0}.chat-modern-view .chat-only-options{flex-shrink:0;background:#fff;margin:0;padding:0 14px;border:0;border-bottom:1px solid #eee9ed}.chat-modern-view .chat-only-options>summary{min-height:32px;font-size:10px}.chat-modern-view .chat-only-options[open]{max-height:35dvh;overflow:auto;border-radius:0}.chat-modern-view .conversation-log{flex:1;min-height:90px;max-height:none!important;margin:0;padding:14px 12px;border:0;border-radius:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scroll-behavior:smooth}.chat-modern-view .conversation-bubble{max-width:85%;border-radius:15px;padding:10px 12px;box-shadow:0 2px 5px #29202a05;font-size:13px;line-height:1.55}.chat-modern-view .conversation-bubble.mine{background:#f2e5eb;color:#4d2436;border:1px solid #ead5de;border-bottom-right-radius:4px}.chat-modern-view .conversation-bubble.theirs{background:#fff;color:#302b33;border:1px solid #e9e6eb;border-bottom-left-radius:4px}.chat-modern-view .conversation-message-meta{font-size:9px;opacity:.8}.chat-modern-view .conversation-day{font-size:10px}.chat-modern-view .conversation-compose{flex-shrink:0;position:relative;margin:0;padding:8px 12px 10px!important;background:white;border-top:1px solid #eae5e9;box-shadow:0 -5px 16px #29202a04}.chat-modern-view .conversation-compose textarea{box-sizing:border-box;resize:none;width:100%;min-height:48px;max-height:110px;border:1px solid #e6e0e5;border-radius:13px;background:#f9f8fa;font-size:14px;line-height:1.5;padding:10px 12px;margin:0}.chat-modern-view .conversation-compose textarea:focus{border-color:#b96a85;outline:2px solid #9f103c18}.chat-modern-view .conversation-compose-actions{margin-top:6px;gap:8px}.chat-modern-view .conversation-compose-actions .btn{border-radius:11px;min-height:36px;padding:7px 15px;font-size:12px;background:#94133b;color:white}.chat-modern-view .conversation-compose-actions>span{font-size:10px;color:#91848f}.chat-modern-view .chat-extra-tools{margin:0 0 5px}.chat-modern-view .chat-extra-tools button{border:0;background:transparent;color:#786875;font-size:11px;min-height:29px;padding:4px 6px}.chat-modern-view .chat-emoji-picker{position:absolute;bottom:100%;left:8px;right:8px;max-height:220px;z-index:8;box-shadow:0 -10px 35px #30202b20;background:white}.chat-modern-view .conversation-compose .error{font-size:11px;line-height:1.4;padding:7px;margin:0 0 6px;max-height:70px;overflow:auto}.chat-modern-view .message-updates{flex-shrink:0;margin:0;padding:7px 12px;font-size:11px;border-radius:0;background:#f3e7ec}.chat-modern-view .message-inbox{padding:12px}.chat-modern-view .message-thread-item{border:1px solid #ece7ec;border-radius:13px;margin:8px 0;background:white;padding:11px}.chat-modern-view .message-thread-top strong{font-size:13px}.chat-modern-view .message-thread-snippet{font-size:12px}.chat-modern-view .inbox-search input{font-size:14px;border-radius:10px}.chat-modern-view .message-inbox>.message-help{font-size:10px}.chat-modern-view .chat-only-main>.notice{display:none}
@media(max-width:600px){.chat-widget{inset:auto 7px 76px;width:auto;height:min(740px,calc(100dvh - 92px));border-radius:18px}.has-detail-mobile-actions .chat-widget{bottom:148px;height:calc(100dvh - 168px)}}@media(prefers-reduced-motion:reduce){.chat-widget{animation:none}.chat-widget-launch{transition:none}.chat-modern-view .conversation-log{scroll-behavior:auto}}
