:root {
  color-scheme: light;
  --bg: #f6f7f9;
  --panel: #ffffff;
  --text: #172026;
  --muted: #60707c;
  --line: #d8e0e6;
  --accent: #2368a2;
  --accent-soft: #e2f0fa;
  --green: #247453;
  --red: #a43d3d;
}

* {
  box-sizing: border-box;
}

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

.landing {
  width: min(760px, calc(100vw - 32px));
  margin: 18vh auto 0;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.report {
  width: min(1120px, calc(100vw - 32px));
  margin: 32px auto 64px;
}

.agent-access {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 13px;
}

.agent-access a {
  color: var(--accent);
  font-weight: 700;
}

.report-header,
.section,
.metric-card,
.callout {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.report-header {
  padding: 28px;
  margin-bottom: 18px;
}

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

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

h1 {
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.05;
  letter-spacing: 0;
}

h2 {
  font-size: 22px;
  margin-bottom: 12px;
}

h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.muted,
.meta,
.caption {
  color: var(--muted);
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
  font-size: 14px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
}

.metric-card {
  padding: 18px;
}

.metric-card strong {
  display: block;
  font-size: 28px;
  line-height: 1.1;
  margin-bottom: 6px;
}

.section,
.callout {
  padding: 22px;
  margin-top: 14px;
}

.callout {
  border-color: rgba(35, 104, 162, 0.26);
  background: #f9fcff;
}

ul,
ol {
  margin: 10px 0 0;
  padding-left: 22px;
}

li + li {
  margin-top: 6px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
  font-size: 14px;
}

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

th {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.negative {
  color: var(--red);
  font-weight: 800;
}

.positive {
  color: var(--green);
  font-weight: 800;
}

code {
  padding: 2px 5px;
  border-radius: 4px;
  background: #eef3f6;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92em;
}

@media (max-width: 760px) {
  .landing,
  .report {
    width: min(100vw - 24px, 1120px);
  }

  .landing,
  .report-header,
  .section,
  .callout {
    padding: 18px;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}
