.sz-chat{margin:16px 0;border:1px solid #cfddd5;border-radius:18px;background:#fff;color:#17372d;overflow:hidden;text-align:left}
.sz-chat[hidden],.sz-chat [hidden]{display:none!important}
.sz-chat-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:17px 18px;font-weight:750;cursor:pointer;list-style:none;font-size:1rem}
.sz-chat-heading:after{content:'+';font-size:1.4rem;line-height:1}.sz-chat[open]>.sz-chat-heading:after{content:'−'}.sz-chat-heading::-webkit-details-marker{display:none}
.sz-chat-badge{background:#dff0a8;color:#203c2b;padding:3px 9px;border-radius:20px;font-size:.8rem;margin-left:auto;white-space:nowrap}
.sz-chat-body{border-top:1px solid #e0e7e2;padding:0 16px 16px}.sz-chat-privacy,.sz-chat-retention{font-size:.78rem;line-height:1.45;color:#65776e;margin:12px 0}.sz-chat-retention{margin-bottom:0}
.sz-chat-messages{display:flex;flex-direction:column;align-items:flex-start;gap:10px;max-height:320px;overflow-y:auto;overscroll-behavior:contain;padding:10px 3px;scrollbar-width:thin}
.sz-chat-empty{font-size:.9rem;color:#65776e;margin:12px 0}.sz-chat-message{max-width:92%;padding:11px 13px;border-radius:14px 14px 14px 3px;background:#f1f4ef;overflow-wrap:anywhere;min-width:130px}
.sz-chat-message.is-mine{align-self:flex-end;background:#e2efd6;border-radius:14px 14px 3px 14px}
.sz-chat-meta{display:flex;gap:14px;justify-content:space-between;font-size:.7rem;color:#53695c}.sz-chat-meta strong{font-size:inherit}.sz-chat-text{white-space:pre-wrap;font-size:.93rem;line-height:1.5;margin:5px 0 0}
.sz-chat-photo{display:block;max-width:100%;max-height:420px;object-fit:contain;margin-top:8px;border-radius:9px}
.sz-chat .sz-chat-photo-button{font-size:.82rem;min-height:36px;padding:6px 10px;margin-top:7px}
.sz-chat-quick{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0}.sz-chat .sz-chat-quick button{font-size:.78rem;min-height:36px;padding:7px 10px;margin:0;border:1px solid #d5dfd8;background:#fff;color:#315442;border-radius:18px}
.sz-chat-form{margin:0}.sz-chat-input-label{display:block;font-size:.85rem;font-weight:650}.sz-chat textarea{display:block;box-sizing:border-box;width:100%;min-height:74px;resize:vertical;margin:7px 0 10px;border:1px solid #b8cbbf;border-radius:12px;padding:12px;font:inherit;font-size:16px;background:white;color:#17372d}
.sz-chat-actions{display:flex;justify-content:space-between;gap:10px}.sz-chat .sz-chat-actions button{width:auto;margin:0;min-height:44px;font-size:.9rem;padding:10px 17px;border-radius:12px}.sz-chat button:disabled{opacity:.6;cursor:wait}
.sz-chat-preview{display:flex;align-items:center;gap:10px;padding:8px 0}.sz-chat-preview img{width:80px;height:80px;object-fit:cover;border-radius:10px}.sz-chat .sz-chat-preview button{font-size:.8rem;min-height:40px;padding:8px 10px}
.sz-chat-state{font-size:.84rem;line-height:1.4;padding:8px 10px;background:#f5f4e8;border-radius:9px;margin:8px 0}.sz-chat summary:focus-visible,.sz-chat button:focus-visible,.sz-chat textarea:focus-visible{outline:3px solid #87a953;outline-offset:3px}
@media(max-width:480px){.sz-chat-heading{padding:15px}.sz-chat-body{padding:0 12px 12px}.sz-chat-message{max-width:94%}.sz-chat-messages{max-height:280px}.sz-chat .sz-chat-actions button{padding:10px 13px}}
