/* 龙辉 · 在线询盘工作台（2026-12-01） 只在本页使用，不影响全站其他页面 */
.lh2{--o:#F37021;--o2:#C9520F;--ink:#1f2328;--mut:#7b8188;--line:#e6e8eb;
  display:grid;gap:14px;grid-template-columns:212px minmax(0,1fr) 262px;
  background:#FFFBF7;border:2px solid #f7d9c7;border-radius:12px;padding:14px;
  font:14px/1.55 -apple-system,"Microsoft YaHei",Arial,sans-serif;color:var(--ink)}
/* A1 卡片内部一律透明，整张卡与主体同为暖白，不再出现上下两段 */
.lh2-chat,.lh2-in,.lh2-tools,.lh2-note{background:transparent}
.lh2 *{box-sizing:border-box}
/* 顶部条 */
.lh2-top{grid-column:1/-1;display:flex;align-items:center;gap:10px;padding:0 0 10px;border-bottom:1px solid var(--line)}
.lh2-top b{font-size:15px}
.lh2-top .st{width:7px;height:7px;border-radius:50%;background:#2f9e44}
.lh2-top .st.off{background:#adb5bd}
.lh2-top em{font-style:normal;font-size:12px;color:var(--mut);margin-left:auto}
/* 左业务 */
.lh2-biz{grid-column:1;border-right:1px solid var(--line);padding-right:10px}
.lh2-biz h4{margin:0 0 8px;font-size:12px;color:var(--mut);font-weight:600;letter-spacing:.5px}
.lh2-biz button{width:100%;display:flex;align-items:center;gap:8px;text-align:left;background:#fff;border:1px solid transparent;
  border-radius:9px;padding:7px 8px;margin-bottom:5px;cursor:pointer;font-size:13.5px;color:var(--ink)}
.lh2-biz button i{width:24px;height:24px;border-radius:7px;background:#fff3ea;color:var(--o);font-style:normal;font-size:11px;
  display:grid;place-items:center;flex:none}
.lh2-biz button small{display:block;color:var(--mut);font-size:11px}
.lh2-biz button:hover{border-color:#f7d9c7}
.lh2-biz button.on{background:#fff7f2;border-color:#f7d9c7}
/* 中间对话 */
.lh2-chat{grid-column:2;display:flex;flex-direction:column;min-height:430px}
.lh2-log{flex:1;overflow:auto;display:flex;flex-direction:column;gap:9px;padding:2px 2px 8px}
.lh2-m{display:flex;gap:8px}
.lh2-av{width:28px;height:28px;border-radius:50%;background:#1F7A3D;color:#fff;display:grid;place-items:center;font-size:11px;flex:none}
.lh2-bub{background:#f7f8fa;border:1px solid var(--line);border-radius:10px;padding:9px 12px;max-width:88%}
/* 人工客服气泡 */
.lh2-m.me{justify-content:flex-end}
.lh2-av.staff{background:var(--o)}
.lh2-bub.staff{background:#fff8f3;border-color:#f7d9c7}
.lh2-bub.staff .who{display:block;font-size:11px;color:#b5835a;margin-top:4px}
.lh2-bub.me{background:#fff3e9;border-color:#ffdfc4}
.lh2-bub p{margin:0 0 6px}
.lh2-bub p:last-child{margin:0}
.lh2-chips{display:flex;flex-wrap:wrap;gap:7px;margin-top:7px}
.lh2-chips button{border:1px solid var(--line);background:#fff;border-radius:999px;padding:6px 13px;font-size:12.5px;cursor:pointer;color:var(--ink)}
.lh2-chips button:hover{border-color:#f7d9c7;background:#fff7f2}
.lh2-chips button.on{background:var(--o);border-color:var(--o);color:#fff}
/* 地图 */
.lh2-map{border:1px solid var(--line);border-radius:10px;padding:8px;background:#fbfcfd;margin-top:8px}
.lh2-map .mh{display:flex;justify-content:space-between;font-size:11.5px;color:var(--mut);margin-bottom:4px}
.lh2-map .msgmap{width:100%;height:auto;max-height:210px;display:block}
.lh2-map .prov path{fill:#f5f8fa;stroke:#aab4bd;stroke-width:1.6;cursor:pointer;transition:fill .15s}
.lh2-map .prov path:hover{fill:#ffe6d3;stroke:var(--o)}
.lh2-map .lbl{font-size:20px;fill:#6b7278;pointer-events:none;font-family:inherit}
.lh2-map .prov path.on{fill:var(--o);stroke:var(--o2)}
.lh2-map .hits circle{fill:transparent;stroke:none;cursor:pointer}
.lh2-map .hits circle.on{fill:rgba(243,112,33,.22);stroke:var(--o);stroke-width:1.2}
.lh2-map .lh2-mini{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}
.lh2-map .lh2-mini button{border:1px solid var(--line);background:#fff;border-radius:7px;padding:6px 12px;font-size:12.5px;cursor:pointer}
/* 点位地图选择器 */
.lh2-map .mmap{margin-top:6px;border:1px solid var(--line);border-radius:10px;background:#fff;padding:4px 2px}
.lh2-map .mmap svg{width:100%;height:auto;display:block}
.lh2-map .cdm-p{fill:#f4f6f9;stroke:#e3e7ed;stroke-width:.7}
.lh2-map .cdm-d{fill:#f2701c}
.lh2-map .cdm-r{fill:#aeb6bf}
.lh2-map .cdm-hit{fill:transparent}
.lh2-map .cdm-g{cursor:pointer}
.lh2-map .cdm-g.on .cdm-hit{fill:rgba(242,112,28,.22)}
.lh2-map .cdm-g.on .cdm-d{fill:#fff;stroke:#f2701c;stroke-width:2}
.lh2-map .cdm-l{font-size:9.3px;fill:#2b3038}
.lh2-map .cdm-rl{font-size:9.1px;fill:#7b8188;font-style:italic}
.lh2-map .cdm-bt{font-size:9px;fill:#9aa3ad}
.lh2-map .cdm-il{font-size:10px;fill:#2b3038}
.lh2-map .cdm-box{fill:#fbfcfd;stroke:#e4e8ee}
.lh2-map .mtip{font-size:11.5px;color:#7b8188;margin-top:6px}
.lh2-map .arcs{display:flex;flex-wrap:wrap;gap:5px;margin-top:7px}
.lh2-map .arc{border:1px solid var(--line);background:#fbfcfd;border-radius:999px;padding:5px 9px;font-size:12px;cursor:pointer;color:#4a5058}
.lh2-map .arc.on{background:var(--o);border-color:var(--o);color:#fff}
.lh2-map .mf{margin-top:8px}
.lh2-map .mf input{width:100%;box-sizing:border-box;border:1px solid var(--line);border-radius:8px;padding:8px 10px;font-size:13px;color:var(--ink)}
.lh2-map .mf input:focus{outline:none;border-color:#f6c3a5}
.lh2-map .mmiss{font-size:12px;color:#999;padding:20px;text-align:center}
@media(max-width:860px){
  .lh2-map .arc{font-size:12.5px;padding:6px 10px}
}
.lh2-map .lh2-mini button.on{background:var(--o);border-color:var(--o);color:#fff}
/* 核心地市方块选择器 */
.lh2-map .cg{margin-top:8px}
.lh2-map .cgt{font-size:11.5px;color:#7b8188;margin-bottom:5px;letter-spacing:.5px}
.lh2-map .cities{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
.lh2-map .city{border:1px solid var(--line);background:#fbfcfd;border-radius:8px;padding:8px 4px;cursor:pointer;
  display:flex;flex-direction:column;align-items:center;gap:1px;min-height:46px;color:var(--ink)}
.lh2-map .city b{font-size:13.5px;font-weight:600}
.lh2-map .city i{font-style:normal;font-size:10.5px;color:#8a9099}
.lh2-map .city:hover{border-color:#f7d9c7;background:#fff7f2}
.lh2-map .city.on{background:var(--o);border-color:var(--o)}
.lh2-map .city.on b,.lh2-map .city.on i{color:#fff}
.lh2-map .mhint{font-size:11.5px;color:#7b8188;margin-top:8px}
@media(max-width:860px){
  .lh2-map .cities{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}
  .lh2-map .city{min-height:48px;padding:9px 2px}
  .lh2-map .city b{font-size:13px}
}
/* 工具与输入 */
.lh2-tools{display:flex;gap:8px;margin-top:auto;padding-top:8px}
.lh2-tools button{flex:1;border:1px solid var(--line);background:#fff;border-radius:8px;padding:7px;font-size:12.5px;color:#4a525a;cursor:pointer}
.lh2-tools button:hover{border-color:#f7d9c7;color:var(--o)}
.lh2-in{display:flex;gap:8px;margin-top:8px}
.lh2-in input{flex:1;border:1px solid var(--line);border-radius:8px;padding:10px 12px;font-size:13px;outline:none}
.lh2-in input:focus{border-color:var(--o)}
.lh2-in .send{background:var(--o);color:#fff;border:0;border-radius:8px;padding:0 18px;font-size:13px;cursor:pointer}
.lh2-in .send:disabled{opacity:.6;cursor:default}
.lh2-note{font-size:11.5px;color:var(--mut);margin-top:7px}
.lh2-err{color:#d63031;font-size:12px;margin-top:6px;display:none}
/* 右角色 */
.lh2-role{grid-column:3;border-left:1px solid var(--line);padding-left:10px}
.lh2-role h4{margin:0 0 8px;font-size:12px;color:var(--mut);font-weight:600;letter-spacing:.5px}
.lh2-role .card{border:1px solid var(--line);border-radius:10px;padding:8px 9px;margin-bottom:7px}
.lh2-role .card.on{border-color:#f7d9c7;background:#fffbf8}
.lh2-role .r1{display:flex;align-items:center;gap:7px}
.lh2-role .r1 b{font-size:13px}
.lh2-role .r1 span{margin-left:auto;font-size:11px;color:#2f9e44}
.lh2-role .r1 span.off{color:#adb5bd}
.lh2-role p{margin:3px 0 7px;color:var(--mut);font-size:11.5px}
.lh2-role .call{display:flex;gap:6px}
.lh2-role .call a{flex:1;text-align:center;text-decoration:none;font-size:12px;padding:5px;border-radius:7px;border:1px solid #f7d9c7;color:var(--o);background:#fff8f3}
.lh2-role .call a.pri{background:#fff;color:var(--o)}
.lh2-role .card.on .call a.pri{background:var(--o);color:#fff;border-color:var(--o)}
/* ============ 手机端：整屏对话 App 样式（2026-12-01） ============ */
@media(max-width:860px){
  /* 只留对话框：藏掉站点头部/底部固定栏/页脚 */
  .m-topbar,.m-head,.m-quicknav,.main-nav,.top-bar,.mobile-call-bar,.footer-editor,.footer,
  body>footer,body>.footer{display:none!important}
  .main-body,.content-area{margin:0!important;padding:0!important;width:100%!important;max-width:none!important}
  body{padding:0!important;margin:0!important;overflow:hidden!important;background:#fff}
  .lh2{position:fixed;inset:0;z-index:9000;display:flex;flex-direction:column;gap:0;padding:0;
    border:0!important;border-radius:0!important;height:100dvh;max-height:100dvh;background:#fff}
  .lh2-top{order:0;flex:none;flex-wrap:wrap;padding:calc(10px + env(safe-area-inset-top)) 14px 9px;
    border-bottom:1px solid var(--line);background:#fff}
  .lh2-top b{font-size:16px}
  .lh2-top>span{display:none}          /* 手机端不挤"点选 3-4 步"那串说明 */
  .lh2-top em{display:block;width:100%;margin:3px 0 0;font-size:11.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .lh2-chat{order:1;flex:1;min-height:0;display:flex;flex-direction:column;padding:0}
  .lh2-log{flex:1;min-height:0;overflow-y:auto;padding:12px 12px 6px;-webkit-overflow-scrolling:touch}
  .lh2-bub{max-width:82%;font-size:14.5px;line-height:1.5}
  .lh2-av{width:30px;height:30px;font-size:11.5px}
  .lh2-tools{flex:none;margin:0;padding:8px 12px 0;gap:6px;overflow-x:auto}
  .lh2-tools button{flex:none;padding:8px 14px;font-size:13px;white-space:nowrap}
  .lh2-in{flex:none;margin:0;padding:8px 12px calc(9px + env(safe-area-inset-bottom));
    border-top:1px solid var(--line);background:#fff}
  .lh2-in input{padding:12px 14px;font-size:15px}
  .lh2-in .send{padding:0 22px;font-size:15px}
  .lh2-note,#lh2step{display:none!important}
  .lh2-err{padding:0 14px}
  .lh2-map .msgmap{max-height:360px}
  .lh2-map{padding:6px}

  /* 业务 / 角色 改成底部抽屉，默认收起 */
  .lh2-biz,.lh2-role{position:fixed!important;left:0;right:0;bottom:0;z-index:9500;width:auto!important;
    background:#fff;border:0;border-top:1px solid var(--line);border-radius:16px 16px 0 0;
    padding:8px 12px calc(16px + env(safe-area-inset-bottom));max-height:76vh;overflow:auto;
    transform:translateY(101%);transition:transform .24s ease;box-shadow:0 -6px 24px rgba(0,0,0,.12)}
  .lh2-biz.show,.lh2-role.show{transform:translateY(0)}
  .lh2-biz::before,.lh2-role::before{content:"";display:block;width:38px;height:4px;border-radius:3px;
    background:#e2e5e9;margin:2px auto 10px}
  .lh2-biz h4,.lh2-role h4{font-size:13px}
  .lh2-biz .bizlist{display:grid;grid-template-columns:1fr 1fr;gap:8px}
  .lh2-biz button{margin:0;padding:11px 10px;font-size:14px}
  .lh2-biz button small{display:none}
  .lh2-role .card{padding:11px;margin-bottom:8px}
  .lh2-role .r1 b{font-size:14px}
  .lh2-role .call a{padding:9px;font-size:13px}
  .lh2-sheet-mask{position:fixed;inset:0;background:rgba(17,20,24,.36);z-index:9400;display:none}
  .lh2-sheet-mask.show{display:block}
}

/* 嵌到其它推广站时（?embed=1）：去掉站点头尾，对话框占满视口 */
body.embed .m-topbar,body.embed .m-head,body.embed .m-quicknav,body.embed .main-nav,
body.embed .top-bar,body.embed .mobile-call-bar,body.embed .footer-editor,body.embed .footer{display:none!important}
body.embed .main-body,body.embed .content-area{margin:0!important;padding:0!important;width:100%!important}
body.embed .lh2{border:0!important;border-radius:0!important;margin:0!important}
body.embed{overflow:hidden}


/* 地图气泡占满对话宽度 + 就近聚点弹层 */
.lh2-bub.mapbub{max-width:none;width:calc(100% - 6px);padding:9px 10px}
.lh2-map .mzoom{margin-top:8px;border:1px solid #f4d6c6;border-radius:10px;background:#fff8f3;padding:8px 9px}
.lh2-map .mzt{font-size:12px;color:#8a6a58;margin-bottom:6px}
.lh2-map .mzs{display:flex;flex-wrap:wrap;gap:6px}
.lh2-map .mzc{border:1px solid #f6c8ae;background:#fff;border-radius:8px;padding:7px 11px;font-size:13.5px;color:#2b3038;cursor:pointer;display:flex;flex-direction:column;align-items:center;gap:1px}
.lh2-map .mzc i{font-style:normal;font-size:10.5px;color:#9aa3ad}
.lh2-map .mzc:active{background:var(--o);color:#fff}

/* 地图气泡占满对话区 */
.lh2 .lh2-bub.mapbub{max-width:100%;width:100%;margin-left:0;margin-right:0;box-sizing:border-box}
.lh2 .lh2-bub.mapbub~*{}

.lh2-map .cdm-l,.lh2-map .cdm-rl,.lh2-map .cdm-il,.lh2-map .cdm-bt{pointer-events:none}

.lh2 .lh2-bub.mapbub{padding:4px 5px;border-radius:12px}
.lh2-map .mmap{padding:0;border:none;background:transparent}
.lh2-map .mh{margin-bottom:2px}
.lh2-map{width:100%}

.lh2-map .ctip{font-size:11.5px;color:#7b8188;margin-top:9px}
.lh2-map .cchips{display:flex;flex-wrap:wrap;gap:5px;margin-top:5px}
.lh2-map .cc{border:1px solid var(--line);background:#fbfcfd;border-radius:8px;padding:5px 9px;font-size:12.5px;color:#2b3038;cursor:pointer}
.lh2-map .cc.on{background:var(--o);border-color:var(--o);color:#fff}

/* 省份色块选择器（对齐统计页配色） */
.lh2-regs .rtgrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin-top:6px}
.lh2-regs .rt{border-radius:9px;padding:9px 3px;cursor:pointer;border:1px solid var(--line);background:#fff;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:52px;color:#2b3038}
.lh2-regs .rt b{font-size:13.5px;font-weight:600;letter-spacing:.5px}
.lh2-regs .rt i{font-style:normal;font-size:10px;color:#8a9099;white-space:nowrap}
.lh2-regs .rt.lv3{background:#f2701c;border-color:#f2701c;color:#fff}
.lh2-regs .rt.lv3 i{color:#ffe6d5}
.lh2-regs .rt.lv2{background:#fdece3;border-color:#f6cdb6;color:#a8431a}
.lh2-regs .rt.lv2 i{color:#c07a55}
.lh2-regs .rt.lv1{background:#f7f9fb;border-color:#e3e8ee;color:#41474f}
.lh2-regs .rt.lv0{background:#f2f3f5;border-color:#dfe3e8;color:#868d96}
.lh2-regs .rt.on{box-shadow:0 0 0 2px #f2701c inset;background:#f2701c;color:#fff;border-color:#f2701c}
.lh2-regs .rt.on i{color:#ffe6d5}
.lh2-regs .mhint{font-size:11.5px;color:#7b8188;margin-top:8px}
@media(max-width:860px){
  .lh2-regs .rtgrid{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}
  .lh2-regs .rt{min-height:56px;padding:10px 2px}
  .lh2-regs .rt b{font-size:14px}
  .lh2-regs .rt i{font-size:10.5px}
}

.lh2-regs .rt i{white-space:normal;text-align:center;line-height:1.25}
.lh2-regs .rt.lv0 i{font-size:9.5px}

/* IP 识别地点提示行 */
.lh2 .gonote{font-size:12px;color:#7b8188;margin-top:8px;padding-top:7px;border-top:1px dashed #eef0f3}
.lh2 .gonote b{color:#2b3038;font-weight:600}
.lh2 .gonote .gofix{color:#f2701c;text-decoration:none}

/* ============ 2026-12-03 整改：布局 / 版权条 / 侧栏滚动 ============ */
/* A1 本页去掉 .main-body 白底横条，与卡片同暖白体系（仅本页，不改全站 style.css） */
.main-body{background:transparent}

/* B 右侧联系人：桌面端人多可纵向滚动，不撑破卡片；移动端抽屉沿用原有 overflow:auto */
@media(min-width:861px){
  /* grid 子项必须 min-height:0 才肯在轨道高度内收缩，否则内容把行高顶破、被卡片底边裁掉且滚不动；
     父级高度不定时 max-height:100% 解析为 none，故再给一个与对话栏 min-height(560px) 对齐的定高兜底上限 */
  .lh2-role{min-height:0;align-self:stretch;max-height:100%;max-height:640px;overflow-y:auto;overflow-x:hidden;padding-right:4px}
  .lh2-role{scrollbar-width:thin;scrollbar-color:#d6dbe0 transparent}
  .lh2-role::-webkit-scrollbar{width:6px}
  .lh2-role::-webkit-scrollbar-track{background:transparent}
  .lh2-role::-webkit-scrollbar-thumb{background:#d6dbe0;border-radius:3px}
  .lh2-role .rg{font-size:11px;color:var(--mut);letter-spacing:.5px;margin:10px 2px 5px}
  .lh2-role .rg:first-child{margin-top:0}
}
.lh2-role .rg{display:none}
@media(min-width:861px){.lh2-role .rg{display:block}}

/* A2/A3 版权条：深灰一档 #2b3038，文字深底可读；圆角 12px、居中留两侧间距 */
.footer-copyright{
  background:#2b3038;color:#d9dde2;
  max-width:1200px;margin:0 auto;border-radius:12px;overflow:hidden;
  border-top:0;
}

/* A4 桌面端：版权条贴视口底部（移动端全屏 App 样式不动）。
   注意：本规则必须排在版权条基础规则之后，margin-top:auto 才不会被简写覆盖 */
@media(min-width:861px){
  body{min-height:100dvh;display:flex;flex-direction:column}
  .footer-copyright{margin-top:auto}
}
.footer-copyright p{color:#d9dde2}
.footer-copyright a{color:#b9c0c7}
.footer-copyright a:hover{color:#F37021}
.footer-copyright .version{color:#ffb27a}
.footer-copyright .wrapper{width:auto;max-width:1200px;padding:0 15px}
@media(max-width:860px){
  .footer-copyright{max-width:none;margin:0;border-radius:0}
}

/* 2026-12-03 右栏：在线徽标不折行、姓名行可压缩，避免窄栏内「在/线」竖排 */
@media (min-width:861px){
  .lh2-role .r1 span{white-space:nowrap;flex:none}
  .lh2-role .r1 b{min-width:0}
  .lh2-role .rg{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
}



/* ---------- 工具行：表情 / 图片 / 文件 / 抖屏（2026-12-03） ---------- */
.lh2-att{position:relative;display:flex;align-items:center;gap:2px;padding:4px 0 2px;flex-wrap:wrap}
.lh2-att-btn{border:0;background:transparent;font-size:17px;line-height:1;padding:6px 7px;border-radius:8px;cursor:pointer;opacity:.95;transition:background .15s,opacity .15s}
.lh2-att-btn:hover{opacity:1;background:#fff7f0}
.lh2-att-btn:disabled{opacity:.4;cursor:default}
.lh2-emoji{position:absolute;left:0;bottom:calc(100% + 6px);z-index:20;display:grid;grid-template-columns:repeat(10,1fr);gap:2px;width:min(320px,88vw);padding:8px;background:#fff;border:1px solid #eceff3;border-radius:12px;box-shadow:0 10px 28px rgba(28,34,44,.16)}
.lh2-emoji[hidden]{display:none}
.lh2-emoji button{border:0;background:transparent;font-size:19px;line-height:1.35;padding:2px;border-radius:6px;cursor:pointer}
.lh2-emoji button:hover{background:#fff3e9}
.lh2-img{display:block;line-height:0}
.lh2-img img{display:block;max-width:min(210px,58vw);height:auto;border-radius:9px;border:1px solid #f0e2d6}
.lh2-file{display:inline-flex;align-items:center;gap:6px;max-width:min(260px,64vw);font-size:12.5px;color:#8a5a2b;text-decoration:none;word-break:break-all}
.lh2-file b{font-weight:600}
.lh2-file i{font-style:normal;color:#a8b0b8;flex:none}
.lh2-prog{min-width:190px;max-width:min(260px,62vw)}
.lh2-prog .pl{display:inline-block;font-size:12px;color:#7b8188;margin-bottom:6px;max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:middle}
.lh2-prog .pp{float:right;font-size:11.5px;color:#98a0a8;line-height:16px}
.lh2-prog .pbar{clear:both;height:6px;border-radius:4px;background:#f1f3f6;overflow:hidden}
.lh2-prog .pbar i{display:block;height:100%;width:0;border-radius:4px;background:linear-gradient(90deg,#ffa565,#F37021);transition:width .18s ease}
.lh2-prog .pbar.err i{background:#e5484d}
.lh2-shake{animation:lh2shake .5s ease}
@keyframes lh2shake{0%,100%{transform:translate(0,0)}18%{transform:translate(-6px,2px)}36%{transform:translate(6px,-2px)}54%{transform:translate(-5px,-2px)}72%{transform:translate(5px,2px)}}
@media (max-width:860px){
  .lh2-att{padding:6px 12px 0}
  .lh2-att-btn{font-size:19px;padding:6px 8px}
  .lh2-emoji{grid-template-columns:repeat(8,1fr);width:min(300px,92vw)}
  .lh2-img img{max-width:min(190px,62vw)}
}

/* ---------- 新版对话框：借鉴爱番番聊天窗（2026-12-03） ---------- */
.lh2-chat.lhchat{border:1px solid #edf0f4;border-radius:14px;background:#fff;box-shadow:0 10px 28px rgba(20,30,45,.08);overflow:hidden;padding:0;min-height:520px}
.lhchat-head{display:flex;align-items:center;gap:9px;padding:10px 12px;background:linear-gradient(135deg,#ef6a1e,#ff8b3d);color:#fff;border-bottom:0}
.lhchat-av{width:34px;height:34px;border-radius:9px;background:rgba(255,255,255,.24);display:grid;place-items:center;font-size:16px;font-weight:700;flex:none;color:#fff}
.lhchat-id{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1}
.lhchat-id b{font-size:14px;font-weight:600;color:#fff}
.lhchat-st{display:flex;align-items:center;gap:6px;font-size:11.5px;color:rgba(255,255,255,.92);white-space:nowrap;overflow:hidden}
.lhchat-st .st{width:7px;height:7px;border-radius:50%;background:#8CFCB0;flex:none}
.lhchat-st .st.off{background:#e9e9e9}
.lhchat-st em{font-style:normal;color:rgba(255,255,255,.86)}
.lhchat-hbtn{border:0;background:rgba(255,255,255,.2);color:#fff;font-size:12px;padding:5px 9px;border-radius:7px;cursor:pointer;flex:none;white-space:nowrap}
.lhchat-hbtn:hover{background:rgba(255,255,255,.34)}
.lhchat-tel{display:flex;align-items:center;gap:8px;margin:8px 12px 0;padding:0}
.lhchat-tel input{flex:1;min-width:0;border:1px solid #e6eaf0;border-radius:9px;padding:10px 12px;font-size:13px;outline:none;background:#fbfcfd}
.lhchat-tel input:focus{border-color:var(--o);background:#fff}
.lhchat-call{flex:none;border:1px solid var(--o);background:#fff;color:var(--o);border-radius:9px;padding:9px 14px;font-size:13px;font-weight:600;cursor:pointer;white-space:nowrap}
.lhchat-call:hover{background:var(--o);color:#fff}
.lhchat-msg{display:flex;align-items:center;gap:8px;margin:8px 12px 10px;padding:0}
.lhchat-msg input{flex:1;min-width:0;border:1px solid #e6eaf0;border-radius:9px;padding:11px 13px;font-size:13.5px;outline:none;background:#fbfcfd}
.lhchat-msg input:focus{border-color:var(--o);background:#fff}
.lhchat-msg .send{flex:none;background:var(--o);color:#fff;border:0;border-radius:9px;padding:11px 18px;font-size:13.5px;font-weight:600;cursor:pointer;white-space:nowrap}
.lhchat-msg .send:disabled{opacity:.6;cursor:default}
.lhchat-extra{display:flex;justify-content:flex-end;align-items:center;margin:0 12px 4px;padding:0}
.lhchat-extra #lh2human{flex:none;border:0;background:transparent;color:#98a0a8;font-size:11.5px;cursor:pointer;padding:2px 4px}
.lh2-att-mic{border:0;background:transparent;font-size:18px;line-height:1;padding:6px 7px;border-radius:8px;cursor:pointer;opacity:.95}
.lh2-att-mic.rec{color:#e5484d;opacity:1}
.lh2-chat.lhchat .lh2-note{margin:6px 12px 10px;padding:0}

@media (max-width:860px){
  .lh2-chat.lhchat{border-radius:0;box-shadow:none;border-left:0;border-right:0}
  .lhchat-head{padding:calc(10px + env(safe-area-inset-top)) 12px 10px}
  .lh2-top.lhchat-head>span{display:grid}
  .lhchat-tel,.lhchat-msg{margin-left:10px;margin-right:10px}
  .lhchat-call{padding:10px 12px;font-size:13.5px}
  .lhchat-msg .send{padding:11px 16px}
}
