.rd-messages{display:flex;flex-direction:column;gap:16px}.rd-msg-toolbar{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.rd-msg-toolbar h2{margin:0 0 5px}.rd-msg-toolbar p{margin:0}.rd-msg-connection{font-size:12px;color:#8b98aa}.rd-msg-connection.connected{color:#239b80}.rd-msg-feedback{border-radius:12px;padding:12px 16px;background:#fff2f5;color:#c13f60;font-size:13px}.rd-msg-feedback[hidden]{display:none}.rd-msg-layout{display:grid;grid-template-columns:minmax(260px,310px) minmax(0,1fr);min-height:590px;height:min(760px,calc(100vh - 220px));gap:18px}.rd-msg-sidebar,.rd-msg-right{border:1px solid #e4eaf3;border-radius:18px;background:#fff;overflow:hidden;min-width:0}.rd-msg-sidebar{display:flex;flex-direction:column;padding:10px}.rd-msg-list-caption{font-size:12px;color:#8c9ab0;padding:9px 10px 14px}.rd-msg-conversations{overflow:auto;min-height:0;flex:1}.rd-msg-conversation{width:100%;display:flex;align-items:center;gap:11px;background:transparent;border:0;text-align:left;border-radius:11px;padding:14px 10px;cursor:pointer;color:#24344d;min-height:82px;font:inherit}.rd-msg-conversation:hover,.rd-msg-conversation.selected{background:#fff0f4}.rd-msg-conversation:disabled{cursor:wait;opacity:.75}.rd-msg-system-row{background:#f7faff}.rd-msg-avatar{width:43px;height:43px;border-radius:50%;background:#edf1f7;color:#8596ad;display:flex;align-items:center;justify-content:center;flex-shrink:0;overflow:hidden;font-size:17px}.rd-msg-avatar img{width:100%;height:100%;object-fit:cover}.rd-msg-system-avatar{background:#4399ff;color:white;font-size:28px}.rd-msg-conversation-copy{display:flex;flex-direction:column;gap:7px;flex:1;min-width:0}.rd-msg-conversation-copy strong,.rd-msg-conversation-copy>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}.rd-msg-conversation-copy strong{font-size:14px}.rd-msg-conversation-copy>span{font-size:12px;color:#8593a7}.rd-msg-conversation-copy em,.rd-msg-pinned{font-size:10px;font-style:normal;font-weight:400;color:#8ca0bb;background:#edf3fa;padding:2px 5px;border-radius:4px}.rd-msg-conversation-meta{display:flex;flex-direction:column;align-items:flex-end;gap:8px;max-width:80px}.rd-msg-conversation-meta time{font-size:10px;color:#98a4b5;white-space:nowrap}.rd-msg-unread{height:20px;min-width:20px;display:inline-flex;align-items:center;justify-content:center;background:#ff315b;color:#fff;border-radius:12px;font-size:11px;padding:0 5px}.rd-msg-sidebar-hint{font-size:12px;color:#9aa7b9;text-align:center;padding:18px 10px}.rd-msg-more{width:100%;margin-top:8px;flex-shrink:0}.rd-msg-chat,.rd-msg-system-pane,.rd-msg-invitation{display:flex;flex-direction:column;height:100%;min-height:0}.rd-msg-pane-head{padding:17px 20px;display:flex;gap:10px;align-items:center;border-bottom:1px solid #edf0f6;flex-wrap:wrap}.rd-msg-pane-head h2{font-size:17px;margin:0}.rd-msg-pane-head .rd-msg-avatar{width:36px;height:36px}.rd-msg-pane-head .button{font-size:12px}.rd-msg-history{flex:1;min-height:150px;overflow:auto;padding:20px;background:#fcfdff;scroll-behavior:auto}.rd-msg-bubble-row{display:flex;flex-direction:column;align-items:flex-start;margin:0 0 20px;gap:7px}.rd-msg-bubble-row.own{align-items:flex-end}.rd-msg-bubble-row>small{color:#9ba6b8;font-size:11px;max-width:90%;line-height:1.5}.rd-msg-bubble{background:#f0f3f8;border-radius:4px 15px 15px 15px;padding:11px 14px;white-space:pre-wrap;overflow-wrap:anywhere;max-width:min(85%,560px);font-size:14px;line-height:1.65;color:#26364c}.rd-msg-bubble-row.own .rd-msg-bubble{background:#fff0f4;border-radius:15px 4px 15px 15px}.rd-msg-delivery.failed{color:#d9596b}.rd-msg-composer{padding:16px 20px 8px;border-top:1px solid #edf0f6}.rd-msg-composer textarea{width:100%;box-sizing:border-box;min-height:86px;max-height:180px;resize:vertical;border:1px solid #e2e8f2;border-radius:12px;padding:12px 14px;font:inherit;line-height:1.5;color:#26364c;background:#fff}.rd-msg-composer textarea:focus{outline:2px solid #ffd7e1;border-color:#ff7896}.rd-msg-composer-bottom{display:flex;align-items:center;margin-top:9px}.rd-msg-composer-bottom .muted{font-size:12px}.rd-msg-footnote{padding:0 20px 12px;margin:0;color:#99a5b7;font-size:11px}.rd-msg-empty{height:100%;min-height:180px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:25px;color:#93a0b4}.rd-msg-empty h3{font-size:16px;color:#50617a;margin:12px 0 0}.rd-msg-empty p{font-size:13px;line-height:1.7}.rd-msg-empty-icon{font-size:37px;color:#c8d2e1}.rd-msg-system-content{display:grid;grid-template-columns:minmax(170px,230px) minmax(0,1fr);flex:1;min-height:0}.rd-msg-notification-list{padding:9px;border-right:1px solid #edf0f6;overflow:auto}.rd-msg-notification{display:flex;flex-direction:column;gap:8px;width:100%;border:0;border-radius:10px;text-align:left;background:transparent;color:#2b3c55;padding:14px 10px;cursor:pointer;font:inherit}.rd-msg-notification.selected{background:#f6f8fc}.rd-msg-notification strong{font-size:13px}.rd-msg-notification>span{font-size:12px;color:#8d9bb0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.rd-msg-notification small{font-size:10px;color:#9da9bb}.rd-msg-notification em{font-size:11px;color:#ed5579;font-style:normal}.rd-msg-notification-detail{padding:25px;overflow:auto;min-width:0}.rd-msg-notification-detail>small{color:#a1aec1;font-size:11px}.rd-msg-notification-detail h2{font-size:20px;line-height:1.5;margin:12px 0;overflow-wrap:anywhere}.rd-msg-notification-detail>.muted{font-size:12px}.rd-msg-notification-copy{white-space:pre-wrap;line-height:1.9;font-size:14px;overflow-wrap:anywhere;border-top:1px solid #edf0f6;margin:18px 0;padding-top:20px}.rd-msg-invite-body{padding:22px;overflow:auto;flex:1}.rd-msg-invite-card{border:1px solid #e8edf5;border-radius:14px;padding:18px;margin-bottom:16px}.rd-msg-invite-card h3{font-size:17px;margin:10px 0}.rd-msg-invite-card p,.rd-msg-invite-card li,.rd-msg-invite-body>p{font-size:13px;line-height:1.8;white-space:pre-wrap}.rd-msg-invite-card ul{padding-left:20px}.rd-msg-agreement{display:flex;align-items:center;gap:8px;font-size:13px;margin:20px 0 7px}.rd-msg-agreement input{accent-color:#ff315b}.rd-msg-agreement-link{font-size:12px;color:#eb4971;margin-left:24px}.rd-msg-invite-actions{display:flex;justify-content:flex-end;margin-top:20px}.rd-msg-reminder{border-radius:12px;background:#fff6e7;padding:15px;font-size:13px;line-height:1.7}.rd-msg-error{color:#c24d61}.rd-msg-success{color:#209b7c}.rd-msg-note{border:0;background:#fff;border-radius:10px;width:215px;display:flex;flex-direction:column;padding:0;overflow:hidden;text-align:left;cursor:pointer;color:inherit;font:inherit}.rd-msg-note img{width:100%;max-height:220px;object-fit:cover}.rd-msg-note strong{font-size:13px;padding:10px 12px 3px}.rd-msg-note small,.rd-msg-note>span{padding:3px 12px 9px;font-size:11px;color:#91a0b4}.rd-messages button:focus-visible,.rd-messages a:focus-visible{outline:2px solid #ff7494;outline-offset:2px}
.rd-msg-agreement-copy{border:1px solid #e5ebf4;border-radius:12px;background:#fafcff;max-height:330px;overflow:auto;padding:17px;margin-top:13px}.rd-msg-agreement-copy p{white-space:pre-wrap;font-size:13px;line-height:1.9;overflow-wrap:anywhere}.rd-msg-agreement-copy small{font-size:11px;color:#95a3b7}
.rd-msg-feedback.rd-loading{background:#fff5f8;color:#b92f54;border:1px solid #ffd8e3;font-weight:550}.rd-msg-poll-loading{padding:0!important;background:transparent!important;border:0!important;font-size:12px!important;min-height:20px}.rd-msg-poll-loading::before{width:12px!important;height:12px!important}
@media(max-width:1050px){.rd-msg-layout{grid-template-columns:240px minmax(0,1fr);gap:12px}.rd-msg-conversation{padding:12px 7px;gap:8px}.rd-msg-conversation-meta time{display:none}.rd-msg-system-content{grid-template-columns:170px minmax(0,1fr)}.rd-msg-notification-detail{padding:17px}.rd-msg-pane-head{padding:13px}}
@media(max-width:700px){.rd-msg-layout{display:flex;flex-direction:column;height:auto;min-height:600px}.rd-msg-sidebar{max-height:250px}.rd-msg-conversations{max-height:190px}.rd-msg-right{min-height:480px}.rd-msg-chat{height:620px}.rd-msg-system-pane{min-height:450px}.rd-msg-system-content{display:flex;flex-direction:column}.rd-msg-notification-list{max-height:210px;border-right:0;border-bottom:1px solid #edf0f6}.rd-msg-notification-detail{max-height:500px}.rd-msg-toolbar{gap:8px}.rd-msg-toolbar .button{font-size:12px}.rd-msg-toolbar>div{width:100%}.rd-msg-invitation{max-height:700px}.rd-msg-conversation-meta time{display:block}}
