.hlbi-unified-top-notice{position:fixed;left:50%;top:72px;transform:translateX(-50%);z-index:10020;padding:10px 18px;border-radius:8px;background:#1f78ff;color:#fff;font-size:13px;box-shadow:0 8px 24px rgba(31,120,255,.2)}
.hlbi-unified-top-notice.error{background:#ff4d4f}.hlbi-unified-top-notice.warn{background:#faad14}.hlbi-unified-top-notice.success{background:#18a058}
.hl-pre-host{padding:0!important;background:#f5f7fa!important}
.hl-pre-app{color:#24324b;font-size:13px}
.hl-pre-clock-line{height:40px;line-height:40px;padding:0 14px;color:#5d6676;background:#fff;border-bottom:1px solid #edf0f5}
.hl-pre-panel{margin:14px;background:#fff;min-height:640px;border:1px solid #eef1f5}
.hl-pre-panel-head{display:flex;align-items:center;justify-content:space-between;padding:14px 12px 10px;border-bottom:1px solid #edf0f5}
.hl-pre-panel-head.only-title{justify-content:flex-start}
.hl-pre-panel-head h2{margin:0;font-size:30px;font-weight:700;color:#202939}
.hl-pre-panel-head h2 small{font-size:12px;color:#8e98aa;font-weight:400}
.hl-pre-actions,.hl-pre-toolbar-right,.hl-pre-toolbar-left,.hl-pre-detail-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.hl-pre-btn{height:32px;padding:0 14px;border-radius:4px;border:1px solid #d7deea;background:#fff;color:#3860a8;cursor:pointer;font-size:13px}
.hl-pre-btn.primary,.hl-pre-btn.blue{background:#1790ff;color:#fff;border-color:#1790ff}
.hl-pre-btn.yellow{background:#ffb84d;color:#fff;border-color:#ffb84d}
.hl-pre-btn.red{background:#fff;color:#ff6161;border-color:#ff7d7d}.hl-pre-btn.red.is-active{background:#ff6161;color:#fff}
.hl-pre-btn.outline{background:#f7fbff;color:#5b8ff9;border-color:#c9dafd}
.hl-pre-btn.export{background:#fff;color:#666}
.hl-pre-empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:520px;color:#5d6676}
.hl-pre-empty-state h3{margin:22px 0 8px;font-size:28px;color:#2c3340}
.hl-pre-empty-state p{margin:0;color:#9aa3b0}
.hl-pre-empty-hero{position:relative;width:170px;height:120px}
.hl-pre-empty-hero .bubble{position:absolute;left:24px;top:4px;width:116px;height:82px;background:linear-gradient(180deg,#1cb4ff,#1488ff);border-radius:44px}
.hl-pre-empty-hero .bubble:after{content:"";position:absolute;right:8px;bottom:-10px;width:18px;height:18px;background:#1488ff;transform:rotate(45deg);border-radius:2px}
.hl-pre-empty-hero .bubble span{position:absolute;top:34px;width:14px;height:14px;border-radius:50%;background:#e8eef8}
.hl-pre-empty-hero .bubble span:nth-child(1){left:34px}.hl-pre-empty-hero .bubble span:nth-child(2){left:56px}.hl-pre-empty-hero .bubble span:nth-child(3){left:78px}
.hl-pre-empty-hero .buddy{position:absolute;right:12px;bottom:14px;width:32px;height:42px;background:linear-gradient(180deg,#0f92ff,#2c66d8);border-radius:16px 16px 12px 12px;box-shadow:inset 0 -10px 0 #fff}.hl-pre-empty-hero .buddy:before,.hl-pre-empty-hero .buddy:after{content:"";position:absolute;top:14px;width:4px;height:4px;border-radius:50%;background:#fff}.hl-pre-empty-hero .buddy:before{left:9px}.hl-pre-empty-hero .buddy:after{right:9px}
.hl-pre-empty-box{position:relative;display:inline-block;width:84px;height:64px}.hl-pre-empty-box i{position:absolute;left:18px;top:18px;width:48px;height:34px;background:linear-gradient(180deg,#7bc1ff,#d7edff);border-radius:4px 4px 8px 8px;transform:skewY(-8deg)}.hl-pre-empty-box b{position:absolute;left:48px;top:7px;width:18px;height:10px;background:#f5bd7a;transform:rotate(28deg);border-radius:2px}
.hl-pre-empty-cell{padding:44px 0!important;text-align:center;color:#8a93a3;background:#fff}
.hl-pre-empty-mix{margin-top:12px}
.hl-pre-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:12px 12px 10px}
.hl-pre-select,.hl-pre-inline-select{height:32px;border:1px solid #d9dfeb;border-radius:4px;background:#fff;padding:0 10px;color:#5a6578}
.hl-pre-range{display:flex;align-items:center;gap:8px;height:32px;padding:0 10px;border:1px solid #d9dfeb;border-radius:4px;background:#fff;color:#7a8496}.hl-pre-range input{border:0;outline:none;background:transparent;color:#7a8496}.hl-pre-range.compact{padding:0 8px}
.hl-pre-search{display:flex;align-items:center;height:32px;border:1px solid #d9dfeb;border-radius:4px;overflow:hidden;background:#fff}.hl-pre-search input{width:240px;border:0;outline:none;padding:0 10px;height:30px}.hl-pre-search button{height:32px;padding:0 16px;border:0;background:#1890ff;color:#fff;cursor:pointer}.hl-pre-search.compact input{width:180px}
.hl-pre-table-wrap{padding:0 12px 12px}.hl-pre-table-wrap.detail{max-height:400px;overflow:auto}
.hl-pre-table{width:100%;border-collapse:collapse;table-layout:fixed;background:#fff}.hl-pre-table th,.hl-pre-table td{border:1px solid #edf0f5;padding:10px 8px;vertical-align:top;word-break:break-word}.hl-pre-table th{background:#fff;font-weight:700;color:#2f3645}.hl-pre-table td.img,.hl-pre-table th.img{width:66px;text-align:center}.hl-pre-table td.img img{width:42px;height:42px;object-fit:cover;border-radius:4px;border:1px solid #eef1f5}
.hl-pre-table.history th:nth-child(1){width:66px}.hl-pre-table.history th:nth-child(2){width:280px}.hl-pre-table.history th:nth-child(3){width:160px}.hl-pre-table.history th:nth-child(4){width:150px}.hl-pre-table.history th:nth-child(5){width:120px}.hl-pre-table.history th:nth-child(7){width:150px}
.hl-pre-table.detail th:nth-child(1){width:60px}.hl-pre-table.detail th:nth-child(2){width:100px}.hl-pre-table.detail th:nth-child(3){width:300px}.hl-pre-table.detail th:nth-child(4){width:270px}.hl-pre-table.detail th:nth-child(5){width:110px}.hl-pre-table.detail th:nth-child(6){width:120px}.hl-pre-table.detail th:nth-child(7){width:110px}.hl-pre-table.detail th:nth-child(8){width:90px}.hl-pre-table.detail th:nth-child(9){width:130px}.hl-pre-table.detail th:nth-child(10){width:140px}
.hl-pre-title{font-weight:600;color:#1890ff;line-height:1.4}.hl-pre-title.link{cursor:pointer}.hl-pre-sub{margin-top:3px;color:#7e8797}.hl-pre-msg{line-height:1.55;color:#303846}.hl-pre-msg.zh{margin-top:4px;color:#6d7687}
.hl-pre-status{display:inline-flex;align-items:center;justify-content:center;min-width:52px;padding:2px 8px;border-radius:12px;font-size:12px}.hl-pre-status.ok{color:#33aa44}.hl-pre-status.pending{background:#fff7e8;color:#fa8c16;border:1px solid #ffd591}
.hl-pre-tag{display:inline-block;margin:2px 4px 2px 0;padding:2px 8px;border-radius:10px;background:#f3f6fb;color:#60708c;font-size:12px}
.hl-pre-count-link,.hl-pre-link-btn{color:#2491ff;text-decoration:none;background:none;border:0;cursor:pointer;padding:0}.hl-pre-link-btn{font-size:13px}
.hl-pre-footer{display:flex;align-items:center;justify-content:space-between;padding:2px 12px 16px;color:#717b8f}.hl-pre-pager{display:flex;align-items:center;gap:8px}.hl-pre-pager button{min-width:26px;height:26px;border:1px solid #d9dfeb;background:#fff;border-radius:3px;color:#667281}.hl-pre-pager button.active{background:#1890ff;border-color:#1890ff;color:#fff}.hl-pre-pager input{width:34px;height:24px;border:1px solid #d9dfeb;border-radius:3px;text-align:center}
.hl-pre-modal-mask{position:fixed;inset:0;background:rgba(0,0,0,.35);z-index:10000;display:flex;align-items:center;justify-content:center;padding:20px}.hl-pre-modal{width:min(1540px,92vw);max-height:90vh;background:#fff;border-radius:8px;overflow:hidden;box-shadow:0 18px 44px rgba(0,0,0,.18)}
.hl-pre-modal-head{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;border-bottom:1px solid #edf0f5;font-size:22px}.hl-pre-modal-head button{border:0;background:none;font-size:32px;cursor:pointer;color:#333}
.hl-pre-modal-body{padding:0 16px 16px}.hl-pre-detail-top{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:18px 0 10px;border-bottom:1px solid #edf0f5}.hl-pre-product-card{display:flex;gap:12px;min-width:520px}.hl-pre-product-card img{width:62px;height:62px;object-fit:cover;border-radius:4px;border:1px solid #eef1f5}.hl-pre-product-title{font-size:28px;line-height:1.35;color:#2491ff;font-weight:700;margin-bottom:8px}
.hl-pre-detail-tabs{display:flex;gap:10px;padding:16px 0 12px}.hl-pre-detail-tabs button{height:34px;padding:0 14px;border:1px solid #d9dfeb;background:#fff;border-radius:4px;color:#6b7690;cursor:pointer}.hl-pre-detail-tabs button.active{background:#1890ff;border-color:#1890ff;color:#fff}
.hl-pre-detail-toolbar{display:flex;align-items:center;justify-content:space-between;padding:0 0 10px}
.hl-pre-error{padding:48px 20px;color:#ff4d4f}
.sort{font-size:10px;color:#8aa0c8}
@media (max-width: 1280px){.hl-pre-product-title,.hl-pre-panel-head h2{font-size:22px}.hl-pre-detail-top{flex-direction:column}.hl-pre-product-card{min-width:0}.hl-pre-search input{width:180px}}

/* Old-BI workspace proportions for the three pre-sale message pages. */
.hl-pre-app{color:#606266;font-size:12px}
.hl-pre-clock-line{height:42px;line-height:42px;padding:0;color:#606266;border-bottom:0}
.hl-pre-panel{margin:12px 0 0;min-height:680px;border:1px solid #ebeef5}
.hl-pre-panel-head{height:48px;padding:0 12px}.hl-pre-panel-head h2{font-size:16px;color:#222}
.hl-pre-toolbar{min-height:62px;padding:10px 12px}.hl-pre-btn,.hl-pre-select,.hl-pre-range,.hl-pre-search{height:32px;font-size:12px}.hl-pre-search input,.hl-pre-search button{height:30px;font-size:12px}
.hl-pre-table th{height:60px;padding:8px;color:#222;font-size:13px;font-weight:700;background:#fff}.hl-pre-table td{color:#606266;font-size:12px}.hl-pre-table.history td{height:102px}.hl-pre-link-btn{font-size:12px}.hl-pre-footer{min-height:50px;font-size:12px}
.hl-pre-pending-workspace{min-height:calc(100vh - 86px);background:#f5f7fa}
.hl-pre-pending-workspace>.hl-pre-empty-state{min-height:calc(100vh - 86px)}
.hl-pre-empty-state h3{margin:18px 0 6px;color:#303133;font-size:14px;font-weight:400}.hl-pre-empty-state p{font-size:12px;color:#909399}
.hl-pre-inquiry-layout{display:grid;grid-template-columns:320px minmax(460px,1fr) 300px;height:calc(100vh - 86px);min-height:620px;background:#fff;border:1px solid #ebeef5}
.hl-pre-inquiry-list,.hl-pre-handle,.hl-pre-customer-list{min-width:0;overflow:auto}.hl-pre-inquiry-list,.hl-pre-handle{border-right:1px solid #ebeef5}
.hl-pre-inquiry-list>header,.hl-pre-handle>header,.hl-pre-customer-list>header{position:sticky;top:0;z-index:2;height:48px;padding:0 12px;display:flex;align-items:center;justify-content:space-between;background:#fff;border-bottom:1px solid #ebeef5;color:#222;font-size:13px;font-weight:700}
.hl-pre-inquiry-list>header button{height:28px;padding:0 10px;border:1px solid #409eff;background:#409eff;color:#fff;border-radius:3px;font-size:12px}.hl-pre-inquiry-search{display:flex;margin:10px}.hl-pre-inquiry-search input{min-width:0;flex:1;height:30px;padding:0 8px;border:1px solid #dcdfe6}.hl-pre-inquiry-search button{height:30px;border:0;background:#409eff;color:#fff}
.hl-pre-inquiry-item{position:relative;width:100%;min-height:92px;padding:10px;display:flex;gap:9px;border:0;border-top:1px solid #f0f2f5;background:#fff;text-align:left;color:#606266}.hl-pre-inquiry-item.active{background:#ecf5ff}.hl-pre-inquiry-item img{width:52px;height:52px;object-fit:cover;border:1px solid #ebeef5}.hl-pre-inquiry-item span{min-width:0;display:flex;flex-direction:column}.hl-pre-inquiry-item span b{overflow:hidden;color:#409eff;font-weight:400;white-space:nowrap;text-overflow:ellipsis}.hl-pre-inquiry-item small{margin-top:3px;color:#909399}.hl-pre-inquiry-item em{position:absolute;right:8px;bottom:6px;color:#c0c4cc;font-size:10px;font-style:normal}.hl-pre-inquiry-list>footer{padding:12px;border-top:1px solid #ebeef5;color:#409eff}
.hl-pre-product-summary{display:flex;gap:10px;padding:12px;border-bottom:1px solid #ebeef5}.hl-pre-product-summary img{width:58px;height:58px;object-fit:cover}.hl-pre-product-summary>div{display:flex;flex-direction:column}.hl-pre-product-summary b{color:#409eff;font-weight:400}.hl-pre-product-summary small{margin-top:5px;color:#909399}.hl-pre-question{max-width:75%;margin:22px;padding:12px 15px;border-radius:4px;background:#f2f6fc;color:#606266}.hl-pre-question b{color:#303133}.hl-pre-question p{margin:8px 0}.hl-pre-question p.zh{color:#909399}.hl-pre-question time{font-size:10px;color:#c0c4cc}
.hl-pre-composer{position:sticky;bottom:0;margin-top:120px;padding:12px;border-top:1px solid #ebeef5;background:#fff}.hl-pre-composer textarea{width:100%;height:100px;padding:9px;border:1px solid #dcdfe6;resize:vertical}.hl-pre-composer>div{display:flex;align-items:center;justify-content:space-between;margin-top:8px;color:#909399}.hl-pre-composer button{height:32px;padding:0 18px;border:0;border-radius:3px;background:#409eff;color:#fff}
.hl-pre-customer-list>button{width:100%;min-height:76px;padding:10px 12px;display:flex;flex-direction:column;border:0;border-bottom:1px solid #ebeef5;background:#fff;text-align:left}.hl-pre-customer-list>button b{color:#303133}.hl-pre-customer-list>button span{margin-top:5px;overflow:hidden;color:#606266;white-space:nowrap;text-overflow:ellipsis}.hl-pre-customer-list>button time{margin-top:4px;color:#c0c4cc;font-size:10px}
.hl-pre-tag-modal{width:620px;max-width:90vw;background:#fff;border-radius:5px}.hl-pre-tag-body{min-height:190px;padding:18px}.hl-pre-tag-body>label{display:grid;grid-template-columns:100px 1fr;align-items:center;margin-bottom:14px}.hl-pre-tag-body input:not([type="color"]){height:34px;padding:0 9px;border:1px solid #dcdfe6}.hl-pre-tag-body input[type="color"]{width:60px;height:34px;border:1px solid #dcdfe6}.hl-pre-tag-list{margin-bottom:12px;border-top:1px solid #ebeef5}.hl-pre-tag-list>div{height:46px;display:grid;grid-template-columns:18px 1fr 145px 45px 45px;align-items:center;border-bottom:1px solid #ebeef5}.hl-pre-tag-list i{width:12px;height:12px;border-radius:50%}.hl-pre-tag-list small{color:#909399}.hl-pre-tag-list button{border:0;background:none;color:#409eff}.hl-pre-tag-list button.danger{color:#f56c6c}.hl-pre-tag-footer{height:56px;padding:0 16px;display:flex;align-items:center;justify-content:flex-end;gap:8px;border-top:1px solid #ebeef5}
.hl-pre-confirm-modal{width:430px;max-width:92vw;background:#fff;border-radius:5px;box-shadow:0 18px 44px rgba(0,0,0,.18)}.hl-pre-confirm-body{min-height:92px;padding:28px 22px;color:#606266;font-size:13px}.hl-pre-confirm-modal .hl-pre-btn.danger{border-color:#f56c6c;background:#f56c6c;color:#fff}
@media(max-width:1280px){.hl-pre-inquiry-layout{grid-template-columns:280px minmax(420px,1fr) 260px}}
.hl-pre-copy{padding:0 2px;border:0;background:none;color:#409eff;font-size:12px;cursor:pointer}

/* Pending questions: real sync status, grouped listing and per-question editor. */
.hl-pre-pending-toolbar{display:flex;align-items:center;gap:12px;background:#fff;padding:8px 12px;flex-wrap:wrap}
.hl-pre-pending-toolbar .hl-pre-inquiry-search{margin:0;flex:1;max-width:480px}
.hl-pre-sync-status{padding:8px 12px;color:#52766a;background:#f0f9f5;line-height:1.6;overflow-wrap:anywhere}
.hl-pre-sync-status.is-warning{color:#895b1a;background:#fff8e8}
.hl-pre-sync-status small{display:block;color:#777}
.hl-pre-app[data-route="pre-reply"] button{cursor:pointer}
.hl-pre-app[data-route="pre-reply"] button:disabled{opacity:.55;cursor:wait}
.hl-pre-inquiry-layout{grid-template-columns:minmax(220px,26%) minmax(330px,1fr) minmax(200px,23%);height:calc(100vh - 235px);min-height:520px}
.hl-pre-pending-workspace{min-height:0}
.hl-pre-pending-workspace>.hl-pre-empty-state{min-height:calc(100vh - 240px)}
.hl-pre-inquiry-item span b{white-space:normal;line-height:1.5}
.hl-pre-inquiry-item small{overflow-wrap:anywhere}
.hl-pre-handle{display:flex;flex-direction:column}
.hl-pre-handle>header{flex-shrink:0;height:auto;min-height:48px;overflow-wrap:anywhere}
.hl-pre-product-summary>div{min-width:0;overflow-wrap:anywhere}
.hl-pre-question{max-width:100%;margin:16px;overflow-wrap:anywhere;white-space:pre-wrap}
.hl-pre-question time{display:block;margin-top:10px;color:#7b8592}
.hl-pre-composer{margin-top:auto;position:static}
.hl-pre-composer textarea{box-sizing:border-box;height:86px;font:inherit}
.hl-pre-composer>div{gap:12px}
.hl-pre-composer select{width:100%;margin:8px 0;padding:6px;border:1px solid #dcdfe6}
.hl-pre-customer-list>button.active{background:#ecf5ff}
.hl-pre-store{display:block!important;margin:5px 0;color:#606266}
@media(max-width:1000px){.hl-pre-inquiry-layout{grid-template-columns:minmax(180px,30%) minmax(280px,1fr)}.hl-pre-customer-list{grid-column:1/-1;max-height:200px}.hl-pre-inquiry-layout{height:auto}.hl-pre-handle{max-height:800px}.hl-pre-inquiry-list{max-height:800px}}
@media(max-width:640px){.hl-pre-inquiry-layout{display:flex;flex-direction:column}.hl-pre-inquiry-list{max-height:260px}.hl-pre-pending-toolbar .hl-pre-inquiry-search{min-width:220px}}

/* Same workspace/independent scroll/dual-column composer structure as after-sales.
   Scoped to pre-reply: no changes to after-sales, historical inquiries or the menu theme. */
body.hl-presale-layout .app-main{display:flex!important;flex-direction:column!important;padding:0 12px 12px!important;gap:0!important;overflow:hidden!important;min-height:0;scrollbar-gutter:auto!important;background:#f1f4f8!important}
body.hl-presale-layout .hl-pre-app{display:flex;flex:1 1 auto;flex-direction:column;min-height:0;min-width:0;height:100%;width:100%;background:#f1f4f8;font-size:12px;box-sizing:border-box}
body.hl-presale-layout .hl-pre-clock-line{height:72px;flex:0 0 72px;box-sizing:border-box;display:flex;align-items:center;gap:6px;width:calc(100% + 24px);margin:0 -12px;padding:0 14px;border:0;border-bottom:20px solid #f1f4f8;background:#fff;font-size:13px;color:#606266;line-height:normal}
body.hl-presale-layout .hl-pre-clock-line small{font-size:12px;color:#909399}
body.hl-presale-layout .hl-pre-clock-line time{font-variant-numeric:tabular-nums;white-space:nowrap;color:#7c838c}
body.hl-presale-layout .hl-pre-pending-workspace{flex:1 1 auto;min-height:0;min-width:0;width:100%;overflow:auto;overscroll-behavior:contain;box-sizing:border-box;background:#f1f4f8}
body.hl-presale-layout .hl-pre-inquiry-layout{display:grid;height:100%;min-height:420px;min-width:1160px;grid-template-columns:minmax(320px,22%) minmax(480px,1fr) minmax(300px,28%);gap:0;border:0;background:#f1f4f8;box-sizing:border-box}
body.hl-presale-layout .hl-pre-inquiry-list{display:flex;flex-direction:column;min-height:0;max-height:none;padding:0 22px 0 0;border:0;overflow:hidden;background:#f1f4f8}
body.hl-presale-layout .hl-pre-inquiry-list>header{position:static;min-height:34px;height:34px;flex:0 0 34px;padding:0;border:0;background:transparent;gap:8px}
body.hl-presale-layout .hl-pre-inquiry-list h2{display:flex;align-items:center;gap:4px;margin:0;font-size:14px;font-weight:600;color:#333}
body.hl-presale-layout .hl-pre-inquiry-list .hl-pre-sync-link{padding:0 4px;height:26px;border:0;background:transparent;color:#009bfa;font-size:12px;font-weight:400}
.hl-pre-list-controls{display:flex;gap:12px;flex:0 0 auto;margin:4px 0 18px;min-width:0}
.hl-pre-list-controls .hl-pre-wechat{flex-shrink:0;display:flex;align-items:center;justify-content:center;height:36px;padding:0 10px;border-radius:3px;text-decoration:none;background:#67c23a;color:#fff;white-space:nowrap;font-size:12px}
.hl-pre-list-controls .hl-pre-inquiry-search{display:flex;flex:1 1 auto;min-width:0;margin:0;height:36px}
.hl-pre-list-controls .hl-pre-inquiry-search input{box-sizing:border-box;width:0;min-width:0;flex:1 1 auto;height:36px;border-radius:3px 0 0 3px;border:1px solid #dcdfe6;border-right:0;background:#fff;font:inherit;color:#606266}
.hl-pre-list-controls .hl-pre-inquiry-search button{flex:0 0 58px;height:36px;border-radius:0 3px 3px 0;background:#009bfa;color:#fff;font-size:12px}
.hl-pre-product-list{flex:1 1 auto;min-height:0;overflow:auto;overscroll-behavior:contain}
body.hl-presale-layout .hl-pre-product-card{display:block;min-width:0;width:100%;position:relative;margin:0 0 14px;border:2px solid #dce3eb;border-radius:8px;overflow:hidden;background:#fff;box-sizing:border-box;color:#606266}
body.hl-presale-layout .hl-pre-product-card.active{border-color:#009bfa;background:#f7fcff}
.hl-pre-product-select{position:absolute;inset:0;width:100%;height:100%;z-index:1;background:none;border:0;border-radius:6px}
.hl-pre-product-select:focus-visible{outline:2px solid #1688e8;outline-offset:-4px}
.hl-pre-card-head{display:flex;align-items:flex-start;gap:10px;padding:16px 20px 12px 14px;border-bottom:1px solid #e7ebf0;pointer-events:none}
.hl-pre-card-head>img{position:relative;z-index:2;pointer-events:auto;width:48px;height:48px;object-fit:contain;background:#fff;border:1px solid #ebeef5;border-radius:3px}
.hl-pre-card-head>div{min-width:0;flex:1}
.hl-pre-card-head b{display:block;color:#009bfa;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:600;line-height:20px}
.hl-pre-card-head small{display:block;margin-top:3px;color:#9da4ad;line-height:18px}
.hl-pre-card-subline{display:flex;align-items:baseline;justify-content:space-between;gap:4px 8px;flex-wrap:wrap}
.hl-pre-card-subline>small{flex:1;min-width:36px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hl-pre-card-price{position:relative;z-index:2;pointer-events:auto;display:inline-flex;flex-wrap:wrap;justify-content:flex-end;gap:0 3px;margin:3px 0 0 auto;color:#ff4d4f;font-size:12px;line-height:18px;font-weight:400;cursor:default}
.hl-pre-card-price>span{white-space:nowrap}
.hl-pre-card-body{padding:10px 16px 12px;line-height:21px;overflow-wrap:anywhere;pointer-events:none}
.hl-pre-card-body .hl-pre-store{margin:0 0 5px}
.hl-pre-card-body .hl-pre-copy{position:relative;z-index:2;pointer-events:auto;margin-left:4px;color:#6d7b8e}
.hl-pre-card-count{position:absolute;right:0;top:0;z-index:3;min-width:25px;height:25px;display:flex;align-items:center;justify-content:center;padding:0 3px;box-sizing:border-box;background:#ff4d5a;border-radius:0 5px 0 14px;color:#fff;font-size:11px;pointer-events:none}
.hl-pre-list-empty{padding:28px 12px;text-align:center;color:#9aa5b2;line-height:1.6}
.hl-pre-sync-compact{flex-shrink:0;font-size:11px;line-height:1.7;color:#6b7e76}
.hl-pre-sync-compact>button{display:flex;width:100%;align-items:center;justify-content:space-between;padding:8px 3px;border:0;background:transparent;color:inherit;font:inherit;text-align:left}
.hl-pre-sync-compact.is-warning{color:#a6752a}
.hl-pre-sync-compact>div{box-sizing:border-box;max-height:140px;overflow:auto;padding:8px 10px;border:1px solid #e5e9ef;border-radius:4px;background:#fff;overflow-wrap:anywhere}
.hl-pre-sync-compact>div[hidden]{display:none}.hl-pre-sync-compact p{margin:5px 0 0;color:#89929f}
body.hl-presale-layout .hl-pre-handle{display:flex;flex-direction:column;min-height:0;max-height:none;overflow:hidden;border:1px solid #e6eaf0;border-right:0;border-radius:8px 0 0 8px;background:#fff}
body.hl-presale-layout .hl-pre-handle>header{position:static;display:flex;align-items:center;justify-content:flex-start;gap:8px;min-height:48px;height:48px;flex:0 0 48px;padding:0 22px;box-sizing:border-box;background:#fff;border-bottom:1px solid #e7ebf0;font-weight:500;font-size:14px;color:#333;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.hl-presale-layout .hl-pre-handle>header>b{overflow:hidden;text-overflow:ellipsis}
.hl-pre-conversation{flex:1 1 auto;min-height:0;overflow:auto;padding:24px 22px;overscroll-behavior:contain;box-sizing:border-box}
.hl-pre-buyer-line{display:flex;align-items:center;gap:10px;margin-bottom:10px;color:#333;font-size:12px;overflow-wrap:anywhere}
.hl-pre-avatar{display:inline-flex;align-items:center;justify-content:center;flex:0 0 34px;width:34px;height:34px;border:1px solid #d7eefb;border-radius:50%;background:#fff;color:#00a0fa;box-sizing:border-box}
.hl-pre-avatar svg{width:18px;height:18px}
body.hl-presale-layout .hl-pre-question{box-sizing:border-box;width:min(520px,95%);max-width:100%;margin:0;padding:13px 14px;border:1px solid #edf0f5;border-radius:5px;background:#f5f7fa;font-size:12px;white-space:normal;color:#454a51}
.hl-pre-question-meta{display:flex;align-items:center;justify-content:space-between;gap:12px}
body.hl-presale-layout .hl-pre-question time{display:inline-block;margin:0;color:#999;font-size:11px}
body.hl-presale-layout .hl-pre-question p{margin:8px 0 0;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere}
body.hl-presale-layout .hl-pre-question p.zh{color:#666}
.hl-pre-question-actions{width:min(520px,95%);display:flex;align-items:center;justify-content:flex-end;gap:14px;padding-top:10px;color:#8a939f;font-size:11px}
.hl-pre-question-actions .hl-pre-btn{height:36px;background:#009bfa;border-color:#009bfa;min-width:68px}
.hl-pre-question-actions{gap:10px;flex-wrap:wrap}
.hl-pre-question-actions .hl-pre-btn.danger{background:#fff2f2;border-color:#f4bbbb;color:#ed6b70}
.hl-pre-question-actions .hl-pre-btn.outline{background:#ecf5ff;border-color:#b3d8ff;color:#409eff}
.hl-pre-ignore{display:inline-flex;align-items:center;gap:4px;padding:5px 0;border:0;background:transparent;color:#169eeb;font:inherit;font-size:12px;cursor:pointer}
.hl-pre-product-card.is-ignored .hl-pre-card-count{background:#99a6b5}
.hl-pre-ignore:disabled,.hl-pre-question-actions button:disabled{opacity:.5;cursor:not-allowed}
.hl-pre-local-handled{max-width:520px;line-height:1.6;color:#8d7439;font-size:12px}
.hl-pre-view-tabs{display:flex;gap:6px;margin-bottom:12px;flex:0 0 auto}
.hl-pre-view-tabs button{border:1px solid #dce4ed;border-radius:4px;padding:7px 9px;background:#fff;color:#7d8997;cursor:pointer;font:inherit;font-size:12px}
.hl-pre-view-tabs [aria-pressed=true]{border-color:#009bfa;color:#009bfa;background:#eef8ff}
.hl-pre-card-head a,.hl-pre-name-edit{position:relative;z-index:2;pointer-events:auto;color:inherit;text-decoration:none}
.hl-pre-card-head a:hover{text-decoration:underline}
.hl-pre-name-edit{border:0;padding:0 4px;background:transparent;cursor:pointer;color:#8e9bab}
.hl-pre-action-modal{width:min(560px,90vw);max-height:90vh;overflow:auto}
.hl-pre-action-modal .hl-pre-confirm-body{line-height:1.7}
.hl-pre-action-modal blockquote{margin:12px 0;padding:10px 12px;background:#f5f7fa;white-space:pre-wrap;overflow-wrap:anywhere}
.hl-pre-action-modal label{display:block;margin:12px 0}
.hl-pre-action-modal input,.hl-pre-action-modal select{box-sizing:border-box;width:100%;margin-top:5px;padding:8px;border:1px solid #dce4ed;border-radius:4px;font:inherit}
/* Only the pending-question delete confirmation follows the supplied BI warning. */
.hl-pre-delete-mask{background:rgba(0,0,0,.5);box-sizing:border-box}
.hl-pre-delete-modal{box-sizing:border-box;width:420px;max-width:100%;max-height:calc(100dvh - 40px);overflow:auto;border:1px solid #e4e7ed;border-radius:10px;background:#fff;box-shadow:0 2px 12px rgba(0,0,0,.3);color:#303133}
.hl-pre-delete-modal .hl-pre-modal-head{box-sizing:border-box;height:52px;padding:0 16px 0 24px;border-bottom:1px solid #dcdfe6;font-size:18px;line-height:1.4}
.hl-pre-delete-modal .hl-pre-modal-head button{width:28px;height:32px;padding:0;border:0;font:24px/1 Arial,sans-serif;color:#303133}
.hl-pre-delete-body{padding:42px 24px 30px}
.hl-pre-delete-message{display:flex;align-items:center;gap:10px}
.hl-pre-delete-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 24px;width:24px;height:24px;border-radius:50%;background:#ff4146;color:#fff}
.hl-pre-delete-message p{margin:0;font-size:13px;line-height:1.7;overflow-wrap:anywhere;color:#303133}
.hl-pre-delete-error{margin:14px 0 0;color:#d9363e;font-size:13px;line-height:1.7;overflow-wrap:anywhere}
.hl-pre-delete-footer{display:flex;justify-content:flex-end;gap:10px;padding:18px 24px 24px}
.hl-pre-delete-footer .hl-pre-btn{box-sizing:border-box;min-width:56px;height:32px;padding:0 14px;border:1px solid #dcdfe6;border-radius:3px;background:#fff;color:#606266;font-size:12px;line-height:30px}
.hl-pre-delete-footer .hl-pre-btn.blue{border-color:#66b1ff;background:#66b1ff;color:#fff}
.hl-pre-delete-footer .hl-pre-btn:hover:not(:disabled){border-color:#409eff;color:#409eff}
.hl-pre-delete-footer .hl-pre-btn.blue:hover:not(:disabled){border-color:#409eff;background:#409eff;color:#fff}
.hl-pre-delete-modal button:focus-visible{outline:2px solid #409eff;outline-offset:3px}
.hl-pre-purchase{border-bottom:1px solid #edf0f5;padding:0 0 10px;margin-bottom:10px;color:#596574}
body.hl-presale-layout .hl-pre-composer[hidden]{display:none}
.hl-pre-compose-close{position:absolute;right:10px;bottom:100%;padding:5px 9px;border:1px solid #e4eaf1;border-bottom:0;border-radius:4px 4px 0 0;background:#fafbfd;color:#8391a1;font-size:11px;cursor:pointer}
body.hl-presale-layout .hl-pre-conversation>.hl-pre-empty-state{height:100%;min-height:220px;gap:6px}
body.hl-presale-layout .hl-pre-composer{position:relative;flex:0 0 clamp(180px,22vh,230px);height:clamp(180px,22vh,230px);min-height:0;margin:0;padding:0;border:0;border-top:1px solid #f0f2f6;overflow:visible;background:#fff;box-sizing:border-box}
body.hl-presale-layout .hl-pre-composer>.hl-pre-compose-grid{display:grid;grid-template-columns:1fr 1fr;height:100%;min-height:0;align-items:stretch;gap:0;margin:0}
.hl-pre-compose-source,.hl-pre-compose-target{display:flex;flex-direction:column;min-width:0;min-height:0;background:#fff}
.hl-pre-compose-source{border-right:1px solid #f0f2f5}
.hl-pre-compose-tools{display:flex;align-items:center;gap:5px;height:43px;min-height:43px;flex:0 0 43px;padding:5px 10px;box-sizing:border-box;background:#f5f5f5;font-size:12px;color:#333}
body.hl-presale-layout .hl-pre-compose-tools select{min-width:0;width:auto;max-width:104px;margin:0;padding:0;height:26px;border:0;background:transparent;color:#333;font-size:12px}
body.hl-presale-layout .hl-pre-compose-tools button{height:29px;padding:0 14px;border:0;border-radius:3px;background:#009bfa;color:#fff;font:inherit;white-space:nowrap}
.hl-pre-compose-source .hl-pre-compose-tools{flex-wrap:wrap;height:auto;flex-basis:auto;min-height:43px;row-gap:4px}
.hl-pre-compose-source .hl-pre-compose-tools>button{margin-left:auto;padding:0 9px}
.hl-pre-compose-source .hl-pre-compose-tools>button+button{margin-left:0}
.hl-pre-ai-source{max-width:520px;margin-top:16px;padding:9px 12px;border:1px solid #e0edf8;border-radius:4px;background:#f7fbff;color:#7b8795;font-size:11px;line-height:1.7}
.hl-pre-help-pop{position:fixed;z-index:2147483647;box-sizing:border-box;width:340px;max-width:calc(100vw - 16px);padding:13px 16px;border:1px solid #d9e0e8;border-radius:4px;box-shadow:0 6px 22px #1423372e;background:#fff;color:#4b5563;font:13px/1.8 Arial,"Microsoft YaHei",sans-serif;white-space:pre-line;overflow-wrap:anywhere;pointer-events:none}
body.hl-presale-layout .hl-pre-composer textarea{display:block;box-sizing:border-box;width:100%;height:auto;min-height:0;flex:1 1 auto;padding:13px;border:0;border-radius:0;resize:none;outline:0;background:#fff;color:#394457;font:inherit;line-height:1.65}
body.hl-presale-layout .hl-pre-composer textarea::placeholder,.hl-pre-list-controls input::placeholder{color:#b4bac3}
body.hl-presale-layout .hl-pre-composer textarea:focus{box-shadow:inset 0 0 0 1px #b6dcf8}
.hl-pre-char-count{height:23px;flex:0 0 23px;box-sizing:border-box;padding:0 10px;line-height:23px;color:#a4a8af;font-size:11px}
body.hl-presale-layout .hl-pre-compose-tools .hl-pre-send{margin-left:auto;min-width:68px}
.hl-pre-quick-wrap{position:relative;min-width:0}
body.hl-presale-layout .hl-pre-compose-tools .hl-pre-quick-toggle{background:transparent;color:#333;padding:0 2px}
.hl-pre-quick-toggle>span{margin-left:5px;color:#86909b}
.hl-pre-quick-pop{position:absolute;bottom:38px;left:0;z-index:10;width:min(300px,36vw);padding:12px;box-sizing:border-box;border:1px solid #dce4ed;border-radius:5px;box-shadow:0 8px 22px #26344824;background:#fff;color:#909399}
body.hl-presale-layout .hl-pre-quick-pop select{display:block;width:100%;max-width:none;margin:0 0 8px;height:32px;padding:0 4px;border:1px solid #e2e7ed;background:#fff;color:#606266}
.hl-pre-quick-pop small{font-size:11px}
body.hl-presale-layout .hl-pre-customer-list{grid-column:auto;display:flex;flex-direction:column;min-height:0;max-height:none;overflow:hidden;border:1px solid #e6eaf0;border-radius:0 8px 8px 0;background:#fff}
body.hl-presale-layout .hl-pre-customer-list>header{position:static;flex:0 0 48px;min-height:48px;height:48px;box-sizing:border-box;padding:0 22px;color:#333;font-size:14px;font-weight:500}
.hl-pre-customer-cards{padding:24px 22px;min-height:0;flex:1 1 auto;overflow:auto;overscroll-behavior:contain}
.hl-pre-customer-card{margin-bottom:16px;border:1px solid #dce2e9;border-radius:6px;overflow:hidden;background:#fff}
.hl-pre-customer-card>button{display:flex;align-items:center;gap:8px;width:100%;min-height:48px;padding:7px 12px;border:0;background:#ecf6fe;color:#1688e8;text-align:left;font-size:12px}
.hl-pre-customer-card.active>button{background:#009bfa;color:#fff}
.hl-pre-customer-card>button>span:not(.hl-pre-avatar){min-width:0}
.hl-pre-customer-card>button>span:nth-child(2){flex:1}
.hl-pre-customer-card>button b{display:block;max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-weight:500}
.hl-pre-customer-card time{display:block;margin-top:2px;font-size:11px;opacity:.9}
.hl-pre-customer-card>button small{white-space:nowrap;font-size:10px;opacity:.9}
.hl-pre-customer-card em{display:inline-flex;align-items:center;justify-content:center;width:17px;height:17px;border-radius:50%;background:#ff6a73;color:#fff;font-style:normal}
.hl-pre-customer-body{padding:20px 16px;min-height:94px;box-sizing:border-box;color:#778391;line-height:1.6;overflow-wrap:anywhere}
.hl-pre-customer-body p{margin:0 0 8px;white-space:pre-wrap}.hl-pre-customer-body small{font-size:11px;color:#a3aab3}
.hl-pre-customer-card:not(.active) .hl-pre-customer-body{display:none}
.hl-pre-pending-workspace::-webkit-scrollbar{height:16px;width:8px}
.hl-pre-product-list::-webkit-scrollbar,.hl-pre-conversation::-webkit-scrollbar,.hl-pre-customer-cards::-webkit-scrollbar{width:7px}
.hl-pre-pending-workspace::-webkit-scrollbar-thumb,.hl-pre-product-list::-webkit-scrollbar-thumb,.hl-pre-conversation::-webkit-scrollbar-thumb,.hl-pre-customer-cards::-webkit-scrollbar-thumb{background:#c8d0d8;border-radius:5px;border:2px solid #f1f4f8}
.hl-pre-pending-workspace::-webkit-scrollbar-track{background:#f1f4f8}

/* Same badge placement/collapsed behavior as after-sales; no theme or navigation changes. */
.side-menu .hl-pre-has-pending-badge{position:relative!important}
.side-menu .hl-pre-sidebar-pending-badge{position:absolute;z-index:4;top:50%;transform:translateY(-50%);display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:18px;height:18px;padding:0 5px;border-radius:10px;background:#ff4d5a;color:#fff!important;font-size:11px;font-weight:600;line-height:18px;box-shadow:0 0 0 1px #ffffff38;pointer-events:none}
.side-menu .menu-group>p.hl-pre-pending-group>.hl-pre-sidebar-pending-badge{right:28px}
/* The second-level count follows its label; all submenu labels keep the shared left baseline. */
html body:not(.hl-shell-sidebar-collapsed) .side-menu>.menu-group.hl-sidebar-collapsible:not(.hl-sidebar-collapsed)>button.hl-pre-pending-sub{position:relative!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;white-space:nowrap!important}
.side-menu .menu-group>button.hl-pre-pending-sub>.hl-pre-sidebar-pending-badge{position:static;top:auto;right:auto;transform:none;flex:0 0 auto;margin:0 0 0 8px;vertical-align:middle}
.side-menu .menu-group.hl-sidebar-collapsible>button.active>.hl-pre-sidebar-pending-badge,.side-menu .menu-group.hl-sidebar-collapsible>button[aria-current="page"]>.hl-pre-sidebar-pending-badge{color:#fff!important}
body.hl-shell-sidebar-collapsed .side-menu .menu-group>p.hl-pre-pending-group>.hl-pre-sidebar-pending-badge{top:6px;right:4px;transform:none;min-width:16px;height:16px;padding:0 4px;font-size:10px;line-height:16px}
