/* 安享花 · 红白界面。纯视觉资源，业务接口与数据由原页面提供。 */
:root{--lx-blue:#e3525e;--lx-blue-deep:#d83540;--lx-blue-soft:#fff3f4;--lx-green:#bd2633;--lx-green-soft:#fff3f4;--lx-ink:#2b2528;--lx-muted:#7f7479;--lx-line:#eee5e7;--lx-page:#fffafb;--lx-radius:16px;--lx-font:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html{color-scheme:light;-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;font-family:var(--lx-font);color:var(--lx-ink);background:var(--lx-page);font-size:14px;line-height:1.5}
button,input,select,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.6}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #edb3bb;outline-offset:3px}
.lx-icon{display:inline-block;width:22px;height:22px;flex-shrink:0;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.lx-logo{display:block;width:118px;height:38px;object-fit:contain;object-position:left center}.lx-mark{width:60px;height:64px;object-fit:contain}
.lx-screen{width:100%;max-width:480px;margin:0 auto;min-height:100vh;min-height:100dvh;background:var(--lx-page);position:relative;overflow-x:clip}
.lx-brandbar,.lx-titlebar{height:64px;padding:10px 18px;display:flex;align-items:center;justify-content:space-between;background:#fff;position:relative;z-index:5}.lx-titlebar{height:calc(56px + env(safe-area-inset-top,0px));padding-top:calc(10px + env(safe-area-inset-top,0px));justify-content:center;font-size:17px;font-weight:600;border-bottom:1px solid #fff6f7}.lx-titlebar .lx-back{position:absolute;left:10px;top:calc(6px + env(safe-area-inset-top,0px))}.lx-head-action,.lx-back{display:flex;width:44px;height:44px;align-items:center;justify-content:center;border:0;border-radius:12px;background:transparent;color:#65565e}.lx-head-action:hover,.lx-back:hover{background:var(--lx-blue-soft);color:var(--lx-blue)}
.lx-bottom-nav{position:fixed;z-index:30;bottom:0;left:50%;transform:translateX(-50%);width:100%;max-width:480px;display:grid;grid-template-columns:repeat(4,1fr);height:calc(66px + env(safe-area-inset-bottom,0px));padding:5px 6px calc(5px + env(safe-area-inset-bottom,0px));background:rgba(255,255,255,.97);border-top:1px solid #fff3f4;box-shadow:0 -4px 22px rgba(65,27,34,.025);backdrop-filter:blur(14px)}
.lx-bottom-nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:#7f7479;font-size:11px;line-height:1.4}.lx-bottom-nav a.active{color:#d83540;font-weight:600}.lx-bottom-nav .lx-icon{width:22px;height:22px}.lx-bottom-nav a.active .lx-icon{stroke-width:2.3}
.lx-card{background:#fff;border:1px solid #fff3f4;border-radius:var(--lx-radius);overflow:hidden}.lx-primary{border:0;background:linear-gradient(105deg,#d83540,#d83540);color:#fff;min-height:46px;border-radius:12px;box-shadow:0 5px 16px #e3525e22;font-weight:600}.lx-pill{display:inline-flex;align-items:center;gap:5px;padding:4px 11px;border-radius:20px;background:var(--lx-green-soft);color:#bd2633;font-size:12px;font-weight:500}.lx-pill .lx-icon{width:15px;height:15px}.lx-muted{color:var(--lx-muted)}
@media(min-width:600px){body{background:#fff3f4}.lx-screen{box-shadow:0 0 60px #a51e2b12}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* 安享花 · visual layer 20261109auto2. All state visibility and interaction remain page-owned. */
:root{--lx-blue:#a51e2b;--lx-blue-deep:#2b2528;--lx-blue-soft:#fff3f4;--lx-green:#bd2633;--lx-green-soft:#fff3f4;--lx-ink:#2b2528;--lx-muted:#7f7479;--lx-line:#eee5e7;--lx-page:#fffafb;--lx-radius:18px;--ax-gold:#e3525e;--ax-paper:#fffefa;--ax-shadow:0 5px 18px rgba(65,27,34,.045)}
html:has(body[data-ax-page]){background:#f6f3f4}
body[data-ax-page]{color:var(--lx-ink);background:#f6f3f4;letter-spacing:.1px}
body[data-ax-page] :focus-visible{outline-color:#9a8e93}
.ax-brand-lockup{display:inline-flex;align-items:center;gap:8px;vertical-align:middle;white-space:nowrap;line-height:1}
.ax-brand-lockup .ax-brand-mark{display:block;width:38px!important;height:38px!important;object-fit:contain!important;object-position:center!important;max-width:none;flex-shrink:0}
.ax-brand-name{font-size:23px;line-height:1.25;letter-spacing:1px;font-weight:750;color:#2b2528}
body[data-ax-page] .lh-shell,body[data-ax-page] .lx-screen,body[data-ax-page] .account-shell,body[data-ax-page] .details-shell{background:var(--lx-page)}
body[data-ax-page] .lh-header,body[data-ax-page] .account-header,body[data-ax-page] .brand-header{min-height:76px;background:var(--ax-paper);border-bottom:1px solid #f2e8eb;padding-left:22px;padding-right:22px}
body[data-ax-page] .lh-header-service,body[data-ax-page] .header-service,body[data-ax-page] .icon-button{color:#65565e;background:transparent}
body[data-ax-page] .lh-header-service:hover,body[data-ax-page] .header-service:hover,body[data-ax-page] .icon-button:hover{color:#a51e2b;background:#fff3f4}
body[data-ax-page] .lh-content{padding-left:20px;padding-right:20px}
body[data-ax-page] .lh-section-title{font-size:17px;letter-spacing:.3px;color:#2b2528;margin-bottom:15px}
body[data-ax-page] .lh-section-title,body[data-ax-page] .detail-title,body[data-ax-page] .period-list-title,body[data-ax-page] .section-card>.section-title{position:relative;padding-left:12px}
body[data-ax-page] .lh-section-title:before,body[data-ax-page] .detail-title:before,body[data-ax-page] .period-list-title:before,body[data-ax-page] .section-card>.section-title:before{content:"";position:absolute;left:0;top:.3em;width:3px;height:1em;border-radius:3px;background:#a51e2b}
body[data-ax-page] .lh-panel,body[data-ax-page] .lh-service-section,body[data-ax-page] .lh-section-link,body[data-ax-page] .lx-card,body[data-ax-page] .section-card,body[data-ax-page] .menu-box{border-color:#eee5e7;background:#fff;box-shadow:var(--ax-shadow);border-radius:17px}
body[data-ax-page] .lh-info-row,body[data-ax-page] .amount-row,body[data-ax-page] .info-row{border-bottom-color:#f3e9ed;padding-top:14px;padding-bottom:14px}
body[data-ax-page] .lh-info-label,body[data-ax-page] .amount-row .label,body[data-ax-page] .info-row .label{color:#7f7479}
body[data-ax-page] .lh-info-value,body[data-ax-page] .amount-row .value,body[data-ax-page] .info-row .value{color:#2b2528}
body[data-ax-page] .lh-three-grid{gap:10px}
body[data-ax-page] .lh-feature{background:linear-gradient(150deg,#fff,#fff5f6);border-color:#f9e5e8;border-radius:15px;padding-top:18px;padding-bottom:17px}
body[data-ax-page] .lh-feature-icon{background:transparent;color:#a51e2b;border-radius:0;width:37px;height:37px}
body[data-ax-page] .lh-feature.amber .lh-feature-icon{background:transparent;color:#d83540}
body[data-ax-page] .lh-feature.green .lh-feature-icon{background:transparent;color:#bd2633}
body[data-ax-page] .lh-feature-title{color:#2b2528}
body[data-ax-page] .lh-feature-desc{color:#7f7479}
body[data-ax-page] .lh-bottom-nav,body[data-ax-page] .bottom-nav,body[data-ax-page] .lx-bottom-nav{background:rgba(255,254,250,.97);border-color:#f9e5e8;box-shadow:0 -5px 24px rgba(65,27,34,.025)}
body[data-ax-page] .lh-nav-item,body[data-ax-page] .bottom-nav-item,body[data-ax-page] .lx-bottom-nav a{color:#7f7479}
body[data-ax-page] .lh-nav-item.active,body[data-ax-page] .bottom-nav-item.active,body[data-ax-page] .lx-bottom-nav a.active{color:#a51e2b;font-weight:700}
body[data-ax-page] .lh-nav-item.active .lx-icon,body[data-ax-page] .bottom-nav-item.active .lx-icon{filter:none;stroke-width:2.2}
body[data-ax-page] .lh-legal-note,body[data-ax-page] .account-note,body[data-ax-page] .privacy-note,body[data-ax-page] .payment-note{color:#9a8e93}
body[data-ax-page] .lh-home-leaves,body[data-ax-page] .login-leaves,body[data-ax-page] .account-decoration::after{filter:hue-rotate(-65deg) saturate(.55)}
/* Public home: every original product detail and login action retained. */
[data-ax-page=home] .lh-home-intro{min-height:153px;padding:30px 4px 22px}
[data-ax-page=home] .lh-home-intro:after{background:linear-gradient(90deg,#fffafb 25%,#fffafb00 95%)}
[data-ax-page=home] .lh-home-copy h1{color:#2b2528;font-size:28px;line-height:1.45;font-weight:720;letter-spacing:1px;margin:0 0 10px}
[data-ax-page=home] .lh-home-copy p{color:#7f7479;font-size:12px}
[data-ax-page=home] .lh-quota-card{background:linear-gradient(118deg,#a51e2b,#bd2633 75%,#d83540);padding:28px 25px 20px;text-align:left;border:1px solid #bd2633;border-radius:21px;box-shadow:0 10px 22px #a51e2b16}
[data-ax-page=home] .lh-quota-card:before{border-color:#edb3bb77;border-radius:80% 0 80% 0;right:-35px;top:20px;transform:rotate(-24deg);width:135px;height:175px;pointer-events:none}
[data-ax-page=home] .lh-quota-card:after{content:"";position:absolute;right:-10px;bottom:16px;transform:rotate(38deg);width:130px;height:158px;border:1px solid #f1d2d770;border-radius:80% 0 80% 0;pointer-events:none}
[data-ax-page=home] .lh-quota-label{color:#fff3f4;font-size:13px}
[data-ax-page=home] .lh-quota-value{font-size:44px;font-weight:720;margin-top:9px;margin-bottom:9px;letter-spacing:-1px;position:relative;z-index:1}
[data-ax-page=home] .lh-quota-rate{color:#f9e5e8}
[data-ax-page=home] .lh-quota-rate strong{color:#f1d2d7}
[data-ax-page=home] .lh-login-button{color:#2b2528;background:#fffff8;border-radius:12px;margin-top:24px;width:100%;min-height:46px;z-index:1}
[data-ax-page=home] .lh-quota-tip{color:#f9e5e8;text-align:center;position:relative;z-index:1}
[data-ax-page=home] .lh-step-icon{background:#fff3f4;box-shadow:none;color:#a51e2b;border:1px solid #f9e5e8}
[data-ax-page=home] .lh-step+.lh-step:before{color:#b2a3a8}
[data-ax-page=home] .lh-about{padding:17px 5px;color:#7f7479}
[data-ax-page=home] .lh-about strong{color:#65565e}
/* Signed-in account card: same name, amount, status, buttons and status classes. */
[data-ax-page=user] .lh-user-hero{margin-top:26px;border-radius:0;background:none;padding:0;color:#2b2528;box-shadow:none;overflow:visible}
[data-ax-page=user] .lh-user-hero:before{content:none}
[data-ax-page=user] .lh-welcome-row{padding:0 3px}
[data-ax-page=user] .lh-welcome-copy h1{font-size:23px;font-weight:720;line-height:1.5}
[data-ax-page=user] .lh-welcome-copy p{color:#7f7479;font-size:12px;margin-top:6px}
[data-ax-page=user] .lh-order-link{color:#a51e2b;background:#fff3f4;border-color:#f9e5e8}
[data-ax-page=user] .lh-amount-panel{position:relative;overflow:hidden;background:linear-gradient(115deg,#a51e2b,#bd2633);margin-top:24px;border:0;border-radius:20px 20px 0 0;text-align:left;padding:26px 23px 13px;box-shadow:none;color:#fff}
[data-ax-page=user] .lh-amount-panel:after{content:"";position:absolute;right:-25px;bottom:-56px;width:160px;height:220px;border:1px solid #e9727b80;border-radius:80% 0 80% 0;transform:rotate(-24deg);pointer-events:none}
[data-ax-page=user] .lh-amount-label{color:#f9e5e8;font-size:13px;position:relative;z-index:1}
[data-ax-page=user] .lh-amount-value{color:#fff;font-size:39px;margin:8px 0 14px;position:relative;z-index:1}
[data-ax-page=user] .lh-status-badge{position:relative;z-index:1;background:#ffffff20;color:#fffafb;border:1px solid #ffffff35;font-weight:500}
[data-ax-page=user] .lh-status-badge.overdue{background:#f9e5e8;color:#bd2633;border-color:#f9e5e8}
[data-ax-page=user] .lh-status-badge.paid{background:#f9e5e8;color:#a51e2b;border-color:#f9e5e8}
[data-ax-page=user] .lh-hero-actions{margin:0;background:linear-gradient(115deg,#a51e2b,#bd2633);padding:6px 23px 24px;border-radius:0 0 20px 20px;gap:12px}
[data-ax-page=user] .lh-repay-button,[data-ax-page=user] .lh-view-loan{min-height:44px;border-radius:11px}
[data-ax-page=user] .lh-repay-button{color:#2b2528;background:#fffef9;border-color:#fffef9}
[data-ax-page=user] .lh-repay-button.paid-btn{color:#fff3f4;background:#ffffff18;border-color:#ffffff50}
[data-ax-page=user] .lh-view-loan{color:#fff;background:#ffffff08;border-color:#ffffff65}
[data-ax-page=user] .lh-hero-note{color:#7f7479;margin-top:13px}
[data-ax-page=user] .lh-service-section{padding:20px 16px 10px;margin-top:23px}
[data-ax-page=user] .lh-services-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 7px}
[data-ax-page=user] .lh-service-item{font-size:12px;color:#44383d;gap:10px;padding:13px 4px}
[data-ax-page=user] .lh-service-symbol{background:#fff3f4;color:#a51e2b;width:42px;height:42px;border-radius:13px}
[data-ax-page=user] .lh-service-symbol.amber{background:#f9e5e8;color:#d83540}
[data-ax-page=user] .lh-service-symbol.slate{background:#f9e5e8;color:#7f7479}
[data-ax-page=user] .lh-help-entry{padding:19px 17px;font-size:13px;color:#44383d}
/* Repayment and payment: complete original detail blocks, periods and upload controls. */
body[data-ax-page=repayment],body[data-ax-page=repay-confirm]{background:var(--lx-page)}
[data-ax-page=repayment] .page-wrap,[data-ax-page=repay-confirm] .page-wrap{padding-left:18px;padding-right:18px}
[data-ax-page=repayment] .brand-header .header-label{color:#7f7479;font-size:12px}
[data-ax-page=repayment] .loan-card{overflow:visible;background:transparent;border:0;box-shadow:none}
[data-ax-page=repayment] .loan-hero,[data-ax-page=repay-confirm] .summary-hero{position:relative;background:linear-gradient(118deg,#a51e2b,#bd2633);border-radius:20px;padding:25px 22px 22px;overflow:hidden}
[data-ax-page=repayment] .loan-hero:before{content:"";position:absolute;right:-25px;top:20px;width:145px;height:190px;border:1px solid #edb3bb70;border-radius:80% 0 80% 0;transform:rotate(-28deg);pointer-events:none}
[data-ax-page=repayment] .hero-amount-row,[data-ax-page=repayment] .hero-top-actions,[data-ax-page=repayment] .hero-user-name{position:relative;z-index:1}
[data-ax-page=repayment] .hero-amount-value{font-size:36px;font-weight:720;margin-top:8px}
[data-ax-page=repayment] .hero-amount-label{font-size:13px;color:#fff3f4}
[data-ax-page=repayment] .hero-top-actions{gap:12px;margin-top:22px}
[data-ax-page=repayment] .repay-btn,[data-ax-page=repayment] .contract-btn{border-radius:11px;min-height:43px}
[data-ax-page=repayment] .repay-btn{background:#fffff7;color:#a51e2b;border-color:#fffff7}
[data-ax-page=repayment] .contract-btn{background:#ffffff0b;border-color:#ffffff6b;color:#fff}
[data-ax-page=repayment] .hero-upload-wrap{margin-top:16px;padding:19px 16px;background:#fff;border:1px solid #f9e5e8;border-radius:17px;box-shadow:var(--ax-shadow)}
[data-ax-page=repayment] .hero-upload-title{color:#2b2528;font-size:14px;margin-bottom:14px}
[data-ax-page=repayment] .select-btn,[data-ax-page=repayment] .upload-btn{background:#fff4f5;border-color:#f1d2d7;color:#a51e2b;border-radius:10px;min-height:43px}
[data-ax-page=repayment] .upload-btn{background:#a51e2b;color:#fff;border-color:#a51e2b}
[data-ax-page=repayment] .detail-section{background:#fff;border:1px solid #f9e5e8;border-radius:17px;margin-top:16px;padding:20px 17px;box-shadow:var(--ax-shadow)}
[data-ax-page=repayment] .detail-title{color:#2b2528;font-size:15px}
[data-ax-page=repayment] .highlight-grid{gap:10px;margin-top:17px}
[data-ax-page=repayment] .highlight-card{padding:14px 12px;background:#fff3f4;border:1px solid #f9e5e8;border-radius:11px}
[data-ax-page=repayment] .highlight-value{color:#a51e2b}
[data-ax-page=repayment] .overdue-mode #overdue-days,[data-ax-page=repayment] .overdue-mode #penalty-amount{color:#d83540}
[data-ax-page=repayment] .period-list{margin-top:24px}
[data-ax-page=repayment] .period-card{padding:19px 16px;border:1px solid #f9e5e8;box-shadow:var(--ax-shadow);border-radius:16px;margin-bottom:13px}
[data-ax-page=repayment] .period-card[data-state=pending] .period-badge{color:#a51e2b;background:#fff3f4}
[data-ax-page=repayment] .repay-now{color:#a51e2b;border-color:#f1d2d7;background:#fff3f4;min-height:35px;border-radius:8px}
[data-ax-page=repay-confirm] .summary-card,[data-ax-page=repay-confirm] .pay-card{border-color:#f9e5e8;box-shadow:var(--ax-shadow);border-radius:17px}
[data-ax-page=repay-confirm] .summary-hero{border-radius:0;padding:26px 22px}
[data-ax-page=repay-confirm] .highlight-grid{background:#fff3f4}
[data-ax-page=repay-confirm] .highlight-value{color:#a51e2b}
[data-ax-page=repay-confirm] .custom-select-box{background:#fff5f6;border-color:#f1d2d7;color:#44383d}
[data-ax-page=repay-confirm] .copy-btn{background:#a51e2b;box-shadow:0 4px 13px #a51e2b18;border-radius:10px;min-height:46px}
/* Login and service selection keep their existing authentication and channel logic. */
[data-ax-page=login] .lx-login{background:linear-gradient(165deg,#fffefa 35%,#fff3f4)}
[data-ax-page=login] .login-content{padding-top:26px}
[data-ax-page=login] .login-identity .lx-mark{display:block;margin:0 auto;width:85px;height:78px}
[data-ax-page=login] .login-wordmark{color:#2b2528;font-size:30px;font-weight:750;letter-spacing:3px;margin:10px 0 28px}
[data-ax-page=login] .login-identity h1{font-size:23px;color:#2b2528}
[data-ax-page=login] .login-identity p{color:#7f7479}
[data-ax-page=login] .form-box,[data-ax-page=login] .code-row{border-color:#f9e5e8;box-shadow:0 4px 15px #2b252804;background:#fffefa}
[data-ax-page=login] .code-row .form-box{border:0;box-shadow:none}
[data-ax-page=login] .form-box:focus-within,[data-ax-page=login] .code-row:focus-within{border-color:#7f7479;box-shadow:0 0 0 3px #a51e2b0d}
[data-ax-page=login] .code-row .form-box:focus-within{box-shadow:none}
[data-ax-page=login] .get-code{background:#fff3f4;color:#a51e2b}
[data-ax-page=login] .login-btn{background:linear-gradient(110deg,#a51e2b,#bd2633);border-radius:12px;min-height:50px;box-shadow:0 6px 18px #a51e2b22;margin-top:10px}
[data-ax-page=login] .login-leaves{opacity:.2}
[data-ax-page=customer-service-select] .lx-service{background:#fffafb}
[data-ax-page=customer-service-select] .hero-card{background:linear-gradient(115deg,#a51e2b,#d83540);border-radius:20px;padding:24px 20px;min-height:174px}
[data-ax-page=customer-service-select] .hero-brand img{filter:none;width:30px;height:30px}
[data-ax-page=customer-service-select] .hero-title{font-size:23px;margin-top:17px}
[data-ax-page=customer-service-select] .service-agent{filter:hue-rotate(-65deg) saturate(.5);opacity:.9}
[data-ax-page=customer-service-select] .service-list{margin-top:18px;gap:13px}
[data-ax-page=customer-service-select] .service-card{border-color:#f9e5e8;border-radius:16px;padding:18px;box-shadow:var(--ax-shadow)}
[data-ax-page=customer-service-select] .service-avatar{color:#a51e2b;background:#f9e5e8}
[data-ax-page=customer-service-select] .service-btn{background:#a51e2b;border-radius:10px;min-height:43px}
/* Account, personal details and documents retain their field visibility and export controls. */
[data-ax-page=profile] .identity{margin:20px 17px 0;border:1px solid #f1d2d7;border-radius:19px;background:linear-gradient(120deg,#fff3f4,#fffbfc);padding:24px 19px}
[data-ax-page=profile] .user-name{color:#2b2528}
[data-ax-page=profile] .avatar-box{border-color:#f1d2d7;background:#f9e5e8}
[data-ax-page=profile] .avatar-box:before,[data-ax-page=profile] .avatar-box:after{background:#bd2633}
[data-ax-page=profile] .menu-box{margin:18px 17px 0}
[data-ax-page=profile] .menu-item{background:transparent;border-bottom-color:#f9e5e8;min-height:76px}
[data-ax-page=profile] .menu-text{font-size:15px;color:#2b2528}
[data-ax-page=profile] .menu-icon{background:#fff3f4;color:#a51e2b;box-shadow:none}
[data-ax-page=profile] .icon-profile{color:#7f7479;background:#fff3f4}
[data-ax-page=profile] .icon-logout{color:#e3525e;background:#fff3f4}
[data-ax-page=userinfo] .section-card{padding-top:22px;padding-left:20px;padding-right:20px}
[data-ax-page=userinfo] .info-left{color:#7f7479}
[data-ax-page=userinfo] .info-right{color:#44383d}
[data-ax-page=userinfo] .bank-card{background:linear-gradient(115deg,#a51e2b,#bd2633);border-radius:16px;box-shadow:0 7px 18px #a51e2b14}
[data-ax-page=userinfo] .bank-chip{background:#edb3bb;border-color:#f1d2d7}
[data-ax-page=userinfo] .bank-chip:before{background:#e3525e}
body[data-ax-page=contract],body[data-ax-page=settle]{color:#2b2528;background:#f6f3f4}
[data-ax-page=contract] .ax-brand-lockup,[data-ax-page=settle] .ax-brand-lockup{gap:8px}
[data-ax-page=contract] .ax-brand-name,[data-ax-page=settle] .ax-brand-name{font-size:25px}
@media(max-width:359px){body[data-ax-page] .lh-content{padding-left:15px;padding-right:15px}.ax-brand-name{font-size:21px}.ax-brand-lockup .ax-brand-mark{width:33px!important;height:33px!important}[data-ax-page=user] .lh-welcome-copy h1{font-size:20px}[data-ax-page=user] .lh-amount-value{font-size:34px}[data-ax-page=repayment] .page-wrap,[data-ax-page=repay-confirm] .page-wrap{padding-left:12px;padding-right:12px}[data-ax-page=repayment] .loan-hero{padding-left:17px;padding-right:17px}[data-ax-page=repayment] .hero-amount-value{font-size:32px}[data-ax-page=repayment] .period-card{padding:16px 12px}[data-ax-page=login] .login-wordmark{font-size:28px}}
@media(min-width:600px){body[data-ax-page] .lh-shell,body[data-ax-page] .lx-screen,body[data-ax-page] .account-shell,body[data-ax-page] .details-shell{box-shadow:0 15px 55px #2b252810}.lh-shell{border-radius:22px 22px 0 0}}
@media print{body[data-ax-page]{background:#fff!important;color:#222}.ax-brand-lockup .ax-brand-mark{width:34px!important;height:34px!important}.ax-brand-name{color:#2b2528!important}}

/* 安享花 · 红白视觉统一。现有状态显示和交互仍由原页面控制。 */
:root{--lx-blue:#d83540;--lx-blue-deep:#b92431;--lx-blue-soft:#fff1f2;--lx-green:#d83540;--lx-green-soft:#fff1f2;--lx-ink:#292327;--lx-muted:#82787d;--lx-line:#eee5e7;--lx-page:#fffafb;--lx-radius:18px;--ax-gold:#bc3341;--ax-paper:#fff;--ax-shadow:0 5px 20px rgba(70,26,36,.035)}
html:has(body[data-ax-page]),body[data-ax-page]{background:#f6f3f4;color:#292327}
body[data-ax-page] :focus-visible{outline-color:#f1a0aa}
body[data-ax-page] .lh-shell,body[data-ax-page] .lx-screen,body[data-ax-page] .account-shell,body[data-ax-page] .details-shell{background:#fffafb}
body[data-ax-page] .lh-header,body[data-ax-page] .account-header,body[data-ax-page] .brand-header{background:#fff;border-color:#f2e8eb}
.ax-brand-name{color:#252124;font-weight:750}
body[data-ax-page] .lh-header-service,body[data-ax-page] .header-service,body[data-ax-page] .icon-button{color:#746a70}
body[data-ax-page] .lh-header-service:hover,body[data-ax-page] .header-service:hover,body[data-ax-page] .icon-button:hover{color:#d83540;background:#fff1f2}
body[data-ax-page] .lh-section-title,body[data-ax-page] .detail-title,body[data-ax-page] .period-list-title,body[data-ax-page] .section-title{color:#332b30}
body[data-ax-page] .lh-feature{background:#fff4f5;border-color:#f9e7ea;box-shadow:none}
body[data-ax-page] .lh-feature-icon,body[data-ax-page] .lh-feature.amber .lh-feature-icon,body[data-ax-page] .lh-feature.green .lh-feature-icon{color:#d83540;background:transparent}
body[data-ax-page] .lh-feature-title{color:#44383f}
body[data-ax-page] .lh-feature-desc{color:#95878d}
body[data-ax-page] .lh-nav-item,body[data-ax-page] .bottom-nav-item,body[data-ax-page] .lx-bottom-nav a{color:#82777d}
body[data-ax-page] .lh-nav-item.active,body[data-ax-page] .bottom-nav-item.active,body[data-ax-page] .lx-bottom-nav a.active{color:#d83540}
body[data-ax-page] .lh-bottom-nav,body[data-ax-page] .bottom-nav,body[data-ax-page] .lx-bottom-nav{background:rgba(255,255,255,.98);border-color:#f0e6e9}
body[data-ax-page] .lh-home-leaves{filter:none;opacity:.09;object-fit:contain}
body[data-ax-page] .login-leaves{filter:none;opacity:.07;background-size:270px auto;background-position:right -40px bottom -35px}
body[data-ax-page] .account-decoration::after{filter:none;opacity:.055;background-size:contain}
[data-ax-page=home] .lh-home-copy h1,[data-ax-page=user] .lh-welcome-copy h1{color:#2d252a}
[data-ax-page=home] .lh-quota-card{background:linear-gradient(118deg,#d72f3c,#e84b59);border:0;box-shadow:0 9px 22px rgba(216,53,64,.10)}
[data-ax-page=home] .lh-quota-label,[data-ax-page=home] .lh-quota-rate,[data-ax-page=home] .lh-quota-tip{color:#fff1f3}
[data-ax-page=home] .lh-quota-rate strong{color:#fff}
[data-ax-page=home] .lh-login-button{background:#fff;color:#c72937}
[data-ax-page=user] .lh-amount-panel,[data-ax-page=user] .lh-hero-actions{background:linear-gradient(115deg,#d72f3c,#e84b59)}
[data-ax-page=user] .lh-amount-panel{border-radius:19px 19px 0 0}
[data-ax-page=user] .lh-hero-actions{border-radius:0 0 19px 19px}
[data-ax-page=user] .lh-amount-panel:after{border-color:rgba(255,255,255,.23)}
[data-ax-page=user] .lh-amount-label{color:#fff1f3}
[data-ax-page=user] .lh-amount-value{font-variant-numeric:tabular-nums}
[data-ax-page=user] .lh-repay-button{background:#fff;color:#c72937;border-color:#fff;border-radius:22px}
[data-ax-page=user] .lh-view-loan{color:#fff;border-radius:22px}
[data-ax-page=user] .lh-repay-button.paid-btn{color:#fff;background:rgba(255,255,255,.15);border-color:rgba(255,255,255,.38)}
[data-ax-page=user] .lh-status-badge.overdue{background:#fff1f2;color:#ac2635;border-color:#fff1f2}
[data-ax-page=user] .lh-status-badge.paid{background:#fff;color:#695a61;border-color:#fff}
[data-ax-page=user] .lh-status-badge.paid:before{background:#88777f}
[data-ax-page=user] .lh-service-symbol,[data-ax-page=user] .lh-service-symbol.green,[data-ax-page=user] .lh-service-symbol.amber,[data-ax-page=user] .lh-service-symbol.slate{color:#d83540;background:#fff2f4}
[data-ax-page=user] .lh-service-item{color:#42373d}
[data-ax-page=user] .lh-service-item:hover{color:#c52c3b;background:#fff6f7}
[data-ax-page=repayment] .loan-hero,[data-ax-page=repay-confirm] .summary-hero{background:linear-gradient(118deg,#d72f3c,#e84b59)}
[data-ax-page=repayment] .repay-btn{color:#c72937;background:#fff}
[data-ax-page=repayment] .highlight-card,[data-ax-page=repay-confirm] .highlight-grid{background:#fff3f4;border-color:#f8e9ec}
[data-ax-page=repayment] .overdue-mode #overdue-days,[data-ax-page=repayment] .overdue-mode #penalty-amount{color:#c22a3b}
[data-ax-page=profile] .identity{background:linear-gradient(115deg,#fff0f2,#fff8f9);border:1px solid #f6dde2;padding:26px 19px}
[data-ax-page=profile] .user-name{color:#30272c}
[data-ax-page=profile] .user-phone{color:#8b7b83}
[data-ax-page=profile] .avatar-box{background:#ffe0e5;border-color:#f9cbd4}
[data-ax-page=profile] .avatar-box:before,[data-ax-page=profile] .avatar-box:after{background:#d83540}
[data-ax-page=profile] .menu-box{background:#fff;border-color:#f0e5e8;box-shadow:0 5px 18px rgba(70,26,36,.035)}
[data-ax-page=profile] .menu-item{border-color:#f2e9ec;min-height:76px}
[data-ax-page=profile] .menu-text{color:#3c3037;font-size:15px}
[data-ax-page=profile] .menu-icon,[data-ax-page=profile] .icon-profile,[data-ax-page=profile] .icon-logout{color:#d83540;background:#fff0f2}
[data-ax-page=profile] .menu-arrow,[data-ax-page=profile] .identity-chevron{color:#a6949e}
[data-ax-page=profile] .menu-item:hover{background:#fffbfc}
[data-ax-page=profile] .menu-item.lawyer-letter-entry .menu-text{font-weight:650}
[data-ax-page=profile] .menu-subtitle{display:block;font-size:12px;color:#9a8791;font-weight:400;margin-top:2px}
[data-ax-page=login] .lx-login{background:linear-gradient(165deg,#fff 35%,#fff2f4)}
[data-ax-page=login] .login-wordmark,[data-ax-page=login] .login-identity h1{color:#2d252a}
[data-ax-page=login] .login-btn{background:#d83540;box-shadow:0 6px 18px rgba(216,53,64,.14)}
[data-ax-page=login] .get-code{color:#c72937;background:#fff1f3}
[data-ax-page=login] .form-box,[data-ax-page=login] .code-row{background:#fff;border-color:#eedfe4}
[data-ax-page=customer-service-select] .hero-card{background:linear-gradient(115deg,#d72f3c,#e84b59)}
[data-ax-page=customer-service-select] .hero-desc{color:#fff1f3}
[data-ax-page=customer-service-select] .service-agent{filter:grayscale(1);opacity:.85}
[data-ax-page=userinfo] .bank-card{background:linear-gradient(115deg,#bf2634,#e34b5a);box-shadow:0 7px 18px rgba(216,53,64,.12)}
[data-ax-page=userinfo] .bank-chip{background:#f7d8df;border-color:#fff0f4}
[data-ax-page=userinfo] .bank-chip:before{background:#d898a7}
@media(max-width:359px){[data-ax-page=profile] .identity{padding:21px 15px}[data-ax-page=profile] .menu-item{min-height:70px}}
@media print{body[data-ax-page]{color:#222;background:#fff!important}.ax-brand-name{color:#252124!important}}

[data-ax-page=customer-service-select] .hero-brand img{background:#fff;padding:3px;border-radius:8px;filter:none}

/* REDWHITE_SURFACE_CASCADE_FIX_START */
/* Match document-body specificity; these rules cover brand surfaces only. */
body[data-ax-page=contract],body[data-ax-page=settle]{background:#f6f3f4;color:#292327}
[data-ax-page=userinfo] .info-item{border-top-color:#f2e8ec}
[data-ax-page=contract] .contract-head{background:linear-gradient(120deg,#fff3f4,#fffbfc);border-bottom-color:#f3e7eb}
[data-ax-page=contract] td.label{background:#fff7f8}
[data-ax-page=contract] .signature-card{background:#fffafb}
[data-ax-page=settle] .proof-brand{background:linear-gradient(120deg,#fff3f4,#fffbfc);border-bottom-color:#f3e7eb}
[data-ax-page=settle] .proof-no,[data-ax-page=settle] .company-block{background:#fffafb}
[data-ax-page=repayment] .period-action{border-top-color:#f2e8ec}
[data-ax-page=repay-confirm] .top-title{border-bottom-color:#f3e8ed}
[data-ax-page=repay-confirm] .dropdown-list li{border-bottom-color:#f2e8ec}
/* Offline badge remains a neutral state; no online/success state is overridden. */
[data-ax-page=customer-service-select] .status-badge.unavailable{background:#f3f1f2}
@media print{body[data-ax-page=contract],body[data-ax-page=settle]{background:#fff!important;color:#222}}
/* REDWHITE_SURFACE_CASCADE_FIX_END */
