.help-widget{position:fixed;right:20px;bottom:22px;z-index:25;background:#0876d9;color:white;padding:13px 20px;border-radius:24px;box-shadow:0 4px 16px #17334d33;font-weight:700}.help-widget:hover{color:white}.help-text{white-space:pre-wrap;overflow-wrap:anywhere}.help-messages{max-height:55vh;overflow:auto}@media(max-width:760px){.help-widget{bottom:84px;right:15px}}

.help-widget summary{padding:0;color:white;font-size:14px;min-height:22px}.help-widget iframe{display:block;width:min(420px,calc(100vw - 48px));height:min(600px,70vh);border:0;background:white;border-radius:12px;margin-top:12px}.help-embedded header,.help-embedded aside,.help-embedded .bottom,.help-embedded .statusline{display:none}.help-embedded main{margin:0;padding:15px}.help-embedded h1{font-size:22px}

.chat-shell{display:flex;flex-direction:column;height:min(760px,calc(100dvh - 150px));min-height:320px;gap:8px}
.chat-shell h1{font-size:20px;margin:0}.chat-status{font-size:12px;margin:0;color:#52697b}
.chat-shell>details{font-size:12px}.chat-shell>details summary{min-height:28px;padding-top:2px}
.customer-stream{flex:1;min-height:0;overflow-y:auto;padding:8px 2px;overscroll-behavior:contain}
.chat-conversation{margin-bottom:16px}.chat-conversation h2{font-size:12px;text-align:center;color:#64758a;font-weight:500;margin:8px}
.chat-messages{display:flex;flex-direction:column;gap:10px}
.chat-bubble{max-width:88%;padding:10px 12px;border-radius:14px;font-size:14px;overflow-wrap:anywhere}
.chat-self{align-self:flex-end;background:#dff4ea;border-bottom-right-radius:4px}
.chat-staff{align-self:flex-start;background:#e8f1fc;border-bottom-left-radius:4px}
.chat-bubble strong,.chat-bubble small{font-size:10px}.chat-bubble p{margin:4px 0 0}
.chat-composer{display:flex;gap:8px;align-items:center;flex-shrink:0;margin:0;padding:10px 0 0;border-top:1px solid #e0e8f0;background:#f5f8fc}
.chat-composer input[name=body]{flex:1;min-width:0;margin:0;border-radius:22px;font-size:16px}
.chat-composer>button{margin:0;min-height:45px;padding:10px 15px;border-radius:22px}
.chat-welcome{text-align:center;padding:20px 8px;font-size:14px}
.help-embedded main{height:100dvh;padding:12px}
.help-embedded .chat-shell{height:100%;min-height:0}
.help-embedded .chat-shell>h1{display:none}

.help-unread,.help-unread-row{display:inline-flex;align-items:center;gap:4px;background:#c92d37;color:white;border:2px solid white;border-radius:20px;padding:2px 7px;font-size:12px;font-weight:700;vertical-align:middle}.help-unread[hidden],.help-unread-row[hidden]{display:none}
