/* 借款与订单页面独立主题，不覆盖业务状态颜色、隐藏状态及脚本绑定。 */
body.syh-theme.syh-orders .loan,
body.syh-theme.syh-orders .repayment,
body.syh-theme.syh-orders .jiekuan {
    width: auto;
    margin: 16px;
    padding: 18px 16px;
    border: 1px solid #e7edf7;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 4px 18px rgba(24, 43, 77, .04);
}
body.syh-theme.syh-orders .coupon_zero {
    width: auto;
    height: auto;
    margin: 28px 16px;
    padding: 28px 20px;
    border-radius: 16px;
    background: #fff;
    color: var(--syh-muted, #78879d);
    font-size: 14px;
}
body.syh-theme.syh-orders .coupon_zero img {
    display: block;
    max-width: 240px;
    margin: 18px auto 0;
    object-fit: contain;
}

/* 借款金额、滑块和原有期限选择仅调整外观，原控件及选择类保持不变。 */
body.syh-theme.syh-page-order-loan .am-slider {
    width: calc(100% - 32px);
    margin: 16px !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 18px rgba(24, 43, 77, .05) !important;
}
body.syh-theme.syh-page-order-loan .jk-box {
    margin: 16px;
    padding: 24px 16px;
    border: 1px solid #e7edf7;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 4px 18px rgba(24, 43, 77, .04);
}
body.syh-theme.syh-page-order-loan #jkje {
    color: var(--syh-blue, #2563eb);
    font-size: 42px;
    line-height: 1.3;
    overflow-wrap: anywhere;
}
body.syh-theme.syh-page-order-loan #edit {
    margin-left: 8px;
    color: var(--syh-blue, #2563eb);
    font-size: 18px;
    cursor: pointer;
}
body.syh-theme.syh-page-order-loan .jk-box small {
    color: var(--syh-muted, #78879d);
    font-size: 12px;
}
body.syh-theme.syh-page-order-loan .boxes {
    display: flex;
    margin: 20px 0;
    padding: 0;
}
body.syh-theme.syh-page-order-loan .boxes::before,
body.syh-theme.syh-page-order-loan .boxes::after {
    content: none;
}
body.syh-theme.syh-page-order-loan .boxes > li {
    flex: 1;
    min-width: 0;
    padding: 0 6px;
    background: none !important;
}
body.syh-theme.syh-page-order-loan .boxes > li + li {
    border-left: 1px solid #e8eef7;
}
body.syh-theme.syh-page-order-loan .boxes h3 {
    margin: 0 0 6px;
    font-size: 20px;
    line-height: 1.4;
    overflow-wrap: anywhere;
}
body.syh-theme.syh-page-order-loan .title_item {
    margin: 0 10px 14px;
    color: var(--syh-ink, #182b4d);
    font-size: 14px;
    font-weight: 600;
}
body.syh-theme.syh-page-order-loan #slider {
    margin-top: 16px !important;
    background-color: #edf2fa;
    background-image: linear-gradient(90deg, #6a9dff, #2563eb);
}
body.syh-theme.syh-page-order-loan .sjkd,
body.syh-theme.syh-page-order-loan .sjkd_line {
    border-color: #bccce5;
}
body.syh-theme.syh-page-order-loan .sjkd_v {
    color: var(--syh-muted, #78879d);
    font-size: 12px;
}
body.syh-theme.syh-page-order-loan #jksj_group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0;
}
body.syh-theme.syh-page-order-loan #jksj_group::before,
body.syh-theme.syh-page-order-loan #jksj_group::after {
    content: none;
}
body.syh-theme.syh-page-order-loan #jksj_group .jk_time {
    flex: 1 0 65px;
    width: auto;
    margin: 0;
    padding: 12px 8px;
    border: 1px solid #e2eafa;
    border-radius: 10px;
    background: #f5f8fe;
    color: #536886;
    font-size: 13px;
    line-height: 1.5;
}
body.syh-theme.syh-page-order-loan #jksj_group .jk_time:hover,
body.syh-theme.syh-page-order-loan #jksj_group .jk_time:focus,
body.syh-theme.syh-page-order-loan #jksj_group .jk_time_add {
    border-color: var(--syh-blue, #2563eb);
    background: var(--syh-blue, #2563eb) !important;
    color: #fff !important;
}

/* 借款列表与详情卡保留原审批进度、状态标签和合同弹层。 */
body.syh-theme.syh-page-order-lists .loan_list > .am-g:first-child {
    font-size: 12px;
    line-height: 1.8;
    overflow-wrap: anywhere;
}
body.syh-theme.syh-page-order-lists .loan_box {
    margin: 14px 0;
    padding: 18px 0;
    border-top: 1px solid #edf1f7;
    border-bottom: 1px solid #edf1f7;
}
body.syh-theme.syh-page-order-lists .loan_title {
    font-size: 12px;
}
body.syh-theme.syh-page-order-lists .jksj_number,
body.syh-theme.syh-page-order-lists .jkje_number {
    font-size: 23px;
    overflow-wrap: anywhere;
}
body.syh-theme.syh-page-order-lists .loan_btn span {
    display: inline-block;
    margin: 4px 0 0 6px;
    padding: 7px 10px;
    border-radius: 9px;
    background: #edf4ff;
    color: var(--syh-blue, #2563eb);
    font-size: 12px;
    cursor: pointer;
}
body.syh-theme.syh-page-order-lists .am-popup .loan {
    margin: 12px;
}
body.syh-theme.syh-page-order-lists .loan-info-title {
    padding: 8px 16px;
    font-size: 14px;
}
body.syh-theme.syh-page-order-info .mui-content {
    background: transparent;
}
body.syh-theme.syh-page-order-info .jiekuan {
    padding: 0 16px;
}
body.syh-theme.syh-page-order-info .oktit {
    margin: 0;
    padding: 18px 0;
    border-bottom: 1px solid #e8eef7;
    font-size: 16px;
    font-weight: 600;
}
body.syh-theme.syh-page-order-info .okdan {
    padding: 16px 0;
    border: 0;
}
body.syh-theme.syh-page-order-info .kprogress {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100% !important;
    padding: 0;
}
body.syh-theme.syh-page-order-info .prgbar {
    margin-top: 30px;
    margin-bottom: 14px;
}
body.syh-theme.syh-page-order-info .oktable {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 13px 0;
    border-bottom: 1px solid #edf1f7;
    font-size: 14px;
    line-height: 1.6;
}
body.syh-theme.syh-page-order-info .oktable:last-child {
    border-bottom: 0;
}
body.syh-theme.syh-page-order-info .oktable .listit {
    flex: 0 0 78px;
    width: auto;
}
body.syh-theme.syh-page-order-info .oktable > span:not(.listit) {
    flex: 1;
    min-width: 0;
    width: auto;
    text-align: right;
    overflow-wrap: anywhere;
}
body.syh-theme.syh-page-order-info .protit {
    margin: 16px;
    padding: 0;
    border-radius: 16px;
    background: transparent;
}

/* 原金额、期数、逾期色与还款入口保留，只替换还款卡片的底色和间距。 */
body.syh-theme.syh-orders #repayment_overview {
    width: auto;
    margin: 16px;
    padding: 22px 16px;
    border-radius: 16px;
    background: linear-gradient(120deg, #2059df, #4085f7);
    box-shadow: 0 8px 22px rgba(37, 99, 235, .13);
    color: #fff;
    font-size: 13px;
    line-height: 1.8;
    overflow-wrap: anywhere;
}
body.syh-theme.syh-orders #repayment_overview .jk_money {
    font-size: 30px;
    font-weight: 600;
}
body.syh-theme.syh-page-order-billinfo .repayment {
    padding: 20px 16px;
    line-height: 1.8;
}
body.syh-theme.syh-page-order-billinfo .hk_money {
    font-size: 28px;
    font-weight: 600;
}
body.syh-theme.syh-page-order-billinfo .state_info {
    margin: 14px 0;
    padding-top: 14px;
    border-top: 1px solid #edf1f7;
    font-size: 13px;
}
body.syh-theme.syh-page-order-billinfo .state_button {
    display: inline-block;
    padding: 9px 16px;
    border-radius: 10px;
    background: var(--syh-blue, #2563eb);
    font-size: 14px;
}

/* 收银台使用明确像素尺寸，避免 SUI 与 AmazeUI 的根字号差异放大整张卡。 */
body.syh-theme.syh-page-order-repay .content {
    position: relative;
    top: auto;
    bottom: auto;
    height: auto;
    overflow: visible;
    font-size: 14px;
    line-height: 1.6;
}
body.syh-theme.syh-page-order-repay .content-block-title {
    margin: 22px 16px 10px;
    color: var(--syh-muted, #78879d);
    font-size: 14px;
    line-height: 1.6;
    white-space: normal;
}
body.syh-theme.syh-page-order-repay .card {
    margin: 0 16px 20px;
    border: 1px solid #e7edf7;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 4px 18px rgba(24, 43, 77, .04);
    font-size: 14px;
}
body.syh-theme.syh-page-order-repay .card-header {
    flex-wrap: wrap;
    gap: 8px;
    min-height: 56px;
    padding: 16px;
    border-bottom: 1px solid #edf1f7;
    font-size: 14px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}
body.syh-theme.syh-page-order-repay .card-header::after {
    content: none;
}
body.syh-theme.syh-page-order-repay .card-content-inner {
    padding: 16px;
    font-size: 14px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}
body.syh-theme.syh-page-order-repay .content .list-block.inset {
    margin: 0 16px 20px;
    border-radius: 16px;
    font-size: 14px;
}
body.syh-theme.syh-page-order-repay .content .list-block.inset ul {
    border: 1px solid #e7edf7;
    border-radius: 16px;
    background: #fff;
}
body.syh-theme.syh-page-order-repay .content .item-link.list-button {
    min-height: 52px;
    height: auto;
    padding: 14px 16px;
    color: var(--syh-blue, #2563eb);
    font-size: 14px;
    line-height: 24px;
    text-align: left;
    white-space: normal;
}
body.syh-theme.syh-page-order-repay .deowin2 .list-block {
    margin: 16px;
    font-size: 14px;
}
body.syh-theme.syh-page-order-repay .deowin2 .list-button {
    height: auto;
    padding: 12px 0;
    font-size: 14px;
    line-height: 1.6;
    white-space: normal;
    overflow-wrap: anywhere;
}

/* 支付凭证仅美化原上传区域，私有图片地址和文件选择事件不变。 */
body.syh-theme.syh-page-order-voucher .identity {
    margin: 16px;
    padding: 22px 16px;
    border: 1px solid #e7edf7;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 4px 18px rgba(24, 43, 77, .04);
}
body.syh-theme.syh-page-order-voucher .upload_group {
    margin: 0;
}
body.syh-theme.syh-page-order-voucher .upload_box {
    height: 180px;
    margin-top: 16px;
    border: 1px dashed #afc7f5;
    border-radius: 14px;
    background: #f6f9ff;
    color: var(--syh-muted, #78879d);
}
body.syh-theme.syh-page-order-voucher .upload_box_icon {
    top: 38px;
    background: #e7f0ff;
    color: var(--syh-blue, #2563eb);
    font-size: 22px;
}
body.syh-theme.syh-page-order-voucher .up_txt {
    top: 101px;
    font-size: 13px;
}
body.syh-theme.syh-page-order-voucher #sfz_zm_div img {
    border-radius: 12px;
    object-fit: contain;
}

/* 关闭预付费提现流程的只读提示，不新增入口或触发行为。 */
body.syh-theme.syh-page-order-shenqing .mui-content {
    background: transparent;
}
body.syh-theme.syh-page-order-shenqing .oktit {
    margin: 16px;
    padding: 20px;
    border: 1px solid #e7edf7;
    border-radius: 16px;
    background: #fff;
    font-size: 16px;
    line-height: 1.6;
}
body.syh-theme.syh-orders .syh-closed-notice {
    display: block;
    max-width: 100%;
    margin: 0 auto;
    padding: 16px;
    border: 1px solid #e2eafa;
    border-radius: 12px;
    background: #edf3fd;
    color: #657894;
    font-size: 14px;
    line-height: 1.6;
    text-align: center;
}

@media (max-width: 360px) {
    body.syh-theme.syh-page-order-loan #jkje {
        font-size: 36px;
    }
    body.syh-theme.syh-page-order-loan .boxes h3 {
        font-size: 18px;
    }
    body.syh-theme.syh-page-order-lists .jksj_number,
    body.syh-theme.syh-page-order-lists .jkje_number {
        font-size: 20px;
    }
    body.syh-theme.syh-page-order-info .oktable {
        gap: 8px;
    }
    body.syh-theme.syh-page-order-info .oktable .listit {
        flex-basis: 70px;
    }
}

/* 还款方式弹窗沿用原事件和内容，统一标题、圆角与窄屏宽度。 */
body.syh-theme.syh-page-order-repay .layui-layer { max-width: calc(100vw - 32px); border-radius: 16px; }
body.syh-theme.syh-page-order-repay .layui-layer-title { padding-left: 20px; border-bottom: 1px solid #e7edf7; border-radius: 16px 16px 0 0; background: #fff !important; color: var(--syh-ink) !important; font-size: 16px; }
body.syh-theme.syh-page-order-repay .layui-layer-content { border-radius: 0 0 16px 16px; color: var(--syh-ink); font-size: 14px; }
body.syh-theme.syh-page-order-repay .layui-layer-content [onclick="jsCopy()"] { padding: 7px 14px !important; border-radius: 8px; background: var(--syh-blue) !important; color: #fff; font-size: 13px; }

/* 横幅使用统一容器完整展示原图，避免轮播图片比例不同留下大块空白。 */
body.syh-theme.syh-page-order-loan #demo-slider-0 .am-viewport { height: 120px !important; }
body.syh-theme.syh-page-order-loan #demo-slider-0 .am-slides img { height: 120px; object-fit: contain; background: #f3f1ff; }
body.syh-theme.syh-page-order-loan #q-button { min-height: 48px; border: 0; border-radius: 12px; background: var(--syh-blue); color: #fff; font-family: inherit; font-size: 16px; line-height: 24px; letter-spacing: 0; }
