/* 外呼客服(订客多仿写)样式 —— 配色/布局 1:1 复刻 robot.rmlx.cn,独立于 company-hub 主风格 */
.rmlx { --rm-blue: #2d8cf0; --rm-dark: #1f2d3d; --rm-darker: #17222e; height: calc(100vh - 64px); display: flex; flex-direction: column; background: #f0f2f5; overflow: hidden; zoom: 0.85; }   /* 整体不滚,只有表格区滚;老板 2026-10-07:字体整体缩小 15% */
.rmlx-top { height: 48px; background: var(--rm-darker); color: #cfd8e3; display: flex; align-items: center; gap: 14px; padding: 0 16px; }
.rmlx-logo { font-size: 17px; font-weight: 700; color: #fff; letter-spacing: 1px; }
.rmlx-top-right { margin-left: auto; display: flex; align-items: center; gap: 10px; font-size: 12.5px; }
.rmlx-status { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.rmlx-status.on { background: #19be6b; box-shadow: 0 0 0 3px rgba(25, 190, 107, .18); }
.rmlx-status.off { background: #ed4014; box-shadow: 0 0 0 3px rgba(237, 64, 20, .18); }
.rmlx-uname { color: #cfd8e3; }

.rmlx-modules { height: 52px; background: var(--rm-blue); display: flex; align-items: stretch; padding: 0 8px; }
.rmlx-mod { display: flex; align-items: center; gap: 7px; padding: 0 22px; color: rgba(255, 255, 255, .92); font-size: 14px; cursor: pointer; border-radius: 4px 4px 0 0; }
.rmlx-mod:hover { background: rgba(255, 255, 255, .12); }
.rmlx-mod.on { background: rgba(255, 255, 255, .22); font-weight: 650; }
.rmlx-mod-ico { font-size: 15px; }

.rmlx-body { flex: 1; display: flex; min-height: 0; }
.rmlx-side { width: 132px; flex: none; background: var(--rm-dark); padding: 8px 0 24px; overflow-y: auto; }
.rmlx-group { display: flex; align-items: center; justify-content: space-between; padding: 11px 14px 7px; color: #8fa3b8; font-size: 12.5px; cursor: pointer; user-select: none; }
.rmlx-group i { font-style: normal; font-size: 11px; }
.rmlx-side-item { padding: 10px 14px 10px 22px; color: #cfd8e3; font-size: 13px; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rmlx-side-item:hover { background: rgba(255, 255, 255, .06); }
.rmlx-side-item.on { background: var(--rm-blue); color: #fff; }

.rmlx-main { flex: 1; min-width: 0; padding: 14px 16px 96px; overflow: auto; }   /* 表格区独立滚动(左侧菜单固定);底部留白给悬浮栏 */
.rmlx-err { background: #fff7f0; border: 1px solid #ffd9c0; color: #c05621; padding: 8px 12px; border-radius: 6px; font-size: 12.5px; margin-bottom: 12px; }

.rmlx-toolbar { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.rmlx-title { font-size: 15px; font-weight: 650; color: #333; margin-right: 4px; }
.rmlx-spacer { flex: 1; }
.rm-btn { border: 1px solid #dcdee2; background: #fff; color: #515a6e; border-radius: 4px; padding: 6px 14px; font-size: 12.5px; cursor: pointer; }
.rm-btn:hover { border-color: var(--rm-blue); color: var(--rm-blue); }
.rm-btn.primary { background: var(--rm-blue); border-color: var(--rm-blue); color: #fff; }
.rm-btn.primary:hover { background: #5cadff; }
.rm-btn:disabled { opacity: .6; cursor: default; }
.rm-input { border: 1px solid #dcdee2; border-radius: 4px; padding: 6px 10px; font-size: 12.5px; outline: none; }
.rm-input:focus { border-color: var(--rm-blue); }
.rm-input.kw { width: 240px; }

/* 窄屏:搜索框自适应收缩,避免横向溢出 */
@media (max-width: 768px) {
  .rmlx { min-height: calc(100vh - 56px); }
  .rmlx-side { width: 108px; }
  .rmlx-side-item { padding: 9px 10px 9px 14px; font-size: 12px; }
  .rm-input.kw { width: auto; flex: 1 1 120px; min-width: 0; }
  .rmlx-main { padding: 10px 10px 24px; }
  .rmlx-mod { padding: 0 14px; font-size: 13px; }
  /* 筛选条窄屏:每个条件独占一行,输入框自适应 */
  .rm-filter { width: 100%; }
  .rm-filter label { min-width: 54px; }
  .rm-input.rm-date { flex: 1 1 0; width: auto; min-width: 0; }
  .rm-filter .rm-input.sel { flex: 1 1 0; max-width: none; }
}

.rmlx-card { background: #fff; border-radius: 6px; padding: 12px 14px 14px; margin-bottom: 14px; box-shadow: 0 1px 3px rgba(0, 0, 0, .04); overflow-x: auto; }
.rm-card-title { font-size: 13.5px; font-weight: 650; color: #333; margin: 2px 0 10px; }
.rm-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
/* 自适应列宽 + 手动拖拽(老板 2026-10-07):fixed 布局均分,th 右缘可拖 */
.rm-table-fix { table-layout: fixed; }
.rm-table-fix th { position: relative; }
.rm-col-rz { position: absolute; top: 0; right: -4px; width: 8px; height: 100%;
  cursor: col-resize; z-index: 2; }
.rm-col-rz:hover { background: rgba(45, 140, 240, .35); }
.rm-table th { text-align: left; padding: 9px 10px; background: #f8f9fb; color: #515a6e; font-weight: 600; white-space: nowrap; border-bottom: 1px solid #e8eaec; }
.rm-table td { padding: 9px 10px; border-bottom: 1px solid #f0f2f5; color: #515a6e; max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rm-table tbody tr:hover td { background: #f5f9ff; }
.rm-empty { text-align: center; color: #999; padding: 26px 0 !important; }
.rm-pager { display: flex; align-items: center; justify-content: flex-end; gap: 14px; padding-top: 12px; font-size: 12.5px; color: #515a6e; }
/* 列表底部:左「分配给客服」+ 客服名称,右分页(老板 2026-10-04) */
.rm-bottom { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 12px; padding-top: 12px; border-top: 1px solid #f0f2f5; }
/* 底部操作栏+分页:灰色半透明悬浮窗(老板 2026-10-07 灰色+加宽 1.5 倍) */
.rm-floatbar {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: 14px; z-index: 90;
  margin-top: 0; padding: 10px 20px; border-top: none; border-radius: 14px;
  width: min(1560px, calc(100vw - 48px));
  justify-content: space-between;
  background: rgba(236, 238, 241, .82);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  backdrop-filter: blur(16px) saturate(1.3);
  border: 1px solid rgba(210, 215, 222, .9);
  box-shadow: 0 12px 36px rgba(31, 45, 61, .20);
}
.rm-bottom-left { display: flex; align-items: center; gap: 8px; flex: none; flex-wrap: wrap; }
.rm-bottom .rm-pager { margin-left: auto; padding-top: 0; }
.rm-pages { display: flex; gap: 5px; }
.rm-pages a { min-width: 26px; height: 26px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #dcdee2; border-radius: 3px; cursor: pointer; color: #515a6e; }
.rm-pages a.on { background: var(--rm-blue); border-color: var(--rm-blue); color: #fff; }
.rm-pages a.dis { opacity: .4; cursor: default; }
.td-mobile, .td-client { font-variant-numeric: tabular-nums; }

.rm-stub { text-align: center; padding: 56px 0 60px; }
.rm-stub-ico { font-size: 34px; }
.rm-stub-t { font-size: 16px; font-weight: 650; color: #333; margin-top: 10px; }
.rm-stub-d { font-size: 12.5px; color: #808695; margin-top: 6px; }

/* ── 客户流转(自建)补充样式 ── */
.rmlx-sync { color: #8fa3b8; font-size: 12px; }
.rmlx-ok { background: #f0f9eb; border: 1px solid #c2e7b0; color: #2d8a3e; padding: 8px 12px; border-radius: 6px; font-size: 12.5px; margin-bottom: 12px; }
.rmlx-side-item { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.rmlx-badge { font-style: normal; font-size: 11px; background: rgba(255, 255, 255, .16); color: #e8eef6; border-radius: 9px; padding: 1px 7px; flex: none; }
.rmlx-side-item.on .rmlx-badge { background: rgba(255, 255, 255, .3); color: #fff; }
.rmlx-sub { font-size: 12.5px; color: var(--rm-blue); margin-left: 8px; }
.rm-btn.tiny { padding: 3px 10px; font-size: 12px; }
.rm-btn.danger { border-color: #f5c2c0; color: #ed4014; }
.rm-btn.danger:hover { background: #ed4014; border-color: #ed4014; color: #fff; }
.rm-input.sel { padding: 5px 8px; max-width: 140px; }
.rm-input.sel.wide { max-width: 200px; }
/* 移交销售:可搜索输入框 + 「最近」提示(老板 2026-10-04 23:4x) */
.rm-sales-inp { width: 150px; margin-left: 4px; }
.rm-sales-inp.wide { width: 100%; max-width: 220px; margin-left: 0; }
.rm-last { color: #6b7684; }
.rm-last a { color: var(--rm-blue); cursor: pointer; margin-left: 4px; text-decoration: none; }
.rm-last a:hover { text-decoration: underline; }
/* 已分配客户筛选(老板 2026-10-04 20:24) */
.rm-filter { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; }
.rm-filter label { color: #808695; flex: none; white-space: nowrap; }
.rm-input.rm-date { padding: 4px 8px; width: 136px; font-size: 12px; color: #515a6e; font-family: inherit; }
.rm-tilde { font-style: normal; color: #a0aab5; }
.rm-th-check, .rm-td-check { width: 34px; text-align: center !important; }
.rm-td-check input, .rm-th-check input { cursor: pointer; }
.rm-strong { font-weight: 600; color: #2b3a4a; }
.rm-num { font-variant-numeric: tabular-nums; color: #ed4014; font-weight: 600; }
.rm-product { max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #2b3a4a; }

/* ── 客户详情弹窗(老板 2026-10-04) ── */
.rm-rowlink { cursor: pointer; }
.rm-rowlink:hover td { background: #eef6ff; }
.rm-mask { position: fixed; inset: 0; background: rgba(23, 34, 46, .48); z-index: 3000; display: flex; align-items: flex-start; justify-content: center; padding: 40px 16px; overflow-y: auto; }
.rm-mask.center { align-items: center; z-index: 3100; padding: 20px; }

/* 分配确认弹窗 */
.rm-confirm { width: 100%; max-width: 380px; background: #fff; border-radius: 8px; box-shadow: 0 8px 40px rgba(0, 0, 0, .22); overflow: hidden; }
.rm-confirm.lg { max-width: 640px; }   /* 分配/重新分配弹窗加宽(老板 2026-10-07) */
.rm-confirm-hd { padding: 14px 18px 0; font-size: 14px; font-weight: 650; color: #2b3a4a; }
.rm-confirm-bd { padding: 14px 18px 18px; font-size: 13.5px; color: #515a6e; line-height: 1.7; }
.rm-hl { color: var(--rm-blue); font-weight: 700; }
.rm-confirm-note { margin-top: 8px; padding: 7px 10px; border-radius: 6px; background: #f4f7fb; font-size: 12.5px; color: #6b7684; line-height: 1.6; }
/* 删除类操作:必须手动输入「确认」两个字(老板 2026-10-04 23:3x) */
.rm-danger-tip { margin-top: 10px; padding: 9px 11px; border-radius: 6px; background: #fdecec; border: 1px solid #f8d0cd; font-size: 12.5px; color: #c62828; line-height: 1.6; }
.rm-danger-tip b { color: #b71c1c; }
.rm-danger-tip .rm-input { width: 100%; margin-top: 6px; }
.rm-confirm .rm-btn.danger:disabled { background: #fff; color: #ed4014; opacity: .45; cursor: not-allowed; }
.rm-confirm-ft { display: flex; justify-content: flex-end; gap: 10px; padding: 12px 18px; border-top: 1px solid #eef0f3; background: #fafbfc; }
.rm-modal { width: 100%; max-width: 1080px; background: #fff; border-radius: 8px; box-shadow: 0 8px 40px rgba(0, 0, 0, .22); display: flex; flex-direction: column; overflow: hidden; }
.rm-modal-hd { display: flex; align-items: center; gap: 10px; padding: 13px 18px; background: var(--rm-darker); color: #fff; }
.rm-modal-t { font-size: 15px; font-weight: 650; }
.rm-modal-sub { font-size: 12px; color: #9fb2c6; font-variant-numeric: tabular-nums; }
.rm-modal-x { margin-left: auto; cursor: pointer; font-size: 15px; color: #9fb2c6; padding: 2px 6px; border-radius: 4px; }
.rm-modal-x:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.rm-modal-bd { padding: 14px 18px 4px; max-height: calc(100vh - 220px); overflow-y: auto; }
.rm-modal-ft { display: flex; justify-content: flex-end; gap: 10px; padding: 12px 18px; border-top: 1px solid #eef0f3; background: #fafbfc; }
.rm-modal-err { background: #fff7f0; border: 1px solid #ffd9c0; color: #c05621; padding: 7px 11px; border-radius: 6px; font-size: 12.5px; margin-bottom: 12px; }
.rm-modal-empty { color: #999; font-size: 12.5px; padding: 16px 0; text-align: center; }

.rm-sec { margin-bottom: 16px; }
.rm-sec-t { font-size: 13px; font-weight: 650; color: #2b3a4a; margin-bottom: 9px; padding-left: 9px; border-left: 3px solid var(--rm-blue); line-height: 1.1; }
.rm-lock { font-style: normal; font-size: 11px; font-weight: 400; color: #a0aab5; background: #f0f2f5; border-radius: 3px; padding: 1px 6px; margin-left: 6px; }
.rm-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 18px; background: #fafbfc; border: 1px solid #eef0f3; border-radius: 6px; padding: 12px 14px; }
.rm-f { display: flex; gap: 8px; font-size: 12.5px; align-items: baseline; min-width: 0; }
.rm-f.full { grid-column: 1 / -1; }
.rm-f label { color: #808695; flex: none; min-width: 74px; }
.rm-f > span { color: #2b3a4a; word-break: break-all; }
.rm-tel { font-variant-numeric: tabular-nums; font-weight: 600; }

.rm-logs { border-left: 2px solid #e8eaec; margin-left: 5px; padding-left: 14px; }
.rm-log { position: relative; padding-bottom: 12px; }
.rm-log:last-child { padding-bottom: 2px; }
.rm-log-dot { position: absolute; left: -20px; top: 4px; width: 8px; height: 8px; border-radius: 50%; background: var(--rm-blue); box-shadow: 0 0 0 3px rgba(45, 140, 240, .16); }
.rm-log-a { font-size: 12.5px; color: #2b3a4a; font-weight: 600; }
.rm-log-a em { font-style: normal; font-weight: 400; color: #808695; }
.rm-log-flow { font-weight: 400; color: var(--rm-blue); margin-left: 6px; }
/* 变更明细(备注内容 / 企微变化 / 负责人) */
.rm-log-d { font-size: 12px; color: #515a6e; background: #f7f9fb; border: 1px solid #eef0f3; border-left: 2px solid #d6e4f5; border-radius: 4px; padding: 5px 9px; margin-top: 4px; line-height: 1.5; word-break: break-all; }
/* 备注内容原样展示(蓝绿左条,一眼看出是备注) */
.rm-log-d.is-remark { color: #2b3a4a; background: #f2faf5; border-color: #d8efe1; border-left-color: #19be6b; }
.rm-log-m { display: flex; justify-content: space-between; gap: 12px; font-size: 11.5px; color: #a0aab5; margin-top: 3px; }

.rm-sec-edit .rm-edit { display: flex; flex-direction: column; gap: 12px; }
/* 是否添加企业微信:二选一(老板 2026-10-04 要求,原来是开关按钮) */
.rm-radio { display: inline-flex; gap: 8px; }
.rm-rad { display: inline-flex; align-items: center; gap: 5px; cursor: pointer; font-size: 12.5px; color: #515a6e; border: 1px solid #dcdee2; background: #fff; border-radius: 4px; padding: 4px 14px; transition: all .15s; }
.rm-rad:hover { border-color: var(--rm-blue); color: var(--rm-blue); }
.rm-rad input { cursor: pointer; margin: 0; accent-color: var(--rm-blue); }
.rm-rad.on { border-color: var(--rm-blue); background: #ecf5ff; color: var(--rm-blue); font-weight: 600; }
.rm-textarea { width: 100%; resize: vertical; font-family: inherit; line-height: 1.5; }
/* 共享给销售:选「已添加」才出现的下拉(老板 2026-10-04 22:3x) */
.rm-lab-tip { font-size: 11.5px; font-weight: 400; color: #9aa4b2; margin-left: 6px; }
.rm-sec-edit .rm-f.full .rm-input.sel { max-width: 260px; }

/* 列表里展示 企业微信 / 备注(老板 2026-10-04 要求) */
.rm-wechat { font-size: 11.5px; border-radius: 9px; padding: 1px 8px; white-space: nowrap; }
.rm-wechat.yes { background: #eafaf0; color: #1a9e58; border: 1px solid #c2e7cf; }
.rm-wechat.no { background: #f4f5f7; color: #9aa4b0; border: 1px solid #e8eaec; }
.rm-remark { max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #6b7684; }
/* 合并行的多单角标(老板 2026-10-06:同手机号合并显示所有订单号) */
.rm-merge-tag {
  display: inline-block; margin-left: 6px; font-size: 11px; line-height: 1;
  padding: 2px 6px; border-radius: 8px; background: #fff4e0; color: #b26a00;
  border: 1px solid #f3d9a8; white-space: nowrap;
}

/* 分配弹窗:客服多选(老板 2026-10-06 多选均分) */
.rm-agent-pick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }.rm-agent-item {
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer; user-select: none;
  font-size: 13px; padding: 6px 14px; border-radius: 9px;
  background: #f4f5f7; border: 1px solid #e8eaec; color: #4a5560;
}
.rm-agent-item i { font-style: normal; width: 12px; color: #1a9e58; font-weight: 700; }
.rm-agent-item:hover { border-color: #c8d4e0; }
.rm-agent-item.on { background: #eafaf0; border-color: #1a9e58; color: #14743f; font-weight: 600; }
/* 分配弹窗客服名单:批量勾选工具条 + 分页(老板 2026-10-07) */
.rm-agent-tools { display: flex; align-items: center; gap: 12px; margin-top: 10px; padding: 7px 10px;
  background: #f7f9fb; border: 1px solid #edf0f4; border-radius: 6px; font-size: 12.5px; }
.rm-agent-check { display: flex; align-items: center; gap: 5px; cursor: pointer; color: #3a4a5f;
  font-weight: 600; user-select: none; }
.rm-agent-check input { accent-color: #1a9e58; }
.rm-agent-act { color: #2b6cb0; cursor: pointer; user-select: none; }
.rm-agent-act:hover { text-decoration: underline; }
.rm-agent-sel { color: #14743f; font-weight: 600; }
.rm-agent-pager { display: flex; align-items: center; justify-content: center; gap: 14px;
  margin-top: 10px; font-size: 12.5px; color: #6b7684; }
.rm-agent-pager a { cursor: pointer; padding: 2px 10px; border: 1px solid #dfe5ec; border-radius: 5px;
  color: #3a4a5f; user-select: none; }
.rm-agent-pager a:hover { background: #f2f6fa; }
.rm-agent-pager a.dis { color: #c2cad4; cursor: not-allowed; background: #fafbfc; }
/* 分配弹窗客服列表(老板 2026-10-07):表格 + 今日已分配列 */
.rm-agent-list { margin-top: 10px; max-height: 340px; overflow-y: auto;
  border: 1px solid #e6ebf1; border-radius: 6px; }
.rm-agent-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.rm-agent-table thead th { position: sticky; top: 0; z-index: 1; background: #f7f9fb;
  padding: 8px 12px; text-align: left; font-weight: 600; color: #4a5568;
  border-bottom: 1px solid #e6ebf1; }
.rm-agent-table th.c, .rm-agent-table td.c { width: 36px; text-align: center; }
.rm-agent-table th.r, .rm-agent-table td.r { width: 130px; text-align: right; }
.rm-agent-table tbody td { padding: 7px 12px; border-bottom: 1px solid #f0f3f7; color: #37455a; }
.rm-agent-table tbody tr { cursor: pointer; }
.rm-agent-table tbody tr:hover { background: #f4f8fc; }
.rm-agent-table tbody tr.on { background: #eafaf0; }
.rm-agent-table tbody tr.on td { color: #14743f; font-weight: 600; }
.rm-agent-table tbody tr:last-child td { border-bottom: none; }
.rm-agent-table input[type="checkbox"] { accent-color: #1a9e58; cursor: pointer; }

/* 时间范围选择器(老板 2026-10-07):整框可点,弹日历一次选头尾 */
.rm-drange { position: relative; display: inline-block; }
.rm-drange-box { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px;
  border: 1px solid #dcdee2; border-radius: 6px; background: #fff; cursor: pointer;
  font-size: 12.5px; color: #808695; user-select: none; white-space: nowrap; }
.rm-drange-box.has { color: #2b3a4a; }
.rm-drange-box.on, .rm-drange-box:hover { border-color: #2d8cf0; }
.rm-drange-ico { font-style: normal; font-size: 12px; }
.rm-drange-x { color: #b3bac5; font-size: 14px; line-height: 1; padding: 0 1px; }
.rm-drange-x:hover { color: #ed4014; }
.rm-drange-mask { position: fixed; inset: 0; z-index: 95; background: transparent; }
.rm-drange-pop { position: absolute; top: calc(100% + 6px); left: 0; z-index: 96; display: block;
  width: 500px; padding: 10px 12px 8px; background: #fff; border-radius: 10px;
  border: 1px solid #e6ebf1; box-shadow: 0 10px 34px rgba(31, 45, 61, .18); }
/* 双月并排(老板 2026-10-07):上月+本月,跨月连选 */
.rm-drange-cals { display: flex; gap: 14px; }
.rm-drange-cal { flex: 1; min-width: 0; display: block; }
.rm-drange-hd { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.rm-drange-hd i { width: 26px; }
.rm-drange-hd b { font-size: 13px; color: #2b3a4a; }
.rm-drange-hd a { cursor: pointer; padding: 2px 10px; border-radius: 5px; color: #4a5568; font-size: 14px; }
.rm-drange-hd a:hover { background: #f2f6fa; }
.rm-drange-wk { display: grid; grid-template-columns: repeat(7, 1fr); margin-bottom: 2px; }
.rm-drange-wk i { font-style: normal; text-align: center; font-size: 11px; color: #9aa4b2; padding: 2px 0; }
.rm-drange-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 1px; }
.rm-drange-grid a, .rm-drange-grid .emp { display: block; text-align: center; font-size: 12px;
  padding: 5px 0; border-radius: 5px; color: #37455a; cursor: pointer; user-select: none; }
.rm-drange-grid .emp { cursor: default; }
.rm-drange-grid a:hover { background: #eaf3fd; }
.rm-drange-grid a.in { background: #e8f3ff; color: #2d6fb5; border-radius: 0; }
.rm-drange-grid a.wait { background: #f4f8fc; border-radius: 0; }
.rm-drange-grid a.sel { background: #2d8cf0; color: #fff; font-weight: 600; }
.rm-drange-tip { display: block; margin-top: 6px; font-size: 11px; color: #9aa4b2; text-align: center; }
.rm-drange-time { display: flex; align-items: center; gap: 5px; margin-top: 8px; padding-top: 8px;
  border-top: 1px dashed #edf0f4; font-size: 11.5px; color: #6b7684; }
.rm-drange-time input { flex: 1; min-width: 0; border: 1px solid #dcdee2; border-radius: 5px;
  padding: 3px 4px; font-size: 11.5px; color: #2b3a4a; }
.rm-drange-ft { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.rm-drange-clear { font-size: 12px; color: #9aa4b2; cursor: pointer; }
.rm-drange-clear:hover { color: #ed4014; }

@media (max-width: 640px) {
  .rm-mask { padding: 0; }
  .rm-mask.center { padding: 20px; align-items: center; }
  .rm-modal { max-width: none; min-height: 100vh; border-radius: 0; }
  .rm-modal-bd { max-height: none; }
  .rm-grid { grid-template-columns: 1fr; }
  .rm-f label { min-width: 68px; }
  /* 底部操作条手机上换行:按钮/客服名单独一行,分页另起一行 */
  .rm-bottom { align-items: flex-start; }
  .rm-bottom-left { width: 100%; }
  .rm-bottom-left .rm-btn { flex: 1 1 auto; }
  .rm-bottom-left .rm-input.sel { max-width: none; flex: 1 1 120px; }
  .rm-bottom .rm-pager { margin-left: 0; padding-top: 6px; justify-content: flex-start; flex-wrap: wrap; gap: 8px; }
}
