:root {
  --ink: #242b35;
  --muted: #606974;
  --blue: #245a9b;
  --line: #e2e6eb;
  --wash: #f7f8fa;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body { margin: 0; background: #fff; color: var(--ink); font: 1rem/1.7 var(--sans); -webkit-font-smoothing: antialiased; }
::selection { background: #e0ebf8; }
h1, h2, h3, h4, p, dl, dd { margin: 0; }
h1, h2, h3, h4 { line-height: 1.35; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 5px; border-radius: 2px; }
p { color: var(--muted); }
.page-width, .masthead-inner { width: min(1040px, calc(100% - 5rem)); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 20; top: -5rem; left: 1rem; padding: .7rem 1rem; background: #fff; }
.skip-link:focus { top: 1rem; }
.masthead { border-bottom: 1px solid var(--line); }
.masthead-inner { min-height: 65px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.course-mark { font-size: .875rem; font-weight: 500; white-space: nowrap; }
.mark-divider { color: #a0a7b0; margin-inline: .6rem; font-weight: 400; }
.institution { font-size: .8125rem; color: var(--muted); }
.institution-divider { padding-inline: .35rem; }
.hero { padding-block: 2.75rem 2rem; }
.eyebrow { color: var(--muted); font-size: .9375rem; margin-bottom: .6rem; }
.eyebrow span { padding-inline: .35rem; }
h1 { font-size: clamp(1.9rem, 3.4vw, 2.55rem); line-height: 1.25; font-weight: 650; letter-spacing: -.035em; }
.quick-facts { display: grid; grid-template-columns: 1.2fr .7fr 1.1fr; gap: 1.5rem; padding-block: 0 2rem; }
.quick-facts dt { font-size: .8125rem; color: var(--muted); margin-bottom: .25rem; }
.quick-facts dd { font-size: .9375rem; font-weight: 500; line-height: 1.6; }
.section-index { position: sticky; top: 0; z-index: 5; background: #fff; border-block: 1px solid var(--line); }
.section-index nav { display: flex; gap: 1.75rem; overflow-x: auto; padding: .15rem .15rem 0; }
.section-index a { color: var(--muted); white-space: nowrap; font-size: .875rem; padding-block: .8rem; border-bottom: 2px solid transparent; }
.section-index a:hover { color: var(--blue); text-decoration: none; }
.section-index a.is-active { color: var(--blue); border-bottom-color: var(--blue); }
.section-index a:focus-visible { outline-offset: -2px; }
.course-content { max-width: 100%; }
.content-section { padding-block: 2.6rem; border-bottom: 1px solid var(--line); scroll-margin-top: .5rem; }
.content-section:last-child { border-bottom: 0; }
.section-heading { margin-bottom: 1.1rem; }
h2 { font-size: 1.45rem; font-weight: 600; letter-spacing: -.025em; }
h3 { font-size: 1rem; font-weight: 600; }
.overview-section > p { max-width: 57rem; }
.overview-followup { margin-top: .85rem; }
.prerequisites { margin-top: 1.6rem; padding: 1rem 1.15rem; background: var(--wash); border-radius: 5px; }
.prerequisites summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; list-style: none; font-size: .9375rem; font-weight: 550; cursor: pointer; }
.prerequisites summary::-webkit-details-marker { display: none; }
.prerequisites summary span { color: var(--muted); font-size: 1.2rem; line-height: 1; }
.prerequisites[open] summary span { transform: rotate(45deg); }
.details-body { margin-top: .8rem; font-size: .9375rem; }
.prerequisite-codes { padding-left: 1.2rem; color: var(--muted); }
.schedule-note { max-width: 53rem; margin-bottom: 1.4rem; font-size: .9375rem; }
.schedule-table { width: 100%; border-collapse: collapse; text-align: left; }
.schedule-table thead { background: var(--wash); }
.schedule-table thead th { color: var(--muted); font-size: .8125rem; font-weight: 550; padding: .6rem 1rem; border-block: 1px solid var(--line); }
.lecture-column { width: 85px; }
.schedule-table tbody tr { border-bottom: 1px solid var(--line); }
.schedule-table tbody th { vertical-align: top; font-size: .875rem; font-weight: 400; color: var(--muted); font-variant-numeric: tabular-nums; padding: 1rem; }
.schedule-table td { vertical-align: top; padding: .9rem 1rem; }
.schedule-table h3 { font-size: .9375rem; font-weight: 550; line-height: 1.55; }
.schedule-table .schedule-status { text-align: right; color: var(--muted); font-size: .8125rem; white-space: nowrap; }
.schedule-status a { font-size: .875rem; }
.exam-row { background: #f6f8fb; }
.reading-list > p { font-size: .9375rem; }
.book-link { display: block; padding-block: 1rem 0; width: fit-content; }
.book-link:hover { text-decoration: none; }
.book-link:hover h3 { text-decoration: underline; text-underline-offset: 3px; }
.book-link h3 { font-size: .9375rem; font-weight: 550; margin-bottom: .2rem; }
.book-link p { font-size: .875rem; }
.book-link p span { display: inline; }
.book-link p span::before { content: " · "; }
.assessment-list { max-width: 680px; margin-top: .35rem; }
.assessment-list > div { display: flex; justify-content: space-between; gap: 2rem; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.assessment-list > div:first-child { padding-top: 0; }
.assessment-list dt { font-size: .9375rem; font-weight: 500; }
.assessment-list dt span { display: block; font-size: .875rem; color: var(--muted); font-weight: 400; margin-top: .15rem; }
.assessment-list dd { font-size: 1rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.project-section > p, .project-subsection, .project-example { max-width: 57rem; }
.project-directions { margin-block: 1.3rem; }
.project-directions > div + div { margin-top: .9rem; }
.project-directions dt { font-weight: 600; margin-bottom: .2rem; }
.project-directions dd { color: var(--muted); }
.project-example, .project-subsection { margin-top: 1.6rem; }
.project-example p, .project-subsection p { margin-top: .5rem; }
.project-milestones { margin-top: 1.2rem; }
.project-format { margin-top: 1rem; }
.project-list { padding-left: 1.2rem; margin: 0; color: var(--muted); }
.project-list li + li { margin-top: .45rem; }
.project-source { margin-top: 1.75rem; font-size: .875rem; }
.assignment-section { margin-top: 1.6rem; }
.assignment-list { list-style: none; max-width: 680px; margin: .5rem 0 0; padding: 0; }
.assignment-list li { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: .25rem 1rem; padding-block: .75rem; border-bottom: 1px solid var(--line); font-size: .9375rem; }
.assignment-status { color: var(--muted); font-size: .875rem; }
.policy-note { margin-top: 1.6rem; }
.policy-note p { margin-top: .45rem; font-size: .9375rem; }
.staff-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 3rem; }
.staff-role { font-size: .8125rem; margin-bottom: .35rem; color: var(--muted); }
.instructor h3 { margin-bottom: .4rem; font-size: 1.1rem; }
.instructor p:not(.staff-role) { font-size: .875rem; }
.staff-email { display: block; font-size: .875rem; overflow-wrap: anywhere; }
.instructor .staff-email { margin-top: .5rem; }
.plain-link { display: inline-block; font-size: .875rem; margin-top: .2rem; }
.staff-details h3 { font-size: 1rem; margin-bottom: .5rem; }
.staff-details p { font-size: .875rem; }
.staff-details .office-time { color: var(--ink); font-weight: 500; margin-bottom: .2rem; }
.office-policy { margin-top: .7rem; max-width: 33rem; }
#office-hours { scroll-margin-top: 1rem; }
.ta-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; border-top: 1px solid var(--line); padding-top: 1.5rem; margin-top: 1.8rem; }
.ta-person h3 { font-size: .9375rem; line-height: 1.6; }
.ta-person h3 span { font-size: .875rem; font-weight: 400; color: var(--muted); display: block; margin-top: .1rem; }
.ta-person .staff-email { margin-top: .5rem; }
.ta-office-hours { margin-top: .9rem; }
.ta-office-hours h4 { font-size: .875rem; font-weight: 500; margin-bottom: .3rem; }
.ta-office-hours p { font-size: .875rem; }
.ta-office-hours .ta-location { margin-top: .35rem; }
.footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .75rem 1.5rem; padding-block: 1.3rem 2rem; border-top: 1px solid var(--line); font-size: .8125rem; color: var(--muted); }
.acknowledgments { font-size: 1rem; line-height: 1.75; }
.acknowledgments h2 { font-size: 1.125rem; }
.acknowledgments .section-heading { margin-bottom: .6rem; }
.acknowledgments a { color: inherit; text-decoration: underline; text-decoration-color: #b8c0ca; text-underline-offset: 2px; }
.acknowledgments a:hover { color: var(--blue); text-decoration-color: currentColor; }
.footer-course { color: var(--muted); }
.footer-course span { margin-left: .65rem; }
.back-top { white-space: nowrap; }
.back-top span { margin-left: .3rem; }
@media (max-width: 850px) {
  .page-width, .masthead-inner { width: calc(100% - 3rem); }
  .institution { max-width: 180px; text-align: right; line-height: 1.5; }
  .institution-divider { display: none; }
  .quick-facts { grid-template-columns: 1fr 1fr; gap: 1.25rem 2rem; }
  .section-index nav { gap: 1.4rem; }
  .staff-grid { gap: 2rem; }
  .ta-list { grid-template-columns: 1fr 1fr; }
  .footer > span { display: none; }
}
@media (max-width: 600px) {
  .page-width, .masthead-inner { width: calc(100% - 2.5rem); }
  .masthead-inner { min-height: 64px; gap: 1rem; }
  .course-mark { white-space: normal; line-height: 1.5; }
  .mark-divider { margin-inline: .3rem; }
  .institution { max-width: 155px; font-size: .75rem; }
  .hero { padding-block: 2rem 1.5rem; }
  h1 { font-size: 1.95rem; }
  .quick-facts { gap: 1.15rem 1rem; padding-bottom: 1.5rem; }
  .quick-facts dd { font-size: .875rem; }
  .section-index { margin-inline: -1.25rem; padding-inline: 1.25rem; }
  .section-index nav { gap: 1.3rem; }
  .content-section { padding-block: 2rem; }
  h2 { font-size: 1.3rem; }
  .schedule-table thead th, .schedule-table tbody th, .schedule-table td { padding-inline: .4rem; }
  .lecture-column { width: 60px; }
  .schedule-table h3 { font-size: .9375rem; }
  .schedule-table .schedule-status { font-size: .75rem; }
  .staff-grid, .ta-list { grid-template-columns: 1fr; gap: 1.5rem; }
  .ta-person h3 span { display: inline; margin-left: .5rem; }
  .footer { align-items: flex-start; }
  .footer-course span { display: block; margin: .1rem 0 0; max-width: 220px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  body { font-size: 10pt; }
  .page-width, .masthead-inner { width: 100%; }
  .hero { padding-block: 1.5rem; }
  h1 { font-size: 24pt; }
  .section-index, .back-top, .skip-link { display: none; }
  .quick-facts { grid-template-columns: repeat(3, 1fr); padding-bottom: 1.5rem; }
  .content-section { padding-block: 1.5rem; }
  .section-heading { break-after: avoid; }
  tr, .staff-grid, .ta-person { break-inside: avoid; }
  .schedule-table thead { display: table-header-group; }
  .ta-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  a { color: inherit; text-decoration: none; }
}
