/* Site aesthetics follow the book (D29): monochrome ink on white, cosmo
   defaults for links, neutral sidebar — same look as docs/book*. */
a {
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

code {
  color: #1a1a19;
}

#quarto-sidebar {
  background-color: #f4f4f3;
  border-right: 1px solid #e1e4e8;
}

/* Sidebar text stays ink on the light background (the theme would otherwise
   inherit light-on-dark text from the old primary scheme). */
#quarto-sidebar .sidebar-item-text,
#quarto-sidebar .menu-text,
#quarto-sidebar a,
#quarto-sidebar .sidebar-tools-main .quarto-navigation-tool {
  color: #1a1a19 !important;
}

/* Bold every entry in the left sidebar menu */
#quarto-sidebar .sidebar-item-text,
#quarto-sidebar .menu-text {
  font-weight: 700 !important;
}

/* Standard "Open in Colab" badge in the Schedule Notebook column.
   Sized to 25px (30% smaller than the prior 36px) for a balanced
   click target without dominating the row. max-width: none overrides
   the Bootstrap "img { max-width: 100% }" rule, which would otherwise
   squeeze the width and distort the badge's 117:20 aspect ratio. */
img[src*="colab-badge"] {
  height: 25px !important;
  width: auto !important;
  max-width: none !important;
  vertical-align: middle;
}

/* ---- Schedule page table (schedule.qmd) ----------------------------------
   Emitted inline until 2026-08-23; moved here so the rendered page stays under
   the 65,535-character ceiling the Schedule page is held to. Only that page
   uses .overflow-table / .below-table. */
.overflow-table { font-size: .85rem; width: 100%; line-height: 1.2; }
.overflow-table th, .overflow-table td {
  padding: .3rem; text-align: left; word-wrap: break-word; vertical-align: top;
}
.overflow-table td:nth-child(3), .overflow-table td:nth-child(4) { font-weight: 700; }
/* 9 columns since the Slides column landed: # · Date · Week · Studio · Topic ·
   Slides · Notebook · Milestone · Required reading. */
.overflow-table th:nth-child(1), .overflow-table td:nth-child(1) { width: 3%; }
.overflow-table th:nth-child(2), .overflow-table td:nth-child(2) { width: 7%; }
.overflow-table th:nth-child(3), .overflow-table td:nth-child(3) { width: 5%; }
.overflow-table th:nth-child(4), .overflow-table td:nth-child(4) { width: 12%; }
.overflow-table th:nth-child(5), .overflow-table td:nth-child(5) { width: 18%; }
.overflow-table th:nth-child(6), .overflow-table td:nth-child(6) { width: 5%; }
.overflow-table th:nth-child(7), .overflow-table td:nth-child(7) { width: 7%; }
.overflow-table th:nth-child(8), .overflow-table td:nth-child(8) { width: 11%; }
.overflow-table th:nth-child(9), .overflow-table td:nth-child(9) { width: 32%; }
/* The Slides column is one short link per row; keep it on one line. */
.overflow-table td:nth-child(6) { white-space: nowrap; font-weight: 700; }
.below-table { font-size: .85rem; line-height: 1.2; margin-top: 1rem; }
