.customer-support-screen{background:#f4f6f4;padding-bottom:0}.support-intro{min-height:136px;display:grid;grid-template-columns:minmax(0,1fr) 64px;align-items:center;gap:12px;padding:25px 20px;background:#eaf4ee}.support-intro h2{margin:0 0 9px;color:#163426;font-size:21px;line-height:1.4}.support-intro p{margin:0;color:#728278;font-size:10px;line-height:1.7}.support-bot{width:64px;height:64px;display:grid;place-items:center;border-radius:7px;background:#d8eee1;color:var(--green)}.support-bot svg{width:34px;height:34px;stroke-width:1.45}.support-channels{display:grid;gap:11px;padding:18px 14px}.support-channel{min-height:94px;display:grid;grid-template-columns:40px minmax(0,1fr) 76px;align-items:center;gap:11px;padding:17px 12px;border:1px solid #e4e9e5;border-radius:6px;background:#fff}.support-channel-icon{width:40px;height:40px;display:grid;place-items:center;border-radius:6px;background:#f0f4f1;color:#29352e}.support-channel-icon svg{width:22px;height:22px;stroke-width:1.7}.support-channel>div{min-width:0}.support-channel h3{margin:0 0 6px;font-size:14px;line-height:1.4}.support-channel p{margin:0;color:#8b958e;font-size:10px;line-height:1.6;overflow-wrap:anywhere}.support-channel>button{width:76px;min-height:34px;border:1px solid var(--green);border-radius:4px;background:var(--green);padding:6px 4px;color:#fff;font-size:10px}.support-channel>button.outline{border-color:#bad7c7;background:#fff;color:var(--green)}.support-hours{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:2px;color:#89938d}.support-hours>svg{width:16px}.support-hours span,.support-hours strong,.support-hours small{display:block}.support-hours strong{font-size:9px;font-weight:500}.support-hours small{margin-top:2px;font-size:8px}.support-modal-backdrop{position:absolute;inset:0;z-index:30;display:grid;place-items:center;padding:16px;background:rgba(17,31,23,.52)}.support-dialog{position:relative;width:min(100%,306px);max-height:calc(100% - 32px);overflow:auto;border-radius:8px;background:#fff;padding:27px 22px 22px;text-align:center}.support-dialog h2{margin:0;font-size:17px}.support-dialog>p{margin:7px 0 17px;color:var(--sub);font-size:10px}.support-close{position:absolute;right:7px;top:7px;width:29px;height:29px;display:grid;place-items:center;border:0;background:none;color:#8c9690}.support-close svg{width:17px}.support-qr-empty{width:178px;height:178px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:13px;margin:0 auto 14px;border:1px solid #e4e9e5;border-radius:6px;background:#f7f9f7;color:#98a19b}.support-qr-empty svg{width:42px;height:42px;stroke-width:1.25}.support-qr-empty span{font-size:10px}.support-dialog-link{display:inline-flex;align-items:center;gap:4px;border:0;background:none;padding:7px;color:var(--green);font-size:10px}.support-dialog-link svg{width:13px}.support-phone-dialog>strong{display:block;margin:18px 0 24px;font-size:23px;letter-spacing:0}.support-dialog-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px}.support-dialog-actions button{min-height:40px;border:1px solid var(--line);border-radius:4px;background:#fff;color:var(--sub);font-size:11px}.support-dialog-actions button:last-child{border-color:var(--green);background:var(--green);color:#fff}
@media(max-width:350px){.support-intro{padding-inline:16px;gap:8px}.support-intro h2{font-size:19px}.support-channels{padding-inline:10px}.support-channel{grid-template-columns:34px minmax(0,1fr) 70px;gap:8px;padding-inline:10px}.support-channel-icon{width:34px;height:38px}.support-channel>button{width:70px}.support-dialog{width:min(100%,288px)}}

.wx-support-chat{background:#ededed;padding-bottom:58px}
.wx-chat-header{height:52px;position:sticky;top:0;z-index:5;display:grid;grid-template-columns:38px 1fr 38px;align-items:center;padding:0 8px;background:#f7f7f7;border-bottom:1px solid #d8d8d8}
.wx-chat-header>button{width:34px;height:34px;border:0;background:none;display:grid;place-items:center;color:#111}
.wx-chat-header>button svg{width:20px}
.wx-chat-header>div{text-align:center;min-width:0}
.wx-chat-header strong,.wx-chat-header small{display:block}
.wx-chat-header strong{font-size:14px}
.wx-chat-header small{margin-top:2px;color:#7c837f;font-size:8px}
.wx-chat-header small i{display:inline-block;width:6px;height:6px;margin-right:4px;border-radius:50%;background:#20a162}
.wx-chat-stream{min-height:calc(100% - 52px);padding:12px 11px 24px;overflow:auto}
.wx-chat-stream>time{display:block;margin:1px 0 13px;text-align:center;color:#999;font-size:8px}
.wx-chat-row{display:flex;align-items:flex-start;gap:8px;margin-bottom:13px}
.wx-chat-row.mine{justify-content:flex-end}
.wx-chat-avatar{width:34px;height:34px;flex:0 0 34px;border-radius:5px;background:#167647;color:#fff;display:grid;place-items:center;font-size:12px;font-weight:700}
.wx-chat-avatar.user-avatar{background:#50695b}
.wx-chat-bubble{position:relative;max-width:244px;padding:9px 11px;border-radius:4px;background:#fff;color:#171a18;font-size:10px;line-height:1.65;box-shadow:0 1px 1px rgba(0,0,0,.03)}
.wx-chat-row.service .wx-chat-bubble:before{content:"";position:absolute;left:-6px;top:11px;border-width:5px 7px 5px 0;border-style:solid;border-color:transparent #fff transparent transparent}
.wx-chat-row.mine .wx-chat-bubble{background:#95ec69}
.wx-chat-row.mine .wx-chat-bubble:after{content:"";position:absolute;right:-6px;top:11px;border-width:5px 0 5px 7px;border-style:solid;border-color:transparent transparent transparent #95ec69}
.wx-order-assist{width:238px;padding:10px 0 0}
.wx-order-assist>strong{display:block;padding:0 11px 8px;font-size:11px}
.wx-order-assist>button{width:100%;min-height:36px;border:0;border-top:1px solid #ededed;background:none;padding:0 10px;display:flex;align-items:center;justify-content:space-between;color:var(--green);text-align:left;font-size:10px}
.wx-order-assist>button svg{width:14px}
.wx-chat-composer{position:absolute;left:0;right:0;bottom:0;z-index:8;height:58px;display:grid;grid-template-columns:34px minmax(0,1fr) 34px 50px;gap:6px;align-items:center;padding:8px;background:#f7f7f7;border-top:1px solid #d8d8d8}
.wx-chat-composer>button{height:34px;border:0;background:none;display:grid;place-items:center;padding:0;color:#222}
.wx-chat-composer>button svg{width:22px}
.wx-chat-composer>button[type=submit]{border-radius:4px;background:#07c160;color:#fff;font-size:10px}
.wx-chat-composer>input{width:100%;height:36px;min-width:0;border:0;border-radius:4px;background:#fff;padding:0 9px;outline:0;font-size:11px}

/* Customer-service channel colors are fixed identifiers and do not follow the mall theme. */
.support-channels:has(.support-channel:nth-child(3)){gap:8px;padding-top:14px;padding-bottom:12px}
.support-channels:has(.support-channel:nth-child(3)) .support-channel{min-height:76px;padding-top:11px;padding-bottom:11px}
.support-channel.channel-ai .support-channel-icon{background:#f0eafb;color:#70519b}
.support-channel.channel-ai>button{border-color:#70519b;background:#70519b}
.support-channel.channel-wechat .support-channel-icon{background:#eaf7ec;color:#14a83b}
.support-channel.channel-wechat>button{border-color:#14a83b;background:#14a83b}
.support-channel.channel-phone .support-channel-icon{background:#eaf2ff;color:#2563eb}
.support-channel.channel-phone>button.outline{border-color:#a9c2f7;background:#fff;color:#2563eb}
.support-channel.channel-wecom .support-channel-icon{background:#edf2ff;color:#356ae6}
.support-channel.channel-wecom>button{border-color:#356ae6;background:#356ae6}
.support-empty{min-height:220px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:24px;text-align:center;color:#89938d}
.support-empty>svg{width:38px;height:38px;margin-bottom:12px;color:#9ea9a2;stroke-width:1.4}
.support-empty strong{color:#28332d;font-size:14px}
.support-empty p{margin:8px 0 16px;font-size:10px;line-height:1.7}
.support-empty button{min-height:34px;border:1px solid var(--line);border-radius:4px;background:#fff;padding:0 16px;color:#39473f;font-size:10px}

.wecom-support-chat .wx-chat-avatar{background:#356ae6}
.wecom-support-chat .wx-chat-header small i{background:#356ae6}
.ai-support-chat{background:#f4f2f7}
.ai-chat-header{grid-template-columns:42px minmax(0,1fr) 56px;background:#fff}
.ai-chat-header small i{background:#70519b}
.ai-chat-header>.ai-transfer-button{width:54px;border-radius:4px;background:#f0eafb;color:#70519b;font-size:9px;font-weight:600}
.wx-chat-avatar.ai-avatar{background:#70519b}
.wx-chat-avatar.ai-avatar svg{width:18px;height:18px}
.ai-answer{border:1px solid #e6dff0;background:#fff}
.ai-order-assist>button{color:#70519b}
.ai-chat-composer{grid-template-columns:minmax(0,1fr) 54px}
.ai-chat-composer>button[type=submit]{background:#70519b}
.ai-transfer-backdrop{position:absolute;inset:0;z-index:20;display:flex;align-items:flex-end;background:rgba(24,25,24,.45)}
.ai-transfer-sheet{width:100%;max-height:72%;overflow:auto;border-radius:8px 8px 0 0;background:#fff;padding-bottom:max(14px,env(safe-area-inset-bottom))}
.ai-transfer-sheet>header{min-height:62px;display:flex;align-items:center;justify-content:space-between;padding:0 17px;border-bottom:1px solid #edf0ee;text-align:left}
.ai-transfer-sheet>header small,.ai-transfer-sheet>header h2{display:block;margin:0}
.ai-transfer-sheet>header small{margin-bottom:3px;color:#8b958e;font-size:8px}
.ai-transfer-sheet>header h2{font-size:16px}
.ai-transfer-sheet>header button{width:32px;height:32px;display:grid;place-items:center;border:0;background:none;color:#7a847e}
.ai-transfer-sheet>header button svg{width:18px}
.ai-transfer-sheet>div{display:grid;padding:8px 14px}
.ai-transfer-sheet>div>button{min-height:62px;display:grid;grid-template-columns:38px minmax(0,1fr) 18px;align-items:center;gap:10px;border:0;border-bottom:1px solid #edf0ee;background:#fff;padding:0 4px;text-align:left}
.ai-transfer-sheet>div>button>span{width:36px;height:36px;display:grid;place-items:center;border-radius:6px}
.ai-transfer-sheet>div>button>span.channel-wechat{background:#eaf7ec;color:#14a83b}
.ai-transfer-sheet>div>button>span.channel-phone{background:#eaf2ff;color:#2563eb}
.ai-transfer-sheet>div>button>span.channel-wecom{background:#edf2ff;color:#356ae6}
.ai-transfer-sheet>div>button>span svg{width:18px}
.ai-transfer-sheet>div>button strong,.ai-transfer-sheet>div>button small{display:block}
.ai-transfer-sheet>div>button strong{font-size:12px}
.ai-transfer-sheet>div>button small{margin-top:4px;color:#8b958e;font-size:9px}
.ai-transfer-sheet>div>button>svg{width:15px;color:#9ba49f}
.ai-transfer-empty{margin:18px 0;text-align:center;color:#8b958e;font-size:10px}
@media(max-width:350px){.support-channels:has(.support-channel:nth-child(3)){padding-inline:10px}.support-channels:has(.support-channel:nth-child(3)) .support-channel{grid-template-columns:34px minmax(0,1fr) 70px}.ai-chat-header{grid-template-columns:38px minmax(0,1fr) 54px}}
.support-hours em{display:block;max-width:255px;margin-top:3px;color:#a0a8a3;font-size:7px;font-style:normal;line-height:1.45}
