:root{
  --ink:#1c2b2b; --ink-2:#41595a; --muted:#7d8f8e;
  --paper:#fbfaf6; --card:#ffffff; --line:#e3ded2;
  --accent:#2f5d50; --accent-2:#c8a05a; --badge:#eef3f1;
  --shadow:0 1px 2px rgba(28,43,43,.05),0 8px 24px rgba(28,43,43,.05);
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0; background:var(--paper); color:var(--ink);
  font:16px/1.85 -apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;
  word-break:break-word;
}
h1,h2,h3{font-family:"Noto Serif SC","Songti SC",Songti,SimSun,serif; line-height:1.45; font-weight:700}
a{color:var(--accent); text-decoration:none}
a:hover{text-decoration:underline}
main{max-width:820px; margin:0 auto; padding:20px 18px 40px}
.muted{color:var(--muted)}

/* topbar */
.topbar{
  position:sticky; top:0; z-index:9; display:flex; align-items:center; justify-content:space-between;
  gap:12px; padding:10px 18px; background:rgba(251,250,246,.92);
  backdrop-filter:saturate(1.2) blur(8px); border-bottom:1px solid var(--line);
}
.brand{display:flex; flex-direction:column; line-height:1.25; color:var(--ink)}
.brand-name{font-family:"Noto Serif SC","Songti SC",serif; font-weight:700; font-size:17px; letter-spacing:.5px}
.brand-sub{font-size:11px; color:var(--muted); letter-spacing:.3px}
.topnav a{margin-left:16px; font-size:14px; color:var(--ink-2)}
.topnav a.on{color:var(--accent); font-weight:600}

/* hero */
.hero{padding:28px 0 8px; border-bottom:1px solid var(--line); margin-bottom:22px}
.hero h1{font-size:30px; margin:0 0 6px; letter-spacing:1px; text-align:center}
.hero-hsub{margin:0 0 16px; text-align:center; font-size:17px; color:var(--accent); letter-spacing:1.5px; font-family:"Noto Serif SC",serif}
.hero-sub{margin:0 0 14px; color:var(--accent); font-size:14px; letter-spacing:2px}
.hero-lead{font-size:16px; color:var(--ink-2); margin:0 0 18px}
.hero-actions{display:flex; gap:12px; flex-wrap:wrap; margin-bottom:24px}
.btn{display:inline-block; padding:10px 18px; border-radius:6px; background:var(--accent); color:#fff; font-size:14px}
.btn:hover{text-decoration:none; background:#264d42}
.btn.ghost{background:transparent; color:var(--accent); border:1px solid var(--accent)}
.btn.ghost:hover{background:var(--badge)}

/* toc */
.toc h2,.howto h2{font-size:19px; margin:26px 0 12px}
.toc-grid{display:grid; grid-template-columns:1fr; gap:10px}
.toc-card{
  display:flex; flex-wrap:wrap; align-items:center; gap:6px 10px;
  padding:13px 14px; background:var(--card); border:1px solid var(--line); border-radius:8px;
  color:var(--ink); box-shadow:var(--shadow);
}
.toc-card:hover{text-decoration:none; border-color:var(--accent)}
.toc-no{flex:0 0 74px; font-size:12px; color:var(--muted); white-space:nowrap}
.toc-name{flex:1 1 auto; font-family:"Noto Serif SC","Songti SC",serif; font-size:17px; font-weight:700}
.toc-meta{order:4; flex:0 0 100%; padding-left:84px; font-size:12px; color:var(--muted)}
.badge{font-size:11px; padding:3px 8px; border-radius:20px; background:#f2efe7; color:var(--muted); white-space:nowrap}
.toc-card .badge{order:3; margin-left:auto}
.badge.ok{background:var(--badge); color:var(--accent)}

/* chapter / major */
.crumb{font-size:12px; color:var(--muted); margin:6px 0 14px}
.crumb a{color:var(--muted)}
article h1{font-size:26px; margin:0 0 8px}
article h1 .code{font-size:14px; color:var(--muted); font-family:ui-monospace,Menlo,monospace; margin-left:6px}
.chapter-sub{color:var(--muted); font-size:13px; margin:0 0 20px}
.shorturl{font-size:12px; color:var(--muted); background:#f5f2ea; border-left:3px solid var(--accent-2); padding:8px 12px; border-radius:0 4px 4px 0}
.notice{font-size:13px; color:var(--ink-2); background:#f5f2ea; padding:10px 12px; border-radius:4px}
.card{background:var(--card); border:1px solid var(--line); border-radius:8px; padding:18px 18px 16px; margin:14px 0; box-shadow:var(--shadow)}
.card h2{font-size:18px; margin:0 0 10px; display:flex; align-items:center; gap:8px; flex-wrap:wrap}
.card p{margin:0 0 12px; color:var(--ink-2)}
.card p:last-child{margin-bottom:0}
.lead p{font-size:15.5px; color:var(--ink)}
.cls-code{font-family:ui-monospace,Menlo,monospace; font-size:13px; color:var(--muted); font-weight:400}
.cnt{margin-left:auto; font-size:12px; color:var(--muted); font-weight:400}
.cls-ov{border-left:2px solid var(--line); padding-left:12px; margin:6px 0 14px}
.cls-ov p{font-size:14.5px}

/* profile table */
.profile{width:100%; border-collapse:collapse; font-size:14px}
.profile th,.profile td{border-bottom:1px solid var(--line); padding:9px 8px; vertical-align:top; text-align:left}
.profile th{width:96px; color:var(--accent); font-weight:600; background:#faf8f2; white-space:nowrap}
.profile tr:last-child th,.profile tr:last-child td{border-bottom:none}

/* majors list */
.majors{list-style:none; margin:0; padding:0; display:grid; grid-template-columns:1fr; gap:1px; background:var(--line); border-radius:6px; overflow:hidden}
.majors li{background:var(--card)}
.majors a,.majors li.dim{display:block; padding:11px 13px; color:var(--ink)}
.majors a:hover{background:#f7f5ee; text-decoration:none}
.majors b{font-weight:600; margin-right:8px}
.cc{display:block; font-size:12px; color:var(--muted); margin-top:3px; line-height:1.6}
.dim{color:var(--muted)}
.dim b{color:var(--muted); font-weight:500}

/* attach */
.attach{background:#fdfcf7; border-style:dashed}
.attach .badge{background:#fff5e0; color:#8a6a22}

/* claim */
.claim{display:flex; gap:18px; flex-wrap:wrap; align-items:center; justify-content:space-between;
  background:var(--accent); color:#f3f6f3; border-radius:10px; padding:20px; margin:26px 0 10px}
.claim h3{margin:0 0 8px; font-size:17px; color:#fff}
.claim p{margin:0 0 8px; font-size:13.5px; line-height:1.75; color:#e6ece7}
.claim code{background:rgba(255,255,255,.16); padding:1px 6px; border-radius:3px; font-size:13px}
.claim-tip{opacity:.75; font-size:12.5px}
.claim-txt{flex:1 1 300px}
.qr-row{display:flex; gap:12px}
.qr-row figure{margin:0; text-align:center}
.qr-row img{width:96px; height:96px; border-radius:6px; background:#fff; display:block}
.qr-row figcaption{font-size:11px; color:#cfdcd4; margin-top:4px}

/* pager */
.pager{display:flex; justify-content:space-between; gap:10px; margin:26px 0 0; font-size:13px; flex-wrap:wrap}

/* footer */
.sitefoot{border-top:1px solid var(--line); padding:22px 18px 34px; max-width:820px; margin:0 auto}
.foot-line{font-size:11.5px; color:var(--muted); line-height:1.8; margin:0 0 6px}
.icp{color:var(--muted)}

@media (min-width:700px){
  .toc-grid{grid-template-columns:1fr 1fr}
  .hero h1{font-size:34px}
  .majors{grid-template-columns:1fr 1fr}
  main{padding:26px 24px 50px}
}

/* 照片墙（首页顶部） */
.photowall{margin:-20px -18px 0; padding:14px 18px 12px; background:linear-gradient(180deg,#f2efe5,#fbfaf6); border-bottom:1px solid var(--line)}
.wall-strip{display:flex; gap:10px; overflow-x:auto; scroll-snap-type:x mandatory; -webkit-overflow-scrolling:touch; scrollbar-width:none; padding-bottom:2px}
.wall-strip::-webkit-scrollbar{display:none}
.wall-item{flex:0 0 auto; margin:0; width:126px; aspect-ratio:3/4; border-radius:8px; overflow:hidden; border:1px solid var(--line); box-shadow:var(--shadow); scroll-snap-align:start; background:#efece3}
.wall-item img{width:100%; height:100%; object-fit:cover; display:block}
@media(min-width:700px){.wall-item{width:150px}}

/* 读者反馈入口条 */
.fbentry{margin:18px 0 4px}
.fbentry a{display:block; padding:12px 14px; border:1px dashed var(--line); border-radius:8px; background:#fff; font-size:14px; color:var(--ink-2)}
.fbentry a:hover{text-decoration:none; border-color:var(--accent); color:var(--accent)}

/* 读者反馈专题页 */
.fbpage h1{font-size:26px; margin:8px 0 4px}
.fb-grid{display:grid; grid-template-columns:repeat(2,1fr); gap:12px; margin:16px 0 10px}
@media(min-width:700px){.fb-grid{grid-template-columns:repeat(3,1fr)}}
.fb-card{position:relative; display:block; background:var(--card); border:1px solid var(--line); border-radius:8px; overflow:hidden; box-shadow:var(--shadow); color:var(--ink)}
.fb-card:hover{text-decoration:none; border-color:var(--accent)}
.fb-card img{width:100%; display:block; height:auto; max-height:460px; object-fit:cover; object-position:top center; background:#101d1c}
.fb-tag{position:absolute; top:8px; left:8px; z-index:1; font-size:11px; padding:2px 8px; border-radius:20px; background:rgba(47,93,80,.92); color:#fff}
.fb-card figcaption{margin:0; font-size:12px; color:var(--muted); padding:8px 10px; border-top:1px solid var(--line); line-height:1.6}

/* ================= 数据资料库 ================= */
.main-wide{max-width:1020px}
.hero-stats{display:flex; flex-wrap:wrap; gap:18px 48px; margin:16px 0 0; font-size:13px; color:var(--muted)}
.hero-stats b{display:block; font-size:22px; color:var(--accent); font-family:"Noto Serif SC",serif; line-height:1.2}
.sec-h2{font-size:20px; margin:26px 0 12px; padding-left:10px; border-left:4px solid var(--accent-2)}

.ds-grid{display:grid; grid-template-columns:1fr; gap:12px}
@media(min-width:720px){.ds-grid{grid-template-columns:1fr 1fr}}
.ds-card{display:flex; flex-direction:column; padding:16px 16px 12px; background:var(--card); border:1px solid var(--line); border-radius:10px; box-shadow:var(--shadow); color:var(--ink)}
.ds-card:hover{text-decoration:none; border-color:var(--accent); transform:translateY(-1px); transition:.15s}
.ds-tag{align-self:flex-start; font-size:11px; padding:2px 9px; border-radius:20px; background:var(--badge); color:var(--accent); margin-bottom:8px}
.ds-card h3{font-size:16.5px; margin:0 0 6px}
.ds-card p{font-size:13.5px; line-height:1.75; color:var(--ink-2); margin:0 0 12px}
.ds-foot{display:flex; justify-content:space-between; align-items:center; gap:8px; font-size:12px; color:var(--muted); margin-top:auto; padding-top:8px; border-top:1px dashed var(--line)}
.ds-foot em{font-style:normal; color:var(--accent); white-space:nowrap}

.dl-page h1{font-size:25px; margin:6px 0 8px}
.crumb{font-size:13px; color:var(--muted); margin:0 0 6px}
.dl-blurb{font-size:14.5px; line-height:1.85; color:var(--ink-2); margin:0 0 10px}
.dl-meta{display:flex; flex-wrap:wrap; gap:6px 14px; font-size:12.5px; color:var(--muted); padding:8px 0 12px; border-bottom:1px solid var(--line)}
.dl-chip{background:var(--accent); color:#fff; padding:1px 8px; border-radius:4px; font-size:11.5px}
.dl-tabs{display:flex; gap:6px; overflow-x:auto; padding:12px 0 10px; scrollbar-width:none}
.dl-tabs::-webkit-scrollbar{display:none}
.dl-tabs button{flex:0 0 auto; font:inherit; font-size:13.5px; padding:6px 12px; border:1px solid var(--line); background:var(--card); color:var(--ink-2); border-radius:20px; cursor:pointer}
.dl-tabs button em{font-style:normal; font-size:11px; color:var(--muted); margin-left:2px}
.dl-tabs button.on{background:var(--accent); border-color:var(--accent); color:#fff}
.dl-tabs button.on em{color:#cfe0da}

.dl-tools{display:flex; gap:10px; align-items:center; justify-content:space-between; margin:0 0 8px; flex-wrap:wrap}
.dl-tools-solo{margin:14px 0 12px}
.dl-tools input{flex:1 1 220px; min-width:0; font:inherit; font-size:14px; padding:8px 12px; border:1px solid var(--line); border-radius:8px; background:var(--card); color:var(--ink)}
.dl-tools input:focus{outline:2px solid #d8e5df; border-color:var(--accent)}
.dl-count{font-size:12.5px; color:var(--muted); white-space:nowrap}
.dl-scroll{overflow:auto; max-height:72vh; border:1px solid var(--line); border-radius:10px; background:var(--card); -webkit-overflow-scrolling:touch}
.dl-table table{border-collapse:separate; border-spacing:0; width:100%; font-size:13px; line-height:1.6}
.dl-table th{position:sticky; top:0; z-index:2; background:#eef3f1; color:var(--accent); font-weight:600; text-align:left; padding:8px 10px; border-bottom:1px solid var(--line); white-space:nowrap; font-size:12.5px}
.dl-table td{padding:7px 10px; border-bottom:1px solid #f0ece2; vertical-align:top; min-width:64px; color:var(--ink-2); word-break:keep-all; overflow-wrap:break-word}
.dl-table tr:nth-child(even) td{background:#fcfbf7}
.dl-table tr:hover td{background:#f6f3ea}
.dl-table .dl-no{color:#b9c2c0; font-size:11px; text-align:right; width:40px; min-width:40px}
.dl-nil{color:#cdd4d2}
.dl-more{display:block; width:100%; margin:10px 0 0; padding:9px; font:inherit; font-size:13.5px; color:var(--accent); background:var(--card); border:1px dashed var(--line); border-radius:8px; cursor:pointer}
.dl-more:hover{border-color:var(--accent); background:#f7faf8}
.dl-note{font-size:12.5px; color:var(--muted); line-height:1.8; margin:16px 0 0; padding:10px 12px; background:#f6f3ea; border-radius:8px}
.dl-dl{color:var(--accent); font-weight:600; text-decoration:none; border-bottom:1px dashed var(--accent)}
.dl-dl:hover{opacity:.8}
.occ-da,.occ-z{border:1px solid var(--line); border-radius:10px; margin:12px 0; background:var(--card); overflow:hidden}
.occ-da summary,.occ-z summary{cursor:pointer; padding:12px 16px; font-size:15px; color:var(--ink); list-style:none; display:flex; align-items:baseline; gap:8px; flex-wrap:wrap}
.occ-da summary::-webkit-details-marker,.occ-z summary::-webkit-details-marker{display:none}
.occ-da summary::before,.occ-z summary::before{content:'▸'; color:var(--muted); transition:.15s}
details[open]>summary::before{transform:rotate(90deg)}
.occ-da>summary{background:#f6f3ea; font-weight:600}
.occ-z{margin:10px; border-radius:8px}
.occ-z>summary{font-size:14px}
.occ-n{color:var(--muted); font-size:12px; margin-left:auto}
.occ-x{padding:8px 16px 12px; border-top:1px dashed var(--line); font-size:13.5px; color:var(--ink)}
.occ-xcode{font-family:ui-monospace,Consolas,monospace; font-size:12.5px; color:var(--accent); font-weight:600}
.occ-xis{display:flex; flex-wrap:wrap; gap:6px; margin-top:6px}
.occ-xi{font-size:12px; color:var(--ink); background:#f1efe7; border:1px solid var(--line); border-radius:99px; padding:3px 10px}
.occ-hit{padding:9px 4px; border-bottom:1px dashed var(--line); font-size:14px}
.occ-path{color:var(--muted); font-size:12px; margin-left:10px}
.dl-h2{font-size:17px; margin:26px 0 10px}
.dl-year{margin:0 0 16px}
.dl-year h2{font-size:15px; margin:14px 0 8px; color:var(--ink)}
.dl-year h2 span{font-size:12px; color:var(--muted); font-weight:400; margin-left:6px}
.dl-linklist{list-style:none; margin:0; padding:0; display:grid; grid-template-columns:1fr 1fr; gap:6px}
@media(min-width:720px){.dl-linklist{grid-template-columns:repeat(3,1fr)}}
.dl-linklist li{display:flex; justify-content:space-between; gap:6px; padding:6px 10px; background:var(--card); border:1px solid var(--line); border-radius:6px; font-size:13px}
.dl-linklist li em{font-style:normal; color:var(--muted); font-size:11.5px}

/* ---- ref20 按省份下载（2026-11-15：取消整包长表，改分省×分年 CSV） ---- */
.prov-dl{display:grid; grid-template-columns:1fr; gap:8px; margin:10px 0 0}
@media(min-width:640px){.prov-dl{grid-template-columns:repeat(2,1fr)}}
@media(min-width:960px){.prov-dl{grid-template-columns:repeat(3,1fr)}}
.pd-item{background:var(--card); border:1px solid var(--line); border-radius:8px}
.pd-item summary{cursor:pointer; list-style:none; display:flex; justify-content:space-between; align-items:baseline; gap:8px; padding:9px 12px; font-size:14px; font-weight:600; color:var(--ink)}
.pd-item summary::-webkit-details-marker{display:none}
.pd-item summary::after{content:"+"; color:var(--accent); font-weight:400; font-size:16px; line-height:1}
.pd-item[open] summary::after{content:"−"}
.pd-item summary:hover{background:#f6f3ea}
.pd-item summary em{font-style:normal; font-weight:400; font-size:11.5px; color:var(--muted)}
.pd-btns{display:flex; gap:8px; padding:2px 12px 12px; flex-wrap:wrap}
.pd-btn{display:inline-flex; flex-direction:column; align-items:center; gap:1px; padding:6px 14px; background:var(--accent); color:#fff; border-radius:6px; text-decoration:none; font-size:13px; font-weight:600}
.pd-btn em{font-style:normal; font-size:10.5px; font-weight:400; opacity:.85}
.pd-btn:hover{opacity:.85}

.mm-grid{display:grid; grid-template-columns:repeat(2,1fr); gap:10px}
@media(min-width:640px){.mm-grid{grid-template-columns:repeat(3,1fr)}}
@media(min-width:900px){.mm-grid{grid-template-columns:repeat(4,1fr)}}
.mm-card{margin:0; background:var(--card); border:1px solid var(--line); border-radius:8px; overflow:hidden; box-shadow:var(--shadow)}
.mm-card[hidden]{display:none}
.mm-card a{display:block; position:relative; background:#fff}
.mm-card img{width:100%; display:block; aspect-ratio:4/3; object-fit:cover}
.mm-code{position:absolute; left:6px; top:6px; font-size:10.5px; padding:1px 6px; border-radius:3px; background:rgba(47,93,80,.9); color:#fff; letter-spacing:.3px}
.mm-card figcaption{font-size:12px; color:var(--ink-2); padding:6px 8px; border-top:1px solid var(--line); text-align:center; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}

/* ---- 四板块索引 / 首页长文案 / 四步法 ---- */
.grp-h{display:flex; align-items:baseline; flex-wrap:wrap; gap:10px; margin:26px 0 12px; padding:0 0 8px; border-bottom:2px solid var(--accent-2); font-size:18px}
.grp-no{color:var(--accent)}
.grp-desc{font-family:inherit; font-size:12.5px; font-weight:400; color:var(--muted)}
.appendix{margin:22px 0 0; padding:12px 14px; background:#f6f3ea; border-left:3px solid var(--accent-2); border-radius:0 8px 8px 0; font-size:13.5px; color:var(--ink-2); line-height:1.8}
.hero-intro{margin:10px 0 0; max-width:100%}
.hero-intro p{font-size:14.5px; line-height:1.95; color:var(--ink-2); margin:0 0 10px}
.hero-intro b{color:var(--accent)}
.howto ol.steps{list-style:none; counter-reset:step; margin:0; padding:0}
.howto ol.steps li{position:relative; padding:10px 12px 10px 14px; margin:0 0 8px; background:var(--card); border:1px solid var(--line); border-left:3px solid var(--accent); border-radius:0 8px 8px 0; font-size:14px; line-height:1.9; color:var(--ink-2)}
.howto ol.steps b{color:var(--ink)}

/* ---- 根专业清单（参考-17） ---- */
.rt-g{margin:22px 0 0}
.rt-g[hidden]{display:none}
.rt-h{font-size:17px; margin:0 0 10px; padding-left:10px; border-left:4px solid var(--accent)}
.rt-h span{font-family:inherit; font-size:12px; font-weight:400; color:var(--muted); margin-left:8px}
.rt-grid{display:grid; grid-template-columns:1fr; gap:8px}
@media(min-width:640px){.rt-grid{grid-template-columns:repeat(2,1fr)}}
.rt-item{display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:6px 8px; padding:9px 12px; background:var(--card); border:1px solid var(--line); border-radius:8px; box-shadow:var(--shadow)}
.rt-item[hidden]{display:none}
.rt-code{grid-row:1; font-family:ui-monospace,Consolas,monospace; font-size:12px; font-weight:600; color:var(--accent); background:#eef3f1; border-radius:4px; padding:1px 6px}
.rt-name{grid-row:1; font-size:15px; color:var(--ink); font-weight:600}
.rt-flag{grid-row:1; font-size:11px; border-radius:99px; padding:1px 8px; white-space:nowrap}
.rt-base{background:#eef3f1; color:var(--accent)}
.rt-add{background:#fbf0dc; color:#a06a20}
.rt-meta{grid-column:1/-1; font-size:12px; color:var(--muted); line-height:1.6}

/* ---- 数据集卡片连续编号 ---- */
.ds-no{display:inline; margin-right:5px; color:var(--accent-2); font-size:.92em; font-weight:700; white-space:nowrap}

/* ---- 案例记录（2026-11-14 新增频道，占原「读者反馈」顶栏位置） ---- */
.case-item{margin-bottom:16px}
.case-no{
  display:inline-block; min-width:30px; margin-right:8px; padding:1px 6px; border-radius:4px;
  background:var(--badge); color:var(--accent); font-family:inherit; font-size:13px; font-weight:700; vertical-align:2px;
}
.case-meta{margin:-2px 0 12px; font-size:13px; color:var(--muted); letter-spacing:.2px}
.case-steps{display:grid; grid-template-columns:80px 1fr; gap:8px 14px; margin:0 0 12px; padding:0}
.case-steps dt{margin:0; font-size:13px; font-weight:700; color:var(--accent); line-height:1.75}
.case-steps dd{margin:0; font-size:15px; line-height:1.78; color:var(--ink-2)}
.case-line{margin:6px 0; font-size:15px; line-height:1.78}
.case-line b{color:var(--accent)}
.case-auth{margin:12px 0 0; padding-top:9px; border-top:1px dashed var(--line); font-size:12px; color:var(--muted); line-height:1.7}
.case-flow{list-style:none; counter-reset:cf; margin:0; padding:0}
.case-flow li{position:relative; padding:9px 12px 9px 14px; margin:0 0 8px; background:#f7f6f0; border-left:3px solid var(--accent); border-radius:0 6px 6px 0; font-size:14px; line-height:1.85; color:var(--ink-2)}
.case-flow b{color:var(--ink)}
@media (max-width:520px){
  .case-steps{grid-template-columns:1fr; gap:2px 0}
  .case-steps dd{margin-bottom:9px}
}

/* 四步说明卡：置于案例卡之后作补充，与案例拉开距离、视觉稍轻 */
.case-flow-card{margin-top:30px}
.case-flow-card h2{font-size:17px}

/* ---- 案例详情页（2026-11-14，案例 01） ---- */
.case-more{margin:10px 0 0}
.case-more .btn{padding:7px 16px; font-size:13px}

/* ---- 折叠块：栏目说明等长文本默认收起，把首屏让给案例 ---- */
.fold{margin:10px 0 0}
.fold>summary{
  cursor:pointer; list-style:none; display:inline-flex; align-items:center; gap:6px;
  padding:6px 13px; border:1px dashed var(--line); border-radius:20px;
  font-size:13px; color:var(--accent); background:#faf9f4;
}
.fold>summary::-webkit-details-marker{display:none}
.fold>summary::before{content:'▸'; font-size:12px; transition:.15s}
.fold[open]>summary::before{transform:rotate(90deg)}
.fold>summary:hover{background:var(--badge)}
.fold[open]>summary{margin-bottom:2px}
.fold p{margin:8px 0 0; font-size:14.5px}

/* ---- 案例卡：标题即入口，底部按钮与授权同排 ---- */
.case-item h2 a{color:inherit}
.case-item h2 a:hover{color:var(--accent); text-decoration:none}
.case-item h2 a .go{display:inline-block; margin-left:10px; color:var(--accent-2); transition:transform .15s}
.case-item h2 a:hover .go{transform:translateX(4px)}
.case-foot{
  display:flex; align-items:center; justify-content:space-between; gap:14px; flex-wrap:wrap;
  margin-top:12px; padding-top:10px; border-top:1px dashed var(--line);
}
.case-foot .case-auth{margin:0; padding:0; border:none; flex:1 1 240px}
.case-foot .btn{padding:9px 20px; font-size:13.5px; white-space:nowrap; box-shadow:0 2px 8px rgba(47,93,80,.2)}
@media (max-width:520px){
  .case-foot .btn{width:100%; text-align:center}
}
/* 案例 h2 整行彩带（2026-11-17 落地挂账③：与送审 docx 同款，深蓝底白粗字） */
.case-detail h2{
  font-size:15.5px;
  margin:30px 0 14px;
  padding:9px 14px;
  background:#1F4E79;
  color:#fff;
  border-radius:4px;
  line-height:1.6;
  font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;
}
.case-detail h2:first-of-type{margin-top:6px}
.case-detail blockquote{
  margin:12px 0 14px; padding:11px 14px; background:#f7f6f0;
  border-left:3px solid var(--accent); border-radius:0 6px 6px 0;
  font-size:14.5px; line-height:1.9; color:var(--ink-2);
}
.case-detail blockquote p{margin:0}
.case-table{overflow-x:auto; margin:10px 0 14px; -webkit-overflow-scrolling:touch}
.case-table table{width:100%; border-collapse:collapse; font-size:13.5px; min-width:420px}
.case-table th,.case-table td{border:1px solid var(--line); padding:7px 10px; text-align:left; vertical-align:top; line-height:1.7}
.case-table th{background:var(--badge); color:var(--accent); font-weight:700; white-space:nowrap}
.case-table td{color:var(--ink-2)}
.case-chain{padding:12px 14px; background:#f2efe7; border-radius:6px; font-size:14px; line-height:1.9; color:var(--ink)}
@media(max-width:520px){
  .case-table table{min-width:340px; font-size:13px}
  .case-table th{white-space:normal}
  .case-detail blockquote{font-size:14px}
}

/* ---- 案例证据图与小组标签（2026-11-14 V1.3） ---- */
.case-group{margin:22px 0 10px; color:var(--accent); font-size:15px;
  font-family:"SimHei","Microsoft YaHei",sans-serif; letter-spacing:1px}
.case-fig{margin:16px auto 20px; max-width:440px}
.case-fig img{display:block; width:100%; height:auto; border:1px solid var(--line);
  border-radius:8px; box-shadow:0 2px 10px rgba(0,0,0,.08)}
.case-fig figcaption{text-align:center; color:var(--sub); font-size:13px;
  font-family:"Microsoft YaHei",sans-serif; margin-top:7px; line-height:1.6; text-wrap:pretty}
.case-fig .cap-note{display:block; margin-top:2px; font-size:12px; color:var(--muted)}
@media(max-width:520px){.case-fig{max-width:100%}}

/* 读者实录：列表前的条数说明（不占副标题位置） */
.list-note{font-size:13px; color:var(--muted); margin:2px 0 4px; padding:0 2px}

/* 详情页文末授权声明：落款式右对齐（2026-11-15）。
   列表页卡片里的 .case-auth 在 .case-foot 内与按钮同排，仍左对齐，不受此处影响。 */
.case-auth-end{text-align:right}

/* 页脚整块居中（2026-11-15）：单列页脚、无右侧链接列，三行小字作页底落款块居中收束。
   免责两行较长，加 text-wrap:pretty 避免末行孤字（与 .case-fig figcaption 同法）。 */
.sitefoot{text-align:center}
.foot-line{text-wrap:pretty}

/* 数据页表注折叠区（2026-11-15）：原表夹带的学科题注、来源页脚从数据行挪到这里，默认收起。
   起因：ref08 两表把 94 条学科题注、6 行来源页脚当数据行渲染，表格里出现"学校名空"的怪行。 */
.dl-fold{margin:14px 0 0;border:1px solid var(--line);border-radius:8px;background:#fff}
.dl-fold>summary{cursor:pointer;padding:10px 14px;font-size:13px;color:var(--muted);list-style:none}
.dl-fold>summary::-webkit-details-marker{display:none}
.dl-fold>summary:before{content:"▸  "}
.dl-fold[open]>summary:before{content:"▾  "}
.dl-mini{width:100%;border-collapse:collapse;font-size:12.5px;margin:2px 0 8px}
.dl-mini th,.dl-mini td{border-top:1px solid var(--line);padding:6px 14px;text-align:left}
.dl-mini th{background:#f6f3ea;font-weight:600;white-space:nowrap}
.dl-mini td+td,.dl-mini th+th{text-align:right;font-variant-numeric:tabular-nums}
.dl-note-tip{font-size:12px;color:var(--muted);line-height:1.7;padding:0 14px 12px;margin:0}
.dl-notes{font-size:12.5px;color:var(--muted);line-height:1.8;margin:0;padding:4px 14px 14px 32px}

/* 思维导图馆门类分区（2026-11-15）：13 个门类各一行标题＋分界线，顶部加门类跳转条。
   搜索时空分区自动隐藏，跳转条一并隐藏（锚点会指到被藏起的分区）。 */
.mm-jump{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 4px}
.mm-jump a{font-size:12.5px;color:var(--ink-2);background:var(--badge);border:1px solid var(--line);border-radius:999px;padding:3px 10px}
.mm-jump a b{color:var(--accent);font-weight:600}
.mm-jump[hidden]{display:none}
.mm-sec{margin-top:34px}
.mm-sec[hidden]{display:none}
.mm-sec-h{display:flex;align-items:baseline;gap:10px;margin:0 0 14px;padding-bottom:9px;border-bottom:2px solid var(--line);font-size:17.5px}
.mm-sec-h .mm-sec-code{font-size:12px;color:var(--accent);border:1px solid var(--accent);border-radius:4px;padding:0 5px;letter-spacing:.5px}
.mm-sec-h em{font-style:normal;font-weight:400;font-size:13px;color:var(--muted);margin-left:auto}

/* ---- 案例详情页 2026-11-15：书稿副题、首屏提要、节对应书中、自制图与图注标记 ---- */
.case-book{font-size:13.5px; color:#a8802f; letter-spacing:.5px; margin:0 0 20px;
  font-family:"Noto Serif SC","Songti SC",serif}
.case-lead{margin:0 0 26px; padding:15px 18px; background:#f4f2ea;
  border-left:3px solid var(--accent-2); border-radius:0 8px 8px 0}
.case-lead p{margin:0 0 9px; font-size:16.5px; line-height:1.9; color:var(--ink)}
.case-lead p:last-child{margin:0; color:var(--accent); font-weight:600}
.sec-book{font-size:12.5px; color:var(--muted); margin:-8px 0 16px; letter-spacing:.3px}
.case-fig-wide{max-width:780px}
@media(max-width:640px){.case-fig-wide{max-width:100%}}
.case-fig .cap-tag{display:inline-block; margin-left:5px; padding:0 5px; border-radius:3px;
  background:#eef3f1; color:#7d8f8e; font-size:11px; vertical-align:1px}
.case-auth-note{text-align:right; border-top:none; padding-top:0; margin-top:2px}
@media(max-width:520px){.case-lead{padding:13px 14px}.case-lead p{font-size:16px}}

/* ---- ref11 查询窗 2026-11-25：取代 883 张全量平铺，指定专业后才出图 ---- */
/* 仅在文件末尾追加；上方 235-243 行旧 .mm-grid/.mm-card 类保留但本页不再使用 */
.mm-modes{display:flex; gap:8px; flex-wrap:wrap; margin:16px 0 14px}
.mm-mode{font:inherit; font-size:13.5px; padding:7px 14px; border:1px solid var(--line); background:var(--card); color:var(--ink-2); border-radius:20px; cursor:pointer}
.mm-mode:hover{border-color:var(--accent)}
.mm-mode.on{background:var(--accent); border-color:var(--accent); color:#fff; font-weight:600}
.mm-pane[hidden]{display:none}
.mm-form{display:flex; gap:8px; align-items:stretch; flex-wrap:wrap}
.mm-input{flex:1 1 240px; min-width:0; font:inherit; font-size:14.5px; padding:10px 12px; border:1px solid var(--line); border-radius:8px; background:var(--card); color:var(--ink)}
.mm-input:focus{outline:2px solid #d8e5df; border-color:var(--accent)}
.mm-btn{flex:0 0 auto; font:inherit; font-size:14px; font-weight:600; padding:10px 20px; border:1px solid var(--accent); border-radius:8px; background:var(--accent); color:#fff; cursor:pointer}
.mm-btn:hover{opacity:.88}
.mm-hint{font-size:12.5px; color:var(--muted); line-height:1.8; margin:10px 0 0}
.mm-hint-err{color:#a8543f}
.mm-cands{display:flex; flex-wrap:wrap; gap:8px; margin:12px 0 0}
.mm-cands:empty{display:none}
.mm-cand{font:inherit; font-size:13px; padding:6px 12px; border:1px solid var(--line); border-radius:8px; background:var(--card); color:var(--ink-2); cursor:pointer}
.mm-cand:hover{border-color:var(--accent); color:var(--accent)}
.mm-more{width:100%; font-size:12px; color:var(--muted); margin:4px 0 0}
.mm-casc{display:grid; grid-template-columns:1fr; gap:10px}
@media(min-width:720px){.mm-casc{grid-template-columns:repeat(3,1fr)}}
.mm-sel{width:100%; min-height:44px; font:inherit; font-size:14px; padding:9px 10px; border:1px solid var(--line); border-radius:8px; background:var(--card); color:var(--ink)}
.mm-sel:focus{outline:2px solid #d8e5df; border-color:var(--accent)}
.mm-sel:disabled{background:#f2f1eb; color:var(--muted)}
.mm-result{margin:16px 0 0}
.mm-empty{font-size:13.5px; color:var(--muted); line-height:1.8; margin:0; padding:18px 14px; background:#f6f3ea; border:1px dashed var(--line); border-radius:8px; text-align:center}
.mm-result-card{padding:16px 18px; background:var(--card); border:1px solid var(--line); border-left:3px solid var(--accent); border-radius:8px; box-shadow:var(--shadow)}
.mm-result-name{font-size:20px; font-weight:600; color:var(--ink)}
.mm-result-code{font-family:ui-monospace,Consolas,monospace; font-size:13px; color:var(--accent); margin-top:4px; letter-spacing:.3px}
.mm-result-path{font-size:12.5px; color:var(--muted); margin-top:4px}
.mm-result-note{font-size:12.5px; color:#a8802f; margin-top:8px; line-height:1.7}
.mm-result-open{font:inherit; font-size:13.5px; font-weight:600; margin-top:14px; padding:8px 18px; border:1px solid var(--accent); border-radius:8px; background:var(--accent); color:#fff; cursor:pointer}
.mm-result-open:hover{opacity:.88}
