.chat-bubble{position:fixed;z-index:90;margin:0;max-width:min(260px,60vw);padding:7px 10px;border:1px solid #83a88f;border-radius:12px;background:#f8fff5;color:#193c2b;font:14px/1.45 system-ui,sans-serif;overflow-wrap:anywhere;white-space:pre-wrap;pointer-events:none;box-shadow:0 2px 6px #10271a20;isolation:isolate}
.chat-bubble[hidden],[data-chat-open][hidden]{display:none!important}#chatDialog{position:fixed;box-sizing:border-box;max-height:calc(100dvh - 24px);overflow:auto;width:min(390px,calc(100vw - 24px));padding:18px}#chatForm label{display:block}#chatInput{box-sizing:border-box;width:100%;font:16px/1.5 system-ui,sans-serif;min-height:46px;margin:8px 0}#chatEmoji{display:flex;flex-wrap:wrap;gap:6px}#chatEmoji button{min-width:44px;min-height:44px;padding:5px;font:22px system-ui,sans-serif}#chatFeedback{font-size:13px;min-height:1.5em}#chatDialog .dialog-actions button{min-height:44px}.chat-open{min-height:44px}
:root[data-theme="dark"] .chat-bubble{background:#203c30;border-color:#79a88c;color:#edfbed}

.chat-speaker{display:flex;align-items:center;gap:4px;font:11px/1.25 system-ui,sans-serif;margin-bottom:3px;opacity:.8}.chat-avatar{display:inline-grid;place-items:center;border:1px solid currentColor;border-radius:3px;width:16px;height:16px;flex:none;font-size:10px}#chatEmoji button,.chat-bubble{font-family:"Noto Color Emoji","Segoe UI Emoji","Apple Color Emoji",system-ui,sans-serif}
