* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body.lima-login-page { min-height: 100vh; display: flex; flex-direction: column; color: #292929; background: #fff; font-family: "PingFang SC", "Microsoft YaHei", sans-serif; font-size: 14px; -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible { outline: 2px solid #bd2631; outline-offset: 4px; }
[hidden] { display: none !important; }
.svg-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 21px; height: 21px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.brand-header { height: 92px; flex-shrink: 0; padding: 16px 5.1%; display: flex; align-items: center; gap: 30px; border-bottom: 1px solid #efeded; }
.brand-logo { display: flex; align-items: center; min-width: 0; }
.brand-logo img { display: block; width: auto; height: auto; max-width: 220px; max-height: 64px; object-fit: contain; }
.brand-logo span { font-size: 25px; font-weight: 700; }
.brand-logo .logo-caption { margin-left: 12px; }
.brand-divider { width: 1px; height: 32px; background: #dedede; }
.platform-name { color: #666; font-size: 16px; letter-spacing: 1px; }
.login-layout { flex: 1; display: grid; grid-template-columns: 55% 45%; min-height: 710px; }
.brand-panel { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: 58px 9% 34px 9.3%; background: linear-gradient(128deg, #fcf9f9 35%, #faf4f4 67%, #f1e1e2 100%); }
.brand-copy, .brand-features { position: relative; z-index: 1; }
.eyebrow { display: flex; align-items: center; gap: 11px; color: #9c3a40; font-size: 14px; letter-spacing: 2px; margin: 0 0 32px; }
.eyebrow::before { content: ""; width: 23px; height: 2px; background: #c12630; }
.brand-copy h1 { margin: 0; font-size: clamp(44px, 4.1vw, 62px); font-weight: 700; line-height: 1.48; letter-spacing: 1px; }
.brand-copy h1 em { font-style: normal; color: #bf2530; }
.brand-description { margin: 24px 0 0; max-width: 330px; white-space: pre-line; line-height: 2; color: #767070; font-size: 16px; }
.service-link { display: inline-flex; align-items: center; gap: 28px; padding: 0 0 10px; margin-top: 31px; border-bottom: 1px solid #dbc8c9; color: #9c3038; }
.service-link:hover { color: #c12630; border-color: currentColor; }
.brand-orbit { position: absolute; width: 610px; height: 550px; right: -95px; bottom: 105px; pointer-events: none; }
.brand-orbit::before, .brand-orbit::after { content: ""; position: absolute; border: 1px solid rgba(179, 65, 78, .08); border-radius: 50%; }
.brand-orbit::before { width: 570px; height: 570px; top: -18px; right: -12px; }
.brand-orbit::after { width: 420px; height: 420px; top: 57px; right: 63px; }
/* 沿用设计稿对完整 logo 的图形部分取景，不放大旧的小尺寸图标。 */
.brand-symbol { position: absolute; width: 425px; height: 510px; right: 42px; bottom: 5px; overflow: hidden; opacity: .075; transform: rotate(-12deg); }
.brand-symbol img { position: absolute; top: 0; left: 0; width: 1480px; max-width: none; height: auto; }
/* 独立品牌图标完整适配容器，不沿用横版组合 logo 的裁切方式。 */
.brand-symbol[data-fit="contain"] img { width: 100%; height: 100%; object-fit: contain; }
.brand-features { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #eadddf; padding-top: 30px; margin-top: 65px; }
.brand-feature { padding: 0 25px; border-left: 1px solid #eadddf; }
.brand-feature:first-child { padding-left: 0; border-left: 0; }
.brand-feature .icon { color: #af6069; }
.brand-feature h2 { font-size: 15px; font-weight: 400; margin: 13px 0 9px; color: #584f50; }
.brand-feature p { font-size: 13px; margin: 0; color: #918486; }
.form-panel { display: flex; align-items: center; justify-content: center; padding: 52px 48px 30px; }
.login-card { width: 100%; max-width: 386px; }
.welcome-mark { width: 28px; height: 4px; background: #bf2530; border-radius: 2px; margin-bottom: 22px; }
.welcome-en { color: #929292; font-size: 10px; letter-spacing: 3px; margin: 0 0 14px; }
.login-card h2 { font-size: 30px; line-height: 1.5; margin: 0 0 6px; font-weight: 600; letter-spacing: .5px; }
.login-subtitle { color: #939393; font-size: 16px; margin: 0 0 27px; }
.login-tabs { display: flex; gap: 32px; border-bottom: 1px solid #e9e9e9; margin-bottom: 23px; }
.login-tab { border: 0; border-bottom: 2px solid transparent; padding: 0 0 18px; margin-bottom: -1px; background: none; color: #929292; white-space: nowrap; font-size: 16px; }
.login-tab.active { color: #bc2631; border-color: #bc2631; font-weight: 600; }
.field { margin-bottom: 19px; }
.field label { display: block; margin-bottom: 9px; color: #555; font-size: 14px; }
.required { color: #bf2530; }
.input-wrap { display: flex; align-items: center; gap: 15px; padding: 0 15px; position: relative; height: 52px; border: 1px solid #dedede; border-radius: 6px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.input-wrap:focus-within { border-color: #b95a62; box-shadow: 0 0 0 3px rgba(193, 38, 48, .06); }
.input-wrap > .icon { color: #a5a5aa; }
/* 留白由外层承担，避免浏览器自动填充底色覆盖图标间距。 */
.input-wrap input { flex: 1 1 0%; min-width: 0; width: 100%; height: 100%; padding: 0; border: 0; outline: 0; background: transparent; color: #333; }
.input-wrap input::placeholder { color: #aaa; }
.password-toggle { flex: 0 0 46px; width: 46px; height: 46px; margin: 0 -12.5px; padding: 0; display: flex; align-items: center; justify-content: center; border: 0; background: transparent; color: #9a9aa0; border-radius: 4px; }
.password-toggle:hover { color: #bf2530; }
.password-toggle[aria-pressed="true"] .eye-slash { display: none; }
.captcha-row { display: grid; grid-template-columns: minmax(0, 1fr) 122px; gap: 12px; }
.captcha-refresh { display: flex; justify-content: center; align-items: center; gap: 4px; height: 52px; border: 1px solid #dedede; border-radius: 6px; padding: 0 7px; overflow: hidden; background: #fff; color: #a28b90; }
.captcha-refresh:hover { border-color: #b95a62; color: #bc2631; }
.captcha-image { display: block; flex: 0 0 86px; width: 86px; height: 38px; overflow: hidden; }
.verify-img { display: block; width: 100%; height: 100%; object-fit: contain; visibility: hidden; }
.verify-img.is-ready { visibility: visible; }
.captcha-refresh.is-loading { cursor: wait; }
.captcha-refresh-icon { width: 14px; height: 14px; }
.field select { width: 100%; height: 48px; border: 1px solid #dedede; border-radius: 6px; padding: 0 12px; background: white; }
.login-submit { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; height: 54px; border: 0; border-radius: 6px; color: #fff; background: #c5232d; margin-top: 41px; font-size: 16px; letter-spacing: 4px; box-shadow: 0 4px 12px rgba(184, 30, 42, .11); transition: background .15s; }
.login-submit > span:last-child { position: absolute; right: 20px; letter-spacing: 0; opacity: .8; }
.login-submit:hover { background: #b51f28; }
.login-submit:disabled { cursor: wait; opacity: .7; }
.trust-note { margin: 40px 0 0; display: flex; align-items: center; justify-content: center; gap: 7px; color: #999; font-size: 12px; }
.trust-note .icon { width: 16px; height: 16px; }
#guest-fields { min-height: 230px; padding-top: 22px; line-height: 2; color: #777; }
.customer-service { margin-top: 20px; text-align: center; color: #777; }
.customer-service img { display: block; width: 110px; height: auto; margin: 10px auto; }
.login-footer { flex-shrink: 0; padding: 19px 24px; min-height: 112px; background: #faf9fa; border-top: 1px solid #eee9ec; color: #807880; text-align: center; font-size: 12px; line-height: 1.75; letter-spacing: .1px; }
.login-footer p { margin: 4px 0; }
.login-footer a { margin: 0 4px; }
.login-footer a:hover { color: #b3313a; text-decoration: underline; text-underline-offset: 3px; }
.login-footer .privacy-link { color: #b3313a; }
.footer-separator { margin: 0 5px; color: #c7bec5; }
.public-security { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; }
.public-security img { width: 16px; height: 16px; margin-right: 5px; }
.footer-qrcode { width: 90px; height: auto; margin-top: 8px; }
@media (min-width: 1600px) {
    .brand-panel { padding-left: 13%; padding-right: 13%; }
    .brand-orbit { right: -60px; bottom: 110px; }
    .brand-copy h1 { font-size: 72px; }
    .brand-features { max-width: 530px; }
    .login-card { max-width: 410px; }
}
@media (max-width: 1100px) {
    .brand-header { height: 82px; padding: 13px 4%; gap: 22px; }
    .brand-logo img { max-width: 190px; max-height: 56px; }
    .login-layout { grid-template-columns: 50% 50%; min-height: 670px; }
    .brand-panel { padding: 48px 8% 32px; }
    .brand-orbit { right: -170px; }
    .brand-copy h1 { font-size: 44px; }
    .brand-feature { padding: 0 14px; }
    .form-panel { padding: 40px 32px 30px; }
    .login-tabs { gap: 24px; }
    .login-tab { font-size: 14px; }
}
@media (max-width: 760px) {
    .brand-header { height: 76px; gap: 15px; padding: 12px 24px; }
    .brand-logo img { max-width: 150px; max-height: 48px; }
    .brand-logo span { font-size: 20px; }
    .brand-divider { height: 25px; }
    .platform-name { font-size: 12px; letter-spacing: 0; }
    .login-layout { display: block; min-height: 0; }
    .brand-panel { display: none; }
    .form-panel { padding: 38px 24px; }
    .login-card h2 { font-size: 28px; }
    .trust-note { margin-top: 28px; }
    .login-footer { padding: 15px 18px; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
