/* 股票日报归档 — 简洁现代中文可读 */
:root {
  --bg: #f6f7f9;
  --card: #ffffff;
  --text: #1a1d26;
  --muted: #5c6578;
  --border: #e2e6ef;
  --accent: #1a6fb5;
  --accent-soft: #e8f2fb;
  --tag-daily: #0d7a4f;
  --tag-analysis: #8a4b0f;
  --tag-vl: #5b3d9e;
}
* { box-sizing: border-box; }
html { font-size: 16px; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 920px; margin: 0 auto; padding: 0.45rem 1rem 3rem; }
header.site {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  padding: 0.4rem 0;
  margin-bottom: 0.25rem;
}
header.site .wrap {
  padding-bottom: 0; padding-top: 0;
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
}
header.site h1 { margin: 0; font-size: 1.35rem; font-weight: 700; line-height: 1.3; }
.brand { display: flex; align-items: center; gap: 0.65rem; }
header.site .brand + p { margin: 0.25rem 0 0; color: var(--muted); font-size: 0.9rem; }
.brand-logo {
  width: 32px; height: 32px;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
}
@media (min-width: 768px) {
  .brand-logo { width: 36px; height: 36px; }
}
@media (max-width: 640px) {
  .brand-logo { width: 28px; height: 28px; }
}
.nav-back {
  font-size: 0.9rem; margin: 0; display: inline-block;
  flex-shrink: 0; white-space: nowrap;
}
main .nav-back { margin-bottom: 1rem; display: block; text-align: right; }
.nav-back-icon {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  text-decoration: none;
  border-radius: 999px;
  line-height: 0;
  flex-shrink: 0;
  padding: 2px;
}
.nav-back-icon:hover {
  color: var(--accent);
  text-decoration: none;
  background: var(--accent-soft);
}
.nav-back-icon svg { display: block; }
.filters {
  display: flex; flex-wrap: nowrap; gap: 0.3rem;
  background: var(--card); border: 1px solid var(--border);
  border-radius: 10px; padding: 0.4rem 0.5rem; margin-bottom: 0.55rem;
  align-items: center;
}
.filters > select {
  display: block;
  flex: 1 1 0; min-width: 0;
  margin: 0;
}
.filters select {
  min-width: 72px; width: 100%; max-width: 100%;
  padding: 0.28rem 0.28rem;
  border: 1px solid var(--border); border-radius: 6px;
  font-size: 0.78rem; background: #fff; color: var(--text);
}
@media (min-width: 480px) {
  .filters { gap: 0.45rem; padding: 0.55rem 0.7rem; }
  .filters select { font-size: 0.88rem; padding: 0.35rem 0.45rem; min-width: 88px; }
}
.table-wrap { overflow-x: auto; border-radius: 10px; border: 1px solid var(--border); background: var(--card); }
table.reports { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
table.reports th, table.reports td {
  padding: 0.7rem 0.85rem; text-align: left; border-bottom: 1px solid var(--border);
}
table.reports th {
  background: #f0f3f8; font-size: 0.8rem; color: var(--muted);
  font-weight: 600; white-space: nowrap;
}
table.reports tr:last-child td { border-bottom: none; }
table.reports tr:hover td { background: #fafbfd; }
table.reports tr.hidden { display: none; }
.tag {
  display: inline-block; padding: 0.15rem 0.5rem; border-radius: 999px;
  font-size: 0.75rem; font-weight: 600; white-space: nowrap;
}
.tag-daily { background: #e6f7ef; color: var(--tag-daily); }
.tag-analysis { background: #fff3e6; color: var(--tag-analysis); }
.tag-valueline, .tag-valueline-overview { background: #f0eaf8; color: var(--tag-vl); }
.stock-chip {
  display: inline-block; background: var(--accent-soft); color: var(--accent);
  padding: 0.1rem 0.45rem; border-radius: 4px; font-size: 0.85rem; font-weight: 600;
}
.article {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 10px; padding: 1.5rem 1.35rem; margin-top: 0.5rem;
}
.article h1 { font-size: 1.4rem; margin-top: 0; line-height: 1.35; }
.article h2 { font-size: 1.15rem; margin-top: 1.6rem; border-bottom: 1px solid var(--border); padding-bottom: 0.35rem; }
.article h3 { font-size: 1.05rem; }
.article table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: 0.9rem; overflow-x: auto; display: block; }
.article th, .article td { border: 1px solid var(--border); padding: 0.4rem 0.55rem; }
.article th { background: #f0f3f8; }
.article blockquote {
  margin: 1rem 0; padding: 0.6rem 1rem; border-left: 3px solid var(--accent);
  background: var(--accent-soft); color: var(--muted);
}
.article code { background: #f0f3f8; padding: 0.1rem 0.35rem; border-radius: 3px; font-size: 0.88em; }
.article pre { background: #1a1d26; color: #e8eaed; padding: 1rem; border-radius: 8px; overflow-x: auto; }
.article pre code { background: none; color: inherit; padding: 0; }
.meta-bar {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; align-items: center;
  margin-bottom: 1rem; font-size: 0.9rem; color: var(--muted);
}
.pdf-box {
  background: var(--accent-soft); border: 1px solid #c5daf0; border-radius: 8px;
  padding: 1rem 1.15rem; margin: 1rem 0;
}
.pdf-box a.btn {
  display: inline-block; margin-top: 0.5rem; background: var(--accent); color: #fff;
  padding: 0.45rem 1rem; border-radius: 6px; font-weight: 600; text-decoration: none;
}
.pdf-box a.btn:hover { opacity: 0.92; text-decoration: none; }
.summary-pre {
  white-space: pre-wrap; font-family: inherit; background: #fafbfd;
  border: 1px solid var(--border); border-radius: 8px; padding: 1rem; font-size: 0.95rem;
}
footer.site {
  margin-top: 2.5rem; padding-top: 1rem; border-top: 1px solid var(--border);
  font-size: 0.8rem; color: var(--muted); text-align: center;
}
.empty-hint { padding: 1.5rem; text-align: center; color: var(--muted); display: none; }
.empty-hint.show { display: block; }
@media (max-width: 640px) {
  .wrap { padding: 0.4rem 0.75rem 2.5rem; }
  header.site h1 { font-size: 1.2rem; }
  table.reports th:nth-child(2), table.reports td:nth-child(2) { display: none; }
  .article { padding: 1.1rem 0.9rem; }
  .article table { font-size: 0.82rem; }
}

.pager-bar {
  width: 100%;
  margin-top: 1rem;
  display: flex;
  justify-content: flex-end;
}
.pager.ant-pager {
  display: inline-flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin: 0;
  font-size: 14px;
  color: #595959;
  white-space: nowrap;
}
.pager.ant-pager > * {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  vertical-align: middle;
}
.pager-total { white-space: nowrap; color: #595959; }
.pager-arrow, .pager-num {
  box-sizing: border-box;
  min-width: 32px;
  height: 32px;
  padding: 0 6px;
  margin: 0;
  border: 1px solid #d9d9d9;
  border-radius: 2px;
  background: #fff;
  color: #262626;
  font-size: 14px;
  line-height: 30px;
  text-align: center;
  cursor: pointer;
}
.pager-arrow:hover:not(:disabled), .pager-num:hover:not(.active) { border-color: #1890ff; color: #1890ff; }
.pager-num.active { background: #1890ff; border-color: #1890ff; color: #fff; }
.pager-arrow:disabled { opacity: 0.4; cursor: not-allowed; color: #bfbfbf; }
.pager-pages {
  display: inline-flex !important;
  flex-direction: row !important;
  gap: 8px;
  align-items: center;
}
.pager-ellipsis { padding: 0 4px; color: #8c8c8c; }
.pager-jump {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.pager-jump input {
  box-sizing: border-box;
  width: 50px;
  height: 32px;
  margin: 0;
  padding: 0 4px;
  text-align: center;
  border: 1px solid #d9d9d9;
  border-radius: 2px;
  font-size: 14px;
}

.pager-size {
  box-sizing: border-box;
  height: 32px;
  padding: 0 8px;
  margin: 0;
  border: 1px solid #d9d9d9;
  border-radius: 2px;
  background: #fff;
  color: #262626;
  font-size: 14px;
  flex-shrink: 0;
}


@media (max-width: 420px) {
  .filters { gap: 0.25rem; padding: 0.4rem 0.4rem; }
  .filters > select, .filters select {
    font-size: 0.74rem; padding: 0.25rem 0.2rem; min-width: 72px;
  }
}
