#ex-chat {--ex-ink:#161d33;--ex-orange:#fe7443;--ex-paper:#faf9f6;--ex-line:#d6d7d4;color:var(--ex-ink);font:400 15px/1.45 Geist,system-ui,sans-serif}
#ex-chat *,#ex-chat *::before,#ex-chat *::after {box-sizing:border-box}
#ex-chat [hidden],body.ex-chat-ready #mk-help-open {display:none!important}
#ex-chat button,#ex-chat input {font:inherit;letter-spacing:normal;margin:0}
#ex-chat button {cursor:pointer}
#ex-chat .ex-launch {position:fixed;z-index:9000;right:max(18px,env(safe-area-inset-right));bottom:max(18px,env(safe-area-inset-bottom));display:inline-flex;align-items:center;gap:8px;padding:11px 17px;min-height:44px;border:1px solid var(--ex-ink);border-radius:100px;background:var(--ex-ink);color:#fff;font-weight:650;box-shadow:0 4px 16px #161d3324}
#ex-chat .ex-launch svg {color:#ff966c}
#ex-chat #ex-conversation {position:fixed;inset:auto max(16px,env(safe-area-inset-right)) max(14px,env(safe-area-inset-bottom)) auto;margin:0;padding:0;width:min(395px,calc(100vw - 28px));height:min(548px,75dvh);max-height:calc(100dvh - 32px);max-width:calc(100vw - 24px);background:var(--ex-paper);color:var(--ex-ink);border:1px solid #b9bbc1;border-radius:17px;box-shadow:0 12px 55px #111a3233;overflow:hidden;font:inherit}
#ex-chat dialog[open] {display:flex;flex-direction:column}
#ex-chat dialog::backdrop {background:#161d332d}
#ex-chat dialog header {position:static;display:flex;align-items:center;justify-content:space-between;flex:0 0 auto;padding:15px 18px;background:var(--ex-ink);color:#fff;width:100%;border:0}
#ex-chat dialog header h2 {margin:0;color:#fff;font:650 21px/1.2 Geist,system-ui,sans-serif;letter-spacing:-.04em}
#ex-chat dialog header span {color:#ffbf9e;font-size:12px}
#ex-chat .ex-close {background:transparent;border:0;color:#fff;width:38px;height:38px;font-size:27px;border-radius:8px;line-height:1}
#ex-chat .ex-scroll {flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:18px;scrollbar-width:thin}
#ex-chat .ex-intro {max-width:33ch;font-weight:550}
#ex-chat .ex-questions {display:flex;flex-wrap:wrap;gap:6px;margin:12px 0 16px}
#ex-chat .ex-questions button,#ex-chat .ex-message a {background:#fff;border:1px solid #c8cbd1;border-radius:8px;font-size:13px;color:var(--ex-ink);padding:6px 9px;line-height:1.4;text-decoration:none;font-weight:550}
#ex-chat .ex-questions button:hover,#ex-chat .ex-message a:hover {background:#fff0e6;border-color:#b65b30}
#ex-chat .ex-message {width:fit-content;max-width:96%;padding:10px 12px;background:white;color:var(--ex-ink);border:1px solid #dedfe2;border-radius:12px 12px 12px 3px;overflow-wrap:anywhere;margin:0 0 12px}
#ex-chat .ex-message.is-user {margin-left:auto;background:#ffe0ce;border-color:#ffe0ce;border-radius:12px 12px 3px 12px}
#ex-chat .ex-message p {margin:0;font:inherit;white-space:pre-line}
#ex-chat .ex-message nav {display:flex;flex-wrap:wrap;gap:6px;margin:9px 0 0;position:static;width:auto}
#ex-chat .ex-form {margin:0;padding:13px 16px 3px;border-top:1px solid var(--ex-line);background:white;flex:none;width:100%}
#ex-chat .ex-form label {display:block;font:600 12px/1.2 Geist,system-ui,sans-serif;margin:0 0 6px}
#ex-chat .ex-form div {display:flex;gap:6px}
#ex-chat .ex-form input {width:0;flex:1;min-width:0;min-height:42px;color:var(--ex-ink);background:#fff;border:1px solid #9295a0;border-radius:7px;padding:8px;font-size:16px}
#ex-chat .ex-form button {background:var(--ex-ink);color:#fff;border:0;border-radius:7px;padding:7px 14px;font-weight:650}
#ex-chat .ex-foot {flex:none;display:flex;align-items:center;justify-content:space-between;gap:5px;font-size:12px;padding:7px 16px 12px;background:#fff;color:#525969}
#ex-chat .ex-foot a {color:var(--ex-ink);text-decoration:underline}
#ex-chat :focus-visible {outline:3px solid #be4a15;outline-offset:2px}
@media (max-width:500px){#ex-chat #ex-conversation {right:8px;bottom:max(8px,env(safe-area-inset-bottom));width:calc(100vw - 16px);max-width:calc(100vw - 16px);height:min(580px,82dvh)}#ex-chat .ex-launch {right:12px;bottom:max(12px,env(safe-area-inset-bottom));padding:10px 14px}}
