/* chat.css
 * Extracted from the original inline <style> block.
 * Load order matters: see the <link> order in index.html.
 */
    /* ================= FULL IMMERSIVE MODE (chat only) ================= */
    /* Exit FAB — the only control available once the chat header is hidden */
    #immersiveExitBtn { display: none; }
    body.immersive-mode #immersiveExitBtn {
      display: inline-flex !important;
      position: fixed !important;
      top: 14px !important;
      right: 14px !important;
      left: auto !important;
      bottom: auto !important;
      margin: 0 !important;
      z-index: 95 !important;
      opacity: 0.5;
      transition: opacity 0.2s ease;
    }
    body.immersive-mode #immersiveExitBtn:hover,
    body.immersive-mode #immersiveExitBtn:focus-visible { opacity: 1; }
    body.immersive-mode { overflow: hidden; }
    body.immersive-mode #appSidebar,
    body.immersive-mode #navOverlay,
    body.immersive-mode #pageHeader { display: none !important; }
    body.immersive-mode #chatHeader { display: none !important; }
    body.immersive-mode #appShell { display: flex !important; flex-direction: column !important; min-height: 0 !important; }
    body.immersive-mode main {
      width: 100vw !important; max-width: 100vw !important;
      height: 100dvh !important; overflow: hidden !important;
    }
    body.immersive-mode main > div {
      width: 100vw !important; max-width: 100vw !important;
      height: 100dvh !important; margin: 0 !important; padding: 0 !important;
    }
    body.immersive-mode [data-panel="chat"] { height: 100dvh; }
    body.immersive-mode [data-panel="chat"] > div.chat-panel {
      height: 100dvh; border-radius: 0 !important; border: 0 !important;
    }
    body.immersive-mode #chatMessages { flex: 1 1 auto; min-height: 0 !important; max-height: none !important; }
    .avatar-upload-btn { display: none; }
