.room-chat{position:fixed;right:16px;bottom:calc(18px + env(safe-area-inset-bottom));z-index:65;width:min(340px,calc(100vw - 32px));font-size:14px;color:#23453c}.chat-toggle{display:block;margin-left:auto;border:1px solid #b8cabe;border-radius:24px;padding:12px 18px;background:#153f35;color:white;box-shadow:0 4px 18px #0002;cursor:pointer;font:inherit}.chat-panel{margin-bottom:10px;background:#fffdf7;border:1px solid #cbd8cd;border-radius:16px;box-shadow:0 8px 32px #0003;overflow:hidden}.chat-panel[hidden]{display:none}.chat-panel header{display:flex;align-items:center;justify-content:space-between;padding:10px 14px;border-bottom:1px solid #dde5db}.chat-close{border:0;background:none;font-size:26px;cursor:pointer;width:36px;height:36px}.chat-messages{height:210px;overflow:auto;overscroll-behavior:contain;padding:12px;scrollbar-width:thin}.chat-messages:empty:before{content:'La conversation commence ici. Dites bonjour 👋';display:block;color:#66786c;padding:20px 8px;text-align:center}.chat-message{margin-bottom:10px;padding:8px 10px;background:#eef2e9;border-radius:10px}.chat-message.is-mine{background:#e0eee4}.chat-message strong{font-size:12px}.chat-message time{float:right;font-size:10px;color:#66786c}.chat-message p{margin:4px 0 0;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.4}.chat-form{padding:10px;border-top:1px solid #dde5db}.chat-form label{font-size:12px;margin-bottom:5px;display:block}.chat-compose{display:flex;gap:6px}.chat-compose input{min-width:0;width:100%;font-size:16px;padding:9px}.chat-compose button{flex-shrink:0;background:#153f35;color:white;border:0;border-radius:8px;width:44px;cursor:pointer}.chat-compose button:disabled{opacity:.5}.chat-emojis{display:flex;flex-wrap:wrap;gap:2px;margin-top:6px}.chat-emojis button{border:0;background:none;font-size:21px;width:36px;height:36px;cursor:pointer;border-radius:6px}.chat-emojis button:hover{background:#e0eee4}.chat-status{margin:0;font-size:12px;color:#a3332c}.room-chat{display:flex;flex-direction:column-reverse;align-items:stretch}.room-chat button:focus-visible{outline:3px solid #c29539;outline-offset:2px}@media(max-width:600px){.room-chat{right:10px;bottom:calc(10px + env(safe-area-inset-bottom));width:min(310px,calc(100vw - 20px))}.chat-panel{max-height:55dvh;display:flex;flex-direction:column}.chat-messages{height:135px;min-height:50px;flex:1}.chat-panel header,.chat-form{flex-shrink:0}.chat-emojis button{width:36px;height:36px}}@media(max-height:500px){.room-chat .chat-panel{max-height:75dvh}.chat-messages{height:80px}}
