.user-auth { margin: 0; min-height: 100vh; display: grid; place-items: center; padding: 40px 24px; box-sizing: border-box; background: var(--bg); color: var(--txt); font-family: "Segoe UI", "Microsoft YaHei", sans-serif; }
.auth-layout, .auth-layout * { box-sizing: border-box; }
.auth-layout { width: 100%; max-width: 1000px; display: grid; grid-template-columns: .95fr 1.05fr; border: 1px solid var(--card-bd); border-radius: 14px; overflow: hidden; background: var(--card); box-shadow: 0 18px 60px rgba(20,30,48,.09); }
.auth-brand-panel { background: var(--sidebar-bg); color: var(--sidebar-txt); display: flex; flex-direction: column; padding: 36px; }
.auth-brand { display: flex; align-items: center; gap: 12px; color: var(--sidebar-active-txt); font-size: 18px; font-weight: 700; }
.auth-brand:hover { color: var(--sidebar-active-txt); }
.auth-brand-icon { width: 42px; height: 44px; border-radius: 10px; background: var(--sidebar-active); display: grid; place-items: center; color: var(--sidebar-accent); }
.auth-brand-icon i { font-size: 27px; }
.auth-brand small { display: block; font-size: 11px; color: var(--sidebar-muted); font-weight: 400; letter-spacing: 2px; margin-top: 4px; }
.auth-intro { margin: auto 0; padding: 54px 0; }
.auth-eyebrow { color: var(--sidebar-accent); font-size: 12px; letter-spacing: 2px; margin-bottom: 18px; }
.auth-intro h1 { font-size: 29px; line-height: 1.65; letter-spacing: -.5px; color: var(--sidebar-active-txt); margin-bottom: 18px; }
.auth-intro > p { color: var(--sidebar-muted); font-size: 13px; line-height: 1.9; }
.auth-features { display: grid; gap: 22px; margin-top: 38px; }
.auth-features li { display: flex; align-items: center; gap: 15px; font-size: 13px; }
.auth-features i { font-size: 21px; color: var(--sidebar-accent); }
.auth-features small { display: block; margin-top: 4px; font-size: 11px; color: var(--sidebar-muted); }
.auth-brand-back { font-size: 12px; color: var(--sidebar-muted); }
.auth-brand-back:hover { color: var(--sidebar-active-txt); }
.auth-brand-back span { float: right; }
.auth-card { padding: 40px 44px 32px; min-width: 0; }
.auth-kicker { font-size: 11px; letter-spacing: 2px; color: var(--txt-sub); }
.auth-heading h2 { font-size: 27px; margin: 9px 0 8px; font-weight: 650; }
.auth-heading p { font-size: 12px; color: var(--txt-sub); line-height: 1.7; }
.auth-tabs { display: flex; padding: 4px; gap: 4px; margin: 25px 0; background: var(--soft-bg); border: 1px solid var(--line); border-radius: 8px; }
.auth-tab { flex: 1; border: 0; padding: 10px; border-radius: 5px; background: transparent; color: var(--txt-sub); cursor: pointer; font-size: 13px; }
.auth-tab.active { background: var(--card); color: var(--pri); box-shadow: 0 1px 4px rgba(20,30,48,.08); font-weight: 600; }
.field { margin-bottom: 19px; }
.field-label { display: block; font-size: 13px; color: var(--txt); margin-bottom: 8px; }
.field input { width: 100%; height: 44px; padding: 0 13px; border: 1px solid var(--input-bd); border-radius: 6px; color: var(--txt); background: var(--field-bg); font-size: 13px; outline: none; }
.field input:focus { border-color: var(--pri); box-shadow: 0 0 0 3px var(--ring); }
.field input::placeholder { color: var(--txt-sub); opacity: .75; }
.row-between { display: flex; justify-content: flex-start; margin: 0 0 22px; }
.remember { display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--txt-sub); cursor: pointer; }
.remember input { accent-color: var(--pri); width: 15px; height: 15px; }
.submit-btn { width: 100%; height: 44px; border: 0; border-radius: 6px; background: var(--pri); color: var(--on-pri); font-size: 14px; font-weight: 600; cursor: pointer; }
.submit-btn:hover { background: var(--pri-dark); }
.submit-btn:disabled { opacity: .6; cursor: wait; }
.switch-line { margin-top: 22px; text-align: center; font-size: 12px; color: var(--txt-sub); }
.switch-line button { border: 0; padding: 4px; background: transparent; color: var(--pri); cursor: pointer; font-size: inherit; }
.notice { display: none; margin-bottom: 18px; padding: 10px 12px; border: 1px solid var(--danger-bd); border-radius: 6px; background: var(--danger-bg); color: var(--danger); font-size: 12px; }
.auth-layout .hidden { display: none; }
.auth-layout button:focus-visible, .auth-layout a:focus-visible { outline: 2px solid var(--pri); outline-offset: 3px; }
@media (max-width: 720px) {
    .user-auth { padding: 20px 14px; }
    .auth-layout { grid-template-columns: 1fr; max-width: 460px; }
    .auth-brand-panel { padding: 22px 26px; }
    .auth-intro { display: none; }
    .auth-brand-back { margin-top: 18px; }
    .auth-card { padding: 28px 26px; }
    .auth-heading h2 { font-size: 24px; }
}
@media (prefers-reduced-motion: no-preference) { .auth-tab, .submit-btn, .field input { transition: background .15s, border-color .15s; } }
