/* ==========================================================================
   移动端（B 端 APP）· 租房业务页面样式
   配色沿用武汉安居红（#E53935），组件按系统截图 1:1 还原
   ========================================================================== */

/* ---------- 头部：红色渐变（列表/数据页）与白色（表单页）两套 ---------- */
#page-m-biz .phone-body { background: #f4f5f7; padding: 10px 12px 16px; }
#page-m-biz .phone-screen.mb-red .phone-statusbar,
#page-m-biz .phone-screen.mb-red .phone-header { background: linear-gradient(135deg, #e53935 0%, #f0542c 60%, #ff6d00 100%); }
#page-m-biz .phone-screen:not(.mb-red) .phone-statusbar { background: #fff; color: #1a1a1a; }
#page-m-biz .phone-screen:not(.mb-red) .phone-statusbar svg rect,
#page-m-biz .phone-screen:not(.mb-red) .phone-statusbar svg path { fill: #1a1a1a; stroke: #1a1a1a; }
#page-m-biz .phone-screen:not(.mb-red) .phone-statusbar svg circle { fill: #1a1a1a; }
#page-m-biz .phone-screen:not(.mb-red) .phone-header { background: #fff; border-bottom: 1px solid #f0f0f0; }
#page-m-biz .phone-screen:not(.mb-red) .phone-header .ph-title { color: #1a1a1a; }
#page-m-biz .phone-screen:not(.mb-red) .phone-header .ph-back { color: #1a1a1a; }
#page-m-biz .phone-header .ph-back { font-size: 26px; line-height: 1; color: #fff; font-weight: 400; }

.mb { font-size: 13px; color: #212121; line-height: 1.5; }
/* 吸底按钮 / 悬浮按钮会盖住滚动区最后一屏，用内层占位保证内容完整可达
   （.mb-fab 距底 96px + 高 44px，故占位需越过 140px） */
.mb-body.has-foot .mb { padding-bottom: 78px; }
.mb-body.has-fab .mb { padding-bottom: calc(96px + 44px); }
.mb i { font-style: normal; }

/* ---------- 通用图标 ---------- */
.mb .mb-i, .mb-i { display: block; flex-shrink: 0; }

/* ---------- 搜索行（截图 65 / 70 / 71：灰底胶囊输入框 + 纯文字「搜索」） ---------- */
.mb-search { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 10px; padding: 8px 10px; margin-bottom: 8px; }
.mb-search-pill { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 6px; background: #f4f5f7; border-radius: 16px; padding: 7px 12px; }
.mb-search .mb-ic { color: #9e9e9e; display: flex; }
.mb-search-in { flex: 1; min-width: 0; border: none; outline: none; font-size: 13px; background: transparent; color: #212121; }
.mb-search-in::placeholder { color: #b6bac1; }
.mb-search-btn { border: none; background: transparent; color: #212121; font-size: 14px; padding: 0; cursor: pointer; flex-shrink: 0; }

/* ---------- 项目 / 时间筛选行（截图 70 / 71：白底描边框） ---------- */
.mb-filter { display: flex; gap: 8px; margin-bottom: 8px; }
.mb-fsel { flex: 0 0 auto; display: flex; align-items: center; gap: 4px; background: #fff; border: 1px solid #ebedf0; border-radius: 6px; padding: 8px 10px; font-size: 12.5px; color: #212121; max-width: 100%; }
.mb-fsel.grow { flex: 1 1 auto; min-width: 0; }
.mb-fsel span, .mb-fsel { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mb-fsel span.ph { color: #b6bac1; }
.mb-fsel i { margin-left: auto; color: #b6bac1; display: flex; }
.mb-fsel.act { color: #e53935; }

/* ---------- 一级 / 二级 tab（截图全部为下划线式，选中红色 + 短横线） ---------- */
.mb-tabs { display: flex; gap: 18px; background: #fff; border-radius: 10px; padding: 0 12px; margin-bottom: 8px; overflow-x: auto; scrollbar-width: none; }
.mb-tabs::-webkit-scrollbar { display: none; }
.mb-tab { flex: 0 0 auto; position: relative; text-align: center; font-size: 14px; color: #424242; padding: 11px 0 12px; cursor: pointer; white-space: nowrap; }
.mb-tab.on { color: #e53935; font-weight: 600; }
.mb-tab.on::after { content: ''; position: absolute; left: 50%; bottom: 2px; transform: translateX(-50%); width: 22px; height: 2.5px; border-radius: 2px; background: #e53935; }
.mb-tabs.sub { padding: 0 12px; }
.mb-tabs.sub .mb-tab { font-size: 13px; padding: 8px 0 9px; }
.mb-tabs.plain { gap: 20px; }
/* 列表页顶部白色带：搜索 + 筛选 + tab 同处一块通铺白底（截图 70 / 85 / 93 / 95） */
.mb-wband { margin: -10px -12px 8px; padding: 6px 12px 0; background: #fff; }
.mb-wband .mb-search { background: transparent; padding: 8px 0 0; margin-bottom: 10px; }
.mb-wband .mb-filter { margin-bottom: 12px; }
.mb-wband .mb-tabs { background: transparent; border-radius: 0; padding: 0 12px; margin: 0 -12px; }

/* 等分满宽 tab（预约管理 / 预约排队，截图 75、76） */
.mb-tabs.equal { gap: 0; border-radius: 0; padding: 0; margin: 0 -12px 8px; }
.mb-tabs.equal .mb-tab { flex: 1 1 0; font-size: 15px; padding: 13px 0 14px; }
.mb-tabs.equal .mb-tab.on::after { left: 0; right: 0; width: auto; transform: none; height: 3px; bottom: 0; border-radius: 0; }
/* 凸起页签 tab（数据分析，截图 66）：粉底 + 选中项凸起为白色卡片并与下方内容连成一片 */
.mb-tabs.notch { gap: 0; margin: -10px -12px 0; padding: 0; border-radius: 0; background: #fbeaea; overflow: visible; }
.mb-tabs.notch .mb-tab { flex: 1 1 0; font-size: 14.5px; color: #5f5f5f; padding: 13px 0; }
.mb-tabs.notch .mb-tab.on { background: #fff; color: #212121; font-weight: 600; font-size: 15.5px; border-radius: 11px 11px 0 0; }
.mb-tabs.notch .mb-tab.on::after { display: none; }

/* ---------- 卡片 ---------- */
.mb-card { background: #fff; border-radius: 10px; padding: 10px 12px; margin-bottom: 8px; box-shadow: 0 1px 3px rgba(0, 0, 0, .03); }
.mb-card-h { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: #212121; padding-bottom: 6px; }
.mb-card-h > b { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mb-card.tap { cursor: pointer; }
/* 卡片底部行：左时间 + 右动作（截图 65 / 81 / 73） */
.mb-card-ft { display: flex; align-items: center; gap: 8px; border-top: 1px solid #f2f3f5; margin-top: 6px; padding-top: 8px; }
.mb-card-ft > span { flex: 1 1 auto; min-width: 0; font-size: 11.5px; color: #9e9e9e; }
.mb-card-ft > .mb-pill { flex: 0 0 auto; }
.mb-card.mb-row { padding: 11px 12px; }

/* ---------- 键值行 ---------- */
.mb-kv { display: flex; align-items: baseline; gap: 8px; font-size: 12px; padding: 2.5px 0; }
.mb-kv > label { color: #757575; flex-shrink: 0; min-width: 56px; }
.mb-kv > label::after { content: '：'; }
.mb-kv > span { color: #424242; flex: 1 1 auto; min-width: 0; word-break: break-all; }
.mb-kv > span.amt { color: #e53935; font-weight: 600; font-size: 13px; }
.mb-kv > span.neg { color: #1a73e8; font-weight: 600; }
/* 灰底信息块：合同列表 / 问题投诉列表（截图 73 / 79） */
.mb-kvbox { background: #f7f8fa; border-radius: 8px; padding: 8px 10px; margin: 4px 0 8px; }
.mb-kvi { display: flex; align-items: baseline; gap: 6px; font-size: 12px; padding: 3px 0; }
.mb-kvi > label { color: #757575; flex-shrink: 0; }
.mb-kvi > label::after { content: '：'; }
.mb-kvi > span { color: #424242; flex: 1 1 auto; min-width: 0; word-break: break-all; }
.mb-kvi.right > span { text-align: right; }
.mb-kvi > span.amt { color: #e53935; font-weight: 600; }
/* 状态纯文本（工单列表右上角无底色） */
.mb-st { font-size: 12px; font-weight: 400; color: #212121; flex-shrink: 0; }
.mb-st.warn { color: #f57c00; }

.mb-link { display: flex; align-items: center; font-size: 12px; color: #424242; padding: 6px 0; border-top: 1px solid #f5f5f5; }
.mb-link > span { flex: 1 1 auto; min-width: 0; }
.mb-link i { margin-left: auto; color: #b6bac1; display: flex; }

/* ---------- 状态胶囊（截图 70 / 71 / 73：带圆形小图标） ---------- */
.mb-pill { display: inline-flex; align-items: center; gap: 3px; font-size: 11px; line-height: 1; padding: 4px 7px; border-radius: 4px; white-space: nowrap; flex-shrink: 0; }
.mb-pill svg { width: 11px; height: 11px; flex-shrink: 0; }
.mb-pill.red { background: #fdecec; color: #e53935; }
.mb-pill.orange { background: #fff3e0; color: #f57c00; }
.mb-pill.green { background: #e8f5e9; color: #2e9c46; }
.mb-pill.blue { background: #e8f1fd; color: #1677ff; }
.mb-pill.gray { background: #f2f3f5; color: #7d848c; }
/* 企业租赁合同状态：白底红字描边胶囊（截图 91） */
.mb-pill.line { flex: 0 0 auto; background: #fff; border: 0.8px solid #e53935; color: #e53935; font-size: 13px; line-height: 1.2; padding: 5px 12px; border-radius: 5px; }

/* ---------- 空态 ---------- */
.mb-empty { text-align: center; padding: 46px 0 30px; color: #9e9e9e; font-size: 12.5px; }
.mb-empty svg { display: block; margin: 0 auto 10px; }
.mb-empty em { font-style: normal; }

/* ---------- 金额概览 / 统计 ---------- */
.mb-hero { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 10px; padding: 12px; margin-bottom: 8px; }
.mb-hero-l { flex: 1 1 auto; min-width: 0; }
.mb-hero-l em { display: block; font-style: normal; font-size: 12px; color: #757575; margin-bottom: 4px; }
.mb-hero-l b { font-size: 21px; color: #e53935; letter-spacing: .3px; }
.mb-hero-r { width: 96px; height: 34px; flex-shrink: 0; color: #e53935; }
.mb-spark { width: 100%; height: 100%; display: block; }
.mb-trio { display: flex; background: #fff; border-radius: 10px; padding: 12px 0; margin-bottom: 8px; }
.mb-trio-c { flex: 1 1 0; min-width: 0; text-align: center; border-right: 1px solid #f2f3f5; }
.mb-trio-c:last-child { border-right: none; }
.mb-trio-c b { display: block; font-size: 15px; color: #212121; word-break: break-all; }
.mb-trio-c b.zero { color: #9e9e9e; }
.mb-trio-c em { display: block; font-style: normal; font-size: 11px; color: #757575; margin-top: 4px; padding: 0 6px; }

/* 预约管理：红色头部向下延伸到统计卡（截图 75） */
.mb-rband { margin: -10px -12px 8px; padding: 2px 12px 12px; background: linear-gradient(160deg, #e0413c, #ef5a2e 60%, #ff6d00); }
.mb-rband .mb-search, .mb-rband .mb-trio { background: transparent; }
.mb-rband .mb-search { padding: 6px 0 0; margin-bottom: 10px; }
.mb-rband .mb-search-pill { background: #fff; }
.mb-rband .mb-search-btn { color: #fff; }
.mb-rband .mb-fsel { background: transparent; border-color: rgba(255, 255, 255, .8); color: #fff; padding: 9px 10px; }
.mb-rband .mb-fsel span.ph { color: rgba(255, 255, 255, .92); }
.mb-rband .mb-fsel i { color: #fff; }
.mb-rband .mb-hero { background: transparent; padding: 12px 0 6px; margin-bottom: 2px; }
.mb-rband .mb-hero-l em { color: rgba(255, 255, 255, .95); font-size: 13px; }
.mb-rband .mb-hero-l b { color: #fff; font-size: 27px; }
.mb-rband .mb-hero-r { color: #fff; }
.mb-rband .mb-trio { padding: 0; margin-bottom: 0; }
.mb-rband .mb-trio-c { border-right: none; }
.mb-rband .mb-trio-c b { color: #fff; font-size: 17px; }
.mb-rband .mb-trio-c em { color: rgba(255, 255, 255, .95); font-size: 11.5px; margin-top: 2px; }
.mb-coin { display: inline-flex; align-items: center; justify-content: center; width: 15px; height: 15px; margin-left: 5px; border-radius: 50%; background: linear-gradient(135deg, #ffd54f, #f9a825); color: #9c6500; font-size: 10px; font-style: normal; font-weight: 700; vertical-align: 1px; }
.mb-trio.on-red { background: rgba(255, 255, 255, .16); margin-bottom: 0; }
.mb-trio.on-red .mb-trio-c { border-right-color: rgba(255, 255, 255, .22); display: flex; flex-direction: column-reverse; }
.mb-trio.on-red b { font-size: 25px; color: #fff; margin-top: 5px; }
.mb-trio.on-red em { font-size: 12.5px; color: rgba(255, 255, 255, .88); }

/* 订单卡：项目 + 门牌 / 费项行（状态胶囊居中、金额靠右）/ 两行脚注（截图 83） */
.mb-ord { padding: 12px; }
.mb-ord-t { display: flex; align-items: baseline; gap: 8px; padding-bottom: 4px; }
.mb-ord-t > b { font-size: 15.5px; color: #212121; }
.mb-ord .mb-lrow { font-size: 14px; color: #212121; padding: 9px 0; border-bottom: none; }
.mb-ord .mb-lrow > span { flex: 0 0 32%; }
.mb-ord .mb-lrow > b { margin-left: auto; font-size: 15px; }
.mb-ord-f { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; border-top: 1px solid #f2f3f5; margin-top: 6px; padding-top: 10px; font-size: 13.5px; color: #9e9e9e; }
.mb-ord-f > em { font-style: normal; font-size: 12.5px; }

/* 预约卡：头像 + 微信昵称 + 手机号 + 状态，分隔线下房间行与受理按钮 */
.mb-bk-h { display: flex; align-items: center; gap: 10px; padding-bottom: 11px; border-bottom: 1px solid #f2f3f5; }
.mb-bk-h .mb-cu-av { width: 46px; height: 46px; background: #f2f3f5; color: #c4c8cf; }
.mb-bk-h .mb-cu-av > svg { width: 26px; height: 26px; }
.mb-bk-h .mb-cu-main > b { font-size: 15px; color: #212121; font-weight: 600; }
.mb-bk-p { display: flex; align-items: center; gap: 5px; font-size: 13px; color: #757575; margin-top: 4px; }
.mb-bk-p svg { width: 14px; height: 14px; color: #b6bac1; flex-shrink: 0; }
.mb-bk-f { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 11px; }
.mb-bk-f > b { font-size: 15px; color: #212121; flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mb-bk-btn { flex-shrink: 0; border: none; background: #c62828; color: #fff; font-size: 12.5px; line-height: 1; padding: 8px 13px; border-radius: 5px; cursor: pointer; }
.mb-sec-t { font-size: 16px; font-weight: 600; color: #212121; margin: 0 0 10px; }

/* ---------- 表单 ---------- */
.mb-frow { display: flex; align-items: flex-start; gap: 10px; padding: 9px 0; border-bottom: 1px solid #f7f7f7; }
.mb-frow:last-child { border-bottom: none; }
/* 小节标题在卡片内、下方一条通栏细线，无红色竖条（截图 64 / 69 / 84） */
.mb-fsec { margin-bottom: 10px; padding: 0 14px; }
.mb-fsec-t { font-size: 15.5px; font-weight: 600; color: #212121; padding: 15px 0 13px; border-bottom: 1px solid #ebedf0; display: flex; align-items: center; gap: 6px; }
.mb-fsec-t > b { flex: 1 1 auto; min-width: 0; font-weight: inherit; }
/* 仅有标题的空卡（转租单「原合同结算信息」未创建时，截图 84 / 94）不画细线 */
.mb-fsec-t:last-child { border-bottom: none; padding-bottom: 15px; }
.mb-fsec .mb-frow { padding: 12px 0; border-bottom: none; }
.mb-fsec .mb-frow > label { font-size: 14px; }
/* 输入域 / 单选项 / 上传这类成组控件下方才有一条细线，纯选择行之间无分隔线 */
.mb-fsec .mb-frow:not(:last-child):has(.mb-ta-wrap), .mb-fsec .mb-frow:not(:last-child):has(.mb-radios), .mb-fsec .mb-frow:not(:last-child):has(.mb-up) { border-bottom: 1px solid #ebedf0; }
/* 标题移到灰底上的分组卡（我的合同，截图 86）：首行自带上下留白 */
.mb-fsec.no-t > .mb-frow:first-child { padding-top: 14px; }
.mb-fsec.no-t > .mb-fg-t:first-child { margin-top: 14px; }
.mb-fsec.no-t > .mb-frow:last-child { padding-bottom: 14px; }
.mb-frow > label { width: 86px; flex-shrink: 0; font-size: 12.5px; color: #212121; line-height: 30px; }
.mb-frow.req > label::before { content: '*'; color: #e53935; margin-right: 2px; }
/* 标签独占一行（问题描述 / 上传图片，截图 72 / 80） */
.mb-frow.block { display: block; }
.mb-frow.block > label { display: block; width: auto; line-height: 1.4; padding-bottom: 4px; }
/* 报事报修 / 保洁工单表单：星号跟在标签后（截图 64 / 80） */
.mb-star-after .mb-frow.req > label::before { content: none; }
.mb-star-after .mb-frow.req > label::after { content: ' *'; color: #e53935; }
.mb-fc { flex: 1 1 auto; min-width: 0; }
/* 分组标题在灰底上 + 一行一张白卡（生成合约 / 我的合同，截图 78 / 86 / 88） */
.mb-gtitle { display: flex; align-items: center; gap: 6px; padding: 4px 2px 8px; }
.mb-gtitle > b { flex: 1 1 auto; min-width: 0; font-size: 16px; font-weight: 600; color: #212121; }
.mb-crow { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; margin-bottom: 8px; }
.mb-crow > label { flex-shrink: 0; font-size: 14px; color: #212121; line-height: 30px; }
.mb-crow.req > label::before { content: '*'; color: #e53935; margin-right: 2px; }
.mb-crow.hd > label { font-size: 15.5px; font-weight: 600; }
.mb-crow .mb-pick { font-size: 14px; }
/* 控件区靠右：截图 78 合同模板「选择」、截图 90 房间选择 / 房间信息 */
.mb-crow > .mb-fc { display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.mb-crow > .mb-fc > .mb-pick { flex: 1 1 auto; }
.mb-crow > .mb-fc > .mb-btn-sm { line-height: 30px; }
.mb-vred { color: #e53935 !important; }
.mb-in { width: 100%; box-sizing: border-box; border: none; outline: none; font-size: 13px; padding: 6px 0; background: transparent; color: #212121; text-align: right; }
.mb-in::placeholder { color: #b6bac1; }
/* 截图 72：投诉人 / 手机号为带描边的输入框，值左对齐 */
.mb-in.box { border: 1px solid #ebedf0; border-radius: 6px; background: #fff; padding: 8px 10px; text-align: left; }
.mb-in.box::placeholder { color: #b6bac1; }
.mb-pick { display: flex; align-items: center; min-height: 30px; font-size: 13px; color: #212121; cursor: pointer; }
.mb-pick span { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: right; }
.mb-pick span.ph { color: #b6bac1; }
.mb-pick i { margin-left: 6px; color: #b6bac1; display: flex; }
.mb-ta-wrap { position: relative; }
.mb-ta { width: 100%; box-sizing: border-box; min-height: 74px; border: 1px solid #eee; border-radius: 6px; padding: 8px 9px 20px; font-size: 13px; outline: none; resize: none; color: #212121; background: #fff; }
/* 报事报修 / 保洁工单的问题描述为灰底无边框（截图 80） */
.mb-ta.fill { background: #f7f8fa; border-color: transparent; }
.mb-count { position: absolute; right: 8px; bottom: 7px; font-size: 11px; color: #b6bac1; }
.mb-radios { display: flex; flex-wrap: wrap; gap: 8px 14px; padding: 5px 0; }
.mb-radio { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; color: #424242; cursor: pointer; }
.mb-radio > i { width: 14px; height: 14px; border-radius: 50%; border: 1px solid #c8ccd1; box-sizing: border-box; position: relative; }
.mb-radio.on { color: #e53935; }
.mb-radio.on > i { border-color: #e53935; }
.mb-radio.on > i::after { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: #e53935; }

/* 费项分组小标题（周期性 / 一次性 / 走表类） */
.mb-fg-t { display: block; font-size: 12px; color: #757575; margin: 10px 0 2px; }
.mb-fg-t:first-child { margin-top: 0; }

/* 「我的合同」（截图 86）：标签较长且可换行，输入控件渲染为灰底字段框、值左对齐，开关靠最右 */
.mb-long .mb-frow > label { width: 100px; font-size: 12px; line-height: 1.35; padding-top: 8px; }
.mb-long .mb-frow { align-items: stretch; }
.mb-long .mb-frow > .mb-fc > .mb-in,
.mb-long .mb-frow > .mb-fc > .mb-numwrap,
.mb-long .mb-frow > .mb-fc > .mb-pick { background: #f7f8fa; border-radius: 6px; min-height: 32px; }
.mb-long .mb-frow > .mb-fc > .mb-in { text-align: left; padding: 6px 9px; }
.mb-long .mb-frow > .mb-fc > .mb-numwrap { padding: 0 9px; }
.mb-long .mb-frow > .mb-fc > .mb-numwrap > .mb-in { text-align: left; }
.mb-long .mb-frow > .mb-fc > .mb-pick { padding: 6px 9px; }
.mb-long .mb-frow > .mb-fc > .mb-pick > span { text-align: left; }
/* 空日期控件不显示原生占位，用叠加文案对齐截图 86 的「请选择」 */
.mb-datew { position: relative; flex: 1 1 auto; min-width: 0; background: #f7f8fa; border-radius: 6px; }
.mb-datew > .mb-in { position: relative; z-index: 1; height: 32px; padding: 6px 9px; }
.mb-datew > em { position: absolute; left: 9px; top: 50%; transform: translateY(-50%); font-style: normal; font-size: 13px; color: #b6bac1; pointer-events: none; }
.mb-long .mb-fc.sw { display: flex; align-items: center; justify-content: flex-end; }

/* 表单内只读回显值（随上一步选择自动带出，不可编辑） */
.mb-ro { font-size: 13px; color: #212121; line-height: 30px; word-break: break-all; }
.mb-ro.ph { color: #b6bac1; }

/* 蓝色开关：截图中「我的合同」费项设置的开关为蓝色，与主题红区分 */
.mb-sw2 { display: inline-block; width: 38px; height: 21px; border-radius: 11px; background: #dcdfe6; position: relative; vertical-align: middle; cursor: pointer; transition: background .18s; }
.mb-sw2::after { content: ''; position: absolute; top: 2px; left: 2px; width: 17px; height: 17px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .22); transition: left .18s; }
.mb-sw2.on { background: #1677ff; }
.mb-sw2.on::after { left: 19px; }

/* 带单位后缀的数值输入（__ %账单金额 / 元/吨） */
.mb-numwrap { display: flex; align-items: center; gap: 6px; }
.mb-numwrap > span { font-size: 12px; color: #757575; flex-shrink: 0; }

/* 小节标题 / 表单行内的蓝色动作（选择、创建、查看、生成合约） */
.mb-btn-sm { font-style: normal; font-size: 14px; line-height: 1.4; color: #1677ff; cursor: pointer; white-space: nowrap; flex-shrink: 0; }
.mb-fsec-t > .mb-btn-sm { margin-left: auto; }

/* ---------- 图片上传 ---------- */
.mb-up { display: flex; flex-wrap: wrap; gap: 8px; padding: 4px 0; }
.mb-up-img { position: relative; width: 62px; height: 62px; border-radius: 6px; overflow: hidden; }
.mb-up-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mb-up-del { position: absolute; top: -1px; right: -1px; width: 18px; height: 18px; line-height: 17px; text-align: center; background: rgba(0, 0, 0, .5); color: #fff; border-radius: 0 6px 0 6px; cursor: pointer; }
.mb-up-add { width: 62px; height: 62px; border-radius: 8px; background: #f4f5f7; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: #9e9e9e; cursor: pointer; }
.mb-up-add svg { color: #b6bac1; }
.mb-up-add em { font-size: 10px; font-style: normal; }

/* ---------- 底部操作条 ---------- */
.mb-foot { position: absolute; left: 0; right: 0; bottom: 0; display: flex; gap: 10px; padding: 10px 14px 22px; background: #fff; border-top: 1px solid #f0f0f0; z-index: 20; }
.mb-btn { flex: 1 1 0; min-width: 0; height: 40px; border: none; border-radius: 8px; background: #e53935; color: #fff; font-size: 15px; cursor: pointer; }
.mb-btn.ghost { background: #fff; color: #61666d; border: 1px solid #e0e0e0; }
.mb-btn:disabled { opacity: .55; cursor: not-allowed; }

/* ---------- 悬浮「工作台」（截图：红色圆球内 图标 + 文字 上下排列） ---------- */
.mb-fab { position: absolute; right: 14px; bottom: 96px; width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, #e53935, #f0542c); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; box-shadow: 0 4px 12px rgba(229, 57, 53, .38); cursor: pointer; z-index: 18; }
.mb-fab > svg { width: 15px; height: 15px; }
.mb-fab > em { font-style: normal; font-size: 9px; line-height: 1.1; letter-spacing: .2px; }

/* ---------- 底部选择器 / 居中弹窗 ---------- */
.mb-mask { position: absolute; inset: 0; background: rgba(0, 0, 0, .45); display: flex; align-items: flex-end; z-index: 40; border-radius: 36px; overflow: hidden; }
.mb-sheet { width: 100%; background: #fff; border-radius: 14px 14px 0 0; padding-bottom: 18px; max-height: 78%; display: flex; flex-direction: column; }
.mb-sheet-h { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-bottom: 1px solid #f2f2f2; font-size: 13px; color: #61666d; flex-shrink: 0; }
.mb-sheet-h b { font-size: 14px; color: #212121; font-weight: 600; }
.mb-sheet-h .ok { color: #e53935; }
.mb-wheel-wrap { flex: 1 1 0; min-width: 0; overflow: hidden; position: relative; }
.mb-wheel-t { display: block; text-align: center; font-size: 11px; color: #9e9e9e; padding: 8px 0 0; }
.mb-wheel { list-style: none; margin: 0; padding: 54px 0; text-align: center; transition: transform .18s ease; }
.mb-wheel li { height: 36px; line-height: 36px; font-size: 13px; color: #9e9e9e; cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 0 8px; }
.mb-wheel li.near { color: #61666d; }
.mb-wheel li.on { color: #212121; font-weight: 600; font-size: 14.5px; }
.mb-wheel-wrap::after { content: ''; position: absolute; left: 12px; right: 12px; top: 50%; height: 36px; margin-top: -18px; border-top: 1px solid #f0f0f0; border-bottom: 1px solid #f0f0f0; pointer-events: none; }
.mb-dialog { width: 78%; margin: auto; background: #fff; border-radius: 12px; overflow: hidden; align-self: center; }
.mb-dialog-t { font-size: 15px; font-weight: 600; text-align: center; padding: 16px 14px 8px; color: #212121; }
.mb-dialog-b { font-size: 13px; color: #424242; padding: 0 16px 14px; max-height: 46vh; overflow-y: auto; line-height: 1.7; }
.mb-dialog-f { display: flex; border-top: 1px solid #f2f2f2; }
.mb-dialog-f button { flex: 1 1 0; height: 44px; border: none; background: #fff; font-size: 14px; color: #61666d; cursor: pointer; border-right: 1px solid #f2f2f2; }
.mb-dialog-f button:last-child { border-right: none; color: #e53935; font-weight: 600; }

/* ---------- 说明 / 提示 / 预警文案 ---------- */
.mb-note { font-size: 11.5px; color: #9e9e9e; line-height: 1.6; padding: 2px 3px 10px; }
.mb-tip { font-size: 11.5px; color: #f57c00; background: #fff7e6; border-radius: 6px; padding: 6px 9px; margin-bottom: 8px; line-height: 1.5; }
.mb-warn { font-size: 11.5px; color: #e53935; background: #fdecec; border-radius: 6px; padding: 7px 9px; margin-top: 8px; line-height: 1.5; }
.mb-desc { font-size: 12px; color: #61666d; line-height: 1.6; background: #fafbfc; border-radius: 6px; padding: 6px 8px; margin: 2px 0 8px; word-break: break-all; }

/* ---------- 行内小控件：复制 / 删除 / 小按钮 ---------- */
.mb-copy { display: inline-flex; align-items: center; gap: 2px; margin-left: 6px; font-size: 11px; color: #1677ff; font-style: normal; cursor: pointer; vertical-align: middle; }
.mb-copy::before { content: '|'; color: #e0e0e0; margin-right: 4px; font-weight: 400; }
.mb-copy i { display: flex; }
/* 合约列表的红色复制图标（截图 79 / 86，无文字、无边框） */
.mb-copy-i { display: inline-flex; align-items: center; color: #1677ff; cursor: pointer; font-style: normal; flex-shrink: 0; }
.mb-copy-i.red { color: #e53935; }
/* 卡片内纯文本描述（截图 73 / 81：无底色、无标签） */
.mb-plain { font-size: 12.5px; color: #212121; line-height: 1.6; padding: 2px 0 6px; word-break: break-all; }
.mb-del { flex-shrink: 0; width: 18px; height: 18px; line-height: 17px; text-align: center; border: 1px solid #e0e0e0; border-radius: 50%; color: #9e9e9e; font-size: 13px; font-style: normal; cursor: pointer; }
.mb-del:hover { color: #e53935; border-color: #f3b6b6; }
.mb-mini { flex-shrink: 0; border: 1px solid #e53935; color: #e53935; background: #fff; font-size: 11.5px; line-height: 1; padding: 6px 10px; border-radius: 5px; cursor: pointer; }
.mb-mini:disabled { opacity: .5; cursor: not-allowed; }

/* ---------- 卡片内操作按钮组（截图 65 / 81：统一红色描边） ---------- */
.mb-acts { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; align-items: center; }
.mb-ab { border: 1px solid #e53935; background: #fff; color: #e53935; font-size: 12px; line-height: 1; padding: 7px 11px; border-radius: 5px; cursor: pointer; }
.mb-ab.pri { font-weight: 600; }
.mb-ab.ghost { border-color: #e0e0e0; color: #61666d; }

/* ---------- 添加行（生成合约的「+选择房源 / +选择客户」，截图 78 / 86 / 88） ---------- */
.mb-add-line { display: flex; align-items: center; justify-content: center; gap: 2px; border: 1px solid #43a047; border-radius: 8px; background: #fff; color: #43a047; font-size: 15px; padding: 14px 0; margin-bottom: 8px; cursor: pointer; }
.mb-add-line i { display: flex; color: #43a047; }
/* 纯文字红字添加行（截图 64「+ 关联房间」） */
.mb-add-line.txt { border: none; background: transparent; color: #e53935; font-size: 12.5px; font-weight: 500; padding: 12px 0 4px; }
.mb-add-room { display: block; width: 100%; box-sizing: border-box; border: 1px dashed #d8dbe0; border-radius: 8px; background: #fafbfc; color: #e53935; font-size: 12.5px; text-align: center; padding: 9px 0; margin: 2px 0 8px; cursor: pointer; }

/* ---------- 订单卡：费项行 + 卡片脚 ---------- */
.mb-card-h .mb-room { flex: 0 1 auto; min-width: 0; font-size: 11.5px; font-weight: 400; color: #e53935; background: #fdecec; border-radius: 4px; padding: 3px 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mb-lrow { display: flex; align-items: center; gap: 7px; font-size: 12px; color: #424242; padding: 6px 0; border-bottom: 1px dashed #f5f5f5; }
.mb-lrow > span { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mb-lrow > b { flex-shrink: 0; font-weight: 600; color: #212121; font-variant-numeric: tabular-nums; }
.mb-lrow > i { flex-shrink: 0; color: #b6bac1; display: flex; }
.mb-card-f { display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: #9e9e9e; padding-top: 7px; margin-top: 2px; border-top: 1px solid #f5f5f5; }
.mb-card-f > span { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mb-card-f > em { flex-shrink: 0; font-style: normal; }

/* ---------- 退款记录卡 ---------- */
/* 退款记录卡片：左侧房源图 + 右侧项目/房间/应退/时间与状态（截图 71） */
.mb-rf { display: flex; align-items: flex-start; gap: 10px; }
.mb-rf-img { flex-shrink: 0; width: 96px; height: 72px; border-radius: 6px; background: #f4f5f7; color: #b6bac1; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.mb-rf-img svg { width: 26px; height: 26px; }
.mb-rf-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mb-rf-info { flex: 1 1 auto; min-width: 0; }
.mb-rf-info > b { display: block; font-size: 14px; color: #212121; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mb-rf-info > span { display: block; font-size: 12.5px; color: #757575; margin-top: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mb-rf-info > em { display: block; font-style: normal; font-size: 13.5px; color: #e53935; font-weight: 600; margin-top: 6px; }
.mb-rf-ft { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 6px; }
.mb-rf-ft > span { font-size: 12px; color: #9e9e9e; }

/* ---------- 弹窗内小标题 / 描述 / 时间轴 ---------- */
.mb-dlg-t { font-size: 12.5px; font-weight: 600; color: #212121; margin: 10px 0 6px; padding-left: 7px; border-left: 2px solid #e53935; }
.mb-dlg-desc { font-size: 12px; color: #757575; background: #fafbfc; border-radius: 6px; padding: 7px 9px; margin-top: 4px; line-height: 1.6; word-break: break-all; }
.mb-tl { list-style: none; margin: 0; padding: 0 0 0 4px; }
.mb-tl li { position: relative; padding: 0 0 12px 16px; border-left: 1px solid #eceff3; }
.mb-tl li:last-child { border-left-color: transparent; padding-bottom: 2px; }
.mb-tl li::before { content: ''; position: absolute; left: -4.5px; top: 4px; width: 8px; height: 8px; border-radius: 50%; background: #d8dbe0; }
.mb-tl li.done::before { background: #2e9c46; }
.mb-tl li.cur::before { background: #e53935; box-shadow: 0 0 0 3px rgba(229, 57, 53, .16); }
.mb-tl li > em { display: block; font-style: normal; font-size: 11px; color: #b6bac1; }
.mb-tl li > b { display: block; font-size: 12.5px; color: #212121; margin: 1px 0; }
.mb-tl li > span { display: block; font-size: 11.5px; color: #757575; line-height: 1.6; }

/* ---------- 客户 / 预约行（头像 + 主体） ---------- */
.mb-cu-row { display: flex; align-items: center; gap: 9px; }
.mb-cu-av { flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, #e53935, #ff6d00); color: #fff; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.mb-cu-av.ent { border-radius: 8px; background: linear-gradient(135deg, #1677ff, #4fa3ff); }
.mb-cu-main { flex: 1 1 auto; min-width: 0; }
.mb-cu-main > b { display: block; font-size: 13px; color: #212121; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mb-cu-main > span { display: block; font-size: 11.5px; color: #757575; margin-top: 1px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* 截图 68：已实名认证为绿色实心圆勾 + 绿字，无底色胶囊 */
.mb-ok { display: inline-flex !important; align-items: center; gap: 3px; flex-shrink: 0; font-style: normal; font-size: 12.5px; color: #2e9c46; background: transparent; padding: 0; line-height: 1; }
.mb-ok i { display: flex; }
.mb-ok svg { width: 13px; height: 13px; }
.mb-cu-row + .mb-link { margin-top: 8px; }

/* ---------- 客户列表：整卡平铺行（截图 68） ---------- */
.mb-card.mb-cu-list { padding: 0; }
.mb-cu { display: flex; align-items: flex-start; gap: 10px; padding: 13px 12px; border-bottom: 1px solid #f2f3f5; cursor: pointer; }
.mb-cu:last-child { border-bottom: none; }
.mb-cu .mb-cu-av { width: 44px; height: 44px; font-size: 16px; overflow: hidden; }
.mb-cu .mb-cu-av > svg { width: 22px; height: 22px; }
.mb-cu-av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mb-cu-t { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.mb-cu-t > b { font-size: 14.5px; color: #212121; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mb-cu-main > .mb-cu-l { display: flex; align-items: center; gap: 5px; font-size: 12.5px; color: #424242; margin-top: 5px; }
.mb-cu-l i { display: flex; color: #9e9e9e; flex-shrink: 0; }
.mb-cu-l svg { width: 13px; height: 13px; }
/* 散客 / 企客两等分页签（截图 68）：红色下划线通栏半宽，页签行底部一条细线 */
.mb-tabs.half { gap: 0; border-bottom: 1px solid #f2f3f5; }
.mb-tabs.half .mb-tab { flex: 1 1 0; text-align: center; font-size: 15px; padding: 12px 0 13px; }
.mb-tabs.half .mb-tab.on::after { left: 0; right: 0; width: auto; transform: none; bottom: -1px; height: 2.5px; border-radius: 0; }

/* ---------- 关联合同迷你卡 ---------- */
.mb-ct-mini { background: #fafbfc; border: 1px solid #f0f0f0; border-radius: 8px; padding: 8px 9px; margin-top: 6px; }
.mb-ct-mini > b { display: block; font-size: 12px; color: #212121; word-break: break-all; }
.mb-ct-mini > span { display: block; font-size: 11.5px; color: #757575; margin: 2px 0; line-height: 1.5; }
.mb-ct-mini > em { font-style: normal; font-size: 12px; color: #e53935; font-weight: 600; }
/* 合同卡（截图 79 / 87 / 89）：编号 + 红色复制、门牌标题、灰底明细、时间 + 状态 */
.mb-ct-no { display: flex; align-items: center; font-size: 12.5px; color: #212121; }
.mb-ct-no .mb-copy-i { margin-left: 6px; }
.mb-ct-no svg { width: 13px; height: 13px; }
.mb-ct-room { display: flex; align-items: center; gap: 5px; font-size: 14px; color: #212121; font-weight: 600; margin: 7px 0 5px; }
.mb-ct-room svg { color: #e53935; flex-shrink: 0; }
.mb-ct-box { background: #f7f8fa; border-radius: 8px; padding: 8px 10px; margin: 0 0 8px; }
.mb-ct-r { display: flex; align-items: baseline; gap: 10px; font-size: 12.5px; color: #424242; padding: 3.5px 0; }
.mb-ct-r > span:last-child { margin-left: auto; }
.mb-ct-r em.amt { font-style: normal; color: #e53935; font-weight: 600; font-size: 14px; }
.mb-ct-r svg { width: 12px; height: 12px; color: #9e9e9e; vertical-align: -1px; margin-right: 3px; }

/* ---------- 企业租赁合同（截图 91 列表 / 90 新增） ---------- */
.mb-qk-card { cursor: pointer; }
.mb-qk-ent { font-size: 15.5px; font-weight: 600; color: #212121; margin: 9px 0 7px; }
/* 标签列定宽，三行数值左对齐（截图 91） */
.mb-qk-r { display: flex; align-items: baseline; font-size: 13.5px; color: #212121; padding: 4px 0; }
.mb-qk-r > label { flex: 0 0 28%; }
.mb-qk-r > span { flex: 1 1 auto; min-width: 0; word-break: break-all; }
.mb-qk-r > span.blue { color: #1677ff; font-weight: 600; }
.mb-btn-sm.red { color: #e53935; }
.mb-qk-cnt { flex: 1 1 auto; min-width: 0; text-align: center; font-size: 14px; color: #212121; }
.mb-up-t { font-size: 15.5px; color: #212121; padding: 2px 0 10px; }
.mb-up-t > i { font-style: normal; color: #e53935; margin-right: 2px; }
/* 合同上传：截图的相机占位格明显大于通用 62px 格 */
.mb-qk-up .mb-up-add { width: 97px; height: 106px; }
.mb-qk-up .mb-up-add svg { width: 56px; height: 56px; }
.mb-qk-up .mb-up-img { width: 97px; height: 106px; }
/* 截图 90：项目选择的占位文字靠左，下拉三角靠右 */
.mb-pick span.lft { text-align: left; padding-left: 26px; }

/* ---------- 审批宫格 ---------- */
.mb-ap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px 2px; }
.mb-ap-item { position: relative; text-align: center; cursor: pointer; }
.mb-ap-ic { position: relative; display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; margin: 0 auto 6px; border-radius: 13px; }
.mb-ap-ic > svg { width: 27px; height: 27px; }
.mb-ap-ic > s { position: absolute; right: -3px; bottom: -3px; width: 17px; height: 17px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.mb-ap-ic > s > svg { width: 11px; height: 11px; color: #2fb457; }
.mb-ap-ic.t-red { background: #fdeaea; color: #e53935; }
.mb-ap-ic.t-blue { background: #eaefff; color: #3f63f6; }
.mb-ap-ic.t-orange { background: #fff2e0; color: #f59a23; }
.mb-ap-ic.t-green { background: #e6f7e9; color: #2fb457; }
.mb-ap-item > span { font-size: 11.5px; color: #212121; display: block; line-height: 1.3; }

/* ---------- 房态管理：头部 / 图例 / 筛选 / 楼栋分组 ---------- */
/* 房态管理顶部红底带：☰ + 项目名 + 白底搜索胶囊 + 图例白卡（截图 82） */
.mb-hs-band { margin: -10px -12px 8px; padding: 4px 12px 12px; background: linear-gradient(160deg, #e0413c, #ef5a2e 60%, #ff6d00); }
.mb-hs-top { display: flex; align-items: center; gap: 8px; padding: 6px 0 12px; }
.mb-hs-menu { flex-shrink: 0; color: #fff; display: flex; cursor: pointer; }
.mb-hs-menu svg { width: 19px; height: 19px; }
.mb-hs-top > b { font-size: 17px; font-weight: 700; color: #fff; flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mb-hs-search { margin-left: auto; flex: 0 1 46%; min-width: 0; display: flex; align-items: center; gap: 6px; background: #fff; border-radius: 18px; padding: 8px 12px; }
.mb-hs-search .mb-ic { color: #9e9e9e; display: flex; }
.mb-hs-in { flex: 1; min-width: 0; border: none; outline: none; font-size: 13px; background: transparent; color: #212121; }
.mb-hs-in::placeholder { color: #b6bac1; }
.mb-hs-band .mb-card { border-radius: 8px; padding: 12px 10px; margin-bottom: 0; box-shadow: none; }
/* 图例：三列两行圆点，无描边（截图 82） */
.mb-legend { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 4px; }
.mb-lg { display: flex; align-items: flex-start; gap: 5px; font-size: 14px; color: #212121; cursor: pointer; }
.mb-lg.on { color: #e53935; }
.mb-lg .dot { width: 9px; height: 9px; border-radius: 50%; margin-top: 5px; flex-shrink: 0; }
.dot.free { background: #4caf50; }
.dot.book { background: #e0b400; }
.dot.ok { background: #1677ff; }
.dot.soon { background: #fb8c00; }
.dot.alert { background: #d50000; }
.dot.lock { background: #9e9e9e; }
.mb-hs-filter { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; background: #fff; margin: 0 -12px 8px; padding: 9px 12px; }
.mb-hsf { display: inline-flex; align-items: center; gap: 2px; font-size: 14px; color: #212121; cursor: pointer; padding: 2px 4px; max-width: 100%; }
.mb-hsf.on { color: #e53935; }
.mb-hsf i { display: flex; color: #212121; }
.mb-hsf i svg { width: 13px; height: 13px; }
.mb-hs-way { display: inline-flex; margin-left: auto; border: 1px solid #e53935; border-radius: 5px; overflow: hidden; }
.mb-hs-way em { font-style: normal; font-size: 14px; color: #212121; background: #fff; padding: 5px 12px; cursor: pointer; }
.mb-hs-way em.on { color: #fff; background: #e53935; font-weight: 600; }
.mb-hs-count { background: #f4f5f7; margin: 0 -12px 8px; padding: 9px 12px; font-size: 13.5px; color: #212121; }
.mb-hs-count b { color: #1677ff; font-size: 15px; margin: 0 2px; }
.mb-bld { background: #fff; margin: 0 -12px 8px; overflow: hidden; }
.mb-bld-h { display: flex; align-items: center; gap: 7px; padding: 13px 12px; font-size: 15px; cursor: pointer; }
.mb-bld-h > b { color: #212121; }
.mb-bld-h > span { color: #9e9e9e; font-size: 11.5px; }
.mb-bld-h > i { margin-left: auto; display: flex; color: #b6bac1; transition: transform .18s; }
.mb-bld-h > i.up { transform: rotate(180deg); }
.mb-bld-g { display: grid; grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); gap: 7px; padding: 0 12px 12px; border-top: 1px solid #f7f7f7; padding-top: 10px; }
.mb-bld-g .mb-room { border-radius: 7px; padding: 6px 7px; cursor: pointer; border-left: 2px solid transparent; }
.mb-bld-g .mb-room > b { display: block; font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mb-bld-g .mb-room > span { display: block; font-size: 10.5px; opacity: .8; margin-top: 1px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mb-bld-g .mb-room > em { display: block; font-style: normal; font-size: 10.5px; font-weight: 600; margin-top: 3px; }
.mb-bld-g .mb-room.free { background: #eef9ef; border-left-color: #4caf50; color: #1e7d2c; }
.mb-bld-g .mb-room.book { background: #fff8e1; border-left-color: #e0b400; color: #8a6d00; }
.mb-bld-g .mb-room.ok { background: #eaf2fe; border-left-color: #1677ff; color: #1257bd; }
.mb-bld-g .mb-room.soon { background: #fff4e6; border-left-color: #fb8c00; color: #b25f00; }
.mb-bld-g .mb-room.alert { background: #fdecec; border-left-color: #e53935; color: #b3201b; }
.mb-bld-g .mb-room.lock { background: #f2f3f5; border-left-color: #9e9e9e; color: #6b7076; }

/* ---------- 数据分析：地图 / 图例行 / 指标宫格 / 列表 / 切换行 / 趋势 ---------- */
/* 通铺白底分区（截图 66）：标题印在分区内，下方直接放内容 */
.mb-dsec { margin: 0 -12px 10px; padding: 14px 12px; background: #fff; }
.mb-dsec > .mb-sw-row { background: transparent; border-radius: 0; padding: 0 0 12px; margin: 0 0 14px; border-bottom: 1px solid #f2f3f5; font-size: 15px; }
.mb-dsec > .mb-sw-row > span, .mb-dsec > .mb-sw-row > b { color: #212121; font-size: 15px; font-weight: 400; }
/* 切换行：城市 / 区域值靠右，紧挨定位与箭头图标（截图 66） */
.mb-dsec > .mb-sw-row > b { text-align: right; }
.mb-dsec > .mb-map { background: transparent; border-radius: 0; padding: 0; margin: 0 0 10px; }
.mb-map { background: #fff; border-radius: 10px; padding: 8px; margin-bottom: 8px; }
.mb-map svg { display: block; width: 100%; height: 168px; }
/* 项目构成图例：灰底圆角块 + 五等分列，标签在上、彩色数值在下（截图 66） */
.mb-lg-row { display: grid; grid-template-columns: repeat(5, 1fr); background: #f7f8fa; border-radius: 10px; padding: 13px 2px; margin: 0 -6px; }
.mb-lg-row span { text-align: center; min-width: 0; }
.mb-lg-row em { display: block; font-style: normal; font-size: 10.5px; color: #61666d; margin-bottom: 7px; white-space: nowrap; }
.mb-lg-row b { font-size: 19px; font-weight: 700; }
/* 指标宫格：无底色，灰色标签在上、红色大号数值 + 小号单位在下 */
.mb-mg-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 8px; }
.mb-mg-grid > div { text-align: center; min-width: 0; }
.mb-mg-grid em { display: block; font-style: normal; font-size: 13px; color: #7d848c; margin-bottom: 8px; line-height: 1.4; }
.mb-mg-grid b { font-size: 22px; font-weight: 700; color: #e53935; font-variant-numeric: tabular-nums; }
.mb-mg-grid b span { font-size: 13px; font-weight: 600; margin-left: 2px; }
.mb-sl-row { display: flex; align-items: center; gap: 8px; padding: 9px 0; border-bottom: 1px solid #f5f5f5; font-size: 12.5px; }
.mb-sl-row:last-child { border-bottom: none; }
.mb-sl-row[onclick] { cursor: pointer; }
.mb-sl-l { flex: 1 1 auto; min-width: 0; }
.mb-sl-l > b { display: block; font-weight: 600; color: #212121; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mb-sl-l > span { display: block; font-size: 11px; color: #9e9e9e; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mb-sl-row > em { flex-shrink: 0; font-style: normal; font-weight: 600; color: #e53935; font-variant-numeric: tabular-nums; }
.mb-sl-row > i { flex-shrink: 0; display: flex; color: #b6bac1; }
.mb-sw-row { display: flex; align-items: center; gap: 7px; background: #fff; border-radius: 10px; padding: 10px 12px; margin-bottom: 8px; font-size: 12px; cursor: pointer; }
.mb-sw-row > span { color: #757575; flex-shrink: 0; }
.mb-sw-row > b { color: #212121; font-size: 13px; flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mb-sw-row > i { margin-left: auto; display: flex; align-items: center; gap: 3px; color: #b6bac1; flex-shrink: 0; }
.mb-rate-bar { height: 5px; border-radius: 3px; background: #f2f3f5; overflow: hidden; margin: 5px 0 2px; }
.mb-rate-bar > i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, #e53935, #ff6d00); }
.mb-trend { display: block; width: 100%; height: 132px; }
