/* P2-01 Wave C — shared chapter-top navigation */
.p201c-nav{margin:24px 0 32px;padding:26px;border:1px solid #d5e0ef;border-top:5px solid #2455c6;border-radius:16px;background:#fff;box-shadow:0 10px 30px rgba(31,55,91,.06)}
.p201c-heading{display:grid;grid-template-columns:minmax(0,1fr) 245px;gap:28px;align-items:start}
.p201c-kicker{display:block;color:#5272a9;font-size:11px;font-weight:800;letter-spacing:.13em}
.p201c-heading h2{margin:5px 0 4px;color:#183763;font-size:24px;line-height:1.55}
.p201c-heading p{margin:0;color:#607089;font-size:14px;line-height:1.8}
.p201c-progress{padding:16px 18px;border-radius:12px;background:#f1f5fc}
.p201c-progress>span{display:block;color:#657590;font-size:11px}
.p201c-progress strong{display:block;margin:4px 0 8px;color:#2455c6;font-size:26px;font-variant-numeric:tabular-nums}
.p201c-progress small{color:#526580;font-size:12px;font-weight:600}
.p201c-progress progress{display:block;width:100%;height:8px}
.p201c-resume{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:20px 0 0;padding:19px 20px;border:1px solid #c9d8f0;border-radius:13px;background:#edf3ff}
.p201c-resume h3{margin:3px 0;color:#183763;font-size:19px}
.p201c-resume p{margin:0;color:#5b6c86;font-size:13px}
.p201c-resume .button{flex:0 0 auto}
.p201c-controls{display:grid;grid-template-columns:minmax(255px,.72fr) minmax(0,1.28fr);gap:28px;margin-top:24px;padding-top:22px;border-top:1px solid #e0e6ef}
.p201c-controls h3{margin:0 0 10px;color:#314c73;font-size:14px}
.p201c-states{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.p201c-state{display:flex;align-items:center;justify-content:space-between;gap:6px;min-height:48px;padding:8px 10px;border:1px solid #d3ddea;border-radius:9px;background:#fff;color:#425671;font:inherit;text-align:left}
.p201c-state span{font-size:12px;white-space:nowrap}.p201c-state strong{display:grid;place-items:center;min-width:25px;height:25px;padding:0 6px;border-radius:999px;background:#eef2f7;color:#334e73;font-size:12px}
.p201c-state[aria-pressed="true"]{border-color:#2455c6;background:#edf3ff;color:#173c95;font-weight:700}.p201c-state[aria-pressed="true"] strong{background:#fff;color:#2455c6}
.p201c-state:disabled{opacity:.48}
.p201c-themes{display:flex;flex-wrap:wrap;gap:8px}
.p201c-theme{display:flex;align-items:center;gap:8px;min-height:44px;padding:8px 12px;border:1px solid #d3ddea;border-radius:999px;background:#fff;color:#405570;font:inherit;text-align:left}
.p201c-theme span{font-size:12px;line-height:1.5}.p201c-theme small{display:grid;place-items:center;min-width:22px;height:22px;border-radius:999px;background:#f0f3f7;color:#627089;font-size:10px}
.p201c-theme[aria-pressed="true"]{border-color:#2455c6;background:#edf3ff;color:#173c95;font-weight:700}.p201c-theme[aria-pressed="true"] small{background:#fff;color:#2455c6}
.p201c-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:21px;padding-top:18px;border-top:1px solid #e0e6ef}
.p201c-footer .button{min-width:235px}.p201c-footer .button[aria-pressed="true"]{background:#edf3ff;border-color:#7897ce;color:#173c95}
.p201c-footer span{color:#61718a;font-size:12px;text-align:right}
.chapter-section[data-wave-c-chapter]{scroll-margin-top:90px}
.chapter-section[data-wave-c-chapter][hidden],.p201c-lesson[hidden]{display:none!important}
.p201c-lesson{position:relative}
.p201c-lesson.is-current{border-color:#88a5d5;background:#f5f8ff}
.p201c-lesson.is-learned{background:#fbfdfb}
.p201c-lesson-status{display:inline-flex;align-items:center;width:max-content;margin-top:8px;padding:3px 8px;border-radius:999px;background:#f0f3f7;color:#64728a;font-size:10px;font-weight:700;letter-spacing:.02em}
.p201c-lesson-status-current{background:#e5edff;color:#204fab}.p201c-lesson-status-learned{background:#e5f2e8;color:#216344}
.chapter-heading .chapter-purpose{display:none}

@media(max-width:900px){
  .p201c-heading{grid-template-columns:1fr}.p201c-progress{max-width:420px}
  .p201c-controls{grid-template-columns:1fr;gap:20px}
}
@media(max-width:650px){
  .p201c-nav{margin:18px 0 25px;padding:19px 16px;border-radius:13px}
  .p201c-heading{gap:15px}.p201c-heading h2{font-size:20px}.p201c-heading p{font-size:13px}
  .p201c-progress{padding:13px 14px}.p201c-progress strong{font-size:23px}
  .p201c-resume{display:block;margin-top:16px;padding:16px}.p201c-resume h3{font-size:17px}.p201c-resume p{line-height:1.7}.p201c-resume .button{width:100%;margin-top:12px}
  .p201c-controls{margin-top:19px;padding-top:18px;gap:18px}
  .p201c-states{gap:6px}.p201c-state{display:grid;justify-items:center;gap:4px;min-height:62px;padding:7px 4px;text-align:center}.p201c-state span{font-size:11px}.p201c-state strong{height:23px;min-width:23px}
  .p201c-themes{display:grid;grid-template-columns:1fr 1fr;gap:7px}.p201c-theme{justify-content:space-between;border-radius:9px;min-height:48px;padding:8px 10px}.p201c-theme span{font-size:11px}
  .p201c-footer{display:block}.p201c-footer .button{width:100%;min-width:0}.p201c-footer span{display:block;margin-top:9px;text-align:left}
  .chapter-section[data-wave-c-chapter]{margin-top:25px}.chapter-section[data-wave-c-chapter] .section-heading{margin-bottom:10px}.chapter-section[data-wave-c-chapter] h2{font-size:19px}
  .p201c-lesson{padding-top:15px;padding-bottom:15px}.p201c-lesson p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
}
@media(max-width:360px){.p201c-themes{grid-template-columns:1fr}.p201c-states{grid-template-columns:1fr}.p201c-state{display:flex;min-height:46px;padding:8px 11px}}
