/* Append to existing styles.css */
.chat-panel{display:flex;flex-direction:column;max-height:min(78dvh,610px);overflow:hidden}
.chat-messages{flex:1;min-height:100px;max-height:none;overflow-y:auto}
.chat-user{background:#e8f0fa;margin-left:28px;border-bottom-right-radius:4px}
.chat-form{display:flex;gap:7px;padding:10px 12px;border-top:1px solid var(--line)}
.chat-form input{min-width:0;flex:1;padding:11px;border:1px solid var(--line);border-radius:11px;font:inherit;font-size:.86rem}
.chat-form button,.chat-lead button[type=submit]{border:0;background:var(--navy-900);color:white;border-radius:10px;padding:10px 14px;cursor:pointer}
.chat-extra{padding:0 12px 8px}
.chat-extra button{width:100%;border:1px solid var(--gold-500);background:var(--gold-100);border-radius:10px;padding:9px;font-weight:700;color:var(--navy-900);cursor:pointer}
.chat-lead{padding:12px;overflow-y:auto;display:grid;gap:8px;max-height:290px;border-top:1px solid var(--line)}
.chat-lead[hidden]{display:none}
.chat-lead input:not([type=checkbox]),.chat-lead select,.chat-lead textarea{width:100%;padding:9px;border:1px solid var(--line);border-radius:8px;font:inherit;font-size:.85rem}
.chat-lead textarea{min-height:55px}.chat-lead small{font-size:.7rem;color:var(--muted)}
.chat-consent{display:flex;align-items:flex-start;gap:6px;font-size:.75rem}.chat-cancel{background:transparent;border:0;cursor:pointer}
@media(max-width:680px){.chat-widget.is-open .chat-panel{max-height:min(82dvh,680px)}.chat-lead{max-height:35dvh}}
