
:root {
  color-scheme: light;
  --bg: #f4f7f8;
  --panel: #ffffff;
  --ink: #172026;
  --muted: #65727d;
  --line: #d7e0e5;
  --accent: #0f766e;
  --accent-strong: #115e59;
  --warm: #a16207;
  --shadow: 0 18px 45px rgba(23, 32, 38, 0.08);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a { color: inherit; }

.hero {
  min-height: 340px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 32px;
  padding: 64px clamp(20px, 5vw, 72px) 32px;
  background: linear-gradient(135deg, #f9fbfb 0%, #e7f0ee 48%, #f5efe5 100%);
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 0.98;
  letter-spacing: 0;
}

.lede {
  max-width: 660px;
  color: var(--muted);
  font-size: 18px;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 12px;
}

.stat-grid div,
.report-card,
.article-card,
.toolbar {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.stat-grid div { padding: 18px; }
.stat-grid strong { display: block; font-size: 32px; }
.stat-grid span { color: var(--muted); }

.toolbar {
  margin: 24px clamp(20px, 5vw, 72px);
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: none;
}

.toolbar label {
  font-weight: 700;
  white-space: nowrap;
}

input[type="search"] {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 12px;
  font: inherit;
}

.report-grid {
  padding: 0 clamp(20px, 5vw, 72px) 72px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

.report-card a {
  display: block;
  min-height: 170px;
  padding: 18px;
  text-decoration: none;
}

.report-card span {
  color: var(--warm);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.report-card h2 { margin: 18px 0 8px; font-size: 28px; }
.report-card p { min-height: 48px; color: var(--muted); }
.report-card em { display: block; margin-top: 10px; color: var(--accent-strong); font-style: normal; font-weight: 800; }

.layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  min-height: 100vh;
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: auto;
  padding: 22px;
  background: #172026;
  color: #eef6f5;
}

.back-link {
  display: inline-block;
  margin-bottom: 28px;
  color: #9be0d7;
  font-weight: 700;
}

.sidebar h2 {
  margin: 0 0 12px;
  font-size: 16px;
  color: #b9c7cc;
}

.sidebar nav {
  display: grid;
  gap: 6px;
}

.sidebar nav a {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 6px;
  color: #eef6f5;
  text-decoration: none;
}

.sidebar nav a.current,
.sidebar nav a:hover {
  background: rgba(255, 255, 255, 0.12);
}

.report {
  padding-bottom: 72px;
}

.report-header {
  padding: 48px clamp(20px, 5vw, 64px) 12px;
}

.summary-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.summary-row span,
.filter-row button {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  padding: 8px 12px;
  color: var(--muted);
  font-weight: 700;
}

.sticky-tools {
  position: sticky;
  top: 0;
  z-index: 2;
  margin-top: 0;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-row button {
  cursor: pointer;
}

.filter-row button.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

.article-list {
  display: grid;
  gap: 18px;
  padding: 0 clamp(20px, 5vw, 64px);
}

.final-report {
  margin: 18px clamp(20px, 5vw, 64px) 26px;
  padding: 28px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.final-report h1,
.final-report h2,
.final-report h3,
.final-report h4 {
  max-width: 980px;
  line-height: 1.15;
}

.final-report h1 { font-size: 34px; }
.final-report h2 { margin-top: 32px; font-size: 25px; border-top: 1px solid var(--line); padding-top: 22px; }
.final-report h3 { margin-top: 24px; font-size: 20px; }
.final-report p,
.final-report li {
  max-width: 980px;
}

.table-wrap {
  overflow-x: auto;
  margin: 16px 0 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
  background: #ffffff;
}

th,
td {
  padding: 11px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  background: #eef6f5;
  color: var(--accent-strong);
}

.article-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 260px);
  gap: 18px;
  padding: 22px;
}

.article-card h2 {
  margin: 8px 0 14px;
  font-size: 26px;
  line-height: 1.18;
}

.article-card h2 a {
  text-decoration-color: rgba(15, 118, 110, 0.35);
}

.article-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.summary p { margin: 0 0 10px; }
.summary ul { margin: 0 0 12px 20px; padding: 0; }
.summary li { margin: 6px 0; }

.source-link {
  display: inline-block;
  margin-top: 8px;
  color: var(--accent-strong);
  font-weight: 800;
}

.image-strip {
  display: grid;
  gap: 10px;
  align-content: start;
}

.image-strip img {
  width: 100%;
  max-height: 190px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--line);
}

.empty {
  margin: 32px clamp(20px, 5vw, 72px);
  color: var(--muted);
}

[hidden] { display: none !important; }

@media (max-width: 820px) {
  .hero,
  .layout,
  .article-card {
    grid-template-columns: 1fr;
  }

  .hero { min-height: auto; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }

  .sidebar {
    position: static;
    height: auto;
  }

  .sidebar nav {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  }

  .toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .sticky-tools {
    position: static;
  }
}
