/* ============================================================
   redesign-theme.css — 全站重构主题层
   依据：docs/redesign-spec.md（redesign-demo/home.html + city.html）
   设计语言：「工资条 / 官方票据」· 品牌蓝 #1677ff 体系
   说明：兼容既有 shared.css 变量名；页面 $extra_css 引入本文件即可
   ============================================================ */

/* ── 1. Tokens ── */
:root {
  --blue:        #1677ff;
  --blue-deep:   #0958d9;
  --blue-bright: #3f8dff;
  --blue-tint:   #e8f0fe;
  --blue-tint-2: #d6e4ff;
  --navy-800: #0a2e63;
  --navy-900: #08234e;
  --navy-950: #061c3f;
  --bg:      #f5f7fa;
  --card:    #ffffff;
  --text:    #1f2d3d;
  --muted:   #6b7a8e;
  --border:  #e4e9f0;
  --green:   #10b981;
  --radius-lg: 22px;
  --radius:    14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(31,45,61,.05), 0 4px 16px rgba(31,45,61,.06);
  --shadow-md: 0 12px 40px rgba(9,63,153,.16);
  --num: "Bahnschrift", "DIN Alternate", "Avenir Next Condensed", "Arial Narrow", sans-serif;
}
[data-theme="dark"] {
  --bg:      #0f1623;
  --card:    #162032;
  --text:    #e2e8f0;
  --muted:   #7a8fa6;
  --border:  #243046;
  --blue-tint:   #1a2d45;
  --blue-tint-2: #21395c;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.3), 0 4px 16px rgba(0,0,0,.25);
  --shadow-md: 0 12px 40px rgba(0,0,0,.45);
}

/* ── 2. 基础 ── */

/* ── 2.1 超链接规范：全局去下划线；按背景色区分链接颜色 ── */
a, a:link, a:visited, a:hover, a:focus, a:active { text-decoration: none !important; }
/* 浅色背景（默认）：蓝 → 深蓝 */
main a:not([class]), .prose a, .article-content a, .eeat-disclaimer a { color: var(--blue); }
main a:not([class]):hover, .prose a:hover, .article-content a:hover { color: var(--blue-deep); }
/* 深色/品牌背景：白 → 浅蓝高亮 */
.hero a, .cta-band a:not(.btn-white), .share-strip a:not(.share-btn), .site-footer a, .stats-band a, .demo-bar a { color: rgba(255, 255, 255, .92); }
.hero a:hover, .cta-band a:not(.btn-white):hover, .share-strip a:hover, .site-footer a:hover, .demo-bar a:hover { color: var(--blue-tint-2); }
.btn-white, .btn-white:hover { color: var(--blue-deep) !important; }


body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px; line-height: 1.65;
  background: var(--bg); color: var(--text);
  transition: background .3s, color .3s;
}
html, body { overflow-x: clip; }
.num { font-family: var(--num); font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.skip-link {
  position: absolute; left: 12px; top: -52px; z-index: 500;
  background: var(--blue); color: #fff; font-size: 14px; font-weight: 700;
  padding: 10px 18px; border-radius: 0 0 10px 10px; transition: top .2s;
}
.skip-link:focus { top: 0; }
html.js .rv { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
html.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js .rv { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ── 3. 导航 ── */
.site-nav {
  position: sticky; top: 0; z-index: 200;
  background: color-mix(in srgb, var(--card) 88%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; height: 64px; display: flex; align-items: center; gap: 20px; }
.nav-logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; flex-shrink: 0; color: var(--text); }
.nav-logo .mark { width: 34px; height: 34px; border-radius: 9px; background: var(--blue); display: grid; place-items: center; color: #fff; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-link { padding: 8px 14px; border-radius: 999px; font-size: 15px; color: var(--muted); transition: .2s; }
.nav-link:hover { color: var(--text); background: var(--blue-tint); }
.nav-link.active { color: var(--blue); background: var(--blue-tint); font-weight: 600; }
.nav-link.hot { font-size: 14px; }
.nav-theme { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--border); background: var(--card); color: var(--muted); display: grid; place-items: center; }
.nav-theme:hover { color: var(--blue); border-color: var(--blue-tint-2); }
.nav-burger { display: none; }

/* ── 4. Hero（首页/城市通用）── */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(1100px 560px at 88% -12%, rgba(214,228,255,.22), transparent 62%),
    radial-gradient(900px 520px at 4% 116%, rgba(6,28,63,.55), transparent 62%),
    linear-gradient(158deg, var(--blue-deep) 0%, var(--blue) 55%, var(--blue-bright) 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    repeating-linear-gradient(0deg,  rgba(255,255,255,.045) 0 1px, transparent 1px 72px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.045) 0 1px, transparent 1px 72px);
  -webkit-mask-image: radial-gradient(1000px 620px at 72% 20%, #000 30%, transparent 78%);
          mask-image: radial-gradient(1000px 620px at 72% 20%, #000 30%, transparent 78%);
}
.hero-inner {
  position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; padding: 64px 24px 116px;
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: 48px; align-items: center;
}
.hero-chip {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(255,255,255,.28); border-radius: 999px;
  padding: 5px 14px; font-size: 13px; color: rgba(255,255,255,.92);
  background: rgba(255,255,255,.08); margin-bottom: 22px;
}
.hero-chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(16,185,129,.22); }
.hero h1, .hero .hero-title {
  color: #fff; font-size: clamp(30px, 4.2vw, 50px); line-height: 1.22; font-weight: 900;
  letter-spacing: .01em; margin-bottom: 16px;
}
.hero h1 em, .hero .hero-title em { font-style: normal; color: #d3e3ff; position: relative; display: inline-block; }
.hero h1 em::after, .hero .hero-title em::after {
  content: ""; position: absolute; inset: -5px -16px -10px;
  border: 2.5px solid rgba(214,231,255,.72); border-radius: 50%;
  transform: rotate(-2.5deg); pointer-events: none;
}
.hero .sub, .hero .hero-desc { font-size: 16.5px; color: rgba(255,255,255,.78); max-width: 34em; margin-bottom: 30px; }
.hero .sub strong, .hero .hero-desc strong { color: #fff; font-weight: 700; }
.hero-yuan {
  position: absolute; right: 10px; bottom: 0; z-index: 0;
  font-family: var(--num), "Kaiti SC", "STKaiti", "KaiTi", serif; font-size: 200px; font-weight: 700; line-height: 1;
  white-space: nowrap;
  color: rgba(255,255,255,.07); pointer-events: none; user-select: none;
}
.hero-trust, .hero-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13.5px; color: rgba(255,255,255,.72); }
.hero-trust span, .hero-meta .meta-item { display: inline-flex; align-items: center; gap: 7px; }
.hero-facts { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.fact {
  font-size: 12.5px; color: rgba(255,255,255,.88);
  border: 1px dashed rgba(255,255,255,.34); border-radius: 8px; padding: 4px 11px;
  display: inline-flex; gap: 6px; align-items: baseline;
}
.fact b { font-family: var(--num); font-size: 13.5px; color: #fff; }

/* 首屏计算器 */
.calc {
  background: var(--card); color: var(--text); border-radius: var(--radius-lg);
  padding: 18px; box-shadow: var(--shadow-md);
  display: grid; grid-template-columns: auto 1.25fr auto auto; gap: 10px; align-items: stretch;
}
.city-lock { display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); padding: 8px 16px 8px 8px; background: var(--blue-tint); }
.city-lock .seal { width: 38px; height: 38px; border-radius: 10px; }
.city-lock .cn { display: flex; flex-direction: column; line-height: 1.25; }
.city-lock .cn b { font-size: 16px; }
.city-lock .cn span { font-size: 11.5px; color: var(--muted); }
.calc .field { border: 1.5px solid var(--border); border-radius: var(--radius-sm); padding: 8px 14px; display: flex; flex-direction: column; gap: 1px; min-width: 0; background: var(--card); transition: border-color .2s; }
.calc .field:focus-within { border-color: var(--blue); }
.calc label { font-size: 12px; color: var(--muted); }
.calc select, .calc input { border: 0; outline: 0; background: transparent; font: inherit; font-size: 16px; font-weight: 700; color: var(--text); width: 100%; }
.calc .salary input { font-family: var(--num); font-size: 18px; letter-spacing: .02em; }
.calc .btn-go { border: 0; border-radius: var(--radius-sm); padding: 0 24px; background: var(--blue); color: #fff; font-size: 16px; font-weight: 700; transition: .2s; white-space: nowrap; }
.calc .btn-go:hover { background: var(--blue-deep); transform: translateY(-1px); }

/* ── 5. 工资条卡 ── */
.slip-wrap { position: relative; display: flex; justify-content: center; perspective: 900px; }
.slip-tilt { transform: rotate(2.4deg); transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.slip-wrap:hover .slip-tilt { transform: rotate(0deg) translateY(-4px); }
.slip { width: min(400px, 100%); filter: drop-shadow(0 22px 40px rgba(7,44,110,.45)); }
.slip-body { background: #fff; color: #1f2d3d; border-radius: 18px 18px 0 0; padding: 22px 24px 18px; }
.slip-edge { height: 12px; background: radial-gradient(circle at 11px 12px, transparent 6px, #fff 6.5px) repeat-x; background-size: 22px 12px; }
.slip-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; gap: 8px; }
.slip-head .t { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 15px; letter-spacing: .06em; }
.slip-head .t .sq { width: 26px; height: 26px; border-radius: 7px; background: var(--blue); color: #fff; display: grid; place-items: center; font-size: 13px; font-family: "Kaiti SC", "STKaiti", "KaiTi", serif; }
.slip-head .period { font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.slip-gross { display: flex; align-items: baseline; gap: 10px; padding: 12px 0 10px; border-bottom: 1.5px dashed var(--border); }
.slip-gross .lab { font-size: 13px; color: var(--muted); }
.slip-gross .val { font-family: var(--num); font-size: 30px; font-weight: 700; letter-spacing: .02em; }
.slip-gross .cur { font-size: 14px; color: var(--muted); }
.slip-rows { padding: 10px 0 12px; }
.slip-row { display: flex; align-items: baseline; font-size: 13.5px; padding: 4.5px 0; color: #47586c; }
[data-theme="dark"] .slip-row { color: #8fa0b5; }
.slip-row .dots { flex: 1; border-bottom: 1.5px dotted #d5dce6; margin: 0 10px; transform: translateY(-3px); }
.slip-row .v { font-family: var(--num); font-weight: 700; color: #1f2d3d; font-size: 14.5px; }
.slip-row .v.neg { color: var(--blue-deep); }
.slip-row .r { color: #8a97a8; font-size: 12px; margin-left: 6px; }
.slip-net { border-top: 1.5px dashed var(--border); padding-top: 12px; display: flex; align-items: center; justify-content: space-between; }
.slip-net .lab { font-size: 13px; color: var(--muted); }
.slip-net .val { font-family: var(--num); font-size: 34px; font-weight: 700; color: var(--green); letter-spacing: .02em; }
.slip-foot { background: #fff; border-radius: 0 0 18px 18px; margin-top: -1px; display: flex; align-items: center; justify-content: space-between; padding: 0 24px 16px; }
.slip-co { font-size: 12.5px; color: var(--muted); background: var(--blue-tint); border-radius: 999px; padding: 4px 12px; margin-bottom: 10px; display: inline-block; }
.slip-co b { font-family: var(--num); color: var(--blue-deep); }
.barcode {
  height: 30px; width: 132px; opacity: .82;
  background: repeating-linear-gradient(90deg,
    #1f2d3d 0 2px, transparent 2px 5px, #1f2d3d 5px 6px, transparent 6px 10px,
    #1f2d3d 10px 13px, transparent 13px 15px, #1f2d3d 15px 16px, transparent 16px 21px);
}
.slip-no { font-family: var(--num); font-size: 11px; letter-spacing: .1em; color: #9aa7b6; margin-top: 7px; }
.slip-foot .pdf { font-size: 12.5px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.pdf-btn { background: none; border: 0; padding: 0; font-size: 12.5px; color: var(--muted); display: flex; align-items: center; gap: 6px; cursor: pointer; }
.pdf-btn:hover { color: var(--blue); }
.stamp {
  position: absolute; top: -26px; right: -14px; z-index: 3;
  width: 88px; height: 88px; border-radius: 50%;
  border: 2.5px solid rgba(255,255,255,.9); outline: 1.5px solid rgba(255,255,255,.45); outline-offset: 3px;
  display: grid; place-items: center; text-align: center;
  color: #fff; font-size: 12.5px; font-weight: 800; line-height: 1.45; letter-spacing: .12em;
  transform: rotate(-12deg); background: rgba(255,255,255,.16); backdrop-filter: blur(2px);
}
.stamp small { display: block; font-weight: 600; font-size: 10.5px; letter-spacing: .2em; opacity: .85; }

/* ── 6. 统计上叠条 ── */
.stats-band { position: relative; z-index: 5; margin-top: -64px; }
.stats-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); overflow: hidden;
}
.stat { padding: 20px 26px; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 22%; height: 56%; width: 1px; background: var(--border); }
.stat .v { font-family: var(--num); font-size: 28px; font-weight: 700; color: var(--blue); line-height: 1.15; }
.stat .v small { font-size: 15px; font-weight: 700; margin-left: 2px; }
.stat .k { font-size: 13px; color: var(--muted); margin-top: 2px; }

/* ── 7. 区头 / 撕边 / 通用 ── */
.section { padding: 64px 0 0; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.sec-head h2 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 900; letter-spacing: .01em; }
.sec-head .desc { color: var(--muted); margin-top: 6px; font-size: 15px; }
.sec-side { flex-shrink: 0; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.chip { font-size: 12.5px; font-weight: 600; border-radius: 999px; padding: 3px 12px; background: var(--blue-tint); color: var(--blue-deep); }
.chip.gray { background: transparent; border: 1px solid var(--border); color: var(--muted); }
.tear { position: relative; border-top: 2px dashed var(--border); }
.tear::before, .tear::after {
  content: ""; position: absolute; top: -10px; width: 18px; height: 18px;
  border-radius: 50%; background: var(--bg); border: 1px solid var(--border);
}
.tear::before { left: -10px; }
.tear::after { right: -10px; }
.section .tear { margin-bottom: 34px; }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1.5px solid var(--border); border-radius: 999px; padding: 10px 26px;
  font-size: 14.5px; font-weight: 600; color: var(--text); background: var(--card); transition: .2s;
}
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px; border: 0; cursor: pointer;
  background: var(--blue); color: #fff; border-radius: 999px; padding: 10px 26px;
  font-size: 14.5px; font-weight: 700; transition: .2s;
}
.btn-primary:hover { background: var(--blue-deep); transform: translateY(-1px); }

/* ── 8. 印章城市格 ── */
.city-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.city-item {
  display: flex; align-items: center; gap: 12px; min-width: 0;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 13px 16px; transition: .22s; text-align: left;
}
.city-item:hover { border-color: var(--blue-tint-2); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.seal {
  width: 40px; height: 40px; border-radius: 11px; flex-shrink: 0;
  background: var(--blue-tint); color: var(--blue);
  display: grid; place-items: center; font-size: 18px; font-weight: 900;
  transition: .22s; font-family: "Kaiti SC", "STKaiti", "KaiTi", serif;
}
.city-item:hover .seal { background: var(--blue); color: #fff; }
.city-item .n { font-weight: 700; font-size: 15px; line-height: 1.3; }
.city-item > span:last-child { min-width: 0; }
.city-item .p { display: block; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.city-more { margin-top: 20px; text-align: center; }
/* 区县服务入口卡片（city-render.php 注入）：主链接 + 灵活就业/居民医保子链接 */
.city-item.district-item { flex-wrap: wrap; }
.district-item .district-main { display: flex; align-items: center; gap: 12px; min-width: 0; color: inherit; text-decoration: none; }
.district-item .district-links { display: flex; flex-direction: row; gap: 12px; width: 100%; padding-left: 52px; box-sizing: border-box; }
.district-item .district-links a { font-size: 12px; color: var(--blue); text-decoration: none; white-space: nowrap; }
.district-item .district-links a:hover { text-decoration: underline; }
.city-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.city-tab { border: 1.5px solid var(--border); background: var(--card); color: var(--muted); border-radius: 999px; padding: 7px 18px; font-size: 14px; transition: .2s; }
.city-tab:hover { border-color: var(--blue-tint-2); color: var(--text); }
.city-tab.on, .city-tab.active { background: var(--blue); border-color: var(--blue); color: #fff; font-weight: 600; }
.city-search { display: flex; align-items: center; gap: 8px; border: 1.5px solid var(--border); background: var(--card); border-radius: 999px; padding: 9px 18px; width: 280px; color: var(--muted); }
.city-search input { border: 0; outline: 0; background: transparent; font: inherit; color: var(--text); width: 100%; }
.city-empty { color: var(--muted); font-size: 14px; padding: 18px 4px; grid-column: 1/-1; }

/* ── 9. 实时滚动 ── */
.ticker { margin-top: 64px; }
.ticker-card { border: 1px solid var(--border); background: var(--card); border-radius: var(--radius); display: flex; align-items: center; overflow: hidden; }
.ticker-label { flex-shrink: 0; display: flex; align-items: center; gap: 8px; padding: 13px 18px; font-size: 13.5px; font-weight: 700; color: var(--blue); border-right: 1px solid var(--border); }
.ticker-label .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .35; } }
.ticker-view { overflow: hidden; flex: 1; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ticker-track { display: flex; gap: 44px; width: max-content; animation: roll 36s linear infinite; padding: 13px 0; }
.ticker-view:hover .ticker-track { animation-play-state: paused; }
@keyframes roll { to { transform: translateX(-50%); } }
.tk { font-size: 13.5px; color: var(--muted); white-space: nowrap; display: flex; gap: 8px; align-items: baseline; }
.tk b { font-family: var(--num); color: var(--text); font-weight: 700; }
.tk .arr { color: var(--green); }
.tk .ago { font-size: 12px; color: #97a4b4; }

/* ── 10. 基数速查表 ── */
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 26px; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.card-head h2 { font-size: 19px; font-weight: 800; }
.card-head .src { font-size: 13px; color: var(--muted); margin-top: 3px; display: flex; align-items: center; gap: 7px; }
.table-wrap { overflow-x: auto; }
table.base { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 780px; }
table.base thead th {
  text-align: right; font-size: 12.5px; color: var(--muted); font-weight: 600;
  padding: 12px 18px; background: color-mix(in srgb, var(--blue-tint) 46%, transparent);
  letter-spacing: .04em; white-space: nowrap;
}
table.base thead th:first-child { text-align: left; padding-left: 26px; }
table.base td { padding: 13px 18px; border-top: 1px solid var(--border); text-align: right; white-space: nowrap; }
table.base td:first-child { text-align: left; padding-left: 26px; }
table.base tbody tr { transition: background .15s; }
table.base tbody tr:hover { background: color-mix(in srgb, var(--blue-tint) 34%, transparent); }
table.base .money { font-family: var(--num); font-weight: 700; }
table.base .money.min { color: var(--muted); font-weight: 600; }
.tcity { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.tcity .mini-seal {
  width: 26px; height: 26px; border-radius: 7px; background: var(--blue-tint); color: var(--blue);
  display: grid; place-items: center; font-size: 13px; font-weight: 900;
  font-family: "Kaiti SC", "STKaiti", "KaiTi", serif;
}
.tcity:hover { color: var(--blue); }
.year-pill { font-size: 12px; font-weight: 700; border-radius: 999px; padding: 2px 10px; }
.year-pill.y26 { background: var(--blue); color: #fff; }
.year-pill.def { border: 1px solid var(--border); color: var(--muted); }
.card-foot { padding: 14px 26px; border-top: 1px solid var(--border); font-size: 13px; color: var(--muted); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ── 11. 险种卡 / 比例胶囊 ── */
.ratio-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.ratio-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; transition: .22s; position: relative; overflow: hidden; }
.ratio-card::after {
  content: attr(data-i); position: absolute; right: 14px; top: 2px;
  font-family: var(--num); font-size: 52px; font-weight: 700;
  color: var(--blue-tint); line-height: 1;
}
[data-theme="dark"] .ratio-card::after { opacity: .6; }
.ratio-card:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); border-color: var(--blue-tint-2); }
.ratio-card .ic { width: 42px; height: 42px; border-radius: 12px; background: var(--blue-tint); color: var(--blue); display: grid; place-items: center; margin-bottom: 14px; }
.ratio-card h3 { font-size: 16.5px; font-weight: 800; margin-bottom: 10px; }
.ratio-card .pcts { display: flex; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }
.pct { font-size: 12.5px; border-radius: 8px; padding: 4px 10px; background: var(--bg); border: 1px solid var(--border); color: var(--muted); }
.pct b { font-family: var(--num); font-size: 14.5px; color: var(--text); margin-left: 4px; }
.pct.hl { background: var(--blue-tint); border-color: transparent; color: var(--blue-deep); }
.pct.hl b { color: var(--blue-deep); }
.ratio-card p { font-size: 13px; color: var(--muted); line-height: 1.6; }
.ratio-strip { display: flex; flex-wrap: wrap; gap: 10px; }
.ratio-pill { display: flex; align-items: center; gap: 10px; background: var(--card); border: 1px solid var(--border); border-radius: 999px; padding: 8px 16px 8px 8px; font-size: 13.5px; transition: .2s; }
.ratio-pill:hover { border-color: var(--blue-tint-2); box-shadow: var(--shadow-sm); }
.ratio-pill .tag { width: 34px; height: 34px; border-radius: 50%; background: var(--blue-tint); color: var(--blue); display: grid; place-items: center; font-size: 12px; font-weight: 800; }
.ratio-pill b { font-family: var(--num); }
.ratio-pill .u { color: var(--muted); font-size: 12px; }

/* ── 12. 杂志指南 ── */
.guides { border-top: 1px solid var(--border); }
.guide-item { display: grid; grid-template-columns: 88px 1fr; gap: 18px; padding: 26px 6px; border-bottom: 1px solid var(--border); transition: .2s; border-radius: 6px; }
.guide-item:hover { background: color-mix(in srgb, var(--blue-tint) 30%, transparent); }
.guide-item .no { font-family: var(--num); font-size: 40px; font-weight: 700; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--blue); opacity: .85; transform: translateY(3px); }
.guide-item h3 { font-size: 16.5px; font-weight: 800; margin-bottom: 6px; }
.guide-item h3 a:hover { color: var(--blue); }
.guide-item p { font-size: 13.8px; color: var(--muted); }

/* ── 13. 资讯 ── */
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.news-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 22px; display: flex; gap: 18px; transition: .22s; }
.news-card:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); border-color: var(--blue-tint-2); }
.news-date { text-align: center; flex-shrink: 0; width: 52px; border-right: 1.5px dashed var(--border); padding-right: 14px; }
.news-date .d { font-family: var(--num); font-size: 27px; font-weight: 700; color: var(--blue); line-height: 1.1; }
.news-date .m { font-size: 11.5px; color: var(--muted); letter-spacing: .08em; }
.news-card h3 { font-size: 14.8px; font-weight: 700; line-height: 1.5; margin: 6px 0 8px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-card h3 a:hover { color: var(--blue); }
.news-card .from { font-size: 12px; color: var(--muted); }

/* 资讯列表页：一行一条 */
.news-rows { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.news-row {
  display: flex; align-items: center; gap: 20px; min-width: 0;
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 18px 22px;
  transition: .22s;
}
.news-row:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); border-color: var(--blue-tint-2); }
.news-row.is-top { border-color: color-mix(in srgb, var(--blue) 30%, var(--border)); }
.news-row .news-date {
  flex-shrink: 0; width: 64px; text-align: center;
  background: var(--blue-tint); color: var(--blue-deep);
  border-radius: var(--radius-sm); padding: 10px 6px 8px;
  border-right: none; padding-right: 6px;
}
.news-row .news-date .d { font-family: var(--num); font-size: 24px; font-weight: 700; color: inherit; line-height: 1.1; }
.news-row .news-date .m { font-size: 11px; color: inherit; opacity: .75; letter-spacing: .08em; }
.news-row.is-top .news-date { background: var(--blue); color: #fff; }
.news-row-main { flex: 1; min-width: 0; }
.news-row-title { font-size: 16.5px; font-weight: 800; line-height: 1.5; margin: 0 0 6px; display: flex; align-items: center; gap: 8px; }
.news-row-title a { color: var(--text); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.news-row-title a:hover { color: var(--blue); }
.news-top-badge { flex-shrink: 0; font-size: 11px; font-weight: 700; color: #fff; background: #e5484d; border-radius: 5px; padding: 2px 8px; letter-spacing: .15em; }
.news-row-summary {
  font-size: 13.5px; color: var(--muted); margin: 0 0 10px; line-height: 1.7;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.news-row-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 16px; font-size: 12.5px; color: var(--muted); }
.news-row-meta .chip { padding: 2px 10px; font-size: 11.5px; }
.news-row-meta-item { display: inline-flex; align-items: center; gap: 5px; }
.news-row-meta-item svg { width: 13px; height: 13px; opacity: .8; flex-shrink: 0; }
.news-row-go {
  flex-shrink: 0; display: inline-flex; align-items: center; gap: 5px;
  font-size: 13px; font-weight: 600; color: var(--blue-deep);
  background: var(--blue-tint); border: 1px solid var(--blue-tint-2);
  border-radius: 999px; padding: 8px 16px; transition: .2s;
}
.news-row-go:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
@media (max-width: 720px) {
  .news-row { padding: 14px 16px; gap: 14px; }
  .news-row .news-date { width: 52px; padding: 8px 4px 6px; }
  .news-row .news-date .d { font-size: 20px; }
  .news-row-title { font-size: 15px; }
  .news-row-summary { -webkit-line-clamp: 1; font-size: 12.5px; margin-bottom: 8px; }
  .news-row-go { display: none; }
  .news-row-meta { gap: 4px 10px; }
}

/* ── 14. FAQ ── */
.faq-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0 48px; align-items: start; }
details.faq { border-bottom: 1px solid var(--border); }
details.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 17px 4px; font-size: 15.5px; font-weight: 700; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary .pm { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--border); display: grid; place-items: center; color: var(--blue); font-size: 15px; transition: .25s; font-weight: 600; }
details.faq[open] summary .pm { transform: rotate(45deg); background: var(--blue); border-color: var(--blue); color: #fff; }
details.faq .a { padding: 0 40px 18px 4px; font-size: 14px; color: var(--muted); }

/* ── 15. CTA ── */
.cta-band {
  border-radius: var(--radius-lg); overflow: hidden; position: relative; color: #fff;
  background:
    radial-gradient(700px 300px at 90% -20%, rgba(214,228,255,.2), transparent 60%),
    linear-gradient(120deg, var(--navy-800) 0%, var(--blue-deep) 58%, var(--blue) 100%);
  padding: 46px 52px; display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.cta-band h2 { font-size: clamp(20px, 2.4vw, 27px); font-weight: 900; margin-bottom: 8px; }
.cta-band p { color: rgba(255,255,255,.78); font-size: 14.5px; }
.cta-band .barcode { opacity: .5; position: absolute; right: 40px; bottom: 22px; height: 22px; width: 200px; }
.btn-white { flex-shrink: 0; background: #fff; color: var(--blue-deep); border: 0; border-radius: 999px; padding: 14px 34px; font-size: 15.5px; font-weight: 800; transition: .2s; }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0,0,0,.28); }

/* ── 16. 基数档案卡 ── */
.archive { display: grid; grid-template-columns: 96px minmax(0,1fr) auto; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden; }
.archive-stub { border-right: 2px dashed var(--border); position: relative; background: color-mix(in srgb, var(--blue-tint) 55%, transparent); display: flex; align-items: center; justify-content: center; padding: 24px 0; }
.archive-stub::before, .archive-stub::after { content: ""; position: absolute; right: -11px; width: 20px; height: 20px; border-radius: 50%; background: var(--bg); border: 1px solid var(--border); z-index: 2; }
.archive-stub::before { top: -11px; }
.archive-stub::after { bottom: -11px; }
.archive-stub .vert { writing-mode: vertical-rl; letter-spacing: .3em; font-family: var(--num); font-size: 13px; font-weight: 700; color: var(--blue); }
.archive-body { padding: 26px 30px; min-width: 0; }
.archive-body h3 { font-size: 19px; font-weight: 900; margin-bottom: 4px; }
.archive-body .src-line { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.arc-rows { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 6px 36px; }
.arc-row { display: flex; align-items: baseline; font-size: 13.5px; color: #47586c; padding: 5px 0; }
[data-theme="dark"] .arc-row { color: #a9b7c8; }
.arc-row .dots { flex: 1; border-bottom: 1.5px dotted var(--border); margin: 0 10px; transform: translateY(-3px); }
.arc-row .v { font-family: var(--num); font-weight: 700; color: var(--text); font-size: 14.5px; white-space: nowrap; }
.arc-row .v.txt { font-family: inherit; font-weight: 600; font-size: 13px; }
.archive-side { padding: 26px 28px; border-left: 1px solid var(--border); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; min-width: 190px; }
.check-seal {
  width: 92px; height: 92px; border-radius: 50%;
  border: 2.5px solid var(--blue); outline: 1.5px solid var(--blue-tint-2); outline-offset: 3px;
  display: grid; place-items: center; text-align: center;
  color: var(--blue); font-size: 12.5px; font-weight: 800; line-height: 1.45; letter-spacing: .12em;
  transform: rotate(-10deg); background: color-mix(in srgb, var(--blue-tint) 60%, transparent);
}
.check-seal small { display: block; font-weight: 600; font-size: 10.5px; letter-spacing: .2em; opacity: .8; }
.archive-side .when { font-size: 12.5px; color: var(--muted); }
.archive-side .when b { font-family: var(--num); }

/* ── 17. 汇缴明细收据 ── */
.receipt { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden; }
.receipt-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 26px; border-bottom: 1.5px dashed var(--border); flex-wrap: wrap; }
.receipt-head h2 { font-size: 19px; font-weight: 800; display: flex; align-items: center; gap: 10px; }
.receipt-head h2 .sq { width: 26px; height: 26px; border-radius: 7px; background: var(--blue); color: #fff; display: grid; place-items: center; font-size: 13px; font-family: "Kaiti SC", "STKaiti", "KaiTi", serif; }
.receipt-head .src { font-size: 13px; color: var(--muted); margin-top: 3px; }
table.detail { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 640px; }
table.detail thead th {
  text-align: right; font-size: 12.5px; color: var(--muted); font-weight: 600;
  padding: 12px 18px; background: color-mix(in srgb, var(--blue-tint) 46%, transparent); letter-spacing: .04em; white-space: nowrap;
}
table.detail thead th:first-child { text-align: left; padding-left: 26px; }
table.detail td { padding: 12px 18px; border-top: 1px solid var(--border); text-align: right; white-space: nowrap; }
table.detail td:first-child { text-align: left; padding-left: 26px; font-weight: 600; }
table.detail td .rate { font-size: 12px; color: #97a4b4; margin-left: 8px; font-family: var(--num); }
table.detail .money { font-family: var(--num); font-weight: 700; }
table.detail td.zero { color: #a5b1c0; font-weight: 600; }
table.detail tfoot td { border-top: 2px dashed var(--border); font-weight: 800; padding: 14px 18px; }
table.detail tfoot td:first-child { color: var(--blue-deep); }
table.detail tfoot .money { color: var(--blue-deep); font-size: 15.5px; }
.receipt-foot { padding: 13px 26px; font-size: 12.5px; color: var(--muted); border-top: 1px solid var(--border); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ── 18. 工资去向条 ── */
.flow-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; padding: 22px 26px 26px; }
.flow-card { border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; background: var(--bg); }
[data-theme="dark"] .flow-card { background: color-mix(in srgb, var(--card) 60%, var(--bg)); }
.flow-card h3 { font-size: 14.5px; font-weight: 800; margin-bottom: 14px; display: flex; align-items: center; justify-content: space-between; }
.flow-card h3 .sum { font-family: var(--num); font-size: 13px; color: var(--muted); font-weight: 600; }
.flow-bar { display: flex; height: 36px; border-radius: 9px; overflow: hidden; background: color-mix(in srgb, var(--blue-tint) 30%, transparent); }
.flow-bar span { display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: #fff; min-width: 0; overflow: hidden; white-space: nowrap; transition: width .45s cubic-bezier(.2,.7,.2,1); }
.flow-bar span.seg-sm { color: transparent; }
.seg-net { background: var(--green); }
.seg-soc { background: var(--blue); }
.seg-tax { background: #1f2d3d; }
.seg-gross { background: var(--blue-tint-2); color: var(--navy-800) !important; }
.seg-unit { background: var(--blue-deep); }
.flow-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 12px; font-size: 12.5px; color: var(--muted); }
.flow-legend i { width: 9px; height: 9px; border-radius: 3px; display: inline-block; margin-right: 6px; }
.flow-legend b { font-family: var(--num); color: var(--text); }
.flow-note { padding: 0 26px 22px; font-size: 13px; color: var(--muted); }
.flow-note b { font-family: var(--num); color: var(--blue-deep); }

/* ── 19. 环形图 ── */
.charts-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; padding: 0 26px 24px; }
.chart-card { border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; background: var(--bg); }
[data-theme="dark"] .chart-card { background: color-mix(in srgb, var(--card) 60%, var(--bg)); }
.chart-card h3 { font-size: 14.5px; font-weight: 800; margin-bottom: 14px; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.chart-card h3 .sum { font-family: var(--num); font-size: 13px; color: var(--muted); font-weight: 600; }
.chart-flex { display: flex; flex-direction: column; gap: 16px; }
.donut-box { position: relative; width: 178px; flex-shrink: 0; margin: 0 auto; }
.donut { width: 100%; height: auto; display: block; }
.donut-seg { transition: stroke-width .2s; cursor: pointer; }
.donut-seg.hl, .donut-seg:hover { stroke-width: 40; }
.donut-center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; pointer-events: none; }
.donut-center small { display: block; font-size: 12px; color: var(--muted); }
.donut-center b { font-family: var(--num); font-size: 19px; letter-spacing: .02em; }
.donut-legend { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 14px; }
.donut-legend li { display: flex; align-items: center; gap: 7px; font-size: 12.5px; padding: 3px 8px; border-radius: 6px; transition: background .15s; }
.donut-legend li.hl { background: color-mix(in srgb, var(--blue-tint) 55%, transparent); }
.donut-legend li i { width: 9px; height: 9px; border-radius: 3px; flex-shrink: 0; }
.donut-legend li span { color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.donut-legend li b { font-family: var(--num); font-weight: 700; white-space: nowrap; }
.donut-legend li em { font-style: normal; margin-left: auto; font-family: var(--num); color: var(--muted); font-size: 11.5px; }
.donut-legend .donut-note { color: var(--muted); font-size: 12.5px; justify-content: center; padding: 10px 4px; }

/* ── 20. E-E-A-T ── */
.eeat-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.eeat-col { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px 24px; box-shadow: var(--shadow-sm); }
.eeat-col > h3 { font-size: 16px; font-weight: 800; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.eeat-col > h3 .sq { width: 26px; height: 26px; border-radius: 8px; background: var(--blue-tint); color: var(--blue); display: grid; place-items: center; font-size: 12px; font-weight: 800; }
.verify-steps { list-style: none; counter-reset: step; }
.verify-steps li { counter-increment: step; position: relative; padding: 0 0 18px 48px; }
.verify-steps li::before {
  content: "0" counter(step);
  position: absolute; left: 0; top: 0;
  font-family: var(--num); font-size: 12.5px; font-weight: 700; color: var(--blue);
  border: 1.5px solid var(--blue-tint-2); background: var(--blue-tint);
  border-radius: 8px; padding: 3px 7px;
}
.verify-steps li::after { content: ""; position: absolute; left: 17px; top: 32px; bottom: 4px; border-left: 2px dashed var(--border); }
.verify-steps li:last-child { padding-bottom: 0; }
.verify-steps li:last-child::after { display: none; }
.verify-steps li b { display: block; font-size: 14.5px; margin-bottom: 2px; }
.verify-steps li span { font-size: 13px; color: var(--muted); }
.cite-card { background: var(--bg); border: 1px solid var(--border); border-left: 3px solid var(--blue); border-radius: 10px; padding: 12px 16px; font-size: 13.5px; font-weight: 600; margin-bottom: 10px; }
.cite-card span { display: block; font-family: var(--num); font-weight: 600; font-size: 12px; color: var(--muted); margin-top: 3px; letter-spacing: .04em; }
.law-line { font-size: 12.5px; color: var(--muted); margin-top: 14px; line-height: 1.8; }
.official-row { display: flex; align-items: center; gap: 10px 16px; flex-wrap: wrap; margin-top: 16px; }
.official-row .lab { font-size: 12.5px; color: var(--muted); }
.official-row a { font-size: 13.5px; color: var(--blue); }
.official-row a:hover { color: var(--blue-deep); }
.ledger { margin-top: 16px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.ledger-head { display: flex; justify-content: space-between; gap: 12px; padding: 16px 22px; border-bottom: 1.5px dashed var(--border); flex-wrap: wrap; align-items: baseline; }
.ledger-head h3 { font-size: 15.5px; font-weight: 800; }
.ledger-head .who { font-size: 12.5px; color: var(--muted); }
.ledger-wrap { overflow-x: auto; }
table.ledger-t { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 560px; }
table.ledger-t th { text-align: left; font-size: 12px; color: var(--muted); font-weight: 600; padding: 10px 22px; background: color-mix(in srgb, var(--blue-tint) 46%, transparent); white-space: nowrap; }
table.ledger-t td { padding: 11px 22px; border-top: 1px solid var(--border); vertical-align: top; }
table.ledger-t td.d { font-family: var(--num); white-space: nowrap; color: var(--blue-deep); font-weight: 700; }
table.ledger-t td.who { color: var(--muted); font-size: 12.5px; white-space: nowrap; }
.eeat-disclaimer { margin-top: 14px; padding-top: 12px; border-top: 2px dashed var(--border); font-size: 12.5px; color: var(--muted); }

/* ── 21. 评论 ── */
.cmt-list { display: grid; gap: 12px; margin-bottom: 18px; }
.cmt { display: flex; gap: 14px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px; }
.cmt-avatar { width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0; color: #fff; display: grid; place-items: center; font-size: 17px; font-weight: 800; font-family: "Kaiti SC", "STKaiti", "KaiTi", serif; }
.cmt-main { flex: 1; min-width: 0; }
.cmt-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 4px; }
.cmt-meta b { font-size: 14.5px; }
.cmt-meta .tag { font-size: 11.5px; background: var(--blue-tint); color: var(--blue-deep); border-radius: 999px; padding: 1px 9px; }
.cmt-meta time { font-size: 12px; color: var(--muted); margin-left: auto; }
.cmt-main p { font-size: 14px; color: #47586c; }
[data-theme="dark"] .cmt-main p { color: #a9b7c8; }
.cmt-actions { margin-top: 8px; }
.like-btn { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; border: 1px solid var(--border); background: transparent; color: var(--muted); border-radius: 999px; padding: 4px 12px; transition: .2s; cursor: pointer; }
.like-btn:hover { border-color: var(--blue); color: var(--blue); }
.like-btn.done { background: var(--blue-tint); border-color: transparent; color: var(--blue-deep); }
.cmt-form { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px 22px; box-shadow: var(--shadow-sm); }
.cmt-form h3 { font-size: 15.5px; font-weight: 800; margin-bottom: 12px; }
.cmt-form input, .cmt-form textarea, .fb-form input, .fb-form select, .fb-form textarea {
  font: inherit; font-size: 14px; color: var(--text); background: var(--card);
  border: 1.5px solid var(--border); border-radius: var(--radius-sm); padding: 10px 14px; outline: 0; width: 100%;
  transition: border-color .2s;
}
.cmt-form input:focus, .cmt-form textarea:focus, .fb-form input:focus, .fb-form select:focus, .fb-form textarea:focus { border-color: var(--blue); }
.cmt-form textarea, .fb-form textarea { min-height: 88px; resize: vertical; }
.cmt-form-row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 10px; margin-bottom: 10px; }
.cmt-form-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; flex-wrap: wrap; }
.cmt-form-foot .hint { font-size: 12px; color: var(--muted); }

/* ── 22. 分享条 ── */
.share-strip {
  margin-top: 40px; border-radius: var(--radius-lg); color: #fff;
  background: linear-gradient(120deg, var(--navy-800), var(--blue-deep) 65%, var(--blue));
  padding: 26px 30px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  position: relative;
}
.share-strip h3 { font-size: 18px; font-weight: 900; margin-bottom: 4px; }
.share-strip p { font-size: 13px; color: rgba(255,255,255,.75); }
.share-actions { display: flex; gap: 10px; flex-wrap: wrap; position: relative; }
.share-btn { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; background: #fff; color: var(--navy-800); border: 0; border-radius: 999px; padding: 10px 20px; font-size: 14px; font-weight: 700; transition: .2s; }
.share-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.22); }
.share-btn .glyph { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 11px; font-weight: 800; }
.qr-wrap { position: relative; }
.qr-pop { position: absolute; bottom: calc(100% + 12px); right: 0; z-index: 60; background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 14px; box-shadow: var(--shadow-md); display: none; text-align: center; color: var(--text); }
.qr-pop.open { display: block; }
.qr-pop canvas { width: 132px; height: 132px; border-radius: 8px; display: block; }
.qr-pop p { font-size: 11.5px; color: var(--muted); margin-top: 8px; max-width: 132px; }

/* ── 23. 留言反馈 ── */
.fb-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px 24px; box-shadow: var(--shadow-sm); }
.fb-form-row { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; margin-bottom: 10px; }
.fb-form-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; flex-wrap: wrap; }
.fb-form-foot .alt { font-size: 13px; color: var(--muted); }

/* ── 24. 图片验证码 ── */
.captcha-row { display: flex; align-items: center; gap: 10px; margin: 10px 0 2px; flex-wrap: wrap; }
.captcha-input { flex: 1 1 150px; min-width: 0; }
.captcha-box { display: flex; align-items: center; gap: 6px; flex-shrink: 0; border: 1.5px solid var(--border); border-radius: var(--radius-sm); padding: 5px 8px; background: var(--card); user-select: none; }
.captcha-box canvas { width: 100px; height: 34px; display: block; border-radius: 6px; }
.captcha-img { width: 100px; height: 34px; display: block; border-radius: 6px; cursor: pointer; }
.captcha-refresh { border: 0; background: none; color: var(--blue); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; transition: transform .3s, background .2s; }
.captcha-refresh:hover { background: var(--blue-tint); transform: rotate(180deg); }

/* ── 25. 页脚（纯蓝 · 紧凑）── */
.site-footer { margin-top: 88px; background: var(--blue-deep); color: rgba(255,255,255,.85); }
.footer-main { max-width: 1200px; margin: 0 auto; padding: 32px 24px 24px; display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
.site-footer h4 { color: #fff; font-size: 16px; }
.site-footer h5 { color: #fff; font-size: 13px; letter-spacing: .1em; margin-bottom: 10px; }
.f-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.f-brand .mark { width: 34px; height: 34px; border-radius: 9px; background: var(--navy-800); display: grid; place-items: center; color: #fff; }
.f-desc { font-size: 13px; color: rgba(255,255,255,.72); line-height: 1.7; max-width: 30em; }
.f-links { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13.5px; }
.f-links a:hover { color: #fff; }
.f-contact { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; color: rgba(255,255,255,.72); margin-top: 12px; }
.f-contact a:hover { color: #fff; }
.footer-bar { border-top: 1px solid rgba(255,255,255,.18); }
.footer-bar-in { max-width: 1200px; margin: 0 auto; padding: 13px 24px; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 12.5px; color: rgba(255,255,255,.62); }
.footer-bar-in a:hover { color: #fff; }
.f-disclaimer { text-align: center; font-size: 12px; color: rgba(255,255,255,.5); padding: 0 24px 16px; }

/* ── 26. 浮动工具条 / Toast ── */
.float-bar { position: fixed; right: 22px; bottom: 26px; z-index: 300; display: flex; flex-direction: column; gap: 10px; }
.float-btn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--border); background: var(--card); color: var(--muted); box-shadow: var(--shadow-sm); display: grid; place-items: center; transition: .2s; }
.float-btn:hover { color: var(--blue); transform: translateY(-2px); }
.toast { position: fixed; left: 50%; bottom: 96px; transform: translate(-50%, 16px); background: var(--navy-900); color: #fff; font-size: 14px; border-radius: 999px; padding: 11px 24px; box-shadow: var(--shadow-md); opacity: 0; pointer-events: none; transition: .3s; z-index: 400; max-width: 86vw; text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ── 27. 旧类名映射（渐进覆盖未重写页面）── */
/* 资讯列表/详情 */
.news-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 20px; align-items: start; }
@media (max-width: 1024px) { .news-layout { grid-template-columns: minmax(0, 1fr); } }
.filter-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-tab { display: inline-flex; align-items: center; gap: 6px; border: 1.5px solid var(--border); background: var(--card); color: var(--muted); border-radius: 999px; padding: 7px 16px; font-size: 14px; transition: .2s; }
.filter-tab:hover, .filter-tab.active { background: var(--blue); border-color: var(--blue); color: #fff; }
.nav-list { display: grid; gap: 8px; padding: 6px 18px 18px; }
.pill-link { display: block; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 10px 14px; transition: .2s; }
.pill-link:hover { border-color: var(--blue-tint-2); box-shadow: var(--shadow-sm); }
.pill-title { font-weight: 700; font-size: 14.5px; }
.pill-desc { font-size: 12px; color: var(--muted); }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; padding: 6px 18px 18px; }
.tag-cloud .tag { font-size: 12.5px; font-weight: 600; border-radius: 999px; padding: 3px 12px; background: var(--blue-tint); color: var(--blue-deep); }
.news-detail-wrap { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px 36px; box-shadow: var(--shadow-sm); }

/* ── 文章头部：分类 / 标题 / 元信息 ── */
.article-header-top { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.article-category {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .3px;
  border-radius: 999px; padding: 5px 14px;
  background: linear-gradient(135deg, var(--blue-tint), var(--blue-tint-2));
  color: var(--blue-deep);
  border: 1px solid color-mix(in srgb, var(--blue) 16%, transparent);
  transition: .2s;
}
.article-category svg { width: 13px; height: 13px; }
.article-category:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.article-title { font-size: clamp(22px, 3vw, 30px); font-weight: 900; line-height: 1.4; margin-bottom: 16px; letter-spacing: .2px; }
.article-meta {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 8px 0; padding: 11px 16px;
  background: color-mix(in srgb, var(--bg) 65%, transparent);
  border: 1px solid var(--border); border-radius: var(--radius);
  margin-bottom: 22px;
}
.article-meta-item { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--muted); }
.article-meta-item + .article-meta-item::before { content: ""; width: 1px; height: 12px; background: var(--border); margin: 0 14px; }
.article-meta-item svg { width: 14px; height: 14px; color: var(--blue); flex-shrink: 0; }
.article-meta-item time { font-variant-numeric: tabular-nums; }
.article-content { font-size: 15px; line-height: 1.9; }
.article-content h2, .article-content h3 { font-weight: 800; margin: 20px 0 8px; }
.article-content p { margin-bottom: 12px; }
.article-content table { width: 100%; border-collapse: collapse; margin: 12px 0; }
.article-content table th, .article-content table td { border: 1px solid var(--border); padding: 8px 12px; font-size: 13.5px; }
.article-content table th { background: color-mix(in srgb, var(--blue-tint) 46%, transparent); }

/* ── 社会化分享模块 ── */
.article-share {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px 18px;
  margin-top: 26px; padding: 14px 18px;
  background: color-mix(in srgb, var(--bg) 65%, transparent);
  border: 1px solid var(--border); border-radius: var(--radius);
}
.article-share-label { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 800; color: var(--text); }
.article-share-label svg { width: 15px; height: 15px; color: var(--blue); }
.article-share-btns { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.share-divider { width: 1px; height: 16px; background: var(--border); margin: 0 2px; }
.share-btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: inherit; font-size: 12.5px; font-weight: 600; line-height: 1.4;
  border-radius: 999px; padding: 6px 14px; cursor: pointer;
  border: 1px solid var(--border); background: var(--card); color: var(--muted);
  transition: .2s;
}
.share-btn svg { width: 14px; height: 14px; flex-shrink: 0; }
.share-btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.share-btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.share-btn.wechat { color: #07c160; border-color: color-mix(in srgb, #07c160 35%, transparent); background: color-mix(in srgb, #07c160 8%, var(--card)); }
.share-btn.wechat:hover { background: #07c160; border-color: #07c160; color: #fff; }
.share-btn.weibo { color: #e6162d; border-color: color-mix(in srgb, #e6162d 35%, transparent); background: color-mix(in srgb, #e6162d 8%, var(--card)); }
.share-btn.weibo:hover { background: #e6162d; border-color: #e6162d; color: #fff; }
.share-btn.qq { color: #12b7f5; border-color: color-mix(in srgb, #12b7f5 35%, transparent); background: color-mix(in srgb, #12b7f5 8%, var(--card)); }
.share-btn.qq:hover { background: #12b7f5; border-color: #12b7f5; color: #fff; }
.share-btn.qzone { color: #f59e0b; border-color: color-mix(in srgb, #f59e0b 35%, transparent); background: color-mix(in srgb, #f59e0b 8%, var(--card)); }
.share-btn.qzone:hover { background: #f59e0b; border-color: #f59e0b; color: #fff; }
.share-btn.copy { color: var(--blue-deep); border-color: color-mix(in srgb, var(--blue) 35%, transparent); background: color-mix(in srgb, var(--blue) 8%, var(--card)); }
.share-btn.copy:hover { background: var(--blue); border-color: var(--blue); color: #fff; }

/* 微信二维码弹层 */
.share-qr-wrap { position: relative; display: inline-flex; }
.share-qr-pop {
  position: absolute; top: calc(100% + 10px); left: 0; z-index: 60;
  display: none; flex-direction: column; align-items: center; gap: 8px;
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 14px 14px 10px;
  box-shadow: var(--shadow-md);
}
.share-qr-pop.open { display: flex; }
.share-qr-pop::before {
  content: ""; position: absolute; top: -5px; left: 24px;
  width: 9px; height: 9px; background: var(--card);
  border-left: 1px solid var(--border); border-top: 1px solid var(--border);
  transform: rotate(45deg);
}
.share-qr-pop canvas { width: 168px; height: 168px; display: block; border-radius: 6px; }
.share-qr-tip { font-size: 12px; color: var(--muted); text-align: center; line-height: 1.6; }
@media (max-width: 640px) {
  .share-qr-pop { left: 50%; transform: translateX(-50%); }
  .share-qr-pop::before { left: 50%; margin-left: -4.5px; }
}

/* ── 文章页脚：来源 / 免责声明 ── */
.article-footer { margin-top: 22px; padding-top: 16px; border-top: 1.5px dashed var(--border); display: grid; gap: 12px; }
.article-source { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); flex-wrap: wrap; }
.article-source svg { width: 14px; height: 14px; flex-shrink: 0; color: var(--blue); }
.article-source a { color: var(--blue); }
.article-disclaimer {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 12.5px; color: var(--muted); line-height: 1.75;
  background: color-mix(in srgb, var(--blue-tint) 55%, transparent);
  border: 1px solid color-mix(in srgb, var(--blue) 14%, transparent);
  border-left: 3px solid var(--blue);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
}
.article-disclaimer svg { flex-shrink: 0; width: 15px; height: 15px; color: var(--blue); margin-top: 2.5px; }
.article-disclaimer strong { color: var(--blue-deep); font-weight: 700; }
@media (max-width: 560px) {
  .news-detail-wrap { padding: 22px 18px; }
  .article-meta { gap: 8px 14px; padding: 10px 12px; }
  .article-meta-item + .article-meta-item::before { display: none; }
}
.article-nav { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; margin-top: 18px; }
.article-nav-item { border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; transition: .2s; }
.article-nav-item:hover { border-color: var(--blue-tint-2); box-shadow: var(--shadow-sm); }
.article-nav-item.next { text-align: right; }
.article-nav-label { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.article-nav-item.next .article-nav-label { justify-content: flex-end; }
.article-nav-title { font-size: 13.5px; font-weight: 700; color: var(--text); }
.card-body { padding: 6px 18px 18px; }
.card-cta .cta-content { padding: 20px 22px; display: grid; gap: 8px; justify-items: start; }
.card-cta h3 { font-size: 16px; font-weight: 800; }
.card-cta p { font-size: 13px; color: var(--muted); }

.hero .hero-title { margin-bottom: 16px; }
.hero .hero-desc { margin-bottom: 24px; }
.trust-item, .meta-item { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; color: rgba(255,255,255,.78); }
.card.card-primary { border-radius: var(--radius-lg); }
.card-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 26px; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.card-header-left { display: flex; align-items: center; gap: 12px; }
.card-icon { flex-shrink: 0; }
.card-header-desc { font-size: 13px; color: var(--muted); margin-top: 3px; }
.card-badge { font-size: 12px; font-weight: 600; border-radius: 999px; padding: 3px 12px; background: var(--blue-tint); color: var(--blue-deep); }
.card-footer { padding: 14px 26px; border-top: 1px solid var(--border); font-size: 13px; color: var(--muted); }
.card .data-source { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--muted); }
.table-wrapper { overflow-x: auto; }
.data-table, table.data-table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 720px; }
.data-table thead th { text-align: right; font-size: 12.5px; color: var(--muted); font-weight: 600; padding: 12px 18px; background: color-mix(in srgb, var(--blue-tint) 46%, transparent); white-space: nowrap; }
.data-table thead th:first-child { text-align: left; padding-left: 26px; }
.data-table td { padding: 13px 18px; border-top: 1px solid var(--border); text-align: right; white-space: nowrap; }
.data-table td:first-child { text-align: left; padding-left: 26px; font-weight: 600; }
.data-table tbody tr:hover { background: color-mix(in srgb, var(--blue-tint) 34%, transparent); }
.data-table td.num, .data-table .num { font-family: var(--num); font-weight: 700; }
.grid-2col { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.record-list { display: grid; gap: 8px; padding: 6px 20px 20px; }
.record-item { display: flex; align-items: baseline; gap: 10px; font-size: 13.5px; color: var(--muted); padding: 10px 12px; border-radius: 10px; transition: .15s; }
.record-item:hover { background: color-mix(in srgb, var(--blue-tint) 34%, transparent); }
.record-city { font-weight: 800; color: var(--text); }
.record-data strong { font-family: var(--num); color: var(--blue-deep); }
.record-time { margin-left: auto; font-size: 12px; color: #97a4b4; }
.loading-placeholder { padding: 60px 20px; text-align: center; color: var(--muted); font-size: 14px; }
.map-controls { display: flex; gap: 6px; }
.map-btn { width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--border); background: var(--card); color: var(--muted); display: grid; place-items: center; }
.map-btn:hover { color: var(--blue); border-color: var(--blue-tint-2); }
#map-chart { height: 420px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: rgba(255,255,255,.75); margin-bottom: 18px; flex-wrap: wrap; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb [aria-current="page"] { color: #fff; font-weight: 700; }
.section-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.section-header h2 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 900; }
.link-more { display: inline-flex; align-items: center; gap: 6px; font-size: 14.5px; font-weight: 600; color: var(--blue); }
.link-more:hover { color: var(--blue-deep); }
.news-section { padding-top: 64px; }
.expertise-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px 28px; box-shadow: var(--shadow-sm); }
.expertise-header h3 { font-size: 17px; font-weight: 800; margin-bottom: 16px; }
.expertise-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.expertise-item h4 { font-size: 14.5px; font-weight: 800; margin-bottom: 6px; color: var(--blue-deep); }
.expertise-item p { font-size: 13px; color: var(--muted); line-height: 1.7; }
.eeat-section, .news-section { margin-top: 24px; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.calc-body { padding: 20px 26px 26px; display: grid; gap: 14px; }
.field-hint { font-size: 12px; color: var(--muted); margin-top: 4px; }
.input-group { display: flex; align-items: center; gap: 8px; }
.input-prefix { color: var(--muted); font-weight: 700; }
.result-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; }
.result-item { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 12px 16px; }
.result-item.result-primary { background: var(--blue-tint); border-color: transparent; }
.result-label { font-size: 12px; color: var(--muted); }
.result-value { font-family: var(--num); font-size: 22px; font-weight: 700; color: var(--text); }
.result-item.result-primary .result-value { color: var(--green); }

/* ── 28. 打印（导出 PDF）── */
#printSheet { display: none; }
@media print {
  @page { size: A4; margin: 12mm; }
  html, body { background: #fff !important; }
  body > *:not(#printSheet) { display: none !important; }
  #printSheet {
    display: block !important; background: #fff; color: #1f2d3d;
    font-size: 13px; line-height: 1.6;
    -webkit-print-color-adjust: exact; print-color-adjust: exact;
  }
  .ps-head { display: flex; justify-content: space-between; align-items: flex-start; border-bottom: 3px solid #1677ff; padding-bottom: 12px; margin-bottom: 14px; }
  .ps-head h1 { font-size: 22px; font-weight: 900; }
  .ps-head .ps-no { font-family: var(--num); color: #6b7a8e; font-size: 12px; margin-top: 4px; }
  .ps-seal { width: 76px; height: 76px; border: 2.5px solid #1677ff; border-radius: 50%; display: grid; place-items: center; text-align: center; color: #1677ff; font-weight: 800; font-size: 11px; line-height: 1.5; transform: rotate(-12deg); }
  .ps-info, .ps-table { width: 100%; border-collapse: collapse; margin-bottom: 12px; }
  .ps-info th, .ps-info td, .ps-table th, .ps-table td { border: 1px solid #d8dfe8; padding: 6px 12px; font-size: 12.5px; text-align: left; }
  .ps-info th { background: #e8f0fe; width: 9em; font-weight: 700; }
  .ps-table th { background: #e8f0fe; }
  .ps-table td:nth-child(n+2) { text-align: right; }
  .ps-table tfoot td { font-weight: 800; border-top: 2px solid #1677ff; background: #f5f8ff; }
  .ps-rate { color: #8a97a8; font-size: 11px; margin-left: 6px; }
  .ps-net { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border: 2px dashed #1677ff; border-radius: 10px; padding: 12px 18px; margin: 14px 0; }
  .ps-net .big { font-family: var(--num); font-size: 26px; font-weight: 800; color: #0d9668; }
  .ps-net .sub { font-size: 12px; color: #6b7a8e; }
  .ps-barcode { height: 26px; width: 150px; margin: 2px 0 10px; opacity: .85;
    background: repeating-linear-gradient(90deg, #1f2d3d 0 2px, transparent 2px 5px, #1f2d3d 5px 6px, transparent 6px 10px, #1f2d3d 10px 13px, transparent 13px 15px, #1f2d3d 15px 16px, transparent 16px 21px); }
  .ps-note { font-size: 11px; color: #6b7a8e; line-height: 1.8; border-top: 1px solid #d8dfe8; padding-top: 10px; }
}

/* ── 29. 响应式 ── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); padding-top: 48px; gap: 52px; }
  .slip-wrap { justify-content: center; }
  .city-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stats-card { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .stat:nth-child(3)::before { display: none; }
  .archive { grid-template-columns: minmax(0,1fr); }
  .archive-stub { display: none; }
  .archive-side { border-left: 0; border-top: 1px solid var(--border); flex-direction: row; justify-content: flex-start; text-align: left; padding: 18px 26px; }
  .flow-grid { grid-template-columns: minmax(0,1fr); }
  .charts-grid { grid-template-columns: minmax(0,1fr); }
  .ratio-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .news-grid { grid-template-columns: minmax(0,1fr); }
  .grid-2col { grid-template-columns: minmax(0,1fr); }
  .footer-main { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 680px) {
  .container { padding: 0 20px; }
  .hero-inner { padding: 42px 20px 88px; gap: 44px; grid-template-columns: minmax(0, 1fr); }
  .hero-yuan { font-size: 96px; right: 10px; bottom: 0; }
  .stats-band { margin-top: -52px; }
  .nav-links {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    background: var(--card); border-bottom: 1px solid var(--border);
    flex-direction: column; align-items: stretch; padding: 10px 18px 16px; gap: 2px;
    box-shadow: var(--shadow-sm);
  }
  .nav-links.open { display: flex; }
  .nav-burger { display: grid; place-items: center; width: 40px; height: 40px; background: none; border: 1px solid var(--border); border-radius: 10px; color: var(--text); margin-left: auto; }
  .calc { grid-template-columns: minmax(0, 1fr); }
  .calc .btn-go { padding: 13px; }
  .city-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ratio-grid { grid-template-columns: minmax(0,1fr); }
  .faq-list { grid-template-columns: minmax(0,1fr); }
  .sec-head, .section-header { flex-direction: column; align-items: flex-start; }
  .city-search { width: 100%; }
  .stat { padding: 15px 18px; }
  .stat .v { font-size: 24px; }
  .stamp { top: -24px; right: 2px; width: 68px; height: 68px; font-size: 10px; }
  .slip-head { padding-right: 58px; }
  .slip-head .period { border-left: 1.5px dashed var(--border); padding-left: 10px; }
  .arc-rows { grid-template-columns: minmax(0,1fr); }
  .archive-body { padding: 20px 22px; }
  .cmt-form-row { grid-template-columns: minmax(0,1fr); }
  .fb-form-row { grid-template-columns: minmax(0,1fr); }
  .donut-legend { grid-template-columns: minmax(0,1fr); }
  .footer-main { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 36px 28px; }
  .result-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
/* 极小屏（<375px）：城市一行一个 */
@media (max-width: 374px) {
  .city-grid { grid-template-columns: minmax(0, 1fr); }
  .city-item { padding: 11px 14px; }
  .seal { width: 36px; height: 36px; font-size: 16px; border-radius: 9px; }
}

/* ============================================================
   城市页基数趋势卡（city-page.js 注入 #cityTrendWrap/#cityTrendCard）
   ============================================================ */
/* 趋势卡容器：复用 .container 限宽（1200px/24px），仅补充与相邻模块的间距 */
#cityTrendWrap{margin-top:24px}
#cityTrendCard{background:var(--card);border:1px solid var(--border);border-radius:14px;overflow:hidden}
#cityTrendCard .tc-head{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;padding:18px 22px;border-bottom:1px solid var(--border)}
#cityTrendCard .tc-head h3{margin:0;font-size:17px;font-weight:700}
#cityTrendCard .tc-head .tc-sub{color:var(--muted);font-size:12.5px;margin-top:3px}
#cityTrendCard .tc-actions{display:flex;gap:8px;flex-wrap:wrap}
#cityTrendCard .tc-actions a{display:inline-flex;align-items:center;gap:5px;border:1.5px solid var(--primary);color:var(--primary);font-weight:700;font-size:13px;padding:6px 14px;border-radius:999px;text-decoration:none;transition:.18s}
#cityTrendCard .tc-actions a:hover{background:var(--primary);color:#fff}
#cityTrendCard .tc-body{padding:18px 22px}
#cityTrendCard .trow{display:grid;grid-template-columns:132px 1fr;gap:12px;align-items:center;padding:9px 0;border-bottom:1px dashed var(--border)}
#cityTrendCard .trow:last-of-type{border-bottom:none}
#cityTrendCard .trow .tl{font-size:13.5px;font-weight:600}
#cityTrendCard .trow .tl small{display:block;font-weight:400;color:var(--muted);font-size:11.5px;margin-top:2px}
#cityTrendCard .tbar{display:flex;align-items:center;gap:8px;margin:3px 0}
#cityTrendCard .tbar .tk{height:11px;flex:1;background:var(--bg);border:1px solid var(--border);border-radius:999px;overflow:hidden}
#cityTrendCard .tbar .tf{height:100%;border-radius:999px;min-width:3px}
#cityTrendCard .tbar .tv{font-size:12.5px;color:var(--muted);white-space:nowrap;min-width:150px;text-align:right}
#cityTrendCard .tbar .tv b{color:var(--text)}
#cityTrendCard .tc-foot{margin-top:14px;padding-top:14px;border-top:1px solid var(--border);display:flex;gap:8px;flex-wrap:wrap;align-items:center}
#cityTrendCard .tc-foot .hint{color:var(--muted);font-size:12.5px;margin-right:auto}
#cityTrendCard .tc-ghost{border:1.5px solid var(--border);color:var(--muted);font-size:13px;padding:6px 14px;border-radius:999px;text-decoration:none}
@media (max-width:640px){#cityTrendCard .trow{grid-template-columns:96px 1fr}#cityTrendCard .tbar .tv{min-width:0}}

/* ── 官方性质提醒条（2026-09-19：非人社部门官方网站提醒） ── */
.official-notice {
  display: flex; align-items: flex-start; gap: 10px;
  margin-top: 16px; padding: 12px 18px;
  background: var(--blue-tint); border: 1px solid var(--blue-tint-2); border-radius: var(--radius-sm);
  font-size: 13px; color: var(--text); line-height: 1.7;
}
.official-notice svg { flex-shrink: 0; color: var(--blue); margin-top: 3px; }
.official-notice p { margin: 0; }
.official-notice strong { color: var(--blue-deep); }
.official-notice b { color: var(--blue-deep); }

/* ── 20. 资讯详情·相关资讯（卡片网格，令牌自适应明暗） ── */
.related-section { margin-top: 44px; }
.related-title {
  display: flex; align-items: center; gap: 9px;
  font-size: 19px; font-weight: 800; letter-spacing: .01em;
  color: var(--text); margin-bottom: 18px;
}
.related-title svg { width: 20px; height: 20px; color: var(--blue); }
.related-list {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px;
}
.related-item {
  display: flex; flex-direction: column; gap: 10px;
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px 18px;
  text-decoration: none; color: var(--text);
  transition: transform .2s cubic-bezier(.2,.7,.2,1), border-color .2s, box-shadow .2s;
}
.related-item:hover {
  transform: translateY(-2px);
  border-color: var(--blue-tint-2);
  box-shadow: var(--shadow-md);
}
.related-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.related-tag {
  flex-shrink: 0; font-size: 12px; font-weight: 700; letter-spacing: .02em;
  color: var(--blue-deep); background: var(--blue-tint);
  border-radius: 999px; padding: 3px 11px;
}
.related-date {
  font-size: 12.5px; color: var(--muted);
  font-family: var(--num); font-variant-numeric: tabular-nums;
}
.related-item-title {
  font-size: 14.5px; font-weight: 600; line-height: 1.55; color: var(--text);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.related-item:hover .related-item-title { color: var(--blue-deep); }
