/* ==========================================================================
   通识与素养学习平台 · 视觉系统 6.2「Apple 风 · 黑白蓝玻璃质感」
   设计方向：现代、干净、透亮。白与浅灰为底，近黑文字，苹果蓝主色，
   固定层用毛玻璃，模块色只作小面积点缀。
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. 设计令牌
   -------------------------------------------------------------------------- */

:root {
  --sidebar-width: 264px;
  --content-width: 1120px;
  --reading-width: 760px;

  /* 底与墨色（Apple 浅色系） */
  --paper: #f5f5f7;            /* 页面底：Apple 浅灰 */
  --paper-deep: rgba(255, 255, 255, 0.72);  /* 侧栏：毛玻璃白 */
  --sheet: #ffffff;            /* 卡片与文章纸面 */
  --ink: #1d1d1f;              /* 主文字：Apple 近黑 */
  --ink-soft: #3a3a3c;         /* 正文 */
  --muted: #6e6e73;            /* 次级说明 */
  --faint: #86868b;            /* 编号、眉题 */
  --line: rgba(0, 0, 0, 0.08); /* 细分割线 */
  --line-strong: rgba(0, 0, 0, 0.14); /* 强调分割线 */

  /* 主题色（默认 = Apple 蓝；各模块路由由 .theme-* 覆盖） */
  --theme-500: #0071e3;
  --theme-600: #0066cc;
  --theme-700: #004494;
  --theme-soft: rgba(0, 113, 227, 0.1);
  --theme-ring: rgba(0, 113, 227, 0.25);

  /* 字体 */
  --font-serif: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;

  /* 圆角 */
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;

  /* 柔和投影 */
  --shadow-sheet: 0 1px 3px rgba(0, 0, 0, 0.04), 0 12px 32px rgba(0, 0, 0, 0.06);
  --shadow-lift: 0 2px 6px rgba(0, 0, 0, 0.05), 0 20px 44px rgba(0, 0, 0, 0.12);

  /* 动效（弹簧感） */
  --t-fast: 150ms ease;
  --t-med: 280ms cubic-bezier(0.34, 1.3, 0.64, 1);

  /* 毛玻璃 */
  --glass-bg: rgba(255, 255, 255, 0.72);
  --glass-blur: saturate(180%) blur(20px);

  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-sans);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

/* 模块主题：路由级覆盖（sharing-app.js 在 .platform-shell 上挂 theme-*）
   蓝为主，模块色仅作小面积点缀 */
.theme-ai,
.theme-home {
  --theme-500: #0071e3;
  --theme-600: #0066cc;
  --theme-700: #004494;
  --theme-soft: rgba(0, 113, 227, 0.1);
  --theme-ring: rgba(0, 113, 227, 0.25);
}

.theme-strengths {
  --theme-500: #5e5ce6;
  --theme-600: #4b49c6;
  --theme-700: #3a3899;
  --theme-soft: rgba(94, 92, 230, 0.1);
  --theme-ring: rgba(94, 92, 230, 0.25);
}

.theme-abilities {
  --theme-500: #248a3d;
  --theme-600: #1d7132;
  --theme-700: #155826;
  --theme-soft: rgba(36, 138, 61, 0.1);
  --theme-ring: rgba(36, 138, 61, 0.25);
}

.theme-thinking {
  --theme-500: #c93400;
  --theme-600: #a82c00;
  --theme-700: #842200;
  --theme-soft: rgba(201, 52, 0, 0.08);
  --theme-ring: rgba(201, 52, 0, 0.22);
}

.theme-transition {
  --theme-500: #a16207;
  --theme-600: #8a5205;
  --theme-700: #713f04;
  --theme-soft: rgba(161, 98, 7, 0.1);
  --theme-ring: rgba(161, 98, 7, 0.22);
}

.theme-parent-focus {
  --theme-500: #b14972;
  --theme-600: #94335d;
  --theme-700: #742546;
  --theme-soft: rgba(177, 73, 114, 0.1);
  --theme-ring: rgba(177, 73, 114, 0.22);
}

/* 首页模块卡：各自固定主题色（点缀） */
.home-module-card-ai { --card-500: #0071e3; --card-600: #0066cc; --card-soft: rgba(0, 113, 227, 0.1); }
.home-module-card-strengths { --card-500: #5e5ce6; --card-600: #4b49c6; --card-soft: rgba(94, 92, 230, 0.1); }
.home-module-card-abilities { --card-500: #248a3d; --card-600: #1d7132; --card-soft: rgba(36, 138, 61, 0.1); }
.home-module-card-thinking { --card-500: #c93400; --card-600: #a82c00; --card-soft: rgba(201, 52, 0, 0.08); }
.home-module-card-transition { --card-500: #a16207; --card-600: #8a5205; --card-soft: rgba(161, 98, 7, 0.1); }
.home-module-card-parent-focus { --card-500: #b14972; --card-600: #94335d; --card-soft: rgba(177, 73, 114, 0.1); }

/* 侧栏模块导航：各自的当前态主题色 */
.nav-module-ai { --nav-500: #0071e3; --nav-600: #0066cc; }
.nav-module-strengths { --nav-500: #5e5ce6; --nav-600: #4b49c6; }
.nav-module-abilities { --nav-500: #248a3d; --nav-600: #1d7132; }
.nav-module-thinking { --nav-500: #c93400; --nav-600: #a82c00; }
.nav-module-transition { --nav-500: #a16207; --nav-600: #8a5205; }
.nav-module-parent-focus { --nav-500: #b14972; --nav-600: #94335d; }
.nav-module-safety-health { --nav-500: #0f766e; --nav-600: #0d625c; }
.nav-module-emotion-psychology { --nav-500: #c2410c; --nav-600: #a83a0b; }
.nav-module-cognition-thinking { --nav-500: #5e5ce6; --nav-600: #4b49c6; }
.nav-module-habits-execution { --nav-500: #2563eb; --nav-600: #1d4ed8; }
.nav-module-social-relationships { --nav-500: #be185d; --nav-600: #9d174d; }
.nav-module-knowledge-abilities { --nav-500: #15803d; --nav-600: #166534; }
.nav-module-ai-literacy { --nav-500: #0071e3; --nav-600: #0066cc; }

/* --------------------------------------------------------------------------
   2. 基础
   -------------------------------------------------------------------------- */

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--paper);
  scroll-behavior: auto;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--ink);
  background: var(--paper);
  font-size: 15.5px;
  line-height: 1.75;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  transform: translateY(-180%);
  border-radius: 10px;
  padding: 9px 13px;
  color: #fff;
  background: var(--ink);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: transform var(--t-fast);
}

.skip-link:focus {
  transform: translateY(0);
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--theme-ring);
  outline-offset: 3px;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

/* --------------------------------------------------------------------------
   3. 布局壳：侧栏 / 主导航 / 移动端
   -------------------------------------------------------------------------- */

.platform-shell {
  min-height: 100vh;
  background: var(--paper);
}

.platform-sidebar {
  position: fixed;
  z-index: 20;
  inset: 0 auto 0 0;
  display: flex;
  width: var(--sidebar-width);
  height: 100vh;
  flex-direction: column;
  overflow: hidden;
  padding: 30px 18px 24px;
  border-right: 0.5px solid var(--line);
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}

.brand-block,
.mobile-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 0;
  background: transparent;
  padding: 0;
  text-align: left;
  cursor: pointer;
}

.brand-block {
  padding: 4px 6px;
  border-radius: var(--radius-sm);
  transition: background var(--t-fast);
}

.brand-block:hover {
  background: rgba(0, 0, 0, 0.05);
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  overflow: visible;
}

.brand-logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-copy {
  display: grid;
  gap: 2px;
  line-height: 1.3;
}

.brand-copy strong {
  font-family: var(--font-serif);
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand-copy small {
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-align: justify;
  text-align-last: justify;
  white-space: nowrap;
}

.platform-nav {
  display: grid;
  gap: 5px;
  margin-top: 40px;
}

.platform-sidebar > .sidebar-note {
  margin-top: auto;
}

.sidebar-utilities {
  display: grid;
  gap: 6px;
  margin-top: auto;
  padding-top: 24px;
}

.sidebar-utility {
  display: flex;
  width: 100%;
  min-height: 40px;
  align-items: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 0 12px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-align: left;
  transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast);
}

.sidebar-utility:hover {
  border-color: var(--line);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.64);
}

.sidebar-utility svg,
.mobile-utility-button svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.65;
}

.nav-link {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 44px;
  align-items: center;
  border: 0;
  border-radius: var(--radius-sm);
  padding: 0 14px;
  color: var(--ink-soft);
  background: transparent;
  cursor: pointer;
  font-size: 14.5px;
  font-weight: 550;
  letter-spacing: 0.02em;
  text-align: left;
  transition: background var(--t-fast), color var(--t-fast);
}

.nav-link:hover {
  color: var(--ink);
  background: rgba(0, 0, 0, 0.06);
}

.nav-link.is-current {
  color: var(--ink);
  background: var(--sheet);
  font-weight: 700;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.07), 0 6px 16px rgba(0, 0, 0, 0.06);
}

.nav-link.is-current::before {
  position: absolute;
  top: 11px;
  bottom: 11px;
  left: 0;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--nav-500, var(--theme-500));
  content: "";
}

.module-context,
.reading-topbar {
  display: none !important;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--faint);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.sidebar-note {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.platform-main {
  min-height: 100vh;
  margin-left: var(--sidebar-width);
}

.platform-footer {
  display: flex;
  width: min(calc(100% - 96px), var(--content-width));
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 auto;
  padding: 0 0 28px;
  color: var(--faint);
  font-size: 12px;
  line-height: 1.6;
}

.about-page .page-heading {
  max-width: 760px;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.about-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px;
  background: var(--sheet);
  box-shadow: var(--shadow-sheet);
}

.about-card .eyebrow {
  margin-bottom: 8px;
}

.about-card h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.4;
}

.about-card p:last-child {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

.about-boundary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px;
  background: var(--paper-deep);
}

.about-boundary h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
}

.about-boundary p:last-child {
  max-width: 760px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px 20px;
}

.mobile-header,
.mobile-nav {
  display: none;
}

.mobile-utility-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.mobile-utility-button {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 0;
  border-radius: 10px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
}

.mobile-utility-button:hover {
  color: var(--ink);
  background: rgba(0, 0, 0, 0.05);
}

.page-content {
  min-height: 100vh;
}

.page-content:focus {
  outline: 0;
}

.content-frame {
  width: min(calc(100% - 96px), var(--content-width));
  margin: 0 auto;
  padding: 80px 0 110px;
}

/* 顶部返回条（非首页详情页） */
.page-toolbar {
  position: sticky;
  z-index: 18;
  top: 0;
  height: 58px;
  border-bottom: 0.5px solid var(--line);
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}

.page-toolbar-inner {
  display: flex;
  width: min(calc(100% - 96px), var(--content-width));
  height: 100%;
  align-items: center;
  justify-content: flex-start;
  margin: 0 auto;
}

.page-back-button {
  display: inline-flex;
  min-width: 68px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0 18px;
  color: var(--ink);
  background: var(--sheet);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.04em;
  transition: border-color var(--t-fast), background var(--t-fast), transform var(--t-fast);
}

.page-back-button:hover {
  border-color: var(--faint);
  background: #fff;
  transform: translateY(-1px);
}

.page-content.has-page-toolbar .content-frame {
  padding-top: 38px;
}

.page-content.has-page-toolbar .reading-page {
  padding-top: 44px;
}

/* --------------------------------------------------------------------------
   4. 标题体系
   -------------------------------------------------------------------------- */

.page-heading {
  max-width: 780px;
  margin-bottom: 44px;
}

.page-heading h1,
.platform-hero h1,
.module-hero h1,
.article-header h1,
.direct-module-header h1,
.card-print-toolbar h1,
.thinking-card-detail-side h1 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-serif);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.page-heading h1 {
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.28;
}

.page-heading > p:last-child {
  max-width: 660px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

.direct-module-page .page-heading {
  max-width: 840px;
  margin-bottom: 24px;
}

.direct-module-page .page-heading h1 {
  font-size: clamp(34px, 4vw, 48px);
}

.direct-module-page .page-heading > p:last-child {
  margin-top: 12px;
  font-size: 14.5px;
  line-height: 1.8;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 26px;
}

.section-heading h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: clamp(23px, 2.6vw, 30px);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.4;
}

.section-heading > p:last-child {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.8;
}

.section-heading-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.section-heading-row .section-heading {
  margin-bottom: 0;
}

.section-heading-row > div > h2,
.section-heading-row h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: clamp(21px, 2.4vw, 26px);
  font-weight: 700;
  line-height: 1.4;
}

.section-heading-row > div > p,
.section-heading-row p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

/* --------------------------------------------------------------------------
   5. 首页：刊头 Hero + 模块卡
   -------------------------------------------------------------------------- */

.platform-hero,
.module-hero {
  position: relative;
}

.platform-hero {
  border: 1px solid rgba(0, 113, 227, 0.12);
  border-radius: var(--radius-lg);
  padding: clamp(42px, 6vw, 68px) clamp(24px, 5vw, 64px);
  background: linear-gradient(116deg, #eef6ff 0%, #f7fbff 46%, #ffffff 100%);
  box-shadow: var(--shadow-sheet);
}

.platform-hero .eyebrow,
.hero-kicker {
  color: var(--theme-600);
}

.platform-hero h1 {
  max-width: 720px;
  font-size: clamp(40px, 5.2vw, 62px);
  font-weight: 750;
  letter-spacing: -0.022em;
  line-height: 1.15;
}

.platform-hero-subtitle {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.5;
}

.hero-lead {
  max-width: 640px;
  margin: 20px 0 0;
  color: var(--ink-soft);
  font-size: clamp(16px, 1.8vw, 18.5px);
  line-height: 1.95;
}

.home-section,
.module-section {
  margin-top: 88px;
}

.home-page .home-section {
  margin-top: 56px;
}

.home-section-heading {
  margin-bottom: 26px;
}

.home-section-heading .eyebrow {
  margin-bottom: 8px;
}

.home-section-heading h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
}

.home-section-heading > span {
  color: var(--muted);
  font-size: 13.5px;
}

.home-scope-note {
  max-width: 620px;
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.85;
}

.home-entry-section {
  padding-bottom: 10px;
}

.home-topic-section {
  padding-top: 4px;
  padding-bottom: 22px;
}

.home-path-section {
  padding-top: 2px;
}

.home-path-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.home-path-card {
  display: flex;
  min-height: 204px;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px;
  color: var(--ink);
  background: var(--sheet);
  box-shadow: none;
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: border-color var(--t-med), box-shadow var(--t-med), transform var(--t-med);
}

.home-path-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-lift);
  transform: translateY(-2px);
}

.home-path-card:focus-visible {
  outline: 3px solid var(--theme-ring);
  outline-offset: 3px;
}

.home-path-card strong {
  margin-top: 14px;
  font-family: var(--font-serif);
  font-size: 18px;
  line-height: 1.45;
}

.home-path-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.75;
}

.home-path-card .home-entry-action {
  margin-top: auto;
}

.home-topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.home-topic-card {
  display: flex;
  min-height: 178px;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px;
  color: var(--ink);
  background: var(--sheet);
  box-shadow: none;
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: border-color var(--t-med), box-shadow var(--t-med), transform var(--t-med);
}

.home-topic-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-lift);
  transform: translateY(-2px);
}

.home-topic-card:focus-visible {
  outline: 3px solid var(--theme-ring);
  outline-offset: 3px;
}

.home-topic-card strong {
  margin-top: 14px;
  font-family: var(--font-serif);
  font-size: 18px;
  line-height: 1.45;
}

.home-topic-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.75;
}

.home-topic-card .home-entry-action {
  margin-top: auto;
}

.home-topic-overview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.home-topic-overview .text-button {
  flex: 0 0 auto;
}

.home-entry-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.home-entry-card {
  display: flex;
  min-height: 196px;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px;
  color: var(--ink);
  background: var(--sheet);
  box-shadow: none;
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: border-color var(--t-med), box-shadow var(--t-med), transform var(--t-med);
}

.home-entry-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-lift);
  transform: translateY(-2px);
}

.home-entry-card:focus-visible {
  outline: 3px solid var(--theme-ring);
  outline-offset: 3px;
}

.home-entry-label {
  color: var(--theme-600);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.08em;
}

.home-entry-card strong {
  margin-top: 14px;
  font-family: var(--font-serif);
  font-size: 19px;
  line-height: 1.45;
}

.home-entry-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.75;
}

.home-entry-action {
  margin-top: auto;
  padding-top: 16px;
  color: var(--theme-600);
  font-size: 13px;
  font-weight: 700;
}

.transition-path-page .page-heading {
  max-width: 760px;
}

.transition-directory-guide {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 24px 0 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  background: var(--paper-deep);
}

.transition-directory-guide .eyebrow {
  margin-bottom: 7px;
}

.transition-directory-guide h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 20px;
  line-height: 1.4;
}

.transition-directory-guide p:last-child {
  max-width: 700px;
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.75;
}

.transition-path-note {
  display: flex;
  max-width: 900px;
  gap: 12px;
  margin: 0 0 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  background: var(--sheet);
  font-size: 13.5px;
  line-height: 1.8;
}

.transition-path-note strong {
  flex: 0 0 auto;
  color: var(--theme-600);
  font-weight: 750;
}

.transition-path-note span {
  color: var(--muted);
}

.transition-path-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.transition-reading-packs {
  margin-top: 42px;
}

.transition-reading-packs-heading {
  max-width: 760px;
  margin-bottom: 18px;
}

.transition-reading-packs-heading .eyebrow {
  margin-bottom: 8px;
}

.transition-reading-packs-heading h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 25px;
  line-height: 1.35;
}

.transition-reading-packs-heading span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.8;
}

.transition-reading-packs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.transition-reading-pack {
  display: flex;
  min-width: 0;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 19px;
  background: var(--paper-deep);
}

.transition-reading-pack h3 {
  margin: 10px 0 0;
  font-family: var(--font-serif);
  font-size: 18px;
  line-height: 1.45;
}

.transition-reading-pack header > p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.transition-reading-pack-focus {
  margin: 12px 0 0 !important;
  border-left: 2px solid var(--theme-500);
  padding-left: 9px;
  color: var(--ink-soft) !important;
  font-size: 12px !important;
  line-height: 1.65 !important;
}

.transition-reading-pack-focus strong {
  margin-right: 5px;
  color: var(--theme-600);
  font-weight: 750;
}

.transition-reading-pack-local {
  margin-top: 16px;
  border-top: 1px solid var(--line);
  padding-top: 13px;
}

.transition-reading-pack-local h4 {
  margin: 0;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .02em;
}

.transition-reading-pack-local ul {
  display: grid;
  gap: 6px;
  margin: 8px 0 0;
  padding-left: 17px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.transition-reading-pack-reading {
  margin-top: auto;
  padding-top: 16px;
}

.transition-path-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px;
  background: var(--sheet);
}

.transition-path-card header h2 {
  margin: 12px 0 0;
  font-family: var(--font-serif);
  font-size: 21px;
  line-height: 1.4;
}

.transition-path-card header p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.8;
}

.transition-path-reading-focus {
  margin-top: 14px !important;
  border-left: 2px solid var(--theme-500);
  padding-left: 10px;
  color: var(--ink-soft) !important;
  font-size: 12.5px !important;
  line-height: 1.7 !important;
}

.transition-path-reading-focus strong {
  margin-right: 6px;
  color: var(--theme-600);
  font-weight: 750;
}

.transition-path-reading {
  margin-top: 22px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.transition-path-reading-label {
  color: var(--faint);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.transition-path-reading ol {
  display: grid;
  gap: 4px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.transition-path-reading-link {
  display: grid;
  width: 100%;
  grid-template-columns: 28px 1fr;
  align-items: baseline;
  gap: 8px;
  border: 0;
  border-radius: 8px;
  padding: 9px 8px;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.transition-path-reading-link:hover {
  background: var(--wash);
}

.transition-path-reading-link:focus-visible {
  outline: 3px solid var(--theme-ring);
  outline-offset: 1px;
}

.transition-path-reading-link span {
  color: var(--faint);
  font-family: var(--font-serif);
  font-size: 12px;
  font-weight: 700;
}

.transition-path-reading-link strong {
  font-size: 13.5px;
  font-weight: 650;
  line-height: 1.6;
}

.transition-path-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 13.5px;
}

.transition-path-footer-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px 20px;
}

.module-grid {
  display: flex;
  align-items: stretch;
  flex-wrap: nowrap;
  gap: 18px;
  margin: 0 -2px;
  padding: 2px 2px 16px;
  overflow-x: auto;
  overflow-y: hidden;
  list-style: none;
  overscroll-behavior-inline: contain;
  scroll-padding-inline: 2px;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.module-grid::-webkit-scrollbar {
  display: none;
}

.home-page .module-grid > .home-module-card {
  flex: 0 0 clamp(280px, 29vw, 352px);
  min-width: 0;
  scroll-snap-align: start;
}

.home-module-rail:focus-visible {
  border-radius: var(--radius-md);
  outline: 3px solid var(--theme-ring);
  outline-offset: 5px;
}

/* 基础卡片（button 复位 + 白色卡片） */
.module-card {
  position: relative;
  display: flex;
  width: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 0.5px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px;
  color: var(--ink);
  background: var(--sheet);
  box-shadow: var(--shadow-sheet);
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: border-color var(--t-med), box-shadow var(--t-med), transform var(--t-med);
}

.module-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: var(--card-500, var(--theme-500));
  content: "";
}

.module-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-lift);
  transform: translateY(-3px);
}

.module-card.is-planned {
  border-style: dashed;
  background: transparent;
  cursor: pointer;
}

.module-card.is-planned::before {
  background: var(--line-strong);
}

.module-card.is-planned:hover {
  border-color: var(--line-strong);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.035);
  transform: translateY(-2px);
}

.home-module-card {
  min-height: 228px;
  gap: 0;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.58));
  box-shadow: none;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}

.home-module-card.is-planned {
  border-style: dashed;
}

.home-module-card::before {
  display: none;
}

.home-module-card:hover {
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.035);
  transform: translateY(-2px);
}

.home-module-visual {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 13px;
  color: var(--card-600, var(--theme-600));
  background: var(--card-soft, var(--theme-soft));
}

.home-module-visual svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-module-visual .home-glyph-fill {
  fill: currentColor;
  stroke: none;
}

.home-module-copy {
  display: block;
  margin-top: 18px;
}

.home-module-copy h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.35;
}

.home-module-copy p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.module-planned {
  display: inline-block;
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.module-card .tag-list,
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.tag-list li {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 10px;
  color: var(--muted);
  background: transparent;
  font-size: 11.5px;
  line-height: 1.5;
}

.module-card-top,
.module-index,
.module-card-action {
  display: none;
}

/* --------------------------------------------------------------------------
   6. 模块 Hero（介绍页通用）
   -------------------------------------------------------------------------- */

.module-hero {
  border: 1px solid var(--line);
  border-top: 3px solid var(--theme-500);
  border-radius: var(--radius-lg);
  padding: clamp(38px, 6vw, 68px) clamp(26px, 5vw, 64px);
  background: var(--sheet);
  box-shadow: var(--shadow-sheet);
}

.module-hero h1 {
  max-width: 800px;
  font-size: clamp(34px, 4.6vw, 52px);
  line-height: 1.25;
}

.module-hero .hero-lead {
  color: var(--ink-soft);
}

.module-hero-note {
  max-width: 700px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.hero-actions,
.reading-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-actions {
  margin-top: 30px;
}

/* --------------------------------------------------------------------------
   7. 按钮
   -------------------------------------------------------------------------- */

.ui-button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 22px;
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 650;
  letter-spacing: 0.01em;
  line-height: 1;
  text-align: center;
  transition: transform var(--t-fast), border-color var(--t-fast), background var(--t-fast), box-shadow var(--t-fast);
}

.ui-button:hover {
  transform: translateY(-1px);
}

.ui-button:active {
  transform: scale(0.97);
}

.primary-action {
  color: #fff;
  background: var(--theme-500);
  box-shadow: 0 8px 20px var(--theme-ring);
}

.primary-action:hover {
  background: var(--theme-600);
  box-shadow: 0 10px 26px var(--theme-ring);
}

.secondary-action {
  border-color: var(--line-strong);
  color: var(--ink);
  background: var(--sheet);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.secondary-action:hover {
  border-color: var(--faint);
  background: #fff;
}

.text-button {
  border: 0;
  padding: 4px 0;
  color: var(--theme-600);
  background: transparent;
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-align: left;
}

.text-button:hover {
  color: var(--theme-700);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* --------------------------------------------------------------------------
   8. 模块标签页 / 筛选 / 概览数字
   -------------------------------------------------------------------------- */

.module-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 4px 28px;
  height: 44px;
  margin: 0 0 30px;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
}

.module-tabs::-webkit-scrollbar {
  display: none;
}

.module-tabs button {
  position: relative;
  flex: 0 0 auto;
  min-width: 52px;
  height: 44px;
  border: 0;
  padding: 0 2px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  white-space: nowrap;
  transition: color var(--t-fast);
}

.module-tabs button:hover {
  color: var(--ink);
}

.module-tabs button::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  border-radius: 2px 2px 0 0;
  background: transparent;
  content: "";
}

.module-tabs button.is-current {
  color: var(--ink);
  font-weight: 750;
}

.module-tabs button.is-current::after {
  background: var(--theme-500);
}

.collection-tabs {
  gap: 4px 18px;
}

.collection-tabs button {
  min-width: 0;
  font-size: 13.5px;
}

.growth-domain-tabs {
  margin-bottom: 30px;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-row + .filter-row {
  margin-top: 10px;
}

.filter-button {
  min-height: 34px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0 15px;
  color: var(--ink-soft);
  background: transparent;
  cursor: pointer;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all var(--t-fast);
}

.filter-button:hover {
  border-color: var(--faint);
  color: var(--ink);
  background: var(--sheet);
}

.filter-button.is-current {
  border-color: var(--theme-500);
  color: #fff;
  background: var(--theme-500);
}

/* --------------------------------------------------------------------------
   9. 目录与内容列表
   -------------------------------------------------------------------------- */

.resource-group + .resource-group,
.concept-level-group + .concept-level-group {
  margin-top: 46px;
}

.tools-intro {
  max-width: 760px;
  margin: -6px 0 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  background: var(--paper-deep);
}

.tools-intro h2 {
  margin: 8px 0 0;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 22px;
  line-height: 1.45;
}

.tools-intro p:last-child {
  margin: 8px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.8;
}

.tool-group + .tool-group {
  margin-top: 26px;
}

.tool-group-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 10px;
}

.tool-group-heading h3 {
  margin: 0;
  color: var(--ink-soft);
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
}

.tool-group-heading span {
  color: var(--faint);
  font-size: 12px;
}

.tool-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.tool-detail-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  background: var(--sheet);
}

.tool-detail-panel h2 {
  margin: 0 0 8px;
  color: var(--theme-700);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.08em;
}

.tool-detail-panel p,
.tool-info-grid p,
.tool-links p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.85;
}

.tool-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.tool-info-grid div {
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  background: var(--paper-deep);
}

.tool-info-grid strong {
  display: block;
  margin-bottom: 5px;
  color: var(--ink);
  font-size: 12px;
}

.tool-links {
  margin-top: 30px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.tool-links h2 {
  margin: 0 0 12px;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 20px;
}

.tool-link {
  display: inline-flex;
  margin: 0 8px 8px 0;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 8px 13px;
  color: var(--theme-700);
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
}

.tool-link:hover {
  border-color: var(--theme-500);
  background: var(--theme-soft);
}

.tool-detail-note {
  margin-top: 8px !important;
  color: var(--muted) !important;
  font-size: 12.5px !important;
}

.group-count {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 11px;
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 650;
  white-space: nowrap;
}

.level-label {
  display: inline-block;
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.core-label {
  color: var(--theme-700);
  background: var(--theme-soft);
}

.advanced-label {
  color: #6b4a12;
  background: #f6ecd8;
}

.extended-label {
  color: var(--muted);
  background: var(--paper-deep);
}

.content-list {
  display: grid;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.content-list > li {
  border-bottom: 1px solid var(--line);
}

.content-list-item,
.course-list-item {
  display: grid;
  width: 100%;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px 16px;
  border: 0;
  padding: 17px 10px;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: background var(--t-fast);
}

.content-list-item:hover,
.course-list-item:hover {
  background: rgba(0, 0, 0, 0.035);
}

.resource-list-index,
.course-list-number {
  color: var(--faint);
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.content-list-copy {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.content-list-copy strong,
.course-list-copy strong {
  color: var(--ink);
  font-size: 15.5px;
  font-weight: 650;
  letter-spacing: 0.01em;
  line-height: 1.5;
}

.content-list-copy small,
.course-list-copy small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.course-list-copy {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.content-kind {
  color: var(--faint);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.content-meta {
  color: var(--muted);
  font-size: 12px;
  text-align: right;
  white-space: nowrap;
}

.course-list-status {
  color: var(--muted);
  font-size: 12px;
}

.resource-list-arrow {
  color: var(--faint);
  font-size: 14px;
  transition: color var(--t-fast), transform var(--t-med);
}

.content-list-item:hover .resource-list-arrow,
.resource-list-item:hover .resource-list-arrow {
  color: var(--theme-600);
  transform: translate(2px, -2px);
}

.ai-resource-list-item {
  grid-template-columns: 52px minmax(0, 1fr) auto;
}

.result-count {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13px;
}

.empty-state {
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-md);
  padding: 40px 28px;
  background: transparent;
  text-align: center;
}

.empty-state strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
}

.empty-state p {
  max-width: 420px;
  margin: 10px auto 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.8;
}

.empty-state .text-button {
  margin-top: 14px;
}

/* --------------------------------------------------------------------------
   10. 搜索与内容库控件
   -------------------------------------------------------------------------- */

.library-controls {
  display: grid;
  gap: 16px;
  margin-bottom: 34px;
}

.wide-search {
  display: block;
  max-width: 560px;
}

.sidebar-search label {
  display: block;
  margin-bottom: 8px;
  color: var(--faint);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.sidebar-search input,
.wide-search input,
.global-search-form input {
  min-width: 0;
  height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 0 15px;
  color: var(--ink);
  background: var(--sheet);
  outline: 0;
  font-size: 14.5px;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}

.sidebar-search input {
  width: 100%;
  height: 40px;
  font-size: 13px;
}

.wide-search input {
  width: 100%;
}

.sidebar-search input:focus,
.wide-search input:focus,
.global-search-form input:focus {
  border-color: var(--theme-500);
  box-shadow: 0 0 0 4px var(--theme-ring);
}

.sidebar-search input::placeholder,
.wide-search input::placeholder,
.global-search-form input::placeholder {
  color: var(--faint);
}

.sidebar-search-row {
  display: flex;
  gap: 8px;
}

.sidebar-search-row button {
  height: 40px;
  flex: 0 0 46px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--sheet);
  color: var(--theme-600);
  cursor: pointer;
  font-size: 12.5px;
  font-weight: 700;
}

.global-search-form {
  display: flex;
  max-width: 640px;
  align-items: flex-end;
  gap: 10px;
  margin-bottom: 34px;
}

.global-search-form label {
  flex: 1 1 auto;
  min-width: 0;
}

.global-search-form input {
  width: 100%;
}

.global-search-form .ui-button {
  flex: 0 0 auto;
}

.transition-submodule-entry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 0 34px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  padding: 24px 26px;
  background: linear-gradient(135deg, var(--paper), var(--sheet));
}

.transition-submodule-entry .eyebrow {
  margin-bottom: 8px;
  color: var(--theme-600);
}

.transition-submodule-entry h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 22px;
}

.transition-submodule-entry p:not(.eyebrow) {
  max-width: 700px;
  margin: 8px 0 0;
  color: var(--ink-soft);
  line-height: 1.8;
}

.transition-submodule-entry small {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 12.5px;
}

.article-evidence {
  margin-top: 34px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  padding: 26px;
  background: var(--paper);
}

.article-evidence-heading {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.article-evidence-heading .eyebrow {
  margin-bottom: 8px;
  color: var(--theme-600);
}

.article-evidence-heading h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 21px;
  line-height: 1.45;
}

.article-evidence-heading p:last-child {
  max-width: 720px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.8;
}

.article-evidence-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.article-evidence-grid > section {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px;
  background: var(--sheet);
}

.article-evidence-label {
  margin: 0 !important;
  color: var(--theme-600) !important;
  font-size: 11.5px !important;
  font-weight: 750;
  letter-spacing: 0.08em;
}

.article-evidence-grid h3 {
  margin: 10px 0 0;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 16px;
  line-height: 1.55;
}

.article-evidence-grid section > p:not(.article-evidence-label) {
  margin: 8px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.85;
}

.article-evidence-grid a {
  display: inline-block;
  margin-top: 10px;
  color: var(--theme-600);
  font-size: 13px;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-evidence-grid ul {
  display: grid;
  gap: 6px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.article-evidence-grid li {
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.65;
}

.article-evidence-grid li strong {
  color: var(--ink-soft);
  font-weight: 650;
}

.article-evidence-grid li a {
  margin-top: 0;
  font-size: 12px;
}

.article-evidence-limit {
  margin: 18px 0 0;
  border-left: 3px solid var(--line-strong);
  padding: 3px 0 3px 16px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.article-evidence-limit strong {
  color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   11. 阅读页与文章排版（核心阅读体验）
   -------------------------------------------------------------------------- */

.reading-page {
  width: min(calc(100% - 96px), var(--reading-width));
  margin: 0 auto;
  padding: 72px 0 100px;
}

.article-document {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(30px, 5.5vw, 64px) clamp(24px, 6vw, 68px);
  background: var(--sheet);
  box-shadow: var(--shadow-sheet);
}

.article-header {
  border-bottom: 1px solid var(--line);
  padding-bottom: 30px;
}

.article-meta {
  margin: 0 0 14px;
  color: var(--theme-600);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.article-header h1 {
  font-size: clamp(29px, 4vw, 40px);
  line-height: 1.35;
}

.article-lead {
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 16.5px;
  line-height: 1.95;
}

.article-purpose {
  margin-top: 22px;
  border-left: 3px solid var(--theme-500);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 14px 18px;
  background: var(--theme-soft);
}

.article-purpose strong {
  display: block;
  color: var(--theme-700);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.1em;
}

.article-purpose p {
  margin: 6px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.8;
}

.article-body {
  font-size: 15.5px;
}

.article-section {
  margin-top: 44px;
}

.article-section:first-child {
  margin-top: 38px;
}

.article-section h2,
.article-sources h2,
.related-content h2,
.remember-section h2 {
  position: relative;
  margin: 0 0 16px;
  padding-top: 14px;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 22.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.45;
}

.article-section h2::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: var(--theme-500);
  content: "";
}

.article-section p,
.article-sources p {
  margin: 14px 0 0;
  color: var(--ink-soft);
  line-height: 1.95;
}

.article-key {
  border: 1px solid var(--line);
  border-left: 3px solid var(--theme-500);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 20px 24px;
  background: var(--paper);
}

.article-key h2 {
  padding-top: 0;
  font-size: 15px;
}

.article-key h2::before {
  display: none;
}

.article-key p {
  margin-top: 8px;
  font-size: 15px;
}

.article-note {
  margin: 20px 0 0;
  border-left: 3px solid var(--line-strong);
  padding: 4px 0 4px 20px;
}

.article-note p {
  margin: 0;
  color: var(--ink-soft);
  font-family: var(--font-serif);
  font-size: 16px;
  line-height: 1.9;
}

.article-steps,
.article-list {
  display: grid;
  gap: 12px;
  margin: 16px 0 0;
  padding-left: 24px;
}

.article-steps li,
.article-list li {
  color: var(--ink-soft);
  line-height: 1.9;
}

.article-steps li::marker {
  color: var(--theme-600);
  font-family: var(--font-serif);
  font-weight: 700;
}

.article-list li::marker {
  color: var(--theme-500);
}

.article-list li strong,
.article-list li span {
  display: block;
}

.article-list li strong {
  color: var(--ink);
  font-weight: 700;
}

.article-list li span {
  margin-top: 2px;
}

.article-steps li strong {
  color: var(--ink);
}

.article-steps li p {
  margin: 4px 0 0;
}

.article-table-wrap {
  overflow-x: auto;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.article-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.article-table th,
.article-table td {
  border-bottom: 1px solid var(--line);
  padding: 12px 16px;
  text-align: left;
  line-height: 1.75;
}

.article-table tr:last-child td {
  border-bottom: 0;
}

.article-table th {
  color: var(--ink);
  background: var(--paper);
  font-size: 12.5px;
  font-weight: 750;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.article-table td {
  color: var(--ink-soft);
}

/* 记住这几点 / 相关内容 / 资料来源 */
.remember-section,
.related-content,
.article-sources {
  margin-top: 48px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
}

.remember-section {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px 26px;
  background: var(--paper);
}

.remember-section h2 {
  padding-top: 0;
  font-size: 18px;
}

.remember-section ul {
  display: grid;
  gap: 10px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.remember-section li {
  position: relative;
  padding-left: 22px;
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.85;
}

.remember-section li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--theme-600);
  content: "—";
}

.related-content ul,
.article-sources ul {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.related-link {
  display: grid;
  width: 100%;
  gap: 3px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  color: var(--ink);
  background: var(--sheet);
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: border-color var(--t-fast), background var(--t-fast), transform var(--t-fast);
}

.related-link:hover {
  border-color: var(--theme-500);
  background: #fff;
  transform: translateY(-1px);
}

.related-link span {
  color: var(--theme-600);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.12em;
}

.related-link strong {
  font-size: 14.5px;
  font-weight: 650;
}

.related-link small,
.article-sources li span {
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.65;
}

.article-sources a {
  color: var(--theme-600);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-sources a:hover {
  color: var(--theme-700);
}

.article-sources li {
  line-height: 1.7;
}

.reading-actions {
  justify-content: space-between;
  margin-top: 26px;
}

.reading-actions .ui-button {
  min-width: 128px;
}

.breadcrumb-button {
  border: 0;
  padding: 0;
  color: var(--theme-600);
  background: transparent;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   12. 模块介绍页部件（边界说明 / 领域卡 / 阅读指南）
   -------------------------------------------------------------------------- */

.resource-boundary {
  margin-top: 22px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--theme-500);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 18px 22px;
  background: var(--sheet);
}

.resource-boundary strong {
  display: block;
  color: var(--theme-700);
  font-size: 12.5px;
  font-weight: 750;
  letter-spacing: 0.1em;
}

.resource-boundary p {
  margin: 8px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.85;
}

.resource-section {
  margin-top: 72px;
}

.resource-domain-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.resource-domain-grid.is-five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.resource-domain-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px;
  background: var(--sheet);
}

.resource-domain-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.resource-domain-top span {
  color: var(--faint);
  font-family: var(--font-serif);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.resource-domain-top small {
  color: var(--muted);
  font-size: 11.5px;
}

.resource-domain-card h3 {
  margin: 12px 0 0;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 17.5px;
  font-weight: 700;
}

.resource-domain-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.resource-guide-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.resource-guide-list li {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  background: var(--sheet);
}

.resource-guide-list strong {
  display: block;
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 700;
}

.resource-guide-list span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.resource-reading-guide .section-heading {
  margin-bottom: 22px;
}

.resource-reading-guide > .text-button {
  margin-top: 4px;
}

/* --------------------------------------------------------------------------
   12.1 幼小衔接公开阅读
   -------------------------------------------------------------------------- */

/* 幼小衔接沿用资源目录的标签、检索和内容列表样式，保持各模块一致。 */

/* --------------------------------------------------------------------------
   13. 思维卡片
   -------------------------------------------------------------------------- */

.direct-module-header {
  display: flex;
  max-width: 1100px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 24px;
}

.direct-module-header > div {
  max-width: 760px;
}

.direct-module-header h1 {
  /* 和其他直接进入目录的模块标题保持一致。 */
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.28;
}

.direct-module-header p:last-child {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.8;
}

.thinking-cards-teaser {
  display: flex;
  max-width: 940px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border: 1px solid rgba(0, 113, 227, 0.18);
  border-radius: var(--radius-md);
  padding: 24px 26px;
  background: rgba(0, 113, 227, 0.05);
}

.thinking-cards-teaser h2,
.thinking-card-guide h2 {
  margin: 6px 0 0;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 700;
}

.thinking-cards-teaser p:not(.eyebrow),
.thinking-card-guide p:not(.eyebrow) {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.8;
}

.thinking-cards-teaser-actions {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.thinking-card-library {
  margin-top: 8px;
}

.library-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
}

.library-title-row strong {
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 700;
}

.library-title-row span {
  color: var(--muted);
  font-size: 12.5px;
}

.thinking-card-topic-list {
  display: grid;
  gap: 40px;
  margin-top: 30px;
}

.thinking-card-topic > header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.thinking-card-topic > header h2 {
  margin: 10px 0 0;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: clamp(21px, 2.4vw, 26px);
  font-weight: 700;
  line-height: 1.4;
}

.thinking-card-topic > header p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.thinking-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.thinking-card-list-card {
  display: flex;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 0;
  color: var(--ink);
  background: var(--sheet);
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: border-color var(--t-med), box-shadow var(--t-med), transform var(--t-med);
}

.thinking-card-list-card:hover {
  border-color: var(--theme-500);
  box-shadow: var(--shadow-lift);
  transform: translateY(-3px);
}

.thinking-card-thumbnail {
  display: block;
  overflow: hidden;
  aspect-ratio: 1055 / 680;
  border-bottom: 1px solid var(--line);
  background: var(--paper-deep);
}

.thinking-card-thumbnail img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform var(--t-med);
}

.thinking-card-list-card:hover .thinking-card-thumbnail img {
  transform: scale(1.03);
}

.thinking-card-list-copy {
  display: grid;
  gap: 3px;
  padding: 13px 15px 15px;
}

.thinking-card-list-meta {
  color: var(--faint);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.thinking-card-list-copy > strong {
  color: var(--ink);
  font-size: 15.5px;
  font-weight: 650;
  line-height: 1.5;
}

.thinking-card-list-copy > small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.thinking-card-detail {
  display: grid;
  grid-template-columns: minmax(0, 460px) minmax(0, 1fr);
  gap: 44px;
  align-items: start;
}

.thinking-card-view {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--sheet);
  box-shadow: var(--shadow-sheet);
}

.thinking-card-view img {
  display: block;
  width: 100%;
  height: auto;
}

.thinking-card-detail-side h1 {
  margin-top: 4px;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.35;
}

.thinking-card-detail-summary {
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.9;
}

.thinking-card-instruction {
  margin-top: 22px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--theme-500);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 15px 18px;
  background: var(--sheet);
}

.thinking-card-instruction strong {
  display: block;
  color: var(--theme-700);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.1em;
}

.thinking-card-instruction p {
  margin: 7px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.85;
}

.thinking-card-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

.thinking-card-usage {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.75;
}

.thinking-card-answer {
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  background: var(--paper);
}

.thinking-card-answer h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 700;
}

.thinking-card-answer p:not(.eyebrow) {
  margin: 10px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.9;
}

.thinking-card-answer small {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.thinking-card-related {
  margin-top: 48px;
  border-top: 1px solid var(--line);
  padding-top: 26px;
}

.thinking-card-related > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.thinking-card-detail-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 44px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

/* 打印页（屏幕态） */
.card-print-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 26px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 26px;
}

.card-print-toolbar h1 {
  font-size: clamp(26px, 3.4vw, 36px);
}

.card-print-toolbar p:not(.eyebrow) {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.card-print-toolbar > div:last-child {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
}

.card-print-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.card-print-item {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--sheet);
}

.card-print-item img {
  display: block;
  width: 100%;
  height: auto;
}

/* --------------------------------------------------------------------------
   14. 历史兼容部件（平台地图 / 阶段卡 / 能力项 / 预览区等）
   -------------------------------------------------------------------------- */

.platform-map-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.platform-map-card {
  display: flex;
  min-height: 240px;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
  background: var(--sheet);
}

.platform-map-card h2 {
  margin: 6px 0 0;
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 700;
}

.platform-map-card > div > p:last-child {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.platform-map-card ol {
  display: grid;
  gap: 8px;
  margin: 18px 0;
  padding: 0;
  list-style: none;
}

.platform-map-card ol li {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: baseline;
  gap: 10px;
  font-size: 13px;
}

.platform-map-card ol li > span {
  color: var(--faint);
  font-family: var(--font-serif);
  font-size: 12px;
  font-weight: 700;
}

.platform-map-card ol li > strong {
  font-weight: 650;
}

.platform-map-card ol li > small {
  color: var(--muted);
  font-size: 12px;
}

.platform-map-card > .text-button {
  margin-top: auto;
}

.map-note {
  display: flex;
  max-width: 860px;
  gap: 10px;
  margin-top: 56px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  background: var(--sheet);
  font-size: 13.5px;
  line-height: 1.75;
}

.map-note strong {
  flex: 0 0 auto;
  font-weight: 700;
}

.map-note span {
  color: var(--muted);
}

.framework-grid,
.capability-grid,
.stage-grid,
.case-category-grid {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.framework-grid {
  grid-template-columns: repeat(4, 1fr);
}

.framework-grid li,
.capability-item,
.stage-card,
.case-category-card,
.concept-level-preview > div {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--sheet);
}

.framework-grid li {
  min-height: 170px;
  padding: 22px;
}

.framework-number,
.capability-number {
  display: block;
  color: var(--faint);
  font-family: var(--font-serif);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.framework-grid h3,
.capability-item h3,
.stage-card h3,
.concept-level-preview h3 {
  margin: 12px 0 0;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 17.5px;
  font-weight: 700;
  line-height: 1.4;
}

.framework-grid p,
.capability-item > p,
.stage-card-heading p,
.concept-level-preview > div > p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.capability-grid {
  grid-template-columns: repeat(3, 1fr);
}

.capability-item {
  padding: 20px 22px;
}

.capability-item ul {
  display: grid;
  gap: 6px;
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.7;
}

.stage-grid {
  grid-template-columns: repeat(2, 1fr);
}

.stage-card {
  padding: 24px;
}

.stage-card-heading {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.stage-card-heading > span {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border-radius: 12px;
  color: var(--theme-700);
  background: var(--theme-soft);
  font-family: var(--font-serif);
  font-size: 13px;
  font-weight: 700;
}

.stage-card-heading h3 {
  margin: 2px 0 0;
}

.stage-lesson-list {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.stage-lesson-link {
  display: grid;
  width: 100%;
  grid-template-columns: 36px 1fr;
  gap: 4px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: border-color var(--t-fast), background var(--t-fast);
}

.stage-lesson-link:hover {
  border-color: var(--theme-500);
  background: var(--sheet);
}

.stage-lesson-link > span {
  grid-row: span 2;
  color: var(--faint);
  font-family: var(--font-serif);
  font-size: 13px;
  font-weight: 700;
}

.stage-lesson-link strong {
  font-size: 14px;
  font-weight: 650;
}

.stage-lesson-link small {
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.6;
}

.concept-level-preview {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.concept-level-preview > div {
  padding: 22px 24px;
}

.preview-link-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px 14px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.preview-link-list button {
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 8px 2px;
  color: var(--ink-soft);
  background: transparent;
  cursor: pointer;
  font-size: 13.5px;
  text-align: left;
  transition: color var(--t-fast), border-color var(--t-fast);
}

.preview-link-list button:hover {
  border-color: var(--theme-500);
  color: var(--theme-600);
}

.planned-inline {
  margin: 22px 0 0;
  border-top: 1px dashed var(--line-strong);
  padding-top: 16px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.case-category-grid {
  grid-template-columns: repeat(3, 1fr);
}

.case-category-card {
  display: grid;
  gap: 6px;
  padding: 20px 22px;
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: border-color var(--t-med), box-shadow var(--t-med), transform var(--t-med);
}

.case-category-card:hover {
  border-color: var(--theme-500);
  box-shadow: var(--shadow-lift);
  transform: translateY(-2px);
}

.case-category-card strong {
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 16.5px;
  font-weight: 700;
}

.case-category-card span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.case-category-card small {
  color: var(--faint);
  font-size: 11.5px;
  font-weight: 650;
  letter-spacing: 0.06em;
}

.module-scope {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.scope-counts {
  display: flex;
  gap: 22px;
}

.scope-counts div {
  display: grid;
  gap: 2px;
}

.scope-counts strong {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
}

.scope-counts span {
  color: var(--muted);
  font-size: 12px;
}

.planned-topics {
  margin-top: 88px;
}

.planned-topic-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.planned-topic-list > div {
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-md);
  padding: 20px 22px;
}

.planned-topic-list strong {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
}

.planned-topic-list span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.planned-topic-list small {
  display: block;
  margin-top: 10px;
  color: var(--faint);
  font-size: 11.5px;
}

.map-stage-list {
  display: grid;
  gap: 40px;
}

.map-stage {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
}

.map-stage-marker {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--theme-700);
  background: var(--sheet);
  font-family: var(--font-serif);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.map-stage-copy h2 {
  margin: 8px 0 0;
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
}

.map-stage-copy > p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.map-stage-copy ol {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.map-lesson {
  display: grid;
  width: 100%;
  grid-template-columns: 40px 1fr;
  gap: 4px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  color: var(--ink);
  background: var(--sheet);
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: border-color var(--t-fast), transform var(--t-fast);
}

.map-lesson:hover {
  border-color: var(--theme-500);
  transform: translateY(-1px);
}

.map-lesson > span {
  grid-row: span 2;
  color: var(--faint);
  font-family: var(--font-serif);
  font-size: 13px;
  font-weight: 700;
}

.map-lesson strong {
  font-size: 14.5px;
  font-weight: 650;
}

.map-lesson small {
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.65;
}

.course-path-list,
.course-stage,
.ai-course-directory,
.direct-content-section,
.search-group,
.search-summary,
.compact-capability-row,
.thinking-card-overview,
.thinking-card-guide,
.thinking-card-topic-filters,
.header-search,
.status-label,
.module-hero::after {
  /* 历史遗留：当前路由不渲染，保留最小样式避免裸奔 */
}

.course-stage {
  margin-top: 40px;
}

.course-stage > header {
  margin-bottom: 16px;
}

.course-stage > header h2,
.course-stage h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
}

.course-stage > header p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.course-stage > ol {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.search-group + .search-group {
  margin-top: 40px;
}

.search-group h2 {
  margin: 0 0 14px;
  font-family: var(--font-serif);
  font-size: 19px;
}

.thinking-card-overview {
  display: flex;
  gap: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  background: var(--sheet);
}

.thinking-card-overview strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
}

.thinking-card-overview span,
.thinking-card-overview p {
  color: var(--muted);
  font-size: 12.5px;
}

.thinking-card-guide {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  background: var(--sheet);
}

.thinking-card-topic-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
}

/* --------------------------------------------------------------------------
   15. 提示条 / noscript
   -------------------------------------------------------------------------- */

.toast {
  position: fixed;
  z-index: 60;
  right: 22px;
  bottom: 22px;
  max-width: min(360px, calc(100vw - 44px));
  border-radius: 14px;
  padding: 13px 18px;
  color: #fff;
  background: rgba(29, 29, 31, 0.88);
  box-shadow: var(--shadow-lift);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  font-size: 13.5px;
  line-height: 1.6;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity var(--t-med), transform var(--t-med);
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.utility-modal {
  position: fixed;
  z-index: 50;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
}

.utility-modal[hidden] {
  display: none;
}

.utility-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(29, 29, 31, 0.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.utility-modal-card {
  position: relative;
  z-index: 1;
  width: min(100%, 480px);
  max-height: min(720px, calc(100vh - 48px));
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: var(--radius-lg);
  padding: 28px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 50px rgba(31, 45, 61, 0.18);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}

.utility-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.utility-modal-header .eyebrow {
  margin-bottom: 7px;
}

.utility-modal-header h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 26px;
  line-height: 1.3;
}

.utility-modal-close {
  position: relative;
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  font-size: 0;
  line-height: 0;
}

.utility-modal-close::before,
.utility-modal-close::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 1.5px;
  border-radius: 999px;
  background: currentColor;
  content: "";
}

.utility-modal-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.utility-modal-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.utility-modal-close:hover {
  color: var(--ink);
  background: var(--sheet);
}

.utility-modal-intro {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.feedback-form {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.feedback-form label {
  display: grid;
  gap: 7px;
}

.feedback-form label > span {
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 650;
}

.feedback-form textarea,
.feedback-form input {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.86);
  outline: 0;
  font: inherit;
  font-size: 14px;
  line-height: 1.6;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}

.feedback-form textarea {
  min-height: 122px;
  resize: vertical;
}

.feedback-form textarea:focus,
.feedback-form input:focus {
  border-color: var(--theme-500);
  box-shadow: 0 0 0 4px var(--theme-ring);
}

.feedback-form textarea::placeholder,
.feedback-form input::placeholder {
  color: var(--faint);
}

.feedback-form-note,
.feedback-form-status {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
}

.feedback-form-note {
  color: var(--faint);
}

.feedback-form-status {
  min-height: 1.6em;
  color: var(--muted);
}

.feedback-form-status.is-error {
  color: #b42318;
}

.feedback-form-status.is-success {
  color: #16733a;
}

.feedback-form-actions,
.knowledge-base-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.feedback-form-actions {
  justify-content: center;
}

.knowledge-base-qr-shell {
  display: grid;
  place-items: center;
  margin: 24px 0 0;
  background: transparent;
}

.knowledge-base-qr {
  display: block;
  width: min(260px, 100%);
  aspect-ratio: 1;
  object-fit: contain;
}

.knowledge-base-qr-placeholder {
  display: grid;
  gap: 7px;
  place-items: center;
  min-height: 220px;
  color: var(--muted);
  text-align: center;
}

.knowledge-base-qr-placeholder strong {
  color: var(--ink-soft);
  font-size: 16px;
}

.knowledge-base-qr-placeholder span {
  color: var(--faint);
  font-size: 12px;
}

.knowledge-base-link {
  display: block;
  margin-top: 16px;
  overflow-wrap: anywhere;
  color: var(--theme-600);
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
  text-decoration: none;
}

.knowledge-base-link:hover {
  text-decoration: underline;
}

.knowledge-base-link.is-pending {
  color: var(--faint);
}

.knowledge-base-actions {
  justify-content: center;
  margin-top: 18px;
}

.knowledge-base-note {
  margin: 18px 0 0;
  color: var(--faint);
  font-size: 11px;
  line-height: 1.6;
  text-align: center;
}

body.modal-open {
  overflow: hidden;
}

.noscript {
  padding: 40px 24px;
  color: var(--ink);
  text-align: center;
}

/* --------------------------------------------------------------------------
   16. 响应式
   -------------------------------------------------------------------------- */

@media (max-width: 1180px) {
  .resource-domain-grid,
  .resource-domain-grid.is-five {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1100px) {
  .thinking-card-grid,
  .card-print-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .thinking-card-detail {
    gap: 30px;
  }
}

@media (max-width: 1060px) {
  :root {
    --sidebar-width: 224px;
  }

  .content-frame {
    width: min(calc(100% - 64px), var(--content-width));
  }

  .platform-sidebar {
    padding-right: 14px;
    padding-left: 14px;
  }

  .framework-grid,
  .capability-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .platform-map-grid,
  .resource-guide-list,
  .home-entry-grid,
  .home-path-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .transition-reading-packs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 780px) {
  :root {
    --mobile-nav-height: 64px;
  }

  body {
    padding-bottom: var(--mobile-nav-height);
  }

  .platform-sidebar {
    display: none;
  }

  .platform-main {
    margin-left: 0;
  }

  .platform-footer {
    width: 100%;
    align-items: flex-start;
    flex-direction: column;
    padding: 0 20px 28px;
  }

  .mobile-header {
    position: sticky;
    z-index: 15;
    top: 0;
    display: flex;
    height: 60px;
    align-items: center;
    justify-content: space-between;
    border-bottom: 0.5px solid var(--line);
    padding: 0 18px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
  }

  .mobile-brand {
    min-width: 0;
  }

  .utility-modal {
    padding: 16px;
  }

  .utility-modal-card {
    max-height: calc(100vh - 32px);
    border-radius: var(--radius-md);
    padding: 22px;
  }

  .feedback-form-actions,
  .knowledge-base-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feedback-form-actions .ui-button,
  .knowledge-base-actions .ui-button {
    width: 100%;
    padding-right: 12px;
    padding-left: 12px;
  }

  .feedback-form-actions {
    display: flex;
    justify-content: center;
  }

  .feedback-form-actions .ui-button {
    width: auto;
    min-width: 144px;
  }

  .mobile-brand {
    gap: 9px;
    font-family: var(--font-serif);
    font-size: 14.5px;
    font-weight: 700;
    letter-spacing: 0.04em;
  }

  .mobile-brand .brand-copy strong {
    font-size: 14.5px;
  }

  .mobile-brand .brand-copy small {
    font-size: 10px;
  }

  .mobile-brand .brand-mark {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

  .mobile-nav {
    position: fixed;
    z-index: 30;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    overflow-x: auto;
    height: var(--mobile-nav-height);
    border-top: 0.5px solid var(--line);
    background: rgba(250, 250, 252, 0.82);
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.06);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    scrollbar-width: none;
  }

  .mobile-nav::-webkit-scrollbar {
    display: none;
  }

  .mobile-nav .nav-link {
    position: relative;
    flex: 1 0 72px;
    min-height: 100%;
    justify-content: center;
    border: 0;
    border-radius: 0;
    padding: 0 4px;
    color: var(--muted);
    font-size: 11.5px;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
    box-shadow: none;
  }

  .mobile-nav .nav-link.is-current {
    color: var(--ink);
    background: transparent;
    box-shadow: none;
  }

  .mobile-nav .nav-link.is-current::before {
    top: 0;
    right: 22%;
    bottom: auto;
    left: 22%;
    width: auto;
    height: 2.5px;
    border-radius: 0 0 3px 3px;
  }

  .content-frame {
    width: 100%;
    padding: 44px 20px 72px;
  }

  .page-content.has-page-toolbar .content-frame {
    padding-top: 26px;
  }

  .page-toolbar {
    height: 52px;
  }

  .page-toolbar-inner {
    width: calc(100% - 40px);
  }

  .page-heading {
    margin-bottom: 32px;
  }

  .page-heading h1 {
    font-size: 32px;
  }

  .page-heading > p:last-child {
    font-size: 14.5px;
    line-height: 1.85;
  }

  .platform-hero {
    border-radius: var(--radius-md);
    padding: 30px 22px 38px;
  }

  .platform-hero h1,
  .module-hero h1 {
    font-size: 34px;
  }

  .hero-lead {
    font-size: 15.5px;
    line-height: 1.9;
  }

  .module-hero {
    border-radius: var(--radius-md);
    padding: 32px 22px;
  }

  .home-section,
  .module-section {
    margin-top: 60px;
  }

  .home-page .home-section {
    margin-top: 44px;
  }

  .home-page .module-grid {
    gap: 12px;
    padding-bottom: 14px;
  }

  .home-page .module-grid > .home-module-card {
    flex-basis: min(84vw, 330px);
    min-width: 0;
  }

  .home-topic-overview {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .framework-grid,
  .capability-grid,
  .stage-grid,
  .case-category-grid,
  .concept-level-preview,
  .platform-map-grid,
  .resource-domain-grid,
  .resource-domain-grid.is-five,
  .resource-guide-list,
  .home-entry-grid,
  .home-topic-grid,
  .home-path-grid,
  .transition-path-grid,
  .transition-reading-packs-grid {
    grid-template-columns: 1fr;
  }

  .tool-detail-grid,
  .tool-info-grid {
    grid-template-columns: 1fr;
  }

  .framework-grid li,
  .module-card,
  .platform-map-card {
    min-height: 0;
  }

  .home-module-card {
    min-height: 228px;
  }

  .planned-topics {
    margin-top: 60px;
  }

  .planned-topic-list {
    grid-template-columns: 1fr;
  }

  .transition-path-note,
  .transition-path-footer,
  .transition-directory-guide {
    align-items: flex-start;
    flex-direction: column;
  }

  .transition-path-footer-actions {
    justify-content: flex-start;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-boundary {
    align-items: flex-start;
    flex-direction: column;
  }

  .about-actions {
    justify-content: flex-start;
  }

  .module-scope,
  .section-heading-row,
  .global-search-form {
    align-items: flex-start;
    flex-direction: column;
  }

  .global-search-form,
  .global-search-form label,
  .global-search-form .ui-button {
    width: 100%;
    max-width: none;
  }

  .scope-counts {
    width: 100%;
    justify-content: space-between;
  }

  .preview-link-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .map-stage {
    grid-template-columns: 38px 1fr;
    gap: 14px;
  }

  .map-stage-marker {
    width: 36px;
    height: 36px;
    font-size: 10.5px;
  }

  .map-stage-copy h2 {
    font-size: 19px;
  }

  .map-lesson,
  .course-list-item,
  .content-list-item {
    grid-template-columns: 38px 1fr;
    padding: 14px 8px;
  }

  .map-lesson small,
  .course-list-status,
  .content-meta {
    grid-column: 2;
    justify-content: flex-start;
    text-align: left;
    white-space: normal;
  }

  .resource-list-arrow {
    display: none;
  }

  .content-list-copy strong,
  .content-list-copy small {
    white-space: normal;
  }

  .article-header h1 {
    font-size: 27px;
  }

  .article-lead {
    font-size: 15.5px;
  }

  .article-document {
    border: 0;
    border-radius: 0;
    margin: 0 -20px;
    padding: 28px 20px 40px;
    box-shadow: none;
  }

  .reading-page {
    width: 100%;
    padding: 28px 20px 64px;
  }

  .reading-actions .ui-button {
    flex: 1 1 calc(50% - 10px);
  }

  .thinking-cards-teaser,
  .thinking-card-guide,
  .thinking-card-overview,
  .card-print-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .thinking-cards-teaser-actions,
  .card-print-toolbar > div:last-child {
    width: 100%;
  }

  .thinking-card-detail {
    grid-template-columns: 1fr;
  }

  .thinking-card-grid,
  .card-print-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .thinking-card-view {
    max-width: 520px;
  }

  .thinking-card-related > div {
    grid-template-columns: 1fr;
  }

  .direct-module-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }
}

@media (max-width: 500px) {
  .thinking-card-grid,
  .card-print-list {
    grid-template-columns: 1fr;
  }

  .thinking-card-thumbnail {
    aspect-ratio: 1055 / 760;
  }

  .thinking-card-topic > header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .thinking-card-controls {
    align-items: stretch;
    flex-direction: column;
  }

  .thinking-card-controls .ui-button,
  .thinking-card-controls .text-button,
  .thinking-cards-teaser-actions .ui-button,
  .thinking-cards-teaser-actions .text-button,
  .card-print-toolbar .ui-button,
  .card-print-toolbar .text-button {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 430px) {
  .platform-hero h1,
  .module-hero h1 {
    font-size: 30px;
  }

  .hero-actions,
  .reading-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions .ui-button,
  .reading-actions .ui-button {
    width: 100%;
  }

  .preview-link-list {
    grid-template-columns: 1fr;
  }

  .map-lesson,
  .course-list-item,
  .content-list-item {
    padding: 13px 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

@media (max-width: 760px) {
  .transition-submodule-entry {
    align-items: flex-start;
    flex-direction: column;
  }

  .transition-submodule-entry .ui-button {
    width: 100%;
  }

  .article-evidence {
    padding: 20px;
  }

  .article-evidence-grid {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   17. 打印（思维卡 A4 竖版，保持原行为）
   -------------------------------------------------------------------------- */

@media print {
  @page {
    size: A4 portrait;
    margin: 0;
  }

  body {
    padding-bottom: 0;
    background: #fff;
  }

  .platform-sidebar,
  .mobile-header,
  .mobile-nav,
  .page-toolbar,
  .toast,
  .utility-modal,
  .card-print-toolbar,
  .thinking-card-detail-page .reading-topbar,
  .thinking-card-detail-side,
  .thinking-card-answer,
  .thinking-card-related,
  .thinking-card-detail-footer {
    display: none !important;
  }

  .platform-main {
    margin-left: 0;
  }

  .page-content,
  .card-print-page,
  .thinking-card-detail-page {
    min-height: 0;
  }

  .card-print-page,
  .thinking-card-detail-page {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
  }

  .card-print-list {
    display: block !important;
    margin: 0;
  }

  .card-print-item {
    display: grid !important;
    width: 210mm !important;
    height: 297mm !important;
    place-items: center;
    break-after: page;
    page-break-after: always;
    border: 0 !important;
    border-radius: 0 !important;
    padding: 0 !important;
    background: #fff;
  }

  .card-print-item:last-child {
    break-after: auto;
    page-break-after: auto;
  }

  .card-print-item img,
  .thinking-card-view img {
    width: 210mm;
    height: 297mm;
    border: 0;
    border-radius: 0;
    object-fit: contain;
  }

  .thinking-card-detail {
    display: block;
  }

  .thinking-card-view {
    width: 210mm;
    height: 297mm;
    max-width: none;
    margin: 0;
    border: 0;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    background: #fff;
  }
}

/* 6.2 · 仅保留新版刊头构图与文章阅读呈现，沿用 6.1 的颜色、字体与组件。 */
@media screen {
  .platform-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(170px, 30%);
    align-items: center;
    gap: 28px;
    min-height: 270px;
  }

  .platform-hero.compact-platform-hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-page .compact-platform-hero {
    min-height: 0;
    padding: clamp(30px, 4vw, 46px) 24px clamp(26px, 3.5vw, 38px);
    justify-items: center;
    text-align: center;
  }

  .home-page .compact-platform-hero::after {
    display: none;
  }

  .home-page .home-hero-copy {
    display: grid;
    justify-items: center;
    width: 100%;
  }

  .home-page .home-hero-copy h1 {
    max-width: none;
    text-align: center;
  }

  .home-page .platform-hero-subtitle {
    margin-right: auto;
    margin-left: auto;
  }

  .platform-hero h1 span {
    display: inline;
  }

  .reading-page {
    width: min(calc(100% - 80px), 850px);
    padding-top: 36px;
  }

  .article-document {
    border-radius: 12px;
    padding: clamp(28px, 4vw, 56px) clamp(28px, 5vw, 68px);
    box-shadow: none;
  }

  .article-header {
    padding-bottom: 24px;
  }

  .article-meta {
    font-size: 11px;
    line-height: 1.8;
    letter-spacing: 0.04em;
    font-weight: 600;
  }

  .article-header h1 {
    font-size: clamp(30px, 3.4vw, 42px);
    line-height: 1.45;
  }

  .article-lead {
    margin-top: 20px;
    font-size: 17px;
  }

  .article-purpose {
    margin-top: 18px;
    border: 0;
    border-radius: 0;
    padding: 0;
    background: transparent;
  }

  .article-purpose summary {
    width: fit-content;
    padding: 8px 0;
    color: var(--theme-600);
    cursor: pointer;
    font-size: 12px;
    font-weight: 650;
  }

  .article-purpose p {
    margin-top: 6px;
    border-left: 2px solid var(--theme-500);
    padding: 10px 14px;
    font-size: 13px;
  }

  .article-body {
    font-size: 16px;
  }

  .article-section {
    margin-top: 36px;
  }

  .article-section:first-child {
    margin-top: 30px;
  }

  .article-section h2 {
    padding-top: 0;
    font-size: 23px;
  }

  .article-section h2::before {
    display: none;
  }

  .article-key {
    border: 0;
    border-radius: 8px;
    padding: 20px 24px;
    background: var(--theme-soft);
  }

  .article-key h2 {
    color: var(--theme-700);
    font-family: var(--font-sans);
    font-size: 13px;
  }

  .article-note {
    border-left-width: 2px;
    padding-left: 16px;
  }

  .article-note p {
    font-family: var(--font-sans);
    font-size: 15px;
  }

  .article-sources p,
  .article-sources li {
    font-size: 13px;
  }

  button:focus-visible,
  summary:focus-visible,
  a:focus-visible {
    outline: 2px solid var(--theme-600);
    outline-offset: 4px;
  }
}

@media screen and (max-width: 720px) {
  .platform-hero {
    grid-template-columns: minmax(0, 1fr) 104px;
    gap: 10px;
    min-height: 204px;
    padding: 30px 24px;
  }

  .platform-hero.compact-platform-hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-page .compact-platform-hero {
    padding: 26px 20px 24px;
  }

  .platform-hero h1 {
    max-width: 240px;
    font-size: 30px;
  }

  .platform-hero h1 span {
    display: block;
  }

  .reading-page {
    width: calc(100% - 40px);
    padding-top: 22px;
  }

  .article-document {
    margin: 0;
    border: 0;
    border-radius: 0;
    padding: 24px 0 40px;
    background: transparent;
  }

  .article-header h1 {
    font-size: 30px;
  }

  .article-lead,
  .article-body {
    font-size: 16px;
  }

  .article-section h2 {
    font-size: 22px;
  }
}

/* A short clarification accompanies the unchanged source artwork, including in print. */
.card-clarification { margin: 0; padding: 10px 14px; color: #242424; background: #fff; font-size: 13px; line-height: 1.5; }
@media print {
  .card-print-item.has-clarification, .thinking-card-view.has-clarification { display: grid !important; grid-template-rows: 16mm 281mm; }
  .card-print-item.has-clarification img, .thinking-card-view.has-clarification img { width: 198mm; height: 281mm; justify-self: center; }
  .has-clarification .card-clarification { display: block !important; box-sizing: border-box; width: 198mm; height: 16mm; padding: 2mm 4mm; margin: 0; font-size: 10pt; line-height: 1.4; justify-self: center; }
}

/* 思维游戏：保持和其他模块一致，用轻量插画辅助阅读。 */
.theme-thinking-games {
  --theme-500: #0f766e;
  --theme-600: #0d625c;
  --theme-700: #0a4b47;
  --theme-soft: rgba(15, 118, 110, 0.1);
  --theme-ring: rgba(15, 118, 110, 0.22);
}

.thinking-games-page .page-heading {
  margin-bottom: 24px;
}

.thinking-cards-page .module-tabs button,
.thinking-games-page .module-tabs button {
  /* collection-tabs 只保留紧凑间距，字号仍与其他目录一致。 */
  font-size: 14.5px;
}

.thinking-game-tabs {
  margin-bottom: 30px;
}

.thinking-games-controls {
  margin-bottom: 34px;
}

.thinking-game-group {
  margin-top: 34px;
}

.thinking-game-group:first-child {
  margin-top: 0;
}

.thinking-game-group .section-heading-row {
  align-items: end;
  margin-bottom: 14px;
}

.thinking-game-group .section-heading-row h2 {
  margin: 0;
  font-size: clamp(21px, 2.4vw, 26px);
  line-height: 1.4;
}

.thinking-game-group .section-heading-row p {
  max-width: 650px;
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.thinking-game-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.thinking-game-list-card {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--sheet);
  box-shadow: var(--shadow-sheet);
}

.thinking-game-card-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.thinking-game-number {
  display: inline-grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 9px;
  background: var(--theme-soft);
  color: var(--theme-700);
  font-size: 12px;
  font-weight: 700;
}

.thinking-game-card-meta {
  color: var(--muted);
  font-size: 12px;
}

.thinking-game-card-link {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.thinking-game-card-image,
.thinking-game-card-body,
.thinking-game-card-body strong,
.thinking-game-card-body span {
  display: block;
}

.thinking-game-card-image {
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  background: var(--theme-soft);
}

.thinking-game-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thinking-game-card-body {
  padding-top: 16px;
}

.thinking-game-card-body strong {
  color: var(--ink);
  font-size: 15.5px;
  font-weight: 650;
  line-height: 1.5;
}

.thinking-game-card-body span {
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.thinking-game-card-link:hover .thinking-game-card-body strong {
  color: var(--theme-700);
}

.thinking-game-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 28px;
  align-items: center;
  padding: 30px 0 28px;
  border-bottom: 1px solid var(--line);
}

.thinking-game-detail-hero h1 {
  margin: 8px 0 0;
  font-size: clamp(30px, 4vw, 46px);
  letter-spacing: -0.04em;
}

.thinking-game-detail-label {
  display: inline-block;
  margin: 18px 0 0;
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--theme-soft);
  color: var(--theme-700);
  font-size: 12px;
  font-weight: 700;
}

.thinking-game-hero-visual {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--theme-soft);
}

.thinking-game-hero-image {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

@media screen and (max-width: 1100px) {
  .thinking-game-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 860px) {
  .thinking-game-grid {
    grid-template-columns: 1fr;
  }

  .thinking-game-detail-hero {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 640px) {
  .thinking-game-detail-hero {
    padding-top: 10px;
  }
}

@media screen and (max-width: 420px) {
  .thinking-game-card-image {
    aspect-ratio: 4 / 3;
  }
}

/* --------------------------------------------------------------------------
   15. 儿童成长地图：七个成长领域与内容入口
   -------------------------------------------------------------------------- */

.theme-safety-health {
  --theme-500: #0f766e;
  --theme-600: #0d625c;
  --theme-700: #0a4b47;
  --theme-soft: rgba(15, 118, 110, 0.1);
  --theme-ring: rgba(15, 118, 110, 0.23);
}

.theme-emotion-psychology {
  --theme-500: #c2410c;
  --theme-600: #a83a0b;
  --theme-700: #7c2d12;
  --theme-soft: rgba(194, 65, 12, 0.1);
  --theme-ring: rgba(194, 65, 12, 0.22);
}

.theme-cognition-thinking {
  --theme-500: #5e5ce6;
  --theme-600: #4b49c6;
  --theme-700: #3a3899;
  --theme-soft: rgba(94, 92, 230, 0.1);
  --theme-ring: rgba(94, 92, 230, 0.23);
}

.theme-habits-execution {
  --theme-500: #2563eb;
  --theme-600: #1d4ed8;
  --theme-700: #1e3a8a;
  --theme-soft: rgba(37, 99, 235, 0.1);
  --theme-ring: rgba(37, 99, 235, 0.23);
}

.theme-social-relationships {
  --theme-500: #be185d;
  --theme-600: #9d174d;
  --theme-700: #831843;
  --theme-soft: rgba(190, 24, 93, 0.1);
  --theme-ring: rgba(190, 24, 93, 0.22);
}

.theme-knowledge-abilities {
  --theme-500: #15803d;
  --theme-600: #166534;
  --theme-700: #14532d;
  --theme-soft: rgba(21, 128, 61, 0.1);
  --theme-ring: rgba(21, 128, 61, 0.22);
}

.theme-ai-literacy {
  --theme-500: #0071e3;
  --theme-600: #0066cc;
  --theme-700: #004494;
  --theme-soft: rgba(0, 113, 227, 0.1);
  --theme-ring: rgba(0, 113, 227, 0.25);
}

.home-format-section {
  padding-bottom: 28px;
}

.home-format-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.home-format-card,
.map-format-link,
.growth-domain-entry,
.growth-map-domain {
  min-width: 0;
  border: 1px solid var(--line);
  background: var(--sheet);
  text-align: left;
  cursor: pointer;
  transition: border-color var(--t-fast), background var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
}

.home-format-card {
  display: grid;
  min-height: 166px;
  grid-template-rows: auto 1fr auto;
  gap: 14px;
  padding: 17px;
  border-radius: var(--radius-md);
}

.home-format-card:hover,
.map-format-link:hover,
.growth-domain-entry:hover,
.growth-map-domain:hover {
  border-color: var(--theme-500);
  background: #fff;
  box-shadow: var(--shadow-sheet);
  transform: translateY(-1px);
}

.home-format-icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 11px;
  color: var(--theme-600);
  background: var(--theme-soft);
}

.home-format-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.home-format-card strong,
.home-format-card small {
  display: block;
}

.home-format-card strong {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.home-format-card small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.home-format-action {
  color: var(--theme-600);
  font-size: 12px;
  font-weight: 700;
}

.growth-domain-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 16px;
  margin-bottom: 34px;
}

.growth-domain-question,
.growth-domain-focus {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--sheet);
}

.growth-domain-question h2 {
  max-width: 620px;
  margin: 5px 0 0;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.45;
}

.growth-domain-question > p:last-child,
.growth-domain-content-group .section-heading-row p,
.growth-domain-related p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.growth-domain-question > p:last-child {
  margin: 14px 0 0;
}

.growth-domain-subdomains {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  margin-top: 18px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
}

.growth-domain-subdomains > strong {
  color: var(--theme-600);
  font-size: 12px;
  font-weight: 750;
}

.growth-domain-subdomains > div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.growth-domain-subdomains > div span {
  padding: 3px 8px;
  border-radius: 999px;
  color: var(--ink-soft);
  background: var(--theme-soft);
  font-size: 12px;
  line-height: 1.5;
}

.growth-domain-focus ol {
  display: grid;
  gap: 11px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.growth-domain-focus li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.growth-domain-focus li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.growth-domain-focus li > span {
  color: var(--theme-600);
  font-family: var(--font-serif);
  font-size: 12px;
  font-weight: 750;
}

.growth-domain-focus li > strong {
  font-size: 14px;
  font-weight: 650;
}

.growth-domain-entry-section {
  margin: 34px 0 48px;
}

.growth-domain-entry-section .section-heading-row,
.growth-domain-content-group .section-heading-row,
.growth-map-formats .section-heading-row {
  align-items: end;
  margin-bottom: 14px;
}

.growth-domain-entry-section .section-heading-row h2,
.growth-domain-content-group .section-heading-row h2,
.growth-map-formats .section-heading-row h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(21px, 2.5vw, 27px);
  line-height: 1.4;
}

.growth-domain-entry-section .section-heading-row p,
.growth-map-formats .section-heading-row p {
  max-width: 660px;
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.growth-domain-entry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.growth-domain-entry {
  display: grid;
  gap: 8px;
  min-height: 132px;
  padding: 18px;
  border-radius: var(--radius-md);
}

.growth-domain-entry strong,
.growth-domain-entry span,
.growth-domain-entry small {
  display: block;
}

.growth-domain-entry strong {
  font-size: 15px;
  font-weight: 700;
}

.growth-domain-entry span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.growth-domain-entry small {
  margin-top: auto;
  color: var(--theme-600);
  font-size: 12px;
  font-weight: 700;
}

.growth-domain-content {
  display: grid;
  gap: 54px;
}

.growth-domain-content-group {
  min-width: 0;
}

.growth-domain-content-group .growth-domain-group-label {
  margin-bottom: 14px;
}

.growth-domain-content-group .growth-domain-group-label .eyebrow {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 0.1em;
}

.growth-domain-content-group.is-headingless .content-list {
  margin-top: 0;
}

.growth-domain-content-group .section-heading-row > div {
  min-width: 0;
}

.growth-domain-content-group .section-heading-row p {
  max-width: 690px;
  margin: 5px 0 0;
}

.growth-domain-more {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12.5px;
}

.growth-domain-group-action {
  margin-top: 15px;
}

.growth-domain-related {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: 24px;
  align-items: start;
  margin-top: 58px;
  padding-top: 30px;
  border-top: 1px solid var(--line-strong);
}

.growth-domain-related h2 {
  margin: 5px 0 0;
  font-family: var(--font-serif);
  font-size: clamp(21px, 2.5vw, 28px);
  line-height: 1.4;
}

.growth-domain-related p {
  margin: 10px 0 0;
}

.growth-domain-related-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.growth-map-mode-tabs {
  margin-bottom: 24px;
}

.growth-mindmap {
  position: relative;
  overflow: hidden;
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, var(--sheet) 0%, rgba(255, 255, 255, 0.72) 100%);
}

.growth-map-board {
  position: relative;
  max-width: 1080px;
  min-height: 390px;
  margin: 0 auto;
  padding: 18px 0;
}

.growth-map-board::before,
.growth-map-board::after {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid var(--theme-ring);
  border-radius: 50%;
  content: "";
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.growth-map-board::before {
  width: min(76%, 760px);
  aspect-ratio: 1.9;
}

.growth-map-board::after {
  width: min(48%, 440px);
  aspect-ratio: 1.9;
  border-style: dashed;
  opacity: 0.72;
}

.growth-map-core {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: grid;
  width: clamp(144px, 17vw, 184px);
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid var(--theme-500);
  border-radius: 50%;
  background: var(--theme-soft);
  box-shadow: 0 0 0 8px var(--sheet), 0 12px 28px rgba(0, 0, 0, 0.07);
  text-align: center;
  transform: translate(-50%, -50%);
}

.growth-map-core strong {
  max-width: 100px;
  color: var(--theme-700);
  font-family: var(--font-serif);
  font-size: 17px;
  line-height: 1.45;
}

.growth-map-node-list {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(3, minmax(102px, 1fr));
  gap: 14px;
  min-height: 354px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.growth-map-board-domain .growth-map-node-list li:nth-child(1) {
  grid-area: 1 / 1;
}

.growth-map-board-domain .growth-map-node-list li:nth-child(2) {
  grid-area: 1 / 2;
}

.growth-map-board-domain .growth-map-node-list li:nth-child(3) {
  grid-area: 1 / 3;
}

.growth-map-board-domain .growth-map-node-list li:nth-child(4) {
  grid-area: 1 / 4;
}

.growth-map-board-domain .growth-map-node-list li:nth-child(5) {
  grid-area: 3 / 1;
}

.growth-map-board-domain .growth-map-node-list li:nth-child(6) {
  grid-area: 3 / 3;
}

.growth-map-board-domain .growth-map-node-list li:nth-child(7) {
  grid-area: 3 / 4;
}

.growth-map-board-stage .growth-map-node-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(3, minmax(102px, 1fr));
}

.growth-map-board-stage .growth-map-node-list li:nth-child(1) {
  grid-area: 1 / 1;
}

.growth-map-board-stage .growth-map-node-list li:nth-child(2) {
  grid-area: 1 / 3;
}

.growth-map-board-stage .growth-map-node-list li:nth-child(3) {
  grid-area: 2 / 1;
}

.growth-map-board-stage .growth-map-node-list li:nth-child(4) {
  grid-area: 2 / 3;
}

.growth-map-board-stage .growth-map-node-list li:nth-child(5) {
  grid-area: 3 / 2;
}

.growth-map-node-list li {
  min-width: 0;
}

.growth-map-node {
  display: grid;
  width: 100%;
  min-height: 104px;
  grid-template-rows: auto auto 1fr;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 15px;
  color: var(--ink);
  background: var(--paper);
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: border-color var(--t-fast), background var(--t-fast), box-shadow var(--t-fast), transform var(--t-fast);
}

.growth-map-node:hover {
  border-color: var(--theme-500);
  background: var(--sheet);
  box-shadow: var(--shadow-sheet);
  transform: translateY(-1px);
}

.growth-map-node-number {
  color: var(--theme-600);
  font-family: var(--font-serif);
  font-size: 12px;
  font-weight: 750;
}

.growth-map-node strong {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
}

.growth-map-node small {
  align-self: start;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.growth-mindmap.is-compact {
  padding: 16px 12px 14px;
}

.growth-mindmap.is-compact .growth-map-board {
  min-height: 356px;
  padding: 12px 0;
}

.growth-mindmap.is-compact .growth-map-core {
  width: 142px;
}

.growth-mindmap.is-compact .growth-map-node {
  min-height: 96px;
  padding: 13px;
}

.growth-map-layers {
  display: grid;
  gap: 18px;
}

.growth-map-layer {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--sheet);
}

.growth-map-layer-heading {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 13px;
  align-items: start;
  margin-bottom: 18px;
}

.growth-map-layer-heading > span {
  color: var(--theme-600);
  font-family: var(--font-serif);
  font-size: 13px;
  font-weight: 750;
}

.growth-map-layer-heading h2 {
  margin: 4px 0 0;
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.55;
}

.growth-map-domain-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.growth-map-domain {
  display: grid;
  gap: 8px;
  min-height: 148px;
  padding: 17px;
  border-radius: var(--radius-sm);
}

.growth-map-domain strong {
  font-size: 16px;
  font-weight: 700;
}

.growth-map-domain p,
.growth-map-domain small {
  margin: 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.65;
}

.growth-map-domain small {
  margin-top: auto;
  color: var(--faint);
  font-size: 11.5px;
}

.growth-map-relation {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 0.9fr);
  gap: 24px;
  align-items: center;
  margin-top: 44px;
  padding: 26px 0;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.growth-map-relation h2 {
  margin: 5px 0 0;
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.4;
}

.growth-map-relation p {
  max-width: 680px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.growth-map-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 18px;
  border-radius: var(--radius-md);
  background: var(--theme-soft);
}

.growth-map-flow span {
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 700;
}

.growth-map-flow i {
  color: var(--theme-600);
  font-style: normal;
  font-weight: 700;
}

.growth-map-formats {
  margin-top: 48px;
}

.map-format-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.map-format-link {
  display: grid;
  gap: 7px;
  min-height: 120px;
  padding: 16px;
  border-radius: var(--radius-sm);
}

.map-format-link strong {
  font-size: 14px;
  font-weight: 700;
}

.map-format-link span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

@media screen and (max-width: 1060px) {
  .growth-map-board-domain .growth-map-node-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .growth-map-board-domain .growth-map-node-list li:nth-child(1) { grid-area: 1 / 1; }
  .growth-map-board-domain .growth-map-node-list li:nth-child(2) { grid-area: 1 / 2; }
  .growth-map-board-domain .growth-map-node-list li:nth-child(3) { grid-area: 1 / 3; }
  .growth-map-board-domain .growth-map-node-list li:nth-child(4) { grid-area: 2 / 1; }
  .growth-map-board-domain .growth-map-node-list li:nth-child(5) { grid-area: 2 / 3; }
  .growth-map-board-domain .growth-map-node-list li:nth-child(6) { grid-area: 3 / 1; }
  .growth-map-board-domain .growth-map-node-list li:nth-child(7) { grid-area: 3 / 3; }

  .home-format-grid,
  .map-format-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media screen and (max-width: 780px) {
  .growth-domain-entry-grid,
  .growth-domain-overview,
  .growth-domain-related,
  .growth-map-relation {
    grid-template-columns: 1fr;
  }

  .growth-domain-related-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-format-grid,
  .map-format-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .growth-map-domain-grid {
    grid-template-columns: 1fr;
  }

  .growth-map-board {
    min-height: 0;
    padding: 0;
  }

  .growth-map-board::before,
  .growth-map-board::after {
    display: none;
  }

  .growth-map-core {
    position: relative;
    top: auto;
    left: auto;
    width: min(172px, 48vw);
    margin: 0 auto 22px;
    transform: none;
  }

  .growth-map-board-domain .growth-map-node-list,
  .growth-map-board-stage .growth-map-node-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    min-height: 0;
  }

  .growth-map-board-domain .growth-map-node-list li,
  .growth-map-board-stage .growth-map-node-list li {
    grid-area: auto;
  }
}

@media screen and (max-width: 500px) {
  .growth-domain-question,
  .growth-domain-focus,
  .growth-map-layer {
    padding: 18px;
  }

  .growth-domain-related-links,
  .home-format-grid,
  .map-format-grid {
    grid-template-columns: 1fr;
  }

  .growth-map-layer-heading {
    grid-template-columns: 30px minmax(0, 1fr);
  }

  .growth-map-flow {
    justify-content: flex-start;
  }

  .growth-map-flow i {
    display: none;
  }

  .growth-map-board-domain .growth-map-node-list,
  .growth-map-board-stage .growth-map-node-list {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   7.0 · 视觉精修「安静的高级感」
   取代历史 6.3–6.18 首页补丁。原则：
   - 首页回到三列主题卡片网格 + 悬停展开分支浮层（交互与 DOM 不变）。
   - 材质统一：0.5–1px 细边、低透明柔和投影、克制主题色点缀。
   - 排版收敛：大标题降一档，编号弱化，留白替代分隔线。
   ========================================================================== */

/* ---- 7.0.1 领域页上下文行（自 6.4 移入，视觉不变） ---- */

.growth-focus-context {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: -8px 0 22px;
  color: var(--muted);
  font-size: 12px;
}

.growth-focus-context .breadcrumb-button {
  color: var(--theme-600);
}

/* ---- 7.0.2 首页骨架：刊头 + 入口区 ---- */

.home-page {
  box-sizing: border-box;
  padding-top: clamp(30px, 4.5vh, 52px);
  padding-bottom: clamp(24px, 3.5vh, 40px);
}

.home-intro {
  display: grid;
  justify-items: center;
  padding: 0 0 clamp(22px, 3.2vh, 34px);
  border-bottom: 0;
  text-align: center;
}

.home-intro h1 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.22em;
  max-width: 100%;
  margin: 0;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: clamp(32px, 3.6vw, 46px);
  font-weight: 730;
  letter-spacing: -0.022em;
  line-height: 1.2;
}

.home-intro h1 span {
  display: inline;
}

.home-intro .platform-hero-subtitle {
  margin: 12px 0 0;
  color: var(--faint);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  line-height: 1.5;
}

.home-page .home-growth-map-section {
  display: grid;
  justify-items: stretch;
  margin-top: clamp(20px, 3.2vh, 34px);
}

.home-path-heading {
  display: flex;
  justify-content: center;
  margin-bottom: clamp(16px, 2.4vh, 24px);
}

.home-path-heading span {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--faint);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-indent: 0.3em;
}

.home-path-heading span::before,
.home-path-heading span::after {
  width: 36px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--line-strong));
  content: "";
}

.home-path-heading span::after {
  background: linear-gradient(to left, transparent, var(--line-strong));
}

.home-path-levels {
  min-width: 0;
}

/* ---- 7.0.3 首页：马斯洛金字塔层带（居中递进，底层为地基锚点） ---- */

.home-flow-chart {
  position: relative;
  display: flex;
  /* DOM 顺序 01→07，反转后 01 安全与健康沉底为地基，07 AI 通识登顶 */
  flex-direction: column-reverse;
  align-items: center;
  gap: 10px;
  max-width: 920px;
  margin: 0 auto;
}

.home-flow-row {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  width: 100%;
  min-width: 0;
}

/* 递进宽度：01 安全与健康最宽（地基），07 AI 通识最窄（顶层） */
.home-flow-row:nth-child(1) { width: 100%; }
.home-flow-row:nth-child(2) { width: 92%; }
.home-flow-row:nth-child(3) { width: 84%; }
.home-flow-row:nth-child(4) { width: 76%; }
.home-flow-row:nth-child(5) { width: 68%; }
.home-flow-row:nth-child(6) { width: 60%; }
.home-flow-row:nth-child(7) { width: 52%; }

/* 悬停或键盘聚焦时提升层级，让分支浮层稳定覆盖相邻层带 */
.home-flow-row.is-expanded,
.home-flow-row:hover,
.home-flow-row:focus-within {
  z-index: 30;
}

.home-flow-chart:has(.home-flow-row:hover),
.home-flow-chart:has(.home-flow-row:focus-within) {
  z-index: 5;
}

.home-flow-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  min-height: 54px;
  border: 1px solid rgba(0, 113, 227, 0.1);
  border-radius: 999px;
  background: linear-gradient(135deg, #ffffff 0%, #f2f7fd 100%);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.03),
    0 6px 16px rgba(0, 64, 128, 0.05);
  transition:
    border-color 180ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

/* 越靠近地基投影越实，形成稳固的重量感 */
.home-flow-row:nth-child(2) .home-flow-card {
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.03),
    0 8px 20px rgba(0, 64, 128, 0.07);
}

.home-flow-row:nth-child(3) .home-flow-card {
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.03),
    0 10px 24px rgba(0, 64, 128, 0.09);
}

/* 底层地基：与所有层带统一白卡，仅以更实的投影表达承重（不做蓝色突兀） */
.home-flow-row:nth-child(1) .home-flow-card {
  box-shadow:
    0 2px 5px rgba(0, 0, 0, 0.04),
    0 14px 32px rgba(0, 64, 128, 0.12);
}

.home-flow-row.is-expanded .home-flow-card,
.home-flow-row:hover .home-flow-card,
.home-flow-row:focus-within .home-flow-card {
  border-color: rgba(0, 113, 227, 0.32);
  box-shadow:
    0 2px 5px rgba(0, 64, 128, 0.08),
    0 16px 36px rgba(0, 64, 128, 0.14);
  transform: translateY(-2px);
}

/* 层带内容：编号 + 标题居中成组 */
.home-flow-domain {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 54px;
  padding: 0 28px;
  border: 0 !important;
  border-radius: 999px;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
  color: var(--ink);
  text-align: center;
  cursor: pointer;
  font: inherit;
}

.home-flow-domain-number {
  color: var(--theme-600);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.4;
}

.home-flow-domain strong {
  min-width: 0;
  font-size: 15.5px;
  font-weight: 680;
  letter-spacing: 0.01em;
  line-height: 1.4;
  transition: color 180ms ease;
}

.home-flow-row:hover .home-flow-domain strong,
.home-flow-row:focus-within .home-flow-domain strong {
  color: var(--theme-600);
}

.home-flow-domain small {
  display: none;
}

.home-flow-domain:focus-visible {
  outline: 3px solid var(--theme-ring);
  outline-offset: 3px;
}

.home-flow-domain-action {
  display: none !important;
}

/* ---- 7.0.4 分支浮层：从当前层带下方居中展开 ---- */

.home-flow-branch {
  display: none;
}

.home-flow-focus-list {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  z-index: 40;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  width: min(420px, calc(100vw - 48px));
  min-width: 0;
  margin: 0;
  padding: 8px;
  overflow: auto;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 18px;
  background: #ffffff;
  box-shadow:
    0 2px 6px rgba(0, 0, 0, 0.05),
    0 24px 60px rgba(0, 0, 0, 0.15);
  list-style: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, -6px) scale(0.985);
  transform-origin: top center;
  /* 收起：淡出更快，visibility 立即生效，避免鼠标离开后浮层“赖着不走” */
  transition:
    opacity 110ms ease,
    transform 110ms ease,
    visibility 0s linear 110ms;
}

/* 视觉下半部（01 安全与健康、02 情绪与心理、03 认知与思维）的浮层向上展开，
   避免被视口底部裁掉、省去用户翻页 */
.home-flow-row:nth-child(1) .home-flow-focus-list,
.home-flow-row:nth-child(2) .home-flow-focus-list,
.home-flow-row:nth-child(3) .home-flow-focus-list {
  top: auto;
  bottom: calc(100% + 10px);
  transform: translate(-50%, 6px) scale(0.985);
  transform-origin: bottom center;
}

/* 分支排列按数量自适应：3 个一行三个，4 个 2×2，6 个 3+3；
   2 个保持一行两个，8 个保持两列避免文字挤压 */
.home-flow-focus-list[data-branch-count="3"],
.home-flow-focus-list[data-branch-count="6"] {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(520px, calc(100vw - 48px));
}

.home-flow-row.is-expanded .home-flow-focus-list,
.home-flow-row:hover .home-flow-focus-list,
.home-flow-row:focus-within .home-flow-focus-list {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0) scale(1);
  transition:
    opacity 130ms ease,
    transform 130ms ease,
    visibility 0s;
}

/* 透明桥接区：挂在卡片下沿，覆盖卡片与浮层之间的间隙。
   只在展开态接管指针，避免遮挡下方层带；鼠标移向浮层时 hover 不中断。 */
.home-flow-card::after {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  height: 14px;
  background: transparent;
  content: "";
  pointer-events: none;
}

.home-flow-card.is-expanded::after {
  pointer-events: auto;
}

/* 视觉下半部三层的浮层在卡片上方展开，桥接区随之换到卡片上沿 */
.home-flow-row:nth-child(1) .home-flow-card::after,
.home-flow-row:nth-child(2) .home-flow-card::after,
.home-flow-row:nth-child(3) .home-flow-card::after {
  top: auto;
  bottom: 100%;
}

.home-flow-focus-list li::before {
  display: none;
}

.home-flow-focus-list > li {
  display: flex;
  min-width: 0;
}

/* 分支按钮：轻胶囊，悬停染上主题色 */
.home-flow-focus {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  max-width: none;
  min-width: 0 !important;
  min-height: 38px !important;
  padding: 8px 14px !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--ink-soft);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  white-space: normal;
  cursor: pointer;
  transition: background 150ms ease, color 150ms ease;
}

.home-flow-focus strong {
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.4;
}

.home-flow-focus:hover,
.home-flow-focus:focus-visible {
  background: var(--theme-soft) !important;
  color: var(--theme-700);
  box-shadow: none !important;
  transform: none !important;
}

.home-flow-focus:focus-visible {
  outline: 3px solid var(--theme-ring);
  outline-offset: 2px;
}

/* ---- 7.0.5 历史虚化层禁用（契约） ---- */

.home-flow-chart::before {
  display: none !important;
}

.home-flow-chart .home-flow-row {
  opacity: 1 !important;
  filter: none !important;
}

/* ---- 7.0.6 首页响应式 ---- */

@media screen and (min-width: 781px) {
  .home-page {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100vh;
    min-height: 640px;
    overflow: visible;
  }

  .home-page .home-growth-map-section {
    margin-top: clamp(14px, 2.4vh, 26px);
  }
}

@media screen and (max-width: 780px) {
  .home-page {
    height: auto;
    min-height: 0;
  }

  .home-intro h1 {
    gap: 0.14em;
    font-size: clamp(28px, 7.6vw, 36px);
  }

  .home-intro .platform-hero-subtitle {
    font-size: 11.5px;
    letter-spacing: 0.14em;
  }

  .home-path-heading span {
    gap: 10px;
  }

  .home-path-heading span::before,
  .home-path-heading span::after {
    width: 24px;
  }

  .home-flow-chart {
    gap: 9px;
  }

  /* 移动端金字塔拍平：全部层带等宽，递进感交给编号与颜色 */
  .home-flow-row,
  .home-flow-row:nth-child(1),
  .home-flow-row:nth-child(2),
  .home-flow-row:nth-child(3),
  .home-flow-row:nth-child(4),
  .home-flow-row:nth-child(5),
  .home-flow-row:nth-child(6),
  .home-flow-row:nth-child(7) {
    width: 100%;
  }

  .home-flow-card,
  .home-flow-row.is-expanded .home-flow-card,
  .home-flow-row:hover .home-flow-card,
  .home-flow-row:focus-within .home-flow-card {
    min-height: 52px;
    transform: none;
  }

  .home-flow-domain {
    min-height: 52px;
    padding: 0 20px;
  }

  /* 展开态：胶囊转为白卡大圆角，分支在卡片内部随内容撑高 */
  .home-flow-row.is-expanded .home-flow-card {
    border-color: rgba(0, 113, 227, 0.18);
    border-radius: 26px;
    background: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04), 0 12px 32px rgba(0, 64, 128, 0.1);
  }

  .home-flow-row.is-expanded .home-flow-domain {
    min-height: 52px;
  }

  .home-flow-row.is-expanded .home-flow-domain-number {
    color: var(--theme-600);
  }

  .home-flow-row.is-expanded .home-flow-domain strong,
  .home-flow-row.is-expanded:hover .home-flow-domain strong {
    color: var(--ink);
  }

  /* 分支在卡片内部展开，随内容撑高 */
  .home-flow-focus-list,
  .home-flow-row:nth-child(2) .home-flow-focus-list,
  .home-flow-row:nth-child(3) .home-flow-focus-list,
  .home-flow-row:nth-child(3n) .home-flow-focus-list,
  .home-flow-row:nth-child(3n + 2) .home-flow-focus-list,
  .home-flow-row:last-child .home-flow-focus-list {
    position: static;
    display: none;
    width: auto;
    margin: 0;
    padding: 2px 12px 12px;
    overflow: visible;
    border: 0;
    border-radius: 0 0 22px 22px;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .home-flow-row.is-expanded .home-flow-focus-list,
  .home-flow-row:hover .home-flow-focus-list,
  .home-flow-row:focus-within .home-flow-focus-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
    padding: 2px 12px 12px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  .home-flow-focus {
    min-height: 40px;
    border-radius: 10px !important;
    background: rgba(0, 0, 0, 0.035) !important;
  }

  .home-flow-focus:hover {
    background: var(--theme-soft) !important;
  }
}

@media screen and (max-width: 500px) {
  .home-flow-row.is-expanded .home-flow-focus-list,
  .home-flow-row:hover .home-flow-focus-list,
  .home-flow-row:focus-within .home-flow-focus-list {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-flow-card,
  .home-flow-domain,
  .home-flow-domain strong,
  .home-flow-focus,
  .home-flow-focus-list {
    transition: none;
  }
}

/* ==========================================================================
   7.1 · 目录列表精修：编号入主题色，行悬停浮起，箭头悬停出现
   ========================================================================== */

.page-heading {
  margin-bottom: 36px;
}

.page-heading h1,
.direct-module-page .page-heading h1 {
  font-size: clamp(29px, 3.2vw, 38px);
  line-height: 1.3;
}

.content-list {
  border-top: 0;
}

.content-list > li {
  border-bottom: 0;
}

.content-list-item,
.course-list-item,
.ai-resource-list-item {
  border-radius: 14px;
  padding: 15px 16px;
  transition: background var(--t-fast), box-shadow var(--t-fast);
}

@media (hover: hover) {
  .content-list-item:hover,
  .course-list-item:hover,
  .ai-resource-list-item:hover {
    background: var(--sheet);
    box-shadow:
      0 0 0 1px rgba(0, 0, 0, 0.04),
      0 8px 22px rgba(0, 0, 0, 0.06);
  }

  .resource-list-arrow {
    opacity: 0;
    transition: color var(--t-fast), transform var(--t-med), opacity var(--t-fast);
  }

  .content-list-item:hover .resource-list-arrow,
  .resource-list-item:hover .resource-list-arrow {
    opacity: 1;
    color: var(--theme-600);
    transform: translate(2px, -2px);
  }
}

.resource-list-index,
.course-list-number {
  color: var(--theme-600);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  opacity: 0.85;
}

.content-list-copy strong,
.course-list-copy strong {
  font-size: 15px;
  font-weight: 640;
}

.content-list-copy small,
.course-list-copy small {
  font-size: 12.5px;
  line-height: 1.6;
}

/* 分组标题：轻眉题化，弱化“文档”感 */
.growth-domain-content-group .section-heading-row h2,
.section-heading-row h2 {
  font-size: clamp(19px, 2vw, 23px);
  letter-spacing: -0.01em;
}

.growth-domain-content-group .growth-domain-group-label .eyebrow,
.section-heading-row .eyebrow {
  color: var(--theme-600);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

/* 标签胶囊：当前项带主题色投影 */
.filter-button {
  border-color: rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.7);
}

.filter-button:hover {
  border-color: rgba(0, 0, 0, 0.18);
  background: var(--sheet);
}

.filter-button.is-current {
  border-color: var(--theme-500);
  background: var(--theme-500);
  box-shadow: 0 4px 14px rgba(0, 113, 227, 0.3);
}

/* ==========================================================================
   7.2 · 侧栏与导航精修
   ========================================================================== */

.platform-sidebar {
  background: rgba(255, 255, 255, 0.78);
}

.brand-block {
  padding: 6px 8px;
}

.brand-copy strong {
  font-size: 16px;
  letter-spacing: 0.02em;
}

.nav-link {
  font-size: 14px;
  font-weight: 560;
}

.nav-link.is-current {
  background: var(--sheet);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.05),
    0 8px 20px rgba(0, 0, 0, 0.06);
}

.nav-link.is-current::before {
  top: 12px;
  bottom: 12px;
  width: 3px;
}

.sidebar-utility {
  font-size: 12.5px;
}

/* 顶部返回按钮：更轻的玻璃胶囊 */
.page-back-button {
  border: 1px solid rgba(0, 0, 0, 0.07);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: border-color var(--t-fast), background var(--t-fast), box-shadow var(--t-fast);
}

.page-back-button:hover {
  border-color: rgba(0, 0, 0, 0.14);
  background: var(--sheet);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.07);
}

/* 文章页标题排版 */
.article-header h1 {
  font-size: clamp(27px, 3vw, 36px);
  line-height: 1.32;
}

.article-header h1 + p,
.article-lede {
  color: var(--muted);
}

/* 7.3 · AI 通识子页：统一目录分组与轻量筛选 */
.ai-directory-controls {
  gap: 0;
  margin: 0 0 24px;
}

.ai-directory-filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 22px;
  min-width: 0;
  border-bottom: 1px solid var(--line);
}

.ai-directory-filter-row + .ai-directory-filter-row {
  margin-top: 3px;
}

.ai-directory-filter-row .filter-button {
  position: relative;
  flex: 0 0 auto;
  min-height: 38px;
  border: 0;
  border-radius: 0;
  padding: 0 2px;
  color: var(--muted);
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: color var(--t-fast);
}

.ai-directory-filter-row .filter-button::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  border-radius: 2px 2px 0 0;
  background: transparent;
  content: "";
}

.ai-directory-filter-row .filter-button:hover {
  border-color: transparent;
  color: var(--ink);
  background: transparent;
  box-shadow: none;
}

.ai-directory-filter-row .filter-button.is-current {
  border-color: transparent;
  color: var(--ink);
  background: transparent;
  box-shadow: none;
  font-weight: 750;
}

.ai-directory-filter-row .filter-button.is-current::after {
  background: var(--theme-500);
}

.ai-directory-filter-row .filter-button:focus-visible {
  border-radius: 4px;
  outline: 2px solid var(--theme-500);
  outline-offset: 1px;
}

.ai-directory-group .growth-domain-group-label {
  margin-bottom: 14px;
}


.ai-directory-group .tool-group-heading {
  margin: 0 0 8px;
}

.ai-directory-subgroup-label {
  margin: 0;
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

@media screen and (max-width: 760px) {
  .ai-directory-filter-row {
    gap: 0 16px;
  }

  .ai-directory-filter-row .filter-button {
    min-height: 40px;
    font-size: 12.5px;
  }
}
