/* ==========================================================================
   报政策 · 前台设计系统
   企业政策与项目申报信息平台
   --------------------------------------------------------------------------
   目录
   01. 设计令牌 (tokens)
   02. 基础重置与排版
   03. 通用组件：按钮 / 徽章 / 卡片 / 表单
   04. 站点框架：头部 / 底部 / 移动导航
   05. 首页
   06. 政策列表与筛选
   07. 政策详情
   08. 项目指南列表
   09. 项目指南详情
   10. 搜索结果
   11. 留电咨询
   12. 响应式
   ========================================================================== */

/* == 01. 设计令牌 ========================================================== */
:root {
  /* 品牌绿 */
  --brand-950: #062a52;
  --brand-900: #0b3a75;
  --brand-800: #0e4b8f;
  --brand-700: #1259a8;
  --brand-600: #1a63b8;
  --brand-500: #2b7ad1;
  --brand-400: #5b9ae0;
  --brand-300: #9dc4ec;
  --brand-200: #c9ddf5;
  --brand-100: #e8f1fb;
  --brand-50: #f3f8fd;

  /* 强调色 */
  --gold-700: #8a6400;
  --gold-600: #a67c00;
  --gold-500: #c8952a;
  --gold-100: #fdf6e6;
  --blue-700: #17497f;
  --blue-600: #1f63ad;
  --blue-100: #e9f2fc;
  --violet-600: #6b4bb0;
  --violet-100: #f1ecfb;
  --ok-700: #16713a;
  --ok-600: #21884a;
  --ok-500: #35a05f;
  --ok-200: #c2e5cf;
  --ok-100: #eaf7ef;
  --red-600: #b52b2b;
  --red-100: #fdeceb;

  /* 中性色 */
  --ink-900: #1a1a1a;
  --ink-800: #333333;
  --ink-700: #444444;
  --ink-600: #555555;
  --ink-500: #666666;
  --ink-400: #6e6e6e;
  --ink-300: #8a8a8a;
  --line: #e0e0e0;
  --line-strong: #cccccc;
  --surface: #ffffff;
  --surface-soft: #f7f8fa;
  --canvas: #f5f6f8;

  /* 语义色 */
  --text: var(--ink-800);
  --text-muted: var(--ink-500);
  --text-faint: var(--ink-400);
  --link: var(--brand-700);
  --link-hover: var(--brand-600);

  /* 圆角 */
  --r-xs: 2px;
  --r-sm: 3px;
  --r-md: 4px;
  --r-lg: 6px;
  --r-xl: 8px;
  --r-pill: 999px;

  /* 阴影 */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, .04);
  --shadow-sm: 0 1px 4px rgba(0, 0, 0, .06);
  --shadow-md: 0 2px 8px rgba(0, 0, 0, .08);
  --shadow-lg: 0 4px 16px rgba(0, 0, 0, .10);
  --shadow-brand: 0 1px 2px rgba(0, 0, 0, .08);

  /* 排版 */
  --font-sans: "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei",
    "Hiragino Sans GB", "Source Han Sans SC", "Noto Sans CJK SC",
    system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-num: ui-monospace, "SF Mono", Menlo, Consolas, "Courier New", monospace;

  /* 布局 */
  --shell: 1180px;
  --shell-narrow: 880px;
  --header-h: 68px;
  --ease: cubic-bezier(.22, .68, .32, 1);
}

/* == 02. 基础重置与排版 ==================================================== */
*, *::before, *::after { box-sizing: border-box; }

html {
  color-scheme: light;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--canvas);
  font: 400 16.5px/1.8 var(--font-sans);
  font-feature-settings: "kern" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg, video { max-width: 100%; height: auto; }

a { color: var(--link); text-decoration: none; transition: color .16s var(--ease); }
a:hover { color: var(--link-hover); text-decoration: underline; text-underline-offset: 3px; }

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  color: var(--ink-900);
  font-weight: 750;
  line-height: 1.32;
  letter-spacing: -.012em;
  text-wrap: balance;
}

h1 { font-size: clamp(30px, 4.2vw, 46px); }
h2 { font-size: clamp(21px, 2.4vw, 27px); }
h3 { font-size: 18.5px; }
h4 { font-size: 16.5px; }

p { margin: 0 0 1em; }
ul, ol { padding-left: 1.35em; }

strong, b { font-weight: 700; color: var(--ink-900); }

code, kbd, samp {
  font-family: var(--font-num);
  font-size: 14px;
  padding: 1px 6px;
  border-radius: var(--r-xs);
  background: var(--surface-soft);
  color: var(--ink-600);
}

hr { height: 1px; margin: 32px 0; border: 0; background: var(--line); }

:focus-visible {
  outline: 3px solid rgba(33, 95, 168, .38);
  outline-offset: 2px;
  border-radius: var(--r-xs);
}

.shell { width: min(var(--shell), calc(100% - 48px)); margin-inline: auto; }
.shell.narrow { width: min(var(--shell-narrow), calc(100% - 48px)); }

.page-band { padding: 56px 0; }
.page-band.muted-band {
  background: var(--surface-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.two-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  padding: 10px 16px; border-radius: 0 0 var(--r-sm) 0;
  background: var(--brand-700); color: #fff; font-weight: 700;
}
.skip-link:focus { left: 0; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0 0 12px;
  color: var(--brand-600);
  font-size: 14px; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase;
}
.eyebrow::before {
  content: ""; width: 18px; height: 2px; border-radius: 2px;
  background: var(--brand-600);
}

.lede { max-width: 760px; color: var(--text-muted); font-size: 17.5px; line-height: 1.8; }
.section-copy { max-width: 720px; margin: 8px 0 0; color: var(--text-muted); font-size: 15px; }
.muted { color: var(--text-muted); }
.auto-note { max-width: 280px; color: var(--text-faint); font-size: 14px; text-align: right; }
.reviewed { margin: 18px 0 0; color: var(--text-faint); font-size: 14px; }

.section-heading {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; margin-bottom: 26px;
}
.section-heading h2 {
  display: flex; align-items: center; gap: 11px; margin-bottom: 0;
}
.section-heading h2::before {
  content: ""; flex: none; width: 4px; height: 22px; border-radius: var(--r-pill);
  background: var(--brand-600);
}
.section-heading p { margin-bottom: 0; }
.section-heading > a { flex: none; font-size: 14.5px; font-weight: 700; }
.section-heading > a::after { content: " →"; }

/* == 03. 通用组件 ========================================================== */
button, .button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 11px 22px;
  border: 1px solid transparent; border-radius: var(--r-sm);
  background: var(--brand-700);
  box-shadow: none;
  color: #fff; font: inherit; font-size: 15px; font-weight: 700;
  letter-spacing: .01em; cursor: pointer; white-space: nowrap;
  transition: transform .16s var(--ease), box-shadow .16s var(--ease), filter .16s var(--ease);
}
button:hover, .button:hover {
  background: var(--brand-800); color: #fff; text-decoration: none;
}
button:active, .button:active { background: var(--brand-900); }

.button.secondary, .button-secondary {
  border-color: var(--line-strong);
  background: #fff; color: var(--brand-700);
  box-shadow: var(--shadow-xs);
}
.button.secondary:hover, .button-secondary:hover {
  border-color: var(--brand-400); background: var(--brand-50);
  color: var(--brand-700); filter: none;
  box-shadow: var(--shadow-sm);
}
.button-warning { background: var(--gold-600); box-shadow: none; }
.button-publish { background: var(--blue-700); box-shadow: none; }

.button, button { text-decoration: none; }

/* 政策/批次卡片的状态强调：申报中、待申报用绿色，已截止用灰色 */
.policy-row, .search-policy-row, .data-row, .round-item, .source-file-row {
  border-left: 4px solid var(--line-strong);
}
.policy-row.state-open, .search-policy-row.state-open, .data-row.state-open, .round-item.state-open {
  border-left-color: var(--ok-600);
  background: linear-gradient(90deg, var(--ok-100) 0, #ffffff 120px);
}
.policy-row.state-upcoming, .search-policy-row.state-upcoming, .data-row.state-upcoming, .round-item.state-upcoming {
  border-left-color: var(--ok-500);
  background: linear-gradient(90deg, #f2fbf5 0, #ffffff 120px);
}
.policy-row.state-evergreen, .search-policy-row.state-evergreen, .data-row.state-evergreen, .round-item.state-evergreen {
  border-left-color: #6b4bb0;
}
.policy-row.state-review_required, .search-policy-row.state-review_required, .data-row.state-review_required, .round-item.state-review_required {
  border-left-color: var(--gold-600);
}
.policy-row.state-closed, .search-policy-row.state-closed, .data-row.state-closed, .round-item.state-closed {
  border-left-color: var(--line-strong);
}
.policy-row.state-closed .policy-main h2 a,
.search-policy-row.state-closed strong,
.round-item.state-closed .round-title a {
  color: var(--ink-600);
}
.policy-row.state-open:hover, .search-policy-row.state-open:hover,
.data-row.state-open:hover, .round-item.state-open:hover { border-left-color: var(--ok-700); }
.policy-row.state-upcoming:hover, .search-policy-row.state-upcoming:hover,
.data-row.state-upcoming:hover, .round-item.state-upcoming:hover { border-left-color: var(--ok-600); }
.policy-row.state-closed:hover, .search-policy-row.state-closed:hover,
.data-row.state-closed:hover, .round-item.state-closed:hover { border-left-color: var(--line-strong); }

.link-list a.state-open, .link-list a.state-upcoming {
  padding-left: 10px; border-left: 3px solid var(--ok-600);
}
.link-list a.state-open span, .link-list a.state-upcoming span { color: var(--ok-700); font-weight: 700; }
.link-list a.state-open:hover, .link-list a.state-upcoming:hover { border-left-color: var(--ok-700); padding-left: 14px; }
.link-list a.state-review_required { padding-left: 10px; border-left: 3px solid var(--gold-600); }
.link-list a.state-evergreen { padding-left: 10px; border-left: 3px solid #6b4bb0; }
.link-list a.state-closed { color: var(--ink-500); }

/* 状态徽章配色同步调整 */
.status-open { color: #10603a; background: var(--ok-100); border-color: var(--ok-200); }
.status-upcoming { color: #1c7a45; background: #f0faf3; border-color: #c8e8d3; }

/* 徽章 / 状态 */
.status {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 26px; padding: 3px 11px 3px 9px;
  border: 1px solid transparent; border-radius: var(--r-pill);
  background: var(--surface-soft); color: var(--ink-600);
  font-size: 14px; font-weight: 750; white-space: nowrap;
}
.status::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: currentColor; opacity: .85;
}
.status-open { color: #0b4a86; background: var(--brand-100); border-color: var(--brand-200); }
.status-upcoming { color: #1f5c99; background: #eef4fb; border-color: #d3e2f2; }
.status-evergreen { color: #5b4a92; background: #f1eefb; border-color: #ded6f2; }
.status-closed { color: #666666; background: #f2f2f2; border-color: #e0e0e0; }
.status-not_applicable { color: #8a6400; background: #fdf6e6; border-color: #efe0bd; }

.heading-count {
  display: inline-grid; place-items: center; min-width: 26px; height: 24px;
  padding: 0 8px; border-radius: var(--r-pill);
  background: var(--brand-100); color: var(--brand-700);
  font-size: 14px; font-weight: 800;
}

.empty-state {
  padding: 42px 28px; border: 1px dashed var(--line-strong); border-radius: var(--r-md);
  background: #fff; color: var(--text-muted); text-align: center;
}
.empty-state strong { display: block; margin-bottom: 8px; font-size: 17px; color: var(--ink-800); }
.empty-state .button { margin-top: 8px; }

.pagination {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding-top: 34px; color: var(--text-muted);
}
.pagination a {
  padding: 9px 18px; border: 1px solid var(--line-strong); border-radius: var(--r-pill);
  background: #fff; font-weight: 700; box-shadow: var(--shadow-xs);
}
.pagination a:hover { border-color: var(--brand-400); background: var(--brand-50); text-decoration: none; }
.pagination span { padding: 0 6px; font-size: 14px; }

.messages { width: min(var(--shell), calc(100% - 48px)); margin: 18px auto 0; }
.message {
  padding: 14px 18px; border: 1px solid var(--brand-200); border-radius: var(--r-sm);
  background: var(--brand-50); color: var(--brand-800); font-weight: 600;
  box-shadow: var(--shadow-xs);
}
.message-error { border-color: #eec7c7; background: var(--red-100); color: #8f2b2b; }

/* 卡片 */
.guide-item, .need-item, .path-card, .policy-row, .round-item, .data-row, .search-policy-row {
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}

.clickable-panel { cursor: pointer; }
.clickable-panel:hover { }
.clickable-panel:focus-within { outline: 3px solid rgba(33, 95, 168, .33); outline-offset: 3px; }
.clickable-panel:focus-within,
.clickable-panel:hover { border-color: var(--brand-300); box-shadow: var(--shadow-md); }

.text-link { display: inline-block; margin-top: auto; color: var(--brand-600); font-size: 14px; font-weight: 750; }
.text-link::after { content: " →"; transition: margin .16s var(--ease); }
.guide-item:hover .text-link::after { margin-left: 3px; }

.item-kicker {
  display: inline-flex; align-items: center;
  margin-bottom: 10px; padding: 3px 10px;
  border-radius: var(--r-pill);
  background: var(--brand-50); color: var(--brand-600);
  font-size: 14px; font-weight: 800; letter-spacing: .06em;
}
.item-stats { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 14px 0; color: var(--text-faint); font-size: 14px; }
.item-stats span { display: inline-flex; align-items: center; gap: 5px; }

/* == 04. 站点框架 ========================================================== */
.site-header {
  position: sticky; top: 0; z-index: 40;
  border-bottom: 1px solid rgba(227, 234, 231, .9);
  background: #ffffff;
}
.header-inner {
  min-height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
}
.brand {
  display: inline-flex; align-items: center; gap: 11px;
  color: var(--ink-900); font-size: 20px; font-weight: 800; letter-spacing: -.01em;
}
.brand:hover { text-decoration: none; color: var(--brand-700); }
.brand-mark {
  display: inline-grid; place-items: center;
  width: 38px; height: 38px; border-radius: 12px;
  background: var(--brand-700);
  box-shadow: none;
  color: #fff; font-size: 18px; font-weight: 800;
}
.desktop-nav { display: flex; align-items: center; gap: 6px; }
.desktop-nav a {
  position: relative;
  padding: 9px 14px; border-radius: var(--r-sm);
  color: var(--ink-700); font-size: 15px; font-weight: 650;
  transition: background .16s var(--ease), color .16s var(--ease);
}
.desktop-nav a:hover { background: var(--brand-50); color: var(--brand-700); text-decoration: none; }

.desktop-nav a.is-active { background: var(--brand-50); color: var(--brand-700); font-weight: 750; }
.desktop-nav a.is-active::after {
  content: ""; position: absolute; left: 50%; bottom: 1px; transform: translateX(-50%);
  width: 20px; height: 2px; border-radius: 2px;
  background: var(--brand-600);
}

.header-cta {
  display: inline-flex; align-items: center; gap: 7px;
  min-height: 40px; padding: 0 18px; border-radius: var(--r-pill);
  background: var(--brand-700);
  color: #fff; font-size: 14.5px; font-weight: 700;
  box-shadow: var(--shadow-brand);
}
.header-cta:hover { background: var(--brand-800); color: #fff; text-decoration: none; }

.site-footer {
  position: relative; overflow: hidden;
  margin-top: 72px; padding: 64px 0 26px;
  background: var(--brand-900);
  color: #c8d8d2;
}
.footer-inner {
  position: relative;
  display: grid; grid-template-columns: minmax(280px, 1.9fr) repeat(3, minmax(130px, 1fr));
  align-items: start; gap: 46px;
}
.footer-inner p { margin: 10px 0 0; color: #9fb4ad; font-size: 14px; line-height: 1.8; }
.footer-inner a { color: #e6efeb; }
.footer-inner a:hover { color: #fff; }
.footer-brand > strong {
  display: inline-flex; align-items: center; gap: 10px;
  color: #fff; font-size: 22px; font-weight: 800;
}
.footer-brand > strong::before {
  content: "报"; display: inline-grid; place-items: center;
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--brand-700);
  font-size: 16px;
}
.footer-contact { margin-top: 16px; font-size: 14px; line-height: 1.9; color: #9fb4ad; }
.footer-contact strong { color: #fff; font-weight: 700; }
.footer-contact a { color: #fff; font-weight: 700; font-size: 17px; letter-spacing: .02em; }
.footer-qr {
  display: inline-flex; align-items: center; gap: 12px;
  margin-top: 16px; padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--r-md);
  background: rgba(255, 255, 255, .06);
}
.footer-qr img { width: 88px; height: 88px; border-radius: var(--r-xs); background: #fff; padding: 4px; }
.footer-qr span { color: #c8d8d2; font-size: 14px; line-height: 1.6; }
.footer-column { display: grid; align-content: start; gap: 9px; font-size: 14.5px; }
.footer-column > strong { margin-bottom: 6px; color: #fff; font-size: 15px; letter-spacing: .02em; }
.footer-column span { color: #93a9a2; }
.footer-bottom {
  position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  margin-top: 44px; padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  color: #8fa49d; font-size: 14px;
}
.footer-bottom a { color: #c8d8d2; }
.footer-links { display: flex; gap: 22px; }

.mobile-nav { display: none; }

/* == 05. 首页 ============================================================== */
.page-intro {
  position: relative; overflow: hidden;
  padding: 84px 0 76px;
  background: var(--brand-800);
  color: #fff;
}
.page-intro > .shell { position: relative; z-index: 1; }
.page-intro h1 { max-width: 900px; margin-bottom: 20px; color: #fff; }
.page-intro .eyebrow { color: var(--brand-200); }
.page-intro .eyebrow::before { background: var(--brand-300); }
.page-intro .lede { max-width: 700px; color: rgba(255, 255, 255, .82); font-size: 18px; }

/* 子页面浅色介绍带 */
.page-intro.compact-intro {
  padding: 46px 0 42px;
  background: var(--brand-50);
  border-bottom: 1px solid var(--line);
  color: var(--text);
}
.page-intro.compact-intro::before, .page-intro.compact-intro::after { display: none; }
.page-intro.compact-intro h1 { margin-bottom: 14px; color: var(--ink-900); font-size: clamp(28px, 3.4vw, 38px); }
.page-intro.compact-intro .eyebrow { color: var(--brand-600); }
.page-intro.compact-intro .eyebrow::before { background: var(--brand-600); }
.page-intro.compact-intro .lede { color: var(--text-muted); font-size: 16.5px; }

.search-bar {
  display: flex; width: min(720px, 100%); margin-top: 30px;
  padding: 7px; border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .3);
  box-shadow: none;
}
.search-bar input {
  flex: 1; min-width: 0; height: 48px; padding: 0 20px;
  border: 0; border-radius: var(--r-pill);
  background: #fff; color: var(--ink-800); font-size: 15.5px;
}
.search-bar input::placeholder { color: var(--ink-300); }
.search-bar input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--brand-400); }
.search-bar button { flex: none; min-height: 48px; padding: 0 30px; border-radius: var(--r-pill); }

/* 浅色页面的搜索框 */
.compact-intro .search-bar {
  padding: 0; border: 0; background: transparent; backdrop-filter: none;
  box-shadow: var(--shadow-sm); border-radius: var(--r-sm);
}
.compact-intro .search-bar input { border: 1px solid var(--line-strong); border-right: 0; border-radius: var(--r-sm) 0 0 var(--r-sm); }
.compact-intro .search-bar input:focus { box-shadow: none; border-color: var(--brand-400); }
.compact-intro .search-bar button { border-radius: 0 var(--r-sm) var(--r-sm) 0; }

.path-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; width: min(860px, 100%); margin-top: 30px; }
.path-card {
  position: relative; overflow: hidden;
  display: grid; gap: 8px; min-width: 0; padding: 24px 26px;
  border: 1px solid rgba(255, 255, 255, .18); border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .12);
  color: #fff;
}
.path-card:hover {
  border-color: rgba(255, 255, 255, .45);
  background: rgba(255, 255, 255, .15);
  color: #fff; text-decoration: none;
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.path-card strong { font-size: 21px; color: #fff; }
.path-card strong a { color: #fff; }
.path-card > span:last-child { color: rgba(255, 255, 255, .74); font-size: 14px; }
.path-kicker { color: var(--brand-200); font-size: 14px; font-weight: 800; letter-spacing: .1em; }
.path-project { border-top: 3px solid var(--brand-300); }
.path-policy { border-top: 3px solid #f0c060; }

.intent-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.intent-links a {
  padding: 7px 15px; border: 1px solid rgba(255, 255, 255, .26); border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .1); color: #fff; font-size: 14px; font-weight: 600;
  transition: background .16s var(--ease), border-color .16s var(--ease);
}
.intent-links a:hover { background: rgba(255, 255, 255, .2); border-color: rgba(255, 255, 255, .5); text-decoration: none; }

.hero-trust {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 28px;
  width: min(880px, 100%); margin: 32px 0 0; padding: 22px 0 0;
  border-top: 1px solid rgba(255, 255, 255, .16);
  list-style: none;
}
.hero-trust li { color: rgba(255, 255, 255, .72); font-size: 14px; }
.hero-trust strong { display: block; margin-bottom: 3px; color: #fff; font-size: 17px; font-weight: 800; }

.faq-list { display: grid; gap: 12px; }
.home-projects { border-bottom: 1px solid var(--line); background: #fff; }
.home-guide-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.home-guide-grid .guide-item { display: flex; min-height: 250px; flex-direction: column; }

.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.compact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.guide-item {
  display: flex; flex-direction: column; min-height: 180px;
  padding: 24px; border: 1px solid var(--line); border-radius: var(--r-md);
  background: #fff; box-shadow: var(--shadow-xs);
  color: var(--text);
}
.guide-item:hover { text-decoration: none; color: var(--text); }
.guide-item h2, .guide-item h3 { margin-bottom: 10px; font-size: 18px; }
.guide-item h2 a, .guide-item h3 a { color: var(--ink-900); }
.guide-item h2 a:hover, .guide-item h3 a:hover { color: var(--brand-600); text-decoration: none; }
.guide-item p { color: var(--text-muted); font-size: 14.5px; }
.compact-item { min-height: 160px; }

.need-grid, .search-intents { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.need-item {
  display: flex; flex-direction: column; min-width: 0;
  padding: 24px; border: 1px solid var(--line); border-radius: var(--r-md);
  background: #fff; box-shadow: var(--shadow-xs); color: var(--text);
}
.need-item::before {
  content: ""; width: 34px; height: 4px; margin-bottom: 14px;
  border-radius: var(--r-pill);
  background: var(--brand-600);
}
.need-item:hover { text-decoration: none; color: var(--text); }
.need-item h3 { margin-bottom: 8px; font-size: 17px; }
.need-item h3 a { color: var(--ink-900); }
.need-item p { margin: 0; color: var(--text-muted); font-size: 14px; }

.data-list { display: grid; gap: 12px; }
.data-row {
  display: grid; grid-template-columns: 118px minmax(0, 1fr) auto;
  align-items: center; gap: 22px;
  padding: 20px 24px;
  border: 1px solid var(--line); border-radius: var(--r-md);
  background: #fff; box-shadow: var(--shadow-xs);
}
.data-row:hover { border-color: var(--brand-300); box-shadow: var(--shadow-md); }
.row-main h3 { margin: 0 0 4px; font-size: 17px; }
.row-main h3 a { color: var(--ink-900); }
.row-main h3 a:hover { color: var(--brand-600); text-decoration: none; }
.row-main p, .row-meta { margin: 0; color: var(--text-faint); font-size: 14px; }
.row-source { margin-top: 4px !important; }
.row-source a { font-weight: 650; }
.row-deadline { font-family: var(--font-num); font-weight: 700; color: var(--brand-700); }
.row-meta { font-weight: 650; white-space: nowrap; }

.link-list { display: grid; }
.link-list a {
  display: flex; align-items: baseline; justify-content: space-between; gap: 20px;
  padding: 15px 2px; border-bottom: 1px solid var(--line);
  color: var(--ink-800); font-weight: 600;
}
.link-list a:hover { color: var(--brand-600); text-decoration: none; padding-left: 6px; }
.link-list a:first-child { border-top: 1px solid var(--line); }
.link-list time { flex: none; color: var(--text-faint); font-size: 14px; font-weight: 500; }
.link-list small { display: block; margin-top: 4px; color: var(--text-faint); font-weight: 400; }

.quick-links { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; }
.quick-links a {
  padding: 16px 20px; border-bottom: 1px solid var(--line);
  color: var(--ink-800); font-weight: 650;
}
.quick-links a:nth-child(odd) { border-right: 1px solid var(--line); }
.quick-links a:nth-last-child(-n+2) { border-bottom: 0; }
.quick-links a:hover { background: var(--brand-50); color: var(--brand-700); text-decoration: none; }

/* == 06. 政策列表与筛选 ==================================================== */
.results-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.result-count { margin: 0; color: var(--ink-900); font-size: 16px; font-weight: 800; }
.active-filter-count {
  margin: 0; padding: 4px 12px; border-radius: var(--r-pill);
  background: var(--brand-100); color: var(--brand-700); font-size: 14px; font-weight: 700;
}

.filter-panel {
  margin-bottom: 30px; border: 1px solid var(--line); border-radius: var(--r-md);
  background: #fff; box-shadow: var(--shadow-xs); overflow: hidden;
}
.filter-panel > summary {
  display: flex; align-items: center; gap: 10px;
  padding: 16px 22px; cursor: pointer; list-style: none;
  color: var(--ink-800); font-weight: 750;
}
.filter-panel > summary::-webkit-details-marker { display: none; }
.filter-panel > summary::before {
  content: ""; width: 8px; height: 8px; border-right: 2px solid var(--brand-500); border-bottom: 2px solid var(--brand-500);
  transform: rotate(-45deg); transition: transform .18s var(--ease);
}
.filter-panel[open] > summary::before { transform: rotate(45deg); }
.filter-panel > summary span {
  display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 7px;
  border-radius: var(--r-pill); background: var(--brand-100); color: var(--brand-700); font-size: 14px;
}
.filter-panel[open] > summary { border-bottom: 1px solid var(--line); background: var(--surface-soft); }

.filter-bar {
  display: grid; grid-template-columns: minmax(220px, 2fr) repeat(3, 1fr) auto;
  gap: 14px; align-items: end; padding: 22px;
}
.field label { display: block; margin-bottom: 7px; color: var(--ink-600); font-size: 14px; font-weight: 700; }
.field input, .field select {
  width: 100%; height: 44px; padding: 0 13px;
  border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  background: #fff; color: var(--ink-800); font: inherit; font-size: 15px;
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease);
}
.field input:focus, .field select:focus { outline: none; border-color: var(--brand-400); box-shadow: 0 0 0 3px rgba(33, 95, 168, .16); }
.filter-actions { display: flex; align-items: center; gap: 12px; }
.filter-actions a { font-size: 14px; color: var(--text-muted); }

.policy-list { display: grid; gap: 14px; }
.policy-row {
  display: grid; grid-template-columns: 82px minmax(0, 1fr); gap: 24px;
  padding: 24px 26px;
  border: 1px solid var(--line); border-radius: var(--r-md);
  background: #fff; box-shadow: var(--shadow-xs);
}
.policy-row:hover { border-color: var(--brand-300); box-shadow: var(--shadow-md); }
.policy-date {
  display: grid; align-content: center; justify-items: center; gap: 2px;
  padding: 12px 6px; border-radius: var(--r-sm);
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  color: var(--brand-700); text-align: center;
}
.policy-date strong { display: block; font-family: var(--font-num); font-size: 30px; font-weight: 800; line-height: 1; color: var(--brand-700); }
.policy-date span { font-size: 14px; color: var(--text-faint); }
.policy-main h2 { margin: 10px 0 8px; font-size: 19.5px; }
.policy-main h2 a { color: var(--ink-900); }
.policy-main h2 a:hover { color: var(--brand-600); text-decoration: none; }
.policy-main p { margin: 0; color: var(--text-faint); font-size: 14px; }
.meta-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; color: var(--text-muted); font-size: 14px; }
.deadline { margin-top: 8px !important; color: var(--text-muted) !important; }
.deadline strong { color: var(--brand-700); font-family: var(--font-num); font-size: 15px; }
.deadline-strip { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 10px; color: var(--text-muted); font-size: 14px; }

.tag-list { display: flex; flex-wrap: wrap; gap: 9px; }
.tag-list a {
  padding: 7px 14px; border: 1px solid var(--line); border-radius: var(--r-pill);
  background: #fff; color: var(--ink-700); font-size: 14px;
}
.tag-list a:hover { border-color: var(--brand-300); background: var(--brand-50); color: var(--brand-700); text-decoration: none; }

/* == 07. 政策详情 ========================================================== */
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 22px; color: var(--text-faint); font-size: 14px; }
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs span:last-child { color: var(--ink-700); font-weight: 600; }

.document-header {
  padding: 44px 0 40px;
  background: var(--brand-50);
  border-bottom: 1px solid var(--line);
}
.document-header .shell { width: min(1080px, calc(100% - 48px)); }
.document-header h1 { margin: 18px 0 0; font-size: clamp(26px, 3.4vw, 38px); }
.document-meta { display: flex; flex-wrap: wrap; gap: 18px 40px; margin: 28px 0 0; }
.document-meta div { min-width: 148px; }
.document-meta dt { color: var(--text-faint); font-size: 14px; font-weight: 600; }
.document-meta dd { margin: 4px 0 0; color: var(--ink-800); font-weight: 700; }
.header-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.content-band { background: #fff; border-bottom: 1px solid var(--line); }
.content-band .content-section:last-of-type { border-bottom: 0; }
.content-layout { display: grid; grid-template-columns: 190px minmax(0, 800px); justify-content: center; gap: 56px; }
.content-main { min-width: 0; }
.contents-nav {
  position: sticky; top: calc(var(--header-h) + 22px); align-self: start;
  display: grid; gap: 2px; padding: 16px; border: 1px solid var(--line);
  border-radius: var(--r-md); background: #fff; box-shadow: var(--shadow-xs);
}
.contents-nav strong { margin: 0 0 8px; padding: 0 10px; color: var(--text-faint); font-size: 14px; letter-spacing: .1em; }
.contents-nav a {
  padding: 8px 10px; border-radius: var(--r-xs);
  color: var(--ink-600); font-size: 14px; font-weight: 600;
}
.contents-nav a:hover { background: var(--brand-50); color: var(--brand-700); text-decoration: none; }

.content-section { padding: 34px 0; border-bottom: 1px solid var(--line); }
.content-section h2 { margin-bottom: 16px; }
.document-body { font-size: 16.5px; line-height: 1.9; color: var(--ink-700); }
.richtext { color: var(--ink-700); }
.richtext h2 { margin-top: 34px; }
.richtext h3 { margin-top: 26px; }
.richtext p { margin: 0 0 1.15em; }
.richtext img { max-width: 100%; height: auto; border-radius: var(--r-sm); }
.richtext ul, .richtext ol { padding-left: 1.4em; }
.richtext li { margin-bottom: 7px; }
.richtext table { width: 100%; margin: 18px 0; border-collapse: collapse; font-size: 15px; }
.richtext td, .richtext th { padding: 11px 13px; border: 1px solid var(--line); text-align: left; }
.richtext th { background: var(--surface-soft); font-weight: 700; }
.richtext blockquote {
  margin: 20px 0; padding: 14px 20px;
  border-left: 4px solid var(--brand-300); border-radius: 0 var(--r-sm) var(--r-sm) 0;
  background: var(--brand-50); color: var(--ink-600);
}

.decision-section { padding-bottom: 34px; border-bottom: 1px solid var(--line); }
.decision-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--r-md); background: #fff;
}
.decision-grid div { min-width: 0; padding: 18px 20px; border-right: 1px solid var(--line); }
.decision-grid div:last-child { border-right: 0; }
.decision-grid span { display: block; color: var(--text-faint); font-size: 14px; font-weight: 600; }
.decision-grid strong { display: block; margin-top: 6px; overflow-wrap: anywhere; font-size: 16px; }

.analysis-grid { display: grid; grid-template-columns: 1fr; gap: 18px; padding: 34px 0; border-bottom: 1px solid var(--line); }
.analysis-block {
  padding: 24px; border: 1px solid var(--line); border-top: 3px solid var(--brand-500);
  border-radius: var(--r-md); background: #fff; box-shadow: var(--shadow-xs);
}
.analysis-block h2 { font-size: 18px; }
.analysis-block ul { margin: 0; padding-left: 1.25em; }
.analysis-block li { margin-bottom: 9px; color: var(--ink-600); }
.warning-block { border-top-color: var(--gold-500); background: var(--gold-100); }
.warning-block h2 { color: var(--gold-700); }
.steps { margin: 0; padding-left: 1.4em; }
.steps li { margin-bottom: 10px; color: var(--ink-600); }

.policy-text-section { scroll-margin-top: calc(var(--header-h) + 24px); }
.policy-text-section .document-body { padding-top: 6px; }
.subheading { margin-top: 34px; font-size: 17.5px; }

.source-box {
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  margin-top: 44px; padding: 26px 28px;
  border: 1px solid var(--brand-200); border-radius: var(--r-md);
  background: var(--brand-50);
}
.source-box h2, .source-box p { margin-bottom: 6px; }
.source-box p { color: var(--text-muted); font-size: 14.5px; }

.notice {
  margin: 30px 0; padding: 20px 24px;
  border-left: 4px solid var(--gold-500); border-radius: 0 var(--r-sm) var(--r-sm) 0;
  background: var(--gold-100);
}
.notice strong { color: var(--gold-700); }
.notice p { margin-bottom: 0; color: #6d5206; }

.sibling-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line); }
.sibling-nav div:last-child { text-align: right; }
.sibling-nav span { display: block; color: var(--text-faint); font-size: 14px; }
.sibling-nav a { display: block; margin-top: 6px; overflow-wrap: anywhere; font-weight: 700; }

.share-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.share-actions > span:first-child { margin-right: 6px; color: var(--ink-700); font-weight: 700; }
.share-actions button, .share-actions a {
  display: inline-flex; min-height: 38px; align-items: center;
  padding: 6px 15px; border: 1px solid var(--line-strong); border-radius: var(--r-pill);
  background: #fff; color: var(--ink-700); font-size: 14px; font-weight: 650;
  box-shadow: none;
}
.share-actions button:hover, .share-actions a:hover {
  border-color: var(--brand-300); background: var(--brand-50); color: var(--brand-700);
  text-decoration: none; transform: none; filter: none;
}
.share-feedback { color: var(--brand-600); font-size: 14px; font-weight: 600; }

.info-table {
  width: 100%; border-collapse: collapse; background: #fff;
  border: 1px solid var(--line); table-layout: fixed;
}
.info-table th, .info-table td {
  padding: 14px 18px; border: 1px solid var(--line);
  text-align: left; vertical-align: top; overflow-wrap: anywhere;
}
.info-table th {
  width: 148px; background: var(--surface-soft);
  color: var(--ink-600); font-weight: 700;
}
.info-table td { color: var(--ink-800); }
.info-table tr:nth-child(even) th { background: #f2f4f7; }
.window-line { display: block; margin-bottom: 6px; }
.window-line:last-child { margin-bottom: 0; }
.window-line strong { color: var(--brand-700); }
.region-chip-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; margin-top: 16px; }
.region-chip {
  display: grid; gap: 4px; padding: 14px 16px;
  border: 1px solid var(--line); border-left: 3px solid var(--brand-600);
  background: #fff; color: var(--ink-800);
}
.region-chip:hover { border-color: var(--brand-300); border-left-color: var(--brand-700); background: var(--brand-50); text-decoration: none; }
.region-chip strong { font-size: 16px; }
.region-chip span { color: var(--ink-500); font-size: 14px; }

.growth-path { display: grid; gap: 10px; margin: 14px 0; padding-left: 1.3em; }
.growth-path li { color: var(--ink-700); }
.growth-path li a { font-weight: 700; }
.growth-note { display: block; color: var(--ink-500); font-size: 14px; }
.growth-foot { color: var(--ink-500); }

.subheading-plain { margin: 26px 0 10px; padding-left: 12px; border-left: 4px solid var(--brand-300); font-size: 17px; }
.project-section .subheading-plain:first-of-type { margin-top: 0; }

.round-list { display: grid; gap: 14px; }
.round-item {
  border: 1px solid var(--line); background: #fff;
  border-left: 3px solid var(--brand-600);
}
.round-item:hover { border-color: var(--brand-300); border-left-color: var(--brand-700); box-shadow: var(--shadow-xs); }
.round-head {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  padding: 11px 20px; background: var(--surface-soft);
  border-bottom: 1px solid var(--line);
}
.round-region, .round-year {
  display: inline-flex; align-items: center; padding: 2px 10px;
  border: 1px solid var(--line-strong); background: #fff;
  color: var(--ink-700); font-weight: 600;
}
.round-year { border-color: var(--brand-200); background: var(--brand-50); color: var(--brand-700); }
.round-deadline {
  margin-left: auto; color: var(--ink-700); font-weight: 700;
  font-family: var(--font-num); white-space: nowrap;
}
.round-body { padding: 0 20px 4px; }
.round-title { margin: 16px 0 14px; overflow-wrap: anywhere; font-size: 17px; line-height: 1.5; }
.round-title a { color: var(--ink-900); }
.round-title a:hover { color: var(--brand-700); text-decoration: none; }
.round-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 0 4px; border-top: 1px solid var(--line);
}
.round-grid > div {
  display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 12px;
  padding: 10px 0; border-bottom: 1px solid var(--line);
}
.round-grid > div:nth-child(2n) { padding-left: 20px; }
.round-grid > div:nth-child(2n + 1) { padding-right: 20px; border-right: 1px solid var(--line); }
.round-grid > div:nth-child(odd):last-child { border-right: 0; }
.round-grid:has(> div:nth-child(2):last-child) > div { border-bottom: 0; }
.round-grid dt { color: var(--ink-500); }
.round-grid dd { margin: 0; color: var(--ink-800); font-weight: 600; overflow-wrap: anywhere; }
.round-due { color: var(--brand-700) !important; font-family: var(--font-num); }
.round-actions {
  display: flex; flex-wrap: wrap; gap: 24px;
  padding: 14px 0 16px; margin-top: 2px; border-top: 1px solid var(--line);
}
.round-actions a { font-weight: 700; }
.round-grid:last-child > div { border-bottom: 0; }
.round-body { padding-bottom: 16px; }
.source-pending { color: var(--text-faint); white-space: nowrap; }

.faq-item {
  margin-bottom: 12px; padding: 18px 22px;
  border: 1px solid var(--line); border-radius: var(--r-md);
  background: #fff; box-shadow: var(--shadow-xs);
}
.faq-item summary {
  cursor: pointer; list-style: none;
  color: var(--ink-900); font-size: 16px; font-weight: 700;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
  content: "Q"; display: inline-grid; place-items: center;
  width: 22px; height: 22px; margin-right: 10px; vertical-align: 1px;
  border-radius: var(--r-xs); background: var(--brand-100); color: var(--brand-700);
  font-size: 14px; font-weight: 800;
}
.faq-item[open] summary { margin-bottom: 10px; }
.faq-item p { margin: 0; padding-left: 32px; color: var(--text-muted); }

/* == 08. 项目指南列表 ====================================================== */
.guide-item .item-stats { margin-top: auto; }

/* == 09. 项目指南详情 ====================================================== */
.project-guide-page { background: #fff; }
.project-hero {
  position: relative; overflow: hidden;
  padding: 64px 0 52px;
  background: var(--brand-800);
  color: #fff;
}
.project-hero > .shell { position: relative; z-index: 1; }
.project-hero h1 { color: #fff; margin-bottom: 14px; }
.project-hero .eyebrow { color: var(--brand-200); }
.project-hero .eyebrow::before { background: var(--brand-300); }
.project-hero .lede { color: rgba(255, 255, 255, .82); }
.project-hero .breadcrumbs, .project-hero .breadcrumbs a, .project-hero .breadcrumbs span:last-child { color: rgba(255, 255, 255, .72); }
.project-hero .breadcrumbs span:last-child { color: #fff; }
.project-hero .reviewed { color: rgba(255, 255, 255, .62); }
.project-hero .button.secondary, .project-hero .button-secondary {
  border-color: rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .1); color: #fff;
}
.project-hero .button.secondary:hover, .project-hero .button-secondary:hover {
  border-color: #fff; background: rgba(255, 255, 255, .2); color: #fff;
}
.project-shell { width: min(980px, calc(100% - 48px)); }
.project-title-row { display: grid; grid-template-columns: minmax(0, 1fr) 180px; align-items: start; gap: 40px; }
.project-code {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .22); border-top: 3px solid var(--brand-300);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, .1);
}
.project-code span { display: block; color: var(--text-faint); font-size: 14px; font-weight: 600; }
.project-code span { color: rgba(255, 255, 255, .7); }
.project-code strong { display: block; margin-top: 6px; overflow-wrap: anywhere; color: #fff; font-family: var(--font-num); font-size: 18px; }

.project-layout { display: grid; grid-template-columns: 178px minmax(0, 1fr); gap: 44px; align-items: start; }
.project-main { min-width: 0; }
.project-nav {
  position: sticky; top: calc(var(--header-h) + 18px); z-index: 20;
  display: grid; gap: 2px; padding: 14px;
  border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff;
}
.project-nav strong {
  margin: 0 0 8px; padding: 0 10px;
  color: var(--ink-500); font-size: 14px; letter-spacing: .06em;
}
.project-nav a {
  padding: 8px 10px; border-left: 3px solid transparent;
  color: var(--ink-600); font-size: 14px;
}
.project-nav a:hover {
  border-left-color: var(--brand-600); background: var(--brand-50);
  color: var(--brand-700); text-decoration: none;
}
.project-nav a.is-active, .contents-nav a.is-active {
  border-left-color: var(--brand-600); background: var(--brand-50);
  color: var(--brand-700); font-weight: 700;
}
.project-section { scroll-margin-top: calc(var(--header-h) + 24px); }

.project-overview { padding: 8px 0 44px; }


.project-section { padding: 46px 0; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 74px); }
.project-section-accent, .project-section-soft {
  margin-inline: -32px; padding-inline: 32px;
  border-top: 0; border-radius: var(--r-lg);
}
.project-section-accent { background: var(--brand-50); box-shadow: inset 4px 0 0 var(--brand-500); }
.project-section-soft { background: var(--blue-100); box-shadow: inset 4px 0 0 var(--blue-600); }
.project-section-head { display: flex; align-items: flex-start; gap: 18px; margin-bottom: 22px; }
.project-section-head > span {
  display: grid; flex: none; place-items: center;
  min-width: 46px; height: 46px; padding: 0 10px;
  border-radius: var(--r-sm);
  background: var(--brand-700);
  box-shadow: var(--shadow-brand);
  color: #fff; font-family: var(--font-num); font-size: 14px; font-weight: 800;
}
.project-section-head h2, .project-section-head p { margin-bottom: 0; }
.project-section-plain { padding-top: 40px; }
.project-richtext { max-width: 820px; font-size: 16.5px; }
.project-richtext li { margin-bottom: 9px; }
.project-subsection { margin-top: 30px; padding-top: 26px; border-top: 1px dashed var(--line-strong); }
.project-warning {
  margin-top: 26px; padding: 24px;
  border: 1px solid #efe0bd; border-left: 4px solid var(--gold-600); border-radius: 0 var(--r-md) var(--r-md) 0;
  background: var(--gold-100);
}
.project-warning h3 { color: var(--gold-700); }
.prerequisite-band {
  margin-top: 26px; padding: 22px 24px;
  border: 1px solid #d3e2f2; border-left: 4px solid var(--blue-600); border-radius: 0 var(--r-md) var(--r-md) 0;
  background: var(--blue-100);
}
.prerequisite-band > strong { display: block; margin-bottom: 10px; font-size: 16.5px; color: var(--blue-700); }

.region-sources { border-top: 1px solid var(--line); }
.region-group { margin-top: 30px; }
.region-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding-bottom: 12px; border-bottom: 2px solid var(--ink-900); }
.region-heading h3 { margin: 0; font-size: 19px; }
.region-heading span { color: var(--text-faint); font-size: 14px; }
.source-file-list { display: grid; }
.source-row, .source-file-row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: center;
  padding: 20px 0; border-bottom: 1px solid var(--line);
}
.source-file-row h4 { margin: 0 0 6px; font-size: 16.5px; }
.source-file-row h4 a { color: var(--ink-900); }
.source-file-row h4 a:hover { color: var(--brand-600); text-decoration: none; }
.source-file-row p { margin: 0 0 8px; color: var(--text-faint); font-size: 14px; }
.source-file-row code {
  display: block; max-width: 100%; overflow-wrap: anywhere; white-space: normal;
  padding: 0; background: none; color: var(--text-faint); font-size: 14px;
}
.source-file-actions { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.source-file-actions a { font-size: 14px; font-weight: 700; white-space: nowrap; }

.source-row { display: flex; justify-content: space-between; align-items: center; }
.source-row a { color: var(--ink-900); font-weight: 700; }
.source-row small { display: block; margin-top: 4px; color: var(--text-faint); }
.source-row time { flex: none; color: var(--text-faint); font-size: 14px; }

/* == 10. 搜索结果 ========================================================== */
.search-results { min-width: 0; }
.result-summary { color: var(--text-muted); font-size: 15px; }
.result-summary strong { color: var(--ink-900); }
.search-stack { display: grid; gap: 40px; align-items: start; }
.search-stack > section { min-width: 0; }
.search-policy-list { display: grid; gap: 12px; }
.search-policy-row {
  display: grid; gap: 6px; padding: 18px 20px;
  border: 1px solid var(--line); border-radius: var(--r-md);
  background: #fff; color: var(--text); box-shadow: var(--shadow-xs);
}
.search-policy-row:hover { border-color: var(--brand-300); box-shadow: var(--shadow-md); text-decoration: none; color: var(--text); }
.search-policy-row strong { color: var(--ink-900); font-size: 16px; }
.search-policy-dates { display: flex; flex-wrap: wrap; gap: 14px; color: var(--text-faint); font-size: 14px; }
.search-intents .need-item { min-height: 150px; }
.search-stack .guide-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.search-bar-input, .search-page-form { width: min(720px, 100%); }

/* == 11. 留电咨询 ========================================================== */
.consult-section {
  display: grid; grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr); gap: 48px;
  margin-top: 48px; padding: 38px;
  border: 1px solid var(--brand-200); border-radius: var(--r-lg);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.consult-copy h2 { font-size: 25px; }
.consult-copy p { color: var(--text-muted); }
.consult-copy strong { color: var(--brand-700); }
.consult-points { margin: 18px 0 0; padding-left: 0; list-style: none; display: grid; gap: 10px; }
.consult-points li { position: relative; padding-left: 28px; color: var(--ink-600); font-size: 15px; }
.consult-points li::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--brand-100) url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%2317498f' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M3.5 8.4l3 3 6-6.8'/%3E%3C/svg%3E") center/11px no-repeat;
}

.consult-trust {
  display: grid; gap: 12px; margin: 26px 0 0; padding: 20px 0 0;
  border-top: 1px dashed var(--line-strong); list-style: none;
}
.consult-trust li { display: flex; align-items: baseline; gap: 10px; }
.consult-trust strong {
  flex: none; min-width: 78px; color: var(--brand-600); font-size: 15px; font-weight: 800;
}
.consult-trust span { color: var(--text-muted); font-size: 14px; }

.lead-form {
  position: relative; padding: 26px;
  border: 1px solid var(--line); border-radius: var(--r-md);
  background: #fff; box-shadow: var(--shadow-sm);
}
.lead-form::before {
  content: "免费咨询 · 信息保密"; position: absolute; top: -13px; left: 24px;
  padding: 4px 14px; border-radius: var(--r-pill);
  background: var(--brand-700);
  box-shadow: none;
  color: #fff; font-size: 14px; font-weight: 750; letter-spacing: .04em;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid label > span { display: block; margin-bottom: 6px; color: var(--ink-600); font-size: 14px; font-weight: 700; }
.form-grid input, .form-grid select, .form-grid textarea {
  width: 100%; min-height: 46px; padding: 11px 14px;
  border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  background: #fff; color: var(--ink-800); font: inherit; font-size: 15px;
  letter-spacing: 0; resize: vertical;
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease);
}
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus {
  outline: none; border-color: var(--brand-400); box-shadow: 0 0 0 3px rgba(33, 95, 168, .16);
}
.form-grid input::placeholder, .form-grid textarea::placeholder { color: var(--ink-300); }
.full-field { grid-column: 1 / -1; }
.consent-field {
  display: flex; align-items: flex-start; gap: 10px;
  margin: 18px 0; color: var(--text-muted); font-size: 14px; line-height: 1.65;
}
.consent-field input { flex: none; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--brand-600); }
.lead-form > button[type="submit"] { width: 100%; min-height: 50px; font-size: 16px; }
.honeypot { position: absolute; left: -9999px; }

/* == 12. 响应式 ============================================================ */
@media (max-width: 1024px) {
  .home-guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .need-grid, .search-intents { grid-template-columns: repeat(2, 1fr); }
  /* Grid rows would trap the sticky anchor bar in its own row, so the
     containers switch to block flow on small screens. */
  .content-layout, .project-layout { display: block; }
  .project-nav, .contents-nav { margin-bottom: 20px; }
  /* Anchor navigation becomes a sticky, horizontally scrollable bar so it is
     always reachable while reading. */
  .project-nav, .contents-nav {
    position: sticky; top: var(--header-h); z-index: 30;
    display: flex; flex-wrap: nowrap; gap: 8px; align-items: center;
    overflow-x: auto; overscroll-behavior-x: contain;
    padding: 10px 12px; border-right: 0; border-left: 0; border-radius: 0;
    background: #fff; box-shadow: 0 6px 12px -12px rgba(0, 0, 0, .35);
    scrollbar-width: none;
  }
  .project-nav::-webkit-scrollbar, .contents-nav::-webkit-scrollbar { display: none; }
  .project-nav strong, .contents-nav strong { display: none; }
  .project-nav a, .contents-nav a {
    flex: 0 0 auto; padding: 6px 14px;
    border: 1px solid var(--line); border-radius: var(--r-pill);
    background: #fff; color: var(--ink-600); white-space: nowrap;
  }
  .project-nav a:hover, .contents-nav a:hover {
    border-color: var(--brand-400); background: var(--brand-50); color: var(--brand-700);
  }

  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .page-band { padding: 44px 0; }
  .filter-bar { grid-template-columns: 1fr 1fr; }
  .field-wide { grid-column: 1 / -1; }
  .filter-actions { grid-column: 1 / -1; }
  .decision-grid { grid-template-columns: 1fr 1fr; }
  .decision-grid div:nth-child(2n) { border-right: 0; }
  .decision-grid div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .analysis-grid { grid-template-columns: 1fr; }
  .data-row { grid-template-columns: auto minmax(0, 1fr); }
  .row-meta { grid-column: 2; }
  .project-section-accent, .project-section-soft { margin-inline: -20px; padding-inline: 20px; border-radius: var(--r-md); }
  .consult-section { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 900px) {
  .hero-trust { grid-template-columns: 1fr 1fr; gap: 16px 20px; }
}

@media (max-width: 720px) {
  :root { --header-h: 60px; }
  .shell, .shell.narrow { width: min(100% - 32px, var(--shell)); }
  .hero-trust { grid-template-columns: 1fr 1fr; margin-top: 26px; padding-top: 18px; }
  .site-header { backdrop-filter: none; background: rgba(255, 255, 255, .98); }
  .desktop-nav { display: none; }
  .header-inner { min-height: 60px; }
  .header-cta { display: none; }

  .page-intro { padding: 56px 0 52px; }
  .page-intro.compact-intro { padding: 32px 0 30px; }

  .two-columns, .guide-grid, .compact-grid, .filter-bar,
  .need-grid, .search-intents, .form-grid,
  .path-grid, .round-grid, .round-grid > div { grid-template-columns: 1fr; }
  .round-grid > div { border-right: 0; }

  .search-bar { flex-direction: column; gap: 0; padding: 6px; border-radius: var(--r-md); }
  .search-bar input { border-radius: var(--r-sm); }
  .search-bar button { margin-top: 6px; border-radius: var(--r-sm); width: 100%; }
  .compact-intro .search-bar { padding: 0; }
  .compact-intro .search-bar input { border: 1px solid var(--line-strong); border-radius: var(--r-sm); }
  .compact-intro .search-bar button { border-radius: var(--r-sm); }

  .policy-row { grid-template-columns: 1fr; gap: 14px; padding: 20px; }
  .policy-date { flex-direction: row; display: flex; align-items: baseline; gap: 8px; justify-self: start; padding: 6px 14px; }
  .policy-date strong { font-size: 20px; }
  .policy-main h2 { margin-top: 4px; }

  .data-row { grid-template-columns: 1fr; gap: 10px; padding: 18px 20px; }
  .row-meta { grid-column: auto; }

  .decision-grid { grid-template-columns: 1fr; }
  .decision-grid div { border-right: 0; border-bottom: 1px solid var(--line); }
  .decision-grid div:last-child { border-bottom: 0; }
  .auto-note { max-width: none; text-align: left; }

  .document-header .shell { width: min(100% - 32px, 1080px); }
  .document-meta { gap: 14px 26px; }
  .document-meta div { min-width: 120px; }

  .project-shell { width: min(100% - 32px, 980px); }
  .project-hero { padding: 44px 0 36px; }
  .project-title-row { grid-template-columns: 1fr; gap: 20px; }
  .project-code { width: min(220px, 100%); }
  .project-section { padding: 38px 0; }
  .project-section-head { gap: 13px; }
  .project-section-head > span { min-width: 40px; height: 40px; font-size: 14px; }
  .project-section-accent, .project-section-soft { margin-inline: -16px; padding-inline: 16px; }


  .source-box { flex-direction: column; align-items: stretch; gap: 18px; padding: 22px; }
  .source-file-row { grid-template-columns: 1fr; gap: 14px; }
  .source-file-actions { align-items: flex-start; flex-direction: row; flex-wrap: wrap; gap: 14px; }

  .consult-section { margin-inline: 0; padding: 26px 20px; border-radius: var(--r-md); }
  .lead-form { padding: 22px 18px; }
  .full-field { grid-column: auto; }
  .sibling-nav { grid-template-columns: 1fr; }
  .sibling-nav div:last-child { text-align: left; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
  .quick-links { grid-template-columns: 1fr; }
  .quick-links a:nth-child(odd) { border-right: 0; }
  .quick-links a:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
  .quick-links a:last-child { border-bottom: 0; }
  .consent-field { font-size: 14px; }

  body { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
  .mobile-nav {
    position: fixed; right: 0; bottom: 0; left: 0; z-index: 60;
    display: grid; grid-template-columns: repeat(5, 1fr);
    padding-bottom: env(safe-area-inset-bottom, 0px);
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, .96);
      box-shadow: 0 -6px 24px -12px rgba(8, 40, 30, .28);
  }
  .mobile-nav a {
    display: grid; place-items: center; align-content: center; gap: 3px;
    min-height: 60px; color: var(--ink-400); font-size: 14px; font-weight: 600;
  }
  .mobile-nav a:hover, .mobile-nav a.is-active { color: var(--brand-600); text-decoration: none; }
  .mobile-nav .nav-icon { display: grid; place-items: center; width: 22px; height: 22px; font-size: 0; }
  .mobile-nav .nav-icon svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
}

@media (max-width: 420px) {
  h1 { font-size: 26px; }
  .section-heading { flex-direction: column; align-items: flex-start; gap: 10px; }
  .policy-date strong { font-size: 18px; }
}

@media print {
  .site-header, .site-footer, .mobile-nav, .lead-form, .share-actions, .project-nav, .contents-nav { display: none !important; }
  body { background: #fff; padding: 0; }
  .page-band, .project-section { padding: 12px 0; }
}
