/* Optional wealth skin: shared form contracts stay with their original modules. */
.wealth-login { --ink: #302d28; --muted: #706a61; --brand: #956239; --line: #e8dfd1; margin: 0; background: #fff; color: var(--ink); font: 15px/1.65 "Microsoft YaHei", sans-serif; user-select: text; }
.wealth-login * { box-sizing: border-box; }
.wealth-login .wealth-brand { display: flex; align-items: center; gap: 16px; }
.wealth-login .wealth-brand img { width: 62px; height: 62px; object-fit: contain; }
.wealth-login .wealth-brand strong { display: block; color: #75431c; font-size: 22px; font-weight: 500; letter-spacing: 1px; }
.wealth-login .wealth-brand span { display: block; color: #8a7256; font-size: 11px; letter-spacing: 3px; }
.wealth-login .wealth-eyebrow { color: #806344; font-size: 13px; letter-spacing: 3px; margin-bottom: 22px; }
.wealth-login h1 { font-family: "Songti SC", "SimSun", serif; font-size: 30px; line-height: 1.5; font-weight: 500; white-space: normal; margin: 0 0 16px; letter-spacing: 1px; }
.wealth-login .wealth-description { max-width: 420px; font-size: 15px; line-height: 1.9; color: var(--muted); }
.wealth-login .wealth-pillars { display: flex; flex-wrap: wrap; gap: 0; margin-top: 28px; color: #785f40; font-size: 13px; }
.wealth-login .wealth-pillars span + span { border-left: 1px solid #ccb78d; margin-left: 18px; padding-left: 18px; }
.wealth-login .wealth-scene { position: relative; overflow: hidden; }
.wealth-login .wealth-scene img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wealth-login .wealth-scene p { position: absolute; bottom: 24px; left: 28px; margin: 0; color: white; font: 20px/1.5 "Songti SC", "SimSun", serif; letter-spacing: 4px; text-shadow: 0 2px 8px #000; }
.wealth-login .wealth-form-heading { margin-bottom: 30px; }
.wealth-login .wealth-form-heading > span { display: block; color: #856742; font-size: 11px; letter-spacing: 2px; margin-bottom: 15px; }
.wealth-login .wealth-form-heading h2 { margin: 0 0 10px; font-size: 25px; line-height: 1.5; font-weight: 600; color: var(--ink); }
.wealth-login .wealth-form-heading p { color: var(--muted); font-size: 14px; margin: 0; }
.wealth-login input:focus-visible, .wealth-login button:focus-visible, .wealth-login [tabindex]:focus-visible { outline: 2px solid #9c773e; outline-offset: 3px; }
.wealth-login .wealth-label { display: block; font-size: 13px; color: #514b42; line-height: 22px; margin: 0 0 6px; text-align: left; }
.wealth-login .wealth-required { color: #a33c35; margin-left: 4px; }
.wealth-login .wealth-password { position: absolute; right: 4px; bottom: 4px; width: 42px; height: 42px; border: 0; border-radius: 5px; display: grid; place-items: center; background: transparent; color: #7e643f; cursor: pointer; padding: 10px; }
.wealth-login .wealth-password svg { display: block; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.wealth-login .wealth-password[aria-pressed="true"] .eye-slash { display: none; }
.wealth-login input.wealth-password-input { padding-right: 50px !important; }
.wealth-login .wealth-has-password .delIcon, .wealth-login .wealth-has-password .btn-toggle-password { display: none; }

/* Broker: an open editorial layout, with the harbour below the service story. */
.wealth-broker .content { width: 100%; max-width: 100%; position: relative; inset: auto; min-height: calc(100vh - 100px); background: #fff; }
.wealth-broker .inner-body { width: min(1120px, calc(100% - 80px)); height: auto; min-height: calc(100vh - 100px); margin: auto; padding: 36px 0; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 72px; align-items: center; }
.wealth-broker .l-logo, .wealth-broker .login-left-banner, .wealth-broker .wrap > .title { display: none; }
.wealth-broker .wealth-story { margin-top: 42px; }
.wealth-broker .wealth-scene { height: 300px; margin-top: 24px; border-radius: 0; }
.wealth-broker .wrap { position: static; transform: none; width: 100%; display: block; padding: 24px 0 24px 40px; background: #fff; border: 0; border-left: 1px solid var(--line); border-radius: 0; box-shadow: none; }
.wealth-broker .content-form { background: none; box-shadow: none; min-height: 0; text-align: left; }
.wealth-broker .content-form .login-type { margin-bottom: 25px; border-bottom: 1px solid var(--line); gap: 20px; flex-wrap: wrap; }
.wealth-broker .content-form .login-type span { height: 44px; line-height: 44px; flex: none; background: none; color: #756e63; font-size: 14px; border-radius: 0; }
.wealth-broker .content-form .login-type .active { color: #81512c; border-bottom: 2px solid #a27b41; }
.wealth-broker .content-form .form-item { width: 100%; left: 0; height: auto; line-height: normal; margin: 0 0 18px; }
.wealth-broker .content-form .login input { border: 1px solid var(--line); background-color: #fdfbf8; height: 50px; font-size: 15px; }
.wealth-broker .content-form .login .btn { width: 100%; margin: 8px 0 0; left: 0; height: 50px; line-height: 50px; border: 0; border-radius: 3px; background: #956239; color: white; font-size: 16px; cursor: pointer; }
.wealth-broker .sendVcode { width: 90px; height: 40px; line-height: 40px; margin-left: 0; bottom: 5px; top: auto !important; right: 8px !important; }
.wealth-broker .content-form .login input.verify { padding-right: 110px; }
.wealth-broker .foot-container { position: static; height: auto; min-height: 80px; background: transparent; border-top: 1px solid var(--line); padding: 22px; color: var(--muted); }

/* SaaS: a framed management workspace with a full-height photographic side panel. */
.wealth-saas .body { height: auto; min-height: 100vh; background: #fff; color: var(--ink); padding: 0; }
.wealth-saas .container-head { width: 100%; margin: auto; height: auto; min-height: calc(100vh - 100px); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); background: white; border: 0; border-radius: 0; overflow: hidden; box-shadow: none; }
.wealth-saas .wealth-intro { position: relative; padding: 48px clamp(28px, 5vw, 80px); background: #f3f1ec; overflow: hidden; display: flex; flex-direction: column; }
.wealth-saas .wealth-brand, .wealth-saas .wealth-story { position: relative; z-index: 1; }
.wealth-saas .wealth-brand img { width: 52px; height: 52px; }
.wealth-saas .wealth-story { margin-top: 70px; }
.wealth-saas h1 { font-size: 28px; }
.wealth-saas .wealth-description { max-width: 340px; color: #5f584e; }
.wealth-saas .wealth-scene { position: relative; inset: auto; height: 180px; margin-top: 40px; }
.wealth-saas .wealth-scene::after { display: none; }
.wealth-saas .wealth-scene img { object-position: 58% center; }
.wealth-saas .wealth-scene p { z-index: 1; bottom: 35px; left: 42px; }
.wealth-saas #login_form { display: flex; align-items: center; justify-content: center; padding: 60px; min-width: 0; }
.wealth-saas .bg, .wealth-saas .login-title, .wealth-saas .login-text { display: none; }
.wealth-saas .login { position: static; width: 100%; max-width: 360px; height: auto !important; box-shadow: none; border-radius: 0; }
.wealth-saas .login ul { display: flex; gap: 24px; width: 100%; padding: 0; border-bottom: 1px solid var(--line); margin-bottom: 26px; }
.wealth-saas .login li { float: none; width: auto; margin: 0; font-size: 14px; color: #756e63; }
.wealth-saas .login li.login-on { color: #81512c; border-bottom: 2px solid #a27b41 !important; }
.wealth-saas .form-item { width: 100%; margin: 0 0 18px !important; }
.wealth-saas .input-text { width: 100%; height: 50px; line-height: normal; padding: 0 42px; margin: 0; border: 1px solid var(--line); background: #fdfbf8; color: var(--ink); font-size: 15px; border-radius: 3px; }
.wealth-saas .userIcon, .wealth-saas .pwdIcon, .wealth-saas .verifyIcon { left: 14px; top: auto; bottom: 15px; }
.wealth-saas .delIcon { display: none; }
.wealth-saas #verify { padding-right: 115px; }
.wealth-saas #com_id { width: 100% !important; }
.wealth-saas img.verify { top: auto; bottom: 7px; left: auto; right: 8px; }
.wealth-saas #loginButton { width: 100%; margin: 8px 0 0; border-radius: 3px; height: 50px; font-size: 16px; }
.wealth-saas #loginButton.allowed { background: #85683e; color: #fff; }
.wealth-saas .container-foot { height: auto; width: min(1180px, 100%); margin: 24px auto 0; display: flex; justify-content: center; gap: 28px; }
.wealth-saas .adr { float: none; margin: 0; text-align: center; color: #72695c; font-size: 12px; }
.wealth-saas .adr p { margin: 3px 0; }
.wealth-saas .qrcode { float: none; margin: 0; }
@media (max-width: 1050px) {
 .wealth-broker .inner-body { gap: 40px; width: calc(100% - 48px); }
 .wealth-saas #login_form { padding: 32px; }
 .wealth-saas .wealth-intro { padding: 32px; }
}
@media (max-width: 900px) {
 .wealth-broker .inner-body { display: block; width: calc(100% - 36px); padding: 28px 0; }
 .wealth-broker .wealth-story { margin-top: 30px; }
 .wealth-broker .wealth-scene { height: 170px; margin-bottom: 26px; }
 .wealth-broker .wrap { padding: 28px 0; border-left: 0; border-top: 1px solid var(--line); }
 .wealth-login .wealth-brand strong { font-size: 21px; }
 .wealth-login .wealth-brand img { width: 48px; height: 48px; }
 .wealth-saas .body { padding: 0; }
 .wealth-saas .container-head { display: block; min-height: 0; }
 .wealth-saas .wealth-intro { min-height: 0; padding: 24px; }
 .wealth-saas .wealth-story { margin-top: 28px; }
 .wealth-saas .wealth-description, .wealth-saas .wealth-pillars, .wealth-saas .wealth-scene p { display: none; }
 .wealth-saas .wealth-scene::after { background: linear-gradient(180deg, #f2ebdf 5%, #f2ebdfdf 48%, #f2ebdf00 100%); }
 .wealth-saas h1 { font-size: 24px; }
 .wealth-saas #login_form { padding: 30px 24px; }
 .wealth-saas .container-foot { display: block; }
 .wealth-login .wealth-form-heading h2 { font-size: 23px; }
}

/* The legacy broker shell has a fixed desktop width; contain it at all viewports. */
.wealth-login .main-wrap { width: 100%; min-width: 0; }
.wealth-login .wealth-intro, .wealth-login .wrap { min-width: 0; }
.wealth-login .wealth-form-heading { margin-bottom: 28px; }
.wealth-login .wealth-form-heading h2 { font-size: 24px; font-weight: 500; }
.wealth-login .wealth-description { font-size: 14px; line-height: 1.9; }
.wealth-login .wealth-brand img { width: 52px; height: 52px; }
.wealth-login .wealth-brand { gap: 12px; }
.wealth-broker .content-form .btn { box-shadow: none; letter-spacing: 2px; }
.wealth-broker .content-form .login input { background-image: none; padding-left: 14px; }
.wealth-saas .userIcon, .wealth-saas .pwdIcon, .wealth-saas .verifyIcon { display: none; }
.wealth-saas .input-text { padding-left: 14px; }
.wealth-login .wealth-label { font-size: 13px; }
@media (max-width: 900px) {
 .wealth-login .wealth-brand strong { font-size: 20px; }
 .wealth-broker h1 { font-size: 25px; }
 .wealth-saas .wealth-scene { display: none; }
 .wealth-saas .wealth-story { margin-top: 20px; }
 .wealth-saas .wealth-story h1 { font: 15px/1.5 "Microsoft YaHei", sans-serif; color: #706a61; margin: 0; letter-spacing: 0; }
 .wealth-saas .container-foot { padding: 0 20px 20px; }
}

/* Desktop composition grows with the viewport; forms retain a readable line length. */
@media (min-width: 1100px) {
 .wealth-login .wealth-brand img { width: clamp(56px, 3.2vw, 76px); height: clamp(56px, 3.2vw, 76px); }
 .wealth-login .wealth-brand strong { font-size: clamp(24px, 1.35vw, 32px); }
 .wealth-login .wealth-brand { gap: 16px; }
 .wealth-login .wealth-story h1 { font-size: clamp(32px, 2.1vw, 48px); line-height: 1.5; }
 .wealth-login .wealth-description { max-width: 620px; font-size: clamp(15px, .88vw, 19px); line-height: 1.9; }
 .wealth-login .wealth-form-heading h2 { font-size: clamp(27px, 1.5vw, 34px); }
 .wealth-login .wealth-form-heading { margin-bottom: 38px; }
 .wealth-login .wealth-label { font-size: clamp(14px, .8vw, 17px); line-height: 1.6; margin-bottom: 10px; }
 .wealth-broker .inner-body { width: min(86%, 1760px); grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(56px, 5vw, 128px); padding: 60px 0; }
 .wealth-broker .wealth-story { margin-top: 44px; }
 .wealth-broker .wealth-scene { height: auto; aspect-ratio: 1424 / 848; margin-top: 32px; }
 .wealth-broker .wrap { padding: 32px 0 32px clamp(32px, 3vw, 72px); }
 .wealth-broker .content-form .login-type { gap: 28px; margin-bottom: 32px; }
 .wealth-broker .content-form .login-type span { font-size: clamp(15px, .85vw, 18px); height: 50px; line-height: 50px; }
 .wealth-broker .content-form .form-item { margin-bottom: 24px; }
 .wealth-broker .content-form .login input { height: clamp(52px, 3vw, 64px); font-size: clamp(16px, .88vw, 19px); padding-left: 18px; }
 .wealth-broker .content-form .login .btn { height: 58px; line-height: 58px; font-size: 18px; }
 .wealth-broker .sendVcode { bottom: 10px; }
 .wealth-login .wealth-password { bottom: 10px; right: 8px; }
 .wealth-saas .body { padding: clamp(32px, 4vh, 64px) 0 0; background: #faf9f6; }
 .wealth-saas .container-head { width: min(90%, 1760px); min-height: min(960px, calc(100vh - 150px)); grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); border: 1px solid #e8e3da; }
 .wealth-saas .wealth-intro { padding: clamp(36px, 3.2vw, 76px); justify-content: center; }
 .wealth-saas .wealth-story { margin-top: 56px; }
 .wealth-saas .wealth-scene { height: auto; aspect-ratio: 1424 / 848; margin-top: 36px; flex: none; }
 .wealth-saas #login_form { padding: clamp(40px, 4vw, 90px); }
 .wealth-saas .login { max-width: 480px; }
 .wealth-saas .login ul { gap: 32px; height: 51px; margin-bottom: 32px; }
 .wealth-saas .login li { font-size: clamp(15px, .85vw, 18px); height: 50px; line-height: 50px; }
 .wealth-saas .form-item { margin-bottom: 24px !important; }
 .wealth-saas .input-text { height: clamp(52px, 3vw, 64px); font-size: clamp(16px, .88vw, 19px); padding-left: 18px; }
 .wealth-saas img.verify { bottom: 14px; }
 .wealth-saas #loginButton { height: 58px; font-size: 18px; }
 .wealth-saas .container-foot { margin: 24px auto; }
 .wealth-login .adr, .wealth-login .foot-container { font-size: 13px; }
}
.wealth-login button, .wealth-login input[type="submit"], .wealth-login .login-type span, .wealth-login .login-tab li { transition: background-color .18s ease, color .18s ease, border-color .18s ease; }
.wealth-broker .content-form .login .btn:hover { background: #80522e; }
.wealth-saas #loginButton.allowed:hover { background: #715832; }
@media (prefers-reduced-motion: reduce) {
 .wealth-login button, .wealth-login input, .wealth-login .login-type span, .wealth-login .login-tab li { transition: none; }
}