/* ==========================================================
   pages.css —— 各页面专属样式（首页、院校库、专业库、分数线、
   选科、志愿方案表、政策指南、日程、词典、详情与弹窗）
   ========================================================== */

/* ---------- 页面通用标题 ---------- */
.page-title { font-size: 24px; letter-spacing: -.2px; }
.page-sub { font-size: 13.5px; color: var(--c-text-3); margin-top: 6px; max-width: 860px; line-height: 1.75; word-break: keep-all; }
.page-head-row {
  display: flex; align-items: flex-start; gap: 16px; margin-bottom: 18px; flex-wrap: wrap;
}
.page-head-row > div:first-child { flex: 1; min-width: 260px; }
.sd-batch-bar { display: flex; align-items: center; gap: 10px; margin: 16px 0 12px; flex-wrap: wrap; }
.sd-batch-bar .input { width: 220px; }
.ph-actions { display: flex; gap: 8px; flex-wrap: wrap; padding-top: 4px; }
.detail-head { margin-bottom: 18px; }
.pt-code {
  font-family: var(--font-num); font-size: 16px; color: var(--c-text-3); font-weight: 600;
  background: var(--c-bg); padding: 2px 9px; border-radius: 5px; vertical-align: middle;
}
.block-head { margin-bottom: 14px; }
.block-head .section-title { display: inline-flex; }
.block-head .section-sub { font-size: 13px; color: var(--c-text-3); margin-top: 4px; }
.sub-h { font-size: 14.5px; margin-bottom: 10px; color: var(--c-text-2); }
.more-hint { font-size: 13px; color: var(--c-text-3); margin-top: 12px; }
.table-note { font-size: 12.5px; color: var(--c-text-3); line-height: 1.75; margin-top: 11px; }
.cell-sub { font-size: 12px; color: var(--c-text-3); margin-top: 2px; }
.cell-tags { margin-top: 4px; }
.cell-list { line-height: 1.75; }
.cell-intro { font-size: 12.5px; color: var(--c-text-2); line-height: 1.7; }
.td-note { max-width: 280px; white-space: normal; font-size: 12.5px; color: var(--c-text-3); }

/* ---------- 首页 Hero ---------- */
.hero {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background:
    radial-gradient(1100px 420px at 82% -60px, rgba(46, 168, 201, .34), transparent 60%),
    radial-gradient(900px 420px at 8% 120%, rgba(47, 111, 196, .5), transparent 55%),
    linear-gradient(120deg, #081c38 0%, #0a2a54 40%, #123a6e 70%, #1d4f96 100%);
  color: #fff; padding: 40px 34px 26px; margin-bottom: 26px;
  box-shadow: 0 10px 36px rgba(6, 26, 56, .38);
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    radial-gradient(circle at 12% 18%, rgba(255,255,255,.75) 0 1px, transparent 1.4px),
    radial-gradient(circle at 78% 12%, rgba(255,255,255,.75) 0 1px, transparent 1.4px),
    radial-gradient(circle at 62% 78%, rgba(255,255,255,.6) 0 1px, transparent 1.4px),
    radial-gradient(circle at 30% 88%, rgba(255,255,255,.6) 0 1px, transparent 1.4px),
    radial-gradient(circle at 45% 30%, rgba(255,255,255,.45) 0 1px, transparent 1.4px),
    radial-gradient(circle at 88% 55%, rgba(46,168,201,.5) 0 1px, transparent 1.4px),
    linear-gradient(115deg, transparent 42%, rgba(255,255,255,.16) 50%, transparent 58%),
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 220px 220px, 300px 300px, 260px 260px, 200px 200px, 180px 180px, 240px 240px, 100% 100%, 44px 44px, 44px 44px;
}
.hero-body { position: relative; z-index: 1; max-width: 800px; }
.hero-kicker {
  font-size: 12.5px; letter-spacing: 1.6px; color: rgba(255,255,255,.85);
  margin-bottom: 14px; display: inline-flex; align-items: center; gap: 7px;
  text-transform: uppercase;
}
.hero-kicker::before { content: ""; width: 26px; height: 1px; background: linear-gradient(90deg, var(--c-tech), rgba(255,255,255,.7)); }
.hero-title {
  font-size: 40px; line-height: 1.25; color: #fff; letter-spacing: -.6px; margin-bottom: 14px;
  font-weight: 800;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .25);
}
.hero-desc { font-size: 14.5px; line-height: 1.85; color: rgba(255,255,255,.86); max-width: 660px; margin-bottom: 24px; }
.hero-desc strong { color: #fff; font-size: 17px; margin: 0 1px; }

.hero-search { max-width: 620px; margin-top: 6px; }
.hero-input-wrap { display: flex; align-items: center; gap: 0; }
.hero-input-wrap > svg { left: 15px; color: var(--c-text-3); }
.hero-input {
  height: 50px; border-radius: 10px 0 0 10px; border: 0; font-size: 15px;
  padding-left: 42px; padding-right: 14px; box-shadow: 0 4px 18px rgba(0,0,0,.16);
}
.hero-input:focus { outline: none; box-shadow: 0 4px 18px rgba(0,0,0,.16), 0 0 0 3px rgba(255,255,255,.35); }
.hero-go { height: 50px; border-radius: 0 10px 10px 0; padding: 0 26px; font-size: 15px;
  background: var(--c-accent); border-color: var(--c-accent); box-shadow: 0 4px 18px rgba(0,0,0,.16); }
.hero-go:hover { filter: brightness(1.1); background: var(--c-accent); color: #fff; }

.hero-hot { margin-top: 13px; display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.hh-label { font-size: 12.5px; color: rgba(255,255,255,.66); }
.hh-item {
  padding: 3px 11px; border-radius: 13px; border: 1px solid rgba(255,255,255,.3);
  background: rgba(255,255,255,.1); color: rgba(255,255,255,.92); font-size: 12.5px;
  cursor: pointer; transition: all .16s;
}
.hh-item:hover { background: rgba(255,255,255,.24); border-color: rgba(255,255,255,.55); }

.hero-stats {
  position: relative; z-index: 1; margin-top: 28px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.18);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.hero-stats .stat-card { background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.18); backdrop-filter: blur(10px); box-shadow: inset 0 1px 0 rgba(255,255,255,.14); }
.hero-stats .sc-label { color: rgba(255,255,255,.72); }
.hero-stats .sc-value { color: #fff; }
.hero-stats .sc-extra { color: rgba(255,255,255,.62); }

.stat-card {
  background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--radius);
  padding: 13px 15px;
}
.sc-label { font-size: 12.5px; color: var(--c-text-3); margin-bottom: 3px; }
.sc-value { font-size: 25px; line-height: 1.2; color: var(--c-text); }
.sc-value .stat-num { font-size: inherit; }
.sc-unit { font-size: 13px; color: var(--c-text-3); margin-left: 3px; font-weight: 400; }
.sc-extra { font-size: 11.5px; color: var(--c-text-3); margin-top: 4px; line-height: 1.5; }
.stat-num { font-family: var(--font-num); }

/* ---------- 首页高校地图（筛选 + 下钻 + 搜索 + 区域统计） ---------- */
.home-map-row { display: grid; grid-template-columns: 1.8fr 1fr; gap: 16px; align-items: start; }
.home-map-wrap {
  position: relative; border: 1px solid var(--c-border); border-radius: var(--radius);
  background: var(--c-white); overflow: hidden; display: flex; flex-direction: column;
}
.home-crumbs {
  display: flex; align-items: center; gap: 8px; padding: 10px 14px;
  border-bottom: 1px solid var(--c-border); font-size: 13px; color: var(--c-text-2); flex-wrap: wrap;
}
.hc-btn { background: none; border: none; color: var(--c-primary-light); cursor: pointer; font-size: 13px; padding: 2px 6px; border-radius: 4px; transition: all .15s; }
.hc-btn:hover { background: var(--c-primary-soft); text-decoration: none; box-shadow: 0 1px 3px rgba(47,111,196,.15); }
.hc-sep { color: var(--c-text-4); margin: 0 2px; }
.hc-cur { font-weight: 600; color: var(--c-text); background: var(--c-primary-soft); padding: 2px 8px; border-radius: 4px; }
.home-map-hint {
  position: absolute; right: 14px; bottom: 14px; z-index: 10;
  background: rgba(252, 251, 247, .92); border: 1px solid var(--c-border); border-radius: 6px;
  padding: 5px 10px; font-size: 11.5px; color: var(--c-text-2);
}
.home-map-side { display: flex; flex-direction: column; gap: 12px; min-width: 0; }

/* 筛选器 */
.home-filters {
  background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--radius);
  padding: 10px 14px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center;
}
.hf-label { font-size: 12px; color: var(--c-text-3); margin-right: 2px; }
.hf-pills { display: flex; gap: 4px; background: #F0EDE4; border-radius: 7px; padding: 3px; }
.hf-pills button {
  border: none; background: transparent; color: var(--c-text-2); font-size: 12.5px;
  padding: 4px 12px; border-radius: 5px; cursor: pointer;
}
.hf-pills button.on { background: var(--c-primary); color: #fff; font-weight: 600; box-shadow: 0 1px 3px rgba(34, 48, 60, .12); }
.hf-pills button.on:hover { background: #0d2d5e; }
.hf-pills button:focus-visible { outline: 2px solid var(--c-primary-light); outline-offset: 1px; }

/* 搜索 */
.home-map-search { position: relative; }
.home-map-search .search-icon {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  color: var(--c-text-3); pointer-events: none;
}
.home-map-search input {
  width: 100%; height: 42px; padding: 0 14px 0 36px; border: 1px solid var(--c-border);
  border-radius: var(--radius-sm); font-size: 14px; background: var(--c-white);
  transition: border-color .18s, box-shadow .18s;
}
.home-map-search input:focus {
  outline: none; border-color: var(--c-primary-light);
  box-shadow: 0 0 0 3px rgba(47, 111, 196, .15), 0 2px 8px rgba(0,0,0,.06);
}
.home-map-results {
  display: none; position: absolute; top: 46px; left: 0; right: 0; z-index: 50;
  background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-2); max-height: 300px; overflow-y: auto;
}
.hmr-item {
  padding: 10px 14px; cursor: pointer; border-bottom: 1px solid var(--c-border-2);
  transition: background .12s; display: flex; justify-content: space-between; gap: 10px; font-size: 13px;
}
.hmr-item:hover { background: var(--c-primary-soft); }
.hmr-item:last-child { border-bottom: none; }
.hmr-loc { font-size: 12px; color: var(--c-text-3); flex-shrink: 0; }
.hmr-empty { padding: 16px; text-align: center; color: var(--c-text-3); font-size: 13px; }

/* 区域统计面板 */
.home-region-head {
  background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--radius); padding: 14px;
}
.hrh-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.hrh-name { font-size: 18px; font-weight: 700; }
.hrh-total { font-size: 12.5px; color: var(--c-text-2); }
.hrh-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 12px; }
.hrh-cell { background: #F6F4EE; border-radius: 7px; padding: 8px 12px; }
.hrh-cell.hrh-all { grid-column: 1 / -1; }
.hrh-all .hrh-v { font-size: 24px; color: var(--c-primary); }
.hrh-v { font-size: 18px; font-weight: 700; font-family: var(--font-num); }
.hrh-l { font-size: 11px; color: var(--c-text-2); margin-top: 1px; }
.hrh-cell.b .hrh-v { color: var(--c-primary-light); }
.hrh-cell.t .hrh-v { color: var(--c-tech); }
.hrh-cell.p .hrh-v { color: #2E8B6D; }
.hrh-cell.m .hrh-v { color: var(--c-gold); }

.home-map-legend {
  position: absolute; left: 16px; bottom: 14px; z-index: 10;
  background: rgba(252, 251, 247, .96); border: 1px solid var(--c-border); border-radius: 8px;
  padding: 10px 12px; font-size: 11.5px; color: var(--c-text-2);
  box-shadow: 0 2px 10px rgba(0,0,0,.08);
}
.home-legend-title { font-size: 11px; margin-bottom: 4px; color: var(--c-text-3); }
.home-legend-bar {
  width: 150px; height: 9px; border-radius: 4px;
  background: linear-gradient(90deg, #e9f0fa, #c8dcf5, #8fb8e8, #5a93d8, #2f6fc4, #123a6e);
}
.home-legend-scale { display: flex; justify-content: space-between; margin-top: 3px; font-size: 10.5px; color: var(--c-text-3); }
.home-legend-note { margin-top: 4px; font-size: 10.5px; color: var(--c-text-3); }

/* ---------- 功能入口卡片 ---------- */
.entry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.entry-card {
  display: flex; align-items: center; gap: 12px; padding: 15px 15px;
  background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--radius);
  box-shadow: var(--shadow-1); transition: all .2s; color: inherit; position: relative; overflow: hidden;
}
.entry-card::before {
  content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 3px; border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, var(--ec, var(--c-primary)), var(--c-tech)); opacity: 0; transition: opacity .2s;
}
.entry-card:hover { transform: translateY(-4px); box-shadow: 0 10px 26px rgba(10, 42, 84, .14); border-color: var(--ec, var(--c-primary-light)); color: inherit; }
.entry-card:hover::before { opacity: 1; }
.ec-icon {
  width: 42px; height: 42px; border-radius: 11px; flex-shrink: 0; display: grid; place-items: center;
  font-size: 20px; background: var(--ec-soft, var(--c-primary-soft));
  transition: transform .2s;
}
.entry-card:hover .ec-icon { transform: scale(1.06); }
.ec-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ec-body strong { font-size: 15px; color: var(--c-text); }
.ec-body em { font-size: 12px; font-style: normal; color: var(--c-text-3); line-height: 1.6; }
.ec-arrow { color: var(--c-text-4); font-size: 20px; flex-shrink: 0; transition: transform .2s; }
.entry-card:hover .ec-arrow { transform: translateX(3px); color: var(--ec, var(--c-primary)); }
.e-blue { --ec: #2e6bb8; --ec-soft: #e8f0fb; }
.e-purple { --ec: #6b46c1; --ec-soft: #efeafc; }
.e-green { --ec: #1f8a5b; --ec-soft: #e6f6ee; }
.e-cyan { --ec: #0f7b8a; --ec-soft: #e4f5f7; }
.e-orange { --ec: #c96a12; --ec-soft: #fdf1e4; }
.e-gold { --ec: #b8860b; --ec-soft: #fbf4dd; }
.e-red { --ec: #c0392b; --ec-soft: #fbeae8; }
.e-teal { --ec: #12756a; --ec-soft: #e3f5f2; }

/* ---------- panel ---------- */
.panel { margin-bottom: 22px; overflow: hidden; }
.panel-head {
  display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
  padding: 16px 20px; border-bottom: 1px solid var(--c-border-2);
  background: linear-gradient(180deg, var(--c-primary-softer), var(--c-bg-2));
}
.panel-title { font-size: 17px; font-weight: 700; color: var(--c-text); }
.panel-sub { font-size: 12.5px; color: var(--c-text-3); }
.panel-extra { margin-left: auto; }
.panel-body { padding: 18px 20px; }
.panel-about .panel-body { padding: 18px 20px; }

/* 排行序号 */
.rank-no {
  display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 7px;
  font-size: 12.5px; font-weight: 700; background: var(--c-bg); color: var(--c-text-3);
  font-family: var(--font-num); border: 1px solid var(--c-border);
}
.rank-no.r1 { background: linear-gradient(135deg, #d4af37, #b8860b); color: #fff; }
.rank-no.r2 { background: linear-gradient(135deg, #b8c0cc, #8d97a5); color: #fff; }
.rank-no.r3 { background: linear-gradient(135deg, #cd8b52, #a9663a); color: #fff; }

/* 热门专业分组 */
.hot-cat { margin-bottom: 16px; }
.hot-cat:last-child { margin-bottom: 0; }
.hot-cat h4 { font-size: 13.5px; color: var(--c-text-2); margin-bottom: 8px; display: flex; align-items: center; gap: 7px; }
.hot-cat h4::before { content: ""; width: 3px; height: 13px; border-radius: 2px; background: var(--c-primary-light); }
.hot-chip { text-decoration: none; }
.hot-chip:hover { color: #fff; background: var(--c-primary); border-color: var(--c-primary); }

/* ---------- 省份卡片 ---------- */
.prov-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(178px, 1fr)); gap: 10px; }
.prov-card {
  padding: 13px 14px; border: 1px solid var(--c-border); border-radius: var(--radius);
  background: var(--c-white); transition: all .18s; color: inherit; display: block;
}
.prov-card:hover { border-color: var(--c-primary-light); box-shadow: 0 8px 22px rgba(10, 42, 84, .12); transform: translateY(-2px); color: inherit; }
.pc-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 9px; }
.pc-top strong { font-size: 16px; color: var(--c-text); }
.pc-mode {
  font-size: 10.5px; padding: 1px 7px; border-radius: 4px;
  background: var(--c-primary-soft); color: var(--c-primary); font-weight: 600; white-space: nowrap;
}
.pc-nums { display: flex; gap: 12px; font-size: 12px; color: var(--c-text-3); margin-bottom: 7px; }
.pc-nums b { font-size: 15px; color: var(--c-text); margin-right: 1px; }
.pc-line {
  font-size: 11.5px; color: var(--c-text-3); padding-top: 7px; border-top: 1px dashed var(--c-border);
}
.pc-line b { color: var(--c-accent); font-size: 13px; font-family: var(--font-num); }

/* ---------- 关于本站 ---------- */
.about-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.about-card h4 {
  font-size: 14.5px; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; color: var(--c-text);
}
.about-card p { font-size: 13px; color: var(--c-text-2); line-height: 1.8; }
.ac-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.ac-dot.d1 { background: var(--c-primary); }
.ac-dot.d2 { background: var(--c-gold); }
.ac-dot.d3 { background: var(--c-accent); }
.ac-dot.d4 { background: var(--c-success); }

.bullet-list li {
  font-size: 13px; color: var(--c-text-2); line-height: 1.75; padding-left: 15px;
  position: relative; margin-bottom: 6px;
}
.bullet-list li::before {
  content: ""; position: absolute; left: 2px; top: 9px; width: 5px; height: 5px;
  border-radius: 50%; background: var(--c-primary-light); opacity: .6;
}
.bullet-list li:last-child { margin-bottom: 0; }

/* ---------- 筛选栏 ---------- */
.filter-bar { padding: 14px 18px; margin-bottom: 18px; border-radius: var(--radius); border: 1px solid var(--c-border); background: var(--c-white); box-shadow: var(--shadow-1); }
.fb-row { display: flex; align-items: flex-start; gap: 12px; padding: 9px 0; flex-wrap: wrap; }
.fb-row + .fb-row { border-top: 1px dashed var(--c-border-2); }
.fb-label {
  font-size: 12.5px; font-weight: 650; color: var(--c-text-3); flex-shrink: 0;
  min-width: 62px; padding-top: 6px; letter-spacing: .3px;
}
.fb-label-2 { margin-left: 14px; }
.fb-tip { font-size: 11.5px; color: var(--c-text-4); padding-top: 7px; }
.fb-search { align-items: center; }
.fb-search .search-input-wrap { flex: 1; min-width: 220px; }
.fb-sort { width: auto; min-width: 152px; flex-shrink: 0; padding-top: 8px; padding-bottom: 8px; }
.fb-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding-top: 12px; margin-top: 4px; border-top: 1px solid var(--c-border-2); flex-wrap: wrap;
}
.fb-count { font-size: 13px; color: var(--c-text-3); }
.fb-count strong { font-size: 17px; color: var(--c-primary); margin: 0 2px; }
.fb-actions { display: flex; gap: 8px; }
.fb-row .chip-group { flex: 1; min-width: 0; }

/* ---------- 院校卡片列表 ---------- */
.college-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(420px, 1fr)); gap: 12px; }
.college-card { display: flex; gap: 14px; padding: 16px 17px; transition: all .18s; }
.college-card:hover { box-shadow: 0 10px 26px rgba(10, 42, 84, .13); border-color: #b9cde8; transform: translateY(-2px); }
.cc-main { flex: 1; min-width: 0; }
.cc-head-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 6px; }
.cc-head-left { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; flex: 1; min-width: 0; }
.cc-head-right { display: flex; gap: 6px; flex-shrink: 0; }
.cc-name { font-size: 18px; font-weight: 700; }
.cc-name a { color: var(--c-text); }
.cc-name a:hover { color: var(--c-primary); }
.cc-short { font-size: 12.5px; color: var(--c-text-3); background: var(--c-bg); padding: 1px 7px; border-radius: 4px; }
.cc-rank-badge { display: inline-block; padding: 3px 8px; border-radius: 4px; font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.cc-rank-soft { background: rgba(30,111,217,.12); color: #1E6FD9; border: 1px solid rgba(30,111,217,.25); }
.cc-rank-qs { background: rgba(139,92,246,.12); color: #8b5cf6; border: 1px solid rgba(139,92,246,.25); }
.cc-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12.5px; color: var(--c-text-3); margin-bottom: 8px; }
.cc-meta span { display: inline-flex; align-items: center; gap: 4px; }
.cc-meta svg { opacity: .55; }
.cc-tags { margin-bottom: 8px; }
.cc-intro { font-size: 12.8px; color: var(--c-text-2); line-height: 1.72; margin-bottom: 10px; }
.cc-foot { display: flex; flex-wrap: wrap; gap: 6px 10px; }
.cf-badge { display: inline-block; padding: 3px 8px; border-radius: 4px; font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.cf-dfc { background: rgba(217,68,58,.1); color: #D9443A; border: 1px solid rgba(217,68,58,.25); }
.cf-a { background: rgba(30,111,217,.1); color: #1E6FD9; border: 1px solid rgba(30,111,217,.25); }
.cf-sg { background: rgba(26,127,55,.1); color: #1a7f37; border: 1px solid rgba(26,127,55,.25); }
.cf-feat { background: rgba(232,132,20,.1); color: #e88414; border: 1px solid rgba(232,132,20,.25); }
.cf-line { color: var(--c-accent); font-weight: 500; }
.cc-side { display: flex; flex-direction: column; gap: 10px; justify-content: center; flex-shrink: 0; width: 108px; }

/* ---------- 详情页 Hero ---------- */
.cd-hero, .md-hero { padding: 22px 24px; margin-bottom: 18px; }
.cdh-top, .mdh-top { display: flex; align-items: flex-start; gap: 18px; flex-wrap: wrap; margin-bottom: 18px; }
.cdh-title, .mdh-title { flex: 1; min-width: 260px; }
.cdh-title h1, .mdh-title h1 { font-size: 27px; letter-spacing: -.3px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.cdh-short { font-size: 14px; color: var(--c-text-3); font-weight: 400; }
.cdh-tags, .mdh-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 11px; }
.cdh-actions { display: flex; flex-direction: column; gap: 9px; align-items: stretch; flex-shrink: 0; min-width: 168px; }
.cdh-quick, .mdh-quick {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px;
  background: var(--c-border-2); border: 1px solid var(--c-border-2); border-radius: var(--radius-sm); overflow: hidden;
}
.cq-item { background: var(--c-bg-2); padding: 12px 16px; display: flex; flex-direction: column; gap: 4px; border-radius: var(--radius-sm); border: 1px solid transparent; transition: all .15s; }
.cq-item:hover { border-color: var(--c-border-2); background: var(--c-white); }
.cq-label { font-size: 12px; color: var(--c-text-3); }
.cq-value { font-size: 15px; font-weight: 700; color: var(--c-text); word-break: break-all; font-family: var(--font-num); letter-spacing: .2px; }

.kpi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-bottom: 18px; }

.anchor-nav {
  display: flex; gap: 6px; flex-wrap: wrap; padding: 12px 0; margin-bottom: 14px;
  border-bottom: 1px solid var(--c-border); position: sticky; top: var(--header-h);
  background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); z-index: 50;
}
.anchor-nav a {
  padding: 6px 14px; border-radius: 16px; background: var(--c-bg); border: 1px solid var(--c-border);
  font-size: 13px; color: var(--c-text-2); transition: all .16s; font-weight: 500;
}
.anchor-nav a:hover { background: var(--c-primary); border-color: var(--c-primary); color: #fff; transform: translateY(-1px); }
.anchor-nav a.is-on { background: var(--c-primary); border-color: var(--c-primary); color: #fff; font-weight: 600; }

/* ---------- 信息网格 ---------- */
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1px; background: var(--c-border-2); border-radius: var(--radius-sm); overflow: hidden; }
.info-row { display: flex; gap: 12px; padding: 10px 14px; background: var(--c-white); font-size: 13.5px; align-items: baseline; }
.info-row.is-wide { grid-column: 1 / -1; }
.ir-label { color: var(--c-text-3); flex-shrink: 0; width: 108px; font-size: 12.8px; }
.ir-value { flex: 1; min-width: 0; color: var(--c-text); word-break: break-word; line-height: 1.7; }
.ir-value a { word-break: break-all; }

.prose { font-size: 14px; line-height: 1.95; color: var(--c-text-2); }

.major-chip { text-decoration: none; }
.major-chip:hover { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.chip.is-plain { cursor: default; background: var(--c-bg-2); color: var(--c-text-2); }
.chip.is-plain:hover { background: var(--c-bg-2); color: var(--c-text-2); border-color: var(--c-border); }

/* ---------- 推荐列 ---------- */
.rec-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; margin-top: 22px; }
.rec-col { padding: 16px 18px; }
.rec-col h4 { font-size: 14.5px; margin-bottom: 12px; color: var(--c-text-2); }
.rec-col li {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 8px 0; border-bottom: 1px dashed var(--c-border-2); font-size: 13.5px;
}
.rec-col li:last-child { border-bottom: 0; }
.rec-col a { color: var(--c-text); font-weight: 500; }
.rec-col a:hover { color: var(--c-primary); }
.rec-tags { flex-shrink: 0; }

/* ---------- 对比表 ---------- */
.cmp-table-wrap { margin-bottom: 12px; }
.cmp-table { min-width: 720px; }
.cmp-table .cmp-label {
  width: 168px; flex-shrink: 0; background: var(--c-bg-2); font-weight: 600;
  color: var(--c-text-2); font-size: 13px; white-space: normal;
}
.cmp-head { position: relative; padding-right: 30px !important; }
.cmp-head a { color: var(--c-primary); font-size: 14px; }
.cmp-del {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  width: 20px; height: 20px; border: 0; border-radius: 50%; background: var(--c-border);
  color: var(--c-text-3); cursor: pointer; font-size: 11px; display: grid; place-items: center; padding: 0;
}
.cmp-del:hover { background: var(--c-accent); color: #fff; }
.cmp-table td { white-space: normal; vertical-align: top; }

/* ---------- 门类导航 ---------- */
.cat-nav {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 8px;
  margin-bottom: 16px;
}
.cat-nav-sm { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }
.cat-item {
  display: flex; align-items: center; gap: 7px; padding: 9px 11px;
  border: 1px solid var(--c-border); border-radius: var(--radius-sm); background: var(--c-white);
  transition: all .16s; color: inherit; font-size: 13.5px;
}
.cat-item:hover { border-color: var(--c-primary-light); background: var(--c-primary-softer); color: var(--c-primary); }
.cat-item.active { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.cat-item.active .ci-code, .cat-item.active .ci-cnt { color: rgba(255,255,255,.8); }
.ci-code { font-family: var(--font-num); font-size: 11.5px; color: var(--c-text-4); font-weight: 600; }
.ci-name { font-weight: 550; }
.ci-cnt { margin-left: auto; font-size: 11px; color: var(--c-text-4); font-family: var(--font-num); }

.code-cell { font-family: var(--font-num); color: var(--c-text-3); letter-spacing: .3px; }
.class-block { margin-bottom: 24px; }
.cb-title {
  font-size: 16px; margin-bottom: 11px; display: flex; align-items: center; gap: 9px; flex-wrap: wrap;
  padding-bottom: 8px; border-bottom: 2px solid var(--c-primary-soft);
}
.cb-code { font-family: var(--font-num); font-size: 12px; color: var(--c-text-3); background: var(--c-bg); padding: 1px 8px; border-radius: 4px; font-weight: 600; }
.cb-cnt { font-size: 12px; color: var(--c-text-3); font-weight: 400; margin-left: auto; }

.two-col-major { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 22px; align-items: start; }
.two-col-major .panel { margin-bottom: 0; }
.two-col { display: grid; grid-template-columns: 1fr; gap: 22px; }

.career-list li {
  display: flex; align-items: flex-start; gap: 8px; padding: 7px 0; font-size: 13.5px;
  color: var(--c-text-2); border-bottom: 1px dashed var(--c-border-2); line-height: 1.7;
}
.career-list li:last-child { border-bottom: 0; }
.career-list svg { color: var(--c-success); flex-shrink: 0; margin-top: 5px; }
.check-list li { display: flex; align-items: flex-start; gap: 9px; padding: 8px 0; font-size: 13.5px; color: var(--c-text-2); line-height: 1.75; }
.check-list svg { color: var(--c-success); flex-shrink: 0; margin-top: 4px; }

/* ---------- 分数线 ---------- */
.score-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(318px, 1fr)); gap: 12px; margin-bottom: 26px; }
.score-card { overflow: hidden; transition: all .18s; }
.score-card:hover { box-shadow: var(--shadow-2); border-color: #cddaea; }
.scc-head {
  display: flex; align-items: center; gap: 9px; padding: 12px 16px;
  background: linear-gradient(120deg, var(--c-primary-softer), var(--c-white));
  border-bottom: 1px solid var(--c-border-2);
}
.scc-head h3 { font-size: 16.5px; }
.scc-head h3 a { color: var(--c-text); }
.scc-head h3 a:hover { color: var(--c-primary); }
.scc-year { margin-left: auto; font-size: 12px; color: var(--c-text-3); font-family: var(--font-num); }
.scc-body { padding: 12px 16px; }
.sc-line { padding: 8px 0; border-bottom: 1px dashed var(--c-border-2); }
.sc-line:last-child { border-bottom: 0; }
.sc-batch { font-size: 12.5px; color: var(--c-text-2); font-weight: 550; display: block; margin-bottom: 4px; }
.sc-pair { display: inline-flex; align-items: baseline; gap: 5px; margin-right: 16px; }
.sc-pair em { font-style: normal; font-size: 11.5px; color: var(--c-text-3); }
.sc-pair b { font-size: 18px; font-family: var(--font-num); color: var(--c-accent); font-weight: 700; }
.sc-pair.sc-sub b { font-size: 15px; color: var(--c-primary); }
.sc-note { display: block; font-size: 11.5px; color: var(--c-text-4); margin-top: 3px; line-height: 1.6; }
.sc-empty { font-size: 12.5px; color: var(--c-text-4); padding: 8px 0; }
.scc-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 9px 16px; border-top: 1px solid var(--c-border-2); background: var(--c-bg-2);
  font-size: 12px; color: var(--c-text-3);
}
.year-block { margin-bottom: 18px; }
.year-block:last-child { margin-bottom: 0; }
.yb-title { font-size: 14.5px; margin-bottom: 9px; color: var(--c-primary); font-family: var(--font-num); }

/* 选科要求分布 */
.req-dist { display: flex; flex-direction: column; gap: 7px; }
.rd-item {
  display: flex; align-items: center; gap: 11px; padding: 5px 9px; border: 1px solid transparent;
  border-radius: var(--radius-sm); background: transparent; cursor: pointer; transition: all .16s; text-align: left;
}
.rd-item:hover { background: var(--c-primary-softer); border-color: var(--c-border); }
.rd-item.active { background: var(--c-primary-soft); border-color: var(--c-primary-light); }
.rd-label { width: 132px; flex-shrink: 0; font-size: 13px; color: var(--c-text-2); font-weight: 500; }
.rd-bar { flex: 1; height: 9px; background: var(--c-border-2); border-radius: 5px; overflow: hidden; }
.rd-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--c-primary-light), var(--c-primary)); border-radius: 5px; }
.rd-num { width: 42px; text-align: right; font-size: 13px; color: var(--c-text-3); flex-shrink: 0; }

/* ---------- 政策指南 ---------- */
.sub-nav { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 11px; margin-bottom: 18px; }
.sn-card {
  display: flex; align-items: center; gap: 12px; padding: 14px 15px;
  background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--radius);
  transition: all .18s; color: inherit;
}
.sn-card:hover { border-color: var(--c-primary-light); box-shadow: var(--shadow-2); transform: translateY(-2px); color: inherit; }
.sn-icon { font-size: 22px; flex-shrink: 0; }
.sn-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sn-body strong { font-size: 14.5px; color: var(--c-text); }
.sn-body em { font-style: normal; font-size: 12px; color: var(--c-text-3); line-height: 1.6; }

.article-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 13px; }
.article-card {
  padding: 17px 18px; display: flex; flex-direction: column; gap: 9px;
  transition: all .18s; color: inherit; position: relative;
}
.article-card:hover { box-shadow: var(--shadow-2); transform: translateY(-3px); border-color: #cddaea; color: inherit; }
.ac-cat {
  align-self: flex-start; font-size: 11px; padding: 2px 9px; border-radius: 4px;
  background: var(--c-gold-soft); color: var(--c-gold); font-weight: 600;
}
.article-card h3 { font-size: 15.5px; line-height: 1.5; color: var(--c-text); }
.article-card p { font-size: 12.8px; color: var(--c-text-3); line-height: 1.72; flex: 1; }
.ac-keys { display: flex; flex-wrap: wrap; gap: 5px; }
.ac-keys em {
  font-style: normal; font-size: 11px; padding: 1px 8px; border-radius: 10px;
  background: var(--c-bg); color: var(--c-text-3);
}
.ac-go { font-size: 12.5px; color: var(--c-primary); font-weight: 550; }

.article-detail { margin-bottom: 22px; overflow: hidden; }
.ad-head { padding: 26px 30px 20px; border-bottom: 1px solid var(--c-border-2); background: var(--c-bg-2); }
.ad-head h1 { font-size: 25px; margin: 12px 0 8px; line-height: 1.4; }
.ad-year { font-size: 12px; color: var(--c-text-3); margin-left: 9px; }
.ad-source { font-size: 12.5px; color: var(--c-text-3); }
.ad-body { padding: 24px 30px; font-size: 14.5px; line-height: 2.05; color: var(--c-text-2); }
.ad-keys {
  margin: 0 30px 22px; padding: 16px 18px; background: var(--c-primary-softer);
  border: 1px solid #d9e6f6; border-radius: var(--radius);
}
.ad-keys h4 { font-size: 14px; color: var(--c-primary); margin-bottom: 10px; }
.ad-keys li { display: flex; align-items: flex-start; gap: 8px; font-size: 13.5px; color: var(--c-text-2); padding: 4px 0; line-height: 1.7; }
.ad-keys svg { color: var(--c-primary); flex-shrink: 0; margin-top: 4px; }
.ad-tips {
  display: flex; gap: 10px; margin: 0 30px 22px; padding: 14px 16px;
  background: var(--c-warn-soft); border: 1px solid #f2e2c2; border-radius: var(--radius);
  font-size: 13.5px; color: #7a5309; line-height: 1.8;
}
.ad-tips svg { flex-shrink: 0; margin-top: 4px; }
.ad-foot {
  display: flex; gap: 9px; padding: 16px 30px; border-top: 1px solid var(--c-border-2); background: var(--c-bg-2);
}
.rel-list { display: flex; flex-direction: column; }
.rel-item {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px 0; border-bottom: 1px dashed var(--c-border-2); font-size: 14px; color: var(--c-text);
}
.rel-item:last-child { border-bottom: 0; }
.rel-item:hover { color: var(--c-primary); }
.rel-item span { color: var(--c-text-4); }

/* ---------- 特殊类型招生 ---------- */
.special-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 12px; }
.special-card { padding: 16px 17px; transition: all .18s; color: inherit; display: flex; flex-direction: column; gap: 7px; }
.special-card:hover { box-shadow: var(--shadow-2); transform: translateY(-3px); border-color: #e5c9c4; color: inherit; }
.spc-head { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.spc-head h3 { font-size: 16px; }
.spc-full { font-size: 12.5px; color: var(--c-text-3); }
.spc-sum { font-size: 12.8px; color: var(--c-text-2); line-height: 1.72; flex: 1; }
.spc-foot { display: flex; align-items: center; gap: 10px; font-size: 11.5px; color: var(--c-text-4); flex-wrap: wrap; }
.spc-cnt { margin-left: auto; color: var(--c-primary); font-weight: 550; }
.spc-go { font-size: 12.5px; color: var(--c-accent); font-weight: 550; }

.step-list { counter-reset: step; }
.step-list li { display: flex; align-items: flex-start; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--c-border-2); }
.step-list li:last-child { border-bottom: 0; }
.sl-no {
  width: 25px; height: 25px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center;
  background: var(--c-primary); color: #fff; font-size: 12.5px; font-weight: 700; font-family: var(--font-num);
}
.step-list li > div { font-size: 13.8px; color: var(--c-text-2); line-height: 1.75; padding-top: 1px; }

/* ---------- 时间轴 ---------- */
.timeline { position: relative; padding-left: 8px; }
.tl-item { display: flex; gap: 16px; margin-bottom: 14px; position: relative; }
.tl-mark {
  width: 88px; flex-shrink: 0; display: flex; flex-direction: column; align-items: flex-end;
  gap: 6px; padding-top: 16px; position: relative;
}
.tl-mark::after {
  content: ""; position: absolute; right: -22px; top: 20px; bottom: -22px; width: 2px;
  background: linear-gradient(180deg, var(--c-primary-light), var(--c-primary-soft), var(--c-border));
}
.tl-item:last-child .tl-mark::after { display: none; }
.tl-dot {
  position: absolute; right: -27px; top: 17px; width: 12px; height: 12px; border-radius: 50%;
  background: var(--c-white); border: 3px solid var(--c-primary); z-index: 2;
  box-shadow: 0 0 0 4px var(--c-primary-soft), 0 0 12px rgba(47, 111, 196, .45);
}
.tl-item.is-alt .tl-dot { border-color: var(--c-accent); }
.tl-month { font-size: 14px; font-weight: 700; color: var(--c-primary); font-family: var(--font-num); }
.tl-card { flex: 1; padding: 15px 18px; min-width: 0; }
.tl-head { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; margin-bottom: 7px; }
.tl-head h3 { font-size: 15.5px; }
.tl-year { font-size: 11.5px; color: var(--c-text-4); margin-left: auto; font-family: var(--font-num); }
.tl-desc { font-size: 13.3px; color: var(--c-text-2); line-height: 1.8; }
.tl-tips {
  display: flex; align-items: flex-start; gap: 8px; margin-top: 9px; padding: 9px 12px;
  background: var(--c-warn-soft); border-radius: var(--radius-sm); font-size: 12.8px; color: #7a5309; line-height: 1.7;
}
.tl-tips svg { flex-shrink: 0; margin-top: 3px; }

/* ---------- 术语词典 ---------- */
.gloss-block { margin-bottom: 26px; }
.gb-title {
  font-size: 16px; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 2px solid var(--c-primary-soft);
  display: flex; align-items: center; gap: 9px;
}
.gb-cnt { font-size: 11.5px; color: var(--c-text-3); background: var(--c-bg); padding: 1px 8px; border-radius: 9px; font-weight: 500; font-family: var(--font-num); }
.gloss-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 10px; }
.gloss-item { padding: 13px 15px; transition: all .16s; }
.gloss-item:hover { border-color: var(--c-primary-light); box-shadow: var(--shadow-1); }
.gloss-item h4 { font-size: 14.5px; margin-bottom: 5px; color: var(--c-primary-dark); display: flex; align-items: baseline; gap: 7px; flex-wrap: wrap; }
.gloss-item h4 mark { background: #fff0b8; color: inherit; padding: 0 1px; border-radius: 2px; }
.gi-abbr { font-size: 11.5px; color: var(--c-text-4); font-weight: 400; font-family: var(--font-num); }
.gloss-item p { font-size: 12.8px; color: var(--c-text-2); line-height: 1.75; }
.gloss-item p mark { background: #fff0b8; color: inherit; padding: 0 1px; border-radius: 2px; }

.term-list { display: flex; flex-direction: column; gap: 10px; }
.term-item { padding: 13px 15px; background: var(--c-bg-2); border: 1px solid var(--c-border-2); border-radius: var(--radius-sm); }
.term-item h4 { font-size: 14.5px; margin-bottom: 5px; color: var(--c-primary-dark); }
.term-item h4 mark { background: #fff0b8; padding: 0 1px; border-radius: 2px; }
.term-abbr { font-size: 11.5px; color: var(--c-text-4); font-weight: 400; }
.term-item p { font-size: 13px; color: var(--c-text-2); line-height: 1.75; margin-bottom: 7px; }
.term-item p mark { background: #fff0b8; padding: 0 1px; border-radius: 2px; }

/* ---------- 搜索结果页 ---------- */
.search-page-head { margin-bottom: 18px; }
.mini-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 9px; }
.mini-card {
  display: flex; align-items: center; gap: 11px; padding: 11px 13px;
  border: 1px solid var(--c-border-2); border-radius: var(--radius-sm); background: var(--c-bg-2);
  transition: all .16s; color: inherit;
}
.mini-card:hover { background: var(--c-white); border-color: var(--c-primary-light); box-shadow: var(--shadow-1); color: inherit; }
.mc-badge {
  flex-shrink: 0; font-size: 11.5px; padding: 3px 8px; border-radius: 5px;
  background: var(--c-primary-soft); color: var(--c-primary); font-weight: 600; max-width: 76px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.mc-major .mc-badge { background: #efeafc; color: #6b46c1; }
.mc-policy .mc-badge, .mc-article .mc-badge { background: var(--c-gold-soft); color: var(--c-gold); }
.mc-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.mc-body strong { font-size: 14px; color: var(--c-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mc-body strong mark { background: #fff0b8; padding: 0 1px; border-radius: 2px; }
.mc-body em { font-style: normal; font-size: 11.8px; color: var(--c-text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mc-desc { font-size: 11.8px; color: var(--c-text-3); line-height: 1.6; }
.mc-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.mini-card.mc-policy strong, .mini-card.mc-article strong { white-space: normal; }

/* ---------- 志愿方案表 ---------- */
.profile-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.profile-ctx {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1px;
  background: var(--c-border-2); border: 1px solid var(--c-border-2); border-radius: var(--radius-sm);
  overflow: hidden; margin-top: 16px;
}
.pcx-item { background: var(--c-bg-2); padding: 10px 14px; display: flex; flex-direction: column; gap: 3px; }
.pcx-item.is-wide { grid-column: 1 / -1; }
.pcx-item span { font-size: 11.5px; color: var(--c-text-3); }
.pcx-item strong { font-size: 13.5px; color: var(--c-text); font-weight: 600; line-height: 1.65; }

.add-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; align-items: end; }
.field-submit { gap: 10px; }
#adHint { line-height: 1.6; }
#adHint.is-ok { color: var(--c-success); }

.plan-summary {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin-bottom: 16px;
}
.ps-item {
  padding: 13px 15px; border-radius: var(--radius); border: 1px solid var(--c-border);
  border-left-width: 4px; background: var(--c-bg-2); display: flex; flex-direction: column; gap: 2px;
}
.ps-num { font-size: 27px; line-height: 1.15; color: var(--c-text); }
.ps-label { font-size: 14px; font-weight: 650; color: var(--c-text); }
.ps-desc { font-size: 11.5px; color: var(--c-text-3); line-height: 1.55; }
.ps-item.tier-chong { border-left-color: var(--c-accent); background: var(--c-accent-soft); }
.ps-item.tier-chong .ps-num, .ps-item.tier-chong .ps-label { color: #a8342a; }
.ps-item.tier-wen { border-left-color: var(--c-primary); background: var(--c-primary-softer); }
.ps-item.tier-wen .ps-num, .ps-item.tier-wen .ps-label { color: var(--c-primary-dark); }
.ps-item.tier-bao { border-left-color: var(--c-success); background: var(--c-success-soft); }
.ps-item.tier-bao .ps-num, .ps-item.tier-bao .ps-label { color: #16633f; }
.ps-item.tier-dian { border-left-color: #7a5cd6; background: rgba(122, 92, 214, .10); }
.ps-item.tier-dian .ps-num, .ps-item.tier-dian .ps-label { color: #5b3fc4; }
.ps-item.ps-total { border-left-color: var(--c-gold); background: var(--c-gold-soft); }
.ps-item.ps-total .ps-num, .ps-item.ps-total .ps-label { color: #8a650a; }

.tier-badge {
  display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 7px;
  font-size: 13px; font-weight: 700; color: #fff;
}
.tier-badge.tier-chong { background: var(--c-accent); }
.tier-badge.tier-wen { background: var(--c-primary); }
.tier-badge.tier-bao { background: var(--c-success); }
.tier-badge.tier-dian { background: #7a5cd6; }

/* 录取概率：按梯度颜色直接标注文字（冲红/稳蓝/保绿/垫紫） */
.prob-label { font-size: 13px; font-weight: 700; white-space: nowrap; }
.prob-label.tier-chong { color: #a8342a; }
.prob-label.tier-wen { color: var(--c-primary-dark); }
.prob-label.tier-bao { color: #16633f; }
.prob-label.tier-dian { color: #5b3fc4; }
.prob-label.tier-tq { color: #9a6f14; background: rgba(201,154,46,.10); border: 1px solid #e3c878; border-radius: 4px; padding: 0 5px; }

/* 院校软科排名小标（2025 软科中国大学主榜） */
.soft-tag { display: inline-block; margin-left: 6px; padding: 0 5px; border: 1px solid #cbb6f2; background: #f4edff; color: #6a4cc0; border-radius: 4px; font-size: 10.5px; font-weight: 700; line-height: 1.5; white-space: nowrap; vertical-align: 1px; }
/* 专业软科排名小标（2025 软科中国大学专业排名，蓝色区分院校紫标） */
.soft-tag.soft-major { border-color: #9cc9f5; background: #eef7ff; color: #1f6fb2; }

.plan-table { min-width: 1060px; }
.plan-table .school, .plan-table .major { min-width: 140px; }
.plan-table .note { min-width: 100px; color: var(--c-text-3); font-size: 11.5px; }
.td-ops { white-space: nowrap; }
.op-btn {
  width: 26px; height: 26px; border: 1px solid var(--c-border); border-radius: 5px;
  background: var(--c-white); color: var(--c-text-3); cursor: pointer; font-size: 12px;
  margin-right: 3px; transition: all .15s; padding: 0;
}
.op-btn:hover:not(:disabled) { border-color: var(--c-primary-light); color: var(--c-primary); background: var(--c-primary-softer); }
.op-btn:disabled { opacity: .35; cursor: not-allowed; }
.op-btn.op-del:hover { border-color: var(--c-accent); color: #fff; background: var(--c-accent); }
.plan-foot { display: flex; gap: 9px; margin-top: 14px; flex-wrap: wrap; }
.sd-score-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 16px; max-width: 760px; margin-bottom: 4px; }
.sd-score-cell { display: flex; align-items: center; gap: 8px; }
.sd-score-cell span { width: 62px; font-size: 12.5px; color: var(--c-text-2); flex-shrink: 0; }
.sd-score-cell .input { width: 78px; }
.lang-note { color: var(--c-accent); font-size: 12px; }
.single-note { color: #d97706; font-size: 12px; }
.gender-note { color: #dc2626; font-size: 12px; }
.tq-note { color: #0f766e; font-size: 12px; }
.cg-tq { display: block; font-size: 12px; margin: 2px 0 1px; }
.plan-move { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--c-text-2); }
.plan-move .input-xs { width: 62px; padding: 4px 8px; }
tr.dragging { opacity: .45; }
tr.drag-over td { border-top: 2px solid var(--c-primary) !important; background: var(--c-primary-softer) !important; }
.btn-danger { color: var(--c-danger); border-color: #eecfca; }
.btn-danger:hover { background: var(--c-danger-soft); border-color: var(--c-danger); color: var(--c-danger); }

/* ---------- 风险确认弹窗 ---------- */
.sd-risk-box { max-width: 420px; width: 92vw; text-align: center; padding: 34px 30px 28px; }
.sd-risk-icon {
  width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%;
  border: 3px solid #f5a623; color: #f5a623; font-size: 34px; font-weight: 700;
  display: grid; place-items: center; line-height: 1;
}
.sd-risk-title { font-size: 18px; font-weight: 700; margin-bottom: 10px; color: var(--c-text-1); }
.sd-risk-text { color: var(--c-text-2); line-height: 1.7; margin-bottom: 24px; font-size: 14px; }
.sd-risk-btns { display: flex; justify-content: center; gap: 14px; }
.sd-risk-ok { background: #27ae60; border-color: #27ae60; color: #fff; min-width: 96px; }
.sd-risk-ok:hover { background: #219a52; border-color: #219a52; color: #fff; }
.sd-risk-cancel { background: #e74c3c; border-color: #e74c3c; color: #fff; min-width: 96px; }
.sd-risk-cancel:hover { background: #c0392b; border-color: #c0392b; color: #fff; }

/* ---------- 弹窗 ---------- */
.modal-mask {
  position: fixed; inset: 0; z-index: 550; background: rgba(15, 25, 40, .5);
  backdrop-filter: blur(3px); display: grid; place-items: center; padding: 20px;
  animation: fadeIn .18s ease;
}
.modal-box {
  width: 100%; max-width: 480px; background: var(--c-white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-3); overflow: hidden; animation: panelUp .22s cubic-bezier(.2,.8,.3,1);
  max-height: 88vh; display: flex; flex-direction: column;
}
.modal-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 15px 20px; border-bottom: 1px solid var(--c-border-2); background: var(--c-bg-2);
}
.modal-head h3 { font-size: 16px; }
.modal-close {
  width: 28px; height: 28px; border: 0; border-radius: 50%; background: transparent;
  color: var(--c-text-3); cursor: pointer; font-size: 14px; display: grid; place-items: center; padding: 0;
}
.modal-close:hover { background: var(--c-border); color: var(--c-text); }
.modal-body { padding: 18px 20px; display: flex; flex-direction: column; gap: 14px; overflow-y: auto; }
.modal-foot { display: flex; gap: 9px; justify-content: flex-end; padding: 14px 20px; border-top: 1px solid var(--c-border-2); background: var(--c-bg-2); }
.modal-x { position: absolute; top: 12px; right: 16px; font-size: 20px; line-height: 1; color: var(--c-text-3); background: none; border: none; cursor: pointer; padding: 2px; }
.modal-x:hover { color: var(--c-accent); }
.sd-modal { width: 720px; max-width: 100%; }
/* 志愿方案查看弹窗（PDF 志愿单格式 + 2027 投档对照） */
.sd-view-box { width: 920px; max-width: 95vw; }
.sd-view-info { display: flex; flex-wrap: wrap; gap: 6px 22px; padding: 10px 14px; background: var(--c-bg-2, #f5f7fa); border: 1px solid var(--c-border-2, #e2e8f0); border-radius: 8px; font-size: 13.5px; color: var(--c-text-2, #4a5a6e); }
.sd-view-info b { color: var(--c-text, #2f3542); }
.sdv-name { cursor: pointer; color: var(--c-primary, #1a73e8); text-decoration: underline; }
.sdv-name:hover { opacity: .8; }
.sdv-tag { display: inline-block; padding: 2px 9px; border-radius: 10px; font-size: 12.5px; font-weight: 600; }
.sdv-hit { color: #0c7a43; background: #e2f5ea; border: 1px solid #a8e0c0; }
.sdv-miss { color: #b42318; background: #fdecea; border: 1px solid #f3b8b0; }
.sdv-na { color: #7a8699; background: #eef2f7; border: 1px solid #dde3eb; }
.sd-view-table th { background: #f2f5f9; }
.sd-view-table tr.sdv-hit-row td { background: #effaf3; }
.sd-view-table tr.sdv-miss-row td { background: #fdf3f2; }
.btn.active { border-color: var(--c-primary); background: var(--c-primary-soft); color: var(--c-primary-dark); font-weight: 700; }

/* 院校/专业详情弹窗 */
.sd-detail-box { width: 900px; max-width: 95vw; }
.sd-detail-body { padding: 20px 24px; overflow-y: auto; }
.sd-detail-body .panel { flex: 0 0 auto; height: auto; }
.sd-detail-body .anchor-nav { position: sticky; top: -20px; z-index: 10; background: var(--c-white); padding: 8px 0; margin: -20px -24px 12px; padding-left: 24px; padding-right: 24px; border-bottom: 1px solid var(--c-border-2); }
/* 弹窗内分数线表：专业名称列允许换行（长括号备注不再撑出横向滚动），数字列保持不换行 */
.sd-detail-body .data-table.is-compact td:first-child {
  white-space: normal; overflow-wrap: anywhere; line-height: 1.55; min-width: 200px;
}

/* 专业类/试验班：包含专业解释 */
.major-explain-row { display: flex; align-items: flex-start; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--c-border-2); background: linear-gradient(135deg, rgba(30,111,217,.04), rgba(30,111,217,.01)); }
.major-explain-row .cq-label { flex-shrink: 0; padding-top: 2px; color: var(--c-text-muted, #888); font-size: 13px; }
.major-explain { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.major-explain .explain-part { font-size: 14px; line-height: 1.6; color: var(--c-text, #333); }
.major-explain .explain-part:first-child { font-weight: 700; color: var(--c-primary, #1a73e8); font-size: 14.5px; }
.tag-na { background: #eef2f7; color: #5a6472; border: 1px solid #dde3eb; }

/* 格学风格：院校投档数据概览 */
.admit-kpi-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  margin-bottom: 16px;
}
.admit-kpi {
  display: flex; flex-direction: column; gap: 6px;
  padding: 14px 16px; border-radius: var(--radius-sm);
  background: var(--c-bg-2, #f5f7fa); border: 1px solid var(--c-border-2);
}
.admit-kpi .ak-label { font-size: 13px; color: var(--c-text-muted, #888); }
.admit-kpi .ak-value { font-size: 24px; font-weight: 700; color: var(--c-text, #222); }
.admit-kpi .ak-value.num-red { color: #e53935; }
.admit-kpi .ak-value.num-green { color: #2e7d32; }
@media (max-width: 768px) { .admit-kpi-grid { grid-template-columns: repeat(2, 1fr); } }

/* 志愿方案表：2027 预测列 */
.sd-table .pv .pred-val { color: #e65100; font-weight: 700; }
.sd-table .pv .pred-range { display: block; font-size: 11px; color: #9a6a00; font-weight: 400; margin-top: 1px; }

/* ---------- 山东志愿方案：学生档案 + 志愿填报改版 ---------- */
.sd-field-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-start; }
.sd-field-row .field { flex: 1 1 0; min-width: 190px; }
.sd-field-row .field-wide { flex: 1 1 100%; }
.sd-students-table th, .sd-students-table td { white-space: nowrap; }
.sd-plan-top {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px;
  padding: 12px 14px; margin-bottom: 14px;
  border: 1px solid var(--c-border-2); border-radius: var(--radius-sm); background: var(--c-bg-2);
}
.sd-plan-person { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: 13.5px; color: var(--c-text-2); }
.sd-plan-tag {
  display: inline-flex; align-items: center; padding: 3px 10px; border-radius: var(--radius-sm);
  background: var(--c-primary); color: #fff; font-size: 12.5px; font-weight: 700;
}
.sd-plan-info b { color: var(--c-primary-dark); font-size: 15px; }
.sd-plan-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-left: auto; }
.sd-college-box { flex: 1 1 100%; display: none; align-items: stretch; flex-direction: column; gap: 8px; }
.sd-college-box .input { width: 100%; flex: 0 0 auto; }
.sd-college-form {
  width: 100%; padding: 10px 14px; margin-bottom: 12px;
  border: 1px solid var(--c-border-2); border-radius: var(--radius-sm); background: var(--c-bg-2);
}
/* 内嵌检索栏一行排列：四个输入框 + 检索/重置按钮 */
.sd-college-box .sd-college-form { display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.sd-college-box .sd-field-row { flex: 1 1 560px; display: flex; gap: 10px; flex-wrap: wrap; }
.sd-college-box .sd-field-row .field { flex: 1 1 160px; margin: 0; }
.sd-college-box .sd-college-actions { display: flex; gap: 8px; flex-shrink: 0; }
.sd-college-form .sd-field-row .field { flex: 1 1 200px; min-width: 170px; gap: 4px; }
.sd-college-box .sd-field-row .field { flex: 1 1 220px; min-width: 170px; max-width: 280px; }
.sd-college-form .field-label { font-size: 12px; line-height: 1.3; }
.sd-college-form .input {
  height: 32px; min-height: 32px; padding: 3px 10px; font-size: 13px;
}
.sd-college-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding-top: 4px; }
.sd-college-actions .field-hint { font-size: 12px; }
.sd-plan-sliders {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px 16px;
  padding: 14px; margin-top: 14px;
  border: 1px solid var(--c-border-2); border-radius: var(--radius-sm); background: var(--c-bg-2);
}
.sd-plan-sliders .field { gap: 7px; }
.sd-plan-sliders .field .field-hint b { color: var(--c-primary-dark); }
.sd-plan-act { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0; }
.sd-plan-stat { margin-left: auto; font-size: 13px; color: var(--c-text-2); }
.sd-plan-stat b { color: var(--c-primary-dark); font-size: 15px; }
.sd-plan-name { font-size: 18px; font-weight: 700; color: var(--c-text-1); }
.sd-plan-sub { font-size: 12px; color: var(--c-text-3); }
.sd-plan-top-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; margin-bottom: 12px; }
.sd-plan-toolbar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px;
  padding: 10px 14px; margin-bottom: 12px;
  border: 1px solid var(--c-border-2); border-radius: var(--radius-sm); background: var(--c-bg-2);
}
.sd-toolbar-right { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-left: auto; }
.sd-slider-mini { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--c-text-2); white-space: nowrap; }
.sd-slider-mini .slider { width: 110px; }
.sd-slider-mini b { color: var(--c-primary-dark); }
.sd-plan-toolbar .sd-f-tabs { padding-bottom: 0; }
.sd-f-opens { display: flex; flex-wrap: wrap; gap: 6px; }
.sd-f-open { border: 1px solid var(--c-border-2); background: var(--c-bg-2); color: var(--c-text-2); }
.sd-f-open.active { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.sd-f-modal { max-width: 880px; width: 96vw; }
/* 志愿填报工具栏：压缩控件尺寸，使筛选入口 + 滑块 + 按钮排列在一行 */
.sd-plan-toolbar { gap: 6px 10px; padding: 8px 10px; }
.sd-plan-toolbar .btn { padding: 4px 9px; font-size: 12.5px; }
.sd-f-opens { gap: 5px; }
.sd-slider-mini { gap: 4px; font-size: 12px; }
.sd-slider-mini .slider { width: 74px; }
.sd-toolbar-right { gap: 8px 10px; }
.sd-plan-act { gap: 8px; }
.sd-plan-stat { font-size: 12.5px; white-space: nowrap; }
.sd-f-modal .sd-f-modal-tabs { padding: 14px 20px 0; }
.sd-f-modal .sd-f-modal-body { max-height: 60vh; }
.sd-f-modal .modal-body .sd-mj-panel { max-height: 40vh; }
.sd-first-hint { margin: 10px 0; padding: 8px 12px; border: 1px solid #f5c87c; background: #fdf3e3; color: #8a5a00; font-size: 13px; border-radius: var(--radius-sm); line-height: 1.55; }

/* ---------- 搜索结果空态 ---------- */
.sr-none { padding: 26px 14px; text-align: center; color: var(--c-text-3); font-size: 13.5px; }
.sr-more {
  display: block; width: calc(100% - 20px); margin: 10px; padding: 10px;
  border: 1px dashed var(--c-border); border-radius: var(--radius-sm); background: var(--c-bg-2);
  color: var(--c-primary); font-size: 13px; cursor: pointer; transition: all .16s; text-align: center;
}
.sr-more:hover { background: var(--c-primary-soft); border-color: var(--c-primary-light); }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .entry-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .home-map-row { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .hero { padding: 30px 22px 24px; }
  .hero-title { font-size: 31px; }
  .br-mobile { display: none; }
  .college-list { grid-template-columns: 1fr; }
  .cc-side { width: 96px; }
  .page-title { font-size: 21px; }
  .ad-head, .ad-body, .ad-foot { padding-left: 20px; padding-right: 20px; }
  .ad-keys, .ad-tips { margin-left: 20px; margin-right: 20px; }
  .cd-hero, .md-hero { padding: 18px 17px; }
  .cdh-title h1, .mdh-title h1 { font-size: 22px; }
  .cdh-actions { flex-direction: row; flex-wrap: wrap; width: 100%; }
  .cdh-actions > * { flex: 1; min-width: 130px; }
  .tl-mark { width: 60px; }
  .tl-month { font-size: 12.5px; }
  .anchor-nav { top: var(--header-h); overflow-x: auto; flex-wrap: nowrap; }
  .home-map-row { grid-template-columns: 1fr; }
  .home-map-wrap #homeMap { min-height: 420px !important; }
}

@media (max-width: 640px) {
  .entry-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 9px; }
  .home-map-wrap #homeMap { min-height: 320px !important; }
  .hero-input-wrap { flex-direction: column; align-items: stretch; gap: 9px; }
  .hero-input { border-radius: 10px; padding-left: 42px; }
  .hero-go { border-radius: 10px; }
  .hero-input-wrap > svg { display: none; }
  .fb-label { min-width: 100%; padding-top: 0; margin-bottom: 2px; }
  .fb-label-2 { margin-left: 0; margin-top: 8px; }
  .college-card { flex-direction: column; }
  .cc-head-row { flex-direction: column; gap: 4px; }
  .cc-head-right { margin-top: 2px; }
  .cc-side { width: 100%; flex-direction: row; align-items: center; gap: 12px; }
  .cc-side .btn { flex: 1; }
  .score-grid, .special-grid, .article-grid, .mini-cards, .gloss-grid { grid-template-columns: 1fr; }
  .cmp-table .cmp-label { width: 108px; }
  .cdh-quick, .mdh-quick { grid-template-columns: repeat(2, 1fr); }
  .info-row { flex-direction: column; gap: 2px; }
  .ir-label { width: auto; }
  .tl-item { flex-direction: column; gap: 8px; }
  .tl-mark { width: auto; flex-direction: row; align-items: center; gap: 8px; padding-top: 0; }
  .tl-mark::after, .tl-dot { display: none; }
  .plan-summary { grid-template-columns: 1fr 1fr; }
}

/* ---------- 打印优化 ---------- */
@media print {
  .filter-bar, .anchor-nav, .fb-foot, .cc-side, .op-btn, .plan-foot, .ad-foot,
  .hero-search, .hero-hot, .sub-nav, .cat-nav, .rec-cols, .entry-grid { display: none !important; }
  .hero { background: #fff !important; color: #000 !important; box-shadow: none; border: 1px solid #ccc; }
  .hero-title, .hero-desc, .hero-kicker { color: #000 !important; }
  .hero-stats .stat-card { background: #fff !important; border: 1px solid #ccc; }
  .hero-stats .sc-label, .hero-stats .sc-value, .hero-stats .sc-extra { color: #000 !important; }
  .card, .panel { break-inside: avoid; page-break-inside: avoid; }
  .tl-item, .score-card, .gloss-item { break-inside: avoid; }
  .table-wrap { overflow: visible; border: 0; }
  .data-table { font-size: 11px; }
  .data-table th { position: static; background: #eee !important; }
  .plan-table, .cmp-table, .hb-table { min-width: 0; }
  a { color: #000 !important; text-decoration: underline; }
}

/* ---------- 体检要求页 ---------- */
.health-levels { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin: 4px 0 16px; }
.hl-item { border: 1px solid var(--c-border); border-left: 4px solid; border-radius: var(--radius-sm); padding: 12px 14px; background: var(--c-white); }
.hl-item.hl-1 { border-left-color: var(--c-danger); }
.hl-item.hl-2 { border-left-color: var(--c-warn); }
.hl-item.hl-3 { border-left-color: var(--c-primary-light); }
.hl-item h4 { margin: 0 0 6px; font-size: 14px; }
.hl-item p { margin: 0; font-size: 12.5px; line-height: 1.7; color: var(--c-text-2); }

.health-guide { display: flex; flex-direction: column; gap: 14px; }
.guide-part { border: 1px solid var(--c-border); border-radius: var(--radius-md); padding: 16px 18px; background: var(--c-white); }
.gp-title { display: flex; align-items: center; gap: 9px; margin: 0 0 8px; font-size: 15.5px; }
.gp-no { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%;
  background: var(--c-primary); color: #fff; font-size: 13px; font-weight: 700; flex-shrink: 0; }
.gp-note { margin: 0 0 10px; font-size: 12.5px; line-height: 1.7; color: var(--c-text-2); background: var(--c-primary-softer);
  border-radius: var(--radius-sm); padding: 8px 12px; }
.guide-items { margin: 0; padding-left: 22px; }
.guide-items li { margin-bottom: 8px; }
.hg-text p { margin: 0 0 4px; font-size: 13px; line-height: 1.75; }
.hg-text .bullet-list { margin-top: 4px; }

.health-special { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }
.hs-card { border-top: 3px solid var(--c-primary); }
.hs-card h4 { margin: 0 0 6px; font-size: 15px; }
.hs-source { margin: 0 0 10px; font-size: 12px; color: var(--c-text-3); }
.hs-tip { margin: 10px 0 0; font-size: 12px; line-height: 1.7; color: var(--c-warn); background: var(--c-warn-soft);
  border-radius: var(--radius-sm); padding: 8px 12px; }

.code-cell { font-family: var(--font-num); }

/* ---------- 山东志愿方案生成器 ---------- */
.notice-sd {
  display: flex; gap: 9px; padding: 12px 14px; border-radius: var(--radius-sm);
  background: var(--c-primary-softer); border: 1px solid var(--c-primary-light);
  color: var(--c-text); line-height: 1.7; font-size: 13px; margin-bottom: 16px;
}
.notice-sd .sc-note { display: block; margin-top: 4px; color: var(--c-text-3); font-size: 11.8px; }
.sd-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; align-items: end; }
.sd-form .field-wide { grid-column: 1 / -1; }
.chk-group { display: flex; flex-wrap: wrap; gap: 9px; padding-top: 4px; }
.chk-inline {
  display: inline-flex; align-items: center; gap: 5px; padding: 6px 12px;
  border: 1px solid var(--c-border-2); border-radius: var(--radius-sm);
  background: var(--c-bg-2); cursor: pointer; font-size: 13px; user-select: none;
}
.chk-inline:hover { border-color: var(--c-primary-light); }
.chk-inline:has(input:checked) { border-color: var(--c-primary); background: var(--c-primary-soft); color: var(--c-primary-dark); font-weight: 600; }
.sd-mj-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-bottom: 8px; }
.sd-mj-toolbar .sd-mj-search { flex: 1 1 260px; }
.sd-mj-toolbar .sd-mj-count { font-size: 12px; color: var(--c-text-2); }
.sd-mj-tabs { display: flex; flex-wrap: wrap; gap: 6px; padding-bottom: 8px; }
.sd-mj-tab { padding: 6px 14px; font-size: 13px; border: 1px solid var(--c-border-2); border-radius: var(--radius-sm);
  background: var(--c-bg-2); color: var(--c-text-2); cursor: pointer; user-select: none; }
.sd-mj-tab:hover { border-color: var(--c-primary-light); }
.sd-mj-tab.active { border-color: var(--c-primary); background: var(--c-primary-soft); color: var(--c-primary-dark); font-weight: 600; }
.sd-mj-tab .opt { font-weight: 400; }
.sd-mj-pane { display: none; }
.sd-mj-pane.active { display: block; }
.sd-mj-panel { border: 1px solid var(--c-border-2); border-radius: var(--radius-sm); padding: 6px 10px; max-height: 320px; overflow-y: auto; background: var(--c-bg-2); }
.sd-mj-group { margin: 4px 0; }
.sd-mj-group summary { cursor: pointer; font-weight: 600; font-size: 13px; padding: 5px 2px; color: var(--c-text-1); }
.sd-mj-group summary .opt { font-weight: 400; }
.sd-mj-classes { padding-left: 10px; border-left: 1px dashed var(--c-border-2); margin-left: 6px; }
.sd-mj-class { margin: 3px 0 3px 4px; }
.sd-mj-class summary { cursor: pointer; font-weight: 600; font-size: 12.5px; padding: 3px 2px; color: var(--c-text-2); }
.sd-mj-class summary .opt { font-weight: 400; }
.sd-mj-item { padding: 3px 9px; font-size: 12.5px; }
.btn-sm { padding: 4px 12px; font-size: 12.5px; }
.field-label .req { color: var(--c-accent); font-style: normal; }
.field-label .opt { font-size: 11px; color: var(--c-text-3); font-weight: 400; }
.slider { width: 100%; accent-color: var(--c-primary); cursor: pointer; display: block; }
.sd-form .field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.sd-form .field .field-hint { font-size: 11.8px; color: var(--c-text-3); line-height: 1.5; }
.sd-form .field-row { grid-column: 1 / -1; display: flex; gap: 12px; align-items: flex-start; }
.sd-form .field-row .field { flex: 1 1 0; min-width: 0; }
.sd-form .field-row .field-label { display: block; white-space: nowrap; }
.sd-form .field .rank-pct { display: inline-flex; align-items: center; width: 100%; box-sizing: border-box; padding: 9px 12px; border: 1px solid var(--c-border); border-radius: var(--radius-sm); background: var(--c-white); font-size: 14px; color: var(--c-text-1); white-space: nowrap; }
.sd-form .field .field-hint b { color: var(--c-primary-dark); }
/* 三步向导（考生信息 → 筛选条件 → 确认与生成） */
.sd-wizard { grid-column: 1 / -1; border: 1px solid var(--c-border-2); border-radius: var(--radius); background: var(--c-white); overflow: hidden; }
.sd-steps { display: flex; gap: 0; background: var(--c-bg-2); border-bottom: 1px solid var(--c-border-2); padding: 0; }
.sd-step { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 10px;
  font-size: 14px; color: var(--c-text-3); background: transparent; border: 0; border-bottom: 3px solid transparent; cursor: pointer; user-select: none; }
.sd-step b { width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: var(--c-border-2); color: var(--c-text-3); font-size: 12.5px; font-weight: 700; }
.sd-step.active { color: var(--c-primary-dark); font-weight: 700; border-bottom-color: var(--c-primary); background: var(--c-primary-soft); }
.sd-step.active b { background: var(--c-primary); color: #fff; }
.sd-step-panel { display: none; padding: 16px; }
.sd-step-panel.active { display: block; }
.sd-f-tabs { display: flex; flex-wrap: wrap; gap: 6px; padding-bottom: 12px; }
.sd-f-tab { padding: 7px 18px; font-size: 13.5px; border: 1px solid var(--c-border-2); border-radius: var(--radius-sm);
  background: var(--c-bg-2); color: var(--c-text-2); cursor: pointer; user-select: none; }
.sd-f-tab:hover { border-color: var(--c-primary-light); }
.sd-f-tab.active { border-color: var(--c-primary); background: var(--c-primary-soft); color: var(--c-primary-dark); font-weight: 700; }
.sd-f-pane { display: none; }
.sd-f-pane.active { display: block; }
.sd-mj-selected { display: flex; flex-wrap: wrap; gap: 7px; padding: 9px 10px; margin-bottom: 8px;
  border: 1px dashed var(--c-primary-light); border-radius: var(--radius-sm); background: var(--c-primary-soft);
  font-size: 12.5px; color: var(--c-text-3); line-height: 1.7; }
.sd-chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; background: var(--c-white);
  border: 1px solid var(--c-primary-light); color: var(--c-primary-dark); border-radius: 999px; font-size: 12.5px; }
.sd-chip i { font-style: normal; color: var(--c-text-3); cursor: pointer; font-weight: 700; padding: 0 2px; }
.sd-chip i:hover { color: var(--c-accent); }
.sd-confirm { border: 1px solid var(--c-border-2); border-radius: var(--radius-sm); background: var(--c-bg-2); padding: 12px 14px; margin-bottom: 14px; }
.sd-confirm-title { font-size: 13px; font-weight: 700; color: var(--c-primary-dark); padding: 6px 0 4px; }
.sd-confirm-title:first-child { padding-top: 0; }
.sd-confirm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 7px 16px; }
.sc-item { display: flex; flex-direction: column; gap: 2px; font-size: 12.5px; }
.sc-item span { color: var(--c-text-3); font-size: 11.5px; }
.sc-item b { color: var(--c-text-1); font-weight: 600; line-height: 1.5; }
.sd-confirm-note { font-size: 12px; color: var(--c-text-3); padding-top: 8px; border-top: 1px dashed var(--c-border-2); margin-top: 8px; }
.sd-major { font-size: 13.5px; font-weight: 600; color: var(--c-text); line-height: 1.5; }
.sd-summary { margin-bottom: 12px; }
.sd-table td { vertical-align: middle; }
/* 志愿方案样式表（参照山东志愿方案样式：考生行 + 双层表头 + 斑马纹） */
.sd-scroll { overflow-x: auto; }
.sd-style { min-width: 1120px; border-collapse: collapse; }
.sd-style td, .sd-style th { font-size: 12px; padding: 6px 7px; border: 1px solid var(--c-border-2); line-height: 1.4; white-space: normal; }
.sd-style .num, .sd-style .code { text-align: center; white-space: nowrap; }
.sd-style .school, .sd-style .major { min-width: 140px; }
.sd-style .note { min-width: 90px; color: var(--c-text-3); font-size: 11.5px; }
.sd-style .req { white-space: nowrap; font-size: 11.5px; color: var(--c-primary-dark); }
.sd-style .cell-sub { font-size: 11px; color: var(--c-text-3); margin-top: 2px; }
.sd-style .cell-sub.vol-note { color: #d97706; font-weight: 600; }
.sd-style .cell-sub.vol-note.vol-up { color: #dc2626; }
.sd-style .cell-sub.vol-note.vol-down { color: #16a34a; }
.sd-style .na { color: var(--c-text-3); }
.sc-main { display: block; font-weight: 600; }
.sc-plan { display: block; font-size: 10.5px; color: #8a6d3b; font-weight: 700; white-space: nowrap; }
.sc-sub { display: block; font-size: 10.5px; color: var(--c-text-3); white-space: nowrap; }
.sc-pct { display: block; font-size: 10.5px; color: var(--c-accent); white-space: nowrap; }
.sd-style .badge-dot { display: inline-flex; align-items: center; justify-content: center; width: 17px; height: 17px; border-radius: 50%; color: #fff; font-size: 10.5px; font-weight: 700; line-height: 1; margin-right: 3px; vertical-align: middle; }.sd-style .bd-985 { background: #d93026; }
.sd-style .bd-211 { background: #f08400; }
.sd-style .bd-syl { background: #7c4dcc; }
.sd-style .bd-bs { background: #1f6fb2; }
.sd-style .bd-ss { background: #0e9f8f; }
.sd-style .bd-by { background: #3f9d3f; }
.sd-style .td-ops { white-space: nowrap; }
.plan-table .pl-chk { width: 15px; height: 15px; vertical-align: middle; }
.sd-person th { background: #FFF6E5; color: #7A5200; font-weight: 700; font-size: 13px; text-align: left; padding: 8px 10px; }
.sd-head2 th { background: #FEF6F0; color: var(--c-text); font-weight: 700; text-align: center; font-size: 12px; border-top: 2px solid #F0D9C6; }
.sd-head3 th { background: #FEF6F0; color: var(--c-text); font-weight: 700; white-space: nowrap; }
.sd-style tbody tr:nth-child(odd) { background: #F7F7F7; }
.sd-style tbody tr:nth-child(even) { background: #FFFFFF; }
.sd-style tbody tr:hover { background: #FFF9F2; }
.src-hint { font-size: 11px; color: var(--c-text-3); margin-top: 8px; }
/* ===== 样本版式（与报告书志愿单预览一致：深绿表头 + 橙指标 + 4 行志愿 + 红方格科目） ===== */
.sd-samp { width: 100%; min-width: 1160px; }
.sd-samp th { background: #0F4C47; color: #fff; font-weight: 700; text-align: center; white-space: nowrap; }
.sd-samp th.sub-orange { background: #C96F2A; }
.sd-samp td { vertical-align: middle; }
.sd-samp .num { text-align: center; white-space: nowrap; }
.sd-samp .clg { font-weight: 700; color: #D9443A; text-align: left; font-size: 16px; }
.sd-samp .clg .row-link { color: #D9443A; }
.sd-samp .mj .row-link { color: var(--c-primary); }
.sd-samp .clg .sub { font-size: 12px; color: #6b7688; font-weight: 400; margin-top: 2px; }
.sd-samp .clg .loc { font-size: 12px; color: #6b7688; font-weight: 400; margin-left: 6px; vertical-align: middle; }
.sd-samp .clg .sub2 { font-size: 12px; color: #8a94a6; margin-top: 3px; line-height: 1.6; }
.sd-samp .sv-tag { display: inline-block; border: 1px solid #e3e8f0; color: #6b7688; border-radius: 3px; padding: 0 5px; font-size: 11.5px; margin-right: 4px; line-height: 1.6; }
.sd-samp .maj { font-weight: 700; color: #1E6FD9; text-align: left; font-size: 12px; }
.sd-samp .maj .sub { font-size: 11px; color: #8a94a6; font-weight: 400; margin-top: 2px; }
.sd-samp .code { color: #6b7688; text-align: left; }
.sd-samp .code .note-line { font-size: 11px; color: #8a94a6; margin-top: 3px; line-height: 1.5; }
.sd-samp .clg .cg-m { margin-top: 8px; font-weight: 700; color: #1E6FD9; text-align: left; font-size: 15px; }
.sd-samp .clg .cg-m .sub { font-size: 12px; color: #8a94a6; font-weight: 400; margin-top: 2px; }
.sd-samp .clg .cg-d { margin-top: 8px; color: #6b7688; text-align: left; }
.sd-samp .clg .cg-d .note-line { font-size: 12px; color: #8a94a6; margin-top: 3px; line-height: 1.5; }
.sd-samp .rk { text-align: center; }
.sd-samp .rk .rk-h, .sd-samp .rk .rk-p { font-size: 12px; color: #6b7688; }
.sd-samp .rk .rk-badge { display: inline-block; margin: 1px 2px; padding: 2px 6px; border-radius: 3px; font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.sd-samp .rk .rk-c { background: rgba(15,76,71,.1); color: #0F4C47; border: 1px solid rgba(15,76,71,.2); }
.sd-samp .rk .rk-m { background: rgba(30,111,217,.1); color: #1E6FD9; border: 1px solid rgba(30,111,217,.2); }
.sd-samp .clg .cg-m .mj-name { font-weight: 700; color: #1E6FD9; }
.sd-samp .clg .cg-m .mj-name .row-link { color: #1E6FD9; }
.sd-samp .clg .detail-link { display: inline-flex; align-items: center; vertical-align: middle; margin-left: 4px; color: #6b7688; text-decoration: none; transition: color .15s ease; }
.sd-samp .clg .detail-link:hover { color: #1E6FD9; }
.sd-samp .clg .vr-link { display: inline-flex; align-items: center; vertical-align: middle; margin-left: 4px; color: #6b7688; text-decoration: none; }
.sd-samp .clg .vr-link:hover { color: #1E6FD9; }
.sd-samp .clg .vr-ico { flex: none; }
.sd-samp .clg .cg-s .sv-tag { margin-left: 4px; }
.sd-samp .clg .cg-m .mj-code { font-size: 12px; color: #8a94a6; margin-left: 6px; font-weight: 400; }
.sd-samp .clg .cg-m .mj-sub { font-size: 12px; color: #8a94a6; margin-left: 6px; font-weight: 400; }
.sd-samp .clg .cg-d .note-label { color: #6b7688; }
.sd-samp .clg .nat-badge { display: inline-block; border-radius: 3px; padding: 0 5px; font-size: 11.5px; margin-left: 6px; line-height: 1.6; border: 1px solid; }
.sd-samp .clg .nat-gov { border-color: rgba(26,127,55,.4); color: #1a7f37; background: rgba(26,127,55,.08); }
.sd-samp .clg .nat-oth { border-color: rgba(107,118,136,.45); color: #6b7688; background: rgba(107,118,136,.08); }
.sd-samp .clg .nat-lvl { border-color: rgba(232,132,20,.45); color: #e88414; background: rgba(232,132,20,.08); }
.sd-samp .clg .nat-bs { border-color: rgba(139,92,246,.45); color: #8b5cf6; background: rgba(139,92,246,.08); }
.sd-samp .clg .nat-ms { border-color: rgba(59,130,246,.45); color: #3b82f6; background: rgba(59,130,246,.08); }
.sd-samp .clg .nat-by { border-color: rgba(21,101,80,.45); color: #156550; background: rgba(21,101,80,.08); }
.sd-samp .clg .nat-vol { border-color: rgba(217,119,6,.5); color: #d97706; background: rgba(217,119,6,.1); font-weight: 600; }
.sd-samp .clg .cg-m .mj-vol { font-size: 12px; color: #d97706; margin-left: 8px; font-weight: 600; }
.sd-samp .clg .cg-m .mj-vol.vol-up { color: #dc2626; }
.sd-samp .clg .cg-m .mj-vol.vol-down { color: #16a34a; }
.sd-samp .req { text-align: center; color: #D9443A; font-weight: 600; vertical-align: middle; }
.sd-samp .req .req-box { display: block; margin: 2px auto; }
.sd-samp .req-na { color: #D9443A; }
.sd-samp .prob { text-align: center; vertical-align: middle; }
.sd-samp td.ico { text-align: center; color: #0F4C47; }
.sd-samp td.pv { text-align: center; color: #C96F2A; }
.sd-samp td.y { text-align: center; white-space: nowrap; }
.sd-samp td.y .real-note { font-size: 10px; color: #8a94a6; font-weight: 400; margin-left: 3px; }
.sd-samp td.y.red { color: #D9443A; }
.sd-samp td.y.green { color: #1f9d55; }
.sd-samp td.y.blue { color: #1E6FD9; }
.sd-samp td.y.black { color: #2b3442; }
.sd-samp .td-ops { text-align: center; white-space: nowrap; }
.sd-samp tbody tr.r-clg td { background: #fdf4f1; }
.sd-samp tbody tr.r-maj td { background: #f2f7fd; }
.sd-samp tbody tr td.ico { background: #ffffff; }
.sd-samp tbody tr td.pv { font-weight: 700; }
.sd-samp tbody tr td.y { background: #ffffff; font-weight: 700; }
.sd-samp tbody.it-even tr td { background: #f5f8fc; }  /* 偶数志愿块交替底色，便于分辨相邻志愿 */
.sd-samp .row-hl td { background: #fff8e6 !important; }

/* ===== 志愿方案表：四档色带 + 概率进度条 + 行交互 ===== */
.sd-samp tbody.it-grp { border-left: 4px solid transparent; }
.sd-samp tbody.tb-冲 { border-left-color: #e65100; background: linear-gradient(to right, rgba(230,81,0,.04) 0, transparent 12px); }
.sd-samp tbody.tb-稳 { border-left-color: #1976d2; background: linear-gradient(to right, rgba(25,118,210,.04) 0, transparent 12px); }
.sd-samp tbody.tb-保 { border-left-color: #388e3c; background: linear-gradient(to right, rgba(56,142,60,.04) 0, transparent 12px); }
.sd-samp tbody.tb-垫 { border-left-color: #5b3fc4; background: linear-gradient(to right, rgba(91,63,196,.04) 0, transparent 12px); }
.sd-samp tbody.tb-提前批 { border-left-color: #c99a2e; background: linear-gradient(to right, rgba(201,154,46,.06) 0, transparent 12px); }
.sd-samp tbody.it-grp.tb-提前批:hover td { background: #fdf9ef; }

.sd-samp .prob-label { display: inline-flex; flex-direction: column; align-items: center; gap: 3px; font-size: 12.5px; font-weight: 700; white-space: nowrap; min-width: 46px; }
.sd-samp .prob-label .prob-track { display: block; width: 36px; height: 4px; background: #e8e8e8; border-radius: 2px; overflow: hidden; }
.sd-samp .prob-label .prob-fill { display: block; height: 100%; border-radius: 2px; transition: width .25s ease; }
.sd-samp .prob-label .prob-txt { font-size: 13px; }

.sd-samp .prob-label.tier-chong .prob-fill { background: linear-gradient(90deg, #ff8a65, #e65100); }
.sd-samp .prob-label.tier-wen   .prob-fill { background: linear-gradient(90deg, #64b5f6, #1976d2); }
.sd-samp .prob-label.tier-bao   .prob-fill { background: linear-gradient(90deg, #81c784, #388e3c); }
.sd-samp .prob-label.tier-dian  .prob-fill { background: linear-gradient(90deg, #b39ddb, #5b3fc4); }

.sd-samp tbody.it-grp:hover td { background: #fffbf2; }
.sd-samp tbody.it-grp.tb-冲:hover td { background: #fff5f0; }
.sd-samp tbody.it-grp.tb-稳:hover td { background: #f2f8ff; }
.sd-samp tbody.it-grp.tb-保:hover td { background: #f3faf3; }
.sd-samp tbody.it-grp.tb-垫:hover td { background: #f8f6ff; }

.sd-samp .td-ops { opacity: .85; transition: opacity .15s; }
.sd-samp tbody.it-grp:hover .td-ops { opacity: 1; }
.sd-samp tbody.it-grp:hover .td-ops .btn { transform: scale(1.02); }

/* ===== 滑块分数联动 + 筛选条件摘要 ===== */
.sd-slider-mini { display: flex; align-items: center; gap: 8px; }
.sd-slider-mini .sd-slider-score { font-size: 12px; color: var(--c-primary-dark); font-weight: 600; background: rgba(25,118,210,.08); padding: 1px 6px; border-radius: 3px; white-space: nowrap; }

.sd-f-summary { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 12px; background: #f8fafc; border: 1px solid var(--c-border-2); border-radius: 6px; margin: 8px 0; font-size: 12.5px; }
.sd-f-summary .sum-tag { display: inline-block; padding: 2px 8px; border-radius: 4px; font-weight: 500; white-space: nowrap; }
.sd-f-summary .sum-mj { background: rgba(25,118,210,.1); color: #1976d2; border: 1px solid rgba(25,118,210,.2); }
.sd-f-summary .sum-prov { background: rgba(56,142,60,.1); color: #388e3c; border: 1px solid rgba(56,142,60,.2); }
.sd-f-summary .sum-type { background: rgba(230,81,0,.1); color: #e65100; border: 1px solid rgba(230,81,0,.2); }
.sd-f-summary .sum-nat { background: rgba(91,63,196,.1); color: #5b3fc4; border: 1px solid rgba(91,63,196,.2); }
.sd-f-summary .sum-attr { background: rgba(21,101,80,.1); color: #156550; border: 1px solid rgba(21,101,80,.2); }
.sd-f-summary .sum-excl { background: rgba(217,48,38,.1); color: #d93026; border: 1px solid rgba(217,48,38,.2); }
.sd-f-summary .sum-fee { background: rgba(232,132,20,.1); color: #e88414; border: 1px solid rgba(232,132,20,.2); }
.sd-f-summary .sum-health { background: rgba(139,92,246,.1); color: #8b5cf6; border: 1px solid rgba(139,92,246,.2); }
.sd-f-summary .sum-first { background: rgba(0,150,136,.1); color: #009688; border: 1px solid rgba(0,150,136,.2); }
.sd-f-summary .sum-empty { color: var(--c-text-3); font-size: 12.5px; }

@media (max-width: 640px) {
  .sd-form .field-wide { grid-column: auto; }
}

/* ============ 省份切换（山东/河北） ============ */
.pl-prov-switch { display: flex; align-items: center; gap: 8px; padding: 8px 2px 2px; }
.pl-ps-label { font-size: 13px; color: var(--c-text-3); }
.pl-ps-btn { border: 1px solid var(--c-border-2); background: #fff; border-radius: 6px; padding: 5px 14px; font-size: 13px; cursor: pointer; color: var(--c-text); }
.pl-ps-btn.on { background: var(--c-primary); border-color: var(--c-primary); color: #fff; font-weight: 600; }
.pl-ps-btn:hover { border-color: var(--c-primary); }

/* ============ 河北志愿方案（样式复用山东 sd-* 通用类，此处仅保留河北特有辅助） ============ */
.hb-note { margin-top: 16px; font-size: 12px; color: var(--c-text-3); background: #f6f8fb; border: 1px solid var(--c-border-2); border-radius: 8px; padding: 10px 12px; line-height: 1.7; }
.hb-note strong { color: var(--c-text-2); }
.hb-res-wrap, .hb-plan-wrap { margin: 14px 0; }
.hb-res-head, .hb-plan-head { display: flex; justify-content: space-between; align-items: center; font-size: 15px; margin-bottom: 8px; }
.hb-res-count { font-size: 12.5px; color: var(--c-text-3); font-weight: 400; }
/* 河北表格：自适应容器宽度，文字列允许换行，避免横向溢出 */
.hb-table { min-width: 0; width: 100%; table-layout: auto; }
.hb-table th { white-space: nowrap; font-size: 12px; }
.hb-table th, .hb-table td { padding: 6px 7px; }
.hb-table td { font-size: 12.5px; vertical-align: middle; }
.hb-table .school, .hb-table .major, .hb-table .note { white-space: normal; word-break: break-word; }
.hb-table .school, .hb-table .major { min-width: 100px; }
.hb-table .note { min-width: 70px; max-width: 160px; color: var(--c-text-3); font-size: 11.5px; }
.hb-table .req { white-space: nowrap; font-size: 11px; }
.hb-table .code { white-space: nowrap; font-size: 11.5px; }
.hb-table .num { white-space: nowrap; }
/* 分数格内位次/百分位允许换行，压缩年份列宽 */
.hb-table .sc-sub, .hb-table .sc-pct { white-space: normal; word-break: break-word; }
.hb-sm { font-size: 11px; color: var(--c-text-3); }
.tier-badge.tier-冲 { background: #e53935; }
.tier-badge.tier-稳 { background: #2e7d32; }
.tier-badge.tier-保 { background: #1e88e5; }
.tier-badge.tier-垫 { background: #78909c; }
.tier-badge.tier-参考 { background: #607d8b; }
.prob-tag { font-weight: 700; }
.tq-rule { background: #fdf3e7; border: 1px solid #f0d9b8; border-radius: 8px; padding: 10px 14px; margin-bottom: 10px; font-size: 13px; color: #7a4d16; line-height: 1.7; }
.tq-rule strong { color: #c2571a; }
.td-col-name { font-weight: 600; }
/* 河北院校层次圆形图标（与山东 sd-style .badge-dot 一致，独立作用域供河北页复用） */
.badge-dot { display: inline-flex; align-items: center; justify-content: center; width: 17px; height: 17px; border-radius: 50%; color: #fff; font-size: 10.5px; font-weight: 700; line-height: 1; margin-right: 3px; vertical-align: middle; }
.bd-985 { background: #d93026; }
.bd-211 { background: #f08400; }
.bd-syl { background: #7c4dcc; }
.bd-bs { background: #1f6fb2; }
.bd-ss { background: #0e9f8f; }
.bd-by { background: #3f9d3f; }
.td-col-sub { font-size: 11px; color: var(--c-text-3); margin-top: 2px; }
.cl-tag { display: inline-block; border-radius: 4px; color: #fff; font-size: 10.5px; padding: 1px 5px; margin-left: 4px; vertical-align: 1px; font-weight: 700; }
.cl-tag.c-985 { background: #d93026; }
.cl-tag.c-211 { background: #f08400; }
.cl-tag.c-double { background: #7c4dcc; }
.cl-tag.c-baoyan { background: #1f6fb2; }
.cl-tag.c-shuanggao { background: #0e9f8f; }
.cl-tag.c-doctor { background: #3f9d3f; }
.cl-tag.c-master { background: #0e9f8f; }
.btn-xs { padding: 2px 8px; font-size: 12px; }
.td-ops { white-space: nowrap; }

/* 河北方案表：批量移除 / 拖拽 / 批量移动（与山东方案表交互一致） */
.hb-plan-tool { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 8px 12px; background: var(--c-bg-soft, #f6f8fa); border-bottom: 1px solid var(--c-border, #e5e7eb); }
.hb-plan-tool .chk-inline { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; cursor: pointer; }
.hb-plan-tool .hb-chk-all { width: 15px; height: 15px; vertical-align: middle; }
.hb-plan-tool .hb-move-box { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--c-text-2, #555); }
.hb-plan-tool .hb-move-box input { width: 56px; padding: 3px 6px; font-size: 13px; border: 1px solid var(--c-border, #ddd); border-radius: 4px; }
.hb-table .td-chk { width: 32px; text-align: center; }
.hb-table .hb-chk { width: 15px; height: 15px; vertical-align: middle; cursor: pointer; }
.hb-table tr[draggable="true"] { cursor: grab; }
.hb-table tr[draggable="true"]:active { cursor: grabbing; }


/* ==========================================================
   科技感增强补充（pages 级）
   ========================================================== */

/* 页面标题：更沉稳 */
.page-title { letter-spacing: -.4px; color: var(--c-text); }

/* 统计卡数字（志愿方案 ps-num / 首页统计） */
.ps-item {
  background: linear-gradient(180deg, var(--c-white), var(--c-bg-2));
  box-shadow: var(--shadow-1);
}
.ps-num { font-family: var(--font-num); letter-spacing: -.5px; }
.ps-item.tier-chong { border-left-color: #c8402f; }
.ps-item.tier-wen { border-left-color: var(--c-primary); }
.ps-item.tier-bao { border-left-color: var(--c-success); }
.ps-item.tier-dian { border-left-color: #7a5cd6; }

/* 冲稳保垫徽章：光晕 */
.tier-badge { box-shadow: 0 2px 7px rgba(10, 42, 84, .25); }

/* 弹窗：头部渐变 + 更精致 */
.modal-head {
  background: linear-gradient(180deg, var(--c-primary-softer), var(--c-bg-2));
  border-bottom: 1px solid var(--c-border);
}
.modal-box { box-shadow: 0 24px 60px rgba(6, 26, 56, .28); }

/* 志愿方案向导步骤条 */
.sd-steps { background: linear-gradient(180deg, var(--c-primary-softer), var(--c-bg-2)); }
.sd-step.active {
  color: var(--c-primary-dark);
  background: linear-gradient(180deg, var(--c-primary-soft), rgba(233, 240, 250, .6));
}

/* 测评报告封面 */
.rp-cover::before {
  background-image:
    radial-gradient(rgba(18, 58, 110, .09) 1.2px, transparent 1.3px),
    linear-gradient(rgba(18, 58, 110, .03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 58, 110, .03) 1px, transparent 1px);
  background-size: 24px 24px, 40px 40px, 40px 40px;
}
.rp-hero-tag { border-color: #c6dcf7; color: var(--c-primary-dark); }
.rp-cover-deco { opacity: .4; }

/* 选科要求分布条 */
.rd-bar i {
  background: linear-gradient(90deg, var(--c-primary-light), var(--c-primary));
  box-shadow: 0 1px 4px rgba(18, 58, 110, .3);
}

/* 就业形势进度条 */
.emp-bar { background: linear-gradient(90deg, var(--c-primary), var(--c-tech)); }

/* MBTI 进度条 */
.mbti-track { background: var(--c-border-2); }

/* 筛选项导航 */
.cat-item.active {
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-light));
  border-color: var(--c-primary-light);
  box-shadow: 0 2px 8px rgba(18, 58, 110, .30);
}

/* 锚点导航当前态（如有） */
.anchor-nav a:hover {
  background: var(--c-primary); border-color: var(--c-primary); color: #fff; transform: translateY(-1px);
}
.anchor-nav a.is-on {
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-light));
  border-color: var(--c-primary); color: #fff; font-weight: 600;
}

/* 信息网格 */
.info-grid { background: var(--c-border-2); }

/* 政策卡片/文章卡片 hover 光 */
.sn-card:hover, .article-card:hover, .special-card:hover {
  box-shadow: 0 12px 30px rgba(10, 42, 84, .14);
}

/* 术语词典条目 hover */
.gloss-item:hover { box-shadow: 0 6px 18px rgba(10, 42, 84, .10); }

/* 搜索命中 mark 高亮 */
mark { background: linear-gradient(180deg, #fff3b8, #ffe680); border-radius: 2px; }

/* 授权门禁（如启用时）更沉稳 */
.auth-card { box-shadow: 0 24px 64px rgba(6, 26, 56, .30); }
.auth-tab.is-active { color: var(--c-primary-dark); border-bottom-color: var(--c-primary); }


/* ---------- 查看结果（备选方案）内嵌展开 ---------- */
.sd-resview-panel { flex-direction: column; }
.sd-res-toolbar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  padding: 10px 12px; background: #f6f7fa;
  border: 1px solid #e3e6ef; border-radius: 8px; margin-bottom: 8px;
}
.sd-tb-btn { white-space: nowrap; }
.sd-res-filters { display: flex; gap: 8px; }
.sd-res-filters .input { width: 150px; }
.sd-res-wrap { display: flex; gap: 12px; align-items: flex-start; }
.sd-res-wrap .sd-res-left { flex: 1; min-width: 0; }
.sd-res-wrap.split .sd-res-left { flex: 1.4; }
.sd-res-wrap.split .sd-res-right {
  flex: 1; min-width: 0; max-height: 72vh; overflow: auto;
  border: 1px solid #e3e6ef; border-radius: 8px; padding: 4px;
}
.sd-res-right .table-wrap { max-height: none; }
/* 新加入志愿高亮（class 在 tbody 上）+ 加入瞬间闪烁定位 */
#sdResTable tbody.row-hl > tr > td { background: #fff3bf; }
#sdResTable tbody.row-hl:hover > tr > td { background: #ffeb9d; }
#sdResTable tbody.row-hl-new > tr > td { animation: sdHlFlash 1.8s ease-out 1; }
@keyframes sdHlFlash {
  0% { background: #ffd966; box-shadow: inset 4px 0 0 #e8a200; }
  60% { background: #ffe9a8; }
  100% { background: #fff3bf; box-shadow: inset 0 0 0 transparent; }
}
/* 底部操作栏内：自动排序下拉 + 橙色「开始排序」按钮（参考格学） */
.sd-res-opbar .sd-sort-sel { width: auto; min-width: 150px; margin: 0; padding: 5px 8px; cursor: pointer; }
.sd-res-opbar .sd-sort-go {
  margin: 0; color: #fff; border-color: #e8880f;
  background: linear-gradient(180deg, #f6a623, #e8880f);
  text-shadow: 0 1px 1px rgba(160, 90, 0, .25);
}
.sd-res-opbar .sd-sort-go:hover { filter: brightness(1.06); color: #fff; border-color: #cf760a; box-shadow: 0 4px 12px rgba(232, 136, 15, .32); transform: translateY(-1px); }
.sd-res-opbar .sd-sort-go:active { transform: translateY(0); box-shadow: 0 2px 6px rgba(232, 136, 15, .24); }
@media (max-width: 900px) {
  .sd-res-wrap.split { flex-direction: column; }
  .sd-res-filters .input { width: 110px; }
}

/* 查看结果底部操作栏（参考样式：横向排序/移动操作区） */
.sd-res-opbar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--c-primary-softer, #f5f7fa); border: 1px solid var(--c-border, #e2e5ea); border-top: none; border-radius: 0 0 10px 10px; flex-wrap: wrap; }
.sd-res-opbar .op-sel { font-size: 13px; color: var(--c-text, #444); white-space: nowrap; }
.sd-res-opbar .op-sel b, .sd-res-opbar .op-mv b { color: var(--c-primary, #1c4fd8); font-family: var(--font-num); font-size: 13.5px; margin: 0 1px; }
.sd-res-opbar .op-mv { font-size: 13px; color: var(--c-text, #444); white-space: nowrap; }
.sd-res-opbar .op-mv .input { width: 56px; margin: 0 4px; text-align: center; }
.sd-res-opbar .op-flex { flex: 1; }
.sd-res-opbar .btn { margin: 0; }

/* ---------- 生涯测评（站内全屏 iframe） ---------- */
.assessment-frame { margin: -22px -20px -48px; }
.assessment-frame iframe {
  display: block; width: 100%; border: 0;
  height: calc(100vh - var(--header-h, 64px));
  background: #fff;
}
@media (max-width: 900px) {
  .assessment-frame { margin: -16px -14px -40px; }
}

/* ---------- 院校页栏目切换（Tab）：一次只显示一个栏目 ---------- */
.cd-tab-btn { cursor: pointer; }
.cd-tab-panel { display: none; }
.cd-tab-panel.is-on { display: block; }

/* 硕博点概览（只给数量，专业明细在青云计划中看） */
.cd-gp { display: grid; grid-template-columns: repeat(auto-fit, minmax(132px, 1fr)); gap: 10px; }
.cd-gp__item { padding: 14px 12px; background: #f7f8fa; border: 1px solid var(--c-border-2); border-radius: 8px; text-align: center; }
.cd-gp__item b { display: block; font-size: 22px; font-weight: 700; color: var(--c-text); line-height: 1.2; }
.cd-gp__item span { display: block; margin-top: 4px; font-size: 12px; color: var(--c-text-3); }

/* 专业级表格滚动容器（招生计划/专业分数线行数多） */
.cd-scroll { max-height: 620px; overflow: auto; -webkit-overflow-scrolling: touch; }
/* 专业名极长，首列限宽，代码/分数/位次列固定不被挤掉 */
.cd-scroll .data-table { table-layout: fixed; min-width: 780px; }
.cd-scroll .data-table th:first-child, .cd-scroll .data-table td:first-child { width: 44%; }
.cd-scroll .data-table td:first-child { white-space: normal; word-break: break-all; overflow-wrap: anywhere; line-height: 1.5; }
.cd-scroll .data-table th.num, .cd-scroll .data-table td.num { white-space: nowrap; }

/* 院校概况：主栏 + 右侧栏 */
.cd-ov-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 18px; align-items: start; }
.cd-ov-side { position: sticky; top: calc(var(--header-h) + 66px); }

/* 院校简介折叠 */
.cd-intro.is-clamp { display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
.cd-intro-more { display: inline-block; margin-top: 4px; font-size: 12.5px; color: var(--c-blue, #1f5fd0); }

/* 大数字 + 三列名单（特色专业 / 双一流 / 硕士专业 / 博士专业） */
.cd-spec-head { display: flex; align-items: baseline; gap: 6px; margin-bottom: 10px; }
.cd-spec-num { font-size: 26px; font-weight: 700; line-height: 1; color: var(--c-text); font-variant-numeric: tabular-nums; }
.cd-spec-unit { font-size: 13px; color: var(--c-text-2, #6b7280); }
.cd-spec-grade { margin-left: 4px; font-size: 11.5px; color: #1f5fd0; background: rgba(31, 95, 208, .08); border-radius: 4px; padding: 1px 6px; }
.cd-spec-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px 14px; margin: 0; padding: 0; list-style: none; }
.cd-spec-list li { font-size: 12.5px; line-height: 1.9; border-bottom: 1px dashed var(--c-border-2); padding-bottom: 2px; }
.cd-spec-list li a { color: var(--c-text); }
.cd-spec-list li a:hover { color: var(--c-blue, #1f5fd0); }

/* 校园风光拼图：1 大 2 小 */
.cd-photos { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 108px 108px; gap: 6px; }
.cd-photo { margin: 0; overflow: hidden; border-radius: var(--radius-sm); background: var(--c-bg); }
.cd-photo--lead { grid-row: span 2; }
.cd-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* 院校实力：图标行列表 */
.cd-strength { margin: 0; padding: 0; list-style: none; }
.cd-strength__item { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--c-border-2); }
.cd-strength__item:last-child { border-bottom: 0; }
.cd-strength__ic { flex: 0 0 22px; width: 22px; height: 22px; border-radius: 6px; background: linear-gradient(135deg, #7aa5ee, #2b64d4); color: #fff; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.cd-strength__k { flex: 1 1 auto; font-size: 12.5px; color: var(--c-text); }
.cd-strength__v { flex: 0 0 auto; font-size: 13.5px; font-weight: 700; color: var(--c-text); font-variant-numeric: tabular-nums; }

/* 院校排名（软科） */
.cd-rank__item { display: flex; align-items: baseline; justify-content: space-between; padding: 4px 0; }
.cd-rank__k { font-size: 12.5px; color: var(--c-text-2, #6b7280); }
.cd-rank__v { font-size: 18px; font-weight: 700; color: var(--c-text); }
.cd-rank__note { margin: 4px 0 0; font-size: 11px; color: var(--c-text-3, #9ca3af); }

/* 毕业深造进度条 */
.cd-bar { margin-bottom: 12px; }
.cd-bar:last-child { margin-bottom: 0; }
.cd-bar__row { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 5px; }
.cd-bar__k { font-size: 12.5px; color: var(--c-text); }
.cd-bar__v { font-size: 14px; font-weight: 700; color: #e8663d; font-variant-numeric: tabular-nums; }
.cd-bar__bg { height: 6px; border-radius: 999px; background: var(--c-bg); overflow: hidden; }
.cd-bar__bg i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #f5a06a, #e8663d); }
.cd-bar__note { display: block; margin-top: 3px; font-size: 11px; color: var(--c-text-3, #9ca3af); }

/* 院校地址卡 */
.cd-addr__campus { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; font-size: 12.5px; color: var(--c-text); }
.cd-addr__dot { width: 6px; height: 6px; border-radius: 50%; background: #e8663d; flex: 0 0 6px; }
.cd-addr__more { margin-left: auto; font-size: 11.5px; color: var(--c-blue, #1f5fd0); white-space: nowrap; }
.cd-addr__figure { position: relative; display: block; margin-bottom: 8px; }
.cd-addr__img { width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; border-radius: var(--radius-sm); display: block; }
.cd-addr__hint { position: absolute; right: 8px; bottom: 8px; background: rgba(17, 24, 39, .74); color: #fff; font-size: 11px; padding: 2px 8px; border-radius: 999px; }
.cd-addr__text { font-size: 12px; color: var(--c-text-2, #4b5563); line-height: 1.55; margin: 0 0 8px; }
.cd-addr__btns { display: flex; gap: 6px; }
.cd-addr__btn { flex: 1 1 0; text-align: center; font-size: 12px; padding: 5px 0; border: 1px solid var(--c-border); border-radius: var(--radius-sm); color: var(--c-text); background: var(--c-white); }
.cd-addr__btn:hover { border-color: var(--c-blue, #1f5fd0); color: var(--c-blue, #1f5fd0); }
@media (max-width: 860px) {
  .cd-ov-grid { grid-template-columns: minmax(0, 1fr); }
  .cd-ov-side { position: static; }
  .cd-spec-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- 专业页：考研与深造方向（深造路径四卡） ---------- */
.study-paths { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px; margin-bottom: 16px; }
.sp-card { background: var(--c-bg); border: 1px solid var(--c-border); border-radius: var(--radius-sm); padding: 12px 14px; }
.sp-card h5 { font-size: 13.5px; color: var(--c-primary); margin: 0 0 6px; font-weight: 700; }
.sp-card p { font-size: 12.5px; color: var(--c-text-2); line-height: 1.7; margin: 0; }
.sub-title { font-size: 14px; font-weight: 700; color: var(--c-text); margin: 18px 0 10px; border-left: 3px solid var(--c-primary); padding-left: 8px; }

/* ---------- 办学性质徽标（志愿方案排序页/查看弹窗）：公办绿 · 民办蓝 · 中外合作/港澳合作橙 ---------- */
.nat-badge { display: inline-block; border-radius: 3px; padding: 0 6px; font-size: 11.5px; margin-left: 6px; line-height: 1.7; border: 1px solid; font-weight: 600; white-space: nowrap; }
.nat-gov { border-color: rgba(26,127,55,.45); color: #1a7f37; background: rgba(26,127,55,.08); }
.nat-min { border-color: rgba(217,48,38,.5); color: #d93026; background: rgba(217,48,38,.10); }
.nat-cn { border-color: rgba(201,111,42,.5); color: #b45309; background: rgba(201,111,42,.10); }
.nat-oth { border-color: rgba(107,118,136,.45); color: #6b7688; background: rgba(107,118,136,.08); }

/* ---------- 院校页「校园环境实拍」图廊（校园风光/宿舍环境/餐厅环境，点击看大图） ---------- */
.life-photos { margin-bottom: 14px; }
.life-gallery-group { margin-bottom: 14px; }
.lg-title { font-size: 13px; font-weight: 700; color: #123a6e; margin-bottom: 8px; display: flex; align-items: baseline; gap: 6px; }
.lg-count { font-weight: 400; color: #8a94a6; font-size: 12px; }
.life-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.lg-item { margin: 0; cursor: zoom-in; border-radius: 8px; overflow: hidden; background: #fff; border: 1px solid #e3e8f0; }
.lg-item img { display: block; width: 100%; height: 138px; object-fit: cover; transition: transform .25s ease; }
.lg-item:hover img { transform: scale(1.04); }
.lg-item figcaption { font-size: 12px; color: #46536b; padding: 6px 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lg-mask { position: fixed; inset: 0; background: rgba(10,20,35,.86); display: flex; align-items: center; justify-content: center; z-index: 9999; padding: 24px; cursor: zoom-out; }
.lg-mask-in { max-width: 92vw; max-height: 92vh; text-align: center; }
.lg-mask-in img { max-width: 100%; max-height: 82vh; border-radius: 6px; box-shadow: 0 10px 40px rgba(0,0,0,.5); }
.lg-mask-in p { color: #dbe2ee; font-size: 13px; margin: 10px 0 0; }
.lg-mask-idx { position: absolute; top: 3vh; left: 50%; transform: translateX(-50%); color: #dbe2ee; font-size: 13px; letter-spacing: .5px; background: rgba(255,255,255,.1); padding: 3px 12px; border-radius: 999px; }
.lg-mask-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border: 0; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; transition: background .15s; display: flex; align-items: center; justify-content: center; z-index: 2; }
.lg-mask-nav:hover { background: rgba(255,255,255,.3); }
.lg-mask-prev { left: 2.5vw; }
.lg-mask-next { right: 2.5vw; }
@media (max-width: 640px) {
  .lg-mask-nav { width: 38px; height: 38px; font-size: 20px; }
  .lg-mask-prev { left: 6px; }
  .lg-mask-next { right: 6px; }
}

/* ---------------- 院校/专业详情：紧凑排版（折叠区 + 说明文字收敛） ---------------- */
.more-info summary {
  cursor: pointer;
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12.5px;
  color: #5b6478;
  padding: 4px 2px;
  border-radius: 4px;
}
.more-info summary::-webkit-details-marker { display: none; }
.more-info summary::before { content: "＋"; font-size: 11px; color: #8b95a8; }
.more-info[open] summary::before { content: "－"; }
.more-info summary:hover { color: var(--c-primary, #1f5fd0); }
.table-note { font-size: 12px; line-height: 1.55; color: #6b7688; margin: 8px 0 0; }

/* ---------------- 院校校徽（列表 28px / 详情 56px，缺失回退首字） ---------------- */
.col-logo-sm, .col-logo-lg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  object-fit: contain;
  background: #fff;
  border: 1px solid #e6ebf3;
  border-radius: 8px;
  padding: 2px;
}
.col-logo-sm { width: 30px; height: 30px; }
.col-logo-lg { width: 58px; height: 58px; border-radius: 10px; padding: 3px; }
.col-logo-ph { font-size: 13px; font-weight: 600; color: #7d879a; background: #f3f6fb; }
.col-logo-lg.col-logo-ph { font-size: 22px; }
.cc-head-left .col-logo-sm { margin-right: 2px; align-self: center; }
.cdh-top .col-logo-lg { margin-top: 2px; }
@media (max-width: 640px) {
  .col-logo-lg { width: 46px; height: 46px; }
}

/* ---------------- 批次官方规则提示条（《2026 志愿填报百问百答》，纯展示） ---------------- */
.sd-rule-hint {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px;
  background: #f0f9ff; border: 1px solid #bae6fd; border-radius: 8px;
  padding: 8px 12px; margin-bottom: 10px; font-size: 12px; line-height: 1.6; color: #0c4a6e;
}
.sd-rule-hint b { color: #0369a1; font-weight: 600; flex: 0 0 auto; }
.sd-rule-body { flex: 1 1 300px; min-width: 220px; }
.sd-rule-cap { color: #0369a1; font-variant-numeric: tabular-nums; flex: 0 0 auto; }
.sd-rule-hint.is-over { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.sd-rule-hint.is-over b, .sd-rule-hint.is-over .sd-rule-cap { color: #b91c1c; }
.sd-rule-hint.is-over .sd-rule-cap { font-weight: 600; }

/* 艺术类专业成绩方向提示（《2026 志愿填报百问百答》第 84-86 题，纯展示） */
.art-sub { color: #b45309; }

/* 提前批 A 类“院校志愿”归组标记（《2026 百问百答》第 63 题，纯展示） */
.cg-grp {
  display: inline-block; font-size: 12px; margin: 3px 0 1px;
  color: #1d4ed8; background: #eff6ff; border: 1px solid #dbeafe;
  border-radius: 4px; padding: 0 5px; line-height: 1.6;
}
.cg-grp.is-over { color: #b91c1c; background: #fef2f2; border-color: #fecaca; }

/* 院校页 · 校区与位置（按校区切换 + 静态地图图，图本地托管） */
.campus-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.campus-card { border: 1px solid #e5e7eb; border-radius: 10px; background: #fff; padding: 12px 14px; }
.campus-card__head { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; padding: 0; margin-bottom: 10px; }
.campus-card__name { font-size: 14px; font-weight: 650; color: #0f172a; }
.campus-card__loc { font-size: 12px; color: #64748b; }
.campus-card__maplink { margin-left: auto; font-size: 12px; color: #1d4ed8; white-space: nowrap; }
.campus-card__body { display: grid; grid-template-columns: 170px 1fr; gap: 14px; align-items: start; }
.campus-card__aside { min-width: 0; }
.campus-card__figure { display: block; position: relative; background: #f1f5f9; line-height: 0; border-radius: 8px; overflow: hidden; }
.campus-card__figure:hover .campus-card__hint { background: rgba(15, 23, 42, .82); }
.campus-card__figure--plain { padding: 22px 12px; text-align: center; font-size: 13px; line-height: 1.6; color: #1d4ed8; }
.campus-card__img { width: 100%; aspect-ratio: 1 / 1; height: auto; object-fit: cover; display: block; }
.campus-card__hint { position: absolute; right: 8px; bottom: 8px; background: rgba(15, 23, 42, .68); color: #fff; font-size: 11px; line-height: 1.6; padding: 1px 7px; border-radius: 4px; }
.campus-card__addr { margin: 0 0 6px; font-size: 12.5px; color: #475569; line-height: 1.6; }
.campus-sec h4 { margin: 9px 0 3px; font-size: 12.5px; font-weight: 650; color: #1f2937; }
.campus-sec p { margin: 0; font-size: 13px; line-height: 1.75; color: #4b5563; }
@media (max-width: 640px) { .campus-card__body { grid-template-columns: 1fr; } .campus-card__aside { max-width: 220px; } }
.campus-card__more { margin: 6px 11px 0; font-size: 12px; color: #475569; }
.campus-card__more:last-child { margin-bottom: 10px; }
.campus-card__more summary { cursor: pointer; color: #1d4ed8; list-style: none; }
.campus-card__more summary::-webkit-details-marker { display: none; }
.campus-card__more summary::before { content: '＋ '; }
.campus-card__more[open] summary::before { content: '－ '; }
.campus-card__more p { margin: 5px 0 0; color: #64748b; line-height: 1.7; }

/* ===== 专业详情页（字段卡 + 三栏 Tab） ===== */
.md-tagline { font-size: 13px; color: #6b7280; margin-top: 6px; }
.md-tagline b { color: #1f2937; font-weight: 600; }
.md-sep { margin: 0 8px; color: #d1d5db; }
.md-cards { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.md-card { flex: 1 1 150px; min-width: 132px; background: #f8fafc; border: 1px solid #eef2f7; border-radius: 10px; padding: 10px 14px; }
.md-card__label { display: block; font-size: 12px; color: #94a3b8; margin-bottom: 4px; }
.md-card__value { display: block; font-size: 16px; font-weight: 600; color: #1e293b; }
.mj-salary { display: flex; align-items: baseline; gap: 6px; margin-bottom: 12px; }
.mj-salary__num { font-size: 26px; font-weight: 700; color: #1d4ed8; }
.mj-salary__unit { font-size: 12px; color: #6b7280; }
.mj-ind-line { font-size: 13px; color: #374151; margin: 0 0 6px; }
.mj-bars { display: flex; flex-direction: column; gap: 8px; }
.mj-bar { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.mj-bar__label { flex: 0 0 108px; color: #374151; text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mj-bar__track { flex: 1 1 auto; height: 8px; background: #f1f5f9; border-radius: 4px; overflow: hidden; }
.mj-bar__track i { display: block; height: 100%; background: linear-gradient(90deg,#60a5fa,#3b82f6); border-radius: 4px; }
.mj-bar__val { flex: 0 0 56px; text-align: right; color: #1d4ed8; font-variant-numeric: tabular-nums; }
.mj-ability { margin: 0; padding-left: 18px; }
.mj-ability li { margin: 4px 0; }

/* 院校页 · 硕博点：学院分组块与专业行（推免拟招 / 博士招生共用一套版式） */
.dept-block { border: 1px solid var(--c-border); border-radius: 10px; background: var(--c-white); margin-bottom: 10px; overflow: hidden; }
.dept-block:last-child { margin-bottom: 0; }
.dept-block > summary { list-style: none; cursor: pointer; }
.dept-block > summary::-webkit-details-marker { display: none; }
.dept-head { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--c-bg-2); border-left: 3px solid var(--c-primary); }
.dept-block[open] .dept-head { border-bottom: 1px solid var(--c-border-2); }
.dept-name { font-size: 14px; font-weight: 650; color: var(--c-text); }
.dept-caret { margin-left: auto; flex: 0 0 auto; width: 0; height: 0; border-left: 5px solid var(--c-text-3); border-top: 4px solid transparent; border-bottom: 4px solid transparent; transition: transform .15s ease; }
.dept-block[open] .dept-caret { transform: rotate(90deg); }
.dept-count { margin-left: 8px; flex: 0 0 auto; font-size: 12px; color: var(--c-text-3); font-variant-numeric: tabular-nums; }
.dept-list { padding: 0 14px; }
.dept-row { padding: 9px 0; border-bottom: 1px dashed var(--c-border-2); }
.dept-row:last-child { border-bottom: 0; }
.dept-row__main { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: 13.5px; line-height: 1.7; color: var(--c-text); }
.dept-row__meta { margin-top: 3px; font-size: 12px; line-height: 1.7; color: var(--c-text-3); }
.dept-row__k { color: var(--c-text-3); margin-right: 6px; }
.dept-row__v { display: inline; }
.dept-more { display: block; margin-top: 2px; }
.dept-more > summary { display: inline-block; cursor: pointer; color: var(--c-primary); font-size: 11.5px; line-height: 1.6; }
.dept-more > summary::-webkit-details-marker { display: none; }
.dept-more > summary::after { content: ' ›'; }
.dept-more[open] > summary { color: var(--c-text-3); }
.dept-more[open] > summary::after { content: ' ‹'; }
.dept-more[open] > span { margin-top: 3px; }
.dept-more--blocks { margin-bottom: 0; }
.dept-more--blocks > summary { display: block; padding: 11px 14px; text-align: center; background: var(--c-bg-2); border: 1px dashed var(--c-border); border-radius: 8px; color: var(--c-primary); font-size: 13px; }
.dept-more--blocks > summary::after { content: ''; }
.dept-rest { margin-top: 10px; }
@media (max-width: 720px) {
  .dept-head { padding: 9px 12px; }
  .dept-list { padding: 0 12px; }
  .dept-count { font-size: 11.5px; }
}
