* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--color-page);
  color: var(--color-text);
  font-family: var(--font-body);
  line-height: 1.6;
}
a { color: inherit; }
.skip {
  position: fixed;
  left: 12px;
  top: -80px;
  z-index: 10;
  background: var(--color-surface-inverse);
  color: var(--color-on-inverse);
  padding: 10px 14px;
}
.skip:focus { top: 12px; }
.report-header {
  border-bottom: 1px solid var(--color-border);
  background: var(--color-surface);
}
.report-header-inner,
.report-main,
.report-footer-inner {
  width: min(100% - 40px, 1080px);
  margin: 0 auto;
}
.report-header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand-lockup {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand-lockup img { width: 36px; height: 36px; }
.brand-lockup span { display: grid; line-height: 1.05; }
.brand-lockup strong { font-size: 15px; text-transform: uppercase; }
.brand-lockup small { margin-top: 4px; color: var(--color-text-muted); font-size: 10px; text-transform: uppercase; }
.header-actions { display: flex; align-items: center; gap: 16px; font-size: 14px; }
.header-actions a { text-decoration: none; }
.header-actions a:hover { text-decoration: underline; }
.report-main { padding: 56px 0 72px; }
.report-title {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 44px;
  align-items: end;
  padding-bottom: 42px;
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--color-accent-strong);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 760px; margin-bottom: 14px; font-size: 48px; line-height: 1.08; }
h2 { margin-bottom: 10px; font-size: 26px; line-height: 1.2; }
h3 { margin-bottom: 8px; font-size: 18px; line-height: 1.3; }
.lede { max-width: 720px; margin-bottom: 0; color: var(--color-text-muted); font-size: 18px; }
.report-date { margin: 0; color: var(--color-text-muted); font-size: 14px; text-align: right; }
.score-band {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  border: 1px solid var(--color-border-strong);
  background: var(--color-surface);
}
.score-block {
  min-height: 220px;
  display: grid;
  place-content: center;
  border-right: 1px solid var(--color-border-strong);
  background: var(--color-success);
  color: var(--color-on-inverse);
  text-align: center;
}
.score-block strong { font-size: 72px; line-height: 1; }
.score-block span { margin-top: 8px; font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; }
.score-summary { padding: 38px 42px; }
.status-line { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; font-weight: 700; }
.status-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--color-success); }
.score-summary p:last-child { margin-bottom: 0; color: var(--color-text-muted); }
.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--color-border);
  border-top: 0;
  background: var(--color-surface);
}
.metric { min-height: 118px; padding: 24px; border-right: 1px solid var(--color-border); }
.metric:last-child { border-right: 0; }
.metric strong { display: block; font-size: 30px; line-height: 1.1; }
.metric span { color: var(--color-text-muted); font-size: 13px; }
.report-section { padding: 56px 0; border-bottom: 1px solid var(--color-border); }
.section-heading { max-width: 760px; margin-bottom: 28px; }
.section-heading p { margin-bottom: 0; color: var(--color-text-muted); }
.readiness-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.readiness-item { min-height: 152px; padding: 24px; border: 1px solid var(--color-border); background: var(--color-surface); }
.readiness-item .state { display: inline-block; margin-bottom: 18px; font-family: var(--font-mono); font-size: 11px; font-weight: 700; text-transform: uppercase; }
.readiness-item.ready { border-top: 4px solid var(--color-success); }
.readiness-item.review { border-top: 4px solid var(--color-accent-strong); }
.readiness-item p { margin-bottom: 0; color: var(--color-text-muted); font-size: 14px; }
.evidence-table { width: 100%; border-collapse: collapse; background: var(--color-surface); }
.evidence-table th,
.evidence-table td { padding: 15px 16px; border: 1px solid var(--color-border); text-align: left; vertical-align: top; }
.evidence-table th { width: 34%; background: var(--color-surface-soft); font-size: 13px; }
.priority-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--color-border); background: var(--color-surface); }
.priority-item { min-height: 170px; padding: 24px; border-right: 1px solid var(--color-border); }
.priority-item:last-child { border-right: 0; }
.priority-number { display: block; margin-bottom: 18px; color: var(--color-accent-strong); font-family: var(--font-mono); font-size: 12px; font-weight: 700; }
.priority-item p { margin-bottom: 0; color: var(--color-text-muted); font-size: 14px; }
.boundary {
  padding: 26px 28px;
  border-left: 4px solid var(--color-accent-strong);
  background: var(--color-accent-a08);
}
.boundary p:last-child { margin-bottom: 0; }
.report-footer { border-top: 1px solid var(--color-border); background: var(--color-surface-inverse); color: var(--color-on-inverse); }
.report-footer-inner { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.report-footer p { margin: 0; }
.report-footer a { color: var(--color-accent); }
@media (max-width: 760px) {
  .report-header-inner, .report-main, .report-footer-inner { width: min(100% - 24px, 1080px); }
  .report-header-inner { min-height: 68px; }
  .header-actions a:first-child { display: none; }
  .report-main { padding-top: 36px; }
  .report-title { grid-template-columns: 1fr; gap: 18px; align-items: start; }
  .report-date { text-align: left; }
  h1 { font-size: 36px; }
  .score-band { grid-template-columns: 1fr; }
  .score-block { min-height: 174px; border-right: 0; border-bottom: 1px solid var(--color-border-strong); }
  .score-summary { padding: 28px 24px; }
  .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric:nth-child(2) { border-right: 0; }
  .metric:nth-child(-n+2) { border-bottom: 1px solid var(--color-border); }
  .readiness-grid { grid-template-columns: 1fr; }
  .priority-grid { grid-template-columns: 1fr; }
  .priority-item { min-height: 0; border-right: 0; border-bottom: 1px solid var(--color-border); }
  .priority-item:last-child { border-bottom: 0; }
  .report-footer-inner { min-height: 110px; align-items: flex-start; flex-direction: column; justify-content: center; }
}
@media print {
  @page { size: Letter; margin: 0.5in; }
  body { background: var(--color-surface); color: var(--color-text); }
  .report-header { border-bottom: 2px solid var(--color-text); }
  .skip, .header-actions, .report-footer { display: none; }
  .report-main { width: 100%; padding: 28px 0 0; }
  .report-title { grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: end; padding-bottom: 26px; }
  .report-date { text-align: right; }
  h1 { font-size: 34px; }
  .score-band { grid-template-columns: 180px minmax(0, 1fr); }
  .score-block { min-height: 180px; border-right: 1px solid var(--color-border-strong); border-bottom: 0; }
  .score-summary { padding: 24px; }
  .metric-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .metric { min-height: 86px; padding: 16px; border-right: 1px solid var(--color-border); border-bottom: 0; }
  .metric:last-child { border-right: 0; }
  .score-block { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .report-section { padding: 28px 0; break-inside: auto; }
  .report-section[aria-labelledby="next-sequence"] { break-before: page; padding-top: 0; }
  .readiness-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .readiness-item { min-height: 0; padding: 16px; }
  .priority-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .priority-item { min-height: 150px; padding: 16px; border-right: 1px solid var(--color-border); border-bottom: 0; }
  .readiness-item, .metric, .priority-item, .boundary { break-inside: avoid; }
}
