.hl-after-sales-host{position:relative!important;padding:0!important;overflow:hidden!important;min-height:760px!important;background:#f4f6f9!important}.hl-after-sales-host>:not(.hl-after-sales-app){display:none!important}.hl-after-sales-app{position:absolute;inset:0;display:flex;flex-direction:column;background:#f4f6f9;color:#25324a;font-size:13px;z-index:8;min-width:1000px}.hl-as-topline{height:42px;flex:0 0 42px;display:flex;align-items:center;justify-content:space-between;padding:0 16px;border-bottom:1px solid #e7ebf1;background:#fff}.hl-as-mx-time{font-size:12px;color:#46556f}.hl-as-link{border:0;background:transparent;color:#1684e8;cursor:pointer}.hl-as-grid{display:grid;grid-template-columns:350px minmax(460px,1fr) 330px;min-height:0;flex:1;background:#fff}.hl-as-left,.hl-as-center,.hl-as-right{min-width:0;min-height:0}.hl-as-left{border-right:1px solid #e4e8ef;display:flex;flex-direction:column;background:#f8f9fb}.hl-as-left-head{height:52px;display:flex;align-items:center;justify-content:space-between;padding:0 15px;background:#fff;border-bottom:1px solid #edf0f5}.hl-as-left-head h2{font-size:16px;margin:0;color:#1c2a40}.hl-as-left-head h2 small{font-size:13px}.hl-as-outline{border:1px solid #d9dfe8;background:#fff;border-radius:3px;padding:6px 12px;color:#52627a;cursor:pointer}.hl-as-tabs{display:grid;grid-template-columns:1fr 1fr;padding:8px 14px 0;background:#fff}.hl-as-tabs button{height:34px;border:1px solid #d9e0e8;background:#fff;color:#44546b;cursor:pointer}.hl-as-tabs button.active{background:#3f97ec;color:#fff;border-color:#3f97ec}.hl-as-tabs em{display:inline-flex;min-width:17px;height:17px;align-items:center;justify-content:center;border-radius:10px;background:#ff4b55;color:#fff;font-style:normal;font-size:10px;margin-left:3px}.hl-as-search-row{display:grid;grid-template-columns:70px 1fr 54px;gap:0;padding:9px 14px 5px;background:#fff}.hl-as-search-row select,.hl-as-search-row input,.hl-as-date-row input{height:32px;border:1px solid #dfe4ec;background:#fff;padding:0 8px;outline:0}.hl-as-search-row select{border-right:0;border-radius:3px 0 0 3px;color:#6d7889}.hl-as-search-row input{min-width:0}.hl-as-primary{border:0;border-radius:0 3px 3px 0;background:#1688e8;color:#fff;cursor:pointer}.hl-as-date-row{display:grid;grid-template-columns:1fr 25px 1fr;align-items:center;padding:3px 14px 10px;background:#fff}.hl-as-date-row span{text-align:center;color:#7b8491}.hl-as-list{overflow:auto;padding:0 14px 14px;flex:1}.hl-as-card{display:block;width:100%;border:1px solid #e0e5ed;border-radius:7px;background:#fff;margin:8px 0;padding:0;text-align:left;color:#334157;cursor:pointer;overflow:hidden}.hl-as-card:hover,.hl-as-card.selected{border:2px solid #2196f3}.hl-as-card-title{display:flex;align-items:center;justify-content:space-between;padding:10px 12px 5px;color:#111b2e}.hl-as-red-dot{width:9px;height:9px;border-radius:50%;background:#ff4454;box-shadow:0 0 0 2px #fff}.hl-as-card-body{display:flex;padding:6px 12px}.hl-as-thumb{width:52px;height:52px;flex:0 0 52px;border:1px solid #e8ebef;background:#f7f7f7;display:flex;align-items:center;justify-content:center;margin-right:8px;color:#aaa;font-size:11px}.hl-as-thumb img{width:100%;height:100%;object-fit:contain}.hl-as-card-info{min-width:0;line-height:1.55}.hl-as-card-info p{margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px}.hl-as-card-info strong{font-weight:500;color:#45566e}.hl-as-product-name{color:#526279}.hl-as-card-foot{display:flex;justify-content:space-between;align-items:center;padding:4px 12px 8px;color:#8a96a7;font-size:11px}.hl-as-card-foot span{background:#7f8490;color:#fff;padding:3px 6px;border-radius:2px}.hl-as-center{display:flex;flex-direction:column;background:#fff;border-right:1px solid #e4e8ef}.hl-as-chat-title{height:52px;flex:0 0 52px;display:flex;align-items:center;padding:0 17px;border-bottom:1px solid #edf0f5;font-size:15px;color:#111a2b}.hl-as-history{flex:1;min-height:280px;overflow:auto;padding:15px 20px 8px;background:#fff}.hl-as-day{text-align:center;color:#9a735f;margin:5px 0 18px;font-size:12px}.hl-as-msg{max-width:72%;padding:10px 12px;border-radius:9px;margin:8px 0;line-height:1.55;box-shadow:0 1px 1px rgba(0,0,0,.04)}.hl-as-msg time{display:block;font-size:10px;color:#9aa3ae;margin-top:4px}.hl-as-msg.buyer{margin-right:auto;background:#f0f3f6;color:#334157}.hl-as-msg.mine{margin-left:auto;background:#e8f4ff;border:1px solid #bee2ff;color:#174d7d}.hl-as-event{position:relative;text-align:center;border-top:3px solid #1698ed;background:#f4f6f8;border-radius:5px;padding:12px;margin:20px 0;color:#182234}.hl-as-event span{position:absolute;top:-12px;left:50%;transform:translateX(-50%);width:22px;height:22px;border-radius:50%;background:#1599eb;color:#fff;display:flex;align-items:center;justify-content:center;font-size:11px;border:2px solid #fff}.hl-as-event b{display:block}.hl-as-event small{display:block;color:#ff5d5d;margin-top:4px}.hl-as-warning{flex:0 0 32px;padding:7px 14px;color:#ef9b14;font-size:11px;border-top:1px solid #f2f2f2}.hl-as-composer{flex:0 0 178px;border-top:1px solid #e8edf2;background:#fff}.hl-as-tools{height:39px;display:flex;align-items:center;gap:8px;padding:0 11px;border-bottom:1px solid #edf0f3}.hl-as-tools select{border:0;background:#fff;color:#4c5d73}.hl-as-tool,.hl-as-tool-primary{border:0;background:transparent;cursor:pointer;color:#45546c}.hl-as-tool-primary{background:#1b95ec;color:#fff;border-radius:3px;padding:6px 14px}.hl-as-composer textarea{width:100%;height:87px;border:0;resize:none;outline:0;padding:12px;box-sizing:border-box;color:#334157}.hl-as-send-row{height:42px;display:flex;align-items:center;justify-content:flex-end;gap:8px;padding:0 11px;border-top:1px solid #f0f2f5}.hl-as-send-row>span{margin-right:auto;color:#a4abb4;font-size:11px}.hl-as-send{height:30px;border:0;border-radius:3px;background:#1698ed;color:#fff;padding:0 18px;cursor:pointer}.hl-as-send:disabled{opacity:.55}.hl-as-ignore{height:30px;border:1px solid #f5c366;background:#fff9e8;color:#f0a51c;border-radius:3px;padding:0 14px;cursor:pointer}.hl-as-right{overflow:auto;background:#fff}.hl-as-right>h2{height:52px;display:flex;align-items:center;margin:0;padding:0 16px;border-bottom:1px solid #edf0f5;font-size:15px}.hl-as-right section{padding:13px 16px;border-bottom:1px solid #eef1f4}.hl-as-right section h3{font-size:13px;margin:0 0 9px;color:#222d3e}.hl-as-kv>div{display:flex;gap:5px;margin:4px 0;font-size:12px;line-height:1.45}.hl-as-kv span,.hl-as-product-detail span{color:#7b8492;flex:0 0 auto}.hl-as-kv b,.hl-as-product-detail b{font-weight:500;color:#344257;word-break:break-all}.hl-as-full{font-style:normal;color:#59bb32;font-size:10px}.hl-as-muted{color:#999;font-size:12px}.hl-as-product-detail{display:flex;gap:11px;font-size:12px;line-height:1.5}.hl-as-product-detail>img,.hl-as-noimg{width:72px;height:72px;object-fit:contain;border:1px solid #eee;flex:0 0 72px}.hl-as-noimg{display:flex;align-items:center;justify-content:center;color:#aaa}.hl-as-product-detail>div{min-width:0}.hl-as-product-detail strong{display:block;color:#111927;margin-bottom:5px}.hl-as-product-detail>div>div{display:flex;gap:4px}.hl-as-empty{padding:28px 15px;color:#9ba4b1;text-align:center;line-height:1.6}.hl-as-empty.big{margin:auto}.hl-as-error{margin:12px 0;padding:12px;background:#fff2f2;border:1px solid #ffcaca;color:#d74242;border-radius:4px}.hlbi-unified-top-notice{position:fixed;z-index:100000;top:24px;right:5%;max-width:520px;min-width:320px;padding:13px 18px;border-radius:7px;background:#207ee8;color:#fff;font-size:14px;font-weight:500;box-shadow:0 8px 24px rgba(18,63,113,.25)}.hlbi-unified-top-notice.success{background:#20a464}.hlbi-unified-top-notice.warn{background:#e59a19}.hlbi-unified-top-notice.error{background:#d94b4b}.hlbi-unified-top-notice.info{background:#536a87}@media(max-width:1300px){.hl-as-grid{grid-template-columns:320px minmax(430px,1fr) 285px}.hl-as-left{font-size:12px}.hl-as-right{font-size:11px}}


/* V94 - 按旧BI参考图调整三栏宽度，并接入MySQL快捷回复弹层 */
.hl-as-grid{grid-template-columns:420px minmax(620px,1fr) 420px!important}
.hl-as-left-head{padding-left:16px;padding-right:16px}
.hl-as-list{padding-left:12px;padding-right:12px}
.hl-as-card-body{padding-top:7px;padding-bottom:7px}
.hl-as-right section{padding-left:18px;padding-right:18px}
.hl-as-product-detail>img,.hl-as-noimg{width:78px;height:78px;flex-basis:78px}
.hl-as-quick-wrap{position:relative;height:39px;display:flex;align-items:center}
.hl-as-quick-btn{border:0;background:transparent;color:#37475e;cursor:pointer;padding:7px 4px;white-space:nowrap}
.hl-as-quick-btn span{margin-left:4px;color:#7d8998}
.hl-as-quick-pop{position:absolute;left:50%;bottom:37px;transform:translateX(-50%);width:286px;max-height:365px;background:#fff;border:1px solid #e2e7ee;border-radius:5px;box-shadow:0 10px 28px rgba(32,52,78,.18);z-index:200;padding:14px 0 7px}
.hl-as-quick-pop[hidden]{display:none!important}
.hl-as-quick-search{height:36px;margin:0 15px 8px;border:1px solid #d8e0e9;border-radius:4px;display:flex;align-items:center;padding:0 10px;gap:7px;color:#9aa6b4}
.hl-as-quick-search input{border:0;outline:0;width:100%;min-width:0;color:#425169;background:#fff}
.hl-as-quick-create{display:block;width:100%;border:0;background:#fff;text-align:left;padding:9px 16px;color:#1689ee;cursor:pointer}
.hl-as-quick-create:hover,.hl-as-quick-list button:hover{background:#f5f9fe}
.hl-as-quick-list{max-height:260px;overflow:auto;padding:2px 0 5px}
.hl-as-quick-list button{display:block;width:100%;border:0;background:#fff;text-align:left;padding:9px 16px;color:#2f3d53;cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hl-as-quick-empty{padding:15px;color:#9aa5b2;text-align:center;font-size:12px}
@media(max-width:1600px){.hl-as-grid{grid-template-columns:380px minmax(560px,1fr) 370px!important}}
@media(max-width:1350px){.hl-as-grid{grid-template-columns:340px minmax(460px,1fr) 315px!important}.hl-as-right section{padding-left:12px;padding-right:12px}}

/* 待回复售后：页面通知统一采用黑名单管理的位置 */
.hl-after-sales-toast{position:fixed;z-index:2147483646;top:76px;left:50vw;right:auto;box-sizing:border-box;max-width:min(860px,calc(100vw - 48px));min-width:min(300px,calc(100vw - 48px));padding:12px 17px;border-radius:6px;background:#536a87;color:#fff;box-shadow:0 7px 22px rgba(21,43,69,.22);opacity:0;transform:translate(-50%,-7px);transition:.18s;font-size:14px;line-height:1.6;text-align:left;white-space:pre-line;word-break:break-word;pointer-events:none}
.hl-after-sales-toast.show{opacity:1;transform:translate(-50%,0)}
.hl-after-sales-toast.success{background:#20a464}.hl-after-sales-toast.warn{background:#e59a19}.hl-after-sales-toast.error{background:#d94b4b}.hl-after-sales-toast.info{background:#536a87}.hl-after-sales-toast.sync{background:#207ee8}

/* 墨西哥时间说明：统一 ? 两态 + 普通箭头，弹层挂 body 最高层 */
.hl-as-mx-time small{color:#7d8795;font-size:11px}
.hl-as-time-help{display:inline-flex;width:15px;height:15px;padding:0;margin:0 2px;border:1px solid #a6acb4;border-radius:50%;align-items:center;justify-content:center;background:#fff;color:#7d8795;font:600 10px/1 Arial,sans-serif;cursor:default;vertical-align:middle}
.hl-as-time-help:hover,.hl-as-time-help:focus{background:#666;color:#fff;border-color:#666;outline:0}
.hl-as-time-help-pop{position:fixed;z-index:2147483647;width:300px;max-width:calc(100vw - 24px);box-sizing:border-box;background:#fff;border:1px solid #d9e0e8;border-radius:4px;box-shadow:0 6px 22px rgba(20,35,55,.18);padding:13px 16px;color:#4b5563;font-size:13px;line-height:1.8;white-space:normal;word-break:break-word}
.hl-as-time-help-pop i{position:absolute;top:-7px;left:50%;width:12px;height:12px;margin-left:-6px;background:#fff;border-left:1px solid #d9e0e8;border-top:1px solid #d9e0e8;transform:rotate(45deg)}

/* 售后回复双栏翻译：左侧中文/原文，右侧西班牙语发送内容 */
.hl-as-composer{flex:0 0 178px;height:178px;padding:0;overflow:visible}
.hl-as-compose-grid{display:grid;grid-template-columns:1fr 1fr;height:100%;min-height:0}
.hl-as-compose-source,.hl-as-compose-target{min-width:0;min-height:0;display:flex;flex-direction:column;background:#fff}
.hl-as-compose-source{border-right:1px solid #e7ebf0}
.hl-as-compose-source .hl-as-tools,.hl-as-compose-target .hl-as-tools{flex:0 0 39px;height:39px;box-sizing:border-box}
.hl-as-compose-target .hl-as-tools{justify-content:flex-start}
.hl-as-compose-source textarea,.hl-as-compose-target textarea{width:100%;border:0;resize:none;outline:0;box-sizing:border-box;padding:12px;color:#334157;background:#fff;line-height:1.55;font-family:inherit}
.hl-as-compose-source textarea{height:139px;flex:1}
.hl-as-compose-target textarea{height:97px;flex:1}
.hl-as-compose-target .hl-as-send-row{flex:0 0 42px;height:42px}
.hl-as-tool-primary:disabled{opacity:.6;cursor:not-allowed}
.hl-as-cn-name{color:#66758a!important}

/* 全部售后：默认近30天说明 */
.hl-as-tab-help-pop{position:fixed;z-index:2147483647;min-width:230px;max-width:360px;box-sizing:border-box;background:#fff;border:1px solid #d9e0e8;border-radius:4px;box-shadow:0 6px 22px rgba(20,35,55,.18);padding:12px 15px;color:#4b5563;font-size:13px;line-height:1.6;white-space:normal;word-break:break-word;pointer-events:auto}
.hl-as-tab-help-pop:after{content:'';position:absolute;bottom:-7px;left:50%;width:12px;height:12px;margin-left:-6px;background:#fff;border-right:1px solid #d9e0e8;border-bottom:1px solid #d9e0e8;transform:rotate(45deg)}
.hl-as-all-tab{cursor:default!important}

/* V151 - 按旧BI参考图恢复待回复售后三栏比例、加宽查询下拉框、会话显示原文/译文 */
.hl-as-grid{grid-template-columns:24% 50% 26%!important}
.hl-as-search-row{grid-template-columns:108px minmax(0,1fr) 62px!important}
.hl-as-search-row select{min-width:108px!important;padding-left:10px!important;padding-right:24px!important;white-space:nowrap}
.hl-as-msg{max-width:74%;padding:10px 12px 8px;border-radius:10px;white-space:normal;word-break:break-word}
.hl-as-msg-label{font-size:11px;line-height:1.35;color:#9aa4b1;margin:0 0 4px}
.hl-as-msg-original{white-space:pre-wrap;word-break:break-word}
.hl-as-msg-translation{border-top:1px dashed #d9e0e7;margin-top:9px;padding-top:8px;white-space:pre-wrap;word-break:break-word}
.hl-as-msg.mine .hl-as-msg-translation{border-top-color:#c9dff1}
.hl-as-attachment-label{margin-top:2px}
.hl-as-msg-attachments{display:flex;flex-wrap:wrap;gap:8px;margin-top:4px}
.hl-as-attachment-card{width:86px;min-height:72px;border:1px solid #e1e6ec;border-radius:6px;background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;overflow:hidden;padding:5px;box-sizing:border-box;text-decoration:none;cursor:pointer}
.hl-as-attachment-card img{width:74px;height:58px;object-fit:cover;border-radius:3px;background:#f4f6f8}
  .hl-as-attachment-icon{position:relative;width:45px;height:40px;display:flex;align-items:center;justify-content:center;background:#f3f6f9;border:1px solid #dbe3eb;border-radius:4px;color:#5d7185}
  .hl-as-attachment-icon svg{width:27px;height:27px;stroke:currentColor;stroke-width:1.55;stroke-linecap:round;stroke-linejoin:round}
  .hl-as-attachment-icon b{position:absolute;left:50%;bottom:5px;transform:translateX(-50%);min-width:25px;padding:1px 3px;border-radius:2px;background:#5d7185;color:#fff;font-size:8px;line-height:10px;text-align:center;letter-spacing:0}
  .hl-as-attachment-icon.is-pdf{background:#fff3f3;border-color:#f3c8c8;color:#d83b3b}
  .hl-as-attachment-icon.is-pdf b{background:#d83b3b}
  .hl-as-attachment-icon.is-word{background:#f1f6ff;border-color:#c8d8f3;color:#2b67b1}
  .hl-as-attachment-icon.is-word b{background:#2b67b1}
  .hl-as-attachment-icon.is-excel{background:#eff9f3;border-color:#bfdfca;color:#238451}
  .hl-as-attachment-icon.is-excel b{background:#238451}
  .hl-as-attachment-icon.is-archive{background:#fff7e8;border-color:#efd8a8;color:#b77815}
  .hl-as-attachment-icon.is-archive b{background:#b77815}
.hl-as-attachment-card small{display:block;width:100%;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center;color:#7f8997;font-size:10px}
@media(max-width:1450px){.hl-as-grid{grid-template-columns:24% 50% 26%!important}.hl-as-search-row{grid-template-columns:102px minmax(0,1fr) 58px!important}.hl-as-search-row select{min-width:102px!important}}
/* V153：附件读取失败时保留可点击重试提示；图片实际由受权限保护的 attachment.php 输出。 */
.hl-as-attachment-error{font-style:normal;font-size:9px;color:#e58a22;margin-top:2px}


/* V156 - 售后交互细节：全部售后手型、左侧精简、附件悬停放大、回复框加高 */
.hl-as-all-tab{cursor:pointer!important}
.hl-as-card-foot{justify-content:flex-start!important}
.hl-as-composer{flex:0 0 230px!important;height:230px!important}
.hl-as-compose-source textarea,.hl-as-compose-target textarea{height:auto!important;flex:1 1 auto!important;min-height:0!important}
.hl-as-image-hover-preview{position:fixed;z-index:2147483647;width:360px;height:360px;box-sizing:border-box;padding:6px;background:#fff;border:1px solid #d8e0e8;border-radius:8px;box-shadow:0 12px 34px rgba(20,35,55,.28);pointer-events:none;display:flex;align-items:center;justify-content:center}
.hl-as-image-hover-preview img{display:block;max-width:348px;max-height:348px;width:auto;height:auto;object-fit:contain;border-radius:4px;background:#fff}
.hl-as-msg-attachments .hl-as-attachment-card img{cursor:zoom-in}
@media(max-width:1200px){.hl-as-image-hover-preview{width:300px;height:300px}.hl-as-image-hover-preview img{max-width:288px;max-height:288px}}


/* V157 - 详情位置/商品链接、附件大图、复制按钮、中文状态、商品信息白底 */
.hl-as-card-body{align-items:flex-start!important}
.hl-as-card-visual{flex:0 0 58px;display:flex;flex-direction:column;align-items:flex-start;margin-right:8px}
.hl-as-card-visual .hl-as-thumb{margin-right:0!important}
.hl-as-card-product-link{display:inline-flex;align-items:center;justify-content:center;margin-top:5px;padding:3px 6px;border-radius:2px;background:#7f8490;color:#fff;font-size:11px;line-height:1.2;cursor:pointer;white-space:nowrap}
.hl-as-card-product-link:hover{background:#626975}
.hl-as-card-foot{display:none!important}
.hl-as-attachment-card.is-image{min-height:70px!important;padding:5px!important;cursor:pointer!important}
.hl-as-attachment-card.is-image small{display:none!important}
.hl-as-msg-attachments .hl-as-attachment-card img{cursor:pointer!important}
.hl-as-image-hover-preview{width:540px!important;height:540px!important;padding:8px!important}
.hl-as-image-hover-preview img{max-width:522px!important;max-height:522px!important}
.hl-as-copy{width:18px;height:18px;flex:0 0 18px;margin:0 0 0 4px;padding:0;border:0;background:transparent!important;color:#6d7b8e;font:12px/18px Arial,sans-serif;cursor:pointer;vertical-align:middle}
.hl-as-copy:hover{color:#1688e8;background:transparent!important}
.hl-as-kv>div,.hl-as-kv>div>span,.hl-as-kv>div>b,.hl-as-product-detail>div>div,.hl-as-product-detail>div>div>span,.hl-as-product-detail>div>div>b{background:#fff!important}
.hl-as-product-detail>div>div{align-items:flex-start}
@media(max-width:1200px){.hl-as-image-hover-preview{width:420px!important;height:420px!important}.hl-as-image-hover-preview img{max-width:402px!important;max-height:402px!important}}


/* V158 - 附件小图放大并完整显示；复制成功给明确提示 */
.hl-as-attachment-card.is-image{width:122px!important;min-height:102px!important;padding:6px!important;background:#fff!important}
.hl-as-attachment-card.is-image img{width:108px!important;height:88px!important;object-fit:contain!important;object-position:center!important;background:#fff!important;border-radius:3px}
.hl-as-copy.copied{color:#20a464!important;font-weight:700!important}


/* V159：左侧菜单待回复售后全局红点/数量提示 */
.side-menu .menu-group > p.hl-as-has-pending-badge,
.side-menu .menu-group > button.hl-as-has-pending-badge{
  position:relative !important;
}
.side-menu .hl-as-sidebar-pending-badge{
  position:absolute;
  z-index:4;
  top:50%;
  transform:translateY(-50%);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:18px;
  height:18px;
  padding:0 5px;
  border-radius:10px;
  background:#ff4d5a;
  color:#fff !important;
  font-size:11px;
  font-weight:700;
  line-height:18px;
  box-shadow:0 0 0 1px rgba(255,255,255,.22);
  pointer-events:none;
}
.side-menu .menu-group > p.hl-as-pending-group > .hl-as-sidebar-pending-badge{right:28px;}
.side-menu .menu-group > button.hl-as-pending-sub > .hl-as-sidebar-pending-badge{
  position:static;
  top:auto;
  right:auto;
  transform:none;
  flex:0 0 auto;
  margin-left:8px;
}
body.hl-shell-sidebar-collapsed .side-menu .menu-group > p.hl-as-pending-group > .hl-as-sidebar-pending-badge{
  top:6px;
  right:4px;
  transform:none;
  min-width:16px;
  height:16px;
  padding:0 4px;
  font-size:10px;
  line-height:16px;
}

/* V160：回复区加高；回复附件可上传、预览待发送状态。页面本身不再自动刷新。 */
.hl-as-composer{flex:0 0 300px!important;height:300px!important}
.hl-as-outgoing-attachments{flex:0 0 auto;max-height:72px;overflow:auto;display:flex;align-items:center;gap:6px;flex-wrap:wrap;padding:7px 10px;border-bottom:1px solid #edf0f3;background:#fbfcfe;box-sizing:border-box}
.hl-as-outgoing-attachments[hidden]{display:none!important}
.hl-as-outgoing-chip{max-width:230px;height:28px;display:inline-flex;align-items:center;gap:5px;padding:0 5px 0 8px;border:1px solid #dce4ed;border-radius:4px;background:#fff;color:#536277;font-size:11px;box-sizing:border-box}
.hl-as-outgoing-chip>b{font-weight:400;color:#1688e8}
.hl-as-outgoing-chip>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hl-as-outgoing-chip>button{flex:0 0 20px;width:20px;height:20px;padding:0;border:0;border-radius:3px;background:transparent;color:#8d98a7;cursor:pointer;font:16px/20px Arial,sans-serif}
.hl-as-outgoing-chip>button:hover{background:#f1f4f7;color:#e34b55}
.hl-as-outgoing-uploading{color:#1688e8;font-size:12px}
.hl-as-compose-target textarea{min-height:120px!important}

/* V161：待发送附件显示在回复框最下方；文件行可删除。客户消息图片由服务器生成 550x550 小图，前端显示/悬停均读取小图，点击打开原图。 */
.hl-as-outgoing-attachments{
  flex:0 0 auto!important;
  display:block!important;
  max-height:82px!important;
  overflow:auto!important;
  padding:4px 10px 5px!important;
  border-top:1px solid #edf0f3!important;
  border-bottom:0!important;
  background:#fff!important;
  box-sizing:border-box!important;
}
.hl-as-outgoing-attachments[hidden]{display:none!important}
.hl-as-outgoing-file{
  width:100%;
  min-height:28px;
  display:flex;
  align-items:center;
  gap:7px;
  box-sizing:border-box;
  color:#4f5f73;
  font-size:11px;
  line-height:28px;
}
.hl-as-outgoing-file+.hl-as-outgoing-file{border-top:1px dashed #edf0f3}
.hl-as-outgoing-file-icon{flex:0 0 16px;color:#1688e8;font-size:14px;text-align:center}
.hl-as-outgoing-file>.hl-as-attachment-icon{width:20px;height:23px;flex:0 0 20px}.hl-as-outgoing-file>.hl-as-attachment-icon svg{width:20px;height:23px}.hl-as-outgoing-file>.hl-as-attachment-icon b{margin-top:7px;font-size:6px;line-height:8px}
.hl-as-outgoing-file-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hl-as-outgoing-file-size{flex:0 0 auto;color:#9ba5b1;margin-left:2px}
.hl-as-outgoing-file-state{flex:0 0 auto;color:#1688e8;margin-left:4px}
.hl-as-outgoing-retry{flex:0 0 auto!important;width:auto!important;height:22px!important;padding:0 7px!important;border:1px solid #e5484d!important;border-radius:3px!important;color:#e5484d!important;background:#fff!important;font-size:11px!important}
.hl-as-outgoing-file>button{
  margin-left:auto;
  flex:0 0 22px;
  width:22px;
  height:22px;
  border:0;
  border-radius:3px;
  background:transparent;
  color:#9099a5;
  cursor:pointer;
  font:17px/22px Arial,sans-serif;
  padding:0;
}
.hl-as-outgoing-file>button:hover{background:#f3f5f7;color:#e34b55}
.hl-as-compose-target textarea{min-height:88px!important}

/* V162：客户附件图片按原始比例显示；保存小图的最短边为550px；悬停预览按小图真实比例/尺寸显示，不再强制正方形。 */
.hl-as-attachment-card.is-image{
  width:auto!important;
  min-width:0!important;
  min-height:0!important;
  padding:6px!important;
  display:inline-flex!important;
}
.hl-as-attachment-card.is-image img{
  width:auto!important;
  height:auto!important;
  max-width:120px!important;
  max-height:120px!important;
  object-fit:contain!important;
  object-position:center!important;
  background:#fff!important;
}
.hl-as-image-hover-preview{
  width:auto!important;
  height:auto!important;
  min-width:0!important;
  min-height:0!important;
  padding:8px!important;
  display:block!important;
}
.hl-as-image-hover-preview img{
  width:auto;
  height:auto;
  max-width:none!important;
  max-height:none!important;
  object-fit:contain!important;
  display:block!important;
}

/* V163：选择附件后先保留在页面，发送时才上传；上传失败不再闪一下消失，可直接看到错误并重试发送。 */
.hl-as-outgoing-file-state{color:#1688e8}
.hl-as-outgoing-file.is-error .hl-as-outgoing-file-state{color:#e5484d;font-weight:600}
.hl-as-outgoing-file.is-error{background:#fff7f7}


/* V164：将“发送 / 不再提醒”上移到右侧工具栏；底部仅保留字符计数。 */
.hl-as-compose-target .hl-as-target-tools{justify-content:flex-start!important;gap:8px!important;padding-right:10px!important}
.hl-as-target-tools .hl-as-tools-spacer{flex:1 1 auto;min-width:8px}
.hl-as-target-tools .hl-as-send,.hl-as-target-tools .hl-as-ignore{flex:0 0 auto;margin:0!important}
.hl-as-target-tools .hl-as-send{height:30px;padding:0 18px}
.hl-as-target-tools .hl-as-ignore{height:30px;padding:0 14px}
.hl-as-compose-target .hl-as-count-row{flex:0 0 26px!important;height:26px!important;min-height:26px!important;border-top:0!important;padding:0 11px!important;justify-content:flex-end!important;background:#fff!important}
.hl-as-compose-target .hl-as-count-row>span{margin-left:auto!important;margin-right:0!important;align-self:center}


/* V165：发送改为分体按钮；下拉提供“发送 / 发送且已读”，并按旧BI样式显示悬浮说明。 */
.hl-after-sales-app .hl-as-compose-source .hl-as-tools{flex-wrap:wrap;height:auto;min-height:39px;gap:8px}
.hl-after-sales-app [data-act="ai-reply"]{white-space:nowrap;flex-shrink:0}
.hl-as-send-split{position:relative;display:inline-flex;align-items:center;height:30px;flex:0 0 auto}
.hl-as-send-main,.hl-as-send-arrow{height:30px;border:0;background:#1698ed;color:#fff;cursor:pointer;box-sizing:border-box}
.hl-as-send-main{padding:0 15px;border-radius:3px 0 0 3px;border-right:1px solid rgba(255,255,255,.42)}
.hl-as-send-arrow{width:40px;padding:0;border-radius:0 3px 3px 0;font-size:20px;font-weight:600;line-height:30px}
.hl-as-send-main:hover,.hl-as-send-arrow:hover{background:#078be3}
.hl-as-send-main:disabled,.hl-as-send-arrow:disabled,.hl-as-send-option:disabled{opacity:.55;cursor:not-allowed}
.hl-as-send-menu{position:absolute;z-index:10035;right:0;top:35px;min-width:112px;padding:5px 0;background:#fff;border:1px solid #e2e6ec;border-radius:3px;box-shadow:0 5px 14px rgba(24,45,72,.14)}
.hl-as-send-menu[hidden]{display:none!important}
.hl-as-send-option{position:relative;display:block;width:100%;height:34px;padding:0 13px;border:0;background:#fff;color:#43536a;text-align:left;white-space:nowrap;cursor:pointer;font-size:13px}
.hl-as-send-option:hover{background:#f3f8fd;color:#1688e8}
.hl-as-send-option::after{content:attr(data-tip);position:absolute;left:calc(100% + 9px);top:50%;transform:translateY(-50%);width:max-content;max-width:390px;padding:10px 14px;border-radius:4px;background:#fff;color:#4f5f73;border:1px solid #e2e6ec;box-shadow:0 4px 14px rgba(31,48,69,.16);font-size:12px;line-height:1.55;white-space:normal;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .12s ease}
.hl-as-send-option::before{content:'';position:absolute;z-index:2;left:calc(100% + 4px);top:50%;width:9px;height:9px;background:#fff;border-left:1px solid #e2e6ec;border-bottom:1px solid #e2e6ec;transform:translateY(-50%) rotate(45deg);opacity:0;visibility:hidden;pointer-events:none}
.hl-as-send-option:hover::after,.hl-as-send-option:hover::before{opacity:1;visibility:visible}
.hl-as-target-tools .hl-as-send-split{margin:0!important}

/* V166：发送右侧下拉区加宽，便于点击。 */
.hl-as-send-arrow{min-width:40px!important;width:40px!important;font-size:20px!important;}

/* V169：发送下拉箭头使用 SVG，消除字体基线偏移，确保上下左右严格居中。 */
.hl-as-send-arrow{
  min-width:48px!important;
  width:48px!important;
  height:30px!important;
  padding:0!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  line-height:0!important;
  font-size:0!important;
  vertical-align:middle!important;
}
.hl-as-send-arrow .hl-as-send-chevron{
  display:block!important;
  width:16px!important;
  height:16px!important;
  flex:0 0 16px!important;
  overflow:visible!important;
  pointer-events:none!important;
}
.hl-as-send-arrow .hl-as-send-chevron path{
  fill:none!important;
  stroke:#fff!important;
  stroke-width:2.2!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
  vector-effect:non-scaling-stroke!important;
}


/* V171：只给可展开分组里的二级菜单增加垂直间距。 */
.side-menu .menu-group.hl-sidebar-collapsible > button{
  min-height:38px!important;
  margin:3px 0!important;
  padding-top:7px!important;
  padding-bottom:7px!important;
  line-height:20px!important;
}


/* V172：二级菜单选中时取消整块背景；不得覆盖直达一级菜单的蓝底选中态。 */
.side-menu .menu-group.hl-sidebar-collapsible > button.active,
.side-menu .menu-group.hl-sidebar-collapsible > button[aria-current="page"]{
  background:transparent!important;
  background-color:transparent!important;
  box-shadow:none!important;
  color:#1688e8!important;
}
.side-menu .menu-group.hl-sidebar-collapsible > button.active *,
.side-menu .menu-group.hl-sidebar-collapsible > button[aria-current="page"] *{
  color:inherit!important;
}
.side-menu .menu-group.hl-sidebar-collapsible > button.active > .hl-as-sidebar-pending-badge,
.side-menu .menu-group.hl-sidebar-collapsible > button[aria-current="page"] > .hl-as-sidebar-pending-badge{
  color:#fff!important;
}


/* 售后工作区与投诉消息统一：外层横向滚动、三栏独立纵向滚动。 */
body.hl-after-sales-layout .app-main{display:flex!important;flex-direction:column!important;padding:0 11px 12px!important;gap:0!important;overflow:hidden!important;scrollbar-gutter:auto!important}
body.hl-after-sales-layout .hl-after-sales-host{position:relative!important;flex:1 1 auto!important;width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;overflow:visible!important;background:#f1f4f8!important}
body.hl-after-sales-layout .hl-after-sales-app{position:relative!important;inset:auto!important;width:100%;height:100%;min-width:0!important;min-height:0;overflow:visible!important;background:#f1f4f8!important;box-sizing:border-box}
body.hl-after-sales-layout .hl-as-topline{width:calc(100% + 22px);height:72px!important;flex:0 0 72px!important;margin:0 -11px;padding:0 14px!important;gap:8px;justify-content:flex-start;box-sizing:border-box;border:0;border-bottom:20px solid #f1f4f8;background:#fff;font-size:13px;color:#536070!important}
body.hl-after-sales-layout .hl-as-topline b{font-size:13px;color:#24344e}
body.hl-after-sales-layout .hl-as-topline small{font-size:12px;color:#7b889a}
body.hl-after-sales-layout .hl-as-topline time{font-variant-numeric:tabular-nums;color:#637083;white-space:nowrap}
body.hl-after-sales-layout .hl-as-workspace{flex:1 1 auto;min-height:0;min-width:0;width:100%;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:auto;box-sizing:border-box}
body.hl-after-sales-layout .hl-as-workspace:focus-visible{outline:1px solid #409eff;outline-offset:-1px}
body.hl-after-sales-layout .hl-as-grid{height:100%;min-height:360px;min-width:1296px;grid-template-columns:minmax(400px,27%) minmax(540px,1fr) minmax(340px,22%)!important;gap:0!important;background:#f1f4f8!important;box-sizing:border-box}
body.hl-after-sales-layout .hl-as-left{padding:0 16px 0 0!important;background:#f1f4f8!important;overflow:hidden!important;border:0}
body.hl-after-sales-layout .hl-as-left-head{height:auto!important;min-height:38px;flex:0 0 auto;gap:8px;padding:0;background:transparent;border:0}
body.hl-after-sales-layout .hl-as-left-head h2{font-size:15px;line-height:22px;white-space:normal}
body.hl-after-sales-layout .hl-as-left-head small{font-size:12px}
body.hl-after-sales-layout .hl-as-left-head button{height:28px;padding:0 10px;font-size:12px;flex:0 0 auto}
body.hl-after-sales-layout .hl-as-search-row{height:34px;min-height:34px;flex:0 0 34px;grid-template-columns:84px minmax(0,1fr) 60px!important;margin:0 0 9px;padding:0}
body.hl-after-sales-layout .hl-as-search-row input,body.hl-after-sales-layout .hl-as-search-row select{min-width:0!important;height:34px;box-sizing:border-box;font-size:12px}
body.hl-after-sales-layout .hl-as-search-row button{background:#009bfa;font-size:12px}
body.hl-after-sales-layout .hl-as-tabs{flex:0 0 34px;height:34px;padding:0;font-size:12px;background:transparent}
body.hl-after-sales-layout .hl-as-date-row{flex:0 0 32px;height:32px;margin:9px 0 12px;padding:0;background:transparent}
body.hl-after-sales-layout .hl-as-list{min-height:0;overflow:auto;padding:0;overscroll-behavior:contain}
body.hl-after-sales-layout .hl-as-card{box-sizing:border-box;margin:0 0 14px;border-width:2px;border-color:#e0e5ed}
body.hl-after-sales-layout .hl-as-card.selected{border-color:#0091ff}
body.hl-after-sales-layout .hl-as-center{border:1px solid #e2e7ed!important;border-right:0!important;border-radius:6px 0 0 6px;min-height:0;overflow:hidden;box-sizing:border-box}
body.hl-after-sales-layout .hl-as-chat-title{height:48px;flex:0 0 48px;font-size:14px}
body.hl-after-sales-layout .hl-as-history{min-height:0!important;overflow:auto;overscroll-behavior:contain;padding:14px 18px 20px}
body.hl-after-sales-layout .hl-as-right{position:relative;border:1px solid #e2e7ed!important;border-left:1px solid #d5dde7!important;box-shadow:inset 1px 0 #f1f4f8;border-radius:0 6px 6px 0;padding:0 12px 18px;overflow:auto;overscroll-behavior:contain;box-sizing:border-box}
body.hl-after-sales-layout .hl-as-right>h2{height:48px;box-sizing:border-box;font-size:14px;padding:0 12px}
body.hl-after-sales-layout .hl-as-right section{padding:0;margin:12px 0 24px;border:0}
body.hl-after-sales-layout .hl-as-right section h3{font-size:13px;font-weight:600;height:34px;padding:8px 12px;margin:0 0 12px;background:#f5f5f5;box-sizing:border-box}
body.hl-after-sales-layout .hl-as-kv,body.hl-after-sales-layout .hl-as-product-detail{padding:0 12px;font-size:12px;line-height:1.65}
body.hl-after-sales-layout .hl-as-product-detail{gap:10px}
body.hl-after-sales-layout .hl-as-product-detail>img,body.hl-after-sales-layout .hl-as-noimg{width:58px;height:58px;flex:0 0 58px}
body.hl-after-sales-layout .hl-as-msg.mine{margin-left:auto!important;margin-right:0!important}
body.hl-after-sales-layout .hl-as-msg.mine time{text-align:right}
body.hl-after-sales-layout .hl-as-warning{height:auto;min-height:26px;flex:0 0 auto;padding:6px 12px;white-space:normal;line-height:16px;box-sizing:border-box}
body.hl-after-sales-layout .hl-as-composer{height:clamp(160px,19vh,220px)!important;flex:0 0 clamp(160px,19vh,220px)!important}
body.hl-after-sales-layout .hl-as-compose-source textarea,body.hl-after-sales-layout .hl-as-compose-target textarea{min-height:0!important}
body.hl-after-sales-layout .hl-as-tools{height:auto!important;min-height:39px;flex:0 0 auto;flex-wrap:wrap;padding:4px 8px;gap:6px!important;font-size:12px}
body.hl-after-sales-layout .hl-as-tool-primary{padding:6px 9px}
body.hl-after-sales-layout .hl-as-send-main{padding:0 10px}
body.hl-after-sales-layout .hl-as-target-tools .hl-as-ignore{padding:0 8px}
body.hl-after-sales-layout .hl-as-outgoing-attachments{max-height:58px!important}
body.hl-after-sales-layout .hl-as-count-row{height:22px!important;min-height:22px!important;flex:0 0 22px!important}
body.hl-after-sales-layout .hl-as-send-menu{top:auto;bottom:35px}
body.hl-after-sales-layout .hl-as-quick-pop:not([hidden]){display:flex;flex-direction:column;box-sizing:border-box}
body.hl-after-sales-layout .hl-as-quick-search,body.hl-after-sales-layout .hl-as-quick-create{flex-shrink:0}
body.hl-after-sales-layout .hl-as-quick-list{min-height:0;flex:1 1 auto;overflow:auto}
body.hl-after-sales-layout .hl-as-send-option::after{left:auto;right:calc(100% + 9px)}
body.hl-after-sales-layout .hl-as-send-option::before{left:auto;right:calc(100% + 4px);transform:translateY(-50%) rotate(225deg)}
body.hl-after-sales-layout .hl-as-workspace::-webkit-scrollbar{height:18px;width:10px}
body.hl-after-sales-layout .hl-as-list::-webkit-scrollbar,body.hl-after-sales-layout .hl-as-history::-webkit-scrollbar,body.hl-after-sales-layout .hl-as-right::-webkit-scrollbar{width:8px;height:8px}
body.hl-after-sales-layout .hl-as-workspace::-webkit-scrollbar-track,body.hl-after-sales-layout .hl-as-list::-webkit-scrollbar-track,body.hl-after-sales-layout .hl-as-history::-webkit-scrollbar-track,body.hl-after-sales-layout .hl-as-right::-webkit-scrollbar-track{background:#f5f7f9}
body.hl-after-sales-layout .hl-as-workspace::-webkit-scrollbar-thumb,body.hl-after-sales-layout .hl-as-list::-webkit-scrollbar-thumb,body.hl-after-sales-layout .hl-as-history::-webkit-scrollbar-thumb,body.hl-after-sales-layout .hl-as-right::-webkit-scrollbar-thumb{background:#c8d0d8;border:2px solid #f5f7f9;border-radius:6px}
body.hl-after-sales-layout .hl-as-workspace::-webkit-scrollbar-thumb:hover,body.hl-after-sales-layout .hl-as-list::-webkit-scrollbar-thumb:hover,body.hl-after-sales-layout .hl-as-history::-webkit-scrollbar-thumb:hover,body.hl-after-sales-layout .hl-as-right::-webkit-scrollbar-thumb:hover{background:#aab6c1}
body.hl-after-sales-layout>#hl-fixed-hscroll,body.hl-after-sales-layout>#hl-management-fixed-hscroll-v021,body.hl-after-sales-layout>#hl-management-top-guard-v021{display:none!important}
/* 列表与导出共用双日历，日期弹层挂到 body，不撑高或被三栏裁切。 */
body.hl-after-sales-layout .hl-as-date-row{display:block!important}
body.hl-after-sales-layout .hl-as-date-row>input, .hl-as-export-dates>input{display:none!important}
body.hl-after-sales-layout .hl-as-date-row .cost-date-control{width:100%;height:32px}
body.hl-after-sales-layout .hl-as-date-row .cost-date-trigger{font-size:12px!important}
.hl-as-date-popup{z-index:2147483642!important;max-height:calc(100vh - 16px);overflow:auto}
.hl-as-date-popup .cost-date-panel-head>span{display:flex;min-width:48px}
.hl-as-date-popup .cost-date-panel-head>span:last-child{justify-content:flex-end}
.hl-as-date-popup .cost-date-panel-head button{width:22px;min-width:22px;padding:0}
.hl-as-date-popup .cost-date-panel-head strong{font-size:15px;white-space:nowrap}
.hl-as-date-popup.is-days .cost-date-cell:disabled>span{width:100%;height:26px;border-radius:0}
.hl-as-date-popup.is-days .cost-date-cell.is-today>span{color:#409eff}
.hl-as-export-layer{position:fixed;inset:0;z-index:2147483640;display:flex;align-items:center;justify-content:center;padding:16px;box-sizing:border-box;background:rgba(0,0,0,.5);font:13px/1.5 "Microsoft YaHei",Arial,sans-serif;color:#606266}
.hl-as-export-card{width:500px;max-width:100%;max-height:calc(100vh - 32px);overflow:auto;box-sizing:border-box;background:#fff;border:1px solid #e4e7ed;border-radius:7px;box-shadow:0 3px 12px #0002}
.hl-as-export-card>header{display:flex;align-items:center;justify-content:space-between;height:56px;padding:0 22px;border-bottom:1px solid #dcdfe6;box-sizing:border-box}
.hl-as-export-card h2{margin:0;font-size:16px;color:#303133;font-weight:600}
.hl-as-export-card header button{border:0;background:transparent;color:#606266;font:25px Arial;cursor:pointer;padding:0;width:24px;height:28px}
.hl-as-export-body{padding:38px 20px}
.hl-as-export-range{display:flex;align-items:center;gap:5px}
.hl-as-export-range label{white-space:nowrap;font-size:12px}
.hl-as-export-range select{flex:0 0 100px;width:100px;height:32px;box-sizing:border-box;border:1px solid #dcdfe6;border-radius:4px;padding:0 8px;background:#fff;font:12px "Microsoft YaHei",sans-serif;color:#606266;outline:none}
.hl-as-export-range select:focus{border-color:#409eff}
.hl-as-export-dates{flex:1 1 auto;min-width:0}
.hl-as-export-dates .cost-date-trigger{font-size:12px;padding:0 8px!important;gap:5px}
.hl-as-export-dates .cost-date-control{width:100%}
.hl-as-export-card footer{display:flex;justify-content:flex-end;margin-top:26px}
.hl-as-export-card footer[hidden]{display:none}
.hl-as-export-card [data-export-submit]{height:32px;min-width:74px;padding:0 16px;border:1px solid #009bfa;border-radius:3px;background:#009bfa;color:#fff;font:13px "Microsoft YaHei",sans-serif;cursor:pointer}
.hl-as-export-card [data-export-submit]:hover{background:#168fee}
.hl-as-export-card button:disabled{opacity:.55;cursor:not-allowed}
.hl-as-export-error{margin:14px 0 0;color:#f56c6c;font-size:12px}
@media(max-width:550px){.hl-as-export-range{flex-wrap:wrap}.hl-as-export-range label{flex-basis:100%;margin-bottom:6px}.hl-as-export-dates{min-width:200px}.hl-as-date-popup .cost-date-pane{padding:10px 8px}.hl-as-date-popup .cost-date-panel-head strong{font-size:13px}.hl-as-date-popup .cost-date-panel-head>span{min-width:36px}.hl-as-date-popup .cost-date-panel-head button{width:18px;min-width:18px}}
