/* 认证页（登录 / 注册 / 找回密码）专用样式 · 20261115-auth1
   只被 console/login 下三张页面引用，不依赖 bootstrap / ylb.css，不影响其他页面。 */
:root{--brand:#3157d5;--brand-dark:#2445b8;--brand-deep:#1c379c;--brand-soft:#edf2ff;--brand-line:#d6e0fb;--ink:#101828;--text:#344054;--muted:#667085;--line:#d0d5dd;--line-2:#e4e7ec;--bg:#f7f8fb;--green:#12b76a;--red:#d92d20}
*{box-sizing:border-box}
html,body{height:100%}
body{margin:0;color:var(--text);background:#fff;font-family:"PingFang SC","Microsoft YaHei",system-ui,-apple-system,sans-serif;font-size:15px;line-height:1.6;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
svg.i{width:20px;height:20px;flex:0 0 auto;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
[hidden]{display:none!important}

.shell{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);min-height:100vh}

/* 左侧品牌区 */
.brand{position:relative;display:flex;flex-direction:column;padding:44px 56px 40px;background:var(--brand-dark);color:#fff;overflow:hidden}
.brand:before{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.06) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.06) 1px,transparent 1px);background-size:44px 44px;pointer-events:none}
.brand:after{content:"";position:absolute;right:-140px;bottom:-140px;width:420px;height:420px;border:64px solid rgba(255,255,255,.05);border-radius:50%;pointer-events:none}
.brand>*{position:relative;z-index:1}
.b-logo{display:flex;align-items:center;gap:12px;font-size:20px;font-weight:800;letter-spacing:.02em}
.b-logo svg{width:40px;height:37px}
.b-main{margin:auto 0;padding:48px 0 32px;max-width:520px}
.b-eyebrow{display:inline-flex;align-items:center;gap:8px;padding:5px 12px;border:1px solid rgba(255,255,255,.22);border-radius:999px;background:rgba(255,255,255,.08);font-size:13px;font-weight:500}
.b-eyebrow i{width:6px;height:6px;border-radius:50%;background:#7cf0b4}
.brand h1{margin:20px 0 16px;font-size:42px;line-height:1.25;font-weight:800;letter-spacing:-.01em}
.brand h1 span{color:#c7d4ff}
.b-intro{margin:0;color:rgba(255,255,255,.8);font-size:16px;line-height:1.85}

/* 登录页：小型界面示意 */
.b-card{margin-top:36px;padding:16px;border:1px solid rgba(255,255,255,.16);border-radius:16px;background:rgba(255,255,255,.08);backdrop-filter:blur(6px)}
.b-card-h{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px;font-size:13px;color:rgba(255,255,255,.75)}
.b-card-h small{padding:1px 8px;border-radius:999px;background:rgba(255,255,255,.12);font-size:11px}
.b-row{display:flex;align-items:center;gap:12px;padding:11px 12px;border-radius:10px;background:#fff;color:var(--ink);font-size:13.5px}
.b-row+.b-row{margin-top:8px}
.b-row .ic{display:flex;width:32px;height:32px;align-items:center;justify-content:center;border-radius:8px;background:var(--brand-soft);color:var(--brand)}
.b-row .ic svg.i{width:17px;height:17px}
.b-row b{font-weight:600}
.b-row span{color:var(--muted);font-size:12px}
.b-row em{margin-left:auto;padding:1px 9px;border-radius:999px;background:#ecfdf3;color:#067647;font-size:11.5px;font-style:normal;font-weight:600}
.b-feats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:28px}
.b-feats div{font-size:13px;color:rgba(255,255,255,.72);line-height:1.7}
.b-feats svg.i{display:block;width:22px;height:22px;margin-bottom:8px;color:#c7d4ff}
.b-feats strong{display:block;color:#fff;font-size:14.5px}

/* 注册 / 找回：流程步骤卡 */
.b-card.b-flow{padding:20px 22px 6px}
.b-flow .b-card-h{margin-bottom:16px}
.b-step{position:relative;display:flex;gap:16px;padding-bottom:18px}
.b-step:not(:last-child):before{content:"";position:absolute;left:17px;top:40px;bottom:2px;width:2px;border-radius:2px;background:rgba(255,255,255,.18)}
.b-step .n{display:flex;width:36px;height:36px;flex:0 0 auto;align-items:center;justify-content:center;border-radius:10px;background:#fff;color:var(--brand);font-size:14px;font-weight:800}
.b-step strong{display:block;color:#fff;font-size:15.5px;line-height:1.4}
.b-step p{margin:3px 0 0;color:rgba(255,255,255,.72);font-size:13.5px;line-height:1.6}
.b-note{display:flex;gap:8px;align-items:center;margin:0;color:rgba(255,255,255,.6);font-size:13px}
.b-note svg.i{width:16px;height:16px}
.auth-find .b-note{color:rgba(255,255,255,.7)}

/* 右侧表单区 */
.panel{display:flex;flex-direction:column;padding:32px 48px;background:#fff}
.p-top{display:flex;justify-content:space-between;align-items:center;font-size:14px;color:var(--muted)}
.p-top a{display:inline-flex;align-items:center;gap:6px;color:var(--text);font-weight:500}
.p-top a:hover{color:var(--brand)}
.p-top a svg.i{width:16px;height:16px}
.p-top .reg a{color:var(--brand);font-weight:600}
.form-wrap{width:100%;max-width:400px;margin:auto}
.auth-reg .form-wrap{max-width:460px;padding:28px 0}
.auth-find .form-wrap{max-width:420px;padding:28px 0}
.m-logo{display:none}
.f-head h2{margin:0;color:var(--ink);font-size:30px;font-weight:800;letter-spacing:-.01em}
.f-head p{margin:8px 0 0;color:var(--muted);font-size:15px}

/* 操作反馈 */
.result{margin-top:22px}.result:empty{display:none}
.result div{display:flex;gap:10px;align-items:flex-start;padding:11px 14px;border-radius:10px;font-size:14px}
.result .error{border:1px solid #fecdca;background:#fef3f2;color:#b42318}
.result .success{border:1px solid #abefc6;background:#ecfdf3;color:#067647}
.result svg.i{width:18px;height:18px;margin-top:1px}
.auth-find .result{margin-top:18px}

/* 表单控件 */
form{margin-top:24px}
.auth-find form{margin-top:22px}
.field+.field{margin-top:18px}
.row2{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.row2>.field+.field{margin-top:0}
.form-body>*+*{margin-top:18px}
.dhm-inp:empty{display:none}
.field label{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:7px;color:var(--ink);font-size:14px;font-weight:600}
.field label a{color:var(--brand);font-weight:500}
.field label a:hover{text-decoration:underline}
.field label small{color:var(--muted);font-size:12.5px;font-weight:500}
.ctrl{position:relative;display:flex;align-items:center}
.ctrl>svg.i{position:absolute;left:14px;width:18px;height:18px;color:#98a2b3;pointer-events:none}
.ctrl input,.ctrl select{width:100%;height:48px;padding:0 14px 0 42px;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--ink);font:inherit;font-size:15px;outline:none;transition:border-color .15s,box-shadow .15s}
.ctrl input::placeholder{color:#98a2b3}
.ctrl input:hover,.ctrl select:hover{border-color:#b9c2d0}
.ctrl input:focus,.ctrl select:focus{border-color:var(--brand);box-shadow:0 0 0 4px rgba(49,87,213,.12)}
.ctrl input.err{border-color:#fda29b}
.ctrl input.err:focus{box-shadow:0 0 0 4px rgba(217,45,32,.1)}
.ctrl input.ok{border-color:#75e0a7}
.ctrl input[readonly]{border-color:var(--line-2);background:#f9fafb;color:var(--text)}
.ctrl input[readonly]:focus{box-shadow:none}
.ctrl select{padding-right:38px;-webkit-appearance:none;appearance:none;cursor:pointer;text-overflow:ellipsis}
.ctrl select:invalid{color:#98a2b3}
.ctrl select option{color:var(--ink)}
.ctrl .chev{position:absolute;right:13px;left:auto;width:16px;height:16px;color:var(--muted);pointer-events:none}
.ctrl .pw-input{padding-right:64px}
.toggle{position:absolute;right:6px;height:36px;padding:0 12px;border:0;border-radius:8px;background:transparent;color:var(--muted);font:inherit;font-size:13px;font-weight:600;cursor:pointer}
.toggle:hover{background:var(--bg);color:var(--brand)}
.hint{display:flex;gap:5px;align-items:center;margin:7px 0 0;color:var(--muted);font-size:12.5px;line-height:1.5}
.hint svg.i{width:14px;height:14px}
.hint.err{color:var(--red)}
.hint.ok{color:#067647}
.notice{display:flex;gap:10px;margin-bottom:0;padding:11px 14px;border:1px solid var(--brand-line);border-radius:10px;background:var(--brand-soft);color:var(--brand-deep);font-size:13px;line-height:1.6}
.notice svg.i{width:17px;height:17px;margin-top:1px;color:var(--brand)}

/* 主按钮 */
.submit{display:flex;width:100%;height:48px;margin-top:26px;align-items:center;justify-content:center;gap:8px;border:0;border-radius:10px;background:var(--brand);color:#fff;font:inherit;font-size:16px;font-weight:700;cursor:pointer;box-shadow:0 1px 2px rgba(16,24,40,.06),0 8px 20px rgba(49,87,213,.24);transition:background .15s}
.submit:hover{background:var(--brand-dark);color:#fff}
.submit[disabled]{background:#8aa1e8;box-shadow:none;cursor:default}
.auth-find .submit{margin-top:22px}
.spin{width:16px;height:16px;border:2px solid rgba(255,255,255,.45);border-top-color:#fff;border-radius:50%;animation:spin .7s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}

/* 登录页：注册入口 */
.alt{display:flex;align-items:center;gap:12px;margin:28px 0 18px;color:#98a2b3;font-size:13px}
.alt:before,.alt:after{content:"";flex:1;border-top:1px solid var(--line-2)}
.reg-btn{display:flex;width:100%;height:46px;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:10px;color:var(--ink);font-size:15px;font-weight:600;transition:.15s}
.reg-btn:hover{border-color:var(--brand-line);background:#fafbff;color:var(--brand)}
.tip{display:flex;gap:8px;margin:22px 0 0;color:var(--muted);font-size:13px}
.tip svg.i{width:16px;height:16px;margin-top:2px;color:#98a2b3}

/* 表单下方链接 */
.links{display:flex;justify-content:space-between;align-items:center;margin-top:20px;color:var(--muted);font-size:14px}
.links a{display:inline-flex;align-items:center;gap:6px;color:var(--brand);font-weight:600}
.links a svg.i{width:16px;height:16px}
.links a:hover{text-decoration:underline}
.auth-find .links{justify-content:center}

/* 找回密码：三步进度 */
.steps{display:flex;align-items:center;margin-top:26px;padding:14px 16px;border:1px solid var(--line-2);border-radius:12px;background:var(--bg)}
.st{display:flex;align-items:center;gap:8px;color:#98a2b3;font-size:13.5px;font-weight:600;white-space:nowrap}
.st i{display:flex;width:26px;height:26px;align-items:center;justify-content:center;border:1.5px solid var(--line);border-radius:50%;background:#fff;font-size:12.5px;font-style:normal}
.st i svg.i{width:14px;height:14px;stroke-width:2.6}
.st.cur{color:var(--ink)}
.st.cur i{border-color:var(--brand);background:var(--brand);color:#fff;box-shadow:0 0 0 4px rgba(49,87,213,.14)}
.st.done{color:var(--text)}
.st.done i{border-color:var(--brand);background:var(--brand-soft);color:var(--brand)}
.st-line{flex:1;min-width:14px;height:2px;margin:0 10px;border-radius:2px;background:var(--line-2)}
.st-line.done{background:var(--brand)}
.q-tag{display:inline-block;margin-right:6px;padding:0 7px;border-radius:6px;background:var(--brand-soft);color:var(--brand);font-size:12px;font-weight:600;line-height:20px;vertical-align:1px}
.ready .reveal{animation:reveal .25s ease-out}
@keyframes reveal{from{opacity:0;transform:translateY(-4px)}}

/* 找回密码：已核对的账号信息（第 2、3 步收起为一行） */
.verified{display:flex;align-items:center;gap:12px;padding:12px 14px;border:1px solid #abefc6;border-radius:10px;background:#f6fef9}
.verified>svg.i{width:20px;height:20px;color:var(--green)}
.verified div{flex:1;min-width:0;line-height:1.45}
.verified b{display:block;overflow:hidden;color:var(--ink);font-size:14.5px;text-overflow:ellipsis;white-space:nowrap}
.verified span{display:block;overflow:hidden;color:var(--muted);font-size:13px;text-overflow:ellipsis;white-space:nowrap}
.verified a{flex:0 0 auto;color:var(--brand);font-size:13.5px;font-weight:600}
.verified a:hover{text-decoration:underline}
.verified:not([hidden])+.field{margin-top:18px}

/* 找回密码：状态提示条 */
.hbar{display:flex;gap:10px;align-items:flex-start;margin:18px 0 0;padding:11px 14px;border:1px solid var(--brand-line);border-radius:10px;background:var(--brand-soft);color:var(--brand-deep);font-size:13.5px;line-height:1.6}
.hbar svg.i{width:17px;height:17px;margin-top:2px}
.hbar .spin-b{width:15px;height:15px;margin:3px 1px 0;flex:0 0 auto;border:2px solid var(--brand-line);border-top-color:var(--brand);border-radius:50%;animation:spin .7s linear infinite}
.hbar[data-state=success]{border-color:#abefc6;background:#ecfdf3;color:#067647}
.hbar[data-state=error]{border-color:#fecdca;background:#fef3f2;color:#b42318}

/* 找回密码：完成状态 */
.finish{margin-top:26px;padding:32px 24px 26px;border:1px solid var(--line-2);border-radius:14px;text-align:center}
.finish .big{display:inline-flex;width:60px;height:60px;align-items:center;justify-content:center;border-radius:50%;background:#ecfdf3;color:var(--green);box-shadow:0 0 0 8px #f6fef9}
.finish .big svg.i{width:30px;height:30px;stroke-width:2.2}
.finish h3{margin:20px 0 6px;color:var(--ink);font-size:20px;font-weight:800}
.finish p{margin:0;color:var(--muted);font-size:14.5px}
.finish .submit{margin-top:24px;text-decoration:none}

.p-foot{display:flex;justify-content:space-between;color:#98a2b3;font-size:13px}
.p-foot a:hover{color:var(--brand)}

@media(min-width:1600px){
  .brand{padding:56px clamp(80px,6vw,140px) 48px}.b-logo{font-size:22px}.b-logo svg{width:46px;height:42px}.b-main{max-width:680px}.b-eyebrow{font-size:14px}.brand h1{font-size:clamp(52px,3.2vw,64px)}.b-intro{font-size:18px}
  .b-card{padding:20px}.b-row{padding:14px 16px;font-size:15px}.b-feats{gap:24px;margin-top:36px}.b-feats div{font-size:14px}.b-feats strong{font-size:16px}
  .b-card.b-flow{padding:24px 28px 8px}.b-step{gap:18px;padding-bottom:22px}.b-step .n{width:40px;height:40px}.b-step:not(:last-child):before{left:19px;top:44px}.b-step strong{font-size:17px}.b-step p{font-size:14.5px}
  .panel{padding:40px 64px}.form-wrap{max-width:460px}.auth-reg .form-wrap{max-width:540px}.auth-find .form-wrap{max-width:480px}
  .f-head h2{font-size:36px}.f-head p{font-size:16px}.ctrl input,.ctrl select,.submit{height:54px;font-size:16px}.reg-btn{height:52px}.row2{gap:16px}
  .steps{padding:16px 20px}.st{font-size:14.5px}.st i{width:28px;height:28px}
}
@media(max-width:1100px){.brand{padding:40px}.brand h1{font-size:34px}.b-feats{grid-template-columns:1fr}.panel{padding:28px 32px}}
@media(max-width:860px){
  .shell{grid-template-columns:1fr}.brand{display:none}
  .panel{min-height:100vh;padding:20px 20px calc(20px + env(safe-area-inset-bottom));background:var(--bg)}
  .form-wrap,.auth-reg .form-wrap,.auth-find .form-wrap{margin:20px auto;padding:28px 22px;border:1px solid var(--line-2);border-radius:16px;background:#fff;box-shadow:0 8px 28px rgba(16,24,40,.06)}
  .m-logo{display:block;margin-bottom:22px}.m-logo img{display:block;height:44px;margin-left:-6px}
  .f-head h2{font-size:26px}.steps{background:#fff}
  .p-top .reg{display:none}.p-foot{justify-content:center}.p-foot a{display:none}
}
@media(max-width:560px){.row2{grid-template-columns:1fr;gap:18px}}
@media(max-width:480px){.steps{padding:12px}.st:not(.cur) b{display:none}.st-line{margin:0 8px}}
@media(prefers-reduced-motion:reduce){.ready .reveal{animation:none}}
