.room-chat{position:fixed;right:24px;bottom:24px;z-index:30;display:flex;flex-direction:column;align-items:flex-end;gap:12px;font-family:'DM Sans',Arial,sans-serif}.chat-toggle{position:relative;display:flex;align-items:center;justify-content:center;gap:10px;min-width:112px;height:54px;padding:0 20px;border:1px solid #377b58;border-radius:18px;background:#19533b;color:#fff;font-size:13px;font-weight:700;box-shadow:0 12px 30px #173d2c38}.chat-toggle:hover{background:#103e2b;transform:translateY(-2px)}.chat-toggle svg,.chat-header-icon svg,.chat-send svg{width:22px;height:22px;flex:none}.chat-unread{display:grid;place-items:center;min-width:21px;height:21px;padding:0 5px;border-radius:99px;background:#d3f3b7;color:#19472e;font-size:10px;font-weight:800}.chat-panel{width:370px;height:min(520px,calc(100dvh - 120px));min-height:260px;display:flex;flex-direction:column;overflow:hidden;border:1px solid #dbe9db;border-radius:22px;background:#fff;color:#183b2c;box-shadow:0 24px 70px #0b2a1e40}.chat-header{display:flex;align-items:center;gap:11px;min-height:72px;padding:14px 16px;background:linear-gradient(120deg,#163d2e,#2b6848);color:#fff}.chat-header-icon{display:grid;place-items:center;width:40px;height:40px;border:1px solid #c7efbc36;border-radius:13px;background:#dbf8c919;color:#d8f4c4}.chat-heading{flex:1;min-width:0}.chat-heading strong,.chat-heading span{display:block}.chat-heading strong{font:700 15px Manrope,Arial,sans-serif;letter-spacing:-.2px}.chat-heading span{margin-top:4px;color:#c2dcc8;font-size:11px}.chat-close{width:35px;height:35px;display:grid;place-items:center;border:0;border-radius:10px;background:#ffffff16;color:#e5f5e4;font-size:24px;line-height:1}.chat-close:hover{background:#ffffff30}.chat-messages{display:flex;flex-direction:column;gap:14px;flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:18px 15px;background:radial-gradient(circle at 100% 0,#eef7ea,transparent 42%),#f7faf6;scrollbar-color:#c7d9c8 transparent;scrollbar-width:thin}.chat-empty{margin:auto;text-align:center;color:#778e7d;font-size:12px;line-height:1.5}.chat-empty>span{display:grid;place-items:center;width:49px;height:49px;margin:0 auto 13px;border-radius:16px;background:#e6f3e2;color:#6ba079;font-size:21px}.chat-empty strong{display:block;color:#365e43;font-size:13px}.chat-empty p{max-width:220px;margin:6px auto}.chat-message{display:flex;align-items:flex-end;gap:8px;max-width:100%}.chat-message.own{flex-direction:row-reverse}.chat-avatar{width:30px;height:30px;flex:0 0 30px;border-radius:11px;object-fit:cover;background:#dcebdd}.chat-message-body{max-width:calc(100% - 46px);min-width:0}.chat-meta{display:flex;align-items:center;gap:6px;margin:0 2px 5px;color:#6f8775;font-size:10px}.chat-message.own .chat-meta{justify-content:flex-end}.chat-meta strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#45634d;font-size:11px}.chat-host-tag{padding:2px 5px;border-radius:5px;background:#e2f1df;color:#42794f;font-size:9px;font-weight:700}.chat-bubble{padding:10px 12px;border:1px solid #e7eee5;border-radius:14px 14px 14px 4px;background:white;color:#2d4836;box-shadow:0 3px 10px #203d2408;font-size:13px;line-height:1.45;white-space:pre-wrap;overflow-wrap:anywhere}.chat-message.own .chat-bubble{border-color:#245e42;border-radius:14px 14px 4px 14px;background:#245e42;color:#fff}.chat-error{padding:8px 15px;background:#fff4ed;color:#a34535;font-size:11px}.chat-composer{display:flex;align-items:flex-end;gap:9px;padding:12px 14px 3px;background:#fff}.chat-composer textarea{display:block;flex:1;min-width:0;height:42px;max-height:110px;resize:none;overflow:auto;padding:11px 12px;border:1px solid #deeadf;border-radius:12px;background:#f8fbf7;color:#213f2c;font:13px/1.4 'DM Sans',Arial,sans-serif}.chat-composer textarea:focus{outline:2px solid #a8d7a4;outline-offset:1px;border-color:#95c89d}.chat-composer textarea::placeholder{color:#8da191}.chat-send{display:grid;place-items:center;width:42px;height:42px;flex:0 0 42px;padding:0;border:0;border-radius:12px;background:#205d40;color:white}.chat-send:hover:not(:disabled){background:#143f2b}.chat-send:disabled{opacity:.48;cursor:not-allowed}.chat-hint{margin:0;padding:4px 16px 12px;color:#91a596;font-size:9px;line-height:1.3}.chat-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.chat-toggle:focus-visible,.chat-close:focus-visible,.chat-send:focus-visible{outline:3px solid #9cd59e;outline-offset:3px}@media(max-width:600px){.room-chat{right:14px;bottom:max(14px,env(safe-area-inset-bottom));left:14px;gap:9px}.chat-panel{width:100%;height:min(510px,calc(100dvh - 106px));border-radius:19px}.chat-toggle{height:50px;min-width:104px;border-radius:16px}.chat-hint{font-size:9px}}@media(prefers-reduced-motion:reduce){.chat-toggle{transition:none}.chat-toggle:hover{transform:none}}
