#chat-root { display:flex; flex-direction:column; gap:7px; min-height:360px; }
#chat-root h1 { font-size:25px; margin:0; }
#chat-root p { margin:0; }
#chat-root button { font-size:12px; padding:8px 10px; }
#chat-messages { flex:1; min-height:80px; height:140px; overflow-y:auto; list-style:none; padding:8px; margin:0; border:1px solid #48596a; border-radius:8px; }
#chat-messages li { font-size:13px; white-space:pre-wrap; overflow-wrap:anywhere; margin:0 0 7px; }
#chat-form, .chat-actions { display:flex; gap:6px; }
#chat-root input, #popup-url { width:100%; min-width:0; border:1px solid #48596a; border-radius:6px; padding:8px; font:inherit; color:inherit; background:#17232e; }
#chat-input { flex:1; }
#chat-handoff-panel { max-height:135px; overflow-y:auto; }
#chat-root [hidden] { display:none; }
.embed #chat-root { min-height:350px; height:calc(100dvh - 65px); max-height:420px; }
.embed #poc-panel { margin-top:10px; }
.chat-website #chat-root { height:75dvh; max-height:780px; }
