/* =================================================================
   全站设计系统 - 老站 gaokao-web 设计 tokens 继承
   风格定位：苹果 Big Sur 克制美学 + 信任优先场景
   禁高饱和：主色 #0071e3（不是纯蓝），辅助色全部降饱和加灰调
   关键原则：圆角 2 级（12/18），阴影 3 级（sm/md/lg），缓动统一
   ================================================================= */
:root {
    --ink: #1d1d1f;            /* 浅底主文字 - 苹果近黑 */
    --ink-2: #424245;
    --muted: #6e6e73;          /* 辅助文字 - 苹果灰 */
    --line: #d2d2d7;           /* 苹果细边框 */
    --line-soft: #e8e8ed;      /* 更浅分隔线 */
    --bg: #ffffff;
    --bg-2: #f5f5f7;           /* 苹果招牌浅灰 */
    --bg-3: #fbfbfd;
    --accent: #0071e3;         /* 苹果招牌蓝 */
    --accent-hover: #0077ed;
    --accent-dark: #004396;    /* 深蓝(统一曾被硬编码的 #004396) */
    --accent-bg: rgba(0, 113, 227, .08);
    --near-black: #161617;      /* 暗底背景 - Hero/页脚 */
    --text-light: #f5f5f7;
    --text-light-2: rgba(245, 245, 247, .76);
    --success: #2e7d4f;
    --success-bg: #eaf5ef;
    --warn: #9a6b1f;
    --warn-bg: #fbf4e5;
    --danger: #b23a3a;
    --danger-bg: #fbeeee;

    --radius: 18px;            /* 主圆角 */
    --radius-sm: 12px;
    --radius-lg: 24px;
    --ease: cubic-bezier(.4, 0, .2, 1);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .06), 0 1px 3px rgba(0, 0, 0, .04);
    --shadow-md: 0 6px 20px rgba(0, 0, 0, .08);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, .10);

    --font-cn: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    --font-en: 'Plus Jakarta Sans', 'Ubuntu', sans-serif;
    --max-w: 1200px;

    /* 兼容旧模板遗留变量（jobs/policy/score 等页仍在使用） */
    --blue: var(--accent);
    --gray1: var(--muted);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
*::before, *::after { box-sizing: border-box; }

html, body {
    font-family: var(--font-cn);
    background: var(--bg);
    color: var(--ink);
    line-height: 1.6;
    font-size: 15px;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 全站页面框架：左右留白 + 最大宽度 1280px */
.page-frame { max-width: 1280px; margin: 0 auto; padding: 0 20px; min-height: 100vh; display: flex; flex-direction: column; }

a { color: var(--accent); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--accent-hover); }

/* ========== Header (毛玻璃) ========== */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255, 255, 255, .82);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--line-soft);
}
.site-header .inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 14px 24px;
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.site-logo { display: flex; flex-direction: column; align-items: flex-start;
    line-height: 1.15; text-decoration: none; }
.site-logo .main { font-family: var(--font-en); font-size: 19px; font-weight: 600;
    letter-spacing: -.2px; color: var(--ink); }
.site-logo .main .dot { color: var(--accent); }
.site-logo .sub { font-size: 9px; font-weight: 500; color: var(--muted);
    letter-spacing: 2.6px; margin-top: 3px; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a { color: var(--ink-2); font-size: 14px; font-weight: 400;
    padding: 8px 14px; border-radius: 8px; transition: all .2s var(--ease); }
.site-nav a:hover { background: var(--bg-2); color: var(--ink); }
.site-nav a.active { color: var(--ink); font-weight: 500; }

/* ========== Main 容器 ========== */
main { flex: 1; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 48px 24px 72px; }
.container-narrow { max-width: 800px; margin: 0 auto; padding: 32px 24px; }

/* ========== Hero (苹果官网风：白底 + 巨标题 + 极简 CTA) ========== */
.hero {
    position: relative; text-align: center;
    padding: clamp(90px, 12vw, 160px) 24px clamp(70px, 10vw, 140px);
    background: linear-gradient(170deg, var(--near-black) 0%, #1c1c1e 100%);
    color: var(--text-light);
    overflow: hidden; margin: 20px auto 56px;
    max-width: 1280px;
    border-radius: 32px;
}
.hero::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(800px 420px at 50% -18%, rgba(0,113,227,.22), transparent 70%);
    pointer-events: none;
}
.hero::after {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(600px 300px at 85% 120%, rgba(0,113,227,.12), transparent 60%);
    pointer-events: none;
}
.hero-title {
    position: relative;
    font-size: clamp(48px, 8vw, 96px);
    font-weight: 600; color: var(--text-light);
    letter-spacing: -2.5px; line-height: 1.05;
    margin: 0 auto 22px; max-width: 800px;
}
.hero-title em {
    position: relative;
    font-style: normal;
    background: linear-gradient(120deg, #fff 0%, var(--accent) 90%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-sub {
    position: relative;
    font-size: clamp(18px, 2.5vw, 21px);
    color: var(--text-light-2); font-weight: 400; letter-spacing: -.2px;
    line-height: 1.5; max-width: 640px; margin: 0 auto 40px;
}
.hero-cta { position: relative; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.hero-brand {
    position: relative;
    font-size: clamp(13px, 1.6vw, 15px);
    color: rgba(245, 245, 247, .6); font-weight: 400; letter-spacing: 1px;
    margin: -22px auto 34px; max-width: 640px; text-align: center;
}
.hero .hero-title { margin-bottom: 18px; }
.hero .hero-title + .hero-sub { margin-top: 0; }

/* 保留旧的暗底 hero 类，供老页面使用（隐藏：已全站替换为白底） */
.hero-dark { display: none; }

/* ========== 按钮 (2 级：实心 + 描边) ========== */
.btn, .btn-p, .btn-o {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 12px 22px; border-radius: 999px; font-size: 14px;
    font-weight: 500; cursor: pointer; transition: all .25s var(--ease);
    text-decoration: none; border: 1.5px solid transparent; font-family: var(--font-cn);
}
.btn-p { background: var(--accent); color: #fff; box-shadow: 0 4px 14px rgba(0, 113, 227, .28); }
.btn-p:hover { background: var(--accent-hover); transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 113, 227, .35); }
.btn-o { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-o:hover { background: var(--bg-2); border-color: var(--muted); }

/* 暗底 Hero 上的按钮特殊样式 */
.hero .btn-p { background: var(--accent); color: #fff;
    box-shadow: 0 4px 20px rgba(0,113,227,.35); }
.hero .btn-p:hover { background: var(--accent-hover); transform: translateY(-1px); }
.hero .btn-o { background: transparent; color: var(--text-light);
    border: 1.5px solid rgba(255,255,255,.4); }
.hero .btn-o:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.7); }

/* ========== 卡片 (3 级阴影) ========== */
.card {
    background: var(--bg); border: 1px solid var(--line-soft);
    border-radius: var(--radius); padding: 24px 26px;
    transition: all .25s var(--ease);
    height: 100%; display: flex; flex-direction: column; justify-content: space-between;
    text-decoration: none; color: var(--ink);
}
.card:hover {
    /* 苹果风：hover 不位移不浮动，只微加深边框 + 极轻阴影，保持克制 */
    border-color: var(--line); box-shadow: var(--shadow-sm);
}
.card .h-card { line-height: 1.4; }

/* ========== Eyebrow (小标签) ========== */
.eyebrow {
    display: inline-block; font-size: 11px; font-weight: 600;
    color: var(--accent); letter-spacing: 1.4px; text-transform: uppercase;
    padding: 4px 10px; background: var(--accent-bg); border-radius: 4px;
    margin-bottom: 12px;
}

/* ========== 段落文字 ========== */
.text-muted { color: var(--muted); }
.text-sub { color: var(--ink-2); }
.text-meta { color: var(--muted); font-size: 13px; }

/* ========== 表格 ========== */
.table-clean { width: 100%; border-collapse: collapse; font-size: 14px; }
.table-clean th, .table-clean td { padding: 12px 14px;
    border-bottom: 1px solid var(--line-soft); }
.table-clean th { text-align: left; font-weight: 500; color: var(--ink-2);
    background: var(--bg-2); }
.table-clean tr:hover td { background: var(--bg-3); }
.table-clean td { max-width: 240px; overflow: hidden;
    text-overflow: ellipsis; white-space: nowrap; }
.table-clean td a { display: inline-block; max-width: 100%; overflow: hidden;
    text-overflow: ellipsis; vertical-align: bottom; }
.table-clean td:first-child { max-width: 360px; }

/* 院校库列表页移动端：保持横版，表格横向滚动，校名列冻结可见可点。
   原横版下校名列过窄被 ellipsis 吃成“…”只剩三个点(热区极小点不进去)；
   改为移动端表格可横向滚动，校名列 sticky 固定+宽度放足，完整显示可点。 */
@media (max-width: 768px) {
  .tbl-card { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .tbl-card .table-clean { min-width: 560px; }
  .tbl-card .table-clean th:first-child,
  .tbl-card .table-clean td:first-child {
      position: sticky; left: 0; background: #fff; z-index: 1;
      min-width: 180px; max-width: none; white-space: normal;
      box-shadow: 2px 0 6px rgba(0,0,0,.04);
  }
  .tbl-card .table-clean td:first-child a.link-cta {
      display: inline-block; max-width: none; padding: 6px 2px; vertical-align: middle;
  }
}

/* ========== 表单 ========== */
input, select, textarea {
    font-family: var(--font-cn); font-size: 14px;
    padding: 10px 14px; border: 1px solid var(--line);
    border-radius: 8px; background: var(--bg); color: var(--ink);
    transition: all .2s var(--ease); width: 100%;
    box-sizing: border-box; min-height: 42px;
}
input:focus, select:focus, textarea:focus {
    outline: none; border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-bg);
}
label { display: block; margin-bottom: 6px; font-size: 13px; color: var(--ink-2); font-weight: 500; }

/* ========== 网格工具类 ========== */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-auto { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid-cards { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.grid-2-stack { grid-template-columns: 1fr 1fr; gap: 24px; }

/* ========== 间距 ========== */
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; } .mb-4 { margin-bottom: 32px; }

/* ========== 排版 ========== */
.h-hero { font-size: 36px; font-weight: 600; color: var(--ink); margin-bottom: 16px; letter-spacing: -.5px; }
.h-section { font-size: 24px; font-weight: 500; margin-bottom: 20px; letter-spacing: -.3px; }
.h-card { font-size: 17px; font-weight: 600; }
.subtitle-soft { font-size: 18px; color: var(--muted); max-width: 600px; margin: 0 auto 32px; }

/* ========== 数字陈列（苹果官网风格：大细体 + 分隔线） ========== */
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
    background: transparent; padding: 8px 0 40px; margin: 0 0 64px; }
.stat { text-align: center; padding: 12px 18px; border-left: 1px solid var(--line-soft); }
.stat:first-child { border-left: none; }
.stat .num { font-size: clamp(56px, 7vw, 84px); font-weight: 300; color: var(--ink);
    letter-spacing: -2px; line-height: 1; font-variant-numeric: tabular-nums; }
.stat .lbl { font-size: 14px; color: var(--muted); margin-top: 6px; }

/* 保留旧 .stat-strip 类（其他页面可能用着）*/
.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
    margin: 0; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); padding: 0 0 48px; }
.stat-strip .stat { text-align: center; padding: 44px 18px 8px; }

/* ========== 徽章 ========== */
.badge { display: inline-block; padding: 3px 9px; border-radius: 4px;
    font-size: 12px; font-weight: 500; }
.badge-brand { background: var(--accent-bg); color: var(--accent); }
.badge-mute { background: var(--bg-2); color: var(--muted); }
.badge-dark { background: rgba(255,255,255,.1); color: var(--text-light); }
.badge-voc { background: #e0f2fe; color: #0369a1; }  /* 专科/职业院校·校名行业定位（蓝） */

/* ========== 链接 ========== */
.link-soft { font-size: 14px; color: var(--muted); text-decoration: none; }
.link-cta { color: var(--accent); text-decoration: none; }

/* ========== 免责声明 ========== */
.disclaimer {
    background: var(--bg-2); padding: 14px 18px;
    border-radius: var(--radius-sm);
    font-size: 13px; color: var(--muted); line-height: 1.6;
}

/* ========== 底部 CTA（苹果风：白底 + 细边框，非渐变） ========== */
.section-cta {
    background: var(--bg-2);
    padding: 72px 20px; margin: 0;
    border-radius: 32px;
    border: 1px solid var(--line-soft);
}
.section-cta-narrow { max-width: 800px; margin: 0 auto; text-align: center; }
.section-cta .h-section { font-size: 28px; margin-bottom: 16px; }
.section-cta .cta-desc { font-size: 15px; margin-bottom: 28px; }
.section-cta .btn { padding: 11px 20px; font-size: 14px; }

/* 首页区块标题：比全站 h-section(24px) 更小更克制，苹果风格小标签 */
.section-title { font-size: 18px; font-weight: 500; color: var(--ink-2);
    letter-spacing: -.2px; margin-bottom: 16px; }

/* ========== 悬浮按钮 ========== */
/* 图标 + 常驻文字标识竖排（title 属性只有鼠标 hover 才出，手机端根本触发不了，
   所以必须用可见文字）。尺寸从 56 拉到 60 是为了装下两行不拥挤。 */
.fab {
    position: fixed; bottom: 24px; right: 24px;
    width: 60px; height: 60px; border-radius: 50%;
    background: var(--accent); color: #fff;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
    font-size: 24px; text-decoration: none;
    box-shadow: 0 8px 24px rgba(0, 113, 227, .35);
    transition: all .3s var(--ease); z-index: 99; border: none; cursor: pointer;
}
.fab .line-icon{width:21px;height:21px;vertical-align:0;}
/* 1 行定高 + 不换行，避免文字折行把圆撞变形 */
.fab-label{font-size:10px;line-height:1;font-weight:500;letter-spacing:.5px;white-space:nowrap;}
.fab:hover { transform: translateY(-2px) scale(1.05);
    box-shadow: 0 12px 32px rgba(0, 113, 227, .45); }

/* ========== 渐入（首屏） ========== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}
.fade-in-1 { animation: fadeInUp .5s var(--ease) both; }
.fade-in-2 { animation: fadeInUp .5s .1s var(--ease) both; }
.fade-in-3 { animation: fadeInUp .5s .2s var(--ease) both; }
.fade-in-4 { animation: fadeInUp .5s .3s var(--ease) both; }
.fade-in-5 { animation: fadeInUp .5s .4s var(--ease) both; }

/* ========== 辅助工具类 ========== */
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.flex-wrap-gap { display: flex; flex-wrap: wrap; gap: 6px; }
.d-inline { display: inline-block; }

.table-wrap { overflow-x: auto; }

.cta-desc { font-size: 16px; color: var(--muted); max-width: 600px; margin: 0 auto 32px; }
.cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }

.article-list { display: flex; flex-direction: column; gap: 12px; text-align: left; }
.article-row { padding: 12px; border-bottom: 1px solid var(--line-soft);
    text-decoration: none; color: var(--ink-2);
    display: flex; justify-content: space-between; }
.article-row:hover { color: var(--ink); }
.article-title { font-size: 15px; font-weight: 500; line-height: 1.4; }

/* ========== 院校库列表页专用 ========== */
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; margin-bottom: 14px; }
.form-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.sort-control { display: flex; align-items: center; }
.sort-control select { width: auto; padding: 6px 10px; }
.result-count { margin-left: auto; font-size: 14px; color: var(--muted); }
.result-count strong { color: var(--accent); }

/* ========== 文章详情页专用 ========== */
.article-frame { max-width: 800px; padding-top: 32px; padding-bottom: 80px; }

.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.breadcrumb a { color: var(--ink-2); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb .sep { margin: 0 6px; color: var(--line); }

.article-header { margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid var(--line-soft); }
.article-tags { display: flex; gap: 7px; margin-bottom: 14px; flex-wrap: wrap; }
.article-frame .article-title { font-size: clamp(26px, 5vw, 36px); font-weight: 600; line-height: 1.3;
    letter-spacing: -.5px; margin: 0 0 14px; color: var(--ink); }
.article-meta { font-size: 13px; color: var(--muted); }
.article-disclaimer { margin-top: 36px; padding: 16px 18px;
    background: var(--bg-2); border-radius: var(--radius-sm); }
.article-disclaimer p { font-size: 12px; color: var(--muted); line-height: 1.7; margin: 0; }

.related-section { margin-top: 40px; }
.related-title { font-size: 20px; font-weight: 600; margin-bottom: 14px; color: var(--ink); }
.related-list { display: flex; flex-direction: column; gap: 2px; }
.related-link { padding: 12px 14px; border-bottom: 1px solid var(--line-soft);
    text-decoration: none; color: var(--ink-2); font-size: 15px; transition: color .2s var(--ease); }
.related-link:hover { color: var(--accent); background: var(--bg-3); }

.article-cta { margin-top: 32px; padding: 24px;
    background: var(--bg-2); border-radius: var(--radius); }
.article-cta-title { font-size: 18px; font-weight: 600; margin: 0 0 8px; color: var(--ink); }
.article-cta-desc { font-size: 14px; color: var(--muted); margin: 0 0 16px; }
.article-cta-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* tag 颜色变体（已有 tag-blue，新增 tag-amber/tag-yellow） */
.tag-amber { padding: 4px 11px; background: var(--warn-bg); color: var(--warn);
    border-radius: 5px; font-size: 13px; text-decoration: none; }
.tag-yellow { padding: 4px 11px; background: #fef9c3; color: #854d0e;
    border-radius: 5px; font-size: 13px; text-decoration: none; }

/* ========== 双路径规划页专用 ========== */
.dual-frame { padding-top: 32px; padding-bottom: 80px; }
.dual-header { margin-bottom: 32px; }

.calc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.calc-item { padding: 16px; background: var(--bg,#fff); border:1px solid var(--line-soft,#ececf0); border-radius: 12px; }
.calc-label { font-size: 12px; color: var(--muted); margin: 0 0 6px; }
.calc-value { font-size: 18px; font-weight: 600; margin: 0; }
.calc-value-brand { color: var(--accent); font-size: 22px; }

.dual-form { margin-bottom: 24px; 
  background: var(--bg,#fff); border:1px solid var(--line-soft,#ececf0); border-radius:12px; padding:20px 22px; box-shadow:0 1px 2px rgba(0,0,0,.03);
}
.dual-form-row { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 14px; margin-bottom: 14px; }

.dual-col-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.path-title { font-size: 18px; font-weight: 600; margin: 0 0 16px; display: flex; align-items: center; gap: 8px; }
.path-title-art { color: var(--accent); }
.path-title-com { color: var(--ink); }

.path-stack { display: flex; flex-direction: column; gap: 16px; }
.path-block { padding: 16px; border-radius: 10px; }
.path-block-chong { background: #fff7ed; border-left: 4px solid #f97316; }
.path-block-wen { background: #f0fdf4; border-left: 4px solid #10b981; }
.path-block-bao { background: #eff6ff; border-left: 4px solid #3b82f6; }

.path-block-title { font-size: 15px; font-weight: 600; margin: 0 0 10px; }
.path-list { display: flex; flex-direction: column; gap: 8px; }
.path-row { padding: 8px 10px; background: var(--bg); border: 1px solid var(--line-soft); border-radius: 6px; }
.path-row-name { font-weight: 500; margin: 0 0 4px; display: flex; align-items: center; gap: 6px; }
.path-row-meta { display: flex; justify-content: space-between; align-items: center; }
.path-tag-amber { font-size: 10px; background: var(--warn); color: #fff; padding: 1px 6px; border-radius: 3px; margin-left: 6px; }

.wind-block { margin-top: 24px; padding: 18px 20px;
    background: var(--bg-2); border-radius: 10px; border: 1px solid #fed7aa; }
.wind-title { font-size: 17px; font-weight: 600; margin: 0 0 6px; }
.wind-desc { font-size: 13px; color: var(--ink-2); margin: 0 0 12px; }
.wind-tags { display: flex; flex-wrap: wrap; gap: 8px; }

/* ========== 通用模态框（共用） ========== */
.modal-backdrop { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 999; align-items: center; justify-content: center; }
.modal-content { width: 90%; max-width: 420px; background: var(--bg); border-radius: 12px; padding: 24px; position: relative; max-height: 86vh; display: flex; flex-direction: column; }
.modal-close { position: absolute; top: 12px; right: 14px; border: none; background: none; font-size: 20px; cursor: pointer; color: var(--muted); z-index: 2; }
.modal-title { font-size: 17px; font-weight: 600; margin: 0 4px 4px 0; padding-right: 24px; }
.modal-subtitle { font-size: 14px; color: var(--muted); margin: 0 0 18px; }
.modal-body { font-size: 14px; color: var(--ink); overflow-y: auto; min-height: 0; flex: 1 1 auto; padding-right: 4px; margin-right: -4px; }
.modal-block { padding: 12px; background: var(--bg-2); border-radius: 8px; margin-bottom: 10px; overflow-wrap: break-word; }
.modal-section-label { font-size: 12px; color: var(--muted); margin: 0 0 4px; }
.modal-section-value { font-size: 15px; font-weight: 600; margin: 0; }
.modal-section-rank { color: var(--accent); margin-left: 4px; }
.modal-section-level { display: inline-block; margin-top: 6px; padding: 2px 9px; border-radius: 4px; font-size: 12px; font-weight: 600; background: var(--accent-bg); color: var(--accent); }

/* ========== 管乐专项匹配 + 通用块 ========== */
.instrument-frame { padding-top: 32px; padding-bottom: 80px; }
.instrument-form { max-width: 760px; margin-bottom: 24px; background: var(--bg,#fff); border:1px solid var(--line-soft,#ececf0); border-radius:12px; padding:20px 22px; box-shadow:0 1px 2px rgba(0,0,0,.03); }
.instrument-form .instrument-row:last-child{ margin-bottom:0; }
.instrument-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.required { color: var(--danger); }

.result-summary { background: var(--bg,#fff); padding: 18px 20px; border-radius: 12px; margin: 22px 0; border:1px solid var(--line-soft,#ececf0); box-shadow:0 1px 2px rgba(0,0,0,.03); }
.summary-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 16px; }
.summary-item { text-align: center; }
.summary-label { font-size: 12px; color: var(--muted); margin: 0 0 4px; }
.summary-value { font-size: 18px; font-weight: 700; margin: 0; }
.summary-value-brand { color: var(--accent); }
.summary-note { font-size: 13px; color: var(--muted); margin: 12px 0 0; }

.text-bold-accent { color: var(--accent); font-weight: 600; }

.wind-caveat-block { margin-top: 18px; padding: 14px 16px; background: #fffbeb;
    border-left: 3px solid var(--warn); border-radius: 6px; }
.wind-caveat { font-size: 13px; color: #92400e; line-height: 1.7; margin: 0; }
.wind-caveat strong { color: #92400e; }

.cta-row { margin-top: 20px; display: flex; gap: 12px; flex-wrap: wrap; }

.howto-block { margin-top: 26px; padding: 20px 22px; background: var(--bg,#fff); border-radius: 12px; border:1px solid var(--line-soft,#ececf0); }
.howto-block h3 { display:flex; align-items:center; gap:8px; }
.howto-block h3 .line-icon{ color: var(--accent,#0071e3); }
.howto-block h3 { font-size: 15px; font-weight: 600; margin: 0 0 10px; }
.howto-block ul { margin: 0; padding-left: 20px; }
.howto-block li { font-size: 14px; color: var(--ink-2); margin: 5px 0; }
.howto-block li strong { color: var(--ink); font-weight: 600; }

/* ========== 志愿风险校验页 ========== */
.volunteer-frame { padding-top: 32px; padding-bottom: 80px; }
.vc-form { margin-bottom: 24px; 
  background: var(--bg,#fff); border:1px solid var(--line-soft,#ececf0); border-radius:12px; padding:20px 22px; box-shadow:0 1px 2px rgba(0,0,0,.03);
}
.vc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.vc-row-3 { grid-template-columns: 1fr 1fr 2fr; }
.vc-row-2 { grid-template-columns: 1fr 1fr; }
.checkbox-label { display: flex; align-items: center; gap: 8px; padding: 8px 0; font-size: 14px; color: var(--ink-2); cursor: pointer; }

.vc-card { background: var(--bg); border: 1px solid var(--line-soft); border-radius: 10px; margin-bottom: 14px; overflow: hidden; }
.vc-card-header { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line-soft); }
.vc-card-title { font-size: 16px; font-weight: 600; margin: 0 0 4px; color: var(--ink); }
.vc-risk-badge { padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 500; }
.risk-green { background: var(--success-bg); color: var(--success); }
.risk-yellow { background: var(--warn-bg); color: var(--warn); }
.risk-red { background: #fbeeee; color: var(--danger); }

.vc-checks { list-style: none; margin: 0; padding: 0; }
.vc-check { display: flex; align-items: center; gap: 12px; padding: 10px 18px; border-bottom: 1px solid var(--line-soft); }
.vc-check:last-child { border-bottom: none; }
.vc-check-label { font-weight: 500; min-width: 80px; color: var(--ink); }
.vc-check-mark { display: inline-flex; align-items: center; justify-content: center;
    width: 22px; height: 22px; border-radius: 50%; font-weight: 600; font-size: 12px; }
.vc-check-mark-passed { background: var(--success-bg); color: var(--success); }
.vc-check-mark-failed { background: #fbeeee; color: var(--danger); }
.vc-check-msg { color: var(--ink-2); flex: 1; }
.vc-check-failed .vc-check-msg { color: var(--danger); }

/* fade-in 6-8 变体（volunteer-check 多卡片）—— fade-in-5 已在上方动画区定义，此处不重复 */
.fade-in-6 { animation: fadeInUp .5s .5s var(--ease) both; }
.fade-in-7 { animation: fadeInUp .5s .6s var(--ease) both; }
.fade-in-8 { animation: fadeInUp .5s .7s var(--ease) both; }

/* ========== 96 志愿模拟 ========== */
.volunteer-sim-frame { padding-top: 32px; padding-bottom: 80px; }
.vs-form { max-width: 900px; margin-bottom: 24px; }
.vs-row { display: grid; gap: 14px; margin-bottom: 14px; }
.vs-row-4 { grid-template-columns: repeat(4, 1fr); }

.summary-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.summary-actions { display: flex; gap: 8px; }

.vs-tri-col { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.vs-tier { background: var(--bg-2); border-radius: 12px; padding: 16px; }
.vs-tier-title { font-size: 15px; font-weight: 600; margin: 0 0 12px; display: flex; justify-content: space-between; align-items: center; }
.vs-tier-count { font-size: 12px; background: var(--bg); padding: 2px 8px; border-radius: 10px; }
.vs-tier-list { display: flex; flex-direction: column; gap: 8px; }

.vs-volunteer { padding: 10px; background: var(--bg); border: 1px solid var(--line-soft); border-radius: 6px; }
.vs-volunteer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; margin-bottom: 4px; }
.vs-volunteer-school { flex: 1; }
.vs-volunteer-score { font-size: 12px; color: var(--accent); background: var(--accent-bg); padding: 2px 6px; border-radius: 4px; white-space: nowrap; }
.vs-volunteer-major { font-size: 13px; color: var(--ink-2); margin: 4px 0; }
.vs-volunteer-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; }

/* 响应式：志愿模拟在窄屏单列 */
@media (max-width: 768px) {
    .vs-row-4 { grid-template-columns: 1fr 1fr; }
    .vs-tri-col { grid-template-columns: 1fr; }
}

/* ========== 文章列表页 ========== */
.article-list-frame { padding-top: 32px; padding-bottom: 80px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.block-card-title { font-size: 14px; color: var(--ink-2); margin: 0 0 10px; }
.search-form { display: flex; gap: 8px; margin-bottom: 20px; }
.search-input { flex: 1; }
.search-btn { padding: 10px 22px; font-size: 14px; }

.article-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; }
.article-card { background: var(--bg); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; transition: all .25s var(--ease); }
.article-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--line); }
.article-card-tags { display: flex; gap: 6px; margin-bottom: 10px; }
.article-card-title { font-size: 16px; font-weight: 600; line-height: 1.4; margin: 0 0 8px; color: var(--ink); }
.article-card-desc { font-size: 13px; color: var(--muted); line-height: 1.6; margin: 0 0 14px; }
.article-card-meta { display: flex; justify-content: space-between; align-items: center; margin-top: auto; font-size: 12px; }
.article-card-read { font-size: 13px; }

/* ========== 一分一段表 ========== */
.form-row-sm { max-width: 420px; margin: 20px 0; display: flex; gap: 12px; align-items: flex-end; }
.thead-sticky { position: sticky; top: 0; background: var(--bg-2); z-index: 1; }
.td-cell { padding: 10px 14px; }
.td-right { text-align: right; }
.td-bold { font-weight: 500; }
.td-accent-bold { color: var(--accent); font-weight: 500; }
.th-right { text-align: right; }
.row-sep { border-bottom: 1px solid var(--line-soft); }
.table-wrap-scroll { max-height: 560px; overflow-y: auto; border: 1px solid var(--line-soft); border-radius: 10px; }
.ml-list { padding-left: 20px; }

/* ========== 通用表单页（rank-convert / score-calc 等） ========== */
.rank-convert-frame { padding-top: 32px; padding-bottom: 80px; }
.form-col { max-width: 500px; margin: 20px 0; display: flex; flex-direction: column; gap: 16px; 
  background: var(--bg,#fff); border:1px solid var(--line-soft,#ececf0); border-radius:12px; padding:20px 22px; box-shadow:0 1px 2px rgba(0,0,0,.03);
}
.alert-success { background: var(--success-bg); padding: 12px; border-radius: 8px; color: var(--success); margin: 16px 0; }

/* score-calc 结果摘要（带 .result-summary-title 特殊版） */
.score-calc-frame { padding-top: 32px; padding-bottom: 80px; }
.result-summary-title { font-size: 16px; color: var(--success); margin: 0 0 12px; font-weight: 600; }
.formula-note { margin-top: 16px; padding: 12px; background: var(--bg-2); border-radius: 6px; }
.formula-note p { font-size: 13px; color: var(--muted); margin: 0; }
.formula-note strong { color: var(--ink); }

/* ========== 院校详情页补充类 ========== */
.page-container { max-width: 1000px; margin: 0 auto; padding: 32px 24px 80px; }
.header-row { display: flex; align-items: center; gap: 20px; margin-bottom: 32px; }
.h-page { font-size: 32px; font-weight: 600; margin-bottom: 8px; color: var(--ink); }
.h-card { font-size: 16px; font-weight: 600; margin: 0; }
.section-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.flex-col-gap { display: flex; flex-direction: column; gap: 8px; }
.flex-center { display: flex; align-items: center; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.flex-wrap { display: flex; flex-wrap: wrap; }
.flex-1 { flex: 1; }
.gap-1 { gap: 6px; }
.gap-2 { gap: 12px; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mb-2 { margin-bottom: 14px; }
.mb-3 { margin-bottom: 16px; }
.mt-4 { margin-top: 40px; }
.text-sm { font-size: 13px; }
.text-xl { font-size: 20px; font-weight: 600; }
.text-2xl { font-size: 24px; }
.text-semibold { font-weight: 600; }
.text-center { text-align: center; }
.bg-2 { background: var(--bg-2); }
.border-top-soft { border-top: 1px solid var(--line-soft); }
.type-badge { display: inline-block; margin-left: 8px; padding: 2px 10px;
    border-radius: 4px; font-size: 12px; border: 1px solid transparent; }
.card-stat { background: var(--bg); padding: 16px; border-radius: 8px; text-align: center; }
.card-stat-num { font-size: 28px; font-weight: 700; color: var(--accent); margin-bottom: 4px; }
.scroll-box { max-height: 220px; overflow-y: auto; border: 1px solid var(--line-soft); border-radius: 8px; }
.tag-note { font-size: 12px; color: var(--muted); margin-left: 4px; }
.stat-note { font-size: 12px; color: var(--muted); margin: 2px 0; }
.rank-first { font-size: 12px; color: var(--warn); font-weight: 600; }
.chart-box { height: 240px; position: relative; }
.major-row { display: flex; align-items: center; gap: 10px; padding: 8px 12px;
    background: var(--bg); border: 1px solid var(--line-soft); border-radius: 6px; }
.level-badge { padding: 2px 9px; border-radius: 4px; font-size: 12px; font-weight: 600; }
.level-badge.A { background: var(--accent-bg); color: var(--accent); }
.level-badge.A\+ { background: var(--accent); color: var(--text-light); }
.level-badge.B { background: var(--bg-2); color: var(--muted); }

.school-logo-mini { width: 28px; height: 28px; border-radius: 4px; vertical-align: middle; margin-right: 8px; object-fit: contain; }
.school-tag { margin-left: 8px; padding: 2px 8px; background: var(--accent-bg); color: var(--accent); border-radius: 10px; font-size: 11px; }

.pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 24px; flex-wrap: wrap; }
/* ========== 院校详情页专用 ========== */
.page-container { max-width: 1000px; margin: 0 auto; }
.header-row { display: flex; align-items: center; gap: 20px; margin-bottom: 32px; }

.h-page { font-size: 32px; margin-bottom: 8px; letter-spacing: -.5px; }
.h-block { font-size: 24px; font-weight: 600; margin-bottom: 12px; }
.h-card-sm { font-size: 18px; font-weight: 600; margin: 0 0 8px 0; }
.h-card-md { font-size: 16px; font-weight: 600; margin: 0 0 14px 0; }
.h-text { font-size: 14px; font-weight: 500; }

.section-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.flex-col-gap { display: flex; flex-direction: column; gap: 8px; }
.major-row { display: flex; align-items: center; gap: 10px; padding: 8px 12px;
    background: var(--bg); border: 1px solid var(--line-soft); border-radius: 6px; }

.text-link { color: var(--accent); }
.text-main { color: var(--ink); }
.rank-gold { font-size: 32px; color: #f59e0b; font-weight: 600; }

/* 趋势图容器 */
.trend-box { margin-top: 8px; padding: 8px 10px; background: var(--bg-3);
    border-radius: 6px; border: 1px solid var(--line-soft); }
.trend-head { display: flex; align-items: center; margin-bottom: 4px; }
.trend-label { font-size: 11px; font-weight: 600; }
.trend-label.up { color: #10b981; }
.trend-label.down { color: #ef4444; }
.trend-label.flat { color: var(--muted); }

/* 等级徽章（动态颜色）— 模板里用 type-badge 类，已在 app.css 别处定义 */
.type-badge { display: inline-block; margin-left: 8px; padding: 2px 10px;
    background: var(--accent-bg); color: var(--accent);
    border: 1px solid currentColor; border-radius: 4px; font-size: 12px; }
.level-badge { padding: 2px 9px; border-radius: 4px; font-size: 12px; font-weight: 600; }
.level-badge.A+ { background: var(--accent); color: #fff; }
.level-badge.A  { background: var(--accent-bg); color: var(--accent); }
.level-badge.B+, .level-badge.B, .level-badge.B-,
.level-badge.C+, .level-badge.C, .level-badge.C- {
    background: var(--bg-2); color: var(--muted); }

.school-tag { margin-left: 8px; padding: 2px 8px; background: var(--accent-bg);
    color: var(--accent); border-radius: 10px; font-size: 11px; }
.tag-blue { background: #dbeafe; color: #1e40af; }
.tag-green { background: var(--success-bg); color: var(--success); }
.lh-loose { line-height: 1.7; }

/* 工具类复用（来自其他模块） */
.text-right { text-align: right; }
.text-center { text-align: center; }
.ml-1 { margin-left: 8px; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; }
.mb-2 { margin-bottom: 16px; } .mb-4 { margin-bottom: 32px; }
.my-1 { margin-top: 8px; margin-bottom: 8px; }
.my-2 { margin-top: 16px; margin-bottom: 16px; }
.my-3 { margin-top: 20px; margin-bottom: 20px; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
    .fade-in-1, .fade-in-2, .fade-in-3, .fade-in-4, .fade-in-5 {
        animation: none;
    }
}

/* ========== 响应式 ========== */
@media (max-width: 768px) {
    .site-header .inner { padding: 12px 16px; gap: 10px; flex-wrap: wrap; }
    .site-logo { flex: 0 0 auto; }
    .site-nav { width: 100%; flex-wrap: nowrap; white-space: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 2px; }
    .site-nav a { padding: 6px 10px; font-size: 13px; flex: 0 0 auto; white-space: nowrap; }
    .container { padding: 32px 16px 56px; }
    .container-narrow { padding: 24px 16px; }
    .hero { padding: 64px 18px 56px; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .grid-auto, .grid-cards { grid-template-columns: 1fr; }
    .grid-2-stack { grid-template-columns: 1fr; }
    .stat-strip { grid-template-columns: 1fr 1fr; }
    .stat .num { font-size: 32px; }
    .h-hero { font-size: 28px; }
    .h-section { font-size: 20px; }
}

/* 管乐专项页：可报专业列 */
.major-name-cell { font-size: 13px; color: var(--ink-2, #555); display: inline-block; max-width: 260px; }
.major-name-cell.major-link { color: var(--link, #0071e3); cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.major-name-cell.major-link:hover { color: #005bb5; }
.instrument-frame .table-clean td { vertical-align: middle; }

/* ===== 管乐专项页：分段折叠（2026-08-22 方案B，纯CSS无JS）===== */
.expand-toggle { position: absolute; opacity: 0; pointer-events: none; }
.expand-toggle ~ table .row-extra { display: none; }
.expand-toggle:checked ~ table .row-extra { display: table-row; }
.expand-wrap { text-align: center; padding: 16px 0 4px; }
.expand-btn {
    display: inline-block; cursor: pointer;
    padding: 9px 22px; border-radius: 8px;
    border: 1px solid #d2d2d7; background: #fff;
    font-size: 14px; color: #0071e3; font-weight: 500;
    transition: background .18s, border-color .18s;
    user-select: none;
}
.expand-btn:hover { background: #f5f5f7; border-color: #0071e3; }
.expand-hide { display: none; }
.expand-toggle:checked ~ .expand-wrap .expand-hide { display: inline; }
.expand-toggle:checked ~ .expand-wrap .expand-show { display: none; }

/* 全站线条图标 emoji 替换 */
.line-icon{width:1.05em;height:1.05em;vertical-align:-0.18em;color:inherit;flex-shrink:0;}

/* ================================================================
   全站审美统一层（2026-08-26 落地——首頁第12章規約 → 全站）
   目标：所有页面内容块"入框"、配色/圆角/图标/手机适配与首页统一
   原则：只新增通用类与兜底规则，不覆盖各页既有耦合样式
   ================================================================ */

/* ---- 全局手机端兜底：防横向溢出 + 图片自适应 ---- */
html { overflow-x: hidden; }
@media (max-width: 768px) {
    html, body { overflow-x: hidden; }
    img, svg { max-width: 100%; height: auto; }
    /* 已有横滚容器的表格块确保可触摸滚动 */
    .table-wrap, .table-wrap-scroll, .table-scroll, .expand-wrap, .scroll-box {
        -webkit-overflow-scrolling: touch;
        overflow-x: auto;
    }
}

/* ---- 内容块底座框（首页 info-band / why-band 同款）----
   任一页面想让整段内容"入框"，把主内容包进 <div class="band"> 即可 */
.band {
    background: var(--bg-2);
    border: 1px solid #ececf0;
    border-radius: 18px;
    padding: 26px 24px;
    margin: 0 0 24px;
}
.band .h-section, .band .h-page, .band > h1, .band > h2 {
    margin-top: 0;
}
/* 块标题行：小标签 + 线条图标，与首页 section-title 一致 */
.band-head {
    display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
    font-size: 18px; font-weight: 500; color: var(--ink-2);
    letter-spacing: -.2px; margin: 0 0 16px;
}
.band-head .line-icon { color: var(--accent); }
.band-head + * { margin-top: 0; }
.band-sub { color: var(--muted); font-size: 14px; margin: -6px 0 16px; }

/* 白色圆角小卡（框内承载条目，与首页独立小卡一致） */
.box-card {
    background: var(--bg);
    border: 1px solid var(--line-soft);
    border-radius: 12px;
    padding: 16px 18px;
    transition: all .22s var(--ease);
}
.box-card:hover { border-color: var(--line); box-shadow: var(--shadow-sm); }

/* 表格白卡化：给表格外层容器加 .tbl-card 变成白圆角卡（首页桌同款） */
.tbl-card {
    background: var(--bg);
    border: 1px solid var(--line-soft);
    border-radius: 12px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.tbl-card .table-clean th, .tbl-card table th { background: var(--bg-2); }

/* ---- 区块间距统一 ---- */
main .container > .band:first-child { margin-top: 0; }

/* ---- 组件在手机端的收敛 ---- */
@media (max-width: 768px) {
    .band { padding: 20px 16px; border-radius: 14px; }
    .band-head { font-size: 16px; }
    .box-card { padding: 14px 14px; }
    .grid-2, .grid-3, .grid-4, .grid-2-stack, .vs-tri-col, .calc-grid, .dual-col-grid,
    .instrument-row, .vc-row, .vc-row-3, .vc-row-2, .dual-form-row, .summary-grid { grid-template-columns: 1fr !important; }
    .form-col { max-width: 100%; }
    .instrument-form, .dual-form, .vc-form, .form-col { padding: 16px 14px; }
    .result-summary { padding: 14px 16px; }
    .summary-item { text-align: left; }
}

/* ---- 页脚（首页审美对齐：浅灰圆角 + 居中 + 手机换行） ---- */
.site-footer {
    background: var(--bg-2);
    border: 1px solid #ececf0;
    border-radius: 18px;
    padding: 30px 26px 24px;
    margin: 40px 24px 32px;
    text-align: center;
}
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin-bottom: 18px; }
.footer-nav a { color: var(--ink-2); font-size: 14px; text-decoration: none; }
.footer-nav a:hover { color: var(--accent); }
.site-footer .disclaimer {
    background: var(--bg); border: 1px solid var(--line-soft);
    text-align: left; margin: 0 auto 14px; max-width: 900px;
}
.footer-copy { color: var(--muted); font-size: 13px; margin: 0; }
.footer-version { font-size: 12px; color: var(--muted-2, #9a9aa0); margin-left: 4px; }
.footer-filing { margin: 6px 0 0; font-size: 12px; color: var(--muted); }
.footer-filing a { color: var(--accent, #0071e3); text-decoration: none; }
.footer-filing .beian-placeholder { color: var(--muted-2, #b0b0b6); opacity: .7; }
/* 主体资质行（2026-09-10）：公司名/备案号/办学许可证共 3-4 段，
   inline-block + nowrap 保证窄屏整段换行不拆字；≤480px 改为独占一行。 */
.footer-filing .footer-company,
.footer-filing .footer-license { display: inline-block; margin: 0 6px; white-space: nowrap; }
.footer-filing .footer-license { color: var(--muted-2, #b0b0b6); }
@media (max-width: 480px) {
    .footer-filing .footer-company,
    .footer-filing .footer-license { display: block; margin: 3px 0; white-space: normal; }
}
@media (max-width: 768px) {
    .site-footer { margin: 32px 14px 20px; padding: 22px 16px 18px; border-radius: 14px; }
    .footer-nav { gap: 6px 14px; }
}

/* ---- 通用内容卡 .block-card / .card-grid（全站统一——授予首页同款白卡）---- */
.block-card {
    background: var(--bg);
    border: 1px solid var(--line-soft);
    border-radius: 12px;
    padding: 20px;
}
.band .block-card { margin-bottom: 16px; }
.band .block-card:last-child { margin-bottom: 0; }

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
}
.band .card-grid { margin-bottom: 16px; }
@media (max-width: 768px) {
    .card-grid { grid-template-columns: 1fr 1fr; }
    .card-grid .card { padding: 16px 14px; }
}

/* ---- 院校库：表单白卡在灰底 band 内的间距与手机 2 列 ---- */
.band.school-panel .block-card { margin-bottom: 0; }
.band.school-panel .tbl-card { margin-top: 16px; }
.band .form-grid { gap: 14px 16px; }
@media (max-width: 768px) {
    .band.school-panel .form-grid { grid-template-columns: 1fr 1fr; }
    .band.school-panel .form-actions { flex-wrap: wrap; gap: 8px; }
}

/* =====================================================
   内页统一头部（首页 hero 巨型字的收敛版，深色文字）
   用法：<div class="page-hero"><h1>主标题</h1><p class="page-hero-sub">说明</p></div>
   ===================================================== */
.page-hero{padding:6px 0 2px;text-align:center;}
.page-hero h1{font-size:clamp(32px,5vw,50px);font-weight:700;color:var(--ink,#111);letter-spacing:-1.5px;line-height:1.12;margin:0;}
.page-hero h1 .line-icon{width:34px;height:34px;vertical-align:-6px;color:var(--accent,#0071e3);}
.page-hero .page-hero-sub{margin:12px auto 8px;font-size:16.5px;color:rgba(255,255,255,.86);max-width:660px;line-height:1.6;}
@media(max-width:768px){.page-hero h1{font-size:28px;letter-spacing:-.5px;}.page-hero .page-hero-sub{font-size:14px;line-height:1.5;}}

/* =====================================================
   工具中心卡片（参考首页核心服务：描边浅底线条图标 + 标题 + 说明 + go）
   ===================================================== */
.tool-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:14px;}
.tool-card{display:flex;align-items:flex-start;gap:12px;padding:16px;border:1px solid var(--line-soft,#e5e5e7);border-radius:14px;background:#fff;transition:transform .18s,box-shadow .18s,border-color .18s;}
.tool-card:hover{transform:translateY(-3px);box-shadow:0 10px 26px rgba(0,0,0,.07);border-color:#d2d2d7;text-decoration:none;}
.tool-card:hover h3{color:var(--accent,#0071e3);}
.tool-ic{flex:0 0 auto;width:40px;height:40px;border-radius:11px;display:flex;align-items:center;justify-content:center;color:var(--accent,#0071e3);border:1.5px solid #e3e6ec;background:#fff;transition:border-color .18s,color .18s,transform .18s;}
.tool-card:hover .tool-ic{border-color:var(--accent,#0071e3);transform:translateY(-1px);}
.tool-ic svg{width:22px;height:22px;display:block;}
.tool-card h3{font-size:15px;font-weight:600;color:var(--ink,#111);margin:2px 0 4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.tool-card p{font-size:12.5px;color:var(--muted,#6e6e73);margin:0;line-height:1.55;}
.tool-card .go{margin-top:7px;font-size:12px;color:var(--accent,#0071e3);font-weight:600;}
.tool-card:hover .go{text-decoration:underline;}
@media(max-width:768px){
  .tool-grid{grid-template-columns:1fr 1fr;gap:10px;}
  .tool-card{flex-direction:column;align-items:flex-start;padding:13px;}
  .tool-card h3{font-size:14px;}
  .tool-card p{font-size:11.5px;overflow-wrap:break-word;}
}

/* =====================================================
   院校库筛选表单统一控件 + 头部收敛 + 手机换行
   ===================================================== */
.band.school-panel label{display:block;font-size:12.5px;color:var(--muted,#6e6e73);margin-bottom:6px;font-weight:500;}
.band.school-panel .form-grid{align-items:end;}
.band.school-panel select,
.band.school-panel .form-grid input[type=text]{width:100%;height:42px;padding:0 12px;border:1px solid var(--line,#e0e0e5);border-radius:10px;background:#fff;font-size:14px;color:var(--ink,#111);transition:border-color .15s,box-shadow .15s;box-sizing:border-box;}
.band.school-panel select{appearance:none;-webkit-appearance:none;cursor:pointer;padding-right:34px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;}
.band.school-panel select:focus,
.band.school-panel .form-grid input[type=text]:focus{outline:none;border-color:var(--accent,#0071e3);box-shadow:0 0 0 3px rgba(0,113,227,.12);}
.band.school-panel .form-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:16px;padding-top:14px;border-top:1px solid var(--line-soft,#ececef);}
.band.school-panel .sort-control{display:flex;align-items:center;}
.band.school-panel .sort-control select{width:auto;min-width:150px;height:40px;}
.band.school-panel .result-count{margin-left:auto;font-size:13px;color:var(--muted,#6e6e73);white-space:nowrap;}
@media(max-width:768px){
  .band.school-panel .form-actions{gap:10px;}
  .band.school-panel .sort-control{flex-basis:100%;justify-content:space-between;}
  .band.school-panel .sort-control select{flex:1;}
  .band.school-panel .result-count{margin-left:auto;}
}
.band.school-panel .sort-control label{display:inline;margin:0 8px 0 0;}
.tool-card p{min-height:2.6em;}
.qta{display:flex;align-items:center;justify-content:center;gap:8px;margin:18px 0 2px;padding:15px 20px;border-radius:14px;background:#fff;border:1.5px dashed var(--accent,#0071e3);color:var(--accent,#0071e3);font-weight:600;font-size:14px;text-align:center;transition:background .18s;}
.qta:hover{background:#f0f6ff;text-decoration:none;}
@media(max-width:768px){.tool-card p{min-height:0;}.qta{font-size:13px;padding:13px 14px;line-height:1.5;}}
@media(max-width:768px){.band.school-panel .result-count{flex-basis:100%;margin-left:0;font-size:12px;padding-top:8px;border-top:1px dashed #ececf0;}}
.tbl-head{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;padding:13px 16px;border-bottom:1px solid var(--line-soft,#ececf0);background:#fbfbfd;border-radius:14px 14px 0 0;}
.tbl-head .count{font-size:13px;color:var(--muted,#6e6e73);}
.tbl-head .count strong{color:var(--ink,#111);}
.tbl-head .sort-line{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--muted,#6e6e73);}
.tbl-head .sort-line select{width:auto;min-width:140px;height:38px;margin:0;}
@media(max-width:768px){.tbl-head{flex-direction:column;align-items:flex-start;gap:8px;padding:12px 14px;}.tbl-head .sort-line{width:100%;justify-content:space-between;}.tbl-head .sort-line select{flex:1;}}

/* ===== 内页头部：复刻首页 hero（深色渐变底 + 白字），尺寸收敛 ===== */
.page-hero{
  position:relative; text-align:center;
  width:100%; max-width:1152px;
  padding: clamp(30px,4vw,40px) 24px clamp(28px,3.6vw,36px);
  background: linear-gradient(170deg, #1a1a1e 0%, #2d2d32 100%);
  color: var(--text-light,#f5f5f7);
  overflow: hidden; border-radius: 24px;
  margin: 8px auto 28px;
  box-sizing: border-box;
}
.page-hero::before{
  content:""; position:absolute; inset:0; pointer-events:none;
  background:
    radial-gradient(48% 80% at 24% -10%, rgba(0,113,227,.38), transparent 70%),
    radial-gradient(60% 80% at 8% 114%, rgba(96,165,250,.22), transparent 72%),
    radial-gradient(40% 60% at 90% 108%, rgba(0,113,227,.20), transparent 70%),
    radial-gradient(50% 65% at 84% 34%, rgba(0,113,227,.22), transparent 72%),
    radial-gradient(40% 62% at 82% 6%, rgba(96,165,250,.22), transparent 70%);
}
.page-hero h1{
  font-size: clamp(28px,4vw,42px); font-weight:700; color:#fff;
  letter-spacing:-1.5px; line-height:1.12; margin:0;
}
.page-hero h1 .line-icon{ width:34px; height:34px; vertical-align:-6px; color:#60a5fa; }
.page-hero .page-hero-sub{
  margin: 14px auto 0; font-size:16px; font-weight:500; color: rgba(255,255,255,.95);
  max-width: 640px; line-height:1.6; letter-spacing:.1px;
}
@media(max-width:768px){
  .page-hero{ padding:26px 18px 22px; border-radius:20px; margin:6px auto 20px; }
  .page-hero h1{ font-size:24px; }
  .page-hero h1 .line-icon{ width:26px; height:26px; }
  .page-hero .page-hero-sub{ font-size:13.5px; margin-top:10px; }
}

/* ============================================================
   【首页同款卡组件 —— 从 index.html 内联抽象为全站通用】
   数据引擎白卡 + 入口音乐卡，任何页面想用首页观感直接套。
   使用：灰底框用 .band（已有），框内数据卡用 .dm-grid>.dm-item，
   入口卡用 .zone-grid>.zone-card。
   ============================================================ */
.dm-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:18px;}
.dm-item{background:#fff;border:1px solid #e5e7ee;border-radius:12px;padding:14px 16px;display:flex;flex-direction:column;gap:2px;min-width:0;box-sizing:border-box;overflow:hidden;}
.dm-item .n{font-size:26px;font-weight:700;color:var(--accent,#0071e3);font-variant-numeric:tabular-nums;white-space:nowrap;}
.dm-item .t{font-size:12.5px;color:var(--ink,#111);font-weight:600;}
.dm-item .s{font-size:11.5px;color:var(--muted,#6e6e73);}
.zone-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:16px;}
.zone-card{border:1px solid #e5e7ee;border-left:4px solid var(--accent,#0071e3);border-radius:12px;background:#fff;padding:16px 18px;display:flex;flex-direction:column;gap:4px;text-decoration:none;color:inherit;min-width:0;}
.zone-card .n{font-size:26px;font-weight:700;color:var(--accent,#0071e3);font-variant-numeric:tabular-nums;white-space:nowrap;}
.zone-card .t{font-size:14px;font-weight:600;color:var(--ink,#111);}
.zone-card .d{font-size:12px;color:var(--muted,#6e6e73);line-height:1.5;}
.zone-card .go{margin-top:8px;font-size:13px;color:var(--accent,#0071e3);font-weight:600;}
.zone-card:hover{border-color:var(--accent,#0071e3);}
.zone-card:hover .go{text-decoration:underline;}
@media(max-width:768px){
  .dm-grid{grid-template-columns:1fr;gap:10px;margin-top:14px;}
  .dm-item{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:1px 14px;padding:12px 16px;}
  .dm-item .n{grid-column:1;grid-row:1/3;font-size:24px;white-space:nowrap;padding-right:2px;}
  .dm-item .t{grid-column:2;grid-row:1;font-size:13.5px;line-height:1.35;}
  .dm-item .s{grid-column:2;grid-row:2;font-size:11.5px;}
  .zone-grid{grid-template-columns:1fr;gap:10px;}
  .zone-card{padding:14px 16px;}
}

/* ===== 导航悬浮（上一页/首页，非首页显示） ===== */
/* 宽度取 60px = 客服 .fab 的宽度，让三个按钮竖向中心线对齐（否则差 6px 肉眼可见歪） */
.nav-floats{position:fixed;right:24px;bottom:100px;width:60px;display:none;flex-direction:column;gap:10px;z-index:98;align-items:center;transition:opacity .3s ease;}
/* ❗fab-sm 同时挂着 .fab（position:fixed bottom24 right24），不解绑会三个按钮叠在右下角同一点。
   position:static 让它回到 .nav-floats 的 flex 流里竖排。 */
.nav-floats .fab-sm{position:static;inset:auto;width:52px;height:52px;background:#fff;color:var(--accent,#0071e3);box-shadow:0 4px 14px rgba(0,0,0,.12);border:1px solid #e5e7ee;}
.nav-floats .fab-sm .line-icon{width:18px;height:18px;}
.nav-floats .fab-sm .fab-label{font-size:10px;}
.fab-sm:hover{color:#fff;transform:translateY(-2px) scale(1.05);box-shadow:0 8px 22px rgba(0,113,227,.4);}
/* 平台优势居中（音乐首页） */
.platform-grid .dm-item{text-align:center;}
/* ❗手机端 .fab-sm 必须用 .nav-floats .fab-sm 提高优先级，否则被下面同块的 .fab{width:…} 覆盖 */
@media(max-width:768px){.nav-floats{right:16px;bottom:78px;width:54px;}.nav-floats .fab-sm{width:46px;height:46px;}
.nav-floats .fab-sm .line-icon{width:16px;height:16px;}
/* 三个标签字号必须一致，否则 .nav-floats .fab-sm .fab-label 优先级更高会出现 9px/10px 混搭 */
.fab-label,.nav-floats .fab-sm .fab-label{font-size:10px;letter-spacing:.3px;}
/* 手机端主客服按钮收小并轻微降透明，减少对正文的遮挡
   （曾遮挡院校表格底行 + 首页 AI 模块数据格） */
.fab{width:54px;height:54px;right:16px;bottom:16px;opacity:.94;}
.fab .line-icon{width:19px;height:19px;}
.fab:active{opacity:1;}}

/* ===== 通用数据表格（.dt/.score-table 居中铺满） ===== */
.dt,.score-table{width:100%;border-collapse:collapse;font-size:14px;}
.dt th,.dt td,.score-table th,.score-table td{padding:12px 14px;border-bottom:1px solid #f1f5f9;text-align:left;vertical-align:middle;}
.dt th,.score-table th{background:var(--bg-2,#f5f5f7);font-weight:600;color:var(--ink-2,#333);white-space:nowrap;}
.dt tr:last-child td,.score-table tr:last-child td{border-bottom:none;}
.dt tr:hover td,.score-table tr:hover td{background:var(--bg-3,#fbfbfd);}
@media(max-width:768px){.dt,.score-table{font-size:13px;}.dt th,.dt td,.score-table th,.score-table td{padding:9px 10px;}}

/* ==== 院校详情页扩展（本次新增） ==== */

/* 通用"查看更多"弹窗 viewer */
.viewer-overlay{display:none;position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:999;align-items:flex-start;justify-content:center;padding:6vh 16px;overflow:auto;-webkit-backdrop-filter:saturate(180%) blur(4px);backdrop-filter:saturate(180%) blur(4px);}
.viewer-modal{width:100%;max-width:720px;background:var(--bg);border-radius:16px;box-shadow:0 24px 60px rgba(0,0,0,.18);animation:viewerIn .18s ease;}
.viewer-head{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;border-bottom:1px solid var(--bg-2);}
.viewer-body{padding:18px 20px;color:var(--ink);}
.viewer-close{border:none;background:var(--bg-2);width:30px;height:30px;border-radius:50%;font-size:18px;line-height:1;cursor:pointer;color:var(--muted);}
.viewer-close:hover{background:var(--bg-3);}
.viewer-btn{margin-left:auto;padding:6px 14px;border:none;background:var(--accent-bg);color:var(--accent);border-radius:999px;font-size:13px;font-weight:500;cursor:pointer;}
.viewer-btn:hover{background:#d6eaff;}
@keyframes viewerIn{from{opacity:0;transform:translateY(10px);}to{opacity:1;transform:none;}}
.viewer-body table th{white-space:nowrap;font-weight:500;color:var(--muted);font-size:12px;padding:8px 10px;}
.viewer-body table td{padding:9px 10px;vertical-align:top;color:var(--ink);}

/* 头部分类标签：每枚上带小字说明 */
.tag-field-row{display:flex;flex-wrap:wrap;gap:10px;margin-top:10px;}
.tag-field{display:flex;flex-direction:column;gap:2px;padding:8px 14px;background:var(--bg-2);border-radius:10px;border:1px solid var(--bg-2);}
.tag-field-label{font-size:11px;color:var(--muted);letter-spacing:.02em;}
.tag-field-val{font-size:14px;font-weight:580;color:var(--ink);}
.tag-field .type-badge{margin-left:0;}

/* 图例说明 / 图表提示 */
.legend-note{margin-top:10px;padding:10px 14px;background:var(--bg-3);border-radius:8px;font-size:12.5px;line-height:1.65;color:var(--ink-2);}
.legend-note strong{color:var(--ink);}
.chart-hint{margin-top:8px;font-size:12px;color:#3b82f6;text-align:center;}

/* 专业排名：名称可点 */
.major-link{color:inherit;text-decoration:none;font-weight:600;}
.major-link:hover{color:var(--accent);}
.major-arrow{display:inline-block;margin-left:4px;font-size:12px;color:var(--muted);transition:color .15s;}
.major-link:hover .major-arrow{color:var(--accent);}

/* 就业 / 区块副元信息 */
.sec-meta{display:flex;align-items:center;gap:10px;flex-wrap:wrap;}
.sec-meta-item{font-size:12.5px;color:var(--ink-2);background:var(--bg-3);padding:4px 10px;border-radius:999px;}

/* 考研保研横幅 */
.baoyan-banner{display:flex;align-items:center;gap:16px;padding:14px 18px;background:linear-gradient(135deg,#f0f9ff,#e6f2ff);border-radius:12px;margin-bottom:14px;}
.baoyan-num{font-size:34px;font-weight:800;color:var(--accent);line-height:1;}
.baoyan-num small{font-size:16px;font-weight:600;}
.baoyan-txt strong{display:block;font-size:15px;}
.baoyan-txt span{font-size:12.5px;}

/* 招生章程键值网格 */
.req-item{padding:10px 14px;background:var(--bg-2);border-radius:10px;display:flex;flex-direction:column;gap:3px;}
.req-label{font-size:11.5px;color:var(--muted);}
.req-val{font-size:14px;color:var(--ink);line-height:1.5;}

/* 面包屑 */
.crumb{font-size:13px;color:var(--muted);margin-bottom:18px;}
.crumb a{color:var(--accent);text-decoration:none;}
.crumb-sep{margin:0 6px;color:#cbd5e1;}

/* 空状态 */
.empty-note{margin:24px 0;padding:24px;background:var(--bg-3);border-radius:12px;color:var(--muted);text-align:center;}

/* 专业概况指标卡片 */
.stat-strip{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin:12px 0 6px;}
.stat-cell{display:flex;flex-direction:column;gap:3px;padding:13px 15px;background:var(--bg-2);border:1px solid var(--bg-2);border-radius:12px;}
.stat-t{font-size:11.5px;color:var(--muted);letter-spacing:.02em;}
.stat-v{font-size:15px;font-weight:640;color:var(--ink);}
.stat-v strong{color:var(--accent);}

/* 专业概况·文本小节群组 */
.ov-section-list{margin-top:14px;border-top:1px solid var(--bg-2);padding-top:6px;}
.ov-sec{display:flex;gap:14px;padding:8px 0;border-bottom:1px solid var(--bg-2);align-items:flex-start;}
.ov-sec:last-child{border-bottom:none;}
.ov-sec-label{flex:0 0 68px;font-size:13px;font-weight:600;color:var(--muted);padding-top:1px;}
.ov-sec-body{flex:1;font-size:13px;color:var(--ink-2);line-height:1.8;margin:0;}

/* 省份切换（2026-08-27） */
.prov-switch{display:flex;gap:8px;margin:-6px 0 18px;flex-wrap:wrap}
.prov-btn{display:inline-flex;align-items:center;gap:6px;padding:8px 20px;border-radius:999px;border:1px solid var(--line,#e3e3e3);background:#fff;color:var(--text,#333);font-size:14px;font-weight:500;text-decoration:none;transition:all .18s ease}
.prov-btn:hover{border-color:var(--accent,#0071e3);color:var(--accent,#0071e3)}
.prov-btn.prov-active{background:var(--accent,#0071e3);border-color:var(--accent,#0071e3);color:#fff;box-shadow:0 4px 14px rgba(0,113,227,.28)}
.block-section-title{font-size:17px;font-weight:600;margin:30px 0 12px;display:flex;align-items:center;gap:8px;color:var(--ink,#111)}
.sh-note{background:#f4f8ff;border:1px solid #d6e6ff;border-radius:12px;padding:12px 16px;font-size:13px;color:#34537b;margin:6px 0 4px;line-height:1.7}

/* ==========================================================================
   首页 · AI 升学顾问入口模块（2026-08-31）
   设计意图：全站白底为主，此块用近黑底做视觉锚点 → 天然吸睛，不靠花哨装饰。
   结构：ai-zone > [ai-head 标题+徽标] [ai-body: ai-cap 能力清单 | ai-demo 示例问答]
        + ai-stats 数据标注条 + ai-cta 大按钮
   ========================================================================== */
.ai-zone{
  margin:56px 0;padding:34px 32px;border-radius:20px;
  background:linear-gradient(145deg,#161617 0%,#1f2430 55%,#16233a 100%);
  color:var(--text-light,#f5f5f7);position:relative;overflow:hidden;
}
/* 右上角柔光，营造"智能"氛围（纯 CSS，无图片，不增加请求） */
.ai-zone::after{
  content:"";position:absolute;top:-90px;right:-70px;width:300px;height:300px;
  background:radial-gradient(circle,rgba(0,113,227,.34) 0%,rgba(0,113,227,0) 70%);
  pointer-events:none;
}
.ai-zone>*{position:relative;z-index:1}

.ai-head{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.ai-head .ai-ic{
  width:42px;height:42px;border-radius:12px;flex:0 0 auto;
  background:rgba(0,113,227,.18);border:1px solid rgba(0,113,227,.42);
  display:flex;align-items:center;justify-content:center;color:#4da3ff;
}
.ai-head h2{font-size:26px;font-weight:700;margin:0;letter-spacing:-.3px;color:#fff}
.ai-badge{
  font-size:12px;font-weight:600;padding:4px 10px;border-radius:999px;
  background:rgba(0,113,227,.2);color:#7ab8ff;border:1px solid rgba(0,113,227,.4);
}
.ai-badge.free{background:rgba(52,199,89,.16);color:#5ddb84;border-color:rgba(52,199,89,.38)}
.ai-sub{font-size:14px;color:var(--text-light-2,rgba(245,245,247,.76));margin:12px 0 0;line-height:1.7}

.ai-body{display:grid;grid-template-columns:1fr 1fr;gap:26px;margin-top:24px}
.ai-col-t{font-size:12px;font-weight:700;letter-spacing:1.4px;color:rgba(245,245,247,.5);
  text-transform:uppercase;margin-bottom:12px}

/* 能力清单 */
.ai-cap{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:11px}
.ai-cap li{display:flex;gap:10px;font-size:14px;line-height:1.55;color:rgba(245,245,247,.9)}
.ai-cap li svg{flex:0 0 auto;margin-top:3px;color:#5ddb84}
.ai-cap b{color:#fff;font-weight:600}

/* 示例问题（可点击直达客服页并自动提问） */
.ai-demo{display:flex;flex-direction:column;gap:9px}
.ai-q{
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  padding:11px 14px;border-radius:11px;text-decoration:none;
  background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1);
  color:rgba(245,245,247,.92);font-size:13.5px;line-height:1.4;
  transition:background .18s,border-color .18s,transform .18s;
}
.ai-q:hover{background:rgba(0,113,227,.2);border-color:rgba(0,113,227,.5);
  transform:translateX(3px);color:#fff}
.ai-q .ar{color:#4da3ff;font-weight:600;flex:0 0 auto}
/* 示例问题里的「① 先认识孩子」步骤标签：让四条示例与左栏四步能一眼对上号。
   用 block 独占一行，避免与问题正文挤在一行后在窄屏折行错乱。 */
.ai-q > span:first-child{min-width:0}
.ai-q b{display:block;font-size:11.5px;font-weight:700;color:#4da3ff;
  letter-spacing:.3px;margin-bottom:3px}
.ai-q:hover b{color:#8cc4ff}

/* 数据标注条：能查什么、有多少，全部真实库量 */
.ai-stats{
  display:grid;grid-template-columns:repeat(4,1fr);gap:14px;
  margin-top:26px;padding-top:22px;border-top:1px solid rgba(255,255,255,.12);
}
.ai-stats .s .n{font-size:23px;font-weight:700;color:#fff;
  font-variant-numeric:tabular-nums;line-height:1.15}
.ai-stats .s .t{font-size:12.5px;color:rgba(245,245,247,.82);margin-top:3px;font-weight:500}
.ai-stats .s .d{font-size:11px;color:rgba(245,245,247,.5);margin-top:2px;line-height:1.45}

.ai-cta{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:24px}
.ai-btn{
  display:inline-flex;align-items:center;gap:8px;
  background:var(--accent,#0071e3);color:#fff;text-decoration:none;
  padding:13px 26px;border-radius:999px;font-size:15px;font-weight:600;
  transition:background .18s,transform .18s;
}
.ai-btn:hover{background:var(--accent-hover,#0077ed);transform:translateY(-1px)}
.ai-note{font-size:12px;color:rgba(245,245,247,.55);line-height:1.6}

/* 桌面端微调：光晕收敛（原本过亮会把视觉焦点吸到右上角）+ CTA 更有分量 */
.ai-zone::after{width:230px;height:230px;top:-70px;right:-55px;
  background:radial-gradient(circle,rgba(0,113,227,.22) 0%,rgba(0,113,227,0) 70%)}
.ai-btn{padding:14px 38px;font-size:15.5px}
/* 徽章与标题之间留出分隔，避免糊成一行 */
.ai-head .ai-badge:first-of-type{margin-left:4px}
/* 提问卡与数据副标对比度提升（审查指出偏弱） */
.ai-q{color:rgba(245,245,247,.96)}
.ai-stats .s .d{color:rgba(245,245,247,.62)}
.ai-note{font-size:12.5px;color:rgba(245,245,247,.66)}

/* 手机端：单列堆叠、数字两列、内边距收紧 */
@media (max-width:768px){
  .ai-zone{margin:36px 0;padding:24px 18px;border-radius:16px}
  .ai-head h2{font-size:21px}
  /* 两枚徽章一起换行，节奏统一；否则"免费使用"单独掉行、绿色过于抢戏 */
  .ai-head{gap:10px}
  .ai-head h2{flex:1 1 100%}
  .ai-body{grid-template-columns:1fr;gap:20px;margin-top:20px}
  .ai-stats{grid-template-columns:repeat(2,1fr);gap:16px 12px}
  .ai-stats .s .n{font-size:21px}
  .ai-stats .s .d{font-size:11.5px}
  /* ❗.fab 是 position:fixed（永远贴屏右下 24px），加 padding 无效。
     实测第 4 格数据(201~336px)正好被 fab(310~366px)压住 1207px²。
     解法：第 4 格文字右侧留安全区，内容左对齐避开右下角热区。 */
  .ai-stats .s:nth-child(4){padding-right:62px}
  .ai-stats{padding-bottom:4px}
  /* 实测文字与 fab 重叠面积已为 0，但视觉上仍偏贴近 —— 再抬高 CTA 区留白，
     顺带给后续新增内容留缓冲，避免以后又被 fab 压到 */
  .ai-cta{margin-top:22px;padding-bottom:84px}
  .ai-btn{width:100%;justify-content:center;margin-bottom:14px}
  /* 手机上字太小接近识别下限，放大并提亮 */
  .ai-note{font-size:13px;color:rgba(245,245,247,.72)}
}

/* ══════════════════════════════════════════════════════════════
   楠哥 2026-09-06 反馈：全站输入框与选择框大小不一致
   原因：基础 42px、.sort-control 40px、.tbl-head 38px、
        .sort-control select 的 padding:6px 10px 还覆盖了基础值，
        导致同一行里 input 和 select 高矮不齐。
   这里统一收口，放文件末尾靠层叠顺序生效，不动上面任何既有规则。
   ══════════════════════════════════════════════════════════════ */
:root{ --ctl-h:42px; --ctl-fs:14px; --ctl-pad:0 12px; --ctl-radius:10px; }

input[type=text], input[type=number], input[type=search], input[type=tel],
input[type=email], input[type=password], input[type=date], select, .inp{
  height: var(--ctl-h);
  min-height: var(--ctl-h);
  padding: var(--ctl-pad);
  font-size: var(--ctl-fs);
  border: 1px solid var(--line, #e0e0e5);
  border-radius: var(--ctl-radius);
  background-color: #fff;
  color: var(--ink, #111);
  box-sizing: border-box;
  line-height: normal;
  vertical-align: middle;
  font-family: inherit;
  margin: 0;
}
/* select 要给右侧箭头留位，否则长选项文字压在箭头上 */
select, select.inp{
  appearance: none; -webkit-appearance: none; cursor: pointer;
  padding-right: 32px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 11px center;
}
/* 覆盖历史上把高度改小的三处 */
.sort-control select, .tbl-head .sort-line select,
.band.school-panel select, .band.school-panel .form-grid input[type=text]{
  height: var(--ctl-h); min-height: var(--ctl-h);
  padding: var(--ctl-pad); padding-right: 32px; font-size: var(--ctl-fs);
}
.sort-control select{ width:auto; min-width:150px; }
.tbl-head .sort-line select{ width:auto; min-width:140px; }
input:focus, select:focus, .inp:focus{
  outline: none; border-color:#0071e3; box-shadow:0 0 0 3px rgba(0,113,227,.12);
}
/* 与输入框同排的按钮，高度必须一致，否则参差不齐 */
.filter-bar .btn{ height:var(--ctl-h); min-height:var(--ctl-h);
  padding:0 20px; font-size:var(--ctl-fs); display:inline-flex;
  align-items:center; justify-content:center; border-radius:var(--ctl-radius); }

/* ── 单行筛选条：一行排开，不换行 ────────────────────────────── */
.filter-bar{ display:flex; flex-wrap:wrap; gap:10px; align-items:flex-end; }
.filter-bar .fi{ display:flex; flex-direction:column; gap:5px; flex:1 1 130px;
  min-width:0; margin:0; max-width:none; }
.filter-bar .fi > label{ font-size:12px; color:var(--muted,#6e6e73);
  font-weight:500; white-space:nowrap; }
.filter-bar .fi input, .filter-bar .fi select{ width:100%; }
@media(max-width:768px){
  .filter-bar .fi{ flex:1 1 calc(50% - 5px); }
  .filter-bar .btn{ flex:1 1 100%; }
}

/* ══════════════════════════════════════════════════════════════
   楠哥 2026-09-06：「计算综合分」按钮是灰的 + 按钮太大
   查因：模板写 .btn-primary，但 app.css 里【从未定义过】该类
        （只有 .btn-p 是蓝色），所以只吃到基础 .btn 的灰底。
        全站还有 btn-secondary / btn-outline / btn-ghost / btn-sm
        同样未定义，salary 翻页按钮也是裸的。
   处理：补齐这套常见别名，不逐个改模板（改模板要动 7 个文件，
        且 assessment 三页自带同名局部样式，改了会撞车）。
   ══════════════════════════════════════════════════════════════ */

/* 尺寸收敛：原 padding 12px 22px 偏大，与正文字号不协调 */
.btn, .btn-p, .btn-o, .btn-primary, .btn-secondary, .btn-outline, .btn-ghost{
  padding: 9px 18px; font-size: 14px; line-height: 1.4;
  border-radius: 999px; font-weight: 500; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border: 1.5px solid transparent; font-family: var(--font-cn);
  transition: all .25s var(--ease); text-decoration: none;
}
/* 主按钮＝蓝色实心（btn-primary 与 btn-p 等价） */
.btn-primary, button.btn-primary, a.btn-primary{
  background: var(--accent); color:#fff; border-color: transparent;
  box-shadow: 0 4px 14px rgba(0,113,227,.28);
}
.btn-primary:hover{ background: var(--accent-hover); transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,113,227,.35); }
/* 次级＝描边 */
.btn-secondary, .btn-outline{ background:#fff; color: var(--ink); border-color: var(--line); }
.btn-secondary:hover, .btn-outline:hover{ background: var(--bg-2); border-color: var(--muted); }
/* 幽灵＝无边框（salary 翻页在用） */
.btn-ghost{ background: transparent; color: var(--accent); border-color: transparent; padding:8px 14px; }
.btn-ghost:hover{ background: rgba(0,113,227,.08); }
/* 小号 */
.btn-sm{ padding: 6px 14px; font-size: 13px; }

/* 竖排表单里的提交按钮：不拉满宽，居中，宽度贴合文字 */
.form-col > button[type=submit], .form-col > .btn,
.form-col > button.btn-primary, .form-col > button.btn-p{
  align-self: center; width: auto; min-width: 132px; margin-top: 4px;
}
/* 与输入框同排时仍需等高，优先级压过上面的 padding */
.filter-bar .btn, .filter-bar .btn-primary, .filter-bar button[type=submit]{
  height: var(--ctl-h); min-height: var(--ctl-h);
  padding: 0 20px; font-size: var(--ctl-fs); border-radius: var(--ctl-radius);
}

/* ===== 年度趋势图（/change 首页，纯 SVG 不引图表库） ===== */
.trend-wrap{display:grid;grid-template-columns:1fr 1fr;gap:14px;}
.trend-card{border:1px solid var(--line,#e0e0e5);border-radius:12px;padding:14px 12px 10px;background:#fff;}
.trend-title{font-size:13px;color:#666;margin-bottom:6px;padding-left:4px;}
.trend-svg{width:100%;height:150px;display:block;overflow:visible;}
.trend-svg .tv{font-size:9px;fill:#333;text-anchor:middle;font-weight:600;}
.trend-svg .tx{font-size:10px;fill:#888;text-anchor:middle;}
.trend-legend{display:flex;gap:16px;justify-content:center;font-size:12px;color:#666;margin-top:4px;}
.trend-legend i{display:inline-block;width:10px;height:10px;border-radius:2px;margin-right:5px;vertical-align:-1px;}
.warn-mini{display:inline-block;margin-left:6px;padding:1px 6px;border-radius:4px;
  background:#fff4e5;color:#b45309;font-size:11px;white-space:nowrap;}
@media(max-width:768px){
  .trend-wrap{grid-template-columns:1fr;}
  .trend-svg{height:170px;}
  .trend-svg .tv{font-size:11px;}
  .trend-svg .tx{font-size:12px;}
}
/* ===== 悬浮按钮滚动时弱化（减少对正文遮挡，停止 700ms 后恢复） =====
   ❗数值不是拍脑袋，是按 WCAG 1.4.11（可交互控件 ≥3:1）实测像素对比度定的：
     蓝色 #0071e3 在白底上 opacity=0.70 → 2.89:1 ❌ ／ 0.75 → 3.16:1 ✅
     所以主按钮弱化下限是 .78，再低就低于无障碍门槛。
   ❗白底「返回/首页」不能靠整体 opacity 弱化：其描边 #e5e7ee 在白底上本就只有 1.24:1，
     一削就彻底融进背景（看着像禁用态）。改为「只降背景透明度，描边反而加深」，
     用 backdrop-filter 真透出底下内容，边界始终立得住。 */
.nav-floats.is-scrolling{opacity:1;}
.nav-floats.is-scrolling .fab-sm{
  background:rgba(255,255,255,.62);
  -webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);
  /* 描边加深：弱化态反而要更清楚，否则白底上没有任何锚点 */
  border-color:rgba(0,0,0,.28);
  box-shadow:0 2px 10px rgba(0,0,0,.16);
  transition:background .25s ease,border-color .25s ease,box-shadow .25s ease;
}
.fab.is-scrolling{opacity:.78;transition:opacity .25s ease;}
/* hover / focus 时立即恢复实色，明确告诉用户"不是禁用" */
.nav-floats.is-scrolling:hover .fab-sm,
.nav-floats.is-scrolling:focus-within .fab-sm{background:#fff;border-color:#e5e7ee;}
.fab.is-scrolling:hover,.fab.is-scrolling:focus{opacity:1;}
/* 手机端无 hover，弱化再收一档，并保证 :active 立即恢复 */
@media(max-width:768px){
  .nav-floats.is-scrolling .fab-sm{background:rgba(255,255,255,.70);border-color:rgba(0,0,0,.24);}
  .fab.is-scrolling{opacity:.82;}
  .fab.is-scrolling:active{opacity:1;}
  .nav-floats.is-scrolling .fab-sm:active{background:#fff;}
}
/* 不支持 backdrop-filter 的浏览器：背景不能太透，否则没有毛玻璃就是纯淡 */
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
  .nav-floats.is-scrolling .fab-sm{background:rgba(255,255,255,.88);}
}
/* 无障碍：用户开了「减少动态效果」就不做弱化，避免闪烁 */
@media (prefers-reduced-motion: reduce){
  .nav-floats.is-scrolling .fab-sm{background:#fff;border-color:#e5e7ee;transition:none;}
  .fab.is-scrolling{opacity:1;transition:none;}
}
