/* Shared Guide shell. Scoped IDs keep each room's existing styles intact. */
#fwlChatLauncher{position:fixed;right:20px;bottom:90px;z-index:5000;display:flex;align-items:center;gap:9px;min-height:48px;padding:12px 18px;border:1px solid #b99a60;border-radius:28px;background:#172544;color:#fffdf7;font:600 14px system-ui;cursor:pointer;box-shadow:0 8px 26px #0003}
#fwlChatLauncher .fwl-chat-launcher-dot{width:10px;height:10px;border-radius:50%;background:#d6bd7d;box-shadow:0 0 10px #d6bd7d66}
#fwlChatWrap{position:fixed;right:20px;bottom:90px;z-index:5001;width:min(390px,calc(100vw - 32px));height:min(590px,calc(100dvh - 125px));display:none;flex-direction:column;overflow:hidden;border:1px solid #d7c99d;border-radius:22px;background:#fffdf7;color:#172544;box-shadow:0 15px 55px #0004;font:16px/1.5 system-ui}
#fwlChatWrap.is-open{display:flex}
#fwlChatWrap .fwl-chat-panel{display:flex;flex-direction:column;min-height:0;height:100%;background:#fffdf7;color:#172544}
#fwlChatWrap .fwl-chat-header{padding:20px 54px 18px 20px;border-bottom:1px solid #dfd5af;flex:none}
#fwlChatWrap .fwl-chat-title{font:600 22px Georgia;color:#172544}
#fwlChatWrap .fwl-chat-subtitle{font:14px system-ui;color:#596176;margin-top:5px}
#fwlChatClose{position:absolute;top:12px;right:12px;width:36px;height:36px;min-height:36px;padding:0;border:0;border-radius:50%;font:24px system-ui;cursor:pointer;z-index:1}
#fwlChatMessages{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:14px;color:#172544}
#fwlChatMessages .fwl-chat-bubble{max-width:95%;border-radius:16px;padding:12px 14px;margin:0 0 12px;font:15px/1.55 system-ui;overflow-wrap:anywhere;white-space:normal}
#fwlChatMessages .fwl-chat-bubble>div{white-space:pre-wrap}
#fwlChatMessages .fwl-chat-bubble.user{margin-left:auto}
#fwlChatWrap .fwl-chat-input-row{display:flex;gap:8px;padding:12px;border-top:1px solid #dfd5af;flex:none;background:#fffdf7}
#fwlChatInput{flex:1;min-width:0;max-width:100%;min-height:64px;max-height:120px;resize:vertical;padding:12px;border:1px solid #d7c99d;border-radius:14px;background:#fffdf7;color:#172544;font:16px/1.4 system-ui}
#fwlChatSend{align-self:center;min-height:44px;padding:10px 14px;border:0;border-radius:24px;background:#172544;color:#fffdf7;font:600 14px system-ui;cursor:pointer}
#fwlChatSend:disabled{opacity:.6;cursor:wait}
#fwlChatWrap button:focus-visible,#fwlChatWrap a:focus-visible,#fwlChatInput:focus-visible,#fwlChatLauncher:focus-visible{outline:3px solid #b99a60;outline-offset:2px}
@media(max-width:560px){#fwlChatWrap{right:12px;bottom:calc(80px + env(safe-area-inset-bottom));width:calc(100vw - 24px);height:min(550px,calc(100dvh - 110px - env(safe-area-inset-bottom)))}#fwlChatLauncher{right:14px;bottom:calc(82px + env(safe-area-inset-bottom))}}

/* Normalize legacy Timeline launcher dimensions and hide its duplicate label. */
#fwlChatLauncher{width:auto;height:auto;max-width:calc(100vw - 28px);box-sizing:border-box;opacity:1;visibility:visible;transform:none}
#fwlChatLabel{display:none!important}
#fwlChatWrap{max-width:calc(100vw - 24px);box-sizing:border-box;opacity:1;transform:none}
