
:root {
  --brand-blue: #006FB7;
  --brand-blue-deep: #005A95;
  --brand-light-blue: #95BBE4;
  --brand-blue-pale: #E8F1F9;
  --brand-dark: #3F3F3E;
  --ink: #1A1A1A;
  --paper: #FFFFFF;
  --paper-warm: #FAFAF7;
  --hairline: #D9D9D6;
  --hairline-soft: #EDEDEA;
  --muted: #8A8A88;
  --score-green: #2A9D55;
  --score-yellow: #E8A317;
  --score-red: #C2392B;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
.m32-logo { display: block; height: auto; width: 100%; max-width: 200px; }

html, body {
  font-family: 'Gotham', -apple-system, sans-serif;
  font-weight: 300;
  color: var(--ink);
  background: #E8E8E5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "kern" 1, "liga" 1;
}

/* ── Page system ─────────────────────────────────────────────────────── */
.doc {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 0;
  gap: 32px;
}
.page {
  position: relative;
  width: 8.5in;
  height: 11in;
  background: var(--paper);
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
  padding: 0.7in 0.75in;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* ── Typography ───────────────────────────────────────────────────────── */
.eyebrow {
  font-weight: 700;
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-blue);
}
.crumb {
  font-weight: 500;
  font-size: 8.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── Cover ────────────────────────────────────────────────────────────── */
.page-cover {
  background: var(--paper);
  padding: 0.55in 0.75in 0.55in;
  position: relative;
}
.cover-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--hairline);
}
.cover-top .m32-logo { width: 110px; height: auto; }
.cover-meta {
  font-weight: 700;
  font-size: 8.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-dark);
}
.cover-mid {
  display: flex;
  flex-direction: column;
  padding: 0.4in 0 0;
}
.cover-eyebrow {
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brand-blue);
  margin-bottom: 14px;
}
.cover-32 {
  font-family: 'Gotham', sans-serif;
  font-weight: 700;
  font-size: 240px;
  line-height: 0.78;
  letter-spacing: -0.06em;
  color: var(--brand-blue);
  margin-bottom: 4px;
  margin-left: -8px;
}
.cover-title {
  font-weight: 700;
  font-size: 44px;
  line-height: 0.95;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 10px;
  text-transform: uppercase;
}
.cover-title .thin {
  font-weight: 300;
  color: var(--brand-dark);
}
.cover-rule {
  width: 64px;
  height: 3px;
  background: var(--brand-blue);
  margin: 14px 0 16px;
}
.cover-desc {
  font-weight: 300;
  font-size: 13px;
  line-height: 1.55;
  color: var(--brand-dark);
  max-width: 5.2in;
}
.cover-desc strong { font-weight: 500; color: var(--ink); }

.cover-bot {
  position: absolute;
  left: 0.75in;
  right: 0.75in;
  bottom: 0.55in;
  border-top: 1px solid var(--hairline);
  padding-top: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: end;
}
.cover-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cover-field label {
  font-weight: 700;
  font-size: 8.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.cover-field .field-line {
  border-bottom: 1px solid var(--ink);
  height: 22px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  padding: 0 2px;
}
.cover-field input {
  border: none;
  border-bottom: 1px solid var(--ink);
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  padding: 2px 2px 4px;
  width: 100%;
  background: transparent;
  color: var(--ink);
  outline: none;
}
.cover-tagline {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.2in;
  font-weight: 700;
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand-blue);
  text-align: center;
}

/* ── How to use ──────────────────────────────────────────────────────── */
.page-intro .crumb-row {
  display: flex;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--hairline);
  margin-bottom: 32px;
}
.intro-title {
  font-weight: 700;
  font-size: 44px;
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 18px;
}
.intro-lede {
  font-weight: 300;
  font-size: 14px;
  line-height: 1.55;
  color: var(--brand-dark);
  max-width: 5.2in;
  margin-bottom: 30px;
}
.intro-lede strong { font-weight: 500; color: var(--ink); }
.intro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 28px;
}
.intro-card {
  border: 1px solid var(--hairline);
  border-top: 4px solid var(--brand-blue);
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.intro-card .dot-key { width: 14px; height: 14px; }
.intro-card .light-label {
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
}
.intro-card .light-desc {
  font-weight: 300;
  font-size: 11px;
  line-height: 1.5;
  color: var(--brand-dark);
}
.intro-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 8px;
}
.intro-pillar {
  background: var(--brand-blue-pale);
  padding: 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-left: 3px solid var(--brand-blue);
}
.intro-pillar .pill-num {
  font-weight: 700;
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--brand-blue);
  text-transform: uppercase;
}
.intro-pillar .pill-title {
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-transform: uppercase;
}
.intro-pillar .pill-desc {
  font-weight: 300;
  font-size: 11px;
  line-height: 1.5;
  color: var(--brand-dark);
}
.intro-pillar .pill-sections {
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--brand-blue-deep);
  text-transform: uppercase;
  margin-top: 4px;
}

/* ── Pillar dividers ─────────────────────────────────────────────────── */
.page-divider {
  background: var(--brand-blue);
  color: white;
  padding: 0.7in 0.75in;
  position: relative;
  overflow: hidden;
}
.page-divider::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 90% 10%, rgba(255,255,255,0.08), transparent 70%),
    linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.08) 100%);
  pointer-events: none;
}
.divider-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1;
}
.divider-top .m32-logo { width: 90px; }
.divider-top .m32-logo path { fill: white !important; }
.divider-eyebrow {
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
}
.divider-mid {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 1;
  padding: 0.25in 0;
  min-height: 0;
}
.divider-bignum {
  font-family: 'Gotham', sans-serif;
  font-weight: 700;
  font-size: 240px;
  line-height: 0.78;
  letter-spacing: -0.05em;
  color: rgba(255,255,255,0.18);
  margin-left: -10px;
  margin-bottom: -6px;
}
.divider-title {
  font-weight: 700;
  font-size: 58px;
  line-height: 0.92;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  color: white;
  margin-top: -4px;
  margin-bottom: 18px;
}
.divider-rule {
  width: 70px;
  height: 4px;
  background: white;
  margin: 10px 0 18px;
}
.divider-sections {
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: rgba(255,255,255,0.92);
  text-transform: uppercase;
}
.divider-bot {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255,255,255,0.25);
  padding-top: 16px;
}
.divider-desc {
  font-weight: 300;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255,255,255,0.95);
  max-width: 5.2in;
}

/* ── Section pages ──────────────────────────────────────────────────── */
.page-section { padding: 0.55in 0.7in 0.45in; }
.section-header {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--hairline);
  margin-bottom: 14px;
}
.section-header .crumb {
  margin-bottom: 12px;
}
.section-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
}
.section-eyebrow {
  font-weight: 700;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand-blue);
  margin-bottom: 6px;
}
.section-title {
  font-weight: 700;
  font-size: 44px;
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--ink);
}
.section-subtitle {
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-dark);
  margin-top: 4px;
}
.score-key {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-end;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-dark);
  border-left: 1px solid var(--hairline);
  padding-left: 14px;
}
.score-key .key { display: flex; align-items: center; gap: 6px; }
.dot-key {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
}
.dot-green-key { color: var(--score-green); background: var(--score-green); }
.dot-yellow-key { color: var(--score-yellow); background: var(--score-yellow); }
.dot-red-key { color: var(--score-red); background: var(--score-red); }

/* ── Item cards ─────────────────────────────────────────────────────── */
.items {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.item {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 14px;
  padding: 12px 0 13px;
  border-bottom: 1px solid var(--hairline-soft);
  align-items: start;
}
.item:last-child { border-bottom: none; }
.item-num {
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: var(--brand-blue);
  line-height: 1;
  padding-top: 2px;
}
.item-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.item-title {
  font-weight: 700;
  font-size: 12.5px;
  line-height: 1.3;
  color: var(--ink);
  letter-spacing: -0.005em;
  margin-bottom: 2px;
}
.item-criteria {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.item-criteria li {
  font-weight: 300;
  font-size: 10.5px;
  line-height: 1.4;
  color: var(--brand-dark);
}
.criterion-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
}
.criterion-checkbox {
  appearance: none;
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  margin: 1px 0 0;
  border: 1px solid var(--brand-light-blue);
  border-radius: 2px;
  background: white;
  flex: 0 0 12px;
  position: relative;
  transition: all 0.15s ease;
}
.criterion-checkbox:hover {
  border-color: var(--brand-blue);
}
.criterion-checkbox:checked {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
}
.criterion-checkbox:checked::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 0px;
  width: 3px;
  height: 7px;
  border: solid white;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}
.criterion-text {
  display: block;
  flex: 1;
}

.item-score {
  display: flex;
  gap: 8px;
  align-items: center;
  padding-top: 4px;
}
.dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid var(--hairline);
  background: transparent;
  cursor: default;
  padding: 0;
  transition: all 0.15s ease;
  position: relative;
  pointer-events: none;
}
.dot.selected.dot-green {
  background: var(--score-green);
  border-color: var(--score-green);
  box-shadow: 0 0 0 2px rgba(42,157,85,0.18);
}
.dot.selected.dot-yellow {
  background: var(--score-yellow);
  border-color: var(--score-yellow);
  box-shadow: 0 0 0 2px rgba(232,163,23,0.18);
}
.dot.selected.dot-red {
  background: var(--score-red);
  border-color: var(--score-red);
  box-shadow: 0 0 0 2px rgba(194,57,43,0.18);
}

/* Page footer */
.page-footer {
  position: absolute;
  bottom: 0.35in;
  left: 0.7in;
  right: 0.7in;
  display: flex;
  justify-content: space-between;
  font-size: 8px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--muted);
  border-top: 1px solid var(--hairline-soft);
  padding-top: 10px;
}
.footer-mark {}

/* ── Score summary ──────────────────────────────────────────────────── */
.page-summary { padding: 0.6in 0.75in; }
.summary-head {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--hairline);
  margin-bottom: 26px;
}
.summary-head .eyebrow { margin-bottom: 6px; }
.summary-title {
  font-weight: 700;
  font-size: 44px;
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.summary-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 28px;
  margin-bottom: 24px;
}
.score-display {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.score-bignum {
  font-weight: 700;
  font-size: 130px;
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: var(--brand-blue);
}
.score-bignum .denom {
  font-weight: 300;
  color: var(--brand-light-blue);
  font-size: 0.55em;
}
.score-bignum .score-pending {
  color: var(--brand-light-blue);
  font-weight: 300;
}
.score-label {
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--brand-dark);
}
.score-interpretation {
  font-weight: 300;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--brand-dark);
  border-left: 2px solid var(--brand-blue);
  padding-left: 14px;
  margin-top: 4px;
}
.score-interpretation strong { font-weight: 500; color: var(--ink); }
.summary-counts {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.count-row {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 9px 12px;
  border: 1px solid var(--hairline);
}
.count-row .dot-key { width: 12px; height: 12px; }
.count-row .label {
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.count-row .value {
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
}
.summary-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-bottom: 18px;
}
.pillar-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pillar-block-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid var(--hairline);
  padding-bottom: 7px;
}
.pillar-block-head .name {
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.pillar-block-head .score {
  font-weight: 700;
  font-size: 12.5px;
  color: var(--brand-blue);
  white-space: nowrap;
  flex-shrink: 0;
  padding-left: 10px;
}
.section-bar-row {
  display: grid;
  grid-template-columns: 90px 1fr 36px;
  gap: 8px;
  align-items: center;
  font-size: 10px;
}
.section-bar-row .name {
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-dark);
}
.section-bar {
  height: 7px;
  background: var(--brand-blue-pale);
  position: relative;
  overflow: hidden;
}
.section-bar-fill {
  position: absolute;
  inset: 0 auto 0 0;
  background: var(--brand-blue);
  width: 0%;
  transition: width 0.4s ease;
}
.section-bar-row .pct {
  font-weight: 700;
  font-size: 10px;
  text-align: right;
  color: var(--ink);
}

.summary-callout {
  background: var(--brand-blue-pale);
  border-left: 3px solid var(--brand-blue);
  padding: 14px 16px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
}
.callout-num {
  font-weight: 700;
  font-size: 32px;
  color: var(--brand-blue);
  line-height: 1;
}
.callout-text {
  font-weight: 300;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--brand-dark);
}
.callout-text strong { font-weight: 700; color: var(--ink); }

/* ── Next steps ─────────────────────────────────────────────────────── */
.page-cta { padding: 0; background: var(--paper); position: relative; overflow: hidden; }
.cta-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0.55in 0.75in 0;
}
.cta-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--hairline);
  margin-bottom: 0.2in;
}
.cta-top .m32-logo { width: 110px; }
.cta-head { margin-bottom: 0.25in; }
.cta-eyebrow {
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brand-blue);
  margin-bottom: 14px;
}
.cta-title {
  font-weight: 700;
  font-size: 46px;
  line-height: 0.96;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.cta-title .accent { color: var(--brand-blue); }
.cta-lede {
  font-weight: 300;
  font-size: 13px;
  line-height: 1.55;
  color: var(--brand-dark);
  max-width: 5.5in;
}
.cta-lede strong { font-weight: 500; color: var(--ink); }
.cta-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.cta-step {
  border-top: 3px solid var(--brand-blue);
  padding-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.cta-step .step-num {
  font-weight: 700;
  font-size: 9.5px;
  letter-spacing: 0.22em;
  color: var(--brand-blue);
  text-transform: uppercase;
}
.cta-step .step-title {
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: -0.005em;
  color: var(--ink);
}
.cta-step .step-desc {
  font-weight: 300;
  font-size: 10.5px;
  line-height: 1.5;
  color: var(--brand-dark);
}
.cta-contact {
  margin-top: auto;
  background: var(--brand-blue);
  color: white;
  padding: 22px 30px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
}
.cta-contact .schedule-eyebrow {
  font-weight: 700;
  font-size: 9.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 5px;
}
.cta-contact .schedule-title {
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.015em;
  line-height: 1.1;
  margin-bottom: 12px;
}
.cta-contact .contact-row {
  display: flex;
  gap: 22px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.cta-contact .contact-row .item-label {
  display: block;
  font-weight: 700;
  font-size: 8.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 3px;
}
.cta-contact .m32-logo { width: 130px; }
.cta-contact .m32-logo path { fill: white !important; }
.cta-footer {
  text-align: center;
  padding: 12px;
  border-top: 1px solid var(--hairline-soft);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--brand-blue);
  background: white;
}

/* ── Floating score tracker (screen only) ───────────────────────────── */
.tracker {
  position: fixed;
  top: 16px;
  right: 16px;
  background: white;
  border: 1px solid var(--hairline);
  box-shadow: 0 6px 24px rgba(0,0,0,0.12);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 100;
  font-size: 11px;
  min-width: 200px;
}
.tracker-title {
  font-weight: 700;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand-blue);
}
.tracker-score {
  font-weight: 700;
  font-size: 26px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.tracker-score .denom {
  font-weight: 300;
  color: var(--muted);
  font-size: 0.55em;
}
.tracker-counts {
  display: flex;
  gap: 10px;
  font-size: 10px;
  font-weight: 500;
}
.tracker-counts span {
  display: flex;
  align-items: center;
  gap: 4px;
}
.tracker-counts .dot-key { width: 8px; height: 8px; }
.tracker-actions {
  display: flex;
  gap: 6px;
  padding-top: 6px;
  border-top: 1px solid var(--hairline-soft);
}
.tracker-btn {
  flex: 1;
  font-family: inherit;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 8px;
  border: 1px solid var(--brand-blue);
  background: white;
  color: var(--brand-blue);
  cursor: pointer;
}
.tracker-btn:hover { background: var(--brand-blue); color: white; }
.tracker-btn.primary { background: var(--brand-blue); color: white; }
.tracker-btn.primary:hover { background: var(--brand-blue-deep); }

/* ── Print ──────────────────────────────────────────────────────────── */
@page {
  size: letter;
  margin: 0;
}
@media print {
  body { background: white; margin: 0; padding: 0; }
  .doc { padding: 0; gap: 0; margin: 0; display: block; }
  .page {
    box-shadow: none;
    page-break-after: always;
    break-after: page;
    page-break-inside: avoid;
    break-inside: avoid;
    margin: 0;
    height: 10.99in;
    width: 8.5in;
    overflow: hidden;
  }
  .page:last-child { page-break-after: auto; break-after: auto; }
  .tracker { display: none !important; }
  * { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }
}

/* Small screens — show a hint */
@media (max-width: 920px) {
  .doc { padding: 10px; gap: 10px; }
  .page {
    transform-origin: top center;
    transform: scale(calc(100vw / 870));
    margin-bottom: calc((11in * (calc(100vw / 870))) - 11in);
  }
}


:focus-visible {
  outline: 2px solid var(--brand-light-blue, #6aa6d9);
  outline-offset: 2px;
}

.tracker-btn.confirming {
  background: #fff2f2;
  border-color: #d67272;
  color: #9f1d1d;
}
