.hz-chat-widget{position:relative;z-index:500;font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif}.hz-chat-launch{position:fixed;right:24px;bottom:24px;display:flex;align-items:center;gap:10px;padding:13px 20px;border:1px solid #087fae;background:#087fae;color:#fff;border-radius:30px;box-shadow:0 6px 22px #183f6029;cursor:pointer;font:600 14px/1.5 inherit;min-height:50px}.hz-chat-unread{background:#fff;color:#087fae;font-size:10px;padding:3px 7px;border-radius:8px}.hz-chat-panel{position:fixed;right:24px;bottom:88px;width:370px;max-width:calc(100vw - 32px);max-height:min(720px,calc(100dvh - 110px));display:flex;flex-direction:column;background:white;border:1px solid #ccdfeb;border-radius:16px;box-shadow:0 14px 55px #18344a33;overflow:hidden;padding:0;color:#284c62}.hz-chat-panel[hidden],.hz-wechat-info[hidden],.hz-chat-unread[hidden]{display:none}.hz-chat-panel>header{background:#143c56;color:white;display:flex;justify-content:space-between;align-items:center;padding:19px 20px;gap:15px}.hz-chat-panel>header strong{display:block;font-size:17px}.hz-chat-panel>header span{display:block;font-size:11px;color:#d2e6f2;margin-top:6px}.hz-chat-close{border:0;background:none;color:#fff;font-size:28px;cursor:pointer;width:35px;height:35px;padding:0;flex-shrink:0}.hz-chat-contacts{display:grid;grid-template-columns:repeat(3,1fr);border-bottom:1px solid #dce8f1;padding:12px 15px;gap:8px;background:#f5f9fc}.hz-chat-contacts a,.hz-chat-contacts button{font-size:12px;color:#087da8;font-weight:600;background:#fff;border:1px solid #d7e5ed;border-radius:7px;padding:10px 3px;text-align:center;cursor:pointer;line-height:1.5;white-space:nowrap}.hz-wechat-info{background:#edf8f5;padding:13px 20px;font-size:12px;border-bottom:1px solid #c8e7da}.hz-wechat-info strong{display:block;color:#247350}.hz-wechat-info p{margin:5px 0 8px;font-size:11px;color:#456b5c}.hz-wechat-info button,.hz-wechat-info a{font-size:12px;padding:6px 10px;background:#fff;color:#247350;border:1px solid #a8d9c6;border-radius:5px;margin-right:6px;cursor:pointer}.hz-chat-messages{overflow:auto;flex:1;min-height:130px;max-height:300px;padding:20px;background:#f8fbfd;overscroll-behavior:contain}.hz-chat-welcome{font-size:13px;line-height:1.8;color:#58788c;margin:0 0 18px}.hz-chat-bubble{margin:0 0 14px;max-width:93%;overflow-wrap:anywhere}.hz-chat-bubble small{display:block;font-size:10px;color:#59778a;margin-bottom:4px}.hz-chat-bubble p{white-space:pre-wrap;margin:0;background:#e7f1f8;border-radius:8px;padding:10px 12px;font-size:13px;line-height:1.8;color:#234c65}.hz-chat-bubble.visitor{margin-left:auto}.hz-chat-bubble.visitor small{text-align:right}.hz-chat-bubble.visitor p{background:#087fae;color:white}.hz-chat-privacy{font-size:10px;line-height:1.8;padding:10px 18px;margin:0;background:white;color:#667f90}.hz-chat-privacy a{color:#087fae;text-decoration:underline}.hz-chat-form{border:0;border-top:1px solid #dce7ef;border-radius:0;background:#fff;box-shadow:none;padding:13px 17px;margin:0}.hz-chat-form textarea{width:100%;min-height:65px;max-height:140px;resize:vertical;padding:10px 12px;margin:0 0 9px;border:1px solid #cbdfea;border-radius:8px;color:#254d65;background:#fff;font-size:14px;line-height:1.6}.hz-chat-form>div{display:flex;justify-content:space-between;gap:12px;align-items:center}.hz-chat-form button{border:1px solid #087fae;background:#087fae;color:white;border-radius:7px;padding:8px 18px;min-height:38px;font-size:12px;cursor:pointer}.hz-chat-form button.hz-chat-new{background:#fff;border-color:#d4e3ec;color:#54768b;padding-inline:12px}.hz-chat-form button:disabled{opacity:.6;cursor:wait}.hz-chat-status{font-size:11px;line-height:1.6;color:#4b6e83;margin:9px 0 0}.hz-chat-status:empty{display:none}.hz-chat-widget :focus-visible{outline:3px solid #1599ca;outline-offset:3px}.hz-chat-widget .screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}#huize-chat-inbox{display:grid;grid-template-columns:290px minmax(0,1fr);gap:25px;max-width:1200px;margin-top:25px}.hz-inbox-list{background:#fff;border:1px solid #d5e1e8;max-height:75vh;overflow:auto}.hz-inbox-list>button{display:block;width:100%;padding:16px;text-align:left;background:white;color:#224d66;border:0;border-bottom:1px solid #e0e9ef;cursor:pointer}.hz-inbox-list>button.current{background:#e9f6fc;border-left:4px solid #087fae}.hz-inbox-list strong,.hz-inbox-list span{display:block}.hz-inbox-list span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px;margin-top:7px;color:#557488}.hz-inbox-main{background:#fff;border:1px solid #d5e1e8;padding:25px}.hz-inbox-main .hz-chat-messages{height:380px;max-height:50vh}.hz-inbox-main form{padding:20px 0 0;border:0;background:none;box-shadow:none}.hz-inbox-main textarea{display:block;width:100%;margin:10px 0;box-sizing:border-box}.hz-inbox-main .hz-chat-trash{margin-left:10px}.hz-inbox-status{font-size:13px;color:#45677e}@media(max-width:600px){.hz-chat-launch{right:16px;bottom:16px;padding:12px 17px;font-size:13px}.hz-chat-panel{right:12px;bottom:78px;width:366px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 95px)}.hz-chat-panel>header{padding:16px}.hz-chat-panel>header strong{font-size:16px}.hz-chat-messages{max-height:240px;padding:16px}.hz-chat-form textarea{font-size:16px}.hz-chat-privacy{padding:8px 16px}#huize-chat-inbox{grid-template-columns:1fr}.hz-inbox-list{max-height:220px}.hz-inbox-main{padding:18px}}
.hz-chat-panel{overflow-y:auto}.hz-chat-panel>header,.hz-chat-contacts,.hz-chat-form{flex-shrink:0}.hz-chat-messages{min-height:70px}
@media(max-width:600px){.hz-chat-launch{width:52px;height:52px;min-height:52px;padding:14px;border-radius:50%;justify-content:center}.hz-chat-launch>span:first-of-type{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.hz-chat-launch .hz-chat-unread{position:absolute;right:0;bottom:48px;white-space:nowrap}.hz-chat-launch svg{flex-shrink:0}}

@media(max-width:600px){.hz-chat-contact{margin-top:24px}.hz-chat-contact .hz-chat-launch{position:static;width:100%;height:auto;min-height:48px;border-radius:8px;padding:12px 16px;box-shadow:none}.hz-chat-contact .hz-chat-launch>span:first-of-type{position:static;width:auto;height:auto;padding:0;margin:0;overflow:visible;clip:auto;white-space:normal}.hz-chat-contact .hz-chat-unread{position:static}.hz-chat-contact .hz-chat-panel{bottom:12px;max-height:calc(100dvh - 24px)}}
