/* @import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;800&display=swap'); */

body {
  background: #5a67d8; /* Distinct background so Brandon knows he's in "Tool Mode" */
  font-family: var(--font-sans);
  margin: 0;
  padding: 2rem 0;
  min-height: 100vh;
  -webkit-print-color-adjust: exact;
}

.report-page {
  width: 8.5in;
  height: 11in; /* US Letter Size */
  background: white;
  margin: 0 auto;
  padding: 3.5rem;
  box-sizing: border-box;
  box-shadow: 0 20px 50px rgba(0,0,0,0.2);
  position: relative;
}

/* HEADER */
.report-header {
  border-bottom: 2px solid #2c5282;
  padding-bottom: 1.5rem;
  margin-bottom: 3rem;
  display: flex; justify-content: space-between; align-items: flex-end;
}
.logo { font-size: var(--text-2xl); font-weight: 800; color: #2c5282; text-transform: uppercase; letter-spacing: -0.02em; }
.meta h1 { margin: 0; font-size: var(--text-lg); color: #2d3748; text-align: right; }
.meta p { margin: 0; font-size: var(--text-sm); color: #718096; text-align: right; }

/* HERO METRIC */
.hero-metric {
  background: #ebf8ff;
  border: 1px solid #bee3f8;
  border-radius: 8px;
  padding: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
}
.hero-metric label { display: block; font-size: var(--text-sm); text-transform: uppercase; letter-spacing: 0.05em; color: #4a5568; margin-bottom: 0.5rem; font-weight: 600; }
.hero-metric .big-number { font-size: var(--text-6xl); font-weight: 800; color: #2b6cb0; line-height: 1; }
.hero-metric .sub-text { font-size: var(--text-sm); color: #718096; margin-top: 0.5rem; display: block; }

/* TABLE */
table { width: 100%; border-collapse: collapse; margin-bottom: 3rem; }
th { text-align: left; color: #718096; font-size: var(--text-xs); text-transform: uppercase; padding-bottom: 0.75rem; border-bottom: 1px solid #e2e8f0; }
td { padding: 1rem 0; border-bottom: 1px solid #edf2f7; color: #2d3748; font-size: var(--text-base); }
.text-right { text-align: right; }
.bold { font-weight: 700; }
.green { color: #276749; }
.highlight td { border-top: 2px solid #2d3748; border-bottom: none; font-size: 1.1rem; padding-top: 1.25rem; }

/* IMPACT GRID */
.impact-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1rem; }
.impact-card { background: #f7fafc; padding: 1.25rem; border-radius: 6px; border: 1px solid #edf2f7; }
.impact-card h4 { margin: 0 0 0.5rem 0; color: #718096; font-size: 0.75rem; text-transform: uppercase; }
.impact-card p { margin: 0 0 0.25rem 0; font-weight: 700; color: #1a202c; font-size: 1rem; }
.impact-card small { font-size: 0.75rem; color: #718096; line-height: 1.3; }

/* FOOTER */
.report-footer { position: absolute; bottom: 3.5rem; left: 3.5rem; right: 3.5rem; display: flex; justify-content: space-between; align-items: flex-end; }
.notes { font-size: 0.7rem; color: #a0aec0; max-width: 60%; line-height: 1.4; }
.signature p { font-size: 0.85rem; margin: 0; color: #2d3748; text-align: right; }

/* PRINT RULES */
@media print {
  body { background: white; padding: 0; margin: 0; }
  .report-page { margin: 0; box-shadow: none; border: none; width: 100%; height: 100%; padding: 0; }
  .no-print { display: none !important; }
  @page { margin: 0.5in; size: letter; }
}