/* Compiled from this post's former theme.scss with Quarto's dart-sass, unchanged
   apart from dropping its light-only colour-scheme lock. A document-level
   `theme:` would replace the site's light/dark pair (Quarto 1.6 refuses to
   merge the two), and `css:` takes plain CSS only. Every colour here is a
   fixed hex value, so the widget and figure chrome sits on a light card in
   both schemes; the `.widget-*` rules override widget-kit/chrome.scss for
   this post on purpose. Restyle against the site tokens (`--w-*`) when the
   post is next re-rendered. */

/*-- scss:defaults --*/
/*-- scss:rules --*/
:root {
}

main.content > p,
main.content > ul,
main.content > ol,
body.quarto-light main.content > blockquote {
  max-width: 41rem;
}

body.quarto-light h2 {
  margin-top: 2.3rem;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid #D2D6D1;
}

body.quarto-light .quarto-title-block .quarto-title-banner {
  background: linear-gradient(180deg, #E8EAE5 0%, #F1F2EE 100%);
  color: #171C1B;
  border-bottom: 1px solid #D2D6D1;
}

body.quarto-light .quarto-title-block .quarto-title-banner h1,
body.quarto-light .quarto-title-block .quarto-title-banner .subtitle,
body.quarto-light .quarto-title-block .quarto-title-banner .quarto-title-meta {
  color: #171C1B;
}

body.quarto-light .quarto-title .subtitle {
  font-style: italic;
  color: #67706E;
}

body.quarto-light .efron {
  color: #1D5C6E;
  font-weight: 600;
}

body.quarto-light .bayes {
  color: #8A5E06;
  font-weight: 600;
}

body.quarto-light .datum {
  color: #7A3B6B;
  font-weight: 600;
}

body.quarto-light .callout {
  border-radius: 2px;
  border: 1px solid #D2D6D1;
  background: #E8EAE5;
}

body.quarto-light .callout.callout-style-default .callout-title {
  background: transparent;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.82rem;
  border-bottom: 1px solid #D2D6D1;
}

body.quarto-light .callout-note {
  border-left: 3px double #1D5C6E;
}

body.quarto-light .callout-important {
  border-left: 3px double #7A3B6B;
}

body.quarto-light .callout-warning {
  border-left: 3px double #8A5E06;
}

body.quarto-light .twin {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 1.6rem 0;
  border: 1px solid #D2D6D1;
  border-radius: 2px;
  overflow: hidden;
}

body.quarto-light .twin > div {
  padding: 0.9rem 1.1rem;
  background: #E8EAE5;
}

body.quarto-light .twin > div:first-child {
  border-right: 1px solid #D2D6D1;
  border-top: 3px solid #1D5C6E;
}

body.quarto-light .twin > div:last-child {
  border-top: 3px solid #C98A12;
}

body.quarto-light .twin h4 {
  margin: 0 0 0.5rem 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

body.quarto-light .twin > div:first-child h4 {
  color: #1D5C6E;
}

body.quarto-light .twin > div:last-child h4 {
  color: #8A5E06;
}

body.quarto-light .twin p, body.quarto-light .twin li {
  font-size: 0.93rem;
  margin-bottom: 0.45rem;
}

body.quarto-light .twin :last-child {
  margin-bottom: 0;
}

@media (max-width: 620px) {
  body.quarto-light .twin {
    grid-template-columns: 1fr;
  }
  body.quarto-light .twin > div:first-child {
    border-right: none;
    border-bottom: 1px solid #D2D6D1;
  }
}
body.quarto-light table, body.quarto-light .table {
  border-collapse: collapse;
  font-size: 0.9rem;
}

body.quarto-light .table > thead {
  border-bottom: 1.5px solid #171C1B;
  border-top: 1.5px solid #171C1B;
}

body.quarto-light .table > thead th {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #67706E;
}

body.quarto-light .table > tbody > tr > td {
  border-top: 1px solid #D2D6D1;
}

body.quarto-light .table > tbody {
  border-bottom: 1.5px solid #171C1B;
}

body.quarto-light .table > :not(caption) > * > * {
  background-color: transparent;
}

body.quarto-light .table td {
  font-variant-numeric: tabular-nums;
}

body.quarto-light caption, body.quarto-light .table caption {
  color: #67706E;
  font-size: 0.84rem;
}

body.quarto-light .cell-output-display, body.quarto-light .column-page, body.quarto-light .table-responsive {
  overflow-x: auto;
  max-width: 100%;
}

body.quarto-light main table, body.quarto-light main .table {
  display: block;
  width: max-content;
  max-width: 100%;
  overflow-x: auto;
}

body.quarto-light div.sourceCode {
  background: #E9EBE6;
  border: 1px solid #D2D6D1;
  border-radius: 2px;
}

body.quarto-light pre.sourceCode code {
  font-size: 0.83rem;
  line-height: 1.45;
}

body.quarto-light code:not(.sourceCode) {
  color: #5A2A4E;
  background: #E9EBE6;
  padding: 0 3px;
}

body.quarto-light summary {
  color: #67706E;
  font-size: 0.86rem;
  font-style: italic;
}

body.quarto-light figcaption, body.quarto-light .figure-caption {
  color: #67706E;
  font-size: 0.84rem;
  line-height: 1.45;
  text-align: left;
  max-width: 41rem;
}

body.quarto-light figure img, body.quarto-light .quarto-figure img, body.quarto-light p > img {
  max-width: 100%;
  height: auto;
}

.widget {
  border: 1px solid #D2D6D1;
  border-top: 3px solid #67706E;
  border-radius: 2px;
  background: #E8EAE5;
  padding: 0.9rem 1.1rem;
  margin: 1.5rem 0;
}

.widget form {
  margin-bottom: 0.4rem;
}

.widget-note {
  color: #67706E;
  font-size: 0.84rem;
  font-style: italic;
  margin-top: 0.5rem;
}

body.quarto-light mjx-container, body.quarto-light .katex-display {
  overflow-x: auto;
  overflow-y: hidden;
  max-width: 100%;
}

body.quarto-light .katex-display {
  margin: 1.05rem 0;
}

body.quarto-light .math.display, body.quarto-light span.math.display {
  display: block;
  overflow-x: auto;
  overflow-y: hidden;
  max-width: 100%;
}

body.quarto-light mjx-container[display=true] {
  margin: 1.05rem 0;
}

body.quarto-light nav[role=doc-toc] ul > li > a {
  color: #67706E;
}

nav[role=doc-toc] ul > li > a:hover,
body.quarto-light nav[role=doc-toc] ul > li > a.active {
  color: #1D5C6E;
  border-left-color: #1D5C6E;
}
