#zcWidget{position:fixed;right:22px;bottom:max(22px,env(safe-area-inset-bottom));z-index:10000;font:14px/1.5 'DM Sans',system-ui,sans-serif;color:#203b57}#zcWidget *{box-sizing:border-box}#zcWidget [hidden]{display:none!important}#zcWidget button{font:600 13px/1.4 'DM Sans',system-ui,sans-serif;cursor:pointer;border:0;border-radius:11px;background:#1677dc;color:#fff;padding:12px 17px}#zcWidget button:disabled{cursor:wait;opacity:.6}#zcWidget a{color:#1267bd;text-decoration:none}#zcWidget :focus-visible{outline:3px solid #81bafb;outline-offset:3px}
#zcWidget #zcChatToggle{display:flex;align-items:center;gap:10px;min-height:52px;padding:14px 20px;border-radius:16px;box-shadow:0 8px 26px #1c5ca32c;margin-left:auto;background:#1677dc}#zcUnread{display:grid;place-items:center;min-width:22px;height:22px;padding:0 5px;background:#fff;color:#1267bd;border-radius:50%;font-size:11px}
#zcChatPanel{position:absolute;bottom:calc(100% + 12px);right:0;width:390px;max-width:calc(100vw - 28px);height:640px;max-height:calc(100dvh - 110px);display:flex;flex-direction:column;background:#fff;border:1px solid #dbe7f2;border-radius:22px;overflow:hidden;box-shadow:0 18px 70px #17385829}
#zcChatPanel header{display:flex;justify-content:space-between;align-items:center;gap:10px;background:#fff;padding:18px 20px;flex:none}#zcChatPanel header small{display:block;font-size:10px;color:#667e96;margin-top:3px}#zcWidget #zcChatClose{display:grid;place-items:center;width:36px;height:36px;flex:none;font-size:24px;font-weight:400;background:#f3f7fc;color:#48637f;padding:0;border-radius:50%}.zc-agent-head{display:flex;align-items:center;gap:10px;min-width:0}.zc-agent-head>div:last-child{min-width:0}#zcAgentName{display:block;font-size:14px;font-weight:750;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#zcAgentAvatar{width:40px;height:40px;flex:none;border-radius:13px;display:grid;place-items:center;overflow:hidden;background:#e9f3ff;color:#1677dc;font-weight:800}#zcAgentAvatar img{width:100%;height:100%;object-fit:cover}.zc-status-dot{display:inline-block;width:6px;height:6px;border-radius:50%;margin-right:3px;vertical-align:middle}.zc-status-dot.online{background:#188754}.zc-status-dot.offline{background:#889cb1}
#zcWidget .zc-channel-switch{display:flex;gap:5px;background:#f1f5fa;padding:5px;margin:0 18px 14px;border-radius:12px;flex:none}#zcWidget .zc-channel-switch button{flex:1;padding:9px;color:#647a90;background:transparent;font-size:12px}#zcWidget .zc-channel-switch button[aria-pressed=true]{background:#fff;color:#1677dc;box-shadow:0 2px 5px #1d47700a}#zcWidget #zcWhatsAppChannel[aria-pressed=true]{color:#188754}
#zcLiveContent{display:flex;flex-direction:column;min-height:0;flex:1}#zcChatMessages{min-height:90px;flex:1;overflow:auto;overscroll-behavior:contain;background:#f7faff;padding:18px;border-block:1px solid #eaf0f7;scrollbar-width:thin}.zc-welcome-label{font-size:9px;letter-spacing:1.4px;font-weight:700;color:#1677dc}.zc-welcome h3{font-size:18px;font-weight:650;letter-spacing:-.4px;margin:8px 0;line-height:1.35}#zcWidget .zc-chat-hint{font-size:12px;color:#657c93;line-height:1.7;margin:0 0 14px}#zcWidget .zc-quick-questions{display:flex;flex-wrap:wrap;gap:6px}#zcWidget .zc-quick-questions button{font-size:10px;padding:7px 10px;color:#2169b2;background:white;border:1px solid #d9e7f6;border-radius:20px}
#zcWidget .zc-chat-message{border:1px solid #e1eaf5;background:#fff;border-radius:13px 13px 13px 4px;padding:11px 12px;font-size:12px;margin:12px 0;max-width:91%;overflow-wrap:anywhere}#zcWidget .zc-chat-message.visitor{background:#eaf3ff;border-color:#dbeaff;margin-left:auto;border-radius:13px 13px 4px 13px}#zcWidget .zc-chat-message strong{font-size:10px;color:#4b6b8a}#zcWidget .zc-chat-message p{white-space:pre-wrap;margin:6px 0;line-height:1.6;color:#203b57}#zcWidget .zc-chat-message small{font-size:9px;color:#71849a}#zcWidget .zc-chat-message a{text-decoration:underline}
#zcChatStatus{padding:0 18px;margin:8px 0 0;font-size:11px;color:#936044}#zcChatStatus:empty{display:none}#zcChatForm{padding:14px 18px;max-height:57%;overflow:auto;flex:none}#zcChatForm label{font-size:11px;font-weight:600;display:block;color:#5b718a;margin:0 0 9px}#zcChatForm .zc-identity{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:10px}#zcChatForm input,#zcChatForm textarea{display:block;width:100%;min-width:0;border:1px solid #dce6f1;border-radius:9px;padding:10px;font:13px/1.4 system-ui;color:#214365;background:#fcfdff;margin:5px 0 0;resize:none}#zcChatForm #zcChatSend{width:100%;display:flex;justify-content:space-between;align-items:center;min-height:42px}#zcWidget .zc-panel-foot{padding:10px 16px;font-size:10px;color:#8392a4;border-top:1px solid #edf2f8;text-align:center;flex:none}.zc-panel-foot span{margin:0 6px}
#zcWhatsAppContent{flex:1;overflow:auto;padding:25px 25px 30px;text-align:center;background:linear-gradient(#f8fcfa,#fff)}.zc-wa-mark{display:grid;place-items:center;width:66px;height:66px;margin:0 auto 22px;border-radius:20px;background:#e8f6ef;color:#188754}#zcWhatsAppContent h3{font-size:23px;letter-spacing:-.6px;line-height:1.2;margin:0 0 14px}#zcWhatsAppContent p{font-size:13px;line-height:1.8;color:#657c93;margin-bottom:25px}#zcWidget .zc-wa-cta{display:flex;justify-content:space-between;padding:15px 18px;background:#188754;color:white;border-radius:12px;font-weight:650;font-size:13px}#zcWidget .zc-wa-web{display:block;font-size:12px;padding:16px;color:#356a51}#zcWhatsAppContent small{display:block;font-size:10px;color:#7c8e9c;line-height:1.7;margin-top:12px}
@media(max-width:600px){#zcWidget{right:14px;bottom:max(14px,env(safe-area-inset-bottom))}#zcChatPanel{width:calc(100vw - 28px);max-height:calc(100dvh - 94px);border-radius:19px}#zcChatForm input,#zcChatForm textarea{font-size:16px}#zcWidget #zcChatToggle{min-height:48px;padding:12px 16px;font-size:12px}#zcChatPanel header{padding:15px 18px}}@media(max-height:550px){#zcChatPanel{height:calc(100dvh - 24px);max-height:calc(100dvh - 24px);bottom:0}#zcChatPanel header{padding:10px 14px}#zcWidget .zc-channel-switch{margin-bottom:6px}#zcChatForm{padding:10px 14px;max-height:55%}.zc-welcome{display:none}}
@media(prefers-reduced-motion:no-preference){#zcWidget button,#zcWidget a{transition:background .18s,box-shadow .18s}#zcWidget #zcChatToggle:hover{background:#1267bd}#zcChatPanel{animation:zc-reveal .18s ease-out}@keyframes zc-reveal{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}}
