.process-strip {
  display: grid;
  grid-template-columns: 1fr 58px 1.1fr 58px 1fr;
  align-items: stretch;
  gap: 12px;
  margin-top: 36px;
}

.process-step {
  min-height: 225px;
  padding: 22px 24px;
  border-top: 6px solid var(--course-primary);
  background: rgba(23, 107, 98, 0.07);
}

.process-step.viewer {
  border-top-color: var(--course-secondary);
  background: rgba(182, 82, 44, 0.07);
}

.process-step.representation {
  border-top-color: #777;
  background: rgba(90, 90, 90, 0.08);
}

.process-step .subhead {
  margin: 0 0 14px;
  font-size: 0.63em;
  font-weight: 700;
}

.process-step p,
.process-step li {
  font-size: 0.48em;
}

.process-arrow {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  align-self: center;
  color: var(--course-muted);
  text-align: center;
}

.process-arrow span {
  font-size: 0.34em;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.process-arrow b {
  font-size: 1.6em;
  font-weight: 400;
  line-height: 0.7;
}

.encode-arrow span {
  color: var(--course-primary);
}

.decode-arrow span {
  color: var(--course-secondary);
}

.scatter-encoding-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(300px, 1fr);
  gap: 34px;
  align-items: center;
  margin-top: 6px;
}

.scatter-encoding-chart,
.scatter-encoding-chart .cell,
.scatter-encoding-chart .cell-output,
.scatter-encoding-chart .cell-output-display,
.scatter-encoding-chart p {
  min-width: 0;
  margin: 0;
}

.scatter-encoding-map {
  display: grid;
  gap: 12px;
  counter-reset: scatter-encoding;
}

.scatter-encoding-item {
  position: relative;
  min-height: 56px;
  padding: 3px 0 10px 52px;
  border-bottom: 1px solid #aaa;
  counter-increment: scatter-encoding;
}

.scatter-encoding-item::before {
  content: counter(scatter-encoding);
  position: absolute;
  top: 0;
  left: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--course-primary);
  color: #fff;
  font-size: 0.43em;
  font-weight: 800;
  line-height: 36px;
  text-align: center;
}

.scatter-encoding-item p {
  margin: 0 0 4px;
  font-size: 0.42em;
  line-height: 1.18;
}

.scatter-encoding-item p:first-child {
  font-size: 0.48em;
}

.good-viz-steps {
  margin-top: 32px;
}

.good-viz-step {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 22px;
  align-items: center;
  padding: 20px 0;
  border-top: 1px solid #aaa;
  font-size: 0.68em;
  line-height: 1.22;
}

.good-viz-step:first-child {
  border-top: 4px solid var(--course-primary);
}

.good-viz-step-number {
  color: var(--course-primary);
  font-size: 1.5em;
  font-weight: 800;
  line-height: 1;
  text-align: center;
}

.good-viz-criteria {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin: 22px 0 0 94px;
}

.good-viz-criteria > div {
  display: flex;
  justify-content: center;
  gap: 12px;
  align-items: baseline;
}

.good-viz-criteria span {
  color: var(--course-secondary);
  font-size: 0.56em;
  font-weight: 800;
}

.good-viz-criteria strong {
  font-size: 0.66em;
}

.good-viz-underbrace {
  height: 28px;
  margin: 10px 0 0 94px;
}

.good-viz-underbrace svg {
  display: block;
  width: 100%;
  height: 28px;
  overflow: visible;
}

.good-viz-underbrace path {
  fill: none;
  stroke: var(--course-primary);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
  vector-effect: non-scaling-stroke;
}

.good-viz-lenses {
  display: flex;
  justify-content: center;
  gap: 72px;
  margin: 12px 0 0 94px;
}

.good-viz-lens {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 330px;
  min-height: 88px;
  padding: 10px 28px;
  border: 4px solid;
  border-radius: 50%;
  text-align: center;
}

.good-viz-lens p {
  margin: 4px 0 0;
  font-size: 0.4em;
  line-height: 1.15;
}

.good-viz-lens-title {
  font-size: 0.62em;
  font-weight: 800;
}

.perception-lens {
  border-color: var(--course-primary);
  background: rgba(23, 107, 98, 0.06);
}

.perception-lens .good-viz-lens-title {
  color: var(--course-primary);
}

.cognition-lens {
  border-color: var(--course-primary);
  background: rgba(23, 107, 98, 0.06);
}

.cognition-lens .good-viz-lens-title {
  color: var(--course-primary);
}

.opening-example-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
  margin-top: 4px;
}

.opening-table-panel,
.opening-chart-panel {
  min-width: 0;
}

.opening-panel-title {
  margin: 0 0 16px;
  font-size: 0.48em;
  font-weight: 700;
}

.opening-table-panel table {
  width: 100%;
  margin: 0;
  font-size: 0.5em;
}

.opening-table-panel table th,
.opening-table-panel table td {
  padding: 8px 12px;
}

.opening-chart-panel .cell,
.opening-chart-panel .cell-output,
.opening-chart-panel .cell-output-display,
.opening-chart-panel p {
  margin: 0;
}

.same-data-example table {
  margin-top: 2px;
  font-size: 0.42em;
}

.same-data-example table th,
.same-data-example table td {
  padding: 5px 10px;
  line-height: 1.12;
}

.search-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 52px;
  margin-top: 8px;
}

.letter-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 4px 6px;
  padding: 10px 14px;
  border: 1px solid #ccc;
  font-family: Arial, sans-serif;
  font-size: 0.34em;
  line-height: 1;
  text-align: center;
}

.letter-grid .target-color {
  color: var(--course-secondary);
  font-weight: 800;
}

.letter-grid .target-size {
  display: inline-block;
  font-weight: 800;
  transform: scale(1.55);
}

.letter-grid .target-enclosed {
  display: inline-block;
  border: 2px solid #222;
  border-radius: 50%;
  line-height: 0.9;
  transform: scale(1.25);
}

.flat-label {
  margin: 5px 0 0;
  color: #222;
  font-size: 0.38em;
  font-weight: 700;
  text-align: center;
}

.marks-channels {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 40px;
  align-items: stretch;
  margin-top: 16px;
}

.marks-list,
.channels-list {
  padding: 14px 0 0;
  border-top: 5px solid var(--course-primary);
}

.marks-list .subhead,
.channels-list .subhead {
  margin: 0 0 10px;
  font-size: 0.62em;
  font-weight: 700;
}

.encoding-definition {
  min-height: 34px;
  margin: 0 0 8px;
  color: #444;
  font-size: 0.4em;
  line-height: 1.25;
}

.marks-list > p {
  margin: 12px 0 0;
  font-size: 0.43em;
  line-height: 1.28;
}

.mark-examples {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  height: 102px;
  margin: 6px 0 12px;
}

.mark-examples > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: #333;
  font-size: 0.38em;
}

.mark-examples span {
  display: block;
  flex: none;
}

.demo-mark-point {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--course-primary);
}

.demo-mark-line {
  width: 58px;
  height: 6px;
  background: var(--course-primary);
  transform: rotate(-18deg);
}

.demo-mark-area {
  width: 52px;
  height: 46px;
  background: rgba(182, 82, 44, 0.78);
}

.channel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px 24px;
}

.channel-item {
  min-height: 140px;
  padding: 4px 8px 10px;
  border-bottom: 1px solid #aaa;
}

.channel-item > strong,
.channel-item > span {
  display: block;
  text-align: center;
}

.channel-item > strong {
  margin-top: 5px;
  font-size: 0.46em;
}

.channel-item > span {
  margin-top: 2px;
  color: #444;
  font-size: 0.35em;
  line-height: 1.15;
}

.channel-demo {
  position: relative;
  display: flex;
  height: 70px;
  align-items: center;
  justify-content: center;
}

.demo-position::before {
  content: "";
  position: absolute;
  right: 15px;
  bottom: 18px;
  left: 15px;
  height: 2px;
  background: #aaa;
}

.demo-position span {
  position: absolute;
  bottom: 12px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--course-primary);
}

.demo-position span:nth-child(1) { left: 22px; }
.demo-position span:nth-child(2) { left: 50%; }
.demo-position span:nth-child(3) { right: 18px; }

.demo-length {
  flex-direction: column;
  gap: 7px;
  align-items: flex-start;
  padding-left: 26px;
}

.demo-length span {
  height: 8px;
  background: var(--course-primary);
}

.demo-length span:nth-child(1) { width: 42px; }
.demo-length span:nth-child(2) { width: 82px; }
.demo-length span:nth-child(3) { width: 126px; }

.demo-size {
  gap: 18px;
  align-items: end;
  padding-bottom: 8px;
}

.demo-size span {
  border-radius: 50%;
  background: var(--course-primary);
}

.demo-size span:nth-child(1) { width: 14px; height: 14px; }
.demo-size span:nth-child(2) { width: 27px; height: 27px; }
.demo-size span:nth-child(3) { width: 43px; height: 43px; }

.demo-color {
  gap: 13px;
}

.demo-color span {
  width: 24px;
  height: 24px;
  border-radius: 50%;
}

.demo-color span:nth-child(1) { background: #4c78a8; }
.demo-color span:nth-child(2) { background: #f58518; }
.demo-color span:nth-child(3) { background: #e45756; }
.demo-color span:nth-child(4) { background: #72b7b2; }

.demo-shape {
  gap: 20px;
}

.demo-shape span:nth-child(1) {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--course-primary);
}

.demo-shape span:nth-child(2) {
  width: 28px;
  height: 28px;
  background: var(--course-primary);
}

.demo-shape span:nth-child(3) {
  width: 0;
  height: 0;
  border-right: 17px solid transparent;
  border-bottom: 30px solid var(--course-primary);
  border-left: 17px solid transparent;
}

.demo-orientation {
  gap: 22px;
}

.demo-orientation span {
  width: 48px;
  height: 6px;
  background: var(--course-secondary);
}

.demo-orientation span:nth-child(1) { transform: rotate(0deg); }
.demo-orientation span:nth-child(2) { transform: rotate(45deg); }
.demo-orientation span:nth-child(3) { transform: rotate(90deg); }

.marks-channels-slide h2 {
  font-size: 0.84em;
}

.polio-layout {
  display: grid;
  grid-template-columns: 60% minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.polio-figure img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 510px;
  margin: 0 auto;
  object-fit: contain;
}

.polio-question {
  margin: 4px 0 20px;
  color: var(--course-primary);
  font-size: 0.66em;
  font-weight: 700;
}

.polio-encoding > p {
  margin-top: 22px;
  font-size: 0.47em;
  line-height: 1.3;
}

.encoding-list {
  display: grid;
  gap: 14px;
}

.encoding-list > div {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding-top: 10px;
  border-top: 2px solid var(--course-primary);
}

.encoding-list span {
  display: flex;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: var(--course-primary);
  color: #fff;
  font-size: 0.42em;
  font-weight: 800;
}

.encoding-list p {
  margin: 0;
  font-size: 0.48em;
  line-height: 1.2;
}

.bubble-channel-slide h2 {
  margin-bottom: 6px;
}

.bubble-chart-example {
  margin: 0 auto;
  text-align: center;
}

.bubble-chart-example img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 525px;
  margin: 0 auto;
  object-fit: contain;
}

.bubble-chart-example .slide-source {
  width: min(742px, 100%);
  margin: 5px auto 0;
  text-align: right;
}

.ordinal-slide h2 {
  margin-bottom: 5px;
  font-size: 0.96em;
}

.mark-size-slide h2 {
  margin-bottom: 4px;
  font-size: 0.96em;
}

.rank-line {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  align-items: stretch;
  margin-top: 18px;
}

.rank-line > div {
  padding: 14px 12px;
  border-top: 6px solid var(--course-primary);
  background: rgba(23, 107, 98, 0.06);
  font-size: 0.47em;
}

.rank-line > div:nth-child(4),
.rank-line > div:nth-child(5) {
  border-top-color: var(--course-secondary);
  background: rgba(182, 82, 44, 0.06);
}

.rank-line strong {
  display: block;
  margin-bottom: 7px;
}

.channel-reference-slide h2 {
  margin-bottom: 2px;
  font-size: 1.05em;
}

.reveal table.channel-reference {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 0.35em;
  line-height: 1.03;
}

.channel-reference .type-col { width: 18%; }
.channel-reference .channel-col { width: 15%; }
.channel-reference .purpose-col { width: 28%; }
.channel-reference .visual-col { width: 17%; }
.channel-reference .charts-col { width: 22%; }

.channel-reference th,
.channel-reference td {
  padding: 4px 6px;
  border-bottom: 1px solid #ccc;
  vertical-align: middle;
}

.channel-reference thead th {
  height: 27px;
  padding-top: 3px;
  padding-bottom: 3px;
  border-top: 3px solid var(--course-primary);
  border-bottom: 2px solid var(--course-primary);
  color: #222;
  font-size: 1.02em;
  line-height: 1.05;
  text-align: left;
  vertical-align: middle;
  white-space: nowrap;
}

.channel-reference tbody tr.group-start > * {
  border-top: 2px solid #888;
}

.channel-reference tbody th[scope="rowgroup"] {
  background: rgba(23, 107, 98, 0.06);
  color: var(--course-primary);
  text-align: left;
  vertical-align: top;
}

.channel-reference tbody th[scope="rowgroup"] strong,
.channel-reference tbody th[scope="rowgroup"] small {
  display: block;
}

.channel-reference tbody th[scope="rowgroup"] small {
  margin-top: 1px;
  color: #444;
  font-size: 0.82em;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
}

.channel-reference tbody th[scope="row"] {
  color: #222;
  font-weight: 700;
  text-align: left;
}

.channel-reference .channel-qualifier {
  display: block;
  margin-top: 1px;
  color: #666;
  font-size: 0.78em;
  font-weight: 500;
}

.channel-reference td:nth-last-child(2) {
  padding-right: 3px;
  padding-left: 3px;
}

.channel-reference td:last-child {
  padding-right: 5px;
  padding-left: 5px;
  text-align: left;
}

.published-results-slide h2 {
  margin-bottom: 8px;
  font-size: 1.02em;
}

.published-results-layout {
  display: grid;
  grid-template-columns: 46% minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}

.published-figure p {
  margin: 0;
}

.published-figure img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 330px;
  margin: 0 auto;
  border: 1px solid #d3d3d3;
  object-fit: contain;
}

.accuracy-axis {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 8px;
  margin-top: 4px;
  padding-top: 4px;
  border-top: 2px solid #b8b8b8;
  align-items: center;
  color: #555;
  font-size: 0.25em;
  font-weight: 700;
}

.accuracy-axis .more-accurate {
  color: var(--course-primary);
  text-align: left;
}

.accuracy-axis .less-accurate {
  color: var(--course-secondary);
  text-align: right;
}

.treatment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 13px;
}

.treatment-item {
  min-width: 0;
  padding: 6px 8px 5px;
  border-top: 3px solid var(--course-primary);
  background: rgba(23, 107, 98, 0.045);
}

.treatment-item strong,
.treatment-item span {
  display: block;
}

.treatment-item strong {
  margin-bottom: 2px;
  color: var(--course-primary);
  font-size: 0.35em;
}

.treatment-item span {
  font-size: 0.29em;
  line-height: 1.14;
}

.mini-encoding {
  position: relative;
  display: flex;
  width: 105px;
  height: 18px;
  margin: 0 auto;
  align-items: center;
  justify-content: center;
  transform: scale(1.1);
  transform-origin: center;
}

.mini-position::before,
.mini-time-position::before {
  content: "";
  position: absolute;
  right: 3px;
  bottom: 4px;
  left: 3px;
  height: 1px;
  background: #999;
}

.mini-position span,
.mini-time-position span {
  position: absolute;
  bottom: 1px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--course-primary);
}

.mini-position span:nth-child(1) { left: 15px; }
.mini-position span:nth-child(2) { left: 53px; }
.mini-position span:nth-child(3) { right: 12px; }

.mini-scatter::before,
.mini-scatter::after {
  content: "";
  position: absolute;
  background: #999;
}

.mini-scatter::before {
  bottom: 1px;
  left: 6px;
  width: 1px;
  height: 14px;
}

.mini-scatter::after {
  right: 3px;
  bottom: 1px;
  left: 6px;
  height: 1px;
}

.mini-scatter span {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--course-primary);
}

.mini-scatter span:nth-child(1) { bottom: 3px; left: 16px; }
.mini-scatter span:nth-child(2) { bottom: 8px; left: 31px; }
.mini-scatter span:nth-child(3) { bottom: 5px; left: 47px; }
.mini-scatter span:nth-child(4) { bottom: 11px; left: 63px; }
.mini-scatter span:nth-child(5) { bottom: 9px; left: 79px; }

.mini-length {
  flex-direction: column;
  gap: 1px;
  align-items: flex-start;
  padding-left: 12px;
}

.mini-length span {
  height: 3px;
  background: var(--course-primary);
}

.mini-length span:nth-child(1) { width: 28px; }
.mini-length span:nth-child(2) { width: 52px; }
.mini-length span:nth-child(3) { width: 78px; }

.mini-ordered-bars {
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
  padding-left: 18px;
}

.mini-ordered-bars span {
  position: relative;
  height: 3px;
  background: var(--course-primary);
}

.mini-ordered-bars span::before {
  content: attr(data-label);
  position: absolute;
  top: -3px;
  right: calc(100% + 4px);
  color: #333;
  font-size: 8px;
  font-weight: 700;
  line-height: 1;
}

.mini-ordered-bars span:nth-child(1) { width: 48px; }
.mini-ordered-bars span:nth-child(2) { width: 30px; }
.mini-ordered-bars span:nth-child(3) { width: 66px; }

.mini-area {
  gap: 14px;
  align-items: end;
}

.mini-area span {
  border-radius: 50%;
  background: var(--course-primary);
}

.mini-area span:nth-child(1) { width: 5px; height: 5px; }
.mini-area span:nth-child(2) { width: 9px; height: 9px; }
.mini-area span:nth-child(3) { width: 14px; height: 14px; }

.mini-luminance,
.mini-hue {
  gap: 7px;
}

.mini-luminance span,
.mini-hue span {
  width: 15px;
  height: 11px;
}

.mini-luminance span:nth-child(1) { background: #c8dedb; }
.mini-luminance span:nth-child(2) { background: #82b5ae; }
.mini-luminance span:nth-child(3) { background: #43867e; }
.mini-luminance span:nth-child(4) { background: #145b54; }

.mini-quant-color span {
  width: 94px;
  height: 13px;
  border: 1px solid rgba(23, 107, 98, 0.3);
  background: linear-gradient(90deg, #e8f1ef 0%, #8bbab4 48%, #176b62 100%);
}

.mini-hue span:nth-child(1) { border-radius: 50%; background: #4c78a8; }
.mini-hue span:nth-child(2) { border-radius: 50%; background: #f58518; }
.mini-hue span:nth-child(3) { border-radius: 50%; background: #e45756; }
.mini-hue span:nth-child(4) { border-radius: 50%; background: #72b7b2; }

.mini-shape {
  gap: 16px;
}

.mini-shape span:nth-child(1) {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--course-primary);
}

.mini-shape span:nth-child(2) {
  width: 15px;
  height: 15px;
  background: var(--course-primary);
}

.mini-shape span:nth-child(3) {
  width: 0;
  height: 0;
  border-right: 9px solid transparent;
  border-bottom: 16px solid var(--course-primary);
  border-left: 9px solid transparent;
}

.mini-grouped-bars {
  gap: 9px;
  align-items: end;
}

.mini-grouped-bars span {
  position: relative;
  width: 20px;
  height: 17px;
  border-bottom: 1px solid #999;
}

.mini-grouped-bars span::before,
.mini-grouped-bars span::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 7px;
}

.mini-grouped-bars span::before {
  left: 1px;
  height: 10px;
  background: #4c78a8;
}

.mini-grouped-bars span::after {
  right: 1px;
  height: 15px;
  background: #f58518;
}

.mini-grouped-bars span:nth-child(2)::before {
  height: 14px;
}

.mini-grouped-bars span:nth-child(2)::after {
  height: 9px;
}

.mini-grouped-bars span:nth-child(3)::before {
  height: 8px;
}

.mini-grouped-bars span:nth-child(3)::after {
  height: 13px;
}

.mini-enclosure {
  gap: 10px;
}

.mini-enclosure span {
  position: relative;
  width: 36px;
  height: 14px;
  border: 2px solid var(--course-primary);
  border-radius: 12px;
}

.mini-enclosure span::before,
.mini-enclosure span::after {
  content: "";
  position: absolute;
  top: 3px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--course-primary);
}

.mini-enclosure span::before { left: 10px; }
.mini-enclosure span::after { right: 10px; }

.mini-time-position span:nth-child(1) { left: 7px; }
.mini-time-position span:nth-child(2) { left: 42px; }
.mini-time-position span:nth-child(3) { left: 77px; }
.mini-time-position span:nth-child(4) { right: 5px; }

.mini-connection svg {
  width: 90px;
  height: 16px;
  overflow: visible;
}

.mini-connection polyline {
  fill: none;
  stroke: var(--course-primary);
  stroke-width: 3;
  stroke-linejoin: round;
}

.mini-connection circle {
  fill: var(--course-secondary);
  stroke: #fff;
  stroke-width: 1;
}

.mini-duration {
  flex-direction: column;
  gap: 3px;
  align-items: flex-start;
  padding-left: 8px;
}

.mini-duration span {
  height: 3px;
  background: var(--course-primary);
}

.mini-duration span:nth-child(1) { width: 38px; margin-left: 2px; }
.mini-duration span:nth-child(2) { width: 57px; margin-left: 20px; }
.mini-duration span:nth-child(3) { width: 46px; margin-left: 10px; }
}

.principle-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px 26px;
  margin-top: 14px;
}

.principle-list > div {
  padding: 12px 14px;
  border-top: 4px solid var(--course-primary);
  font-size: 0.46em;
}

.principle-list strong {
  display: block;
  margin-bottom: 5px;
  color: var(--course-primary);
}

.gestalt-overview > p {
  margin: 8px 0 10px;
  font-size: 0.5em;
  line-height: 1.25;
}

.gestalt-overview table {
  margin: 8px 0 10px;
  font-size: 0.43em;
}

.gestalt-overview table th,
.gestalt-overview table td {
  padding: 5px 10px;
  line-height: 1.12;
}

.gestalt-split {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
  margin-top: 8px;
}

.gestalt-concept {
  min-width: 0;
  padding: 18px 20px 16px;
  border-top: 5px solid var(--course-primary);
  background: rgba(23, 107, 98, 0.055);
}

.gestalt-name {
  color: var(--course-primary);
  font-size: 0.48em;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.gestalt-svg {
  display: block;
  width: 100%;
  height: 210px;
  margin: 6px auto 4px;
}

.gestalt-definition {
  margin: 0;
  font-size: 0.45em;
  line-height: 1.32;
}

.gestalt-application {
  min-width: 0;
}

.gestalt-application .cell,
.gestalt-application .cell-output,
.gestalt-application .cell-output-display,
.gestalt-application p {
  margin-top: 0;
  margin-bottom: 0;
}

.similarity-slide .gestalt-application .cell-output-display {
  line-height: 0;
}

.similarity-slide table.similarity-table {
  width: calc(100% - 24px);
  margin: 4px 12px 5px;
  font-size: 0.31em;
}

.similarity-slide table.similarity-table th,
.similarity-slide table.similarity-table td {
  padding: 3px 7px;
  line-height: 1.08;
  text-align: right;
  vertical-align: middle;
}

.similarity-slide table.similarity-table th:first-child,
.similarity-slide table.similarity-table td:first-child {
  text-align: left;
}

.redundant-encoding-slide .cell,
.redundant-encoding-slide .cell-output,
.redundant-encoding-slide .cell-output-display,
.redundant-encoding-slide p {
  margin-top: 0;
}

.redundancy-judgments {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-top: 5px;
}

.redundancy-judgments > div {
  padding: 12px 16px;
  border-top: 4px solid var(--course-secondary);
  background: rgba(182, 82, 44, 0.06);
  font-size: 0.42em;
  line-height: 1.2;
}

.redundancy-judgments > div:last-child {
  border-top-color: var(--course-primary);
  background: rgba(23, 107, 98, 0.06);
}

.perception-principle-slide .perception-old-visual {
  display: block;
  width: auto;
  max-width: 100%;
  height: 390px;
  margin: 4px auto 10px;
  object-fit: contain;
}

.perception-principle-slide .perception-salience-visual {
  height: 385px;
}

.perception-principle-slide .perception-wide-visual {
  width: 100%;
  height: 350px;
}

.perception-principle-slide .perception-connections-visual {
  height: 375px;
}

.long-title-slide h2 {
  font-size: 1.35em;
  line-height: 1.05;
}

.channel-tips-slide > ul,
.conventions-slide > ul {
  margin-top: 16px;
  font-size: 0.5em;
  line-height: 1.18;
}

.channel-tips-slide > ul > li,
.conventions-slide > ul > li {
  margin-bottom: 11px;
}

.channel-tips-slide ul ul,
.conventions-slide ul ul {
  margin-top: 5px;
  font-size: 0.9em;
}

.conventions-slide > p {
  margin-top: 14px;
  font-size: 0.42em;
  line-height: 1.22;
}

.color-critique-slide > p {
  margin: 0;
}

.color-critique-slide > p img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 415px;
  margin: 0 auto 8px;
  object-fit: contain;
}

.color-critique-slide > ul {
  margin-top: 5px;
  font-size: 0.42em;
  line-height: 1.2;
}

.critique-slide .cell,
.critique-slide .cell-output,
.critique-slide .cell-output-display,
.critique-slide p {
  margin-top: 0;
}

.source-small {
  font-size: 0.36em;
}

.source-small h2 {
  font-size: 3.4em;
}

.source-small .columns {
  gap: 44px;
}

.source-small .column {
  min-width: 0;
}

.source-small li {
  margin-bottom: 13px;
  line-height: 1.22;
}

.source-small a {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.reveal .perception-lecture .cell-output-display {
  margin-top: 0;
}

.reveal .perception-lecture .vega-embed summary {
  display: none;
}
