/* Body-level chat stays above the official channels layer (10000). */
.portal-chat-panel{position:fixed;z-index:10001;right:20px;bottom:20px;width:min(440px,calc(100vw - 40px));height:min(780px,calc(100dvh - 40px));display:flex;flex-direction:column;background:#fff;border:1px solid #e2e4e8;border-radius:18px;box-shadow:0 18px 70px #11111133;overflow:hidden;color:#111;font:14px system-ui,sans-serif}.portal-chat-panel[hidden]{display:none!important}.portal-chat-header{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-shrink:0;padding:10px 14px;border-bottom:1px solid #e2e4e8}.portal-chat-close{font:inherit;font-weight:650;min-height:44px;padding:8px 14px;color:#111;background:#073abc;border:1px solid #073abc;border-radius:10px;cursor:pointer}.portal-chat-close:focus-visible{outline:2px solid #111;outline-offset:2px}.portal-chat-panel iframe{display:block;width:100%;flex:1;min-height:0;border:0;background:#fff}.portal-chat-panel iframe[hidden]{display:none!important}.portal-chat-status{font:inherit;margin:0;padding:12px 14px;background:#fff6db;color:#111;line-height:1.5}.portal-chat-status[hidden]{display:none!important}@media(max-width:600px){.portal-chat-panel{inset:0;width:100%;height:100dvh;border:0;border-radius:0;padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom);box-sizing:border-box}.portal-chat-header{padding-inline:16px}}
