/* 上涨分析 · 静态档案模式
 * 隐藏需要原系统后端支持的写操作入口，避免误导点击。 */

/* 顶部工具条：运行 / 补卡 / 后台值守 / 补做 */
#run-today-btn,
#backfill-btn,
#autopilot-btn,
#custom-analyze-button {
  display: none !important;
}

/* 个股卡片：重新分析（含失败清单里的重跑按钮） */
#stock-list button[data-reanalyze],
#failure-list button[data-reanalyze] {
  display: none !important;
}

/* 导出台（依赖后端打包下载） */
#hero-export {
  display: none !important;
}

/* 视图切换：静态数据只包含上涨分析，隐藏个股档案入口 */
#view-archive-btn {
  display: none !important;
}

/* 个股卡片：双检按钮（依赖后端档案与实时数据，静态版不可用） */
#stock-list button[data-open-dual-detail],
#failure-list button[data-open-dual-detail] {
  display: none !important;
}

/* 个股卡片：行业细分 / 防雷筛查（属于其他模块页面，未随本次迁移） */
#stock-list a.analysis-toggle__button--industry,
#stock-list a.analysis-toggle__button--risk {
  display: none !important;
}

/* 静态版：隐藏空壳操作卡（手动运行 / 自动值守两张卡整体不可用） */
.toolbar__actions {
  display: none !important;
}

/* 静态版：隐藏「分析范围」输入框（DOM 保留，避免 JS 空引用报错） */
label.field:has(#limit-select) {
  display: none !important;
}

#limit-select {
  display: none !important;
}

/* 静态版：失败清单属于运营视角，访客无意义 */
#failures-panel {
  display: none !important;
}

/* 数据新鲜度提示条（JS 动态填充，7 天内默认状态） */
.rise-freshness-banner {
  margin-top: 12px;
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1.6;
  border-left: 3px solid #5b8db8;
  border-radius: 6px;
  background: #e8f1f8;
  color: #33506b;
}

.rise-freshness-banner.is-stale {
  border-left-color: #d99a2b;
  background: #fdf3e0;
  color: #8a5a00;
}

.rise-freshness-banner.is-very-stale {
  border-left-color: #d05a5a;
  background: #fdeaea;
  color: #a03030;
  font-weight: 600;
}

/* 模块页导航：当前页高亮 */
.rise-site-nav__links a.is-current {
  color: #7dd3fc;
  font-weight: 600;
}

/* 站点标准页脚 */
.rise-footer {
  text-align: center;
  padding: 24px;
  color: #64748b;
  font-size: 13px;
}

.rise-footer a {
  color: #7dd3fc;
  text-decoration: none;
}

.rise-footer a:hover {
  text-decoration: underline;
}

/* 静态版空态兜底：隐藏指向缺失档案/未配对目标的链接 */
#stock-list .doc-link[href*="prior-doc"],
#stock-list [data-analyze-missing],
#stock-list [data-open-missing-pair] {
  display: none !important;
}

/* AI 生成内容标识（2025-09-01《人工智能生成合成内容标识办法》要求） */
.rise-ai-notice {
  margin-top: 10px;
  padding: 10px 14px;
  border-left: 3px solid #d97706;
  background: #fffbeb;
  color: #7c4a03;
  font-size: 13px;
  line-height: 1.6;
  border-radius: 6px;
}
