:root {
  --ink: #17202a;
  --muted: #5f6872;
  --line: #d9e0e5;
  --brand: #0d4d7a;
  --brand-dark: #0a3655;
  --accent: #c6763f;
  --surface: #f5f8fa;
  --white: #fff;
}

* { box-sizing: border-box; }
html { background: #edf2f5; }
body { margin: 0; color: var(--ink); font: 15px/1.55 Arial, sans-serif; }
a { color: var(--brand); }

.report-toolbar {
  position: sticky;
  z-index: 10;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem max(1rem, calc((100vw - 1080px) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
}
.report-brand { display: grid; text-decoration: none; letter-spacing: 0.08em; }
.report-brand span { font-weight: 800; color: var(--brand-dark); }
.report-brand small { color: var(--muted); font-size: 0.62rem; }
.report-toolbar nav { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.report-toolbar nav a,
.report-toolbar button,
.report-cta a {
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--brand);
  border-radius: 8px;
  background: var(--white);
  color: var(--brand);
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.report-toolbar button,
.report-cta a { background: var(--brand); color: var(--white); }

.report-page {
  width: min(1080px, calc(100% - 2rem));
  margin: 1.5rem auto 3rem;
  padding: clamp(1.2rem, 4vw, 3rem);
  background: var(--white);
  box-shadow: 0 24px 70px rgba(23, 32, 42, 0.14);
}
.synthetic-banner {
  padding: 0.7rem 0.9rem;
  border: 1px solid #e8c8b2;
  border-radius: 8px;
  background: #fff7ef;
  color: #70421f;
}
.report-cover { display: flex; justify-content: space-between; gap: 2rem; margin: 2.5rem 0; }
.report-cover h1 { max-width: 720px; margin: 0.2rem 0; font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.05; color: var(--brand-dark); }
.eyebrow { margin: 0; color: var(--accent); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.report-status { min-width: 210px; align-self: end; display: grid; gap: 0.25rem; padding: 1rem; border-radius: 10px; background: var(--surface); }
.report-status span,
.report-status small { color: var(--muted); }
section { padding: 1.5rem 0; border-top: 1px solid var(--line); }
h2 { margin: 0 0 0.8rem; color: var(--brand-dark); font-size: 1.35rem; }
.lead { max-width: 850px; font-size: 1.08rem; }
.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.8rem; margin-top: 1.25rem; }
.metric-grid article { display: grid; gap: 0.2rem; padding: 1rem; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.metric-grid span,
.metric-grid small { color: var(--muted); }
.metric-grid strong { color: var(--brand-dark); font-size: 1.45rem; }
.report-table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
th,
td { padding: 0.7rem 0.75rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: var(--brand); color: var(--white); }
tbody tr:nth-child(even) { background: var(--surface); }
.report-method { padding: 1.2rem; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.report-cta { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; margin-top: 1.5rem; padding: 1.5rem; border: 0; border-radius: 12px; background: var(--brand-dark); color: var(--white); }
.report-cta h2 { color: var(--white); }
.report-cta p { margin-bottom: 0; }
.report-cta a { flex: 0 0 auto; background: var(--white); color: var(--brand-dark); border-color: var(--white); }
.report-disclaimer { margin: 1.5rem 0 0; color: var(--muted); font-size: 0.8rem; }

@media (max-width: 760px) {
  .report-toolbar,
  .report-cover,
  .report-cta { align-items: flex-start; flex-direction: column; }
  .report-toolbar { position: static; }
  .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .report-status { align-self: stretch; }
}

@media print {
  @page { size: A4; margin: 12mm 10mm; }
  html,
  body { background: var(--white); print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .report-toolbar { display: none; }
  .report-page { width: auto; margin: 0; padding: 0; box-shadow: none; }
  .report-cover { margin: 1.4rem 0 2rem; }
  .report-cover h1 { font-size: 2.35rem; }
  section { break-inside: avoid; padding: 1rem 0; }
  .report-table-wrap { overflow: visible; }
  .report-cta { display: none; }
  table { font-size: 0.78rem; }
  th,
  td { padding: 0.45rem 0.5rem; }
}
