/* Chapter 16 only. Reuse the reader's light/dark theme tokens. */
.learn-chapter[aria-label="상관관계와 인과관계"] :is(h2, li) { word-break: keep-all; overflow-wrap: anywhere; }
.co-formula { padding: 1rem 1.25rem; background: var(--learn-soft); border-left: 3px solid var(--learn-border-strong); border-radius: 6px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.co-controls[hidden], .co-mixture-svg [hidden], .co-scatter-svg [hidden] { display: none; }
.co-controls { margin: 1rem 0; padding: 1rem; background: var(--learn-soft); border-radius: 8px; }
.co-controls label { display: flex; align-items: center; gap: .5rem; margin: .75rem 0 .5rem; min-height: 32px; font-weight: 500; }
.co-controls select { max-width: 100%; min-height: 44px; padding: .5rem .75rem; border: 1px solid var(--learn-border-strong); border-radius: 6px; background: var(--learn-surface); color: var(--learn-text); font: inherit; }
.co-controls input { width: 18px; height: 18px; accent-color: var(--learn-accent); }
.co-controls p { margin-bottom: 0; }
.co-controls :is(select, input):focus-visible { outline: 2px solid var(--learn-accent); outline-offset: 3px; }
.co-macro-case { margin: 1.5rem 0; }
.co-macro-case img { display: block; width: 100%; height: auto; border: 1px solid var(--learn-border-strong); border-radius: 8px; }
.co-macro-case figcaption { color: var(--learn-muted); font-size: .875rem; line-height: 1.7; margin-top: .75rem; }
.co-scatter-svg circle[data-selected="true"] { stroke: var(--learn-text); stroke-width: 3; }
:root[data-learn-theme="dark"] .co-mixture-svg [data-trend="overall"] { stroke: var(--learn-teal); }
