.lesson-page.chapter-experience-active .lesson-main { min-width: 0; }
.lesson-page.chapter-experience-active .lesson-sidebar .button-outline,
.lesson-page.chapter-experience-active .chapter-experience .button-outline {
  color: #253d62;
  background: #fff;
  border-color: #7891ad;
}
.lesson-page.chapter-experience-active .lesson-sidebar .button-outline:hover,
.lesson-page.chapter-experience-active .chapter-experience .button-outline:hover {
  color: #182840;
  background: #eef4f8;
  filter: none;
}
.chapter-experience { color: #182840; }
.chapter-experience h1,
.chapter-experience h2,
.chapter-experience h3,
.chapter-experience h4 { color: #182840; }

.cx-hero {
  display: grid;
  grid-template-columns: minmax(0,1fr) 150px;
  gap: 32px;
  align-items: end;
  padding: 32px;
  color: #fff;
  background:
    radial-gradient(circle at 88% 18%,rgba(65,184,167,.34),transparent 28%),
    linear-gradient(135deg,#182840,#253d62 65%,#305385);
  border-radius: 22px;
  box-shadow: 0 20px 46px rgba(24,40,64,.18);
}
.cx-hero h1 { margin: 14px 0 12px; color: #fff; font-size: clamp(34px,4vw,56px); line-height: 1.03; }
.cx-hero p { max-width: 800px; margin: 0; color: #dce8f4; font-size: 18px; line-height: 1.55; }
.cx-kicker { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; color: #bcd0e5; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.cx-kicker .risk-chip { color: #80d7a9; }
.cx-duration { padding-left: 24px; border-left: 1px solid rgba(255,255,255,.2); text-align: center; }
.cx-duration strong { display: block; color: #fff; font-family: Georgia,serif; font-size: 54px; line-height: .9; }
.cx-duration span { display: block; margin-top: 6px; color: #9fc6e5; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; }
.cx-duration small { display: block; margin-top: 12px; color: #dce8f4; line-height: 1.45; }

.cx-component-progress { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin: 18px 0; }
.cx-component-progress article { display: flex; gap: 11px; align-items: center; min-width: 0; padding: 13px 14px; background: #fff; border: 1px solid #d2dce7; border-radius: 13px; }
.cx-component-progress article > span { display: grid; place-items: center; flex: 0 0 30px; width: 30px; height: 30px; color: #305385; background: #e8f2fb; border-radius: 50%; font-weight: 900; }
.cx-component-progress article.complete { border-color: #7bc5b8; background: #f2fbf8; }
.cx-component-progress article.complete > span { color: #fff; background: #146f69; }
.cx-component-progress strong,
.cx-component-progress small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cx-component-progress strong { font-size: 14px; }
.cx-component-progress small { margin-top: 2px; color: #64748b; font-size: 12px; }

.cx-stage-nav { position: sticky; top: 76px; z-index: 8; display: flex; gap: 6px; padding: 8px; margin-bottom: 18px; overflow-x: auto; background: rgba(244,241,232,.94); border: 1px solid #d3dbe3; border-radius: 14px; backdrop-filter: blur(12px); }
.cx-stage-nav button { flex: 1 0 auto; min-height: 42px; padding: 9px 14px; color: #526176; background: transparent; border: 0; border-radius: 9px; font-weight: 850; cursor: pointer; }
.cx-stage-nav button:hover { background: #e9eef4; }
.cx-stage-nav button.active { color: #fff; background: #253d62; box-shadow: 0 7px 18px rgba(37,61,98,.18); }
.cx-stage-nav button:disabled { color: #8a96a5; cursor: not-allowed; }

.cx-stage { display: none; scroll-margin-top: 142px; padding: 30px; background: #fff; border: 1px solid #d6dee7; border-radius: 20px; box-shadow: 0 15px 34px rgba(24,40,64,.08); }
.cx-stage.active { display: block; animation: cxFade .2s ease-out; }
@keyframes cxFade { from { opacity: 0; transform: translateY(5px); } }
.cx-section-head { max-width: 880px; margin-bottom: 25px; }
.cx-section-head.split { display: flex; justify-content: space-between; align-items: end; max-width: none; gap: 24px; }
.cx-section-head h2 { margin: 6px 0 10px; font-size: clamp(28px,3vw,42px); line-height: 1.1; }
.cx-section-head > p:last-child { color: #536276; font-size: 17px; line-height: 1.65; }
.cx-card-label { display: inline-block; margin-bottom: 10px; color: #467cc7; font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; }

.cx-overview-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 18px; }
.cx-situation-card,
.cx-objectives-card { padding: 25px; border-radius: 16px; }
.cx-situation-card { color: #fff; background: #253d62; }
.cx-situation-card .cx-card-label { color: #75b6e7; }
.cx-situation-card blockquote { margin: 8px 0 18px; color: #fff; font-family: Georgia,serif; font-size: 25px; line-height: 1.35; }
.cx-situation-card p { color: #dce8f4; }
.cx-objectives-card { background: #edf5fb; border: 1px solid #c9ddec; }
.cx-objectives-card ol { margin: 8px 0 0; padding-left: 24px; }
.cx-objectives-card li { margin: 10px 0; padding-left: 5px; line-height: 1.5; }
.cx-path { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin: 18px 0 25px; }
.cx-path article { padding: 18px; background: #fafbfc; border: 1px solid #d8e0e8; border-radius: 14px; }
.cx-path span { color: #146f69; font-weight: 900; }
.cx-path h3 { margin: 7px 0; font-size: 18px; }
.cx-path p { margin: 0; color: #657286; font-size: 14px; line-height: 1.45; }

.cx-lecture-count { min-width: 110px; text-align: right; }
.cx-lecture-count strong,
.cx-lecture-count span { display: block; }
.cx-lecture-count strong { color: #253d62; font-size: 24px; }
.cx-lecture-count span { margin-top: 4px; color: #66758a; font-size: 13px; }
.cx-progress-track { height: 7px; margin-bottom: 14px; overflow: hidden; background: #dfe7ee; border-radius: 999px; }
.cx-progress-track i { display: block; width: 2%; height: 100%; background: linear-gradient(90deg,#467cc7,#41b8a7); transition: width .2s ease; }
.cx-frame-shell { padding: 8px; background: #182840; border-radius: 16px; box-shadow: 0 18px 35px rgba(24,40,64,.2); }
.cx-frame-shell iframe { display: block; width: 100%; aspect-ratio: 16/9; background: #d8e1eb; border: 0; border-radius: 10px; }
.cx-lecture-actions { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin: 16px 0 22px; }
.cx-lecture-actions p { margin: 0; color: #5c6a7d; font-size: 14px; }

.cx-choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0 0 18px; padding: 0; border: 0; }
.cx-choice-grid legend { grid-column: 1/-1; margin-bottom: 5px; color: #43576d; font-weight: 900; }
.cx-choice-grid label { position: relative; cursor: pointer; }
.cx-choice-grid input { position: absolute; opacity: 0; }
.cx-choice-grid span { display: flex; min-height: 70px; align-items: center; padding: 14px 16px; background: #f7f9fb; border: 2px solid #d5dde5; border-radius: 11px; font-weight: 750; line-height: 1.4; }
.cx-choice-grid input:checked + span { color: #fff; background: #253d62; border-color: #253d62; }
.cx-choice-grid input:focus-visible + span { outline: 3px solid #f4b942; outline-offset: 2px; }
.cx-warmup-grid { display: grid; gap: 10px; margin-bottom: 18px; }
.cx-warmup-grid label { display: grid; grid-template-columns: minmax(0,1fr) 220px; gap: 16px; align-items: center; padding: 14px 16px; background: #f7f9fb; border: 1px solid #d5dfe7; border-radius: 11px; }
.cx-warmup-grid label > span { color: #2d4359; font-weight: 750; }
.cx-warmup-grid select { min-height: 42px; padding: 8px 10px; color: #182840; background: #fff; border: 1px solid #aebdca; border-radius: 8px; }
.cx-form-status { min-height: 22px; margin: 12px 0; color: #8a5700; font-weight: 800; }
.cx-warmup-solution { margin: 16px 0; padding: 18px 20px; color: #245f47; background: #edf8f2; border: 1px solid #aad5bf; border-radius: 14px; }
.cx-warmup-solution p { margin: 5px 0 0; color: #35674f; }

.cx-mission-block { margin-top: 18px; overflow: hidden; background: #fff; border: 1px solid #d6dee7; border-radius: 16px; }
.cx-mission-title { display: flex; gap: 14px; align-items: center; padding: 20px 22px; background: #f5f8fb; border-bottom: 1px solid #d6dee7; }
.cx-mission-title > span { display: grid; place-items: center; flex: 0 0 34px; width: 34px; height: 34px; color: #fff; background: #253d62; border-radius: 50%; font-weight: 900; }
.cx-mission-title p,
.cx-mission-title h3 { margin: 0; }
.cx-mission-title h3 { margin-top: 3px; font-size: 21px; }
.cx-prompt-block summary { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 18px 22px; cursor: pointer; list-style: none; }
.cx-prompt-block summary::-webkit-details-marker { display: none; }
.cx-prompt-block summary span { color: #146f69; font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.cx-prompt-block summary em { color: #467cc7; font-style: normal; font-weight: 800; }
.cx-mission-body { padding: 20px 22px; border-top: 1px solid #d6dee7; }
.cx-mission-body pre { max-height: 320px; padding: 20px; overflow: auto; white-space: pre-wrap; color: #dce8f4; background: #182840; border-radius: 12px; font: 14px/1.6 "Segoe UI",sans-serif; }
.cx-copy-status { display: inline-block; margin-left: 10px; color: #146f69; font-weight: 800; }

.cx-evidence-tray { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; padding: 18px; }
.cx-evidence-tray article { min-width: 0; padding: 18px; background: #fbfcfd; border: 1px solid #d6dee7; border-radius: 13px; }
.cx-document-type { display: inline-block; padding: 4px 7px; color: #305385; background: #e8f2fb; border-radius: 6px; font-size: 10px; font-weight: 900; letter-spacing: .08em; }
.cx-evidence-tray h4 { margin: 10px 0; font-size: 17px; }
.cx-evidence-tray dl { margin: 0; }
.cx-evidence-tray dl div { margin-top: 8px; }
.cx-evidence-tray dt { color: #738095; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; }
.cx-evidence-tray dd { margin: 2px 0 0; font-weight: 800; }
.cx-evidence-tray button { width: 100%; margin-top: 14px; padding: 8px; color: #305385; background: #fff; border: 1px solid #aebdca; border-radius: 8px; font-weight: 800; cursor: pointer; }
.cx-evidence-tray button.reviewed { color: #146f69; background: #edf8f4; border-color: #7bc5b8; }

.cx-ai-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 16px; padding: 18px; }
.cx-ai-output { overflow: hidden; padding: 18px; background: #f4f8fb; border: 1px solid #c9d9e7; border-radius: 13px; }
.cx-ai-claim { color: #193551!important; font-family: Georgia,serif; font-size: 23px; line-height: 1.45; }
.cx-ai-summary { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: 18px; }
.cx-ai-summary span,
.cx-ai-summary strong { padding: 9px; border-bottom: 1px solid #dce6eb; }
.cx-ai-note { margin: 14px 0 0; padding: 12px; color: #73510f!important; background: #fff5df; border-radius: 8px; }
.cx-accounting-table { width: 100%; border-collapse: collapse; }
.cx-accounting-table th,
.cx-accounting-table td { padding: 11px; text-align: right; border-bottom: 1px solid #dce6eb; }
.cx-accounting-table th:first-child,
.cx-accounting-table td:first-child { text-align: left; }
.cx-review-card { overflow: hidden; border: 1px solid #b9cbdc; border-radius: 13px; }
.cx-review-card header { padding: 17px; color: #fff; background: #253d62; }
.cx-review-card header span { color: #75b6e7; font-size: 11px; font-weight: 900; letter-spacing: .1em; }
.cx-review-card header h4 { margin: 4px 0 0; color: #fff; font-size: 21px; }
.cx-review-card dl { margin: 0; padding: 8px 17px 14px; }
.cx-review-card dl div { padding: 10px 0; border-bottom: 1px solid #dce4eb; }
.cx-review-card dl div:last-child { border: 0; }
.cx-review-card dt { color: #5e6e82; font-size: 11px; font-weight: 900; text-transform: uppercase; }
.cx-review-card dd { margin: 3px 0 0; line-height: 1.4; }

.cx-checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 18px; }
.cx-checklist label,
.cx-debrief-ack { display: flex; gap: 10px; align-items: flex-start; padding: 13px; background: #f8fafb; border: 1px solid #d8e1e8; border-radius: 10px; line-height: 1.45; cursor: pointer; }
.cx-checklist input,
.cx-debrief-ack input { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 1px; accent-color: #146f69; }
.cx-decision-options { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin: 18px; padding: 0; border: 0; }
.cx-decision-options legend { grid-column: 1/-1; margin-bottom: 4px; font-weight: 900; }
.cx-decision-options label { position: relative; cursor: pointer; }
.cx-decision-options input { position: absolute; opacity: 0; }
.cx-decision-options span { display: grid; place-items: center; min-height: 58px; padding: 10px; text-align: center; background: #f7f9fb; border: 2px solid #d5dde5; border-radius: 11px; font-weight: 800; }
.cx-decision-options input:checked + span { color: #fff; background: #253d62; border-color: #253d62; box-shadow: 0 7px 18px rgba(37,61,98,.16); }
.cx-decision-options input:focus-visible + span { outline: 3px solid #f4b942; outline-offset: 2px; }
.cx-stamp-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; padding: 0 18px 18px; }
.cx-stamp-fields label { font-size: 13px; font-weight: 900; }
.cx-stamp-fields label.wide { grid-column: 1/-1; }
.cx-stamp-fields textarea { display: block; width: 100%; min-height: 92px; margin-top: 7px; padding: 12px; resize: vertical; color: #182840; background: #fff; border: 1px solid #aebdca; border-radius: 9px; font: 15px/1.45 "Segoe UI",sans-serif; }
.cx-reviewer-stamp > .button,
.cx-reviewer-stamp > .cx-form-status { margin-left: 18px; margin-bottom: 18px; }

.cx-decision-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cx-decision-compare article { padding: 22px; border-radius: 15px; }
.cx-decision-compare article:first-child { background: #edf5fb; border: 1px solid #bdd6ea; }
.cx-decision-compare article:last-child { color: #fff; background: #253d62; }
.cx-decision-compare span,
.cx-decision-compare strong { display: block; }
.cx-decision-compare span { color: #467cc7; font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.cx-decision-compare article:last-child span { color: #75b6e7; }
.cx-decision-compare strong { margin: 7px 0; font-family: Georgia,serif; font-size: 25px; }
.cx-decision-compare article:last-child strong,
.cx-decision-compare article:last-child p { color: #fff; }
.cx-model-debrief { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.cx-model-debrief > div { padding: 22px; background: #fbfcfd; border: 1px solid #d6dee7; border-radius: 15px; }
.cx-model-debrief h3 { margin: 7px 0; }
.cx-model-debrief p:last-child { color: #59697b; line-height: 1.55; }
.cx-mistake-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.cx-mistake-links a { padding: 10px 13px; color: #305385; background: #fff8eb; border: 1px solid #e7d09f; border-radius: 9px; font-weight: 900; }
.cx-impact-card { margin-top: 16px; padding: 22px; background: #edf8f4; border: 1px solid #a9d8c8; border-left: 7px solid #146f69; border-radius: 15px; }
.cx-impact-card h3 { margin: 6px 0; }
.cx-debrief-ack { margin-top: 16px; background: #fff; }
.cx-completion { display: flex; justify-content: space-between; align-items: center; gap: 22px; margin-top: 16px; padding: 20px; background: #f3f6f9; border: 1px solid #d2dce5; border-radius: 14px; }
.cx-completion strong,
.cx-completion p { display: block; margin: 0; }
.cx-completion p { margin-top: 4px; color: #617084; font-size: 13px; }
.cx-completion .button.incomplete { color: #526176; background: #e3e9ee; border-color: #c5d0d9; }
.cx-completion .button.incomplete:hover { color: #34465a; background: #d8e1e8; filter: none; }
.cx-completion .button:disabled { color: #315f58; background: #d8e9e5; border-color: #b9d5cf; cursor: default; opacity: 1; }
.cx-toolkit-links a { display: block; padding: 9px 0; color: #305385; border-bottom: 1px solid #d9e1e8; font-weight: 800; }
.cx-toolkit-links a:last-child { border: 0; }

@media (max-width:1200px) {
  .cx-component-progress { grid-template-columns: 1fr 1fr; }
  .cx-evidence-tray { grid-template-columns: 1fr 1fr; }
  .cx-decision-options { grid-template-columns: 1fr 1fr; }
}
@media (max-width:900px) {
  .cx-hero { grid-template-columns: 1fr; }
  .cx-duration { padding: 18px 0 0; border-top: 1px solid rgba(255,255,255,.2); border-left: 0; text-align: left; }
  .cx-duration strong,
  .cx-duration span { display: inline-block; margin-right: 8px; }
  .cx-overview-grid,
  .cx-ai-grid,
  .cx-model-debrief { grid-template-columns: 1fr; }
  .cx-path { grid-template-columns: 1fr 1fr; }
}
@media (max-width:640px) {
  .cx-hero,
  .cx-stage { padding: 20px; border-radius: 15px; }
  .cx-component-progress { grid-template-columns: 1fr; }
  .cx-stage-nav { top: 73px; }
  .cx-stage-nav button { flex: 0 0 auto; }
  .cx-section-head.split,
  .cx-lecture-actions,
  .cx-completion { align-items: stretch; flex-direction: column; }
  .cx-path,
  .cx-choice-grid,
  .cx-evidence-tray,
  .cx-checklist,
  .cx-decision-options,
  .cx-stamp-fields,
  .cx-decision-compare { grid-template-columns: 1fr; }
  .cx-stamp-fields label.wide { grid-column: auto; }
  .cx-warmup-grid label { grid-template-columns: 1fr; }
  .cx-prompt-block summary { grid-template-columns: 1fr auto; }
  .cx-prompt-block summary span { grid-column: 1/-1; }
  .cx-lecture-count { text-align: left; }
  .cx-frame-shell { margin-inline: -12px; }
  .cx-frame-shell iframe { min-height: 280px; aspect-ratio: auto; }
}
