/* ============================================================
   Agent book · 设计系统
   参考 Apple 官网：克制的留白、超大字号、单一强调色、
   滚动叙事式分节、磨砂玻璃导航。
   ============================================================ */

:root {
  /* 品牌色 —— 取自 logo 的蓝色 */
  --blue:        #0071E3;
  --blue-dark:   #0058B0;
  --blue-deep:   #003E8E;
  --blue-soft:   #EAF3FF;
  --blue-tint:   #F2F8FF;

  /* 板块分色 —— 统一收敛在蓝色系纵深内（靛蓝 / 青），
     不再引入紫、橙等无关色相，保证整页保持单一强调色的克制感。 */
  --tier-org:      #2E4BC6;   /* 组织发展 · 靛蓝 */
  --tier-org-soft: #EEF1FE;
  --tier-city:     #0E7C86;   /* 城市发展 · 青 */
  --tier-city-soft:#E6F4F5;

  /* 中性色阶 */
  --ink:         #1D1D1F;
  --ink-2:       #424245;
  --ink-3:       #6E6E73;
  --ink-4:       #86868B;
  --line:        #D2D2D7;
  --line-soft:   #E8E8ED;
  --surface:     #FFFFFF;
  --surface-2:   #F5F5F7;
  --surface-3:   #FBFBFD;
  --canvas:      #FBFBFD;

  /* 语义色 */
  --green:       #1D8A4E;
  --green-soft:  #E8F6EE;
  --amber:       #A8620A;
  --amber-soft:  #FFF4E2;
  --red:         #C0392B;
  --red-soft:    #FDECEA;

  /* 排版 */
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
          "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", sans-serif;

  /* 尺度 */
  --gutter: 22px;
  --maxw: 1180px;
  --nav-h: 52px;
  --tabbar-h: 56px;
  --r-s: 12px;
  --r-m: 18px;
  --r-l: 26px;
  --r-xl: 34px;

  /* 阴影 */
  --sh-1: 0 1px 2px rgba(0,0,0,.04), 0 4px 16px rgba(0,0,0,.05);
  --sh-2: 0 2px 6px rgba(0,0,0,.05), 0 14px 40px rgba(0,0,0,.09);
  --sh-3: 0 8px 24px rgba(0,0,0,.08), 0 30px 70px rgba(0,0,0,.12);

  --ease: cubic-bezier(.28,.11,.32,1);
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background: var(--canvas);
  color: var(--ink);
  line-height: 1.5;
  font-size: 15px;
  letter-spacing: -.01em;
  overflow-x: hidden;
  padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom));
  -webkit-font-smoothing: antialiased;
}

@media (min-width: 900px) {
  body { padding-bottom: 0; }
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; font-size: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; color: inherit; }
ol, ul { list-style: none; }

svg { display: block; }

/* ============================================================
   全局导航
   ============================================================ */

.gnav {
  position: sticky; top: 0; z-index: 90;
  height: var(--nav-h);
  background: rgba(251,251,253,.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.gnav.scrolled { border-bottom-color: var(--line-soft); background: rgba(251,251,253,.9); }

.gnav-inner {
  max-width: var(--maxw); height: 100%; margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex; align-items: center; gap: 20px;
}

.gnav-brand { flex: 0 0 auto; display: flex; align-items: center; }
.gnav-logo { height: 18px; width: auto; }

.gnav-links { display: none; flex: 1; gap: 30px; justify-content: center; }
.gnav-links a {
  font-size: 12.5px; font-weight: 500; color: var(--ink-2);
  letter-spacing: .01em; padding: 4px 0; position: relative;
  transition: color .2s var(--ease);
}
.gnav-links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--blue); border-radius: 2px;
  transform: scaleX(0); transition: transform .28s var(--ease);
}
.gnav-links a:hover { color: var(--ink); }
.gnav-links a.active { color: var(--ink); font-weight: 600; }
.gnav-links a.active::after { transform: scaleX(1); }

.gnav-right { margin-left: auto; flex: 0 0 auto; }
.gnav-auth {
  font-size: 12.5px; font-weight: 500; color: var(--blue);
  padding: 5px 15px; border-radius: 980px;
  background: var(--blue-soft);
  transition: background .2s var(--ease), transform .2s var(--ease);
  max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.gnav-auth:active { transform: scale(.95); }
.gnav-auth.signed { color: var(--ink-2); background: var(--surface-2); }

@media (min-width: 900px) {
  .gnav-links { display: flex; }
  .gnav-inner { gap: 30px; }
  .gnav-logo { height: 22px; }
}

/* ============================================================
   底部标签栏
   ============================================================ */

.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  height: calc(var(--tabbar-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  display: flex;
  background: rgba(251,251,253,.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-top: 1px solid var(--line-soft);
}
@media (min-width: 900px) { .tabbar { display: none; } }

.tabitem {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 3px;
  color: var(--ink-4); transition: color .2s var(--ease);
  padding-top: 3px;
}
.tabitem .tabicon svg { width: 23px; height: 23px; stroke-width: 1.6; }
.tabitem .tablabel { font-size: 10px; font-weight: 500; letter-spacing: .01em; }
.tabitem.active { color: var(--blue); }
.tabitem:active { opacity: .6; }

/* ============================================================
   视图容器与页面切换
   ============================================================ */

.view { min-height: 60vh; }
.view-enter { animation: viewIn .42s var(--ease) both; }
@keyframes viewIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ============================================================
   通用排版
   ============================================================ */

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

/* ============================================================
   板块详解 —— 对齐大标题 + 双栏（文字 / 大图）
   ============================================================ */
.detail-title {
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 700; letter-spacing: -.03em; line-height: 1.15;
  color: var(--ink-1); margin: 10px 0 0;
}
.detail-lede {
  max-width: 640px; margin: 14px auto 0;
  font-size: clamp(15.5px, 1.9vw, 18px); line-height: 1.7; color: var(--ink-3);
}

.detail-row {
  display: grid; gap: 30px; align-items: center;
  grid-template-columns: 1fr;
}
.detail-row + .detail-row { margin-top: 54px; }
.detail-h3 {
  font-size: clamp(26px, 4vw, 38px); font-weight: 700;
  letter-spacing: -.028em; line-height: 1.2;
  color: var(--ink-1); margin: 0 0 14px;
}
.detail-p {
  color: var(--ink-3); font-size: 16.5px; line-height: 1.7;
  margin: 0 0 20px; max-width: 620px;
}
/* 配图板块：文字 1fr + 大图 1.5fr —— 图明显放大 */
@media (min-width: 900px) {
  .detail-row.has-fig { grid-template-columns: 1fr 1.5fr; gap: 44px; }
  .detail-row.has-fig .detail-p { font-size: 17px; }
}

/* ============================================================
   图片位（A.slot 渲染）
   尺寸完全由 CSS 控制；JS 只输出 width/height 属性用于预占位。
   ============================================================ */
.slot-img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  cursor: zoom-in;
  border-radius: var(--r-m);
}
.slot-img-svg { object-fit: contain; }

/* 配图容器：在双栏栅格内大幅占据，向右侧适度破栏放大。
   注意：这里不能用 .diag-bleed-m 那套 margin-left/right:calc(50% - 50%) 的破栏写法
   —— 在 grid 子项里百分比会解析成相对「内容盒」的循环依赖，导致 img 高度塌陷。
   统一用明确的负外边距 + min-width:0 保证稳定尺寸。 */
.detail-fig {
  margin: 0; min-width: 0; width: 100%;
  display: flex; align-items: center; justify-content: flex-end;
}
.detail-fig::after { content: none; }
.detail-fig .slot-img {
  width: 100%;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-m);
  box-shadow: var(--sh-2);
  background: #FBFBFD;
}
/* 桌面：向右破出 .wrap 右侧留白，让图明显更大且不触发横向滚动条 */
@media (min-width: 900px) {
  .detail-fig { margin-right: -56px; }
}
/* 超大屏：进一步放大——图成为页面内最大的视觉元素 */
@media (min-width: 1400px) {
  .detail-row.has-fig { grid-template-columns: 1fr 1.9fr; gap: 56px; }
  .detail-fig { margin-right: -96px; }
}


/* 全宽突破：让思维导图占满整个视口宽度，不受.wrap 限宽约束 */
/* 注意：不能用 100vw —— 页面存在纵向滚动条时 100vw 会超出可视宽度，
   导致图片右侧被裁切、看起来「内容超出方框」。改用 100% + 负 margin 破限。 */
.diag-bleed {
  width: 100%;
  margin-left: calc(50% - 50%);
  margin-right: calc(50% - 50%);
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  box-sizing: border-box;
}
.diag-bleed img,
.diag-bleed-m img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: var(--r-m);
}

/* 移动端：卡片图也占满整屏宽度，以单列大图呈现 */
@media (max-width: 820px) {
  .diag-bleed-m {
    width: 100%;
    margin-left: calc(50% - 50%);
    margin-right: calc(50% - 50%);
    padding-left: var(--gutter);
    padding-right: var(--gutter);
    box-sizing: border-box;
  }
}

/* 图表放大查看：点击后全屏展示，可左右/上下拖动看细节 */
.diag-bleed::after,
.diag-bleed-m::after {
  content: "点击图表可放大查看"; display: block; margin-top: 8px;
  text-align: center; font-size: 12.5px; color: var(--ink-4);
}
.zoombox {
  display: none; position: fixed; inset: 0; z-index: 400;
  background: rgba(10, 14, 20, .95);
  overflow: auto; -webkit-overflow-scrolling: touch; padding: 14px;
}
.zoombox img {
  display: block;
  width: 100%;
  min-width: 1100px; /* 小屏时仍可放大拖动查看细节 */
  max-width: none;
  height: auto;
  margin: 0 auto;
  border-radius: 14px;
}
.zoom-close {
  position: fixed; top: 16px; right: 16px; z-index: 401;
  width: 42px; height: 42px; border-radius: 50%; border: 0;
  background: rgba(255, 255, 255, .2); color: #fff;
  font-size: 20px; line-height: 1; cursor: pointer;
}

.sec { padding: 76px 0; }
.sec-tight { padding: 52px 0; }
.sec-alt { background: var(--surface-2); }

/* 深色叙事区块：改为品牌深蓝 → 石墨灰的渐变，
   字色随底色调整为高对比浅色系，避免纯黑的沉闷感。 */
.sec-dark {
  background:
    radial-gradient(760px 380px at 78% 6%, rgba(0,113,227,.28) 0%, rgba(0,113,227,0) 68%),
    linear-gradient(152deg, #0B1F3A 0%, #123258 42%, #17406B 72%, #1E4E7E 100%);
  color: #F2F5F9;
  position: relative;
  overflow: hidden;
}
.sec-dark::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.05) 0%, rgba(255,255,255,0) 42%);
  pointer-events: none;
}
.sec-dark .wrap { position: relative; z-index: 1; }
.sec-dark .eyebrow { color: #7FC0FF; }
.sec-dark .sec-head h2 { color: #FFFFFF; }
.sec-dark .sec-head p { color: #B6C4D4; }

/* 深底上的卡片：半透明玻璃层 + 细描边 */
.sec-dark .rung {
  background: rgba(255,255,255,.055);
  border-color: rgba(255,255,255,.14);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.sec-dark .rung:hover { border-color: rgba(255,255,255,.3); }
.sec-dark .rung h4 { color: #FFFFFF; }
.sec-dark .rung p { color: #AEBECD; }
.sec-dark .rung-code { background: rgba(127,192,255,.18); color: #D6E8FF; }
.sec-dark .rung-income {
  background: rgba(52,211,153,.14);
  color: #6EE7B7;
  border: 1px solid rgba(52,211,153,.22);
}
.sec-dark .pt { color: #C9D6E4; }
.sec-dark .pt svg { color: #7FC0FF; }

.eyebrow {
  font-size: 13px; font-weight: 600; color: var(--blue);
  letter-spacing: .04em; margin-bottom: 12px;
  display: inline-block;
}

.sec-head { margin-bottom: 44px; }
.sec-head h2 {
  font-size: clamp(30px, 6.2vw, 52px);
  font-weight: 600; letter-spacing: -.028em; line-height: 1.06;
  margin-bottom: 16px;
}
.sec-head p {
  font-size: clamp(16px, 2.4vw, 21px);
  color: var(--ink-3); line-height: 1.5; font-weight: 400;
  max-width: 680px; letter-spacing: -.01em;
}
.sec-head.center { text-align: center; }
.sec-head.center p { margin-left: auto; margin-right: auto; }

/* ============================================================
   Hero 首屏
   背景与整页底色融为一体，仅保留一层极淡的中性光晕，
   透明 logo 直接悬浮其上，不出现白底色块。
   ============================================================ */

.hero {
  position: relative;
  padding: 72px 0 88px;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(820px 420px at 50% -10%, rgba(0,113,227,.07) 0%, rgba(0,113,227,0) 70%),
    linear-gradient(180deg, var(--canvas) 0%, var(--canvas) 100%);
}

/* logo 自身透明，投影提供层次而不产生底色块 */
.hero-logo {
  width: min(540px, 80vw);
  margin: 0 auto 36px;
  animation: heroLogo 1.15s var(--ease) both;
  filter: drop-shadow(0 14px 34px rgba(0,60,120,.16));
}
@keyframes heroLogo {
  from { opacity: 0; transform: translateY(22px) scale(.94); }
  to   { opacity: 1; transform: none; }
}

.hero h1 {
  font-size: clamp(28px, 6.4vw, 56px);
  font-weight: 600; letter-spacing: -.03em;
  margin: 0 auto 24px;
  animation: riseIn .9s .12s var(--ease) both;
}

/* 主标题双行排版
   用 span 分行而非 <br>，以便精确设置行间距（gap:.24em），
   两行之间留出呼吸空间，避免上下贴太紧。
   max-width 18ch：两行实宽约 9–10em，留足余量防止长句折行。 */
.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .24em;
  max-width: 18ch;
  margin: 0 auto 26px;
}
.hero-title-line { display: block; }
.hero .lede {
  font-size: clamp(15px, 2.6vw, 21px);
  color: var(--ink-3); line-height: 1.6; font-weight: 400;
  max-width: 620px; margin: 0 auto 38px;
  animation: riseIn .9s .22s var(--ease) both;
}
@keyframes riseIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}

.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
  animation: riseIn .9s .32s var(--ease) both; }

/* 按钮 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 12px 26px; border-radius: 980px;
  font-size: 15px; font-weight: 500; letter-spacing: -.01em;
  transition: transform .2s var(--ease), background .2s var(--ease), opacity .2s;
  min-height: 44px;
}
.btn:active { transform: scale(.96); }
.btn svg { width: 17px; height: 17px; stroke-width: 2; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: #0077ED; }
.btn-ghost { background: rgba(0,113,227,.08); color: var(--blue); }
.btn-ghost:hover { background: rgba(0,113,227,.14); }
.btn-dark { background: #1D1D1F; color: #fff; }
.btn-dark:hover { background: #000; }
.btn-line { border: 1px solid var(--line); color: var(--ink-2); background: transparent; }
.btn-line:hover { border-color: var(--ink-4); }
.btn-sm { padding: 8px 18px; font-size: 13.5px; min-height: 36px; }
.btn-lg { padding: 15px 34px; font-size: 17px; min-height: 50px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn svg.spin { animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   数字指标条
   ============================================================ */

.stats {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1px; background: var(--line-soft);
  border-radius: var(--r-m); overflow: hidden;
  box-shadow: var(--sh-1);
}
@media (min-width: 760px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--surface); padding: 30px 20px; text-align: center; }
.stat-num {
  font-size: clamp(30px, 5vw, 44px); font-weight: 600;
  letter-spacing: -.03em; line-height: 1; color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.stat-num .u { font-size: .46em; font-weight: 500; color: var(--ink-4); margin-left: 3px; }
.stat-label { font-size: 12.5px; color: var(--ink-3); margin-top: 10px; letter-spacing: .01em; }

/* ============================================================
   四大板块卡片
   ============================================================ */

.boards { display: grid; gap: 16px; }
@media (min-width: 700px)  { .boards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .boards { grid-template-columns: repeat(4, 1fr); } }

.board {
  background: var(--surface); border-radius: var(--r-l);
  padding: 30px 24px 28px; box-shadow: var(--sh-1);
  border: 1px solid var(--line-soft);
  display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  position: relative; overflow: hidden;
}
.board::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue), #4EA3F5);
  opacity: 0; transition: opacity .35s var(--ease);
}
.board:hover { transform: translateY(-5px); box-shadow: var(--sh-2); }
.board:hover::before { opacity: 1; }

.board-ico {
  width: 46px; height: 46px; border-radius: 14px;
  background: var(--blue-soft); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.board-ico svg { width: 25px; height: 25px; stroke-width: 1.7; }
.board-tag {
  font-size: 11px; font-weight: 600; color: var(--blue);
  letter-spacing: .06em; margin-bottom: 8px;
}
.board h3 { font-size: 20px; font-weight: 600; letter-spacing: -.02em; margin-bottom: 9px; }
.board p { font-size: 13.5px; color: var(--ink-3); line-height: 1.6; margin-bottom: 16px; flex: 1; }
.board-meta {
  font-size: 12px; color: var(--ink-4); padding-top: 14px;
  border-top: 1px solid var(--line-soft);
  display: flex; align-items: center; gap: 6px;
}
.board-meta svg { width: 14px; height: 14px; stroke-width: 1.8; }

/* 定位 / 对象 / 价值 要点行 */
.board-note {
  font-size: 12.5px; color: var(--ink-3); line-height: 1.55;
  display: flex; align-items: flex-start; gap: 6px;
  margin-bottom: 8px;
}
.board-note svg { width: 13px; height: 13px; stroke-width: 1.8; flex: 0 0 auto; margin-top: 3px; color: var(--green); }

/* ============================================================
   身份等级阶梯（滚动叙事）
   ============================================================ */

.ladder { display: grid; gap: 12px; }
@media (min-width: 720px) { .ladder { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .ladder { grid-template-columns: repeat(4, 1fr); } }

.rung {
  background: var(--surface); border: 1px solid var(--line-soft);
  border-radius: var(--r-m); padding: 22px 20px;
  display: flex; flex-direction: column; gap: 10px;
  position: relative; transition: border-color .3s var(--ease);
}
.rung:hover { border-color: var(--blue); }
.rung-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.rung-code {
  font-size: 12px; font-weight: 700; color: #fff; background: var(--blue);
  padding: 3px 10px; border-radius: 7px; letter-spacing: .05em;
}
.rung-code.c-org  { background: var(--tier-org); }
.rung-code.c-city { background: var(--tier-city); }
.rung-price {
  font-size: 21px; font-weight: 600; letter-spacing: -.025em;
  font-variant-numeric: tabular-nums;
}
.rung-price small { font-size: 12px; font-weight: 500; color: var(--ink-4); margin-left: 2px; }
.rung h4 { font-size: 15.5px; font-weight: 600; letter-spacing: -.01em; }
.rung p { font-size: 12.5px; color: var(--ink-3); line-height: 1.55; flex: 1; }
.rung-income {
  font-size: 11.5px; color: var(--green); font-weight: 500;
  background: var(--green-soft); padding: 5px 10px; border-radius: 7px;
  display: inline-flex; align-items: center; gap: 5px; align-self: flex-start;
}
.rung-income svg { width: 13px; height: 13px; stroke-width: 2; }

/* ============================================================
   L1 聚焦阶梯：L1 放大成主视觉，L2–L4 缩小并保持统一雾化
   （放在基础 .rung 之后，确保聚焦样式不被覆盖）
   ============================================================ */

.ladder-hero { align-items: stretch; }

@media (min-width: 720px) {
  /* 平板：L1 独占一行整宽，L2–L4 挤在下一行 */
  .ladder-hero { grid-template-columns: repeat(3, 1fr); }
  .ladder-hero .rung-hero { grid-column: 1 / -1; }
}

@media (min-width: 1040px) {
  /* 桌面：L1 占更宽一列（主视觉），L2–L4 平分剩余空间 */
  .ladder-hero { grid-template-columns: 2.4fr 1fr 1fr 1fr; gap: 16px; }
  .ladder-hero .rung-hero { grid-column: auto; }
}

/* L1 主卡：放大字号与留白，强化视觉重量 */
.rung-hero {
  padding: 40px 36px;
  gap: 16px;
  border-color: var(--blue);
  border-width: 1.5px;
  background:
    linear-gradient(180deg, rgba(56,138,221,.10), rgba(56,138,221,0) 66%),
    var(--surface);
  box-shadow: var(--sh-2);
}
.rung-hero .rung-code { font-size: 14px; padding: 5px 14px; }
.rung-hero .rung-price { font-size: 34px; }
.rung-hero .rung-price small { font-size: 13.5px; }
.rung-hero h4 { font-size: 21px; }
.rung-hero p { font-size: 14.5px; line-height: 1.65; }
.rung-hero .rung-income { font-size: 13.5px; padding: 7px 14px; }
.rung-hero .rung-go { padding-top: 18px; margin-top: 4px; font-size: 14px; }
.rung-hero .rung-go svg { width: 15px; height: 15px; }

/* L2–L4 缩略卡：整体收紧，字号下调；雾化强度不变 */
.rung-sm {
  padding: 15px 14px;
  gap: 7px;
  border-radius: var(--r-s);
}
.rung-sm .rung-code { font-size: 10.5px; padding: 2px 8px; border-radius: 6px; }
.rung-sm .rung-price { font-size: 15px; }
.rung-sm .rung-price small { font-size: 10.5px; }
.rung-sm h4 { font-size: 12.5px; }
.rung-sm p { font-size: 11px; line-height: 1.5; }
.rung-sm .rung-income { font-size: 10px; padding: 4px 8px; gap: 4px; border-radius: 6px; }
.rung-sm .rung-income svg { width: 11px; height: 11px; }

/* ============================================================
   个人精英 · 大字号列表表格（Elite Table）
   四行 L1–L4 全部展开显示，七列自适应宽度；
   不做任何横向滚动，纵向由页面自然滚动查看。
   该表格内嵌在「板块二 · 个人精英」描述下方，故标题用 h3 小标题。
   ============================================================ */
.elite-embed { margin-top: 34px; }
.elite-embed-head { margin-bottom: 20px; }
.elite-embed-head h3 {
  font-size: clamp(24px, 3.6vw, 34px);
  font-weight: 700; letter-spacing: -.025em;
  color: var(--ink-1); margin-bottom: 8px;
}
.elite-embed-head p { font-size: 16.5px; line-height: 1.6; color: var(--ink-3); margin: 0; }

.elite-scroll {
  overflow: visible;
  border-radius: var(--r-l);
  border: 1px solid var(--line-soft);
  box-shadow: var(--sh-2);
  background: var(--surface);
}

table.et { width: 100%; border-collapse: collapse; table-layout: fixed; }

/* 表头 */
table.et thead th {
  background: linear-gradient(180deg, #0A6BD0, #0058B0);
  color: #fff;
  font-size: 18px; font-weight: 700; letter-spacing: .04em;
  text-align: left;
  padding: 21px 18px;
  white-space: nowrap;
  border-right: 1px solid rgba(255,255,255,.14);
}
table.et thead th:last-child { border-right: 0; }

/* 数据行 */
table.et tbody td {
  padding: 28px 18px;
  vertical-align: top;
  word-break: break-word;      /* 长文本自动换行，不撑破列 */
  overflow-wrap: anywhere;
  border-bottom: 1px solid var(--line-soft);
  border-right: 1px solid #EDF1F6;
}
table.et tbody tr:last-child td { border-bottom: 0; }
table.et tbody td:last-child { border-right: 0; }
table.et tbody tr:nth-child(even) { background: var(--blue-tint); }
table.et tbody tr { transition: background .18s ease; }
table.et tbody tr:hover { background: var(--blue-soft); }

/* 职级列 */
.et-lv { text-align: center; }
.et-code {
  display: inline-block;
  font-size: 26px; font-weight: 800; color: #fff;
  background: var(--blue);
  padding: 10px 19px; border-radius: 13px;
  letter-spacing: .01em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.et-code.lv2 { background: #0069CE; }
.et-code.lv3 { background: #0058B0; }
.et-code.lv4 { background: #00468E; }

/* 课程 / 方向列 */
.et-name {
  font-size: 20px; font-weight: 700; color: var(--ink-1);
  line-height: 1.55; letter-spacing: -.015em;
}
.et-go {
  display: inline-flex; align-items: center; gap: 5px;
  margin-top: 10px; font-size: 14.5px; font-weight: 600; color: var(--blue);
  white-space: nowrap;
}
.et-go svg { width: 15px; height: 15px; stroke-width: 2.3; }
.et-go:hover { color: var(--blue-dark); }

/* 定位 / 对象 / 价值 文本 */
.et-txt { font-size: 18px; line-height: 1.8; color: var(--ink-2); }

/* 价格列 */
.et-price { text-align: right; }
.et-amount {
  display: block;
  font-size: 26px; font-weight: 800; color: var(--blue);
  letter-spacing: -.02em; font-variant-numeric: tabular-nums;
  line-height: 1.25; white-space: nowrap;
}
.et-amount.lv2 { color: #0069CE; }
.et-amount.lv3 { color: #0058B0; }
.et-amount.lv4 { color: #00468E; }
.et-note { display: block; margin-top: 6px; font-size: 14px; font-weight: 500; color: var(--ink-4); }

/* 预计收入列 */
.et-income { text-align: right; }
.et-amount-green {
  font-size: 19px; font-weight: 700; color: var(--green);
  font-variant-numeric: tabular-nums; line-height: 1.4;
}

/* 窄屏：由表格切换为卡片式，避免七列被压成窄条 */
@media (max-width: 720px) {
  table.et thead { display: none; }            /* 表头隐藏，改用每格 data-l 标签 */
  table.et,
  table.et tbody,
  table.et tbody tr,
  table.et tbody td { display: block; width: auto; }

  table.et tbody tr {
    position: relative;
    padding: 16px 16px 14px 16px;
    margin: 12px;
    border: 1px solid var(--line-soft);
    border-left: 4px solid var(--blue);
    border-radius: var(--r-m);
    background: var(--surface);
    box-shadow: var(--sh-1);
  }
  table.et tbody tr:nth-child(even) { background: var(--surface); }
  table.et tbody tr:nth-child(2) { border-left-color: #0069CE; }
  table.et tbody tr:nth-child(3) { border-left-color: #0058B0; }
  table.et tbody tr:nth-child(4) { border-left-color: #00468E; }

  table.et tbody td {
    padding: 0; border: 0; border-bottom: 0;
  }
  /* 每格前缀小标签 */
  table.et tbody td[data-l]:not(.et-lv):not(.et-name)::before {
    content: attr(data-l);
    display: block;
    font-size: 11px; font-weight: 700; color: var(--blue);
    letter-spacing: .06em;
    margin: 12px 0 4px;
  }

  /* 职级行：L1 徽标与课程名同行 */
  table.et tbody td.et-lv { display: inline-block; vertical-align: middle; margin-right: 10px; }
  table.et tbody td.et-name { display: inline-block; vertical-align: middle; max-width: calc(100% - 78px); }
  table.et tbody td.et-name::before { content: none; }

  .et-code { font-size: 16px; padding: 6px 12px; border-radius: 9px; }
  .et-name { font-size: 15.5px; line-height: 1.5; }
  .et-go { display: block; font-size: 12px; margin-top: 6px; }
  .et-txt { font-size: 13.5px; line-height: 1.66; }

  .et-price, .et-income { text-align: left; }
  table.et tbody td.et-price::before,
  table.et tbody td.et-income::before { content: attr(data-l); display: block;
    font-size: 11px; font-weight: 700; color: var(--blue); letter-spacing: .06em; margin: 12px 0 4px; }
  .et-amount { display: inline-block; font-size: 19px; }
  .et-note { display: inline-block; margin: 0 0 0 7px; font-size: 11.5px; }
  .et-amount-green { font-size: 15px; }
}

/* 定位 / 对象 / 价值 三段文案（L2 / L3 / L4）
   —— 必须清晰可读，因此置于 .fog-layer / .fog-content 之外。 */
.rung-trio {
  position: relative; z-index: 3;
  display: flex; flex-direction: column; gap: 5px;
  margin: 8px 0 4px;
  padding-top: 8px;
  border-top: 1px dashed var(--line);
  filter: none; opacity: 1;
}
.rung-trio-name {
  font-size: 12px; font-weight: 600; color: var(--ink-2);
  line-height: 1.45;
}
.rung-trio p {
  font-size: 11px; line-height: 1.6; color: var(--ink-3); margin: 0; flex: none;
}
.rung-trio p b { color: var(--ink-2); font-weight: 600; }
.rung-hero .rung-trio { gap: 7px; padding-top: 10px; margin-top: 10px; }
.rung-hero .rung-trio-name { font-size: 16px; }
.rung-hero .rung-trio p { font-size: 13.5px; }

/* 超宽屏：L1 再放大一档，保持主视觉张力 */
@media (min-width: 1280px) {
  .ladder-hero { grid-template-columns: 2.8fr 1fr 1fr 1fr; gap: 18px; }
  .rung-hero { padding: 46px 42px; gap: 18px; }
  .rung-hero .rung-price { font-size: 38px; }
  .rung-hero h4 { font-size: 22.5px; }
  .rung-hero p { font-size: 15px; }
}

/* ============================================================
   流程时间轴
   ============================================================ */

.flow { display: grid; gap: 14px; counter-reset: step; }
@media (min-width: 700px) { .flow { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .flow { grid-template-columns: repeat(5, 1fr); } }

.step { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-m); padding: 22px 20px 20px; }
.step-n {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--blue); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 600; margin-bottom: 13px;
}
.step h4 { font-size: 15px; font-weight: 600; margin-bottom: 7px; letter-spacing: -.01em; }
.step p { font-size: 12.5px; color: var(--ink-3); line-height: 1.55; }

/* ============================================================
   项目卡片（培训项目，来自云端数据库）
   ============================================================ */

.programs { display: grid; gap: 14px; }
@media (min-width: 700px)  { .programs { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .programs { grid-template-columns: repeat(3, 1fr); } }

.prog {
  background: var(--surface); border: 1px solid var(--line-soft);
  border-radius: var(--r-m); padding: 22px;
  display: flex; flex-direction: column; gap: 11px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.prog:hover { transform: translateY(-3px); box-shadow: var(--sh-2); border-color: var(--blue); }
.prog-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.prog-code {
  font-size: 11px; font-weight: 700; color: var(--blue);
  background: var(--blue-soft); padding: 3px 9px; border-radius: 6px; letter-spacing: .04em;
}
.prog-code.c-org  { color: var(--tier-org);  background: var(--tier-org-soft); }
.prog-code.c-city { color: var(--tier-city); background: var(--tier-city-soft); }
.prog-price {
  font-size: 19px; font-weight: 600; letter-spacing: -.025em;
  font-variant-numeric: tabular-nums;
}
.prog-price small { font-size: 11.5px; font-weight: 500; color: var(--ink-4); }
.prog-price.na { font-size: 13px; color: var(--ink-4); font-weight: 500; }
.prog h4 { font-size: 16px; font-weight: 600; letter-spacing: -.015em; }
.prog .sub { font-size: 12.5px; color: var(--ink-4); line-height: 1.5; margin-top: -6px; }
.prog-curriculum { font-size: 12.5px; color: var(--ink-3); line-height: 1.6; }
.prog-benefits {
  font-size: 12px; color: var(--blue); line-height: 1.55;
  background: var(--blue-tint); padding: 10px 12px; border-radius: 9px;
  margin-top: auto;
}
.prog-foot { display: flex; gap: 8px; margin-top: 4px; }
.prog-foot .btn { flex: 1; }

/* ============================================================
   图片占位（预留图位）
   ============================================================ */

.ph {
  border-radius: var(--r-m);
  background: linear-gradient(135deg, #F2F5FA 0%, #EAF1FB 100%);
  border: 1px dashed var(--line);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; padding: 26px 20px; text-align: center;
  color: var(--ink-4); overflow: hidden; position: relative;
}
.ph svg { width: 30px; height: 30px; stroke-width: 1.4; opacity: .5; }
.ph-label { font-size: 11.5px; line-height: 1.5; max-width: 300px; }
.ph-label b { color: var(--ink-3); font-weight: 600; display: block; margin-bottom: 3px; font-size: 12.5px; }
.ph-label code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10.5px; background: rgba(0,0,0,.05); padding: 2px 6px;
  border-radius: 4px; color: var(--ink-3); display: inline-block; margin-top: 4px;
  word-break: break-all;
}
.ph.ratio-hero { aspect-ratio: 16 / 10; }
.ph.ratio-wide { aspect-ratio: 16 / 7; }
.ph.ratio-card { aspect-ratio: 4 / 3; }
.ph.ratio-band { aspect-ratio: 21 / 9; }

/* ============================================================
   双通道切换（政策页核心）
   ============================================================ */

.chan-switch {
  display: flex; gap: 4px; padding: 4px;
  background: var(--surface-2); border-radius: 980px;
  width: fit-content; margin: 0 auto 40px; max-width: 100%;
  overflow-x: auto;
}
.chan-btn {
  padding: 9px 20px; border-radius: 980px; white-space: nowrap;
  font-size: 13.5px; font-weight: 500; color: var(--ink-3);
  transition: all .28s var(--ease); flex: 1;
}
.chan-btn.on { background: var(--surface); color: var(--ink); font-weight: 600; box-shadow: var(--sh-1); }

.chan-panel { display: none; }
.chan-panel.on { display: block; animation: fadeUp .45s var(--ease) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ============================================================
   政策条目手风琴
   ============================================================ */

.acc { border-top: 1px solid var(--line-soft); }
.acc-item { border-bottom: 1px solid var(--line-soft); }
.acc-head {
  width: 100%; display: flex; align-items: center; gap: 14px;
  padding: 20px 4px; text-align: left;
}
.acc-head h4 { font-size: clamp(15px, 2.4vw, 19px); font-weight: 600; letter-spacing: -.015em; flex: 1; }
.acc-num {
  font-size: 11px; font-weight: 600; color: var(--ink-4);
  font-variant-numeric: tabular-nums; min-width: 26px;
}
.acc-chev { flex: 0 0 auto; color: var(--ink-4); transition: transform .35s var(--ease); }
.acc-chev svg { width: 18px; height: 18px; stroke-width: 2; }
.acc-item.open .acc-chev { transform: rotate(180deg); color: var(--blue); }
.acc-body { display: none; padding: 0 4px 26px 40px; animation: fadeUp .35s var(--ease) both; }
.acc-item.open .acc-body { display: block; }
.acc-body p { font-size: 14px; color: var(--ink-2); line-height: 1.72; margin-bottom: 14px; }
.acc-body h5 {
  font-size: 12px; font-weight: 600; color: var(--ink-4);
  letter-spacing: .06em; margin: 20px 0 10px;
}
.acc-body h5:first-child { margin-top: 0; }

/* 要点列表 */
.pts { display: grid; gap: 8px; margin-bottom: 16px; }
.pt { display: flex; gap: 10px; font-size: 13.5px; color: var(--ink-2); line-height: 1.6; }
.pt svg { width: 16px; height: 16px; flex: 0 0 auto; margin-top: 3px; stroke-width: 2.2; color: var(--blue); }

/* 键值表 */
.kv { display: grid; gap: 1px; background: var(--line-soft); border-radius: var(--r-s); overflow: hidden; margin-bottom: 16px; }
.kv > div { background: var(--surface); padding: 13px 16px; display: flex; gap: 14px; }
.kv dt { font-size: 12.5px; color: var(--ink-4); min-width: 96px; flex: 0 0 auto; }
.kv dd { font-size: 13.5px; color: var(--ink); line-height: 1.55; flex: 1; }

/* 数据表 */
.tbl-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); }
.tbl { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 540px; }
.tbl th {
  text-align: left; padding: 11px 14px; background: var(--surface-2);
  font-weight: 600; font-size: 12px; color: var(--ink-3); white-space: nowrap;
  letter-spacing: .01em;
}
.tbl th:first-child { border-radius: 9px 0 0 9px; }
.tbl th:last-child { border-radius: 0 9px 9px 0; }
.tbl td { padding: 13px 14px; border-bottom: 1px solid var(--line-soft); color: var(--ink-2); vertical-align: top; line-height: 1.55; }
.tbl tr:last-child td { border-bottom: none; }
.tbl b { color: var(--ink); font-weight: 600; }
.yes { color: var(--green); font-weight: 600; }
.no  { color: var(--ink-4); }

/* 深色区块内的表格 */
.tbl-dark th { background: rgba(255,255,255,.10); color: #E7EEF8; }
.tbl-dark td { color: #C3D0E0; border-bottom: 1px solid rgba(255,255,255,.10); }
.tbl-dark b { color: #fff; }

/* ============================================================
   报名流程
   ============================================================ */

.steps-bar { display: flex; align-items: center; gap: 6px; margin-bottom: 30px; }
.sb-item { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.sb-bar { height: 3px; background: var(--line-soft); border-radius: 3px; transition: background .35s var(--ease); }
.sb-item.on .sb-bar { background: var(--blue); }
.sb-item.done .sb-bar { background: var(--blue); opacity: .4; }
.sb-label { font-size: 11.5px; color: var(--ink-4); font-weight: 500; }
.sb-item.on .sb-label { color: var(--blue); font-weight: 600; }

/* 选卡网格 */
.pick-grid { display: grid; gap: 10px; }
@media (min-width: 640px) { .pick-grid { grid-template-columns: repeat(2, 1fr); } }
.pick {
  display: flex; align-items: center; gap: 13px;
  padding: 16px 18px; border-radius: var(--r-m);
  border: 1.5px solid var(--line-soft); background: var(--surface);
  text-align: left; transition: all .26s var(--ease); width: 100%;
}
.pick:hover { border-color: var(--line); }
.pick.on { border-color: var(--blue); background: var(--blue-tint); box-shadow: 0 0 0 3px rgba(0,113,227,.1); }
.pick-main { flex: 1; min-width: 0; }
.pick-name { font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.pick-meta { font-size: 12px; color: var(--ink-4); margin-top: 3px; }
.pick-price { font-size: 15.5px; font-weight: 600; font-variant-numeric: tabular-nums; flex: 0 0 auto; }
.pick-price small { font-size: 11px; color: var(--ink-4); font-weight: 500; }
.pick-tick {
  width: 21px; height: 21px; border-radius: 50%; flex: 0 0 auto;
  border: 1.5px solid var(--line); display: flex; align-items: center; justify-content: center;
  transition: all .26s var(--ease);
}
.pick.on .pick-tick { background: var(--blue); border-color: var(--blue); }
.pick-tick svg { width: 12px; height: 12px; stroke-width: 2.6; color: #fff; opacity: 0; transition: opacity .2s; }
.pick.on .pick-tick svg { opacity: 1; }

/* 表单 */
.field { margin-bottom: 18px; }
.field label {
  display: block; font-size: 12.5px; font-weight: 600; color: var(--ink-2);
  margin-bottom: 8px; letter-spacing: .01em;
}
.field label .req { color: var(--red); margin-left: 2px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 15px;
  background: var(--surface); border: 1px solid var(--line-soft);
  border-radius: var(--r-s); font-size: 16px; /* 16px 防 iOS 缩放 */
  transition: border-color .22s var(--ease), box-shadow .22s var(--ease);
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 88px; line-height: 1.55; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2386868B' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 17px;
  padding-right: 40px;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,113,227,.12);
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-4); }
.field-err { font-size: 12px; color: var(--red); margin-top: 6px; display: none; }
.field.bad input, .field.bad textarea, .field.bad select { border-color: var(--red); }
.field.bad .field-err { display: block; }
.field-hint { font-size: 11.5px; color: var(--ink-4); margin-top: 6px; line-height: 1.5; }

.grid-2 { display: grid; gap: 0 14px; }

/* ============================================================
   报名页 · 板块选择 / 单选组 / 支付摘要
   ============================================================ */
.pick-lg { padding: 22px 20px; align-items: center; }
.pick-lg .pick-name { font-size: 19px; font-weight: 600; letter-spacing: -.02em; }
.pick-lg .pick-price { font-size: 18px; text-align: right; }
.pick-lg .pick-price small { display: block; font-size: 11px; color: var(--ink-4); font-weight: 500; }

/* 单选按钮组 */
.opt-row { display: flex; flex-wrap: wrap; gap: 9px; }
.opt {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink-2);
  border-radius: 999px;
  padding: 9px 17px;
  font-size: 13.5px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: border-color .18s, background .18s, color .18s, box-shadow .18s;
  text-align: left;
}
.opt small { display: block; font-size: 11px; color: var(--ink-4); margin-top: 2px; font-weight: 400; }
.opt:hover { border-color: var(--line); background: var(--surface-2); }
.opt.on {
  border-color: var(--blue);
  background: var(--blue-tint);
  color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0,113,227,.1);
}
.opt.on small { color: var(--blue); opacity: .8; }
.field.bad .opt-row .opt { border-color: var(--line); }
.field.bad .opt-row::after {
  content: '';
  position: absolute;
}

/* 支付摘要 */
.pay-box {
  display: grid;
  gap: 18px;
  max-width: 460px;
  margin: 0 auto 20px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-m);
  box-shadow: var(--sh-1);
  text-align: left;
}
.pay-qr {
  width: 100%;
  max-width: 190px;
  aspect-ratio: 1;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed var(--line);
  border-radius: var(--r-m);
  background: var(--surface-2);
  color: var(--ink-4);
}
.pay-qr svg { width: 42px; height: 42px; stroke-width: 1.5; }
.pay-meta { display: grid; gap: 0; }
.pay-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 0;
  font-size: 13px;
  color: var(--ink-3);
  border-bottom: 1px solid var(--line-soft);
}
.pay-row:last-child { border-bottom: none; }
.pay-row b { color: var(--ink); font-weight: 600; text-align: right; word-break: break-all; }
.pay-amt { color: var(--blue) !important; font-size: 17px; font-variant-numeric: tabular-nums; }

.pay-code-hint {
  max-width: 460px;
  margin: 0 auto 22px;
  text-align: left;
}
@media (min-width: 640px) { .grid-2 { grid-template-columns: 1fr 1fr; } }

/* 提示条 */
.notice {
  display: flex; gap: 10px; padding: 13px 15px;
  background: var(--amber-soft); border-radius: var(--r-s);
  font-size: 12.5px; color: var(--amber); line-height: 1.6;
  margin-bottom: 20px;
}
.notice svg { width: 16px; height: 16px; flex: 0 0 auto; margin-top: 2px; stroke-width: 2; }
.notice.blue { background: var(--blue-tint); color: var(--blue-dark); }
.notice.red  { background: var(--red-soft); color: var(--red); }

/* 提交回执 */
.receipt {
  background: var(--surface); border: 1px solid var(--line-soft);
  border-radius: var(--r-l); padding: 34px 26px; text-align: center;
  box-shadow: var(--sh-1); animation: riseIn .5s var(--ease) both;
}
.receipt-ico {
  width: 62px; height: 62px; border-radius: 50%;
  background: var(--green-soft); color: var(--green);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.receipt-ico svg { width: 30px; height: 30px; stroke-width: 2.2; }
.receipt h3 { font-size: 23px; font-weight: 600; letter-spacing: -.025em; margin-bottom: 9px; }
.receipt p { font-size: 14px; color: var(--ink-3); line-height: 1.6; max-width: 380px; margin: 0 auto 24px; }
.receipt-no {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12.5px; color: var(--ink-3); background: var(--surface-2);
  padding: 8px 14px; border-radius: 8px; display: inline-block; margin-bottom: 24px;
}

/* ============================================================
   我的
   ============================================================ */

.me-hero {
  background: linear-gradient(180deg, var(--blue-tint) 0%, var(--canvas) 100%);
  padding: 46px 0 34px; text-align: center;
}
.me-avatar {
  width: 84px; height: 84px; border-radius: 50%;
  background: var(--surface); box-shadow: var(--sh-2);
  margin: 0 auto 16px; display: flex; align-items: center; justify-content: center;
  overflow: hidden; border: 3px solid #fff;
}
.me-avatar svg { width: 40px; height: 40px; stroke-width: 1.5; color: var(--ink-4); }
.me-avatar img { width: 100%; height: 100%; object-fit: cover; }
.me-name { font-size: 21px; font-weight: 600; letter-spacing: -.02em; }
.me-mail { font-size: 13px; color: var(--ink-4); margin-top: 4px; }

/* 列表组 */
.group { background: var(--surface); border-radius: var(--r-m); overflow: hidden; box-shadow: var(--sh-1); margin-bottom: 22px; }
.group-title {
  font-size: 12px; font-weight: 600; color: var(--ink-4);
  letter-spacing: .05em; margin: 0 0 11px 4px;
}
.gi {
  display: flex; align-items: center; gap: 14px;
  padding: 15px 18px; width: 100%; text-align: left;
  border-bottom: 1px solid var(--line-soft);
  transition: background .2s var(--ease);
}
.gi:last-child { border-bottom: none; }
button.gi:active, a.gi:active { background: var(--surface-2); }
.gi-ico {
  width: 32px; height: 32px; border-radius: 9px; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
  background: var(--blue-soft); color: var(--blue);
}
.gi-ico svg { width: 17px; height: 17px; stroke-width: 1.9; }
.gi-body { flex: 1; min-width: 0; }
.gi-title { font-size: 14.5px; font-weight: 500; }
.gi-sub { font-size: 12px; color: var(--ink-4); margin-top: 2px; }
.gi-val { font-size: 13.5px; color: var(--ink-4); flex: 0 0 auto; }
.gi-arrow { color: var(--line); flex: 0 0 auto; }
.gi-arrow svg { width: 16px; height: 16px; stroke-width: 2.2; }

/* 报名记录卡 */
.rec {
  background: var(--surface); border: 1px solid var(--line-soft);
  border-radius: var(--r-m); padding: 18px; margin-bottom: 11px;
}
.rec-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.rec-name { font-size: 15.5px; font-weight: 600; letter-spacing: -.015em; line-height: 1.35; }
.rec-code { font-size: 11px; font-weight: 700; color: var(--blue); background: var(--blue-soft); padding: 2px 8px; border-radius: 5px; display: inline-block; margin-bottom: 6px; }
.rec-code.c-org  { color: var(--tier-org);  background: var(--tier-org-soft); }
.rec-code.c-city { color: var(--tier-city); background: var(--tier-city-soft); }
.rec-status {
  font-size: 11.5px; font-weight: 600; padding: 4px 10px; border-radius: 980px;
  background: var(--blue-soft); color: var(--blue); flex: 0 0 auto; white-space: nowrap;
}
.rec-status.s-review { background: var(--amber-soft); color: var(--amber); }
.rec-status.s-done  { background: var(--green-soft); color: var(--green); }
.rec-meta { display: grid; gap: 5px; padding-top: 12px; border-top: 1px solid var(--line-soft); }
.rec-meta div { display: flex; justify-content: space-between; font-size: 12.5px; }
.rec-meta dt { color: var(--ink-4); }
.rec-meta dd { color: var(--ink-2); }

/* 空状态 */
.empty { text-align: center; padding: 56px 24px; }
.empty-ico {
  width: 62px; height: 62px; border-radius: 50%;
  background: var(--surface-2); color: var(--ink-4);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 18px;
}
.empty-ico svg { width: 28px; height: 28px; stroke-width: 1.5; }
.empty h4 { font-size: 17px; font-weight: 600; margin-bottom: 7px; }
.empty p { font-size: 13.5px; color: var(--ink-4); line-height: 1.6; margin-bottom: 22px; }

/* ============================================================
   登录页内嵌
   ============================================================ */

.auth-tabs {
  display: flex; gap: 4px; padding: 4px; background: var(--surface-2);
  border-radius: 12px; margin-bottom: 24px;
}
.auth-tab {
  flex: 1; padding: 9px; border-radius: 9px; text-align: center;
  font-size: 13.5px; font-weight: 500; color: var(--ink-3); transition: all .26s var(--ease);
}
.auth-tab.on { background: var(--surface); color: var(--ink); font-weight: 600; box-shadow: var(--sh-1); }

.code-row { display: flex; gap: 10px; }
.code-row input { flex: 1; }
.code-btn {
  flex: 0 0 auto; padding: 0 18px; border-radius: var(--r-s);
  background: var(--blue-soft); color: var(--blue);
  font-size: 13.5px; font-weight: 600; white-space: nowrap; min-height: 48px;
  transition: opacity .2s;
}
.code-btn[disabled] { opacity: .5; }

.link-btn { color: var(--blue); font-size: 13.5px; font-weight: 500; }
.link-btn:hover { text-decoration: underline; }

.form-err {
  background: var(--red-soft); color: var(--red); font-size: 12.5px;
  padding: 11px 14px; border-radius: var(--r-s); margin-bottom: 18px;
  display: flex; gap: 8px; align-items: flex-start; line-height: 1.5;
}
.form-err svg { width: 15px; height: 15px; flex: 0 0 auto; margin-top: 2px; stroke-width: 2.2; }
.form-ok {
  background: var(--green-soft); color: var(--green); font-size: 12.5px;
  padding: 11px 14px; border-radius: var(--r-s); margin-bottom: 18px;
  display: flex; gap: 8px; align-items: center; line-height: 1.5;
}
.form-ok svg { width: 15px; height: 15px; flex: 0 0 auto; stroke-width: 2.2; }

.divider { display: flex; align-items: center; gap: 14px; margin: 22px 0; color: var(--ink-4); font-size: 12px; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--line-soft); }

/* ============================================================
   底部抽屉
   ============================================================ */

.sheet-mask {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(0,0,0,.32);
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  animation: fadeIn .3s var(--ease) both;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 101;
  max-height: 88vh; overflow-y: auto; -webkit-overflow-scrolling: touch;
  background: var(--surface);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  box-shadow: var(--sh-3);
  animation: sheetUp .42s var(--ease) both;
  padding-bottom: env(safe-area-inset-bottom);
}
@media (min-width: 720px) {
  .sheet {
    left: 50%; bottom: auto; top: 50%;
    transform: translate(-50%, -50%);
    width: min(560px, calc(100vw - 48px));
    border-radius: var(--r-xl); max-height: 84vh;
    animation: sheetPop .38s var(--ease) both;
  }
}
@keyframes sheetUp { from { transform: translateY(100%); } to { transform: none; } }
@keyframes sheetPop {
  from { opacity: 0; transform: translate(-50%, -46%) scale(.96); }
  to   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

.sheet-grip {
  width: 36px; height: 5px; border-radius: 3px; background: var(--line);
  margin: 10px auto 4px;
}
@media (min-width: 720px) { .sheet-grip { display: none; } }

.sheet-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px 14px; border-bottom: 1px solid var(--line-soft);
  position: sticky; top: 0; background: var(--surface); z-index: 2;
}
.sheet-head h2 { font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.sheet-close { color: var(--ink-4); padding: 6px; border-radius: 50%; transition: background .2s; }
.sheet-close:active { background: var(--surface-2); }
.sheet-close svg { width: 20px; height: 20px; stroke-width: 2.2; }
.sheet-body { padding: 24px; }

/* ============================================================
   Toast
   ============================================================ */

.toast {
  position: fixed; left: 50%; z-index: 200;
  bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom) + 20px);
  transform: translateX(-50%);
  background: rgba(29,29,31,.94); color: #fff;
  padding: 12px 22px; border-radius: 980px;
  font-size: 13.5px; font-weight: 500; max-width: calc(100vw - 40px);
  text-align: center; line-height: 1.45;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--sh-2);
  animation: toastIn .34s var(--ease) both;
}
@media (min-width: 900px) { .toast { bottom: 40px; } }
@keyframes toastIn {
  from { opacity: 0; transform: translate(-50%, 14px) scale(.94); }
  to   { opacity: 1; transform: translate(-50%, 0) scale(1); }
}

/* ============================================================
   页脚
   ============================================================ */

.foot { background: var(--surface-2); padding: 44px 0 40px; }
.foot-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.foot-logo { height: 24px; }
.foot p { font-size: 12px; color: var(--ink-4); line-height: 1.7; max-width: 620px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 18px; }
.foot-links a { font-size: 12px; color: var(--ink-3); }
.foot-links a:hover { color: var(--blue); }
.foot-note {
  margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line);
  font-size: 11.5px; color: var(--ink-4); line-height: 1.7;
}

/* ============================================================
   尚未开展的板块：清晰可见，但不可点击、无悬停反馈
   （仅首页展示，不提供价格与二次内容）
   ============================================================ */

.board-soon {
  cursor: default;
  background: var(--surface-2);
  border-color: var(--line-soft);
}
.board-soon:hover { border-color: var(--line-soft); transform: none; box-shadow: none; }

/* ============================================================
   运营后台（#/admin）
   ============================================================ */

.adm-hero {
  padding: 58px 0 40px;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border-bottom: 1px solid var(--line-soft);
}
.adm-hero h1 { font-size: clamp(26px, 5vw, 36px); letter-spacing: -.03em; margin: 6px 0 8px; }
.adm-hero p { color: var(--ink-3); font-size: 15px; }

.adm-login {
  max-width: 420px; margin: 0 auto;
  background: var(--surface); border: 1px solid var(--line-soft);
  border-radius: var(--r-l); padding: 32px 28px;
  box-shadow: var(--sh-1);
}
.adm-login-ico {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--blue-soft); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.adm-login-ico svg { width: 22px; height: 22px; }
.adm-login h3 { font-size: 18px; margin-bottom: 6px; }
.adm-login > p { font-size: 13px; color: var(--ink-4); margin-bottom: 20px; }
.adm-login-tip {
  font-size: 12px !important; color: var(--ink-4) !important;
  margin: 16px 0 0 !important; line-height: 1.65;
  padding-top: 14px; border-top: 1px dashed var(--line);
}

/* 登录模式切换 */
.adm-tabs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px;
  padding: 5px; margin-bottom: 18px;
  background: var(--surface-2); border-radius: var(--r-s);
}
.adm-tab {
  appearance: none; border: 0; background: transparent; cursor: pointer;
  font: inherit; font-size: 13px; color: var(--ink-3);
  padding: 8px 6px; border-radius: 9px; transition: all .18s;
}
.adm-tab:hover { color: var(--ink); }
.adm-tab.on {
  background: var(--surface); color: var(--blue); font-weight: 600;
  box-shadow: var(--sh-1);
}

/* 验证码行 */
.adm-code-row { display: flex; gap: 8px; align-items: stretch; }
.adm-code-row input { flex: 1 1 auto; min-width: 0; }
.adm-code-row .btn { flex: 0 0 auto; white-space: nowrap; font-size: 13px; padding: 0 14px; }

.adm-bar {
  background: var(--surface); border: 1px solid var(--line-soft);
  border-radius: var(--r-m); padding: 16px 18px;
  display: flex; flex-wrap: wrap; gap: 14px; align-items: center;
}
.adm-stat { display: flex; align-items: baseline; gap: 6px; }
.adm-stat b { font-size: 26px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.adm-stat span { font-size: 12.5px; color: var(--ink-4); }

.adm-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.adm-chip {
  font-size: 12.5px; padding: 6px 14px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface);
  color: var(--ink-3); cursor: pointer;
  transition: all .2s var(--ease); font-family: inherit;
}
.adm-chip:hover { border-color: var(--blue); color: var(--blue); }
.adm-chip.on { background: var(--blue); border-color: var(--blue); color: #fff; }

.adm-tools { display: flex; gap: 8px; align-items: center; margin-left: auto; flex-wrap: wrap; }
.adm-kw {
  font-family: inherit; font-size: 13px;
  padding: 9px 13px; border-radius: var(--r-s);
  border: 1px solid var(--line); background: var(--surface);
  min-width: 190px; color: var(--ink);
}
.adm-kw:focus { outline: none; border-color: var(--blue); }

.adm-tbl th { white-space: nowrap; }
.adm-tbl td { font-size: 12.5px; white-space: nowrap; }
.adm-tbl .adm-time { color: var(--ink-4); font-size: 12px; }
.adm-acts { display: flex; gap: 6px; align-items: center; }

/* 手机号 / 身份证号：等宽数字，便于逐位核对与抄录。
   运营需要完整号码联系学员，这里不做脱敏。 */
.adm-mono { font-family: var(--font-mono, ui-monospace, SFMono-Regular, Menlo, monospace); letter-spacing: .2px; }
.adm-tel { color: var(--blue); text-decoration: none; border-bottom: 1px dashed transparent; }
.adm-tel:hover { border-bottom-color: var(--blue); }

.adm-sel {
  font-family: inherit; font-size: 12px;
  padding: 5px 8px; border-radius: 8px;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  cursor: pointer;
}
.adm-sel:focus { outline: none; border-color: var(--blue); }

.adm-del {
  font-family: inherit; font-size: 12px;
  padding: 5px 10px; border-radius: 8px;
  border: 1px solid var(--red-line, rgba(224,75,74,.3));
  background: transparent; color: var(--red); cursor: pointer;
  transition: background .2s var(--ease);
}
.adm-del:hover { background: var(--red-soft, rgba(224,75,74,.08)); }

.adm-st {
  display: inline-block; font-size: 11.5px; font-weight: 500;
  padding: 3px 9px; border-radius: 7px;
  background: var(--amber-soft); color: var(--amber, #BA7517);
}
.adm-st.st-paid, .adm-st.st-done { background: var(--green-soft); color: var(--green); }
.adm-st.st-cancelled { background: rgba(140,140,140,.12); color: var(--ink-4); }
.adm-st.st-review { background: var(--blue-soft); color: var(--blue); }

.notice.warn { background: var(--amber-soft); color: var(--amber, #BA7517); }

@media (max-width: 720px) {
  .adm-tools { margin-left: 0; width: 100%; }
  .adm-kw { flex: 1; min-width: 0; }
}

/* ============================================================
   滚动进场动画
   ============================================================ */

.rv { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rv.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; }
}

/* ============================================================
   工具类
   ============================================================ */

.mt-s { margin-top: 14px; }
.mt-m { margin-top: 26px; }
.mt-l { margin-top: 40px; }
.tc { text-align: center; }
.muted { color: var(--ink-4); }
.hide { display: none !important; }
.sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
/* ============================================================
   板块卡片：可点击态
   ============================================================ */

.board-link { display: flex; cursor: pointer; }
.board-link:hover { transform: translateY(-5px); box-shadow: var(--sh-2); }
.board-link:hover::before { opacity: 1; }
.board-link:hover .board-go { opacity: 1; transform: translateX(0); }

.board-go {
  margin-top: 14px; padding-top: 14px;
  border-top: 1px solid var(--line-soft);
  font-size: 12.5px; font-weight: 600; color: var(--blue);
  display: flex; align-items: center; gap: 5px;
  opacity: 0; transform: translateX(-6px);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.board-go svg { width: 14px; height: 14px; stroke-width: 2; }

/* ============================================================
   统一雾化（Unified Fog）
   首页板块卡与职级卡共用同一套参数：同一模糊强度、
   同一遮罩浓度、同一种灰度，不做分层差异。
   ============================================================ */

.fog-layer {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(135deg, rgba(122,152,200,.13), rgba(190,205,230,.18));
  backdrop-filter: blur(8px) saturate(.5);
  -webkit-backdrop-filter: blur(8px) saturate(.5);
  pointer-events: none;
}

/* 阶梯卡内含 .rung-trio 时，雾化只覆盖上方的数字区，
   避免把下方清晰的三段文案一起糊掉。 */
.rung:has(.rung-trio) .fog-layer { bottom: auto; height: 108px; }
.rung:has(.rung-trio) .fog-content { bottom: auto; height: 108px; overflow: hidden; }

.fog-content {
  filter: blur(3px) grayscale(.6);
  opacity: .45;
  user-select: none; pointer-events: none;
}

/* 承载雾化的容器：不可交互、无位移 */
.fogged { overflow: hidden; cursor: default; background: var(--surface-2); }
.fogged:hover { transform: none; box-shadow: none; }

/* ============================================================
/* ============================================================
   职级阶梯：可点进入（L1）
   ============================================================ */

.rung-link { display: flex; cursor: pointer; }
.rung-link:hover { border-color: var(--blue); box-shadow: var(--sh-2); transform: translateY(-3px); }
.rung-go {
  margin-top: 2px; padding-top: 12px;
  border-top: 1px solid var(--line-soft);
  font-size: 12px; font-weight: 600; color: var(--blue);
  display: flex; align-items: center; gap: 5px;
}
.rung-go svg { width: 13px; height: 13px; stroke-width: 2; }

/* ============================================================
   L1 详情页
   ============================================================ */

.crumb-bar { border-bottom: 1px solid var(--line-soft); background: var(--surface); }
.crumb-inner {
  display: flex; align-items: center; gap: 9px;
  padding-top: 13px; padding-bottom: 13px;
  font-size: 13px; color: var(--ink-4);
}
.crumb-link { display: inline-flex; align-items: center; gap: 4px; color: var(--blue); font-weight: 500; }
.crumb-link svg { width: 13px; height: 13px; stroke-width: 2; }
.crumb-sep { color: var(--line); }
.crumb-cur { color: var(--ink-3); }

.l1-facts {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: 12px; margin: 26px 0 28px;
}
.l1-fact {
  background: var(--surface); border: 1px solid var(--line-soft);
  border-radius: var(--r-m); box-shadow: var(--sh-1);
  padding: 15px 24px; min-width: 158px; text-align: center;
}
.l1-fact .k { display: block; font-size: 12px; color: var(--ink-4); margin-bottom: 6px; }
.l1-fact b { font-size: 21px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.l1-fact b.inc { color: var(--green); font-size: 19px; }

.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 11px 20px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line-soft);
  box-shadow: var(--sh-1);
  font-size: 13.5px; font-weight: 500; color: var(--ink-2);
}
.chip svg { width: 14px; height: 14px; stroke-width: 2.2; color: var(--blue); }
