.ljDn{display: none;}
.formUpdate{display: none;}
 .valid .formUpdate{display: inline-block;}
 .valid .formUpdateHidden{display: none;}

/* ===== 智能客服悬浮组件（对齐站点棕/米白风格） ===== */
.zFloat .ljChat{position:relative;text-align:left;}
.ljChat.is-ready{visibility:visible !important;opacity:1 !important;transition:opacity .2s ease;}
.ljChat-fab{
    width:56px;height:56px;border:0;border-radius:50%;cursor:pointer;
    background:#f1f1f1;color:#602d13;box-shadow:0 6px 18px rgba(96,45,19,.12);
    display:flex;align-items:center;justify-content:center;
    transition:transform .2s ease, background .2s ease, box-shadow .2s ease, color .2s ease;
}
.ljChat-fab:hover{transform:translateY(-2px);background:#efe6df;box-shadow:0 10px 22px rgba(96,45,19,.16);}
.ljChat.is-open .ljChat-fab{background:#602d13;color:#fff;}
.ljChat-fab-close{display:none;}
.ljChat.is-open .ljChat-fab-msg{display:none;}
.ljChat.is-open .ljChat-fab-close{display:block;}
.ljChat-panel{
    position:fixed;right:24px;bottom:96px;z-index:9991;width:340px;max-width:calc(100vw - 32px);
    height:460px;max-height:calc(100vh - 120px);background:#fff;
    border:1px solid #eee;border-radius:10px;overflow:hidden;
    box-shadow:0 12px 32px rgba(96,45,19,.12);
    display:none;flex-direction:column;
    opacity:0;
    transition:opacity .2s ease;
    text-align:left !important;
}
.ljChat.is-open .ljChat-panel{display:flex;opacity:1;}
.zFloat .ljChat .ljChat-panel{right:24px;bottom:96px;}
.ljChat-head{
    flex:0 0 auto;
    display:flex;align-items:center;justify-content:space-between;
    padding:13px 14px;background:#faf8f6;color:#602d13;
    border-bottom:1px solid #efe6df;
}
.ljChat-title{
    display:flex;align-items:center;gap:8px;font-size:14px;font-weight:600;
    color:#602d13;letter-spacing:.02em;text-align:left;
}
.ljChat-dot{
    width:7px;height:7px;border-radius:50%;background:#16b777;
    box-shadow:0 0 0 3px rgba(22,183,119,.18);
}
.ljChat-min{
    border:0;background:transparent;color:#999;font-size:20px;line-height:1;
    cursor:pointer;opacity:.9;padding:0 2px;
}
.ljChat-min:hover{color:#602d13;}
.ljChat-body{
    flex:1 1 auto;min-height:0;height:0;overflow-x:hidden;overflow-y:auto;
    -webkit-overflow-scrolling:touch;overscroll-behavior:contain;
    padding:14px 12px;background:#fafafa;text-align:left !important;
}
.ljChat-msg{display:flex;margin-bottom:12px;text-align:left;}
.ljChat-msg.is-bot{justify-content:flex-start;}
.ljChat-msg.is-user{justify-content:flex-end;}
.ljChat-bubble{
    max-width:82%;padding:10px 12px;border-radius:10px;font-size:13px;line-height:1.55;
    word-break:break-word;white-space:pre-wrap;text-align:left !important;
}
.ljChat-msg.is-bot .ljChat-bubble{
    background:#fff;color:#333;border:1px solid #eee;border-top-left-radius:3px;
}
.ljChat-msg.is-user .ljChat-bubble{
    background:#602d13;color:#fff;border:1px solid #602d13;border-top-right-radius:3px;
}
.ljChat-msg.is-typing .ljChat-bubble{color:#999;background:#fff;border:1px solid #eee;}
.ljChat-asks{
    display:flex;flex-wrap:wrap;gap:6px;margin-top:10px;text-align:left;
}
.ljChat-ask{
    border:1px solid #e6d7cc;background:#faf8f6;color:#602d13;
    border-radius:999px;padding:5px 10px;font-size:12px;line-height:1.3;
    cursor:pointer;transition:background .15s ease,border-color .15s ease,color .15s ease;
    max-width:100%;white-space:normal;text-align:left;
}
.ljChat-ask:hover{background:#602d13;border-color:#602d13;color:#fff;}
.ljChat-foot{flex:0 0 auto;padding:10px;border-top:1px solid #eee;background:#fff;text-align:left;}
.ljChat-form{display:flex;gap:8px;align-items:center;}
.ljChat-input{
    flex:1;height:38px;border:1px solid #e2e2e2;border-radius:8px;padding:0 12px;
    font-size:13px;outline:none;background:#fff;color:#333;text-align:left !important;
}
.ljChat-input:focus{border-color:#602d13;box-shadow:0 0 0 2px rgba(96,45,19,.08);}
.ljChat-send{
    height:38px;padding:0 14px;border:0;border-radius:8px;background:#602d13;color:#fff;
    font-size:13px;cursor:pointer;white-space:nowrap;transition:background .2s ease;
}
.ljChat-send:hover{background:#4e240f;}
.ljChat-send:disabled{opacity:.55;cursor:not-allowed;}

@media (max-width:768px){
    .ljChat-panel,.zFloat .ljChat .ljChat-panel{right:16px;bottom:84px;width:calc(100vw - 32px);height:70vh;}
    .ljChat-fab{width:52px;height:52px;}
}