/* Preview-only rules leave the published deck unchanged. */
.preview-clean .preview-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr) 28px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
}
.preview-flow > div {
  border-top: 2px solid var(--line);
  padding-top: 20px;
}
.preview-flow > b { color: var(--amber); font-size: 28px; }
.preview-clean .preview-action {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 36px;
  align-content: center;
}
.preview-action > div {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.preview-clean .closed-loop {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 34px;
  align-content: center;
}
.loop-step { display: flex; gap: 18px; }
.loop-step .step-number {
  flex: 0 0 46px;
  font-size: 30px;
  color: var(--cyan);
  font-variant-numeric: tabular-nums;
}
.preview-clean #s20 .answer-focus {
  width: 100%;
  border: 0;
  text-align: center;
}
.answer-focus > strong { display: block; color: var(--amber); font-size: 88px; line-height: 1.4; }
.preview-clean #s20 .rejection-explanation { text-align: left; max-width: 900px; }
.preview-clean #s20 .options span { font-size: 24px; }
.preview-clean #s25 .four-layer { margin: 0; gap: 0; }
.preview-clean #s25 .four-layer > svg { width: 100%; max-height: 400px; }
.preview-clean .ontology-comparison small { font-size: 18px; }
.preview-clean .ontology-comparison td { padding: 9px 12px; }
.preview-clean .ontology-comparison td:first-child { width: 230px; }
.preview-clean .five-questions { gap: 8px; }
.preview-clean .five-questions > div { padding: 8px 0; }
.preview-clean .five-questions p { font-size: 24px; line-height: 1.3; }
.preview-clean .five-questions span { font-size: 18px; }
.preview-clean #s36 > .figure-note { font-size: 18px; }
.preview-clean #s38 .onyx-table td,
.preview-clean #s38 .onyx-table th { font-size: 18px; padding: 12px; }
.preview-clean #s38 .onyx-table th:first-child { width: 235px; }
.preview-clean #s38 .onyx-table td:last-child { width: 280px; }
.preview-clean .slide > .takeaway { border-left-color: transparent; padding-left: 0; }
.preview-clean .layers-overview { gap: 6px; justify-content: center; }
.layer-row, .layer-head, .delivery-base { display: grid; grid-template-columns: 160px minmax(0,1fr) minmax(0,1.15fr); column-gap: 20px; align-items: center; }
.layer-head { color: var(--ink-soft); font-size: 18px; padding: 0 14px; }
.layer-row { min-height: 61px; padding: 8px 14px; background: var(--canvas-alt); }
.layer-row.layer-core { border-left: 3px solid var(--amber); padding-left: 11px; }
.preview-clean .layer-row h2 { font-size: 24px; line-height: 1.4; margin: 0; }
.preview-clean .layer-row p { font-size: 18px; line-height: 1.35; margin: 0; }
.delivery-base { margin-top: 4px; border-top: 2px solid var(--cyan); padding: 10px 14px 0; }
.preview-clean .delivery-base h2 { font-size: 22px; line-height: 1.35; margin: 0; }
.delivery-base small { display: block; font-size: 18px; font-weight: 400; }
.preview-clean .delivery-base p { font-size: 18px; line-height: 1.35; margin: 0; }
.preview-clean .layer-writeback { font-size: 20px; color: var(--cyan); margin: 4px 0; }
.preview-clean .cover h1, .preview-clean .chapter h1 { line-height: 1.3; }
.preview-clean #s03 .media-main { flex: 1 1 auto; }
.preview-clean #s03 .asset-frame img { max-height: 370px; object-fit: contain; }
.preview-clean .slide > .main { flex: 1 1 0; min-height: 0; }
.preview-clean #s07 .report-story,
.preview-clean #information-check .checkpoint-main,
.preview-clean #s12 .main {
  justify-content: flex-start;
}
.preview-clean #s07 .report-story { overflow: hidden; }
.preview-clean #s07 table,
.preview-clean #s07 th,
.preview-clean #s07 td { font-size: 18px; line-height: 1.25; }
.preview-clean #s07 th,
.preview-clean #s07 td { padding: 5px 8px; }
.preview-clean #s07 .report-evidence > p { font-size: 18px; margin: 5px 0; }
.preview-clean #s07 .takeaway,
.preview-clean #s12 .takeaway { margin-top: 6px; font-size: 20px; }
.preview-clean #s12 .main { gap: 4px; }
.preview-clean #s12 svg { width: 100%; height: 345px; flex: 0 0 345px; }
.preview-clean #s12 .diagram-caption { font-size: 18px; margin: 2px 0; line-height: 1.3; }
.preview-clean #s12 .main > .frag { font-size: 20px; margin: 3px 0; }
.preview-clean #information-check .options { gap: 8px; }
.preview-clean #information-check .options span { font-size: 20px; padding: 8px 14px; }
.preview-clean #information-check .chat-prompt { margin-top: 10px; }
.preview-clean #information-check .answer { font-size: 22px; }
.preview-clean #s20 .answer-focus > strong { font-size: 88px; }
.preview-clean #s26 .product-table th,
.preview-clean #s26 .product-table td { font-size: 18px; line-height: 1.2; padding: 4px 9px; }
.preview-clean #s26 .product-table table { table-layout: fixed; width: 100%; }
.preview-clean #s26 .product-table th:first-child { width: 36%; }
.preview-clean #s26 .product-table th:nth-child(2) { width: 24%; }
.preview-clean #s38 .onyx-table { justify-content: flex-start; }
.preview-clean #s38 .onyx-table th,
.preview-clean #s38 .onyx-table td { padding: 8px 12px; line-height: 1.4; }
.preview-clean #s38 .onyx-table .answer {
  display: inline;
  border: 0;
  padding: 0;
  font-size: 18px !important;
  line-height: inherit !important;
}
.preview-clean #s21 svg text.svg-small:last-of-type { transform: translateY(12px); }
.preview-clean #s38 .chat-prompt { font-size: 20px; margin: 6px 0; }
html.preview-clean:not(.print-mode):not(.handout-mode) #s07 .report-stage {
  grid-area: 1 / 1;
  align-self: center;
}
html.preview-clean:not(.print-mode):not(.handout-mode) #s07 .report-stage:not(.is-revealed),
html.preview-clean:not(.print-mode):not(.handout-mode) #s07 .report-stage:has(~ .report-stage.is-revealed) {
  visibility: hidden;
  opacity: 0;
}
html.preview-clean:not(.print-mode):not(.handout-mode) #s07 .report-stage.is-revealed:not(:has(~ .report-stage.is-revealed)) {
  visibility: visible;
  opacity: 1;
}
.preview-clean #s35 .ontology-comparison th,
.preview-clean #s35 .ontology-comparison td { font-size: 18px; line-height: 1.3; padding: 7px 9px; }
.preview-clean #s36 .five-questions { gap: 2px; }
.preview-clean #s36 .five-questions > div { grid-template-columns: 34px minmax(0, 1fr) 210px; min-height: 58px; }
.preview-clean #s36 .five-questions p { font-size: 24px; line-height: 1.2; }
.preview-clean #s36 .five-questions span { font-size: 18px; }
