:root {
  --bg: #f4f7f5;
  --surface: #ffffff;
  --surface-muted: #e9f2ec;
  --text: #17211b;
  --muted: #5e6d63;
  --line: #d5e1d8;
  --accent: #137a42;
  --accent-strong: #095c30;
  --accent-soft: #d8f1df;
  --warning: #855a00;
  --warning-soft: #fff3c7;
  --shadow: 0 14px 42px rgba(23, 70, 42, .08);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; line-height: 1.65; background: var(--bg); }
a { color: var(--accent-strong); }
.site-header { background: linear-gradient(135deg, #0b3d24, #137a42); color: #fff; }
.header-inner, .page { width: min(1160px, calc(100% - 32px)); margin: 0 auto; }
.header-inner { padding: 24px 0 22px; }
.brand { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand a { color: #fff; text-decoration: none; }
.brand h1 { margin: 0; font-size: clamp(1.35rem, 3vw, 2rem); letter-spacing: -.03em; }
.brand p { margin: 4px 0 0; color: #d9f1e2; font-size: .9rem; }
.nav { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.nav a { color: #e6f8eb; text-decoration: none; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; padding: 5px 12px; font-size: .86rem; }
.nav a:hover { background: rgba(255,255,255,.15); }
.page { padding: 32px 0 64px; }
.hero { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); padding: clamp(22px, 4vw, 42px); }
.eyebrow { margin: 0 0 7px; color: var(--accent); font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; }
h2, h3 { line-height: 1.25; letter-spacing: -.025em; }
.hero h2 { margin: 0; font-size: clamp(1.75rem, 5vw, 3rem); }
.hero .lede { max-width: 760px; color: var(--muted); font-size: 1.04rem; margin: 14px 0 0; }
.status-banner { display: grid; gap: 4px; margin-top: 22px; padding: 14px 16px; border-left: 4px solid #d59e19; border-radius: 12px; background: var(--warning-soft); color: var(--warning); }
.status-banner strong { color: #674500; }
.section { margin-top: 34px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.section-heading h2 { margin: 0; font-size: 1.45rem; }
.section-heading p { margin: 0; color: var(--muted); font-size: .9rem; }
.latest-grid, .card-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; min-width: 0; }
.report-card, .lab-card { display: block; min-width: 0; max-width: 100%; overflow: hidden; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); text-decoration: none; color: inherit; box-shadow: 0 4px 18px rgba(20,70,38,.04); transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease; }
.report-card:hover, .lab-card:hover { transform: translateY(-2px); border-color: #8bcaa1; box-shadow: var(--shadow); }
.report-card h3, .lab-card h3 { margin: 9px 0 6px; font-size: 1.03rem; overflow-wrap: anywhere; word-break: break-all; }
.report-card p, .lab-card p { margin: 0; color: var(--muted); font-size: .9rem; overflow-wrap: anywhere; word-break: break-all; }
.card-meta, .report-meta { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; color: var(--muted); font-size: .8rem; }
.badge { display: inline-flex; align-items: center; border-radius: 999px; padding: 2px 8px; background: var(--accent-soft); color: var(--accent-strong); font-size: .74rem; font-weight: 750; }
.badge.warning { background: var(--warning-soft); color: var(--warning); }
.badge.muted { background: #edf0ee; color: #59665d; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-muted); }
.filters label { display: grid; gap: 3px; color: var(--muted); font-size: .78rem; font-weight: 700; }
.filters input, .filters select { min-width: 150px; border: 1px solid #b9ccbe; border-radius: 8px; background: #fff; color: var(--text); padding: 8px 10px; font: inherit; font-size: .88rem; }
.count { margin: 12px 0; color: var(--muted); font-size: .88rem; }
.empty { padding: 24px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: 14px; }
.report-shell { max-width: 900px; margin: 0 auto; }
.report-header { margin-bottom: 22px; }
.report-header h2 { margin: 8px 0; font-size: clamp(1.7rem, 4vw, 2.65rem); }
.report-intro { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; margin: 22px 0; }
.metric { padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.metric small { display: block; color: var(--muted); font-size: .75rem; }
.metric strong { display: block; margin-top: 3px; font-size: 1rem; }
.source-line { margin: 14px 0 0; color: var(--muted); font-size: .82rem; }
.source-line a { overflow-wrap: anywhere; }
.report-body { padding: clamp(18px, 4vw, 38px); border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow); overflow-wrap: anywhere; }
.report-body h1, .report-body h2, .report-body h3, .report-body h4 { color: var(--text); margin-top: 1.5em; }
.report-body h1:first-child, .report-body h2:first-child, .report-body h3:first-child { margin-top: 0; }
.report-body p { margin: .8em 0; }
.report-body img { display: block; max-width: 100%; height: auto; margin: 18px auto; border-radius: 10px; }
.report-body table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; margin: 18px 0; font-size: .9rem; }
.report-body th, .report-body td { min-width: 84px; padding: 8px 10px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.report-body th { background: var(--surface-muted); }
.report-body blockquote { margin: 18px 0; padding: 10px 16px; border-left: 4px solid #86bf99; background: var(--surface-muted); color: var(--muted); }
.report-body pre { overflow-x: auto; padding: 14px; border-radius: 10px; background: #1d2921; color: #e4f4e8; }
.report-body code { padding: 1px 4px; border-radius: 4px; background: #e7efe9; color: #17452a; }
.report-body pre code { padding: 0; background: transparent; color: inherit; }
.backlinks { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.button-link { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 9px; background: var(--accent); color: #fff; text-decoration: none; font-size: .88rem; font-weight: 700; }
.button-link.secondary { background: var(--surface); color: var(--accent-strong); border: 1px solid var(--line); }
.archive-months { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.month-card { padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); text-decoration: none; color: inherit; }
.month-card strong { display: block; color: var(--accent-strong); font-size: 1.25rem; }
.site-footer { padding: 28px 0 42px; color: var(--muted); font-size: .82rem; }
@media (max-width: 760px) {
  .header-inner, .page { width: min(100% - 22px, 1160px); }
  .brand { align-items: flex-start; flex-direction: column; gap: 10px; }
  .latest-grid, .card-grid { grid-template-columns: 1fr; }
  .report-intro { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .archive-months { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .page { padding-top: 18px; }
}
@media (max-width: 420px) {
  .report-intro { grid-template-columns: 1fr; }
  .archive-months { grid-template-columns: 1fr; }
  .filters input, .filters select { width: 100%; min-width: 0; }
  .filters label { width: 100%; }
}
