.cw-button{position:fixed;bottom:24px;right:24px;z-index:9999;width:56px;height:56px;border-radius:50%;border:0;background:linear-gradient(135deg,#22d3ee,#2563eb);color:#fff;cursor:pointer;box-shadow:0 8px 24px rgba(37,99,235,.35);display:grid;place-items:center;transition:transform .15s ease,box-shadow .15s ease}.cw-button:hover{transform:translateY(-2px);box-shadow:0 12px 32px rgba(37,99,235,.45)}.cw-button>svg{width:26px;height:26px;stroke:#fff;stroke-width:2;fill:none;stroke-linecap:round;stroke-linejoin:round}.cw-button-badge{position:absolute;top:-2px;right:-2px;min-width:20px;height:20px;padding:0 6px;background:#ef4444;color:#fff;border-radius:10px;font-size:11px;font-weight:700;display:grid;place-items:center;border:2px solid #fff}.cw-panel{position:fixed;bottom:92px;right:24px;z-index:9999;width:360px;max-width:calc(100vw - 32px);height:520px;max-height:calc(100vh - 120px);background:#ffffff;border-radius:16px;box-shadow:0 24px 60px rgba(15,23,42,.25),0 8px 20px rgba(15,23,42,.1);display:flex;flex-direction:column;overflow:hidden;border:1px solid #e2e8f0}.cw-header{background:linear-gradient(135deg,#22d3ee,#2563eb);color:#fff;padding:16px 18px;display:flex;align-items:center;gap:12px}.cw-header-mark{width:36px;height:36px;border-radius:10px;background:rgba(255,255,255,.18);display:grid;place-items:center;font-weight:800;font-size:16px}.cw-header-info{flex:1;min-width:0}.cw-header-title{font-size:15px;font-weight:700;line-height:1.2}.cw-header-status{font-size:11px;opacity:.85;margin-top:2px}.cw-header-close{background:transparent;border:0;color:#fff;cursor:pointer;padding:4px;border-radius:6px;opacity:.85;transition:opacity .15s ease}.cw-header-close:hover{opacity:1}.cw-header-close>svg{width:18px;height:18px}.cw-body{flex:1;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:8px;background:#f8fafc}.cw-bubble{max-width:80%;padding:9px 13px;border-radius:14px;font-size:13px;line-height:1.4;word-break:break-word;white-space:pre-wrap}.cw-bubble-in{align-self:flex-end;background:#2563eb;color:#fff;border-bottom-right-radius:4px}.cw-bubble-out{align-self:flex-start;background:#fff;color:#0f172a;border:1px solid #e2e8f0;border-bottom-left-radius:4px}.cw-bubble-time{font-size:10px;opacity:.65;margin-top:3px}.cw-empty{text-align:center;color:#64748b;font-size:13px;padding:24px 8px;line-height:1.5}.cw-form{flex:1;display:flex;flex-direction:column;padding:20px;gap:12px;background:#f8fafc}.cw-form-title{font-size:14px;color:#475569;margin-bottom:4px}.cw-form label{font-size:12px;font-weight:600;color:#0f172a;display:block;margin-bottom:4px}.cw-form input{width:100%;padding:9px 12px;border:1.5px solid #cbd5e1;border-radius:8px;font-size:13px;background:#fff;color:#0f172a;transition:border-color .15s ease,box-shadow .15s ease}.cw-form input:focus{outline:none;border-color:#06b6d4;box-shadow:0 0 0 3px rgba(6,182,212,.15)}.cw-form-error{background:rgba(239,68,68,.1);color:#b91c1c;font-size:12px;padding:8px 10px;border-radius:8px}.cw-form-submit{background:linear-gradient(135deg,#22d3ee,#2563eb);color:#fff;border:0;border-radius:10px;padding:11px 16px;font-size:14px;font-weight:700;cursor:pointer;transition:transform .15s ease,opacity .15s ease;margin-top:4px}.cw-form-submit:hover:not(:disabled){transform:translateY(-1px)}.cw-form-submit:disabled{opacity:.55;cursor:not-allowed}.cw-input-row{border-top:1px solid #e2e8f0;padding:10px;display:flex;gap:8px;background:#fff}.cw-input-row textarea{flex:1;resize:none;border:1px solid #cbd5e1;border-radius:10px;padding:9px 12px;font-size:13px;font-family:inherit;line-height:1.4;max-height:96px;color:#0f172a;background:#f8fafc}.cw-input-row textarea:focus{outline:none;border-color:#06b6d4;background:#fff}.cw-input-send{background:linear-gradient(135deg,#22d3ee,#2563eb);color:#fff;border:0;width:40px;height:40px;border-radius:50%;display:grid;place-items:center;cursor:pointer;flex-shrink:0;align-self:flex-end}.cw-input-send:disabled{opacity:.45;cursor:not-allowed}.cw-input-send>svg{width:18px;height:18px;stroke:#fff;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}@media (max-width:480px){.cw-panel{right:8px;bottom:80px;width:calc(100vw - 16px);height:calc(100vh - 100px)}}