:root {
  --ink: #f0f4ea;
  --muted: #8e9c91;
  --line: rgba(196, 220, 200, 0.14);
  --panel: rgba(20, 28, 24, 0.76);
  --green: #b6f36b;
  --amber: #f5b95d;
  --red: #ff7a6f;
  --bg: #08100d;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 76% -10%, rgba(91, 140, 88, 0.26), transparent 40%),
    radial-gradient(circle at -10% 40%, rgba(38, 91, 71, 0.18), transparent 34%),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.noise {
  position: fixed;
  inset: 0;
  opacity: 0.045;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

main { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 52px 0 80px; }
header { display: flex; justify-content: space-between; gap: 32px; align-items: flex-start; margin-bottom: 28px; }
h1 { margin: 8px 0 8px; font-family: Georgia, "Times New Roman", serif; font-weight: 500; letter-spacing: -0.04em; font-size: clamp(34px, 5vw, 64px); }
h2 { font-size: 18px; margin: 5px 0 0; font-weight: 620; }
p { line-height: 1.6; }
.subtitle { margin: 0; color: var(--muted); }
.eyebrow, .label { color: var(--green); font-size: 11px; letter-spacing: 0.18em; font-weight: 750; }
.eyebrow { margin: 0; }
.header-meta { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 12px; margin-top: 8px; white-space: nowrap; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 18px var(--amber); }
.dot.ok { background: var(--green); box-shadow: 0 0 18px var(--green); }

.source-alert { display: flex; align-items: center; justify-content: space-between; gap: 20px; border: 1px solid rgba(245, 185, 93, .35); background: rgba(69, 47, 17, .28); padding: 19px 22px; border-radius: 14px; margin-bottom: 18px; }
.source-alert.available { border-color: rgba(182, 243, 107, .35); background: rgba(38, 71, 30, .25); }
.source-alert strong { display: block; margin-top: 5px; }
.source-alert p { margin: 5px 0 0; color: #c2b59d; font-size: 13px; }
.source-alert a { color: var(--ink); text-decoration: none; border: 1px solid var(--line); border-radius: 99px; padding: 8px 12px; font-size: 12px; }

.metric-grid { display: grid; grid-template-columns: 1.45fr repeat(3, 1fr); gap: 12px; margin-bottom: 12px; }
.metric, .panel { position: relative; overflow: hidden; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; backdrop-filter: blur(16px); }
.metric { min-height: 138px; padding: 20px; display: flex; flex-direction: column; justify-content: space-between; }
.metric.primary::after { content: ""; width: 150px; height: 150px; position: absolute; right: -50px; bottom: -80px; border: 1px solid rgba(182, 243, 107, .18); border-radius: 50%; box-shadow: 0 0 80px rgba(182, 243, 107, .07); }
.metric strong { font: 500 clamp(22px, 3vw, 34px)/1 Georgia, serif; letter-spacing: -0.03em; }
.metric small { color: var(--muted); font-size: 11px; }
.panel { padding: 22px; margin-bottom: 12px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.section-head > strong { font: 500 26px Georgia, serif; }
.track { height: 7px; background: rgba(255, 255, 255, .06); border-radius: 99px; overflow: hidden; }
.bar { height: 100%; width: 0; background: linear-gradient(90deg, #6ba04b, var(--green)); border-radius: inherit; transition: width .5s ease; }
.coverage-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 12px; margin-top: 12px; }
.missing { color: var(--amber); font-size: 12px; margin: 14px 0 0; }
.pill { border: 1px solid var(--line); border-radius: 99px; padding: 5px 9px; color: var(--muted); font-size: 11px; }

.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; min-width: 760px; }
th, td { text-align: right; padding: 14px 10px; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
th:first-child, td:first-child, th:nth-child(2), td:nth-child(2) { text-align: left; }
th { color: var(--muted); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; font-weight: 650; }
td { font-size: 13px; }
tbody tr:last-child td { border-bottom: 0; }
.empty { text-align: center !important; color: var(--muted); padding: 34px; }
.status { display: inline-flex; align-items: center; gap: 6px; }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }
.status.complete::before { background: var(--green); }
.status.missing::before { background: var(--red); }

.evidence-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.evidence-grid .panel { margin-bottom: 0; }
dl { margin: 18px 0 0; }
dl div { display: grid; grid-template-columns: 110px 1fr; gap: 15px; border-top: 1px solid var(--line); padding: 11px 0; }
dt { color: var(--muted); font-size: 12px; }
dd { margin: 0; font-size: 12px; overflow-wrap: anywhere; }
.note-panel p { color: #b9c2bb; font-size: 13px; margin-bottom: 0; }
code { color: var(--green); }

@media (max-width: 850px) {
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .evidence-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  main { width: min(100% - 24px, 1180px); padding-top: 28px; }
  header { display: block; }
  .header-meta { margin-top: 18px; }
  .metric-grid { grid-template-columns: 1fr; }
  .source-alert { align-items: flex-start; }
}

