/* Rosh & Zander website chat. Colors come from CRM > Settings > Business Details (--rzc-a accent, --rzc-d dark). */
.rzchat{--rzc-a:#b48a39;--rzc-d:#25242a;--rzc-paper:#ffffff;--rzc-soft:#f6f3ee;--rzc-line:#e6e1d8;--rzc-ink:#25242a;--rzc-muted:#6f6b74;position:fixed;right:22px;bottom:22px;z-index:99990;font-family:inherit;font-size:15px;line-height:1.5;color:var(--rzc-ink)}
.rzchat[data-pos="left"]{right:auto;left:22px}
.rzchat *,.rzchat *::before,.rzchat *::after{box-sizing:border-box}
.rzchat :where(button,input,textarea){font:inherit;color:inherit;letter-spacing:normal;text-transform:none}
.rzchat-launch{display:inline-flex;align-items:center;gap:10px;padding:13px 20px 13px 16px;border:0;border-radius:999px;background:var(--rzc-d);color:#fff;font-weight:600;cursor:pointer;box-shadow:0 10px 30px rgba(20,18,24,.28),inset 0 0 0 1px rgba(255,255,255,.08);transition:transform .15s ease,box-shadow .15s ease}
.rzchat-launch svg{width:22px;height:22px;color:var(--rzc-a)}
.rzchat-launch:hover{transform:translateY(-2px);box-shadow:0 14px 34px rgba(20,18,24,.32)}
.rzchat-launch:focus-visible,.rzchat button:focus-visible,.rzchat a:focus-visible{outline:3px solid var(--rzc-a);outline-offset:2px}
.rzchat.is-open .rzchat-launch{display:none}
.rzchat-panel{position:absolute;right:0;bottom:0;width:380px;max-width:calc(100vw - 32px);height:min(620px,calc(100vh - 44px));display:flex;flex-direction:column;background:var(--rzc-paper);border-radius:16px;overflow:hidden;box-shadow:0 24px 60px rgba(20,18,24,.3),0 0 0 1px rgba(20,18,24,.06)}
.rzchat[data-pos="left"] .rzchat-panel{right:auto;left:0}
.rzchat-panel[hidden]{display:none}
.rzchat-head{display:flex;align-items:center;gap:12px;padding:16px 16px 15px;background:var(--rzc-d);color:#fff;border-bottom:3px solid var(--rzc-a)}
.rzchat-head div{flex:1;min-width:0}
.rzchat-head strong{display:block;font-family:Georgia,"Times New Roman",serif;font-size:18px;font-weight:600;line-height:1.2}
.rzchat-head small{display:block;color:#cfcad4;font-size:12.5px;line-height:1.35;margin-top:2px}
.rzchat-avatar{flex:none;width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:var(--rzc-a);color:var(--rzc-d);font-family:Georgia,serif;font-weight:700;font-size:15px;overflow:hidden}
.rzchat-avatar img{width:100%;height:100%;object-fit:contain;background:#fff}
.rzchat-x{flex:none;width:34px;height:34px;border:0;border-radius:50%;background:rgba(255,255,255,.08);color:#fff;font-size:22px;line-height:1;cursor:pointer}
.rzchat-x:hover{background:rgba(255,255,255,.16)}
.rzchat-body{flex:1;overflow-y:auto;padding:18px 16px 8px;background:var(--rzc-soft);display:flex;flex-direction:column;gap:10px;overscroll-behavior:contain}
.rzchat-msg{max-width:88%}
.rzchat-msg p{margin:0;padding:11px 14px;border-radius:14px;white-space:normal;word-wrap:break-word}
.rzchat-msg.bot p{background:#fff;border:1px solid var(--rzc-line);border-top-left-radius:4px}
.rzchat-msg.me{align-self:flex-end}
.rzchat-msg.me p{background:var(--rzc-d);color:#fff;border-top-right-radius:4px}
.rzchat-link{display:inline-block;margin:7px 0 0 4px;color:var(--rzc-d);font-weight:600;text-decoration:none;border-bottom:2px solid var(--rzc-a)}
.rzchat-link:hover{color:var(--rzc-a)}
.rzchat-chips{display:flex;flex-wrap:wrap;gap:7px;margin-top:8px}
.rzchat-chips.start{margin:-2px 0 4px}
.rzchat-chips button{border:1px solid var(--rzc-line);background:#fff;border-radius:999px;padding:7px 13px;font-size:13.5px;cursor:pointer;text-align:left;line-height:1.3}
.rzchat-chips button:hover{border-color:var(--rzc-a);color:var(--rzc-d)}
.rzchat-chips button.primary{background:var(--rzc-a);border-color:var(--rzc-a);color:#fff;font-weight:600}
.rzchat-chips button.primary:hover{filter:brightness(.95);color:#fff}
.rzchat-msg.typing p{display:flex;gap:4px;padding:14px}
.rzchat-msg.typing span{width:7px;height:7px;border-radius:50%;background:#b8b3bd;animation:rzchat-dot 1s infinite}
.rzchat-msg.typing span:nth-child(2){animation-delay:.15s}.rzchat-msg.typing span:nth-child(3){animation-delay:.3s}
@keyframes rzchat-dot{0%,80%,100%{opacity:.3}40%{opacity:1}}
.rzchat-input{display:flex;align-items:flex-end;gap:8px;padding:10px 12px;background:#fff;border-top:1px solid var(--rzc-line)}
.rzchat-input textarea{flex:1;resize:none;border:1px solid var(--rzc-line);border-radius:12px;padding:10px 12px;min-height:42px;max-height:110px;background:#fff;outline:none}
.rzchat-input textarea:focus{border-color:var(--rzc-a);box-shadow:0 0 0 3px rgba(180,138,57,.18)}
.rzchat-input button{flex:none;width:42px;height:42px;border:0;border-radius:50%;background:var(--rzc-a);color:#fff;display:grid;place-items:center;cursor:pointer}
.rzchat-input button svg{width:20px;height:20px}
.rzchat-foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px 10px;padding:8px 14px 11px;background:#fff;font-size:12px;color:var(--rzc-muted)}
.rzchat-human{border:0;background:none;padding:0;color:var(--rzc-d);font-weight:600;text-decoration:underline;text-decoration-color:var(--rzc-a);text-underline-offset:3px;cursor:pointer;font-size:12.5px}
.rzchat-form{background:#fff;border:1px solid var(--rzc-line);border-radius:14px;padding:14px;display:grid;gap:9px}
.rzchat-form-intro{margin:0;font-weight:600;font-size:14px}
.rzchat-form label{display:grid;gap:3px;font-size:12.5px;color:var(--rzc-muted)}
.rzchat-form input,.rzchat-form textarea{width:100%;border:1px solid var(--rzc-line);border-radius:8px;padding:9px 10px;font-size:14.5px;color:var(--rzc-ink);background:#fff}
.rzchat-form input:focus,.rzchat-form textarea:focus{outline:none;border-color:var(--rzc-a);box-shadow:0 0 0 3px rgba(180,138,57,.18)}
.rzchat-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
.rzchat-err{margin:0;color:#a12424;font-size:13px;min-height:0}
.rzchat-err:empty{display:none}
.rzchat-form-actions{display:flex;gap:8px;align-items:center}
.rzchat-send{border:0;border-radius:8px;background:var(--rzc-d);color:#fff;font-weight:600;padding:10px 16px;cursor:pointer}
.rzchat-send[disabled]{opacity:.6}
.rzchat-cancel{border:0;background:none;color:var(--rzc-muted);cursor:pointer;text-decoration:underline}
.rzchat-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
@media (max-width:520px){
  .rzchat{right:14px;bottom:14px}.rzchat[data-pos="left"]{left:14px}
  .rzchat-launch span{display:none}.rzchat-launch{padding:15px}
  .rzchat.is-open{left:0;right:0;bottom:0}
  .rzchat-panel{position:fixed;left:0;right:0;bottom:0;width:100%;max-width:none;height:min(88vh,640px);border-radius:16px 16px 0 0}
}
@media (prefers-reduced-motion:reduce){.rzchat-launch,.rzchat-msg.typing span{transition:none;animation:none}}
