@charset "UTF-8";

:root {
    --主色: #1E9FFF; 
    --字号: 16px;
    --行高: calc((var(--字号) * 11 + 202px)/7); /* 列表行高 */
    --行高小: calc(var(--字号) + 10px); /* 说明,笔记行高 */
    --选框: calc(var(--字号) + 2px); /* 单选,多选框宽高 */
    --字母: calc(var(--字号) + 10px); /* 首字母(宽高)检索 */
    --左宽: calc(var(--字号) * 5 + 5px); /* 表一右  第一个td宽 */
    --导航宽: calc((var(--字号) * 37 + 420px) / 7);
    --会员筛选宽: calc(var(--字号) * 10 + 170px);
    --筛选宽: calc(var(--字号) * 10 + 170px);

    --权限宽: calc(var(--字号) * 7 + 22px);
    --弹小层宽: calc(var(--字号) * 28 + 290px);
    --弹大层宽: calc(var(--字号) * 35 + 580px);
    --日期宽: calc((var(--字号) * 36 + 123px) / 7);
    --头像宽高: calc(var(--字号) * 2 + 8px);
    --w2: calc((var(--字号) - 16px) * 2 + 35px);
    --w3: calc((var(--字号) - 16px) * 3 + 50px);
    --w7: calc((var(--字号) - 16px) * 6 + 90px);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

body {
    font-family: "Microsoft YaHei", "微软雅黑", "PingFang SC", "Hiragino Sans GB", "Segoe UI", Roboto, Arial, sans-serif;
    line-height: 1.6; 
    color: #333;
    font-weight: 400; 
    background-color: #f5f7fa; 
    margin: 0;
    padding: 0;
    font-size: var(--字号);
    overflow-y: scroll;
}



input[type="text"],
input[type="number"],
input[type="password"],
input[type="date"],
select,
textarea {
    width: 100%;
    padding: 6px;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: var(--字号);
    border-radius: 10px;
    vertical-align: middle;
}

textarea{
    
    margin: 5px 0;
}

input[type="file"] {
    display: none;
}

input[type="radio"],
input[type="checkbox"] {
    width: var(--选框);
    height: var(--选框);
    vertical-align: middle;
    cursor: pointer;
    accent-color: var(--主色);
    margin-right: 2px;
    margin-top: -3px;
}

label {
    margin-right: 10px;
}
.筛选下拉 label{
    margin-right: 0px;
}

pre {
    font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Noto Sans CJK SC, WenQuanYi Micro Hei, Arial, sans-serif
}

table {
    padding: 0 5px;
    border-collapse: separate;
}

table tr {
    height: var(--行高);
    line-height: var(--行高);
}

table tr td {
    border-top: 1px solid #ddd;
}

/* 设置页表格：左侧标签列固定宽度且不换行，避免移动端被右边挤成两行 */
.设置表 {
    width: 100%;
    table-layout: fixed;
}

.设置表 tr td:first-child {
    width: calc(var(--字号) * 5 + 10px);
    white-space: nowrap;
    padding-right: 8px;
}

.设置表 tr td:last-child {
    word-break: break-word;
    overflow-wrap: break-word;
}

.border{
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 4px;
}
.fa{
    font-size: calc(var(--字号) + 2px);
    /* vertical-align: middle; */
}
button {
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 10px;
    cursor: pointer;
    transition: filter 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
    font-size: var(--字号);
    vertical-align: middle;
    padding: 4px 8px;
    line-height: calc(var(--字号) + 10px);
    background: var(--主色);
    color: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
    margin: 0 1px;
}

button:hover,
button.active {
    border-color: #ffffff;
    filter: brightness(1.1);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
    font-weight: bold;
}

button:active {
    filter: brightness(0.95);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    transform: scale(0.97);
}

button:hover .fa {
    font-weight: bold;
}

button:disabled,
.btn:disabled {
    background: #ccc;
    border-color: #bbb;
    cursor: not-allowed;
    opacity: 0.65;
    box-shadow: none;
}

.fa-image {
    font-size: 34px;
    vertical-align: middle;
}

.tl {
    text-align: left;
}

.tc {
    text-align: center;
}

.fw {
    font-weight: bold;
}

.w2 {
    min-width: var(--w2);
}

.w3 {
    min-width: var(--w3);
}

.w7 {
    min-width: var(--w7);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-50%) scale(0.5);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) scale(1);
    }
}




#app {
    display: flex;
    min-height: 100vh
}

@media (min-width:1188px) {

    #app .pc-yc {
        display: none;
    }

}

#app .强制居中 {
    text-align: center !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
}

.灰字 {
    color: #bbb;
}

/* 锁定状态（行/卡片加 class="锁定" 即可置灰） */
.锁定 {
    color: #bbb;
}

/* 消息提示 */

.提示弹层 .主体 {
    position: fixed;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    padding: 10px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    animation: slideIn 0.1s;
    border-radius: 99px;
}

.提示弹层 .主体.ok {
    background-color: #16B777
}

.提示弹层 .主体.x {
    background-color: #ff0000
}


/* 确认提示弹层样式 */
.confirm-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 9998;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.confirm-overlay .confirm-modal {
    background: white;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    overflow: hidden;
    position: fixed;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    animation: slideIn 0.1s;
}

.confirm-overlay .confirm-header {
    background: var(--主色);
    color: white;
    padding: 0 20px;
    height: var(--行高);
    line-height: var(--行高);
}

.confirm-overlay .confirm-header h3 {
    margin: 0;
    font-size: var(--字号);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.confirm-overlay .confirm-header h3::before {
    content: '';
    width: 4px;
    height: calc(var(--字号) + 4px);
    background: rgba(255, 255, 255, 0.85);
    border-radius: 2px;
    font-weight: bold;
    flex-shrink: 0;
}




.confirm-overlay .confirm-body {
    padding: 20px;
}

.confirm-overlay .confirm-body p {

    margin: 0 0 15px 0;

    color: #333;
    line-height: 1.5;
}

.confirm-overlay .confirm-input-wrapper {
    margin-top: 15px;
}

.confirm-overlay .confirm-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    box-sizing: border-box;
}

.confirm-overlay .confirm-input:focus {
    outline: none;
    border-color: var(--主色);
}

.confirm-overlay .confirm-footer {
    display: flex;
    border-top: 1px solid #eee;
}

.confirm-overlay .confirm-btn {
    flex: 1;
    padding: 12px 0;
    border: none;
    font-size: var(--字号);
    cursor: pointer;
    background: white;
    transition: background 0.3s;
}

.confirm-overlay .confirm-btn:hover {
    background: #f5f5f5;
}

.confirm-overlay .confirm-cancel {
    border-right: 1px solid #eee;
    color: #666;
}

.confirm-overlay .confirm-ok {
    color: var(--主色);
    font-weight: 500;
}



/* 多列均分下拉：flex 等分，文字超出显示省略号 */
.下拉四均分,
.下拉三均分,
.下拉二均分 {
    display: flex;
    align-items: center;
    gap: 4px;
    height: 100%;
    min-height: var(--行高);
}

/* 单元格内可能有 span 分组，需同样用 flex 等分 */
.下拉四均分 > span,
.下拉三均分 > span,
.下拉二均分 > span {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1 1 0;
    min-width: 0;
}

.下拉四均分 select,
.下拉四均分 input,
.下拉三均分 select,
.下拉三均分 input,
.下拉二均分 select,
.下拉二均分 input {
    flex: 1 1 0;
    min-width: 60px;
    box-sizing: border-box;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* 服务次数 */
.服务次数下拉 input {
    width: 60px;
    box-sizing: border-box;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.导航 {
    width: var(--导航宽);
    height: 100vh;
    background-color: var(--主色);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: fixed;
    left: 0;
    top: 0;
    overflow-y: auto;
    z-index: 20;

    box-shadow: 2px 0 16px rgba(0, 0, 0, 0.1);
    /* 隐藏滚动条但保持滚动功能 */
    scrollbar-width: none;  /* Firefox */
    -ms-overflow-style: none;  /* IE and Edge */
}

.导航 .crm {
    position: relative;
    /* width: calc(100% - 16px); */
    height: var(--行高);
    line-height: var(--行高);
    text-align: center;
    flex-shrink: 0;
    font-size: calc(var(--字号) + 6px);

    font-weight: 700;
    letter-spacing: 2px;

    /* background-color: #fff; */
    /* background-image: linear-gradient(160deg, #ffffff, #ffe9ec); */

    /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18), inset 0 1px 0 #fff; */
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* 品牌牌匾底部的小装饰线 */
.导航 .crm::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 8px;
    width: 90%;
    height: 1px;
    transform: translateX(-50%);
    border-radius: 2px;
    background-color: currentColor;
    opacity: 0.8;
}

.导航 .行 {
    display: flex;
    align-items: center;
    width: calc(100% - 16px);
    margin: 2px 0;
    cursor: pointer;
    padding: 12px 8px;
    border-radius: 8px;
    transition: background-color 0.2s;
    /* 禁止被选中 */
    user-select: none;
}

.导航 .行 span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.导航 .行:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.导航 .行.active {
    background-color: rgba(255, 255, 255, 0.3);
    font-weight: 600;
}

.导航 .行 i {
    width: calc(var(--字号) + 2px);
    text-align: center;
    margin-right: 6px;
    transition: opacity 0.2s;
}

.导航 .行:hover i,
.导航 .行.active i {
    opacity: 1;
}


.遮盖层 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1999;
    display: flex;
    justify-content: center;
    align-items: center;


    flex-direction: column;


}

.遮盖层 .头部 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--主色);
    color: #fff;
    height: var(--行高);
    line-height: var(--行高);
    flex-shrink: 0;
    padding: 0 10px;
}

.遮盖层 .中间 {
    flex-shrink: 0;
    background-color: #f5f7fa;
    padding: 5px;

    

}


.透明层 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: none;
    z-index: 1999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.内容 {
    flex: 1;
    /* 自动占据剩余空间 */
    overflow-y: auto;
    margin-left: var(--导航宽);
}
.右边 .中间 {
    background-color: #f5f7fa;
    margin-top: var(--行高);
    /* overflow: auto; */
}

.内容>template>div {
    padding: 20px
}

.内容 .头部 {
    background: var(--主色);
    color: #fff;
    height: var(--行高);
    line-height: var(--行高);
    padding: 0 10px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 2px;
    position: fixed;
    top: 0;
    left: var(--导航宽);
    right: 0;
    flex: 1;
    z-index: 30;
    box-sizing: border-box;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.内容 .头部 span {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
  
    letter-spacing: 0.02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.内容 .头部 span::before {
    content: '';
    width: 4px;
    height: calc(var(--字号) + 4px);
    background: rgba(255, 255, 255, 0.85);
    border-radius: 2px;
    flex-shrink: 0;
}



.列表 .中间 .tl {
    line-height: var(--行高小);
    /* 强制换行 */
    word-break: break-word;
}

.列表 table {
    text-align: center;
    width: 100%;
    border-collapse: collapse;
    padding: 5px;
    
}

.列表 table tr th,
.列表 table tr td {
    border-bottom: 1px solid #ddd;
    /* 禁止被选中 */
    user-select: none;
}



.列表 table tr td img {
    width:var(--头像宽高);
    height:var(--头像宽高);
    border-radius: 10%;
    margin-bottom: 4px;
    vertical-align: middle;
    object-fit: cover;
}

.fa-photo {
    color: var(--主色);
    font-size: calc(var(--字号) + 18px);
}

.列表 table tbody tr {
    cursor: pointer;
}

.列表 table tbody tr:nth-child(even) {
    background-color: color-mix(in srgb, var(--主色) 15%, transparent);
}

.列表 table tbody tr:hover {

    background-color: var(--主色);
    color: #fff;
}

.列表 table tbody tr:hover .touxiang i {
    color: #fff;
}

/* 会员列表：卡片模式 */
.会员卡片列表 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 16px;
    padding: 16px;
    box-sizing: border-box;
}

.会员卡片 {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    transition: transform 0.15s, box-shadow 0.15s;
}

.会员卡片:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.卡片头像 {
    display: block;
    aspect-ratio: 1;
    overflow: hidden;
}

.卡片头像 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    background: #eee;
}

.卡片信息 {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 14px 14px;
    line-height: 1.7;
}

.卡片行 {
    display: flex;
    gap: 8px;
}

.卡片行 span {
    flex-shrink: 0;
    color: #888;
}

.卡片行 b {
    font-weight: 400;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.卡片行.择偶 b {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    white-space: normal;
}

@media (max-width: 1187px) {
    .会员卡片列表 {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 10px;
    }
}

@media (max-width: 540px) {
    .会员卡片列表 {
        grid-template-columns: 1fr;
    }
}


.弹小层,
.弹大层 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.弹小层>div,
.弹大层>div {
    width: 90%;
    max-height: 90vh;
    max-width: var(--弹大层宽);
    overflow: auto;
    /* 隐藏滚动条但保留滚动功能 */
    scrollbar-width: none;
    -ms-overflow-style: none;
    /* 阻止滚动到底后把滚动传给背后的页面（iOS 滚动穿透） */
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    position: relative;
    display: flex;
    flex-direction: column;
}

.弹小层>div::-webkit-scrollbar,
.弹大层>div::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}
.弹小层>div {
    max-width: var(--弹小层宽);
}

.弹小层 .头部,
.弹大层 .头部 {
    background-color: var(--主色);
    color: #fff;
    height: var(--行高);
    line-height: var(--行高);
    padding: 0 10px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    box-sizing: border-box;
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 2999;
    border-left: 0px solid #fff;
}

.弹小层 .头部 span,
.弹大层 .头部 span {
    flex: 1;
}

.弹小层 .中间,
.弹大层 .中间 {
    flex-shrink: 0;
    margin: 0;
    background-color: #f5f7fa;
}

.弹小层 .中间 table,
.弹大层 .中间 table {
    width: 100%;
}

/* 弹层表单：左列固定宽度靠右对齐，右列靠左，两列之间留间距 */
.弹小层 .中间 table tr td:first-child:not([colspan]),
.弹大层 .中间 table tr td:first-child:not([colspan]) {
    width: calc(var(--字号) * 6);
    text-align: right;
    white-space: nowrap;
    padding-right: 10px;
    color: #888;
}

.弹小层 .中间 table tr td:first-child:not([colspan]) + td,
.弹大层 .中间 table tr td:first-child:not([colspan]) + td {
    text-align: left;
}


.中间::after,
.弹小层 .中间::after,
.弹大层 .中间::after {
    content: "到底喽";
    text-align: center;
    display: block;
    clear: both;
    width: 100%;
    color: #999;
    line-height: var(--行高);
}








.查看会员弹层 {
    position: fixed;
    top: 0;
    left: 0;
    background-color: #f5f7fa;
    padding: 5px;
    width: 100%;
    height: 100%;
    overflow: auto;

    flex-direction: column;

    /* 添加滚动条 */
}

.遮盖层 .头部 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    left: 0;
    flex-shrink: 0;
    z-index: 30;
}

.遮盖层 .中间 {
    flex-shrink: 0;
}

.查看会员弹层 .会员表 {
    width: 61.8%;
}

.会员表 {
    width: 100%;
    float: left;
    border-spacing: 0;
    border: 2px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
}

.表一右 tr td:nth-child(odd) ,
.会员表 tr td:nth-child(odd) {

    min-width: var(--左宽);
    max-width: var(--左宽);
    width: var(--左宽);
    text-align: right;
}

.会员表 .多图 {
    display: flex;
    flex-wrap: wrap;
    gap: 2px
}

.会员表 .多图 .一张 {
    position: relative;
    width: 50px;
    height: 82px;
    overflow: hidden;
    border: 1px solid #ddd;
    border-radius: 4px
}
.日期选择器{
    width: 100px;
}
/* 扫码登记会员高亮样式 */
.扫码登记 {
    animation: huxi 1.5s ease-in-out infinite;
}

@keyframes huxi {
    0% {
        opacity: 0.1;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.1;
    }
}

/* 推广二维码样式 */
.推广码 .中间 {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 5px;
}

#推广二维码容器 {
    padding: 10px;

}

#推广二维码容器 canvas {
    border-radius: 8px;
}

/* 提交按钮样式 */
.会员表.手机版 .提交按钮.disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.会员表.手机版 .提交按钮.disabled:hover {
    background-color: #ccc;
}

.多图 .一张 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;

}

img {
    user-select: none;
    /* 禁用文本选择 */
    -webkit-user-select: none;
    /* 兼容 Safari/Chrome */
    -moz-user-select: none;
    /* 兼容 Firefox */
    -ms-user-select: none;
    /* 兼容 IE/Edge */
}

/* 延迟加载图片样式 */
.lazy-load {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.lazy-load.loaded {
    opacity: 1;
}




.相亲卡 {
    width: 100%;
    white-space: pre-wrap;
    word-wrap: break-word;
}







.其它 {
    width: 37.7%;
    min-height: 500px;
    float: left;
    margin-left: 5px;

}

.其它 tr {
    line-height: var(--行高);
    vertical-align: middle;
}

.其它>div {
    border: 2px solid #ddd;
    border-collapse: collapse;
    padding: 5px;
    margin-bottom: 5px;
    border-radius: 10px;
}

.其它 tr td pre {
    width: 100%;
    /* 自动换行 */
    word-wrap: break-word;
    white-space: pre-wrap;
    line-height: 30px;
}



.表一右 tr td:nth-child(even) {
    width: 100%;
    text-align: left;
}

.其它 table {
    width: 100%;
}


.跟进记录 div {
    border-bottom: 1px dashed #ddd;
}

.跟进记录 i {
    color: #ff0000;
    cursor: pointer;
}

.其它 .约会搜索框 {
    width: 200px;
}

.其它 h4 {
    border-bottom: 1px dashed #ddd;
}

.签单 tr td input[type="text"],
.约会 tr td input[type="text"],
.续费 tr td input[type="text"] {
    width: var(--日期宽);
    min-width: var(--日期宽);
}
.w70,
input.w70,
.签单 tr td input.w70,
.约会 tr td input.w70,
.续费 tr td input.w70 {
    width: 70%;
}

.w100,
.签单 tr td input.w100,
.约会 tr td input.w100,
.续费 tr td input.w100 {
    width: 100%;
}

.放大图片弹层 {
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.8);
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    user-select: none;
}

.放大图片弹层 img {
    max-width: 98%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 4px;
    transform-origin: center center;
    cursor: grab;
    touch-action: none;
    user-select: none;
    -webkit-user-drag: none;
    -webkit-touch-callout: default;
}

.放大图片弹层 .图片弹层按钮 {
    position: fixed;
    top: 10px;
    right: 8px;
}
.放大图片弹层 .图片弹层按钮 button{
    margin-left: 5px;
}


/* #region 下拉弹层（操作下拉、更多导航共用） */
.操作下拉,
.更多导航弹层 {
    min-width: 120px;
    background-color: var(--主色);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    color: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.14);
    display: flex;
    flex-direction: column;
    padding: 6px 0;
    overflow: hidden;
    z-index: 30;
}

.操作下拉 {
    position: fixed;
    top: calc(var(--行高) + 5px);
    right: 17px;
}

.操作下拉 div,
.更多导航弹层 div {
    width: 100%;
    line-height: var(--行高);
    height: var(--行高);
    padding: 0 16px;
    display: flex;
    align-items: center;
    border-radius: 0;
    cursor: pointer;
}

.操作下拉 div:hover,
.操作下拉 div:active,
.更多导航弹层 div:hover,
.更多导航弹层 div:active {
    background-color: rgba(255, 255, 255, 0.15);
    color: #fff;
}


/* #endregion 下拉弹层 */










#datePickerOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

#datePickerOverlay>div {
    width: 100%;
    max-width: 400px;
    background: white;
    border-radius: 10px;
    box-sizing: border-box;
}

/* 上传组件样式 */
.头像上传,
.相册上传,
.档案上传 {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    padding: 10px 0;
}

.图片上传 {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    padding: 10px 0;
}

.图片上传 .图片一个 {
    height: 82px;
    position: relative;
    display: inline-block;
}

.图片上传 .图片一个 img {
    width: 50px;
    height: 82px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
}

.图片上传 .图片删除 {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #ff0000;
    color: white;
    border-radius: 50%;
    width: var(--字母);
    height: var(--字母);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--字号);
    cursor: pointer;
    z-index: 10;
}

.图片上传 .添加图片 {
    border: 1px dashed #ccc;
    border-radius: 4px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color 0.3s;
}

.图片上传 .添加图片:hover {
    border-color: var(--主色);
}

.图片上传 .上传加号 {
    font-size: calc(var(--字号) + 2px);
    color: var(--主色);
}

.图片上传 .二维码图片 {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 4px;
    filter: none;
    -webkit-filter: none;
}

.红娘权限 {

    line-height: var(--行高小);
    max-width: 360px;
    text-align: left;
}


.date-picker {
    background-color: #f5f7fa;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    user-select: none;
    width: 500px;
    height: 380px;
}

.picker-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    border-bottom: 1px solid #e0e0e0
}


.picker-title {
    font-size: var(--字号);
    font-weight: 600;
    text-align: center;
}
.picker-title .灰字 {
    font-size: calc(var(--字号) - 4px);
}
.picker-columns {
    display: flex;
    justify-content: space-around;
    height: 300px;
    overflow: hidden
}

.picker-column {
    flex: 1;
    position: relative;
    overflow: hidden
}

.picker-mask {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background-color: var(--主色); */
    /* background: linear-gradient(to bottom, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.9)); */
    pointer-events: none;
    z-index: 10
}

.picker-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 60px;
    margin-top: -30px;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    pointer-events: none;
    z-index: 10
}

.picker-column-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    transition: transform 0.1s ease-out
}

.picker-item {
    height: 60px;
    line-height: 60px;
    text-align: center;
    font-size: var(--字号);
    color: #8e8e93
}

.picker-item.active {
    color: #000;
    font-weight: 600
}

.date-picker-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}





.文案列表 .中间 div {
    padding: 10px;
    border: 1px solid #ddd;
}

.新增文案弹层,
.编辑文案弹层 {
    width: 100%;
    max-width: 1000px;
    max-height: 500px;
    background: rgba(0, 0, 0, 0.356);
    border-radius: 10px;
    box-sizing: border-box;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.新增文案弹层 .中间,
.编辑文案弹层 .中间 {
    margin: 0px;
    padding: 10px;
    background-color: #f5f7fa;
}

.新增文案弹层 .中间 textarea,
.编辑文案弹层 .中间 textarea {
    width: 100%;
    height: 77vh;
}


.筛选遮盖层 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1999;

}

.筛选弹层 {
    width: 90%;

    height: 100%;
    max-width: var(--筛选宽);
    text-align: center;
    background: #f5f7fa;
    box-sizing: border-box;
    position: fixed;
    top: 0;
    right: 0;
    box-sizing: border-box;
}

.会员筛选弹层 {
    width: 100%;
    max-width: var(--会员筛选宽);
}




.筛选弹层 .头部2 {
    background-color: var(--主色);
    color: #fff;
    height: var(--行高);
    line-height: var(--行高);
    padding: 0 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3px;

}


.筛选弹层 .头部2 span {
    flex: 1;
    text-align: left;
}

.筛选弹层 .首字母检索 {
    margin: 10px 0;
}

.筛选弹层 .首字母检索 .字母表 {
    margin-bottom: 10px;
}

.筛选弹层 .首字母检索 .字母行 {
    height: var(--字母);
}

.筛选弹层 .首字母检索 .字母行 button {
    width: var(--字母);
    height: var(--字母);
    margin: 0 1px;
    padding: 0;
    line-height: var(--字母);
    /* border-radius: calc(var(--字母) / 2); */
}

.筛选弹层 .首字母检索 .字母行 .占位隐藏 {
    visibility: hidden;
    margin-top: -8px;
}


.筛选弹层 .首字母检索 input {
    width: 200px;
    margin-bottom: 10px;
}

.筛选弹层 .筛选下拉 {
    padding: 10px;
}

.筛选弹层 .筛选下拉>div {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 5px;
    margin-bottom: 5px;
}

.筛选按钮 {
    width: 100%;
    padding: 5px 6px;
    cursor: pointer;
}

.匹配弹层 {
    width: 100%;
    max-height: 100vh;
    overflow: auto;
    background-color: #f5f7fa;
}

.匹配弹层 .中间 {
    background-color: #f5f7fa;
}


.匹配弹层 .匹配结果列表 {
    text-align: center;
    width: 100%;
    overflow: auto;
    float: right;
}

.搜索结果 {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    gap: 3px;
}

.搜索结果 img {
    width: var(--头像宽高);
    height: var(--头像宽高);
    border-radius: 5px 0 0 5px;
}

.搜索结果 .单个 {
    cursor: pointer;
    border-radius: 5px;
    background-color: var(--主色);
    color: #fff;
    line-height: 36px;
    height: 40px;
}

.搜索结果 .单个 div {
    float: left;
}

.搜索结果 .单个 div:nth-child(2) {
    padding: 0 5px;
}


.推广码 .中间 {
    text-align: center;
    padding: 20px;
}

.推广码 img {
    max-width: 100%;
    max-height: 100%;
}


.说明 table {
    text-align: left;
    border: 1px solid #ddd;
}

.说明 table td {
    padding: 0 10px;
}

.撤单 {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 50px;
    padding: 20px 40px;
    border-radius: 5px;
    cursor: pointer;

}

.主题 button {
    width: 34px;
    height: 34px;
    margin: 0 1px;
    padding: 0;
    vertical-align: middle;
    border-radius: 8px;
    background-image: none;
    border: 2px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
    line-height: 34px;
    color: transparent;
}

.列表 table.统计表{
    border: 2px solid #ddd;
    border-radius: 8px;
    border-collapse: separate; /* 合并边框会 ignore border-radius */
    border-spacing: 0;
    padding: 0;
    overflow: hidden;
}

/* 分离边框后会重复出现横线，这里合并成单线 */
.列表 table.统计表 tr td {
    border-bottom: none;
}

.列表 table.统计表 tr:first-child td {
    border-top: none;
}



/* 分页样式 */
.分页区域 {

    text-align: center;
    border-top: 1px solid #eee;
    margin-top: 10px;
}


.加载更多按钮 {
    padding: 0 24px;
    line-height: calc(var(--按钮行高) + 6px);
}

.加载更多按钮 i {
    margin-right: 5px;
}
.备注{
    line-height: var(--行高小);
}

/* 备注保留换行和原格式，同时自动折行不撑破表格 */
.备注 pre {
    white-space: pre-wrap;
    word-break: break-word;
    overflow-wrap: anywhere;
    line-height: inherit;
}

@media (max-width: 768px) {
    .date-picker-container {
        justify-content: flex-end;
    }

    .date-picker {
        width: 100%;
        border-radius: 10px 10px 0 0;
    }
}

@media (max-width:1187px) {

    #app .m-yc {
        display: none;
    }

    .导航 {
        width: calc(100% - 24px);
        left: 12px;
        right: 12px;
        height: var(--行高);
        bottom: calc(10px + env(safe-area-inset-bottom, 12px));
        flex-direction: row;
        justify-content: space-between;
        position: fixed;
        top: auto;
        background-color: var(--主色);
        background-image: none;
        color: #fff;
        border-radius: 99px;
        box-shadow: 0 4px 24px color-mix(in srgb, var(--主色) 45%, transparent), 0 1px 2px rgba(0, 0, 0, 0.12);
        z-index: 20;
        overflow: visible;
        display: flex;
        align-items: stretch;
        box-sizing: border-box;
        padding: 0;
    }


    .导航 .行 {
        flex: 1;
        min-width: 0;
        width: auto;
        margin: 0;
        height: auto;
        line-height: normal;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 0 2px;
        border-bottom: none;
        border-radius: 99px;
        background: transparent;
        color: rgba(255, 255, 255, 0.82);
        transition: color 0.2s, background-color 0.2s;
    }

    .导航 .行:hover {
        background-color: rgba(255, 255, 255, 0.12);
        background-image: none;
        color: #fff;
    }

    .导航 .行.active {
        background-color: rgba(255, 255, 255, 0.22);
        background-image: none;
        color: #fff;
    }

    .导航 .行 i {
        width: auto;
        margin-right: 0;
        margin-bottom: 2px;
        font-size: calc(var(--字号) + 6px);
        opacity: 1;
    }

    .导航 .更多导航弹层 i{
        margin-right: 5px;
    }


    .导航 .行 span {
        font-size: calc(var(--字号) * 0.38 + 4px);
        line-height: 1.2;
        white-space: nowrap;
    }

    .更多导航弹层 {
        position: fixed;
        bottom: calc(18px + var(--行高) + env(safe-area-inset-bottom, 12px));
        right: 12px;
    }

    .导航 .更多导航弹层 span{
        font-size: var(--字号);
    }

    .内容 {
        flex: 1;
        overflow-y: auto;
        margin-left: 0px;
        padding-bottom: calc(var(--行高) + 24px + env(safe-area-inset-bottom, 12px));
    }

    .内容 .头部 {
        width: 100%;
        margin-left: 0;
        left: 0;
        height: calc(var(--行高) + env(safe-area-inset-top, 0px));
        padding: env(safe-area-inset-top, 0px) 5px 0;
    }

    .右边 .中间 {
        margin-top: calc(var(--行高) + env(safe-area-inset-top, 0px));
    }


    #app {
        flex-direction: column;
        min-height: 100vh
    }

    #datePickerOverlay {
        align-items: flex-end;
    }



    .查看会员弹层 .会员表,
    .查看匹配会员弹层 .会员表 {
        width: 100%;
    }

    .查看会员弹层 tr td,
    .查看匹配会员弹层 tr td,
    .编辑会员弹层 tr td,
    .新增会员弹层 tr td {
        float: left;
    }

    /* 移动端 td 变 float 布局，取消桌面端的 flex 撑高，避免影响后续行 */
    /* .下拉四均分,
    .下拉三均分,
    .下拉二均分 {
        height: auto;
        min-height: 0;
    } */

    .查看会员弹层 tr td:nth-child(even),
    .查看匹配会员弹层 tr td:nth-child(even),
    .编辑会员弹层 tr td:nth-child(even),
    .新增会员弹层 tr td:nth-child(even),
    .会员表 tr td:nth-child(2) {
        min-width: calc(100% - var(--左宽));
        max-width: calc(100% - var(--左宽));
        width: calc(100% - var(--左宽));
    }

    /* .会员筛选弹层{
        max-width: 100%;
    } */

    .其它 {
        width: 100%;
        margin-left: 0;
        margin-top: 5px;
    }

    .弹小层>div,
    .弹大层>div {
        width: 100%;
        height: 100%;
        max-height: 100vh;
        max-width: 100vw;
        overflow: auto;
        background-color: #f5f7fa;
    }

    .弹小层 .中间,
    .弹大层 .中间 {
        height: 100%;
    }

    .匹配弹层 .匹配结果列表 {
        text-align: center;
        width: 100%;
        max-width: 100%;
        overflow: auto;
        float: right;
    }


}

/* 视频弹窗 */
.视频弹窗 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.视频容器 {
    background: white;
    border-radius: 8px;
    width: 90%;
    max-width: 900px;
    height: 70%;
    max-height: 600px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.视频头部 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    font-weight: bold;
    flex-shrink: 0;
}

.视频头部 .关闭按钮 {
    background: none;
    border: none;
    cursor: pointer;
    color: #999;
    padding: 0;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
}

.视频头部 .关闭按钮:hover {
    color: #333;
}

.视频内容 {
    flex: 1;
    overflow: hidden;
    border-radius: 0 0 8px 8px;
    position: relative;
}

.视频内容 iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: none;
}


.设置 .功能项 {
    margin-bottom: 6px;
    line-height: 1.7;
}

.设置 .功能项:last-child {
    margin-bottom: 0;
}
.设置 img{
    width: 150px;
    height: auto;
}

.建议与反馈容器 {
    position: relative;
    width: 70%;
    
    max-width: 500px;
}

.建议与反馈容器 textarea {
    width: 100%;
    height: 100px;
    padding-right: 60px;
    box-sizing: border-box;
}

.建议与反馈按钮 {
    position: absolute;
    right: 1px;
    bottom: 8px;
    /* padding: 4px 12px; */
    background-color: var(--主色);
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

/* 手机端全窗口 */
@media (max-width: 768px) {
    .视频容器 {
        width: 100%;
        height: 100%;
        max-width: none;
        max-height: none;
        border-radius: 0;
    }
}

/* 统计卡片样式 */
.统计Tab区域 {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    border-bottom: 2px solid #ddd;
    padding: 0 10px;
    justify-content: flex-end;
    height: var(--行高);
    line-height: var(--行高);
    align-items: center;
    margin-bottom: 10px;
}



.头部2 {
    background-color: var(--主色);
    color: #fff;
    height: var(--行高);
    line-height: var(--行高);
    padding: 0 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.头部2 span {
    flex: 1;
}

.收费合计 {
    margin-right: 10px;
    font-weight: bold;
}

.中间2 {
    overflow: auto;
}

.统计分组 h3 {
    text-align: center;
}

/* 统计页筛选区 */
.统计筛选 {
    padding: 10px;
    background: #fff;
    border-radius: 10px;
    margin-bottom: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.统计快捷 {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.统计日期 {
    display: flex;
    align-items: center;
    gap: 6px;
}

.统计日期 input {
    width: calc(var(--字号) * 7);
}

/* 统计卡片 */
.统计卡片 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    background: #fff;
    border-radius: 10px;
    padding: 12px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.统计卡片 > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 4px;
    background: #f5f7fa;
    border-radius: 8px;
}

.统计卡片 span {
    font-size: calc(var(--字号) - 2px);
    color: #888;
}

.统计卡片 b {
    font-size: calc(var(--字号) + 4px);
    color: var(--主色);
    margin-top: 2px;
}

.统计分组 h3 {
    margin: 0 0 8px 4px;
    font-size: calc(var(--字号) + 2px);
}

.统计容器 {
    margin-bottom: 10px;
}

/* PC端：统计分组横向排列 */
@media (min-width: 769px) {
    .统计容器 {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: flex-start;
    }
    
    .统计容器 .统计分组 {
        width: 48%;
    }
}



@media (max-width: 768px) {
    
    .统计Tab区域 {
        display: flex;
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
        gap: 4px;
        overflow-x: auto;
    }
    .统计分组 {
        margin-bottom: 10px;
    }
}

/* 打印样式：仅显示打印区域 */
@media print {
    body > *:not(#app) { display: none !important; }
    #app > *:not(#打印区域) { display: none !important; }
    #打印区域 { 
        display: block !important; 
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        
    }
    #打印_zeouyaoqiu,
    #打印区域 input{
        font-family: "Microsoft YaHei", "微软雅黑", "PingFang SC", "Hiragino Sans GB", "Segoe UI", Roboto, Arial, sans-serif;
        border: none;
        outline: none;
        font-size: 24px;
        padding: 3px 0;
    }
    #打印_zeouyaoqiu{
        height: 130px;
    }
    #打印_crm{
        font-size: 36px;
        text-align: center;
        font-weight: bold;
    }

    .ewm{
        display: flex;
        justify-content: space-around;
        align-items: center;
        font-size: 24px;
        text-align: center;
    }
    .ewm img{
        width: 200px;
        height: 200px;
    }
}

/* PC 端才显示的列：移动端隐藏，给需要隐藏的 th/td 加 class="pc列" 即可 */
@media (max-width: 1187px) {
    .pc列 {
        display: none;
    }
}