@charset "utf-8";

/* 客户端移动端适配 */

@media (max-width: 768px) {
    body {
        min-width: 0 !important;
        font-size: 16px !important;
        background: #f7f8fa !important;
        background-image: none !important;
        overflow-x: hidden;
        -webkit-text-size-adjust: 100%;
    }

    html {
        overflow-x: hidden;
        max-width: 100%;
    }

    /* ========== H+ 主框架（index 壳层） ========== */
    body.fixed-sidebar.full-height-layout {
        overflow-x: hidden !important;
    }

    #wrapper {
        overflow-x: hidden;
    }

    body.mini-navbar .navbar-static-side,
    .navbar-static-side {
        transition: transform 0.2s ease;
    }

    body:not(.customer-mobile-sidebar-open) .navbar-static-side {
        transform: translateX(-100%);
        position: fixed;
        left: 0;
        top: 0;
        bottom: 0;
        z-index: 9995;
        width: 260px !important;
        max-width: 84vw !important;
    }

    body.customer-mobile-sidebar-open .navbar-static-side {
        transform: translateX(0);
        position: fixed;
        left: 0;
        top: 0;
        bottom: 0;
        z-index: 9995;
        width: 260px !important;
        max-width: 84vw !important;
        box-shadow: 2px 0 12px rgba(0, 0, 0, 0.2);
    }

    /* 移动端禁用 H+ mini-navbar 小图标模式（hplus 在 <769px 会自动加 mini-navbar） */
    body.mini-navbar .nav-label,
    body.mini-navbar .navbar-default .nav li a .nav-label,
    body.mini-navbar .navbar-default .nav li a span.nav-label {
        display: inline !important;
    }

    body.mini-navbar .logo-element {
        display: none !important;
    }

    body.mini-navbar .nav-header .profile-element,
    body.mini-navbar .dropdown.profile-element {
        display: block !important;
    }

    body.mini-navbar .nav-header {
        padding: 20px 25px !important;
    }

    body.fixed-sidebar.mini-navbar .navbar-static-side,
    body.mini-navbar .navbar-static-side {
        width: 260px !important;
        max-width: 84vw !important;
    }

    body.mini-navbar #page-wrapper,
    body.fixed-sidebar.mini-navbar #page-wrapper,
    body.body-small.fixed-sidebar.mini-navbar #page-wrapper {
        margin-left: 0 !important;
    }

    body.fixed-sidebar.mini-navbar .nav li > .nav-second-level,
    body.fixed-sidebar.mini-navbar .nav li:hover > .nav-second-level,
    body.canvas-menu.mini-navbar .nav li:hover > .nav-second-level {
        position: static !important;
        left: auto !important;
        top: auto !important;
        min-width: 0 !important;
        box-shadow: none !important;
    }

    body.mini-navbar .navbar-default .nav > li > a {
        font-size: 14px !important;
        padding: 14px 20px 14px 25px !important;
        text-align: left !important;
    }

    body.mini-navbar .defineImg {
        display: inline-block !important;
        vertical-align: middle;
        margin-right: 6px;
    }

    #page-wrapper {
        margin-left: 0 !important;
        width: 100% !important;
        min-width: 0 !important;
        overflow-x: hidden;
    }

    .navbar-static-top {
        min-height: 44px;
    }

    /* H+ 主框架：顶栏压过 iframe，保证汉堡菜单可点 */
    body.fixed-sidebar #page-wrapper > .row.border-bottom {
        position: sticky;
        top: 0;
        z-index: 10030 !important;
        background: #fff;
        transform: translateZ(0);
        pointer-events: auto;
    }

    body.fixed-sidebar .minimalize-styl-2,
    body.fixed-sidebar .navbar-minimalize {
        pointer-events: auto !important;
        touch-action: manipulation;
        cursor: pointer;
    }

    .navbar-static-top .navbar-header .minimalize-styl-2 {
        min-width: 48px;
        min-height: 44px;
        line-height: 44px;
        margin: 0;
        padding: 0 12px;
        font-size: 18px;
    }

    .content-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
    }

    .content-tabs .page-tabs-content {
        white-space: nowrap;
    }

    .J_mainContent {
        height: calc(100dvh - 88px) !important;
        min-height: 280px;
        overflow: hidden;
    }

    /* 手机端精简 index 壳层：隐藏选项卡栏，内容区占满顶栏下空间 */
    body.customer-mobile-index-shell .content-tabs,
    body.customer-mobile-index-shell .customer-mobile-index-tabs-host {
        display: none !important;
        height: 0 !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
    }

    body.customer-mobile-index-shell .J_mainContent {
        height: calc(100dvh - 44px) !important;
        position: relative;
        z-index: 1;
    }

    /* 顶栏必须在 iframe 之上，否则 iOS 上汉堡按钮点不到 */
    body.customer-mobile-index-shell #page-wrapper > .row.border-bottom {
        position: sticky;
        top: 0;
        z-index: 10030 !important;
        background: #fff;
        transform: translateZ(0);
        pointer-events: auto;
    }

    body.customer-mobile-index-shell .navbar-static-top {
        position: relative;
        z-index: 10031 !important;
        pointer-events: auto;
    }

    body.customer-mobile-index-shell .minimalize-styl-2,
    body.customer-mobile-index-shell .navbar-minimalize {
        position: relative;
        z-index: 10032 !important;
        pointer-events: auto !important;
        touch-action: manipulation;
        cursor: pointer;
    }

    body.customer-mobile-index-shell .navbar-static-top .hidden-xs {
        display: none !important;
    }

    body.customer-mobile-index-shell #getTime,
    body.customer-mobile-index-shell .navbar-top-links .dropdown.hidden-xs {
        display: none !important;
    }

    /* 若仍加载桌面 home：隐藏数据台/常用功能，并修正通知区布局 */
    .wrapper-content .h-top {
        flex-direction: column !important;
        align-items: stretch !important;
        width: 100% !important;
        margin: 0 0 12px !important;
    }

    .wrapper-content .h-news,
    .wrapper-content .h-userInfo {
        width: 100% !important;
        max-width: 100% !important;
        float: none !important;
        box-sizing: border-box;
    }

    .wrapper-content .h-news-bottom .h-info {
        flex-direction: column !important;
        align-items: flex-start !important;
        height: auto !important;
        line-height: 1.5 !important;
        padding: 8px 0 !important;
    }

    .wrapper-content .newUndeal {
        width: 100% !important;
        margin-left: 0 !important;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .wrapper-content .newUndeal1 {
        min-width: 88px;
    }

    .wrapper-content .new_func_mode1,
    .wrapper-content .newFunction,
    .wrapper-content .jumpone,
    .wrapper-content .newJumpit {
        display: none !important;
    }

    .wrapper-content .row > .new_common_func {
        display: none !important;
    }

    .wrapper-content .row > .new_common_func1 {
        display: block !important;
        margin: 12px 0 8px !important;
        font-size: 16px !important;
    }

    .J_mainContent .J_iframe {
        width: 100% !important;
        height: 100% !important;
    }

    /* 透明点击层：侧栏打开时可点菜单外区域关闭，不显示灰色蒙层 */
    .customer-mobile-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: transparent;
        z-index: 9990;
        cursor: default;
        pointer-events: none;
        -webkit-tap-highlight-color: transparent;
    }

    body.customer-mobile-sidebar-open .customer-mobile-overlay {
        display: block;
        pointer-events: auto;
        /* 遮罩不盖住侧栏，避免菜单点击被透明层拦截（wrapper 内 z-index 无法压过 body 级遮罩） */
        left: min(84vw, 260px);
        width: auto;
        right: 0;
    }

    body.customer-mobile-sidebar-open .navbar-static-side,
    body.customer-mobile-sidebar-open .main > .left {
        z-index: 10005 !important;
        pointer-events: auto;
    }

    /* 侧栏打开时让 iframe 不抢点击，由透明遮罩接收「点菜单外关闭」 */
    body.customer-mobile-sidebar-open .J_mainContent .J_iframe,
    body.customer-mobile-sidebar-open .J_mainContent iframe {
        pointer-events: none;
    }

    /* iframe 内业务页 */
    .wrapper-content {
        padding: 10px 12px !important;
        min-width: 0;
        overflow-x: hidden;
        box-sizing: border-box;
    }

    .ibox-de,
    .tabs-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .r_dh1 ul,
    .nav-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .cardBtn {
        padding: 24px 16px 0 !important;
    }

    .pwd-modal-dialog {
        width: 92vw !important;
        max-width: 420px;
        margin: 12vh auto;
    }

    /* 顶部栏固定在最上层，避免被 .main / .left 遮挡（basetc 等旧布局） */
    .top {
        min-width: 0 !important;
        width: 100% !important;
        height: auto;
        padding: 0;
        margin: 0;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 10000 !important;
        float: none !important;
        background: #005784;
    }

    .top-bar-mobile {
        display: block;
        overflow: hidden;
        height: 44px;
        background: #005784;
        position: relative;
        z-index: 10001;
    }

    .top-bar-mobile .top_r {
        float: right;
        height: 44px;
        line-height: 44px;
    }

    .top-bar-mobile .top_r a {
        display: block;
        height: 44px;
        line-height: 44px;
        padding: 0 10px;
        font-size: 12px;
        font-weight: normal;
        color: #fff;
    }

    .customer-mobile-top-toggle {
        font-size: 26px;
        line-height: 40px;
    }

    .customer-mobile-toggle {
        display: block;
        float: left;
        width: 48px;
        height: 44px;
        line-height: 44px;
        text-align: center;
        background: transparent;
        border: none;
        color: #fff;
        font-size: 22px;
        cursor: pointer;
        padding: 0;
        text-decoration: none;
        position: relative;
        z-index: 10002;
        touch-action: manipulation;
        -webkit-tap-highlight-color: rgba(255, 255, 255, 0.2);
        user-select: none;
        -webkit-user-select: none;
    }

    .customer-mobile-toggle:active {
        background-color: #007bc0;
    }

    .top > ul {
        display: none;
        float: none;
        clear: both;
        width: 100%;
        max-height: 60vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        background: #004a75;
        border-top: 1px solid rgba(255, 255, 255, 0.15);
        position: relative;
        z-index: 10001;
        margin: 0;
    }

    body.customer-mobile-top-open .top > ul {
        display: block;
    }

    /* 下拉中隐藏顶栏已展示的注销/用户名，保留系统设置等 */
    .top > ul > li.top_r:not(.top-menu-system) {
        display: none;
    }

    .top li {
        float: none;
        width: 100%;
        height: auto;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .top li a {
        display: block;
        height: auto;
        line-height: 44px;
        padding: 0 16px;
        font-size: 14px;
        color: #fff;
    }

    .top .clear {
        display: none;
    }

    .main {
        padding-top: 44px !important;
        width: 100%;
        overflow-x: hidden;
        overflow-y: visible;
        background: #f7f8fa;
    }

    /* 关闭时彻底隐藏侧栏，不占位、不露出灰条 */
    .main > .left {
        display: none !important;
        float: none !important;
        overflow: hidden;
    }

    body:not(.customer-mobile-sidebar-open) .main > .left {
        width: 0 !important;
    }

    body.customer-mobile-sidebar-open .main > .left {
        display: block !important;
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: 260px !important;
        max-width: 84vw !important;
        float: none !important;
        z-index: 9995;
        background: #f7f8fa;
        padding-top: 44px;
        box-sizing: border-box;
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        box-shadow: 2px 0 12px rgba(0, 0, 0, 0.2);
    }

    .right {
        margin-left: 0 !important;
        min-height: auto;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        position: relative;
        z-index: 1;
        float: none !important;
        background: #f7f8fa;
        overflow-x: hidden;
    }

    .foot {
        margin-left: 0 !important;
        width: 100%;
        box-sizing: border-box;
        float: none !important;
        height: auto;
        line-height: 1.6;
        padding: 8px 10px;
        font-size: 12px;
    }

    #top-alert {
        margin-left: 0;
        font-size: 14px;
    }

    #top-alert .close {
        right: 10px;
        top: 10px;
        position: absolute;
    }

    /* 内容区 */
    .r_dh {
        height: auto;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
    }

    .r_dh ul {
        padding-left: 0;
        white-space: nowrap;
    }

    .r_dh li {
        float: none;
        display: inline-block;
        vertical-align: top;
    }

    .r_dh li a {
        line-height: 35px;
        font-size: 13px;
        padding: 0 8px;
    }

    .r_box {
        padding: 10px 12px;
        overflow-x: visible;
        overflow-y: visible;
        font-size: 15px;
        line-height: 1.6;
        max-width: 100%;
        box-sizing: border-box;
    }

    /* Portallet 三栏容器：移动端只用 _main_，避免 flex 子项撑破无法横滑 */
    .r_box > #_main_ {
        flex: 1 1 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
        overflow: visible;
    }

    .r_box > #_left_:empty,
    .r_box > #_right_:empty {
        display: none !important;
        width: 0 !important;
        flex: 0 0 0 !important;
        overflow: hidden;
    }

    /* 列表区容器：裁切宽表，避免把分页栏撑进同一横滑带 */
    .ibox-table1 {
        max-width: 100%;
        overflow-x: hidden;
        box-sizing: border-box;
    }

    .ibox-table1.customer-table-scroll {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-x pan-y;
        overscroll-behavior-x: contain;
    }

    /* 列表表格独立横向滚动，不带动整页与分页栏 */
    .customer-table-scroll {
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-x pan-y;
        overscroll-behavior-x: contain;
        position: relative;
        margin-bottom: 10px;
        box-sizing: border-box;
    }

    .r_box.customer-table-scroll {
        overflow-x: visible !important;
        overflow-y: visible !important;
    }

    .customer-table-scroll > table.tbcss,
    .customer-table-scroll > table.tbcss2,
    .customer-table-scroll > table.report_tblm,
    .customer-table-scroll > table.viewtbl,
    .customer-table-scroll > table.tablecss,
    .r_box table.tbcss,
    .r_box table.tbcss2,
    .r_box table.report_tblm,
    .r_box table.viewtbl {
        min-width: 640px;
        margin-bottom: 0;
        table-layout: auto;
    }

    /* 可换行列：一行至少 5 个汉字宽 */
    .customer-table-scroll .tbcss th.customer-col-wrap,
    .customer-table-scroll .tbcss td.customer-col-wrap,
    .customer-table-scroll .tbcss2 th.customer-col-wrap,
    .customer-table-scroll .tbcss2 td.customer-col-wrap,
    .customer-table-scroll .report_tblm th.customer-col-wrap,
    .customer-table-scroll .report_tblm td.customer-col-wrap {
        min-width: 5em;
        white-space: normal;
        word-break: break-word;
        overflow-wrap: break-word;
        line-height: 1.5;
        vertical-align: top;
    }

    /* 不换行列：至少 2 个汉字宽，内容单行显示 */
    .customer-table-scroll .tbcss th.customer-col-nowrap,
    .customer-table-scroll .tbcss td.customer-col-nowrap,
    .customer-table-scroll .tbcss2 th.customer-col-nowrap,
    .customer-table-scroll .tbcss2 td.customer-col-nowrap,
    .customer-table-scroll .report_tblm th.customer-col-nowrap,
    .customer-table-scroll .report_tblm td.customer-col-nowrap {
        min-width: 2em;
        white-space: nowrap;
        word-break: keep-all;
        vertical-align: top;
    }

    /* 图片列：约 5 个汉字宽，缩略图居中 */
    .customer-table-scroll .tbcss th.customer-col-image,
    .customer-table-scroll .tbcss td.customer-col-image,
    .customer-table-scroll .tbcss2 th.customer-col-image,
    .customer-table-scroll .tbcss2 td.customer-col-image,
    .customer-table-scroll .report_tblm th.customer-col-image,
    .customer-table-scroll .report_tblm td.customer-col-image,
    .customer-table-scroll .viewtbl th.customer-col-image,
    .customer-table-scroll .viewtbl td.customer-col-image {
        min-width: 5em;
        white-space: nowrap;
        vertical-align: middle;
        text-align: center;
    }

    /* 列表缩略图：最大约 5 个汉字见方（覆盖模板 inline width/height） */
    .customer-table-scroll .tbcss img,
    .customer-table-scroll .tbcss2 img,
    .customer-table-scroll .report_tblm img,
    .customer-table-scroll .viewtbl img,
    .q-table .q-img,
    .q-table .q-img img {
        max-width: 5em !important;
        max-height: 5em !important;
        width: auto !important;
        height: auto !important;
        object-fit: contain;
        vertical-align: middle;
    }

    .q-table .q-img {
        display: inline-block;
        cursor: zoom-in;
    }

    .customer-table-scroll img,
    .r_box .tbcss img,
    .r_box .tbcss2 img,
    .r_box .report_tblm img,
    .view_tb img,
    .detail-img {
        cursor: zoom-in;
    }

    /* 仅 2 列的表格：占满屏宽，两列各 50% */
    .customer-table-scroll.customer-table-scroll--full,
    .customer-table-scroll:has(> table.customer-table-cols-2) {
        overflow-x: hidden;
    }

    .customer-table-scroll > table.customer-table-cols-2,
    .r_box > table.customer-table-cols-2,
    .r_box .customer-table-scroll > table.customer-table-cols-2,
    .r_box form table.customer-table-cols-2 {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100%;
        table-layout: fixed;
    }

    .customer-table-scroll > table.customer-table-cols-2 > tbody > tr > th,
    .customer-table-scroll > table.customer-table-cols-2 > tbody > tr > td,
    .customer-table-scroll > table.customer-table-cols-2 > tr > th,
    .customer-table-scroll > table.customer-table-cols-2 > tr > td,
    .r_box table.customer-table-cols-2 > tbody > tr > th,
    .r_box table.customer-table-cols-2 > tbody > tr > td,
    .r_box table.customer-table-cols-2 > tr > th,
    .r_box table.customer-table-cols-2 > tr > td {
        width: 50% !important;
        max-width: 50%;
        min-width: 0 !important;
        box-sizing: border-box;
        white-space: normal;
        word-break: break-word;
        vertical-align: top;
    }

    .r_box table.customer-table-cols-2 td[colspan="2"],
    .r_box table.customer-table-cols-2 th[colspan="2"] {
        width: 100% !important;
        max-width: 100%;
    }

    .r_box table.customer-table-cols-2 td:first-child:not([colspan]) {
        text-align: right;
        padding-right: 10px;
    }

    .r_box table.customer-table-cols-2 .field-input,
    .r_box table.customer-table-cols-2 .field-textarea,
    .r_box table.customer-table-cols-2 .inputCss,
    .r_box table.customer-table-cols-2 select,
    .r_box table.customer-table-cols-2 input[type="text"],
    .r_box table.customer-table-cols-2 input[type="password"],
    .r_box table.customer-table-cols-2 input[type="number"],
    .r_box table.customer-table-cols-2 textarea {
        width: 100% !important;
        max-width: 100%;
        box-sizing: border-box;
    }

    .r_box table.customer-table-cols-2 select,
    .r_box table.customer-table-cols-2 input[type="text"],
    .r_box table.customer-table-cols-2 input[type="password"],
    .r_box table.customer-table-cols-2 input[type="number"],
    .r_box table.customer-table-cols-2 .inputCss,
    .r_box table.customer-table-cols-2 .field-input {
        height: 36px !important;
        line-height: normal !important;
        font-size: 14px !important;
        padding: 0 8px !important;
        border: 1px solid #dcdfe6;
        border-radius: 4px;
        background: #fff;
    }

    /* 表单页控件统一尺寸（覆盖 inline width / inc.css 固定宽） */
    .addForm input[type="text"],
    .addForm input[type="password"],
    .addForm input[type="number"],
    .addForm input[type="tel"],
    .addForm input[type="email"],
    .addForm input[type="date"],
    .addForm input[type="search"],
    .addForm select,
    .addForm .inputCss,
    .addForm .field-input {
        width: 100% !important;
        max-width: 100% !important;
        height: 36px !important;
        min-height: 36px;
        line-height: normal !important;
        font-size: 14px !important;
        padding: 0 8px !important;
        box-sizing: border-box !important;
        border: 1px solid #dcdfe6;
        border-radius: 4px;
        background: #fff;
        vertical-align: middle;
    }

    .addForm input[type="checkbox"],
    .addForm input[type="radio"] {
        width: auto !important;
        height: auto !important;
        min-height: 0;
        padding: 0;
        border: none !important;
        background: transparent;
    }

    .addForm input[type="text"]:focus,
    .addForm input[type="password"]:focus,
    .addForm input[type="number"]:focus,
    .addForm input[type="tel"]:focus,
    .addForm input[type="email"]:focus,
    .addForm input[type="date"]:focus,
    .addForm input[type="search"]:focus,
    .addForm select:focus,
    .addForm .inputCss:focus,
    .addForm .field-input:focus,
    .addForm textarea:focus {
        border-color: #4f8edc !important;
        outline: none;
        box-shadow: none;
    }

    .addForm .layui-btn {
        height: 36px !important;
        line-height: 36px !important;
        font-size: 14px !important;
        padding: 0 12px !important;
        box-sizing: border-box;
    }

    .addForm table.customer-form-table td[width] {
        width: auto !important;
        min-width: 0;
        max-width: 100%;
    }

    /* 筛选区：.search 与 .searchMargin（两列等宽，控件铺满） */
    .searchMargin form,
    .search form,
    .ibox-content.searchMargin form {
        float: none !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }

    .search table,
    .searchMargin table,
    .ibox-content.searchMargin table {
        width: 100% !important;
        max-width: 100% !important;
        border-collapse: separate;
        border-spacing: 0;
    }

    .search tr,
    .searchMargin tr,
    .ibox-content.searchMargin tr {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        width: 100%;
        margin: 0;
    }

    .search td,
    .searchMargin td,
    .ibox-content.searchMargin td {
        display: block;
        box-sizing: border-box;
        width: auto !important;
        min-width: 0;
        padding: 0;
        vertical-align: top;
    }

    /* 订单页等：每字段一个 td，用 order 固定两列排布（避免 DOM 顺序导致落单） */
    .searchMargin td:has([name="key_type"]),
    .searchMargin td:has(#key_type),
    .search td:has([name="key_type"]),
    .search td:has(#key_type) {
        order: 1;
    }

    .searchMargin td:has([name="key"]),
    .searchMargin td:has(#key),
    .search td:has([name="key"]),
    .search td:has(#key) {
        order: 2;
    }

    .searchMargin td:has(.chooseCustomName),
    .search td:has(.chooseCustomName) {
        order: 3;
    }

    .searchMargin td:has([name="cy_time_type"]),
    .searchMargin td:has(#cy_time_type),
    .search td:has([name="cy_time_type"]),
    .search td:has(#cy_time_type) {
        order: 4;
    }

    .searchMargin td:has([name="pageNum"]),
    .search td:has([name="pageNum"]) {
        order: 5;
    }

    .searchMargin td:has([name="cy_time_start"]),
    .searchMargin td:has(#cy_time_start),
    .search td:has([name="cy_time_start"]),
    .search td:has(#cy_time_start),
    .searchMargin td:has([name="start_time"]),
    .search td:has([name="start_time"]),
    .searchMargin td:has([name="begin_time"]),
    .search td:has([name="begin_time"]) {
        order: 6;
    }

    .searchMargin td:has(button),
    .searchMargin td:has(.btn-dd),
    .searchMargin td:has(#submit),
    .search td:has(button),
    .search td:has(.btn-dd),
    .search td:has(#submit) {
        order: 99;
    }

    .search td.search-col-full,
    .searchMargin td.search-col-full,
    .ibox-content.searchMargin td.search-col-full,
    .search td:has([name="cy_time_start"]),
    .searchMargin td:has([name="cy_time_start"]),
    .ibox-content.searchMargin td:has([name="cy_time_start"]),
    .search td:has([name="start_time"]),
    .searchMargin td:has([name="start_time"]),
    .search td:has([name="begin_time"]),
    .searchMargin td:has([name="begin_time"]),
    .search td:has(button[type="submit"]),
    .searchMargin td:has(button[type="submit"]),
    .ibox-content.searchMargin td:has(button[type="submit"]),
    .search td:has(#submit),
    .searchMargin td:has(#submit) {
        grid-column: 1 / -1;
    }

    /* 日期区间：整行两列等分（flex 避免中间 “-” 文本节点占格） */
    .search td:has([name="cy_time_start"]),
    .searchMargin td:has([name="cy_time_start"]),
    .ibox-content.searchMargin td:has([name="cy_time_start"]),
    .search td:has([name="start_time"]),
    .searchMargin td:has([name="start_time"]),
    .search td:has([name="begin_time"]),
    .searchMargin td:has([name="begin_time"]) {
        display: flex !important;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        gap: 10px;
        font-size: 0;
    }

    .search td:has([name="cy_time_start"]) input,
    .searchMargin td:has([name="cy_time_start"]) input,
    .ibox-content.searchMargin td:has([name="cy_time_start"]) input,
    .search td:has([name="cy_time_end"]) input,
    .searchMargin td:has([name="cy_time_end"]) input,
    .ibox-content.searchMargin td:has([name="cy_time_end"]) input,
    .search td:has([name="start_time"]) input,
    .searchMargin td:has([name="start_time"]) input,
    .search td:has([name="begin_time"]) input,
    .searchMargin td:has([name="begin_time"]) input {
        flex: 1 1 0 !important;
        min-width: 0 !important;
        width: auto !important;
        font-size: 14px;
    }

    .search td input[type="text"],
    .search td input[type="number"],
    .search td input[type="date"],
    .search td input[type="password"],
    .search td input[type="search"],
    .search td select,
    .searchMargin td input[type="text"],
    .searchMargin td input[type="number"],
    .searchMargin td input[type="date"],
    .searchMargin td input[type="password"],
    .searchMargin td input[type="search"],
    .searchMargin td select,
    .ibox-content.searchMargin td input[type="text"],
    .ibox-content.searchMargin td input[type="number"],
    .ibox-content.searchMargin td input[type="date"],
    .ibox-content.searchMargin td input[type="password"],
    .ibox-content.searchMargin td input[type="search"],
    .ibox-content.searchMargin td select,
    .search td input[style],
    .search td select[style],
    .searchMargin td input[style],
    .searchMargin td select[style],
    .ibox-content.searchMargin td input[style],
    .ibox-content.searchMargin td select[style] {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box;
        margin: 0 !important;
    }

    .search td input[type="text"],
    .search td input[type="number"],
    .search td input[type="date"],
    .search td input[type="password"],
    .search td input[type="search"],
    .search td select,
    .searchMargin td input[type="text"],
    .searchMargin td input[type="number"],
    .searchMargin td input[type="date"],
    .searchMargin td input[type="password"],
    .searchMargin td input[type="search"],
    .searchMargin td select,
    .ibox-content.searchMargin td input[type="text"],
    .ibox-content.searchMargin td input[type="number"],
    .ibox-content.searchMargin td input[type="date"],
    .ibox-content.searchMargin td input[type="password"],
    .ibox-content.searchMargin td input[type="search"],
    .ibox-content.searchMargin td select {
        height: 36px;
        line-height: normal;
        font-size: 14px;
        padding: 0 8px;
    }

    .search td input[type="hidden"],
    .searchMargin td input[type="hidden"] {
        display: none !important;
    }

    .search td button,
    .search td .btn,
    .search td .btn-dd,
    .searchMargin td button,
    .searchMargin td .btn,
    .searchMargin td .btn-dd,
    .ibox-content.searchMargin td button,
    .ibox-content.searchMargin td .btn,
    .ibox-content.searchMargin td .btn-dd {
        width: 100% !important;
        max-width: 100% !important;
        height: 40px;
        line-height: 40px;
        padding: 0 12px;
        font-size: 14px;
        box-sizing: border-box;
        margin: 0 !important;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
    }

    .search td fieldset,
    .searchMargin td fieldset,
    .ibox-content.searchMargin td fieldset {
        border: none;
        margin: 0;
        padding: 0;
        width: 100%;
        min-width: 0;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .search td fieldset select,
    .searchMargin td fieldset select,
    .ibox-content.searchMargin td fieldset select {
        width: 100% !important;
        margin: 0 !important;
    }

    /* 产品中心等：筛选项在 td > div 内用 .defineSelect 包一层（非每字段一个 td） */
    .searchMargin tr > td:has(.defineSelect),
    .search tr > td:has(.defineSelect),
    .ibox-content.searchMargin tr > td:has(.defineSelect) {
        grid-column: 1 / -1;
    }

    .searchMargin td > div,
    .search td > div,
    .ibox-content.searchMargin td > div {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        flex-flow: unset !important;
        flex-wrap: unset !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
        align-items: stretch;
    }

    .searchMargin .defineSelect,
    .searchMargin .defineSelect2,
    .search .defineSelect,
    .search .defineSelect2,
    .ibox-content.searchMargin .defineSelect,
    .ibox-content.searchMargin .defineSelect2 {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        box-sizing: border-box;
        float: none !important;
    }

    .searchMargin .defineSelect2,
    .search .defineSelect2,
    .ibox-content.searchMargin .defineSelect2 {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        align-items: center;
        font-size: 0;
    }

    .searchMargin .defineSelect2 input,
    .search .defineSelect2 input,
    .ibox-content.searchMargin .defineSelect2 input {
        font-size: 14px;
    }

    .searchMargin .defineSelect2 span,
    .search .defineSelect2 span,
    .ibox-content.searchMargin .defineSelect2 span {
        display: none !important;
    }

    .searchMargin .defineSelect select,
    .searchMargin .defineSelect input[type="text"],
    .searchMargin .defineSelect .form-control,
    .search .defineSelect select,
    .search .defineSelect input[type="text"],
    .ibox-content.searchMargin .defineSelect select,
    .ibox-content.searchMargin .defineSelect input[type="text"],
    .ibox-content.searchMargin .defineSelect .form-control {
        width: 100% !important;
        margin-top: 0 !important;
    }

    .searchMargin .defineSelect:has(fieldset select:nth-of-type(3)),
    .search .defineSelect:has(fieldset select:nth-of-type(3)),
    .ibox-content.searchMargin .defineSelect:has(fieldset select:nth-of-type(3)) {
        grid-column: 1 / -1;
    }

    .searchMargin tr > td:has(button),
    .searchMargin tr > td:has(.btn-dd),
    .search tr > td:has(button),
    .search tr > td:has(.btn-dd),
    .ibox-content.searchMargin tr > td:has(button),
    .ibox-content.searchMargin tr > td:has(.btn-dd) {
        grid-column: 1 / -1;
    }

    /* 订单页「选择产品」弹层 + iframe 内 products 筛选 */
    .categorytips .productDlg {
        position: fixed !important;
        left: 0 !important;
        top: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        max-width: 100vw !important;
        height: 100% !important;
        max-height: 100dvh !important;
        margin: 0 !important;
        border-radius: 0 !important;
        box-sizing: border-box;
    }

    .categorytips .categorytips1 {
        width: 100% !important;
        height: calc(100% - 35px) !important;
        align-items: stretch !important;
    }

    .categorytips .categorytips1 iframe {
        width: 100% !important;
        height: 100% !important;
        display: block;
    }

    body .clearScoll.productDlg,
    body .productDlg.clearScoll {
        width: 100% !important;
        max-width: 100vw !important;
        min-height: 100%;
        box-sizing: border-box;
        padding: 0 !important;
        margin: 0 !important;
    }

    body .ibox-de.r_dh1_card,
    body .ibox-content.searchMargin,
    body .ibox-content.row.searchMargin {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
        box-sizing: border-box;
    }

    .ibox-content.searchMargin tr.pro_preview,
    .ibox-content.row tr.pro_preview {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        width: 100%;
    }

    .ibox-content.searchMargin tr.pro_preview > td:not(:has(*)),
    .ibox-content.row tr.pro_preview > td:not(:has(*)),
    .ibox-content.row tr.pro_preview > td:has(div[style*="width: 10px"]) {
        display: none !important;
    }

    .ibox-content.searchMargin tr.pro_preview td:has([name="key"]),
    .ibox-content.searchMargin tr.pro_preview td:has(input[placeholder*="关键字"]) {
        order: 1;
    }

    .ibox-content.searchMargin tr.pro_preview td:has(fieldset),
    .ibox-content.searchMargin tr.pro_preview td:has(#category),
    .ibox-content.searchMargin tr.pro_preview td:has(#Class_id_product_plat) {
        order: 2;
    }

    .ibox-content.searchMargin tr.pro_preview td:has([name="cy_range"]),
    .ibox-content.searchMargin tr.pro_preview td:has(select[name="cy_range"]) {
        order: 3;
    }

    .ibox-content.searchMargin tr.pro_preview td:has(#cy_status_hy) {
        order: 4;
    }

    .ibox-content.searchMargin tr.pro_preview td:has(#cy_price_type) {
        order: 5;
    }

    .ibox-content.searchMargin tr.pro_preview td.defineSelect2,
    .ibox-content.searchMargin tr.pro_preview td:has([name="start_price"]) {
        order: 6;
        grid-column: 1 / -1;
    }

    .ibox-content.searchMargin tr.pro_preview td:has(button),
    .ibox-content.row tr.pro_preview td:has(button) {
        order: 99;
        grid-column: 1 / -1;
    }

    .ibox-content.searchMargin tr.pro_preview td fieldset {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        width: 100%;
    }

    .ibox-content.searchMargin tr.pro_preview .topul {
        flex-wrap: wrap;
        gap: 8px;
        padding: 0 4px 8px;
    }

    .ibox-content.searchMargin tr.pro_preview .topul .submitsku {
        margin-left: 0 !important;
        width: 100%;
        justify-content: space-between;
    }

    /* 新建/修改页表单（.addForm）：一行两个字段，各 50% */
    .addForm table.tbcss,
    .addForm table.tbcss2,
    .addForm table.customer-form-table,
    .addForm table.customer-table-cols-2 {
        border: none !important;
        border-top: none !important;
        border-left: none !important;
    }

    .addForm table.tbcss td,
    .addForm table.tbcss th,
    .addForm table.tbcss2 td,
    .addForm table.tbcss2 th,
    .addForm table.customer-form-table td,
    .addForm table.customer-form-table th,
    .addForm table.customer-table-cols-2 td,
    .addForm table.customer-table-cols-2 th {
        border: none !important;
        background: transparent;
    }

    .addForm table.tbcss tr,
    .addForm table.tbcss2 tr,
    .addForm table.customer-form-table tr,
    .addForm table.customer-table-cols-2 tr {
        border: none !important;
    }

    .addForm table.customer-form-table {
        width: 100% !important;
        display: block;
        min-width: 0 !important;
        table-layout: auto;
    }

    .addForm table.customer-form-table tbody {
        display: flex;
        flex-wrap: wrap;
        margin: 0 -5px;
    }

    .addForm table.customer-form-table > tbody > tr,
    .addForm table.customer-form-table > tr {
        display: flex;
        flex-wrap: wrap;
        align-content: flex-start;
        box-sizing: border-box;
        padding: 5px;
        min-width: 0;
    }

    .addForm table.customer-form-table tr.customer-form-field--half {
        width: 50%;
    }

    .addForm table.customer-form-table tr.customer-form-field--full {
        width: 100%;
    }

    /* 六列双字段行：一行两个 label+控件，各 50% */
    .addForm table.customer-form-table tr.customer-form-field-pair {
        width: 100% !important;
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        column-gap: 10px;
        row-gap: 4px;
        align-items: start;
    }

    .addForm table.customer-form-table tr.customer-form-field-pair > td[width="10"],
    .addForm table.customer-form-table tr.customer-form-field-pair > td:first-child:empty,
    .addForm table.customer-form-table tr.customer-form-field-pair > td:last-child:empty {
        display: none !important;
    }

    .addForm table.customer-form-table tr.customer-form-field-pair > td:nth-child(2),
    .addForm table.customer-form-table tr.customer-form-field-pair > td:nth-child(4),
    .addForm table.customer-form-table tr.customer-form-field--half > td:nth-child(2) {
        white-space: normal;
        word-break: break-word;
        overflow-wrap: break-word;
    }

    .addForm table.customer-form-table tr.customer-form-field-pair > td:nth-child(3),
    .addForm table.customer-form-table tr.customer-form-field-pair > td:nth-child(5),
    .addForm table.customer-form-table tr.customer-form-field--half > td:nth-child(3),
    .addForm table.customer-form-table tr.customer-form-field--full > td:nth-child(3),
    .addForm table.customer-form-table tr.customer-form-field--full td[colspan] {
        white-space: normal;
        word-break: break-word;
        overflow-wrap: break-word;
    }

    .addForm table.customer-form-table td > input:not([type="checkbox"]):not([type="radio"]),
    .addForm table.customer-form-table td > select,
    .addForm table.tbcss td > input:not([type="checkbox"]):not([type="radio"]),
    .addForm table.tbcss td > select {
        display: block;
        width: 100% !important;
        max-width: 100% !important;
    }

    /* 字段说明/提示（如「超vip」「针对自有产品订单数」）独占一行换行 */
    .addForm table.tbcss td span[style*="font-size: 8px"],
    .addForm table.tbcss td span[style*="font-size:8px"],
    .addForm table.tbcss td span[style*="font-size: 10px"][style*="padding-left"],
    .addForm table.customer-form-table td span[style*="font-size: 8px"],
    .addForm table.customer-form-table td span[style*="font-size:8px"],
    .addForm table.customer-form-table td span[style*="font-size: 10px"][style*="padding-left"] {
        display: block !important;
        width: 100%;
        margin-top: 2px;
        padding-left: 0 !important;
        font-size: 12px !important;
        line-height: 1.5;
        color: #888;
        word-break: break-word;
        overflow-wrap: break-word;
        white-space: normal;
    }

    .addForm table.tbcss td span[style*="font-size: 8px"] a,
    .addForm table.tbcss td span[style*="font-size:8px"] a,
    .addForm table.customer-form-table td span[style*="font-size: 8px"] a,
    .addForm table.customer-form-table td span[style*="font-size:8px"] a {
        color: #4f8edc;
        word-break: break-word;
        white-space: normal;
    }

    .addForm table.customer-form-table tr.customer-form-field-pair > td:nth-child(2),
    .addForm table.customer-form-table tr.customer-form-field-pair > td:nth-child(4) {
        width: 100% !important;
        max-width: 100%;
        text-align: left !important;
        font-size: 14px;
        line-height: 1.5;
        padding: 0 0 4px !important;
        display: block;
        box-sizing: border-box;
    }

    .addForm table.customer-form-table tr.customer-form-field-pair > td:nth-child(3),
    .addForm table.customer-form-table tr.customer-form-field-pair > td:nth-child(5) {
        width: 100% !important;
        max-width: 100%;
        padding: 0 0 8px !important;
        display: block;
        box-sizing: border-box;
    }

    .addForm table.customer-form-table tr.customer-form-field-pair > td:nth-child(2) {
        grid-column: 1;
        grid-row: 1;
    }

    .addForm table.customer-form-table tr.customer-form-field-pair > td:nth-child(3) {
        grid-column: 1;
        grid-row: 2;
    }

    .addForm table.customer-form-table tr.customer-form-field-pair > td:nth-child(4) {
        grid-column: 2;
        grid-row: 1;
    }

    .addForm table.customer-form-table tr.customer-form-field-pair > td:nth-child(5) {
        grid-column: 2;
        grid-row: 2;
    }

    .addForm table.customer-form-table tr > td[width="10"],
    .addForm table.customer-form-table tr > td:first-child:empty,
    .addForm table.customer-form-table tr > td:last-child:empty {
        display: none !important;
    }

    .addForm table.customer-form-table tr > td:nth-child(2) {
        width: 100% !important;
        max-width: 100%;
        text-align: left !important;
        font-size: 14px;
        line-height: 1.5;
        padding: 0 0 4px !important;
        display: block;
        box-sizing: border-box;
    }

    .addForm table.customer-form-table tr > td:nth-child(3),
    .addForm table.customer-form-table tr > td.input {
        width: 100% !important;
        max-width: 100%;
        padding: 0 !important;
        display: block;
        box-sizing: border-box;
    }

    .addForm table.customer-form-table tr.customer-form-field--half > td:nth-child(2),
    .addForm table.customer-form-table tr.customer-form-field--half > td:nth-child(3) {
        width: 100% !important;
    }

    .addForm table.customer-form-table tr.customer-form-field--full > td:nth-child(2) {
        width: 100% !important;
    }

    .addForm table.customer-form-table input[type="text"],
    .addForm table.customer-form-table input[type="number"],
    .addForm table.customer-form-table input[type="date"],
    .addForm table.customer-form-table input[type="password"],
    .addForm table.customer-form-table select,
    .addForm table.customer-form-table .inputCss,
    .addForm table.customer-form-table .field-input {
        width: 100% !important;
        max-width: 100% !important;
        height: 36px !important;
        line-height: normal !important;
        font-size: 14px !important;
        padding: 0 8px !important;
        box-sizing: border-box !important;
        border: 1px solid #dcdfe6;
        border-radius: 4px;
        background: #fff;
    }

    .addForm table.customer-form-table textarea,
    .addForm table.customer-form-table .textareaCss,
    .addForm table.customer-form-table .field-textarea,
    .addForm textarea,
    .addForm .textareaCss,
    .addForm .field-textarea {
        width: 100% !important;
        max-width: 100% !important;
        min-height: 72px;
        font-size: 14px;
        padding: 8px;
        box-sizing: border-box;
        border: 1px solid #dcdfe6;
        border-radius: 4px;
        background: #fff;
    }

    .addForm table.customer-form-table fieldset {
        border: none;
        margin: 0;
        padding: 0;
        width: 100%;
        min-width: 0;
    }

    .addForm table.customer-form-table fieldset select {
        width: 100% !important;
        margin-bottom: 6px;
        height: 36px;
        font-size: 14px;
    }

    .addForm table.customer-form-table fieldset select:last-child {
        margin-bottom: 0;
    }

    .addForm table.customer-form-table .submit-btn,
    .addForm table.customer-form-table .btn-return,
    .addForm table.customer-form-table .btn {
        width: auto !important;
        min-width: 80px;
        height: 36px !important;
        line-height: 36px !important;
        font-size: 14px !important;
        box-sizing: border-box;
    }

    .addForm table.customer-table-cols-2 {
        min-width: 0 !important;
    }

    .addForm .submit-btn,
    .addForm .btn-return {
        min-width: 80px;
        height: 36px !important;
        line-height: 36px !important;
        font-size: 14px !important;
        box-sizing: border-box;
    }

    .tbcss2 input,
    .inputCss,
    .textareaCss {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .tbcss2 select {
        max-width: 100%;
    }

    #medit textarea {
        width: 100%;
        height: 300px;
        box-sizing: border-box;
    }

    .btn_a,
    .submit-btn,
    .btn-return {
        float: none;
        display: inline-block;
        margin-bottom: 8px;
    }

    /* 列表操作按钮：一行一个，单个按钮文字不换行 */
    .r_box .tbcss th:first-child,
    .r_box .tbcss td:first-child {
        text-align: center;
        vertical-align: top;
    }

    .r_box .tbcss td:first-child > a,
    .r_box .tbcss td:first-child > button,
    .r_box .tbcss td:first-child > span.defineBtnEnd,
    .r_box .tbcss td .btn_abc,
    .r_box .tbcss td .defineBtnEnd,
    .r_box .tbcss td .listedit,
    .r_box .tbcss td .listdel,
    .r_box .tbcss td .listback,
    .r_box .tbcss td .btn-submit-aliyun,
    .r_box .tbcss td .btn-return-customer,
    .r_box .tbcss td button[type="button"],
    .r_box .tbcss td button[type="submit"],
    .r_box .tbcss td .btn,
    .r_box .tbcss2 td .btn_abc,
    .r_box .tbcss2 td .defineBtnEnd,
    .r_box .tbcss2 td button[type="button"] {
        display: block !important;
        width: fit-content;
        max-width: 100%;
        min-width: 72px;
        white-space: nowrap !important;
        overflow: hidden;
        text-overflow: ellipsis;
        margin: 5px auto !important;
        padding: 6px 12px !important;
        box-sizing: border-box;
        float: none !important;
        clear: both;
        line-height: 1.4;
        text-align: center;
    }

    .r_box .tbcss th:first-child input[type="checkbox"],
    .r_box .tbcss td:first-child input[type="checkbox"] {
        display: block;
        width: 18px;
        height: 18px;
        margin: 0 auto 6px;
    }

    .r_box .tbcss td a:has(> img),
    .r_box .tbcss td a img {
        display: inline-block !important;
        margin: 0 !important;
        padding: 0 !important;
        white-space: normal !important;
    }

    .r_box .tbcss td a:has(> img) {
        display: inline-block !important;
        width: auto !important;
        padding: 0 !important;
        margin: 4px 0 !important;
        min-width: 0;
    }

    .r_Operat {
        height: auto;
        margin-left: 0;
        overflow: hidden;
    }

    /* 常规分页栏 tb_page：批量操作与分页分区堆叠；不参与列表横滑 */
    .r_box > table.tb_page,
    .r_box > .tb_page,
    .r_box .tb_page {
        width: 100%;
        max-width: 100%;
        min-width: 0 !important;
        display: block;
        box-sizing: border-box;
        overflow-x: visible;
    }

    .r_box .tb_page tr {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .r_box .tb_page > tbody > tr > td,
    .r_box .tb_page > tr > td {
        display: block;
        width: 100% !important;
        max-width: 100%;
        padding: 8px 0 !important;
        box-sizing: border-box;
        text-align: left !important;
    }

    .r_box .tb_page td[align="right"] {
        text-align: center !important;
    }

    .r_box .tb_page .page {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        float: none !important;
    }

    .r_box .tb_page td table {
        width: 100%;
    }

    .r_box .tb_page td table tr {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 8px;
    }

    .r_box .tb_page td table td {
        width: auto !important;
        padding: 0 !important;
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 6px;
    }

    .r_box .tb_page td fieldset {
        border: none;
        margin: 0;
        padding: 0;
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        width: 100%;
        min-width: 0;
    }

    .r_box .tb_page td fieldset select,
    .r_box .tb_page td select.dats {
        flex: 1 1 120px;
        min-width: 0;
        max-width: 100%;
        height: 36px;
        font-size: 14px;
    }

    .r_box .tb_page .btn {
        height: 36px;
        line-height: 36px;
        min-width: 64px;
        padding: 0 12px;
        font-size: 14px;
        box-sizing: border-box;
    }

    /* Dlpage 分页（.tb_page 内）：row-reverse 还原 首页…末页 顺序，自动换行居中 */
    .tb_page .pagination,
    .r_box .tb_page .pagination {
        display: flex;
        flex-wrap: wrap;
        flex-direction: row-reverse;
        justify-content: center;
        align-items: center;
        gap: 6px 8px;
        width: 100%;
        max-width: 100%;
        padding: 8px 0;
        margin: 0;
        list-style: none;
        box-sizing: border-box;
        text-align: center;
    }

    .tb_page .pagination li,
    .r_box .tb_page .pagination li {
        float: none !important;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        margin: 0 !important;
        line-height: normal !important;
    }

    .tb_page .pagination li a,
    .tb_page .pagination li span,
    .r_box .tb_page .pagination li a,
    .r_box .tb_page .pagination li span {
        display: inline-block;
        min-width: 36px;
        height: 36px;
        line-height: 36px;
        padding: 0 10px;
        box-sizing: border-box;
        text-align: center;
        border: 1px solid #dcdfe6;
        border-radius: 4px;
        background: #fff;
        font-size: 14px;
        color: #333;
    }

    .tb_page .pagination li.active span,
    .r_box .tb_page .pagination li.active span {
        background: #4f8edc;
        border-color: #4f8edc;
        color: #fff;
    }

    .tb_page .pagination li.activesel select,
    .r_box .tb_page .pagination li.activesel select {
        height: 36px;
        min-width: 96px;
        max-width: 100%;
        font-size: 14px;
        padding: 0 8px;
        box-sizing: border-box;
    }

    .tb_page .pagination li:first-child,
    .r_box .tb_page .pagination li:first-child {
        flex: 0 0 100%;
        width: 100%;
        font-size: 14px;
        color: #666;
    }

    /* Portal tm-pagination（.page-list）：页码 + 跳转分两行，顺序 « 1 2 3 » */
    .r_box .page-list,
    #_main_ .page-list {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        width: 100%;
        max-width: 100%;
        padding: 10px 0;
        margin: 0;
        float: none !important;
        box-sizing: border-box;
    }

    .r_box .page-list .pagination,
    #_main_ .page-list .pagination {
        display: flex;
        flex-wrap: wrap;
        flex-direction: row-reverse;
        justify-content: center;
        align-items: center;
        gap: 6px;
        width: 100%;
        max-width: 100%;
        padding: 0;
        margin: 0;
        list-style: none;
        float: none !important;
        box-sizing: border-box;
    }

    .r_box .page-list .pagination > li:first-child,
    #_main_ .page-list .pagination > li:first-child {
        flex: 0 0 auto;
        width: auto;
        order: 2;
    }

    .r_box .page-list .pagination > li:last-child,
    #_main_ .page-list .pagination > li:last-child {
        flex: 0 0 auto;
        width: auto;
        order: 0;
    }

    .r_box .page-list .pagination > li:not(:first-child):not(:last-child),
    #_main_ .page-list .pagination > li:not(:first-child):not(:last-child) {
        order: 1;
    }

    .r_box .page-list .pagination li,
    #_main_ .page-list .pagination li {
        float: none !important;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        margin: 0 !important;
        line-height: normal !important;
    }

    .r_box .page-list .pagination li span,
    #_main_ .page-list .pagination li span {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 36px;
        height: 36px;
        padding: 0 10px;
        box-sizing: border-box;
        text-align: center;
        border: 1px solid #dcdfe6;
        border-radius: 4px;
        background: #fff;
        font-size: 14px;
        color: #333;
        cursor: pointer;
    }

    .r_box .page-list .pagination li.active span,
    #_main_ .page-list .pagination li.active span {
        background: #4f8edc;
        border-color: #4f8edc;
        color: #fff;
    }

    .r_box .page-list .pagination li.disabled span,
    #_main_ .page-list .pagination li.disabled span {
        opacity: 0.45;
        cursor: not-allowed;
    }

    .r_box .page-list .pagination li.separate span,
    #_main_ .page-list .pagination li.separate span {
        border: none;
        background: transparent;
        min-width: auto;
        padding: 0 4px;
        cursor: default;
    }

    .r_box .page-list .page-total,
    #_main_ .page-list .page-total {
        float: none !important;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 6px 8px;
        width: 100%;
        margin: 0 !important;
        font-size: 14px;
        line-height: 1.5;
        color: #666;
        text-align: center;
        box-sizing: border-box;
    }

    .r_box .page-list .page-total input,
    #_main_ .page-list .page-total input {
        width: 48px;
        height: 36px;
        margin: 0;
        padding: 0 6px;
        border: 1px solid #dcdfe6;
        border-radius: 4px;
        font-size: 14px;
        text-align: center;
        box-sizing: border-box;
    }

    .r_box .page-list .page-total select,
    #_main_ .page-list .page-total select {
        width: auto;
        min-width: 64px;
        height: 36px;
        margin: 0;
        padding: 0 8px;
        border: 1px solid #dcdfe6;
        border-radius: 4px;
        font-size: 14px;
        text-align: center;
        box-sizing: border-box;
        background: #fff;
    }

    .r_box .page-list .page-no-data,
    #_main_ .page-list .page-no-data {
        width: 100%;
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;
        color: #999;
    }

    .pager {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
        padding: 8px 0;
        margin: 0;
        list-style: none;
    }

    .pager li {
        float: none !important;
        display: inline-flex !important;
        margin: 0 !important;
    }

    .home_repeat_td,
    .home_repeat_td2 {
        display: block;
        width: 100%;
        margin-bottom: 10px;
    }

    .home_newslist {
        width: 100%;
        margin-right: 0;
        float: none;
    }

    .view_tb li {
        width: 48%;
        box-sizing: border-box;
    }

    /* 首页概况：双栏改单栏堆叠 */
    .customer-home-board {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px;
        margin-top: 12px;
        padding: 0 10px 16px;
        overflow: visible;
        box-sizing: border-box;
    }

    .customer-home-col {
        float: none !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin-bottom: 0;
        box-sizing: border-box;
    }

    .customer-home-section-title {
        font-size: 18px;
        font-weight: bold;
        line-height: 1.5;
        margin-bottom: 10px;
        padding: 0 4px;
        color: #333;
    }

    .customer-home-table-wrap {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .customer-home-table {
        float: none !important;
        width: 100% !important;
        margin: 0 !important;
        min-width: 0 !important;
        font-size: 16px;
    }

    .customer-home-table--stats {
        min-width: 0 !important;
    }

    .customer-home-table--stats th,
    .customer-home-table--stats td {
        font-size: 16px !important;
        line-height: 1.6;
        padding: 10px 8px !important;
        word-break: break-all;
    }

    .customer-home-table-wrap--scroll .customer-home-table--hot {
        min-width: 560px !important;
    }

    .customer-home-table--hot th,
    .customer-home-table--hot td {
        font-size: 15px !important;
        line-height: 1.5;
        padding: 8px 6px !important;
        white-space: nowrap;
    }

    .right {
        overflow-x: hidden;
        font-size: 16px;
    }

    .tbcss th,
    .tbcss td {
        font-size: 15px;
    }

    .authCon li {
        width: 100%;
        float: none;
    }

    .piclist {
        width: 100%;
        float: none;
    }

    .el-table {
        width: 100% !important;
    }

    /* Vue 报表页（dl-report / q-table）：分页与表格同宽，不超出卡片 */
    .right #app,
    .right .el-container,
    .right .el-main {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden;
        box-sizing: border-box;
    }

    .right .el-main {
        padding: 8px 10px !important;
    }

    /* Vue 报表搜索区（dl-inner-form）：对齐 .search 双列 + 全宽按钮规范 */
    .customer-report-search {
        flex-direction: column !important;
        justify-content: flex-start !important;
        width: 100%;
        box-sizing: border-box;
    }

    .customer-report-search__fields {
        width: 100% !important;
        margin: 0 -5px !important;
        flex-wrap: wrap !important;
    }

    .customer-report-search-field {
        width: 50% !important;
        padding: 5px !important;
        margin-bottom: 0 !important;
        box-sizing: border-box !important;
    }

    .customer-report-search-field > div {
        margin-bottom: 0 !important;
        width: 100%;
    }

    .customer-report-search-field .el-select,
    .customer-report-search-field .el-input,
    .customer-report-search-field .el-date-editor,
    .customer-report-search-field .el-input-number {
        width: 100% !important;
        max-width: 100% !important;
    }

    .customer-report-search-field .el-input__inner {
        height: 36px !important;
        line-height: 36px !important;
        font-size: 14px !important;
        padding: 0 8px !important;
    }

    .customer-report-search-field .el-input__icon {
        line-height: 36px !important;
    }

    .customer-report-search-field > div > div:first-child {
        display: flex;
        align-items: center;
        width: 100%;
        min-width: 0;
    }

    .customer-report-search-field > div > div:first-child > .el-select {
        flex: 1 1 auto;
        min-width: 0;
    }

    .customer-report-search-field button.el-icon-search {
        flex: 0 0 36px;
        width: 36px !important;
        height: 36px !important;
        line-height: 36px !important;
        margin: 0 0 0 6px !important;
        padding: 0 !important;
        border: 1px solid #dcdfe6;
        border-radius: 4px;
        background: #fff;
        box-sizing: border-box;
    }

    .customer-report-search__actions {
        width: 100% !important;
        padding: 5px !important;
        flex-direction: row !important;
        justify-content: stretch !important;
    }

    .customer-report-search__actions .q-btn {
        width: 100% !important;
        min-height: 36px !important;
        height: 36px !important;
        margin: 0 !important;
        padding: 0 10px !important;
        font-size: 14px !important;
    }

    .customer-report-search__actions .dl-button {
        font-size: 14px;
        line-height: 36px;
    }

    /* 取消 80vh 固定高度，避免表格外层与页面双层纵向滚动 */
    .sticky-header-table {
        height: auto !important;
        max-height: none !important;
    }

    .sticky-header-table .q-table__container,
    .sticky-header-table .q-table__middle,
    .sticky-header-table .q-virtual-scroll {
        height: auto !important;
        max-height: none !important;
        overflow-y: visible !important;
    }

    .q-table__container,
    .q-table__card,
    .q-table {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }

    .q-table__middle {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .q-table__bottom,
    .q-table__bottom-row {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
        overflow-x: hidden;
    }

    .q-table__bottom .el-pagination {
        width: 100%;
        max-width: 100%;
    }

    .el-pagination {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        align-items: center;
        max-width: 100% !important;
        white-space: normal !important;
        padding: 6px 0;
        box-sizing: border-box;
    }

    .el-pagination > * {
        flex-shrink: 0;
        margin: 4px 2px;
    }

    .el-pagination .el-pager {
        display: inline-flex;
        flex-wrap: wrap;
        justify-content: center;
        margin: 4px 0;
        padding: 0;
    }

    .el-pagination .el-pager li {
        min-width: 30px;
        height: 30px;
        line-height: 30px;
        font-size: 13px;
    }

    .el-pagination button {
        min-width: 30px;
        height: 30px;
        line-height: 30px;
    }

    .el-pagination__total {
        font-size: 13px;
    }

    .el-pagination__sizes .el-input {
        width: 96px !important;
    }

    .el-pagination__jump {
        display: none !important;
    }

    .el-dialog {
        width: 92% !important;
        margin-top: 5vh !important;
    }

    .el-form-item__label {
        float: none;
        display: block;
        text-align: left;
        line-height: 1.5;
        padding-bottom: 4px;
    }

    .el-form-item__content {
        margin-left: 0 !important;
    }

    .el-col-24,
    .el-col-12,
    .el-col-8,
    .el-col-6 {
        width: 100% !important;
    }

    .layui-layer {
        max-width: 100% !important;
    }

    body.login-page {
        min-height: 100vh;
        min-height: 100dvh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 16px;
        box-sizing: border-box;
        background: #004f7a !important;
        background-image: none !important;
        -webkit-text-size-adjust: 100%;
    }

    body.login-page .main {
        width: 100%;
        max-width: 400px;
        height: auto !important;
        min-height: 0;
        margin: 0 !important;
        padding: 0 !important;
        float: none;
        flex-shrink: 0;
        background: transparent !important;
        background-image: none !important;
        box-shadow: none;
        overflow: visible;
    }

    body.login-page .mbox {
        height: auto !important;
        background: #fff;
        border-radius: 8px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.28);
        overflow: hidden;
    }

    body.login-page .mbox ul {
        padding: 0 20px 20px !important;
    }

    body.login-page .login_title {
        font-size: 18px;
        height: auto;
        line-height: 1.4;
        padding: 24px 16px 16px;
        word-break: break-all;
    }

    body.login-page .mbox li {
        padding-bottom: 12px;
    }

    body.login-page .mbox li:last-child {
        padding-bottom: 0;
    }

    body.login-page .login_user input,
    body.login-page .login_pwd input,
    body.login-page .login_code input {
        width: 100% !important;
        height: 44px;
        line-height: normal;
        font-size: 16px;
        color: #333;
        box-sizing: border-box;
        padding: 0 12px;
        border-radius: 4px;
        -webkit-appearance: none;
        appearance: none;
    }

    body.login-page .login_code input {
        float: none !important;
    }

    body.login-page .login_code img {
        float: none !important;
        display: block;
        margin-top: 10px;
        max-width: 120px;
        height: auto;
    }

    body.login-page .mbox li input[type="checkbox"] {
        width: auto;
        height: auto;
        margin-right: 6px;
        vertical-align: middle;
    }

    body.login-page .mbox li label {
        font-size: 14px;
        vertical-align: middle;
    }

    body.login-page .login_btn input {
        width: 100% !important;
        height: 44px;
        line-height: 44px;
        padding: 0;
        background: #005784 !important;
        background-image: none !important;
        border: none !important;
        border-radius: 4px;
        color: #fff;
        font-size: 16px;
        font-weight: bold;
        cursor: pointer;
        -webkit-appearance: none;
        appearance: none;
        touch-action: manipulation;
    }

    body.login-page .login_btn input:active {
        background: #007bc0 !important;
    }

    body.login-page .foot {
        width: 100%;
        max-width: 400px;
        margin: 0;
        padding: 16px 10px 0;
        text-align: center;
        color: rgba(255, 255, 255, 0.75);
        font-size: 12px;
        line-height: 1.6;
        flex-shrink: 0;
        background: transparent;
    }

    body.login-page .foot a {
        color: rgba(255, 255, 255, 0.85);
    }

    /* 客户端登录页移动端样式见 login-mobile.css + mobile_login_tail 内联 */

    body.customer-doc-page {
        padding: 12px 14px 24px;
        font-size: 15px;
        line-height: 1.6;
        overflow-x: hidden;
    }

    body.customer-doc-page .title {
        padding: 12px 0 !important;
        font-size: 18px;
    }

    body.customer-doc-page .main {
        padding: 0 !important;
    }
}

@media (min-width: 769px) {
    .customer-mobile-toggle,
    .customer-mobile-overlay,
    .top-bar-mobile {
        display: none !important;
    }
}

/* 图片预览弹层（客户端全端） */
.customer-image-preview-modal {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 200px;
    padding: 12px;
    box-sizing: border-box;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

.customer-image-preview-modal img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}
