#dpc-root,#dpc-root *,#dpc-root *::before,#dpc-root *::after{box-sizing:border-box}#dpc-root{font-family:-apple-system,BlinkMacSystemFont,'Inter','Segoe UI',Roboto,sans-serif;font-size:14px;color:#374348;line-height:1.5}:where(#dpc-root button){font-family:inherit;border:none;cursor:pointer;background:none;padding:0}.dpc-launcher{position:fixed;bottom:20px;right:16px;z-index:999999;display:flex;align-items:flex-end;gap:10px;pointer-events:none}.dpc-launcher>*{pointer-events:auto}.dpc-bubble{background:#fff!important;border-radius:18px;padding:14px 18px!important;max-width:270px;box-shadow:0 18px 40px rgb(0 0 0 / .3),0 6px 14px rgb(0 0 0 / .18),0 0 0 1px rgb(0 0 0 / .05);text-align:left;font-size:14px;line-height:1.5;color:#1F2A30!important;position:relative;animation:dpc-fade-in 0.35s ease-out both;border-top:3px solid #94C552!important}.dpc-bubble::after{content:'';position:absolute;right:-6px;bottom:20px;width:12px;height:12px;background:#fff;box-shadow:2px 2px 4px rgb(0 0 0 / .08);transform:rotate(-45deg)}.dpc-bubble strong{color:#1F2A30;font-weight:700}.dpc-avatar-btn{position:relative;width:64px;height:64px;border-radius:50%;box-shadow:0 10px 24px rgb(46 90 120 / .35);transition:transform 0.2s ease;flex-shrink:0;background:#fff;padding:3px;border:2px solid rgb(148 197 82 / .4)}.dpc-avatar-btn:hover{transform:scale(1.06)}.dpc-avatar-btn img{width:100%;height:100%;border-radius:50%;object-fit:cover;display:block}.dpc-avatar-btn .dpc-online-dot{position:absolute;bottom:2px;right:2px;width:14px;height:14px;background:#94C552;border:2px solid #fff;border-radius:50%}.dpc-window{position:fixed;bottom:16px;right:16px;z-index:999999;width:380px;max-width:calc(100vw - 24px);height:580px;max-height:calc(100dvh - 32px);background:#fff;border-radius:18px;box-shadow:0 24px 60px rgb(20 30 50 / .25);display:flex;flex-direction:column;overflow:hidden;border:1px solid rgb(0 0 0 / .06);animation:dpc-slide-up 0.3s ease-out}@media (max-width:480px){.dpc-window{bottom:0;right:0;width:100vw;height:100dvh;max-height:100dvh;border-radius:0}}.dpc-header{background:linear-gradient(135deg,#3E78A0 0%,#2F5A78 100%);padding:14px 18px;display:flex;align-items:center;gap:12px;flex-shrink:0}.dpc-header img{width:40px;height:40px;border-radius:50%;object-fit:cover;border:2px solid rgb(255 255 255 / .25)}.dpc-header-info{flex:1;min-width:0}.dpc-header-info .dpc-name{color:#fff;font-weight:600;font-size:14px;margin:0}.dpc-header-info .dpc-status{color:rgb(255 255 255 / .75);font-size:12px;margin:2px 0 0;display:flex;align-items:center;gap:6px}.dpc-header-info .dpc-status::before{content:'';width:8px;height:8px;background:#94C552;border-radius:50%;display:inline-block;animation:dpc-pulse 1.8s ease-in-out infinite}.dpc-close{color:rgb(255 255 255 / .7);width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;transition:background 0.15s ease,color 0.15s ease;font-size:20px;line-height:1}.dpc-close:hover{background:rgb(255 255 255 / .15);color:#fff}.dpc-messages{flex:1;overflow-y:auto;background:linear-gradient(180deg,#CFDCE6 0%,#BFCDD9 100%);padding:16px 14px;display:flex;flex-direction:column;gap:10px}.dpc-msg{display:flex;align-items:flex-start;gap:8px}.dpc-msg.dpc-from-user{justify-content:flex-end}.dpc-msg-avatar{width:28px;height:28px;border-radius:50%;object-fit:cover;flex-shrink:0;margin-top:2px}.dpc-msg-bubble{max-width:270px;padding:10px 14px;border-radius:16px;font-size:14px;line-height:1.45;word-wrap:break-word}.dpc-from-agent .dpc-msg-bubble{background:#fff;color:#374348;border-top-left-radius:4px;box-shadow:0 4px 12px rgb(20 30 50 / .14),0 1px 3px rgb(20 30 50 / .08);border:1px solid rgb(20 30 50 / .06)}.dpc-from-user .dpc-msg-bubble{background:linear-gradient(135deg,#3E78A0 0%,#2F5A78 100%);color:#fff;border-top-right-radius:4px;max-width:240px}.dpc-msg-bubble strong{color:inherit;font-weight:600}.dpc-from-agent .dpc-msg-bubble strong{color:#2F5A78}.dpc-options{display:flex;flex-wrap:wrap;gap:8px;margin:4px 0 0 36px}.dpc-options button{background:linear-gradient(135deg,#94C552 0%,#5B8B32 100%);color:#fff;font-size:13px;font-weight:500;padding:8px 16px;border-radius:999px;transition:transform 0.15s ease,box-shadow 0.15s ease,opacity 0.15s ease;white-space:nowrap}.dpc-options button:hover{transform:translateY(-1px);box-shadow:0 6px 14px rgb(91 139 50 / .32)}.dpc-options button:disabled{opacity:.55;cursor:not-allowed;transform:none}.dpc-typing{display:flex;align-items:flex-start;gap:8px}.dpc-typing-bubble{background:#fff;border-radius:16px;border-top-left-radius:4px;padding:12px 16px;display:flex;gap:5px;box-shadow:0 2px 6px rgb(20 30 50 / .06);border:1px solid rgb(0 0 0 / .04)}.dpc-typing-bubble span{width:7px;height:7px;background:#94C552;border-radius:50%;animation:dpc-bounce 1.2s infinite ease-in-out}.dpc-typing-bubble span:nth-child(2){animation-delay:0.15s}.dpc-typing-bubble span:nth-child(3){animation-delay:0.3s}.dpc-input-wrap{padding:12px 14px;background:#fff;border-top:1px solid rgb(0 0 0 / .06);flex-shrink:0}.dpc-input-row{display:flex;align-items:center;gap:8px;background:#EDF2F6;border:1px solid rgb(0 0 0 / .05);border-radius:999px;padding:6px 6px 6px 16px;transition:border-color 0.15s ease,box-shadow 0.15s ease}.dpc-input-row:focus-within{border-color:#94C552;box-shadow:0 0 0 3px rgb(148 197 82 / .2)}.dpc-input-row input{flex:1;background:#fff0;border:none;outline:none;font-size:14px;color:#374348;padding:6px 0;min-width:0;font-family:inherit}.dpc-input-row input::placeholder{color:#9AA0A6}.dpc-send-btn{width:36px;height:36px;border-radius:50%;background:linear-gradient(135deg,#94C552 0%,#5B8B32 100%);color:#fff;display:flex;align-items:center;justify-content:center;transition:transform 0.15s ease,box-shadow 0.15s ease;flex-shrink:0}.dpc-send-btn:hover{transform:scale(1.05);box-shadow:0 4px 10px rgb(91 139 50 / .32)}.dpc-send-btn svg{width:16px;height:16px}.dpc-complete-note{text-align:center;font-size:12px;color:#7A7A7A;padding:12px 14px;background:#fff;border-top:1px solid rgb(0 0 0 / .06)}@keyframes dpc-fade-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes dpc-slide-up{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}@keyframes dpc-pulse{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.6;transform:scale(.85)}}@keyframes dpc-bounce{0%,80%,100%{transform:translateY(0);opacity:.6}40%{transform:translateY(-5px);opacity:1}}#dpc-root .dpc-bubble{white-space:normal;overflow-wrap:anywhere}