.chat-launcher{position:fixed;right:20px;bottom:24px;z-index:35;display:flex;align-items:center;gap:10px;border:1px solid #ffffff55;border-radius:30px;background:var(--brown);color:#fff;box-shadow:0 4px 20px #4a2b1a2a;min-height:52px;padding:12px 18px;font-size:13px}.chat-launcher svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.5}.chat-panel{position:fixed;inset:auto 20px 20px auto;margin:0;width:min(400px,calc(100vw - 32px));height:min(650px,85svh);max-height:85svh;padding:0;border:1px solid var(--line);border-radius:14px;background:#fff;color:var(--ink);box-shadow:0 16px 70px #4a2b1a33;overflow:hidden}.chat-panel[open]{display:flex;flex-direction:column}.chat-panel::backdrop{background:#4a2b1a33}.chat-header{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:20px;background:var(--pink);border-bottom:1px solid var(--line);flex-shrink:0}.chat-header h2{font-size:29px;line-height:1.1}.chat-header p{font-size:11px;line-height:1.6;margin-top:5px;color:var(--muted)}.chat-panel .chat-close{position:static;flex-shrink:0;width:44px;height:44px;border:1px solid var(--line);background:transparent;color:var(--ink);border-radius:50%;font-size:25px}.chat-content{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:18px 18px 8px}.chat-log{display:flex;flex-direction:column;gap:12px}.chat-message{padding:13px 15px;border-radius:12px;max-width:95%;font:14px/1.65 'DM Sans',sans-serif;overflow-wrap:anywhere}.chat-bot{align-self:flex-start;background:var(--pink)}.chat-user{align-self:flex-end;background:var(--brown);color:#fff}.chat-message a{display:block;margin-top:10px;font-size:12px;min-height:40px;text-decoration:underline;text-underline-offset:4px;align-content:center}.chat-topics{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}.chat-panel .chat-topics button{position:static;width:auto;height:auto;min-height:44px;border:1px solid var(--line);border-radius:25px;background:#fff;color:var(--ink);font-size:12px;padding:9px 13px}.chat-form{padding:12px 18px 14px;border-top:1px solid var(--line);background:#fff;flex-shrink:0}.chat-input-row{display:flex;gap:8px;align-items:center}.chat-input-row input{min-width:0;flex:1;width:100%;font:16px 'DM Sans',sans-serif;border:1px solid var(--line);border-radius:7px;background:#fff;padding:12px;min-height:48px;color:var(--ink)}.chat-panel .chat-input-row button{position:static;width:48px;height:48px;flex-shrink:0;border:0;border-radius:50%;background:var(--brown);color:white;display:grid;place-items:center}.chat-input-row svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.5}.chat-privacy{font-size:10px;line-height:1.6;color:var(--muted);margin-top:8px}.preview{right:auto;left:8px}
@media(max-width:700px){.chat-launcher{right:16px;bottom:18px;min-height:52px;padding:13px;font-size:12px}.chat-launcher span{display:none}.chat-launcher svg{height:24px;width:24px}body:has(.mobile-match-bar.is-visible) .chat-launcher{bottom:125px}.chat-panel{inset:auto 12px max(12px,env(safe-area-inset-bottom)) auto;width:calc(100vw - 24px);height:min(650px,88svh);max-height:88svh;max-width:none}.chat-header{padding:16px}.chat-content{padding:16px 14px 6px}.chat-header h2{font-size:28px}.chat-header p{font-size:11px}.chat-message{font-size:14px}.chat-form{padding:12px 14px max(12px,env(safe-area-inset-bottom))}.chat-launcher:focus-visible{outline:3px solid var(--ink);outline-offset:4px}}
