* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--body-background);
  color: var(--ink);
  font:
    16px/1.55 "Work Sans",
    Arial,
    sans-serif;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
button {
  font: inherit;
  background: var(--button-background);
  color: var(--button-color);
  border: 0;
  border-radius: 3px;
  padding: 12px 18px;
  cursor: pointer;
}
:focus-visible {
  outline: 3px solid var(--secondary);
  outline-offset: 4px;
}
.tools {
  max-width: 1000px;
  margin: 24px auto;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 0 24px;
  color: var(--tools-color);
}
.sheet {
  max-width: 1000px;
  margin: 24px auto 40px;
  background: var(--paper);
  padding: 42px 58px 28px;
  border-top: 12px solid var(--accent);
  box-shadow: 0 14px 50px var(--sheet-box-shadow);
  position: relative;
}
.folio,
.page-foot {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 10px;
  letter-spacing: 0.12em;
  font-weight: 700;
}
.folio {
  color: var(--accent);
  border-bottom: 1px solid currentColor;
  padding-bottom: 18px;
}
.page-foot {
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid var(--page-foot-border-top);
  font-size: 9px;
}
h1 {
  font:
    700 clamp(36px, 4.7vw, 59px)/1.03 var(--display),
    Arial,
    sans-serif;
  letter-spacing: -0.04em;
  max-width: 18ch;
  margin: 32px 0 17px;
  color: var(--accent);
}
h2 {
  font-size: 19px;
  line-height: 1.2;
  margin: 24px 0 10px;
  color: var(--accent);
  break-after: avoid;
}
.subtitle {
  font-size: 20px;
  margin: 0 0 24px;
  color: var(--secondary);
}
.prose {
  white-space: pre-line;
  max-width: 78ch;
  margin: 12px 0;
}
.keyword {
  font-weight: 700;
  color: var(--accent);
}
.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 24px 0;
  background: var(--accent);
  color: var(--paper);
}
.metric {
  padding: 23px;
  border-right: 1px solid var(--metric-border-right);
}
.metric:last-child {
  border: 0;
}
.metric strong {
  display: block;
  font:
    700 36px/1.1 var(--display),
    sans-serif;
  letter-spacing: -0.04em;
}
.metric span {
  display: block;
  margin-top: 8px;
  font-size: 12px;
}
.callout {
  border-left: 5px solid var(--secondary);
  background: color-mix(in srgb, var(--accent) 7%, var(--paper));
  padding: 18px 23px;
  margin: 22px 0;
}
.callout > strong {
  color: var(--secondary);
  font-size: 11px;
  letter-spacing: 0.07em;
}
.callout p {
  margin: 8px 0 0;
}
.chart {
  margin: 25px 0 18px;
  break-inside: avoid;
}
.chart figcaption {
  font-weight: 700;
  color: var(--accent);
  font-size: 15px;
  margin-bottom: 9px;
}
.chart img {
  width: 100%;
  height: auto;
  display: block;
  background: var(--chart-img-background);
}
.chart details {
  font-size: 11px;
  margin-top: 8px;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 13px;
  margin: 17px 0;
  line-height: 1.4;
  font-variant-numeric: tabular-nums;
}
th,
td {
  padding: 11px 12px;
  text-align: left;
  border-bottom: 1px solid var(--th-td-border-bottom);
  vertical-align: top;
  white-space: pre-line;
}
thead th {
  background: var(--accent);
  color: var(--paper);
  font-size: 11px;
  letter-spacing: 0.04em;
}
tbody th {
  font-weight: 600;
  color: var(--accent);
}
tbody tr:nth-child(even) {
  background: color-mix(in srgb, var(--accent) 5%, var(--paper));
}
.table-wrap {
  overflow-x: auto;
}
pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: var(--pre-background);
  color: var(--pre-color);
  font:
    13px/1.6 "Office Code Pro",
    Consolas,
    monospace;
  padding: 22px;
  border-radius: 3px;
}
li {
  margin-bottom: 8px;
}
.notes {
  max-width: 1000px;
  margin: 20px auto 40px;
  padding: 20px 30px;
  background: var(--notes-background);
  color: var(--notes-color);
  font-size: 12px;
}
.notes p {
  max-width: 90ch;
}
.dish {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 15px 0;
  border-bottom: 1px solid var(--dish-border-bottom);
}
.dish h3 {
  font:
    22px "Young Serif",
    Georgia,
    serif;
  color: var(--accent);
  margin: 0;
}
.dish p {
  font-size: 14px;
  margin: 5px 0;
}
.dish > strong {
  font-size: 20px;
  color: var(--secondary);
}
.doc-school h1 {
  font-weight: 400;
}
.doc-school .sheet {
  border-top: 14px solid var(--doc-school-sheet-border-top);
}
.doc-school .callout {
  border-color: var(--secondary);
}
@media (max-width: 700px) {
  .sheet {
    margin: 0 0 20px;
    padding: 28px 23px;
    outline-offset: -8px;
  }
  .folio {
    font-size: 8px;
  }
  h1 {
    font-size: 37px;
  }
  .metrics {
    grid-template-columns: 1fr;
  }
  .metric {
    padding: 16px;
    border: 0;
    border-bottom: 1px solid var(--metric-border-bottom);
  }
  .metric strong {
    font-size: 30px;
  }
  .metric span {
    margin-top: 2px;
  }
  .sheet table {
    min-width: 480px;
  }
  .tools {
    font-size: 12px;
  }
  .prose {
    overflow-wrap: anywhere;
  }
  .subtitle {
    font-size: 17px;
  }
}
@page {
  size: letter;
  margin: 13mm;
}
@media print {
  body {
    background: var(--body-background-2);
    color: var(--body-color);
    font-size: 10pt;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .tools,
  .notes {
    display: none;
  }
  .sheet {
    max-width: none;
    min-height: 0;
    margin: 0;
    padding: 12px 0 0;
    box-shadow: none;
    outline: none;
    break-after: page;
    background: var(--sheet-background);
    color: var(--sheet-color);
    border-top: 5px solid var(--sheet-border-top);
  }
  .sheet:last-child {
    break-after: auto;
  }
  h1 {
    font-size: 28pt;
    margin: 14px 0;
    color: var(--h1-color);
  }
  .folio {
    padding-bottom: 8px;
    color: var(--folio-color);
  }
  .subtitle {
    font-size: 12pt;
  }
  .metrics {
    margin: 10px 0;
    grid-template-columns: repeat(3, 1fr);
    transform: none !important;
  }
  .metric {
    padding: 10px;
  }
  .metric strong {
    font-size: 22pt;
  }
  .metric span {
    font-size: 9pt;
  }
  .callout {
    margin: 10px 0;
    padding: 10px 14px;
    break-inside: avoid;
  }
  .callout .keyword,
  .prose .keyword,
  tbody th {
    color: var(--callout-keyword-prose-keyword-tbody-th-color);
  }
  h2 {
    font-size: 12pt;
    margin-top: 14px;
    color: var(--h2-color);
  }
  .sheet table {
    min-width: 0;
    font-size: 9pt;
    margin: 10px 0;
  }
  th,
  td {
    padding: 6px 8px;
  }
  tr {
    break-inside: avoid;
  }
  .chart {
    margin: 12px 0;
  }
  .chart img {
    max-height: 180px;
    object-fit: contain;
  }
  .chart details {
    display: none;
  }
  .prose {
    margin: 8px 0;
  }
  .page-foot {
    margin-top: 15px;
    padding-top: 7px;
  }
  pre {
    font-size: 8pt;
    padding: 10px;
  }
  .dish {
    padding: 9px 0;
  }
  .dish h3 {
    font-size: 16pt;
  }
  .dish p {
    font-size: 9pt;
  }
}

@media print {
  body {
    font-size: 9.5pt;
    line-height: 1.4;
  }
  h2 {
    margin-top: 11px;
  }
  .callout {
    margin: 8px 0;
    padding: 8px 12px;
  }
  .prose {
    margin: 6px 0;
  }
  .sheet table {
    font-size: 8.5pt;
  }
  th,
  td {
    padding: 5px 7px;
  }
  .metric {
    padding: 8px;
  }
  .chart img {
    max-height: 160px;
  }
  .page-foot {
    margin-top: 12px;
  }
}
@media print {
}
@media print {
}
/* Each document has one focal treatment; data and reading order stay intact. */
@media screen {
  .sheet {
    border-top: 0;
    border-inline-start: 8px solid var(--accent);
  }
  .folio {
    font-weight: 600;
    letter-spacing: 0.1em;
  }
  .section-title {
    border-bottom: 1px solid
      color-mix(in srgb, var(--accent) 25%, var(--section-title-border-bottom));
    padding-bottom: 0.35em;
  }
  .callout {
    border-radius: 0 18px 18px 0;
  }
  .doc-school h1 {
    background: var(--bright);
    padding: 0.25em 0.4em;
    max-width: none;
  }
  .doc-school .sheet {
    border-inline-start: 0;
    border-top: 12px solid var(--accent);
  }
}
@media screen and (max-width: 600px) {
  .sheet {
    padding-inline: 20px;
  }
}
:where(p, li, blockquote, figcaption, dd):not(:where(table *, nav *, pre *, code *)) {
  max-inline-size: var(--measure-body);
}
[data-grid] {
  display: grid;
  grid-template-columns: repeat(var(--grid-columns), minmax(0, 1fr));
  gap: var(--grid-gutter);
}
@media (min-width: 48rem) {
  :root {
    --grid-columns: 8;
  }
}
@media (min-width: 75rem) {
  :root {
    --grid-columns: 12;
  }
}
