.human-support-chat,.human-support-workbench{color:var(--text-primary,var(--text,inherit));background:var(--panel-bg,var(--panel,var(--surface,#fff)));font:inherit;min-width:0}.human-support-chat{flex-direction:column;gap:8px;height:100%;min-height:320px;max-height:75dvh;display:flex}.human-support-retention,.human-support-connection{color:var(--text-secondary,var(--muted,#6b7280));margin:0;padding:8px 12px;font-size:12px;line-height:1.6}.human-support-retention{background:var(--surface-muted,#80808014);border-radius:8px}.human-support-messages{overscroll-behavior:contain;flex-direction:column;flex:1;gap:14px;min-height:120px;padding:12px;display:flex;overflow:auto}.human-support-empty{color:var(--text-secondary,var(--muted,#6b7280));font-size:13px;line-height:1.8}.human-support-message{flex-direction:column;align-self:flex-start;gap:5px;min-width:0;max-width:86%;display:flex}.human-support-message.is-own{align-self:flex-end;align-items:flex-end}.human-support-bubble{background:var(--surface-muted,#8080801a);border-radius:12px;max-width:100%;padding:10px 12px;overflow:hidden}.human-support-bubble p{white-space:pre-wrap;overflow-wrap:anywhere;margin:0;font-size:14px;line-height:1.65}.human-support-message.is-own .human-support-bubble{background:var(--accent-soft,#695be01f)}.human-support-message small{color:var(--text-secondary,var(--muted,#6b7280));font-size:11px}.human-support-image{cursor:zoom-in;max-width:100%;display:block;background:0 0!important;border:0!important;padding:0!important}.human-support-image img{object-fit:contain;border-radius:6px;width:auto;max-width:100%;height:auto;max-height:280px;display:block}.human-support-composer{border-top:1px solid var(--border-color,var(--line,#80808033));flex-direction:column;gap:8px;padding:10px;display:flex}.human-support-text-label{flex-direction:column;gap:5px;font-size:12px;display:flex}.human-support-composer textarea{box-sizing:border-box;resize:vertical;background:var(--input-bg,var(--panel-bg,transparent));width:100%;min-height:64px;max-height:160px;color:inherit;border:1px solid var(--border-color,var(--line,#8080804d));font:inherit;border-radius:8px;padding:9px}.human-support-composer footer{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.human-support-composer footer>span{color:var(--text-secondary,var(--muted,#6b7280));flex:1;font-size:11px}.human-support-chat button,.human-support-workbench button,.human-support-upload{border:1px solid var(--border-color,var(--line,#8080804d));background:var(--panel-bg,var(--panel,var(--surface,#fff)));min-height:36px;color:inherit;font:inherit;cursor:pointer;border-radius:8px;padding:7px 12px}.human-support-chat button:disabled,.human-support-workbench button:disabled{opacity:.5;cursor:default}.human-support-chat :focus-visible,.human-support-workbench :focus-visible{outline:2px solid var(--accent,#7564d9);outline-offset:2px}.human-support-upload{box-sizing:border-box;align-items:center;font-size:12px;display:inline-flex;position:relative;overflow:hidden}.human-support-upload input{opacity:0;cursor:pointer;width:100%;position:absolute;inset:0}.human-support-file{overflow-wrap:anywhere;align-items:center;gap:8px;font-size:12px;display:flex}.human-support-file span{flex:1;min-width:0}.human-support-error{color:var(--danger,#b43c42);overflow-wrap:anywhere;padding:8px;font-size:12px;line-height:1.7}.human-support-error button{margin-left:8px}.human-support-zoom{z-index:3000;background:#000000d9;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0}.human-support-zoom>img{object-fit:contain;max-width:100%;max-height:90dvh}.human-support-zoom>button{color:#20232b;background:#fff;width:40px;height:40px;font-size:24px;position:absolute;top:16px;right:16px}.human-support-workbench{border:1px solid var(--border-color,var(--line,#80808033));border-radius:12px;padding:16px}.human-support-workbench>header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.human-support-workbench h2{margin:0;font-size:18px}.human-support-workbench header label{align-items:center;gap:8px;font-size:13px;display:flex}.human-support-workbench-body{grid-template-columns:minmax(200px,28%) minmax(0,1fr);gap:16px;min-height:500px;display:grid}.human-support-customers{flex-direction:column;gap:8px;max-height:70dvh;display:flex;overflow:auto}.human-support-customers input{border:1px solid var(--border-color,var(--line,#8080804d));min-height:36px;color:inherit;font:inherit;box-sizing:border-box;background:0 0;border-radius:8px;width:100%;padding:0 10px}.human-support-customers button{text-align:left;flex-direction:column;align-items:flex-start;gap:5px;min-width:0;display:flex}.human-support-customers button[aria-current=true]{border-color:var(--accent,#7564d9);background:var(--accent-soft,#695be01f)}.human-support-customers small{color:var(--text-secondary,var(--muted,#6b7280));text-overflow:ellipsis;white-space:nowrap;max-width:100%;overflow:hidden}.human-support-customers em{color:var(--danger,#b43c42);font-size:12px;font-style:normal}.human-support-selected-header{justify-content:space-between;align-items:center;gap:8px;margin-bottom:8px;display:flex}.human-support-selected-back{display:none}@media (max-width:640px){.human-support-workbench{padding:10px}.human-support-workbench-body{min-height:350px;display:block}.human-support-workbench.is-selected .human-support-customers{display:none}.human-support-selected-back{display:block!important}.human-support-chat{max-height:72dvh}.human-support-message{max-width:94%}.human-support-composer footer>span{flex-basis:100%;order:3}.human-support-zoom{padding:12px}}.human-support-presence{vertical-align:middle;background:#858a94;border-radius:50%;width:8px;height:8px;margin-inline-start:4px;display:inline-block}.human-support-presence.is-online{background:#33c56b}.human-support-launcher{z-index:1050;right:max(18px, env(safe-area-inset-right));bottom:max(18px, env(safe-area-inset-bottom));justify-items:end;gap:5px;max-width:min(280px,100vw - 36px);display:grid;position:fixed}.human-support-launcher-main{color:#11251d;cursor:pointer;background:#a7efcc;border:1px solid #8de3bc;border-radius:24px;padding:12px 17px;font-weight:700}.human-support-launcher-main strong{font-size:12px;display:block}.human-support-guest-help{color:#fff;background:#17251e;border-radius:12px;width:min(280px,100vw - 32px);padding:14px;position:absolute;bottom:68px;right:0;box-shadow:0 5px 28px #0005}.human-support-guest-help>button{float:right;color:inherit;cursor:pointer;background:0 0;border:0}.human-support-guest-help a{color:#abefcb}.human-support-launcher.has-unread .human-support-launcher-main,.xiaoshan-root.has-human-unread .xiaoshan-launcher{animation:1.8s ease-in-out infinite humanSupportUnread}@keyframes humanSupportUnread{0%,to{box-shadow:0 0 #88e9bb66}50%{transform:translateY(-3px);box-shadow:0 0 0 8px #88e9bb00}}@media (prefers-reduced-motion:reduce){.human-support-launcher.has-unread .human-support-launcher-main,.xiaoshan-root.has-human-unread .xiaoshan-launcher{outline:2px solid #8de3bc;animation:none}}.human-support-launcher{pointer-events:none;width:56px;height:56px}.human-support-launcher-main,.human-support-guest-help{pointer-events:auto}.human-support-launcher-main{border-radius:50%;place-items:center;width:56px;height:56px;padding:0;display:grid;position:relative}.human-support-launcher-main strong{position:absolute;top:-4px;right:-4px}.human-support-launcher-main{touch-action:none;-webkit-user-select:none;user-select:none}.human-support-launcher[data-side=left] .human-support-guest-help{left:0;right:auto}
