/* ============================================================
   学智堂 · 全国志愿填报系统 style.css
   品牌色：橙白渐变 #EA4E0C → #F67C01（学智堂统一）
   ============================================================ */
:root {
  --b: #EA4E0C;
  --b2: #F67C01;
  --bd: #C05A10;
  --ink: #2A2E33;
  --ink2: #565D66;
  --mut: #98A0A8;
  --line: #F0E3D2;
  --bg: #FFF9F2;
  --card: #FFFFFF;
  --ok: #1E9E62;
  --warn: #E8912D;
  --bad: #D64541;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  background: var(--bg); color: var(--ink); font-size: 15px; line-height: 1.6;
}
.wrap { max-width: 720px; margin: 0 auto; padding: 0 16px 90px; }
a { color: inherit; }
button { font-family: inherit; cursor: pointer; }
input, select { font-family: inherit; }

/* ---------- 顶栏 ---------- */
.hd {
  position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 10px;
  padding: 10px 16px; background: linear-gradient(115deg, #FFF8EF, #FFEFD9);
  border-bottom: 2.5px solid var(--b2);
}
.hd .logo {
  width: 36px; height: 36px; border-radius: 11px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--b), var(--b2)); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 900; font-family: Arial, sans-serif;
  box-shadow: 0 3px 9px rgba(234, 78, 12, .26);
}
.hd .tt { font-size: 17px; font-weight: 900; letter-spacing: .5px; }
.hd .st { font-size: 10.5px; color: #9C7B4E; font-weight: 700; letter-spacing: 1px; }
.hd .sp { flex: 1; }
.hd .tel {
  display: flex; flex-direction: column; align-items: center; text-decoration: none;
  background: linear-gradient(135deg, var(--b), var(--b2)); color: #fff;
  border-radius: 10px; padding: 4px 12px 5px; box-shadow: 0 2px 8px rgba(234, 78, 12, .24);
}
.hd .tel .k { font-size: 9px; letter-spacing: 1px; font-weight: 700; opacity: .9; }
.hd .tel .v { font-size: 14.5px; font-weight: 900; letter-spacing: .4px; white-space: nowrap; }

/* ---------- Hero ---------- */
.hero {
  margin-top: 14px; border-radius: 16px; overflow: hidden; color: #fff;
  background: linear-gradient(118deg, #E44A08 0%, #F67C01 62%, #FF9A2E 100%);
  padding: 26px 22px 22px; position: relative; box-shadow: 0 8px 22px rgba(234, 78, 12, .25);
}
.hero::after {
  content: ''; position: absolute; right: -34px; top: -34px; width: 140px; height: 140px;
  border-radius: 50%; background: rgba(255, 255, 255, .12);
}
.hero .h1 { font-size: 25px; font-weight: 900; letter-spacing: 1px; line-height: 1.35; }
.hero .h2 { font-size: 13px; margin-top: 7px; opacity: .95; font-weight: 700; letter-spacing: .5px; }
.hero .tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 13px; position: relative; z-index: 1; }
.hero .tags span {
  font-size: 11.5px; font-weight: 800; background: rgba(255, 255, 255, .17);
  border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px; padding: 3px 11px;
}
.hero .cta {
  margin-top: 17px; display: inline-block; background: #fff; color: var(--bd);
  font-size: 16px; font-weight: 900; border: 0; border-radius: 999px;
  padding: 11px 30px; letter-spacing: 1px; box-shadow: 0 4px 14px rgba(120, 40, 0, .25);
}

/* ---------- 卡片 / 步骤 ---------- */
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 18px 16px; margin-top: 14px; box-shadow: 0 2px 10px rgba(190, 120, 40, .07);
}
.step-tag {
  display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 900;
  color: var(--bd); letter-spacing: 1px; margin-bottom: 4px;
}
.step-tag .n {
  width: 20px; height: 20px; border-radius: 50%; background: linear-gradient(135deg, var(--b), var(--b2));
  color: #fff; display: inline-flex; align-items: center; justify-content: center;
  font-size: 11.5px; font-family: Arial, sans-serif;
}
.card .h { font-size: 17.5px; font-weight: 900; letter-spacing: .4px; }
.card .tip { font-size: 12px; color: var(--ink2); margin-top: 4px; }

/* 表单 */
.field { margin-top: 13px; }
.field label { font-size: 12.5px; font-weight: 800; color: var(--ink2); display: block; margin-bottom: 5px; }
.field label .req { color: var(--bad); margin-left: 2px; }
.field input, .field select {
  width: 100%; border: 1.5px solid var(--line); border-radius: 10px; padding: 11px 13px;
  font-size: 15.5px; font-weight: 700; color: var(--ink); background: #FFFDF9; outline: none;
}
.field input:focus, .field select:focus { border-color: var(--b2); background: #fff; }
.field input.err { border-color: var(--bad); background: #FFF6F5; }
.field .err-msg { font-size: 11.5px; color: var(--bad); margin-top: 4px; display: none; font-weight: 700; }
.field .err-msg.on { display: block; }
.row2 { display: flex; gap: 12px; }
.row2 .field { flex: 1; }

/* 选择卡片组 */
.picks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.picks.c3 { grid-template-columns: repeat(3, 1fr); }
.pick {
  border: 1.5px solid var(--line); border-radius: 12px; background: #FFFDF9;
  padding: 12px 10px 11px; text-align: left; color: var(--ink); transition: all .15s;
}
.pick .p1 { font-size: 15px; font-weight: 900; }
.pick .p2 { font-size: 11px; color: var(--ink2); margin-top: 2px; font-weight: 700; }
.pick.on { border-color: var(--b2); background: #FFF3E4; box-shadow: 0 0 0 2.5px rgba(246, 124, 1, .18); }
.pick.on .p1 { color: var(--bd); }
.pick:disabled { opacity: .45; cursor: not-allowed; }
.picks.c1 { grid-template-columns: 1fr; }
.picks.c5 .pick .p1 { font-size: 14px; }

/* 省份网格 */
.provs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 12px; }
.prov {
  border: 1.5px solid var(--line); border-radius: 10px; background: #FFFDF9;
  padding: 9px 4px; text-align: center; font-size: 13.5px; font-weight: 800; color: var(--ink);
}
.prov.on { border-color: var(--b2); background: #FFF3E4; color: var(--bd); box-shadow: 0 0 0 2.5px rgba(246, 124, 1, .18); }
.prov:disabled { opacity: .5; }
.prov .rdy { display: block; font-size: 9.5px; color: var(--ok); font-weight: 800; margin-top: 1px; }
.prov .no { display: block; font-size: 9.5px; color: var(--mut); font-weight: 700; margin-top: 1px; }

/* 按钮 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border: 0; border-radius: 12px; padding: 13px 22px; font-size: 16px; font-weight: 900;
  letter-spacing: 1px; background: linear-gradient(135deg, var(--b), var(--b2)); color: #fff;
  box-shadow: 0 4px 13px rgba(234, 78, 12, .28); width: 100%; margin-top: 16px;
}
.btn:disabled { opacity: .45; box-shadow: none; }
.btn.ghost {
  background: #fff; color: var(--bd); border: 1.5px solid var(--b2); box-shadow: none;
}
.btn.sm { width: auto; padding: 8px 16px; font-size: 13px; margin-top: 0; border-radius: 10px; }
.btn .lk { font-size: 11px; font-weight: 700; letter-spacing: 0; opacity: .85; display: block; }

/* 身份卡 */
.idents { display: grid; gap: 10px; margin-top: 12px; }
.ident {
  display: flex; align-items: center; gap: 12px; border: 1.5px solid var(--line);
  border-radius: 13px; background: #FFFDF9; padding: 13px 14px; text-align: left; color: var(--ink);
}
.ident .ic {
  width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0; font-size: 19px; font-weight: 900;
  background: linear-gradient(135deg, #FFF0DE, #FFE2C2); color: var(--bd);
  display: flex; align-items: center; justify-content: center;
}
.ident .bd { flex: 1; min-width: 0; }
.ident .p1 { font-size: 15.5px; font-weight: 900; }
.ident .p1 em { font-style: normal; font-size: 10.5px; color: var(--bd); background: #FFEFD9; border-radius: 999px; padding: 1.5px 8px; margin-left: 7px; font-weight: 800; }
.ident .p2 { font-size: 12px; color: var(--ink2); margin-top: 2px; }
.ident.on { border-color: var(--b2); background: #FFF6EA; box-shadow: 0 0 0 2.5px rgba(246, 124, 1, .18); }
.ident.on .ic { background: linear-gradient(135deg, var(--b), var(--b2)); color: #fff; }

/* 结果页 tabs */
.tabs { display: flex; gap: 8px; margin-top: 14px; position: sticky; top: 60px; z-index: 20; }
.tab {
  flex: 1; border: 1.5px solid var(--line); background: #fff; border-radius: 11px;
  padding: 10px 4px; font-size: 13.5px; font-weight: 900; color: var(--ink2); text-align: center;
}
.tab.on { background: linear-gradient(135deg, var(--b), var(--b2)); color: #fff; border-color: transparent; box-shadow: 0 3px 10px rgba(234, 78, 12, .26); }
.tab .cnt { font-size: 10px; opacity: .85; display: block; }

/* 冲稳保 */
.kpi-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin-top: 14px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 11px 8px; text-align: center; }
.kpi .k { font-size: 10.5px; color: var(--ink2); font-weight: 800; letter-spacing: .5px; }
.kpi .v { font-size: 19px; font-weight: 900; color: var(--bd); margin-top: 2px; }
.kpi .s { font-size: 10px; color: var(--mut); margin-top: 1px; }

.bands { margin-top: 14px; }
.band-hd { display: flex; align-items: baseline; gap: 8px; margin: 15px 0 8px; }
.band-hd .nm { font-size: 15px; font-weight: 900; }
.band-hd .rg { font-size: 11px; color: var(--mut); font-weight: 700; }
.band-hd .nm.c-reach { color: var(--bad); }
.band-hd .nm.c-match { color: var(--warn); }
.band-hd .nm.c-safe { color: var(--ok); }

.sch {
  display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line);
  border-radius: 12px; padding: 11px 12px; margin-bottom: 8px;
}
.sch .sc-bd { flex: 1; min-width: 0; }
.sch .nm { font-size: 14.5px; font-weight: 900; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.sch .mj { font-size: 11.5px; color: var(--ink2); margin-top: 1px; }
.sch .sc { font-size: 16px; font-weight: 900; color: var(--bd); flex-shrink: 0; }
.sch .sc small { font-size: 9.5px; color: var(--mut); font-weight: 700; display: block; text-align: center; }
.sch .sc small.rk { color: #C0450A; }
.tag {
  font-size: 9.5px; font-weight: 800; border-radius: 5px; padding: 1px 5px; flex-shrink: 0;
  background: #F2EFEA; color: #7A6A55;
}
.tag.t985 { background: #FDEBE0; color: #C0450A; }
.tag.t211 { background: #EDEAFB; color: #55449B; }
.tag.tsyl { background: #E3F3EC; color: #157A4C; }
.tag.tcq { background: #FFF0D9; color: #B07708; }
.addbtn {
  flex-shrink: 0; border: 1.5px solid var(--b2); background: #FFF6EA; color: var(--bd);
  font-size: 12px; font-weight: 900; border-radius: 9px; padding: 7px 11px;
}
.addbtn.on { background: linear-gradient(135deg, var(--b), var(--b2)); color: #fff; border-color: transparent; }

/* 志愿表 */
.vt-empty { text-align: center; color: var(--mut); font-size: 13px; padding: 34px 0; }
.vt-item {
  display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line);
  border-radius: 12px; padding: 10px 12px; margin-bottom: 8px;
}
.vt-item .idx {
  width: 26px; height: 26px; border-radius: 8px; flex-shrink: 0; font-size: 12.5px; font-weight: 900;
  background: linear-gradient(135deg, var(--b), var(--b2)); color: #fff;
  display: flex; align-items: center; justify-content: center; font-family: Arial, sans-serif;
}
.vt-item .bd { flex: 1; min-width: 0; }
.vt-item .nm { font-size: 13.5px; font-weight: 900; }
.vt-item .mt { font-size: 11px; color: var(--mut); }
.vt-item .del { border: 0; background: none; color: var(--bad); font-size: 12px; font-weight: 800; padding: 6px; }

/* 通用 note / callout */
.note {
  margin-top: 12px; font-size: 11.5px; color: #8A6534; background: #FFFCF5;
  border: 1px dashed #E8CE9E; border-radius: 10px; padding: 10px 12px; line-height: 1.7;
}
.note b { color: var(--bd); }
.callout {
  margin-top: 12px; font-size: 13px; font-weight: 700; color: var(--bd);
  background: #FFF3E4; border-radius: 10px; padding: 11px 13px; line-height: 1.7;
}
.callout.red { background: #FDF1F0; color: #B03A2E; }
.callout.ok { background: #EDF8F2; color: #157A4C; }

/* 底栏 */
.bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 40;
  display: flex; background: #fff; border-top: 1.5px solid var(--line);
  padding: 7px 10px calc(7px + env(safe-area-inset-bottom)); gap: 4px;
}
.bar a, .bar button {
  flex: 1; border: 0; background: none; text-decoration: none; color: var(--ink2);
  font-size: 10.5px; font-weight: 800; text-align: center; padding: 3px 2px; border-radius: 9px;
}
.bar .ic { display: block; font-size: 18px; line-height: 1.2; }
.bar a.on, .bar button.on { color: var(--bd); background: #FFF3E4; }
.bar .tel-a { color: #fff !important; background: linear-gradient(135deg, var(--b), var(--b2)); border-radius: 10px; margin: 0 3px; }

/* toast */
#toast {
  position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%) translateY(20px);
  background: rgba(35, 30, 25, .92); color: #fff; font-size: 13px; font-weight: 700;
  border-radius: 10px; padding: 10px 18px; opacity: 0; pointer-events: none;
  transition: all .25s; z-index: 99; max-width: 86vw; text-align: center;
}
#toast.on { opacity: 1; transform: translateX(-50%) translateY(0); }

/* 隐藏 */
.hide { display: none !important; }

@media (max-width: 430px) {
  .hero .h1 { font-size: 21px; }
  .provs { grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .prov { font-size: 12.5px; }
  .kpi .v { font-size: 16px; }
}
@media print {
  .hd, .bar, .tabs, .no-print { display: none !important; }
  body { background: #fff; }
  .wrap { max-width: none; padding: 0; }
  /* __PRINTFIX_V20261009F__ 断层修复：大容器（.card/.sch）不再整体 avoid——
     旧版整卡推到下一页，前页留大片空白（用户反馈「断层」）。
     avoid 只留给最小单元（.vt-item 单条志愿），跨页断在卡片内部而非跳空。 */
  .card, .sch { break-inside: auto; }
  .vt-item { break-inside: avoid; }
  @page { size: A4 portrait; margin: 9mm 8mm 11mm; }
}


/* ---------- v20261002c 三年对比 + 招生章程弹层 ---------- */
.yrs { display: flex; gap: 10px; margin-top: 3px; font-size: 11.5px; color: var(--mut); flex-wrap: wrap; }
.yrs .yr-up { color: #d83931; font-weight: 800; }
.yrs .yr-dn { color: #1a7f37; font-weight: 800; }
.yrs .yr-fl { color: var(--mut); }
.yrs .yr-note { color: var(--mut); opacity: .85; } /* __YRSHONEST_V20261007K__ 25/24 口径标注 */
.sch .nm[data-act="sch-dm"] { cursor: pointer; border-bottom: 1px dashed #F08A24; }
.sch .nm[data-act="sch-dm"]:active { opacity: .7; }
.dm-mask { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 90;
  display: flex; align-items: flex-end; justify-content: center; }
/* __DMSCROLL_V20261007L__ 详情弹层卡死修复：卡片限高滚动，超屏内容不再把 ✕ 顶出视口 */
.dm-card { background: #fff; border-radius: 16px 16px 0 0; width: 100%; max-width: 560px;
  max-height: 84vh; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
  padding: 0 18px 22px; box-shadow: 0 -8px 30px rgba(0,0,0,.25); animation: dmUp .18s ease; }
@keyframes dmUp { from { transform: translateY(30px); opacity: .5; } to { transform: none; opacity: 1; } }
/* __DMSCROLL_V20261007L__ 头部 sticky：卡片内滚动时 ✕ 恒可见可点 */
.dm-hd { position: sticky; top: 0; background: #fff; z-index: 2; font-size: 18px; font-weight: 900; color: #2b2b2b; display: flex;
  align-items: center; justify-content: space-between; padding: 18px 0 10px; }
.dm-x { border: 0; background: #f2f2f2; color: #666; width: 30px; height: 30px;
  border-radius: 50%; font-size: 17px; cursor: pointer; }
.dm-yrs { display: flex; gap: 8px; margin: 13px 0 8px; }
.dm-yrs > div { flex: 1; background: #FFF4E8; border: 1px solid #FFDDBB; border-radius: 10px;
  text-align: center; padding: 8px 0 9px; }
.dm-yrs i { display: block; font-style: normal; font-size: 11px; color: #a06a2c; }
.dm-yrs b { font-size: 19px; color: #EA4E0C; }
.dm-link { display: block; margin: 12px 0 0; background: linear-gradient(135deg, #EA4E0C, #F67C01);
  color: #fff; border-radius: 12px; padding: 11px 14px; text-decoration: none; }
.dm-link b { display: block; font-size: 15px; }
.dm-link span { display: block; font-size: 11.5px; opacity: .92; margin-top: 2px; }
.dm-note { font-size: 11.5px; color: #8a8a8a; margin-top: 8px; line-height: 1.6; }
/* __VTIMG_V20261007L__ 志愿表长图弹层 */
.vt-img-card img.vt-img { width: 100%; display: block; margin-top: 10px; border-radius: 8px; border: 1px solid #eee; }
.vt-img-card .vt-img-tip { font-size: 12.5px; color: #7A4A12; background: #FFF4E8; border: 1px solid #F5C79A;
  border-radius: 8px; padding: 8px 10px; margin-top: 10px; text-align: center; }
.vt-img-card a.btn { display: block; text-align: center; margin-top: 10px; text-decoration: none; }
@media print { .dm-mask, .no-print { display: none !important; } }

/* ---------- v20261003a 常驻分数条 + 详情弹层增强 ---------- */
.mebar { position: sticky; top: 0; z-index: 40; background: #FFF6EC; border: 1px solid #F5C79A;
  border-radius: 12px; padding: 8px 12px; font-size: 12.5px; font-weight: 800; color: #7A4A12;
  margin: 2px 0 10px; box-shadow: 0 3px 10px rgba(240,138,36,.15); }
.mebar b { color: #C0450A; margin-right: 6px; }
.dm-tags { display: flex; gap: 6px; flex-wrap: wrap; margin: 4px 0 8px; }
.dm-sub { font-size: 13px; font-weight: 900; color: #2b2b2b; margin: 10px 0 6px; }
table.dm-mj { width: 100%; border-collapse: collapse; font-size: 12px; }
table.dm-mj th { text-align: left; color: var(--mut); font-weight: 800; padding: 4px 6px;
  border-bottom: 1px solid var(--line); white-space: nowrap; }
table.dm-mj td { padding: 5px 6px; border-bottom: 1px dashed #EFE9E0; vertical-align: top; }
.tag.tsubj { background: #EDEAFB; color: #55449B; }
.tag.tsubj.bad { background: #FDEBE0; color: #C0450A; }

/* ---- v3: 筛选条 / 概率 / 诊断 / 弹层增强 ---- */
.fbar { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin: 10px 0 4px; }
.fbar .fc { font-size: 12px; font-weight: 700; padding: 5px 13px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink2); cursor: pointer; user-select: none; }
.fbar .fc.on { background: var(--b); border-color: var(--b); color: #fff; }
.fbar .fsep { flex-basis: 100%; height: 0; margin: 0; }  /* 换行分组 */
.fbar .fnote { font-size: 10.5px; color: var(--mut); margin-left: auto; }
.tag.prb { font-weight: 700; }
.tag.prb.p-hi { background: #EAF3DE; color: #2F7A10; }
.tag.prb.p-md { background: #FAEEDA; color: #B26A0B; }
.tag.prb.p-lo { background: #FCEBEB; color: #C23B38; }
.vtdiag { margin: 8px 0 2px; border-radius: 10px; padding: 10px 12px; background: #FFF4E6; font-size: 12.5px; line-height: 1.7; }
.vtdiag .di-bad { color: var(--bad); font-weight: 700; }
.vtdiag .di-warn { color: #B26A0B; }
.vtdiag .di-tip { color: var(--ink2); }
.vtdiag .di-ok { color: var(--ok); font-weight: 700; }
.dm-loc { font-size: 12.5px; color: var(--ink2); margin: 4px 0 2px; font-weight: 700; }
.dm-eval { font-size: 12.5px; color: var(--bd); font-weight: 700; background: #FFF4E6; border-radius: 8px; padding: 8px 10px; margin-top: 4px; }
.mj-info { font-size: 11px; color: var(--mut); line-height: 1.55; margin-top: 2px; }
.mj-info i { display: block; font-style: normal; color: #B07830; }

/* ---------- v20261004a 专科段 ---------- */
.zk-hd {
  margin: 16px 0 10px; padding: 7px 12px;
  background: #FFF3E4; border-left: 4px solid var(--bd, #F08A24);
  border-radius: 8px; font-size: 13px; font-weight: 900; color: #8a4b00;
}
.btg { display: inline-flex; margin: 2px 0 10px; border: 2px solid var(--bd, #F08A24); border-radius: 9px; overflow: hidden; }
.btg .bbtn {
  border: 0; background: #fff; color: var(--bd, #F08A24);
  font-weight: 900; font-size: 13px; padding: 6px 14px; cursor: pointer;
}
.btg .bbtn.on { background: var(--bd, #F08A24); color: #fff; }

/* ---- v20261005a: 返回键 / 冲稳保筛选 / 品牌脚注 ---- */
.backbar{margin-bottom:8px}
.backbtn{background:#fff;border:1px solid #eee;border-radius:20px;padding:6px 14px;font-size:13px;font-weight:700;color:#666;cursor:pointer}
.backbtn:active{background:#f5f5f5}
.bfbar .fc{cursor:pointer}
.brand-ft{max-width:640px;margin:6px auto 78px;padding:0 16px;text-align:center;font-size:11.5px;color:#b08a5a;line-height:1.6}
.brand-ft a{color:inherit;font-weight:700;text-decoration:none}
.hero .h3{font-size:13px;color:rgba(255,255,255,.92);margin-top:6px;font-weight:700;letter-spacing:1px}

/* v20261006a: 校名外链/详情按钮/位置行 */
.sch .nm .nm-a, .vt-item .nm .nm-a { color: inherit; text-decoration: none; border-bottom: 1px dashed rgba(0,0,0,.28); cursor: pointer; }
.sch .nm .nm-a:hover, .vt-item .nm .nm-a:hover { color: var(--acc, #e8590c); }
.dm-btn { margin-left: 6px; font-size: 11px; line-height: 1; padding: 3px 9px; border-radius: 10px; border: 1px solid var(--line, #ddd); background: #fff; color: var(--mut, #888); vertical-align: middle; cursor: pointer; }
.dm-btn:active { background: var(--acc, #e8590c); color: #fff; }
.sch .loc { color: var(--mut, #888); font-size: 12px; margin-top: 3px; }
.vt-item .mt.loc { color: var(--mut, #888); }
@media print {
  .dm-btn { display: none; }
  .sch .nm .nm-a, .vt-item .nm .nm-a { border-bottom: none; }
}

/* ---------- v20261006b 提前批板块 ---------- */
.tqq-block { margin: 14px 0 4px; padding: 12px 12px 10px; border: 1px solid #F5C79A;
  border-radius: 12px; background: #FFFBF5; }
.tqq-block .tqq-hd { margin-bottom: 8px; }
.tqq-block .tqq-tt { font-size: 15px; font-weight: 900; color: #8a4b00; }
.tqq-block .tqq-st { font-size: 11.5px; color: var(--mut); font-weight: 700; margin-top: 2px; }
.tqq-bar { margin: 6px 0 10px; font-size: 12px; line-height: 1.65; }
.tqq-sec { border: 1px solid var(--line); border-radius: 10px; padding: 4px 10px 8px;
  margin-top: 8px; background: #fff; }
.tqq-sec > summary { cursor: pointer; font-size: 13px; font-weight: 900; color: #2b2b2b;
  padding: 6px 0; list-style: none; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.tqq-sec > summary::-webkit-details-marker { display: none; }
.tqq-sec[open] > summary { border-bottom: 1px dashed #EFE9E0; margin-bottom: 4px; }
.tqq-cnt { font-size: 11px; color: var(--mut); font-weight: 700; }
.tqq-sum { border: 1px solid var(--line); border-radius: 10px; padding: 2px 10px; margin-top: 8px; background: #fff; }
.tqq-sum > summary { cursor: pointer; font-size: 13px; font-weight: 900; color: #2b2b2b; padding: 7px 0; list-style: none; }
.tqq-sum > summary::-webkit-details-marker { display: none; }
.tqq-sub { font-size: 11.5px; color: var(--mut); margin: 2px 0 6px; }
.tqq-tbl-rows { margin-top: 4px; }
.tqq-row { border-bottom: 1px dashed #EFE9E0; }
.tqq-block .tqq-src { margin-top: 8px; font-size: 11px; }
.tqq-block .tqq-row .sc small { color: var(--mut); }
@media print {
  /* 大数据表打印时隐藏行，仅保留说明卡与来源声明 */
  .tqq-tbl-rows { display: none !important; }
  .tqq-sec, .tqq-sum { border: none; padding: 0; }
  .tqq-sec > summary, .tqq-sum > summary { list-style: none; }
  .tqq-block { border: none; background: #fff; padding: 0; }
  .tqq-block-lg .tqq-bar, .tqq-block-lg .tqq-src { display: block; }
}

/* ---------- __PSLIDER_CSS_V20261007A__ 概率双滑块 ---------- */
.pslider { margin: 8px 0 2px; padding: 10px 12px 6px; border: 1px solid var(--line);
  border-radius: 12px; background: #FFFDFA; }
.ps-hd { display: flex; align-items: baseline; gap: 8px; margin-bottom: 12px; }
.ps-hd .ps-lb { font-size: 12px; font-weight: 800; color: var(--ink2); }
.ps-hd .ps-val { margin-left: auto; font-size: 13px; font-weight: 900; color: #EA4E0C; letter-spacing: .3px; }
.ps-hd .ps-clr { font-size: 11px; color: var(--mut); text-decoration: underline; cursor: pointer; }
.ps-track { position: relative; height: 30px; }
.ps-rail { position: absolute; left: 0; right: 0; top: 13px; height: 4px; border-radius: 999px; background: #EFE9E0; }
.ps-fill { position: absolute; top: 13px; height: 4px; border-radius: 999px;
  background: linear-gradient(90deg, #FFB347, #EA4E0C); }
/* 两个 range 叠放，仅把手可点，轨道穿透 */
.ps-in { position: absolute; left: 0; top: 0; width: 100%; height: 30px; margin: 0;
  background: none; pointer-events: none; -webkit-appearance: none; appearance: none; }
.ps-in::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto;
  width: 22px; height: 22px; border-radius: 50%; border: 3px solid #EA4E0C;
  background: #fff; box-shadow: 0 1px 5px rgba(234,78,12,.35); cursor: grab; margin-top: -0; }
.ps-in::-webkit-slider-thumb:active { cursor: grabbing; transform: scale(1.08); }
.ps-in::-moz-range-thumb { pointer-events: auto; width: 18px; height: 18px; border-radius: 50%;
  border: 3px solid #EA4E0C; background: #fff; box-shadow: 0 1px 5px rgba(234,78,12,.35); cursor: grab; }
.ps-in::-webkit-slider-runnable-track { background: none; height: 30px; }
.ps-in::-moz-range-track { background: none; height: 30px; }
.ps-ax { display: flex; justify-content: space-between; margin-top: 2px;
  font-size: 10.5px; color: var(--mut); }
.fnote-ps { margin-top: 4px; }
@media print { .pslider, .fnote-ps { display: none !important; } }

/* ---------- __EXPAND_CSS_V20261007B__ 同档展开 + 列表折叠 ---------- */
.band-hd .cnt { margin-left: auto; font-weight: 700; }
.foldbar { display: flex; justify-content: center; margin: 2px 0 12px; }
.fbtn {
  display: inline-block; border: 1.5px dashed var(--b2); background: #FFF9F2; color: var(--bd);
  font-size: 12.5px; font-weight: 900; border-radius: 999px; padding: 8px 18px; cursor: pointer;
  -webkit-tap-highlight-color: transparent; user-select: none;
}
.fbtn:active { background: #FFF1E0; transform: scale(.98); }
@media print { .foldbar { display: none !important; } }

/* ---------- __V20261007D_STYLE__ 批次分区 / 顺序志愿 / 校考名单 / 收藏 / 打印 ---------- */
.vt-sec { margin: 10px 0 4px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.vt-sec-hd { display: flex; align-items: baseline; gap: 8px; padding: 8px 12px; background: #FFF6EC; border-bottom: 1px solid var(--line); }
.vt-sec-hd .nm { font-size: 13px; font-weight: 900; color: #8a4b00; }
.vt-sec-hd .mode { font-size: 10.5px; color: var(--mut); }
.vt-sec-hd .cnt { margin-left: auto; font-size: 11.5px; font-weight: 800; color: var(--mut); }
.vt-sec .vt-item { border-bottom: 1px dashed #EFE9E0; }
.vt-sec .vt-item:last-child { border-bottom: 0; }
.vt-note-mini { padding: 4px 12px 9px; font-size: 11px; color: var(--mut); line-height: 1.6; }
.tag-torder { background: #FFF1E0; color: #B26A0B; border: 1px solid #F0C99A; }
.tq-order { border: 1px solid #EFCFA6; border-radius: 10px; padding: 6px 10px 8px; margin: 6px 0; background: #FFFDF7; }
.tq-order-tip { font-size: 12px; font-weight: 800; color: #B26A0B; margin: 4px 0 6px; line-height: 1.6; }
.tq-order .sch { border-bottom: 1px dashed #EFE9E0; }
.tq-order .sch:last-child { border-bottom: 0; }
.arttq-rule { border: 1px solid #F5C79A; border-radius: 10px; padding: 10px 12px; background: #FFFDF7; font-size: 12.5px; line-height: 1.75; margin: 6px 0 10px; }
.arttq-search { display: flex; gap: 8px; margin: 8px 0; flex-wrap: wrap; }
.arttq-search input, .arttq-search select { flex: 1; min-width: 118px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; font-size: 13px; background: #fff; }
.arttq-list { margin-top: 2px; }
.arttq-item { display: flex; align-items: flex-start; gap: 8px; padding: 9px 2px; border-bottom: 1px dashed #EFE9E0; }
.arttq-item .bd { flex: 1; min-width: 0; }
.arttq-item .nm { font-size: 13.5px; font-weight: 900; }
.arttq-item .meta { font-size: 11.5px; color: var(--mut); margin-top: 2px; }
.arttq-item .note { font-size: 11px; color: #B26A0B; margin-top: 2px; line-height: 1.55; }
.arttq-item .tags { margin-top: 3px; }
.fav-btn { border: 1.5px solid var(--b2); background: #fff; color: var(--bd); font-size: 12px; font-weight: 800; border-radius: 999px; padding: 6px 12px; cursor: pointer; white-space: nowrap; }
.fav-btn.on { background: #FFF1E0; border-color: #EA4E0C; color: #EA4E0C; }
.arttq-foot { margin-top: 9px; font-size: 11px; color: var(--mut); line-height: 1.65; }
@media print {
  /* __PRINTFIX_V20261009F__ 整个分区（可能几十条）avoid 会造成怪异断页 → 改允许跨页 */
  .vt-sec { break-inside: auto; border: none; margin: 6px 0; }
  .vt-sec-hd { background: none; border-bottom: 1px solid #ddd; }
  .fav-btn, .arttq-search { display: none !important; }
  .arttq-item { break-inside: avoid; }
}

/* __FBNOTE_CSS_V20261007E__ 兜底档降级提示条 */
.band-hd { flex-wrap: wrap; }
.band-hd .rg { white-space: normal; text-align: right; }
.fb-note { margin: 2px 0 8px; font-size: 12px; line-height: 1.6; color: #8a5a12; background: #fff7e8; border-left: 3px solid #F08A24; padding: 6px 10px; border-radius: 0 6px 6px 0; }
@media print { .fb-note { display: block !important; } }


/* ---------- __FILTER_CSS_V20261007J__ 筛选维度升级：专业段 / 地区两级 / 面包屑 / 选科开关 ---------- */
.fbar2 { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin: 8px 0 2px; }
.fbar2 .flb { font-size: 11.5px; font-weight: 900; color: var(--bd); flex-shrink: 0; }
.maj-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.maj-chips .fc { font-size: 12px; font-weight: 700; padding: 5px 13px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink2); cursor: pointer; user-select: none; }
.maj-chips .fc.on { background: var(--b); border-color: var(--b); color: #fff; }
.maj-panel { margin: 6px 0 4px; border: 1px solid var(--line); border-radius: 12px; background: #FFFDFA; padding: 10px 12px; }
.maj-hd { font-size: 12px; font-weight: 900; color: var(--ink2); margin-bottom: 6px; display: flex; align-items: baseline; gap: 8px; }
.maj-item { display: block; font-size: 12.5px; font-weight: 700; color: var(--ink); padding: 7px 9px; border-radius: 8px; cursor: pointer; }
.maj-item:active, .maj-item.on { background: #FFF3E4; color: var(--bd); }
.maj-more { font-size: 11px; color: var(--mut); padding: 4px 2px; }
.prow { display: flex; gap: 6px; flex-wrap: wrap; margin: 6px 0 2px; }
.prow .plb { font-size: 11px; font-weight: 800; color: var(--mut); flex-shrink: 0; min-width: 34px; }
.prow .fc { font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink2); cursor: pointer; user-select: none; }
.prow .fc.on { background: var(--b); border-color: var(--b); color: #fff; }
.prow .fc.off { opacity: .42; cursor: not-allowed; }
.crumb { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin: 8px 0 2px; }
.crumb .ci { font-size: 12px; font-weight: 800; color: var(--bd); background: #FFF1E0; border-radius: 999px; padding: 4px 10px; }
.crumb .crumb-x { font-size: 11px; color: var(--mut); margin-left: 2px; cursor: pointer; }
.crumb .crumb-clr { font-size: 11.5px; font-weight: 800; color: var(--mut); text-decoration: underline; cursor: pointer; margin-left: auto; }
.crumb .hit { font-size: 11.5px; font-weight: 800; color: var(--ink2); }
.sw { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 800; color: var(--ink2); cursor: pointer; user-select: none; margin-top: 6px; }
.sw .sw-bx { width: 34px; height: 19px; border-radius: 999px; background: #E3DAD0; position: relative; flex-shrink: 0; transition: background .15s; }
.sw .sw-bx::after { content: ''; position: absolute; top: 2px; left: 2px; width: 15px; height: 15px; border-radius: 50%; background: #fff; transition: left .15s; }
.sw.sw-on .sw-bx { background: var(--b); }
.sw.sw-on .sw-bx::after { left: 17px; }
.subj-note { font-size: 11px; color: #8A6534; background: #FFFCF5; border: 1px dashed #E8CE9E; border-radius: 8px; padding: 7px 10px; margin-top: 8px; line-height: 1.65; }
@media print { .maj-panel, .sw, .crumb .crumb-x, .crumb .crumb-clr { display: none !important; } }


/* ---------- __FILTER_MAJ_CSS_V20261007J__ 专业段 / 地区二级 / 面包屑 布局 ---------- */
.fbar .maj-chips, .fbar .maj-panel, .fbar .prov-panel { flex-basis: 100%; }
.fbar .flb { font-size: 11.5px; font-weight: 900; color: var(--bd); flex-shrink: 0; padding: 5px 2px; }
.fbar input#f-maj-q { width: 100%; border: 1.5px solid var(--line); border-radius: 10px; padding: 9px 11px; font-size: 14px; font-weight: 700; color: var(--ink); background: #FFFDF9; outline: none; }
.fbar input#f-maj-q:focus { border-color: var(--b2); background: #fff; }
.maj-item.on { background: #FFF3E4; color: var(--bd); }


/* ---------- __FILTER_REGION_UI_V20261007J__ 地域两级面板 ---------- */
.fbar .prov-panel { flex-basis: 100%; margin: 6px 0 4px; border: 1px solid var(--line); border-radius: 12px; background: #FFFDFA; padding: 8px 12px; }
.prow .prow-x { color: var(--mut); border-style: dashed; }


/* ---------- __FILTER_INTEG_V20261007J__ 空状态 ---------- */
.filter-empty { margin: 10px 0; padding: 14px 14px; border: 1px dashed #E0B27A; border-radius: 12px; background: #FFFBF4; }
.filter-empty .fe-t { font-size: 14px; font-weight: 900; color: var(--bd); }
.filter-empty .fe-s { font-size: 12px; color: var(--mut); margin: 5px 0 10px; line-height: 1.6; }
.filter-empty .fe-b { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-empty .fe-b .fc { font-size: 12.5px; font-weight: 800; padding: 7px 15px; border-radius: 999px; background: var(--b); border: 1px solid var(--b); color: #fff; cursor: pointer; user-select: none; }


/* ---------- __FILTER_RELAX_CSS_V20261007J__ 空状态次按钮（重选专业） ---------- */
.filter-empty .fe-b .fc-ghost { background: #fff; border-color: var(--b); color: var(--b); }

/* ============================================================
   __MJ3UI_V20261008B__ 三年专业级四态渲染（权威/推断/未招/未对上）
   全部新类名，零改动既有规则；=== 架构师增补 §A1 视觉规格 ===
   ============================================================ */
.yrs .yr-val { color: var(--ink); font-weight: 700; }
.yrs .yr-inf { color: var(--mut); border-bottom: 1px dashed var(--mut); padding-bottom: 2px; line-height: 1.5; }   /* __MJ3FIX_V20261008C__ 虚线与数字留隙，避免小字号下似删除线 */
.yrs .yr-inf sup { font-size: 8px; }
.yrs .yr-gbase { color: var(--mut); border-bottom: 1px dashed var(--mut); padding-bottom: 2px; line-height: 1.5; }   /* __M3C2__ 外校同专业：虚线+「外校」上标 */
.yrs .yr-gbase sup { font-size: 8px; color: #b26a00; }
.yrs .yr-rk { font-style: normal; color: var(--mut); font-size: 10.5px; margin-left: 2px; }   /* __M3C2__ A1 行内位次 */
.yrs .yr-na { color: var(--mut); opacity: .8; }
.yrs .yr-val, .yrs .yr-inf, .dm-mj td { font-variant-numeric: tabular-nums; }
.yrs .yr-miss { color: var(--mut); }
table.dm-mj td.mj-sc { font-variant-numeric: tabular-nums; white-space: nowrap; }
table.dm-mj td.mj-sc small { display: block; color: var(--mut); font-size: 10.5px; font-weight: 400; }
table.dm-mj .mj-ref { font-size: 9.5px; color: var(--mut); margin-left: 4px; }
table.dm-mj .mj-ref-g { color: #b26a00; }   /* __M3C2__ 外校参考徽标 */
table.dm-mj .dm-mj-meta, .dm-mj .mj-meta { font-size: 10.5px; color: var(--mut); line-height: 1.5; margin-top: 2px; }
