.sw-root{pointer-events:none;position:fixed;right:1.25rem;bottom:1.25rem;z-index:80;align-items:flex-end;gap:.75rem}.sw-panel,.sw-root{display:flex;flex-direction:column}.sw-panel{pointer-events:auto;width:min(100vw - 2rem,380px);overflow:hidden;border-radius:1rem;border:1px solid #e2e8f0;background:#fff;box-shadow:0 12px 40px rgba(15,23,42,.18);max-height:min(70vh,520px)}.sw-head{flex-shrink:0;display:flex;align-items:center;justify-content:space-between;gap:.5rem;padding:.75rem 1rem;color:#fff;background:linear-gradient(135deg,#075e54,#128c7e)}.sw-head__title{font-size:14px;font-weight:600}.sw-head__sub{font-size:11px;color:rgba(255,255,255,.8)}.sw-icon-btn{border:0;background:transparent;color:inherit;border-radius:.5rem;padding:.35rem;cursor:pointer;display:inline-flex;align-items:center;justify-content:center}.sw-icon-btn:hover{background:rgba(255,255,255,.12)}.sw-body{flex:1 1 auto;min-height:0;display:flex;flex-direction:column}.sw-form{padding:1rem;display:grid;gap:.75rem;overflow-y:auto}.sw-label{display:grid;gap:.25rem;font-size:12px;color:#64748b}.sw-input,.sw-textarea{width:100%;border:1px solid #e2e8f0;border-radius:.5rem;padding:.5rem .75rem;font-size:13px;color:#0f172a;background:#fff}.sw-textarea{resize:none;min-height:96px}.sw-alert{border-radius:.5rem;padding:.5rem .75rem;font-size:13px}.sw-alert--ok{border:1px solid #a7f3d0;background:#ecfdf5;color:#065f46}.sw-alert--err{border:1px solid #fecaca;background:#fef2f2;color:#b91c1c}.sw-submit{height:40px;border:0;border-radius:999px;background:#075e54;color:#fff;font-size:13px;font-weight:600;cursor:pointer}.sw-submit:disabled{opacity:.6;cursor:not-allowed}.sw-messages{flex:1 1 auto;min-height:220px;max-height:320px;overflow-y:auto;overflow-x:hidden;padding:.75rem;display:flex;flex-direction:column;gap:.4rem;scrollbar-gutter:stable;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Ccircle cx='12' cy='14' r='2' fill='%23d9e2e7'/%3E%3C/svg%3E") repeat,#efeae2}.sw-empty{margin:auto;text-align:center;font-size:13px;color:#667781;padding:1.5rem}.sw-bubble{max-width:85%;border-radius:8px;padding:6px 8px 4px;box-shadow:0 1px .5px rgba(11,20,26,.13);font-size:13px;line-height:1.35;color:#111b21}.sw-bubble--out{margin-left:auto;background:#d9fdd3;border-top-right-radius:2px}.sw-bubble--in{margin-right:auto;background:#fff;border-top-left-radius:2px}.sw-bubble img{display:block;max-width:100%;border-radius:6px}.sw-bubble audio{display:block;width:100%;max-width:220px}.sw-composer{flex-shrink:0;display:flex;align-items:center;gap:6px;padding:8px;border-top:1px solid #e2e8f0;background:#f0f2f5}.sw-composer__input{flex:1;min-width:0;border:none;border-radius:8px;padding:10px 12px;background:#fff;font-size:13px}.sw-composer .sw-icon-btn{color:#54656f;background:transparent}.sw-composer .sw-icon-btn:hover{background:rgba(0,0,0,.06)}.sw-send{width:40px;height:40px;border:0;border-radius:999px;background:#00a884;color:#fff;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.sw-send:disabled{opacity:.5;cursor:not-allowed}.sw-recording{border:0;border-radius:999px;background:#fee2e2;color:#b91c1c;font-size:12px;font-weight:600;padding:8px 10px;cursor:pointer}.sw-chip,.sw-fab{pointer-events:auto;border:0;cursor:pointer}.sw-fab{width:56px;height:56px;border-radius:999px;background:#075e54;color:#fff;display:inline-flex;align-items:center;justify-content:center;box-shadow:0 10px 30px rgba(7,94,84,.35);transition:transform .12s ease}.sw-fab:hover{transform:scale(1.03)}.sw-chip{display:inline-flex;align-items:center;gap:.5rem;border-radius:999px;border:1px solid #e2e8f0;background:#fff;padding:.5rem 1rem;font-size:13px;font-weight:600;color:#1e293b;box-shadow:0 8px 20px rgba(15,23,42,.12)}