/* ── Space 分叉副本（cf/assets/css/styles.css）──────────────────────────────
   2026-08-01 Space 独立部署时从主站复制过来，此后**不再与主站同步**。
   两边是两个产品：主站改动不会自动流到这里，这里的改动也不要回灌主站。
   要改公共观感，请两边各自改一次，并在 PR 里写清楚是否有意保持一致。
   ───────────────────────────────────────────────────────── */
/* =========================================================
   Flusso 桥水心理 — Redesign · "Deep Water Trust"
   方向：深水青（信任锚）+ 暖象牙白（人味底）+ 墨黑（编辑）
        + 笃定的赤陶点缀。权威感来自对比、笃定与透明，
        而非冷蓝或 corporate 厚重。
   —— 仅重做排版与视觉系统，文字内容沿用原站。
   ========================================================= */

/* =========================================================
   CSS Reset — 抹平浏览器默认样式差异
   （原 reset.css 内容，合并进来去掉一个独立的渲染阻塞请求；
   仅重置默认表现，不设定视觉风格——颜色、字体、间距仍由下面的规则决定）
   ========================================================= */

/* 盒模型统一，尺寸计算不再受 border/padding 影响 */
*, *::before, *::after {
  box-sizing: border-box;
}

/* 清除各浏览器 user-agent 默认外边距 */
html, body,
h1, h2, h3, h4, h5, h6,
p, blockquote, pre,
dl, dd, ol, ul, figure,
hr {
  margin: 0;
}

/* 移除 Chrome/Firefox 等浏览器对 heading 的默认字号与粗细覆盖，交由下面的规则统一设定 */
h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: inherit;
}

html {
  /* iOS Safari 横屏时自动放大字号，统一关闭 */
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  /* 移动端点击可交互元素时的默认高亮块，在根节点统一关闭（可继承到所有子元素）；
     用 rgba(0,0,0,0) 而非关键字 transparent——部分安卓 WebView/系统浏览器对
     关键字支持不稳定，点击后仍会闪一下，显式 rgba 零透明度更可靠。 */
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

/* 仅重置带 class 的列表（无 class 的内容列表保留默认项目符号与语义） */
ul[class], ol[class] {
  list-style: none;
  padding: 0;
}

/* 媒体元素默认改为块级，避免行内元素底部空隙这一经典差异 */
img, picture, svg, video, canvas {
  display: block;
  max-width: 100%;
}

/* 表单控件在不同浏览器下默认字体不一致，统一继承页面字体 */
input, button, textarea, select {
  font: inherit;
  color: inherit;
}

/* 移除 Safari/iOS 对 button/input 的默认外观圆角与阴影 */
button, [type="button"], [type="reset"], [type="submit"] {
  -webkit-appearance: none;
  appearance: none;
  background: none;
  border: 0;
}

textarea {
  resize: vertical;
}

/* Firefox 会给 fieldset 加默认边框和内边距 */
fieldset {
  border: 0;
  padding: 0;
}

/* table 默认 border-spacing 在各浏览器不一致 */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* 避免图片/文字被系统识别为可拖拽后出现的默认高亮框 */
button, input, optgroup, select, textarea {
  margin: 0;
}

/* 减少动画偏好用户的干扰，统一无障碍表现 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- 字体：自托管为主，强系统回退（未放置字体也不破样式） ---------- */
/* 正文 sans：MiSans 分片版（见 fonts.css，unicode-range 按需加载） */
/* 标题衬线：自托管思源宋体子集（Mac 走系统宋体不下载；Windows/Android 由此接住，不再跌到中易宋体） */
@font-face {
  font-family: "Source Han Serif SC";
  src: url("../fonts/SourceHanSerifSC-Medium.woff2?v=ms-subset-20260727") format("woff2");
  font-weight: 400 700; font-style: normal; font-display: swap;
}
/* 左上角品牌英文 Flusso 专用：仅子集 Flusso 字（~1.2KB），data URI 内嵌、零额外请求 */
@font-face {
  font-family: "Cormorant Garamond Brand";
  src: url(data:font/woff2;base64,d09GMgABAAAAAAScAA8AAAAACKAAAARBAAQAQgAAAAAAAAAAAAAAAAAAAAAAAAAAGhYbgSwcMAZgP1NUQVREAFQRCAqFQIRPATYCJAMYCw4ABCAFhCwHIBseB0iO0WNHBkJciSHGcsnw4uHDru/PbdVUv16Ykcx80367nv0AM4ZwTISQ5+i9/NnsAW56BcS0DwB+If1xP/Uvynaz8VpwNvGJRMUDWXSAlNiAShu4CrzIBqYzyF3WK1/EsLT1dIEKkAghFwKlyQLRFi2JTwfNwZ7WetAcba2oA82pkvZG0KDB+5F38nBrI7AQUGUSztCQmPaFLJKOJheB1i8CeS3FQEibqWNk7ek4BQQlk8rHSxvPEcbI1IaREgxl0eIsIdGvcpImkQ2sJMeJPVy9IPMG0b+TDwInLNGR3vXvI7Ll0Q9AQJwhWoDBsJg70J1AhuecPlrdjtrAd5wCVEHIdG7qy9EXjP4k+P2iEnWKASzIWJp5QIWflVmiXpM2HfOrELzt/+HWvNac1szWDDEfWrRaIIQCXC4N/ImH0p6dB3G63Ti5USyYqTfhNinu5P2LEaYW7eOwE/iTYXN9k2LVrdJM3wBJvfBs25VhS3FPDj9zkHqtLJE+/3q0T4b6LqjvhrqJcGxGRZpACzOfM0+ZNV/1zYWs3lgXdS5986T33ov2+2+/b6fffVf9zjtjJ98XCcTusnlHbex45/CjBy3WHtwK9RNXyuY+23nzUGb7rfKlJ5/iTt6sobYdslx3aBuiTr/cdmWvxdy+jU2U9wJn0oaM5nsR1DKXrH4p/f4k+Yl3dhL1QvVN663mz5Wlzyknbat8MSuiIixsrg64PuCIrRFXeAGHjQbS+4jKP93d7O8PvTTw3zhXoiJM49Fk48d1D+28fYaUI15Sc3+GCeqm1GuICkZi/odaW0DDrncVPusSR44NEhHpWFrvmDwLWkWToP5a5MtqdraPU7G3u2XchzilRWCWn2OBe5BffrHLqSme8UlhVsWh7rYu7rExQRaVIb5Qs0w10rNrybcfDiV//Oys+n2d2IMWael9aEfwV1rd3w66Nd07+h5fHGpNfRsq8/QaZUrkClxh+dc/NfKznmy4+Qb7zrc82YXf2yXOucNTRGQd2VczxtmaR9pQsbdumbZlotT4tiv7SDEl1rTPV4Qb9rZHLW925o82rXP/dCyAQGZB+QjHuUg462sD4xfw0YXBPgB88nCA/P/C/z/LH8WrgEICgotkyHtWIP1XVL1+P6SIr/YkASMih87xsWGxgWP8JBcofKkzQIiWtWlKRcYGHoJlhKnWMBIdvcdILfGkPavGyPWNsfTC5FiUgOhQRbuM4uKGUTzclF3yoYwFsFCTZj1a1ahSrR3JlTMXHkjpqlUgfWjVQECJRtmZrFVEq1WhLDZEh3bVXm4bkrUqNb6nQylHNbdJAydhSkxMSWyNNpGasKPaOPXW22YEEKVEoG5onlaOlKAC6azR4eemqlClQ31FnztHzvPy+EmUlI6I4CdXx3I7oDLFoxZXaCPBTYVVykiWfPXTYrQrUU8EZVJXTDQ2Mxbxay0xFQAAAA==) format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}

:root {
  /* ---------- 颜色 ---------- */
  --flusso-bg: #FBF9F5;
  --flusso-surface: #FCFBF7;
  --flusso-surface-soft: #F0ECE3;
  --flusso-text: #1B1B18;
  --flusso-text-soft: #403D38;
  --flusso-muted: #6F6A62;
  --flusso-line: #D8D1C5;
  --flusso-green: #0F4A43;
  --flusso-green-dark: #0A332E;
  --flusso-green-soft: #E6EEE9;
  --flusso-signal: #B08A45;
  --flusso-signal-soft: #F4EBD8;

  /* ---------- 圆角层级 ---------- */
  --flusso-radius-control: 12px;
  --flusso-radius-primary: 16px;
  --flusso-radius-dialog: 20px;
  --flusso-radius-icon: 10px;
  --flusso-radius-pill: 999px;

  --paper:      var(--flusso-bg);
  --paper-2:    var(--flusso-surface-soft);
  --surface:    var(--flusso-surface);

  --ink:        var(--flusso-text);
  --ink-soft:   var(--flusso-text-soft);
  --muted:      var(--flusso-muted);
  --line:       var(--flusso-line);
  --line-2:     #C7BFB2;

  --teal:       var(--flusso-green);
  --teal-strong:var(--flusso-green-dark);
  --teal-deep:  var(--flusso-green-dark);
  --teal-mid:   #285D55;
  --teal-soft:  var(--flusso-green-soft);

  /* —— 5B 色彩 token：深水青 α 谱 / 金色语义 / 表面色 —— */
  --teal-a03: rgba(15, 74, 67, 0.03);
  --teal-a06: rgba(15, 74, 67, 0.06);
  --teal-a08: rgba(15, 74, 67, 0.08);
  --teal-a16: rgba(15, 74, 67, 0.16);
  --teal-a18: rgba(15, 74, 67, 0.18);
  --teal-a28: rgba(15, 74, 67, 0.28);
  --teal-a36: rgba(15, 74, 67, 0.36);
  --teal-a42: rgba(15, 74, 67, 0.42);
  --teal-a52: rgba(15, 74, 67, 0.52);
  --teal-a72: rgba(15, 74, 67, 0.72);
  --gold-a12: rgba(176, 138, 69, 0.12);
  --gold-a24: rgba(176, 138, 69, 0.24);
  --gold-a32: rgba(176, 138, 69, 0.32);
  --gold-a50: rgba(176, 138, 69, 0.5);
  --gold-ink: #7a5a1f;        /* 金底上的高对比小字 */
  --gold: var(--flusso-signal); /* 品牌金 #B08A45 */
  --assessment-attention: var(--gold-a24);
  --surface: var(--flusso-surface); /* 卡面纸色 #FCFBF7 */

  --clay:       var(--flusso-green);
  --clay-2:     var(--flusso-green-soft);
  --clay-soft:  var(--flusso-green-soft);

  --paper-on-dark: #F7F5EF;
  --muted-on-dark: rgba(247, 245, 239, 0.68);
  --line-on-dark:  rgba(247, 245, 239, 0.16);

  /* ---------- 字体栈 ---------- */
  --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC",
               "MiSans", "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
  --font-serif-cn: "Source Han Serif SC", "Noto Serif SC", "Songti SC",
                   "STSong", "Microsoft YaHei", "SimSun", serif;
  --font-brand-latin: "Cormorant Garamond Brand", "Cormorant Garamond",
                      Garamond, Georgia, serif;
  /* 兼容旧变量名（统一指向新字体栈） */
  --sans:     var(--font-sans);
  --cn-serif: var(--font-serif-cn);
  --serif:    Garamond, Georgia, "Times New Roman", serif; /* 仅少量拉丁衬线斜体装饰用 */

  /* ---------- 形 / 影 / 节奏 ---------- */
  /* 键盘焦点统一 token。用 outline 而非 box-shadow：
     box-shadow 同时承担装饰阴影，任何组件写 box-shadow:none 都会顺手删掉焦点反馈
     （审计发现 37 条这样的规则，已造成 6 个控件零焦点）；且 forced-colors 会丢弃 box-shadow。 */
  --flusso-focus-ring:   2px solid rgba(15, 74, 67, 0.42);
  --flusso-focus-offset: 2px;
  /* 文本输入框不用 outline，走"边框变品牌绿 + 一层极轻 halo"。
     2px 而非 3px：冷绿压在暖纸上本就偏冷，越窄越不容易读成第二层边框。 */
  --flusso-focus-halo:   0 0 0 2px rgba(15, 74, 67, 0.08);
  /* 旧的 --focus（0 0 0 3px rgba(15,74,67,.28)）已于 2026-07-28 全部迁移完毕并删除：
     它用 box-shadow 画焦点环，会被组件自身的 box-shadow 顶掉，且 forced-colors 下失效。
     焦点一律用上面两个 token，文本输入框用 --flusso-focus-halo。不要再引入同类变量。 */
  --sh-sm:   0 1px 2px rgba(27, 27, 24, 0.04);
  --sh-md:   0 10px 30px -12px rgba(27, 27, 24, 0.16);
  --sh-lg:   0 24px 60px -24px rgba(10, 51, 46, 0.36);
  --max:     1140px;
  --gutter:  24px;
  --mobile-header-height: 62px;
  --r:       12px;
  /* 小标签三形态规则（2026-06-11 拍板）：
     胶囊(--r-pill)=状态（可使用/内测中，每卡至多一枚）；
     方徽章(--r-sm)=事实凭证（res-stat 数据徽章）；
     圆点文字（无底色）=属性列表（匿名/非诊断/可复制等）。
     新元素先判角色再配形态，不按页面随机选。
     色彩角色：金=新增/警示族 · 蓝(#EAF3F8/#2F647A)=Beta 章专用 · 灰=准备中。
     例外记录：state-card 页 hero 箭头与隐私胶囊维持「不动」裁决（全站唯一豁免）。 */
  --r-sm:    7px;
  --r-lg:    18px;  /* 大卡面（信息卡 / 玻璃面板） */
  --r-pill:  999px; /* 胶囊：按钮 / 标签 / 徽章 */

  /* —— 5B 间距 token：偶数=结构主干（14/18/22 为脊柱），奇数=紧凑控件副阶（chip/badge/小按钮） —— */
  --sp-2: 2px;
  --sp-4: 4px;
  --sp-6: 6px;
  --sp-8: 8px;
  --sp-10: 10px;
  --sp-12: 12px;
  --sp-14: 14px;
  --sp-16: 16px;
  --sp-18: 18px;
  --sp-20: 20px;
  --sp-22: 22px;
  --sp-24: 24px;
  --sp-26: 26px;
  --sp-28: 28px;
  --sp-30: 30px;
  --sp-32: 32px;
  --sp-40: 40px;
  --sp-3: 3px;
  --sp-5: 5px;
  --sp-7: 7px;
  --sp-9: 9px;
  --sp-11: 11px;
  --sp-13: 13px;
  --sp-15: 15px;
  --pad-chip: 3px 9px;  /* 标签/徽章统一内距 */

  /* —— 5B 字号 token：0.5px 步进的小字号语言按原值入册，零合并 —— */
  --fs-11: 11px;
  --fs-11-5: 11.5px;
  --fs-12: 12px;
  --fs-12-5: 12.5px;
  --fs-13: 13px;
  --fs-13-5: 13.5px;
  --fs-14: 14px;
  --fs-14-5: 14.5px;
  --fs-15: 15px;
  --fs-15-5: 15.5px;
  --fs-16: 16px;
  --fs-17: 17px;
  --fs-18: 18px;
  --fs-21: 21px;
  --fs-22: 22px;
  --fs-24: 24px;
  --fs-44: 44px;


  --t-fast:  130ms ease;
  --t:       240ms cubic-bezier(.2,.6,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink-soft);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16.5px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--teal); color: var(--paper); }

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

/* ---------- 链接 ---------- */
a { color: var(--teal); text-decoration: none; text-underline-offset: 3px; transition: color var(--t-fast); }
a:hover { color: var(--teal-strong); text-decoration: underline; }

:focus { outline: none; }
/* 焦点环用真 outline：它自动跟随组件自身圆角，不能在这里覆写 border-radius
   （旧版带 border-radius: var(--r-sm)，会让 8 个控件在聚焦瞬间从 0px 跳到 7px）。 */
:focus-visible { outline: var(--flusso-focus-ring); outline-offset: var(--flusso-focus-offset); }

/* 强制对比度模式会丢弃 box-shadow 与自定义颜色，用系统色兜底，保证焦点始终可见。 */
@media (forced-colors: active) {
  :focus-visible {
    outline: 2px solid CanvasText;
    outline-offset: 2px;
  }
}

/* ---------- 跳过导航 ---------- */
.skip-link {
  position: fixed;
  left: max(var(--gutter), calc((100vw - var(--max)) / 2));
  top: 86px;
  z-index: 100;
  background: var(--teal); color: var(--paper);
  border: 1px solid var(--teal);
  padding: var(--sp-9) var(--sp-16); border-radius: 9px; font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity var(--t), background var(--t), border-color var(--t), transform var(--t-fast), box-shadow var(--t);
}
.skip-link:hover,
.skip-link:focus {
  color: var(--paper);
  text-decoration: none;
}
.skip-link:focus-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  box-shadow: 0 0 0 4px var(--paper), 0 12px 28px -18px rgba(20, 30, 26, 0.28);
}
.skip-link:hover {
  background: var(--teal-strong);
  border-color: var(--teal-strong);
  color: var(--paper);
  box-shadow: 0 0 0 4px var(--paper), var(--sh-md);
  transform: translateY(-1px);
}
.skip-link:focus:not(:focus-visible) {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  box-shadow: none;
}
.skip-link:active {
  background: var(--teal-strong);
  border-color: var(--teal-strong);
  color: var(--paper);
  transform: translateY(0);
}
@media (max-width: 720px) {
  .skip-link {
    left: var(--gutter);
    top: calc(var(--mobile-header-height) + 12px);
  }
}

/* ---------- 容器 ---------- */
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
/* 掐掉横向溢出，治"满铺深色区滚动时整页左右抖"。
   故意用 main 而非 html：html 上的 clip 会和 body.nav-open{overflow:hidden}
   叠加改变滚动容器，导致展开菜单时 sticky 页眉消失。clip 不创建滚动容器，
   不影响 sticky 页眉与移动端菜单。 */
main { overflow-x: clip; }

/* =========================================================
   头部
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(251, 249, 245, 0.90);
  backdrop-filter: saturate(150%) blur(10px);
  -webkit-backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t), box-shadow var(--t), background var(--t);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: var(--sh-sm);
  background: rgba(251, 249, 245, 0.97);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 74px; gap: 24px; position: relative;
}

/* 左上角品牌（HTML 真文字，非 SVG/图片） */
.site-brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  text-decoration: none;
  color: inherit;
  white-space: nowrap;
}
.site-brand:hover { color: inherit; text-decoration: none; }
.brand-main {
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
}
.brand-flusso {
  font-family: var(--font-brand-latin);
  font-weight: 500;
  font-style: normal;
  font-size: 22px;
  line-height: 1;
  letter-spacing: 0.08em;
}
.brand-cn {
  font-family: var(--font-serif-cn);
  font-weight: 600;
  font-size: 19px;
  line-height: 1;
  letter-spacing: 0.06em;
  margin-left: 0.39em;
}
.brand-tagline {
  display: inline-flex;
  align-items: baseline;
  font-family: var(--font-serif-cn);
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0.08em;
  color: rgba(32, 38, 35, 0.52);
  margin-left: var(--sp-16);
}
.brand-separator {
  color: rgba(32, 38, 35, 0.38);
  margin-right: var(--sp-15);
}

/* 导航 */
.site-nav { display: flex; align-items: center; gap: 26px; font-size: 15px; transform: translateY(-0.5px); }
.site-nav a { position: relative; color: var(--ink-soft); padding: 6px 1px; letter-spacing: 0.02em; font-weight: 500; }
.site-nav a:hover { color: var(--teal); text-decoration: none; }
.site-nav a::before { content: ""; position: absolute; inset: -9px -8px; } /* 仅扩大点击命中区到约 44px，视觉不变；间距 26px 不会重叠 */
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 2px;
  background: var(--teal); transform: scaleX(0); transform-origin: left;
  transition: transform var(--t);
}
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav a[aria-current="page"] { color: var(--teal); font-weight: 600; }
.site-nav .nav-cta {
  color: var(--teal); border: 1px solid var(--teal); border-radius: var(--r-pill);
  padding: 7px 16px; font-weight: 600;
}
.site-nav .nav-cta::after { display: none; }
/* SVG 箭头只在移动端全屏菜单里的“联系”文字链接后面出现；桌面端胶囊按钮
   一直就没有箭头，只是这个 SVG 元素在标记里是无条件插入的。reset.css 把
   svg 统一设成 display:block，桌面端没有对应的 flex 容器时，这会把箭头挤到
   “联系”下面另起一行，胶囊因此被撑成圆形——这里先在桌面端隐藏它，
   移动端媒体查询里再单独打开并给尺寸（见下方 @media）。 */
.site-nav .nav-cta-arrow { display: none; }
.site-nav .nav-cta:hover { background: var(--teal); color: var(--paper); }

.nav-toggle {
  position: relative;
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border: 0; background: transparent; color: var(--teal);
  border-radius: 0; padding: 0; font: inherit; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition:
    color 180ms ease;
}
.nav-toggle:hover { color: var(--teal-strong); }
.nav-toggle:active .menu-toggle-icon { transform: scale(0.96); }
.menu-toggle-icon {
  position: relative;
  width: 22px;
  height: 18px;
  display: block;
  transition: transform 160ms ease;
}
.menu-toggle-icon span {
  position: absolute;
  left: 0;
  width: 22px;
  height: 1.6px;
  top: 50%;
  margin-top: -0.8px;
  border-radius: var(--r-pill);
  background: currentColor;
  transform-origin: center;
  will-change: transform;
}
/* 关闭态（默认）：两条横线分开 */
.menu-toggle-icon span:first-child { transform: translateY(-4px) rotate(0deg); }
.menu-toggle-icon span:last-child  { transform: translateY(4px) rotate(0deg); }

/* 打开：先聚中再旋转 */
.nav-toggle[data-state="open"] .menu-toggle-icon span:first-child { animation: navTopOpen 240ms both; }
.nav-toggle[data-state="open"] .menu-toggle-icon span:last-child  { animation: navBottomOpen 240ms both; }
/* 关闭中：先回正再分开 */
.nav-toggle[data-state="closing"] .menu-toggle-icon span:first-child { animation: navTopClose 240ms both; }
.nav-toggle[data-state="closing"] .menu-toggle-icon span:last-child  { animation: navBottomClose 240ms both; }

@keyframes navTopOpen {
  0%   { transform: translateY(-4px) rotate(0deg); animation-timing-function: cubic-bezier(0.42, 0, 1, 1); }
  50%  { transform: translateY(0) rotate(0deg);    animation-timing-function: cubic-bezier(0, 0, 0.58, 1); }
  100% { transform: translateY(0) rotate(45deg); }
}
@keyframes navBottomOpen {
  0%   { transform: translateY(4px) rotate(0deg);  animation-timing-function: cubic-bezier(0.42, 0, 1, 1); }
  50%  { transform: translateY(0) rotate(0deg);    animation-timing-function: cubic-bezier(0, 0, 0.58, 1); }
  100% { transform: translateY(0) rotate(-45deg); }
}
@keyframes navTopClose {
  0%   { transform: translateY(0) rotate(45deg);   animation-timing-function: cubic-bezier(0.42, 0, 1, 1); }
  50%  { transform: translateY(0) rotate(0deg);    animation-timing-function: cubic-bezier(0, 0, 0.58, 1); }
  100% { transform: translateY(-4px) rotate(0deg); }
}
@keyframes navBottomClose {
  0%   { transform: translateY(0) rotate(-45deg);  animation-timing-function: cubic-bezier(0.42, 0, 1, 1); }
  50%  { transform: translateY(0) rotate(0deg);    animation-timing-function: cubic-bezier(0, 0, 0.58, 1); }
  100% { transform: translateY(4px) rotate(0deg); }
}
.mobile-menu-overlay {
  position: fixed;
  inset: var(--mobile-header-height) 0 0;
  z-index: 20;
  background: rgba(12, 32, 27, 0.15);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 190ms cubic-bezier(0.28, 0.11, 0.32, 1),
    visibility 0s linear 190ms;
}
.mobile-menu-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition:
    opacity 220ms cubic-bezier(0.28, 0.11, 0.32, 1),
    visibility 0s;
}
.mobile-menu-overlay.is-closing {
  opacity: 0;
  visibility: visible;
  pointer-events: none;
  transition:
    opacity 190ms cubic-bezier(0.28, 0.11, 0.32, 1),
    visibility 0s linear 190ms;
}

/* =========================================================
   轻量 section label
   ========================================================= */
/* .section-label：通用区块标签（26 页主力）；与 .eyebrow 分工不同，勿合并 */
.section-label {
  display: inline-flex;
  align-items: center;
  margin: 0 0 var(--sp-14);
  color: var(--teal-a72);
  font-family: var(--sans);
  font-size: var(--fs-12-5);
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: none;
}
.section--dark .section-label { color: var(--muted-on-dark); }

/* eyebrow 简版 */
/* .eyebrow：editorial/品牌小眉题（accent-bar 语境）；与 .section-label 分工不同，勿合并 */
.eyebrow {
  margin: 0 0 var(--sp-14); color: var(--clay); font-family: var(--sans);
  font-size: var(--fs-12); font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
}

/* =========================================================
   标题层级（更强对比、更笃定）
   ========================================================= */
h1, h2, h3, h4 { color: var(--ink); letter-spacing: 0; }

h1 {
  margin: 0; font-family: var(--cn-serif); font-weight: 500;
  font-size: clamp(34px, 5.4vw, 58px); line-height: 1.2; letter-spacing: 0.01em;
}
h1 .lat {
  display: block; font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: clamp(46px, 8.2vw, 92px); line-height: 1.02; letter-spacing: -0.015em;
  color: var(--ink);
}
h1 .cn {
  display: block; font-family: var(--cn-serif); font-weight: 500;
  font-size: clamp(22px, 3vw, 32px); letter-spacing: 0.12em; color: var(--ink); margin-top: 10px;
}

h2 {
  margin: 0 0 var(--sp-20); font-family: var(--cn-serif); font-weight: 500;
  font-size: clamp(25px, 3.2vw, 36px); line-height: 1.32; letter-spacing: 0.01em;
}
h2 .lat { font-family: var(--serif); font-style: italic; }

h3 {
  margin: 0 0 var(--sp-9); font-family: var(--font-sans); font-weight: 600;
  font-size: 20px; line-height: 1.45; letter-spacing: 0.01em; color: var(--ink);
}
/* 公告卡标题语义为 h2（页面顶层条目，修正 h1→h3 跳级），视觉沿用原 h3 字号 */
.notice-card h2 {
  margin: 0 0 var(--sp-9); font-family: var(--font-sans); font-weight: 600;
  font-size: 20px; line-height: 1.45; letter-spacing: 0.01em;
}

p { margin: 0 0 16px; }
/* 裸 ul/ol（不带 class，比如正文里未特殊设计的条目列表）之前一直吃浏览器默认的
   margin，reset.css 统一清零后这里补回来；只补 margin——padding-left 从来没被
   reset.css 动过（那条只清带 class 的列表），沿用浏览器默认缩进即可，不用另设。
   带 class 的列表都已在各自组件里自带 margin/list-style，不受这条影响。 */
ul:not([class]), ol:not([class]) { margin: 0 0 16px; }
strong { color: var(--ink); font-weight: 600; }

.lead {
  max-width: 60ch; margin: 0; color: var(--ink-soft);
  font-size: clamp(17px, 1.4vw, 19.5px); line-height: 1.78;
}

/* =========================================================
   按钮
   ========================================================= */
.actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 30px; }
/* 控件共享底层：仅收纳 .btn 与 .tool-cta-btn 的真共性（角色差异各自保留；
   :focus-visible 已由全局规则统一覆盖，不在此重复） */
:is(.btn, .tool-cta-btn) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.btn {
  gap: 8px;
  min-height: 50px; padding: 13px 26px;
  background: var(--teal); color: var(--paper-on-dark);
  border: 1px solid var(--teal); border-radius: var(--r-pill);
  font-family: var(--sans); font-weight: 600; font-size: var(--fs-15); letter-spacing: 0.02em;
  transition: background var(--t), border-color var(--t), transform var(--t-fast), box-shadow var(--t);
}
/* 主按钮 hover 只做底色与描边加深：不浮起、不投影。
   （原有 box-shadow: var(--sh-md) + translateY(-1px) 已移除。）*/
.btn:hover { background: var(--teal-strong); border-color: var(--teal-strong); color: var(--paper-on-dark); text-decoration: none; }
.btn:active { transform: translateY(0); }
.btn--ghost { background: transparent; color: var(--teal); border-color: var(--line-2); }
.btn--ghost:hover { background: var(--surface); color: var(--teal-strong); border-color: var(--teal); box-shadow: none; transform: none; }
.btn--disabled,
.btn--disabled:hover {
  cursor: not-allowed;
  color: var(--muted);
  border-color: var(--line);
  background: transparent;
  box-shadow: none;
  transform: none;
}
.btn .arrow { transition: transform var(--t); }
.btn:hover .arrow { transform: translateX(3px); }
/* .btn sets display:inline-flex, which would override the native [hidden] attribute;
   this guarantees a button with [hidden] (e.g. 下一步 on the last step) is actually hidden. */
.btn[hidden] { display: none !important; }
.actions--tiered {
  align-items: center;
}
.actions--tiered .btn {
  min-width: 178px;
}

/* =========================================================
   HERO
   ========================================================= */
.hero { padding: clamp(40px, 5.5vw, 76px) 0 clamp(38px, 5vw, 64px); position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.06fr 0.94fr; gap: clamp(42px, 5.4vw, 82px); align-items: center; }

/* 品牌锁定 + 双语描述（建立 psi = psicologia 映射 + 在地合法性信号） */
.lockup { margin: 0 0 20px; }
.lockup .lat {
  display: block; font-family: var(--font-brand-latin); font-style: normal; font-weight: 500;
  font-size: clamp(48px, 8vw, 96px); line-height: 0.98; letter-spacing: -0.02em; color: var(--ink);
}
.lockup .cn {
  display: inline-block; font-family: var(--cn-serif); font-weight: 500;
  font-size: clamp(23px, 3.2vw, 34px); letter-spacing: 0.14em; color: var(--ink); margin-top: 12px;
}
.descriptor {
  margin: var(--sp-14) 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px;
  font-size: var(--fs-15); color: var(--muted);
}
.descriptor .it { font-family: var(--serif); font-style: italic; font-size: var(--fs-17); color: var(--teal); letter-spacing: 0.01em; }
.descriptor .sep { width: 5px; height: 5px; border-radius: 50%; background: var(--teal); }
.descriptor .cn-tag { font-family: var(--cn-serif); letter-spacing: 0.06em; color: var(--ink-soft); }
.hero .lead { margin-top: 26px; }
.hero .actions { margin-top: 32px; }

/* 信任微行：在地 / 语言 / 边界 */
.hero-marks { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 13.5px; color: var(--muted); }
.hero-marks span { display: inline-flex; align-items: center; gap: 7px; }
.hero-marks span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); opacity: 0.75; }

/* 右侧视觉块 — 深水青 + 流线 motif */
.hero-art {
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--r);
  background:
    radial-gradient(120% 90% at 80% 10%, var(--teal-a16), transparent 55%),
    linear-gradient(160deg, var(--teal) 0%, var(--teal-deep) 100%);
  box-shadow: var(--sh-lg); overflow: hidden; isolation: isolate;
}
.hero-art .flow {
  position: absolute;
  inset: clamp(18px, 3vw, 34px);
  width: calc(100% - 2 * clamp(18px, 3vw, 34px));
  height: calc(100% - 2 * clamp(18px, 3vw, 34px));
  opacity: 0.9;
}
.hero-art__cap {
  position: absolute; left: 22px; bottom: 20px; z-index: 2;
  color: var(--paper-on-dark); max-width: 76%;
}
.hero-art__cap .it { font-family: var(--serif); font-style: italic; font-size: 19px; }
.hero-art__cap small { display: block; margin-top: 4px; font-size: 12.5px; letter-spacing: 0.08em; color: var(--muted-on-dark); text-transform: uppercase; }
/* ===== 首页 Hero：单列居中、收紧（紧凑 · 安静 · 清楚）===== */
.home-page .hero {
  position: relative;
  min-height: calc(100vh - 75px);   /* 老浏览器兜底 */
  min-height: calc(100svh - 75px);  /* 首屏撑满：减去 sticky 顶栏高度 */
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px, 6vh, 72px) 0;
  text-align: center;
}
/* 首屏底部满宽绿带：与第二屏 .section--dark 共用同一径向辉光（中心落在接缝线上）。
   第二屏辉光在其顶边 12% 0%，绿带辉光在其底边 12% 100%——同一物理点、同水平半径、同颜色，
   故接缝两侧颜色完全相同、无割裂。第二屏的 0.5 图层透明度 × 0.5 渐变 alpha 烘焙为 0.25。 */
.home-page .hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5%;
  --bar-glow-vr: 300px; /* 竖向半径≈桌面第二屏高×0.6，令衰减速率与第二屏一致 */
  background:
    radial-gradient(80% var(--bar-glow-vr) at 12% 100%, rgba(45, 106, 96, 0.25), transparent 60%),
    var(--teal-deep);
  pointer-events: none;
}
.home-page .hero-grid {
  grid-template-columns: 1fr;
  justify-items: center;
}
.home-page .hero .reveal {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.home-page .lockup { margin: 0; }
.home-page .lockup .lat {
  font-size: clamp(52px, 9vw, 104px);
  line-height: 1.02;
  letter-spacing: 0.04em;
}
.home-page .lockup .cn {
  font-size: clamp(18px, 2.4vw, 24px);
  letter-spacing: 0.12em;
  margin-top: 10px;
}
.home-page .hero .descriptor {
  justify-content: center;
  margin-top: 22px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: none;
  color: #6F7772;
}
.home-page .hero .descriptor .cn-tag {
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: 0.16em;
  color: #6F7772;
}
.home-page .hero .descriptor .sep {
  width: 4px; height: 4px; background: #6F7772; opacity: 0.5;
}
.home-page .hero .lead {
  text-align: center;
  max-width: 820px;
  margin: 40px auto 0;
  font-size: clamp(17px, 1.4vw, 19.5px);
  line-height: 1.78;
  letter-spacing: 0.01em;
}
.home-page .hero .actions {
  justify-content: center;
  margin-top: 36px;
}
/* 桌面端 Hero 按钮：字号仍 15px，仅把胶囊稍微拉长（移动端不变）*/
@media (min-width: 721px) {
  .home-page .hero .actions .btn { min-width: 196px; }
  /* 桌面端：在垂直居中基础上，hero 内容整体上移 1.5% 视口高（视觉微调）。
     移动端（≤720px）不动；底部绿带 .hero::after 绝对定位于底，不在 .hero-grid 内，不受影响。 */
  .home-page .hero-grid { transform: translateY(-1.5vh); }
}
.start-page .hero {
  padding: clamp(34px, 4.8vw, 64px) 0 clamp(34px, 4.8vw, 60px);
}
.start-page .hero-art {
  aspect-ratio: 16 / 12;
}

/* =========================================================
   区块
   ========================================================= */
.section { padding: clamp(48px, 6vw, 84px) 0; }
.section + .section { border-top: 1px solid var(--line); }

.section-head { max-width: 64ch; margin-bottom: 36px; }
.section-head p { color: var(--ink-soft); margin-bottom: 0; }
/* 窄列文字页（about/values/boundaries/legal 等）：800px 居中列，
   hero 与正文同列同左缘，左右留白对称。
   ※ 2026-06-11 拍板：废除"左缘锁定宽容器左缘"方案——大屏下留白
   全部堆在右侧，像排版事故；居中列的空是对称留白，不再回去。
   混排页（窄 hero + 宽正文，如 consulting）不许用 wrap narrow 当 hero，
   直接用 wrap，否则标题和正文左缘错位。 */
.section.narrow .wrap, .wrap.narrow {
  max-width: 800px;
}
/* 窄列内不再二次限宽：列宽即行宽。否则同一页出现两种行长
   （裸 p 撑满 800px、section-head 内被 64ch 压到 ~600px），参差难看。
   64ch/60ch 的全局上限只为宽页面服务。 */
.wrap.narrow .section-head,
.wrap.narrow .lead,
.wrap.narrow .trust-foot { max-width: none; }
/* 800px 窄列里 3 列 meta 卡每张只剩 ~210px 文字宽，行行折断；降为 2 列 */
.wrap.narrow .meta-list { grid-template-columns: repeat(2, 1fr); }

/* 深色权威区（深水青）— 给页面"分量"的对比锚 */
.section--dark { background: var(--teal-deep); color: var(--paper-on-dark); border: 0 !important; position: relative; overflow: hidden; }
.section--dark::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background: radial-gradient(80% 60% at 12% 0%, rgba(45,106,96,0.5), transparent 60%);
}
.section--dark > .wrap { position: relative; z-index: 1; }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark strong { color: var(--paper-on-dark); }
.section--dark .section-head p { color: var(--muted-on-dark); }
.section--dark a { color: var(--clay-2); }
/* clay-2 浅色链接只服务"直接踩在深底上"的链接；
   深色区内的浅底卡片（meta-item）里要回到全站浅底链接色，
   否则浅字配浅底近乎隐形（2026-06-11 consent/contact 咨询设置区实测） */
.section--dark .meta-item a { color: var(--teal); }
.section--dark .meta-item a:hover { color: var(--teal-strong); }
.section--dark .meta-item strong { color: var(--teal); }

/* =========================================================
   网格 + 卡片（分轻重）
   ========================================================= */
.grid { display: grid; gap: 18px; }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }

.panel {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); padding: 26px 26px 24px;
  transition: border-color var(--t), box-shadow var(--t), transform var(--t);
}
.panel:hover { border-color: var(--line-2); box-shadow: var(--sh-md); transform: translateY(-2px); }
.panel p:last-child { margin-bottom: 0; }
.panel .idx { font-family: var(--serif); font-style: italic; font-size: var(--fs-16); color: var(--clay); display: block; margin-bottom: 10px; }

/* 深底上的卡片 */
.section--dark .panel { background: rgba(238,241,233,0.05); border-color: var(--line-on-dark); color: var(--paper-on-dark); }
.section--dark .panel:hover { border-color: rgba(238,241,233,0.34); box-shadow: none; transform: translateY(-2px); }
.section--dark .panel p { color: var(--muted-on-dark); }

/* =========================================================
   信任区 — 用于深色权威区
   ========================================================= */
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px 36px; }
.trust-item { display: flex; gap: 13px; }
.trust-item .dot { flex: 0 0 auto; width: 9px; height: 9px; margin-top: 9px; border-radius: 50%; background: var(--clay-2); box-shadow: 0 0 0 4px var(--teal-a16); }
.trust-item .body { color: var(--muted-on-dark); font-size: var(--fs-15); line-height: 1.68; }
.trust-item .body strong { display: block; color: var(--paper-on-dark); font-weight: 600; margin-bottom: 3px; letter-spacing: 0.01em; }
.trust-foot {
  margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line-on-dark);
  color: var(--muted-on-dark); font-size: var(--fs-13-5); line-height: 1.7; max-width: 78ch;
}

/* =========================================================
   设置 / 价格 meta 列表
   ========================================================= */
.meta-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.meta-item {
  background: var(--surface); border: 1px solid var(--line);
  border-left: 3px solid var(--teal); border-radius: var(--r-sm); padding: 17px 19px;
}
.meta-item strong {
  display: block; font-family: var(--sans); color: var(--teal); font-size: var(--fs-11-5);
  font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 6px;
}
.meta-item .v { color: var(--ink); font-size: var(--fs-16); }
.meta-item .v a { font-weight: 600; }

/* =========================================================
   分层定价（锚高：标准档为深色 feature 卡）
   ========================================================= */
.pricing { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.price-card {
  display: flex; flex-direction: column; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r); padding: 24px 22px;
  transition: border-color var(--t), box-shadow var(--t), transform var(--t);
}
.price-card:hover { border-color: var(--line-2); box-shadow: var(--sh-md); transform: translateY(-2px); }
.price-card--feature {
  background: linear-gradient(165deg, var(--teal), var(--teal-deep));
  border-color: transparent; color: var(--paper-on-dark); box-shadow: var(--sh-md);
}
.price-card--feature:hover { box-shadow: var(--sh-lg); }
.price-card--intro { border-style: dashed; background: transparent; }
.pc-label { font-family: var(--sans); font-size: var(--fs-11-5); font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal); }
.price-card--feature .pc-label { color: #f1c9af; }
.pc-amt { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: var(--fs-44); line-height: 1; margin: 14px 0 5px; color: var(--ink); }
.price-card--feature .pc-amt { color: var(--paper-on-dark); }
.pc-amt .cur { font-size: var(--fs-22); vertical-align: super; margin-right: 1px; }
.pc-unit { font-size: var(--fs-13); color: var(--muted); }
.price-card--feature .pc-unit { color: var(--muted-on-dark); }
.pc-note { margin: 14px 0 0; font-size: var(--fs-13); line-height: 1.6; color: var(--ink-soft); }
.price-card--feature .pc-note { color: var(--muted-on-dark); }

/* 操作性设置行 */
.spec-row { list-style: none; margin: 20px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 16px 36px; }
.spec-row li { font-size: var(--fs-14-5); color: var(--ink-soft); }
.spec-row li span { display: block; font-size: var(--fs-11); font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal); margin-bottom: 3px; }

/* =========================================================
   透明度模块（资质 / 受训）
   ========================================================= */
.transparency {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); padding: clamp(26px, 4vw, 40px); position: relative;
}
.transparency .status {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px;
  background: var(--teal-soft); color: var(--teal-strong);
  border-radius: var(--r-pill); padding: 6px 14px; font-size: var(--fs-13); font-weight: 600; letter-spacing: 0.02em;
}
.transparency .status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.tp-rows { display: grid; gap: 0; margin-top: 6px; }
.tp-row { display: grid; grid-template-columns: 168px 1fr; gap: 20px; padding: 18px 0; border-top: 1px solid var(--line); }
.tp-row:first-child { border-top: 0; }
.tp-row dt { margin: 0; font-family: var(--sans); font-size: var(--fs-12); font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal); padding-top: 2px; }
.tp-row dd { margin: 0; color: var(--ink-soft); }
.tp-row dd p:last-child { margin-bottom: 0; }

/* =========================================================
   Q&A
   ========================================================= */
.qa-item { padding: 22px 0; border-top: 1px solid var(--line); }
.qa-item:first-of-type { border-top: 0; padding-top: 4px; }
.qa-item h3 { margin: 0 0 8px; display: flex; gap: 10px; }
.qa-item h3 .q { color: var(--clay); font-family: var(--serif); font-style: italic; flex: 0 0 auto; }
.qa-item p { color: var(--ink-soft); margin-bottom: 0; }

/* =========================================================
   提示 / callout
   ========================================================= */
.note {
  border-left: 3px solid var(--clay); background: var(--clay-soft);
  padding: var(--sp-16) var(--sp-20); margin: 22px 0; border-radius: 0 var(--r-sm) var(--r-sm) 0;
  color: var(--ink-soft); font-size: var(--fs-15);
}
.note p:last-child { margin-bottom: 0; }
.note--teal { border-left-color: var(--teal); background: var(--teal-soft); }
.legal-updated { margin-top: 30px; color: var(--muted); font-size: var(--fs-13); }

/* 心理求助资源页 */
.resources-hero {
  padding: clamp(26px, 3vw, 40px) 0 clamp(24px, 3.2vw, 42px);
}
.resources-page .resources-hero {
  padding-bottom: clamp(16px, 2vw, 28px);
}
.resources-page .resources-hero + .section {
  padding-top: clamp(22px, 2.8vw, 38px);
}
.resources-hero h1 {
  max-width: 760px;
  font-size: clamp(31px, 4.2vw, 49px);
  line-height: 1.18;
}
.resources-hero .descriptor {
  margin-bottom: 12px;
}
.resources-hero .lead {
  max-width: 64ch;
  margin-top: 16px;
  font-size: clamp(16px, 1.18vw, 18px);
  line-height: 1.65;
}
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-8);
  margin-bottom: var(--sp-20);
  color: var(--muted);
  font-size: var(--fs-13-5);
}
.breadcrumb a {
  color: var(--muted);
}
.breadcrumb a:hover {
  color: var(--teal);
}
.resource-sections {
  display: grid;
  gap: clamp(44px, 5vw, 68px);
  margin-top: clamp(42px, 5vw, 62px);
}
.resource-section {
  min-width: 0;
}
.resource-section-head {
  display: grid;
  grid-template-columns: minmax(180px, 0.8fr) minmax(280px, 1.4fr);
  align-items: end;
  gap: var(--sp-32);
  margin-bottom: var(--sp-22);
  padding-bottom: 0;
}
.resource-section-head h2 {
  margin: 0;
  color: var(--teal-deep);
  font-family: var(--cn-serif);
  font-size: clamp(23px, 2.6vw, 30px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.02em;
}
.resource-section-head p {
  margin: 0;
  color: rgba(38, 48, 44, 0.62);
  font-family: var(--sans);
  font-size: var(--fs-17);
  line-height: 1.75;
  text-align: right;
}
.resource-entry-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-18);
}
.resource-entry-card {
  display: block;
  min-width: 0;
  min-height: 164px;
  padding: var(--sp-26) var(--sp-28);
  border: 1px solid rgba(60, 55, 45, 0.18);
  border-radius: var(--r);
  background: rgba(255, 255, 255, 0.34);
  color: var(--ink-soft);
  text-decoration: none;
  transition: border-color var(--t-fast), background var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
}
.resource-entry-card:hover {
  color: var(--ink-soft);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 7px 20px -9px rgba(27, 27, 24, 0.18);
}
.resource-entry-card h3 {
  margin: 0 0 var(--sp-16);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--fs-21);
  font-weight: 500;
  line-height: 1.35;
}
.resource-entry-card .card-kicker {
  margin: 0 0 var(--sp-16);
  color: var(--teal);
  font-family: var(--sans);
  font-size: var(--fs-15);
  font-weight: 600;
  line-height: 1.45;
}
.resource-entry-card p {
  margin: 0;
  color: rgba(38, 48, 44, 0.74);
  font-family: var(--sans);
  font-size: var(--fs-16);
  line-height: 1.75;
}
.resources-page .resource-sections {
  display: grid;
  gap: clamp(44px, 5vw, 68px);
  margin-top: clamp(42px, 5vw, 62px);
}
.resources-page .resource-section {
  min-width: 0;
  margin-top: 0;
}
.resources-page .resource-section + .resource-section {
  margin-top: 0;
}
.resources-page .resource-section-head {
  display: grid;
  grid-template-columns: minmax(180px, 0.8fr) minmax(280px, 1.4fr);
  align-items: end;
  gap: var(--sp-32);
  margin-bottom: var(--sp-22);
  padding-bottom: 0;
}
.resources-page .resource-entry-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-18);
}
.resources-page .resource-entry-card h3 {
  margin: 0 0 var(--sp-14);
  font-family: var(--sans);
  font-size: var(--fs-21);
  line-height: 1.35;
  font-weight: 500;
}
.resources-page .resource-entry-card .card-kicker {
  margin: 0 0 var(--sp-14);
  font-family: var(--sans);
  font-size: var(--fs-15);
  line-height: 1.45;
  font-weight: 600;
  color: var(--teal-deep);
}
.resources-page .resource-entry-card p {
  margin: 0;
  font-family: var(--sans);
  font-size: var(--fs-16);
  line-height: 1.75;
}
.resource-safety-strip {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-12);
  margin-top: var(--sp-14);
  padding: var(--sp-12) var(--sp-14);
  border: 1px solid var(--gold-a24);
  border-left: 3px solid var(--flusso-signal);
  border-radius: var(--r-sm);
  background: rgba(244, 235, 216, 0.42);
}
.resource-safety-strip span {
  flex: 0 0 auto;
  color: var(--teal-deep);
  font-size: var(--fs-13);
  font-weight: 600;
  letter-spacing: 0.06em;
}
.resource-safety-strip p {
  margin: 0;
  color: var(--ink-soft);
  font-size: var(--fs-14-5);
  line-height: 1.65;
}
.resource-alert {
  max-width: 860px;
  margin-top: var(--sp-28);
  padding: var(--sp-18) var(--sp-22);
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal);
  border-radius: var(--r-sm);
  background: var(--surface);
}
.resource-alert strong {
  display: block;
  margin-bottom: var(--sp-5);
  color: var(--teal-deep);
}
.resource-alert p {
  margin-bottom: 0;
}
.resource-alert--urgent {
  border-left-color: var(--flusso-signal);
}
.resource-category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-14);
}
.resource-category-grid--cities {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.resource-category {
  display: flex;
  flex-direction: column;
  gap: var(--sp-10);
  min-height: 176px;
  padding: var(--sp-20);
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
  color: var(--ink-soft);
}
.resource-category:hover {
  border-color: var(--teal-a36);
  color: var(--ink-soft);
  text-decoration: none;
  transform: translateY(-2px);
}
.resource-category span {
  color: var(--teal);
  font-weight: 600;
}
.resource-category strong {
  color: var(--muted);
  font-size: var(--fs-14);
  font-weight: 500;
  line-height: 1.65;
}
.resource-category small,
.resource-category em {
  color: var(--muted);
  font-size: var(--fs-13);
  font-style: normal;
}
.resource-category--planned {
  background: var(--paper-2);
  color: var(--muted);
}
.resource-category--planned .resource-tag {
  background: var(--surface);
  color: var(--muted);
}
.resource-path-grid,
.resource-card-grid,
.template-grid {
  display: grid;
  gap: var(--sp-16);
}
.resources-page .resource-path-grid,
.resources-page .resource-card-grid,
.resources-page [data-resource-accordion],
.resources-page .resource-accordion-body {
  overflow-anchor: none;
}
.resource-path-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.resource-card-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.template-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  /* 同一桌面行的模板卡片等高，避免较短卡片下方留下空白。 */
  align-items: stretch;
}
/* 2026-07-03 桌面版面修正：单卡 grid 限宽单列（避免半宽孤卡+右侧空栏） */
.template-grid--single { grid-template-columns: minmax(0, 720px); }
/* 通栏卡：跨满 template-grid 两列；卡内句式（phrase-items）桌面排两列 */
.template-card--wide { grid-column: 1 / -1; }
.phrase-items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-8) var(--sp-22);
}
.phrase-item { min-width: 0; }
.resource-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: var(--sp-14);
  margin-bottom: var(--sp-20);
  padding: var(--sp-16);
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
}
.resource-toolbar label {
  display: grid;
  gap: var(--sp-6);
  min-width: min(100%, 240px);
}
.resource-toolbar label:first-child {
  flex: 1 1 320px;
}
.resource-toolbar label > span:first-child {
  color: var(--muted);
  font-size: var(--fs-12);
  font-weight: 600;
  letter-spacing: 0.08em;
}
.resource-toolbar .search-field {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: 0;
}
.resource-toolbar input,
.resource-toolbar select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  padding: var(--sp-8) var(--sp-12);
}
.resource-toolbar select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 13 8'%3E%3Cpath d='M1 1.5L6.5 6.5L12 1.5' fill='none' stroke='%234A4741' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: right 20px center;
  background-size: 11px 7px;
  background-repeat: no-repeat;
}
/* 输入框走"绿边 + halo"，不叠加按钮那套 outline —— 没有这句 outline: none，
   全局 :focus-visible 的 outline 会和这里的 halo 叠成三层（边框 + 环 + outline）。 */
.resource-toolbar input:focus,
.resource-toolbar select:focus {
  border-color: var(--teal);
  outline: none;
  box-shadow: var(--flusso-focus-halo);
}
.resource-count {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  align-self: flex-end;
  min-height: 44px;
  margin: 0 0 0 auto;
  color: var(--muted);
  font-size: var(--fs-14);
  line-height: 1.4;
  white-space: nowrap;
}
.path-card,
.resource-card,
.template-card,
.resource-disclaimer {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: var(--sp-24);
}
.resource-path-grid--2x2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }  /* 四卡 2×2（窄屏规则继承原有断点） */
.path-card {
  display: flex;
  flex-direction: column;
  color: var(--ink-soft);
  text-decoration: none;
  border-left: 3px solid var(--teal);
  transition: border-color var(--t-fast), box-shadow var(--t), transform var(--t-fast);
}
.path-card:hover {
  color: var(--ink-soft);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 7px 20px -9px rgba(27, 27, 24, 0.18);
}
.path-card--urgent {
  border-left-color: var(--flusso-signal);
}
.resource-tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: var(--pad-chip);
  border: 1px solid var(--teal-a16);
  border-radius: var(--r-pill);
  background: var(--teal-soft);
  color: var(--teal);
  font-size: var(--fs-12);
  font-weight: 600;
  letter-spacing: 0.04em;
}
.resource-tag--urgent {
  border-color: var(--gold-a24);
  background: var(--flusso-signal-soft);
  color: var(--flusso-signal);
}
/* 路径卡分类标签：按三形态规则降为 kicker 小字（曾被 flex 拉成通栏胶囊条） */
.path-card__label {
  align-self: flex-start;
  color: var(--teal);
  font-size: var(--fs-12);
  font-weight: 600;
  letter-spacing: 0.08em;
}
.path-card--urgent .path-card__label {
  color: var(--gold-ink);
}
.path-card h3,
.resource-card h3 {
  margin-top: var(--sp-14);
}
/* 机构/服务名称下方的中文辅助译名（仅辅助理解，不替代官方意大利语名称） */
.resource-title-zh {
  margin-top: 6px;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 500;
  color: rgba(38, 45, 41, 0.66); /* ≈4.65:1，通过 WCAG AA（原 0.62≈4.15:1 不达标） */
}
/* 资源列表前的中文译名说明 */
.resource-zh-note {
  margin: 0 0 var(--sp-14);
  color: var(--muted);
  font-size: var(--fs-14);
  line-height: 1.6;
}
.path-card p {
  margin-bottom: var(--sp-14);
  color: var(--ink-soft);
}
.path-card__cta {
  display: inline-flex;
  margin-top: auto;
  padding-top: var(--sp-8);
  color: var(--teal);
  font-size: var(--fs-14);
  font-weight: 600;
}
.path-card:hover .path-card__cta {
  color: var(--teal-strong);
}
.path-card p:last-child,
.resource-card p:last-child,
.template-card p:last-child,
.template-card pre:last-child,
.resource-disclaimer p:last-child {
  margin-bottom: 0;
}
.resource-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-12);
  margin-bottom: var(--sp-10);
}
.resource-date {
  color: var(--muted);
  font-size: var(--fs-12-5);
  white-space: nowrap;
}
.resource-field {
  margin: var(--sp-12) 0 0;
}
.resource-field span {
  display: block;
  color: var(--muted);
  font-size: var(--fs-12);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.resource-field strong {
  display: block;
  margin-top: var(--sp-2);
  color: var(--ink-soft);
  font-weight: 500;
}
.resource-note {
  margin-top: var(--sp-14);
  padding-top: var(--sp-13);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: var(--fs-14);
}
.resource-source {
  margin-top: var(--sp-18);
  min-height: 42px;
  padding: var(--sp-9) var(--sp-18);
  font-size: var(--fs-14);
}
/* 紧急页下方三张入口卡：仅此组以内容区伸展、行动区贴底，避免用文案长度制造视觉对齐。 */
.emergency-detail-card__content {
  display: flex;
  flex: 1;
  flex-direction: column;
}
.emergency-detail-card__content > p {
  margin-bottom: 0;
  font-size: var(--fs-15);
  line-height: 1.7;
}
.emergency-detail-card__title {
  line-height: 1.3;
}
.emergency-detail-card__subtitle {
  margin: var(--sp-6) 0 0;
  color: var(--muted);
  font-size: var(--fs-14);
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
}
.emergency-detail-card__actions {
  display: flex;
  margin-top: auto;
  padding-top: var(--sp-18);
}
.emergency-detail-card__actions .resource-source {
  margin-top: 0;
}
.emergency-local-entry-details {
  gap: var(--sp-20);
}
.emergency-local-entry-detail h4 {
  margin: 0 0 var(--sp-6);
  color: var(--muted);
  font-size: var(--fs-14);
  font-weight: 600;
  line-height: 1.35;
}
.emergency-local-entry-detail p {
  margin: 0;
  color: var(--ink-soft);
  font-size: var(--fs-15);
  line-height: 1.65;
}
@media (min-width: 761px) {
  .emergency-detail-card {
    min-height: 466.6px;
    padding: var(--sp-32) var(--sp-18) var(--sp-12);
  }
  .emergency-detail-card h3 {
    margin-top: 0;
  }
  .emergency-detail-card__heading {
    min-height: 0;
    margin-bottom: var(--sp-26);
  }
  .emergency-detail-card .resource-accordion-body,
  .emergency-detail-card .resource-accordion-body-inner {
    display: flex;
    flex: 1;
    flex-direction: column;
  }
  .emergency-detail-card__actions {
    padding-top: var(--sp-30);
  }
}
.resource-page-note {
  margin-top: var(--sp-18);
  padding: var(--sp-18) var(--sp-22);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--paper-2);
}
.resource-page-note p {
  margin-bottom: 0;
  color: var(--ink-soft);
}
.template-scenario {
  color: var(--ink-soft);
}
.template-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--sp-16);
  margin-bottom: var(--sp-14);
}
.template-card__head h3 {
  margin-bottom: 0;
}
.copy-template {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 36px;
  padding: var(--sp-7) var(--sp-13);
  border: 1px solid var(--line-2);
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--teal);
  font: inherit;
  font-size: var(--fs-13);
  font-weight: 600;
  cursor: pointer;
}
.copy-template:hover {
  border-color: var(--teal);
  background: var(--surface);
}
.template-card pre {
  /* reset.css 把 pre 的默认外边距清零了，这里之前一直是吃浏览器默认的
     `pre { margin: 1em 0 }` 撑开和上下文字的间距，现在补回来（用 --sp-16
     对齐这条规则自己的 padding，视觉上量级一致） */
  margin: var(--sp-16) 0;
  overflow-x: auto;
  white-space: pre-wrap;
  padding: var(--sp-16);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--paper);
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: var(--fs-14);
  line-height: 1.75;
}
/* 开口话术页（resources/phrases/）：复用 template-card 体系，只补三件小东西。
   复制行为走 main.js 的 .copy-btn[data-copy] 全局委托，零页面级 JS。 */
.phrase-lang {
  margin: var(--sp-14) 0 6px;
  font-family: var(--sans); color: var(--teal);
  font-size: var(--fs-11-5); font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.phrase-zh { margin: 0; color: var(--ink); line-height: 1.8; }
.phrase-copy-sm { min-height: 30px; margin-top: var(--sp-7); padding: 4px var(--sp-12); font-size: var(--fs-12); }
.copy-template .copied-label { display: none; }
.copy-template.is-copied { border-color: var(--teal); background: var(--surface); }
.copy-template.is-copied .copy-label { display: none; }
.copy-template.is-copied .copied-label { display: inline; }
.glossary-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-12);
  margin: 0;
}
/* 词汇表分组（2026-06-11）：toc 锚点胶囊行 + 组标题 + 提示行。
   ↓ = 锚点滚动（箭头法典）；行内词条样式继续走 .glossary-list / .glossary-row。 */
/* —— 词汇页搜索与折叠（2026-07-03 融合批） —— */
.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;
}
.glossary-search { margin: 0 0 var(--sp-16); }
.glossary-search__field { position: relative; }
.glossary-search input {
  width: 100%; min-height: 44px; padding: 10px 44px 10px 14px;
  border: 1px solid var(--line); border-radius: 12px;
  background: var(--surface); color: var(--ink);
  font: inherit; font-size: 16px; /* ≥16px：避免 iOS 聚焦时页面自动放大 */
}
.glossary-search input::placeholder { color: var(--muted); }
/* 隐藏浏览器原生清空按钮，用站内风格的自绘 ✕（双线段，同铰接箭头族） */
.glossary-search input::-webkit-search-cancel-button,
.glossary-search input::-webkit-search-decoration,
.search-field input::-webkit-search-cancel-button,
.search-field input::-webkit-search-decoration { -webkit-appearance: none; appearance: none; display: none; }
/* 资源工具栏搜索（城市/大学）：同款自绘 ✕（2026-07-03 与词汇页统一） */
.search-field { position: relative; display: block; }
.search-field input { padding-right: 40px; }
.search-clear {
  position: absolute; top: 50%; right: 0; transform: translateY(-50%);
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; padding: 0;
  border: 0; background: transparent; color: var(--muted);
  cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.search-clear[hidden] { display: none; }
.search-clear:hover { color: var(--ink-soft); }
.search-clear span {
  position: absolute; left: 50%; top: 50%;
  width: 13px; height: 1.8px; margin: -0.9px 0 0 -6.5px;
  border-radius: var(--r-pill); background: currentColor;
}
.search-clear span:first-child { transform: rotate(45deg); }
.search-clear span:last-child { transform: rotate(-45deg); }
.glossary-search__clear {
  position: absolute; top: 50%; right: 0; transform: translateY(-50%); /* 跟随输入框实际高度垂直居中 */
  display: none; width: 44px; height: 44px; padding: 0;
  border: 0; background: transparent; color: var(--muted); /* 清空是辅助操作，用安静的暖灰，不抢主绿 */
  cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.glossary-search__clear:hover { color: var(--ink-soft); }
.glossary-search.has-value .glossary-search__clear { display: inline-grid; place-items: center; }
.glossary-search__clear span {
  position: absolute; left: 50%; top: 50%;
  width: 13px; height: 1.8px; margin: -0.9px 0 0 -6.5px;
  border-radius: var(--r-pill); background: currentColor;
}
.glossary-search__clear span:first-child { transform: rotate(45deg); }
.glossary-search__clear span:last-child { transform: rotate(-45deg); }
.glossary-search__status { margin: 8px 0 0; min-height: 1.2em; font-size: var(--fs-13); color: var(--muted); }
.glossary-row dd span.glossary-everyday { color: var(--teal); font-weight: 500; }
.glossary-hidden { display: none !important; }
/* 风险组不装盒也不加警示条：与其他分组完全同构，
   提示语作普通 hint 常驻（折叠时可见），强调仅靠置顶位置与链接本身。 */
.glossary-group__hint a { color: var(--teal); font-weight: 600; white-space: nowrap; }
/* 分组头按钮：桌面端只是普通标题行（恒展开、箭头隐藏、不可点） */
.glossary-group__head {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 0; border: 0; background: transparent; color: inherit;
  font: inherit; text-align: left; cursor: default;
}
.glossary-group__head .resource-chevron { display: none; margin-left: auto; color: var(--teal); flex: 0 0 auto; }

.glossary-toc { display: flex; flex-wrap: wrap; gap: var(--sp-7) var(--sp-12); margin-bottom: var(--sp-12); }
.glossary-toc a {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 6px 14px; border: 1px solid var(--line-2); border-radius: var(--r-pill);
  font-family: var(--sans); font-size: var(--fs-13); font-weight: 500; color: var(--teal);
}
.glossary-toc a:hover { border-color: var(--teal); background: var(--surface); text-decoration: none; }
.glossary-group { margin-top: var(--sp-28); }
.glossary-group > h3 {
  margin: 0 0 6px; font-size: clamp(19px, 1.5vw, 22px);
}
.glossary-group__count {
  margin-left: 10px; font-family: var(--sans); font-size: var(--fs-12);
  font-weight: 400; letter-spacing: 0.08em; color: var(--ink-soft);
}
.glossary-group__hint { margin: 0 0 var(--sp-16); color: var(--ink-soft); font-size: var(--fs-14); }
.glossary-row {
  display: grid;
  grid-template-columns: minmax(132px, 0.56fr) 1fr;
  gap: var(--sp-16);
  padding: var(--sp-18);
  border: 1px solid var(--line);
  border-left: 3px solid var(--teal); /* 2026-07-03 与资源首页强调卡统一：实色主绿替换发灰的 teal-a18 */
  border-radius: var(--r-sm);
  background: var(--surface);
}
.glossary-row--urgent {
  border-left-color: var(--flusso-signal);
}
.glossary-row dt {
  color: var(--teal);
  font-weight: 600;
  overflow-wrap: anywhere;
}
.glossary-row dd {
  display: grid;
  /* align-content 不写=stretch：卡片被同行更高的邻卡拉齐后，
     多余高度会均分给 dd 的行轨，「紧急相关」胶囊跟着被抻高。
     start = 内容顶部堆叠，余量留在底部（2026-06-11 分组后暴露的老雷）。 */
  align-content: start;
  gap: var(--sp-4);
  margin: 0;
  color: var(--ink-soft);
}
.glossary-row dd strong {
  color: var(--ink);
}
.glossary-row dd span,
.glossary-row dd small {
  color: var(--muted);
}
.glossary-row dd em {
  justify-self: start;
  margin-top: var(--sp-4);
  padding: var(--pad-chip);
  border: 1px solid var(--gold-a24);
  border-radius: var(--r-pill);
  background: var(--flusso-signal-soft);
  color: var(--flusso-signal);
  font-size: var(--fs-12);
  font-style: normal;
  font-weight: 600;
}
.resource-disclaimer {
  border-left: 4px solid var(--teal);
}

/* =========================================================
   工具箱 / ToolShell 共享结构
   ========================================================= */
.tool-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-16);
}
.start-grid {
  align-items: stretch;
}
.start-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-18);
}
.tool-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: var(--sp-24);
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
  color: var(--ink-soft);
  transition: border-color var(--t-fast), box-shadow var(--t), transform var(--t-fast);
}
/* 大卡 hover 位移全站统一为 -2px（原先 -1px / -2px / -3px 三种并存）。 */
.tool-card:hover {
  border-color: var(--teal-a36);
  box-shadow: var(--sh-md);
  transform: translateY(-2px);
}
.tool-card--available {
  border-left: 4px solid var(--teal);
  background:
    linear-gradient(180deg, rgba(230, 238, 233, 0.42), rgba(252, 251, 247, 0.88)),
    var(--surface);
}
.tool-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-12);
  margin-bottom: var(--sp-14);
}
.tool-card__idx {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--paper-on-dark);
  font-family: var(--serif);
  font-style: italic;
}
.tool-status {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: var(--pad-chip);
  border: 1px solid var(--teal-a16);
  border-radius: var(--r-pill);
  background: var(--teal-soft);
  color: var(--teal);
  font-size: var(--fs-12);
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.tool-status--soon {
  /* 中性灰：安静的未完成态（金色让位「新增」专用，2026-06-11） */
  border-color: var(--line-2);
  background: var(--paper-2);
  color: var(--muted);
}
.tool-status--new {
  background: #F4EBD8;
  color: #71521C;
  border: 1px solid rgba(176, 138, 69, 0.22);
}
.tool-status--beta {
  background: #EAF3F8;
  color: #2F647A;
  border: 1px solid #C9DDE8;
}
.tool-card h4 {
  /* reset.css 里 h1-h6 统一 font-weight:inherit 后，没有别的规则接住 h4，
     标题会跟着 body 的 400 常规字重走，看起来比之前浏览器默认加粗的样子更细。
     补一条 600，和站内 h3 的视觉重量对齐。 */
  font-weight: 600;
}
.tool-card p {
  color: var(--ink-soft);
}
.tool-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-7) var(--sp-16);
  margin: var(--sp-10) 0 var(--sp-20);
}
.tool-tags span {
  /* 方案乙：属性降级为圆点文字（胶囊只留状态章） */
  display: inline-flex;
  align-items: center;
  gap: var(--sp-6);
  color: var(--muted);
  font-size: var(--fs-13);
  font-weight: 400;
}
.tool-tags span::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal);
  opacity: 0.55;
}
.tool-card__cta {
  margin-top: auto;
}
.tool-shell {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
  padding: clamp(22px, 4vw, 38px);
  box-shadow: var(--sh-md);
}
.tool-result-card,
.tool-next-steps,
.tool-actions {
  margin-top: var(--sp-22);
}
.tool-privacy-notice {
  margin: var(--sp-18) 0 var(--sp-22);
  padding: var(--sp-16) var(--sp-18);
  border: 1px solid var(--teal-a16);
  border-left: 4px solid var(--teal);
  border-radius: var(--r-sm);
  background: var(--teal-soft);
  color: var(--ink-soft);
}
.tool-privacy-notice p:last-child {
  margin-bottom: 0;
}
/* 工具页通用 chip + 灰字风险提示（与 tool-suite 风格统一，供非 suite 工具页复用；
   数值镜像 tool-suite.css 的 .tool-suite-tags / .tool-start-safety-note，改动需同步两处） */
.tool-suite-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-8) var(--sp-16);
  margin: var(--sp-18) 0 0;
  padding: 0;
  list-style: none;
}
.tool-suite-tags li {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-6);
  color: var(--muted);
  font-size: var(--fs-13);
  letter-spacing: 0.02em;
}
.tool-suite-tags li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal);
  opacity: 0.55;
}
.tool-start-safety-note {
  margin: var(--sp-14) 0 0;
  color: var(--muted);
  font-size: var(--fs-13);
  line-height: 1.7;
}
.tool-next-steps {
  display: grid;
  gap: var(--sp-10);
  padding-top: var(--sp-18);
  border-top: 1px solid var(--line);
}

/* =========================================================
   心理状态卡工具
   ========================================================= */
.state-card-hero {
  padding-top: clamp(20px, 2.6vw, 34px);
  padding-bottom: clamp(14px, 1.8vw, 24px);
}
.state-card-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-14);
}
.state-point {
  min-height: 190px;
  padding: var(--sp-24);
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
}
.state-point span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: var(--sp-18);
  border-radius: 50%;
  background: var(--teal);
  color: var(--paper-on-dark);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
}
.state-point p {
  color: var(--muted);
}
.state-card-shell,
.state-result {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
  padding: clamp(22px, 4vw, 38px);
  box-shadow: var(--sh-md);
}
/* 与上方「它会帮你整理什么」卡片的间距，统一为卡片间距 --sp-14 */
.state-card-shell { margin-top: var(--sp-14); }
/* 题目区是独立于「开始前」说明卡的第二张卡（复用 .tool-shell 的边框/背景/阴影），
   间距跟其他工具（tool-suite-layout 的 intro/shell 间距）保持一致 */
[data-state-card-form-shell] { margin-top: clamp(22px, 4vw, 40px); }
.state-card-shell__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--sp-24);
  margin-bottom: var(--sp-28);
}
.state-card-shell__head p:last-child {
  margin-bottom: 0;
}
.state-card-privacy {
  flex: 0 0 auto;
  margin: 0;
  padding: var(--sp-6) var(--sp-12);
  border: 1px solid var(--teal-a16);
  border-radius: var(--r-pill);
  background: var(--teal-soft);
  color: var(--teal);
  font-size: var(--fs-12-5);
  font-weight: 600;
  white-space: nowrap;
}
.state-stepper {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--sp-10);
  margin: 0 0 var(--sp-28);
  padding: 0;
  list-style: none;
}
.state-stepper li {
  display: flex;
  align-items: center;
  gap: var(--sp-9);
  min-height: 48px;
  padding: var(--sp-10) var(--sp-12);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--paper);
  color: var(--muted);
  font-size: var(--fs-13);
  font-weight: 600;
}
.state-stepper span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--paper-2);
  color: var(--teal);
  font-family: var(--serif);
  font-style: italic;
}
.state-stepper li.is-current {
  border-color: var(--teal-a36);
  background: var(--teal-soft);
  color: var(--teal);
}
.state-stepper li.is-complete span,
.state-stepper li.is-current span {
  background: var(--teal);
  color: var(--paper-on-dark);
}
.state-form fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}
.state-form legend {
  margin-bottom: var(--sp-18);
  color: var(--teal);
  font-weight: 600;
}
.state-question {
  padding: var(--sp-22) 0;
  border-top: 1px solid var(--line);
}
.state-question:first-of-type {
  padding-top: 0;
  border-top: 0;
}
.state-question h3 {
  margin-bottom: var(--sp-4);
}
.state-question > p {
  margin-bottom: var(--sp-14);
  color: var(--muted);
  font-size: var(--fs-14);
}
.choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-10);
}
.choice-grid--compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.choice-card {
  position: relative;
  display: flex;
  min-height: 56px;
  align-items: center;
  padding: var(--sp-13) var(--sp-15);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--paper);
  color: var(--ink-soft);
  cursor: pointer;
  transition: border-color var(--t-fast), background var(--t-fast), color var(--t-fast), box-shadow var(--t-fast);
}
.choice-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.choice-card span {
  display: block;
  line-height: 1.45;
  font-size: var(--fs-14-5);
  font-weight: 600;
}
.choice-card:hover,
.choice-card:focus-within {
  border-color: var(--teal-a36);
  background: var(--surface);
}
.choice-card.is-selected,
.choice-card:has(input:checked) {
  border-color: var(--teal-a52);
  background: var(--teal-soft);
  color: var(--teal);
}
.field {
  display: grid;
  gap: var(--sp-8);
  margin-top: var(--sp-14);
  color: var(--ink-soft);
  font-weight: 600;
}
.field--hidden {
  display: none;
}
.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  padding: var(--sp-13) var(--sp-14);
}
.field textarea {
  resize: vertical;
  min-height: 112px;
}
.field input:focus,
.field textarea:focus {
  border-color: var(--teal);
  outline: none;
  box-shadow: var(--flusso-focus-halo);
}
.range-field {
  display: grid;
  gap: var(--sp-12);
}
.range-field > span {
  color: var(--ink);
  font-weight: 600;
}
.range-field strong {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  min-height: 42px;
  border-radius: var(--r-pill);
  background: var(--teal);
  color: var(--paper-on-dark);
  font-family: var(--serif);
  font-style: italic;
  font-size: var(--fs-24);
}
.range-field input[type="range"] {
  width: 100%;
  accent-color: var(--teal);
}
.range-field small {
  display: flex;
  justify-content: space-between;
  gap: var(--sp-14);
  color: var(--muted);
  font-size: var(--fs-12-5);
}
.state-form-error {
  min-height: 28px;
  margin: var(--sp-4) 0 0;
  color: #7a4d38;
  font-weight: 600;
}

.state-completion {
  display: flex;
  justify-content: space-between;
  gap: var(--sp-14);
  margin: 0 0 var(--sp-22);
  padding-bottom: var(--sp-14);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: var(--fs-13);
  font-weight: 600;
  letter-spacing: 0.04em;
}
@media (max-width: 720px) {
  .state-completion {
    align-items: flex-start;
    flex-direction: column;
    gap: var(--sp-4);
  }
}

/* 自评工具 V1：温和但明确的必答漏项状态。
   outline 不改变题卡尺寸；滚动补偿与 sticky header 的全站高度保持一致。 */
[data-assessment-required-item] {
  scroll-margin-top: calc(75px + 18px);
}
[data-assessment-required-item].is-missing {
  outline: 2px solid var(--assessment-attention);
  outline-offset: 6px;
  border-radius: var(--r-sm);
}
@media (max-width: 720px) {
  [data-assessment-required-item] {
    scroll-margin-top: calc(var(--mobile-header-height) + 16px);
  }
}
.state-actions,
.state-result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-12);
  margin-top: var(--sp-18);
}
.state-result-section[hidden] {
  display: none;
}
.state-safety-notice,
.state-high-notice {
  margin-bottom: var(--sp-22);
  padding: var(--sp-18) var(--sp-20);
  border: 1px solid var(--gold-a24);
  border-left: 4px solid var(--flusso-signal);
  border-radius: var(--r-sm);
  background: var(--flusso-signal-soft);
  color: var(--ink-soft);
}
.state-safety-notice strong {
  display: block;
  margin-bottom: var(--sp-6);
}
.state-safety-notice p,
.state-high-notice p {
  margin-bottom: 0;
}
.state-card-output {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-12);
  margin-top: var(--sp-22);
}
.state-result-card {
  padding: var(--sp-18);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--paper);
}
.state-result-card span {
  display: block;
  margin-bottom: var(--sp-6);
  color: var(--teal);
  font-size: var(--fs-12);
  font-weight: 600;
  letter-spacing: 0.08em;
}
.state-result-card p {
  margin-bottom: 0;
  color: var(--ink-soft);
}
.state-copy-status {
  min-height: 24px;
  margin: var(--sp-12) 0 0;
  color: var(--teal);
  font-weight: 600;
}
.state-helper-links {
  display: grid;
  gap: var(--sp-9);
  margin-top: var(--sp-22);
  padding-top: var(--sp-18);
  border-top: 1px solid var(--line);
}
.state-helper-links a {
  color: var(--muted);
  font-size: var(--fs-14);
}

/* 列表 */
.list { margin: 0; padding-left: 20px; list-style: disc; } /* reset.css 对带 class 的 ul/ol 统一去掉了项目符号，这里的 li::marker 着色是有意保留圆点，补回来 */
.list li { margin: 9px 0; padding-left: 4px; }
.list li::marker { color: var(--clay); }

/* =========================================================
   最终 CTA
   ========================================================= */
.final {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); padding: clamp(30px, 5vw, 52px); position: relative; overflow: hidden;
}
.final .accent-bar { position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: linear-gradient(var(--teal), var(--teal-mid)); }
.final h2 { margin-top: 0; }
.final p { max-width: 62ch; color: var(--ink-soft); }

/* =========================================================
   流线 / 桥水 motif 分隔
   ========================================================= */

/* =========================================================
   媒体占位
   ========================================================= */
.media-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 48px); align-items: center; }

/* 8B 对齐语法：窄容器内的 media-split 纵向堆叠（about 品牌区收窄后，艺术图成通栏图版） */
.wrap.narrow .media-split { grid-template-columns: 1fr; gap: var(--sp-24); }

/* =========================================================
   页脚 — 深水青锚（与中部深色区呼应，框住暖色正文）
   ========================================================= */
.site-footer {
  height: auto;
  min-height: auto;
  margin-top: clamp(56px, 7vw, 96px);
  background: var(--teal-deep);
  color: var(--muted-on-dark);
  position: relative;
  overflow: hidden;
}
.site-footer::before { content: ""; position: absolute; inset: 0; opacity: 0.4; pointer-events: none; background: radial-gradient(70% 60% at 88% 110%, rgba(45,106,96,0.6), transparent 60%); }
.footer-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  align-content: flex-start;
  gap: var(--sp-28) 50px;
  padding: clamp(32px, 4.6vw, 50px) 0 calc(clamp(32px, 4.6vw, 50px) - 9px);
}
.footer-brand { flex: 0 1 420px; }
.footer-inner > .footer-nav { flex: 0 0 auto; margin-top: 12px; }
.footer-nav[aria-label="服务说明"] { margin-left: auto; }
/* 页脚栏序：相关信息居中、联系最右 */
.footer-nav[aria-label="了解 Flusso"] { order: 1; }
.footer-nav[aria-label="联系"] { order: 2; }
.footer-brand .lat { font-family: var(--font-brand-latin); font-style: normal; font-weight: 500; color: var(--paper-on-dark); font-size: 30px; line-height: 1.6; letter-spacing: 0.06em; }
.footer-brand .cn { font-family: var(--cn-serif); color: var(--paper-on-dark); font-size: 17px; letter-spacing: 0.1em; margin-top: 3px; display: block; }
.footer-brand p { margin: 12px 0 0; max-width: 46ch; line-height: 1.7; font-size: 14.5px; color: var(--muted-on-dark); }
.footer-brand .footer-meta { margin-top: 20px; }
.footer-brand .footer-meta ~ p { margin-top: 7px; }
.footer-meta { font-size: var(--fs-13); color: var(--muted-on-dark); display: flex; flex-wrap: wrap; gap: 6px 16px; }
.footer-meta a { color: var(--paper-on-dark); }
/* align-items:flex-start 让每个链接收缩到文字宽度（点击区不再拉满整栏）；
   gap 减小 + 链接上下 padding 抵消，整体视觉间距保持不变。 */
.footer-nav { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.footer-nav .h { font-family: var(--sans); font-size: var(--fs-14-5); font-weight: 600; letter-spacing: 0.08em; text-transform: none; color: rgba(245, 250, 247, 0.82); margin-bottom: 8px; }
.footer-nav a { display: inline-flex; width: fit-content; max-width: max-content; padding: 2px 0; font-family: var(--sans); color: rgba(220, 232, 226, 0.82); font-size: var(--fs-13); font-weight: 400; line-height: 1.5; }
.footer-nav a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer-nav a[aria-current="page"] { color: #fff; }
.footer-nav span:not(.h) { color: var(--muted-on-dark); font-size: var(--fs-14-5); line-height: 1.5; }
.footer-base { position: relative; z-index: 1; border-top: 1px solid var(--line-on-dark); padding: 14px 0 20px; font-size: var(--fs-12-5); color: var(--muted-on-dark); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }

/* =========================================================
   滚动揭示（尊重 reduced-motion）
   ========================================================= */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.6,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }

/* =========================================================
   响应式
   ========================================================= */
@media (max-width: 940px) {
  .brand-tagline { display: none; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .meta-list { grid-template-columns: repeat(2, 1fr); }
  .pricing { grid-template-columns: repeat(2, 1fr); }
  .tool-grid, .start-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .resource-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .resource-category-grid--cities { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .resource-path-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .resource-card-grid, .template-grid, .glossary-list, .phrase-items { grid-template-columns: 1fr; }
  /* 移动端每张模板卡片各占一行，维持其内容决定的自然高度。 */
  .template-grid { align-items: start; }
  .state-card-points { grid-template-columns: 1fr; }
  .state-stepper { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .choice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .state-card-output { grid-template-columns: 1fr; }
}
@media (max-width: 980px) {
  .resources-page .resource-entry-card-grid,
  .resource-entry-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .resources-page .resource-section-head,
  .resource-section-head {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .resources-page .resource-section-head p,
  .resource-section-head p {
    text-align: left;
  }
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-art { aspect-ratio: 16 / 11; order: -1; }
  .media-split { grid-template-columns: 1fr; }
  .home-page .hero-grid { gap: 26px; }
}
@media (max-width: 720px) {
  /* Logo（.wrap）和展开菜单各自独立设 25px，不再共用 --gutter 变量——
     两处分开写，互不影响，各自的值可以单独调整。 */
  .wrap { width: min(100% - 50px, var(--max)); }
  body { font-size: 16px; }
  body.nav-open .site-header {
    background: rgb(247, 245, 239);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid var(--teal-a16);
    box-shadow: none;
  }
  .header-inner { min-height: 62px; gap: 12px; }
  .nav-toggle {
    display: inline-flex;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    margin-right: -1px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--teal);
    line-height: 1;
  }
  .brand-flusso { font-size: 20px; }
  .brand-cn { font-size: 16px; letter-spacing: 0.06em; margin-left: 0.35em; }
  .brand-tagline { display: none; }

  .site-nav {
    display: flex; position: fixed; top: var(--mobile-header-height); left: 0; right: 0; bottom: auto; width: auto;
    height: auto;
    z-index: 90;
    flex-direction: column; align-items: stretch; gap: 0;
    max-height: calc(100vh - var(--mobile-header-height) - 16px);
    max-height: calc(100dvh - var(--mobile-header-height) - 16px);
    overflow-y: auto;
    background: rgb(247, 245, 239);
    border-top: 0;
    border-bottom: 0;
    border-radius: 0 0 24px 24px;
    /* 独立设置左右内边距，跟 .wrap（Logo 所在容器）不再共用同一个变量 */
    padding: 28px 25px 36px;
    font-size: 16px;
    box-shadow: 0 18px 42px rgba(20, 30, 26, 0.12);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transform-origin: top left;
    transition:
      opacity 190ms cubic-bezier(0.28, 0.11, 0.32, 1),
      transform 260ms cubic-bezier(0.28, 0.11, 0.32, 1),
      visibility 0s linear 260ms;
    will-change: opacity, transform;
  }
  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition:
      opacity 240ms cubic-bezier(0.28, 0.11, 0.32, 1),
      transform 320ms cubic-bezier(0.28, 0.11, 0.32, 1),
      visibility 0s;
  }
  .site-nav.is-closing {
    opacity: 0;
    visibility: visible;
    pointer-events: none;
    transform: translateY(-10px);
    transition:
      opacity 260ms cubic-bezier(0.28, 0.11, 0.32, 1),
      transform 300ms cubic-bezier(0.22, 1, 0.36, 1),
      visibility 0s linear 300ms;
  }
  .site-nav a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    min-height: 58px;
    padding: 0;
    border-bottom: 1px solid rgba(216, 209, 197, 0.42);
    text-align: left;
    opacity: 0;
    transform: translateX(-10px);
    transition:
      opacity 220ms cubic-bezier(0.28, 0.11, 0.32, 1),
      transform 260ms cubic-bezier(0.28, 0.11, 0.32, 1),
      color var(--t-fast),
      background var(--t-fast),
      border-color var(--t-fast);
  }
  .site-nav.is-open a { opacity: 1; transform: translateX(0); }
  .site-nav.is-open a:nth-child(1) { transition-delay: 28ms; }
  .site-nav.is-open a:nth-child(2) { transition-delay: 56ms; }
  .site-nav.is-open a:nth-child(3) { transition-delay: 84ms; }
  .site-nav.is-open a:nth-child(4) { transition-delay: 112ms; }
  .site-nav.is-open a:nth-child(5) { transition-delay: 140ms; }
  .site-nav.is-open a:nth-child(6) { transition-delay: 168ms; }
  .site-nav.is-closing a { opacity: 0; transform: translateX(0); transition: opacity 150ms ease; }
  .site-nav a::after { display: none; }
  .site-nav a::before { content: none; } /* 移动菜单项已是整行约 58px，无需命中区扩展，避免堆叠重叠 */
  /* “联系”改为普通文字入口：去掉胶囊边框/背景/居中，仅保留品牌绿字重与末尾箭头；
     min-height 44px 只为保证实际点击区域达标，不产生可见的卡片/边框感 */
  .site-nav .nav-cta {
    border: 0;
    border-radius: 0;
    background: none;
    min-height: 44px;
    margin-top: var(--sp-26);
    padding: 4px 0;
    font-weight: 600;
    gap: 4px;
    white-space: nowrap; /* 兜底：文字与箭头这一行不允许换行 */
  }
  /* 原 Unicode ↗ 的残留开关，双重确保关掉：即使某处缓存到旧版 CSS 与新版 SVG 混用，
     这条也明确没有 content，不会凭空长出字符来 */
  .site-nav .nav-cta::after { content: none; display: none; }
  /* “联系”文字：独立包一层才能吃 white-space/flex-shrink（裸文本节点不接受这两个属性） */
  .site-nav .nav-cta-label {
    white-space: nowrap;
    flex-shrink: 0;
  }
  /* 内联 SVG 箭头：currentColor 跟随文字色；0.8em 尺寸和 4px 间距沿用原 ↗ 的观感。
     width/height 双写（标签属性 + 这里的 CSS）：标签属性兜底不支持 CSS 尺寸的环境，
     这里的 max-width:none 则专门防住全局 `svg { max-width:100% }` 在个别设备上把
     无固有宽度的内联 SVG 撑到跟父容器一样宽。flex-shrink:0 防止在窄屏被压扁。 */
  .site-nav .nav-cta-arrow {
    display: inline-block; /* 桌面端隐藏；这里是移动端唯一打开它的地方 */
    width: 0.8em;
    height: 0.8em;
    max-width: none;
    max-height: none;
    flex-shrink: 0;
    transition: transform 180ms ease;
  }
  .site-nav .nav-cta:hover { background: none; color: var(--teal-strong); }
  .site-nav .nav-cta:hover .nav-cta-arrow { transform: translate(2px, -2px); }

  .grid.cols-2, .grid.cols-3, .meta-list, .trust-grid, .pricing, .footer-inner, .resource-category-grid, .resource-path-grid, .tool-grid, .start-grid { grid-template-columns: 1fr; }
  .tp-row { grid-template-columns: 1fr; gap: 5px; }
  .actions .btn { width: 100%; }
  .state-card-shell__head { flex-direction: column; gap: 14px; }
  .state-stepper { grid-template-columns: 1fr; }
  .state-stepper li { min-height: 42px; }
  .choice-grid, .choice-grid--compact { grid-template-columns: 1fr; }
  .state-actions .btn, .state-result-actions .btn { width: 100%; }
  .range-field small { flex-direction: column; gap: 2px; }
  .resources-hero { padding-top: 22px; }
  .resource-safety-strip { flex-direction: column; gap: 4px; padding: 12px; }
  .resource-category { min-height: 0; }
  .resource-toolbar { align-items: stretch; padding: 14px; }
  .resource-toolbar label { min-width: 100%; }
  .resource-count {
    display: block;
    align-self: auto;
    min-height: 0;
    margin: 0;
    white-space: normal;
  }
  .path-card, .resource-card, .template-card, .resource-disclaimer { padding: 20px; }
  .resource-card__top, .template-card__head { align-items: flex-start; flex-direction: column; }
  .copy-template { width: 100%; justify-content: center; }
  .glossary-row { grid-template-columns: 1fr; gap: 6px; }
  .footer-inner { gap: 28px; flex-direction: column; }
  .site-footer {
    height: auto;
    min-height: auto;
    margin-top: 52px;
  }
  .footer-inner {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    align-content: flex-start;
    gap: 22px;
    padding: 34px 0 24px;
  }
  .footer-brand {
    flex-basis: auto;
    margin-bottom: 0;
  }
  .footer-brand .lat {
    font-size: 26px;
    line-height: 1.18;
  }
  .footer-brand .cn {
    font-size: 15px;
    margin-top: 2px;
  }
  .footer-brand p {
    margin-top: 9px;
    font-size: 13.5px;
    line-height: 1.58;
  }
  .footer-brand .footer-meta {
    margin-top: 16px;
  }
  .footer-brand .footer-meta ~ p {
    margin-top: 6px;
  }
  .footer-meta {
    line-height: 1.45;
  }
  .footer-nav {
    gap: 3px;
  }
  .footer-nav .h {
    margin-bottom: 5px;
    font-size: 13.5px;
  }
  .footer-nav a {
    padding: 1px 0;
    font-size: 12.5px;
    line-height: 1.45;
  }
  .footer-nav span:not(.h) {
    font-size: 13.5px;
    line-height: 1.45;
  }
  .footer-base {
    padding: 12px 0 16px;
    font-size: 12px;
    line-height: 1.5;
  }
  .footer-nav[aria-label="服务说明"] { margin-left: 0; }
  .footer-inner > .footer-nav { margin-top: 0; }
  /* 移动端 Hero 适当加高、间距更宽松：让第二屏移出首屏，滚动时再浮入（配合 JS 的 -10% 触发线）*/
  .home-page .hero { min-height: calc(100vh - var(--mobile-header-height)); min-height: calc(100svh - var(--mobile-header-height)); padding-top: clamp(32px, 8vw, 56px); padding-bottom: clamp(32px, 8vw, 56px); }
  /* 移动端第二屏更高（内容换行多），竖向半径随之增大，保持衰减速率一致 */
  .home-page .hero::after { --bar-glow-vr: 460px; }
  .home-page .hero .actions { flex-direction: column; align-self: stretch; gap: 12px; margin-top: 44px; }
  .home-page .hero .actions .btn { width: 100%; }
  .home-page .lockup { margin: 0 0 24px; }
  .home-page .lockup .lat { font-size: clamp(52px, 9vw, 104px); line-height: 1.02; letter-spacing: 0.06em; }
  .home-page .lockup .cn { font-size: clamp(18px, 2.4vw, 24px); letter-spacing: 0.14em; margin-top: 16px; }
  .home-page .hero .descriptor { margin-top: 24px; }
  .home-page .hero .lead { margin-top: 32px; }
  .home-page .hero-art {
    display: block;
    aspect-ratio: 3 / 4;
    max-height: 54vh;
    width: 100%;
  }
  .home-page .hero-marks,
  .start-page .hero-art {
    display: none;
  }
  .home-page .hero + .section {
    padding-top: 24px;
  }
  .start-page .hero + .section {
    padding-top: 28px;
  }
}
@media (max-width: 720px) {
  body.nav-open { overflow: hidden; }
}
@media (max-width: 720px) {
  .resource-sections {
    gap: 38px;
    margin-top: 34px;
  }
  .resources-page .resource-entry-card-grid,
  .resource-entry-card-grid { grid-template-columns: 1fr; }
  .resources-page .resource-entry-card,
  .resource-entry-card {
    min-height: auto;
    padding: 22px;
  }
  .resources-page .resource-section-head,
  .resource-section-head {
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(30, 55, 48, 0.16);
  }
}

/* =========================================================
   动效偏好
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .site-nav,
  .site-nav a,
  .mobile-menu-overlay {
    transform: none !important;
  }
}

/* =========================================================
   打印
   ========================================================= */
@media print {
  .site-header, .site-footer, .nav-toggle, .skip-link, .actions, .hero-art { display: none !important; }
  body { background: #fff; color: #000; font-size: 12pt; line-height: 1.6; }
  .section--dark { background: #fff !important; color: #000 !important; }
  .section--dark h2, .section--dark h3, .section--dark strong, .section--dark .trust-item .body { color: #000 !important; }
  .panel, .meta-item, .note, .transparency, .final { box-shadow: none; border-color: #999; background: #fff; }
  a { color: #000; text-decoration: underline; }
  .section + .section { border-color: #ccc; }
}

/* 页脚联系方式：固定尺寸复制按钮，避免跨平台布局跳动 */
.footer-nav .footer-contact.footer-contact-item {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-6);
  max-width: 100%;
  min-width: 0;
  font-size: var(--fs-13);
  line-height: 1.6;
  white-space: normal;
}
.footer-nav .footer-contact > a {
  min-width: 0;
  padding: var(--sp-2) 0;
  overflow-wrap: anywhere;
  font-family: var(--sans);
  font-size: inherit;
  line-height: inherit;
}
.footer-nav .copy-btn {
  all: unset;
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  min-width: 22px;
  min-height: 22px;
  overflow: visible;
  border-radius: 5px;
  color: rgba(220, 238, 230, 0.62);
  cursor: pointer;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  line-height: 0;
  vertical-align: middle;
}
.footer-nav .copy-btn:hover {
  background: transparent;
  color: rgba(245, 250, 247, 0.92);
}
/* 图标按钮的键盘焦点交给全局 outline —— 这里原本再画一层 box-shadow 环，
   迁移后会与 outline 叠成双环，故删除，只保留全局那一套。 */
.footer-nav .copy-btn::before {
  content: "";
  position: absolute;
  inset: -11px; /* 图标仍 22px，点击命中区扩到 44×44px（原 -5px≈32px） */
}
.footer-nav .copy-btn .copy-i,
.footer-nav .copy-btn .check-i {
  position: absolute;
  left: 50%;
  top: 50%;
  display: block;
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  pointer-events: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  overflow: visible;
  transform: translate(-50%, -50%);
  transition: opacity 160ms ease, transform 180ms ease, color 180ms ease;
}
.footer-nav .copy-btn .copy-i {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.footer-nav .copy-btn .check-i {
  color: rgba(154, 214, 173, 0.92);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.65);
}
.footer-nav .copy-btn.is-copied .copy-i {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.82);
}
.footer-nav .copy-btn.is-copied .check-i {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  animation: copyPop 280ms ease;
}
@keyframes copyPop {
  0% {
    transform: translate(-50%, -50%) scale(0.5);
  }
  60% {
    transform: translate(-50%, -50%) scale(1.16);
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
  }
}

@media (max-width: 760px) {
  .footer-nav .footer-contact.footer-contact-item {
    flex-wrap: wrap;
    row-gap: 6px;
    font-size: 12.5px;
    line-height: 1.6;
  }
}


/* =========================================================
   8C 资源指南首屏（方案A·克制版）：品牌色缘 + 可信度数据徽章
   ========================================================= */
.resource-entry-card--accent { border-left: 3px solid var(--teal); }
.resource-entry-card--urgent { border-left-color: var(--gold); }
.resource-entry-card--urgent .card-kicker { color: var(--gold-ink); }

.res-stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-10);
  margin: var(--sp-18) 0 var(--sp-8);
}

.res-stat {
  display: inline-flex;
  align-items: center;
  padding: var(--sp-5) var(--sp-14);
  border-radius: var(--r-sm);
  background: var(--teal-a08);
  color: var(--teal);
  font-size: var(--fs-13);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.res-stat--gold {
  background: var(--gold-a12);
  color: var(--gold-ink);
}

/* 标题折行平衡（渐进增强：旧浏览器忽略） */
.resources-hero h1 { text-wrap: balance; }

/* tool-suite hero 锚点 CTA（Phase B·R1） */
.tool-suite-hero .actions { margin-top: var(--sp-22); }


/* =========================================================
   锚点/脚本滚动定位补偿（吸顶页眉 75px / 移动端 62px）
   修复：所有 #锚点 跳转与 scrollIntoView 落点顶部被吸顶导航
   覆盖（state-card 首发现，实为全站）。scroll-padding 对
   锚点导航与 scrollIntoView 同时生效。
   ========================================================= */
html { scroll-padding-top: calc(75px + 14px); }
@media (max-width: 720px) {
  html { scroll-padding-top: calc(var(--mobile-header-height) + 12px); }
}
.resource-card--accordion,
.resource-accordion-head {
  scroll-margin-top: calc(75px + 14px);
}
@media (max-width: 720px) {
  .resource-card--accordion,
  .resource-accordion-head {
    scroll-margin-top: calc(var(--mobile-header-height) + 12px);
  }
}


/* =========================================================
   水纹收笔线（self-check 独有 · 2026-06-11 裁决：不扩散）
   成立条件=与 hero 艺术卡水纹押韵+高 hero 收屏；紧凑 hero 无韵脚不加。
   线色 = --line-2(#C7BFB2)；token 调整需同步 data-URI。
   ========================================================= */
.self-check-hero::after {
  content: "";
  display: block;
  height: 26px;
  width: min(100% - 2 * var(--gutter), var(--max));
  margin: clamp(38px, 5vw, 64px) auto 0;   /* 与 hero 按钮拉开距离（原 self-check 节奏） */
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 26' preserveAspectRatio='none'%3E%3Cpath d='M0 13 Q150 3 300 13 T600 13 T900 13 T1200 13' fill='none' stroke='%23C7BFB2' stroke-width='1.4'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
@media print {
  .self-check-hero::after { display: none; }
}


/* 资源页收尾小字条款（版权页式：署名块有声，条款渐隐入页脚） */
.resource-smallprint {
  margin-top: var(--sp-28);
  padding-top: var(--sp-18);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: var(--fs-13);
  line-height: 1.7;
}
.resource-smallprint h2 {
  margin: 0 0 var(--sp-8);
  font-family: var(--sans);
  font-size: var(--fs-12);
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.resource-smallprint p { margin: 0 0 var(--sp-6); }
.resource-smallprint p:last-child { margin-bottom: 0; }


/* 资源页收尾区＝书籍「后记+版权页」体系：去箱、同列宽、同左缘，
   仅靠字号与墨色分轻重（卡片方案经多轮试验割裂感无解，2026-06-11 裁决弃用） */
.resources-page .section[aria-labelledby="guide-note-title"] {
  padding-top: clamp(27px, 3.4vw, 47px);
}
.guide-note h2 { margin-bottom: var(--sp-18); }
.guide-note p {
  margin-bottom: var(--sp-9);
  font-size: var(--fs-15);
  line-height: 1.8;
}
.guide-note p:last-child { margin-bottom: 0; }
.guide-note a { white-space: nowrap; }




/* 城市目录卡顶行：状态章居左 + 最后核对居右（resource-date 与城内资源卡同字体字号） */
.resource-category__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-10);
}
.resource-tag--wip {
  border-color: #C9DDE8;
  background: #EAF3F8;
  color: #2F647A;   /* 同 Beta 章蓝：进行中状态 */
}


/* 移动端资源卡 accordion：桌面保持原卡片展开态 */
.resource-accordion-toggle,
.resource-mobile-summary {
  display: none;
}
.resource-accordion-body-inner > :last-child {
  margin-bottom: 0;
}

@media (max-width: 760px) {
  .resource-card--accordion {
    padding: 0;
    overflow: hidden;
    overflow-anchor: none;
  }
  .resource-card--accordion:hover {
    transform: none;
  }
  .resource-card--accordion .resource-card__top {
    display: none;
  }
  .resource-accordion-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px;
    gap: var(--sp-12);
    align-items: flex-start;
    /* 2026-07-03 拍板：上下留白光学配平（上实测 20 + 标题行盒内约 5px 留白，下实测 28，
       连同 body-inner 残留修复，收起卡总高与旧版基本一致）；左右仍走 --sp-16 token */
    padding: 19px var(--sp-16) 27px;
    cursor: pointer;
  }
  /* 2026-07-03 拍板：展开标识 = 双线段「铰接」chevron（无边框无背景，主绿）。
     两条圆头线段的内侧端点共享同一圆帽（铰点=图标正中），各自绕铰点摆动：
     ∨(±38°) → 一 → ∧(∓38°)，翻面时随 translateY ±2.6px 平衡重心；
     240ms、ease-in-out（拟合 nav-toggle 关键帧的两段式节奏）；无缩放/弹跳/淡入淡出；
     44px 点击区、展开逻辑与 aria 均不变（结构见 resources.js accordionCard）。 */
  .resource-accordion-toggle {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    background: transparent;
    color: var(--teal);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent; /* 无边框无背景后，避免安卓点按闪出 44px 灰块（同 .nav-toggle） */
    /* 锚定标题首行：几何对齐是 -10（图标中心 22 − 首行中心 12），
       -8 = 加 2px 光学补偿——眼睛以小写字母 x 高度带的中心为文字中线，低于行盒几何中心 */
    margin-top: -8px;
    flex: 0 0 44px;
    justify-self: end;
  }
  .resource-chevron {
    position: relative;
    width: 18px;
    height: 18px;
  }
  .resource-chevron span {
    position: absolute;
    top: 50%;
    width: 9.4px;
    height: 1.8px;
    margin-top: -0.9px;
    border-radius: var(--r-pill);
    background: currentColor;
    transition: transform 240ms cubic-bezier(0.42, 0, 0.58, 1);
  }
  .resource-chevron span:first-child {
    right: 50%;
    margin-right: -0.9px;
    transform-origin: calc(100% - 0.9px) 50%;
    transform: translateY(2.6px) rotate(38deg);
  }
  .resource-chevron span:last-child {
    left: 50%;
    margin-left: -0.9px;
    transform-origin: 0.9px 50%;
    transform: translateY(2.6px) rotate(-38deg);
  }
  .resource-accordion-toggle[aria-expanded="true"] .resource-chevron span:first-child,
  .glossary-group__head[aria-expanded="true"] .resource-chevron span:first-child {
    transform: translateY(-2.6px) rotate(-38deg);
  }
  .resource-accordion-toggle[aria-expanded="true"] .resource-chevron span:last-child,
  .glossary-group__head[aria-expanded="true"] .resource-chevron span:last-child {
    transform: translateY(-2.6px) rotate(38deg);
  }
  /* 词汇页分组折叠（移动端；桌面恒展开）：同资源卡的 0fr 展开机制 */
  .glossary-group__head { cursor: pointer; min-height: 44px; -webkit-tap-highlight-color: transparent; }
  .glossary-group__head .resource-chevron { display: block; }
  .glossary-group--collapsible .glossary-group__body {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    transition: grid-template-rows 190ms ease, opacity 170ms ease;
  }
  .glossary-group__body-inner { min-height: 0; overflow: hidden; }
  .glossary-group--collapsible.is-open .glossary-group__body {
    grid-template-rows: 1fr;
    opacity: 1;
  }
  .glossary-group--collapsible:not(.is-open) .glossary-group__body { pointer-events: none; }
  .resource-accordion-title {
    min-width: 0;
    padding-right: var(--sp-2);
  }
  .path-card.resource-card--accordion h3,
  .resource-card.resource-card--accordion h3 {
    margin: 0;
    color: var(--teal-deep);
    font-size: var(--fs-17);
    line-height: 1.42;
  }
  /* 移动端折叠卡：中文辅助说明在主标题下方、标签行上方，略小一号 */
  .resource-title-zh {
    margin-top: 5px;
    font-size: 14px;
  }
  .resource-mobile-summary {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-6);
    margin-top: var(--sp-9);
  }
  .resource-summary-chip {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    min-height: 26px;
    padding: 3px 9px;
    border: 1px solid var(--line);
    border-radius: var(--r-pill);
    background: var(--paper-2);
    color: var(--ink-soft); /* 浅 chip 底上从 --muted(≈4.55:1) 提到 --ink-soft，对比更稳，仍是暖灰调 */
    font-size: var(--fs-12-5);
    line-height: 1.35;
  }
  .resource-summary-chip--tag {
    border-color: var(--teal-a16);
    background: var(--teal-soft);
    color: var(--teal);
    font-weight: 600;
  }
  .resource-summary-chip--contact {
    border-color: var(--gold-a24);
    background: rgba(201, 176, 115, 0.11);
    color: var(--teal-deep);
    font-weight: 600;
  }
  .resource-summary-chip--urgent {
    border-color: var(--gold-a24);
    background: var(--flusso-signal-soft);
    color: var(--flusso-signal);
  }
  .resource-accordion-body {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    transition: grid-template-rows 190ms ease, opacity 170ms ease;
  }
  .resource-card--accordion.is-open .resource-accordion-body {
    grid-template-rows: 1fr;
    opacity: 1;
  }
  .resource-accordion-body-inner {
    min-height: 0;
    overflow: hidden;
    /* padding-bottom 改由 ::after 占位块承担：padding 在 0fr 折叠时压不掉，
       收起卡底部会多垫 16px（2026-07-03 实测修复）；::after 属内容，可随动画压缩，展开态外观不变 */
    padding: 0 var(--sp-16);
  }
  .resource-accordion-body-inner::after {
    content: "";
    display: block;
    height: var(--sp-16);
  }
  .resource-card--accordion:not(.is-open) .resource-accordion-body {
    pointer-events: none;
  }
  .resource-card--accordion .resource-source {
    width: 100%;
    justify-content: center;
  }
  .emergency-detail-card .resource-accordion-head {
    padding-top: var(--sp-24);
    padding-bottom: var(--sp-24);
  }
  .emergency-detail-card__heading {
    min-height: 0;
    margin-bottom: 0;
  }
  .emergency-detail-card__actions .resource-source {
    min-height: 44px;
  }
}

@media (max-width: 760px) and (prefers-reduced-motion: reduce) {
  .resource-chevron span,
  .resource-accordion-body,
  .glossary-group--collapsible .glossary-group__body {
    transition: none;
  }
}

/* —— 研究参考说明（轻量、克制；不抢首屏） —— */
.tool-ref-line { margin: 12px 0 0; font-size: 13px; line-height: 1.65; color: var(--muted); }
.tool-refs { margin: 14px 0 0; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); overflow: hidden; }
.tool-refs > summary { list-style: none; color: var(--ink-soft); font-size: 13.5px; font-weight: 500; padding: 12px 14px; display: flex; align-items: center; gap: 8px; }
.tool-refs > summary::-webkit-details-marker { display: none; }
/* --tool-refs-duration 由 JS 按这次实际展开/收起的高度差算出并写入（见 main.js
   的 durationForDelta）：内容短的面板（如城市页 SSN 提示）动画更快，内容长的
   （如自评/state-card 的参考文献）更慢一些，箭头跟着同一个变量走，不会错位。
   .18s 只是没有 JS 时（或 :not(.is-collapsing) 场景变量未设置时）的静态兜底。 */
.tool-refs > summary::before { content: "\203A"; color: var(--teal); display: inline-block; transition: transform var(--tool-refs-duration, .18s) ease; }
.tool-refs[open] > summary::before { transform: rotate(90deg); }
/* 收起时由 JS 在动画开始的瞬间加上这个 class，而不是等 [open] 在动画结束才移除，
   否则箭头要等内容完全收起后才开始回正，看起来像是“慢一拍” */
.tool-refs.is-collapsing > summary::before { transform: rotate(0deg); transition-duration: var(--tool-refs-duration, .16s); }
.tool-refs__body { padding: 12px 14px; }
.tool-refs__body p { margin: 0 0 8px; font-size: 13px; line-height: 1.7; color: var(--ink-soft); }
.tool-refs__body p:last-child { margin-bottom: 0; }
.tool-refs__cite { color: var(--muted); }
.tool-refs__body a { color: var(--teal); }
.tool-refs-wrap { margin-top: 14px; }
.city-ssn-note { margin: 0 0 var(--sp-20); }

/* 结果页底部轻量灰字 */
.tool-result-foot { margin: 16px 0 0; font-size: 12.5px; line-height: 1.6; color: var(--muted); }

/* 方法与参考依据页 */
.ref-table-wrap { overflow-x: auto; margin: 4px 0 0; }
.ref-table { width: 100%; border-collapse: collapse; font-size: 14px; table-layout: fixed; min-width: 600px; }
.ref-table th:nth-child(1), .ref-table td:nth-child(1) { width: 26%; }
.ref-table th:nth-child(2), .ref-table td:nth-child(2) { width: 33%; }
.ref-table th:nth-child(3), .ref-table td:nth-child(3) { width: 41%; }
.ref-table th, .ref-table td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); line-height: 1.65; overflow-wrap: anywhere; }
.ref-table thead th { color: var(--ink); font-weight: 600; border-bottom: 2px solid var(--line); }
.ref-table td { color: var(--ink-soft); }
.ref-table tbody tr:last-child td { border-bottom: none; }
.ref-list { margin: 4px 0 0; padding-left: 1.2em; list-style: disc; } /* <ul>，同上补回 reset.css 去掉的项目符号（还原为圆点，不是编号） */
.ref-list li { margin: 0 0 10px; color: var(--ink-soft); font-size: 14px; line-height: 1.7; }

/* 非 Pro 工具：开始前块与上方「它会帮你整理什么」卡片自然衔接，不再像独立的第二屏 */
.tool-suite-intro:not(.tool-pro-intro) { margin-top: var(--sp-14); }
.tool-intro-eyebrow { margin: 0 0 16px; }

/* 资源指南子页免责声明：与资源首页 smallprint 同一语气，去掉旧卡片外观与残留内边距 */
.resources-page .resource-disclaimer {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  font-size: var(--fs-13);
  line-height: 1.7;
}
.resources-page .resource-disclaimer h2 {
  margin: 0 0 var(--sp-8);
  font-family: var(--sans);
  font-size: var(--fs-12);
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.resources-page .resource-disclaimer p {
  margin: 0 0 var(--sp-6);
}
.resources-page .resource-disclaimer p:last-child {
  margin-bottom: 0;
}
