:root { color: #10233f; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", sans-serif; background: #f4f8ff; }
* { box-sizing: border-box; }
body { min-width: 320px; min-height: 100vh; margin: 0; }
.login-shell { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(360px, .75fr); min-height: 100vh; }
.brand-panel { position: relative; display: flex; flex-direction: column; overflow: hidden; padding: 52px clamp(42px, 6vw, 96px) 84px; background: radial-gradient(circle at 75% 46%, rgba(51, 134, 255, .18), transparent 30%), linear-gradient(145deg, #edf5ff 0%, #fbfdff 65%, #e9f4ff 100%); }
.brand { position: relative; z-index: 1; display: flex; align-items: center; gap: 17px; }
.brand img { width: 66px; height: 66px; object-fit: contain; filter: drop-shadow(0 12px 24px rgba(35, 112, 255, .24)); }
.brand div { display: grid; gap: 2px; }
.brand strong { font-size: 29px; line-height: 1.1; letter-spacing: .05em; }
.brand small { color: #61799d; font-size: 13px; line-height: 1.5; letter-spacing: .14em; }
.brand-copy { position: relative; z-index: 1; max-width: 620px; margin: auto 0; padding: 70px 0; }
.brand-copy > span { display: inline-flex; align-items: center; color: #1265e9; font-size: 15px; font-weight: 850; line-height: 1.5; letter-spacing: .13em; }
.brand-copy h1 { margin: 16px 0 22px; color: #0b2458; font-size: clamp(42px, 5vw, 72px); line-height: 1.1; letter-spacing: -.055em; }
.brand-copy p { max-width: 560px; margin: 0; color: #506987; font-size: 15px; line-height: 1.9; }
.hero-mark { position: absolute; z-index: 0; top: 50%; right: 5%; width: min(34vw, 410px); height: min(34vw, 410px); object-fit: contain; opacity: .94; filter: drop-shadow(0 34px 48px rgba(31, 101, 221, .24)); transform: translateY(-50%); }
.security-points { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 10px; }
.security-points span { padding: 10px 13px; border: 1px solid #d5e3fa; border-radius: 10px; color: #244b7b; background: rgba(255,255,255,.76); box-shadow: 0 8px 22px rgba(31,91,176,.06); font-size: 12px; }
.login-panel { display: grid; place-items: center; padding: 42px; background: #fff; }
.login-card { width: min(100%, 420px); text-align: center; }
.login-card > small:first-of-type { color: #1a6de0; font-size: 10px; font-weight: 850; letter-spacing: .2em; }
.login-card h2 { margin: 10px 0 8px; color: #10233f; font-size: 29px; }
.login-card > p { margin: 0 auto 14px; color: #667a95; font-size: 13px; line-height: 1.75; }
.wecom-qr-shell { position: relative; width: 320px; height: 348px; margin: 0 auto 10px; overflow: hidden; border: 1px solid #d8e7f5; border-radius: 18px; background: linear-gradient(180deg, #f8fcff, #fff); box-shadow: 0 18px 40px rgba(27,87,155,.1); }
.wecom-login-panel, .wecom-login-panel iframe { position: relative; z-index: 2; display: block; width: 100%; height: 100%; border: 0; background: transparent; }
.qr-loading { position: absolute; z-index: 1; inset: 0; display: grid; place-items: center; color: #7890aa; font-size: 12px; }
.qr-loading.is-expired { z-index: 3; padding: 24px; background: rgba(248,252,255,.96); color: #49647f; font-size: 14px; font-weight: 700; text-align: center; }
.wecom-actions { display: flex; align-items: center; justify-content: center; gap: 6px; }
.wecom-button { display: inline-block; padding: 7px 10px; border: 0; border-radius: 8px; color: #2774c8; background: transparent; text-decoration: none; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.qr-expiry { display: block; min-height: 18px; color: #7890aa; font-size: 11px; text-align: center; }
.wecom-button:hover { color: #075dbd; background: #f0f7ff; }
.login-divider { display: flex; align-items: center; gap: 10px; margin: 18px 0 12px; color: #8a9aae; font-size: 10px; }
.login-divider::before, .login-divider::after { height: 1px; flex: 1; background: #e4ebf4; content: ""; }
.login-divider span { white-space: nowrap; }
.admin-button { display: block; padding: 12px 18px; border: 1px solid #c9d9ee; border-radius: 11px; color: #214b7b; background: #f8fbff; text-decoration: none; font-size: 13px; font-weight: 750; }
.admin-button:hover { border-color: #9ebce2; background: #eef5ff; }
.pending-note { display: grid; gap: 5px; margin-top: 22px; padding: 14px; border: 1px solid #d9e7f7; border-radius: 11px; color: #4c6380; background: #f6f9fe; text-align: left; }
.pending-note strong { color: #1b365c; font-size: 12px; }
.pending-note span { font-size: 11px; line-height: 1.7; }
.privacy-note { display: block; margin-top: 18px; color: #8a9aae; font-size: 10px; line-height: 1.6; }
footer { position: fixed; z-index: 10; bottom: 8px; left: 50%; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 7px 13px; border: 1px solid rgba(15,23,42,.1); border-radius: 999px; background: rgba(255,255,255,.92); box-shadow: 0 4px 16px rgba(15,23,42,.07); transform: translateX(-50%); backdrop-filter: blur(10px); }
footer a { display: inline-flex; align-items: center; gap: 4px; color: #64748b; text-decoration: none; white-space: nowrap; font-size: 12px; }
footer .public-security-record img { width: 15px; height: 15px; }
@media (max-width: 900px) { .login-shell { grid-template-columns: 1fr; } .brand-panel { display: none; } .login-panel { min-height: 100vh; padding: 28px; } }
@media (max-width: 620px) { footer { width: calc(100vw - 32px); flex-wrap: wrap; gap: 3px 10px; border-radius: 14px; } }
@media (max-width: 420px) { .login-panel { padding: 24px 18px 92px; } .wecom-qr-shell { width: min(100%, 320px); } .login-card h2 { font-size: 26px; } }
