/* =========================================================
   V2.41 视觉刷新：清爽商务风（参考商办小程序通行视觉）
   原则：白底 + 蓝色主色 + 清晰层级 + 大圆角卡片 + 柔和阴影
   ========================================================= */

/* ---- 设计 Token 覆盖 ---- */
:root {
    --primary: #1890ff;
    --primary-deep: #0958d9;
    --primary-light: #e8f4ff;
    --success: #52c41a;
    --warning: #fa8c16;
    --danger: #ff4d4f;
    --purple: #fa8c16;
    --text-main: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    --bg-page: #f5f7fa;
    --bg-card: #ffffff;
    --border: #eef0f4;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.06);
    --radius: 12px;
    --radius-lg: 16px;
}

body { color: var(--text-main); background: var(--bg-page); }

/* ---- 顶部栏 ---- */
.mini-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%);
    padding: 10px 12px;
    border-radius: 0 0 20px 20px;
}
.mini-header .city {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255,255,255,0.95);
    padding: 6px 8px;
    background: rgba(255,255,255,0.12);
    border-radius: 16px;
}
.mini-header .search-box {
    background: #fff;
    border-radius: 24px;
    padding: 5px 5px 5px 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    gap: 6px;
}
.mini-header .search-box input { font-size: 14px; color: var(--text-main); }
.mini-header .search-box input::placeholder { color: var(--text-light); }
.mini-header .search-box .search-btn {
    background: var(--primary);
    color: #fff;
    border-radius: 20px;
    padding: 6px 16px;
    font-size: 14px;
    font-weight: 500;
    border: none;
}

/* ---- Banner ---- */
.banner-carousel { border-radius: 0 0 20px 20px; }

/* ---- 快捷入口 ---- */
.quick-entries {
    background: #fff;
    border-radius: var(--radius);
    margin: 12px 12px 0;
    padding: 16px 10px;
    box-shadow: var(--shadow);
    gap: 6px;
}
.quick-entry { gap: 8px; }
/* V2.70.92：快捷入口**唯一形状定义**（老板 2026-10-08 拍板：圆角方形 + 饱和实色底 + 白色线性图标）。
   底色 / 图标色**只由 JS 内联下发**（js/utils.js 的 QUICK_BG 唯一色表 + customer.js 的 bgOf），
   CSS 此处**不再出现底色值** —— 原先 `.icon.find/.publish/.entrust/...` 那 6 条浅底分色是**第二份定义**（红线 6），
   且映射只有 3 档，写字楼 / 找楼盘 / 投放房源 / 联合办公 / 推荐房源全部落错色。
   ⛔ css/common.css 里另有一份 `.quick-entry .icon`（正圆 + 渐变）—— 它加载在先被本文件覆盖，
      是永不生效的死代码，V2.70.92 已删除，只剩本处一份。 */
.quick-entry .icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    font-size: 22px;
    /* 图标默认白色（icon() 生成 stroke="currentColor"）；内联样式会再给一次，这里是兜底 */
    color: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}
.quick-entry .label { font-size: 12px; color: var(--text-secondary); font-weight: 500; }

/* ---- 标题栏 ---- */
.section-title {
    font-size: 17px;
    font-weight: 700;
    padding: 16px 12px 10px;
    color: var(--text-main);
}
.section-title .more { color: var(--text-light); font-weight: 400; font-size: 13px; }

/* ---- 房源卡片（横向） ---- */
.property-card {
    border-radius: var(--radius);
    padding: 12px;
    gap: 12px;
    margin-bottom: 10px;
    box-shadow: var(--shadow);
    background: #fff;
}
.property-card .thumb {
    width: 110px;
    height: 110px;
    border-radius: 10px;
    background: linear-gradient(135deg, #f0f7ff, #dbeafe);
    font-size: 40px;
}
.property-card .info .name { font-size: 16px; font-weight: 700; }
.property-card .info .meta { font-size: 12px; color: var(--text-secondary); gap: 8px; }
.property-card .info .tags .tag {
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 4px;
    font-size: 11px;
    padding: 2px 7px;
}
.property-card .info .price {
    color: var(--primary);
    font-size: 18px;
    font-weight: 700;
}
.property-card .info .price .unit { color: var(--text-light); font-weight: 400; }

/* ---- 双列房源卡片 ---- */
.unit-card { border-radius: var(--radius); box-shadow: var(--shadow); }
.unit-thumb {
    height: 130px;
    background: linear-gradient(135deg, #f0f7ff, #dbeafe);
    font-size: 44px;
}
.unit-name { font-size: 15px; font-weight: 700; }
.unit-sub { font-size: 12px; color: var(--text-secondary); }
.unit-tags .tag { background: var(--primary-light); color: var(--primary); }
.unit-price { color: var(--primary); font-size: 17px; font-weight: 700; }
.unit-price span { color: var(--text-light); font-weight: 400; }

/* ---- 底部 TabBar ---- */
.tab-bar {
    height: 58px;
    background: #fff;
    box-shadow: 0 -1px 6px rgba(0,0,0,0.04);
    border-top: 1px solid var(--border);
}
.tab-bar .tab-item { padding: 6px 16px; gap: 2px; }
.tab-bar .tab-item .icon { font-size: 22px; color: var(--text-light); transition: none; }
.tab-bar .tab-item .label { font-size: 11px; color: var(--text-light); }
.tab-bar .tab-item.active .label { color: var(--primary); font-weight: 600; }
.tab-bar .tab-item.active .icon { color: var(--primary); transform: none; }

/* ---- 个人中心 ---- */
.profile-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%);
    padding: 0;
    border-radius: 0 0 24px 24px;
    text-align: left;
    color: #fff;
}
.profile-header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 16px 36px;
}
.profile-header .profile-info { flex: 1; min-width: 0; }
.profile-header .profile-name-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.profile-header .name {
    font-size: 20px;
    font-weight: 700;
}
.profile-header .role-badge {
    display: inline-block;
    font-size: 11px;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.7);
    border-radius: 10px;
    padding: 1px 8px;
}
.profile-header .profile-phone {
    font-size: 13px;
    color: rgba(255,255,255,0.85);
    margin-top: 6px;
}
.profile-header .profile-company {
    font-size: 12px;
    color: rgba(255,255,255,0.7);
    margin-top: 3px;
}
.profile-header .avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
    font-size: 26px;
    margin: 0;
    flex-shrink: 0;
}

/* 统计卡重叠区域 */
.profile-stats-card {
    background: #fff;
    border-radius: var(--radius);
    margin: -24px 12px 12px;
    padding: 14px;
    box-shadow: var(--shadow);
    position: relative;
    z-index: 2;
}
.profile-stats-card .stat-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin: 0;
}
.profile-stats-card .stat-card {
    background: #f8fafc;
    border-radius: 10px;
    padding: 12px 6px;
    box-shadow: none;
    text-align: center;
}
.profile-stats-card .stat-card .stat-value {
    font-size: 20px;
    color: var(--primary);
    font-weight: 700;
}
.profile-stats-card .stat-card .stat-label {
    font-size: 11px;
    color: var(--text-secondary);
    margin-top: 4px;
}

/* 菜单分组 */
.profile-menu {
    background: #fff;
    border-radius: var(--radius);
    margin: 0 12px 12px;
    box-shadow: var(--shadow);
    overflow: hidden;
}
.profile-menu .menu-item {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
}
.profile-menu .menu-item:last-child { border-bottom: none; }
.profile-menu .menu-item .icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 18px;
}
.profile-menu .menu-item .text { font-size: 15px; color: var(--text-main); font-weight: 500; }
.profile-menu .menu-item .arrow { color: var(--text-light); }

.profile-logout { padding: 0 12px 20px; }
.profile-logout .btn {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: none;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ---- 通用卡片 ---- */
.card {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    background: #fff;
}

/* ---- 详情页价格 ---- */
.detail-price-main .num { color: var(--primary); }

/* ---- 全局价格色（兜底） ---- */
.price { color: var(--primary); font-weight: 700; }

/* ---- V2.42 资讯页二级 Tab ---- */
.news-subtabs {
    display: flex;
    background: #fff;
    border-bottom: 1px solid var(--border);
}
.news-subtab {
    flex: 1;
    text-align: center;
    padding: 14px 0;
    font-size: 14px;
    color: var(--text-secondary);
    position: relative;
    cursor: pointer;
    transition: color 0.2s;
}
.news-subtab.active {
    color: var(--primary);
    font-weight: 600;
}
.news-subtab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}
.news-subtab-dot {
    position: absolute;
    top: 12px;
    right: calc(50% - 28px);
    width: 6px;
    height: 6px;
    background: #ff4d4f;
    border-radius: 50%;
}
.news-list { padding: 10px; }
.news-list .news-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 10px;
    padding: 14px;
}

/* ==================== V2.43 企服 Tab（原增值服务） ==================== */
.sv-banner {
    margin: 10px;
    border-radius: 12px;
    background: linear-gradient(135deg, #1890ff, #0958d9);
    color: #fff;
    padding: 18px 16px;
    box-shadow: 0 4px 12px rgba(22, 119, 255, .2);
}
.sv-banner-title { font-size: 18px; font-weight: 700; }
.sv-banner-sub { font-size: 12px; opacity: .85; margin-top: 4px; }
.sv-cat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 0 10px;
}
.sv-cat-card {
    background: #fff;
    border-radius: 12px;
    padding: 14px;
    border: 1px solid #f0f2f5;
    box-shadow: 0 2px 8px rgba(31, 45, 61, .06);
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease;
}
.sv-cat-card:active { transform: scale(.98); }
.sv-cat-icon { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 12px; background: #e8f4ff; color: #1890ff; font-size: 28px; }
.sv-cat-name { font-weight: 600; font-size: 14px; margin-top: 6px; color: var(--text, #333); }
.sv-cat-desc { font-size: 11px; color: #999; margin-top: 2px; line-height: 1.5; }
.sv-cat-more { font-size: 11px; color: var(--primary, #1890ff); margin-top: 6px; }
.sv-subtabs {
    display: flex;
    background: #fff;
    border-radius: 10px;
    padding: 4px;
    margin-bottom: 10px;
    border: 1px solid #f0f2f5;
}
.sv-subtab {
    flex: 1;
    text-align: center;
    padding: 8px 0;
    font-size: 13px;
    color: #666;
    border-radius: 8px;
    cursor: pointer;
}
.sv-subtab.active { background: var(--primary, #1890ff); color: #fff; font-weight: 600; }
.sv-quote-row {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 8px;
    border: 1px solid #f0f2f5;
}
.sv-quote-info { flex: 1; min-width: 0; }
.sv-quote-name { font-weight: 600; font-size: 13px; color: #333; }
.sv-quote-spec { font-size: 11px; color: #999; margin-top: 2px; line-height: 1.5; }
.sv-quote-price { text-align: right; flex-shrink: 0; }
.sv-quote-amount { color: var(--primary, #1890ff); font-weight: 700; font-size: 15px; }
.sv-quote-points { font-size: 10px; color: #fa8c16; margin-top: 2px; }
.sv-provider-card {
    background: #fff;
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 8px;
    border: 1px solid #f0f2f5;
}
.sv-provider-avatar {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #e6f7ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}
.sv-tag {
    display: inline-block;
    background: #e6f7ff;
    color: var(--primary, #1890ff);
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 8px;
    margin-right: 6px;
}
.sv-consult-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background: #fff;
    border-radius: 10px;
    padding: 12px;
    margin-top: 12px;
    border: 1px solid #f0f2f5;
}
.mini-header .back { margin-right: 8px; font-size: 14px; cursor: pointer; opacity: .92; }

/* ==================== V2.45：对齐小程序界面形态 ==================== */

/* ---- 底部 TabBar：AI找房 凸起圆形按钮（V2.48.1：主色蓝渐变协调主界面，去文字） ---- */
.tab-bar .tab-item.tab-center { position: relative; padding: 0 14px; }
.tab-bar .tab-center .ai-btn {
    width: 56px; height: 56px; border-radius: 50%;
    background: linear-gradient(135deg, #1890ff 0%, #0958d9 100%);
    display: flex; align-items: center; justify-content: center;
    margin-top: -26px;
    border: 3px solid #fff;
    box-shadow: 0 4px 16px rgba(22,119,255,0.45);
    transition: transform .15s ease;
}
.tab-bar .tab-center .ai-btn .ai-star { display: block; }
.tab-bar .tab-center .ai-btn-active { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(22,119,255,0.55); }

/* ---- AI 找房占位页（V2.48.1：浅色商务风，与主界面白底蓝主色协调） ---- */
.ai-page { padding: 0; }
.ai-stars-bg {
    background: linear-gradient(180deg, #f0f7ff 0%, #e6f7ff 55%, #f8fbff 100%);
    min-height: calc(100vh - 64px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    position: relative;
    overflow: hidden;
}
/* 淡蓝装饰光斑（浅色版星空） */
.ai-stars-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(1.5px 1.5px at 20px 30px, rgba(22,119,255,.35), transparent),
        radial-gradient(1px 1px at 50px 80px, rgba(22,119,255,.25), transparent),
        radial-gradient(2px 2px at 120px 50px, rgba(22,119,255,.3), transparent),
        radial-gradient(1px 1px at 180px 90px, rgba(22,119,255,.2), transparent),
        radial-gradient(1.5px 1.5px at 250px 40px, rgba(22,119,255,.3), transparent),
        radial-gradient(1px 1px at 300px 120px, rgba(22,119,255,.25), transparent),
        radial-gradient(2px 2px at 350px 70px, rgba(22,119,255,.2), transparent),
        radial-gradient(1px 1px at 80px 150px, rgba(22,119,255,.25), transparent),
        radial-gradient(1.5px 1.5px at 160px 180px, rgba(22,119,255,.3), transparent),
        radial-gradient(1px 1px at 220px 160px, rgba(22,119,255,.2), transparent),
        radial-gradient(2px 2px at 320px 200px, rgba(22,119,255,.25), transparent);
    pointer-events: none;
}
.ai-planet { position: relative; z-index: 1; margin-bottom: 24px; }
.ai-planet svg { display: block; filter: drop-shadow(0 8px 24px rgba(22,119,255,.28)); }
.ai-title { font-size: 22px; font-weight: 700; color: #1f2937; position: relative; z-index: 1; letter-spacing: 1px; }
.ai-title-accent { color: #1890ff; margin-left: 4px; }
.ai-sub { font-size: 13px; color: #6b7280; text-align: center; line-height: 1.8; margin-top: 10px; position: relative; z-index: 1; }
.ai-soon {
    margin-top: 28px;
    border: 1.5px solid rgba(22,119,255,.35);
    border-radius: 24px;
    padding: 8px 28px;
    font-size: 13px;
    color: #1890ff;
    letter-spacing: 2px;
    position: relative; z-index: 1;
    background: rgba(255,255,255,.85);
    font-weight: 600;
}
.ai-tags {
    display: flex;
    gap: 10px;
    margin-top: 28px;
    position: relative; z-index: 1;
    flex-wrap: wrap;
    justify-content: center;
}
.ai-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #fff;
    border: 1px solid rgba(22,119,255,.22);
    border-radius: 20px;
    padding: 5px 12px;
    font-size: 12px;
    color: #1890ff;
    font-weight: 500;
    box-shadow: 0 2px 6px rgba(22,119,255,.08);
}
.ai-tag .icon-svg { vertical-align: -2px; }

/* ---- 个人中心：宫格 + 列表（对齐小程序 mine.wxml） ---- */
.mine-page .role-badge { background: #fff; color: #1890ff; border: none; }
.mine-page .points-tag { font-size: 12px; color: #fff7e6; background: rgba(255,255,255,0.18); border-radius: 10px; padding: 1px 8px; }
.profile-header .login-entry {
    flex-shrink: 0; color: #1890ff; background: #fff;
    border-radius: 16px; padding: 6px 16px;
    font-size: 13px; font-weight: 600; cursor: pointer;
}
.profile-menu.service-card .menu-title {
    font-size: 15px; font-weight: 700; color: var(--text-main);
    padding: 14px 16px 4px;
}
.service-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 4px; padding: 8px 8px 14px;
}
.service-item {
    display: flex; flex-direction: column; align-items: center;
    gap: 8px; padding: 14px 4px; cursor: pointer;
    border-radius: 10px;
}
.service-item:active { background: var(--primary-light); }
.service-item .service-icon { font-size: 26px; line-height: 1; }
.service-item .service-label { font-size: 12px; color: var(--text-secondary); }
.mine-page .menu-item .icon { width: auto; height: auto; background: none; color: inherit; border-radius: 0; margin-right: 12px; font-size: 20px; }

/* ---- 企服分类详情：无二级 Tab 竖向布局（对齐小程序 services.wxml） ---- */
.sv-cat-detail { padding: 12px; }
.sv-section { margin-bottom: 12px; }
.sv-section-title { font-size: 15px; font-weight: 700; color: var(--text-main); margin: 4px 2px 10px; }

/* ---- V2.49.4：分类详情双卡片（报价清单 + 服务商介绍） ---- */
.cat-header-inline {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
}
.cat-header-inline .cat-title-row {
    display: flex;
    align-items: center;
    gap: 10px;
}
.cat-header-inline .cat-title-icon {
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    background: #e6f7ff; border-radius: 10px; color: #1890ff;
}
.cat-header-inline .cat-title {
    font-size: 18px; font-weight: 700; color: #1f2329;
}
.cat-header-inline .cat-desc {
    font-size: 13px; color: #86909c; margin-top: 6px;
}

.cat-cards {
    display: flex;
    gap: 12px;
}
.cat-card {
    flex: 1;
    background: #fff;
    border-radius: 12px;
    padding: 14px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid #f0f2f5;
}
.cat-card:active { transform: scale(0.99); }
.cat-card-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: #fff;
    border-radius: 6px;
    padding: 3px 10px;
    margin-bottom: 12px;
}
.tag-blue { background: #1890ff; }
.tag-green { background: #00b42a; }
.cat-card-icon-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100px;
    background: linear-gradient(135deg, #eef4ff, #e6f4ff);
    border-radius: 10px;
    margin-bottom: 12px;
}
.cat-card-icon {
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    color: #1890ff;
}
.cat-card-icon-label {
    font-size: 11px;
    color: #1890ff;
    margin-top: 6px;
}
.cat-card-title {
    font-size: 15px;
    font-weight: 600;
    color: #1f2329;
}
.cat-card-sub {
    font-size: 12px;
    color: #86909c;
    margin-top: 3px;
}
.cat-card-footer {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
}
.cat-card-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}
.cat-card-dot.blue { background: #1890ff; }
.cat-card-dot.green { background: #00b42a; }
.cat-card-hint {
    font-size: 11px;
    color: #86909c;
    flex: 1;
}
.cat-card-link {
    font-size: 12px;
    color: #1890ff;
    font-weight: 600;
}

/* ---- V2.49.4：报价表格 ---- */
.quote-table {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #f0f2f5;
}
.quote-thead {
    display: flex;
    padding: 16px 0;
    border-bottom: 1px solid #f0f0f0;
    background: #fafbfc;
}
.quote-th {
    flex: 1;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #1f2329;
}
.quote-tr {
    display: flex;
    padding: 16px 0;
    border-bottom: 1px solid #f5f5f5;
}
.quote-tr:last-child { border-bottom: none; }
.quote-td {
    flex: 1;
    text-align: center;
    font-size: 14px;
    color: #4e5969;
}
.quote-td.price {
    color: #1890ff;
    font-weight: 600;
}
.quote-empty {
    text-align: center;
    color: #86909c;
    font-size: 14px;
    padding: 50px 0;
}

/* ---- V2.49.5：报价清单按服务商分组（一家服务商对应一个报价清单） ---- */
.sv-pq-block {
    background: #fff;
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 12px;
    border: 1px solid #f0f2f5;
}
.sv-pq-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}
.sv-pq-cert {
    font-size: 11px;
    color: #1890ff;
    background: #eef4ff;
    border-radius: 4px;
    padding: 3px 8px;
    white-space: nowrap;
}
.sv-pq-block .quote-table {
    border-radius: 8px;
}

/* ==================== V2.47：登录页 / 身份选择 / 入驻认证（对齐小程序 login / role-select / asset-auth / broker-auth） ==================== */

/* ---- 白底返回头（登录/身份选择/认证页共用，对齐小程序白底导航） ---- */
.plain-header {
    display: flex; align-items: center; min-height: 48px; padding: 0 14px;
    background: #fff; border-bottom: 1px solid #f2f3f5; color: #1f2329;
    position: sticky; top: 0; z-index: 100;
}
.plain-header .back { margin-right: 10px; font-size: 15px; line-height: 1; cursor: pointer; color: #86909c; opacity: 1; font-weight: 400; }

/* ---- 登录授权页（小程序截图4：Logo + 请求授权 + 副标题 + 协议勾选 + 快捷登录 + 取消） ---- */
.login-page { padding: 0 0 24px; min-height: calc(100vh - 48px); box-sizing: border-box; background: #fff; }
.login-brand { display: flex; flex-direction: column; align-items: center; padding: 60px 24px 44px; }
.brand-logo {
    width: 64px; height: 64px; border-radius: 50%;
    overflow: hidden; display: flex; align-items: center; justify-content: center;
    background: none; box-shadow: none;
}
.brand-logo img { width: 100%; height: 100%; display: block; border-radius: 50%; }
.brand-name { font-size: 20px; font-weight: 700; margin-top: 20px; color: #1f2329; }
.brand-slogan { font-size: 13px; color: #86909c; margin-top: 6px; font-weight: 400; }
.brand-role-note { display: none; }
.agree-row { display: flex; align-items: center; justify-content: center; gap: 2px; font-size: 12px; color: #86909c; margin-bottom: 18px; flex-wrap: wrap; }
.agree-row input { width: 15px; height: 15px; accent-color: #1890ff; margin-right: 3px; }
.agree-row a { color: #1890ff; }
.btn-outline { background: #fff; color: #1f2329; border: 1px solid #c9cdd4; }
.btn-outline:active { background: #f5f6f7; }
.login-tip { text-align: center; font-size: 11px; color: #a9aeb8; margin-top: 12px; line-height: 1.6; }

/* ---- 身份选择（对齐小程序 role-select：标题+副标题+纯角色列表，无描述无箭头） ---- */
.rs-page { padding: 8px 16px 24px; min-height: calc(100vh - 48px); box-sizing: border-box; background: #f7f8fa; }
.rs-head { text-align: center; padding: 22px 0 18px; }
.rs-title { font-size: 19px; font-weight: 700; color: #1f2329; }
.rs-sub { font-size: 12px; color: #86909c; margin-top: 6px; padding: 0 12px; }
.rs-list { display: flex; flex-direction: column; gap: 10px; }
.rs-card {
    display: flex; align-items: center; background: #fff;
    border-radius: 12px; padding: 14px 16px;
    box-shadow: 0 1px 3px rgba(31, 35, 41, 0.04); cursor: pointer;
}
.rs-card:active { transform: scale(0.99); }
.rs-icon {
    width: 42px; height: 42px; border-radius: 50%;
    background: #e6f7ff; color: #1890ff;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; flex-shrink: 0;
}
.rs-body { flex: 1; margin-left: 12px; min-width: 0; }
.rs-title2 { font-size: 15px; font-weight: 600; color: #1f2329; margin-left: 14px; }
.rs-desc { font-size: 12px; color: #86909c; margin-top: 3px; }
.rs-arrow { font-size: 18px; color: #c9cdd4; flex-shrink: 0; margin-left: 6px; }
.rs-tip { font-size: 11px; color: #a9aeb8; text-align: center; line-height: 1.6; margin-top: 16px; padding: 0 12px; }

/* ---- 入驻认证页（对齐小程序 asset-auth / broker-auth：字段左右结构，标题=「xx入驻」） ---- */
.aa-page { padding: 12px 12px 24px; min-height: calc(100vh - 48px); box-sizing: border-box; background: #f7f8fa; }
.aa-head { display: none; }
.aa-logo {
    width: 56px; height: 56px; border-radius: 14px;
    background: linear-gradient(135deg, #1890ff, #1890ff);
    display: flex; align-items: center; justify-content: center;
    font-size: 28px; box-shadow: 0 4px 12px rgba(22, 119, 255, 0.3);
}
.aa-title { font-size: 19px; font-weight: 700; color: #1f2329; margin-top: 10px; }
.aa-sub { font-size: 11px; color: #86909c; margin-top: 4px; }
.aa-types { display: none; }
.aa-type {
    flex: 1; background: #fff; border: 1px solid #e5e6eb;
    border-radius: 10px; padding: 12px 6px; text-align: center;
    margin-right: 8px; transition: all .2s; cursor: pointer;
}
.aa-type:last-child { margin-right: 0; }
.aa-type.active { border-color: #1890ff; background: #f0f7ff; box-shadow: 0 2px 8px rgba(22, 119, 255, 0.15); }
.aa-type-icon { font-size: 22px; }
.aa-type-label { font-size: 13px; font-weight: 600; color: #1f2329; margin-top: 4px; }
.aa-type-desc { font-size: 10px; color: #86909c; margin-top: 2px; }
.aa-form { background: #fff; border-radius: 12px; padding: 2px 16px; }
.aa-form.card { box-shadow: none; border: none; }
.aa-form .form-label { display: block; margin-bottom: 8px; font-size: 13px; color: #4e5969; }
.aa-form .form-input { background: #fafbfc; border-color: #e5e6eb; }
/* 左右结构行（label 左固定 / 输入右对齐，对齐小程序表单） */
.form-row { display: flex; align-items: center; min-height: 50px; border-bottom: 1px solid #f2f3f5; gap: 10px; }
.form-row:last-child { border-bottom: none; }
.form-row .form-label { display: block; width: 74px; flex-shrink: 0; margin: 0; font-size: 14px; color: #1f2329; }
.form-row .form-input { flex: 1; border: none; background: transparent; padding: 13px 0; font-size: 14px; text-align: right; border-radius: 0; }
.form-row .form-input::placeholder { color: #c9cdd4; }
.form-row .form-input:focus { border-color: transparent; box-shadow: none; }
.form-row .upload-row { flex: 1; justify-content: flex-end; padding: 8px 0; }
.aa-submit { margin-top: 20px; }
.aa-tip { font-size: 11px; color: #a9aeb8; line-height: 1.6; margin-top: 12px; text-align: center; }
.required { color: #f53f3f; font-weight: 700; }
.optional { color: #a9aeb8; font-size: 11px; font-weight: 400; }
.upload-row { display: flex; }
.upload-box {
    flex: 1; height: 64px; border: 1.5px dashed #c9cdd4; border-radius: 8px;
    background: #fafbfc; display: flex; flex-direction: column;
    align-items: center; justify-content: center; margin-right: 10px; cursor: pointer;
}
.upload-box:last-child { margin-right: 0; }
.upload-icon { font-size: 22px; color: #86909c; display: flex; align-items: center; justify-content: center; }
.upload-text { font-size: 11px; color: #86909c; margin-top: 4px; text-align: center; line-height: 1.4; }

/* ==================== V2.48：线性 SVG 图标（商务风） ==================== */
.icon-svg { display: inline-block; vertical-align: middle; flex-shrink: 0; }
.mini-header .city .icon-svg { vertical-align: -2px; }
.mini-header .search-box > .icon-svg { color: var(--text-light); flex-shrink: 0; }
.quick-entry .icon .icon-svg { display: block; margin: auto; }
.tab-bar .tab-item .icon { display: flex; align-items: center; justify-content: center; }
.tab-bar .tab-item .icon .icon-svg { display: block; }
.service-item .service-icon .icon-svg { display: block; margin: 0 auto; }
.mine-page .avatar .icon-svg { display: block; margin: 0 auto; }
.rs-icon .icon-svg { display: block; margin: 0 auto; }
/* V2.49：资讯/企服/详情页标题行图标垂直对齐 + 企服分类图标 */
.sv-section-title .icon-svg, .detail-info-section h3 .icon-svg, .detail-desc h3 .icon-svg, .detail-vr h3 .icon-svg, .sv-banner-title .icon-svg { vertical-align: -3px; margin-right: 2px; }
.detail-action-bar .action-tool .icon .icon-svg { display: block; margin: 0 auto; }
.detail-action-bar .btn .icon-svg { vertical-align: -3px; margin-right: 2px; }
.sv-cat-icon .icon-svg { display: block; margin: 0 auto; }
.news-card .meta .icon-svg { vertical-align: -2px; }
/* V2.56.3：后台/资产方侧边栏菜单 + 合伙人 Tab 图标接入统一线性图标层。
   此前这几处直接输出配置里的 icon 原值，而配置可能是英文键名（如 home/clipboard/pin），
   结果侧边栏把键名当文本渲染出来；接入 icon() 后统一走 SVG，此处补齐对齐样式。 */
.menu-group .menu-item > .icon-svg { vertical-align: -3px; margin-right: 4px; }
.tab-icon .icon-svg { display: block; margin: 0 auto; }
.btn .icon-svg { vertical-align: -3px; margin-right: 2px; }
.detail-title-section .sub-line .icon-svg { vertical-align: -2px; color: #86909c; }
.ai-coming-card .coming-icon .icon-svg { display: block; margin: 0 auto; }
.ai-trial-card .trial-icon .icon-svg, .ai-trial-card .trial-title .icon-svg { display: inline-block; vertical-align: -3px; }
.ai-trial-card .trial-icon { display: flex; align-items: center; }

/* ==================== V2.49.1：Tab 内容页统一最小高度，避免切换抖动 ==================== */
.tab-content { min-height: calc(100vh - var(--tabbar-h)); }
.news-page { background: var(--bg-page); }
.services-page { background: var(--bg-page); }

/* ==================== V2.64.27 全端风格统一（V2.64.36：配色回归 V2.64.11 清爽亮蓝） ==================== */
/* 原则：亮蓝(#1890ff)为主色、深蓝(#096dd9/#0958d9)作层次、紫(#1890ff)与橙(#fa8c16/#fa8c16)点缀；
   后台顶栏/侧栏沿用 Ant 深色底(#001529/#001933)——即 V2.64.11 原有调性。
   配置链路不动 —— 菜单文字/图标仍由后台 mineServiceMenus/assetMenus/partnerMenus/adminMenus 驱动，
   emoji 图标由 utils.icon()/小程序 svgIcon() 统一映射为线性图标（未收录回退原样，100% 兼容后台自定义）。 */
/* 覆盖段放在本文件末尾（visual.css 最后加载，同等特异性下必胜）。 */

/* ---- 顶栏 / 侧栏（资产方 / 城市合伙人 / 平台后台三端同源） ---- */
.web-header { box-shadow: inset 0 -2px 0 rgba(24,144,255,0.55); }
.web-sidebar .menu-group-title { color: #8c8c8c; letter-spacing: 1.5px; font-weight: 600; }
.web-sidebar .menu-item { border-radius: 8px; margin: 2px 10px; padding-left: 12px; }
.web-sidebar .menu-item.active { background: linear-gradient(90deg, #1890ff, #096dd9); border-left-color: #8FA6C4; box-shadow: 0 2px 8px rgba(24,144,255,0.35); }
.web-sidebar .menu-item .icon-svg { opacity: 0.92; flex-shrink: 0; }

/* ---- 统计卡：数值统一深蓝（去掉彩虹内联色），趋势红绿语义保留 ---- */
.stat-card .stat-value { color: #096dd9 !important; letter-spacing: 0.5px; }
.stat-card .stat-trend.up { color: #8c8c8c; }
.stat-card { border-top: 3px solid transparent; transition: border-color .2s; }
.stat-card:hover { border-top-color: #1890ff; }

/* ---- 数据表格 ---- */
.data-table th { background: #fafafa; color: #595959; letter-spacing: 0.5px; }

/* ---- 后台页面标题（h2）统一 ---- */
.web-content h2 { font-size: 17px; font-weight: 700; color: #262626; display: flex; align-items: center; gap: 8px; }
.web-content h2 .icon-svg { color: #1890ff; }

/* ---- 房源状态分布条 ---- */
.ux-statusbar { display: flex; gap: 4px; height: 30px; border-radius: 6px; overflow: hidden; }
.ux-statusbar .seg { display: flex; align-items: center; justify-content: center; color: #fff; font-size: 12px; letter-spacing: 0.5px; }
.ux-statusbar .seg.rentable { background: linear-gradient(90deg, #1890ff, #096dd9); }
.ux-statusbar .seg.rented { background: linear-gradient(90deg, #fa8c16, #fa8c16); }

/* ---- 「我的」页 ---- */
.mine-page .role-badge { background: rgba(255,255,255,0.22); color: #fff; border: 1px solid rgba(255,255,255,0.55); }
.mine-page .points-tag { background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.25); }
.mine-page .profile-header .avatar { background: rgba(255,255,255,0.28); border: 2px solid rgba(255,255,255,0.6); }
/* 我的服务宫格：线性图标装进浅蓝徽章底 */
.service-item .service-icon { width: 46px; height: 46px; margin: 0 auto 8px; border-radius: 13px; background: linear-gradient(135deg, #e6f7ff, #e6f4ff); color: #1890ff; display: flex; align-items: center; justify-content: center; }
.service-item:active .service-icon { background: #bae0ff; }
/* 卡片标题竖条（我的服务 / 数据卡标题统一） */
.mine-page .menu-title, .profile-menu .menu-title { display: flex; align-items: center; gap: 8px; }
.mine-page .menu-title::before, .profile-menu .menu-title::before { content: ''; width: 4px; height: 14px; border-radius: 2px; background: linear-gradient(180deg, #1890ff, #096dd9); }

/* ---- 弹窗统一 ---- */
.modal-header::before { content: ''; width: 4px; height: 16px; border-radius: 2px; background: linear-gradient(180deg, #1890ff, #096dd9); margin-right: 10px; flex-shrink: 0; }
.modal .menu-item { display: flex; align-items: center; padding: 13px 6px; border-bottom: 1px solid #f0f0f0; cursor: pointer; }
.modal .menu-item:last-child { border-bottom: none; }
.modal .menu-item .icon { width: 34px; height: 34px; border-radius: 9px; background: #e6f7ff; color: #1890ff; display: flex; align-items: center; justify-content: center; margin-right: 12px; flex-shrink: 0; }
.modal .menu-item .text { flex: 1; font-size: 14px; color: var(--text-main); }
.modal .menu-item .arrow { color: #bfbfbf; font-size: 15px; }
/* 系统服务弹窗：后台入口 CTA 卡（亮蓝渐变 + 白描边） */
.ux-backend-cta { display: flex; align-items: center; gap: 12px; background: linear-gradient(135deg, #1890ff, #096dd9); border: 1px solid rgba(255,255,255,0.35); border-radius: 12px; padding: 13px 14px; margin-bottom: 12px; cursor: pointer; }
.ux-backend-cta:active { opacity: 0.9; }
.ux-backend-cta .cta-icon { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,0.2); border: 1px solid rgba(255,255,255,0.45); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ux-backend-cta .cta-main { flex: 1; min-width: 0; }
.ux-backend-cta .cta-main .t { color: #fff; font-size: 15px; font-weight: 600; }
.ux-backend-cta .cta-main .s { color: rgba(255,255,255,0.85); font-size: 11px; margin-top: 2px; }
.ux-backend-cta .cta-arrow { color: #fff; font-size: 18px; }

/* ---- V2.64.29：系统服务（H5 ↔ 小程序 同口径）---- */
.modal .menu-item .text .mi-sub { display: block; font-size: 11px; color: #8c8c8c; margin-top: 2px; font-weight: 400; }
.modal .menu-item:active .text .mi-sub { color: #1890ff; }

/* ==================================================================================
   V2.68.24 小程序 web-view 内嵌自适应（手机看后台不再挤成一团）
   ----------------------------------------------------------------------------------
   触发：小程序 pages/backend/backend.js 打开 H5 时带 ?mp=1 → app.js applyEmbedMode() 给 body 挂 .mp-embed。
   ⛔ 所有规则一律限定在 `body.mp-embed` 之下 —— 桌面浏览器 / 手机浏览器直接访问不带 mp=1，
      一条都不会命中，**WEB 端渲染与本次改造前完全一致**。
   解决的问题（老板 2026-09-15 截图实测）：
     ① 原 @media(max-width:768px) 把侧栏压成 60px 只剩图标 → 用户不知道每个图标是什么菜单；
     ② 顶栏 .web-header 无窄屏适配，logo 与 6 个操作项互挤 → 文字换行断裂。
   方案：侧栏由「左侧窄图标列」改为「顶部横向滚动菜单条」（图标 + 文字都在，可读可点），
        顶栏拆两行（logo 一行、操作项一行可横滑），内容区收紧内边距。
   ================================================================================== */
body.mp-embed .web-container { max-width: 100%; }

/* ---- 顶栏：logo 一行 + 操作项一行（可横向滑动，不再换行断裂） ---- */
body.mp-embed .web-header {
    height: auto; min-height: 46px; padding: 6px 10px;
    flex-wrap: wrap; row-gap: 2px;
    position: static;            /* 让位给下方 sticky 的菜单条 */
}
body.mp-embed .web-header .logo { font-size: 13px; gap: 6px; }
body.mp-embed .web-header .user {
    flex: 1 1 100%; gap: 12px; font-size: 12px;
    overflow-x: auto; -webkit-overflow-scrolling: touch;
    padding: 4px 0 2px;
}
/* 顶栏各项带内联 margin-left:12px，统一清掉改用 gap，避免首项被推偏 */
/* V2.70.97 H1-3：补 `> button` —— V2.69.3 已把三端顶栏「修改密码」由 <span> 改成 <button>
   （asset.js:163 / admin.js:130 / partner.js:81），CSS 却没跟改 ⇒ 内嵌端只剩它被竖排/错位。
   `white-space: nowrap` 是第二道保险：横条里任何一项都不许折行。
   同类参照：admin-business.css:43-44 早就同时写了 span 与 button。 */
body.mp-embed .web-header .user > span,
body.mp-embed .web-header .user > button { flex: 0 0 auto; margin-left: 0 !important; white-space: nowrap; }

/* ---- 侧栏：左侧窄列 → 顶部横向滚动菜单条（图标 + 文字都在） ---- */
body.mp-embed .web-layout { flex-direction: column; min-height: auto; }
body.mp-embed .web-sidebar {
    width: 100%; display: flex; align-items: center;
    padding: 6px 8px; gap: 6px;
    overflow-x: auto; -webkit-overflow-scrolling: touch;
    position: sticky; top: 0; z-index: 90;
}
body.mp-embed .web-sidebar .menu-group { display: flex; gap: 6px; padding: 0; }
body.mp-embed .web-sidebar .menu-group-title { display: none; }   /* 分组标题在横条里无意义 */
body.mp-embed .web-sidebar .menu-item {
    flex: 0 0 auto; white-space: nowrap; line-height: 1.2;
    margin: 0 !important; padding: 7px 12px !important;
    border-radius: 15px !important; border-left: none !important;
    font-size: 13px !important; gap: 5px !important;
}
/* 覆盖 768px 断点里把菜单文字隐藏掉的规则 */
body.mp-embed .web-sidebar .menu-item span { display: inline !important; }
body.mp-embed .web-sidebar .menu-item.active {
    background: linear-gradient(90deg, #1890ff, #096dd9) !important;
    color: #fff !important;
}

/* ---- 内容区：小屏收紧 ---- */
body.mp-embed .web-content { padding: 12px 10px 28px; }
body.mp-embed .web-content h2 { font-size: 16px; }
body.mp-embed .stat-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
body.mp-embed .data-table th, body.mp-embed .data-table td { padding: 10px; font-size: 13px; }
