/* Chinese H5: readable type, rounded imagery and motion feedback. */
body:has(.h5-app){background:#e7eee8}
.h5-app{--green:#165d4d;--deep:#123e34;--ink:#20392e;--muted:#687e70;--bg:#f0f5ee;--line:#dfe8dd;color:var(--ink)}
.h5-header{height:74px;padding:0 20px;background:#f7faf5f5;border-bottom:0}
.brand-name{font-size:25px;letter-spacing:.4px}.brand-name small{display:block;width:100%;font-size:9.22px;font-weight:500;color:#667d6c;letter-spacing:0;line-height:1.5;white-space:nowrap;text-align:justify;text-align-last:justify}
.header-actions{display:flex;align-items:center;gap:12px}.header-side{font-size:12px;padding:6px 9px;color:#61766a;background:#e8efe5;border:0}
.header-notifications{position:relative;display:grid;place-items:center;width:36px;height:40px;color:#345f4e;border-radius:12px;transition:background .2s,transform .2s}.header-notifications:active{transform:scale(.9);background:#dfead8}
.unread-badge{position:absolute;right:-3px;top:1px;background:#d55e4d;color:white;font-size:10px;font-weight:700;min-width:17px;height:17px;line-height:17px;text-align:center;border-radius:10px;padding:0 4px;border:2px solid #f7faf5}.unread-badge[hidden]{display:none}
.h5-main{padding:22px 18px calc(112px + env(safe-area-inset-bottom));gap:19px}
.welcome{padding:2px 3px 0}.welcome>p{font-size:14px;color:#65806d;margin-bottom:9px}.welcome h1{font-size:29px;line-height:1.4}.welcome>span{font-size:13px;color:#718472;margin-top:10px}
.home-carousel{border-radius:19px;box-shadow:0 7px 20px #213c2c0b;touch-action:pan-y}
.carousel-track{position:relative;overflow:hidden;aspect-ratio:2.5}.carousel-reel{display:flex;height:100%;will-change:transform;transition:transform .65s cubic-bezier(.22,.7,.22,1)}
.carousel-slide,.carousel-slide.active{position:relative;inset:auto;flex:0 0 100%;display:block;height:100%;opacity:1;visibility:visible;transition:none;min-width:0}.carousel-slide img{display:block;width:100%;height:100%;object-fit:cover}
.loan-banner,.h5-app .loan-banner{min-height:163px;padding:17px 18px;background:linear-gradient(125deg,#134e3f,#24765b);border-radius:20px}.banner-label{font-size:11px;letter-spacing:1px}.loan-banner h2{font-size:30px;margin:6px 0}.loan-banner p{font-size:13px;color:#d2e1ce}.banner-button{font-size:12px;padding:10px 13px;margin-top:12px;background:#daf17e;color:#244633}.banner-art{transform:translateX(-3px);width:142px}.art-card{width:144px;padding:12px 10px;background:#f5f7e4}.art-card b{font-size:23px;letter-spacing:-.3px}.art-card>span{font-size:9px}
.product-card,.h5-app .product-card{padding:19px 12px;gap:9px;border-radius:17px}.product-card h3{font-size:15px}.product-card p{font-size:11px;color:#72846e;white-space:normal;line-height:1.6}.product-icon{width:34px;height:44px;background:#edf3df;color:#548044}.product-card>svg{right:7px;top:9px}
.h5-app .card{border-radius:20px;padding:21px 18px;background:#fff;border-color:#e0e8dd}.h5-app .card h2,.section-head h2{font-size:19px}.section-head>a{font-size:13px;color:#4e775a}.pill{font-size:12px;padding:5px 10px}.pill.pending{color:#8b722a;background:#f9efcb}.pill.approved{background:#e9f3da;color:#4c742c}
.h5-app .latest-card .helper{font-size:11px;color:#72806c;line-height:1.7}.latest-list{height:258px;max-height:none;overflow:hidden;position:relative;scrollbar-width:none;mask-image:linear-gradient(transparent,#000 9px,#000 calc(100% - 9px),transparent)}
.activity-reel{animation:loan-feed 32s linear infinite;will-change:transform}.latest-list:hover .activity-reel,.latest-list:focus-within .activity-reel{animation-play-state:paused}.activity-group{display:flow-root}.latest-card .activity{min-height:86px;padding:15px 0;gap:10px}.activity{font-size:14px}.activity-icon{width:39px;height:39px;flex-shrink:0;color:#7d9c62;background:#eef4e6;border-radius:12px}.activity b{font-size:14px}.activity small{font-size:12px;color:#7c8d71;margin-top:7px}.activity-right .pill{font-size:11px}.activity-right{gap:7px}.latest-card .section-head{margin-bottom:10px}
@keyframes loan-feed{to{transform:translate3d(0,-50%,0)}}
.login-prompt b{font-size:15px}.login-prompt p{font-size:12px;line-height:1.7;color:#798d72}.quiet-empty{font-size:13px;color:#7b8f72}.about-card{background:#e5eedc;border-color:#d6e3cb;padding:25px 20px;border-radius:20px}.about-card h3{font-size:17px;color:#476a35}.about-card p{font-size:13px;line-height:1.7;color:#71865e}.about-icon{color:#668a4b}
.h5-app .assurance{background:linear-gradient(140deg,#dce8be,#eaf2d9);border-color:#cedeb4;padding:25px 19px}.assurance h3{font-size:24px;color:#224b37;letter-spacing:.2px}.assurance>p{font-size:13px;color:#617a50;line-height:1.8;margin-top:9px}.assurance>div{margin-top:20px}.assurance-cards{gap:12px}.assurance-cards span{background:#f5f8eac9;border:1px solid #d1dfb8;border-radius:15px;padding:20px 10px;gap:10px;color:#668d47}.assurance-cards b{font-size:15px;color:#365d2b}.assurance-cards small{font-size:12px;color:#6e8359;line-height:1.8}
.page-head h1{font-size:29px}.page-head p{font-size:13px;line-height:1.8;color:#75886c}.back{font-size:13px;color:#6e8561;margin-bottom:2px}.profile-person{padding:25px}.profile-person h2{font-size:22px}.profile-person small{font-size:13px;color:#7b8c71}.profile-person>span{width:58px;height:58px;font-size:25px;border-radius:19px;background:#1a6550;color:#d9ec88}.profile-card{border-radius:21px;border-color:#e0e7da}.profile-balance{padding:23px 25px;background:#e3edcf}.profile-balance small{font-size:13px;color:#69844c}.profile-balance strong{font-size:33px;color:#355e28}.profile-balance>span{font-size:24px;color:#6f8e4c}
.h5-app .profile-menu{padding:0 20px}.menu-row{padding:21px 0;gap:13px}.menu-row b{font-size:16px;font-weight:550}.menu-row small{font-size:12px;color:#7a8d6d;line-height:1.6}.menu-icon{background:#edf3e5;border-radius:12px;width:39px;height:39px;color:#4f7d58;flex-shrink:0}.chevron{color:#8ca47b}.logout-button{font-size:15px;background:#fff6f1!important;color:#a25d4a!important;border-color:#ecd8c9!important}
.banks{border-radius:22px;padding:20px 10px;background:#fff}.banks>small{font-size:13px;color:#75866c;margin:0 0 20px}.banks>div{row-gap:16px}.banks>div>span{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;min-width:0;min-height:111px;gap:12px;padding:8px 6px;border-right:1px solid #e6ece0}.banks>div>span:nth-child(3n){border-right:0}.banks .bank-logo{display:flex;align-items:center;justify-content:center;flex:none;width:64px;height:64px;min-height:0;padding:0;gap:0;border:1px solid #e3eadc;border-radius:17px;overflow:hidden;background:#f3f6ed;box-shadow:0 3px 8px #223b2210;isolation:isolate}.banks .bank-logo img{display:block;width:100%;height:100%;max-width:none;max-height:none;border-radius:0;object-fit:contain;background:#fff;clip-path:inset(0 round 16px)}.banks .bank-logo svg{width:43px;height:43px;background:none;padding:3px;border-radius:0;color:#719650}.banks .bank-name{font-size:14px;font-weight:500;line-height:1.5;width:100%;text-align:center;color:#365337;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.balance-card{padding:26px 23px;border-radius:22px;background:linear-gradient(120deg,#155941,#2c7a58)}.balance-card>span{font-size:14px;color:#d2e4c5}.balance-card>strong{font-size:40px;margin:17px 0 23px}.balance-card>div{font-size:14px;color:#d8e8cd}.balance-card>.btn{font-size:16px;background:#dcf17d;color:#2b4b2d}.balance-ledger-link{border:0;border-top:1px solid #a0bf8e55;background:transparent;color:#e3eddb;width:100%;display:flex;align-items:center;gap:9px;padding:16px 0 0;margin-top:18px;font-size:14px}.balance-ledger-link svg:last-child{margin-left:auto}.balance-ledger-link:active{color:#e9ff9e}.fund-ledger .ledger-item{padding:17px 0}.fund-ledger .ledger-item>div{font-size:14px}.fund-ledger .ledger-item small,.fund-ledger .ledger-item p{font-size:12px;line-height:1.8}.withdraw-item b{font-size:18px}.withdraw-item>p,.withdraw-item>small{font-size:12px}
.h5-app .form label{font-size:14px;color:#516e48}.h5-app .form input,.h5-app .form textarea,.h5-app .form select{font-size:16px;padding:13px}.h5-app .btn{font-size:15px}.h5-app .btn.small{font-size:12px}.h5-app .kv{font-size:14px}.h5-app .kv>span{color:#718564}.h5-app .notice{font-size:13px;color:#8c7748}.h5-app .notice.green{color:#577e46}.h5-app .body-copy,.h5-app .faq-list summary{font-size:15px;color:#627b50}.h5-app .helper,.h5-app .tiny,.h5-app .faq-list details p{font-size:12px;line-height:1.8;color:#7d8f6c}.h5-app .loan-value{font-size:29px}.h5-app .loan-item-head{font-size:15px}.h5-app .loan-meta{font-size:13px}.h5-app .loan-item footer small{font-size:11px}.notification h3{font-size:16px;color:#385f3b}.notification p{font-size:14px;color:#6b8359}.notification small{font-size:12px}
.bottom-nav{position:fixed;left:50%;bottom:calc(10px + env(safe-area-inset-bottom));transform:translateX(-50%);width:min(calc(100% - 24px),456px);padding:6px;gap:0;background:#193d32;border:1px solid #2d4b3f!important;border-radius:23px;box-shadow:0 9px 30px #163a3333;isolation:isolate;backdrop-filter:blur(15px)}
.nav-highlight{position:absolute;z-index:-1;top:6px;bottom:6px;left:6px;width:calc((100% - 12px)/3);border-radius:17px;background:#d7f078;box-shadow:0 3px 10px #0c241c1c;transform:translateX(calc(var(--nav-index,0)*100%));transition:transform .36s cubic-bezier(.22,.8,.26,1),background .3s;pointer-events:none}
.bottom-nav a{position:relative;min-height:53px;padding:6px 0;display:grid;place-content:center;justify-items:center;gap:5px;font-size:12px;font-weight:500;color:#adc0ad;transition:color .25s,transform .2s,filter .2s;outline-offset:0;border-radius:16px}.bottom-nav a svg{transition:transform .32s cubic-bezier(.2,.8,.2,1),stroke .25s;stroke-width:1.6}.bottom-nav a.active{color:#26452d;font-weight:700}.bottom-nav a.active svg{transform:translateY(-1px) scale(1.08);stroke-width:1.9}.bottom-nav a:active{transform:scale(.93)}
@media(min-width:760px){.h5-main{padding:25px 23px 116px}.h5-header{height:76px}.h5-app .welcome h1{font-size:31px}.h5-app .loan-banner{min-height:166px}}
@media(max-width:375px){.h5-header{padding:0 16px}.header-actions{gap:5px}.brand-name{font-size:23px;letter-spacing:.3px}.brand-name small{font-size:8.33px}.h5-main{padding-left:14px;padding-right:14px}.loan-banner h2{font-size:27px}.banner-art{width:120px;transform:translateX(-7px) scale(.84);transform-origin:right center}.product-card h3{font-size:14px}.product-card p{font-size:10px}.banks .bank-logo{width:59px;height:59px}.banks .bank-name{font-size:13px}.activity b{font-size:13px}.activity small{font-size:11px}.assurance h3{font-size:22px}}
@media(prefers-reduced-motion:reduce){.activity-reel{animation:none}.carousel-reel{transition:none!important}.bottom-nav *{transition:none!important}}

.latest-list.short-feed{height:auto;mask-image:none}.short-feed .activity-reel{animation:none}
.security-actions{display:grid;gap:12px}.profile-person small{line-height:1.6}.admin-content td small{line-height:1.7}
.progress{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.progress>span{display:grid;justify-items:center;gap:8px;white-space:normal;text-align:center;font-size:11.5px;line-height:1.5;font-weight:600;color:#8b9a8f}.progress b{height:24px;width:24px;border-radius:50%;display:grid;place-items:center;background:#e7eee2;color:#7f917f;font-weight:700;font-style:normal}.progress>span.active{color:#1d6f5c}.progress>span.active b{background:#0c5149;color:#fff;box-shadow:0 0 0 4px #cfe3d6}.progress>span.done{color:#4f7f68}.progress>span.done b{background:#d7ead9;color:#2f7a58}.progress-caption{font-size:11px;font-weight:600;color:#5b7a67;margin:2px 0 12px}.loan-document>header{text-align:center;padding:18px 0;border-bottom:2px solid #dce6d7;margin-bottom:15px}.loan-document>header h2{font-size:25px;margin:9px 0}.loan-document>header p{font-size:12px;overflow-wrap:anywhere}.loan-document h3{font-size:17px;margin:25px 0 12px}.document-terms{font-size:14px;line-height:2;white-space:pre-wrap;overflow-wrap:anywhere;color:#425b42}.document-schedule{margin:22px 0}.document-schedule summary{cursor:pointer;font-size:14px;font-weight:600}.document-schedule table{width:100%;font-size:12px}.document-schedule td,.document-schedule th{padding:10px 8px}.loan-document>.helper{margin-top:15px}.loan-item footer>div{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}.loan-document .kv strong{max-width:65%}.loan-document .signature-image{border:1px solid #dce6d7;border-radius:10px}

.loan-active-tip{display:grid;gap:4px}
.loan-active-tip b{font-size:12px}
.loan-active-tip p{font-size:12px;font-weight:600;color:#20402f}
.loan-active-tip span{font-size:11px;color:#6b8072}
.loan-active-tip .btn{justify-self:start;margin-top:4px}
.identity-pending-note{font-size:11px;color:#6b8072;margin-top:6px}
