#zc-chat{position:fixed;bottom:calc(24px + env(safe-area-inset-bottom,0px));right:24px;width:min(380px,calc(100% - 48px));z-index:2147482990;display:flex;flex-direction:column;align-items:flex-end;pointer-events:none;font-family:Arial,sans-serif;letter-spacing:0;color:#202427;font-size:14px;line-height:1.5;text-align:start}
#zc-chat *{box-sizing:border-box;letter-spacing:0}
#zc-chat [hidden]{display:none!important}
#zc-chat button{font:inherit;cursor:pointer;border:0;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 14px;background:#f1f3f4;color:#202427;border-radius:4px;line-height:1.4;margin:0;white-space:normal}
#zc-chat button:disabled{opacity:.55;cursor:wait}
#zc-chat button:focus-visible,#zc-chat textarea:focus-visible{outline:2px solid #168167;outline-offset:2px}
#zc-chat .zc-launcher{width:56px;height:56px;border-radius:50%;background:#ba2430;color:#fff;box-shadow:0 3px 14px #0003}
#zc-chat .zc-launcher:hover{background:#9f1e29;box-shadow:0 4px 16px #0004}
body.zc-chat-enabled #toTop{right:24px!important;bottom:calc(92px + env(safe-area-inset-bottom,0px))!important;width:56px;height:56px;line-height:56px;border-radius:50%;background:#ba2430;color:#fff;border:0;box-shadow:0 3px 14px #0003;transition:opacity .15s,background .15s,color .15s}
body.zc-chat-enabled #toTop.fusion-to-top-active{opacity:1}
body.zc-chat-enabled #toTop:before{line-height:56px;font-family:dashicons;font-size:22px;font-weight:400;content:"\f343";color:inherit}
body.zc-chat-enabled #toTop:hover{background:#9f1e29;color:#fff;box-shadow:0 4px 16px #0004}
body.zc-chat-open #toTop{visibility:hidden!important;opacity:0!important;pointer-events:none}
#zc-chat .dashicons{font-size:22px;width:22px;height:22px;flex-shrink:0}
#zc-chat .zc-panel{width:100%;height:min(570px,calc(100dvh - 100px));min-height:min(300px,calc(100dvh - 100px));display:flex;flex-direction:column;background:#fff;border:1px solid #d9dfe1;border-radius:8px;box-shadow:0 8px 30px #0003;overflow:hidden;margin-bottom:12px;pointer-events:auto}
#zc-chat .zc-launcher{pointer-events:auto}
#zc-chat header{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;background:#ba2430;color:#fff;gap:12px;flex-shrink:0}
#zc-chat header strong{font-size:17px;color:inherit;font-weight:600}
#zc-chat header small{display:block;font-size:12px;opacity:.9}
#zc-chat header button{padding:4px;width:32px;height:32px;background:transparent;color:#fff;flex-shrink:0}
#zc-chat .zc-modes{display:flex;gap:4px;padding:10px 12px;border-bottom:1px solid #e5e8ea;flex-shrink:0}
#zc-chat .zc-modes button{flex:1;min-width:0;overflow-wrap:anywhere;font-size:13px;padding:8px}
#zc-chat .zc-modes [aria-pressed=true]{background:#e5f3ee;color:#14634d}
#zc-chat .zc-log{flex:1;overflow:auto;padding:16px;min-height:0;overscroll-behavior:contain}
#zc-chat .zc-message{white-space:pre-wrap;overflow-wrap:anywhere;margin:0 0 12px;padding:10px 12px;max-width:94%;background:#f1f3f4;border-radius:6px;color:#202427;font-size:14px}
#zc-chat .zc-user{margin-inline-start:auto;background:#e7f3ee}
#zc-chat .zc-status{font-size:12px;color:#8b2630;padding:0 16px;overflow-wrap:anywhere;min-height:18px;flex-shrink:0}
#zc-chat .zc-notice{font-size:11px;line-height:1.4;color:#646b70;margin:0;padding:8px 14px;border-top:1px solid #e5e8ea;flex-shrink:0}
#zc-chat form{display:flex;align-items:flex-end;gap:8px;padding:10px 12px;flex-shrink:0}
#zc-chat textarea{resize:none;width:100%;min-width:0;min-height:44px;max-height:120px;border:1px solid #ccd2d5;border-radius:4px;font:inherit;padding:10px;background:#fff;color:#202427;margin:0}
#zc-chat form button{width:44px;height:44px;flex-shrink:0;background:#ba2430;color:#fff;padding:10px}
#zc-chat .zc-human{display:flex;flex-direction:column;min-height:0;flex:1;position:relative;overflow:hidden}
#zc-chat .zc-summary{flex-shrink:0;border-bottom:1px solid #e5e8ea;padding:8px 12px;background:#fafbfb;max-height:45%;overflow:auto;font-size:12px}
#zc-chat .zc-summary summary{cursor:pointer;color:#555f63}
#zc-chat .zc-summary textarea{height:72px;min-height:44px;margin:8px 0;font-size:12px}
#zc-chat .zc-use-summary{font-size:12px;background:#e5f3ee;padding:6px 10px}
#zc-chat .zc-summary-status{display:block;font-size:12px;color:#8b2630;margin-top:4px}
#zc-chat .zc-live-stage{flex:1;min-height:0;overflow:hidden}
#zc-chat #zc-live-mount,#zc-chat #zc-live-widget{width:100%;height:100%;min-height:0}
#zc-chat #zc-live-widget>div{position:relative!important;overflow:hidden!important;width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;max-width:100%!important;max-height:100%!important}
#zc-chat #zc-live-widget iframe{width:100%!important;height:100%!important;min-height:0!important;border:0}
#zc-chat .zc-live-feedback{position:absolute;inset:0;z-index:2;background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;padding:24px;text-align:center;color:#646b70}
#zc-chat .zc-live-feedback.zc-connecting:before{content:"";width:22px;height:22px;border:2px solid #e5e8ea;border-top-color:#ba2430;border-radius:50%;animation:zc-chat-spin .8s linear infinite}
#zc-chat .zc-contact{color:#8f202d;text-decoration:underline;font-size:12px}
@keyframes zc-chat-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){#zc-chat .zc-live-feedback.zc-connecting:before{animation:none}}
@media(max-width:480px){#zc-chat{right:16px;width:calc(100% - 32px);bottom:calc(16px + env(safe-area-inset-bottom,0px))}#zc-chat .zc-panel{height:min(560px,calc(100dvh - 96px))}body.zc-chat-enabled #toTop{right:16px!important;bottom:calc(84px + env(safe-area-inset-bottom,0px))!important}}
