/* ==========================================================================
   信贷观察 (Credit Observer) - Ant Design 浅色设计系统
   基于 Ant Design 5.x 现代金融科技规范：清爽、专业、层级清晰、操作直观
   ========================================================================== */

:root {
  color-scheme: light;

  /* 国际智库深海钴蓝与黑曜石调色板 (Slate & Deep Cobalt FinTech Palette) */
  --ant-primary: #1d4ed8;         /* 权威深海钴蓝 */
  --ant-primary-hover: #2563eb;
  --ant-primary-active: #1e40af;
  --ant-primary-bg: #eff6ff;       /* 柔和天青微底 */
  --ant-primary-border: #bfdbfe;

  /* 严谨金融功能色彩 */
  --ant-success: #059669;         /* 翡翠墨绿 (合规/全文核查通过) */
  --ant-success-bg: #ecfdf5;
  --ant-success-border: #a7f3d0;
  --ant-warning: #d97706;         /* 典雅琥珀金 (研报核心/重点关注) */
  --ant-warning-bg: #fffbeb;
  --ant-warning-border: #fde68a;
  --ant-error: #e11d48;           /* 沉稳玫瑰红 (处罚风险) */
  --ant-error-bg: #fff1f2;
  --ant-error-border: #fecdd3;
  --ant-purple: #6d28d9;         /* 深紫罗兰 (重点机构/议题) */
  --ant-purple-bg: #f5f3ff;
  --ant-purple-border: #ddd6fe;
  --ant-cyan: #0e7490;
  --ant-cyan-bg: #ecfeff;
  --ant-cyan-border: #a5f3fc;

  /* 兼容旧变量映射 */
  --paper: #f8fafc;
  --ink: #0f172a;
  --muted: #64748b;
  --accent: #1d4ed8;
  --line: #e2e8f0;
  --surface: #ffffff;
  --soft: #eff6ff;
  --danger: #e11d48;

  /* 中性背景色与表面色 (干净通透的现代智库底色) */
  --ant-bg-layout: #f8fafc;        /* 纯净暖雅 Slate，摒弃发灰的土味浅灰 */
  --ant-bg-container: #ffffff;     /* 卡片纯白 */
  --ant-bg-elevated: #ffffff;
  --ant-bg-spotlight: #f1f5f9;

  /* 中性文本色彩 (极高可读性与字阶对比) */
  --ant-text: #0f172a;             /* 深邃黑曜石 (主标题、关键数据) */
  --ant-text-secondary: #334155;   /* 石墨灰 (高舒适度正文段落) */
  --ant-text-tertiary: #64748b;    /* 铅灰 (元数据、时间戳、来源) */
  --ant-text-disabled: #cbd5e1;

  /* 边框与微分割线 */
  --ant-border: #e2e8f0;           /* 极细腻的 1px 实线边框 */
  --ant-border-secondary: #f1f5f9;
  --ant-border-hover: #cbd5e1;

  /* 投影系统 (Elevation with Optical Depth) */
  --ant-shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.04), 0 1px 3px -1px rgba(15, 23, 42, 0.02);
  --ant-shadow: 0 1px 3px 0 rgba(15, 23, 42, 0.05), 0 4px 12px -2px rgba(15, 23, 42, 0.04);
  --ant-shadow-hover: 0 10px 25px -5px rgba(15, 23, 42, 0.07), 0 8px 10px -6px rgba(15, 23, 42, 0.03);
  --ant-shadow-card: 0 1px 3px rgba(15, 23, 42, 0.04);

  /* 形状圆角 */
  --ant-radius-xs: 3px;
  --ant-radius-sm: 6px;
  --ant-radius: 10px;
  --ant-radius-lg: 14px;
  --ant-radius-full: 9999px;

  /* 字体族 */
  --ant-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --ant-font-mono: SFMono-Regular, Consolas, "Liberation Mono", Menlo, Courier, monospace;
}

/* 基础重置 */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background-color: var(--ant-bg-layout);
  color: var(--ant-text);
  font-family: var(--ant-font-family);
  font-size: 14px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 链接样式 */
a {
  color: var(--ant-text);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--ant-primary);
}

/* 矢量图标助手类 (Ant Design Icon Alignment) */
.ant-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: -0.125em;
  line-height: 0;
  flex-shrink: 0;
}

/* 标题规范 */
h1, h2, h3, h4, h5, h6 {
  color: var(--ant-text);
  font-weight: 600;
  line-height: 1.4;
  margin-top: 0;
  margin-bottom: 0.5em;
}

h1 { font-size: 24px; letter-spacing: -0.01em; }
h2 { font-size: 18px; }
h3 { font-size: 16px; }
h4 { font-size: 14px; }

p {
  margin: 0 0 0.8em 0;
}

/* 通用容器宽度：适度收敛最大宽度并增加两侧安全留白，提升呼吸感与阅读舒适度 */
.masthead-inner, .page, .footer-inner {
  width: min(1120px, calc(100% - 80px));
  margin: 0 auto;
}

@media (max-width: 768px) {
  .masthead-inner, .page, .footer-inner {
    width: calc(100% - 32px);
  }
}

/* ==========================================================================
   Ant Design 风格 Header / Navigation
   ========================================================================== */
.masthead {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--ant-border);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 100;
}

.masthead-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  height: 60px;
  gap: 20px;
}

.brand-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
  color: var(--ant-text);
  letter-spacing: -0.02em;
}

.brand-logo, .brand-logo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: linear-gradient(145deg, #0f172a 0%, #1e293b 100%);
  color: #f8fafc;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.18);
  flex-shrink: 0;
}

.brand-logo.small, .brand-logo-icon.small {
  width: 24px;
  height: 24px;
  border-radius: 6px;
}

.brand-text {
  font-weight: 700;
  font-size: 16.5px;
  letter-spacing: -0.01em;
  color: #0f172a;
}

.brand-en {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--ant-primary);
  background: var(--ant-primary-bg);
  padding: 1px 6px;
  border-radius: var(--ant-radius-sm);
  margin-left: 4px;
}

.navigation {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.navigation a {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: #475569;
  border-radius: 6px;
  transition: all 0.15s ease;
  position: relative;
  text-decoration: none;
  white-space: nowrap;
}

.navigation a:hover {
  color: #0f172a;
  background: #f1f5f9;
}

.navigation a[aria-current="page"] {
  color: #0f172a;
  background: transparent;
  font-weight: 600;
}

.navigation a[aria-current="page"]::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 14px;
  right: 14px;
  height: 2.5px;
  background: var(--ant-primary);
  border-radius: 2px;
  display: block;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* 站内极简搜索组件 (Linear / Stripe Style) */
.site-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 5px 12px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.02);
}

.site-search:focus-within {
  border-color: var(--ant-primary);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.12);
}

.search-icon {
  display: inline-flex;
  align-items: center;
  color: #94a3b8;
  transition: color 0.2s;
}

.site-search:focus-within .search-icon {
  color: var(--ant-primary);
}

.site-search input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 13px;
  color: var(--ant-text);
  width: 180px;
  min-height: 24px;
  padding: 0;
}

.site-search input::placeholder {
  color: #94a3b8;
  font-size: 12.5px;
}

.search-kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-family: inherit;
  color: #64748b;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  padding: 1px 6px;
  line-height: 1.2;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
}

.site-search button {
  display: none; /* 现代化搜索：回车即可检索，去除扎眼的提交按钮 */
}

/* ==========================================================================
   页面主体与通用组件
   ========================================================================== */
.page {
  padding: 20px 0 24px;
  min-height: 60vh;
}

.page-heading {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--ant-border);
}

/* 标题右侧的从属说明：与标题同基线左对齐成一体，竖线分隔（原为左右两端分离，中间大片留白） */
.page-heading > .meta {
  padding-left: 13px;
  border-left: 1px solid var(--ant-border);
  line-height: 1.45;
}

.page-heading h1 {
  margin: 0;
  font-size: 22px;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ant-primary);
  background: var(--ant-primary-bg);
  padding: 2px 8px;
  border-radius: var(--ant-radius-sm);
  margin-bottom: 8px;
}

.meta, .muted {
  color: var(--ant-text-tertiary);
  font-size: 13px;
}

.intro {
  font-size: 15px;
  color: var(--ant-text-secondary);
  max-width: 800px;
  line-height: 1.7;
}

/* hidden 属性兜底：防止 button { display:inline-flex } 等规则覆盖 [hidden] 的 UA 样式 */
[hidden] {
  display: none !important;
}

/* 按钮规范 (Ant Design Button) */
button, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 16px;
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--ant-radius);
  border: 1px solid var(--ant-primary);
  background: var(--ant-primary);
  color: #ffffff;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.02);
  min-height: 36px;
}

button:hover, .button:hover {
  background: var(--ant-primary-hover);
  border-color: var(--ant-primary-hover);
  color: #ffffff;
}

button:active, .button:active {
  background: var(--ant-primary-active);
  border-color: var(--ant-primary-active);
}

button:disabled, .button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: #f5f5f5;
  border-color: #d9d9d9;
  color: rgba(0, 0, 0, 0.25);
  box-shadow: none;
}

button.secondary, .button.secondary {
  background: var(--ant-bg-container);
  border-color: var(--ant-border);
  color: var(--ant-text);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

button.secondary:hover, .button.secondary:hover {
  color: var(--ant-primary);
  border-color: var(--ant-primary);
  background: var(--ant-bg-container);
}

/* 表单输入控件 */
input, select, textarea {
  font-family: inherit;
  font-size: 14px;
  border: 1px solid var(--ant-border);
  background: var(--ant-bg-container);
  border-radius: var(--ant-radius);
  padding: 7px 12px;
  color: var(--ant-text);
  min-height: 36px;
  transition: all 0.2s;
  outline: none;
}

input:hover, select:hover, textarea:hover {
  border-color: var(--ant-border-hover);
}

input:focus, select:focus, textarea:focus {
  border-color: var(--ant-primary);
  box-shadow: 0 0 0 2px rgba(22, 119, 255, 0.15);
}

/* ==========================================================================
   Ant Design 风格卡片与网格 (Card & Grid)
   ========================================================================== */
.ant-card {
  background: var(--ant-bg-container);
  border: 1px solid var(--ant-border);
  border-radius: var(--ant-radius);
  box-shadow: var(--ant-shadow-sm);
  padding: 20px 24px;
  margin-bottom: 16px;
  transition: all 0.2s;
}

.ant-card:hover {
  box-shadow: var(--ant-shadow-hover);
  border-color: var(--ant-border-hover);
}

/* 首页 Hero 区域与指标卡片 */
.hero {
  background: var(--ant-bg-container);
  border: 1px solid var(--ant-border);
  border-radius: var(--ant-radius-lg);
  padding: 28px 32px;
  margin-bottom: 24px;
  box-shadow: var(--ant-shadow);
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(22, 119, 255, 0.08) 0%, rgba(22, 119, 255, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero h1 {
  font-size: 26px;
  color: var(--ant-text);
  margin-bottom: 8px;
}

/* 统计数据卡片组 */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.stat-card {
  background: var(--ant-bg-container);
  border: 1px solid var(--ant-border);
  border-radius: var(--ant-radius);
  padding: 16px 20px;
  box-shadow: var(--ant-shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
  transition: all 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.stat-card:hover {
  border-color: var(--ant-primary-border);
  box-shadow: var(--ant-shadow-hover);
  transform: translateY(-1px);
}

.stat-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.stat-card .stat-label {
  font-size: 13px;
  color: var(--ant-text-tertiary);
  font-weight: 500;
}

.stat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: var(--ant-primary-bg);
  color: var(--ant-primary);
  font-size: 14px;
  transition: all 0.2s ease;
}

.stat-card:hover .stat-icon {
  background: var(--ant-primary);
  color: #ffffff;
}

.stat-card .stat-value {
  font-size: 26px;
  font-weight: 700;
  color: var(--ant-text);
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
  margin-top: 2px;
}

.stat-card .stat-sub {
  font-size: 12px;
  color: var(--ant-text-tertiary);
}

/* 最新精选日报卡片 (首页优先) */
.featured-report {
  background: #ffffff;
  border: 1px solid var(--ant-border);
  border-radius: var(--ant-radius-lg);
  padding: 22px 26px;
  margin-bottom: 24px;
  box-shadow: var(--ant-shadow-sm);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.featured-report:hover {
  border-color: var(--ant-border-hover);
  box-shadow: var(--ant-shadow);
}

.featured-report .fr-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.featured-report .fr-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.featured-report .fr-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--ant-primary-bg);
  color: var(--ant-primary);
  padding: 3px 10px;
  border-radius: var(--ant-radius-sm);
  font-size: 12px;
  font-weight: 600;
  border: 1px solid var(--ant-primary-border);
  margin-bottom: 0;
}

.featured-report .fr-date {
  font-size: 13px;
  color: var(--ant-text-tertiary);
}

.featured-report .fr-archive-link {
  font-size: 13px;
  color: var(--ant-primary);
  font-weight: 500;
}

.featured-report .fr-archive-link:hover {
  text-decoration: underline;
}

.featured-report h2,
.featured-report .fr-title {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 12px;
  line-height: 1.4;
}

.featured-report h2 a,
.featured-report .fr-title a {
  color: var(--ant-text);
}

.featured-report h2 a:hover,
.featured-report .fr-title a:hover {
  color: var(--ant-primary);
}

.featured-report .lead {
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--ant-text-secondary);
  margin-bottom: 16px;
}

.featured-report .fr-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--ant-border-secondary);
}

.featured-report .fr-footer-meta {
  font-size: 12px;
  color: var(--ant-text-tertiary);
}

/* 首页单列流式动态与板块 */
.home-stream-section {
  margin-top: 8px;
  margin-bottom: 24px;
}

.section-heading-main {
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-sub-tag {
  font-size: 12px;
  color: var(--ant-text-tertiary);
  background: var(--ant-bg-spotlight);
  padding: 2px 8px;
  border-radius: var(--ant-radius-xs);
  border: 1px solid var(--ant-border-secondary);
}

.home-stream-footer {
  text-align: center;
  margin-top: 16px;
  margin-bottom: 24px;
}

/* 首页底部探索双列卡片 (持续跟踪专题与往期观察) */
.home-explore-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 12px;
  margin-bottom: 12px;
}

@media (max-width: 768px) {
  .home-explore-grid {
    grid-template-columns: 1fr;
  }
}

.explore-card {
  background: #ffffff;
  border: 1px solid var(--ant-border);
  border-radius: var(--ant-radius);
  padding: 18px 20px;
  box-shadow: var(--ant-shadow-sm);
}

.explore-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--ant-border-secondary);
}

.explore-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.explore-icon {
  color: var(--ant-primary);
  display: inline-flex;
}

.explore-title-wrap h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--ant-text);
  margin: 0;
}

.explore-link {
  font-size: 13px;
  color: var(--ant-primary);
  font-weight: 500;
}

.explore-link:hover {
  text-decoration: underline;
}

.explore-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.explore-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.explore-item h4 {
  font-size: 13.5px;
  font-weight: 500;
  margin: 0;
  line-height: 1.45;
}

.explore-item h4 a {
  color: var(--ant-text);
}

.explore-item h4 a:hover {
  color: var(--ant-primary);
}

.explore-item .meta {
  font-size: 12px;
  color: var(--ant-text-tertiary);
  margin: 0;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.section-heading h2 {
  margin: 0;
  font-size: 18px;
}

.section-heading a {
  font-size: 13px;
  color: var(--ant-primary);
  font-weight: 500;
}

/* ==========================================================================
   资讯列表项卡片 (Story Item)
   ========================================================================== */
.story {
  background: var(--ant-bg-container);
  border: 1px solid var(--ant-border);
  border-radius: var(--ant-radius);
  padding: 20px 24px;
  margin-bottom: 14px;
  box-shadow: var(--ant-shadow-sm);
  transition: all 0.2s ease;
  position: relative;
}

.story:hover {
  border-color: var(--ant-primary-border);
  box-shadow: var(--ant-shadow-hover);
  transform: translateY(-1px);
}

.story .meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.story h2 {
  font-size: 17px;
  font-weight: 600;
  margin: 6px 0 10px;
  line-height: 1.45;
}

.story h2 a {
  color: var(--ant-text);
}

.story h2 a:hover {
  color: var(--ant-primary);
}

.story-summary {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ant-text-secondary);
  margin-bottom: 12px;
}

.evidence {
  font-size: 12px;
  color: var(--ant-text-tertiary);
  background: var(--ant-bg-spotlight);
  border-radius: var(--ant-radius-sm);
  padding: 8px 12px;
  margin-top: 10px;
  border-left: 3px solid var(--ant-border);
}

.evidence a {
  color: var(--ant-primary);
}

/* 侧栏小资讯卡片 */
.small-story {
  padding: 12px 0;
  border-bottom: 1px solid var(--ant-border-secondary);
}

.small-story:last-child {
  border-bottom: none;
}

.small-story h3 {
  font-size: 14px;
  margin: 0 0 4px;
}

.small-story a {
  color: var(--ant-text);
}

.small-story a:hover {
  color: var(--ant-primary);
}

/* ==========================================================================
   Ant Design 风格标签与徽章 (Tag & Badge)
   ========================================================================== */
.badge, .ant-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  font-size: 12px;
  line-height: 1.4;
  border-radius: var(--ant-radius-sm);
  background: #fafafa;
  border: 1px solid var(--ant-border);
  color: var(--ant-text-secondary);
  white-space: nowrap;
}

/* 标签色彩衍生 */
.badge.blue, .tag-blue {
  background: var(--ant-primary-bg);
  border-color: var(--ant-primary-border);
  color: var(--ant-primary);
}

.badge.green, .tag-green {
  background: var(--ant-success-bg);
  border-color: var(--ant-success-border);
  color: var(--ant-success);
}

.badge.orange, .tag-orange {
  background: var(--ant-warning-bg);
  border-color: var(--ant-warning-border);
  color: var(--ant-warning);
}

.badge.red, .tag-red {
  background: var(--ant-error-bg);
  border-color: var(--ant-error-border);
  color: var(--ant-error);
}

.badge.purple, .tag-purple {
  background: var(--ant-purple-bg);
  border-color: var(--ant-purple-border);
  color: var(--ant-purple);
}

/* ==========================================================================
   Ant Design 提示框 (Alert / Notice)
   ========================================================================== */
.notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--ant-primary-bg);
  border: 1px solid var(--ant-primary-border);
  border-left: 4px solid var(--ant-primary);
  border-radius: var(--ant-radius);
  padding: 12px 16px;
  margin: 16px 0 20px;
  font-size: 13px;
  color: var(--ant-text);
  line-height: 1.6;
}

.notice.error {
  background: var(--ant-error-bg);
  border-color: var(--ant-error-border);
  border-left-color: var(--ant-error);
  color: var(--ant-error);
}

/* ==========================================================================
   筛选器与分页 (Filters & Pagination)
   ========================================================================== */
.filters {
  background: var(--ant-bg-container);
  border: 1px solid var(--ant-border);
  border-radius: var(--ant-radius);
  padding: 16px 20px;
  margin-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 16px;
  box-shadow: var(--ant-shadow-sm);
}

.filters label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ant-text-secondary);
}

.filters input[type="search"] {
  width: 240px;
}

.filters select {
  min-width: 140px;
}

.filter-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.filter-actions a {
  font-size: 13px;
  color: var(--ant-text-tertiary);
  padding: 7px 12px;
}

.filter-actions a:hover {
  color: var(--ant-primary);
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 28px 0;
}

/* ==========================================================================
   投诉监测栏目 (Chips / Tags / List)
   ========================================================================== */
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 12px 0 16px;
}

.chip-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ant-text-secondary);
  margin-right: 4px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--ant-bg-container);
  border: 1px solid var(--ant-border);
  color: var(--ant-text-secondary);
  padding: 4px 12px;
  border-radius: var(--ant-radius-full);
  font-size: 13px;
  text-decoration: none;
  transition: all 0.2s;
}

.chip i {
  font-style: normal;
  font-size: 11px;
  background: var(--ant-bg-spotlight);
  color: var(--ant-text-tertiary);
  padding: 1px 6px;
  border-radius: var(--ant-radius-full);
}

.chip:hover {
  border-color: var(--ant-primary);
  color: var(--ant-primary);
  background: var(--ant-primary-bg);
}

.chip.active {
  background: var(--ant-primary);
  border-color: var(--ant-primary);
  color: #fff;
}

.chip.active i {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
}

/* ==========================================================================
   专题与机构网格 (Directory Grid)
   ========================================================================== */
.directory {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.directory li {
  background: var(--ant-bg-container);
  border: 1px solid var(--ant-border);
  border-radius: var(--ant-radius);
  padding: 18px 20px;
  box-shadow: var(--ant-shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  transition: all 0.2s ease;
}

.directory li:hover {
  border-color: var(--ant-primary-border);
  box-shadow: var(--ant-shadow-hover);
  transform: translateY(-2px);
}

.directory a {
  font-size: 16px;
  font-weight: 600;
  color: var(--ant-text);
}

.directory a:hover {
  color: var(--ant-primary);
}

.directory .meta {
  font-size: 12px;
}

/* ==========================================================================
   机构观察 / 分类控制条样式已统一收敛
   真实定义位置：文件后部「机构分类与专业智库级 Bento Grid 系统」（目录页控件与卡片）
   与「机构画像档案卡片」（详情页档案卡与统计块）。
   2026-09-11：删除此处旧版重复定义，避免层叠事故。
   ========================================================================== */

/* ==========================================================================
   日报归档与阅读视图 (Reports & Archive)
   ========================================================================== */
.month-group {
  margin: 28px 0;
}

.month-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--ant-text-secondary);
  border-bottom: 2px solid var(--ant-border);
  padding-bottom: 6px;
  margin-bottom: 12px;
}

.archive-item {
  background: var(--ant-bg-container);
  border: 1px solid var(--ant-border);
  border-radius: var(--ant-radius);
  padding: 16px 20px;
  margin-bottom: 10px;
  display: flex;
  gap: 20px;
  align-items: center;
  box-shadow: var(--ant-shadow-sm);
  transition: all 0.2s;
}

.archive-item:hover {
  box-shadow: var(--ant-shadow-hover);
  border-color: var(--ant-border-hover);
}

.archive-date {
  flex: 0 0 85px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ant-primary);
  font-variant-numeric: tabular-nums;
}

.archive-body {
  flex: 1;
  min-width: 0;
}

.archive-body h3 {
  margin: 0 0 4px;
  font-size: 15px;
}

.archive-body p {
  margin: 0;
  color: var(--ant-text-tertiary);
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.archive-links {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

/* 日报详情单栏沉浸式研报布局（去右侧栏，居中舒展排版） */
.report-layout {
  display: block;
  width: 100%;
}

.report-main {
  background: var(--ant-bg-container);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: var(--ant-radius-lg);
  padding: 40px 48px;
  box-shadow: 0 4px 28px rgba(0, 0, 0, 0.02);
  max-width: 960px;
  margin: 0 auto;
}

.report-main.single-column {
  max-width: 960px;
  margin: 0 auto;
}

.report-main header {
  border-bottom: 1px solid var(--ant-border-secondary);
  padding-bottom: 22px;
  margin-bottom: 26px;
}

.report-main h1 {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 8px 0 12px;
}

.report-main .lead {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ant-text-secondary);
  background: var(--ant-bg-spotlight);
  padding: 16px 20px;
  border-radius: var(--ant-radius);
  border: none;
  border-left: 3px solid var(--ant-primary);
}

/* 现代化研报大纲目录卡片（双列等宽规整网格，彻底解决参差错乱） */
.report-toc {
  background: #f8fafc;
  border-radius: 10px;
  padding: 18px 22px;
  margin: 24px 0 32px;
  border: none;
}

.report-toc-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ant-text-secondary);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.report-toc-icon {
  display: inline-flex;
  color: var(--ant-primary);
  font-size: 15px;
}

.report-toc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 10px 14px;
}

.report-toc-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  background: #ffffff;
  border-radius: 6px;
  font-size: 13.5px;
  color: var(--ant-text-secondary);
  text-decoration: none !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.015);
}

.report-toc-item:hover {
  background: #ffffff;
  color: var(--ant-primary) !important;
  border-color: var(--ant-primary-border);
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(22, 119, 255, 0.08);
}

.report-toc-num {
  font-size: 11px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--ant-primary);
  background: rgba(22, 119, 255, 0.08);
  padding: 2px 6px;
  border-radius: 4px;
  flex-shrink: 0;
  line-height: 1.2;
}

.report-toc-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}

/* 章节以充裕留白自然分隔，彻底告别廉价破折虚线 */
.report-main section {
  margin: 44px 0 32px;
  padding-bottom: 0;
  border-bottom: none;
  scroll-margin-top: 84px;
}

.report-main section:last-of-type {
  border-bottom: none;
}

/* 章节标题靠大数字阶与字重立威，移除俗气粗竖条 */
.report-main section h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--ant-text);
  letter-spacing: -0.01em;
  border-left: none;
  padding-left: 0;
  margin-bottom: 20px;
  line-height: 1.4;
}

/* 文末上一篇 / 下一篇 翻页导航卡片 */
.report-pagination {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid var(--ant-border-secondary);
}

@media (max-width: 640px) {
  .report-pagination {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.pagination-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 20px;
  background: #f8fafc;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: var(--ant-radius);
  text-decoration: none !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.pagination-card:not(.disabled):hover {
  background: #ffffff;
  border-color: var(--ant-primary-border);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(22, 119, 255, 0.08);
}

.pagination-card.next {
  text-align: right;
}

.pagination-sub {
  font-size: 12px;
  font-weight: 600;
  color: var(--ant-text-tertiary);
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

.pagination-card:not(.disabled):hover .pagination-sub {
  color: var(--ant-primary);
}

.pagination-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--ant-text);
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pagination-card.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: rgba(0, 0, 0, 0.02);
}

.pagination-card.disabled .pagination-title {
  color: var(--ant-text-tertiary);
  font-weight: 400;
}

.pagination-archive-link {
  text-align: center;
  margin-top: 24px;
}

/* 表格规范 (Ant Design Table) */
.table-wrap {
  overflow-x: auto;
  margin: 16px 0;
  border: 1px solid var(--ant-border);
  border-radius: var(--ant-radius);
}

.table-wrap table {
  border-collapse: collapse;
  width: 100%;
  font-size: 13px;
  background: var(--ant-bg-container);
}

.table-wrap th, .table-wrap td {
  padding: 10px 14px;
  text-align: left;
  vertical-align: middle;
  border-bottom: 1px solid var(--ant-border);
}

.table-wrap th {
  background: #fafafa;
  font-weight: 600;
  color: var(--ant-text-secondary);
  white-space: nowrap;
}

.table-wrap tr:hover td {
  background: #fbfcfe;
}

/* 来源清单 */
.source-list {
  background: var(--ant-bg-spotlight);
  border: 1px solid var(--ant-border);
  border-radius: var(--ant-radius);
  padding: 20px;
  margin-top: 28px;
}

.source-list h2 {
  margin-top: 0;
  font-size: 16px;
}

/* ==========================================================================
   正文文章页 (Article Detail)
   ========================================================================== */
.article-body {
  background: var(--ant-bg-container);
  border: 1px solid var(--ant-border);
  border-radius: var(--ant-radius-lg);
  padding: 32px 40px;
  box-shadow: var(--ant-shadow);
  max-width: 900px;
  margin: 0 auto;
}

.article-body header {
  border-bottom: 1px solid var(--ant-border-secondary);
  padding-bottom: 18px;
  margin-bottom: 24px;
}

.article-body h1 {
  font-size: 24px;
  line-height: 1.4;
  margin: 10px 0;
}

.article-body .lead {
  font-size: 16px;
  line-height: 1.8;
  color: var(--ant-text-secondary);
}

.toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
}

.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}

.link-row a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--ant-bg-spotlight);
  border: 1px solid var(--ant-border);
  padding: 3px 10px;
  border-radius: var(--ant-radius-sm);
  font-size: 12px;
  color: var(--ant-text-secondary);
}

.link-row a:hover {
  background: var(--ant-primary-bg);
  border-color: var(--ant-primary);
  color: var(--ant-primary);
}

/* 空状态 (Ant Design Empty) */
.empty {
  background: var(--ant-bg-container);
  border: 1px solid var(--ant-border);
  border-radius: var(--ant-radius);
  padding: 48px 24px;
  text-align: center;
  box-shadow: var(--ant-shadow-sm);
  margin: 20px 0;
}

.empty h2 {
  font-size: 16px;
  color: var(--ant-text);
  margin-bottom: 6px;
}

.empty p {
  color: var(--ant-text-tertiary);
  font-size: 13px;
  max-width: 480px;
  margin: 0 auto;
}

/* ==========================================================================
   页脚 Footer
   ========================================================================== */
/* ==========================================================================
   页脚 Footer - 现代权威智库标准矩阵架构
   ========================================================================== */
.site-footer {
  border-top: 1px solid #e2e8f0;
  background: #f8fafc;
  width: 100%;
  padding: 40px 0 28px;
  margin-top: 36px;
}

.footer-inner {
  width: min(1120px, calc(100% - 80px));
  margin: 0 auto;
}

.footer-main {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 56px;
  align-items: start;
  padding-bottom: 28px;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 18px;
}

/* 左侧品牌与定位 */
.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-brand-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.footer-brand-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 4px;
  background: var(--ant-primary, #0f52ba);
  color: #ffffff;
  flex-shrink: 0;
}

.footer-brand-zh {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.01em;
}

.footer-brand-en {
  font-size: 11px;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.footer-brand-desc {
  font-size: 12.5px;
  line-height: 1.65;
  color: #64748b;
  margin: 0 0 14px 0;
}

.footer-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: #64748b;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 3px 10px;
  border-radius: 9999px;
  align-self: flex-start;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}

/* 右侧网站地图多列矩阵 */
.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  box-sizing: border-box;
}

.sitemap-col {
  display: flex;
  flex-direction: column;
}

.sitemap-title {
  font-size: 12.5px;
  font-weight: 650;
  color: #1e293b;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 6px;
}

.sitemap-title::before {
  content: '';
  display: inline-block;
  width: 3px;
  height: 11px;
  border-radius: 2px;
  background: var(--ant-primary, #0f52ba);
  opacity: 0.8;
}

.sitemap-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.sitemap-links li {
  margin: 0;
}

.sitemap-links a {
  color: #64748b;
  font-size: 13px;
  text-decoration: none;
  display: inline-block;
  transition: color 0.15s ease, transform 0.15s ease;
  line-height: 1.4;
}

.sitemap-links a:hover {
  color: var(--ant-primary, #0f52ba);
  transform: translateX(3px);
}

.sitemap-col-note {
  font-size: 12px;
  line-height: 1.55;
  color: #94a3b8;
  margin: 10px 0 0 0;
}

/* 免责与中立声明横幅 */
.footer-disclaimer {
  width: 100%;
  box-sizing: border-box;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 10px 14px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.disclaimer-tag {
  font-size: 11px;
  font-weight: 600;
  color: #475569;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 2px 8px;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
}

.disclaimer-text {
  font-size: 12px;
  line-height: 1.6;
  color: #64748b;
  margin: 0;
  flex: 1;
}

/* 页脚底端版权与元信息 */
.footer-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: #94a3b8;
}

.footer-bottom-bar .copyright {
  margin: 0;
  font-size: 12px;
  color: #94a3b8;
}

.footer-bottom-bar .icp-sep {
  margin: 0 6px;
  opacity: 0.5;
}

.footer-bottom-bar .icp-record {
  color: #94a3b8;
  text-decoration: none;
}

.footer-bottom-bar .icp-record:hover {
  color: #cbd5e1;
  text-decoration: underline;
}

.footer-meta-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #94a3b8;
}

.dot-sep {
  opacity: 0.5;
}

/* 响应式适配 */
@media (max-width: 960px) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 640px) {
  .sitemap-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-disclaimer {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .footer-bottom-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

body.secondary-page .site-footer {
  margin-top: 40px;
  padding: 24px 0;
  border-top: 1px solid var(--ant-border, #e2e8f0);
}

body.secondary-page .site-footer .footer-main,
body.secondary-page .site-footer .footer-disclaimer {
  display: none !important;
}

.footer-content {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--ant-text-tertiary);
}

.footer-content p {
  margin: 0;
}

.footer-content a {
  color: var(--ant-text-secondary);
}

.footer-content a:hover {
  color: var(--ant-primary);
}

/* 辅助类 */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 20px;
  top: -100px;
  padding: 8px 16px;
  background: var(--ant-primary);
  color: #fff;
  border-radius: var(--ant-radius);
  z-index: 1000;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 12px;
}

/* ==========================================================================
   响应式调整 (Mobile & Tablet) - 深度优化与溢出防护
   ========================================================================== */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

@media (max-width: 960px) {
  .home-layout {
    grid-template-columns: 1fr;
  }
  .report-layout {
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    max-width: 100%;
  }
  .report-aside {
    position: static;
    width: 100%;
  }
  .table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
  }
  .archive-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }
  .archive-body {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
  .archive-body p {
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
  }
  .archive-links {
    width: 100%;
    justify-content: flex-end;
  }
}

@media (max-width: 880px) {
  .masthead {
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 100;
  }
  .masthead-inner {
    width: 100%;
    padding: 0 16px;
    height: auto;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0;
  }
  .brand-group {
    height: 52px;
    display: flex;
    align-items: center;
  }
  .brand-subtext {
    display: none;
  }
  .header-actions {
    height: 52px;
    display: flex;
    align-items: center;
  }
  .site-search {
    padding: 2px 4px 2px 8px;
  }
  .site-search input {
    width: 110px;
    min-height: 28px;
    font-size: 12px;
  }
  .search-kbd {
    display: none;
  }
  .site-search button {
    padding: 2px 8px;
    font-size: 12px;
  }
  .navigation {
    width: 100%;
    height: 42px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    display: flex;
    justify-content: flex-start;
    gap: 4px;
    padding: 4px 0 6px;
    border-top: 1px solid var(--ant-border-secondary);
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .navigation::-webkit-scrollbar {
    display: none;
  }
  .navigation a {
    padding: 4px 12px;
    font-size: 13px;
    flex-shrink: 0;
  }
  .page, .footer-inner {
    width: calc(100% - 24px);
    max-width: 100%;
  }
  .page-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin-bottom: 16px;
  }
  .page-heading h1 {
    font-size: 20px;
    line-height: 1.35;
    word-break: keep-all;
  }
  .page-heading .meta {
    font-size: 13px;
    margin-top: 2px;
    padding-left: 0;
    border-left: none;
  }
  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .stat-card {
    padding: 14px 16px;
  }
  .stat-value {
    font-size: 20px;
  }
  .featured-report {
    padding: 18px 16px;
  }
  .featured-report h2 {
    font-size: 18px;
    word-break: break-word;
  }
  .archive-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }
  .archive-date {
    flex: none;
    font-size: 13px;
  }
  .archive-body {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
  .archive-body p {
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
  }
  .archive-links {
    width: 100%;
    justify-content: flex-end;
  }
  .article-body, .report-main {
    padding: 20px 16px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
  }
  .table-wrap {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 14px 0;
    border: 1px solid var(--ant-border-secondary);
    border-radius: var(--ant-radius);
  }
  .table-wrap table {
    min-width: 540px;
    width: 100%;
  }
  .chip-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
    margin: 8px 0 12px;
    scrollbar-width: none;
  }
  .chip-row::-webkit-scrollbar {
    display: none;
  }
  .chip {
    flex-shrink: 0;
    min-height: 32px;
    padding: 4px 12px;
  }
  .category-segmented-bar {
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 3px;
  }
  .category-segmented-bar::-webkit-scrollbar {
    display: none;
  }
  .category-pill {
    flex-shrink: 0;
    padding: 5px 12px;
    font-size: 12px;
  }
  .directory-search-box {
    max-width: 100%;
  }
  .ant-breadcrumb-current {
    max-width: 180px;
  }
}

/* Segmented Tabs 组件 (Ant Design 风格分段控制器) */
.segmented-tabs {
  display: inline-flex;
  padding: 3px;
  background: var(--ant-bg-layout);
  border: 1px solid var(--ant-border-secondary);
  border-radius: var(--ant-radius-lg);
  margin-bottom: 20px;
  gap: 4px;
}
.segmented-tab {
  border: none;
  background: transparent;
  color: var(--ant-text-secondary);
  font-size: 14px;
  font-weight: 500;
  padding: 6px 18px;
  border-radius: var(--ant-radius);
  cursor: pointer;
  min-height: 32px;
  box-shadow: none;
  transition: all 0.2s ease;
}
.segmented-tab:hover {
  color: var(--ant-text);
  background: rgba(0, 0, 0, 0.03);
}
.segmented-tab.active {
  background: #ffffff;
  color: var(--ant-primary);
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* 矢量图标支持类 (修复全站图标变黑实心Bug，恢复线框描边质感) */
.ant-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: -0.125em;
  line-height: 0;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
}
.ant-icon-filled {
  fill: currentColor;
  stroke: none;
}

/* Ant Design Breadcrumbs 面包屑导航 */
.ant-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 13px;
  color: var(--ant-text-tertiary);
  margin-bottom: 18px;
}
.ant-breadcrumb-item a {
  color: var(--ant-text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}
.ant-breadcrumb-item a:hover {
  color: var(--ant-primary);
}
.ant-breadcrumb-current {
  color: var(--ant-text);
  font-weight: 500;
}
.ant-breadcrumb-separator {
  color: var(--ant-border);
  margin: 0 2px;
}

/* Ant Design Timeline 专题演进时间线 */
.ant-timeline {
  list-style: none;
  margin: 0;
  padding: 8px 0 0 12px;
  position: relative;
}
.ant-timeline-item {
  position: relative;
  padding-bottom: 18px;
  padding-left: 22px;
}
.ant-timeline-item:last-child {
  padding-bottom: 0;
}
.ant-timeline-tail {
  position: absolute;
  top: 10px;
  left: 5px;
  height: calc(100% - 10px);
  border-left: 2px solid var(--ant-border);
}
.ant-timeline-item:last-child .ant-timeline-tail {
  display: none;
}
.ant-timeline-dot {
  position: absolute;
  top: 5px;
  left: 0;
  width: 12px;
  height: 12px;
  background: #ffffff;
  border: 2px solid var(--ant-primary);
  border-radius: 50%;
}
.ant-timeline-dot.active {
  background: var(--ant-primary);
  box-shadow: 0 0 0 3px rgba(22, 119, 255, 0.2);
}
.ant-timeline-content {
  font-size: 14px;
}

/* 机构画像档案卡片 */
.entity-profile {
  border-radius: var(--ant-radius-lg);
  border: 1px solid var(--ant-border);
  margin-bottom: 22px;
  padding: 24px 28px;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.02), 0 6px 16px rgba(0,0,0,0.03);
  position: relative;
  overflow: hidden;
}
.entity-profile::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  /* 品牌单色系：与权威深海钴蓝主色一致，避免蓝紫青三色跳脱智库调性 */
  background: linear-gradient(90deg, var(--ant-primary) 0%, var(--ant-primary-hover) 100%);
}
.entity-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.entity-stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--ant-bg-layout);
  border: 1px solid var(--ant-border-secondary);
  border-radius: var(--ant-radius);
  padding: 12px 14px;
  text-align: center;
  transition: all 0.2s ease;
}
.entity-stat-item:hover {
  background: #ffffff;
  border-color: var(--ant-primary-border);
  box-shadow: var(--ant-shadow-sm);
}
.entity-stat-item .lbl {
  display: block;
  font-size: 12px;
  color: var(--ant-text-tertiary);
  margin-bottom: 4px;
}
.entity-stat-item .val {
  font-size: 22px;
  font-weight: 700;
  color: var(--ant-primary);
  font-variant-numeric: tabular-nums;
}
.entity-stat-item .val small {
  font-size: 12px;
  font-weight: 400;
  color: var(--ant-text-secondary);
  margin-left: 2px;
}

/* 金融等宽数字与核心指标优化 */
.stat-value, .archive-date, .val, .meta, table, .badge, .entity-stat-item .val {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

/* 研报操作栏与核心速览 */
.report-highlights {
  border-radius: var(--ant-radius-lg);
}
.report-actions-bar button {
  cursor: pointer;
}

/* ==========================================================================
   机构分类与专业智库级 Bento Grid 系统
   ========================================================================== */

/* 5大机构权威分类专属高阶 Badge */
.tag-licensed {
  color: #b45309 !important;
  background-color: #fffbeb !important;
  border-color: #fde68a !important;
}
.tag-platform {
  color: #1d4ed8 !important;
  background-color: #eff6ff !important;
  border-color: #bfdbfe !important;
}
.tag-leadfintech {
  color: #6d28d9 !important;
  background-color: #f5f3ff !important;
  border-color: #ddd6fe !important;
}
.tag-special {
  color: #0f766e !important;
  background-color: #f0fdfa !important;
  border-color: #99f6e4 !important;
}
.tag-bank {
  color: #047857 !important;
  background-color: #ecfdf5 !important;
  border-color: #a7f3d0 !important;
}

/* 分类与检索工具栏：搜索框在上、分类页签在下，整体左对齐 */
.directory-controls {
  margin-bottom: 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 12px;
}
.category-segmented-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.03);
  padding: 4px;
  border-radius: 10px;
  width: fit-content;
}
.category-pill {
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
  border-radius: 6px;
  border: none;
  background: transparent;
  color: var(--ant-text-secondary);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  user-select: none;
  outline: none;
}
.category-pill:hover {
  color: var(--ant-text);
  background: rgba(255, 255, 255, 0.6);
}
.category-pill.active {
  background: #ffffff;
  color: var(--ant-primary);
  font-weight: 600;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}
.category-pill .pill-count {
  font-size: 11px;
  padding: 1px 6px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.06);
  color: var(--ant-text-tertiary);
  font-weight: 500;
}
.category-pill.active .pill-count {
  background: var(--ant-primary-bg);
  color: var(--ant-primary);
}

.directory-search-box {
  position: relative;
  max-width: 380px;
  width: 100%;
}
.directory-search-box input {
  width: 100%;
  height: 38px;
  padding: 0 14px 0 36px;
  background: #ffffff;
  border: 1px solid var(--ant-border);
  border-radius: var(--ant-radius);
  font-size: 13px;
  color: var(--ant-text);
  outline: none;
  transition: all 0.2s ease;
}
.directory-search-box input:focus {
  border-color: var(--ant-primary);
  box-shadow: 0 0 0 3px rgba(22, 119, 255, 0.12);
}
.directory-search-box .search-prefix {
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ant-text-tertiary);
  display: flex;
  align-items: center;
  pointer-events: none;
}

/* 机构 Bento Grid 卡片网格 */
.entity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 8px;
  margin-bottom: 32px;
}
.entity-card {
  background: #ffffff;
  border: 1px solid var(--ant-border);
  border-radius: var(--ant-radius-lg);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
  text-decoration: none !important;
  color: inherit !important;
}
.entity-card:hover {
  border-color: var(--ant-primary-border);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06), 0 12px 28px rgba(15, 23, 42, 0.03);
}
.entity-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
}
.entity-card-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--ant-text);
  line-height: 1.35;
  margin: 0;
  transition: color 0.2s ease;
}
.entity-card:hover .entity-card-title {
  color: var(--ant-primary);
}
.entity-card-aliases {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 14px;
}
.alias-tag {
  font-size: 11px;
  color: var(--ant-text-tertiary);
  background: var(--ant-bg-layout);
  padding: 1px 7px;
  border-radius: 4px;
  border: 1px solid var(--ant-border-secondary);
}
.entity-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid var(--ant-border-secondary);
  margin-top: auto;
  font-size: 12px;
  color: var(--ant-text-tertiary);
}
.entity-card-count {
  font-weight: 600;
  color: var(--ant-text);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.entity-card-arrow {
  color: var(--ant-text-tertiary);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
}
.entity-card:hover .entity-card-arrow {
  color: var(--ant-primary);
  transform: translateX(3px);
}

/* 专题 Bento Grid 卡片网格 */
.topic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
  margin-top: 8px;
}
.topic-card {
  background: #ffffff;
  border: 1px solid var(--ant-border);
  border-radius: var(--ant-radius-lg);
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  text-decoration: none !important;
  color: inherit !important;
}
.topic-card:hover {
  border-color: var(--ant-primary-border);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06), 0 12px 28px rgba(15, 23, 42, 0.03);
}
.topic-card-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--ant-text);
  line-height: 1.4;
  margin: 0 0 10px 0;
  transition: color 0.2s ease;
}
.topic-card:hover .topic-card-title {
  color: var(--ant-primary);
}
.topic-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--ant-text-tertiary);
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--ant-border-secondary);
}

/* 品牌 Logo 视觉重构 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.brand-logo-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #0958d9 0%, #1677ff 50%, #36cfc9 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(22, 119, 255, 0.35);
  flex-shrink: 0;
}
.brand-title-wrap {
  display: flex;
  flex-direction: column;
}
.brand-text {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.brand-subtext {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--ant-primary);
  text-transform: uppercase;
  line-height: 1.2;
}

/* 打印与导出专业样式支持 */
@media print {
  .skip-link, .masthead, .site-footer, .report-toc, .report-actions-bar, .report-aside, #moreItems, .pagination, .filters, .segmented-tabs, .directory-controls {
    display: none !important;
  }
  body, .page, .report-layout, .report-main {
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    box-shadow: none !important;
    border: none !important;
    background: #fff !important;
    color: #000 !important;
  }
  a {
    text-decoration: none !important;
    color: #000 !important;
  }
  table, tr, .report-tier-card, .report-alert-box, .report-kpi-card, .report-analysis-card {
    break-inside: avoid !important;
    page-break-inside: avoid !important;
  }
}

.table-wrap th.val-cell,
.table-wrap td.val-cell {
  text-align: right !important;
  font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   智库研报排版系统与数据表格增强 (Bloomberg & Ant Design Standard)
   ========================================================================== */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 18px 0 24px;
  background: var(--ant-bg-container);
  border: 1px solid var(--ant-border);
  border-radius: var(--ant-radius-lg);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.table-wrap table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  line-height: 1.6;
  text-align: left;
}

.table-wrap th {
  background: #f8fafc;
  color: var(--ant-text);
  font-weight: 600;
  padding: 12px 16px;
  border-bottom: 1px solid var(--ant-border);
  white-space: nowrap;
}

.table-wrap td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--ant-border-secondary);
  color: var(--ant-text);
  vertical-align: top;
}

.table-wrap tbody tr:last-child td {
  border-bottom: none;
}

.table-wrap tbody tr:hover {
  background-color: rgba(22, 119, 255, 0.02);
}

.table-wrap td code {
  background: #f1f5f9;
  color: var(--ant-primary);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}

.table-wrap td.date-cell,
.table-wrap th:last-child,
.table-wrap td:last-child {
  white-space: nowrap !important;
}

/* 事实依据引用角标 (Citation Badge) */
.citation-badge {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  padding: 2px 6px;
  margin: 0 2px;
  border-radius: 4px;
  color: var(--ant-primary);
  background: rgba(22, 119, 255, 0.08);
  border: 1px solid rgba(22, 119, 255, 0.2);
  text-decoration: none !important;
  vertical-align: middle;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.citation-badge:hover {
  background: var(--ant-primary);
  color: #ffffff;
  border-color: var(--ant-primary);
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(22, 119, 255, 0.2);
}

/* 引用锚点高亮动画 */
tr:target, tr.highlight-target {
  animation: highlightRow 2s ease-out;
  background-color: rgba(22, 119, 255, 0.1) !important;
}

@keyframes highlightRow {
  0% { background-color: rgba(22, 119, 255, 0.25); }
  100% { background-color: rgba(22, 119, 255, 0.1); }
}

/* 小节副标题 (Subheadings) */
.report-subheading {
  font-size: 15px;
  font-weight: 600;
  color: var(--ant-text);
  margin: 24px 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.report-subheading::before {
  content: "";
  display: inline-block;
  width: 3px;
  height: 14px;
  background: var(--ant-primary);
  border-radius: 2px;
}

/* 列表项增强 (Bullet & Numbered Items) */
.bullet-item {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ant-text);
}

.bullet-dot {
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  margin-top: 8px;
  border-radius: 50%;
  background-color: var(--ant-primary);
  opacity: 0.85;
}

.bullet-content {
  flex: 1;
}

.numbered-item {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ant-text);
}

.num-badge {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(22, 119, 255, 0.1);
  color: var(--ant-primary);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.num-content {
  flex: 1;
}

/* 引用来源长表高度限缩与内部滚动 */
.source-list .table-wrap {
  max-height: 520px;
  overflow-y: auto;
  border: 1px solid var(--ant-border);
  position: relative;
}

.source-list th {
  position: sticky;
  top: 0;
  z-index: 2;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* 研报侧边栏增强 */
.report-aside {
  background: var(--ant-bg-container);
  border: 1px solid var(--ant-border);
  border-radius: var(--ant-radius-lg);
  padding: 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  height: fit-content;
  position: sticky;
  top: 84px;
}

.report-aside h2 {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 14px;
  color: var(--ant-text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.aside-report-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.aside-report-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 13px;
  color: var(--ant-text);
  text-decoration: none !important;
  transition: all 0.2s;
  border: 1px solid transparent;
}

.aside-report-item:hover {
  background: rgba(22, 119, 255, 0.04);
  border-color: rgba(22, 119, 255, 0.15);
  color: var(--ant-primary);
}

.aside-report-item.active {
  background: rgba(22, 119, 255, 0.08);
  border-color: rgba(22, 119, 255, 0.25);
  color: var(--ant-primary);
  font-weight: 600;
}

.aside-date-badge {
  font-size: 11px;
  padding: 1px 6px;
  background: #f1f5f9;
  border-radius: 4px;
  color: var(--ant-text-secondary);
  font-family: monospace;
}

/* ==========================================================================
   专业金融研报 HTML 专属样式体系 (Bloomberg / Refinitiv 级排版)
   ========================================================================== */

/* 核心量化指标卡看板 */
/* ==========================================================================
   现代金融智库研报排版规范（去线框化、沉浸式叙事流、无界极简设计）
   ========================================================================== */

/* 核心量化指标看板：轻量无界，大字阶立威，去除突兀厚重外框与彩顶条 */
.report-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
  margin: 20px 0 28px;
}

.report-kpi-card {
  background: #f8fafc;
  border: none !important;
  border-radius: 8px;
  padding: 18px 20px;
  box-shadow: none !important;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: all 0.2s ease;
}

.report-kpi-card:hover {
  background: #f1f5f9;
  transform: translateY(-1px);
}

.report-kpi-label {
  font-size: 12.5px;
  color: var(--ant-text-tertiary);
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.report-kpi-val {
  font-size: 26px;
  font-weight: 700;
  color: var(--ant-text);
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.report-kpi-desc {
  font-size: 12px;
  color: var(--ant-text-secondary);
  line-height: 1.45;
}

/* 现代智库研报表格：彻底告别外框与垂直竖线，仅留细腻水平底线 */
.table-wrap {
  margin: 20px 0 28px;
  overflow-x: auto;
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  border-radius: 0 !important;
}

.table-wrap table {
  width: 100%;
  border-collapse: collapse !important;
  border-spacing: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--ant-text);
  border: none !important;
}

.table-wrap th {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ant-text-secondary);
  text-align: left;
  padding: 12px 14px;
  background: #f8fafc;
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
  border-bottom: 1.5px solid var(--ant-border) !important;
  white-space: nowrap;
}

.table-wrap td {
  padding: 13px 14px;
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
  vertical-align: top;
  font-size: 13.5px;
  line-height: 1.7;
}

.table-wrap tr:last-child td {
  border-bottom: 1px solid var(--ant-border) !important;
}

.table-wrap tr:hover td {
  background: rgba(0, 0, 0, 0.015);
}

.table-wrap .val-cell {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* 典雅学术引用角标：内敛微标，不破坏长文阅读沉浸感 */
.citation-badge {
  font-size: 11px !important;
  font-weight: 600 !important;
  color: #2563eb !important;
  background: #eff6ff !important;
  border: none !important;
  border-radius: 3px !important;
  padding: 1px 5px !important;
  margin: 0 2px !important;
  line-height: 1 !important;
  vertical-align: 2px !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center;
  transition: all 0.2s ease;
}

.citation-badge:hover {
  background: #2563eb !important;
  color: #ffffff !important;
}

/* 深度研判导语与引述：无封闭线框，自然融入正文 */
.report-lead-callout {
  background: #f8fafc;
  border: none !important;
  border-left: 3px solid var(--ant-primary) !important;
  border-radius: 0 8px 8px 0;
  padding: 18px 22px;
  margin: 20px 0 28px;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--ant-text);
}

/* 兼容历史卡片网格：去除所有厚重边框，轻量化底色背景 */
.report-tier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin: 18px 0 26px;
}

.report-tier-card {
  background: #f8fafc;
  border: none !important;
  border-radius: 8px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: none !important;
}

.report-tier-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding-bottom: 8px;
}

.report-tier-title {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ant-text);
}

.report-tier-body {
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--ant-text-secondary);
}

/* 监管合规与警示：轻柔底色，去除四周封闭硬框 */
.report-alert-box {
  background: #fffbe6;
  border: none !important;
  border-left: 3px solid #faad14 !important;
  border-radius: 0 6px 6px 0;
  padding: 16px 20px;
  margin: 20px 0;
}

.report-alert-box.danger {
  background: #fff2f0;
  border-left-color: #ff4d4f !important;
}

.report-alert-title {
  font-size: 14px;
  font-weight: 600;
  color: #d46b08;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.report-alert-box.danger .report-alert-title {
  color: #cf1322;
}

.report-alert-desc {
  font-size: 13.5px;
  line-height: 1.7;
  color: #595959;
}

/* 分析与透视块：优雅纯净轻底，无框化 */
.report-analysis-card {
  background: #f8fafc;
  border: none !important;
  border-left: 3px solid var(--ant-primary) !important;
  border-radius: 0 6px 6px 0;
  padding: 16px 20px;
  margin: 20px 0;
  box-shadow: none !important;
}

.report-analysis-title {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ant-text);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.report-analysis-text {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ant-text-secondary);
  margin-bottom: 0;
}

/* 事实证据链接胶囊 */
.evidence-capsule {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 1px 7px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 4px;
  background: var(--ant-primary-bg);
  color: var(--ant-primary);
  text-decoration: none;
  border: 1px solid var(--ant-primary-border);
  vertical-align: 1px;
}

.evidence-capsule:hover {
  background: var(--ant-primary);
  color: #ffffff;
}

/* ==========================================================================
   Ant Design 5.x 规范增强与组件微交互 (Toast / Modal / Segmented)
   ========================================================================== */

/* 全局防文字断裂 */
.alias-tag, .badge, .citation-badge, .category-pill, .fr-badge, .evidence-capsule {
  white-space: nowrap !important;
  word-break: keep-all !important;
  display: inline-flex;
  align-items: center;
}

/* Ant Design Message Toast 浮层提示组件 */
.ant-message-toast {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  background: #ffffff;
  padding: 9px 18px;
  border-radius: var(--ant-radius);
  box-shadow: 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 9px 28px 8px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--ant-border-secondary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--ant-text);
  font-weight: 500;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.ant-message-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.ant-toast-icon {
  color: var(--ant-success);
  display: inline-flex;
  align-items: center;
  font-size: 16px;
}

/* 引用弹窗 Modal */
.ant-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.ant-modal-card {
  background: #ffffff;
  border-radius: var(--ant-radius-lg);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
  padding: 24px;
  max-width: 520px;
  width: calc(100% - 32px);
  position: relative;
  animation: antModalZoom 0.2s cubic-bezier(0.08, 0.82, 0.17, 1);
}
@keyframes antModalZoom {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.ant-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.ant-modal-header h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}
.ant-modal-close {
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 18px;
  color: var(--ant-text-tertiary);
  padding: 4px;
  line-height: 1;
}
.ant-modal-close:hover {
  color: var(--ant-text);
}
.ant-modal-textarea {
  width: 100%;
  border: 1px solid var(--ant-border);
  border-radius: var(--ant-radius);
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.6;
  resize: none;
  background: var(--ant-bg-layout);
  color: var(--ant-text);
  font-family: inherit;
  margin-bottom: 16px;
}
.ant-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

/* 往期研报卡片副标题与排版 */
.aside-report-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--ant-radius);
  text-decoration: none !important;
  color: var(--ant-text) !important;
  border-bottom: 1px solid var(--ant-border-secondary);
  transition: all 0.2s;
}
.aside-report-item:hover {
  background: var(--ant-primary-bg);
  color: var(--ant-primary) !important;
}
.aside-report-item.active {
  background: var(--ant-primary-bg);
  color: var(--ant-primary) !important;
  font-weight: 600;
  border-left: 3px solid var(--ant-primary);
}
.aside-report-item .aside-date-badge {
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  color: var(--ant-text-tertiary);
  background: rgba(0, 0, 0, 0.04);
  padding: 2px 6px;
  border-radius: 4px;
  flex-shrink: 0;
}
.aside-report-item.active .aside-date-badge {
  background: var(--ant-primary);
  color: #fff;
}

/* ==========================================================================
   全新视觉与布局专业升级体系 (Think-Tank Visual System Upgrade)
   ========================================================================== */

/* 1. 首页智库定位 Header Banner */
.home-hero {
  background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 50%, #f5f3ff 100%);
  border: 1px solid rgba(22, 119, 255, 0.16);
  border-radius: var(--ant-radius-lg);
  padding: 24px 28px 22px;
  margin-bottom: 22px;
  box-shadow: 0 4px 20px -4px rgba(22, 119, 255, 0.06);
  position: relative;
  overflow: hidden;
}

.home-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  /* 与机构档案卡统一为品牌单色系，保持全站智库调性 */
  background: linear-gradient(90deg, var(--ant-primary) 0%, var(--ant-primary-hover) 100%);
}

.home-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(22, 119, 255, 0.08);
  border: 1px solid rgba(22, 119, 255, 0.2);
  color: #0958d9;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--ant-radius-full);
  margin-bottom: 10px;
}

.home-hero-badge .pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #52c41a;
  box-shadow: 0 0 0 0 rgba(82, 196, 26, 0.7);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(82, 196, 26, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(82, 196, 26, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(82, 196, 26, 0); }
}

.home-hero h1 {
  font-size: 24px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.home-hero-desc {
  font-size: 14px;
  color: #475569;
  margin: 0;
  line-height: 1.65;
  max-width: 960px;
}

/* 2. 资讯与搜索页快捷分类 Pills 胶囊条 */
.quick-filter-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  padding: 10px 14px;
  background: #ffffff;
  border: 1px solid var(--ant-border);
  border-radius: var(--ant-radius);
  box-shadow: var(--ant-shadow-sm);
}

.quick-filter-label {
  font-size: 12px;
  color: var(--ant-text-tertiary);
  font-weight: 600;
  margin-right: 4px;
  flex-shrink: 0;
}

.quick-filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  font-size: 13px;
  border-radius: var(--ant-radius-full);
  background: #f1f5f9;
  color: #475569;
  border: 1px solid transparent;
  transition: all 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
  text-decoration: none !important;
  cursor: pointer;
}

.quick-filter-pill:hover {
  background: var(--ant-primary-bg);
  color: var(--ant-primary);
  border-color: var(--ant-primary-border);
}

.quick-filter-pill.active {
  background: var(--ant-primary);
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(22, 119, 255, 0.35);
  border-color: var(--ant-primary);
}

/* 3. 资讯详情页 (Article Detail) 智库级卡片系统 */
.article-detail-wrapper {
  max-width: 880px;
  margin: 0 auto;
}

.article-header-card {
  background: #ffffff;
  border: 1px solid var(--ant-border);
  border-radius: var(--ant-radius-lg);
  padding: 28px 32px 24px;
  margin-bottom: 20px;
  box-shadow: var(--ant-shadow);
}

.article-header-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.article-header-title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  color: #0f172a;
  margin: 0 0 16px;
}

.article-summary-box {
  background: #f8fafc;
  border-left: 4px solid var(--ant-primary);
  border-radius: 0 var(--ant-radius) var(--ant-radius) 0;
  padding: 16px 20px;
  margin-bottom: 20px;
  font-size: 15px;
  line-height: 1.75;
  color: #334155;
}

/* 2026-09-10 详情页来源全文阅读区 */
.article-summary-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--ant-primary);
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.article-source-text {
  margin: 24px 0 20px;
  padding-top: 18px;
  border-top: 1px solid var(--ant-border-secondary);
}

.article-source-text-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.article-prose {
  font-size: 15.5px;
  line-height: 1.9;
  color: #1f2937;
}

.article-prose p {
  margin: 0 0 14px;
  text-align: justify;
}

.article-prose p:last-child {
  margin-bottom: 0;
}

/* 公众号编号节小标题（headings 索引标注），加粗便于快速定位 */
.article-prose p.article-heading {
  margin: 26px 0 12px;
  font-weight: 700;
  font-size: 17px;
  color: #0f172a;
}

.article-prose p.article-heading:first-child {
  margin-top: 0;
}

.article-body-truncated {
  margin-top: 16px;
  padding: 10px 16px;
  background: #f8fafc;
  border: 1px dashed var(--ant-border);
  border-radius: var(--ant-radius);
  font-size: 13px;
  color: var(--ant-text-tertiary);
  text-align: center;
}

.article-body-truncated a {
  color: var(--ant-primary);
  font-weight: 500;
}

.article-action-card {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  border: 1px dashed #cbd5e1;
  border-radius: var(--ant-radius);
  padding: 20px 24px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.article-source-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.article-source-meta .src-label {
  font-size: 12px;
  color: var(--ant-text-tertiary);
}

.article-source-meta .src-name {
  font-size: 15px;
  font-weight: 600;
  color: #0f172a;
}

.article-relations-box {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--ant-border-secondary);
}

.article-footer-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
  padding-top: 16px;
}

/* 4. 优化高频机构 Chip 胶囊筛选与激活反馈 */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  color: #334155;
  border: 1px solid var(--ant-border);
  padding: 4px 12px;
  border-radius: var(--ant-radius-full);
  font-size: 13px;
  text-decoration: none !important;
  transition: all 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.chip i {
  font-style: normal;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  background: #f1f5f9;
  color: #64748b;
  padding: 1px 6px;
  border-radius: 10px;
  font-weight: 600;
}

.chip:hover {
  background: var(--ant-primary-bg);
  border-color: var(--ant-primary-border);
  color: var(--ant-primary);
  transform: translateY(-1px);
}

.chip.active {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.25);
  font-weight: 600;
}

.chip.active i {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

/* 5. 现代化空状态插画与排版 (Modern Empty State) */
.empty-state-card {
  text-align: center;
  padding: 48px 24px;
  background: #ffffff;
  border: 1px solid var(--ant-border);
  border-radius: var(--ant-radius-lg);
  box-shadow: var(--ant-shadow-sm);
  margin: 20px 0;
}

.empty-state-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #94a3b8;
  margin-bottom: 16px;
}

.empty-state-title {
  font-size: 17px;
  font-weight: 600;
  color: #1e293b;
  margin: 0 0 8px;
}

.empty-state-desc {
  font-size: 13.5px;
  color: #64748b;
  max-width: 480px;
  margin: 0 auto 20px;
  line-height: 1.6;
}

.empty-state-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}



/* ==========================================================================
   全新智库级高阶版式与组件增强体系 (Elite Intelligence UI Components)
   ========================================================================== */

/* 1. 结构化要点网格 (Takeaways Grid) */
.takeaways-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 16px 0 18px;
}

@media (max-width: 880px) {
  .takeaways-grid {
    grid-template-columns: 1fr;
  }
}

.report-highlights-box .takeaways-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

@media (max-width: 880px) {
  .report-highlights-box .takeaways-grid {
    grid-template-columns: 1fr;
  }
}

.takeaway-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: all 0.15s ease;
  position: relative;
}

.takeaway-card:hover {
  border-color: #cbd5e1;
  background: #f1f5f9;
}

.takeaway-header {
  display: flex;
  align-items: center;
  gap: 8px;
}

.takeaway-idx {
  font-size: 11px;
  font-weight: 700;
  color: #1d4ed8;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 1px 6px;
  border-radius: 4px;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
  letter-spacing: 0.02em;
}

.takeaway-title {
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.4;
  margin: 0;
}

.takeaway-body {
  font-size: 13px;
  line-height: 1.6;
  color: #475569;
  margin: 0;
}

/* 2. 资讯列表项 (Newsfeed Story Modern Card) */
.story {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 14px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.story:hover {
  border-color: #cbd5e1;
  box-shadow: 0 8px 24px -4px rgba(15, 23, 42, 0.08);
  transform: translateY(-1.5px);
}

.story-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  gap: 8px;
}

.story-source-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.source-tag {
  font-weight: 600;
  font-size: 13px;
  color: #0f172a;
  background: #f1f5f9;
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid #e2e8f0;
}

.story-date-tag {
  font-size: 12px;
  color: #64748b;
  font-variant-numeric: tabular-nums;
}

.story-ext-link {
  font-size: 12px;
  color: #1d4ed8;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 8px;
  border-radius: 4px;
  transition: background 0.15s;
}

.story-ext-link:hover {
  background: #eff6ff;
  color: #1e40af;
}

.story-title {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 8px;
  line-height: 1.45;
}

.story-title a {
  color: #0f172a;
  transition: color 0.15s;
}

.story-title a:hover {
  color: #1d4ed8;
}

.story-summary {
  font-size: 14px;
  line-height: 1.65;
  color: #475569;
  margin: 0 0 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.story-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid #f1f5f9;
  gap: 12px;
}

.story-entities-group {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.entity-micro-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #334155;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 2px 8px;
  border-radius: 4px;
  transition: all 0.15s;
  text-decoration: none !important;
}

.entity-micro-badge:hover {
  border-color: #1d4ed8;
  color: #1d4ed8;
  background: #eff6ff;
}

.story-industry-scope {
  font-size: 12px;
  color: #94a3b8;
}

.story-read-detail {
  font-size: 12.5px;
  color: #1d4ed8;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
}

.story-read-detail:hover {
  text-decoration: underline;
}

/* 3. 一体化紧凑型筛选工具条 (Integrated Filter Console) */
.integrated-filter-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 20px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

/* 带结果统计底栏的筛选卡：底部不额外留白，统计条贴在卡片下沿 */
.integrated-filter-card.with-foot {
  padding-bottom: 0;
}

.filter-card-foot {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-top: 1px solid #f1f5f9;
  margin: 16px -20px 0;
  padding: 11px 20px 12px;
}

.filter-pills-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 14px;
}

.filter-inputs-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.filter-field {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #475569;
}

.filter-field input, .filter-field select {
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 13px;
  color: #0f172a;
  outline: none;
  transition: all 0.2s;
}

/* 搜索框撑满所属弹性容器：原为浏览器默认宽度(~177px)，会在右侧留出大片空白 */
.filter-inputs-row .filter-field > input[type="search"] {
  width: 100%;
}

.filter-field input:focus, .filter-field select:focus {
  border-color: #1d4ed8;
  background: #ffffff;
  box-shadow: 0 0 0 2px rgba(29, 78, 216, 0.1);
}

.filter-btn-apply {
  background: #0f172a;
  color: #ffffff;
  border: none;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}

.filter-btn-apply:hover {
  background: #1e293b;
}

.filter-btn-reset {
  color: #64748b;
  font-size: 13px;
  padding: 6px 10px;
  text-decoration: none;
}

.filter-btn-reset:hover {
  color: #0f172a;
}

/* ==========================================================================
   智库方法论白皮书规范样式 (Methodology & Research Whitepaper)
   ========================================================================== */
.methodology-container {
  max-width: 980px;
  margin: 0 auto;
  padding-bottom: 40px;
}

.methodology-hero {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 32px 36px;
  margin-bottom: 32px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.methodology-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #1d4ed8;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
  letter-spacing: 0.03em;
}

.methodology-title {
  font-size: 26px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 10px;
  line-height: 1.35;
}

.methodology-lead {
  font-size: 14.5px;
  line-height: 1.75;
  color: #334155;
  margin: 0 0 18px;
}

.methodology-badges-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 14px;
  border-top: 1px dashed #e2e8f0;
}

.methodology-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: #059669;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  padding: 3px 9px;
  border-radius: 4px;
  font-weight: 500;
}

.methodology-section {
  margin-bottom: 36px;
}

.methodology-section-title {
  font-size: 19px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  scroll-margin-top: 80px;
}

.methodology-section-title .sec-icon {
  color: #1d4ed8;
  display: inline-flex;
}

/* 四大核心研究准则网格 (2x2 对称 Bento 网格) */
.axioms-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.axiom-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 22px 24px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
  transition: all 0.2s ease;
}

.axiom-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
}

.axiom-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.axiom-num {
  font-size: 11px;
  font-weight: 700;
  color: #1d4ed8;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 2px 7px;
  border-radius: 4px;
  font-family: var(--ant-font-mono);
}

.axiom-title {
  font-size: 15.5px;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

.axiom-body {
  font-size: 13.5px;
  line-height: 1.7;
  color: #475569;
  margin: 0;
}

/* 四阶段智能采编管线流程 (Pipeline Flow) */
.pipeline-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 16px 0;
}

.pipeline-step {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-top: 3px solid #1d4ed8;
  border-radius: 10px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pipeline-step-num {
  font-size: 11px;
  font-weight: 700;
  color: #1d4ed8;
  letter-spacing: 0.04em;
  font-family: var(--ant-font-mono);
}

.pipeline-step-name {
  font-size: 14.5px;
  font-weight: 700;
  color: #0f172a;
}

.pipeline-step-desc {
  font-size: 12.5px;
  line-height: 1.6;
  color: #64748b;
  margin: 0;
}

/* 证据分级矩阵表格 */
.evidence-matrix-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  margin: 16px 0;
}

.evidence-matrix-table th {
  background: #f8fafc;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
}

.evidence-matrix-table td {
  padding: 14px 16px;
  font-size: 13px;
  line-height: 1.6;
  color: #475569;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: top;
}

.evidence-matrix-table tr:last-child td {
  border-bottom: none;
}

/* 引用规范卡片 */
.citation-box-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #1d4ed8;
  border-radius: 10px;
  padding: 20px 24px;
  margin: 16px 0;
}

.citation-box-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.citation-box-text {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 12px 14px;
  font-family: var(--ant-font-mono);
  font-size: 12.5px;
  line-height: 1.6;
  color: #1e293b;
  margin: 0 0 10px;
  user-select: all;
}

/* ==========================================================================
   往期研报期刊年鉴样式 (Journal Archive Matrix)
   ========================================================================== */
.archive-overview-banner {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.archive-stats-group {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.archive-stat-node {
  display: flex;
  flex-direction: column;
}

.archive-stat-node .stat-lbl {
  font-size: 12px;
  color: #64748b;
}

.archive-stat-node .stat-num {
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
}

.archive-latest-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 13px;
  color: #1d4ed8;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s;
}

.archive-latest-pill:hover {
  background: #dbeafe;
}

.journal-month-block {
  margin-bottom: 32px;
}

.journal-month-header {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  padding-bottom: 8px;
  border-bottom: 2px solid #e2e8f0;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.journal-issue-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
  transition: all 0.2s ease;
}

.journal-issue-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
  transform: translateY(-1.5px);
}

.archive-calendar-stamp {
  width: 72px;
  height: 72px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
}

.stamp-month {
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  line-height: 1;
  margin-bottom: 3px;
}

.stamp-day {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.journal-body-col {
  flex: 1;
  min-width: 0;
}

.journal-title {
  font-size: 16.5px;
  font-weight: 700;
  margin: 0 0 6px;
  line-height: 1.4;
}

.journal-title a {
  color: #0f172a;
}

.journal-title a:hover {
  color: #1d4ed8;
}

.journal-preview {
  font-size: 13.5px;
  line-height: 1.6;
  color: #475569;
  margin: 0 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.journal-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.journal-meta-tag {
  font-size: 11.5px;
  color: #64748b;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 1px 7px;
  border-radius: 4px;
}

.journal-actions-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
  flex-shrink: 0;
}

.journal-btn-read {
  background: #0f172a;
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 6px;
  white-space: nowrap;
  transition: background 0.15s;
}

.journal-btn-read:hover {
  background: #1e293b;
}

.journal-btn-share {
  font-size: 12px;
  color: #1d4ed8;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .axioms-grid, .pipeline-flow {
    grid-template-columns: 1fr;
  }
  .journal-issue-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .journal-actions-col {
    flex-direction: row;
    align-items: center;
    width: 100%;
    justify-content: space-between;
    padding-top: 10px;
    border-top: 1px solid #f1f5f9;
  }
}


/* ==========================================================================
   投诉监测 · 单行筛选条 (Complaints Filter Bar)
   替代原「高频机构 / 近期采样」两排胶囊墙：机构、日期各收纳为一个胶囊下拉。
   ========================================================================== */
.cflt-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 9px 12px;
  margin: 0 0 18px;
  background: var(--ant-bg-container);
  border: 1px solid var(--ant-border);
  border-radius: var(--ant-radius);
}

.cflt-bar-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* 右槽：当前范围的样本计数（未筛选时显示总量，筛选后显示命中数 / 总量） */
.cflt-bar-right {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.cflt-sum {
  font-size: 12.5px;
  color: var(--ant-text-tertiary);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.cflt-sum b {
  font-size: 13px;
  font-weight: 600;
  color: var(--ant-text);
}

.cflt-sum.is-filtered b {
  color: var(--ant-primary);
}

.cflt-sum-sep {
  margin: 0 6px;
  opacity: 0.45;
}

/* 胶囊左侧属性图标（机构 / 日历） */
.cflt-pill-ico {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  color: var(--ant-text-tertiary);
  transition: color 0.18s ease;
}

.cflt-pill.is-active .cflt-pill-ico,
.cflt-dd[open] .cflt-pill-ico {
  color: var(--ant-primary);
}

.cflt-dd {
  position: relative;
}

.cflt-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 170px;
  height: 32px;
  padding: 0 11px 0 12px;
  background: var(--ant-bg-spotlight);
  border: 1px solid transparent;
  border-radius: var(--ant-radius-full);
  color: var(--ant-text);
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.cflt-pill::-webkit-details-marker {
  display: none;
}

.cflt-pill:hover {
  background: var(--ant-bg-container);
  border-color: var(--ant-primary-border);
}

.cflt-pill-k {
  flex-shrink: 0;
  font-size: 12px;
  color: var(--ant-text-tertiary);
}

/* 值占满剩余宽度：胶囊定宽后箭头贴右、值靠左，两枚胶囊的箭头落在同一竖线上 */
.cflt-pill-v {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 600;
}

.cflt-pill.is-active {
  border-color: var(--ant-primary-border);
  background: var(--ant-primary-bg);
  color: var(--ant-primary);
}

.cflt-pill.is-active .cflt-pill-k {
  color: var(--ant-primary);
  opacity: 0.75;
}

.cflt-dd[open] > .cflt-pill {
  border-color: var(--ant-primary);
  box-shadow: 0 0 0 3px var(--ant-primary-bg);
}

.cflt-caret {
  flex-shrink: 0;
  width: 0;
  height: 0;
  margin-left: auto;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.55;
  transition: transform 0.18s ease;
}

.cflt-dd[open] .cflt-caret {
  transform: rotate(180deg);
}

.cflt-panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 60;
  width: 300px;
  max-width: min(340px, calc(100vw - 48px));
  background: var(--ant-bg-elevated);
  border: 1px solid var(--ant-border);
  border-radius: var(--ant-radius);
  box-shadow: 0 14px 36px -10px rgba(15, 23, 42, 0.22);
  overflow: hidden;
  animation: cfltPanelIn 0.14s ease-out;
}

@keyframes cfltPanelIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.cflt-panel-search {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  border-bottom: 1px solid var(--ant-border-secondary);
  color: var(--ant-text-tertiary);
}

.cflt-panel-search input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  color: var(--ant-text);
  font-size: 13px;
  padding: 2px 0;
}

.cflt-panel-list {
  max-height: 296px;
  overflow-y: auto;
  padding: 6px;
  overscroll-behavior: contain;
}

.cflt-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 34px;
  padding: 0 10px;
  border-radius: var(--ant-radius-sm);
  font-size: 13px;
  color: var(--ant-text-secondary);
  text-decoration: none;
  transition: background 0.14s ease, color 0.14s ease;
}

.cflt-opt:hover {
  background: var(--ant-bg-spotlight);
  color: var(--ant-text);
}

.cflt-opt.is-active {
  background: var(--ant-primary-bg);
  color: var(--ant-primary);
  font-weight: 600;
}

.cflt-opt-label {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cflt-opt-count {
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  color: var(--ant-text-tertiary);
}

.cflt-opt.is-active .cflt-opt-count {
  color: var(--ant-primary);
}

.cflt-opt-check {
  display: inline-flex;
  width: 14px;
  font-size: 12px;
  color: var(--ant-primary);
}

.cflt-opt[hidden] {
  display: none;
}

.cflt-reset {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  color: var(--ant-text-tertiary);
  padding: 6px 11px;
  border-radius: var(--ant-radius-full);
  text-decoration: none;
  transition: color 0.14s ease, background 0.14s ease;
}

.cflt-reset .ant-icon {
  font-size: 13px;
}

.cflt-reset:hover {
  color: var(--ant-primary);
  background: var(--ant-primary-bg);
}

.cflt-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px 0 4px;
}

/* ==========================================================================
   投诉监测卡片 · 元信息行统一基线对齐
   原先「涉诉主体：」误挂 .meta 类（.story .meta 带 margin-bottom:8px），
   在 align-items:center 的 flex 行里被抬升 4px；且行内元素高度 19.8/22.8/25.8px
   三种，居中后文字基线互不对齐。此处统一为 24px 等高盒 + flex 垂直居中。
   ========================================================================== */
.story-source-group {
  align-items: center;
  gap: 8px;
  row-gap: 6px;
}

.story-source-group > * {
  display: inline-flex;
  align-items: center;
  height: 24px;
  margin: 0;
  padding-top: 0;
  padding-bottom: 0;
  font-size: 12px;
  line-height: 1;
}

.story-source-group > .badge {
  padding-left: 8px;
  padding-right: 8px;
  border-radius: var(--ant-radius-sm);
}

.story-date-tag {
  color: var(--ant-text-tertiary);
  font-variant-numeric: tabular-nums;
}

.story-meta-label {
  color: var(--ant-text-tertiary);
  font-size: 12px;
}

.story-source-group > .entity-micro-badge {
  gap: 4px;
  height: 24px;
  padding-left: 8px;
  padding-right: 8px;
  border-radius: var(--ant-radius-sm);
}

/* 「涉诉主体」标签与其机构徽标成组，换行时不会被拆散 */
.story-source-group > .story-entity-group {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  height: auto;
  min-height: 24px;
}

.story-entity-group > * {
  display: inline-flex;
  align-items: center;
  height: 24px;
  margin: 0;
  padding-top: 0;
  padding-bottom: 0;
  font-size: 12px;
  line-height: 1;
}

.story-header-row > .story-ext-link {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding-top: 0;
  padding-bottom: 0;
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
}

/* 单行摘要与双行摘要在列表中保持同一卡片高度，标题/摘要纵向成列对齐 */
.complaints-list .story-summary {
  min-height: calc(2 * 1.65em);
}

/* ==========================================================================
   投诉监测 · 日期日历选择器 (Complaints Date Calendar)
   日期不再列出长串候选，改为月历选择：仅有样本的日期可选，其余置灰。
   ========================================================================== */
.cflt-panel-cal {
  width: 292px;
  padding: 11px 11px 9px;
}

.cflt-cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 8px;
}

.cflt-cal-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--ant-text);
  font-variant-numeric: tabular-nums;
}

.cflt-cal-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  padding: 0;
  border: none;
  border-radius: var(--ant-radius-xs);
  background: transparent;
  color: var(--ant-text-tertiary);
  font-size: 15px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.cflt-cal-nav:hover:not(:disabled) {
  background: var(--ant-bg-spotlight);
  color: var(--ant-primary);
}

.cflt-cal-nav:disabled {
  opacity: 0.28;
  cursor: not-allowed;
}

.cflt-cal-weekday,
.cflt-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}

.cflt-cal-weekday {
  margin-bottom: 3px;
}

.cflt-cal-weekday span {
  text-align: center;
  font-size: 11px;
  color: var(--ant-text-tertiary);
}

.cflt-cal-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  height: 33px;
  border-radius: var(--ant-radius-sm);
  font-size: 12.5px;
  line-height: 1;
  text-decoration: none;
  transition: background 0.14s ease, color 0.14s ease;
}

.cflt-cal-cell.is-blank {
  visibility: hidden;
}

.cflt-cal-cell.is-empty {
  color: var(--ant-text-disabled);
  cursor: default;
}

.cflt-cal-cell.has-sample {
  color: var(--ant-text);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.cflt-cal-cell.has-sample:hover {
  background: var(--ant-bg-spotlight);
  color: var(--ant-primary);
}

.cflt-cal-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--ant-primary);
  opacity: 0.4;
}

.cflt-cal-cell.has-sample:hover .cflt-cal-dot {
  opacity: 1;
}

.cflt-cal-cell.is-today {
  box-shadow: inset 0 0 0 1px var(--ant-primary-border);
}

.cflt-cal-cell.is-selected,
.cflt-cal-cell.is-selected:hover {
  background: var(--ant-primary);
  color: #ffffff;
  box-shadow: none;
}

.cflt-cal-cell.is-selected .cflt-cal-dot {
  background: #ffffff;
  opacity: 1;
}

.cflt-cal-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--ant-border-secondary);
}

.cflt-cal-info {
  font-size: 11.5px;
  color: var(--ant-text-tertiary);
  font-variant-numeric: tabular-nums;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cflt-cal-all {
  flex-shrink: 0;
  font-size: 11.5px;
  color: var(--ant-text-tertiary);
  padding: 3px 8px;
  border-radius: var(--ant-radius-xs);
  text-decoration: none;
  transition: color 0.14s ease, background 0.14s ease;
}

.cflt-cal-all:hover {
  color: var(--ant-primary);
  background: var(--ant-primary-bg);
}

@media (max-width: 640px) {
  .cflt-bar {
    padding: 9px 10px;
    gap: 9px;
  }
  .cflt-bar-left {
    width: 100%;
    gap: 8px;
  }
  .cflt-bar-right {
    width: 100%;
    margin-left: 0;
    justify-content: space-between;
  }
  .cflt-dd {
    flex: 1;
    min-width: 0;
  }
  .cflt-pill {
    width: 100%;
    min-width: 0;
    padding: 0 11px 0 12px;
  }
  .cflt-pill-v {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .cflt-panel {
    width: min(300px, calc(100vw - 48px));
    max-width: calc(100vw - 48px);
  }
  .cflt-panel-cal {
    width: min(292px, calc(100vw - 48px));
  }
  .cflt-dd:last-child .cflt-panel {
    left: auto;
    right: 0;
  }
}

/* ==========================================================================
   移动端适配补丁 (2026-09-11) — 追加式覆盖，集中维护，勿并入上文旧版块
   修复项：
   1) ≤880px 头部导航被 flex 压缩溢出屏幕 → 导航独占一行、可横向滑动
   2) ≤880px 搜索框收起为图标，点击展开浮层（点击外部 / Esc 收起），桌面端不受影响
   3) ≤360px .topic-grid / .report-toc-grid 最小列宽 320/340px 导致卡片溢出
   4) ≤880px 输入框字号 ≥16px，避免 iOS 聚焦时自动放大
   ========================================================================== */

/* 搜索图标按钮：桌面端隐藏 */
.search-toggle {
  display: none;
}

@media (max-width: 880px) {
  .masthead-inner {
    row-gap: 2px;
  }

  /* 导航独占第二行：flex-basis 100% + 不可收缩，强制换行到 brand 行之下 */
  .navigation {
    flex: 0 0 100%;
    width: 100%;
    min-width: 0;
    order: 3;
  }

  /* brand 行右侧只留搜索图标按钮 */
  .header-actions {
    flex: 0 0 auto;
    min-width: 0;
    margin-left: auto;
  }
  .masthead .site-search {
    display: none;
  }
  .search-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: var(--ant-text-secondary);
    cursor: pointer;
  }
  .search-toggle:active {
    background: var(--ant-bg-spotlight);
    color: var(--ant-primary);
  }

  /* 展开态：搜索浮层悬于头部下方，占满可用宽度 */
  .masthead.search-open .site-search {
    display: flex;
    position: absolute;
    top: calc(100% + 8px);
    left: 12px;
    right: 12px;
    z-index: 120;
    margin: 0 auto;
    max-width: 520px;
    padding: 9px 12px;
    background: #ffffff;
    border: 1px solid var(--ant-primary-border);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.14);
  }
  .masthead.search-open .site-search input {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
  }
  .masthead.search-open .search-kbd {
    display: none;
  }

  /* iOS：输入框字号小于 16px 聚焦时页面会自动放大，统一提到 16px */
  .site-search input,
  .filter-field input,
  .filter-field select {
    font-size: 16px;
  }
}

@media (max-width: 360px) {
  .topic-grid,
  .report-toc-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ==========================================================================
   公众号关注引导：右下角悬浮按钮 + 二维码弹层
   配色开关：.wx-follow 上的 --wx-green（微信品牌绿）；想跟站点主色统一就换成 var(--ant-primary)
   ========================================================================== */
.wx-follow {
  --wx-green: #07c160;
  position: fixed;
  right: 20px;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  z-index: 890;
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-end;
  gap: 10px;
}

/* 展开时的透明遮罩：只用于捕获「点击外部关闭」，不遮挡视觉 */
.wx-follow-backdrop {
  position: fixed;
  inset: 0;
  z-index: 889;
  border: 0;
  background: transparent;
}

.wx-follow-backdrop[hidden],
.wx-follow-panel[hidden] {
  display: none;
}

.wx-fab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 21px;
  background: var(--wx-green);
  color: #ffffff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(7, 193, 96, 0.32);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.wx-fab:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(7, 193, 96, 0.38);
}

.wx-fab:active {
  transform: translateY(0);
}

.wx-fab-icon {
  flex: none;
}

.wx-follow.is-open .wx-fab {
  box-shadow: 0 2px 8px rgba(7, 193, 96, 0.3);
}

.wx-follow-panel {
  box-sizing: border-box;
  width: 208px;
  padding: 14px;
  background: var(--ant-bg-container);
  border: 1px solid var(--ant-border);
  border-radius: var(--ant-radius-lg);
  box-shadow: var(--ant-shadow-hover);
}

.wx-follow-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.wx-follow-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--ant-text-secondary);
}

.wx-follow-close {
  padding: 0 2px;
  border: 0;
  background: transparent;
  color: var(--ant-text-tertiary);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.wx-follow-close:hover {
  color: var(--ant-text);
}

.wx-follow-qr {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #ffffff;
  border: 1px solid var(--ant-border-secondary);
  border-radius: 8px;
}

.wx-follow-name {
  margin: 10px 0 4px;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  color: var(--ant-text);
}

.wx-follow-tip {
  margin: 0 0 10px;
  text-align: center;
  font-size: 12px;
  line-height: 1.55;
  color: var(--ant-text-tertiary);
}

.wx-follow-copy {
  width: 100%;
  height: 32px;
  border: 1px solid var(--ant-primary-border);
  border-radius: 6px;
  background: var(--ant-primary-bg);
  color: var(--ant-primary);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.wx-follow-copy:hover {
  background: #dbeafe;
}

.wx-follow-copy.is-done {
  border-color: var(--ant-success-border);
  background: var(--ant-success-bg);
  color: var(--ant-success);
}

@media (max-width: 640px) {
  .wx-follow {
    right: 12px;
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  }

  .wx-fab {
    height: 38px;
    padding: 0 13px;
    font-size: 13px;
  }

  .wx-follow-panel {
    width: min(208px, calc(100vw - 40px));
  }
}

@media print {
  .wx-follow {
    display: none !important;
  }
}
