/* 官网智能问答助手 · 2026-10-20
   兼容 360 兼容模式（ES5，无箭头函数 / 无模板字符串 / 无 flex gap 依赖） */

/* 竖条按钮 · 窗口里每次只露两个字 · 2026-10-20 四改：
   窗口 20px 只放一行（在线 / 咨询 轮流），每 2.4s 停一下、0.4s 滚一格；图标 14px，整体 46x56 */
/* 2026-10-22 五改：站点主色是青绿，按钮原来也是绿，贴在深绿页头上几乎融进去。
   改成橙红渐变拉开色相，再叠一道「亮光扫过」的光带，静止时也有动静。 */
#msbot-btn{position:fixed;right:22px;bottom:22px;width:46px;height:56px;padding:6px 0 5px;
  border-radius:13px;overflow:hidden;animation:msbotBreath 3.4s ease-in-out infinite;
  background:linear-gradient(160deg,#FFA552 0%,#F4691F 46%,#D6360A 100%);
  color:#fff;border:1.5px solid rgba(255,255,255,.85);cursor:pointer;z-index:2147482000;
  box-shadow:0 8px 22px rgba(214,54,10,.42),0 0 0 3px rgba(255,255,255,.16),
             inset 0 1px 0 rgba(255,255,255,.62),inset 0 0 14px rgba(255,255,255,.16);
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  transition:transform .18s ease,box-shadow .18s ease;
  font:700 13.5px/1 -apple-system,"PingFang SC","Microsoft YaHei",sans-serif;
  letter-spacing:.5px;text-indent:.5px;
  text-shadow:0 1px 2px rgba(120,26,0,.85),0 0 5px rgba(120,26,0,.45)}
#msbot-btn:hover{animation-play-state:paused;transform:translateY(-1px);
  background:linear-gradient(160deg,#FFB871 0%,#FA7A2C 46%,#E2430F 100%);
  border-color:#fff;
  box-shadow:0 14px 30px rgba(214,54,10,.5),0 0 0 4px rgba(255,255,255,.2),
             0 0 26px rgba(255,140,60,.55),inset 0 1px 0 rgba(255,255,255,.6)}
/* 亮光扫过：一条斜向高光从左掠到右，3.6 秒一轮，扫完停一会儿再扫 */
#msbot-btn::after{content:"";position:absolute;top:-40%;left:-75%;width:42%;height:180%;
  background:linear-gradient(100deg,rgba(255,255,255,0) 0%,rgba(255,255,255,.82) 50%,rgba(255,255,255,0) 100%);
  -webkit-transform:skewX(-18deg);transform:skewX(-18deg);
  animation:msbotScan 3.6s cubic-bezier(.5,0,.5,1) infinite;pointer-events:none}
@keyframes msbotScan{0%{left:-75%}38%{left:130%}100%{left:130%}}
#msbot-btn:hover::after{animation-duration:1.6s}
/* 老内核（360 兼容/IE）不支持 skew 动画时，至少给个实色底，别透明糊在一起 */
@supports not ((backdrop-filter:blur(4px)) or (transform:skewX(-1deg))){
  #msbot-btn{background:linear-gradient(160deg,#FFA552 0%,#F4691F 46%,#D6360A 100%)}
}
/* 单行窗口：只露 20px 一个字位，四行轨道每格滚一次，首尾同字，归零无跳帧 */
#msbot-btn .msbot-roll{display:block;width:100%;height:20px;overflow:hidden;text-align:center;position:relative}
#msbot-btn .msbot-track{display:block;width:100%;animation:msbotRoll 6s cubic-bezier(.55,.06,.44,.94) infinite}
#msbot-btn .msbot-track i{display:block;height:20px;line-height:20px;font-style:normal;
  white-space:nowrap;font-size:13.5px;font-weight:700}
#msbot-btn:hover .msbot-track{animation-play-state:paused}
@keyframes msbotRoll{
  0%,38%{transform:translateY(0)}        /* 在线 */
  44%,82%{transform:translateY(-20px)}   /* 咨询 */
  88%,100%{transform:translateY(-40px)}  /* 在线（与首行同字，回零无感） */
}
/* 在线小点：5px 收在右上角 */
#msbot-btn .msbot-dot{position:absolute;top:5px;right:5px;width:5px;height:5px;border-radius:50%;
  background:#ffffff;box-shadow:0 0 0 2px rgba(255,255,255,.26);animation:msbotDot 1.8s ease-in-out infinite}
@keyframes msbotDot{0%,100%{opacity:1}50%{opacity:.35}}
#msbot-btn svg{width:14px;height:14px;display:block;margin:0 0 4px;flex:0 0 auto}

/* 首次进入的引导气泡：不点按钮也能看见入口 */
#msbot-teaser{position:fixed;right:22px;bottom:88px;max-width:250px;background:#fff;color:#1F3330;
  border:1px solid #D8E6DE;border-radius:12px;padding:11px 34px 11px 13px;font:13.5px/1.55 -apple-system,"PingFang SC","Microsoft YaHei",sans-serif;
  box-shadow:0 10px 30px rgba(16,32,64,.16);z-index:2147481999;display:none}
#msbot-teaser.on{display:block;animation:msbIn .3s ease}
#msbot-teaser::after{content:"";position:absolute;right:26px;bottom:-6px;width:12px;height:12px;
  background:#fff;border-right:1px solid #D8E6DE;border-bottom:1px solid #D8E6DE;transform:rotate(45deg)}
#msbot-teaser b{display:block;font-weight:700;margin-bottom:2px;color:#115C61}
#msbot-teaser .x{position:absolute;right:8px;top:6px;cursor:pointer;color:#7E9A90;font-size:15px;line-height:1;
  padding:4px}
@keyframes msbIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}

#msbot{position:fixed;right:22px;bottom:92px;width:384px;max-width:calc(100vw - 32px);
  height:580px;max-height:calc(100vh - 120px);background:rgba(255,255,255,.96);
  -webkit-backdrop-filter:blur(14px) saturate(1.3);backdrop-filter:blur(14px) saturate(1.3);
  border-radius:18px;z-index:9999;
  box-shadow:0 20px 56px rgba(16,32,64,.26);display:none;overflow:hidden;flex-direction:column;
  font:15px/1.65 -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;
  color:#1F3330;border:1.5px solid rgba(30,58,95,.14)}
#msbot.on{display:flex}

.msbot-head{flex:0 0 auto;background:linear-gradient(135deg,#115C61,#2c5282);color:#fff;padding:14px 16px;
  display:flex;align-items:center;justify-content:space-between}
/* 小鸣头像（窗口标题栏）：cylinder-calc 站标裁成的圆标 */
.msbot-head .msbot-hava{width:34px;height:34px;border-radius:50%;background:#fff;
  border:1.5px solid rgba(255,255,255,.7);margin-right:10px;flex:0 0 auto}
.msbot-head .t{font-size:15px;font-weight:700;letter-spacing:.3px}
.msbot-head .s{font-size:11.5px !important;line-height:1.45 !important;color:#b8cdf0;margin-top:2px;font-weight:400;white-space:nowrap;letter-spacing:-.1px}
.msbot-hact{display:flex;align-items:center}
.msbot-head .newc{background:rgba(255,255,255,.14);border:0;color:#fff;width:26px;height:26px;
  border-radius:8px;cursor:pointer;font-size:16px;line-height:1;padding:0;margin-right:3px;
  font-family:inherit;transition:background .15s ease}
.msbot-head .newc:hover{background:rgba(255,255,255,.28)}
.msbot-head .x{background:rgba(255,255,255,.14);border:0;color:#fff;width:26px;height:26px;
  border-radius:6px;cursor:pointer;font-size:16px;line-height:1;padding:0}

.msbot-body{flex:1 1 auto;min-height:0;padding:14px 14px 8px;overflow-y:auto;background:#F4F9F6;
  -webkit-overflow-scrolling:touch}

.msbot-msg{margin-bottom:12px;display:flex;align-items:flex-start}
.msbot-msg.me{justify-content:flex-end}
/* 小鸣头像（消息行）：每条 AI 回答左侧的小圆标 */
.msbot-msg.bot .msbot-ava{width:26px;height:26px;border-radius:50%;background:#fff;
  border:1px solid #dbe3ee;margin-right:7px;flex:0 0 auto;margin-top:2px}
/* 在线用户统一取名「我」：气泡右侧小圆牌 */
.msbot-msg.me .msbot-uava{font-style:normal;flex:0 0 auto;width:26px;height:26px;line-height:26px;
  text-align:center;border-radius:50%;background:#115C61;color:#fff;font-size:12px;
  margin-left:7px;margin-top:2px;font-family:inherit}
.msbot-bub{max-width:86%;padding:10px 13px;border-radius:12px;font-size:14.5px;line-height:1.65;
  word-wrap:break-word;overflow-wrap:anywhere;white-space:pre-wrap}
.msbot-msg.bot .msbot-bub{background:#fff;border:1px solid #D8E6DE;border-top-left-radius:4px;
  box-shadow:0 1px 3px rgba(20,40,80,.04)}
.msbot-msg.me .msbot-bub{background:#115C61;color:#fff;border-top-right-radius:4px}

.msbot-src{margin-top:8px;padding-top:8px;border-top:1px dashed #D8E6DE;font-size:12.5px}
/* 导航链接做成按钮样式，比裸 URL 好点 */
.msbot-bub a.msbot-nav{display:inline-block;margin:6px 6px 0 0;padding:6px 12px;border-radius:16px;
  background:#EAF4EE;color:#115C61;font-size:13px;text-decoration:none;border:1px solid #b8cdf0}
.msbot-bub a.msbot-nav:hover{background:#115C61;color:#fff;border-color:#115C61}
/* 液压缸选型计算器：必须独占一行（JS 已在按钮前后强制换行，这里块级 + 通宽再兜一层） */
.msbot-bub a.msbot-calc{display:block;margin:8px 0 2px;padding:8px 12px;border-radius:10px;
  background:#ecfdf3;border:1px solid #abdfc0;color:#1E9E62;font-weight:700;text-align:center;
  box-sizing:border-box}
.msbot-bub a.msbot-calc:hover{background:#1E9E62;border-color:#1E9E62;color:#fff}

.msbot-src a{display:block;color:#2c5282;text-decoration:none;padding:3px 0;overflow:hidden;
  text-overflow:ellipsis;white-space:nowrap}
.msbot-src a:hover{text-decoration:underline}
.msbot-src b{color:#5C7A72;font-weight:400;display:block;margin-bottom:2px}

.msbot-act{margin-top:8px;font-size:12px;color:#5C7A72}
.msbot-act b{cursor:pointer;font-weight:400;padding:2px 8px;border:1px solid #C9DCD2;
  border-radius:10px;margin-right:6px;background:#fff;display:inline-block}
.msbot-act b:hover{border-color:#115C61;color:#115C61}

/* 快捷问题：参考资料式文字行，一行一条，不再用方框（省版面） */
.msbot-quick{flex:0 0 auto;padding:0 14px 6px;background:#F4F9F6}
.msbot-quick a.qk{display:block;font-size:12px;line-height:1.55;color:#2c5282;
  text-decoration:none;padding:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.msbot-quick a.qk:before{content:"· ";color:#8AA69A}
.msbot-quick a.qk:hover{color:#115C61;text-decoration:underline}
.msbot-quick b{display:inline-block;font-weight:400;font-size:12.5px;padding:6px 11px;
  background:#fff;border:1px solid #C9DCD2;border-radius:14px;color:#3c4a5e;cursor:pointer;
  margin:0 6px 6px 0;transition:.15s}

.msbot-input{flex:0 0 auto;border-top:1px solid #D8E6DE;padding:11px 12px 10px;display:flex;align-items:flex-end;
  background:rgba(255,255,255,.72)}
/* 输入框：2px 粗边 + 14px 方圆角 + 内浅底，聚焦时主色描边加光圈 */
.msbot-input textarea{flex:1 1 auto;min-width:0;box-sizing:border-box;
  border:2px solid #C9DCD2;border-radius:14px;outline:0;resize:none;
  font:14.5px/1.45 inherit;color:#1F3330;
  height:48px;max-height:96px;padding:8px 12px;background:#f7f9fc;
  /* 空/单行时不露滚动条（原来 3px 溢出就常驻一条，压在右边框上）；
     真的超 96px 由 JS 切成 auto，才出现细滚动条 */
  overflow-y:hidden;
  box-shadow:inset 0 1px 2px rgba(16,32,64,.05);
  transition:border-color .16s ease,box-shadow .16s ease,background .16s ease}
/* 细滚动条：4px、圆角、半透明，贴着右边框也不扎眼 */
.msbot-input textarea::-webkit-scrollbar{width:4px}
.msbot-input textarea::-webkit-scrollbar-thumb{background:#C9DCD2;border-radius:2px}
.msbot-input textarea::-webkit-scrollbar-thumb:hover{background:#7E9A90}
.msbot-input textarea::-webkit-scrollbar-track{background:transparent}
.msbot-input textarea::placeholder{color:#93a5bb;font-size:12.5px}
.msbot-input textarea:focus{border-color:#16a34a;background:#fff;
  box-shadow:0 0 0 3px rgba(22,163,74,.13),inset 0 1px 2px rgba(16,32,64,.04)}
/* 发送键：46px 方形圆角，和输入框等高 */
.msbot-input .send{width:46px;height:46px;box-sizing:border-box;border-radius:14px;
  border:2px solid rgba(255,255,255,.55);
  background:linear-gradient(135deg,#2fbf62,#14803c);color:#fff;
  cursor:pointer;font-size:16px;flex:0 0 auto;margin-left:9px;padding:0;line-height:1;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.45),inset 0 -2px 4px rgba(10,70,32,.2);
  transition:background .16s ease,box-shadow .16s ease,transform .12s ease}
.msbot-input .send:hover{background:linear-gradient(135deg,#47d47a,#189c4a);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.55),inset 0 -2px 5px rgba(10,70,32,.24)}
.msbot-input .send:active{transform:translateY(1px)}
.msbot-input .send:disabled{background:#c9d2df;border-color:rgba(255,255,255,.7);
  box-shadow:none;cursor:default;transform:none}
.msbot-tip{flex:0 0 auto;font-size:11px;color:#6b7f96;text-align:center;padding:0 0 8px;background:rgba(255,255,255,.72);letter-spacing:.2px}

.msbot-warn{display:none;flex:0 0 auto;margin:0 12px 8px;padding:7px 11px;border-radius:10px;
  background:#fef2f2;border:1px solid #fecaca;color:#b91c1c;font-size:12px;line-height:1.45;
  letter-spacing:.2px}
.msbot-warn.on{display:block}

/* 被拦下的那句话：浅红气泡 + 前置 ❗ + 末尾「未发出」 */
/* 注意：必须带上 .msbot-msg.me，否则被「我的气泡」深蓝底盖掉（优先级 0,4,0） */
.msbot-msg.me .msbot-bub.warn{background:#fef2f2;border:1.5px solid #fecaca;color:#7f1d1d;
  border-bottom-right-radius:4px;box-shadow:none}
.msbot-msg.me .msbot-bub.warn i.w{font-style:normal;font-weight:700;color:#dc2626;margin-right:6px;font-size:15px;
  vertical-align:-1px}
.msbot-msg.me .msbot-bub.warn .warn-tip{display:block;margin-top:7px;padding-top:6px;border-top:1px dashed #fca5a5;
  font-size:11.5px;color:#b91c1c;letter-spacing:.3px;line-height:1.3}

.msbot-loading span{display:inline-block;width:6px;height:6px;border-radius:50%;background:#7E9A90;
  margin-right:4px;animation:msb 1s infinite}
.msbot-loading span:nth-child(2){animation-delay:.15s}
.msbot-loading span:nth-child(3){animation-delay:.3s}
@keyframes msb{0%,60%,100%{opacity:.3;transform:translateY(0)}30%{opacity:1;transform:translateY(-3px)}}

@media (max-width:720px){
  #msbot{right:0;bottom:0;width:100%;max-width:100%;height:100%;max-height:100%;border-radius:0;
    border:0}
  #msbot-btn{right:12px;bottom:14px;width:44px;height:52px;border-radius:12px;padding:5px 0 4px;
    background:linear-gradient(160deg,#FFA552 0%,#F4691F 46%,#D6360A 100%);
    font-size:12.5px}
  #msbot-btn svg{width:13px;height:13px;margin-bottom:3px}
  #msbot-btn .msbot-track i{font-size:12.5px}
  #msbot{border-radius:0;border:0}
  .msbot-input{padding:10px 10px 8px}
  .msbot-input textarea{height:46px;padding:7px 11px;border-radius:13px}
  .msbot-input .send{width:44px;height:44px;border-radius:13px;margin-left:8px}
  #msbot-teaser{right:12px;bottom:80px;max-width:220px}
  .msbot-body{padding-bottom:12px}
  .msbot-head{padding-top:16px}
  .msbot-head .msbot-hava{width:30px;height:30px}
  .msbot-msg.bot .msbot-ava{width:24px;height:24px}
  .msbot-msg.me .msbot-uava{width:24px;height:24px;line-height:24px;font-size:11px}
}

/* m 站菜单抽屉拉开时，咨询入口和引导气泡让位，别压着菜单项（2026-10-20） */
body.ms-drawer-open #msbot-btn,
body.ms-drawer-open #msbot-teaser{display:none !important}

/* 「回到顶部」让位（2026-10-20 实测）：竖条按钮占住右下角后，原 totop 被盖掉 95.5%
   两端都改成与按钮并排（按钮左侧），互不遮挡 */
.ms-totop{right:78px !important;bottom:22px !important}
@media (max-width:720px){
  .ms-totop{right:64px !important;bottom:14px !important}
}

/* ===== 语音朗读小喇叭（2026-10-22） ===== */
.msbot-say{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;margin-top:8px;padding:0;border:1px solid #C9DCD2;border-radius:50%;background:#fff;color:#5C7A72;cursor:pointer;vertical-align:middle;-webkit-appearance:none;appearance:none;transition:background .15s,color .15s,border-color .15s}
.msbot-say:hover{border-color:#115C61;color:#115C61;background:#EAF4EE}
.msbot-say.on{background:#115C61;border-color:#115C61;color:#fff}
.msbot-say.on svg{animation:msbotSayPulse 1.2s ease-in-out infinite}
.msbot-say.loading{opacity:.55;cursor:default}
.msbot-say.loading svg{animation:msbotSaySpin .9s linear infinite}
@keyframes msbotSaySpin{to{transform:rotate(360deg)}}
@keyframes msbotSayPulse{0%,100%{opacity:1}50%{opacity:.55}}

/* ===== 语音设置（2026-10-22） ===== */
.msbot-hact .vset{background:rgba(255,255,255,.14);border:0;color:#fff;width:26px;height:26px;
  border-radius:8px;cursor:pointer;padding:0;margin-right:3px;line-height:1;
  display:inline-flex;align-items:center;justify-content:center;transition:background .15s ease}
.msbot-hact .vset:hover{background:rgba(255,255,255,.28)}
.msbot-vset{position:absolute;top:60px;left:10px;right:10px;z-index:9;background:#fff;
  border:1px solid #C9DCD2;border-radius:10px;box-shadow:0 10px 28px rgba(16,32,56,.16);
  padding:6px 12px;display:none;font-size:13px;color:#3c4a5e}
.msbot-vset.on{display:block}
.msbot-vset .row{display:flex;align-items:center;justify-content:space-between;padding:8px 0;border-bottom:1px solid #eef1f5}
.msbot-vset .row:last-child{border-bottom:0}
.msbot-vset label{cursor:pointer;color:#115C61}
.msbot-vset select{max-width:60%;padding:4px 6px;border:1px solid #C9DCD2;border-radius:6px;
  font-size:13px;color:#115C61;background:#fff;font-family:inherit}

/* ===== 到厂导航固定按钮（2026-10-22） ===== */
.msbot-navbox{margin-top:4px}
.msbot-navbox a.msbot-nav{display:block;width:78%;max-width:238px;margin:5px auto 0;padding:5px 12px;text-align:center;box-sizing:border-box}

/* ============================================================
   电话拨打按钮（2026-10-22）
   机器人欢迎语、超时提示、回答正文里的 139-9630-5220 统一渲染成
   胶囊按钮：手机点即拨号（tel:），电脑点复制号码并显示「已复制」。
   用 inline-block 而非 inline-flex：360 兼容模式（IE 内核）可读。
   ============================================================ */
.msbot-tel{display:inline-block;padding:1px 10px 2px;margin:0 2px;
  border:1px solid #FF8800;background-color:#FFF4E6;color:#A34F00;
  border-radius:999px;font-weight:700;font-size:inherit;line-height:1.75;
  white-space:nowrap;text-decoration:none;vertical-align:baseline;
  -webkit-tap-highlight-color:transparent;cursor:pointer}
.msbot-tel:hover{border-color:#E67A00;background-color:#FFE7CC;color:#7A4700}
.msbot-tel:active{border-color:#CC6E00;background-color:#FFE4B0}
.msbot-tel-ico{display:inline-block;width:12px;height:12px;margin-right:3px;
  vertical-align:-1px;fill:currentColor}
.msbot-tel.copied{border-color:#1E9E62;background-color:#E6F6EC;color:#1E9E62}

/* ============================================================
   分网点导航（2026-10-22）
   区域问法时，每个收发货网点一组：店名 + 高德/百度/腾讯三个小按钮。
   ============================================================ */
.msbot-navbox .msbot-navgrp{margin-top:8px;padding-top:6px;border-top:1px dashed #D8E6DE}
.msbot-navbox .msbot-navgrp:first-child{margin-top:2px;padding-top:0;border-top:0}
.msbot-navgt{display:block;font-size:14px;font-weight:800;color:#123B31;line-height:1.45;margin:0 0 2px}
.msbot-navgrp a.msbot-nav{display:inline-block;width:31.5%;margin:5px 2% 0 0;padding:6px 2px;
  font-size:12px;text-align:center;box-sizing:border-box;white-space:nowrap;
  overflow:hidden;text-overflow:ellipsis}
.msbot-navgrp a.msbot-nav:nth-of-type(3n){margin-right:0}
/* 网点地址：黑体 + 加粗，颜色沿用原来的浅灰（站长 2026-10-22 要求） */
/* 网点地址：客户要复制给司机、要念给快递，字号往上提一档、颜色加深
   （2026-10-23 老板要求「主动贴具体文字地址」） */
.msbot-navga{font-family:"SimHei","Microsoft YaHei","PingFang SC",sans-serif;
  font-weight:700;font-size:12.5px;line-height:1.6;color:#3D5A52;margin:3px 0 3px;word-break:break-all}
/* 网点电话：小号拨号按钮（地址下面一行） */
.msbot-telrow{margin:2px 0 1px}
a.msbot-tel.msbot-telsm{padding:0 7px;font-size:11px;line-height:1.65;border-radius:999px}
a.msbot-tel.msbot-telsm .msbot-tel-ico{width:11px;height:11px;margin-right:2px}

/* ============================================================
   定位按钮 + 网点卡片布局（2026-10-22）
   ============================================================ */
/* 定位按钮：图标 + 「定位找网点」文字，呼吸闪，客户一眼知道这里能按位置找网点。
   只用 background-color / border-color 做脉动，不用 box-shadow 与 rgba：
   360 兼容模式（IE 内核）不支持时自动静止，文字仍清晰可读。 */
.msbot-input .geo{flex:0 0 auto;display:inline-block;height:34px;padding:0 9px;margin-right:5px;
  border:1px solid #8FD3B2;border-radius:999px;background-color:#EAF7F0;color:#0F5B45;
  font-size:11.5px;line-height:32px;cursor:pointer;white-space:nowrap;
  -webkit-tap-highlight-color:transparent;animation:msbotGeoPulse 1.8s ease-in-out infinite}
.msbot-input .geo i{font-style:normal;font-size:14px;margin-right:3px;vertical-align:-1px}
.msbot-input .geo em{font-style:normal}
.msbot-input .geo:hover{border-color:#1E9E62;background-color:#DCF2E6}
.msbot-input .geo.on{background-color:#1E9E62;color:#fff;border-color:#1E9E62;animation:none}
.msbot-input .geo:disabled{opacity:.65;animation:none}
@keyframes msbotGeoPulse{
  0%,100%{background-color:#EAF7F0;border-color:#8FD3B2}
  50%{background-color:#CFEEDD;border-color:#1E9E62}
}

/* 定位引导条：收货还是发货 → 点定位算最近网点；一闪一闪，点过/发过消息就收起 */
/* 定位引导条：文案居中、字号加大（11.5 → 13），关闭按钮改绝对定位，不再挤文字 */
.msbot-geotip{display:block;position:relative;margin:4px 14px 0;padding:2px 24px 2px 0;
  border:0;background:none;color:#5C7A72;font-size:12px;line-height:1.6;text-align:left;
  cursor:pointer}
.msbot-geotip .tx{display:block;padding:0}
.msbot-geotip b{color:#0B4A38;font-weight:700}
.msbot-geotip .cls{position:absolute;right:6px;top:50%;margin:-9px 0 0;padding:0 3px;
  color:#7E9A90;font-weight:400;font-size:13px;line-height:18px;cursor:pointer}
@keyframes msbotTipBlink{0%,100%{opacity:1}50%{opacity:.42}}
/* 网点卡片：店名 + 电话同一行，导航在中间，地址在下面 */
/* 店名与电话同一行（inline 排布，不依赖 float，360 兼容模式也稳）：
   名称过长自动省略，电话始终跟在右侧，省掉一整行高度 */
.msbot-navgp{display:block;white-space:nowrap;overflow:hidden;margin:0 0 2px;line-height:1.5}
.msbot-navgp .msbot-navgt{display:inline-block;float:none;max-width:62%;margin:0 6px 0 0;
  vertical-align:middle;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.msbot-navgp .msbot-telbox{display:inline-block;float:none;line-height:1;vertical-align:middle}

/* 定位按钮与引导条 · 移动端适配（2026-10-22）
   手机输入框高 44~46px，按钮同步加高，文字略缩，避免挤压输入区 */
@media (max-width:720px){
  .msbot-input .geo{height:44px;line-height:42px;padding:0 8px;font-size:11px}
  .msbot-input .geo i{font-size:13px;margin-right:2px}
  .msbot-geotip{margin:6px 10px 0;padding:6px 9px;font-size:13px}
}

/* ============================================================
   地图选点（2026-10-22）
   高德地图嵌在问答窗口里，客户在图上点一下就得到精确坐标，
   不用跳 App、不用给定位授权。z-index 压在对话区之上。
   ============================================================ */
.msbot-mapwrap{display:none;position:absolute;left:0;top:0;right:0;bottom:0;z-index:30;background-color:#F4F9F6}
.msbot-mapbar{height:40px;line-height:40px;padding:0 12px;background-color:#115C61;color:#fff;
  font-size:12.5px;overflow:hidden}
.msbot-mapbar .tx{display:inline-block;max-width:86%;overflow:hidden;text-overflow:ellipsis;
  white-space:nowrap;vertical-align:middle}
.msbot-mapbar .cls{float:right;font-weight:400;font-size:15px;line-height:40px;cursor:pointer;padding:0 4px}
.msbot-map{position:absolute;left:0;right:0;top:40px;bottom:56px;background-color:#E8EFEA}
.msbot-mapft{position:absolute;left:0;right:0;bottom:0;height:56px;padding:9px 12px;
  background-color:#fff;border-top:1px solid #D8E6DE;text-align:right;box-sizing:border-box}
.msbot-mapft .mbtn{display:inline-block;height:38px;line-height:36px;padding:0 16px;border-radius:10px;
  border:1px solid #1E9E62;background-color:#1E9E62;color:#fff;font-size:13px;cursor:pointer;
  vertical-align:middle;-webkit-appearance:none}
.msbot-mapft .mbtn.ghost{background-color:#fff;color:#115C61;margin-right:8px}
.msbot-mapft .mbtn[disabled]{background-color:#C9DCD2;border-color:#C9DCD2;color:#fff;cursor:default}

/* 地图面板上的地址输入条（2026-10-22）：不想拖地图的客户直接打地址 */
.msbot-mapsrch{position:absolute;left:10px;right:10px;top:48px;z-index:5;height:40px;
  background-color:#fff;border-radius:10px;padding:4px 5px 4px 10px;box-sizing:border-box;
  box-shadow:0 2px 10px rgba(16,32,64,.16)}
.msbot-mapsrch input{float:left;width:calc(100% - 64px);height:32px;border:0;outline:0;
  background-color:transparent;font-size:13px;color:#1F3330;padding:0}
.msbot-mapsrch input::placeholder{color:#9AA8A2}
.msbot-mapsrch button{float:right;height:32px;padding:0 13px;border:0;border-radius:8px;
  background-color:#115C61;color:#fff;font-size:12.5px;cursor:pointer;-webkit-appearance:none}

/* ============================================================
   零担运费计算器（2026-10-22）
   入口：输入框上方常驻工具条；面板内展开卡片，在线算、不保存
   兼容：不用 flex gap / grid，字段行用 float + margin-left，
        老内核（360 兼容模式）也能正常显示
   ============================================================ */
.msbot-tools{flex:0 0 auto;padding:0 14px 8px;background:#F4F9F6;overflow:hidden}
/* 工具条：文字链接一行，去掉胶囊边框 */
.msbot-tools b{display:inline-block;font-weight:400;font-size:15px;line-height:1.6;
  padding:2px 0;margin:0;border:0;border-radius:0;cursor:pointer;
  background:none;color:#2c5282}
.msbot-tools b + b:before{content:" · ";color:#8AA69A}
/* 下划线只给文字（2026-10-23）：整块加下划线时，¥ / ◎ / ✎ 下面也跟着出一条线，很难看 */
.msbot-tools b:hover{background:none;color:#115C61;border:0;text-decoration:none}
.msbot-tools b:hover .t-tx,
.msbot-tools b:hover .troll em,
.msbot-tools b:hover .troll2 em{text-decoration:underline}
/* 图标只做装饰：不接收点击，也不带下划线 */
.msbot-tools b > i{font-style:normal;margin-right:2px;color:#1E9E62;pointer-events:none;
  text-decoration:none}
.msbot-tools b:hover i{color:#0F7B4E}

.msbot-calc{background:#fff;border:1px solid #C9DCD2;border-radius:12px;
  margin:0 0 12px;overflow:visible;box-shadow:0 2px 8px rgba(16,32,64,.06)}
.msbot-calc .hd{background:#115C61;color:#fff;padding:9px 12px;font-size:13.5px;font-weight:700;
  overflow:hidden;line-height:1.4;border-radius:11px 11px 0 0}
.msbot-calc .hd span{float:right;font-weight:400;font-size:11.5px;color:#BFE4D2;
  line-height:1.9;cursor:pointer;padding:0 2px}
.msbot-calc .hd em{display:block;font-style:normal;font-weight:400;font-size:11.5px;color:#BFE4D2;
  margin-top:1px}
.msbot-calc .in{padding:10px 12px 4px}
/* 字段行用 table 布局：float 百分比会和 label 抢宽度，输入框互相压住。
   table-layout 必须 auto —— fixed 时 label 定宽 + 两个百分比列会超出 100%，第二个框被挤到下一行。 */
.msbot-calc .f{display:table;width:100%;table-layout:auto;margin:0 0 7px}
.msbot-calc .f>label{display:table-cell;width:30px;font-size:12px;color:#4A6B61;
  vertical-align:middle;padding-right:3px;white-space:nowrap}
.msbot-calc .f .bd{display:table-cell;position:relative;vertical-align:middle;padding-right:6px}
.msbot-calc .f .bd.w42{width:42%}
.msbot-calc .f .bd.w50{width:50%}
.msbot-calc .f .bd.w58{width:58%}
.msbot-calc input[type=text],.msbot-calc input[type=number]{width:100%;height:30px;box-sizing:border-box;
  border:1px solid #D8E6DE;border-radius:7px;background:#FBFDFC;color:#1F3330;
  font-size:12.5px;padding:0 8px;outline:0;-webkit-appearance:none}
.msbot-calc select{width:100%;height:30px;box-sizing:border-box;border:1px solid #D8E6DE;border-radius:7px;
  background:#FBFDFC;color:#1F3330;font-size:12.5px;padding:0 4px;outline:0;
  max-width:100%;text-overflow:ellipsis}
.msbot-calc input[type=text]:focus,.msbot-calc input[type=number]:focus,.msbot-calc select:focus{
  border-color:#1E9E62;background:#fff}
.msbot-calc input:disabled{background:#F1F5F3;color:#7E9A90}
.msbot-calc .u{position:absolute;right:14px;top:0;line-height:30px;font-size:11.5px;color:#8AA69A;
  pointer-events:none}
.msbot-calc .qkmtip{display:block;font-style:normal;font-size:11px;color:#8AA69A;line-height:30px;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.msbot-calc .hint{font-size:11.5px;color:#7E9A90;line-height:1.6;margin:-3px 0 8px}
.msbot-calc .hint b{color:#1E9E62;font-weight:700}
/* 城市联想：浮层，不推高表单 */
.msbot-calc .sug{position:absolute;left:0;right:0;top:34px;z-index:60;max-height:178px;overflow-y:auto;
  border:1px solid #C9DCD2;border-radius:8px;background:#fff;box-shadow:0 8px 20px rgba(16,32,64,.16);
  display:none}
.msbot-calc .sug.on{display:block}
.msbot-calc .sug i{display:block;font-style:normal;padding:7px 10px;font-size:12.5px;color:#1F3330;
  border-bottom:1px solid #EEF4F1;cursor:pointer;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.msbot-calc .sug i:last-child{border-bottom:0}
.msbot-calc .sug i:hover{background:#EEF7F2;color:#115C61}
.msbot-calc .sug i b{font-weight:400;color:#7E9A90;font-size:11.5px;margin-left:6px}
/* 附加服务 */
.msbot-calc .sv{padding:0 12px 6px;border-top:1px dashed #DCE9E2;margin-top:2px}
.msbot-calc .sv .ttl{font-size:11.5px;color:#7E9A90;margin:8px 0 5px}
.msbot-calc .sv label{display:inline-block;font-size:12.5px;color:#1F3330;margin:0 10px 6px 0;
  line-height:20px;cursor:pointer;white-space:nowrap}
.msbot-calc .sv label input{vertical-align:-2px;margin:0 3px 0 0}
.msbot-calc .sv .fl{display:none;margin:0 0 6px}
.msbot-calc .sv .fl.on{display:block}
.msbot-calc .sv .fl input{width:56px;height:26px;font-size:12.5px;text-align:center;display:inline-block}
.msbot-calc .sv .fl span{font-size:12px;color:#4A6B61;margin:0 6px 0 4px}
/* 按钮 */
.msbot-calc .go{padding:0 12px 10px}
.msbot-calc .go b{display:block;text-align:center;height:38px;line-height:38px;border-radius:9px;
  background:#1E9E62;color:#fff;font-size:14px;font-weight:700;cursor:pointer;letter-spacing:1px}
.msbot-calc .go b:hover{background:#178A54}
.msbot-calc .go b.off{background:#C9DCD2;cursor:default}
/* 结果 */
.msbot-calc .rs{display:none;border-top:8px solid #F4F9F6;padding:11px 12px 12px}
.msbot-calc .rs.on{display:block}
.msbot-calc .rs .amt{font-size:12px;color:#4A6B61;line-height:1.4}
.msbot-calc .rs .amt b{font-size:25px;color:#C8102E;font-weight:800;letter-spacing:-.5px;
  vertical-align:-2px;margin:0 2px}
.msbot-calc .rs .amt i{font-style:normal;font-size:12px;color:#7E9A90;margin-left:4px}
.msbot-calc .rs .tag{display:inline-block;font-size:11.5px;padding:2px 8px;border-radius:9px;
  background:#E8F5EE;color:#0F6B4A;border:1px solid #BCE3CE;margin:7px 5px 0 0}
.msbot-calc .rs .tag.warn{background:#FFF6E5;color:#8A5A00;border-color:#F0D9A8}
.msbot-calc .rs .line{font-size:12px;color:#3D5A52;line-height:1.8;margin-top:7px;
  border-top:1px dashed #DCE9E2;padding-top:6px}
.msbot-calc .rs .line span{display:block;overflow:hidden}
.msbot-calc .rs .line span em{float:right;font-style:normal;color:#115C61;font-weight:700}
.msbot-calc .rs .line span i{font-style:normal;color:#7E9A90}
.msbot-calc .rs .line .hl{color:#C8102E;font-weight:700}
.msbot-calc .rs .ft{font-size:11px;color:#8AA69A;line-height:1.6;margin-top:8px}
.msbot-calc .rs .tel{display:block;text-align:center;height:34px;line-height:34px;margin-top:8px;
  border-radius:8px;border:1px solid #1E9E62;color:#115C61;font-size:13px;font-weight:700;
  text-decoration:none;background:#F4FBF7}
/* 线路价目表 */
.msbot-calc .tbl{display:none;border-top:8px solid #F4F9F6;padding:10px 12px 12px}
.msbot-calc .tbl.on{display:block}
.msbot-calc .tbl .cap{font-size:12px;color:#4A6B61;margin:0 0 6px;overflow:hidden}
.msbot-calc .tbl .cap b{float:right;font-weight:400;color:#1E9E62;cursor:pointer}
.msbot-calc table{width:100%;border-collapse:collapse;font-size:11.5px;color:#1F3330}
.msbot-calc th{background:#F1F7F3;color:#4A6B61;font-weight:700;padding:5px 3px;text-align:center;
  border-bottom:1px solid #DCE9E2}
.msbot-calc td{padding:4px 3px;text-align:center;border-bottom:1px solid #F1F5F3}
.msbot-calc td.k{font-weight:700;color:#115C61}
.msbot-calc tr.on td{background:#FFF7E0}
.msbot-calc tr.on td.k{color:#C8102E}
/* 算完折叠输入区：面板高度有限，只留结果 */
.msbot-calc.min .in,.msbot-calc.min .sv,.msbot-calc.min .go{display:none}
/* 路线标题：整行从左往右排，地名再长也不截断，放不下就换行
   （原来是 float:right + 62% + 省略号，「安靖土地村 → 丹东市 宽甸满族自治县」直接被切掉） */
.msbot-calc .mut{margin:0 0 7px;font-size:11.5px;color:#7E9A90;line-height:1.55}
.msbot-calc .mut b{color:#1E9E62;cursor:pointer;font-weight:400;margin-right:7px;
  white-space:nowrap;display:inline-block}
.msbot-calc .mut i{font-style:normal;white-space:normal;word-break:break-all;display:inline}
@media (max-width:400px){
  .msbot-calc .f>label{width:40px}
  .msbot-calc .f .bd{margin-left:44px}
  .msbot-calc .rs .amt b{font-size:22px}
}

/* 计算器模式：让出整块面板，快捷问题/引导条/工具条临时收起
   （2026-10-22 实测：面板内消息区只有 185px，不收起的话 600px 的结果卡片要滚三屏） */
#msbot.msbot-calcmode .msbot-quick,
#msbot.msbot-calcmode .msbot-geotip,
#msbot.msbot-calcmode .msbot-tools{display:none}
#msbot.msbot-calcmode .msbot-body{padding-top:10px}
/* 结果区压紧一档：10 行算式也要一屏看得完 */
.msbot-calc .rs .line{font-size:11.5px;line-height:1.55;margin-top:6px;padding-top:5px}
.msbot-calc .rs .line span em{font-size:11.5px}
.msbot-calc .rs .ft{font-size:10.5px;margin-top:6px}
/* 明细行左侧标题与说明之间要留气口，否则「线路档D1 · 1800-2100km1960 km」会粘成一坨 */
.msbot-calc .rs .line span i{margin-left:6px;font-size:11px;color:#7E9A90}
.msbot-calc .rs .line span b{font-weight:700;color:#115C61}
.msbot-calc .rs .amt b{margin:0 3px}
/* 右侧金额与左侧说明之间留出 10px，避免「后台里程表吨 325 / 方 100」粘在一起 */
.msbot-calc .rs .line span em{margin-left:10px;min-width:56px;text-align:right}
/* 价格类回答下方的计算器入口 */
.msbot-calcbtn{display:block;padding:9px 12px;border:1px dashed #1E9E62;border-radius:10px;
  background:#F4FBF7;color:#115C61;font-size:12.5px;line-height:1.5;cursor:pointer;max-width:280px}
.msbot-calcbtn:hover{background:#E8F5EE;border-style:solid}
.msbot-calcbtn b{display:inline-block;width:16px;height:16px;line-height:16px;text-align:center;
  border-radius:50%;background:#1E9E62;color:#fff;font-size:11px;margin-right:5px;vertical-align:1px}
.msbot-calcbtn em{display:block;font-style:normal;font-size:11.5px;color:#4A6B61;margin-top:2px}
/* 带单位的输入框：右侧给单位留位，数字长了不会压到「吨/m³/km」上 */
.msbot-calc .bd.hu input{padding-right:26px}
/* 省钱横幅（2026-10-22）：走量价省下来的钱单独拎出来，红字大号，客户一眼看见 */
.msbot-calc .savebar{margin:9px 0 0;padding:8px 10px 7px;border-radius:9px;
  background:#FFF3F1;border:1px solid #F3C6C2;color:#C8102E;line-height:1.35;overflow:hidden}
.msbot-calc .savebar .t{font-size:12.5px;color:#8A2B22;font-weight:700}
.msbot-calc .savebar b{font-size:23px;font-weight:800;letter-spacing:-.4px;
  margin:0 2px;vertical-align:-2px;color:#D0021B}
.msbot-calc .savebar .yuan{font-size:13px;font-weight:700;color:#D0021B}
.msbot-calc .savebar i{display:block;font-style:normal;font-size:10.5px;color:#A2645C;
  margin-top:3px;line-height:1.4}
/* 运费金额：深红底白字大块（2026-10-22），比浅底红字更抓眼 */
.msbot-calc .rs .amt{background:linear-gradient(135deg,#D8112B 0%,#B00018 100%);
  border-radius:10px;padding:10px 12px 11px;color:#fff;line-height:1.2;overflow:hidden;
  box-shadow:0 3px 10px rgba(176,0,24,.22)}
.msbot-calc .rs .amt .lbl{font-size:11.5px;color:#FFD9D4;letter-spacing:.6px;vertical-align:3px}
.msbot-calc .rs .amt b{font-size:29px;color:#fff;font-weight:800;letter-spacing:-.6px;
  margin:0 2px 0 7px;vertical-align:-2px;text-shadow:0 1px 2px rgba(90,0,10,.25)}
.msbot-calc .rs .amt .cur{font-size:12.5px;color:#FFE3DF;font-weight:700}
/* 优惠金额：跟在价格后面，金黄胶囊；深红底上用暖黄最跳，且不与红色"预警"混淆 */
.msbot-calc .rs .amt .off{display:inline-block;margin-left:7px;padding:2px 8px;
  border-radius:999px;background:rgba(255,255,255,.16);
  border:1px solid rgba(255,214,102,.8);color:#FFE08A;
  font-size:13px;font-weight:800;letter-spacing:.2px;white-space:nowrap;
  vertical-align:4px}
@media (max-width:720px){
  .msbot-calc .rs .amt .off{font-size:12px;padding:1px 7px;margin-left:5px;vertical-align:3px}
}
.msbot-calc .rs .amt .badge{float:right;margin-top:5px;font-size:10.5px;color:#B00018;
  background:#FFE9E6;border-radius:8px;padding:2px 7px;line-height:1.5}
/* 地址联想浮层（高德全国地址库）：名称一行 + 地址小字一行 */
.msbot-calc .asug{position:absolute;left:0;right:0;top:32px;z-index:70;max-height:248px;overflow-y:auto;
  background:#fff;border:1px solid #C9DCD2;border-radius:8px;box-shadow:0 10px 24px rgba(16,32,64,.18);
  display:none}
.msbot-calc .asug.on{display:block}
.msbot-calc .asug i{display:block;padding:6px 9px;font-size:12.5px;color:#1F3330;cursor:pointer;
  border-bottom:1px solid #EEF4F1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.msbot-calc .asug i:last-child{border-bottom:0}
.msbot-calc .asug i:hover{background:#EEF7F2}
.msbot-calc .asug i b{display:block;font-weight:400;font-size:11px;color:#7E9A90;margin-top:1px;
  overflow:hidden;text-overflow:ellipsis}

/* 工具条「算运费」加橙色底（2026-10-22）：原来白底描边太素，站内青绿背景里不容易注意到 */
/* 算运费 / 在线下单：文字行，不再用彩色胶囊 */
.msbot-tools b.t-calc,.msbot-tools b.t-order{background:none;border:0;box-shadow:none;color:#2c5282}
.msbot-tools b.t-calc i,.msbot-tools b.t-order i{color:#1E9E62}
.msbot-tools b.t-calc:hover,.msbot-tools b.t-order:hover{background:none;color:#115C61;border:0}
.msbot-tools b.t-order:hover i{color:#fff}

/* 30 秒主动提示（首次进窗口） */
.msbot-bub.ctbub{background:linear-gradient(160deg,#FFF8F1 0%,#FFF1E4 100%);
  border:1px solid #F7CFA8}
.msbot-bub.ctbub .ct-hd{display:block;font-size:13px;font-weight:700;color:#B2400B;margin-bottom:3px}
.msbot-bub.ctbub .ct-tx{display:block;font-size:12.5px;line-height:1.6;color:#4A3A2E}
.msbot-bub.ctbub .ct-tx b{color:#C8102E}
.msbot-bub.ctbub .ct-btn{display:block;text-align:center;margin-top:8px;height:32px;line-height:32px;
  border-radius:8px;background:linear-gradient(135deg,#FFA552,#F4691F);color:#fff;
  font-size:13px;font-weight:700;cursor:pointer;letter-spacing:.5px}
.msbot-bub.ctbub .ct-btn:hover{background:linear-gradient(135deg,#FFB56B,#FA7A2C)}

/* 算运费按钮：更跳的橙底 + 呼吸光晕 + 三行文字轮播（算运费 / 里程准 / 运费准） */
.msbot-tools b.t-calc{padding:2px 0;animation:none}
.msbot-tools b.t-calc .troll{display:inline-block;height:20px;line-height:20px;
  overflow:hidden;vertical-align:-4px;text-align:left}
.msbot-tools b.t-calc .troll em{display:block;height:20px;line-height:20px;font-style:normal;
  font-size:16px;white-space:nowrap;font-weight:700;letter-spacing:.5px;
  animation:msTroll 8s cubic-bezier(.55,.06,.44,.94) infinite}
/* 算运费那三行用黑体（老板 2026-10-23 要求：粗体 + 黑体） */
.msbot-tools b.t-calc .troll{font-family:"SimHei","Microsoft YaHei","PingFang SC",sans-serif}
/* 在线下单轮播：在线下单 / 享优惠价（两行，黑体加粗）。
   与算运费同一套行高 20px，位移 -20px 正好换一行。 */
.msbot-tools b.t-order .troll2{display:inline-block;height:20px;line-height:20px;
  overflow:hidden;vertical-align:-4px;text-align:left;
  font-family:"SimHei","Microsoft YaHei","PingFang SC",sans-serif}
.msbot-tools b.t-order .troll2 em{display:block;height:20px;line-height:20px;
  font-style:normal;font-size:16px;font-weight:800;letter-spacing:.5px;white-space:nowrap;
  animation:msTrollOrder 6s cubic-bezier(.55,.06,.44,.94) infinite}
@keyframes msTrollOrder{
  0%,45%{transform:translateY(0)}
  55%,100%{transform:translateY(-20px)}
}
/* 三行轮播：位移必须等于行高，不然会露出下一行的半个字（行高 20px → -20/-40/-60） */
@keyframes msTroll{
  0%,22%{transform:translateY(0)}
  27%,47%{transform:translateY(-20px)}
  52%,72%{transform:translateY(-40px)}
  77%,100%{transform:translateY(-60px)}
}
@keyframes msTcalcGlow{
  0%,100%{box-shadow:0 2px 8px rgba(244,105,31,.30)}
  50%{box-shadow:0 3px 18px rgba(244,105,31,.62),0 0 0 2px rgba(255,166,90,.28)}
}
@media (max-width:720px){
  .msbot-tools b{font-size:14px}
  .msbot-tools b.t-calc{font-size:14px;padding:2px 0}
  .msbot-tools b.t-calc .troll em{font-size:15.5px}
  .msbot-tools b.t-order .troll2 em{font-size:15.5px}
}

/* 超出零担范围的提示卡（2026-10-22）：同城 / 大吨位不再硬报价 */
.msbot-calc .rs .blk{padding:2px 0 0}
.msbot-calc .rs .blk>b{display:block;font-size:13px;font-weight:800;color:#B2400B;margin:0 0 5px}
.msbot-calc .rs .blk>span{display:block;font-size:12.5px;line-height:1.65;color:#3D5A52}
.msbot-calc .rs .blk .tel{margin-top:8px}
.msbot-calc .rs .blk .qback2{display:block;text-align:center;margin-top:7px;font-style:normal;
  font-size:12px;color:#4A6B61;cursor:pointer;text-decoration:underline}
.msbot-calc .rs .blk .qback2:hover{color:#1E9E62}

/* 常驻在线下单入口（2026-10-22）：钉在输入框上方，聊天/算价/网点任何界面都看得见 */
.msbot-orderbar{display:block;margin:0 12px 7px;padding:9px 12px;border-radius:9px;
  background:linear-gradient(135deg,#FF7A18 0%,#D6360A 100%);color:#fff;text-decoration:none;
  line-height:1.25;text-align:center;position:relative;
  box-shadow:0 3px 12px rgba(214,54,10,.30),inset 0 1px 0 rgba(255,255,255,.28);
  overflow:hidden}
.msbot-orderbar b{font-size:13.5px;font-weight:800;letter-spacing:.5px}
.msbot-orderbar em{display:block;font-style:normal;font-size:11px;opacity:.94;margin-top:2px}
.msbot-orderbar span{position:absolute;right:10px;top:50%;margin-top:-8px;font-size:11.5px;
  font-weight:700;opacity:.95}
.msbot-orderbar:hover{background:linear-gradient(135deg,#FF8F35 0%,#E2430F 100%)}
@media (max-width:400px){
  .msbot-orderbar{margin:0 10px 6px;padding:8px 62px 8px 10px}
  .msbot-orderbar span{right:8px;font-size:11px}
}

/* ==========================================================================
   发货网点选择器（2026-10-22）
   手机原生 select 展开后字体 16px、纯白底、遮住半屏，选项里只有名字没有电话地址。
   改成浅绿底的底部弹层：小字、每条带电话与地址，选中打勾。
   ========================================================================== */
.msbot-calc .qfrombtn,
.msbot-calc .qpkbtn{display:block;width:100%;height:30px;line-height:28px;text-align:left;
  padding:0 22px 0 9px;border:1px solid #D8E6DE;border-radius:7px;background:#FBFDFC;color:#1F3330;
  font-size:12.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;
  position:relative;-webkit-appearance:none}
.msbot-calc .qfrombtn i,
.msbot-calc .qpkbtn i{position:absolute;right:8px;top:0;font-style:normal;color:#8AA69A;font-size:11px}
.msbot-calc .qfrombtn:active,
.msbot-calc .qpkbtn:active{background:#F1F8F4;border-color:#1E9E62}

/* 弹层：从底部浮起，但**离屏幕底边留 12px**（含安全区），四角圆。
   2026-10-23 修正：原来贴死底边、只圆上两角，手机上有手势条/浏览器工具栏时
   最后一项容易被压住，看着像「弹到屏幕下面去了」。 */
.msbot-pick{position:fixed;left:0;right:0;top:0;bottom:0;z-index:2147483100;
  background:rgba(10,30,24,.42);display:flex;align-items:flex-end;justify-content:center;
  padding:0 10px calc(12px + env(safe-area-inset-bottom))}
.msbot-pick .pk-box{width:100%;max-width:430px;max-height:64vh;background:#F3FAF5;
  border-radius:16px;overflow:hidden;display:flex;flex-direction:column;
  box-shadow:0 8px 28px rgba(12,43,63,.22)}
/* 手机上加高到 78vh：31 个省原来一屏只看 8 个，客户以为「下面没有了」（2026-10-23） */
@media (max-width:720px){
  .msbot-pick .pk-box{max-height:78vh}
}
.msbot-pick .pk-hd{display:flex;align-items:center;padding:11px 14px 9px;
  border-bottom:1px solid #DCEDE3;background:#EDF8F1}
.msbot-pick .pk-hd b{font-size:13.5px;color:#123B31;font-weight:800;letter-spacing:.3px}
.msbot-pick .pk-hd .pk-n{font-style:normal;font-size:11.5px;color:#7E9A90;
  font-weight:400;margin-left:7px;letter-spacing:0}
.msbot-pick .pk-hd i{margin-left:auto;font-style:normal;font-size:15px;color:#7E9A90;
  cursor:pointer;padding:0 5px;line-height:1}
/* min-height:0 是关键：flex 子项默认 min-height:auto，内容会把盒子撑高，
   超出父容器的部分被直接裁掉且不出现滚动条 —— 就是「选项显示不全、还滚不动」。
   overscroll-behavior:contain：滚到底不会把背后的页面一起带走。 */
.msbot-pick .pk-list{flex:1 1 auto;min-height:0;overflow-y:auto;
  -webkit-overflow-scrolling:touch;overscroll-behavior:contain;touch-action:pan-y}
.msbot-pick .pk-it{display:block;padding:8px 14px;border-bottom:1px solid #E4F1EA;
  text-decoration:none;position:relative}
.msbot-pick .pk-it:last-child{border-bottom:0}
.msbot-pick .pk-it:active{background:#E8F5EE}
.msbot-pick .pk-it.on{background:#E3F3EA}
.msbot-pick .pk-it.on:after{content:"✓";position:absolute;right:14px;top:8px;
  color:#1E9E62;font-weight:800;font-size:13px}
.msbot-pick .pk-it b{display:block;font-size:15.5px;line-height:1.35;color:#123B31;
  font-weight:800;padding-right:22px;letter-spacing:.2px}
.msbot-pick .pk-it b .pk-r{font-style:normal;font-size:12.5px;font-weight:600;color:#5C7A72;
  letter-spacing:0}
.msbot-pick .pk-it span{display:inline-block;font-size:11.5px;color:#B2400B;font-weight:700;margin-top:2px}
.msbot-pick .pk-it em{display:block;font-style:normal;font-size:11px;line-height:1.45;
  color:#6F8A80;margin-top:1px}

/* ==================== 系统更新提示条（2026-10-23） ====================
   用途：后台程序升级后，App 套壳里长期不重载的页面能主动提示客户刷新。
   形态：页面顶部通栏，不遮聊天输入框；层级压过所有悬浮按钮。
   兼容：不用 flex / transform（360 兼容模式是 IE 内核，浮层会散）。 */
.msbot-verbar{position:fixed;left:0;right:0;top:0;z-index:2147483600;
  padding:10px 42px 10px 14px;background:#123B31;color:#fff;text-align:center;
  font-size:13px;line-height:1.45;box-shadow:0 3px 14px rgba(0,0,0,.2)}
.msbot-verbar b{font-weight:700;letter-spacing:.2px}
.msbot-verbar a{color:#8BE3B0;text-decoration:none;font-weight:600;margin-left:9px}
.msbot-verbar a:hover{text-decoration:underline}
.msbot-verbar i{float:right;font-style:normal;color:#7FA396;font-size:11.5px;
  line-height:19px;margin-right:26px}
.msbot-verbar .x{position:absolute;right:8px;top:0;bottom:0;width:30px;
  line-height:40px;text-align:center;color:#8AA69A;font-size:19px;cursor:pointer}
.msbot-verbar .x:hover{color:#fff}
@media (max-width:720px){
  .msbot-verbar{top:0;padding:9px 40px 9px 12px;font-size:12.5px}
  .msbot-verbar i{display:none}
}

/* ==================== 到点提示气泡（2026-10-23） ====================
   自动提醒不许再展开窗口占屏，只贴悬浮按钮上方冒一条。
   宽 238px，25 秒自己收；点气泡才开面板。 */
.msbot-nudge{position:fixed;right:16px;bottom:86px;z-index:2147482001;
  width:238px;max-width:calc(100vw - 32px);background:#fff;border:1px solid #C9DCD2;
  border-radius:12px;padding:11px 12px 10px;box-shadow:0 8px 26px rgba(16,32,64,.18);
  font-size:12.5px;line-height:1.6;color:#1F3330;cursor:pointer}
.msbot-nudge b{display:block;font-size:13.5px;color:#123B31;font-weight:800;margin-bottom:2px}
.msbot-nudge span{display:block;color:#5C7A72;font-size:12px;line-height:1.5}
.msbot-nudge u{display:inline-block;margin-top:6px;color:#1E9E62;font-weight:700;
  text-decoration:none;border-bottom:1px solid #A9D8BF;font-size:12.5px}
.msbot-nudge .x{position:absolute;right:8px;top:6px;width:22px;height:22px;line-height:22px;
  text-align:center;color:#A9BFB6;font-size:14px;font-style:normal}
.msbot-nudge .x:hover{color:#123B31}
@media (max-width:720px){ .msbot-nudge{right:12px;bottom:80px;width:214px} }
