@font-face {
  font-family: "Source Sans 3";
  src: url("fonts/SourceSans3VF-Upright.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("fonts/SourceSans3VF-Italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 200 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f3efe5;
  --paper-deep: #e8e1d2;
  --ink: #14263a;
  --ink-soft: #526174;
  --rule: #aeb5b4;
  --rule-dark: #74808a;
  --rust: #91462f;
  --moss: #3f6653;
  --ochre: #765c21;
  --white: #fffdf7;
  --course-color: #3f6653;
  --focus: #0b63ce;
  --max: 1440px;
  --gutter: clamp(18px, 4vw, 64px);
  --border: var(--rule);
  --surface: var(--white);
  --text: var(--ink);
  --text-muted: var(--ink-soft);
  --gold: var(--ochre);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}
::selection { background: #d7c59b; color: var(--ink); }
* { scrollbar-color: var(--rule-dark) var(--paper-deep); }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
button, summary, a { -webkit-tap-highlight-color: transparent; }
button, input, select { font: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-140%);
}
.skip-link:focus { transform: none; }

.hq-shell {
  display: grid;
  grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
  column-gap: clamp(34px, 4vw, 64px);
  max-width: 1520px;
  min-height: 100vh;
  margin: 0 auto;
  padding-inline: var(--gutter);
}
.hq-rail {
  position: sticky;
  top: 0;
  align-self: start;
  height: 100vh;
  padding-right: clamp(24px, 3vw, 42px);
  padding-bottom: 28px;
  overflow-y: auto;
  border-right: 1px solid var(--rule-dark);
}
.site-masthead {
  padding: 26px 0 18px;
  border-bottom: 2px solid var(--ink);
}
.student-masthead {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 26px var(--gutter) 18px;
  border-bottom: 2px solid var(--ink);
}
.site-masthead h1,
.student-masthead h1 {
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  font-weight: 650;
  letter-spacing: -.035em;
  line-height: 1.05;
}
.site-masthead h1 { font-size: clamp(1.4rem, 2vw, 1.72rem); letter-spacing: -.03em; }
.site-masthead p,
.student-masthead p {
  margin-top: 5px;
  color: var(--ink-soft);
  font-size: .8rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.student-masthead nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px 20px;
  font-size: .78rem;
  font-weight: 650;
}
.student-masthead nav a,
.student-masthead > a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.workspace-masthead {
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 2px solid var(--ink);
}
.workspace-masthead > p {
  font-size: .95rem;
  font-weight: 560;
}
.workspace-masthead nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px 22px;
}
.workspace-masthead a,
.rail-nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  font-size: .78rem;
  font-weight: 680;
}
.rail-now,
.rail-agenda {
  padding: 26px 0;
  border-bottom: 1px solid var(--rule);
}
.rail-now h2,
.rail-agenda h2 {
  color: var(--ink-soft);
  font-size: .68rem;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.rail-now strong {
  display: block;
  margin-top: 14px;
  font-size: 1.08rem;
  line-height: 1.25;
}
.rail-now p {
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: .82rem;
}
.rail-agenda-list { display: grid; margin-top: 8px; }
.rail-agenda-list > p { color: var(--ink-soft); font-size: .8rem; }
.rail-agenda-item {
  display: grid;
  gap: 2px;
  min-height: 44px;
  padding: 13px 0;
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
}
.rail-agenda-item:last-child { border-bottom: 0; }
.rail-agenda-item:hover strong { color: var(--course-color); text-decoration: underline; }
.rail-agenda-item strong { font-size: .84rem; line-height: 1.25; }
.rail-agenda-item span,
.rail-agenda-item small { color: var(--ink-soft); font-size: .72rem; line-height: 1.35; }
.rail-agenda-item small { margin-top: 3px; }
.rail-nav { display: grid; padding-top: 16px; }

.hq-workspace,
.hq-page main { min-width: 0; }

/* Instructor HQ: course-first launch surface. The roster drills live in the
   first viewport by design; the operational queue follows the courses. */
.hq-launch-masthead {
  display: flex;
  min-height: 118px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  padding: 24px var(--gutter) 22px;
  background: var(--ink);
  color: var(--white);
}
.hq-launch-masthead > div > p:first-child {
  margin-bottom: 3px;
  color: var(--paper-deep);
  font-size: .75rem;
  font-weight: 650;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.hq-launch-masthead h1 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 590;
  letter-spacing: -.045em;
  line-height: .96;
}
.hq-launch-masthead > div > p:last-child {
  margin-top: 8px;
  color: var(--paper-deep);
  font-size: .8rem;
  font-weight: 650;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hq-launch-masthead nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px 22px;
}
.hq-launch-masthead nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--white);
  font-size: .78rem;
  font-weight: 670;
}
.hq-launch-main,
.hq-launch-footer {
  width: min(100%, var(--max));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.course-launch-section { padding-top: 24px; }
.launch-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 13px;
  border-bottom: 2px solid var(--ink);
}
.launch-heading > div > p,
.launch-next > span,
.teaching-brief span {
  color: var(--ink-soft);
  font-size: .69rem;
  font-weight: 780;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.launch-heading h2 {
  margin-top: 2px;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  font-weight: 640;
  letter-spacing: -.035em;
  line-height: 1;
}
.launch-heading > p {
  max-width: 46ch;
  color: var(--ink-soft);
  font-size: .88rem;
  text-align: right;
}
.course-launch-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 2px solid var(--ink);
}
.course-launch {
  display: grid;
  grid-template-rows: 150px 1fr auto;
  min-width: 0;
  border-right: 1px solid var(--rule-dark);
  background: color-mix(in srgb, var(--course-color) 2.5%, var(--white));
}
.course-launch:first-child { border-left: 1px solid var(--rule-dark); }
.launch-image {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border-bottom: 5px solid var(--course-color);
  background: var(--ink);
}
.launch-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.74) contrast(1.04);
}
.launch-image figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 4px 7px;
  background: rgba(20, 38, 58, .88);
  color: #fff;
  font-size: .6rem;
  line-height: 1.25;
}
.launch-body {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(135px, .9fr);
  min-height: 188px;
}
.launch-identity,
.launch-next { padding: 18px 17px; }
.launch-next { border-left: 1px solid var(--rule); }
.launch-identity h2 {
  margin-top: 5px;
  font-size: clamp(1.08rem, 1.55vw, 1.35rem);
  font-weight: 650;
  letter-spacing: -.025em;
  line-height: 1.08;
}
.launch-identity > p:last-child,
.launch-next p {
  margin-top: 11px;
  color: var(--ink-soft);
  font-size: .78rem;
  line-height: 1.4;
}
.launch-next strong {
  display: block;
  margin-top: 8px;
  font-size: .97rem;
  line-height: 1.18;
}
.launch-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--rule-dark);
}
.launch-action {
  display: flex;
  min-height: 48px;
  align-items: center;
  padding: 8px 12px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  font-size: .78rem;
  font-weight: 680;
  line-height: 1.2;
  text-decoration: none;
}
.launch-action:nth-child(even) { border-right: 0; }
.launch-action:hover { background: var(--paper-deep); text-decoration: underline; }
.launch-action--roster {
  grid-column: 1 / -1;
  min-height: 58px;
  justify-content: space-between;
  border-right: 0;
  background: var(--course-color);
  color: #fff;
  font-size: .94rem;
}
.launch-action--roster small {
  font-size: .64rem;
  font-weight: 650;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.launch-action--roster:hover { background: var(--ink); }
.teaching-brief {
  display: grid;
  grid-template-columns: .85fr .95fr 1.4fr;
  border-bottom: 2px solid var(--ink);
}
.teaching-brief > div {
  min-height: 132px;
  padding: 20px 20px 22px 0;
  border-right: 1px solid var(--rule);
}
.teaching-brief > div:not(:first-of-type) { padding-left: 20px; }
.teaching-brief > div:last-child { border-right: 0; padding-right: 0; }
.teaching-brief strong {
  display: block;
  margin-top: 8px;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.25;
}
.teaching-brief p {
  margin-top: 6px;
  color: var(--ink-soft);
  font-size: .8rem;
  line-height: 1.4;
}
.teaching-brief-priority { box-shadow: inset 0 4px 0 var(--rust); }
.teaching-brief-priority a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  margin-top: 7px;
  color: var(--rust);
  font-size: .76rem;
  font-weight: 720;
}
.hq-launch-footer { padding-bottom: 32px; color: var(--ink-soft); font-size: .78rem; }
.hq-launch-footer > span { display: block; padding-top: 18px; border-top: 1px solid var(--rule); }
.student-index-main {
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: var(--gutter);
}
.archive-section { padding-bottom: 30px; }

.situation-ledger {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 2px solid var(--ink);
}
.situation-ledger > div {
  min-height: 128px;
  padding: 21px 20px 22px 0;
  border-right: 1px solid var(--rule);
}
.situation-ledger > div:not(:first-of-type) { padding-left: 20px; }
.situation-ledger > div:last-child { border-right: 0; }
.situation-ledger h3,
.section-heading p,
.current-context,
.pattern-context {
  color: var(--ink-soft);
  font-size: .68rem;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.situation-ledger strong {
  display: block;
  margin-top: 12px;
  font-size: clamp(.96rem, 1.25vw, 1.12rem);
  font-weight: 650;
  line-height: 1.25;
}
.situation-ledger p {
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: .85rem;
  line-height: 1.45;
}
.status-risk { box-shadow: inset 0 4px 0 var(--rust); }
.status-changed { box-shadow: inset 0 4px 0 var(--moss); }

.priority-move {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 30px;
  padding: 27px 0 28px;
  border-bottom: 1px solid var(--rule-dark);
}
.priority-move h2 {
  max-width: 28ch;
  font-size: clamp(1.35rem, 2.6vw, 2.35rem);
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: 1.1;
}
#priorityTask {
  display: block;
}
.priority-move p { max-width: 78ch; margin-top: 8px; color: var(--ink-soft); }
.priority-move p strong { color: var(--rust); font-size: inherit; font-weight: 750; }
.primary-action {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--white);
  font-size: .82rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.primary-action:hover { background: var(--rust); border-color: var(--rust); }

.dispatch-section { padding-top: clamp(26px, 4vw, 42px); }
.week-section,
.decision-section { padding-top: clamp(38px, 5vw, 58px); }
.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--ink);
}
.section-heading h2 { font-size: clamp(1.2rem, 2vw, 1.55rem); font-weight: 650; letter-spacing: -.025em; }
.section-heading p { text-align: right; }
.section-heading > a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  font-size: .8rem;
  font-weight: 680;
}
.dispatch-list { display: grid; }
.course-dispatch {
  display: grid;
  grid-template-columns: minmax(150px, 210px) minmax(175px, .85fr) minmax(210px, 1.05fr) minmax(190px, .85fr);
  min-height: 142px;
  border-bottom: 1px solid var(--rule-dark);
}
.dispatch-image {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: var(--ink);
}
.dispatch-image img,
.course-hero-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.78) contrast(1.02);
}
.dispatch-image figcaption,
.course-hero-art figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 4px 7px;
  background: rgba(20, 38, 58, .86);
  color: #fff;
  font-size: .58rem;
  line-height: 1.25;
}
.dispatch-image--text { display: grid; place-items: center; color: #fff; font-weight: 700; }
.dispatch-identity,
.dispatch-session,
.dispatch-links {
  padding: 17px 16px;
  border-left: 1px solid var(--rule);
}
.course-code {
  color: var(--course-color);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.dispatch-identity h3 { font-size: 1.1rem; font-weight: 650; line-height: 1.18; }
.dispatch-identity .course-code { margin-top: 8px; }
.dispatch-identity p:last-child,
.dispatch-session p { margin-top: 8px; color: var(--ink-soft); font-size: .8rem; }
.dispatch-session > span { color: var(--ink-soft); font-size: .68rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.dispatch-session strong { display: block; margin-top: 8px; font-size: 1rem; line-height: 1.25; }
.dispatch-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-content: center;
  padding: 10px;
}
.dispatch-links a {
  display: flex;
  min-height: 44px;
  align-items: center;
  padding-inline: 8px;
  border-bottom: 1px solid var(--rule);
  font-size: .78rem;
  font-weight: 650;
  text-decoration: underline;
}
.dispatch-links a:nth-child(odd) { border-right: 1px solid var(--rule); }
.dispatch-links a:has(.access-tag) { grid-column: 1 / -1; }
.dispatch-links a:hover { color: var(--course-color); }
.access-tag { margin-left: auto; color: var(--ink-soft); font-size: .58rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; }

.week-card { padding-top: 22px; }
.week-desktop { display: grid; grid-template-columns: 55px repeat(5, 1fr); border-bottom: 1px solid var(--rule-dark); }
.day-column, .time-column { min-width: 0; border-right: 1px solid var(--rule); }
.day-column:last-child { border-right: 0; }
.day-name {
  height: 31px;
  padding: 4px 7px;
  border-bottom: 1px solid var(--rule-dark);
  color: var(--ink-soft);
  font-size: .68rem;
  font-weight: 750;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.day-track { position: relative; min-height: var(--track-height, 205px); }
.student-index-page .week-section { padding-top: 28px; padding-bottom: 0; }
.homepage-next { display: flex; align-items: center; gap: 24px; padding: 20px; margin-bottom: 24px; background: var(--ink); color: var(--white); }
.homepage-next h2 { flex-shrink: 0; font-size: 1.1rem; }
.homepage-next > div { flex: 1; }
.homepage-next strong { font-size: 1.1rem; }
.homepage-next p { margin-top: 4px; font-size: .95rem; }
.homepage-next > a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 12px; border: 1px solid currentColor; color: inherit; font-size: .9rem; white-space: nowrap; }
@media (max-width: 650px) { .homepage-next { align-items: flex-start; flex-direction: column; gap: 12px; } }
.time-label { position: absolute; right: 8px; color: var(--ink-soft); font-size: .62rem; transform: translateY(-50%); }
.time-label:first-child { transform: none; }
.class-block {
  position: absolute;
  top: var(--top);
  right: 5px;
  left: 5px;
  height: max(var(--height), 39px);
  padding: 6px 8px;
  border-top: 3px solid var(--course-color);
  background: color-mix(in srgb, var(--course-color) 10%, var(--white));
  color: var(--ink);
  text-decoration: none;
  overflow: hidden;
}
.class-block strong, .class-block span { display: block; }
.class-block strong { font-size: .72rem; }
.class-block span { color: var(--ink-soft); font-size: .62rem; }
.week-mobile { display: none; }
.term-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); border-bottom: 1px solid var(--rule-dark); }
.term-date { padding: 12px 11px; border-right: 1px solid var(--rule); color: var(--ink-soft); font-size: .72rem; }
.term-date:last-child { border-right: 0; }
.term-date strong { display: block; color: var(--ink); }

.decision-section { padding-bottom: 68px; }
.decision-disclosure { border-top: 2px solid var(--ink); border-bottom: 1px solid var(--ink); }
.decision-disclosure > summary {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  cursor: pointer;
  list-style: none;
}
.decision-disclosure > summary::-webkit-details-marker { display: none; }
.decision-disclosure > summary::after { content: "+"; font-size: 1.5rem; }
.decision-disclosure[open] > summary::after { content: "−"; }
.decision-disclosure summary span:first-child { display: grid; }
.decision-disclosure summary strong { font-size: 1.12rem; }
.decision-disclosure summary small { color: var(--ink-soft); font-size: .75rem; }
.decision-disclosure summary span:last-child { margin-left: auto; color: var(--ink-soft); font-size: .75rem; }
.decision-body { padding: 18px 0 26px; border-top: 1px solid var(--rule); }
.todo-filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.todo-filters button,
.todo-item button {
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--rule-dark);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: .76rem;
  font-weight: 650;
}
.todo-filters button[aria-pressed="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.todo-list { border-top: 1px solid var(--rule); }
.todo-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  min-height: 92px;
  padding: 15px 0;
  border-bottom: 1px solid var(--rule);
}
.todo-item h3 { margin-top: 3px; font-size: .96rem; }
.todo-item p { margin-top: 4px; color: var(--ink-soft); font-size: .8rem; }
.todo-lane { color: var(--rust); font-size: .63rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.todo-item.is-done h3 { text-decoration: line-through; text-decoration-color: var(--rule-dark); }
.todo-storage-note, .todo-empty { padding-top: 12px; color: var(--ink-soft); font-size: .72rem; }

.student-masthead > a { font-size: .8rem; font-weight: 700; }
.student-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .65fr); gap: 30px; padding: clamp(42px, 8vw, 90px) 0 30px; border-bottom: 3px double var(--rule-dark); }
.student-intro h2 { max-width: 18ch; font-size: clamp(2rem, 5vw, 4.4rem); font-weight: 550; letter-spacing: -.055em; line-height: .98; }
.student-intro p { align-self: end; max-width: 50ch; color: var(--ink-soft); }
.student-dispatches { margin-bottom: 70px; }

.archive-section { padding-bottom: 30px; }
.archive-link-card, .site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  border-top: 1px solid var(--rule);
  color: var(--ink-soft);
  font-size: .78rem;
}
.site-footer { max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }
.site-footer a, .archive-link-card a { color: var(--ink); font-weight: 700; }

@media (max-width: 1240px) {
  .launch-body { grid-template-columns: 1fr; }
  .launch-next { border-top: 1px solid var(--rule); border-left: 0; }
  .course-dispatch { grid-template-columns: 170px minmax(180px, .8fr) minmax(230px, 1fr); }
  .dispatch-links { display: flex; grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; padding: 8px 0; border-left: 0; }
  .dispatch-links a { min-width: 145px; flex: 1; padding: 0 12px; border-right: 1px solid var(--rule); }
  .dispatch-links a:nth-child(odd) { border-right: 1px solid var(--rule); }
}

@media (max-width: 980px) {
  .course-launch-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .course-launch:nth-child(2) { border-right: 0; }
  .course-launch:nth-child(3) {
    grid-column: 1 / -1;
    grid-template-columns: minmax(240px, .8fr) minmax(0, 1.2fr);
    grid-template-rows: 1fr auto;
    border-top: 1px solid var(--rule-dark);
    border-left: 1px solid var(--rule-dark);
    border-right: 0;
  }
  .course-launch:nth-child(3) .launch-image { grid-row: 1 / 3; min-height: 250px; border-right: 1px solid var(--rule-dark); border-bottom: 0; }
  .course-launch:nth-child(3) .launch-body { grid-template-columns: 1fr 1fr; }
  .course-launch:nth-child(3) .launch-next { border-top: 0; border-left: 1px solid var(--rule); }
  .hq-shell { display: block; max-width: var(--max); }
  .hq-rail {
    position: static;
    height: auto;
    padding-right: 0;
    overflow: visible;
    border-right: 0;
  }
  .site-masthead {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
  }
  .rail-agenda-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rail-agenda-item { padding: 13px 14px; border-right: 1px solid var(--rule); border-bottom: 0; }
  .rail-agenda-item:first-child { padding-left: 0; }
  .rail-agenda-item:last-child { padding-right: 0; border-right: 0; }
  .rail-nav { display: flex; flex-wrap: wrap; gap: 0 22px; }
}

@media (max-width: 760px) {
  :root { --gutter: 16px; }
  .hq-launch-masthead { min-height: 0; align-items: flex-start; flex-direction: column; gap: 13px; padding-top: 19px; }
  .hq-launch-masthead nav { justify-content: flex-start; gap: 0 18px; }
  .launch-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
  .launch-heading > p { text-align: left; }
  .course-launch-grid { grid-template-columns: 1fr; }
  .course-launch,
  .course-launch:first-child,
  .course-launch:nth-child(2),
  .course-launch:nth-child(3) {
    display: grid;
    grid-column: auto;
    grid-template-columns: 1fr;
    grid-template-rows: 132px 1fr auto;
    border-top: 0;
    border-right: 1px solid var(--rule-dark);
    border-left: 1px solid var(--rule-dark);
  }
  .course-launch + .course-launch { border-top: 1px solid var(--rule-dark); }
  .course-launch:nth-child(3) .launch-image {
    grid-row: auto;
    min-height: 0;
    border-right: 0;
    border-bottom: 5px solid var(--course-color);
  }
  .course-launch:nth-child(3) .launch-body { grid-template-columns: 1fr; }
  .course-launch:nth-child(3) .launch-next { border-top: 1px solid var(--rule); border-left: 0; }
  .launch-body { min-height: 0; }
  .launch-action--roster { min-height: 62px; }
  .teaching-brief { grid-template-columns: 1fr; }
  .teaching-brief > div,
  .teaching-brief > div:not(:first-of-type),
  .teaching-brief > div:last-child { min-height: 0; padding: 17px 0 19px; border-right: 0; border-bottom: 1px solid var(--rule); }
  .teaching-brief > div:last-child { border-bottom: 0; }
  .hq-shell { padding-inline: var(--gutter); }
  .site-masthead, .student-masthead { align-items: start; flex-direction: column; gap: 8px; padding-top: 19px; }
  .workspace-masthead { align-items: start; flex-direction: column; gap: 0; padding: 12px 0; }
  .workspace-masthead nav { justify-content: flex-start; gap: 0 18px; }
  .rail-agenda-list { grid-template-columns: 1fr; }
  .rail-agenda-item,
  .rail-agenda-item:first-child,
  .rail-agenda-item:last-child { padding: 12px 0; border-right: 0; border-bottom: 1px solid var(--rule); }
  .rail-agenda-item:last-child { border-bottom: 0; }
  .situation-ledger { grid-template-columns: 1fr 1fr; }
  .situation-ledger > div { min-height: 145px; padding: 18px 16px 20px 0; border-bottom: 1px solid var(--rule); }
  .situation-ledger > div:nth-of-type(even) { padding-left: 16px; border-right: 0; }
  .situation-ledger > div:nth-of-type(3) { padding-left: 0; }
  .priority-move { grid-template-columns: 1fr; gap: 18px; }
  .primary-action { width: 100%; }
  .course-dispatch { display: grid; grid-template-columns: 112px minmax(0, 1fr); }
  .dispatch-image { min-height: 124px; }
  .dispatch-identity { border-left: 1px solid var(--rule); }
  .dispatch-session { grid-column: 1 / -1; border-top: 1px solid var(--rule); border-left: 0; }
  .dispatch-links { display: flex; grid-column: 1 / -1; }
  .dispatch-links a { min-width: 130px; }
  .week-desktop { display: none; }
  .week-mobile { display: grid; border-top: 1px solid var(--rule-dark); }
  .mobile-day { display: grid; grid-template-columns: 94px 1fr; min-height: 58px; border-bottom: 1px solid var(--rule); }
  .mobile-day > strong { padding: 14px 10px 10px 0; font-size: .72rem; }
  .mobile-day > div { padding: 8px 0 8px 10px; border-left: 1px solid var(--rule); }
  .mobile-block { display: flex; min-height: 44px; align-items: center; justify-content: space-between; padding: 5px 8px; border-top: 3px solid var(--course-color); background: var(--white); text-decoration: none; }
  .mobile-block + .mobile-block { margin-top: 5px; }
  .mobile-block span, .no-class { color: var(--ink-soft); font-size: .7rem; }
  .term-strip { grid-template-columns: 1fr 1fr; }
  .term-date:nth-child(even) { border-right: 0; }
  .todo-item { grid-template-columns: 1fr; gap: 10px; }
  .todo-item button { width: 100%; }
  .student-intro { grid-template-columns: 1fr; }
  .student-intro p { align-self: auto; }
}

@media (max-width: 420px) {
  body { font-size: 15px; }
  .situation-ledger { grid-template-columns: 1fr; }
  .situation-ledger > div,
  .situation-ledger > div:not(:first-of-type),
  .situation-ledger > div:nth-of-type(3) { min-height: 0; padding: 17px 0 19px; border-right: 0; }
  .status-risk { box-shadow: inset 0 3px 0 var(--rust); }
  .status-changed { box-shadow: inset 0 3px 0 var(--moss); }
  .course-dispatch { grid-template-columns: 96px minmax(0, 1fr); }
  .dispatch-identity { padding: 16px 13px; }
  .dispatch-identity h3 { font-size: .96rem; }
  .dispatch-links { display: grid; grid-template-columns: 1fr 1fr; }
  .dispatch-links a { min-width: 0; }
  .term-strip { grid-template-columns: 1fr; }
  .term-date { border-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media print {
  :root { --paper: #fff; --white: #fff; }
  .skip-link, .site-masthead nav, .primary-action, .todo-filters, .todo-item button { display: none !important; }
  .hq-page main { max-width: none; padding-inline: 0; }
  .decision-disclosure > summary::after { display: none; }
}

/* ── Seminar Screen ───────────────────────────────────────────────────────
   Fall 2026 public surfaces follow the pinned Modern Korea course-site
   reference: compact black utility chrome, slate editorial fields, warm
   paper, disciplined sans-serif hierarchy, and image-led entry. */
:root {
  --paper: #f4f3f0;
  --paper-deep: #e9e6df;
  --white: #ffffff;
  --ink: #1a1a1a;
  --ink-soft: #575757;
  --rule: #d7d3cb;
  --rule-dark: #aaa59c;
  --ochre: #a67c00;
  --gold: #a67c00;
  --slate: #1e2a35;
  --slate-light: #2c3e50;
}
body { font-family: "Outfit", "Source Sans 3", sans-serif; }

.student-index-page { background: var(--paper); }
.student-index-page .student-masthead {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 52px;
  max-width: none;
  padding: 0 max(1.5rem, var(--gutter));
  align-items: center;
  border-bottom: 1px solid #333;
  background: #1a1a1a;
  color: #ddd;
}
.student-index-page .student-masthead strong {
  color: var(--gold);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .18em;
}
.student-index-page .student-masthead nav a {
  min-height: 30px;
  padding: 4px 10px;
  border: 1px solid #404040;
  border-radius: 4px;
  color: #bbb;
  font-size: .72rem;
  text-decoration: none;
}
.student-index-page .student-masthead nav a:hover { color: white; border-color: #777; }
.student-hero {
  padding: clamp(1.5rem, 3vw, 2.4rem) var(--gutter) clamp(1.35rem, 2.7vw, 2.1rem);
  background: linear-gradient(160deg, var(--slate) 0%, var(--slate-light) 52%, var(--slate) 100%);
  color: white;
}
.student-hero > div { width: min(100%, 1200px); margin-inline: auto; }
.student-hero h1 {
  max-width: 24ch;
  font-family: "Inter", "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(1.8rem, 3.4vw, 2.9rem);
  font-weight: 550;
  letter-spacing: -.03em;
  line-height: 1.04;
}
.student-hero p {
  max-width: 62ch;
  margin-top: .55rem;
  color: #c9cdd0;
  font-size: clamp(.92rem, 1.4vw, 1.08rem);
}
.student-index-page .student-index-main { max-width: 1248px; padding-block: clamp(1rem, 2vw, 1.5rem) 2.5rem; }
.student-index-page .student-dispatches {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.8rem, 1.6vw, 1.25rem);
  margin: 0;
}
.student-index-page .course-dispatch {
  display: flex;
  min-height: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #dfdcd5;
  border-radius: 8px;
  background: white;
  box-shadow: 0 10px 28px rgba(20, 26, 31, .065), 0 2px 6px rgba(20, 26, 31, .035);
}
.student-index-page .dispatch-image { aspect-ratio: 4 / 2.65; min-height: 0; }
.student-index-page .dispatch-image img { filter: saturate(.86) contrast(1.04); transition: transform .5s cubic-bezier(.2,.75,.2,1); }
.student-index-page .course-dispatch:hover .dispatch-image img { transform: scale(1.025); }
.student-index-page .dispatch-image figcaption { padding: 6px 9px; background: rgba(20, 27, 34, .82); color: #eee; }
.student-index-page .dispatch-identity,
.student-index-page .dispatch-session,
.student-index-page .dispatch-links { border-left: 0; }
.student-index-page .dispatch-identity { padding: .8rem .9rem .55rem; }
.student-index-page .dispatch-identity h3 {
  font-family: "Outfit", "Source Sans 3", sans-serif;
  font-size: clamp(1.18rem, 1.75vw, 1.55rem);
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: 1.12;
}
.student-index-page .dispatch-identity .course-code { margin-top: .4rem; color: var(--course-color); }
.student-index-page .dispatch-identity p:last-child { margin-top: .35rem; color: var(--ink-soft); }
.student-index-page .dispatch-session {
  flex: 1;
  margin-inline: .9rem;
  padding: .65rem 0 .75rem;
  border-top: 1px solid var(--rule);
}
.student-index-page .dispatch-session strong { margin-top: .35rem; font-size: .95rem; }
.student-index-page .dispatch-session p { min-height: 2.4em; margin-top: .25rem; }
.student-index-page .dispatch-links {
  display: flex;
  flex-wrap: wrap;
  padding: .35rem .45rem;
  border-top: 1px solid var(--rule);
  background: #f9f8f5;
}
.student-index-page .dispatch-links a {
  min-width: auto;
  flex: 1 1 50%;
  padding: 0 .5rem;
  border-right: 0 !important;
  border-bottom: 0;
  color: #383838;
  font-size: .75rem;
  text-decoration: none;
}
.student-index-page .dispatch-links a:first-child { color: var(--course-color); font-weight: 700; }
.student-index-page .site-footer { max-width: 1248px; }

@media (max-width: 860px) {
  .student-index-page .student-dispatches { grid-template-columns: 1fr 1fr; }
  .student-index-page .course-dispatch:last-child { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(220px, .8fr) 1.2fr; }
  .student-index-page .course-dispatch:last-child .dispatch-image { grid-row: 1 / span 3; aspect-ratio: auto; }
}
@media (max-width: 600px) {
  .student-index-page .student-masthead { padding-inline: .9rem; }
  .student-index-page .student-masthead strong { max-width: 75%; font-size: .61rem; letter-spacing: .12em; }
  .student-index-page .student-dispatches { grid-template-columns: 1fr; }
  .student-index-page .course-dispatch:last-child { display: flex; grid-column: auto; }
  .student-index-page .course-dispatch:last-child .dispatch-image { aspect-ratio: 4 / 2.55; }
  .student-index-page .dispatch-image { aspect-ratio: 4 / 2.55; }
}

/* ── Compact Teaching HQ template ────────────────────────────────────────
   Directly adapted from the preserved Spring/Fall Teaching Today source. */
.hq-page { background: #f5f5f7; color: #1d1d1f; font-family: "Inter", "Outfit", -apple-system, sans-serif; }
.hq-page .hq-launch-masthead {
  min-height: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 24px 32px 22px;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  text-align: center;
}
.hq-page .hq-launch-masthead > div > p:first-child {
  margin-bottom: 6px;
  color: #c59a37;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
}
.hq-page .hq-launch-masthead h1 {
  font-size: 28px;
  font-weight: 300;
  letter-spacing: .5px;
  line-height: 1.2;
}
.hq-page .hq-launch-masthead > div > p:last-child {
  margin-top: 7px;
  color: rgba(255,255,255,.65);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}
.hq-page .hq-launch-masthead nav { justify-content: center; gap: 8px; margin-top: 15px; }
.hq-page .hq-launch-masthead nav a {
  min-height: 0;
  padding: 5px 11px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 500;
  text-decoration: none;
}
.hq-page .hq-launch-main,
.hq-page .hq-launch-footer { width: min(100%, 1400px); padding-inline: 24px; }
.hq-page .course-launch-section { padding-top: 24px; }
.hq-page .launch-heading { display: none; }
.hq-page .course-launch-grid {
  grid-template-columns: repeat(3, minmax(290px, 1fr));
  gap: 20px;
  border: 0;
}
.hq-page .course-launch,
.hq-page .course-launch:first-child {
  display: flex;
  align-self: start;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
}
.hq-page .launch-image {
  order: 1;
  height: 112px;
  min-height: 112px;
  border: 0;
}
.hq-page .launch-image img { filter: none; }
.hq-page .launch-image figcaption { display: none; }
.hq-page .launch-body { display: contents; }
.hq-page .launch-identity {
  order: 2;
  padding: 17px 20px 6px;
  background: var(--course-gradient);
  color: #fff;
}
.hq-page .launch-identity .course-code {
  margin: 0 0 4px;
  color: rgba(255,255,255,.78);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.5px;
}
.hq-page .launch-identity h2 {
  margin: 0 0 5px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.3;
}
.hq-page .launch-identity > p:last-child {
  margin: 0;
  color: rgba(255,255,255,.72);
  font-size: 11px;
  line-height: 1.4;
}
.hq-page .launch-actions {
  order: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 7px 20px 17px;
  border: 0;
  background: var(--course-gradient);
}
.hq-page .launch-action,
.hq-page .launch-action--roster {
  display: inline-flex;
  min-height: 0;
  width: auto;
  flex: 0 0 auto;
  grid-column: auto;
  justify-content: center;
  padding: 5px 10px;
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 6px;
  background: transparent;
  color: #fff;
  font-size: 10px;
  font-weight: 500;
  text-decoration: none;
}
.hq-page .launch-action:hover,
.hq-page .launch-action--roster:hover { background: rgba(255,255,255,.14); }
.hq-page .launch-action--roster small { display: none; }
.hq-page .launch-next {
  order: 4;
  min-height: 146px;
  padding: 13px 20px 18px;
  border: 0;
  border-top: 1px solid #e5e5e5;
  background: #fff;
}
.hq-page .launch-next > span {
  color: #77777c;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.1px;
}
.hq-page .launch-next strong { margin-top: 7px; font-size: 17px; font-weight: 500; line-height: 1.3; }
.hq-page .launch-next p { margin-top: 5px; color: #77777c; font-size: 12px; line-height: 1.45; }
.hq-page .teaching-brief { margin-top: 24px; border-radius: 12px; overflow: hidden; border: 0; background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,.08); }
.hq-page .week-section,
.hq-page .decision-section { padding-top: 24px; }

/* Student course index uses the same preserved card template. */
.student-index-page { background: #f5f5f7; color: #1d1d1f; font-family: "Inter", "Outfit", -apple-system, sans-serif; }
.student-index-page .student-masthead {
  position: static;
  display: block;
  height: auto;
  max-width: none;
  padding: 24px 32px 22px;
  border: 0;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: #fff;
  text-align: center;
}
.student-index-page .student-masthead > p {
  margin-bottom: 6px;
  color: #c59a37;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.student-index-page .student-masthead h1 {
  color: #fff;
  font-family: "Inter", "Outfit", -apple-system, sans-serif;
  font-size: 28px;
  font-weight: 300;
  letter-spacing: .5px;
  line-height: 1.2;
}
.student-index-page .student-masthead > span {
  display: block;
  margin-top: 7px;
  color: rgba(255,255,255,.65);
  font-size: 13px;
}
.student-index-page .student-index-main { max-width: 1400px; padding: 24px; }
.student-index-page .student-dispatches { grid-template-columns: repeat(3, minmax(290px, 1fr)); gap: 20px; }
.student-index-page .course-dispatch {
  border: 0;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
}
.student-index-page .dispatch-image { order: 1; height: 112px; aspect-ratio: auto; }
.student-index-page .dispatch-image img { filter: none; }
.student-index-page .dispatch-image figcaption { display: none; }
.student-index-page .dispatch-identity {
  order: 2;
  padding: 17px 20px 6px;
  background: var(--course-gradient);
  color: #fff;
}
.student-index-page .dispatch-identity h3 {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.3;
}
.student-index-page .dispatch-identity .course-code {
  margin-top: 4px;
  color: rgba(255,255,255,.78);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.5px;
}
.student-index-page .dispatch-identity p:last-child { margin-top: 5px; color: rgba(255,255,255,.72); font-size: 11px; }
.student-index-page .dispatch-links {
  order: 3;
  gap: 7px;
  padding: 7px 20px 17px;
  border: 0;
  background: var(--course-gradient);
}
.student-index-page .dispatch-links a,
.student-index-page .dispatch-links a:first-child {
  min-height: 0;
  flex: 0 0 auto;
  padding: 5px 10px;
  border: 1px solid rgba(255,255,255,.42) !important;
  border-radius: 6px;
  color: #fff;
  font-size: 10px;
  font-weight: 500;
}
.student-index-page .dispatch-links a:hover { background: rgba(255,255,255,.14); }
.student-index-page .dispatch-links a:has(.access-tag) { grid-column: auto; }
.student-index-page .access-tag {
  margin-left: 6px;
  color: rgba(255,255,255,.72);
  font-size: 8px;
  letter-spacing: .08em;
}
.student-index-page .dispatch-session {
  order: 4;
  min-height: 146px;
  margin: 0;
  padding: 13px 20px 18px;
  border-top: 1px solid #e5e5e5;
}
.student-index-page .dispatch-session > span { color: #77777c; font-size: 9px; font-weight: 600; letter-spacing: 1.1px; }
.student-index-page .dispatch-session strong { margin-top: 7px; font-size: 17px; font-weight: 500; }
.student-index-page .dispatch-session p { min-height: 0; margin-top: 5px; color: #77777c; font-size: 12px; }
.student-index-page .site-footer { max-width: 1400px; padding-inline: 24px; }

@media (max-width: 980px) {
  .hq-page .course-launch-grid { grid-template-columns: repeat(2, minmax(290px, 1fr)); }
  .hq-page .course-launch:nth-child(3) { grid-column: 1 / -1; max-width: calc(50% - 10px); display: flex; }
  .hq-page .course-launch:nth-child(3) .launch-image { min-height: 112px; border: 0; }
  .student-index-page .student-dispatches { grid-template-columns: repeat(2, minmax(290px, 1fr)); }
  .student-index-page .course-dispatch:last-child { grid-column: 1 / -1; display: flex; max-width: calc(50% - 10px); }
  .student-index-page .course-dispatch:last-child .dispatch-image { grid-row: auto; height: 112px; }
}
@media (max-width: 720px) {
  .hq-page .hq-launch-masthead { padding: 21px 16px 19px; }
  .hq-page .hq-launch-masthead h1 { font-size: 24px; }
  .hq-page .hq-launch-main,
  .hq-page .hq-launch-footer { padding-inline: 14px; }
  .hq-page .course-launch-grid { grid-template-columns: 1fr; gap: 18px; }
  .hq-page .course-launch,
  .hq-page .course-launch:nth-child(2),
  .hq-page .course-launch:nth-child(3) { grid-column: auto; max-width: none; display: flex; border: 0; }
  .student-index-page .student-masthead { padding: 21px 16px 19px; }
  .student-index-page .student-masthead h1 { font-size: 24px; }
  .student-index-page .student-index-main { padding: 18px 14px; }
  .student-index-page .student-dispatches { grid-template-columns: 1fr; gap: 18px; }
  .student-index-page .course-dispatch:last-child { grid-column: auto; max-width: none; }
}
