.zchat{--zr:#d61220;--zk:#111;position:fixed;right:20px;bottom:20px;z-index:70;font-family:'Archivo Variable',Arial,sans-serif}
.zchat__fab{width:60px;height:60px;border-radius:50%;border:0;background:var(--zr);color:#fff;display:grid;place-items:center;cursor:pointer;box-shadow:0 8px 24px rgba(0,0,0,.25);transition:transform .2s}
.zchat__fab:hover{transform:scale(1.06)}.zchat__fab:focus-visible{outline:3px solid #ff6b74;outline-offset:3px}
.zchat__panel{position:absolute;right:0;bottom:76px;width:min(370px,calc(100vw - 32px));height:min(540px,calc(100vh - 120px));background:#fff;border-radius:10px;box-shadow:0 18px 50px rgba(0,0,0,.28);display:flex;flex-direction:column;overflow:hidden;border-top:4px solid var(--zr)}
.zchat__panel[hidden]{display:none}
.zchat__head{display:flex;gap:10px;align-items:center;padding:12px 14px;background:var(--zk);color:#fff}
.zchat__head div{flex:1;display:flex;flex-direction:column;line-height:1.25}.zchat__head span{font-size:.78rem;color:#bbb}
.zchat__close{background:none;border:0;color:#fff;font-size:1.6rem;line-height:1;cursor:pointer;padding:0 4px}
.zchat__log{flex:1;overflow-y:auto;padding:14px;display:flex;flex-direction:column;gap:8px;background:#f6f5f2}
.zchat__msg{max-width:85%;padding:9px 12px;border-radius:12px;font-size:.92rem;line-height:1.45;white-space:pre-wrap;word-wrap:break-word}
.zchat__msg--bot{background:#fff;color:var(--zk);border:1px solid #e6e3dc;align-self:flex-start;border-bottom-left-radius:3px}
.zchat__msg--me{background:var(--zr);color:#fff;align-self:flex-end;border-bottom-right-radius:3px}
.zchat__msg a{display:inline-block;margin:6px 6px 0 0;padding:5px 10px;border-radius:999px;background:var(--zk);color:#fff;text-decoration:none;font-size:.8rem}
.zchat__typing{font-size:.85rem;color:#777;align-self:flex-start}
.zchat__chips{display:flex;flex-wrap:wrap;gap:6px;padding:8px 12px 0;background:#fff}
.zchat__chips button{border:1px solid #d9d6cf;background:#fff;border-radius:999px;padding:5px 11px;font:inherit;font-size:.8rem;cursor:pointer}
.zchat__chips button:hover{border-color:var(--zr);color:var(--zr)}
.zchat__form{display:flex;gap:6px;padding:10px 12px;background:#fff}
.zchat__form input{flex:1;min-height:42px;border:1px solid #c8c8c8;border-radius:999px;padding:0 14px;font:inherit;font-size:.92rem}
.zchat__form input:focus{outline:none;border-color:var(--zr);box-shadow:0 0 0 3px rgba(214,18,32,.15)}
.zchat__form button{width:42px;height:42px;border-radius:50%;border:0;background:var(--zr);color:#fff;cursor:pointer;font-size:1rem}
.zchat__note{margin:0;padding:0 12px 10px;font-size:.72rem;color:#777;background:#fff}.zchat__note a{color:var(--zr)}
@media (max-width:480px){.zchat{right:14px;bottom:14px}.zchat__panel{position:fixed;inset:auto 8px 86px 8px;width:auto}}
@media (prefers-reduced-motion:reduce){.zchat__fab{transition:none}}
