/* 查询助手页专属CSS：从样本 chunk-6f2e0d2a.346a6238.css 原样提取(41条规则) */
/* 含 consultation-table-wrap/tab-wrap/table-wrap/label-qs/table/redcolor/sel-type 全部视觉 */
/* rem基准：复刻样本 html{font-size:13.33333vw}，375px=50px */

/* 最外层容器：相对定位，min-height100vh，顶部留白见下方补充样式 padding-top:46px */
.picture_lts{display:flex;position:fixed;bottom:4.8rem;right:.24rem;z-index:101}
.consultation-table-wrap{position:relative;min-height:100vh;padding-top:.92rem}

/* 双tab：绝对定位 top:.92rem(顶栏下方)，flex两等分，下边框 */
/* 顶栏高46px，tab用固定46px定位(覆盖样本 .92rem，PC端1rem=100px不错位) */
.consultation-table-wrap .tab-wrap{display:flex;text-align:center;height:1rem;line-height:1rem;position:absolute;top:46px;left:0;width:100%;border-bottom:.02rem solid #b8b8b8;z-index:1}
.consultation-table-wrap .tab-wrap .tab-item{flex:1;font-size:.32rem;color:#333}
.consultation-table-wrap .tab-wrap .tab-item .icon-sort-down{font-size:.24rem;margin-left:.1rem}

/* 折线图SVG容器：绝对定位 top:.6rem，覆盖表格 */
.consultation-table-wrap #chart_svg{position:absolute;top:.6rem}

/* 表格滚动区：高度 calc(100vh-96px-56px)(减去顶栏46+tab50=96px + 底栏56px)，translateY(1rem)下移避开tab */
/* 底栏56px从高度中扣除，避免fixed底栏遮挡表格底部；用固定px避免PC端rem放大导致高度失真 */
.consultation-table-wrap .table-wrap{height:calc(100vh - 96px - 56px);overflow-y:auto;overflow-x:hidden;position:relative;transform:translateY(1rem);width:100%}

/* 复选框行：仅显示出现的期数 + ?说明 */
.consultation-table-wrap .table-wrap .label-qs{line-height:.48rem;padding:.06rem .12rem;box-sizing:border-box}
.consultation-table-wrap .table-wrap .label-qs input{position:relative;float:left;height:.48rem;width:.48rem;margin:0}
.consultation-table-wrap .table-wrap .label-qs div{float:left}
.consultation-table-wrap .table-wrap .label-qs .to-notice{float:right;width:.36rem;height:.36rem;text-align:center;line-height:.36rem;border-radius:50%;color:#333;border:.02rem solid #333;margin-top:.06rem}

/* 表格：满宽白底，边框合并，居中 */
.consultation-table-wrap .table-wrap table{width:100%;background:#fff;border-collapse:collapse;text-align:center}
/* 表头：棕底#a96223 白字 .24rem */
.consultation-table-wrap .table-wrap table th{font-weight:400;color:#fff;font-size:.24rem;background:#a96223}
.consultation-table-wrap .table-wrap table .table-title{font-weight:700}
/* 单元格边框 #e1e1e1 */
.consultation-table-wrap .table-wrap table tr td{border:.02rem solid #e1e1e1}
.consultation-table-wrap .table-wrap table tr td.red{color:red}
/* 行高 .56rem */
.consultation-table-wrap .table-wrap table tr{line-height:.56rem}
/* 命中红球：44px圆 红底白字 居中 */
.consultation-table-wrap .table-wrap table tr .redcolor{background:red;color:#fff;height:.44rem;width:.44rem;border-radius:50%;text-align:center;line-height:.44rem;margin:0 auto}
.consultation-table-wrap .table-wrap table tr .redcolor.blue{background:#00f}
.consultation-table-wrap .table-wrap table tr .redcolor.green{background:green}
/* 隔行 #f8f8f8 */
.consultation-table-wrap .table-wrap table tr:nth-of-type(2n){background:#f8f8f8}
.consultation-table-wrap .table-wrap table td>div.red{width:.44rem;height:.44rem;color:#fff;background:red;border-radius:50%;text-align:center;line-height:.44rem;margin:0 auto}

/* 查询条件选择弹层：全屏遮罩 rgba(0,0,0,.3) */
.consultation-table-wrap .table-wrap .sel-type{position:fixed;top:0;left:0;background:rgba(0,0,0,.3);bottom:0;min-height:calc(100vh - 1rem);width:100%}
/* 弹层主体：4.7rem高白底 */
.consultation-table-wrap .table-wrap .sel-type .sel-type-body{height:4.7rem;background:#fff}
/* 左右两半各50%，可滚动 */
.consultation-table-wrap .table-wrap .sel-type .sel-type-body>div{float:left;width:50%;height:100%;box-sizing:border-box;padding:.12rem .3rem .12rem 0;line-height:.72rem;overflow-y:auto;color:#333;font-size:.32rem}
.consultation-table-wrap .table-wrap .sel-type .sel-type-body>div:first-of-type{padding-left:.92rem}
.consultation-table-wrap .table-wrap .sel-type .sel-type-body>div:first-of-type .icon-caret-right{font-size:.24rem;color:#000;margin-left:.1rem}
.consultation-table-wrap .table-wrap .sel-type .sel-type-body>div:nth-of-type(2){padding-left:.64rem;border-left:.02rem solid #b8b8b8}
.consultation-table-wrap .table-wrap .sel-type .sel-type-body>div:nth-of-type(2) .icon-check{color:#07c160;float:right;font-size:.24rem}
/* 底部按钮：取消/确定 flex两等分 */
.consultation-table-wrap .table-wrap .sel-type .btn-wrap{display:flex;text-align:center;height:1rem;line-height:1rem;border-top:.02rem solid #b8b8b8;z-index:1;background:#fff}
.consultation-table-wrap .table-wrap .sel-type .btn-wrap>div{flex:1;font-size:.36rem;color:#333}
/* 选中态绿色 #07c160 */
.consultation-table-wrap .table-wrap .sel-type .active{color:#07c160!important}

/* ===== 本页补充样式(样本外，适配本项目) ===== */

/* 顶栏：复刻样本 van-nav-bar(fixed吸顶白底) */
.lh-nav{position:fixed;top:0;left:0;width:100%;z-index:100;background-color:#fff;box-sizing:border-box}

/* 顶部留白用固定46px(=顶栏高)覆盖样本 .92rem：避免PC端1rem=100px时 .92rem=92px 顶栏错位 */
/* 手机端46px==.92rem(375px屏)一致；PC端统一46px，与fixed顶栏对齐 */
.consultation-table-wrap{padding-top:46px}

/* tab项可点击 */
.consultation-table-wrap .tab-wrap .tab-item{cursor:pointer}

/* 图标用CSS三角形实现(项目无iconfont字体，避免文字字符与字体双重叠加) */
/* 下拉箭头(▼)：对齐样本 icon-sort-down .24rem margin-left:.1rem */
.consultation-table-wrap .tab-wrap .tab-item .ic-arrow-down{
    display:inline-block;width:0;height:0;
    border-left:.08rem solid transparent;border-right:.08rem solid transparent;
    border-top:.12rem solid #333;margin-left:.1rem;vertical-align:middle;
}
/* 分类右箭头(▸)：对齐样本 icon-caret-right .24rem color:#000 margin-left:.1rem */
.consultation-table-wrap .table-wrap .sel-type .sel-type-body>div:first-of-type .ic-caret-right{
    display:inline-block;width:0;height:0;
    border-top:.08rem solid transparent;border-bottom:.08rem solid transparent;
    border-left:.12rem solid #000;margin-left:.1rem;vertical-align:middle;
}
/* active分类的右箭头变绿(对齐样本 .active color:#07c160)：border-left改绿色 */
.consultation-table-wrap .table-wrap .sel-type .sel-type-body>div:first-of-type .ic-caret-right.active{
    border-left-color:#07c160;
}
/* 选中勾(✓)：对齐样本 icon-check color:#07c160 float:right .24rem */
.consultation-table-wrap .table-wrap .sel-type .sel-type-body>div:nth-of-type(2) .ic-check{
    display:inline-block;width:.16rem;height:.08rem;
    border-left:.04rem solid #07c160;border-bottom:.04rem solid #07c160;
    transform:rotate(-45deg);float:right;margin-top:.28rem;
}

/* 分类项/选项可点击 */
.consultation-table-wrap .table-wrap .sel-type .sel-type-body>div>div{cursor:pointer}
.consultation-table-wrap .table-wrap .sel-type .btn-wrap>div{cursor:pointer}

/* 加载中/失败提示 */
.lh-status{text-align:center;color:#999;font-size:14px;padding:40px 0}

/* 折线图：pointer-events:none 不遮挡表格点击 */
/* 折线颜色/粗细对齐样本 svgTable: stroke:#ff0000 width:1 */
.consultation-table-wrap #chart_svg svg{pointer-events:none}
.consultation-table-wrap #chart_svg polyline{stroke:#ff0000;stroke-width:1;fill:none}

/* 底栏：与首页一致 van-tabbar 5项 */
.layout-nav .tabs-3 div{white-space:nowrap}

/* PC端居中适配(窗口>=901px生效) */
/* PC端1rem=100px：顶栏46px+tab区100px=146px，底栏56px，table-wrap高度需相应修正 */
@media screen and (min-width:901px){
    .consultation-table-wrap{max-width:480px;margin:0 auto;box-shadow:0 0 18px rgba(0,0,0,.12);background:#f3f3f3}
    .lh-nav{max-width:480px;left:50%;transform:translateX(-50%);width:100%}
    .layout-nav{max-width:480px!important}
    .layout-nav .van-tabbar{max-width:100%!important}
    /* PC端table-wrap高度：100vh - 146px(顶栏46+tab100) - 56px(底栏) */
    .consultation-table-wrap .table-wrap{height:calc(100vh - 146px - 56px)}
}
