/*
  site.css — matreas.com shared styles for the /2027/ surfaces.

  Since 2026-10-13 the /2027/ pages share the homepage variants' world
  (assets/home.css), taken from the Matreas product: parchment ground, ink
  #071419, gold as the one accent, Playfair Display for page and section
  headings, Inter for everything else. Print rules are at the end.
*/

/* ---------- tokens ---------- */

:root {
  --parchment: #FFFCF6;
  --parchment-deep: #FBF3E0;  /* product parchment-200: table heads, chosen answers */
  --ink: #071419;
  --ink-700: #173F4D;
  --muted: #64748B;         /* product sage: text at 1rem and up, control borders */
  --muted-strong: #475569;  /* small secondary text */
  --gold: #B45309;          /* accent on parchment */
  --gold-bright: #FBBF24;   /* accent on ink only */
  --line: rgb(7 20 25 / 0.12);  /* decorative rules */

  --font: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: "Playfair Display", Georgia, Cambria, "Times New Roman", serif;

  --measure: 44rem;
  --measure-wide: 56rem;
  --wrap-nav: 74rem;        /* the homepage's nav width, so the bar does not jump between pages */
  --pad: 1rem;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --fast: 150ms;
}

@media (min-width: 640px) {
  :root { --pad: 2rem; }
}

/* ---------- base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  scrollbar-color: var(--muted) var(--parchment);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-feature-settings: "cv11", "ss01";
  color: var(--ink);
  background: var(--parchment);
  caret-color: var(--gold);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

::selection { background: var(--gold-bright); color: var(--ink); }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
:focus:not(:focus-visible) { outline: none; }

.skip {
  position: absolute;
  left: 0; top: 0;
  padding: 0.5rem 1rem;
  background: var(--ink);
  color: var(--parchment);
  transform: translateY(-120%);
  transition: transform var(--fast);
  z-index: 10;
}
.skip:focus { transform: none; outline-color: var(--gold-bright); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap; border: 0;
}

/* ---------- type ---------- */

h1, h2, h3, h4 {
  font-weight: 600;
  margin: 0;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

h1, h2 { font-family: var(--serif); }

h1 {
  font-size: clamp(2rem, 1.5rem + 1.9vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
}

h2 {
  font-size: 1.625rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-top: 3rem;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.1875rem;
  line-height: 1.35;
  letter-spacing: -0.01em;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

p, ul, ol, dl, table, blockquote, figure {
  margin: 0 0 1rem;
}

ul, ol { padding-left: 1.5rem; }
li { margin-bottom: 0.375rem; }
li::marker { color: var(--muted-strong); }

.lede {
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--ink-700);
  text-wrap: pretty;
}

.small, small {
  font-size: 0.9375rem;
  line-height: 1.4;
  color: var(--muted-strong);
}

.label {
  font-size: 0.9375rem;
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--muted-strong);
}

strong { font-weight: 600; }
em { font-style: italic; }

a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
  text-decoration-color: var(--muted);
  transition: color var(--fast), text-decoration-color var(--fast);
}
a:hover { color: var(--gold); text-decoration-color: var(--gold); }

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 3rem 0;
}

.tabular { font-variant-numeric: tabular-nums; }

.placeholder {
  font-style: italic;
  color: var(--muted-strong);
}

/* ---------- table ---------- */

.table-wrap { overflow-x: auto; margin: 0 0 1.5rem; }

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
  line-height: 1.4;
}
th, td {
  text-align: left;
  vertical-align: top;
  padding: 0.625rem 0.75rem;
  border-bottom: 1px solid var(--line);
}
th {
  font-weight: 500;
  background: var(--parchment-deep);
}
td:first-child, th:first-child { padding-left: 0.5rem; }

/* ---------- layout ---------- */

.wrap {
  width: 100%;
  max-width: calc(var(--measure) + 2 * var(--pad));
  margin: 0 auto;
  padding-inline: var(--pad);  /* inline only: <main class="wrap"> keeps its own top padding */
}
.wrap--wide { max-width: calc(var(--measure-wide) + 2 * var(--pad)); }

main {
  flex: 1 0 auto;
  padding-top: clamp(3rem, 2rem + 3vw, 5rem);
  padding-bottom: 4rem;
}

.page-head { margin-bottom: 2rem; }
.page-head h1 { margin-bottom: 0.75rem; }
.page-head .lede { margin-bottom: 0; }

section + section { margin-top: 3rem; }

/* ---------- nav ---------- */

.site-nav {
  background: rgb(255 252 246 / 0.92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-nav .wrap, .site-foot .wrap { max-width: var(--wrap-nav); }
.site-nav__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  min-height: 4rem;
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
}
.site-nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}
.site-nav__brand:hover { color: var(--ink); }
.site-nav__mark { width: 2rem; height: 2rem; display: block; flex: none; }
.site-nav__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
}
.site-nav__links a {
  text-decoration: none;
  padding: 0.625rem 0;
  color: var(--ink-700);
}
.site-nav__links a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
}
.site-nav__links a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: var(--ink);
  color: var(--ink);
}

@media (max-width: 639px) {
  .site-nav__links { gap: 0.25rem 1rem; font-size: 0.875rem; }
}

/* The nav wraps to two rows on phones, so it sticks only where it fits on one. */
@media (min-width: 640px) {
  .site-nav { position: sticky; top: 0; z-index: 5; }
}

/* ---------- footer ---------- */

.site-foot {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0 2rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--muted-strong);
}
.site-foot p { margin: 0; }
.site-foot p + p { margin-top: 0.5rem; }

/* ---------- controls ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.625rem 1.5rem;
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  border-radius: 4px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--parchment);
  cursor: pointer;
  text-decoration: none;
  transition: background-color var(--fast), border-color var(--fast), color var(--fast);
}
.btn:hover { background: var(--gold); border-color: var(--gold); color: var(--parchment); }
.btn:focus-visible { outline-color: var(--gold); }
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.5; cursor: default; pointer-events: none; }

.btn--secondary {
  background: var(--parchment-deep);
  border-color: var(--muted);
  color: var(--ink);
}
.btn--secondary:hover { background: var(--parchment-deep); border-color: var(--ink); color: var(--ink); }

.btn--text {
  min-height: 2.75rem;
  padding: 0.5rem 0.25rem;
  background: none;
  border: 0;
  color: var(--ink);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
  text-decoration-color: var(--muted);
}
.btn--text:hover { background: none; color: var(--gold); text-decoration-color: var(--gold); }

.field { margin: 0 0 1.25rem; }
.field label,
.field .field__label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.375rem;
}
.field .help {
  display: block;
  margin: -0.125rem 0 0.5rem;
  font-size: 0.9375rem;
  line-height: 1.4;
  color: var(--muted-strong);
}

input[type="text"],
input[type="email"],
textarea,
select {
  display: block;
  width: 100%;
  font: inherit;
  font-size: 1.125rem;
  line-height: 1.4;
  color: var(--ink);
  background: var(--parchment);
  border: 1px solid var(--muted);
  border-radius: 4px;
  padding: 0.625rem 0.75rem;
  margin: 0;
  transition: border-color var(--fast);
}
input::placeholder, textarea::placeholder { color: var(--muted-strong); opacity: 1; }
input[type="text"]:focus-visible,
input[type="email"]:focus-visible,
textarea:focus-visible,
select:focus-visible { border-color: var(--ink); outline-offset: 2px; }

select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='M3 6l5 5 5-5' fill='none' stroke='%23253147' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.875rem center;
}

.field--error input,
.field--error select,
.field--error textarea { border-color: var(--gold); }
.error {
  display: block;
  margin-top: 0.375rem;
  font-size: 0.9375rem;
  line-height: 1.4;
  color: var(--gold);
}
.error:empty { display: none; }

fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 2rem;
  min-width: 0;
}
legend {
  padding: 0;
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
  line-height: 1.3;
  font-weight: 500;
  text-wrap: pretty;
}
legend .help { display: block; font-weight: 400; font-size: 0.9375rem; line-height: 1.4; color: var(--muted-strong); margin-top: 0.125rem; }

/* radio and checkbox drawn on the input itself so keyboard and focus stay native */
input[type="radio"],
input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  flex: none;
  width: 1.25rem;
  height: 1.25rem;
  margin: 0.2em 0 0;
  border: 1.5px solid var(--muted);
  background: var(--parchment);
  display: grid;
  place-content: center;
  cursor: pointer;
  transition: border-color var(--fast), background-color var(--fast);
}
input[type="radio"] { border-radius: 50%; }
input[type="checkbox"] { border-radius: 4px; }
input[type="radio"]::before,
input[type="checkbox"]::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  background: var(--parchment);
  transform: scale(0);
  transition: transform var(--fast) var(--ease-out);
}
input[type="radio"]::before { border-radius: 50%; }
input[type="checkbox"]::before {
  width: 0.75rem;
  height: 0.75rem;
  background: none;
  border-right: 2px solid var(--parchment);
  border-bottom: 2px solid var(--parchment);
  transform: rotate(45deg) scale(0);
  margin-top: -0.2rem;
}
input[type="radio"]:checked,
input[type="checkbox"]:checked { background: var(--ink); border-color: var(--ink); }
input[type="radio"]:checked::before { transform: scale(1); }
input[type="checkbox"]:checked::before { transform: rotate(45deg) scale(1); }

.choice {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 0.75rem 1rem;
  margin: 0;
  border-radius: 4px;
  cursor: pointer;
  line-height: 1.45;
  transition: background-color var(--fast);
}
.choice:hover { background: var(--parchment-deep); }
.choice:has(input:checked) { background: var(--parchment-deep); }
.choices { display: flex; flex-direction: column; gap: 0; }
.choices .choice + .choice { border-top: 1px solid var(--line); }
.choices .choice:hover + .choice,
.choices .choice:has(input:checked) + .choice { border-top-color: transparent; }

.check-row,
.field label.check-row {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  cursor: pointer;
  line-height: 1.45;
  font-weight: 400;
  margin-bottom: 0;
}

/* ---------- the check ---------- */

.check .page-head { margin-bottom: 1.5rem; }
.check__progress {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9375rem;
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--muted-strong);
  font-variant-numeric: tabular-nums;
}
.check__intro { margin-bottom: 2rem; color: var(--muted-strong); }

.step[hidden] { display: none; }
.step { animation: step-in 200ms var(--ease-out); }
@keyframes step-in {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: none; }
}

/* section B: one statement, four answers */
.grid-q legend { font-size: 1.125rem; font-weight: 500; margin-bottom: 0.625rem; }
.grid-q .choices {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
}
.grid-q .choice {
  border: 1px solid var(--line);
  padding: 0.75rem 0.75rem;
  font-size: 1rem;
  align-items: center;
}
.grid-q .choices .choice + .choice { border-top: 1px solid var(--line); }
.grid-q .choice:has(input:checked) { border-color: var(--ink); }
.grid-q .choice:hover { border-color: var(--muted); }
.grid-q .choice input { margin-top: 0; }
.grid-q { margin-bottom: 1.75rem; }
@media (max-width: 639px) {
  .grid-q .choices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.step__actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.step__actions .btn--text { margin-left: -0.25rem; }
.step__error {
  margin: 1rem 0 0;
  color: var(--gold);
  font-size: 1rem;
}
.step__error:empty { display: none; }

/* ---------- the report ---------- */

.report main { padding-top: 2.5rem; }

.report-head { margin-bottom: 2.5rem; }
.report-head h1 { margin-bottom: 0.25rem; }
.report-school {
  font-size: 1.5rem;
  line-height: 1.25;
  font-weight: 500;
  margin: 0 0 1.5rem;
  overflow-wrap: anywhere;
}
.report-window {
  font-size: 1.375rem;
  line-height: 1.4;
  margin-bottom: 1rem;
  text-wrap: pretty;
}
.report-count {
  font-size: 1.5rem;
  line-height: 1.25;
  font-weight: 500;
  margin: 0;
}

.report-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  margin: 1.5rem 0 0;
}
.report-actions .btn--text { padding-left: 0; padding-right: 0; }
.report-actions__note {
  flex-basis: 100%;
  margin: 0;
  font-size: 0.9375rem;
  color: var(--muted-strong);
  min-height: 1.4em;
}

.report-section { margin-top: 3rem; }
.report-section > h2 { margin-top: 0; }
.report-section > h2 + p { margin-top: 0; }

/* timeline */
.timeline { margin: 0 0 0.5rem; }
.timeline svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  font-family: var(--font);
  font-variant-numeric: tabular-nums;
}
.timeline .tl-axis { stroke: var(--ink); stroke-width: 1.5; fill: none; }
.timeline .tl-tick { stroke: var(--ink); stroke-width: 1.5; }
.timeline .tl-dot { fill: var(--ink); }
.timeline .tl-dot--today { fill: var(--parchment); stroke: var(--ink); stroke-width: 1.5; }
.timeline .tl-gold { fill: var(--gold); }
.timeline .tl-gold-stroke { stroke: var(--gold); stroke-width: 2; fill: none; }
.timeline .tl-gold-dash { stroke: var(--gold); stroke-width: 2; fill: none; stroke-dasharray: 3 4; stroke-linecap: round; }
.timeline .tl-hatch { fill: url(#tl-hatch); stroke: var(--ink); stroke-width: 1; }
.timeline .tl-label { font-size: 0.9375rem; fill: var(--ink); font-weight: 500; }
.timeline .tl-sub { font-size: 0.9375rem; fill: var(--muted-strong); }
.timeline .tl-label--gold { fill: var(--gold); }
.timeline .tl-draw { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); animation: tl-draw 700ms var(--ease-out) forwards; }
.timeline .tl-fade { opacity: 0; animation: tl-fade 400ms 350ms var(--ease-out) forwards; }
@keyframes tl-draw { to { stroke-dashoffset: 0; } }
@keyframes tl-fade { to { opacity: 1; } }
.timeline-caption {
  font-size: 0.9375rem;
  color: var(--muted-strong);
  margin: 0;
}

/* findings */
.findings {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: finding;
}
.finding {
  counter-increment: finding;
  position: relative;
  padding: 1.5rem 0 1.25rem;
  border-top: 1px solid var(--line);
  margin: 0;
}
.finding:last-child { border-bottom: 1px solid var(--line); }
.finding__num {
  display: block;
  font-size: 0.9375rem;
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--muted-strong);
  font-variant-numeric: tabular-nums;
  margin-bottom: 0.25rem;
}
.finding__num::before { content: counter(finding); }
.finding h3 { margin: 0 0 0.75rem; }
.finding p { margin: 0 0 0.625rem; text-wrap: pretty; }
.finding p:last-child { margin-bottom: 0; }
.finding__label { font-style: italic; color: var(--muted-strong); }
.finding__tag {
  font-size: 0.9375rem;
  line-height: 1.4;
  font-weight: 500;
  color: var(--gold);
  margin-top: 0.75rem;
}
@media (min-width: 900px) {
  .finding {
    display: grid;
    grid-template-columns: 3.5rem minmax(0, 1fr);
    column-gap: 0;
  }
  .finding__num { grid-column: 1; margin: 0.25rem 0 0; }
  .finding > :not(.finding__num) { grid-column: 2; }
}

/* the bridge to the assessment */
.bridge p { text-wrap: pretty; }
.bridge__cta { margin-top: 1.25rem; }

/* second deadline: three lines */
.deadline { list-style: none; padding: 0; margin: 0; }
.deadline li {
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  margin: 0;
}
.deadline li:last-child { border-bottom: 1px solid var(--line); }
.deadline .label { display: block; margin-bottom: 0.25rem; }
.deadline p { margin: 0; text-wrap: pretty; }
.deadline p + p { margin-top: 0.375rem; }

/* three things */
.todo {
  padding-left: 0;
  margin: 0;
  list-style: none;
  counter-reset: todo;
}
.todo li {
  counter-increment: todo;
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: 0.75rem;
  padding: 0.875rem 0;
  border-top: 1px solid var(--line);
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.35;
}
.todo li:last-child { border-bottom: 1px solid var(--line); }
.todo li::before {
  content: counter(todo) ".";
  font-variant-numeric: tabular-nums;
  color: var(--muted-strong);
  font-weight: 500;
}

/* the form */
.report-form { max-width: var(--measure); }
.report-form .field--inline { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; margin-bottom: 1.25rem; }
.report-form .field--inline .field { flex: 1 1 14rem; margin-bottom: 0; }
.report-form .agreement-line {
  margin: 0.5rem 0 0 2.125rem;
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--muted-strong);
}
.report-form .form-actions { margin-top: 1.5rem; }

.who-made-this { text-wrap: pretty; }

.report-foot {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.9375rem;
  color: var(--muted-strong);
}
.report-foot p { margin: 0 0 0.375rem; overflow-wrap: anywhere; }

.print-foot { display: none; }

/* empty report */
.report-empty .lede { margin-bottom: 1.5rem; }

/* ---------- guide ---------- */

.guide h2 { margin-top: 3.5rem; }
.guide .toc {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}
.guide .toc li { margin: 0; padding: 0.625rem 0; border-top: 1px solid var(--line); }
.guide .toc li:last-child { border-bottom: 1px solid var(--line); }
.guide .toc a { text-decoration: none; font-weight: 500; }
.guide .toc a:hover { color: var(--gold); text-decoration: underline; }
.guide .faq dt { font-weight: 500; margin-top: 1.25rem; }
.guide .faq dd { margin: 0.25rem 0 0; }
.guide .cta { margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem; align-items: center; }

/* ---------- assessment ---------- */

.agreement {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.5rem 0;
  margin: 1.5rem 0 2rem;
}
.agreement h3 { margin-top: 1.25rem; }
.agreement h3:first-child { margin-top: 0; }
.agreement .small { margin-bottom: 0; }
.agreement__meta { font-size: 0.9375rem; color: var(--muted-strong); margin-bottom: 1rem; }

/* ---------- motion ---------- */

@media (prefers-reduced-motion: reduce) {
  /* The two authored animations become static. Color transitions on controls stay: they are feedback, not motion. */
  .step { animation: none; }
  .timeline .tl-draw { stroke-dashoffset: 0; animation: none; }
  .timeline .tl-fade { opacity: 1; animation: none; }
  .btn:active { transform: none; }
}

/* ---------- small screens ---------- */

@media (max-width: 639px) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.375rem; }
  .lede, .report-window { font-size: 1.25rem; }
  .report-school, .report-count { font-size: 1.375rem; }
  .todo li { font-size: 1.125rem; }
  .step__actions { flex-direction: column-reverse; align-items: stretch; }
  .step__actions .btn { width: 100%; }
  .step__actions .btn--text { text-align: center; margin-left: 0; }
}

/* ---------- print ---------- */

@page {
  size: letter;
  margin: 0.6in 0.65in 0.75in;
}

@media print {
  html { font-size: 9.5pt; }
  body {
    color: #000;
    background: #fff;
    line-height: 1.35;
    display: block;
    min-height: 0;
  }
  :root {
    --ink: #000;
    --ink-700: #000;
    --muted: #444;
    --muted-strong: #333;
    --gold: #000;
    --line: #999;
    --parchment: #fff;
    --parchment-deep: #eee;
  }
  a { color: inherit; text-decoration: none; }
  .site-nav, .site-foot, .skip,
  .report-actions, .report-form, #section-form, .no-print, .bridge__cta { display: none !important; }

  main { padding: 0; }
  .wrap, .wrap--wide { max-width: none; padding: 0; }

  h1 { font-size: 20pt; }
  h2 { font-size: 14pt; margin-top: 18pt; margin-bottom: 6pt; }
  h3 { font-size: 11.5pt; margin-top: 0; }
  .report-head { margin-bottom: 12pt; }
  .report-school { font-size: 14pt; margin-bottom: 8pt; }
  .report-window { font-size: 11.5pt; margin-bottom: 4pt; }
  .report-count { font-size: 12pt; }
  .report-section { margin-top: 14pt; }
  .timeline { margin-bottom: 0; }
  .timeline .tl-label { font-size: 10pt; }
  .timeline .tl-sub { font-size: 9pt; }
  .timeline .tl-gold { fill: #000; }
  .timeline .tl-gold-stroke, .timeline .tl-gold-dash { stroke: #000; }
  .timeline .tl-label--gold { fill: #000; }
  .timeline .tl-draw { stroke-dashoffset: 0 !important; animation: none !important; }
  .timeline .tl-fade { opacity: 1 !important; animation: none !important; }

  /* The whole memo flows in two columns; the header and timeline span both. */
  #report {
    columns: 2;
    column-fill: auto;
    column-gap: 0.4in;
    orphans: 3;
    widows: 3;
  }
  .report-head, #section-timeline { column-span: all; }
  #section-findings { margin-top: 0; }
  #section-findings > h2 { margin-top: 0; }
  .findings { columns: auto; }
  .finding {
    break-inside: avoid;
    page-break-inside: avoid;
    -webkit-column-break-inside: avoid;
    padding: 5pt 0 4pt;
    display: block;
    border-top: 0.5pt solid #999;
  }
  .finding:first-child { border-top: 0; padding-top: 0; }
  .finding:last-child { border-bottom: 0; }
  .finding__num { float: left; margin: 1pt 5pt 0 0; font-size: 9pt; }
  .finding h3 { margin-bottom: 2pt; font-size: 10.5pt; line-height: 1.25; }
  .finding p { margin-bottom: 2pt; text-wrap: pretty; }
  .finding__tag { font-size: 8pt; margin-top: 1pt; }
  #section-todos, #section-who { break-inside: avoid; page-break-inside: avoid; }
  .report-section--deadline > p { break-after: avoid; }

  .deadline li { padding: 6pt 0; break-inside: avoid; page-break-inside: avoid; }
  .todo li { font-size: 11pt; padding: 5pt 0; break-inside: avoid; }
  .who-made-this { break-inside: avoid; }
  .bridge { break-inside: avoid; }

  h2 { break-after: avoid; page-break-after: avoid; }

  .report-foot { display: block; margin-top: 8pt; padding-top: 4pt; font-size: 8pt; color: #333; break-inside: avoid; }
  .report-foot p { margin-bottom: 2pt; }
  .report-foot .report-foot__privacy { display: none; }
  .timeline-caption .timeline-caption__note { display: none; }
  .print-foot {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    font-size: 8.5pt;
    line-height: 1.3;
    color: #333;
    border-top: 0.5pt solid #999;
    padding-top: 4pt;
    background: #fff;
  }
  .print-foot p { margin: 0; overflow-wrap: anywhere; }
  main { padding-bottom: 24pt; }
  .report-head { margin-bottom: 10pt; }
  .report-head h1 { font-size: 18pt; }
  .report-school { font-size: 13pt; margin-bottom: 6pt; }
  .report-window { font-size: 11pt; }
  .report-count { font-size: 11.5pt; }
  .report-section { margin-top: 12pt; }
  h2 { font-size: 13pt; margin-top: 12pt; margin-bottom: 5pt; }
  .timeline svg { max-height: 1.4in; }
  .timeline-caption { font-size: 8.5pt; }
  .deadline li { padding: 4pt 0; }
  .deadline .label { font-size: 8.5pt; }
  .deadline p + p { margin-top: 2pt; }
  .todo li { font-size: 10pt; padding: 3pt 0; grid-template-columns: 1.4rem minmax(0, 1fr); gap: 0.4rem; }
  #section-form > p { display: none; }
}

/* === check.js additions === */
/* the step's progress line sits 0.5rem above its heading, not 3rem */
.step > h2 { margin-top: 0; }
/* step one has no Back, so Next keeps the right end of the rule */
.step__actions .btn:only-child { margin-left: auto; }
/* === end === */
