:root {
  color-scheme: light;
  font-family: Arial, "Microsoft YaHei", "PingFang SC", sans-serif;
  background: #f3f5f2;
  color: #172026;
  font-size: 16px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  background: #f3f5f2;
}

a {
  color: #146b63;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding: 22px clamp(16px, 4vw, 52px);
  background: #ffffff;
  border-bottom: 1px solid #d9ded8;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 6px;
  font-size: 24px;
  line-height: 1.25;
}

.topbar p {
  margin-bottom: 0;
  color: #66736f;
  font-size: 14px;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

nav a,
button {
  min-height: 38px;
  border: 1px solid #b9c7c0;
  background: #ffffff;
  color: #172026;
  border-radius: 6px;
  padding: 8px 12px;
  text-decoration: none;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
}

button:hover,
nav a:hover {
  border-color: #146b63;
}

.news-shell {
  width: min(1480px, 100%);
  margin: 0 auto;
  padding: 20px clamp(14px, 3vw, 40px) 44px;
}

.report-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  padding: 18px 0 14px;
}

.eyebrow {
  margin-bottom: 6px;
  color: #7a4f17;
  font-size: 13px;
  font-weight: 700;
}

.report-head h2 {
  margin-bottom: 8px;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.2;
}

.muted {
  color: #66736f;
  font-size: 13px;
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.status-card {
  min-height: 76px;
  padding: 12px;
  border: 1px solid #d9ded8;
  border-radius: 8px;
  background: #ffffff;
}

.status-card span {
  display: block;
  margin-bottom: 8px;
  color: #66736f;
  font-size: 12px;
}

.status-card strong {
  display: block;
  color: #172026;
  font-size: 19px;
  line-height: 1.2;
}

.reader-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 18px;
  align-items: start;
}

.report-reader,
.rail-section,
.single,
.panel {
  border: 1px solid #d9ded8;
  border-radius: 8px;
  background: #ffffff;
}

.report-reader {
  min-width: 0;
  padding: clamp(18px, 3vw, 34px);
}

.report-reader > h1 {
  margin-bottom: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid #d9ded8;
  font-size: clamp(24px, 3vw, 36px);
}

.report-meta-line,
.source-note {
  margin-bottom: 8px;
  color: #66736f;
  font-size: 14px;
}

.report-section {
  padding: 22px 0;
  border-top: 1px solid #e4e8e2;
}

.report-section:first-of-type {
  border-top: 0;
}

.report-section h2 {
  margin-bottom: 14px;
  color: #183f3b;
  font-size: 22px;
  line-height: 1.3;
}

.report-section p {
  line-height: 1.72;
}

.report-section ul,
.top-lines ol {
  margin: 0;
  padding-left: 20px;
}

.report-section li,
.top-lines li {
  margin-bottom: 9px;
  line-height: 1.65;
}

.section-market,
.section-verify {
  background: #fbfcf8;
  margin: 18px -14px 0;
  padding: 18px 14px;
  border: 1px solid #e2e6da;
  border-radius: 8px;
}

.detail-card {
  margin: 14px 0;
  padding: 16px;
  border: 1px solid #d9ded8;
  border-left: 4px solid #146b63;
  border-radius: 8px;
  background: #fbfcf8;
}

.detail-card h3 {
  margin-bottom: 12px;
  font-size: 19px;
  line-height: 1.35;
}

.detail-card ul {
  padding-left: 18px;
}

.detail-card li {
  margin-bottom: 8px;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid #d9ded8;
  border-radius: 8px;
  background: #ffffff;
}

table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 14px;
}

th,
td {
  padding: 10px 12px;
  border-bottom: 1px solid #e4e8e2;
  text-align: left;
  vertical-align: top;
}

th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #eef3ee;
  color: #26342f;
  font-weight: 700;
}

td:nth-child(3),
td:nth-child(4),
td:nth-child(5),
td:nth-child(6) {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.side-rail {
  display: grid;
  gap: 14px;
  position: sticky;
  top: 14px;
}

.rail-section {
  padding: 16px;
}

.rail-section h2 {
  margin-bottom: 12px;
  font-size: 17px;
}

.top-lines li {
  padding-bottom: 9px;
  border-bottom: 1px solid #e4e8e2;
}

.compact-list {
  display: grid;
  gap: 8px;
}

.compact-report {
  display: grid;
  gap: 5px;
  padding: 10px 0;
  border-top: 1px solid #e4e8e2;
  color: inherit;
  text-decoration: none;
}

.compact-report:first-child {
  border-top: 0;
}

.compact-report strong {
  font-size: 14px;
  line-height: 1.45;
}

.compact-report span {
  color: #66736f;
  font-size: 12px;
}

.empty-state {
  margin: 0;
  padding: 18px;
  border: 1px dashed #b9c7c0;
  border-radius: 8px;
  color: #66736f;
}

.single {
  max-width: 960px;
  padding: 18px clamp(16px, 4vw, 48px);
  margin: 18px auto;
}

.panel {
  padding: 18px;
}

.form {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 6px;
  font-weight: 600;
}

input,
select,
textarea {
  border: 1px solid #b9c7c0;
  border-radius: 6px;
  padding: 9px 10px;
  font: inherit;
}

pre,
code {
  overflow-wrap: anywhere;
  font-family: "Consolas", "SFMono-Regular", monospace;
}

@media (max-width: 1040px) {
  .reader-layout {
    grid-template-columns: 1fr;
  }

  .side-rail {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .topbar,
  .report-head {
    display: block;
  }

  nav {
    margin-top: 14px;
  }

  .report-head button {
    margin-top: 12px;
    width: 100%;
  }

  .status-grid,
  .side-rail {
    grid-template-columns: 1fr 1fr;
  }

  .report-reader {
    padding: 16px;
  }
}

@media (max-width: 520px) {
  .status-grid,
  .side-rail {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 21px;
  }

  .report-section h2 {
    font-size: 19px;
  }

  .detail-card {
    padding: 13px;
  }
}
