/* 只读快照专用样式，叠加在仪表盘原有 style.css / finance.css 之上 */
.snapshot-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  padding: 10px 14px;
  border-radius: 10px;
  background: #0f2740;
  color: #dbe7f3;
  font-size: 12.5px;
  line-height: 1.55;
  box-shadow: 0 8px 20px rgba(15, 39, 64, 0.16);
}
.snapshot-bar b {
  color: #ffffff;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.snapshot-bar .snap-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.18);
}
.snapshot-bar .snap-sep {
  opacity: 0.45;
}
.snapshot-bar .snap-back {
  margin-left: auto;
  color: #7dd3fc;
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
}
.snapshot-bar .snap-back:hover {
  text-decoration: underline;
}
/* 隐藏仅在本机可用、线上快照无法支撑的页签（跨资产分析 / 策略实验室 / 更新与导入） */
nav button[data-page="compare"],
nav button[data-page="research"],
nav button[data-page="updates"] {
  display: none !important;
}
#compare,
#research,
#updates {
  display: none !important;
}

/* 隐藏依赖本机写入 / 计算的按钮（数据同步、跨资产对比、详情导出） */
#update-all,
#sync-all,
#sync-selected,
#compare-selected,
#run-compare,
#detail-export {
  display: none !important;
}

@media (max-width: 720px) {
  .snapshot-bar {
    font-size: 12px;
  }
  .snapshot-bar .snap-back {
    margin-left: 0;
  }
}
