/* Jingjiuling soft Feishu-like theme */
:root {
    --jjl-bg: #f5f7fb;
    --jjl-surface: #ffffff;
    --jjl-surface-soft: #f8fbff;
    --jjl-border: #e7edf5;
    --jjl-text: #1f2d3d;
    --jjl-muted: #6b778c;
    --jjl-blue: #3378ff;
    --jjl-blue-soft: #eaf1ff;
    --jjl-green: #20b486;
    --jjl-orange: #ff9f43;
    --jjl-red: #f05252;
    --jjl-purple: #8b5cf6;
}

html, body {
    color: var(--jjl-text);
    background: var(--jjl-bg);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

a {
    color: var(--jjl-blue);
}

a:hover, a:focus {
    color: #1f63e9;
}

.gray-bg,
.wrapper-content,
.container-div {
    background: var(--jjl-bg) !important;
}

.container-div {
    padding: 12px;
}

#page-wrapper,
.mainContent {
    background: var(--jjl-bg) !important;
}

.navbar-static-side {
    background: #ffffff !important;
    border-right: 1px solid var(--jjl-border);
    box-shadow: 4px 0 18px rgba(31, 45, 61, .05);
}

.logo,
body.mini-navbar .nav-header {
    background: linear-gradient(135deg, #f7fbff 0%, #eef5ff 100%) !important;
    border-bottom: 1px solid var(--jjl-border);
}

.sidebar-collapse .nav > li > a,
.nav-second-level li a,
.nav-third-level li a,
.nav-four-level li a {
    color: #435166 !important;
    font-weight: 500;
}

.sidebar-collapse .nav > li > a i {
    color: #7a8aa0;
}

.nav > li.active,
.nav > li.selected,
.navbar-default .nav > li > a:hover,
.navbar-default .nav > li > a:focus,
.nav-second-level li a:hover,
.nav-third-level li a:hover {
    background: var(--jjl-blue-soft) !important;
    color: var(--jjl-blue) !important;
}

.nav > li.active > a,
.nav > li.selected > a {
    color: var(--jjl-blue) !important;
    border-left: 4px solid var(--jjl-blue);
}

.nav > li.active > a i,
.nav > li.selected > a i,
.navbar-default .nav > li > a:hover i {
    color: var(--jjl-blue) !important;
}

.user-panel {
    background: #ffffff !important;
    border-bottom: 1px solid var(--jjl-border);
}

.user-panel .info p,
.user-panel .info a {
    color: #435166 !important;
}

.navbar-static-top {
    background: linear-gradient(90deg, #f8fbff 0%, #ffffff 52%, #f7fff9 100%) !important;
    border-bottom: 1px solid var(--jjl-border) !important;
}

.navbar-minimalize {
    color: var(--jjl-blue) !important;
    background: var(--jjl-blue-soft) !important;
    border-radius: 8px;
    margin: 9px 12px;
    padding: 7px 10px !important;
}

.navbar-top-links > li > a {
    color: #435166 !important;
}

.content-tabs {
    background: #ffffff !important;
    border-bottom: 1px solid var(--jjl-border) !important;
}

.content-tabs .roll-nav,
.page-tabs a {
    border-color: var(--jjl-border) !important;
    color: #526071 !important;
    background: #ffffff !important;
}

.page-tabs a.active,
.page-tabs a:hover,
.content-tabs .roll-nav:hover {
    color: var(--jjl-blue) !important;
    background: var(--jjl-blue-soft) !important;
}

.search-collapse,
.select-table,
.ibox,
.ibox-content,
.panel,
.panel-body,
.tabs-container .panel-body,
.customer-split-detail {
    background: var(--jjl-surface) !important;
    border: 1px solid var(--jjl-border) !important;
    border-radius: 8px !important;
    box-shadow: 0 8px 24px rgba(31, 45, 61, .05);
}

.search-collapse {
    padding: 12px 14px 4px;
    margin-bottom: 10px;
}

.select-table {
    padding: 0;
    overflow: hidden;
}

.btn-group-sm {
    margin-bottom: 10px;
}

.btn {
    border-radius: 8px !important;
    border: 1px solid transparent;
    box-shadow: none !important;
    font-weight: 500;
}

.btn-primary,
.btn-success {
    color: #ffffff !important;
    background: var(--jjl-blue) !important;
    border-color: var(--jjl-blue) !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-success:hover,
.btn-success:focus {
    background: #1f63e9 !important;
    border-color: #1f63e9 !important;
}

.btn-warning {
    color: #ffffff !important;
    background: var(--jjl-orange) !important;
    border-color: var(--jjl-orange) !important;
}

.btn-danger {
    color: #ffffff !important;
    background: var(--jjl-red) !important;
    border-color: var(--jjl-red) !important;
}

.btn-info {
    color: #ffffff !important;
    background: var(--jjl-green) !important;
    border-color: var(--jjl-green) !important;
}

.form-control,
.single-line,
input[type="text"],
input[type="password"],
select,
textarea {
    border-color: #dbe4f0 !important;
    border-radius: 8px !important;
    color: var(--jjl-text);
    background: #ffffff;
    box-shadow: none !important;
}

.form-control:focus,
input[type="text"]:focus,
input[type="password"]:focus,
select:focus,
textarea:focus {
    border-color: var(--jjl-blue) !important;
    box-shadow: 0 0 0 3px rgba(51, 120, 255, .12) !important;
}

.select-list li label {
    color: var(--jjl-muted);
    font-weight: 500;
}

.bootstrap-table .fixed-table-toolbar,
.bootstrap-table .fixed-table-pagination {
    background: #ffffff;
}

.bootstrap-table .table {
    color: var(--jjl-text);
}

.bootstrap-table .table > thead > tr > th,
.table-striped .table > thead > tr > th {
    background: #f7faff !important;
    color: #435166;
    border-color: var(--jjl-border) !important;
    font-weight: 600;
}

.bootstrap-table .table > tbody > tr > td {
    border-color: #edf2f8 !important;
}

.table-striped > tbody > tr:nth-of-type(odd) {
    background-color: #fbfdff;
}

.bootstrap-table .table-hover > tbody > tr:hover > td,
.bootstrap-table .table-hover > tbody > tr.hover > td,
.bootstrap-table .fixed-table-container .table tbody tr.selected td {
    background: var(--jjl-blue-soft) !important;
}

.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover {
    background: var(--jjl-blue) !important;
    border-color: var(--jjl-blue) !important;
}

.nav-tabs {
    border-color: var(--jjl-border);
}

.nav-tabs > li > a {
    border-radius: 8px 8px 0 0;
    color: #526071;
}

.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus {
    color: var(--jjl-blue);
    background: #ffffff;
    border-color: var(--jjl-border) var(--jjl-border) #ffffff;
}

.modal-content,
.layui-layer,
.layui-layer-page {
    border-radius: 10px !important;
    overflow: hidden;
    box-shadow: 0 18px 50px rgba(31, 45, 61, .18) !important;
}

.modal-header,
.layui-layer-title {
    background: #f7faff !important;
    border-color: var(--jjl-border) !important;
    color: var(--jjl-text) !important;
    font-weight: 600;
}

.label-primary,
.badge-primary {
    background: var(--jjl-blue);
}

.label-success,
.badge-success {
    background: var(--jjl-green);
}

.label-warning,
.badge-warning {
    background: var(--jjl-orange);
}

.label-danger,
.badge-danger {
    background: var(--jjl-red);
}

.footer {
    background: #ffffff !important;
    border-top: 1px solid var(--jjl-border);
    color: var(--jjl-muted);
}

.signin-feishu {
    min-height: 100vh;
    background:
        radial-gradient(circle at 18% 24%, rgba(51, 120, 255, .18), transparent 26%),
        radial-gradient(circle at 79% 28%, rgba(32, 180, 134, .18), transparent 25%),
        radial-gradient(circle at 58% 78%, rgba(255, 159, 67, .14), transparent 24%),
        linear-gradient(180deg, #f7f9ff 0%, #eef5ff 48%, #f7fff9 100%) !important;
}

.jjl-login-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: var(--jjl-text);
}

.jjl-login-top {
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 56px;
}

.jjl-login-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 700;
}

.jjl-login-logo {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: #ffffff;
    background: linear-gradient(135deg, #3378ff, #20b486);
    box-shadow: 0 10px 26px rgba(51, 120, 255, .22);
}

.jjl-login-note,
.jjl-login-footer,
.jjl-login-title p,
.jjl-visual-card span {
    color: var(--jjl-muted);
}

.jjl-login-main {
    flex: 1;
    display: grid;
    grid-template-columns: minmax(360px, 520px) minmax(360px, 460px);
    align-items: center;
    justify-content: center;
    gap: 88px;
    padding: 28px 56px 66px;
}

.jjl-login-visual {
    position: relative;
    min-height: 430px;
}

.jjl-login-visual::before {
    content: "";
    position: absolute;
    inset: 34px 20px;
    border-radius: 28px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .72), rgba(255, 255, 255, .28)),
        linear-gradient(135deg, rgba(51, 120, 255, .14), rgba(32, 180, 134, .12));
    border: 1px solid rgba(255, 255, 255, .78);
    box-shadow: 0 28px 80px rgba(31, 45, 61, .10);
    backdrop-filter: blur(12px);
}

.jjl-login-visual::after {
    content: "京九龄";
    position: absolute;
    left: 34px;
    bottom: 18px;
    color: rgba(51, 120, 255, .10);
    font-size: 96px;
    font-weight: 800;
    line-height: 1;
}

.jjl-visual-card {
    position: absolute;
    z-index: 1;
    width: 220px;
    padding: 18px 20px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .86);
    border: 1px solid rgba(231, 237, 245, .9);
    box-shadow: 0 18px 48px rgba(31, 45, 61, .12);
}

.jjl-visual-card strong {
    display: block;
    margin-top: 8px;
    font-size: 24px;
    color: var(--jjl-text);
}

.jjl-visual-card-primary {
    top: 72px;
    left: 24px;
}

.jjl-visual-card-green {
    top: 188px;
    right: 36px;
}

.jjl-visual-card-orange {
    bottom: 58px;
    left: 110px;
}

.jjl-login-card {
    background: rgba(255, 255, 255, .92);
    border: 1px solid rgba(231, 237, 245, .95);
    border-radius: 24px;
    box-shadow: 0 28px 88px rgba(31, 45, 61, .14);
    backdrop-filter: blur(14px);
}

.jjl-login-card form {
    width: 100%;
    padding: 42px 46px 46px !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.jjl-login-title {
    margin-bottom: 30px;
}

.jjl-login-title p {
    margin: 0 0 8px;
    font-size: 15px;
}

.jjl-login-title h1 {
    color: var(--jjl-text);
    font-size: 30px;
    font-weight: 700 !important;
    line-height: 1.28;
}

.jjl-login-field {
    position: relative;
    display: block;
    margin-bottom: 18px;
}

.jjl-login-field > span {
    display: block;
    margin-bottom: 8px;
    color: #435166;
    font-weight: 600;
}

.jjl-login-field > i {
    position: absolute;
    right: 16px;
    bottom: 16px;
    color: #9aa6b8;
    font-size: 16px;
}

.jjl-login-card .form-control {
    height: 52px !important;
    padding: 0 44px 0 16px;
    margin: 0 !important;
    border-radius: 12px !important;
    font-size: 16px;
    background-color: #ffffff !important;
}

.jjl-login-code {
    display: grid;
    grid-template-columns: 1fr 132px;
    gap: 12px;
    align-items: end;
}

.jjl-login-code .form-control {
    padding-right: 16px;
}

.jjl-login-code a {
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #dbe4f0;
    border-radius: 12px;
    background: #ffffff;
    overflow: hidden;
}

.jjl-login-code .imgcode {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.signin-feishu label.error {
    display: block;
    margin: 8px 0 0;
    color: var(--jjl-red);
    font-weight: 500;
}

.jjl-login-submit,
#btnSubmit {
    width: 100% !important;
    height: 52px !important;
    margin-top: 10px;
    border-radius: 12px !important;
    border: 0 !important;
    color: #ffffff !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    background: linear-gradient(135deg, #3378ff 0%, #18b3a8 100%) !important;
    box-shadow: 0 14px 30px rgba(51, 120, 255, .26) !important;
}

.jjl-login-submit:hover,
#btnSubmit:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 34px rgba(51, 120, 255, .32) !important;
}

.jjl-login-footer {
    padding: 0 56px 28px;
    text-align: center;
}

@media (max-width: 960px) {
    .jjl-login-top {
        padding: 0 24px;
    }

    .jjl-login-note,
    .jjl-login-visual {
        display: none;
    }

    .jjl-login-main {
        grid-template-columns: minmax(300px, 460px);
        gap: 0;
        padding: 24px;
    }

    .jjl-login-card form {
        padding: 34px 28px 32px !important;
    }

    .jjl-login-title h1 {
        font-size: 25px;
    }
}

/* JJL dense workbench frame */
:root {
    --jjl-work-blue: #5aa3dc;
    --jjl-work-blue-dark: #347fbd;
    --jjl-work-blue-soft: #eaf4ff;
    --jjl-work-line: #c6dced;
    --jjl-work-grid: #d8dfe6;
    --jjl-work-text: #25384d;
    --jjl-work-muted: #6f7c8f;
}

html,
body,
.gray-bg,
.wrapper-content,
.container-div,
#page-wrapper,
.mainContent {
    background: #ffffff !important;
}

body {
    font-size: 14px;
}

.navbar-static-side {
    background: #ffffff !important;
    border-right: 1px solid #b6cfe4 !important;
    box-shadow: none !important;
}

.logo,
body.mini-navbar .nav-header {
    height: 62px;
    background: var(--jjl-work-blue) !important;
    border-bottom: 1px solid #4c95cf !important;
    box-shadow: none !important;
}

.logo .logo-lg {
    height: 62px;
    display: flex;
    align-items: center;
    padding: 0 14px;
}

.user-panel {
    background: #f7fbff !important;
    border-bottom: 1px solid #d6e4ef !important;
    box-shadow: none !important;
}

.sidebar-collapse .nav > li > a,
.nav-second-level li a,
.nav-third-level li a,
.nav-four-level li a {
    min-height: 38px;
    padding-top: 9px;
    padding-bottom: 9px;
    color: #445467 !important;
    font-weight: 400;
}

.sidebar-collapse .nav > li > a i,
.nav-second-level li a i,
.nav-third-level li a i {
    color: #5d9bd6 !important;
}

.nav > li.active,
.nav > li.selected,
.navbar-default .nav > li > a:hover,
.navbar-default .nav > li > a:focus,
.nav-second-level li a:hover,
.nav-third-level li a:hover {
    background: #fff1bd !important;
    color: #256fb3 !important;
}

.nav > li.active > a,
.nav > li.selected > a {
    border-left: 3px solid #337fd0 !important;
    color: #256fb3 !important;
}

.navbar-static-top {
    min-height: 62px;
    background: var(--jjl-work-blue) !important;
    border-bottom: 1px solid #4b95cf !important;
    box-shadow: none !important;
}

.navbar-minimalize {
    width: 48px;
    height: 44px;
    line-height: 30px;
    margin: 9px 12px !important;
    color: #ffffff !important;
    background: rgba(255, 255, 255, .12) !important;
    border: 1px solid rgba(255, 255, 255, .18) !important;
    border-radius: 2px !important;
}

.navbar-top-links > li > a,
.navbar-top-links .dropdown-toggle,
.navbar-top-links .hidden-xs {
    color: #ffffff !important;
}

.navbar-top-links .dropdown-menu a {
    color: #3a4a5e !important;
}

.content-tabs {
    height: 58px !important;
    background: var(--jjl-work-blue) !important;
    border-top: 1px solid rgba(255, 255, 255, .16) !important;
    border-bottom: 1px solid #4b95cf !important;
    box-shadow: none !important;
}

.content-tabs .roll-nav {
    width: 44px;
    height: 58px;
    line-height: 58px;
    color: #ffffff !important;
    background: var(--jjl-work-blue) !important;
    border-color: #4b95cf !important;
    border-radius: 0 !important;
}

.page-tabs {
    height: 58px;
    margin-left: 44px;
}

.page-tabs a {
    height: 44px;
    line-height: 44px;
    margin-top: 14px;
    padding: 0 18px;
    color: #ffffff !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
}

.page-tabs a.active,
.page-tabs a:hover {
    color: #2e6f99 !important;
    background: #ffffff !important;
}

.container-div {
    padding: 0 8px 8px !important;
}

.search-collapse {
    margin: 0 0 8px !important;
    padding: 8px 10px 2px !important;
    background: #ffffff !important;
    border: 0 !important;
    border-bottom: 1px solid var(--jjl-work-line) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.select-list ul {
    margin: 0;
}

.select-list li {
    margin: 0 12px 6px 0;
}

.select-list li label {
    color: var(--jjl-work-text);
    font-weight: 400;
}

.btn-group-sm {
    margin: 0 0 6px !important;
}

.btn,
.btn-rounded,
.btn-xs,
.btn-sm {
    border-radius: 2px !important;
    box-shadow: none !important;
}

.btn {
    min-height: 30px;
}

.btn-primary,
.btn-success,
.btn-info {
    background: #337fd0 !important;
    border-color: #337fd0 !important;
}

.btn-warning {
    background: #df8d2b !important;
    border-color: #df8d2b !important;
}

.btn-danger {
    background: #d9534f !important;
    border-color: #d9534f !important;
}

.form-control,
.single-line,
input[type="text"],
input[type="password"],
select,
textarea {
    min-height: 30px;
    border-color: #cfdce8 !important;
    border-radius: 2px !important;
    box-shadow: none !important;
}

.select-table,
.customer-split-table,
.customer-split-detail {
    background: #ffffff !important;
    border: 2px solid #5da5e8 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    overflow: hidden;
}

.bootstrap-table,
.bootstrap-table .fixed-table-container,
.bootstrap-table .fixed-table-body,
.bootstrap-table .fixed-table-header {
    background: #ffffff !important;
}

.bootstrap-table .fixed-table-container {
    border: 0 !important;
    border-radius: 0 !important;
}

.bootstrap-table .fixed-table-toolbar {
    background: #ffffff !important;
    border-bottom: 1px solid var(--jjl-work-grid);
}

.bootstrap-table .fixed-table-pagination {
    min-height: 52px;
    padding: 8px 12px;
    background: #ffffff !important;
    border-top: 1px solid var(--jjl-work-grid);
}

.bootstrap-table .table {
    margin-bottom: 0 !important;
}

.bootstrap-table .table > thead > tr > th,
.table-striped .table > thead > tr > th {
    height: 40px;
    background: #f6f8fb !important;
    color: var(--jjl-work-text) !important;
    border-color: var(--jjl-work-grid) !important;
    font-weight: 600;
}

.bootstrap-table .table > tbody > tr > td {
    height: 38px;
    border-color: #e4e8ed !important;
}

.table-striped > tbody > tr:nth-of-type(odd) {
    background-color: #ffffff;
}

.table-striped > tbody > tr:nth-of-type(even) {
    background-color: #f6f6f6;
}

.bootstrap-table .table-hover > tbody > tr:hover > td,
.bootstrap-table .table-hover > tbody > tr.hover > td,
.bootstrap-table .fixed-table-container .table tbody tr.selected td {
    background: #e6f0ff !important;
    color: #1e6dcb !important;
}

.fixed-table-pagination .pagination > li > a,
.fixed-table-pagination .pagination > li > span {
    border-radius: 0 !important;
}

.fixed-table-pagination .page-list .btn {
    border-radius: 0 !important;
}

.nav-tabs {
    min-height: 44px;
    padding-left: 10px;
    background: var(--jjl-work-blue);
    border: 0 !important;
}

.nav-tabs > li > a {
    height: 44px;
    margin-right: 0;
    padding: 12px 18px;
    color: #ffffff !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
}

.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus {
    color: #2d6f99 !important;
    background: #ffffff !important;
    border: 0 !important;
}

.tabs-container .panel-body,
.panel,
.panel-body,
.ibox,
.ibox-content {
    border-color: var(--jjl-work-grid) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.customer-split-workspace {
    gap: 0 !important;
}

.customer-split-table {
    border-bottom: 0 !important;
}

.customer-split-resizer {
    flex-basis: 16px !important;
    background: #e6e6e6 !important;
    border-left: 2px solid #5da5e8;
    border-right: 2px solid #5da5e8;
}

.customer-split-resizer:after {
    background: #8c98a6 !important;
}

.customer-detail-title {
    height: 44px !important;
    line-height: 44px !important;
    padding: 0 16px !important;
    color: #ffffff !important;
    background: var(--jjl-work-blue) !important;
    border-bottom: 1px solid #4b95cf !important;
}

.modal-content,
.layui-layer,
.layui-layer-page {
    border-radius: 2px !important;
}

.modal-header,
.layui-layer-title {
    background: #f4f8fc !important;
}

/* JJL soft workbench visual layer: keep the dense frame, soften the surface */
:root {
    --jjl-soft-blue: #3378ff;
    --jjl-soft-blue-2: #4aa3ff;
    --jjl-soft-teal: #19b7a5;
    --jjl-soft-bg: #f5f8fc;
    --jjl-soft-card: #ffffff;
    --jjl-soft-card-2: #f9fbff;
    --jjl-soft-line: #dce7f3;
    --jjl-soft-text: #26364a;
    --jjl-soft-muted: #6a7890;
}

html,
body,
.gray-bg,
.wrapper-content,
.container-div,
#page-wrapper,
.mainContent {
    background: var(--jjl-soft-bg) !important;
}

.navbar-static-side {
    background: rgba(255, 255, 255, .96) !important;
    border-right: 1px solid var(--jjl-soft-line) !important;
    box-shadow: 4px 0 18px rgba(45, 73, 112, .06) !important;
}

.logo,
body.mini-navbar .nav-header {
    background: linear-gradient(135deg, #3378ff 0%, #53b6ff 100%) !important;
    border-bottom: 0 !important;
}

.user-panel {
    background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%) !important;
    border-bottom: 1px solid var(--jjl-soft-line) !important;
}

.sidebar-collapse .nav > li > a,
.nav-second-level li a,
.nav-third-level li a,
.nav-four-level li a {
    margin: 2px 8px;
    border-radius: 8px !important;
    color: #445267 !important;
}

.nav > li.active,
.nav > li.selected,
.navbar-default .nav > li > a:hover,
.navbar-default .nav > li > a:focus,
.nav-second-level li a:hover,
.nav-third-level li a:hover {
    background: #eaf2ff !important;
    color: var(--jjl-soft-blue) !important;
}

.nav > li.active > a,
.nav > li.selected > a {
    border-left: 0 !important;
    color: var(--jjl-soft-blue) !important;
    background: #eaf2ff !important;
}

.navbar-static-top {
    background: linear-gradient(90deg, #3378ff 0%, #4aa3ff 56%, #19b7a5 100%) !important;
    border-bottom: 0 !important;
    box-shadow: 0 6px 20px rgba(51, 120, 255, .16) !important;
}

.navbar-minimalize {
    border-radius: 10px !important;
    background: rgba(255, 255, 255, .17) !important;
    border-color: rgba(255, 255, 255, .2) !important;
}

.content-tabs {
    background: rgba(255, 255, 255, .96) !important;
    border-bottom: 1px solid var(--jjl-soft-line) !important;
    box-shadow: 0 4px 16px rgba(45, 73, 112, .05) !important;
}

.content-tabs .roll-nav {
    color: #6d7b90 !important;
    background: #ffffff !important;
    border-color: var(--jjl-soft-line) !important;
}

.page-tabs a {
    height: 42px;
    line-height: 42px;
    margin: 8px 4px 0;
    color: #66758c !important;
    background: transparent !important;
    border-radius: 8px 8px 0 0 !important;
}

.page-tabs a.active,
.page-tabs a:hover {
    color: var(--jjl-soft-blue) !important;
    background: #eef5ff !important;
}

.container-div {
    padding: 12px !important;
}

.search-collapse,
.select-table,
.customer-split-table,
.customer-split-detail,
.ibox,
.ibox-content,
.panel,
.panel-body,
.tabs-container .panel-body {
    background: var(--jjl-soft-card) !important;
    border: 1px solid var(--jjl-soft-line) !important;
    border-radius: 8px !important;
    box-shadow: 0 8px 24px rgba(45, 73, 112, .06) !important;
}

.search-collapse {
    margin: 0 0 10px !important;
    padding: 10px 12px 4px !important;
}

.select-table,
.customer-split-table {
    border: 1px solid #8dc1f8 !important;
}

.customer-split-table {
    border-bottom: 0 !important;
    border-radius: 8px 8px 0 0 !important;
}

.customer-split-detail {
    border-top: 0 !important;
    border-radius: 0 0 8px 8px !important;
}

.customer-split-resizer {
    background: #eef2f7 !important;
    border-left: 1px solid #8dc1f8;
    border-right: 1px solid #8dc1f8;
}

.customer-split-resizer:after {
    background: #a7b3c3 !important;
    border-radius: 4px;
}

.customer-detail-title {
    color: #ffffff !important;
    background: linear-gradient(90deg, #4aa3ff 0%, #3378ff 100%) !important;
    border-bottom: 0 !important;
}

.btn,
.btn-rounded,
.btn-xs,
.btn-sm {
    border-radius: 8px !important;
}

.btn-primary,
.btn-success {
    background: var(--jjl-soft-blue) !important;
    border-color: var(--jjl-soft-blue) !important;
}

.btn-info {
    background: var(--jjl-soft-teal) !important;
    border-color: var(--jjl-soft-teal) !important;
}

.btn-warning {
    background: #ff9f43 !important;
    border-color: #ff9f43 !important;
}

.btn-danger {
    background: #f05252 !important;
    border-color: #f05252 !important;
}

.form-control,
.single-line,
input[type="text"],
input[type="password"],
select,
textarea {
    border-radius: 8px !important;
    border-color: #d9e5f2 !important;
    background: #ffffff !important;
}

.form-control:focus,
input[type="text"]:focus,
input[type="password"]:focus,
select:focus,
textarea:focus {
    border-color: var(--jjl-soft-blue) !important;
    box-shadow: 0 0 0 3px rgba(51, 120, 255, .12) !important;
}

.bootstrap-table .fixed-table-container {
    border-radius: 8px !important;
}

.bootstrap-table .fixed-table-toolbar,
.bootstrap-table .fixed-table-pagination {
    background: #ffffff !important;
}

.bootstrap-table .table > thead > tr > th,
.table-striped .table > thead > tr > th {
    background: #f7faff !important;
    color: var(--jjl-soft-text) !important;
}

.table-striped > tbody > tr:nth-of-type(odd) {
    background-color: #ffffff;
}

.table-striped > tbody > tr:nth-of-type(even) {
    background-color: #fbfdff;
}

.bootstrap-table .table-hover > tbody > tr:hover > td,
.bootstrap-table .table-hover > tbody > tr.hover > td,
.bootstrap-table .fixed-table-container .table tbody tr.selected td {
    background: #eaf2ff !important;
    color: var(--jjl-soft-blue) !important;
}

.nav-tabs {
    background: linear-gradient(90deg, #4aa3ff 0%, #3378ff 100%) !important;
    border-radius: 8px 8px 0 0 !important;
}

.nav-tabs > li > a {
    margin-top: 6px;
    border-radius: 8px 8px 0 0 !important;
}

.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus {
    color: var(--jjl-soft-blue) !important;
    background: #ffffff !important;
}

.modal-content,
.layui-layer,
.layui-layer-page {
    border-radius: 10px !important;
}

.modal-header,
.layui-layer-title {
    background: #f7faff !important;
}

/* JJL soft split detail: dense frame outside, layered Feishu-style detail inside */
.customer-split-workspace {
    gap: 0 !important;
}

.customer-split-table {
    border: 1px solid #d8e8fa !important;
    border-radius: 12px 12px 0 0 !important;
    box-shadow: 0 8px 24px rgba(45, 73, 112, .06) !important;
}

.customer-split-resizer {
    flex-basis: 18px !important;
    background: linear-gradient(180deg, #edf4fc 0%, #f7faff 100%) !important;
    border: 0 !important;
    border-left: 1px solid #d8e8fa !important;
    border-right: 1px solid #d8e8fa !important;
}

.customer-split-resizer:after {
    top: 6px !important;
    width: 66px !important;
    height: 5px !important;
    margin-left: -33px !important;
    background: #9eb8d8 !important;
    border-radius: 99px !important;
}

.customer-split-detail {
    display: flex !important;
    flex-direction: column !important;
    background: #f5f8fc !important;
    border: 1px solid #d8e8fa !important;
    border-top: 0 !important;
    border-radius: 0 0 12px 12px !important;
    box-shadow: 0 10px 28px rgba(45, 73, 112, .07) !important;
}

.customer-detail-title {
    flex: 0 0 52px !important;
    height: 52px !important;
    line-height: 52px !important;
    padding: 0 18px !important;
    color: #1f2d3d !important;
    background: #ffffff !important;
    border-bottom: 1px solid #e2ebf5 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
}

.customer-detail-empty {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 1 1 auto !important;
    height: auto !important;
    margin: 16px !important;
    line-height: 1.5 !important;
    color: #7b8798 !important;
    background: #ffffff !important;
    border: 1px solid #e2ebf5 !important;
    border-radius: 12px !important;
}

.customer-detail-frame {
    flex: 1 1 auto !important;
    height: calc(100% - 52px) !important;
    background: #f5f8fc !important;
}

.nav-tabs {
    min-height: 52px !important;
    padding: 10px 12px 0 !important;
    background: #eef4fb !important;
    border: 0 !important;
    border-radius: 10px 10px 0 0 !important;
}

.nav-tabs > li > a {
    height: 42px !important;
    margin: 0 4px !important;
    padding: 11px 18px !important;
    color: #526071 !important;
    background: transparent !important;
    border: 1px solid transparent !important;
    border-radius: 9px 9px 0 0 !important;
    font-weight: 600 !important;
}

.nav-tabs > li > a:hover {
    color: var(--jjl-soft-blue) !important;
    background: rgba(255, 255, 255, .62) !important;
}

.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus {
    color: var(--jjl-soft-blue) !important;
    background: #ffffff !important;
    border-color: #dce7f3 !important;
    border-bottom-color: #ffffff !important;
    box-shadow: 0 -2px 10px rgba(45, 73, 112, .05) !important;
}

body.customer-detail-page {
    background: #f5f8fc !important;
    overflow: auto !important;
}

body.customer-detail-page .wrapper-content {
    padding: 14px 16px 18px !important;
    background: #f5f8fc !important;
}

body.customer-detail-page .row,
body.customer-detail-page .col-sm-12 {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

body.customer-detail-page .tabs-container {
    background: #eef4fb !important;
    border: 1px solid #d8e8fa !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 24px rgba(45, 73, 112, .05) !important;
    overflow: hidden !important;
}

body.customer-detail-page .nav-tabs {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding: 14px 18px 0 !important;
    background: #eef4fb !important;
    scrollbar-width: thin;
}

body.customer-detail-page .nav-tabs > li {
    float: none !important;
    flex: 0 0 auto !important;
}

body.customer-detail-page .tab-content {
    padding: 0 16px 16px !important;
    background: #eef4fb !important;
}

body.customer-detail-page .panel-body {
    padding: 16px !important;
    background: #ffffff !important;
    border: 1px solid #dce7f3 !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 24px rgba(45, 73, 112, .06) !important;
}

body.customer-detail-page .select-table {
    padding: 0 !important;
    background: #ffffff !important;
    border: 1px solid #e1eaf5 !important;
    border-radius: 10px !important;
    box-shadow: none !important;
    overflow: hidden !important;
}

body.customer-detail-page .select-table > strong {
    display: block !important;
    padding: 14px 16px !important;
    color: #253246 !important;
    background: #ffffff !important;
    border-bottom: 1px solid #e6eef7 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
}

body.customer-detail-page .bootstrap-table .fixed-table-container {
    border: 0 !important;
    border-radius: 0 !important;
}

body.customer-detail-page .bootstrap-table .table > thead > tr > th {
    height: 44px !important;
    background: #f6f9fd !important;
}

body.customer-detail-page .bootstrap-table .table > tbody > tr > td {
    height: 42px !important;
}

/* JJL thin aligned shell header */
.logo,
body.mini-navbar .nav-header {
    height: 56px !important;
    min-height: 56px !important;
}

.logo .logo-lg {
    height: 56px !important;
    display: flex !important;
    align-items: center !important;
    padding: 0 14px !important;
}

.logo .logo-lg img {
    width: auto !important;
    max-height: 42px !important;
    object-fit: contain !important;
}

.navbar-static-top {
    height: 56px !important;
    min-height: 56px !important;
    display: flex !important;
    align-items: center !important;
}

.navbar-header {
    height: 56px !important;
    display: flex !important;
    align-items: center !important;
}

.navbar-minimalize {
    width: 40px !important;
    height: 40px !important;
    line-height: 40px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 8px 12px !important;
    padding: 0 !important;
    border-radius: 10px !important;
    font-size: 17px !important;
}

.navbar-top-links {
    height: 56px !important;
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
}

.navbar-top-links > li {
    height: 56px !important;
    display: flex !important;
    align-items: center !important;
}

.navbar-top-links > li > a,
.navbar-top-links .dropdown-toggle {
    height: 56px !important;
    min-height: 56px !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px;
    padding: 0 14px !important;
    line-height: 56px !important;
}

.navbar-top-links .user-image {
    width: 34px !important;
    height: 34px !important;
    margin: 0 !important;
}

.content-tabs {
    height: 44px !important;
    min-height: 44px !important;
}

.content-tabs .roll-nav {
    width: 40px !important;
    height: 44px !important;
    line-height: 44px !important;
}

.page-tabs {
    height: 44px !important;
    margin-left: 40px !important;
}

.page-tabs a {
    height: 34px !important;
    line-height: 34px !important;
    margin: 6px 4px 0 !important;
    padding: 0 14px !important;
}

#content-main {
    height: calc(100% - 138px) !important;
}

.tagsview-hide#content-main {
    height: calc(100% - 94px) !important;
}

.footer-hide#content-main {
    height: calc(100% - 100px) !important;
}

.tagsview-footer-hide#content-main {
    height: calc(100% - 56px) !important;
}

/* JJL compact table pagination: half-height workbench footer */
.bootstrap-table .fixed-table-pagination {
    min-height: 26px !important;
    padding: 2px 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    background: #ffffff !important;
    border-top: 1px solid #e3ebf5 !important;
    font-size: 13px !important;
    line-height: 26px !important;
}

.fixed-table-pagination .pagination-detail,
.fixed-table-pagination .pagination-info,
.fixed-table-pagination .page-list,
.fixed-table-pagination .pagination {
    margin: 0 !important;
    font-size: 13px !important;
    line-height: 24px !important;
    color: #3d4c63 !important;
}

.fixed-table-pagination .pagination-detail {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    white-space: nowrap !important;
}

.fixed-table-pagination .page-list {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
}

.fixed-table-pagination .btn,
.fixed-table-pagination .page-list .btn,
.fixed-table-pagination .btn-group > .btn {
    height: 24px !important;
    min-height: 24px !important;
    padding: 1px 8px !important;
    line-height: 20px !important;
    border-radius: 6px !important;
    font-size: 13px !important;
}

.fixed-table-pagination .pagination > li > a,
.fixed-table-pagination .pagination > li > span {
    min-width: 24px !important;
    height: 24px !important;
    padding: 2px 7px !important;
    line-height: 18px !important;
    border-radius: 6px !important;
    font-size: 13px !important;
}

.fixed-table-pagination input.form-control,
.fixed-table-pagination .page-go-input {
    height: 24px !important;
    min-height: 24px !important;
    padding: 1px 6px !important;
    line-height: 20px !important;
    border-radius: 6px !important;
    font-size: 13px !important;
}

.fixed-table-pagination .dropdown-menu {
    font-size: 13px !important;
}

/* JJL compact customer master table: half-height rows, single-line cells */
.customer-split-table .bootstrap-table .table > thead > tr > th,
.customer-split-table.table-striped .table > thead > tr > th {
    height: 30px !important;
    padding: 3px 8px !important;
    font-size: 13px !important;
    line-height: 18px !important;
    vertical-align: middle !important;
    white-space: nowrap !important;
}

.customer-split-table .bootstrap-table .fixed-table-container .table > tbody > tr,
.customer-split-table .bootstrap-table .fixed-table-container .table > tbody > tr > td {
    height: 30px !important;
    max-height: 30px !important;
}

.customer-split-table .bootstrap-table .fixed-table-container .table > tbody > tr > td {
    padding: 2px 8px !important;
    font-size: 13px !important;
    line-height: 18px !important;
    vertical-align: middle !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.customer-split-table .bootstrap-table .fixed-table-container .table > tbody > tr > td.bs-checkbox,
.customer-split-table .bootstrap-table .fixed-table-container .table > thead > tr > th.bs-checkbox {
    width: 34px !important;
    min-width: 34px !important;
    padding-left: 6px !important;
    padding-right: 6px !important;
}

.customer-split-table .bootstrap-table input[type="checkbox"],
.customer-split-table .bootstrap-table input[type="radio"] {
    width: 15px !important;
    height: 15px !important;
    margin: 0 !important;
    vertical-align: middle !important;
}

/* JJL pagination buttons only: hide summary text and keep page buttons first */
.bootstrap-table .fixed-table-pagination {
    justify-content: flex-start !important;
}

.fixed-table-pagination .pagination-detail,
.fixed-table-pagination .pagination-info,
.fixed-table-pagination .page-list {
    display: none !important;
}

.fixed-table-pagination .pull-left {
    display: none !important;
}

.fixed-table-pagination .pull-right {
    float: none !important;
    margin-left: 0 !important;
    order: 0 !important;
}

.fixed-table-pagination .pagination {
    display: inline-flex !important;
    align-items: center !important;
    gap: 2px !important;
}

.search-collapse.customer-search-moved {
    display: none !important;
}

.fixed-table-pagination .customer-pager-search-slot {
    flex: 0 0 auto !important;
    display: inline-flex !important;
    align-items: center !important;
    margin-left: 12px !important;
    min-height: 26px !important;
    overflow: visible !important;
}

.customer-pager-search {
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    height: 26px !important;
    white-space: nowrap !important;
}

.customer-pager-search > label {
    margin: 0 -2px 0 0 !important;
    padding: 0 !important;
    line-height: 24px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #34445c !important;
}

.customer-pager-search > input {
    width: 132px !important;
    height: 24px !important;
    min-height: 24px !important;
    padding: 1px 8px !important;
    line-height: 20px !important;
    border: 1px solid #d8e5f3 !important;
    border-radius: 7px !important;
    background: #fff !important;
    font-size: 13px !important;
    color: #1f2d3d !important;
}

.customer-pager-search > .btn {
    height: 24px !important;
    min-height: 24px !important;
    padding: 1px 9px !important;
    line-height: 20px !important;
    border-radius: 7px !important;
    font-size: 13px !important;
}

.customer-pager-search .select-list {
    margin: 0 !important;
    padding: 0 !important;
}

.customer-pager-search .select-list ul {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.customer-pager-search .select-list li {
    display: inline-flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 24px !important;
}

.customer-pager-search .select-list li label {
    width: auto !important;
    min-width: 0 !important;
    margin: 0 4px 0 0 !important;
    padding: 0 !important;
    line-height: 24px !important;
    font-size: 13px !important;
    color: #34445c !important;
}

.customer-pager-search .select-list li input {
    width: 130px !important;
    height: 24px !important;
    min-height: 24px !important;
    padding: 1px 8px !important;
    line-height: 20px !important;
    border-radius: 7px !important;
    font-size: 13px !important;
}

.customer-pager-search .select-list li .btn {
    height: 24px !important;
    min-height: 24px !important;
    padding: 1px 9px !important;
    line-height: 20px !important;
    border-radius: 7px !important;
    font-size: 13px !important;
}

/* JJL customer split ratio: keep details compact, give rows more room */
.customer-split-table {
    flex: 1 1 auto !important;
}

.customer-split-detail {
    flex: 0 0 24% !important;
    min-height: 120px !important;
}

.customer-detail-title {
    flex-basis: 42px !important;
    height: 42px !important;
    line-height: 42px !important;
}

.customer-detail-empty {
    line-height: 86px !important;
}

/* JJL customer detail lower pane: classic blue tab + grid template */
.customer-split-detail {
    background: #ffffff !important;
    border: 2px solid #5da5e8 !important;
    border-top: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.customer-detail-title {
    display: none !important;
}

.customer-detail-frame {
    height: 100% !important;
    background: #ffffff !important;
}

.customer-detail-empty {
    height: 100% !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #ffffff !important;
}

body.customer-detail-page {
    background: #ffffff !important;
    overflow: hidden !important;
}

body.customer-detail-page .wrapper-content {
    height: 100vh !important;
    padding: 0 !important;
    background: #ffffff !important;
    overflow: hidden !important;
}

body.customer-detail-page .row,
body.customer-detail-page .col-sm-12,
body.customer-detail-page .tabs-container,
body.customer-detail-page .tab-content,
body.customer-detail-page .tab-pane,
body.customer-detail-page .panel-body,
body.customer-detail-page .select-table {
    height: 100% !important;
}

body.customer-detail-page .tabs-container {
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: #ffffff !important;
    overflow: hidden !important;
}

body.customer-detail-page .nav-tabs {
    position: relative !important;
    height: 42px !important;
    min-height: 42px !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    padding: 0 0 0 32px !important;
    margin: 0 !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    background: #5da5e8 !important;
    border: 0 !important;
    border-radius: 0 !important;
    scrollbar-width: thin;
}

body.customer-detail-page .nav-tabs:before {
    content: "<";
    position: absolute;
    left: 10px;
    top: 9px;
    color: rgba(255,255,255,.72);
    font-size: 24px;
    line-height: 24px;
    font-weight: 700;
}

body.customer-detail-page .nav-tabs > li {
    float: none !important;
    flex: 0 0 auto !important;
    height: 42px !important;
    margin: 0 !important;
}

body.customer-detail-page .nav-tabs > li > a {
    height: 42px !important;
    margin: 0 !important;
    padding: 0 14px !important;
    line-height: 42px !important;
    color: #ffffff !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
}

body.customer-detail-page .nav-tabs > li > a:hover {
    color: #ffffff !important;
    background: rgba(255,255,255,.15) !important;
}

body.customer-detail-page .nav-tabs > li.active > a,
body.customer-detail-page .nav-tabs > li.active > a:hover,
body.customer-detail-page .nav-tabs > li.active > a:focus {
    color: #2f78bf !important;
    background: #ffffff !important;
    border: 2px solid #ffffff !important;
    box-shadow: inset 0 0 0 1px #4c9be0 !important;
}

body.customer-detail-page .tab-content {
    height: calc(100vh - 42px) !important;
    padding: 0 !important;
    background: #ffffff !important;
}

body.customer-detail-page .panel-body {
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: #ffffff !important;
}

body.customer-detail-page .select-table {
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: #ffffff !important;
    overflow: hidden !important;
}

body.customer-detail-page .select-table > strong {
    display: none !important;
}

body.customer-detail-page .bootstrap-table,
body.customer-detail-page .fixed-table-container,
body.customer-detail-page .fixed-table-body {
    border-radius: 0 !important;
}

body.customer-detail-page .bootstrap-table .fixed-table-container {
    border: 0 !important;
}

body.customer-detail-page .bootstrap-table .table {
    margin: 0 !important;
}

body.customer-detail-page .bootstrap-table .table > thead > tr > th {
    height: 38px !important;
    padding: 0 10px !important;
    color: #1f2d3d !important;
    background: #ffffff !important;
    border-right: 1px solid #d6d6d6 !important;
    border-bottom: 2px solid #d6d6d6 !important;
    font-size: 14px !important;
    line-height: 38px !important;
    text-align: center !important;
    white-space: nowrap !important;
}

body.customer-detail-page .bootstrap-table .table > tbody > tr > td {
    height: 34px !important;
    padding: 3px 10px !important;
    border-right: 1px solid #e6e6e6 !important;
    border-bottom: 1px solid #efefef !important;
    font-size: 13px !important;
    line-height: 20px !important;
    white-space: nowrap !important;
}

body.customer-detail-page .fixed-table-pagination {
    display: none !important;
}

/* JJL compact lower detail tabs and hide empty detail pane */
.customer-split-workspace.customer-no-detail .customer-split-resizer,
.customer-split-workspace.customer-no-detail .customer-split-detail {
    display: none !important;
}

body.customer-detail-page .nav-tabs {
    height: 30px !important;
    min-height: 30px !important;
    padding-left: 22px !important;
}

body.customer-detail-page .nav-tabs:before {
    left: 6px !important;
    top: 5px !important;
    font-size: 18px !important;
    line-height: 18px !important;
}

body.customer-detail-page .nav-tabs > li {
    height: 30px !important;
}

body.customer-detail-page .nav-tabs > li > a {
    height: 30px !important;
    padding: 0 10px !important;
    line-height: 30px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
}

body.customer-detail-page .nav-tabs > li.active > a,
body.customer-detail-page .nav-tabs > li.active > a:hover,
body.customer-detail-page .nav-tabs > li.active > a:focus {
    border-width: 1px !important;
}

body.customer-detail-page .tab-content {
    height: calc(100vh - 30px) !important;
}

body.customer-detail-page .bootstrap-table .table > thead > tr > th {
    height: 28px !important;
    padding: 0 7px !important;
    font-size: 12px !important;
    line-height: 28px !important;
    border-bottom-width: 1px !important;
}

body.customer-detail-page .bootstrap-table .table > tbody > tr > td {
    height: 26px !important;
    padding: 2px 7px !important;
    font-size: 12px !important;
    line-height: 18px !important;
}

/* JJL subtle row tint for dense customer tables */
.customer-split-table .bootstrap-table .fixed-table-container .table > tbody > tr:nth-child(odd) > td,
body.customer-split-info-page .bootstrap-table .fixed-table-container .table > tbody > tr:nth-child(odd) > td {
    background: #ffffff !important;
}

.customer-split-table .bootstrap-table .fixed-table-container .table > tbody > tr:nth-child(even) > td,
body.customer-split-info-page .bootstrap-table .fixed-table-container .table > tbody > tr:nth-child(even) > td {
    background: #f7fbff !important;
}

.customer-split-table .bootstrap-table .fixed-table-container .table > tbody > tr:hover > td,
.customer-split-table .bootstrap-table .fixed-table-container .table > tbody > tr.hover > td,
body.customer-split-info-page .bootstrap-table .fixed-table-container .table > tbody > tr:hover > td,
body.customer-split-info-page .bootstrap-table .fixed-table-container .table > tbody > tr.hover > td {
    background: #edf5ff !important;
}

.customer-split-table .bootstrap-table .fixed-table-container .table > tbody > tr.selected > td,
body.customer-split-info-page .bootstrap-table .fixed-table-container .table > tbody > tr.selected > td {
    background: #e6f0ff !important;
}

/* JJL customer lower pane: remove stale empty overlay and let detail iframe own the pane */
.customer-detail-empty {
    display: none !important;
}

.customer-split-detail .customer-detail-frame {
    display: block;
    width: 100% !important;
    height: 100% !important;
    border: 0 !important;
}

/* JJL lower detail grids: keep one compact header layer */
body.customer-split-info-page .fixed-table-body table thead {
    display: none !important;
    visibility: collapse !important;
    height: 0 !important;
}

body.customer-split-info-page .fixed-table-header {
    height: 30px !important;
    min-height: 30px !important;
    overflow: hidden !important;
    border-bottom: 1px solid #d5e2f1 !important;
}

body.customer-split-info-page .fixed-table-header table {
    margin: 0 !important;
}

body.customer-split-info-page .fixed-table-header .table > thead > tr > th,
body.customer-split-info-page .bootstrap-table .fixed-table-container .table > thead > tr > th {
    height: 30px !important;
    padding: 0 !important;
    font-size: 13px !important;
    line-height: 30px !important;
    background: #f7fbff !important;
    border-bottom: 1px solid #d5e2f1 !important;
    vertical-align: middle !important;
}

/* JJL lower detail pane: remove blank bands, compact useless empty area */
body.customer-split-info-page .fixed-table-toolbar,
body.customer-split-info-page .columns,
body.customer-split-info-page .pull-right.search,
body.customer-split-info-page .pull-right.pagination-detail,
body.customer-split-info-page .fixed-table-pagination {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.customer-split-info-page .row,
body.customer-split-info-page .col-sm-12,
body.customer-split-info-page .tabs-container,
body.customer-split-info-page .tab-content,
body.customer-split-info-page .tab-pane,
body.customer-split-info-page .panel-body,
body.customer-split-info-page .select-table,
body.customer-split-info-page .bootstrap-table,
body.customer-split-info-page .fixed-table-container,
body.customer-split-info-page .fixed-table-body {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

body.customer-split-info-page .tab-content {
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
}

body.customer-split-info-page .row,
body.customer-split-info-page .col-sm-12,
body.customer-split-info-page .tabs-container,
body.customer-split-info-page .tab-pane,
body.customer-split-info-page .panel-body,
body.customer-split-info-page .select-table,
body.customer-split-info-page .bootstrap-table {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
}

body.customer-split-info-page .fixed-table-container,
body.customer-split-info-page .fixed-table-body {
    height: auto !important;
    min-height: 0 !important;
}

body.customer-split-info-page .fixed-table-body {
    max-height: calc(100vh - 60px) !important;
    overflow-x: auto !important;
    overflow-y: auto !important;
}

body.customer-split-info-page .fixed-table-header .th-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 30px !important;
    min-height: 30px !important;
    padding: 0 8px !important;
    line-height: 16px !important;
    font-size: 13px !important;
    text-align: center !important;
    vertical-align: middle !important;
}

body.customer-split-info-page .fixed-table-header th,
body.customer-split-info-page .bootstrap-table .table > thead > tr > th,
body.customer-split-info-page .bootstrap-table .table > tbody > tr > td,
body.customer-split-info-page .bootstrap-table .table > tbody > tr.no-records-found > td {
    text-align: center !important;
    vertical-align: middle !important;
}

body.customer-split-info-page .bootstrap-table .table > tbody > tr,
body.customer-split-info-page .bootstrap-table .table > tbody > tr > td {
    height: 30px !important;
    max-height: 30px !important;
}

body.customer-split-info-page .bootstrap-table .table > tbody > tr > td {
    padding: 2px 8px !important;
    font-size: 13px !important;
    line-height: 18px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

body.customer-split-info-page .bootstrap-table .table > tbody > tr.no-records-found > td {
    height: 28px !important;
    padding: 0 8px !important;
    line-height: 28px !important;
}

/* JJL final compact split pane guard */
.customer-split-detail {
    flex: 0 0 24% !important;
    min-height: 120px !important;
}

body.customer-split-info-page .bootstrap-table {
    margin-top: 0 !important;
}

body.customer-split-info-page .fixed-table-container {
    padding-bottom: 0 !important;
}

body.customer-split-info-page .fixed-table-body table {
    margin-bottom: 0 !important;
}

/* JJL split pane polish: smooth drag spacing and Feishu-style lower tabs */
.customer-split-workspace {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    background: #f6f9fe !important;
}

.customer-split-workspace > .col-sm-12,
.customer-split-table,
.customer-split-detail {
    float: none !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.customer-split-detail {
    background: #f6f9fe !important;
    border: 1px solid #dce8f7 !important;
    border-left: 0 !important;
    border-right: 0 !important;
    border-radius: 10px 10px 0 0 !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9) !important;
    overflow: hidden !important;
}

.customer-detail-frame {
    display: block !important;
    width: 100% !important;
}

.customer-split-resizer {
    background: #eef5ff !important;
    border-top: 1px solid #dce8f7 !important;
    border-bottom: 1px solid #dce8f7 !important;
}

.customer-split-resizer:after {
    width: 46px !important;
    height: 4px !important;
    background: #b5c7df !important;
}

body.customer-split-info-page {
    background: #f6f9fe !important;
    overflow: hidden !important;
}

body.customer-split-info-page .wrapper,
body.customer-split-info-page .wrapper-content,
body.customer-split-info-page .row,
body.customer-split-info-page .col-sm-12 {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

body.customer-split-info-page .tabs-container {
    background: #f6f9fe !important;
    overflow: hidden !important;
}

body.customer-split-info-page .nav-tabs {
    height: 34px !important;
    min-height: 34px !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 4px 8px 0 !important;
    margin: 0 !important;
    background: #eef5ff !important;
    border: 0 !important;
    border-bottom: 1px solid #dce8f7 !important;
}

body.customer-split-info-page .nav-tabs:before,
body.customer-split-info-page .nav-tabs:after {
    display: none !important;
}

body.customer-split-info-page .nav-tabs > li {
    height: 30px !important;
    margin: 0 !important;
}

body.customer-split-info-page .nav-tabs > li > a {
    height: 28px !important;
    min-width: auto !important;
    padding: 0 12px !important;
    line-height: 28px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #536274 !important;
    background: transparent !important;
    border: 1px solid transparent !important;
    border-radius: 8px 8px 0 0 !important;
}

body.customer-split-info-page .nav-tabs > li > a:hover {
    color: #1f6feb !important;
    background: #f8fbff !important;
    border-color: #dce8f7 !important;
}

body.customer-split-info-page .nav-tabs > li.active > a,
body.customer-split-info-page .nav-tabs > li.active > a:hover,
body.customer-split-info-page .nav-tabs > li.active > a:focus {
    color: #1f6feb !important;
    background: #ffffff !important;
    border: 1px solid #dce8f7 !important;
    border-bottom-color: #ffffff !important;
    box-shadow: 0 -1px 0 rgba(31, 111, 235, .08) !important;
}

body.customer-split-info-page .tab-content,
body.customer-split-info-page .tab-pane,
body.customer-split-info-page .panel-body,
body.customer-split-info-page .select-table {
    background: #ffffff !important;
}

body.customer-split-info-page .fixed-table-body {
    overflow-x: auto !important;
    overflow-y: hidden !important;
}

/* JJL top tab bar alignment */
.content-tabs {
    height: 42px !important;
    line-height: 42px !important;
    background: #ffffff !important;
    border-top: 0 !important;
    border-bottom: 1px solid #dce8f7 !important;
    box-shadow: 0 1px 8px rgba(31, 45, 61, .04) !important;
}

.content-tabs .roll-nav {
    top: 0 !important;
    height: 42px !important;
    width: 38px !important;
    line-height: 42px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #66758a !important;
    background: #ffffff !important;
    border-color: #dce8f7 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.content-tabs .roll-left {
    left: 0 !important;
}

.content-tabs .roll-right.tabRight {
    right: 64px !important;
}

.content-tabs .roll-right.tabReload {
    right: 0 !important;
    width: 64px !important;
    height: 42px !important;
    line-height: 42px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
}

nav.page-tabs {
    position: absolute !important;
    left: 38px !important;
    right: 102px !important;
    top: 0 !important;
    width: auto !important;
    height: 42px !important;
    margin-left: 0 !important;
    overflow: hidden !important;
}

nav.page-tabs .page-tabs-content {
    height: 42px !important;
    display: flex !important;
    align-items: center !important;
    float: none !important;
    white-space: nowrap !important;
}

.page-tabs a {
    height: 34px !important;
    line-height: 34px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    float: none !important;
    margin: 3px 4px 0 0 !important;
    padding: 0 14px !important;
    border: 1px solid transparent !important;
    border-radius: 8px 8px 0 0 !important;
    background: transparent !important;
}

.page-tabs a.active {
    background: #edf4ff !important;
    color: var(--jjl-blue) !important;
    border-color: #dce8f7 !important;
    border-bottom-color: #edf4ff !important;
}

.page-tabs a i {
    margin-left: 0 !important;
}

.content-tabs.tabs-no-overflow .tabLeft,
.content-tabs.tabs-no-overflow .tabRight {
    display: none !important;
}

.content-tabs.tabs-no-overflow nav.page-tabs {
    left: 0 !important;
    right: 64px !important;
}

.content-tabs.tabs-has-overflow .tabLeft,
.content-tabs.tabs-has-overflow .tabRight {
    display: flex !important;
}

/* JJL order management split pane */
.order-split-page .container-div {
    padding: 0 !important;
}

.order-split-page .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.order-split-page .search-collapse {
    margin: 0 !important;
    padding: 6px 10px !important;
    border-left: 0 !important;
    border-right: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.order-search-inline .select-list ul {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex-wrap: nowrap !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: auto !important;
}

.order-search-inline .select-list li {
    display: inline-flex !important;
    align-items: center !important;
    height: 26px !important;
    margin: 0 !important;
    padding: 0 !important;
    white-space: nowrap !important;
}

.order-search-inline .select-list li label {
    width: auto !important;
    min-width: 0 !important;
    margin: 0 4px 0 0 !important;
    padding: 0 !important;
    color: #34445c !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: 24px !important;
}

.order-search-inline .select-list li input,
.order-search-inline .select-list li select {
    width: 118px !important;
    height: 24px !important;
    min-height: 24px !important;
    padding: 1px 8px !important;
    font-size: 12px !important;
    line-height: 20px !important;
    border-radius: 7px !important;
}

.order-search-inline .select-list li .btn {
    height: 24px !important;
    min-height: 24px !important;
    padding: 1px 9px !important;
    font-size: 12px !important;
    line-height: 20px !important;
    border-radius: 7px !important;
}

.order-split-page #toolbar {
    margin: 6px 8px !important;
}

.order-split-workspace {
    margin: 0 !important;
    padding: 0 !important;
}

.order-split-table,
.order-split-detail {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

body.order-split-info-page {
    background: #f6f9fe !important;
    overflow: hidden !important;
}

body.order-split-info-page .order-summary-line,
body.order-split-info-page .order-info-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(160px, 1fr)) !important;
    gap: 6px 12px !important;
    padding: 8px 10px !important;
    color: #25384d !important;
    font-size: 12px !important;
    line-height: 20px !important;
    background: #ffffff !important;
    border-bottom: 1px solid #e4edf7 !important;
}

body.order-split-info-page .order-info-card {
    min-height: 86px !important;
}

body.order-split-info-page .order-info-grid {
    grid-template-columns: repeat(4, minmax(150px, 1fr)) !important;
    border: 1px solid #e4edf7 !important;
    border-radius: 8px !important;
}

/* JJL compact form fixes 20260605 */
.search-collapse .select-list ul,
.customer-pager-search .select-list ul,
.order-search-inline .select-list ul {
    align-items: center !important;
}

.search-collapse .select-list li,
.customer-pager-search .select-list li,
.order-search-inline .select-list li {
    display: inline-flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
}

.search-collapse .select-list li label,
.customer-pager-search .select-list li label,
.order-search-inline .select-list li label {
    display: inline-block !important;
    width: auto !important;
    min-width: max-content !important;
    max-width: none !important;
    margin: 0 5px 0 0 !important;
    padding: 0 !important;
    white-space: nowrap !important;
    word-break: keep-all !important;
    line-height: 24px !important;
}

.form-horizontal .control-label,
.form-group label.control-label {
    white-space: nowrap !important;
    word-break: keep-all !important;
}

@supports not (min-width: max-content) {
    .search-collapse .select-list li label,
    .customer-pager-search .select-list li label,
    .order-search-inline .select-list li label {
        min-width: 4em !important;
    }
}

.signin-feishu .jjl-login-main {
    grid-template-columns: minmax(340px, 520px) minmax(300px, 360px);
    gap: 64px;
}

.signin-feishu .jjl-login-card form {
    padding: 29px 32px 32px !important;
}

.signin-feishu .jjl-login-title {
    margin-bottom: 21px !important;
}

.signin-feishu .jjl-login-title p {
    margin-bottom: 5px !important;
    font-size: 13px !important;
}

.signin-feishu .jjl-login-title h1 {
    font-size: 24px !important;
}

.signin-feishu .jjl-login-field {
    margin-bottom: 13px !important;
}

.signin-feishu .jjl-login-field > span {
    margin-bottom: 5px !important;
    font-size: 13px !important;
}

.signin-feishu .jjl-login-field > i {
    right: 12px !important;
    bottom: 10px !important;
    font-size: 14px !important;
}

.signin-feishu .jjl-login-card .form-control {
    height: 36px !important;
    min-height: 36px !important;
    padding: 0 34px 0 12px !important;
    border-radius: 9px !important;
    font-size: 14px !important;
}

.signin-feishu .jjl-login-code {
    grid-template-columns: 1fr 92px !important;
    gap: 8px !important;
}

.signin-feishu .jjl-login-code a {
    height: 36px !important;
    border-radius: 9px !important;
}

.signin-feishu .jjl-login-submit,
.signin-feishu #btnSubmit {
    height: 36px !important;
    min-height: 36px !important;
    margin-top: 7px !important;
    border-radius: 9px !important;
    font-size: 14px !important;
    box-shadow: 0 10px 20px rgba(51, 120, 255, .20) !important;
}

.signin-feishu .jjl-login-footer {
    padding: 0 36px 20px !important;
}

/* JJL mobile login and full customer profile 20260605 */
/* JJL detail modal compact tables and performance cache 20260605 */
@media (max-width: 768px) {
    .signin-feishu {
        min-height: 100vh !important;
        background:
            radial-gradient(circle at 18% 12%, rgba(51, 120, 255, .18), transparent 34%),
            radial-gradient(circle at 86% 22%, rgba(32, 180, 134, .16), transparent 34%),
            linear-gradient(180deg, #f7faff 0%, #eef6ff 100%) !important;
        overflow-x: hidden !important;
    }

    .signin-feishu .jjl-login-shell {
        min-height: 100vh !important;
        justify-content: flex-start !important;
    }

    .signin-feishu .jjl-login-top {
        height: auto !important;
        padding: 18px 18px 8px !important;
    }

    .signin-feishu .jjl-login-brand {
        gap: 9px !important;
        font-size: 16px !important;
    }

    .signin-feishu .jjl-login-logo {
        width: 32px !important;
        height: 32px !important;
        border-radius: 9px !important;
    }

    .signin-feishu .jjl-login-main {
        width: 100% !important;
        min-height: auto !important;
        grid-template-columns: minmax(0, 1fr) !important;
        align-items: start !important;
        padding: 16px 16px 24px !important;
        gap: 0 !important;
    }

    .signin-feishu .jjl-login-card {
        width: 100% !important;
        max-width: 420px !important;
        margin: 0 auto !important;
        border-radius: 18px !important;
        box-shadow: 0 18px 46px rgba(31, 45, 61, .12) !important;
    }

    .signin-feishu .jjl-login-card form {
        padding: 22px 18px 20px !important;
    }

    .signin-feishu .jjl-login-title {
        margin-bottom: 16px !important;
    }

    .signin-feishu .jjl-login-title p {
        font-size: 12px !important;
    }

    .signin-feishu .jjl-login-title h1 {
        font-size: 21px !important;
        line-height: 1.25 !important;
    }

    .signin-feishu .jjl-login-field {
        margin-bottom: 12px !important;
    }

    .signin-feishu .jjl-login-field > span {
        margin-bottom: 5px !important;
        font-size: 12px !important;
    }

    .signin-feishu .jjl-login-card .form-control {
        height: 40px !important;
        min-height: 40px !important;
        padding: 0 34px 0 12px !important;
        font-size: 15px !important;
        border-radius: 10px !important;
    }

    .signin-feishu .jjl-login-field > i {
        right: 12px !important;
        bottom: 11px !important;
        font-size: 14px !important;
    }

    .signin-feishu .jjl-login-code {
        grid-template-columns: 1fr 92px !important;
        gap: 8px !important;
    }

    .signin-feishu .jjl-login-code a,
    .signin-feishu .jjl-login-submit,
    .signin-feishu #btnSubmit {
        height: 40px !important;
        min-height: 40px !important;
        border-radius: 10px !important;
    }

    .signin-feishu .jjl-login-footer {
        padding: 0 16px 16px !important;
        font-size: 12px !important;
    }
}

body.customer-detail-page.customer-more-info-page {
    background: #f6f9fe !important;
}

body.customer-detail-page.customer-more-info-page .wrapper-content {
    height: 100vh !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    padding: 8px !important;
    background: #f6f9fe !important;
    overflow: hidden !important;
}

body.customer-detail-page.customer-more-info-page .customer-full-profile {
    flex: 0 0 auto !important;
    padding: 10px 12px !important;
    border: 1px solid #dbe8f6 !important;
    border-radius: 10px !important;
    background: linear-gradient(180deg, #ffffff 0%, #f9fcff 100%) !important;
    box-shadow: 0 8px 22px rgba(31, 45, 61, .06) !important;
}

body.customer-detail-page.customer-more-info-page .customer-full-profile-head {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    margin-bottom: 8px !important;
}

body.customer-detail-page.customer-more-info-page .customer-full-profile-kicker,
body.customer-detail-page.customer-more-info-page .customer-full-profile-id {
    color: #6f7c8f !important;
    font-size: 12px !important;
    font-weight: 500 !important;
}

body.customer-detail-page.customer-more-info-page .customer-full-profile-head strong {
    display: block !important;
    margin-top: 2px !important;
    color: #1f2d3d !important;
    font-size: 17px !important;
    line-height: 22px !important;
}

body.customer-detail-page.customer-more-info-page .customer-full-profile-grid {
    max-height: 176px !important;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(150px, 1fr)) !important;
    gap: 6px !important;
    overflow: auto !important;
}

body.customer-detail-page.customer-more-info-page .customer-full-profile-item {
    min-height: 32px !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 5px 8px !important;
    border: 1px solid #e4edf7 !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    color: #25384d !important;
}

body.customer-detail-page.customer-more-info-page .customer-full-profile-item span {
    flex: 0 0 66px !important;
    color: #6f7c8f !important;
    font-size: 12px !important;
    font-weight: 500 !important;
}

body.customer-detail-page.customer-more-info-page .customer-full-profile-item strong {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    color: #1f2d3d !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 18px !important;
    word-break: break-word !important;
}

body.customer-detail-page.customer-more-info-page .customer-full-profile-item-wide {
    grid-column: span 2 !important;
}

body.customer-detail-page.customer-more-info-page .customer-full-profile-empty {
    color: #6f7c8f !important;
    text-align: center !important;
}

body.customer-detail-page.customer-more-info-page > .wrapper-content > .row {
    flex: 0 0 auto !important;
    min-height: 0 !important;
    margin: 0 !important;
}

body.customer-detail-page.customer-more-info-page .row,
body.customer-detail-page.customer-more-info-page .col-sm-12,
body.customer-detail-page.customer-more-info-page .tabs-container,
body.customer-detail-page.customer-more-info-page .tab-content,
body.customer-detail-page.customer-more-info-page .tab-pane,
body.customer-detail-page.customer-more-info-page .panel-body,
body.customer-detail-page.customer-more-info-page .select-table {
    min-height: 0 !important;
}

body.customer-detail-page.customer-more-info-page .tab-content {
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
}

body.customer-detail-page.customer-more-info-page .select-table > strong {
    display: none !important;
}

body.customer-detail-page.customer-more-info-page .fixed-table-header {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    border: 0 !important;
}

body.customer-detail-page.customer-more-info-page .fixed-table-body table thead {
    display: table-header-group !important;
    visibility: visible !important;
    height: auto !important;
}

body.customer-detail-page.customer-more-info-page .fixed-table-body {
    max-height: none !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
}

body.customer-detail-page.customer-more-info-page .bootstrap-table .table > thead > tr > th {
    height: 30px !important;
    padding: 0 8px !important;
    font-size: 13px !important;
    line-height: 30px !important;
    text-align: center !important;
    vertical-align: middle !important;
    background: #f7fbff !important;
    border-bottom: 1px solid #d5e2f1 !important;
}

body.customer-detail-page.customer-more-info-page .bootstrap-table .table > thead > tr > th .th-inner {
    height: 30px !important;
    padding: 0 !important;
    line-height: 30px !important;
}

@media (max-width: 900px) {
    body.customer-detail-page.customer-more-info-page .customer-full-profile-grid {
        grid-template-columns: repeat(2, minmax(140px, 1fr)) !important;
    }
}

@media (max-width: 560px) {
    body.customer-detail-page.customer-more-info-page .wrapper-content {
        padding: 6px !important;
    }

    body.customer-detail-page.customer-more-info-page .customer-full-profile-grid {
        grid-template-columns: minmax(0, 1fr) !important;
        max-height: 220px !important;
    }

    body.customer-detail-page.customer-more-info-page .customer-full-profile-item-wide {
        grid-column: auto !important;
    }
}

/* JJL drink reminder entry */
.drink-reminder-btn {
    position: relative;
}

.drink-reminder-badge {
    display: inline-flex;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    margin-left: 6px;
    border-radius: 999px;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.26);
    color: #fff;
    font-weight: 700;
    line-height: 20px;
}

.drink-reminder-btn.has-reminder .drink-reminder-badge {
    background: #ff4d4f;
    box-shadow: 0 6px 14px rgba(255, 77, 79, 0.28);
}

.drink-reminder-page .search-collapse {
    padding-top: 10px;
    padding-bottom: 8px;
}

.drink-reminder-page .bootstrap-table .table > thead > tr > th,
.drink-reminder-page .bootstrap-table .table > tbody > tr > td {
    height: 38px !important;
    padding-top: 6px !important;
    padding-bottom: 6px !important;
    vertical-align: middle !important;
}

.drink-reminder-page .bootstrap-table .table > tbody > tr:nth-child(odd) > td {
    background: #fbfdff;
}

.drink-reminder-page .bootstrap-table .table > tbody > tr:nth-child(even) > td {
    background: #f5f9ff;
}

/* JJL assistant download entry */
.navbar-top-links .jjl-assistant-download {
    align-items: center !important;
    display: flex !important;
    height: 56px !important;
    margin-right: 12px !important;
}

.navbar-top-links .jjl-assistant-download > a {
    align-items: center !important;
    background: rgba(255, 255, 255, 0.18) !important;
    border: 1px solid rgba(255, 255, 255, 0.52) !important;
    border-radius: 999px !important;
    box-shadow: 0 8px 20px rgba(15, 75, 148, 0.12) !important;
    color: #fff !important;
    display: inline-flex !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    gap: 6px !important;
    height: 32px !important;
    justify-content: center !important;
    line-height: 32px !important;
    min-height: 32px !important;
    padding: 0 14px !important;
    text-decoration: none !important;
    transition: background 0.15s ease, transform 0.15s ease, border-color 0.15s ease !important;
}

.navbar-top-links .jjl-assistant-download > a:hover {
    background: rgba(255, 255, 255, 0.28) !important;
    border-color: rgba(255, 255, 255, 0.72) !important;
    transform: translateY(-1px) !important;
}

.navbar-top-links .jjl-assistant-download i {
    font-size: 14px !important;
}

@media (max-width: 768px) {
    .navbar-top-links .jjl-assistant-download {
        margin-right: 6px !important;
    }

    .navbar-top-links .jjl-assistant-download > a {
        padding: 0 !important;
        width: 34px !important;
    }

    .navbar-top-links .jjl-assistant-download .jjl-assistant-download-text {
        display: none !important;
    }
}
