.hl-ar-page-active{overflow:hidden!important;background:#f4f6f9!important}
.hl-ar-host{padding:0!important;background:#f4f6f9!important;overflow:hidden!important;min-height:calc(100vh - 92px)!important}
.hl-ar-host>:not(.hl-ar-app){display:none!important}
.hl-ar-app{height:calc(100vh - 94px);min-height:560px;padding:12px 16px 18px;box-sizing:border-box;color:#606266;font:13px/1.5 "Microsoft YaHei","PingFang SC",Arial,sans-serif}
.hl-ar-panel{height:100%;display:flex;flex-direction:column;min-width:980px;background:#fff;border:1px solid #e5e7eb;overflow:hidden;box-sizing:border-box}
.hl-ar-primary-tabs{height:41px;min-height:41px;display:flex;align-items:stretch;border-bottom:1px solid #dfe4ea;background:#fff}
.hl-ar-primary-tabs button{min-width:110px;padding:0 14px;border:0;background:#fff;color:#303133;font:13px "Microsoft YaHei","PingFang SC",sans-serif;cursor:pointer}
.hl-ar-primary-tabs button.active{background:#409eff;color:#fff}
.hl-ar-content{min-height:0;flex:1;display:flex;flex-direction:column;padding:14px 14px 0;overflow:hidden}
.hl-ar-alert{min-height:40px;padding:11px 22px;margin-bottom:14px;border-radius:2px;background:#fef0f0;color:#909399;font-size:12px;line-height:18px;box-sizing:border-box}
.hl-ar-product-tools,.hl-ar-shop-tools{min-height:38px;display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
.hl-ar-product-tools>div,.hl-ar-shop-tools>div{display:flex;align-items:center}
.hl-ar-parent-mode{display:inline-block;min-width:67px;height:32px;padding:9px 15px;border-radius:4px;background:#409eff;color:#fff;font-size:12px;line-height:12px;text-align:center;box-sizing:border-box}
.hl-ar-product-tools select,.hl-ar-product-tools input,.hl-ar-shop-tools input,.hl-ar-rule-form input,.hl-ar-rule-form select,.hl-ar-rule-form textarea{border:1px solid #dcdfe6;background:#fff;color:#606266;font:13px "Microsoft YaHei","PingFang SC",sans-serif;outline:none;box-sizing:border-box}
.hl-ar-product-tools select{width:100px;height:32px;padding:0 10px;border-radius:3px 0 0 3px}
.hl-ar-product-tools input{width:150px;height:32px;padding:0 9px;border-left:0}
.hl-ar-shop-tools input{width:230px;height:32px;padding:0 9px;border-radius:3px 0 0 3px}
.hl-ar-primary{height:32px;padding:0 16px;border:1px solid #409eff!important;border-radius:3px;background:#409eff!important;color:#fff!important;font:13px "Microsoft YaHei","PingFang SC",sans-serif;cursor:pointer}
.hl-ar-product-tools .hl-ar-primary,.hl-ar-shop-tools>div .hl-ar-primary{border-radius:0 3px 3px 0}
.hl-ar-primary:hover{background:#66b1ff!important;border-color:#66b1ff!important}
.hl-ar-module-tabs{height:38px;min-height:38px;display:flex;align-items:flex-end;border-bottom:1px solid #e4e7ed;margin-bottom:10px}
.hl-ar-module-tabs button{height:38px;min-width:85px;padding:0 16px;border:0;border-bottom:2px solid transparent;background:#fff;color:#303133;font-size:13px;cursor:pointer}
.hl-ar-module-tabs button.active{border-bottom-color:#409eff;color:#409eff}
.hl-ar-table-wrap{position:relative;min-height:260px;flex:1;overflow:auto;border:1px solid #ebeef5;scrollbar-gutter:stable;background:#fff}
.hl-ar-table{width:100%;min-width:980px;border-collapse:separate;border-spacing:0;table-layout:fixed;color:#606266;font-size:12px}
.hl-ar-table thead{position:sticky;top:0;z-index:7;background:#fff}
.hl-ar-table th{height:61px;padding:8px 10px;border-right:1px solid #ebeef5;border-bottom:1px solid #ebeef5;background:#fff;color:#222;text-align:center;font-size:13px;font-weight:700;box-sizing:border-box}
.hl-ar-table td{height:115px;padding:10px;border-right:1px solid #ebeef5;border-bottom:1px solid #ebeef5;background:#fff;color:#606266;text-align:center;vertical-align:middle;font-size:12px;box-sizing:border-box}
.hl-ar-table th:last-child,.hl-ar-table td:last-child{border-right:0}
.hl-ar-table tbody tr:hover td{background:#f5f7fa}
.hl-ar-table th select{width:100%;height:36px;padding:0 12px;border:1px solid #dcdfe6;border-radius:3px;background:#fff;color:#303133;text-align:center;font:13px "Microsoft YaHei","PingFang SC",sans-serif;outline:none}
.hl-ar-product-table col:nth-child(1){width:25.55%}.hl-ar-product-table col:nth-child(2){width:12.25%}.hl-ar-product-table col:nth-child(3){width:12.25%}.hl-ar-product-table col:nth-child(4){width:10.2%}.hl-ar-product-table col:nth-child(5){width:12.25%}.hl-ar-product-table col:nth-child(6){width:12.25%}.hl-ar-product-table col:nth-child(7){width:15.25%}
.hl-ar-product-info{display:grid;grid-template-columns:64px minmax(0,1fr);align-items:center;gap:12px;text-align:left;position:relative}
.hl-ar-product-info>div{position:relative;min-width:0}
.hl-ar-product-image{display:flex;align-items:center;justify-content:center;overflow:hidden;border:1px solid #ebeef5;background:#fff;box-sizing:border-box}
.hl-ar-product-image>img{display:block;width:100%;height:100%;object-fit:contain}
.hl-ar-product-info>.hl-ar-product-image{width:64px;height:64px}
.hl-ar-product-info a{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#409eff;text-decoration:none;line-height:18px}
.hl-ar-product-info a:hover{text-decoration:underline}
.hl-ar-product-info p{margin:3px 0 0;line-height:16px;color:#606266}
.hl-ar-product-info p button{padding:0;border:0;background:transparent;color:#606266;font-size:12px;cursor:pointer}
.hl-ar-copy-control{display:inline-flex!important;align-items:center;padding:0!important;border:0!important;background:transparent!important;color:#606266!important;font:inherit!important;line-height:inherit!important;vertical-align:baseline;cursor:pointer}
.hl-ar-copy-icon{position:relative;width:12px;height:12px;margin-left:5px;display:inline-block;flex:0 0 12px}
.hl-ar-copy-icon::before,.hl-ar-copy-icon::after{content:"";position:absolute;width:7px;height:7px;border:1px solid #606266;border-radius:1px;box-sizing:border-box;background:#fff}
.hl-ar-copy-icon::before{left:3px;top:1px}.hl-ar-copy-icon::after{left:0;top:4px}
.hl-ar-copy-separator{margin:0 3px;color:#909399}
.hl-ar-link{color:#409eff!important}
.hl-ar-sku-trigger{position:relative}.hl-ar-sku-view-icon{display:inline-block;width:7px;height:7px;margin-left:5px;border-top:1px solid currentColor;border-right:1px solid currentColor;transform:rotate(45deg);vertical-align:1px}
.hl-ar-sku-list{position:absolute;z-index:9;left:75px;top:-12px;width:176px;padding:12px;border:1px solid #ebeef5;border-radius:4px;background:#fff;box-shadow:0 2px 12px rgba(0,0,0,.1);box-sizing:border-box;color:#606266;font-size:14px;line-height:23px}
.hl-ar-sku-list::before,.hl-ar-sku-list::after{content:"";position:absolute;top:8px;border-style:solid}.hl-ar-sku-list::before{left:-7px;border-width:7px 7px 7px 0;border-color:transparent #ebeef5 transparent transparent}.hl-ar-sku-list::after{left:-6px;border-width:7px 7px 7px 0;border-color:transparent #fff transparent transparent}
.hl-ar-sku-list .hl-ar-copy-control{display:flex!important;width:100%;font-size:14px!important;line-height:23px!important;white-space:nowrap}
.hl-ar-status.active{color:#67c23a}.hl-ar-status.paused,.hl-ar-status.closed{color:#f56c6c}.hl-ar-status.under_review,.hl-ar-status.inactive{color:#e6a23c}
.hl-ar-full{display:inline-block;padding:1px 5px;border-radius:2px;background:#67c23a;color:#fff;font-size:10px;line-height:14px}
.hl-ar-store-column .hl-store-cell-unified{margin:auto}
.hl-ar-rule-stores{display:flex;flex-direction:column;align-items:center;gap:8px}.hl-ar-rule-stores>div{width:100%}
.hl-ar-store-fallback{display:inline-flex;flex-direction:column;gap:2px}.hl-ar-store-fallback>span{display:flex;align-items:center;gap:6px}.hl-ar-store-fallback img{width:17px}.hl-ar-store-fallback small{font-size:12px}
.hl-ar-actions{white-space:nowrap}.hl-ar-actions button{height:30px;margin:0 4px;padding:0 12px;border:1px solid #b3d8ff;border-radius:3px;background:#ecf5ff;color:#409eff;font-size:12px;cursor:pointer}.hl-ar-actions button+button{border-color:#c2e7b0;background:#f0f9eb;color:#67c23a}.hl-ar-actions button:disabled{cursor:not-allowed;opacity:.45}
.hl-ar-pagination{height:48px;min-height:48px;display:flex;align-items:center;justify-content:space-between;color:#606266;font-size:13px}
.hl-ar-pagination>div{display:flex;align-items:center;gap:7px}.hl-ar-pagination select,.hl-ar-pagination input{height:28px;border:1px solid #dcdfe6;border-radius:3px;background:#fff;color:#606266;font-size:12px;box-sizing:border-box}.hl-ar-pagination select{width:90px;padding:0 8px}.hl-ar-pagination input{width:46px;padding:0 5px;text-align:center}.hl-ar-pagination button{min-width:28px;height:28px;padding:0 7px;border:0;border-radius:2px;background:#f4f4f5;color:#606266;font-weight:600;cursor:pointer}.hl-ar-pagination button.active{background:#409eff;color:#fff}.hl-ar-pagination button:disabled{color:#c0c4cc;cursor:not-allowed}.hl-ar-pagination label{display:flex;align-items:center;gap:5px;margin-left:8px}
.hl-ar-loading{position:absolute;inset:62px 0 0;z-index:12;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;background:rgba(255,255,255,.85);color:#409eff}.hl-ar-loading i{width:25px;height:25px;border:3px solid #d9ecff;border-top-color:#409eff;border-radius:50%;animation:hl-ar-spin .75s linear infinite}@keyframes hl-ar-spin{to{transform:rotate(360deg)}}
.hl-ar-empty-row td{height:250px!important}.hl-ar-empty{display:flex;align-items:center;justify-content:center;height:100%;color:#909399;font-size:13px}
.hl-ar-shop-tools{margin-bottom:10px}.hl-ar-rules-table{min-width:1420px}.hl-ar-rules-table th:nth-child(1){width:70px}.hl-ar-rules-table th:nth-child(2){width:120px}.hl-ar-rules-table th:nth-child(3){width:105px}.hl-ar-rules-table th:nth-child(4){width:150px}.hl-ar-rules-table th:nth-child(5){width:240px}.hl-ar-rules-table th:nth-child(6){width:190px}.hl-ar-rules-table th:nth-child(7){width:160px}.hl-ar-rules-table th:nth-child(8){width:90px}.hl-ar-rules-table th:nth-child(9){width:100px}.hl-ar-rules-table th:nth-child(10){width:195px}
.hl-ar-rules-table td,.hl-ar-history-table td{height:64px}.hl-ar-message-cell{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hl-ar-row-actions{display:flex;justify-content:center;gap:5px;white-space:nowrap}.hl-ar-row-actions button{height:28px;padding:0 8px;border:1px solid #b3d8ff;border-radius:3px;background:#ecf5ff;color:#409eff;font-size:12px}.hl-ar-row-actions button.danger{border-color:#fbc4c4;background:#fef0f0;color:#f56c6c}
.hl-ar-history-table{min-width:1250px}.hl-ar-history-table th:nth-child(1){width:220px}.hl-ar-history-table th:nth-child(2){width:140px}.hl-ar-history-table th:nth-child(3),.hl-ar-history-table th:nth-child(4){width:105px}.hl-ar-history-table th:nth-child(5),.hl-ar-history-table th:nth-child(6){width:220px}.hl-ar-history-table th:nth-child(7){width:120px}.hl-ar-history-table th:nth-child(8){width:140px}.hl-ar-history-table td small{display:block;margin-top:4px;color:#909399}
.hl-ar-modal-layer{position:fixed;z-index:10020;inset:0;display:flex;align-items:center;justify-content:center;padding:24px;background:rgba(0,0,0,.42)}
.hl-ar-modal{display:flex;flex-direction:column;max-height:calc(100vh - 48px);border-radius:4px;background:#fff;box-shadow:0 8px 35px rgba(0,0,0,.2);overflow:hidden;color:#606266;font:13px/1.5 "Microsoft YaHei","PingFang SC",sans-serif}
.hl-ar-modal>header{height:50px;min-height:50px;display:flex;align-items:center;justify-content:space-between;padding:0 20px;border-bottom:1px solid #ebeef5;color:#303133;font-size:16px;font-weight:600}.hl-ar-modal>header button{border:0;background:transparent;color:#909399;font-size:22px}
.hl-ar-product-modal{width:min(1060px,92vw);height:min(720px,88vh)}.hl-ar-product-summary{display:grid;grid-template-columns:72px minmax(0,1fr);gap:13px;align-items:center;padding:15px 20px}.hl-ar-product-summary>.hl-ar-product-image{width:68px;height:68px}.hl-ar-product-summary h3{margin:0 0 6px;color:#303133;font-size:14px}.hl-ar-product-summary p{margin:2px 0}.hl-ar-product-modal>.hl-ar-module-tabs{margin:0 20px}.hl-ar-modal-tools{padding:12px 20px}.hl-ar-modal-table{flex:1;min-height:180px;margin:0 20px;overflow:auto;border:1px solid #ebeef5}.hl-ar-modal-table .hl-ar-table{min-width:900px}.hl-ar-modal-table .hl-ar-table th{height:45px}.hl-ar-modal-table .hl-ar-table td{height:58px}
.hl-ar-modal>footer{height:58px;min-height:58px;display:flex;align-items:center;justify-content:flex-end;gap:10px;padding:0 20px;border-top:1px solid #ebeef5}.hl-ar-modal>footer button{height:32px;padding:0 18px;border:1px solid #dcdfe6;border-radius:3px;background:#fff;color:#606266}
.hl-ar-rule-layer{z-index:10030}.hl-ar-rule-modal{width:70%;height:calc(100vh - 56px);max-height:calc(100vh - 56px);border-radius:10px}.hl-ar-rule-modal>header{height:58px;min-height:58px;padding:0 24px}.hl-ar-rule-modal>.hl-ar-rule-form{flex:1;min-height:0;padding:24px;overflow:auto}.hl-ar-rule-modal>footer{height:62px;min-height:62px;padding:10px 20px 20px;box-sizing:border-box}.hl-ar-form-alert{margin-bottom:15px;padding:10px 13px;border-radius:3px;background:#f4f4f5;color:#606266}.hl-ar-rule-form>label{display:grid;grid-template-columns:100px minmax(0,1fr);align-items:start;gap:10px;margin-bottom:14px}.hl-ar-rule-form>label>b{padding-top:8px;text-align:right;color:#606266;font-weight:400}.hl-ar-rule-form input[type=text],.hl-ar-rule-form>label>span>input,.hl-ar-rule-form select{width:100%;height:34px;padding:0 9px;border-radius:3px}.hl-ar-rule-form textarea{width:100%;padding:8px 9px;border-radius:3px;resize:vertical}.hl-ar-rule-form small{display:block;margin-top:4px;color:#909399;text-align:right}.hl-ar-radio-line{display:flex;align-items:center;gap:18px;padding-top:7px}.hl-ar-radio-line label,.hl-ar-schedule label,.hl-ar-enable-line{display:flex!important;align-items:center!important;gap:5px!important}.hl-ar-schedule{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding-top:7px}.hl-ar-schedule>div{width:100%;display:flex;align-items:center;gap:8px;margin-top:4px}.hl-ar-schedule input[type=time]{width:140px;height:34px;padding:0 8px;border-radius:3px}.hl-ar-enable-line{grid-template-columns:auto!important;margin-left:110px!important}.hl-ar-enable-line input{margin:0}
.hl-ar-store-picker{position:relative;width:100%}.hl-ar-store-picker>button{width:100%;height:34px;display:flex;align-items:center;justify-content:space-between;padding:0 10px;border:1px solid #dcdfe6;border-radius:3px;background:#fff;color:#606266;text-align:left;font:13px "Microsoft YaHei","PingFang SC",sans-serif;cursor:pointer}.hl-ar-store-picker>button span.placeholder{color:#c0c4cc}.hl-ar-store-picker>button i{width:7px;height:7px;margin-right:2px;border-right:1px solid #c0c4cc;border-bottom:1px solid #c0c4cc;transform:rotate(45deg);transition:transform .15s}.hl-ar-store-picker.open>button i{transform:rotate(225deg)}.hl-ar-store-picker-menu{position:absolute;z-index:100;left:0;right:0;top:38px;display:none;max-height:220px;overflow:auto;padding:6px 0;border:1px solid #e4e7ed;border-radius:4px;background:#fff;box-shadow:0 2px 12px rgba(0,0,0,.12)}.hl-ar-store-picker.open .hl-ar-store-picker-menu{display:block}.hl-ar-store-picker-menu label{display:flex;align-items:center;gap:8px;min-height:34px;padding:0 12px;color:#606266;cursor:pointer}.hl-ar-store-picker-menu label:hover{background:#f5f7fa}.hl-ar-store-picker-menu input{width:14px!important;height:14px!important;margin:0;accent-color:#409eff}.hl-ar-store-picker-menu label:first-child{border-bottom:1px solid #ebeef5}
.hl-ar-rule-modal{width:56vw;height:calc(80vh - 44.8px);max-height:calc(80vh - 44.8px)}
@media(max-width:1100px){.hl-ar-app{padding:8px}.hl-ar-panel{min-width:900px}.hl-ar-product-table{min-width:1100px}}

/* 客服机器人沿用店铺声誉布局；主列表仅使用 app-main 的自然纵向滚动。 */
body.hl-auto-reply-layout .app-main{padding:0 11px!important;gap:0!important;overflow-x:hidden!important;overflow-y:auto!important;scrollbar-gutter:auto!important}
body.hl-auto-reply-layout .hl-ar-host{height:auto!important;min-height:0!important;min-width:0!important;overflow:visible!important;border:0!important;margin:0!important;box-shadow:none!important}
body.hl-auto-reply-layout .hl-ar-app{height:auto!important;min-height:0!important;min-width:0!important;width:100%!important;max-width:100%!important;padding:0!important;box-sizing:border-box}
body.hl-auto-reply-layout .hl-ar-clock{display:flex;align-items:center;gap:8px;width:calc(100% + 22px);height:72px;box-sizing:border-box;margin:0 -11px;padding:0 14px;background:#fff;border-bottom:20px solid #f1f4f8;color:#536070;font-size:13px}
body.hl-auto-reply-layout .hl-ar-clock b{font-size:13px;color:#24344e}
body.hl-auto-reply-layout .hl-ar-clock small{font-size:12px;color:#7b889a}
body.hl-auto-reply-layout .hl-ar-clock time{font-variant-numeric:tabular-nums;color:#637083}
body.hl-auto-reply-layout .hl-ar-panel{display:block;height:auto;min-width:0;min-height:calc(var(--ar-viewport-height,0px) - 72px);padding-bottom:var(--ar-bottom-space,80px);overflow:visible;background:#fff;border:1px solid #e2e7ed;box-sizing:border-box}
body.hl-auto-reply-layout .hl-ar-fixed-top{position:sticky;top:10px;z-index:140;background:#fff;isolation:isolate}
body.hl-auto-reply-layout .hl-ar-fixed-top::before{content:"";position:absolute;top:-10px;left:-1px;right:-1px;height:10px;background:#f1f4f8;pointer-events:none}
body.hl-auto-reply-layout .hl-ar-controls{padding:14px 12px 0;background:#fff;display:flow-root}
body.hl-auto-reply-layout .hl-ar-primary-tabs button.active{background:#159de0}
body.hl-auto-reply-layout .hl-ar-alert{min-height:0;padding:11px 14px;margin:0 0 10px}
body.hl-auto-reply-layout .hl-ar-product-tools,body.hl-auto-reply-layout .hl-ar-shop-tools{flex-wrap:wrap}
body.hl-auto-reply-layout .hl-ar-shop-nav-row{justify-content:flex-start;gap:10px 12px;border-bottom:1px solid #e4e7ed;padding-bottom:0}
body.hl-auto-reply-layout .hl-ar-shop-nav-row>.hl-ar-module-tabs{border:0;margin:0;flex:0 0 auto;align-items:flex-end}
body.hl-auto-reply-layout .hl-ar-shop-nav-row>[data-new-shop-rule]{flex:0 0 auto}
body.hl-auto-reply-layout .hl-ar-shop-nav-row>.hl-ar-shop-search{margin-left:auto;align-self:center;padding-bottom:4px}
body.hl-auto-reply-layout .hl-ar-table-region{margin:0 12px;min-width:0}
body.hl-auto-reply-layout .hl-ar-table-wrap{width:100%!important;max-width:100%!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;overflow-x:clip!important;overflow-y:visible!important;scrollbar-gutter:auto!important}
body.hl-auto-reply-layout .hl-ar-table-wrap>.hl-ar-table{translate:var(--ar-horizontal-offset,0px) 0;border-collapse:separate!important;border-spacing:0!important}
body.hl-auto-reply-layout .hl-ar-table-wrap>.hl-ar-table th,
body.hl-auto-reply-layout .hl-ar-table-wrap>.hl-ar-table td{border:0;border-right:1px solid #e1e7ee;border-bottom:1px solid #e1e7ee;background-clip:border-box}
body.hl-auto-reply-layout .hl-ar-table-wrap>.hl-ar-table th:first-child,
body.hl-auto-reply-layout .hl-ar-table-wrap>.hl-ar-table td:first-child{border-left:1px solid #e1e7ee}
body.hl-auto-reply-layout .hl-ar-table-wrap>.hl-ar-table>thead{position:static!important;z-index:auto!important;isolation:auto!important;box-shadow:none!important}
body.hl-auto-reply-layout .hl-ar-table-wrap>.hl-ar-table>thead>tr>th{position:sticky!important;top:var(--ar-header-top,180px)!important;z-index:130!important;border-top:1px solid #e1e7ee;box-shadow:none!important;background:#f4f7fa!important}
body.hl-auto-reply-layout .hl-ar-pagination{position:fixed!important;bottom:0!important;right:auto!important;height:48px!important;min-height:48px!important;margin:0!important;padding:0 12px!important;display:flex!important;justify-content:space-between!important;gap:12px;box-sizing:border-box;background:#fff;border-top:1px solid #dce3eb;box-shadow:0 -2px 7px rgba(25,45,75,.04);z-index:150!important;font-size:12px!important;color:#657283!important}
body.hl-auto-reply-layout .hl-ar-pagination>span{font-size:12px!important;white-space:nowrap}
body.hl-auto-reply-layout .hl-ar-pager{display:flex;align-items:center;justify-content:flex-end;gap:8px;white-space:nowrap;font-size:12px!important}
body.hl-auto-reply-layout .hl-ar-pagination select{height:28px!important;min-width:86px!important;width:auto!important;padding:0 24px 0 9px!important;border:1px solid #dce3eb!important;border-radius:4px!important;background:#fff!important;color:#6c7885!important;font-size:11px!important}
body.hl-auto-reply-layout .hl-ar-page-nav{display:flex;align-items:center;gap:4px}
body.hl-auto-reply-layout .hl-ar-page-nav button{min-width:28px!important;width:28px!important;height:28px!important;padding:0!important;border:1px solid #e1e7ed!important;border-radius:2px!important;background:#f7f8fa!important;color:#8e99a6!important;font-size:12px!important;font-weight:400;line-height:26px!important;text-align:center!important}
body.hl-auto-reply-layout .hl-ar-page-nav button.active{background:#269bf0!important;border-color:#269bf0!important;color:#fff!important}
body.hl-auto-reply-layout .hl-ar-page-nav button:disabled{opacity:.4!important;cursor:not-allowed!important}
body.hl-auto-reply-layout .hl-ar-pagination label{display:flex;align-items:center;gap:5px;margin-left:0;font-weight:400;font-size:12px!important;color:#657283}
body.hl-auto-reply-layout .hl-ar-pagination input{width:42px!important;height:28px!important;padding:0 5px!important;border:1px solid #dce3eb!important;border-radius:3px!important;background:#fff!important;text-align:center!important;color:#657283!important;font-size:11px!important;box-sizing:border-box!important;-moz-appearance:textfield}
body.hl-auto-reply-layout .hl-ar-pagination input::-webkit-inner-spin-button,
body.hl-auto-reply-layout .hl-ar-pagination input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
body.hl-auto-reply-layout .hl-ar-app .hl-pagination-spacer-v250{display:none!important;height:0!important;min-height:0!important}
body.hl-auto-reply-layout>#hl-management-top-guard-v021,
body.hl-auto-reply-layout>#hl-management-fixed-hscroll-v021,
body.hl-auto-reply-layout>#hl-fixed-hscroll{display:none!important}
#hl-ar-horizontal-scroll{position:fixed;bottom:48px;height:20px;z-index:151;overflow-x:auto;overflow-y:hidden;box-sizing:border-box;background:#fbfcfd;border-top:1px solid #eef2f5;border-bottom:1px solid #eef2f5;scrollbar-width:auto;overscroll-behavior-x:contain}
#hl-ar-horizontal-scroll[hidden]{display:none!important}
#hl-ar-horizontal-scroll>div{height:1px;pointer-events:none}
#hl-ar-horizontal-scroll::-webkit-scrollbar{height:18px}
#hl-ar-horizontal-scroll::-webkit-scrollbar-track{background:#f5f7f9}
#hl-ar-horizontal-scroll::-webkit-scrollbar-thumb{background:#c8d0d8;border-radius:6px;border:2px solid #f5f7f9}
#hl-ar-horizontal-scroll::-webkit-scrollbar-thumb:hover{background:#aab6c1}
body.hl-auto-reply-layout .hl-ar-short-viewport .hl-ar-fixed-top{position:relative!important;top:auto!important}
body.hl-auto-reply-layout .hl-ar-short-viewport .hl-ar-table-wrap>.hl-ar-table>thead>tr>th::before{content:"";position:absolute;top:-11px;left:-1px;right:-1px;height:10px;background:#f1f4f8;pointer-events:none}
body.hl-auto-reply-layout .hl-ar-tiny-viewport .hl-ar-table-wrap>.hl-ar-table>thead>tr>th{position:static!important}
body.hl-auto-reply-layout .hl-ar-tiny-viewport .hl-ar-table-wrap>.hl-ar-table>thead>tr>th::before{display:none}

/* 创建/编辑规则：居中非全屏，四周保留遮罩，头尾固定、表单独立滚动。 */
.hl-ar-rule-layer{padding:24px;box-sizing:border-box;z-index:2147483640!important}
.hl-ar-rule-layer .hl-ar-rule-modal{width:70vw;height:82vh;max-height:calc(100vh - 48px);max-width:calc(100vw - 48px);border-radius:10px;box-sizing:border-box}
.hl-ar-rule-layer .hl-ar-rule-modal>header{height:56px;min-height:56px;padding:0 24px;font-size:16px;color:#1f2329;background:#fff}
.hl-ar-rule-layer .hl-ar-rule-modal>header button{font-size:28px;color:#303133;line-height:1;cursor:pointer}
.hl-ar-rule-layer .hl-ar-rule-form{padding:24px;overflow:auto;overscroll-behavior:contain}
.hl-ar-rule-layer .hl-ar-form-alert{display:flex;align-items:center;gap:10px;min-height:32px;margin:0 14px 16px;padding:6px 22px;background:#fef0f0;color:#f56c6c;line-height:20px}
.hl-ar-form-alert>span{display:inline-flex;align-items:center;justify-content:center;width:14px;height:14px;border-radius:50%;background:#f56c6c;color:#fff;flex:0 0 auto;font-size:11px;font-weight:700}
.hl-ar-form-row{display:grid;grid-template-columns:86px minmax(0,1fr);align-items:start;gap:14px;min-height:32px;margin-bottom:24px}
.hl-ar-field-label{padding-top:7px;text-align:right;color:#303133;font-size:13px;line-height:20px;font-weight:400}
.hl-ar-field-label em{color:#f56c6c;font-style:normal;margin-right:3px}
.hl-ar-rule-layer .hl-ar-radio-line{display:flex;align-items:center;flex-wrap:wrap;gap:28px;min-height:32px;padding:0}
.hl-ar-rule-layer .hl-ar-radio-line label{display:flex;align-items:center;gap:8px;cursor:pointer}
.hl-ar-rule-layer .hl-ar-radio-line input{appearance:none;width:14px;height:14px;margin:0;border:1px solid #dcdfe6;border-radius:50%;background:#fff;cursor:pointer}
.hl-ar-rule-layer .hl-ar-radio-line input:checked{border:5px solid #409eff}
.hl-ar-rule-layer .hl-ar-radio-line input:focus-visible{outline:2px solid #409eff;outline-offset:2px}
.hl-ar-radio-line input:checked+span{color:#409eff}
.hl-ar-rule-layer .hl-ar-store-picker>button,.hl-ar-rule-layer [data-rule-store]{height:32px;border-color:#dcdfe6}
.hl-ar-name-field{position:relative;min-width:0}
.hl-ar-rule-layer [data-rule-name]{display:block;width:100%;height:32px;padding:0 64px 0 14px;border-radius:3px}
.hl-ar-rule-layer .hl-ar-name-field small{position:absolute;right:10px;top:0;height:32px;display:flex;align-items:center;margin:0;color:#909399;font-size:12px}
.hl-ar-keywords{height:clamp(180px,28.7vh,284px);padding:0 8px;border:1px solid #dcdfe6;border-radius:3px;overflow:auto;box-sizing:border-box;background:#fff}
.hl-ar-keyword-row{display:flex;align-items:center;gap:3px;min-height:30px}
.hl-ar-keyword-row>[data-keyword-number]{flex:0 0 auto;font-size:12px;color:#303133}
.hl-ar-rule-layer .hl-ar-keyword-row input{flex:1;min-width:0;height:30px;padding:0 2px;border:0;background:transparent;font-size:12px;outline:none}
.hl-ar-keyword-row button{flex:0 0 22px;height:26px;padding:0;border:0;background:transparent;color:#7b8087;font-size:16px;cursor:pointer}
.hl-ar-keyword-row button:hover{color:#409eff}
.hl-ar-reply-box{display:flex;flex-direction:column;height:160px;border:1px solid #dcdfe6;border-radius:3px;overflow:hidden}
.hl-ar-rule-layer .hl-ar-reply-box textarea{flex:1;min-height:0;width:100%;padding:8px 14px;border:0;border-radius:0;resize:none;font-size:13px}
.hl-ar-reply-hint{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:28px;padding:3px 8px;box-sizing:border-box;background:#fafafa;font-size:12px;color:#303133}
.hl-ar-rule-layer .hl-ar-reply-hint small{margin:0;flex:0 0 auto;color:#909399;font-size:12px}
.hl-ar-rule-layer .hl-ar-reply-hint small.is-over-limit{color:#f56c6c}
.hl-ar-rule-layer input::placeholder,.hl-ar-rule-layer textarea::placeholder{color:#b8becb}
.hl-ar-name-field:focus-within input,.hl-ar-keywords:focus-within,.hl-ar-reply-box:focus-within{border-color:#409eff}
.hl-ar-rule-layer .hl-ar-schedule{display:flex;flex-direction:column;align-items:flex-start;gap:7px;padding:0}
.hl-ar-rule-layer .hl-ar-schedule>.hl-ar-weekdays{display:flex;flex-wrap:wrap;gap:10px;margin:0;width:auto}
.hl-ar-rule-layer .hl-ar-weekdays label{position:relative;display:flex;align-items:center;justify-content:center;min-width:80px;width:102px;height:32px;margin:0;border:1px solid #dcdfe6;border-radius:3px;box-sizing:border-box;cursor:pointer;color:#303133;background:#fff}
.hl-ar-weekdays input{position:absolute;opacity:0;inset:0;width:100%;height:100%;margin:0;cursor:pointer}
.hl-ar-weekdays label:has(input:checked){color:#409eff;border-color:#a9d2ff;background:#ecf5ff}
.hl-ar-weekdays label:has(input:focus-visible){outline:2px solid #409eff;outline-offset:2px}
.hl-ar-rule-layer .hl-ar-schedule>.hl-ar-time-range{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0;width:auto}
.hl-ar-rule-layer .hl-ar-time-range input{width:180px;height:28px;padding:0 10px;border:1px solid #dcdfe6;border-radius:3px;font-size:12px}
.hl-ar-rule-layer .hl-ar-rule-modal>footer{height:62px;min-height:62px;padding:10px 20px 20px;border-top:0;background:#fff;box-sizing:border-box}
.hl-ar-rule-layer .hl-ar-rule-modal>footer button{height:32px;padding:0 16px;cursor:pointer}
@media(max-width:1100px){.hl-ar-rule-layer .hl-ar-rule-modal{width:90vw}}
@media(max-width:700px){.hl-ar-rule-layer{padding:16px}.hl-ar-rule-layer .hl-ar-rule-modal{width:calc(100vw - 32px);max-width:calc(100vw - 32px);max-height:calc(100vh - 32px)}.hl-ar-rule-layer .hl-ar-rule-form{padding:18px 12px}.hl-ar-form-row{grid-template-columns:76px minmax(0,1fr);gap:10px}.hl-ar-rule-layer .hl-ar-form-alert{margin-left:0;margin-right:0;padding:8px 12px}.hl-ar-rule-layer .hl-ar-radio-line{gap:12px}.hl-ar-rule-layer .hl-ar-weekdays label{width:72px;min-width:64px}.hl-ar-rule-layer .hl-ar-time-range input{width:135px}.hl-ar-reply-hint{align-items:flex-end}}
