.c2-intro {
  max-width: var(--reading-width,42rem);
  margin: 18px 0 30px;
  color: #46586a;
}
.c2-section {
  margin-block: 42px;
  min-width: 0;
  overflow-wrap: anywhere;
}
.c2-section > h2 {
  margin: 0 0 18px;
}
.c2-section h3 {
  margin: 24px 0 12px;
  font-size: 1.12rem;
  line-height: 1.45;
}
.c2-section h3:first-child {
  margin-top: 0;
}
.c2-section pre {
  font: .84rem/1.75 var(--font-mono,Consolas,monospace);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin: 0;
}
.c2-data-note {
  color: #526579;
  font-size: .85rem;
  line-height: 1.65;
  margin: 14px 0 20px;
  max-width: var(--reading-width,42rem);
}
.c2-controls {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  align-items: end;
  gap: 20px;
  margin: 22px 0;
}
.c2-section label {
  font-size: .94rem;
  line-height: 1.55;
  color: #30475b;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 100%;
  min-width: 0;
  font-weight: 600;
}
.c2-section select {
  border: 1px solid #9cabba;
  border-radius: 5px;
  padding: 10px 12px;
  background: #fff;
  color: #213c51;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  font-size: .94rem;
}
.c2-section input[type=range] {
  width: 100%;
  max-width: 100%;
  accent-color: #145a86;
}
.c2-section .c2-checkbox {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  font-weight: 500;
  margin: 16px 0;
}
.c2-checkbox input {
  width: 18px;
  height: 18px;
  accent-color: #145a86;
  flex-shrink: 0;
  margin-top: 3px;
}
.c2-verdict {
  padding: 14px 18px;
  border-left: 3px solid #145a86;
  background: #eff5f9;
  color: #25485f;
  line-height: 1.7;
  font-size: 1rem;
  margin: 22px 0;
  max-width: var(--reading-width,42rem);
}
.c2-section details {
  border-top: 1px solid #d6dee5;
  padding: 15px 0;
  margin: 20px 0;
}
.c2-section summary {
  cursor: pointer;
  color: #145a86;
  font-weight: 600;
  font-size: 1rem;
}
.c2-section details > p {
  margin-top: 14px;
}
.c2-section button:focus-visible,
.c2-section select:focus-visible,
.c2-section input:focus-visible,
.c2-section summary:focus-visible {
  outline: 3px solid #145a86;
  outline-offset: 4px;
}
.c2-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0;
}
.c2-actions button {
  font-size: .94rem;
  padding: 11px 14px;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}
.c2-section button:disabled {
  opacity: 1;
  color: #617284;
  background: #f1f3f5;
  border-color: #d5dde4;
}
.c2-table-scroll {
  min-width: 0;
  max-width: 100%;
  overflow: auto;
  margin: 22px 0;
  overscroll-behavior-inline: contain;
  scrollbar-gutter: stable;
}
.c2-table {
  border-collapse: collapse;
  width: 100%;
  font-size: .94rem;
  line-height: 1.6;
  color: #273f52;
}
.c2-table caption {
  text-align: left;
  font-weight: 600;
  color: #334f64;
  padding: 0 0 13px;
  font-size: .94rem;
}
.c2-table th,
.c2-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #d8e1e8;
  text-align: left;
  vertical-align: top;
  min-width: 95px;
  font-variant-numeric: tabular-nums;
  overflow-wrap: normal;
}
.c2-table thead th {
  background: #edf3f7;
  border-top: 1px solid #c6d3dc;
  font-weight: 650;
}
.c2-table tbody th {
  font-weight: 600;
}
.c2-figure-scroll {
  min-width: 0;
  max-width: 100%;
  overflow: auto;
  margin: 20px 0;
  overscroll-behavior-inline: contain;
  scrollbar-gutter: stable;
}
.c2-svg {
  display: block;
  width: 100%;
  min-width: 680px;
  max-width: none;
  height: auto;
  color: #364f63;
  font: 16px/1.4 var(--font-sans,Arial,sans-serif);
}
.c2-svg text {
  fill: currentColor;
}
.c2-svg-sub {
  font-size: .85rem;
}
.c2-gridline {
  stroke: #dbe3e9;
  stroke-width: 1;
}
.c2-line {
  stroke-width: 3;
}
.c2-line-0 {
  stroke: #145a86;
}
.c2-line-1 {
  stroke: #b06b22;
  stroke-dasharray: 8 4;
}
.c2-line-2 {
  stroke: #557b62;
  stroke-dasharray: 3 4;
}
.c2-dot-0,
.c2-bar-reference {
  fill: #145a86;
}
.c2-dot-1,
.c2-bar-production {
  fill: #b06b22;
}
.c2-dot-2 {
  fill: #557b62;
}
.c2-cut {
  stroke: #7b4850;
  stroke-width: 2;
  stroke-dasharray: 4 5;
}
.c2-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  font-size: .94rem;
  margin: 8px 0 20px;
}
.c2-legend > span {
  display: flex;
  align-items: center;
  gap: 8px;
}
.c2-key {
  display: inline-block;
  flex-shrink: 0;
  width: 22px;
  height: 4px;
  background: #145a86;
}
.c2-key-1 {
  background: #b06b22;
}
.c2-key-2 {
  background: #557b62;
}
.c2-node rect {
  fill: #f4f8fb;
  stroke: #a6bbc9;
  stroke-width: 1.5;
}
.c2-node text {
  fill: #274b64;
}
.c2-edge {
  stroke: #50738c;
  stroke-width: 2;
}
.c2-port {
  fill: #145a86;
}
.c2-dashed {
  stroke-dasharray: 6 5;
}
.c2-annotation {
  border-left: 2px solid #a9bfcd;
  padding: 8px 0 8px 20px;
  max-width: var(--reading-width,42rem);
  margin: 22px 0;
}
.c2-run-record {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  column-gap: 20px;
  row-gap: 12px;
  margin: 24px 0;
  padding: 20px 0;
  border-top: 1px solid #cbd8e1;
  border-bottom: 1px solid #cbd8e1;
}
.c2-run-record dt {
  font-weight: 650;
}
.c2-run-record dd {
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
}
.c2-time-split {
  min-width: 0;
  margin: 28px 0;
  background: #f6f9fb;
  padding: 24px 20px;
}
.c2-time-split figcaption {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 20px;
}
.c2-time-row {
  display: grid;
  grid-template-columns: 70px minmax(0, 1.5fr) repeat(2, minmax(0, 1fr));
  gap: 5px;
  margin: 10px 0;
  align-items: stretch;
  font-size: .85rem;
}
.c2-time-row > * {
  padding: 12px 8px;
  min-width: 0;
  line-height: 1.5;
}
.c2-train {
  background: #dfeaf2;
  color: #274e6b;
}
.c2-validate {
  background: #f2e7d7;
  color: #73501c;
}
.c2-contract-pair {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 30px;
  margin: 24px 0;
}
.c2-contract-pair > section {
  min-width: 0;
  border-top: 2px solid #acc0cf;
  padding-top: 18px;
}
.c2-contract-pair pre,
.c2-artifact-browser pre {
  background: #f2f6f9;
  padding: 18px;
  border-left: 3px solid #99b1c2;
}
.c2-log {
  min-width: 0;
  padding: 18px 22px;
  background: #eef2f5;
  border: 1px solid #cbd8e1;
  margin: 22px 0;
}
.c2-log h3 {
  margin: 0 0 10px;
  font-size: 1rem;
}
.c2-rank-map {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 20px;
  margin: 24px 0;
}
.c2-host {
  min-width: 0;
  padding: 18px;
  border: 1px solid #a9bfce;
  background: #f7fafc;
}
.c2-host h3 {
  font-size: 1rem;
  margin: 0 0 16px;
}
.c2-gpus {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.c2-gpus button {
  display: block;
  text-align: left;
  font-size: .85rem;
  line-height: 1.6;
  padding: 12px;
  background: #fff;
  border: 1px solid #b6c7d3;
  min-width: 0;
  overflow-wrap: anywhere;
}
.c2-gpus strong,
.c2-gpus span {
  display: block;
}
.c2-gpus button[aria-pressed=true] {
  background: #e5f0f7;
  border: 2px solid #145a86;
  padding: 11px;
}
.c2-memory-bar {
  display: flex;
  height: 35px;
  width: 100%;
  gap: 3px;
}
.c2-memory-bar span {
  display: block;
  min-width: 4px;
}
.c2-memory-0 {
  background: #145a86;
}
.c2-memory-1 {
  background: #5f8aa8;
}
.c2-memory-2 {
  background: #b06b22;
}
.c2-memory-3 {
  background: #9cafb9;
}
.c2-interpret > section {
  border-left: 3px solid #a9bfce;
  padding: 6px 0 6px 22px;
  margin: 24px 0;
  max-width: var(--reading-width,42rem);
}
.c2-attribution {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  font-size: .94rem;
}
.c2-attribution b {
  display: block;
  background: #dceaf4;
  color: #234b68;
  padding: 6px;
  min-width: min(60px, 100%);
}
.c2-artifact-browser {
  display: grid;
  grid-template-columns: 185px minmax(0, 1fr);
  gap: 22px;
  margin: 20px 0;
}
.c2-artifact-browser nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-left: 2px solid #d2dee7;
  padding-left: 10px;
  min-width: 0;
}
.c2-artifact-browser nav button {
  border: 0;
  border-radius: 3px;
  background: transparent;
  text-align: left;
  color: #3b5366;
  font-size: .94rem;
  font-weight: 500;
  padding: 11px;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}
.c2-artifact-browser nav button[aria-pressed=true] {
  background: #e8f1f7;
  color: #145a86;
  font-weight: 650;
}
.c2-artifact-browser > section {
  min-width: 0;
}
.c2-artifact-browser h3 {
  font-size: 1.06rem;
  margin: 0 0 12px;
}
.c2-invocations {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  margin: 24px 0;
}
.c2-invocations > section {
  min-width: 0;
  border-top: 3px solid #a9bfce;
  padding-top: 20px;
}
.c2-invocations ol {
  padding-left: 24px;
  line-height: 1.8;
}
.c2-label-clock {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 24px 0;
}
.c2-label-clock > span {
  min-width: 0;
  padding: 16px 20px;
  border-top: 3px solid #a9bfce;
  border-right: 1px solid #d4dfe7;
  font-size: .94rem;
  line-height: 1.7;
}
.c2-label-clock > span:last-child {
  border-right: 0;
}
.c2-section .code-wrap {
  margin: 22px 0;
}
.c2-section .ui-callout {
  max-width: var(--reading-width,42rem);
}
.c2-objectives {
  margin: 24px 0;
  max-width: var(--reading-width,42rem);
}
.c2-objectives h2 {
  font-size: 1.12rem;
  margin-bottom: 10px;
}
.c2-objectives .lesson-objectives {
  font-size: 1rem;
  line-height: 1.8;
}
.c2-section .c2-table td:first-child {
  font-weight: 600;
}
.c2-header h1 {
  max-width: 30ch;
}
.c2-section pre {
  max-width: 100%;
}
.c2-section [data-c2],
.c2-section [data-c2-lab],
.c2-controls > *,
.c2-label-clock > * {
  min-width: 0;
}
@container lesson (max-width:900px) {
  .c2-contract-pair,
  .c2-invocations {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
}
@container lesson (max-width:760px) {
  .c2-artifact-browser {
    grid-template-columns: minmax(0, 1fr);
  }
  .c2-artifact-browser nav {
    flex-direction: row;
    flex-wrap: wrap;
    border-left: 0;
    border-bottom: 1px solid #d2dee7;
    padding: 0 0 12px;
  }
  .c2-label-clock {
    grid-template-columns: minmax(0, 1fr);
  }
  .c2-label-clock > span {
    border-right: 0;
    padding-left: 12px;
  }
}
@container lesson (max-width:620px) {
  .c2-time-row {
    grid-template-columns: 70px minmax(0, 1fr);
  }
  .c2-time-row strong {
    grid-column: 1;
    grid-row: 1/4;
  }
  .c2-time-row span {
    grid-column: 2;
  }
}
@container lesson (max-width:540px) {
  .c2-section {
    margin-block: 32px;
  }
  .c2-controls {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .c2-controls label,
  .c2-section select {
    width: 100%;
  }
  .c2-run-record {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }
  .c2-run-record dd {
    margin-bottom: 12px;
  }
  .c2-table th,
  .c2-table td {
    padding: 11px;
  }
  .c2-time-split {
    padding: 20px 14px;
  }
  .c2-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }
  .c2-verdict {
    padding: 12px 14px;
  }
  .c2-attribution {
    grid-template-columns: 95px minmax(0, 1fr);
  }
  .c2-log {
    padding: 16px;
  }
}
@container lesson (max-width:380px) {
  .c2-time-row {
    grid-template-columns: minmax(0, 1fr);
  }
  .c2-time-row strong,
  .c2-time-row span {
    grid-column: auto;
    grid-row: auto;
  }
  .c2-time-row strong {
    padding-left: 0;
  }
  .c2-host {
    padding: 14px;
  }
}
