/* GUSTGO chat-assistent */
#guide-dialog.chat-dialog{overflow-y:auto;width:min(520px,calc(100vw - 24px));max-height:min(760px,calc(100vh - 24px));display:none;flex-direction:column;gap:12px;padding:22px}
#guide-dialog.chat-dialog[open]{display:flex}
.chat-log{flex:1;min-height:220px;max-height:46vh;overflow-y:auto;display:flex;flex-direction:column;gap:8px;padding:4px 2px}
.chat-msg{max-width:88%;padding:10px 14px;border-radius:16px;font-size:.93rem;line-height:1.5;white-space:pre-line;overflow-wrap:anywhere}
.chat-msg.bot{background:#eef1f6;color:var(--ink);align-self:flex-start;border-bottom-left-radius:4px}
.chat-msg.me{background:var(--ink);color:#fff;align-self:flex-end;border-bottom-right-radius:4px}
.chat-chips{display:flex;flex-wrap:wrap;gap:6px}
.chat-chips button{border:1px solid var(--line);background:#fff;border-radius:999px;padding:6px 12px;font-size:.8rem;font-weight:600}
.chat-chips button:hover{background:#e7f8ce}
.chat-form{display:flex;gap:8px}
.chat-form input{flex:1;min-width:0;border:1px solid var(--line);border-radius:12px;padding:12px 14px;font-size:16px}
.chat-form .button{margin:0;min-height:46px;padding:10px 18px}
.lead-form{display:flex;flex-direction:column;gap:8px;border-top:1px solid var(--line);padding-top:12px}
.lead-form label{display:flex;flex-direction:column;gap:3px;font-size:.8rem;font-weight:600}
.lead-form input:not([type=checkbox]),.lead-form textarea{border:1px solid var(--line);border-radius:10px;padding:10px 12px;font:inherit;font-size:16px;font-weight:400}
.lead-row{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.lead-consent{flex-direction:row!important;align-items:flex-start;gap:8px!important;font-weight:400!important}
.lead-consent input{margin-top:3px}
.lead-intro{margin:0;font-size:.88rem;color:var(--muted)}
.lead-form .button{margin-top:4px}
@media(max-width:500px){.lead-row{grid-template-columns:1fr}.chat-log{max-height:40vh}}
.lead-form label{min-width:0}.lead-form input:not([type=checkbox]),.lead-form textarea{width:100%;box-sizing:border-box}
