/* Week 4 student notes: captions and wide tables follow the lecture workflow. */
.quarto-figure figcaption,
.quarto-float-caption,
table > caption {
  text-align: center;
}
table > caption {
  caption-side: top;
}
.table-responsive-wrap.lecture-notes-table > table {
  min-width: 38rem;
}

/* Keep mobile captions readable while the wider table scrolls beneath them. */
.table-responsive-wrap.lecture-notes-table {
  container-type: inline-size;
}
@media (max-width: 767.98px) {
  .lecture-notes-table table > caption {
    width: 100cqw;
    max-width: 100cqw;
    position: sticky;
    left: 0;
  }
  .lecture-notes-table::before {
    content: "Scroll sideways to read all columns.";
    display: block;
    position: sticky;
    left: 0;
    margin-bottom: .4rem;
    color: #52616b;
    font-size: .85rem;
  }
}

/* Temporary author-review marks for the flow revision, removed after approval. */
.revision {
  background-color: #f8d7e7;
  border-radius: 2px;
  padding: .02em .08em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
