@charset "utf-8";
/*!
 * bh-guide.css — 页面操作指引样式
 * 兼容约束（重要）：不使用 CSS 变量 / flexbox / gap / :is() —— IE11 全部不支持。
 * 全部色值写死字面量，改主题只需替换本文件的 4 个主色。
 * 主色： #1a4f8f 主蓝 / #b45309 提醒橙 / #0f172a 文字 / #e6edf7 描边
 */

/* ============ 容器：不要拦截页面点击 ============ */
.bhg-root {
  position: static;
  pointer-events: none;
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.7;
  color: #0f172a;
}

/* ============ 聚光灯：box-shadow 撑出暗场，中间留亮区 ============ */
.bhg-mask {
  position: fixed;
  z-index: 100000;
  pointer-events: none;
  box-shadow: 0 0 0 9999px rgba(15, 23, 42, 0.58);
  border-radius: 10px;
  transition: left .28s ease, top .28s ease, width .28s ease, height .28s ease;
}
.bhg-mask-full { box-shadow: 0 0 0 9999px rgba(15, 23, 42, 0.62); }

/* 呼吸光圈：帮助眼球快速锁定目标 */
.bhg-ring {
  position: fixed;
  z-index: 100001;
  pointer-events: none;
  border-radius: 10px;
  border: 2px solid #f59e0b;
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.28);
  transition: left .28s ease, top .28s ease, width .28s ease, height .28s ease;
  -webkit-animation: bhgPulse 1.6s ease-in-out infinite;
  animation: bhgPulse 1.6s ease-in-out infinite;
}
@-webkit-keyframes bhgPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .45; }
}
@keyframes bhgPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .45; }
}

/* ============ 说明卡片 ============ */
.bhg-tip {
  position: fixed;
  z-index: 100002;
  box-sizing: border-box;
  width: 396px;
  max-width: 396px;
  background: #ffffff;
  border: 1px solid #e6edf7;
  border-radius: 14px;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.22), 0 2px 6px rgba(15, 23, 42, 0.08);
  pointer-events: auto;
  overflow: hidden;
}
.bhg-tip * { box-sizing: border-box; }
/* 量尺寸阶段：不可见但可测量 */
.bhg-measure { visibility: hidden; }
/* 窄屏底部卡片 */
.bhg-sheet { width: auto !important; max-width: none !important; border-radius: 16px; }

.bhg-tip-head {
  padding: 13px 14px 11px 15px;
  border-bottom: 1px solid #eef2f8;
  background: #f8fafd;
  overflow: hidden;
}
.bhg-badge {
  display: none;
  float: left;
  margin: 2px 7px 0 0;
  padding: 1px 7px;
  border-radius: 4px;
  background: #b45309;
  color: #ffffff;
  font-size: 11px;
  line-height: 17px;
  letter-spacing: .5px;
}
.bhg-tip-title {
  display: block;
  padding-right: 26px;
  font-size: 15.5px;
  font-weight: 700;
  line-height: 22px;
  color: #0f172a;
}
.bhg-iconbtn {
  position: absolute;
  top: 9px;
  right: 9px;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #94a3b8;
  font-size: 18px;
  line-height: 22px;
  cursor: pointer;
  font-family: inherit;
}
.bhg-iconbtn:hover { background: #eef2f8; color: #475569; }

/* 动作提示条：一句话告诉用户"现在要做什么动作" */
.bhg-act {
  display: none;
  padding: 8px 15px;
  background: #eef5ff;
  border-bottom: 1px solid #dbe8fa;
  color: #1a4f8f;
  font-size: 13px;
  line-height: 20px;
  font-weight: 600;
}
.bhg-act.on { display: block; }
.bhg-act-ico {
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 6px;
  border-radius: 4px;
  background: #1a4f8f;
  color: #ffffff;
  font-size: 12px;
  line-height: 20px;
  text-align: center;
  font-weight: 700;
  vertical-align: middle;
}
.bhg-inline-tip {
  margin: 0 0 8px;
  padding: 8px 10px;
  border-radius: 8px;
  background: #fff8eb;
  border-left: 3px solid #f59e0b;
  font-size: 13px;
  line-height: 1.75;
  color: #92400e;
}

.bhg-tip-body {
  padding: 12px 15px 13px;
  max-height: 42vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.bhg-what {
  margin: 0 0 8px;
  font-size: 13.5px;
  line-height: 1.85;
  color: #334155;
}
.bhg-how {
  margin: 0 0 4px;
  padding-left: 19px;
  font-size: 13.5px;
  line-height: 1.9;
  color: #1e293b;
}
.bhg-how li { margin-bottom: 4px; }

.bhg-more { margin-top: 10px; }
.bhg-sec {
  margin: 0 0 9px;
  padding: 9px 11px;
  border-radius: 9px;
  background: #f7f9fc;
  border-left: 3px solid #cbd8e9;
}
.bhg-sec b.bhg-sec-t {
  display: block;
  margin-bottom: 3px;
  font-size: 12.5px;
  color: #1a4f8f;
  letter-spacing: .3px;
}
.bhg-sec p {
  margin: 0 0 3px;
  font-size: 13px;
  line-height: 1.82;
  color: #475569;
}
.bhg-sec-why { background: #fdf6ec; border-left-color: #f0b428; }
.bhg-sec-why b.bhg-sec-t { color: #b45309; }
.bhg-sec-tip { background: #fdf2f2; border-left-color: #e88c8c; }
.bhg-sec-tip b.bhg-sec-t { color: #b91c1c; }
.bhg-sec-faq { background: #f2f8f4; border-left-color: #86c5a2; }
.bhg-sec-faq b.bhg-sec-t { color: #15803d; }

.bhg-more-btn {
  display: block;
  width: 100%;
  margin-top: 9px;
  padding: 6px 0;
  border: 1px dashed #cbd8e9;
  border-radius: 8px;
  background: #ffffff;
  color: #1a4f8f;
  font-size: 12.5px;
  line-height: 20px;
  cursor: pointer;
  font-family: inherit;
}
.bhg-more-btn:hover { background: #f4f8fe; border-color: #9dbbdd; }

/* 业务词：蓝字 + 虚线下划线，悬浮出解释 */
.bhg-term {
  color: #1a4f8f;
  border-bottom: 1px dashed #8fb0d6;
  cursor: help;
}
.bhg-termbox {
  position: fixed;
  z-index: 100020;
  max-width: 280px;
  padding: 9px 11px;
  border-radius: 9px;
  background: #0f172a;
  color: #f1f5f9;
  font-size: 12.5px;
  line-height: 1.78;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.34);
}

/* ============ 底栏：进度 + 三个按钮，跳过永远可见 ============ */
.bhg-tip-foot {
  padding: 9px 14px 11px;
  border-top: 1px solid #eef2f8;
  background: #fbfcfe;
  overflow: hidden;
}
.bhg-stepnum { float: left; padding-top: 5px; }
.bhg-kbd-hint {
  display: none;
  float: left;
  clear: left;
  padding-top: 6px;
  font-size: 11px;
  line-height: 16px;
  color: #94a3b8;
}
.bhg-prog { display: inline-block; margin-right: 7px; }
.bhg-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 3px;
  border-radius: 50%;
  background: #d6dfeb;
}
.bhg-dot.done { background: #9dbbdd; }
.bhg-dot.on { background: #1a4f8f; width: 14px; border-radius: 3px; }
.bhg-numtxt { font-size: 12px; color: #7b8ba3; }
.bhg-btns { float: right; }

.bhg-btn {
  display: inline-block;
  padding: 7px 14px;
  margin-left: 6px;
  min-height: 34px;
  border: 1px solid #d6dfeb;
  border-radius: 8px;
  background: #ffffff;
  color: #334155;
  font-size: 13px;
  line-height: 19px;
  cursor: pointer;
  font-family: inherit;
}
.bhg-btn:hover { border-color: #9dbbdd; color: #1a4f8f; }
.bhg-primary {
  border-color: #1a4f8f;
  background: #1a4f8f;
  color: #ffffff;
  font-weight: 600;
}
.bhg-primary:hover { background: #163f72; border-color: #163f72; color: #ffffff; }
.bhg-ghost { border-color: transparent; background: transparent; color: #7b8ba3; }

/* ============ 右下角常驻入口 ============ */
.bhg-launcher {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 100000;
  display: none;
  padding: 9px 14px 9px 11px;
  border: 1px solid #cfe0f5;
  border-radius: 22px;
  background: #ffffff;
  color: #1a4f8f;
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
  cursor: pointer;
  pointer-events: auto;
  font-family: inherit;
  box-shadow: 0 6px 18px rgba(26, 79, 143, 0.18);
}
.bhg-launcher:hover { background: #f4f8fe; box-shadow: 0 8px 22px rgba(26, 79, 143, 0.26); }
.bhg-launcher-ico { color: #f59e0b; font-size: 12px; margin-right: 5px; }

/* ============ 首次轻提示（可一键"不再提示"） ============ */
.bhg-prompt {
  position: fixed;
  right: 18px;
  bottom: 66px;
  z-index: 100005;
  display: none;
  width: 268px;
  padding: 13px 14px;
  border: 1px solid #dbe8fa;
  border-radius: 13px;
  background: #ffffff;
  pointer-events: auto;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.18);
}
.bhg-prompt-t { font-size: 14px; font-weight: 700; color: #0f172a; margin-bottom: 4px; }
.bhg-prompt-d { font-size: 12.5px; line-height: 1.78; color: #64748b; margin-bottom: 9px; }
.bhg-prompt-btns { text-align: right; }

/* ============ 流程选择菜单 ============ */
.bhg-menu {
  position: fixed;
  right: 18px;
  bottom: 66px;
  z-index: 100010;
  width: 286px;
  padding: 8px;
  border: 1px solid #dbe8fa;
  border-radius: 13px;
  background: #ffffff;
  pointer-events: auto;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.18);
}
.bhg-menu-t {
  padding: 6px 8px 8px;
  font-size: 12.5px;
  color: #7b8ba3;
  border-bottom: 1px solid #eef2f8;
  margin-bottom: 6px;
}
.bhg-menu-i {
  display: block;
  width: 100%;
  padding: 8px 9px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}
.bhg-menu-i:hover { background: #f4f8fe; }
.bhg-menu-n { display: block; font-size: 13.5px; font-weight: 600; color: #1a4f8f; line-height: 20px; }
.bhg-menu-d { display: block; font-size: 12px; color: #64748b; line-height: 18px; margin-top: 1px; }
.bhg-menu-c { display: block; font-size: 11.5px; color: #9aa8bd; margin-top: 2px; }

/* ============ 顶部落款提示 ============ */
.bhg-toast {
  position: fixed;
  left: 50%;
  top: 18px;
  z-index: 100030;
  margin-left: -150px;
  width: 300px;
  padding: 10px 14px;
  border-radius: 10px;
  background: #0f172a;
  color: #f1f5f9;
  font-size: 13px;
  line-height: 20px;
  text-align: center;
  pointer-events: none;
  opacity: 1;
  transition: opacity .3s ease;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.3);
}
.bhg-toast.out { opacity: 0; }

/* ============ 窄屏适配：卡片转底部、按钮放大好点 ============ */
@media screen and (max-width: 780px) {
  .bhg-tip-body { max-height: 46vh; }
  .bhg-tip-body .bhg-how { padding-left: 17px; }
  .bhg-btn { padding: 8px 15px; font-size: 14px; }
  .bhg-launcher { right: 12px; bottom: 12px; }
  .bhg-prompt, .bhg-menu { right: 12px; left: 12px; width: auto; bottom: 62px; }
}

/* ============ 老浏览器（IE11）：去掉动画，保定位准确 ============ */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  .bhg-tip { box-shadow: 0 8px 24px rgba(15, 23, 42, 0.26); }
  .bhg-mask, .bhg-ring { transition: none; }
  .bhg-ring { -webkit-animation: none; animation: none; }
  .bhg-tip-body { max-height: 320px; }
}
