#dcw-root{position:fixed;bottom:24px;right:24px;z-index:98000;font-family:var(--font-b,'DM Sans',sans-serif)}
#dcw-fab{width:60px;height:60px;border-radius:50%;background:var(--orange,#E8621A);color:#fff;border:none;cursor:pointer;box-shadow:0 8px 24px rgba(232,98,26,.35);display:flex;align-items:center;justify-content:center;transition:transform .2s ease,box-shadow .2s ease}
#dcw-fab:hover{transform:scale(1.06);box-shadow:0 10px 30px rgba(232,98,26,.45)}
#dcw-panel{position:fixed;bottom:98px;right:24px;width:380px;max-width:calc(100vw - 32px);height:560px;max-height:calc(100vh - 130px);background:#fff;box-shadow:0 25px 60px rgba(0,0,0,.25);display:flex;flex-direction:column;overflow:hidden;opacity:0;transform:translateY(16px) scale(.98);pointer-events:none;transition:transform .28s cubic-bezier(0.4,0,0.2,1),opacity .28s cubic-bezier(0.4,0,0.2,1)}
#dcw-panel.dcw-open{opacity:1;transform:translateY(0) scale(1);pointer-events:auto}
#dcw-header{background:linear-gradient(135deg,var(--orange,#E8621A),var(--orange-lt,#F27B3A));color:#fff;padding:1rem 1.15rem;display:flex;align-items:center;justify-content:space-between;flex-shrink:0}
#dcw-header-title{font-family:var(--font-d,'Sora',sans-serif);font-weight:600;font-size:1.02rem;display:flex;align-items:center;gap:.5rem}
#dcw-header-dot{width:8px;height:8px;border-radius:50%;background:#8CF2A0;box-shadow:0 0 0 3px rgba(255,255,255,.25);flex-shrink:0}
#dcw-close{background:rgba(255,255,255,.18);border:none;color:#fff;width:28px;height:28px;border-radius:50%;cursor:pointer;font-size:.85rem;display:flex;align-items:center;justify-content:center;transition:background .15s}
#dcw-close:hover{background:rgba(255,255,255,.32)}
#dcw-body{flex:1;overflow-y:auto;padding:1rem 1rem .5rem;background:var(--white-soft,#F8F7F5)}
#dcw-messages{display:flex;flex-direction:column;gap:.6rem}
.dcw-msg{max-width:86%;padding:.6rem .85rem;font-size:.86rem;line-height:1.5;word-wrap:break-word;white-space:pre-line}
.dcw-msg-bot{align-self:flex-start;background:#fff;color:var(--text-main,#1e1e1e);border:1px solid var(--border,rgba(0,0,0,.09))}
.dcw-msg-user{align-self:flex-end;background:var(--orange,#E8621A);color:#fff}
.dcw-msg-typing{align-self:flex-start;background:#fff;border:1px solid var(--border,rgba(0,0,0,.09));padding:.7rem .9rem;display:flex;gap:4px}
.dcw-dot{width:6px;height:6px;border-radius:50%;background:var(--grey,#888);opacity:.4;animation:dcwBlink 1.2s infinite}
.dcw-dot:nth-child(2){animation-delay:.2s}
.dcw-dot:nth-child(3){animation-delay:.4s}
@keyframes dcwBlink{0%,80%,100%{opacity:.25}40%{opacity:.9}}
#dcw-quick-replies{display:flex;flex-wrap:wrap;gap:.4rem;margin-top:.75rem}
.dcw-chip{background:#fff;border:1px solid var(--border,rgba(0,0,0,.12));color:var(--text-main,#1e1e1e);font-size:.74rem;padding:.4rem .7rem;cursor:pointer;transition:border-color .15s,color .15s}
.dcw-chip:hover{border-color:var(--orange,#E8621A);color:var(--orange,#E8621A)}
#dcw-form{display:flex;gap:.5rem;padding:.75rem 1rem;border-top:1px solid var(--border,rgba(0,0,0,.09));flex-shrink:0}
#dcw-input{flex:1;border:1px solid var(--border,rgba(0,0,0,.14));padding:.6rem .75rem;font-size:.85rem;font-family:inherit;outline:none;background:#fff;color:var(--text-main,#1e1e1e)}
#dcw-input:focus{border-color:var(--orange,#E8621A)}
#dcw-send{background:var(--orange,#E8621A);color:#fff;border:none;width:38px;height:38px;flex-shrink:0;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background .15s}
#dcw-send:hover{background:var(--orange-dk,#C4500F)}
#dcw-send:disabled{opacity:.5;cursor:not-allowed}
#dcw-privacy{font-size:.63rem;color:var(--text-subtle,#999);text-align:center;padding:0 1rem .5rem}
#dcw-privacy a{color:var(--text-subtle,#999);text-decoration:underline}
#dcw-poweredby{font-size:.66rem;color:var(--grey,#888);text-align:center;padding:.5rem 1rem;border-top:1px solid var(--border,rgba(0,0,0,.06));display:flex;align-items:center;justify-content:center;gap:.4rem;flex-shrink:0}
#dcw-poweredby img{height:13px;width:auto;vertical-align:middle}
@media (max-width:480px){
  #dcw-panel{right:16px;left:16px;width:auto;bottom:90px}
  #dcw-root{right:16px;bottom:16px}
}
