/* =========================================================
   校友鹿 H5 移动端样式 v20261016a —— 设计系统：深蓝渐变 / 精致卡片 / 大气留白
   ========================================================= */
:root {
  --primary: #2563eb;
  --primary-2: #1d4ed8;
  --primary-3: #1e40af;
  --primary-050: #eff6ff;
  --primary-100: #dbeafe;
  --grad: linear-gradient(135deg, #1d4ed8 0%, #2563eb 55%, #3b82f6 100%);
  --grad-soft: linear-gradient(135deg, #eff6ff 0%, #e0edff 100%);
  --bg: #f4f6fb;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --muted-2: #94a3b8;
  --danger: #ef4444;
  --ok: #10b981;
  --warn: #f59e0b;
  --radius: 16px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .05), 0 2px 10px rgba(15, 23, 42, .05);
  --shadow-md: 0 4px 14px rgba(15, 23, 42, .08), 0 10px 30px rgba(15, 23, 42, .07);
  --shadow-brand: 0 6px 18px rgba(37, 99, 235, .28);
}
* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
body { font-family: -apple-system, "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", sans-serif; background: var(--bg); color: var(--text); font-size: 14px; -webkit-font-smoothing: antialiased; }
.app { max-width: 480px; margin: 0 auto; min-height: 100vh; background: var(--bg); }
.page { padding: 14px 14px 78px; }

/* ---------- 顶栏 ---------- */
.header { background: var(--grad); color: #fff; padding: 15px 18px; display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; z-index: 20; box-shadow: 0 3px 12px rgba(30, 64, 175, .25); }
.header h1 { font-size: 17px; font-weight: 700; letter-spacing: .5px; }
.header .sub { font-size: 12px; opacity: .92; }

/* ---------- 卡片 ---------- */
.card { background: var(--card); border-radius: var(--radius); padding: 16px 16px; margin-bottom: 12px; box-shadow: var(--shadow-sm); border: 1px solid rgba(226, 232, 240, .6); }
.card-title { font-size: 15px; font-weight: 700; margin-bottom: 10px; display: flex; justify-content: space-between; align-items: center; }
.muted { color: var(--muted); font-size: 12px; line-height: 1.7; }
.badge { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: 11px; background: var(--primary-050); color: var(--primary-2); font-weight: 600; }
.badge.ok { background: #ecfdf5; color: #059669; }
.badge.warn { background: #fffbeb; color: #b45309; }
.badge.danger { background: #fef2f2; color: #dc2626; }
.badge.plain { background: #f1f5f9; color: #64748b; }

/* ---------- 价值点说明卡 ---------- */
.trust-card { background: var(--grad-soft); border: 1px solid #c7dbff; border-radius: var(--radius); padding: 16px; margin-bottom: 12px; }
.trust-card .tc-title { font-size: 14px; font-weight: 700; color: var(--primary-3); margin-bottom: 10px; }
.trust-card .tc-item { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; color: #334155; line-height: 1.7; margin-bottom: 7px; }
.trust-card .tc-item:last-child { margin-bottom: 0; }
.trust-card .tc-ic { flex-shrink: 0; width: 18px; height: 18px; border-radius: 50%; background: #fff; color: var(--primary); font-size: 11px; display: flex; align-items: center; justify-content: center; margin-top: 2px; box-shadow: 0 1px 3px rgba(30, 64, 175, .18); }
.trust-card .trust-note { margin-top: 11px; padding-top: 10px; border-top: 1px dashed #b9d2ff; font-size: 12px; color: var(--primary-3); font-weight: 600; }

/* ---------- 服务承诺行 ---------- */
.svc-row { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.svc-item { flex: 1; min-width: 96px; background: #f0f7ff; border: 1px solid #d6e8fd; border-radius: 10px; padding: 9px 6px; text-align: center; font-size: 11.5px; color: #1e4f8f; line-height: 1.5; }

/* ---------- 岗位行动指引卡 ---------- */
.action-card { margin-top: 12px; background: linear-gradient(135deg, #fffbeb, #fef3c7); border: 1px solid #fde68a; border-radius: var(--radius-sm); padding: 12px 14px; }
.action-card .ac-title { font-size: 13px; font-weight: 700; color: #92400e; margin-bottom: 7px; }
.action-card .ac-item { font-size: 12px; color: #7a5b12; line-height: 1.9; }

/* ---------- 联系顾问按钮 ---------- */
.contact-btn { display: block; margin-top: 12px; text-decoration: none; text-align: center; }

/* ---------- 课程详情机构信任卡 ---------- */
.inst-card { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: var(--radius-sm); padding: 12px 14px; margin-bottom: 10px; }
.inst-card .inst-title { font-size: 13px; font-weight: 700; color: #0f172a; margin-bottom: 7px; }
.inst-card .inst-line { font-size: 12px; color: #475569; line-height: 1.9; }

/* ---------- 岗位匹配引导条 ---------- */
.guide-bar { margin-top: 14px; background: linear-gradient(135deg, #eff6ff, #eef2ff); border: 1px solid #d6e8fd; border-radius: var(--radius-sm); padding: 12px 14px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.guide-bar .gb-text { font-size: 12px; color: #1e4f8f; line-height: 1.6; }
.guide-bar .gb-btn { flex-shrink: 0; margin: 0; }

/* ---------- 顾问/代理条目 ---------- */
.agent-item { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; background: var(--card); border-radius: var(--radius); margin-bottom: 10px; box-shadow: var(--shadow-sm); border: 1px solid rgba(226, 232, 240, .6); }
.agent-item .ai-main { flex: 1; min-width: 0; }
.agent-item .ai-name { font-size: 15px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.agent-item .ai-meta { font-size: 12px; color: var(--muted); margin-top: 4px; }
.agent-item .ai-btn { flex-shrink: 0; margin-left: 10px; }
.avatar-lg { width: 46px; height: 46px; border-radius: 50%; background: var(--grad); color: #fff; font-size: 18px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: 0 4px 10px rgba(29, 78, 216, .35); }

/* ---------- 底部弹层 ---------- */
.overlay { position: fixed; inset: 0; background: rgba(15, 23, 42, .55); z-index: 40; display: flex; align-items: flex-end; backdrop-filter: blur(2px); }
.sheet { background: #fff; width: 100%; max-width: 480px; margin: 0 auto; border-radius: 22px 22px 0 0; padding: 20px 20px 28px; max-height: 84vh; overflow-y: auto; box-shadow: 0 -10px 40px rgba(15, 23, 42, .18); }
.sheet .sheet-title { font-size: 16px; font-weight: 700; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.sheet .sheet-title::before { content: ""; width: 4px; height: 17px; border-radius: 3px; background: var(--grad); }

/* ---------- 统计卡 ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 12px; }
.stat { background: var(--card); border-radius: var(--radius); padding: 14px 8px; text-align: center; box-shadow: var(--shadow-sm); border: 1px solid rgba(226, 232, 240, .6); }
.stat .num { font-size: 22px; font-weight: 800; color: var(--primary-2); font-variant-numeric: tabular-nums; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat .label { font-size: 11px; color: var(--muted); margin-top: 3px; }
.stat.alt .num { color: #059669; background: none; -webkit-text-fill-color: currentColor; }
.stat.danger .num { color: #dc2626; background: none; -webkit-text-fill-color: currentColor; }

/* ---------- 列表 ---------- */
.list-item { background: var(--card); border-radius: var(--radius); padding: 15px 16px; margin-bottom: 10px; box-shadow: var(--shadow-sm); border: 1px solid rgba(226, 232, 240, .6); }
.list-item .row { display: flex; justify-content: space-between; align-items: center; }
.list-item .t { font-size: 15px; font-weight: 700; }
.list-item .d { font-size: 12px; color: var(--muted); margin-top: 5px; line-height: 1.7; }

/* ---------- 表单 ---------- */
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; color: #334155; margin-bottom: 7px; font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 13px; border: 1.5px solid #e2e8f0; border-radius: var(--radius-sm); font-size: 14px; outline: none; background: #fbfcfe; transition: border-color .15s, box-shadow .15s, background .15s; }
.field input:focus, .field textarea:focus { border-color: var(--primary); background: #fff; box-shadow: 0 0 0 3px rgba(37, 99, 235, .12); }
.btn { display: block; width: 100%; padding: 13px; border: none; border-radius: var(--radius-sm); background: var(--grad); color: #fff; font-size: 15px; font-weight: 700; cursor: pointer; box-shadow: var(--shadow-brand); letter-spacing: 2px; transition: transform .12s, opacity .15s; }
.btn:active { transform: scale(.985); }
.btn:disabled { opacity: .5; box-shadow: none; }
.btn.ghost { background: #fff; color: var(--primary-2); border: 1.5px solid var(--primary); box-shadow: none; letter-spacing: 0; }
.btn.danger { background: linear-gradient(135deg, #ef4444, #dc2626); box-shadow: 0 6px 18px rgba(220, 38, 38, .25); }
.btn.sm { width: auto; padding: 8px 18px; font-size: 13px; border-radius: 999px; box-shadow: none; letter-spacing: 0; }

/* ---------- 底部 Tab ---------- */
.tabbar { position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 480px; background: rgba(255, 255, 255, .96); display: flex; border-top: 1px solid #eef1f6; z-index: 30; padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -4px 18px rgba(15, 23, 42, .07); backdrop-filter: blur(12px); }
.tabbar .tab { flex: 1; padding: 8px 0 6px; text-align: center; color: var(--muted-2); font-size: 10px; cursor: pointer; transition: color .15s; }
.tabbar .tab .ic { font-size: 21px; display: block; margin-bottom: 2px; transition: transform .15s; }
.tabbar .tab .ic svg { width: 21px; height: 21px; display: block; margin: 0 auto; }
.tabbar .tab.active .ic svg { stroke-width: 2.5; }
.tabbar .tab.active { color: var(--primary-2); font-weight: 700; }
.tabbar .tab.active .ic { transform: translateY(-1px) scale(1.08); }

/* ---------- 筛选 chips ---------- */
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 12px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { white-space: nowrap; padding: 7px 15px; border-radius: 999px; background: #fff; border: 1px solid #e2e8f0; font-size: 12.5px; color: #475569; cursor: pointer; transition: all .15s; }
.chip.active { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 3px 10px rgba(37, 99, 235, .3); font-weight: 600; }

/* ---------- 时间线（就业进度） ---------- */
.timeline { padding-left: 6px; }
.tl-item { position: relative; padding: 0 0 18px 24px; }
.tl-item::before { content: ""; position: absolute; left: 6px; top: 10px; bottom: -4px; width: 2px; background: linear-gradient(180deg, #93c5fd, #dbeafe); }
.tl-item:last-child::before { display: none; }
.tl-item .dot { position: absolute; left: 0; top: 7px; width: 13px; height: 13px; border-radius: 50%; background: #fff; border: 3px solid var(--primary); box-shadow: 0 2px 6px rgba(37, 99, 235, .35); }
.tl-item.done .dot { background: var(--primary); }
.tl-item .s { font-size: 14px; font-weight: 600; }
.tl-item .tm { font-size: 11px; color: var(--muted); }

/* ---------- 团队树 ---------- */
.tree-node { margin-left: 14px; border-left: 1px dashed #d9d9d9; padding-left: 12px; }
.tree-item { background: var(--card); border-radius: var(--radius-sm); padding: 12px 14px; margin: 8px 0; box-shadow: var(--shadow-sm); }
.tree-item .t { font-weight: 600; font-size: 14px; }
.tree-item .sub { font-size: 12px; color: var(--muted); margin-top: 2px; }

/* ---------- 海报预览 ---------- */
.poster-box { text-align: center; }
.poster-box img { width: 100%; border-radius: var(--radius-sm); box-shadow: var(--shadow-md); }

/* ---------- Toast ---------- */
#toast { position: fixed; top: 20%; left: 50%; transform: translateX(-50%); background: rgba(15, 23, 42, .82); color: #fff; padding: 11px 20px; border-radius: 999px; font-size: 13px; z-index: 100; max-width: 80%; box-shadow: 0 8px 24px rgba(0, 0, 0, .22); }

/* =========================================================
   登录 / 注册页（精致版）
   ========================================================= */
.login-hero {
  position: relative; overflow: hidden;
  background: var(--grad);
  padding: 52px 24px 66px; text-align: center; color: #fff;
}
.login-hero::before { content: ""; position: absolute; right: -70px; top: -70px; width: 210px; height: 210px; border-radius: 50%; background: rgba(255, 255, 255, .1); }
.login-hero::after { content: ""; position: absolute; left: -50px; bottom: -90px; width: 180px; height: 180px; border-radius: 50%; background: rgba(255, 255, 255, .07); }
.login-hero .logo-badge {
  width: 64px; height: 64px; margin: 0 auto 16px;
  background: rgba(255, 255, 255, .16); border: 1.5px solid rgba(255, 255, 255, .35);
  border-radius: 20px; display: flex; align-items: center; justify-content: center;
  font-size: 34px; box-shadow: 0 10px 26px rgba(15, 23, 42, .3); backdrop-filter: blur(4px);
}
.login-hero .logo { font-size: 28px; font-weight: 800; letter-spacing: 2px; }
.login-hero p { font-size: 13.5px; opacity: .9; margin-top: 8px; letter-spacing: .5px; }
.login-body { margin: -34px 14px 0; position: relative; z-index: 2; }
.login-card-ui {
  background: #fff; border-radius: 20px; padding: 22px 18px 20px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, .16);
}
/* 登录方式切换 */
.seg { display: flex; background: #f1f5f9; border-radius: 999px; padding: 4px; margin-bottom: 18px; }
.seg .seg-item { flex: 1; text-align: center; padding: 9px 0; font-size: 13.5px; color: var(--muted); border-radius: 999px; cursor: pointer; transition: all .18s; font-weight: 500; }
.seg .seg-item.on { background: #fff; color: var(--primary-2); font-weight: 700; box-shadow: 0 2px 8px rgba(15, 23, 42, .1); }
/* 测试账号 */
.demo-accounts { margin-top: 14px; }
.da-title { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; color: #334155; margin: 16px 2px 10px; }
.da-title::before { content: ""; width: 3px; height: 13px; border-radius: 2px; background: var(--grad); }
.da-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; }
.da-item {
  background: #f8fafc; border: 1px solid #e8edf4; border-radius: var(--radius-sm);
  padding: 11px 12px; cursor: pointer; transition: all .15s;
}
.da-item:active { transform: scale(.97); }
.da-item:hover { border-color: #bfdbfe; background: var(--primary-050); }
.da-item .da-role { font-size: 11.5px; color: var(--primary-2); font-weight: 700; }
.da-item .da-phone { font-size: 13.5px; font-weight: 700; color: var(--text); font-variant-numeric: tabular-nums; margin: 3px 0 2px; }
.da-item .da-pwd { font-size: 11px; color: var(--muted); }
.da-note { font-size: 11px; color: var(--muted); margin-top: 10px; line-height: 1.7; padding: 0 2px; }

.empty { text-align: center; color: var(--muted); padding: 32px 0; font-size: 13px; line-height: 1.8; }
.price { color: var(--danger); font-weight: 700; font-size: 16px; }

/* ---------- 求职意向快捷选择 ---------- */
.intent-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.intent-chips .chip { margin: 0; }

/* ---------- 详情说明行 ---------- */
.tag-line { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }

/* =========================================================
   电商式首页 / 详情 / 订单 / 咨询 / 我的（精致版）
   ========================================================= */
.home-hero {
  position: relative; overflow: hidden; color: #fff; padding: 34px 18px 40px;
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 42%, #3b82f6 78%, #60a5fa 100%);
}
.home-hero::after { content: ""; position: absolute; right: -80px; top: -80px; width: 240px; height: 240px; border-radius: 50%; background: rgba(255,255,255,.1); }
.home-hero .hh-top { position: relative; z-index: 1; }
.home-hero .hh-title { font-size: 26px; font-weight: 800; letter-spacing: 2px; }
.home-hero .hh-sub { font-size: 12.5px; opacity: .92; margin-top: 6px; letter-spacing: .5px; }
.hh-search { margin: 16px 0 0; display: flex; align-items: center; background: #fff; border-radius: 999px; padding: 4px 6px 4px 16px; box-shadow: 0 10px 30px rgba(15,23,42,.18); position: relative; z-index: 1; }
.hh-s-ic { font-size: 14px; margin-right: 6px; }
.hh-search input { flex: 1; border: 0; outline: 0; font-size: 14px; background: transparent; }
.hh-banner { margin: 14px 0 0; display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.28); border-radius: 12px; padding: 10px 13px; font-size: 12px; position: relative; z-index: 1; backdrop-filter: blur(4px); }
.hb-icon { font-size: 20px; }
.hb-txt b { display: block; font-size: 13px; }
.hb-txt span { opacity: .9; font-size: 11px; margin-top: 2px; display: block; }
.prod-grid { display: flex; flex-direction: column; gap: 12px; }
.prod-card { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-sm); cursor: pointer; transition: transform .15s, box-shadow .15s; }
.prod-card:active { transform: scale(.985); }
.prod-thumb { position: relative; height: 118px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.prod-thumb::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.22), transparent 55%); }
.pt-badge { position: absolute; top: 10px; left: 10px; background: #fff; color: var(--danger); font-size: 11px; font-weight: 700; border-radius: 999px; padding: 3px 9px; box-shadow: 0 2px 8px rgba(15,23,42,.14); }
.pt-badge.ok { color: #b45309; }
.pt-ic { width: 52px; height: 52px; border-radius: 16px; background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.35); display: flex; align-items: center; justify-content: center; color: #fff; }
.pt-ic svg { width: 26px; height: 26px; }
.pt-tag { position: absolute; right: 10px; top: 10px; background: rgba(15,23,42,.4); color: #fff; font-size: 11px; border-radius: 999px; padding: 3px 10px; backdrop-filter: blur(3px); }
.prod-body { padding: 11px 13px 13px; }
.pd-title { font-size: 14.5px; font-weight: 700; color: var(--text); }
.pd-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 7px 0; }
.ptag { font-size: 10.5px; color: #64748b; background: #f1f5f9; border-radius: 999px; padding: 3px 8px; }
.pd-foot { display: flex; align-items: baseline; justify-content: space-between; }
.pd-price { color: var(--danger); font-weight: 800; font-size: 16px; }
.pd-price em { font-size: 11px; font-weight: 600; color: var(--muted); font-style: normal; }
.pd-inst { font-size: 11.5px; color: var(--muted); }
.why-card { background: #fff; border-radius: 16px; padding: 14px; box-shadow: var(--shadow-sm); }
.wc-title { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 10px; display: flex; align-items: center; gap: 6px; }
.wc-title::before { content: ""; width: 3px; height: 14px; border-radius: 2px; background: var(--grad); }
.wc-row { display: flex; gap: 10px; font-size: 12.5px; color: #334155; line-height: 1.65; margin-bottom: 9px; }
.wc-row:last-child { margin-bottom: 0; }
.wc-row .wc-ic { flex-shrink: 0; width: 34px; height: 34px; border-radius: 10px; background: var(--primary-050); display: flex; align-items: center; justify-content: center; font-size: 16px; }
.wc-row b { display: block; font-size: 13px; color: var(--text); }
.wc-row span { display: block; font-size: 11.5px; color: var(--muted); margin-top: 1px; }

/* ---------- 课程详情（整页） ---------- */
.dt-hero { position: relative; overflow: hidden; color: #fff; padding: 14px 16px 40px; }
.dt-hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 10%, rgba(255,255,255,.18), transparent 55%); }
.dt-back { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: #fff; background: rgba(255,255,255,.18); border-radius: 999px; padding: 6px 13px; cursor: pointer; }
.dt-ic { position: absolute; right: 18px; bottom: -6px; width: 68px; height: 68px; border-radius: 20px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); display: flex; align-items: center; justify-content: center; }
.dt-ic svg { width: 34px; height: 34px; }
.dt-tag { position: relative; z-index: 1; display: inline-block; margin-top: 14px; background: rgba(255,255,255,.2); border-radius: 999px; padding: 4px 12px; font-size: 12px; }
.dt-price-bar { background: #fff; border-radius: 16px; padding: 13px 16px; box-shadow: 0 14px 36px rgba(15,23,42,.14); display: flex; align-items: baseline; justify-content: space-between; margin: -26px 0 12px; position: relative; z-index: 2; }
.dt-price { color: var(--danger); font-size: 22px; font-weight: 800; }
.dt-price em { font-size: 12px; color: var(--muted); font-weight: 600; font-style: normal; }
.dt-meta { font-size: 12px; color: var(--muted); }
.dt-title { font-size: 18px; font-weight: 800; color: var(--text); margin-bottom: 8px; }
.dt-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.escrow-card { background: var(--grad-soft); border: 1px solid #c7dbff; border-radius: 16px; padding: 14px; margin-bottom: 12px; }
.ec-title { font-size: 14px; font-weight: 700; color: var(--primary-3); margin-bottom: 12px; }
.ec-flow { display: flex; }
.ec-node { flex: 1; text-align: center; position: relative; }
.ec-node::before { content: ""; position: absolute; top: 9px; left: -50%; width: 100%; height: 2px; background: #c7dbff; }
.ec-node:first-child::before { display: none; }
.ec-dot { width: 20px; height: 20px; margin: 0 auto; border-radius: 50%; background: #fff; border: 2px solid #93c5fd; color: var(--primary-2); font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; position: relative; z-index: 1; }
.ec-dot.done { background: var(--primary); border-color: var(--primary); color: #fff; }
.ec-name { font-size: 10.5px; color: #475569; margin-top: 6px; }
.ec-pct { font-size: 10px; color: var(--primary-3); font-weight: 700; margin-top: 2px; }
.ec-note { font-size: 11px; color: #64748b; line-height: 1.7; margin-top: 12px; background: rgba(255,255,255,.6); border-radius: 10px; padding: 9px 11px; }
.kv-row { display: flex; justify-content: space-between; font-size: 13px; padding: 8px 0; border-bottom: 1px dashed #eef2f7; }
.kv-row:last-child { border-bottom: 0; }
.kv-k { color: var(--muted); flex-shrink: 0; }
.kv-v { font-weight: 600; color: var(--text); max-width: 66%; text-align: right; }
.inst-title { font-size: 15px; font-weight: 700; color: #0f172a; margin-bottom: 4px; }
.inst-note { margin-top: 10px; background: #f8fafc; border-radius: 10px; padding: 9px 11px; font-size: 12px; color: #475569; line-height: 1.7; }
.dt-actions { display: flex; gap: 10px; margin: 14px 0 0; }
.dt-actions .btn { flex: 1; }
.gzh-card { display: flex; align-items: center; gap: 12px; background: var(--grad-soft); border: 1px solid #c7dbff; border-radius: 16px; padding: 13px; margin-top: 12px; }
.gz-ic { width: 40px; height: 40px; border-radius: 12px; background: var(--grad); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.gz-txt { flex: 1; min-width: 0; }
.gz-txt b { display: block; font-size: 13px; color: #1e3a8a; }
.gz-txt span { font-size: 11px; color: #64748b; margin-top: 3px; display: block; }

/* ---------- 课程详情 ---------- */
.detail-hero { position: relative; overflow: hidden; color: #fff; background: linear-gradient(135deg, #1d4ed8, #3b82f6 70%, #60a5fa); padding: 14px 16px 46px; }
.detail-hero .back { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: #fff; background: rgba(255,255,255,.18); border-radius: 999px; padding: 6px 13px; cursor: pointer; }
.detail-hero .dh-title { font-size: 20px; font-weight: 800; margin-top: 12px; letter-spacing: .5px; }
.detail-hero .dh-sub { font-size: 12px; opacity: .92; margin-top: 5px; }
.detail-body { margin: -28px 12px 0; position: relative; z-index: 2; }
.detail-price-card { background: #fff; border-radius: 16px; padding: 14px 16px; box-shadow: 0 14px 36px rgba(15,23,42,.14); display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.detail-price-card .dp-price { color: var(--danger); font-size: 22px; font-weight: 800; }
.detail-price-card .dp-price .u { font-size: 12px; color: var(--muted); font-weight: 600; }
.detail-price-card .dp-btn { background: var(--grad); color: #fff; border: 0; border-radius: 999px; padding: 10px 22px; font-size: 13.5px; font-weight: 700; cursor: pointer; box-shadow: 0 6px 16px rgba(37,99,235,.35); }
.flow-card { background: #fff; border-radius: 16px; padding: 14px; box-shadow: var(--shadow-sm); }
.flow-title { font-size: 14px; font-weight: 700; margin-bottom: 12px; display: flex; align-items: center; gap: 6px; }
.flow-title::before { content: ""; width: 3px; height: 14px; border-radius: 2px; background: var(--grad); }
.flow-step { display: flex; align-items: center; margin-bottom: 8px; font-size: 12.5px; color: #334155; }
.flow-step:last-child { margin-bottom: 0; }
.flow-step .fs-num { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--primary-050); color: var(--primary-2); font-weight: 700; font-size: 12px; display: flex; align-items: center; justify-content: center; margin-right: 10px; border: 1px solid #bfdbfe; }
.flow-step .fs-pct { margin-left: auto; font-weight: 700; color: var(--primary-3); }
.detail-grid { background: #fff; border-radius: 16px; padding: 14px; box-shadow: var(--shadow-sm); }
.dg-row { display: flex; justify-content: space-between; font-size: 13px; padding: 8px 0; border-bottom: 1px dashed #eef2f7; }
.dg-row:last-child { border-bottom: 0; }
.dg-row .k { color: var(--muted); }
.dg-row .v { font-weight: 600; color: var(--text); max-width: 62%; text-align: right; }
.inst-credits { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.inst-credit { background: var(--primary-050); border: 1px solid #dbeafe; color: var(--primary-2); font-size: 11px; border-radius: 999px; padding: 4px 10px; font-weight: 600; }
.detail-btns { display: flex; gap: 10px; margin: 14px 0; }
.detail-btns .btn { flex: 1; }
.gzh-card { display: flex; align-items: center; gap: 12px; background: var(--grad-soft); border: 1px solid #c7dbff; border-radius: 16px; padding: 13px; margin-top: 12px; }
.gzh-card .gzh-ic { width: 40px; height: 40px; border-radius: 12px; background: var(--grad); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.gzh-card .gzh-t { font-size: 13px; font-weight: 700; color: #1e3a8a; }
.gzh-card .gzh-s { font-size: 11px; color: #64748b; margin-top: 3px; }

/* ---------- 我的（电商式） ---------- */
.mine-hero { position: relative; overflow: hidden; color: #fff; background: linear-gradient(135deg, #1d4ed8, #2563eb 55%, #60a5fa); padding: 34px 20px 40px; display: flex; align-items: center; gap: 14px; }
.mine-hero::after { content: ""; position: absolute; right: -70px; top: -70px; width: 200px; height: 200px; border-radius: 50%; background: rgba(255,255,255,.1); }
.mh-avatar { width: 58px; height: 58px; border-radius: 50%; background: rgba(255,255,255,.18); border: 1.5px solid rgba(255,255,255,.4); display: flex; align-items: center; justify-content: center; font-size: 26px; font-weight: 800; box-shadow: 0 8px 20px rgba(15,23,42,.25); position: relative; z-index: 1; }
.mh-main { position: relative; z-index: 1; min-width: 0; }
.mh-name { font-size: 17px; font-weight: 800; letter-spacing: .5px; }
.mh-phone { font-size: 12.5px; opacity: .92; margin-top: 3px; font-variant-numeric: tabular-nums; }
.mh-meta { font-size: 12px; opacity: .85; margin-top: 4px; }
.menu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 12px; }
.menu-item { background: #fff; border-radius: 16px; padding: 15px 6px; text-align: center; box-shadow: var(--shadow-sm); cursor: pointer; transition: transform .15s; }
.menu-item:active { transform: scale(.96); }
.menu-item .mi-ic { display: block; font-size: 22px; margin-bottom: 7px; }
.menu-item span:last-child { font-size: 12px; color: var(--text); font-weight: 600; }
.balance-big { font-size: 28px; font-weight: 800; color: var(--primary-3); font-variant-numeric: tabular-nums; margin: 6px 0 2px; }

/* ---------- 我的订单 ---------- */
.order-card { background: #fff; border-radius: 16px; padding: 14px; box-shadow: var(--shadow-sm); margin-bottom: 12px; }
.oc-head { display: flex; align-items: center; justify-content: space-between; }
.oc-title { font-size: 14.5px; font-weight: 700; }
.oc-meta { font-size: 12px; color: var(--muted); margin: 6px 0 10px; }
.oc-progress { display: flex; align-items: center; gap: 10px; }
.ocp-bar { flex: 1; height: 7px; background: #eef2f7; border-radius: 999px; overflow: hidden; }
.ocp-fill { height: 100%; border-radius: 999px; background: var(--grad); transition: width .4s; }
.ocp-label { font-size: 11.5px; color: var(--primary-2); font-weight: 600; white-space: nowrap; }
.oc-nodes { display: flex; margin-top: 13px; }
.oc-node { flex: 1; text-align: center; position: relative; }
.oc-node::before { content: ""; position: absolute; top: 8px; left: -50%; width: 100%; height: 2px; background: #eef2f7; }
.oc-node:first-child::before { display: none; }
.oc-node.done::before { background: #93c5fd; }
.ocn-dot { width: 16px; height: 16px; margin: 0 auto; border-radius: 50%; background: #fff; border: 2px solid #cbd5e1; display: flex; align-items: center; justify-content: center; font-size: 10px; color: #fff; position: relative; z-index: 1; }
.oc-node.done .ocn-dot { background: var(--primary); border-color: var(--primary); }
.ocn-name { font-size: 10.5px; color: var(--muted); margin-top: 6px; }
.ocn-pct { font-size: 10px; color: var(--primary-3); font-weight: 700; margin-top: 2px; }

/* ---------- 咨询 ---------- */
.privacy-bar { background: #fffbeb; border: 1px solid #fde68a; color: #92400e; border-radius: 12px; font-size: 12px; line-height: 1.7; padding: 11px 13px; margin-bottom: 12px; }
.cs-row { display: flex; align-items: center; gap: 11px; padding: 11px 0; border-bottom: 1px dashed #eef2f7; }
.cs-row:last-child { border-bottom: 0; }
.cs-ic { width: 38px; height: 38px; border-radius: 12px; background: var(--primary-050); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.cs-main { flex: 1; min-width: 0; }
.cs-main b { display: block; font-size: 13px; }
.cs-main span { font-size: 11px; color: var(--muted); margin-top: 2px; display: block; }
.faq-item { border-bottom: 1px dashed #eef2f7; padding: 11px 0; cursor: pointer; }
.faq-item:last-child { border-bottom: 0; }
.faq-q { font-size: 13px; font-weight: 600; color: var(--text); line-height: 1.7; }
.faq-a { display: block; font-size: 12px; color: #475569; font-weight: 400; line-height: 1.8; margin-top: 6px; background: #f8fafc; border-radius: 10px; padding: 9px 11px; }

/* ---------- 平台顾问列表 ---------- */
.agent-item { display: flex; align-items: center; background: #fff; border-radius: 14px; padding: 12px; box-shadow: var(--shadow-sm); margin-bottom: 10px; }
.avatar-lg { width: 44px; height: 44px; border-radius: 50%; background: var(--grad-soft); border: 1px solid #bfdbfe; color: var(--primary-2); font-weight: 700; font-size: 18px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ai-main { flex: 1; min-width: 0; }
.ai-name { font-size: 14.5px; font-weight: 700; color: var(--text); }
.ai-meta { font-size: 12px; color: var(--muted); margin-top: 3px; }
.ai-btn { flex-shrink: 0; }
.contact-btn { background: var(--grad); color: #fff !important; border: 0 !important; }

/* ---------- v2.0：线索卡片 / 跟进 ---------- */
.lead-card { background: #fff; border-radius: 14px; padding: 13px 14px; box-shadow: var(--shadow-sm); margin-bottom: 10px; }
.lc-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.lc-name { font-size: 14.5px; font-weight: 700; color: var(--text); }
.lc-meta { font-size: 12px; color: var(--muted); margin-top: 5px; }
.lc-src { display: inline-block; font-size: 10.5px; color: var(--primary-2); background: var(--primary-050); border-radius: 6px; padding: 2px 8px; margin-top: 6px; }
.lc-actions { display: flex; gap: 10px; margin-top: 9px; }
.lc-btn { font-size: 12px; color: var(--primary-2); font-weight: 600; cursor: pointer; text-decoration: none; }
.lc-tags { margin-top: 8px; }
.lc-tag { display: inline-block; font-size: 11px; color: #92400e; background: #fffbeb; border: 1px solid #fde68a; border-radius: 8px; padding: 3px 10px; }
.follow-log { background: #f8fafc; border-radius: 10px; padding: 10px; margin-top: 9px; }
.fl-item { font-size: 12px; color: #475569; line-height: 1.7; padding: 4px 0; border-bottom: 1px dashed #eef2f7; }
.fl-item:last-child { border-bottom: 0; }
.tag-picker { display: flex; flex-wrap: wrap; gap: 8px; }
.fp-tag { font-size: 12px; padding: 7px 13px; border-radius: 999px; background: #f1f5f9; color: #475569; cursor: pointer; border: 1px solid transparent; }
.fp-tag.on { background: var(--primary-050); color: var(--primary-2); border-color: var(--primary-3); font-weight: 600; }

/* ---------- v2.0：推广工具 / 名片 / 文案 ---------- */
.tool-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 12px; }
.tool-card { background: #fff; border-radius: 14px; padding: 14px 6px; text-align: center; box-shadow: var(--shadow-sm); cursor: pointer; border: 2px solid transparent; }
.tool-card.on { border-color: var(--primary); }
.tc-ic { display: block; font-size: 24px; }
.tc-t { display: block; font-size: 12px; font-weight: 600; color: var(--text); margin-top: 6px; }
.biz-card { background: linear-gradient(135deg, #2563eb, #0ea5e9); border-radius: 14px; padding: 16px; color: #fff; }
.bc-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.bc-logo { width: 40px; height: 40px; background: #fff; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 20px; }
.bc-txt b { display: block; font-size: 14px; }
.bc-txt span { font-size: 12px; opacity: .92; }
.bc-row { font-size: 12px; line-height: 2; opacity: .96; }
.bc-qr { margin-top: 10px; font-size: 11px; text-align: center; background: rgba(255,255,255,.14); border-radius: 8px; padding: 6px; }
.copy-item { background: #fff; border-radius: 12px; box-shadow: var(--shadow-sm); padding: 12px; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; cursor: pointer; }
.ci-txt { flex: 1; font-size: 13px; color: #334155; line-height: 1.8; }
.ci-btn { flex-shrink: 0; font-size: 12px; color: var(--primary-2); border: 1px solid var(--primary-3); border-radius: 8px; padding: 6px 12px; font-weight: 600; }

/* ---------- v2.0：省市双收入 / 结算规则 ---------- */
.income-hero { background: var(--grad); border-radius: 16px; padding: 16px 18px; color: #fff; display: flex; gap: 14px; margin-bottom: 12px; }
.ih-item { flex: 1; }
.ih-label { font-size: 11px; opacity: .92; }
.ih-num { font-size: 22px; font-weight: 800; margin-top: 4px; }
.rule-note { background: #fffbeb; border: 1px solid #fde68a; color: #92400e; border-radius: 12px; font-size: 12.5px; line-height: 1.7; padding: 11px 13px; margin-bottom: 12px; }

/* ---------- v2.0：报名确认（支付） ---------- */
.oc-price { font-size: 22px; font-weight: 800; color: #f5222d; margin-top: 8px; }
.oc-price em { font-size: 12px; font-weight: 400; color: var(--muted); font-style: normal; }
.pay-row { display: flex; align-items: center; gap: 12px; border: 2px solid #eef2f7; border-radius: 12px; padding: 12px 14px; margin-bottom: 10px; cursor: pointer; }
.pay-row.on { border-color: var(--primary); background: var(--primary-050); }
.pay-ic { font-size: 22px; }
.pay-row b { display: block; font-size: 14px; }
.pay-row span { font-size: 11px; color: var(--muted); }

/* ---------- v3.9：腾讯云 AXB 隐私号拨打 ---------- */
.call-sheet { padding-top: 18px; }
.cs-hint { font-size: 12px; color: #64748b; line-height: 1.5; }
.cs-num { font-size: 30px; font-weight: 800; letter-spacing: 1px; color: #0f172a; text-align: center; margin: 14px 0 6px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cs-meta { font-size: 12px; color: #64748b; text-align: center; line-height: 1.6; margin-bottom: 14px; white-space: nowrap; }
.cs-warn { background: #fff7ed; color: #b45309; border: 1px solid #fed7aa; border-radius: 10px; font-size: 12px; padding: 8px 10px; margin-bottom: 12px; line-height: 1.5; }
.cs-row { display: flex; gap: 8px; margin: 10px 0 4px; }
.cs-row .btn.ghost { padding: 10px 0; font-size: 13px; border-radius: 10px; white-space: nowrap; flex: 1; }
.cs-title { font-size: 13px; font-weight: 700; color: #0f172a; margin: 16px 0 8px; }
.cs-logs { background: #f8fafc; border-radius: 12px; padding: 4px 12px; max-height: 168px; overflow-y: auto; }
.cs-log { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; border-bottom: 1px solid #eef2f7; font-size: 12px; }
.cs-log:last-child { border-bottom: none; }
.cs-log-l { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.cs-tag { background: #e2e8f0; color: #475569; border-radius: 6px; padding: 2px 7px; font-weight: 700; font-size: 11px; }
.cs-tag.ok { background: #dcfce7; color: #15803d; }
.cs-log-t { color: #475569; white-space: nowrap; }
.cs-log-r { color: #94a3b8; white-space: nowrap; }
.cs-empty { font-size: 12px; color: #94a3b8; padding: 14px 0; text-align: center; }
.cs-loading { text-align: center; padding: 26px 0; color: #64748b; font-size: 14px; }
.cs-error { color: #b91c1c; background: #fef2f2; border: 1px solid #fecaca; border-radius: 10px; padding: 12px; font-size: 13px; line-height: 1.6; margin: 8px 0 14px; }

/* v4.0：小程序 web-view 微信绑定提示 */
.wx-bind-tip { display: flex; align-items: center; gap: 6px; margin-bottom: 12px; padding: 9px 12px; border-radius: 10px; background: #eff6ff; border: 1px solid #dbeafe; color: #1d4ed8; font-size: 12px; line-height: 1.5; }
.wx-dot { width: 6px; height: 6px; border-radius: 50%; background: #22c55e; flex: 0 0 auto; }
