.guest-entry .guest-room-chat{position:fixed;inset:0;margin:auto;width:min(28rem,calc(100vw - 24px));height:min(40rem,calc(var(--rcb-frame-height,100dvh) - 24px));max-width:none;max-height:none;padding:0;border:1px solid #b7c5cf;border-radius:14px;background:#fff;color:#18222b;overflow:hidden;box-shadow:0 12px 48px #17303740}
.guest-entry .guest-room-chat[open]{display:flex;flex-direction:column}
.guest-room-chat::backdrop{background:#17303766}
.guest-room-chat .guest-room-chat-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 12px;border-bottom:1px solid #d1deed;background:#f4f7fa}
.guest-room-chat-heading h2{font-size:1rem;margin:0}
.guest-room-chat-heading button{flex:0 0 auto}
.guest-room-chat [data-room-chat-host]{display:flex;flex-direction:column;flex:1 1 auto;min-height:0;overflow:hidden;padding:12px;gap:8px}
.guest-room-chat .rcb-shared-chat>nav{display:flex;gap:6px;flex:0 0 auto}
.guest-room-chat .rcb-shared-chat>p{margin:0;font-size:.85rem;overflow-wrap:anywhere}
.guest-room-chat .rcb-shared-chat>div:not([role=log]):empty,.guest-room-chat .rcb-shared-chat>p:empty{display:none}
.guest-room-chat .rcb-shared-chat>[role=log]{display:flex;flex-direction:column;gap:8px;flex:1 1 auto;min-height:0;max-height:none!important;overflow:auto;overscroll-behavior:contain;padding:4px}
.guest-room-chat [data-chat-role]{max-width:90%;margin:0;padding:9px 12px;border-radius:12px;white-space:pre-wrap;overflow-wrap:anywhere}
.guest-room-chat [data-chat-role=customer]{align-self:flex-end;background:#dbeeff}
.guest-room-chat [data-chat-role=admin],.guest-room-chat [data-chat-role=ai]{align-self:flex-start;background:#eef2f6}
.guest-room-chat .rcb-shared-chat>form{display:grid;grid-template-columns:minmax(0,1fr) max-content;align-items:end;gap:8px;flex:0 0 auto;margin:0}
.guest-room-chat textarea{font:inherit;width:100%;min-width:0;min-height:48px;max-height:20dvh;resize:vertical;padding:10px;border:1px solid #71808b;border-radius:8px}
.guest-room-chat form>button{min-height:48px;background:#16477f;color:#fff}
