.ql-support-launch{position:fixed;right:10px;top:50%;transform:translateY(-50%);width:100px;padding:0;border:0;background:none;z-index:80;cursor:pointer;filter:drop-shadow(0 5px 9px #003f2920)}.ql-support-launch img{display:block;width:100%;height:auto}.ql-support-launch:hover{transform:translateY(-50%) scale(1.04)}
#ql-support{box-sizing:border-box;padding:0;border:1px solid #ffffffb3;border-radius:25px;width:min(980px,calc(100vw - 32px));height:min(640px,calc(100dvh - 32px));max-width:none;max-height:none;background:#faf8f0;color:#123e30;box-shadow:0 20px 70px #003e3040;font:14px/1.6 'Microsoft YaHei','PingFang SC',sans-serif;overflow:hidden}#ql-support *{box-sizing:border-box}#ql-support::backdrop{background:#102d244a;backdrop-filter:blur(4px)}#ql-support button,#ql-support textarea{font:inherit}#ql-support button{cursor:pointer}#ql-support button:focus-visible,#ql-support textarea:focus-visible{outline:2px solid #0a9d6c;outline-offset:3px}#ql-support svg{width:22px;height:22px;flex-shrink:0;vertical-align:middle}#ql-support [hidden]{display:none!important}
.qs-head{height:60px;display:flex;align-items:center;gap:12px;padding:0 24px;color:white;background:linear-gradient(110deg,#007748,#00563b 65%,#00492f)}.qs-head h2{font-size:20px;color:white;margin:0;font-weight:600}.qs-head>svg{width:29px;height:29px}.qs-head-status{color:#b8eacb;font-size:13px}.qs-head-status:before{content:'';display:inline-block;width:7px;height:7px;border-radius:50%;background:#63d28a;margin-right:7px}.qs-window-controls{margin-left:auto;display:flex;gap:12px}.qs-window-controls button{color:white;background:none;border:0;padding:5px;line-height:1}
.qs-body{display:grid;grid-template-columns:225px 1fr;height:calc(100% - 60px);background:url('/public-live/support-art-opt-v3.webp') center/cover}.qs-person{position:relative;overflow:hidden;background:url('/public-live/support-art-opt-v3.webp') 0 0/auto 370px no-repeat}.qs-profile{position:absolute;inset:215px 0 0;padding:19px 25px;background:linear-gradient(135deg,#fffdf5ed,#fffdf5bd 70%,#b9dfc7c9);border-radius:28px 28px 0 0;border-top:1px solid white}.qs-profile h3{display:flex;align-items:center;gap:13px;margin:0;font-size:27px}.qs-profile h3 span{font-size:11px;background:#b9dfc6;color:#125938;border-radius:7px;padding:2px 7px;white-space:nowrap}.qs-profile p{color:#607369;font-size:12px;margin:4px 0 20px}.qs-profile ul{padding:0;margin:0;list-style:none}.qs-profile li{margin:13px 0;font-size:16px;letter-spacing:1px}.qs-profile li:before{content:'✓';background:#098353;color:white;border-radius:50%;font-size:12px;display:inline-grid;place-items:center;width:18px;height:18px;margin-right:10px}
.qs-main{min-width:0;min-height:0;display:flex;flex-direction:column;border-left:1px solid #a6c6b1;border-radius:28px 0 0 28px;background:#fffdf7e8;overflow:hidden}.qs-scroll{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:16px 24px;scrollbar-width:thin}.qs-date{display:flex;align-items:center;gap:15px;color:#8c938b;justify-content:center;font-size:12px;margin:0 0 16px}.qs-date:before,.qs-date:after{content:'';height:1px;background:#e8e8df;flex:1}.qs-message{display:flex;align-items:flex-start;gap:12px;margin:13px 0}.qs-avatar{width:38px;height:38px;flex:0 0 38px;border-radius:50%;background:#d9eddf url('/public-live/support-art-opt-v3.webp') 15% 7%/135px auto;border:2px solid white}.qs-bubble{border:1px solid #f0eee7;background:#fff;border-radius:5px 20px 20px;padding:13px 17px;color:#202d27;max-width:90%;box-shadow:0 5px 15px #55452a08;white-space:pre-wrap;overflow-wrap:anywhere}.qs-bubble small{display:block;color:#8a948d;font-size:10px;margin-bottom:4px}.qs-message.mine{justify-content:flex-end}.qs-message.mine .qs-bubble{background:linear-gradient(125deg,#087e54,#005c3e);color:white;border:0;border-radius:20px 5px 20px 20px}.qs-message.mine small{color:#c7e8d5}.qs-bubble a{color:inherit;text-decoration:underline}.qs-bubble img{display:block;max-width:200px;max-height:140px;object-fit:contain}.qs-topics{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:16px 0 22px}.qs-topics button{padding:14px 5px;background:#fff;border:1px solid #f3eee5;border-radius:18px;color:#005737;box-shadow:0 7px 13px #493a1a08;display:flex;align-items:center;flex-direction:column;gap:5px}.qs-topics svg{width:30px!important;height:30px!important}.qs-topics strong{font-size:16px;font-weight:600}.qs-topics small{font-size:10px;color:#7a807a;white-space:nowrap}.qs-topics button:hover{background:#eef8ef;border-color:#acd2b6}
.qs-compose{position:relative;padding:12px 18px 14px;background:#fffdf7d9;border-top:1px solid #eeeae0}.qs-status{color:#758379;font-size:11px;min-height:18px;margin:0 0 5px}.qs-status.error{color:#bb4a36}.qs-entry{display:flex;gap:10px;align-items:center}.qs-input-wrap{display:flex;align-items:center;gap:8px;flex:1;min-width:0;background:white;border:1px solid #eee9df;box-shadow:0 5px 15px #55452a0b;border-radius:28px;padding:7px 12px}.qs-input-wrap textarea{border:0;background:transparent;resize:none;outline:none;min-width:0;width:100%;height:30px;padding:3px 0;color:#22382b;line-height:24px!important}.qs-icon{border:0;background:none;color:#005b3b;padding:5px;display:grid;place-items:center}.qs-send{width:48px;height:44px;border:0;border-radius:24px;background:linear-gradient(120deg,#008557,#00583b);color:white;display:grid;place-items:center}.qs-send:disabled{opacity:.5;cursor:wait!important}.qs-picker{position:absolute;bottom:83px;right:66px;padding:8px;background:white;border:1px solid #d6e6da;border-radius:12px;box-shadow:0 8px 24px #002f241a;display:flex;gap:5px}.qs-picker button{border:0;background:none;font-size:22px!important;padding:5px}.qs-login{border:0;background:none;text-decoration:underline;color:#00744a;padding:0 3px}.qs-attachment{display:flex;align-items:center;gap:8px;font-size:11px;margin-bottom:8px}.qs-attachment button{border:0;background:none;color:#b2473d}
.qs-body{background:#f7f7ee}.qs-main{background:radial-gradient(ellipse at 100% 0,#d7ebd8a1,transparent 36%),linear-gradient(155deg,#fffdf9 55%,#edf3e6)}.qs-profile{background:linear-gradient(145deg,#fffdf6f5 30%,#f6f7edf5 70%,#9dceb2e8)}.qs-bubble{font-size:14px}.qs-avatar{background-position:16% 8%;background-size:140px auto}
@media(max-width:700px){#ql-support{width:calc(100vw - 20px);height:min(650px,calc(100dvh - 24px));border-radius:20px}.ql-support-launch{width:76px;right:3px}.qs-head{height:53px;padding:0 15px;gap:7px}.qs-head h2{font-size:16px}.qs-head-status{font-size:10px}.qs-head-status .qs-agent{display:none}.qs-window-controls{gap:4px}.qs-body{grid-template-columns:1fr;height:calc(100% - 53px)}.qs-person{display:none}.qs-main{border:0;border-radius:0}.qs-scroll{padding:10px 14px}.qs-topics{grid-template-columns:repeat(2,1fr);gap:8px}.qs-topics button{padding:9px}.qs-topics strong{font-size:14px}.qs-topics svg{width:25px!important;height:25px!important}.qs-bubble{font-size:13px;padding:10px 12px}.qs-message{gap:8px}.qs-avatar{width:30px;height:30px;flex-basis:30px}.qs-compose{padding:10px}.qs-entry{gap:5px}.qs-input-wrap{gap:3px;padding:7px}.qs-status{font-size:10px}}
@media(max-height:640px) and (min-width:701px){.qs-profile{top:180px;padding-top:10px}.qs-profile p{margin-bottom:8px}.qs-profile li{margin:8px 0}.qs-person{background-size:auto 310px}.qs-topics button{padding:9px 4px}}
#qs-invitation{position:fixed;z-index:85;right:12px;bottom:calc(84px + env(safe-area-inset-bottom,0px));width:min(310px,calc(100vw - 24px));display:flex;align-items:center;gap:12px;padding:15px 27px 15px 12px;border:1px solid #c5dfd0;border-radius:18px;background:linear-gradient(125deg,#fffdf7,#edf8ee);box-shadow:0 6px 25px #003a2a24;font:12px/1.5 'Microsoft YaHei','PingFang SC',sans-serif;color:#154935}#qs-invitation strong{font-size:14px;font-weight:600}#qs-invitation p{margin:3px 0 7px;color:#788578;font-size:11px}#qs-invitation button{cursor:pointer;font:inherit}.qs-invite-avatar{width:48px;height:48px;flex:0 0 48px;border-radius:50%;background:#d9eddf url('/public-live/support-art-opt-v3.webp') 16% 7%/175px auto}.qs-invite-open{border:0;border-radius:12px;padding:3px 10px;background:#006b46;color:white}.qs-invite-close{position:absolute;right:7px;top:4px;width:25px;height:25px;border:0;background:none;color:#75877b;font-size:23px!important}
@media(max-width:700px){.ql-support-launch{width:64px;right:3px;top:auto;bottom:calc(165px + env(safe-area-inset-bottom,0px));transform:none}.ql-support-launch:hover{transform:scale(1.04)}body:has(#qs-invitation) .ql-support-launch{visibility:hidden}#ql-support{height:min(600px,calc(100dvh - 24px))}.qs-compose{padding-bottom:max(10px,env(safe-area-inset-bottom,0px))}}

/* Compact consultation shortcuts and content-sized chat messages. */
#ql-support .qs-topics{gap:8px;margin:12px 0 18px}
#ql-support .qs-topics button{display:grid;grid-template-columns:20px minmax(0,1fr);grid-template-rows:auto auto;column-gap:8px;row-gap:2px;align-content:center;justify-items:start;text-align:left;padding:10px;height:64px;min-height:0;border-radius:12px;box-shadow:0 2px 7px #493a1a04}
#ql-support .qs-topics svg{grid-row:1/3;width:20px!important;height:20px!important;align-self:center}
#ql-support .qs-topics strong{font-size:13px;line-height:1.4;font-weight:600}
#ql-support .qs-topics small{font-size:10px;line-height:1.4;white-space:normal;color:#818b84}
#ql-support .qs-message{gap:8px;margin:12px 0;align-items:flex-start}
#ql-support .qs-avatar{width:32px;height:32px;flex:0 0 32px;border:1px solid #fff;background-size:118px auto}
#ql-support .qs-message-content{display:flex;flex-direction:column;align-items:flex-start;min-width:0;max-width:min(82%,440px)}
#ql-support .qs-meta{display:block;color:#8b958d;font-size:10px;line-height:1.4;margin:0 0 4px}
#ql-support .qs-bubble{width:fit-content;max-width:100%;padding:8px 11px;border-radius:4px 12px 12px;font-size:13px;line-height:1.6;box-shadow:0 2px 7px #55452a04}
#ql-support .qs-message.mine{flex-direction:row-reverse;justify-content:flex-start}
#ql-support .qs-message.mine .qs-message-content{align-items:flex-end}
#ql-support .qs-message.mine .qs-meta{color:#8b958d}
#ql-support .qs-message.mine .qs-bubble{background:#dff2e5;color:#174532;border:1px solid #d3eada;border-radius:12px 4px 12px 12px}
#ql-support .qs-visitor-avatar{display:grid;place-items:center;background:linear-gradient(145deg,#eef8f0,#cfE8da);color:#237451;border:1px solid #c7e0d1;border-radius:10px}
#ql-support .qs-visitor-avatar svg{width:21px;height:21px;stroke-width:1.6}
@media(max-width:700px){#ql-support .qs-topics{gap:6px;margin:10px 0 14px}#ql-support .qs-topics button{height:54px;padding:7px 10px;border-radius:10px}#ql-support .qs-topics strong{font-size:12px}#ql-support .qs-topics small{font-size:10px}#ql-support .qs-avatar{width:29px;height:29px;flex-basis:29px;background-size:108px auto}#ql-support .qs-visitor-avatar{background-size:auto}#ql-support .qs-message-content{max-width:calc(100% - 42px)}#ql-support .qs-bubble{padding:7px 10px;font-size:13px}#ql-support .qs-visitor-avatar svg{width:20px;height:20px}}

/* Keep the mobile consultation window clear of screen edges. */
@media(max-width:700px){#ql-support{width:min(420px,calc(100vw - 32px));height:min(550px,calc(100dvh - 48px));border-radius:18px}.qs-head{height:48px;padding:0 11px;gap:6px}.qs-head h2{font-size:14px;white-space:nowrap}.qs-head-status{font-size:9px;line-height:1.35;max-width:102px}.qs-body{height:calc(100% - 48px)}.qs-window-controls{gap:0}.qs-window-controls button{padding:4px}#ql-support .qs-window-controls svg{width:19px;height:19px}.qs-scroll{padding:9px 11px}#ql-support .qs-topics{width:100%;max-width:350px;margin:10px auto 14px;gap:6px}#ql-support .qs-topics button{height:50px;padding:6px 8px;column-gap:6px;grid-template-columns:18px minmax(0,1fr)}#ql-support .qs-topics svg{width:18px!important;height:18px!important}#ql-support .qs-topics strong{font-size:12px}#ql-support .qs-topics small{font-size:9px;line-height:1.3}.qs-compose{padding:8px}.qs-entry{gap:3px}.qs-input-wrap{padding:5px 7px;gap:2px}.qs-send{width:38px;height:38px}.qs-icon{padding:4px}#ql-support .qs-entry svg{width:20px;height:20px}.qs-status{line-height:1.5;margin-bottom:5px}.qs-input-wrap textarea{font-size:12px!important}}
/* Dialog fallback for Android embedded browsers, with an independent touch layer. */
.qs-fallback-backdrop{position:fixed;inset:0;z-index:1000;background:#102d2470;touch-action:none}
.qs-fallback-backdrop[hidden]{display:none!important}
#ql-support.qs-fallback[open]{display:block;position:fixed;inset:0;margin:auto;z-index:1001}
#ql-support:not([open]){display:none}
#qs-invitation{cursor:pointer}
.ql-support-launch img{pointer-events:none}
#ql-support .qs-send{flex-shrink:0;aspect-ratio:1;width:44px;height:44px;padding:0;border-radius:50%}
@media(max-width:700px){.ql-support-launch{width:78px;right:6px;bottom:92px;top:auto;transform:none}.ql-support-launch:hover{transform:none}#ql-support .qs-send{width:38px;height:38px;min-width:38px;min-height:38px;flex:0 0 38px}}

/* Visible, touchable support layer independent of native mobile dialog support. */
.ql-support-launch{pointer-events:auto;touch-action:manipulation;isolation:isolate;z-index:900}
#ql-support.qs-fallback[open]{inset:auto 0 auto 0;margin:0 auto;z-index:1001;height:calc(100vh - 32px)}
#ql-support.qs-fallback .qs-body{min-height:0}
@media(max-width:700px){.ql-support-launch{bottom:calc(92px + env(safe-area-inset-bottom,0px))}}

/* The service entry is also a working link before JavaScript initializes. */
.ql-support-launch[hidden]{display:none!important}


/* The consultation card uses the supplied landscape and portrait artwork. */
#ql-support {
  --qs-head-height: clamp(54px,5.6vw,88px);
  width: min(1548px,calc(100vw - 36px));
  height: min(1016px,calc(100dvh - 36px),calc((100vw - 36px) / 1.52));
  border: 1px solid #b89162;
  border-radius: 28px;
  background: #fbf1df;
  color: #322415;
  box-shadow: 0 22px 60px #38291656;
}
#ql-support::backdrop { background: #20171080; backdrop-filter: blur(3px); }
#ql-support .qs-head {
  height: var(--qs-head-height);
  padding: 0 clamp(15px,1.8vw,28px);
  gap: clamp(8px,1.1vw,17px);
  background: linear-gradient(105deg,#352313a8,#322217cf),url('/live-v2-assets/skin-walnut-v2.webp') center/650px;
  color: #fff3d8;
}
.qs-head-icon { display: grid; place-items: center; width: clamp(34px,3.7vw,57px); aspect-ratio: 1; border-radius: 35%; background: #194327; }
#ql-support .qs-head-icon svg { width: 61%; height: 61%; }
#ql-support .qs-head h2 { color: inherit; font-size: clamp(18px,2vw,32px); font-weight: 800; white-space: nowrap; }
.qs-head-tagline { padding-left: 1em; border-left: 1px solid #e8cd9b6b; font-size: clamp(12px,1.4vw,22px); font-weight: 650; white-space: nowrap; }
#ql-support .qs-head-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
#ql-support .qs-window-controls { gap: clamp(8px,1.75vw,28px); }
#ql-support .qs-window-controls button { color: #f9deaa; }
#ql-support .qs-window-controls svg { width: clamp(20px,2.3vw,34px); height: auto; }
#ql-support .qs-body {
  height: calc(100% - var(--qs-head-height));
  grid-template-columns: 22.7% minmax(0,1fr);
  background: #fbf1df url('/public-live/support-landscape.png') center/100% 100% no-repeat;
}
#ql-support .qs-person { display: flex; flex-direction: column; background: transparent; }
.qs-art-crop { position: relative; overflow: hidden; }
.qs-art-crop img { position: absolute; display: block; max-width: none; height: auto; }
.qs-person-art { aspect-ratio: 351 / 302; flex: none; }
.qs-person-art img { width: 441.03%; left: 0; top: -29.14%; }
#ql-support .qs-profile {
  position: relative;
  inset: auto;
  flex: 1;
  padding: clamp(13px,1.7vw,26px) clamp(12px,2.7vw,42px) 0;
  border: 0;
  border-radius: 26px 26px 0 0;
  margin-top: -1px;
  background: linear-gradient(#f8e8cd,#fff9e9c4 72%,#fff9ea00);
}
#ql-support .qs-profile h3 { gap: 8px; color: #352315; font-size: clamp(16px,2vw,33px); line-height: 1.2; font-weight: 850; }
#ql-support .qs-profile h3 span { background: #8b622d; color: #fff2d8; padding: 4px 9px; border-radius: 999px; font-size: clamp(10px,1.25vw,19px); }
#ql-support .qs-profile p { color: #463320; margin: 12px 0 10px; padding-bottom: 9px; border-bottom: 1px solid #ddc7a145; font-size: clamp(11px,1.3vw,20px); }
#ql-support .qs-profile li { margin: clamp(4px,1.15vw,18px) 0; font-size: clamp(13px,1.65vw,26px); letter-spacing: 0; }
#ql-support .qs-profile li::before { width: 1.2em; height: 1.2em; margin-right: .65em; background: linear-gradient(115deg,#458c37,#175a2d); font-size: .73em; }
#ql-support .qs-main { border-color: #e0d1b3; border-radius: 27px 0 0 27px; background: #fffaf18a; box-shadow: -2px 0 8px #6e56351f; }
#ql-support .qs-scroll { padding: clamp(12px,1.6vw,25px) clamp(12px,1.7vw,27px); }
#ql-support .qs-date { margin: 0 0 13px; color: #302719; font-size: clamp(11px,1.3vw,20px); }
#ql-support .qs-date > span { padding: 2px 1.45em; border-radius: 999px; background: #f1e7d6; }
#ql-support .qs-date::before,#ql-support .qs-date::after { background: #e3d6c098; }
#ql-support .qs-message { gap: clamp(7px,1.2vw,19px); }
#ql-support .qs-welcome .qs-avatar { width: clamp(35px,4.4vw,68px); height: clamp(35px,4.4vw,68px); flex-basis: clamp(35px,4.4vw,68px); background: #e7bf83 url('/public-live/support-design-reference.png') 25.68% 18.07% / 2276.47% auto; }
#ql-support .qs-welcome .qs-message-content { max-width: min(88%,620px); }
#ql-support .qs-meta { color: #594832; font-size: clamp(11px,1.2vw,18px); }
#ql-support .qs-bubble { border-color: #fffaf1; background: #fffdf9e8; color: #30251a; }
#ql-support .qs-welcome .qs-bubble { padding: clamp(9px,1.2vw,19px) clamp(11px,1.5vw,23px); border-radius: 4px 22px 22px; font-size: clamp(14px,1.65vw,26px); line-height: 1.45; box-shadow: 0 2px 5px #7954260f; }
.qs-promo {
  position: relative;
  display: grid;
  grid-template-columns: 29% minmax(0,1fr);
  align-items: center;
  margin: 20px clamp(0px,8.2vw,128px) 4px clamp(24px,5.4vw,84px);
  overflow: hidden;
  border: 1px solid #e4c999;
  border-radius: 24px;
  background: #fcf1dc url('/public-live/support-landscape.png') right bottom/100% 170%;
  box-shadow: 0 5px 12px #75522c26;
}
.qs-promo-art { align-self: end; aspect-ratio: 262 / 220; mask-image: linear-gradient(90deg,#000 83%,transparent); }
.qs-promo-art img { width: 590.84%; left: -177.1%; top: -166.82%; }
.qs-promo-limited {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
  padding: 3px clamp(8px,1.55vw,24px) 4px;
  border-radius: 0 0 0 24px;
  background: linear-gradient(125deg,#f23e43,#ae0e14);
  color: #fff8e6;
  font-size: clamp(10px,1.3vw,20px);
  font-weight: 750;
}
.qs-promo-copy { padding: clamp(18px,1.6vw,28px) clamp(8px,1.1vw,17px); }
.qs-promo-copy h3 { margin: 0; color: #174b2a; font-size: clamp(17px,2.3vw,36px); line-height: 1.2; font-weight: 900; }
.qs-promo-copy ul { display: flex; flex-wrap: wrap; gap: 3px 12px; margin: 12px 0; padding: 0; list-style: none; font-size: clamp(11px,1.36vw,21px); font-weight: 650; }
.qs-promo-copy li { display: flex; gap: .4em; align-items: center; }
#ql-support .qs-promo-copy li svg { width: 1.2em; height: 1.2em; padding: .18em; color: white; border-radius: 50%; background: #8a6433; }
.qs-promo-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.qs-promo-actions a { display: flex; align-items: center; justify-content: center; gap: .35em; padding: 8px 4px; border: 1px solid #29663c; border-radius: 999px; background: #fff8e59c; color: #194a2c; font-size: clamp(11px,1.45vw,23px); font-weight: 800; text-decoration: none; white-space: nowrap; }
.qs-promo-actions a:first-child { color: #fff3d5; background: linear-gradient(145deg,#3d7e35,#144828); }
#ql-support .qs-promo-actions svg { width: 1em; height: 1em; }
#ql-support .qs-topics {
  display: block;
  flex: none;
  max-width: none;
  width: auto;
  margin: 0 clamp(10px,1.7vw,27px) clamp(5px,1.5vw,24px);
  padding: 9px clamp(8px,1.15vw,18px) 12px;
  border: 1px solid #e5d1a777;
  border-radius: 22px;
  background: #f3e4cbdb;
  box-shadow: 0 3px 7px #79542610;
}
#ql-support .qs-topics h3 { margin: 0 0 7px; color: #382515; font-size: clamp(14px,1.75vw,26px); }
#ql-support .qs-topics h3 small { color: inherit; font-size: .88em; }
#ql-support .qs-topics h3 svg { color: #15512d; margin-right: .35em; }
.qs-topic-list { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 6px; }
#ql-support .qs-topic-list button { display: flex; flex-direction: row; justify-content: center; align-items: center; gap: 2px; height: auto; min-height: 34px; padding: 6px 4px; border: 1px solid #dfc499; border-radius: 999px; background: #fff8e9c9; color: #19522f; font-size: clamp(10px,1.23vw,19px); font-weight: 800; text-align: center; }
#ql-support .qs-topic-list button svg { width: .8em !important; height: .8em !important; color: #b28348; }
#ql-support .qs-compose { background: #fff6e589; border: 0; padding: 3px clamp(9px,1.65vw,26px) clamp(9px,1.65vw,26px); }
#ql-support .qs-status { color: #72583e; font-size: clamp(9px,.82vw,13px); min-height: 0; }
#ql-support .qs-status.error { color: #9a2e21; }
#ql-support .qs-entry { gap: clamp(4px,1.2vw,19px); }
#ql-support .qs-input-wrap { padding: clamp(3px,.85vw,13px); border-color: #e6d1af; background: #fffdf9eb; border-radius: 24px; }
#ql-support .qs-input-wrap textarea { font-size: clamp(12px,1.4vw,22px) !important; }
#ql-support .qs-entry svg { width: clamp(19px,2.4vw,37px); height: auto; }
#ql-support .qs-send { width: clamp(39px,5.15vw,80px); height: auto; border-radius: 29%; background: linear-gradient(155deg,#5a9e37,#12442a); color: #fff7d5; }
#ql-support .qs-send svg { fill: currentColor; stroke-width: .8; }
@media (min-width:701px) {
  body[data-consultation-page] #ql-support[open] { max-width:1548px; }
  body[data-consultation-page] #ql-support .qs-person { display:flex; }
}
@media (max-width:700px) {
  #ql-support { --qs-head-height: 46px; width: calc(100vw - 20px); height: min(680px,calc(100dvh - 28px)); border-radius: 18px; }
  #ql-support .qs-head { padding: 0 9px; gap: 6px; }
  #ql-support .qs-head h2 { font-size: 15px; }
  .qs-head-tagline { display: none; }
  #ql-support .qs-window-controls { gap: 3px; }
  #ql-support .qs-body { grid-template-columns: minmax(0,1fr); }
  #ql-support .qs-person, .qs-desktop-break { display: none; }
  #ql-support .qs-main { border-radius: 0; border: 0; }
  #ql-support .qs-scroll { padding: 9px 10px; }
  #ql-support .qs-welcome .qs-message-content { max-width: calc(100% - 44px); }
  #ql-support .qs-welcome .qs-bubble { font-size: 13px; }
  .qs-promo { margin: 9px 0 4px; border-radius: 14px; grid-template-columns: 24% minmax(0,1fr); }
  .qs-promo-limited { font-size: 9px; }
  .qs-promo-copy { padding: 16px 6px 8px; }
  .qs-promo-copy h3 { font-size: 15px; }
  .qs-promo-copy ul { margin: 5px 0; gap: 2px 5px; font-size: 10px; }
  .qs-promo-actions { gap: 4px; }
  .qs-promo-actions a { padding: 4px 3px; font-size: 10px; }
  #ql-support .qs-topics { margin: 0 8px 5px; padding: 6px 7px; border-radius: 12px; }
  #ql-support .qs-topics h3 { font-size: 12px; margin-bottom: 4px; }
  .qs-topic-list { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 3px; }
  #ql-support .qs-topic-list button { min-height: 23px; padding: 2px; font-size: 10px; white-space: nowrap; }
  #ql-support .qs-input-wrap { border-radius: 16px; }
  #ql-support .qs-send { width: 38px; height: 38px; }
}

#ql-support .qs-picker {
  z-index: 2;
  bottom: calc(100% - 3px);
  right: 10px;
  max-width: calc(100% - 20px);
  flex-wrap: wrap;
}
#ql-support .qs-picker button { width: 32px; padding: 2px; }


/* Preserve the consultation design at the original, compact dimensions. */
#ql-support {
  --qs-head-height: 60px;
  width: min(980px,calc(100vw - 32px));
  height: min(640px,calc(100dvh - 32px));
  border-radius: 23px;
  container-type: inline-size;
}
#ql-support .qs-head { padding-inline: 16px; gap: 10px; }
#ql-support .qs-head h2 { font-size: 20px; }
#ql-support .qs-head-tagline { font-size: 13px; }
#ql-support .qs-head-icon { width: 36px; }
#ql-support .qs-window-controls { gap: 11px; }
#ql-support .qs-window-controls svg { width: 21px; }
#ql-support .qs-profile { padding: 14px 13px 0 17px; border-radius: 18px 18px 0 0; }
#ql-support .qs-profile h3 { gap: 6px; font-size: 19px; }
#ql-support .qs-profile h3 span { padding: 3px 6px; font-size: 11px; }
#ql-support .qs-profile p { font-size: 12px; margin: 8px 0 7px; padding-bottom: 6px; }
#ql-support .qs-profile li { font-size: 15px; margin: 8px 0; }
#ql-support .qs-scroll { padding: 12px 16px; }
#ql-support .qs-date { margin: 0 0 8px; font-size: 12px; }
#ql-support .qs-message { gap: 9px; margin: 8px 0; }
#ql-support .qs-welcome .qs-avatar { width: 41px; height: 41px; flex-basis: 41px; }
#ql-support .qs-meta { font-size: 11px; }
#ql-support .qs-welcome .qs-bubble { padding: 8px 12px; font-size: 15px; border-radius: 4px 15px 15px; }
#ql-support .qs-promo { margin: 12px clamp(0px,7.7cqw,70px) 3px clamp(28px,6cqw,58px); border-radius: 16px; }
#ql-support .qs-promo-copy { padding: 14px 9px; }
#ql-support .qs-promo-copy h3 { font-size: 22px; }
#ql-support .qs-promo-copy ul { margin: 6px 0; gap: 2px 9px; font-size: 13px; }
#ql-support .qs-promo-limited { font-size: 12px; padding: 2px 12px 3px; }
#ql-support .qs-promo-actions a { font-size: 14px; padding: 5px 4px; }
#ql-support .qs-topics { margin: 0 16px 9px; padding: 6px 9px 8px; border-radius: 14px; }
#ql-support .qs-topics h3 { font-size: 16px; margin-bottom: 4px; }
#ql-support .qs-topic-list button { font-size: 12px; min-height: 27px; padding: 3px; }
#ql-support .qs-compose { padding: 2px 15px 13px; }
#ql-support .qs-status { font-size: 10px; }
#ql-support .qs-input-wrap { padding: 5px 9px; border-radius: 18px; }
#ql-support .qs-input-wrap textarea { font-size: 14px !important; }
#ql-support .qs-entry { gap: 8px; }
#ql-support .qs-entry svg { width: 23px; }
#ql-support .qs-send { width: 46px; height: 46px; }
body[data-consultation-page] #ql-support[open] { max-width: 980px; }
@media (max-width:700px) {
  #ql-support { --qs-head-height: 46px; width: min(420px,calc(100vw - 32px)); height: min(550px,calc(100dvh - 48px)); border-radius: 18px; }
  #ql-support .qs-head { padding-inline: 9px; gap: 6px; }
  #ql-support .qs-head h2 { font-size: 15px; }
  #ql-support .qs-scroll { padding: 8px 10px; }
  #ql-support .qs-welcome .qs-avatar { width: 32px; height: 32px; flex-basis: 32px; }
  #ql-support .qs-welcome .qs-bubble { padding: 7px 9px; font-size: 13px; }
  #ql-support .qs-promo { margin: 8px 0 4px; border-radius: 12px; }
  #ql-support .qs-promo-copy { padding: 15px 5px 7px; }
  #ql-support .qs-promo-copy h3 { font-size: 15px; }
  #ql-support .qs-promo-copy ul { font-size: 10px; }
  #ql-support .qs-promo-limited { font-size: 9px; padding-inline: 7px; }
  #ql-support .qs-promo-actions a { font-size: 10px; padding: 4px 2px; }
  #ql-support .qs-topics { margin: 0 7px 5px; padding: 5px 6px; }
  #ql-support .qs-topics h3 { font-size: 12px; }
  #ql-support .qs-topic-list button { font-size: 10px; min-height: 22px; padding: 2px; }
  #ql-support .qs-compose { padding: 1px 7px 8px; }
  #ql-support .qs-input-wrap textarea { font-size: 12px !important; }
  #ql-support .qs-input-wrap { padding: 3px 5px; }
  #ql-support .qs-entry { gap: 3px; }
  #ql-support .qs-entry svg { width: 19px; }
  #ql-support .qs-send { width: 38px; height: 38px; }
}

@container (min-width:650px) and (max-width:800px) {
  #ql-support .qs-promo { margin-inline: 25px 16px; }
  #ql-support .qs-promo-copy h3 { font-size: 19px; }
  #ql-support .qs-promo-copy ul, #ql-support .qs-topic-list button { font-size: 11px; }
  #ql-support .qs-promo-actions a { font-size: 12px; }
}

#ql-support [hidden]{display:none!important}
#ql-support .qs-welcome .qs-bubble{white-space:pre-line}

#ql-support .qs-profile{overflow-y:auto;overflow-wrap:anywhere}#ql-support .qs-profile h3{flex-wrap:wrap}#ql-support .qs-profile li{white-space:normal}

#ql-support .qs-profile ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 5px;margin:10px 0 12px;padding:0}
#ql-support .qs-profile li{margin:0;font-size:14px;line-height:1.5;display:flex;align-items:baseline}
#ql-support .qs-profile li::before{flex:none;margin-right:5px}
#ql-support .qs-wechat{margin:10px auto 14px;text-align:center;max-width:156px}
#ql-support .qs-wechat img{display:block;width:100%;height:auto;background:#fff;border-radius:6px}
#ql-support .qs-wechat figcaption{font-size:12px;line-height:1.5;color:#72583e;margin-top:5px;overflow-wrap:anywhere}
