/* Education: a chapter-based research handbook, using Quandora's shared type and palette. */
.edu-page { --edu-muted: #65656c; --edu-paper: #f5f5f3; --edu-edge: #e6e6e2; padding-bottom: 70px; font-family: var(--font); letter-spacing: normal; }
.edu-page .edu-eyebrow { color: var(--accent); font-size: 12px; font-weight: 500; letter-spacing: .07em; line-height: 1.6; font-family: var(--font); }
.edu-page a:not(.btn) { text-underline-offset: 4px; }
.edu-page a:not(.btn):hover { text-decoration: underline; }
.edu-hero { padding-top: clamp(136px, 12vw, 164px); padding-bottom: 64px; }
.edu-hero-main { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); align-items: center; gap: clamp(40px, 6vw, 84px); }
.edu-hero-copy { position: relative; z-index: 1; }
.edu-hero-copy > .edu-eyebrow { display: flex; align-items: center; gap: 11px; }
.edu-hero-copy > .edu-eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--accent); }
.edu-hero h1 { font-size: clamp(48px, 5.8vw, 76px); line-height: 1.1; letter-spacing: -.015em; margin-top: 22px; font-family: var(--font-display); font-weight: 400; }
.edu-intro { max-width: 32em; margin-top: 25px; color: var(--edu-muted); font-size: clamp(17px, 1.65vw, 20px); line-height: 1.65; }
.edu-page .edu-start { display: inline-flex; min-height: 48px; padding-inline: 25px; margin-top: 28px; font-size: 14px; }
.edu-hero-visual { position: relative; isolation: isolate; padding: 20px 14px 28px; }
.edu-hero-visual::before { content: ''; position: absolute; z-index: -1; inset: -35px -30px; background: radial-gradient(ellipse at 55% 60%, #ff6e1d12, transparent 67%); }
.edu-chapter-line { display: flex; align-items: baseline; gap: 20px; padding-top: 27px; margin-top: 46px; border-top: 1px solid var(--edu-edge); }
.edu-chapter-line > span { color: var(--edu-muted); font-size: 12px; letter-spacing: .06em; white-space: nowrap; font-family: var(--font); font-weight: 500; }
.edu-chapter-line p { font-size: 16px; }
.edu-lesson-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 21px; }
.edu-page .edu-lesson-card { position: relative; display: grid; grid-template-columns: 51px minmax(0, 1fr) 24px; gap: 19px; align-items: start; padding: 25px; border: 1px solid var(--edu-edge); border-radius: 14px; background: #fff; transition: border-color .2s, background .2s, transform .2s; }
.edu-page .edu-lesson-card:hover { text-decoration: none; background: #fcfcfa; border-color: #d7b29a; transform: translateY(-2px); }
.edu-card-index { display: grid; place-items: center; width: 49px; height: 49px; color: var(--accent); background: #fcf0e8; border-radius: 10px; font-family: var(--mono); font-size: 18px; }
.edu-lesson-card h2 { font-family: var(--font); font-size: 18px; font-weight: 500; line-height: 1.5; margin-bottom: 9px; }
.edu-lesson-card p { color: var(--edu-muted); font-size: 12px; line-height: 1.7; }
.edu-lesson-card > svg { width: 19px; height: 19px; color: var(--edu-muted); margin-top: 13px; }
.edu-layout { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: clamp(44px, 6vw, 84px); align-items: start; }
.edu-toc { position: sticky; top: 128px; padding: 8px 0 20px 17px; border-left: 1px solid var(--edu-edge); }
.edu-toc > .edu-eyebrow { color: var(--edu-muted); margin-bottom: 17px; font-size: 10px; }
.edu-toc > a { display: flex; gap: 11px; padding: 11px 0; color: var(--ink-2); font-size: 13px; line-height: 1.65; }
.edu-toc > a > span:first-child { flex: 0 0 25px; color: var(--accent); font-family: var(--mono); font-size: 12px; }
.edu-toc > a > span:last-child { max-width: 140px; }
.edu-toc > .edu-toc-source { margin-top: 16px; color: var(--edu-muted); font-size: 12px; border-top: 1px solid var(--line); padding-top: 18px; }
.edu-article { min-width: 0; }
.edu-lesson { padding-top: 5px; padding-bottom: 75px; scroll-margin-top: 120px; }
.edu-lesson + .edu-lesson { border-top: 1px solid var(--edu-edge); padding-top: 64px; }
.edu-lesson-heading { padding-bottom: 24px; margin-bottom: 25px; border-bottom: 1px solid var(--edu-edge); }
.edu-lesson h2 { margin: 13px 0 0; font-size: clamp(38px, 4.4vw, 60px); line-height: 1.1; letter-spacing: -.01em; font-family: var(--font-display); font-weight: 400; }
.edu-lesson > p { max-width: 47em; margin-top: 20px; color: #4e4e55; font-size: 16px; line-height: 1.7; }
.edu-lesson > .edu-deck { color: #242429; font-size: 19px; line-height: 1.65; margin-top: 0; }
.edu-lesson h3 { margin: 38px 0 13px; font-size: 23px; line-height: 1.35; letter-spacing: normal; font-family: var(--font); font-weight: 500; }
.edu-timeline { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0; margin-block: 27px; padding: 24px 0; border-block: 1px solid var(--edu-edge); }
.edu-timeline > div { position: relative; padding: 0 24px; }
.edu-timeline > div:first-child { padding-left: 0; }
.edu-timeline > div:last-child { padding-right: 0; }
.edu-timeline > div + div { border-left: 1px solid var(--edu-edge); }
.edu-timeline span { font-family: var(--mono); font-size: 11px; color: var(--accent); }
.edu-timeline p { margin-top: 9px; font-size: 14px; line-height: 1.65; }
.edu-lesson .edu-citation { color: var(--edu-muted); font-size: 13px; line-height: 1.7; font-family: var(--font); letter-spacing: normal; }
.edu-citation a, a.edu-citation { text-decoration: underline; text-decoration-color: #c5c5c0; }
.edu-formula-workbook { display: grid; grid-template-columns: 1.25fr 1fr; border: 1px solid var(--edu-edge); border-radius: 16px; overflow: hidden; margin-block: 26px; background: #fff; box-shadow: 0 12px 26px -24px #17171745; }
.edu-formula { grid-column: 1/-1; margin: 0; padding: 26px 30px; background: #222226; color: #fff; }
.edu-formula figcaption { font-family: var(--font); font-size: 11px; letter-spacing: .04em; color: #ffb07f; font-weight: 500; }
.edu-equation { display: flex; align-items: center; justify-content: center; gap: 20px; margin-block: 29px; font-family: var(--mono); font-size: clamp(19px, 2.35vw, 29px); }
.edu-equation > span:first-child { color: #ff9b60; }
.edu-fraction { display: grid; text-align: center; white-space: nowrap; }
.edu-fraction > span { padding: 8px 5px; }
.edu-fraction > span + span { border-top: 1px solid #747479; }
.edu-formula p { max-width: 35em; color: #d1d1d5; font-size: 13px; line-height: 1.75; }
.edu-formula-key { display: grid; grid-template-columns: 1fr; gap: 12px; padding: 24px 28px; margin: 0; }
.edu-formula-key > div { display: flex; align-items: baseline; gap: 15px; font-size: 13px; }
.edu-formula-key dt { min-width: 43px; color: var(--accent); font-family: var(--mono); }
.edu-formula-key dd { color: var(--edu-muted); }
.edu-price-example { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 0; border-left: 1px solid var(--edu-edge); align-items: center; padding: 25px 18px; background: #fafaf8; }
.edu-price-example > div { display: grid; gap: 9px; padding-inline: 12px; }
.edu-price-example > div + div { border-left: 1px solid var(--edu-edge); }
.edu-price-example span { font-size: 11px; color: var(--edu-muted); letter-spacing: normal; font-family: var(--font); }
.edu-price-example p { font-family: var(--mono); font-size: 10px; line-height: 1.85; white-space: nowrap; }
.edu-price-example strong { font-family: var(--mono); font-weight: 500; font-size: 19px; letter-spacing: normal; }
.edu-price-example > div:first-child strong { color: var(--accent); }
.edu-lesson .edu-note { color: var(--edu-muted); font-size: 13px; line-height: 1.85; }
.edu-table-scroll { width: 100%; overflow-x: auto; overscroll-behavior-x: contain; margin-top: 26px; }
.edu-page table { width: 100%; border-collapse: collapse; font-size: 13px; line-height: 1.75; }
.edu-page caption { text-align: left; font-size: 12px; color: var(--edu-muted); padding-bottom: 16px; }
.edu-page th, .edu-page td { text-align: left; padding: 17px 14px; border-bottom: 1px solid var(--edu-edge); vertical-align: top; }
.edu-page thead th { background: var(--edu-paper); font-size: 11px; font-weight: 500; }
.edu-page tbody th { font-weight: 500; }
.edu-compare { min-width: 560px; }
.edu-compare th:first-child { width: 22%; }
.edu-compare td { width: 39%; color: var(--ink-2); }
.edu-compare thead th:nth-child(2) { color: var(--accent); background: #fcf1e9; }
.edu-compare tbody td:nth-child(2) { background: #fdfaf7; }
.edu-buffett { display: grid; grid-template-columns: 115px minmax(0,1fr); align-items: center; gap: 25px; margin-top: 29px; padding: 29px; border: 1px solid var(--edu-edge); border-radius: 16px; background: linear-gradient(125deg, #f5f5f2, #fcfcfa); }
.edu-buffett-portrait { width: 115px; height: 165px; object-fit: contain; mix-blend-mode: multiply; filter: grayscale(1); }
.edu-buffett-copy > p:not(.edu-eyebrow) { margin-top: 12px; font-size: 16px; line-height: 1.7; color: var(--ink-2); }
.edu-buffett-copy > .edu-citation { display: inline-block; margin-top: 13px; font-size: 13px; }
.edu-inline-formula { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; margin-top: 24px; padding: 20px 24px; border: 1px solid var(--edu-edge); border-radius: 10px; background: #fafaf8; }
.edu-inline-formula > span { font-size: 12px; color: var(--edu-muted); }
.edu-inline-formula code { color: var(--accent); overflow-wrap: anywhere; font-size: 14px; }
.edu-lab { position: relative; margin-top: 33px; padding: clamp(24px, 3vw, 35px); border: 1px solid #ddded8; border-radius: 18px; background: #f7f7f4; box-shadow: 0 15px 40px -32px #17171755; }
.edu-lab-heading { display: flex; gap: 18px; justify-content: space-between; align-items: start; }
.edu-lab .edu-lab-heading h3 { margin: 8px 0 0; font-size: 24px; line-height: 1.45; }
.edu-data-label { display: flex; align-items: center; gap: 6px; flex: 0 0 auto; font-family: var(--font); color: var(--edu-muted); font-size: 11px; letter-spacing: normal; padding-top: 3px; }
.edu-data-label::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.edu-lab > p { margin-top: 16px; color: var(--edu-muted); font-size: 14px; line-height: 1.85; }
.edu-subjects { display: flex; width: fit-content; gap: 5px; flex-wrap: wrap; margin-top: 24px; padding: 5px; background: #eaeae5; border-radius: 11px; }
.edu-subjects button { min-height: 40px; padding: 8px 17px; border-radius: 7px; font-size: 13px; background: transparent; transition: background .18s, color .18s, box-shadow .18s; }
.edu-subjects button[aria-pressed="true"] { color: #fff; background: var(--accent); box-shadow: 0 2px 5px #9a3c0d25; }
.edu-subjects button:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.edu-lab-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; padding-block: 22px 17px; }
.edu-lab-metrics > div { position: relative; display: grid; align-content: start; gap: 7px; padding: 19px 20px; border: 1px solid var(--edu-edge); border-radius: 11px; background: #fff; }
.edu-lab-metrics > div:first-child { border-top: 2px solid var(--accent); }
.edu-lab-metrics span { font-size: 12px; color: var(--ink-2); }
.edu-lab-metrics strong { font-family: var(--font); font-size: clamp(30px, 3.6vw, 43px); font-weight: 500; line-height: 1.2; font-variant-numeric: tabular-nums; letter-spacing: normal; }
.edu-lab-metrics p { font-size: 12px; line-height: 1.65; color: var(--edu-muted); }
.edu-lab > .edu-lab-insight { position: relative; margin: 0 0 20px; padding: 12px 0 12px 15px; border-left: 2px solid #df9c73; color: var(--ink-2); font-size: 13px; }
.edu-chart-grid { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); gap: 14px; }
.edu-chart-grid figure { min-width: 0; padding: 18px 17px 15px; border: 1px solid var(--edu-edge); border-radius: 11px; background: #fff; }
.edu-chart-grid figcaption { min-height: 44px; font-size: 12px; font-weight: 500; line-height: 1.7; }
.edu-chart-note { color: var(--edu-muted); font-size: 12px; line-height: 1.7; margin-top: 12px; }
.edu-chart-unit { color: var(--edu-muted); font-size: 11px; line-height: 1.6; margin-top: 4px; }
[data-edu-scatter] svg { width: 100%; height: auto; overflow: visible; }
.edu-scatter-grid { stroke: #e8e8e3; stroke-width: 1; }
.edu-scatter-label { fill: var(--edu-muted); font-family: var(--font); font-size: 13px; }
.edu-scatter-point { fill: var(--accent); stroke: #fff; stroke-width: 2; }
.edu-scatter-id { fill: #5c5c61; font-family: var(--font); font-size: 10px; }
.edu-groups { display: grid; gap: 18px; padding-top: 15px; }
.edu-group-row { display: grid; grid-template-columns: 20px minmax(0,1fr); column-gap: 9px; row-gap: 7px; align-items: center; }
.edu-group-index { grid-row: 1/3; display: grid; place-items: center; width: 19px; height: 25px; color: #92928a; font-family: var(--mono); font-size: 10px; font-style: normal; }
.edu-group-caption { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; color: var(--ink-2); font-size: 11px; }
.edu-group-caption strong { color: var(--ink); font-family: var(--mono); font-weight: 500; font-size: 12px; }
.edu-group-track { grid-column: 2; height: 13px; background: #f0f0eb; border-radius: 3px; overflow: hidden; }
.edu-group-bar { height: 100%; background: var(--accent); opacity: calc(.48 + var(--edu-group-order, 0) * .25); border-radius: inherit; transition: width .25s; }
.edu-student-details { margin-top: 24px; border-top: 1px solid var(--edu-edge); padding-top: 17px; }
.edu-student-details > summary { display: flex; justify-content: space-between; align-items: center; gap: 18px; min-height: 40px; list-style: none; color: var(--ink-2); font-size: 12px; line-height: 1.75; cursor: pointer; }
.edu-student-details > summary::-webkit-details-marker { display: none; }
.edu-student-details > summary::after { content: '+'; flex: 0 0 auto; font-size: 21px; font-weight: 400; color: var(--accent); }
.edu-student-details[open] > summary::after { content: '−'; }
.edu-student-details .edu-table-scroll { margin-top: 15px; }
.edu-student-details table { background: #fff; }
.edu-students { min-width: 540px; font-variant-numeric: tabular-nums; }
.edu-students th:not(:first-child), .edu-students td:not(:first-child) { text-align: right; }
.edu-students td { font-size: 12px; padding-block: 9px; }
.edu-students tbody tr:hover { background: #faf7f3; }
.edu-takeaway { display: grid; gap: 11px; padding: 24px 27px; border-left: 3px solid var(--accent); border-radius: 0 11px 11px 0; margin-top: 28px; background: #fcf4ee; }
.edu-takeaway p { font-size: 21px; line-height: 1.4; }
.edu-takeaway span { color: var(--edu-muted); font-size: 15px; line-height: 1.7; }
.edu-evidence-pillars { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; margin-top: 25px; }
.edu-evidence-pillars > div { padding: 25px; border: 1px solid var(--edu-edge); border-radius: 13px; background: #fff; }
.edu-evidence-index { font-family: var(--mono); color: var(--accent); font-size: 12px; }
.edu-evidence-pillars h4 { margin: 17px 0 10px; font-size: 23px; font-weight: 500; letter-spacing: normal; font-family: var(--font); }
.edu-evidence-pillars p { margin-bottom: 12px; color: #242429; font-size: 15px; line-height: 1.7; }
.edu-evidence-pillars > div > span:last-child { display: block; color: var(--edu-muted); font-size: 13px; line-height: 1.85; }
.edu-stability-lesson { margin-top: 32px; padding-top: 29px; border-top: 1px solid #d8d9d2; scroll-margin-top: 120px; }
.edu-stability-lesson h3 { margin: 12px 0; font-size: 24px; }
.edu-stability-lesson > p { margin-top: 14px; color: var(--ink-2); font-size: 15px; line-height: 1.7; }
.edu-stability-lesson > .edu-eyebrow { margin-top: 0; color: var(--accent); font-size: 10px; }
.edu-stability-lesson > .edu-chart-note, .edu-stability-lesson > .edu-note { font-size: 12px; color: var(--edu-muted); }
.edu-stability-table { min-width: 650px; background: #fff; font-variant-numeric: tabular-nums; }
.edu-page .edu-stability-table th, .edu-page .edu-stability-table td { padding: 14px 10px; text-align: center; vertical-align: middle; }
.edu-page .edu-stability-table th:first-child { text-align: left; }
.edu-stability-table thead tr:first-child th { font-size: 10px; background: #f0f0ea; }
.edu-stability-table thead tr:first-child th:nth-child(3) { background: #f9eadf; color: #99471b; }
.edu-stability-table td { font-family: var(--mono); font-size: 12px; }
.edu-stability-table .is-positive { color: #8d4a22; background: rgba(214,81,11,calc(.025 + var(--edu-ic-strength,0) * .15)); }
.edu-stability-table .is-negative { color: #4d6680; background: rgba(61,90,119,calc(.025 + var(--edu-ic-strength,0) * .15)); }
.edu-stability-table tbody tr { transition: background .2s; }
.edu-stability-table tbody tr.is-selected { background: #fcf0e7; box-shadow: inset 3px 0 var(--accent); }
.edu-stability-note { margin-top: 12px; color: var(--edu-muted); font-size: 12px; line-height: 1.7; }
.edu-stability-summary { background: #f6f6f1; }
.edu-stability-summary small { display: block; margin-top: 6px; color: var(--edu-muted); font-family: var(--font); font-size: 10px; line-height: 1.6; }
.edu-stability-verdicts { display: grid; gap: 15px; margin-top: 24px; }
.edu-stability-verdicts > div { padding-left: 14px; border-left: 2px solid #cecec5; }
.edu-stability-verdicts > div:first-child { border-color: var(--accent); }
.edu-stability-verdicts strong { display: block; font-size: 14px; font-weight: 500; }
.edu-stability-verdicts p { margin-top: 7px; color: var(--edu-muted); font-size: 13px; line-height: 1.8; }
.edu-factor-bridge { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin-top: 23px; }
.edu-factor-bridge > div { display: grid; align-content: start; gap: 10px; border-top: 2px solid #dfbca6; padding-top: 16px; }
.edu-factor-bridge span { color: var(--edu-muted); font-size: 11px; }
.edu-factor-bridge strong { font-weight: 500; font-size: 14px; line-height: 1.8; }
.edu-asset-example { margin-top: 27px; border: 1px solid var(--edu-edge); border-radius: 17px; padding: clamp(22px,3vw,34px); background: #fff; }
.edu-asset-example .edu-lab-heading h3 { margin: 10px 0 14px; }
.edu-asset-example > p, .edu-asset-reveal > p { margin-top: 15px; color: var(--ink-2); font-size: 15px; line-height: 1.7; }
.edu-asset-example > .edu-note { font-size: 12px; color: var(--edu-muted); }
.edu-asset-table { min-width: 410px; font-variant-numeric: tabular-nums; }
.edu-page .edu-asset-table td { padding-block: 11px; font-family: var(--mono); font-size: 12px; }
.edu-page .edu-asset-table th:not(:first-child), .edu-page .edu-asset-table td { text-align: right; }
.edu-asset-reveal { margin-top: 24px; border-top: 1px solid var(--edu-edge); padding-top: 18px; }
.edu-asset-reveal summary { display: flex; justify-content: space-between; gap: 18px; align-items: center; min-height: 48px; cursor: pointer; color: var(--accent); font-size: 15px; line-height: 1.7; list-style: none; }
.edu-asset-reveal summary::-webkit-details-marker { display: none; }
.edu-asset-reveal summary::after { content: '+'; flex: 0 0 auto; font-size: 24px; }
.edu-asset-reveal[open] summary::after { content: '−'; }
.edu-asset-groups { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; margin-top: 22px; }
.edu-asset-groups > div { display: grid; gap: 12px; padding: 17px 12px; background: #fcf2eb; border-radius: 8px; }
.edu-asset-groups > div:nth-child(2) { background: #f5f4ef; }
.edu-asset-groups > div:nth-child(3) { background: #edf0f2; }
.edu-asset-groups span { color: var(--edu-muted); font-size: 11px; line-height: 1.6; }
.edu-asset-groups strong { font-family: var(--mono); font-size: 20px; font-weight: 500; }
.edu-asset-reveal > .edu-chart-note { color: var(--edu-muted); font-size: 12px; }
@media(max-width: 620px) {
  .edu-evidence-pillars { grid-template-columns: 1fr; gap: 12px; }
  .edu-evidence-pillars > div { padding: 22px; }
  .edu-factor-bridge { grid-template-columns: 1fr; gap: 16px; }
  .edu-factor-bridge > div { gap: 6px; padding-top: 12px; }
  .edu-asset-example .edu-lab-heading { flex-wrap: wrap; }
  .edu-asset-groups { grid-template-columns: 1fr; }
  .edu-asset-groups > div { grid-template-columns: minmax(0,1fr) auto; align-items: center; }
}
.edu-steps { display: grid; gap: 0; margin-block: 26px; }
.edu-steps > li { display: grid; grid-template-columns: 39px minmax(0,1fr); gap: 19px; padding: 21px 0; border-bottom: 1px solid var(--edu-edge); }
.edu-steps > li > span { display: grid; place-items: center; width: 35px; height: 35px; color: var(--accent); background: var(--accent-soft); border-radius: 9px; font-family: var(--mono); font-size: 12px; }
.edu-steps h3 { margin: 0 0 6px; font-size: 19px; }
.edu-steps p { color: var(--ink-2); font-size: 16px; line-height: 1.7; }
.edu-steps a { display: inline-block; color: var(--accent); margin-top: 8px; font-size: 13px; }
.edu-product-example { margin: 34px 0; padding: clamp(20px,3vw,30px); border: 1px solid var(--edu-edge); border-radius: 18px; background: #fafaf8; scroll-margin-top: 120px; }
.edu-product-example-heading h3 { margin: 12px 0; font-size: clamp(24px,3vw,30px); }
.edu-product-example-heading > p:last-child { color: var(--ink-2); font-size: 16px; line-height: 1.7; }
.edu-product-image-link { display: block; margin-top: 25px; border: 1px solid #e4e3df; border-radius: 10px; overflow: hidden; background: #fff; cursor: zoom-in; }
.edu-product-image-link img { display: block; width: 100%; height: auto; }
.edu-product-example figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; margin-top: 13px; color: var(--edu-muted); font-size: 12px; line-height: 1.7; }
.edu-product-example figcaption a { color: var(--accent); }
.edu-product-reading-guide { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; margin-top: 25px; padding-top: 23px; border-top: 1px solid var(--edu-edge); }
.edu-product-reading-guide > div { display: grid; align-content: start; gap: 8px; }
.edu-product-reading-guide span { color: var(--accent); font-family: var(--mono); font-size: 11px; }
.edu-product-reading-guide strong { font-size: 15px; font-weight: 500; }
.edu-product-reading-guide p { color: var(--edu-muted); font-size: 13px; line-height: 1.8; }
.edu-product-example > .edu-note { margin-top: 22px; font-size: 12px; line-height: 1.85; }
@media(max-width: 620px) {
  .edu-product-reading-guide { grid-template-columns: 1fr; gap: 19px; }
  .edu-product-reading-guide > div { grid-template-columns: 24px minmax(0,1fr); column-gap: 10px; }
  .edu-product-reading-guide span { grid-row: 1/3; padding-top: 3px; }
  .edu-product-reading-guide p { grid-column: 2; }
}
.edu-page .edu-prompt { display: block; background: #222226; border: 0; border-radius: 13px; padding: 27px; font-family: var(--font); letter-spacing: normal; }
.edu-prompt > p { color: #dedee2; font-family: var(--font); font-size: 15px; line-height: 1.7; white-space: normal; }
.edu-page .edu-prompt > button { margin-top: 22px; padding-inline: 12px; justify-content: center; background: #fff; box-shadow: none; color: #232328; font-size: 13px; }
.edu-sources { padding-block: 30px 10px; border-top: 1px solid var(--edu-edge); scroll-margin-top: 120px; }
.edu-sources h2 { font-size: 30px; line-height: 1.4; letter-spacing: -.01em; font-weight: 400; }
.edu-sources > p { color: var(--edu-muted); font-size: 14px; line-height: 1.7; margin-block: 15px 20px; }
.edu-sources ol { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 25px; list-style: decimal-leading-zero; padding-left: 25px; }
.edu-sources li { color: #96968e; padding-left: 3px; font-family: var(--font); font-size: 13px; }
.edu-sources a { color: var(--ink-2); font-family: var(--font); font-size: 13px; text-decoration: underline; text-decoration-color: #d2d2cb; letter-spacing: normal; }
html[lang^="zh"] .edu-hero h1 { line-height: 1.3; letter-spacing: normal; }
html[lang^="zh"] .edu-lesson h2 { line-height: 1.3; letter-spacing: normal; }
html[lang^="zh"] .edu-lesson > p:not(.edu-citation):not(.edu-note):not(.edu-eyebrow):not(.edu-deck) { font-size: 17px; line-height: 1.8; }
html[lang^="zh"] .edu-lesson > .edu-deck { font-size: 19px; line-height: 1.7; }
@media (max-width: 1100px) {
  .edu-hero-main { gap: 36px; }
  .edu-layout { grid-template-columns: 170px minmax(0,1fr); gap: 34px; }
  .edu-chart-grid { grid-template-columns: 1fr; }
  .edu-chart-grid figcaption { min-height: auto; margin-bottom: 12px; }
  .edu-chart-grid figure { padding: 22px; }
  .edu-groups { grid-template-columns: 1fr; gap: 20px; padding-block: 10px; }
  .edu-formula-workbook { grid-template-columns: 1fr; }
  .edu-formula-key { grid-template-columns: 1fr 1fr; }
  .edu-price-example { border-left: 0; border-top: 1px solid var(--edu-edge); }
}
@media (max-width: 820px) {
  .edu-hero { padding-top: 134px; padding-bottom: 45px; }
  .edu-hero-main { grid-template-columns: minmax(0,1fr); gap: 34px; }
  .edu-hero-copy { max-width: 580px; }
  .edu-hero h1 { font-size: clamp(47px,8.5vw,65px); }
  .edu-intro { max-width: 30em; font-size: 18px; }
  .edu-hero-visual { width: min(470px, 100%); justify-self: center; padding: 15px 16px 25px; }
  .edu-layout { grid-template-columns: minmax(0,1fr); gap: 32px; }
  .edu-toc { position: static; display: flex; flex-wrap: wrap; gap: 0 22px; border-left: 0; border-block: 1px solid var(--edu-edge); padding: 14px 0; }
  .edu-toc > .edu-eyebrow { flex: 0 0 100%; margin-bottom: 6px; }
  .edu-toc > a { padding-block: 8px; gap: 9px; }
  .edu-toc > a > span:last-child { max-width: none; }
  .edu-toc > .edu-toc-source { border: 0; margin: 0; padding: 8px 0; }
  .edu-lesson h2 { font-size: 40px; }
  .edu-buffett { grid-template-columns: 90px minmax(0,1fr); gap: 20px; padding: 25px; }
  .edu-buffett-portrait { width: 90px; height: 140px; }
}
@media (max-width: 600px) {
  .edu-hero { padding-top: 125px; }
  .edu-hero h1 { font-size: clamp(41px,11vw,47px); }
  html[lang^="zh"] .edu-hero h1 { font-size: clamp(41px,11vw,47px); }
  .edu-intro { font-size: 16px; }
  .edu-hero-visual { max-width: 400px; }
  .edu-chapter-line { flex-wrap: wrap; gap: 7px 16px; margin-top: 26px; padding-top: 22px; }
  .edu-chapter-line p { flex: 0 0 100%; font-size: 15px; }
  .edu-lesson-cards { grid-template-columns: minmax(0,1fr); gap: 12px; margin-top: 20px; }
  .edu-page .edu-lesson-card { grid-template-columns: 40px minmax(0,1fr) 18px; gap: 15px; padding: 20px; }
  .edu-card-index { width: 38px; height: 42px; font-size: 15px; }
  .edu-lesson-card h2 { font-size: 16px; }
  .edu-lesson-card p { font-size: 11px; }
  .edu-lesson-heading { padding-bottom: 19px; margin-bottom: 21px; }
  .edu-lesson h2, html[lang^="zh"] .edu-lesson h2 { font-size: 36px; }
  .edu-lesson h3 { font-size: 22px; }
  .edu-lesson > p:not(.edu-citation):not(.edu-note):not(.edu-eyebrow):not(.edu-deck), html[lang^="zh"] .edu-lesson > p:not(.edu-citation):not(.edu-note):not(.edu-eyebrow):not(.edu-deck) { font-size: 16px; line-height: 1.75; }
  .edu-lesson > .edu-deck, html[lang^="zh"] .edu-lesson > .edu-deck { font-size: 18px; }
  .edu-timeline > div { padding-inline: 12px; }
  .edu-timeline p { font-size: 12px; }
  .edu-timeline span { font-size: 10px; }
  .edu-formula { padding: 23px 20px; }
  .edu-equation { gap: 12px; font-size: clamp(16px, 4.6vw, 23px); }
  .edu-formula-key { padding: 20px; gap: 13px; }
  .edu-formula-key > div { flex-direction: column; gap: 3px; font-size: 12px; }
  .edu-price-example { padding: 20px 12px; }
  .edu-price-example p { font-size: 11px; }
  .edu-buffett { display: block; padding: 24px; }
  .edu-buffett-portrait { float: right; width: 76px; height: 94px; margin: 0 -4px 8px 13px; }
  .edu-buffett-copy > .edu-eyebrow { padding-top: 9px; min-height: 35px; }
  .edu-buffett-copy > p:not(.edu-eyebrow) { font-size: 14px; }
  .edu-inline-formula { padding: 18px; gap: 10px; }
  .edu-inline-formula code { font-size: 12px; }
  .edu-lab { margin-inline: -6px; padding: 23px 15px; border-radius: 14px; }
  .edu-lab-heading { flex-wrap: wrap; gap: 8px; }
  .edu-lab .edu-lab-heading h3 { font-size: 22px; }
  .edu-lab-heading .edu-data-label { margin-bottom: 2px; }
  .edu-lab > p { font-size: 13px; }
  .edu-subjects { gap: 2px; padding: 4px; }
  .edu-subjects button { min-height: 44px; padding-inline: 14px; font-size: 12px; }
  .edu-lab-metrics { gap: 9px; }
  .edu-lab-metrics > div { padding: 16px 12px; }
  .edu-lab-metrics span { font-size: 11px; }
  .edu-lab-metrics strong { font-size: 31px; }
  .edu-lab-metrics p { font-size: 10px; }
  .edu-chart-grid figure { padding: 17px 13px; }
  .edu-scatter-label { font-size: 15px; }
  .edu-scatter-id { display: none; }
  .edu-groups { gap: 17px; }
  .edu-group-caption { font-size: 12px; }
  .edu-group-caption strong { font-size: 13px; }
  .edu-student-details > summary { min-height: 44px; }
  .edu-takeaway { padding: 20px; }
  .edu-takeaway p { font-size: 18px; }
  .edu-steps > li { gap: 13px; }
  .edu-steps h3 { font-size: 18px; }
  .edu-page .edu-prompt { padding: 22px; }
  .edu-prompt > p { font-size: 14px; line-height: 1.75; }
  .edu-sources ol { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .edu-group-bar, .edu-subjects button, .edu-lesson-card { transition: none; } }

/* Story illustrations give each experiment a setting; controls remain real HTML. */
.edu-story-art { position: relative; overflow: hidden; margin: 0; border-radius: 24px; background: #f8f7f3; transform: rotate(-1.3deg); box-shadow: 0 30px 70px -55px #33282080; }
.edu-hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 24px; margin-top: 28px; }
.edu-hero-actions .edu-start { margin-top: 0; }
.edu-play-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--accent); font-size: 14px; text-decoration: underline; text-decoration-color: #dbb49a; }
.edu-alpha-lab, .edu-challenge, .edu-classroom-scene { scroll-margin-top: 120px; }
.edu-story-art img { display: block; width: 100%; aspect-ratio: 1.25; height: auto; object-fit: cover; }
.edu-story-art figcaption { position: absolute; right: 17px; bottom: 13px; padding: 5px 9px; border-radius: 6px; background: #ffffffd9; color: var(--edu-muted); font-size: 10px; line-height: 1.5; }
.edu-art-note { position: absolute; left: -11px; bottom: 8px; display: flex; align-items: center; gap: 13px; padding: 16px 23px; border: 1px solid var(--edu-edge); border-radius: 13px; background: #fff; box-shadow: 0 14px 30px -23px #35241670; transform: rotate(2deg); }
.edu-art-note > span { color: var(--accent); font-family: var(--mono); font-size: 29px; }
.edu-art-note p { display: grid; gap: 2px; font-size: 13px; line-height: 1.6; }
.edu-art-note p > span:last-child { color: var(--edu-muted); }
.edu-classroom-scene { position: relative; margin-top: 33px; overflow: hidden; border-radius: 18px 18px 0 0; background: #f7f6f1; border: 1px solid var(--edu-edge); border-bottom: 0; }
.edu-classroom-scene img { display: block; width: 100%; height: auto; aspect-ratio: 1.92; object-fit: cover; }
.edu-classroom-scene figcaption { position: absolute; right: 15px; bottom: 12px; padding: 4px 8px; background: #ffffffd9; border-radius: 5px; color: var(--edu-muted); font-size: 10px; }
.edu-reading-progress { position: fixed; z-index: 65; inset: 0 0 auto; height: 3px; pointer-events: none; }
.edu-reading-progress i { display: block; width: 100%; height: 100%; transform: scaleX(0); transform-origin: left; background: var(--accent); }
.edu-toc > a.is-current { color: var(--ink); font-weight: 600; }
.edu-toc > a.is-current > span:first-child { color: #a13b07; }
.edu-scatter-point[role="button"] { cursor: pointer; transition: r .15s, stroke-width .15s; }
.edu-scatter-point[role="button"]:hover, .edu-scatter-point[aria-pressed="true"] { r: 7; stroke: var(--ink); stroke-width: 2; }
.edu-scatter-point[role="button"]:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.edu-students tr.is-selected { background: #fff0e5; }
.edu-students tbody th, .edu-students tbody td { padding-block: 12px; }
.edu-students tr[tabindex] { cursor: pointer; }
.edu-students tr[tabindex]:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.edu-student-detail { margin-top: 15px; border: 1px solid #e6d2c3; border-radius: 10px; background: #fffaf6; padding: 17px 19px; }
.edu-student-detail p { color: var(--edu-muted); font-size: 12px; line-height: 1.75; }
.edu-student-detail h4 { font-size: 14px; line-height: 1.6; }
.edu-student-detail dl { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; margin-top: 13px; }
.edu-student-detail dt { color: var(--edu-muted); font-size: 11px; }
.edu-student-detail dd { color: var(--ink); font-size: 18px; font-variant-numeric: tabular-nums; }
@media (max-width: 820px) {
  .edu-story-art img { aspect-ratio: 1.4; }
  .edu-art-note { left: 0; bottom: 6px; padding: 12px 18px; }
}
@media (max-width: 600px) {
  .edu-story-art { border-radius: 17px; }
  .edu-art-note { padding: 10px 16px; gap: 10px; }
  .edu-art-note p { font-size: 11px; }
  .edu-classroom-scene img { aspect-ratio: 1.5; }
  .edu-classroom-scene figcaption, .edu-story-art figcaption { font-size: 8px; }
  .edu-student-detail { padding: 15px; }
  .edu-student-detail dd { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { .edu-scatter-point[role="button"] { transition: none; } }

/* A live worked example of Alpha #101. Native sliders provide keyboard controls. */
.edu-alpha-lab { margin-block: 32px; padding: clamp(20px,3vw,32px); background: #fff; border: 1px solid var(--line-2); border-radius: 20px; }
.edu-alpha-heading { display: flex; align-items: start; justify-content: space-between; gap: 20px; }
.edu-alpha-lab .edu-alpha-heading h3 { margin: 8px 0 0; font-size: clamp(22px,2.5vw,28px); line-height: 1.45; }
.edu-alpha-reset { flex: 0 0 auto; min-height: 44px; padding: 10px 0 10px 12px; font-size: 14px; color: var(--accent); text-decoration: underline; text-underline-offset: 4px; background: transparent; }
.edu-alpha-intro { margin-top: 15px; font-size: 16px; line-height: 1.8; color: var(--ink-2); }
.edu-alpha-presets { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 23px; }
.edu-alpha-presets button { min-height: 44px; padding: 10px 18px; border: 1px solid var(--line-2); border-radius: 8px; font-size: 15px; line-height: 1.4; background: #fff; color: var(--ink); }
.edu-alpha-presets button[aria-pressed="true"] { background: var(--accent); color: #fff; border-color: var(--accent); }
.edu-alpha-lab button:focus-visible, .edu-alpha-lab input:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.edu-alpha-workbench { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.1fr); gap: clamp(24px,4vw,45px); margin-top: 28px; align-items: start; }
.edu-alpha-candle { min-width: 0; margin: 0; }
.edu-alpha-candle svg { display: block; width: 100%; height: auto; }
.edu-alpha-grid { stroke: var(--line-2); stroke-width: 1; stroke-dasharray: 3 5; }
.edu-alpha-tick { fill: var(--ink-2); font: 14px var(--mono); }
.edu-alpha-wick, .edu-alpha-open-tick, .edu-alpha-close-tick { stroke: var(--ink); stroke-width: 2; }
.edu-alpha-body { fill: var(--accent); stroke: var(--accent); stroke-width: 2; }
[data-alpha-direction="negative"] .edu-alpha-body { fill: var(--ink); stroke: var(--ink); }
[data-alpha-direction="zero"] .edu-alpha-body { fill: #fff; stroke: var(--ink); }
.edu-alpha-candle figcaption { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; border-top: 1px solid var(--line-2); padding-top: 16px; font-size: 14px; line-height: 1.65; }
.edu-alpha-candle figcaption span { color: var(--ink-2); }
.edu-alpha-candle figcaption strong { font: 500 15px/1.65 var(--mono); font-variant-numeric: tabular-nums; }
.edu-alpha-controls { min-width: 0; padding-top: 3px; }
.edu-alpha-slider { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 8px 12px; margin-bottom: 20px; font-size: 16px; line-height: 1.5; }
.edu-alpha-slider output { font-family: var(--mono); font-size: 17px; font-variant-numeric: tabular-nums; }
.edu-alpha-slider input { grid-column: 1/-1; display: block; width: 100%; min-width: 0; height: 44px; margin: 0; padding: 0; accent-color: var(--accent); cursor: ew-resize; background: transparent; }
.edu-alpha-hint { margin: 0; font-size: 14px; line-height: 1.75; color: var(--ink-2); }
.edu-alpha-result { display: grid; gap: 7px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line-2); }
.edu-alpha-result > span { font-size: 14px; color: var(--ink-2); }
.edu-alpha-result > output { font: 500 clamp(36px,4vw,48px)/1.2 var(--mono); letter-spacing: -.04em; font-variant-numeric: tabular-nums; color: var(--accent); }
[data-alpha-direction="negative"] .edu-alpha-result > output, [data-alpha-direction="zero"] .edu-alpha-result > output { color: var(--ink); }
.edu-alpha-result p { margin: 0; font-size: 15px; line-height: 1.75; color: var(--ink-2); }
.edu-alpha-substitution { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line-2); }
.edu-alpha-substitution > p { font-size: 14px; line-height: 1.65; color: var(--ink-2); }
.edu-alpha-calculation { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 14px; font: 16px/1.7 var(--mono); font-variant-numeric: tabular-nums; }
.edu-alpha-calculation > span { white-space: nowrap; }
.edu-alpha-calculation b { font-weight: 500; }
.edu-alpha-fraction { display: inline-grid; text-align: center; }
.edu-alpha-fraction > span { padding: 5px 3px; }
.edu-alpha-fraction > span + span { border-top: 1px solid currentColor; }
.edu-alpha-lab noscript p { margin-top: 18px; font-size: 15px; line-height: 1.75; }
@media (max-width: 760px) {
  .edu-alpha-workbench { grid-template-columns: minmax(0,1fr); gap: 24px; }
  .edu-alpha-candle { width: min(100%,360px); margin-inline: auto; }
  .edu-alpha-heading { flex-wrap: wrap; gap: 3px 16px; }
  .edu-alpha-reset { padding-left: 0; }
}
@media (max-width: 400px) {
  .edu-alpha-lab { padding: 18px 14px; }
  .edu-alpha-calculation { font-size: 14px; gap: 8px; }
  .edu-alpha-presets { gap: 6px; }
  .edu-alpha-presets button { padding-inline: 13px; }
}
@media (prefers-reduced-motion: reduce) { .edu-alpha-lab *, .edu-alpha-lab *::before, .edu-alpha-lab *::after { animation: none !important; transition: none !important; } }

.edu-challenge { padding: clamp(22px, 4vw, 36px); margin-top: 32px; border: 1px solid var(--line-2); border-radius: 24px; background: #fff; }
.edu-challenge-heading h3 { margin: 10px 0 12px; font-size: clamp(25px, 3.6vw, 34px); }
.edu-challenge-heading > p:last-child, .edu-challenge-choice, .edu-challenge-note { color: var(--ink-2); font-size: 15px; line-height: 1.75; }
.edu-challenge-candidates { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
.edu-challenge-candidate { display: grid; justify-items: center; gap: 12px; min-width: 0; padding: 18px 12px; border: 1px solid var(--line-2); border-radius: 16px; background: var(--edu-paper, #f7f7f5); text-align: center; }
.edu-challenge-candidate[aria-pressed=true] { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent); background: #fff; }
.edu-challenge-candidate:focus-visible, .edu-scatter-point:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.edu-challenge-avatar { display: block; width: 76px; height: 76px; border-radius: 50%; background: #ebe6db; background-size: 300% 200%; background-position: var(--avatar-x) var(--avatar-y); }
.edu-challenge-student { font-family: var(--mono); font-size: 17px; }
.edu-challenge-data { display: grid; width: 100%; gap: 7px; }
.edu-challenge-data > div { display: flex; justify-content: space-between; gap: 6px; font-size: 12px; line-height: 1.5; text-align: left; }
.edu-challenge-data dt { color: var(--edu-muted); }
.edu-challenge-data dd { font-family: var(--mono); white-space: nowrap; }
.edu-challenge-salary { display: grid; gap: 5px; width: 100%; border-top: 1px solid var(--line-2); padding-top: 11px; font-size: 11px; line-height: 1.5; color: var(--edu-muted); }
.edu-challenge-salary strong { font-family: var(--mono); font-size: 21px; color: var(--ink); }
.edu-challenge-choice { min-height: 2em; margin-top: 22px; }
.edu-challenge-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.edu-challenge-actions .btn { min-height: 44px; padding-inline: 15px; justify-content: center; }
.edu-challenge-actions button:disabled { opacity: .55; cursor: default; }
.edu-challenge-result { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line-2); }
.edu-challenge-result > p { font-size: 15px; line-height: 1.75; }
.edu-challenge-ranking { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; list-style: none; margin-block: 17px; }
.edu-challenge-ranking li { display: flex; justify-content: space-between; gap: 10px; padding: 10px; border-radius: 8px; font-family: var(--mono); font-size: 13px; background: var(--edu-paper, #f7f7f5); }
.edu-challenge-ranking li.is-selected { outline: 1px solid var(--accent); }
.edu-challenge-result-label, .edu-challenge-note { margin-top: 18px; font-size: 12px; }
.edu-scatter-point { cursor: pointer; }
.edu-scatter-point.is-selected { fill: var(--ink); stroke: var(--accent); stroke-width: 3; }
.edu-students tr { cursor: pointer; }
.edu-students tr.is-selected { background: #eae4d6; }
.edu-student-detail { margin-top: 16px; padding: 16px; border-radius: 12px; background: #fff; }
.edu-student-detail-title { font-size: 14px; font-weight: 600; }
.edu-student-detail-hint { margin-top: 6px; color: var(--edu-muted); font-size: 12px; line-height: 1.6; }
.edu-student-detail-values { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.edu-student-detail-values dt { font-size: 11px; color: var(--edu-muted); line-height: 1.5; }
.edu-student-detail-values dd { margin-top: 4px; font-family: var(--mono); font-size: 17px; }
@media (max-width: 600px) {
  .edu-challenge-candidates { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .edu-challenge-candidate { padding: 15px 10px; }
  .edu-challenge-avatar { width: 66px; height: 66px; }
  .edu-challenge-ranking { grid-template-columns: 1fr 1fr; }
}

/* The challenge image and cards form one classroom exercise. */
.edu-classroom-scene + .edu-challenge { margin-top: 0; border-radius: 0 0 18px 18px; }
.edu-challenge-avatar { background-image: url('/images/education/six-student-portraits.png'); background-color: #fff; }
.edu-challenge-actions [data-challenge-reveal] { background: var(--accent); color: #fff; }
.edu-challenge-candidate { transition: border-color .18s, background .18s, transform .18s; }
.edu-challenge-candidate:hover { transform: translateY(-2px); border-color: #d1b49f; }
.edu-scatter-point[role=button]:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.edu-student-detail { border: 1px solid #ead4c3; background: #fffaf6; }
.edu-students tr.is-selected { background: #fff0e5; }
@media (prefers-reduced-motion: reduce) { .edu-challenge-candidate { transition: none; } }

/* Chapter 02: one fixed signal, interactive selection rules. */
.edu-chapter-line--next { margin-top: 30px; padding-top: 24px; }
.edu-toc-chapter { margin: 20px 0 5px; color: var(--edu-muted); font-family: var(--font); font-size: 11px; letter-spacing: .06em; font-weight: 500; }
.edu-strategy-theory { scroll-margin-top: 125px; }
.edu-strategy-theory > h3, .edu-strategy-demo-intro > h3 { margin-top: 12px; }
.edu-strategy-theory > p:not(.edu-eyebrow):not(.edu-citation):not(.edu-chart-note), .edu-strategy-demo-intro > p:not(.edu-eyebrow):not(.edu-note) { color: var(--ink-2); font-size: 16px; line-height: 1.7; }
.edu-strategy-theory > .edu-chart-note { margin-top: 14px; color: var(--edu-muted); font-size: 12px; }
.edu-strategy-theory > .edu-citation { margin-top: 17px; font-size: 13px; }
.edu-strategy-directions { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; margin-top: 26px; }
.edu-strategy-directions article { padding: 23px 20px; border: 1px solid var(--edu-edge); border-radius: 13px; background: #fff; }
.edu-strategy-directions h4 { margin-top: 14px; font-size: 20px; font-weight: 500; line-height: 1.4; font-family: var(--font); letter-spacing: normal; }
.edu-strategy-directions p { color: var(--edu-muted); font-size: 14px; line-height: 1.7; }
.edu-direction-strip { display: grid; grid-template-columns: repeat(8,minmax(0,1fr)); gap: 4px; margin: 22px 0; height: 27px; }
.edu-direction-strip i { background: #eaeae5; border-radius: 3px; }
.edu-direction-strip .is-long { background: #d86628; }
.edu-direction-strip .is-short { background: #658daa; }
.edu-strategy-demo-intro { margin-top: 44px; }
.edu-strategy-demo-intro > .edu-note { margin-top: 15px; color: var(--edu-muted); font-size: 12px; }
/* A small playground: three controls, one board, one line of feedback. */
/* A small playground: three controls, one board, one line of feedback. */
.edu-strategy-demo { margin-top: 22px; padding: clamp(18px,3vw,28px); border: 1px solid #e8dacb; border-radius: 24px; background: #faf5ed; scroll-margin-top: 120px; }
.edu-play-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.edu-play-heading p { color: #9a7555; font-size: 12px; line-height: 1.7; }
.edu-play-heading h3 { font-size: clamp(24px,3vw,32px); line-height: 1.4; margin-top: 5px; font-weight: 500; letter-spacing: -.045em; }
.edu-play-reset { flex-shrink: 0; padding: 8px 0 8px 8px; color: #8c7b6c; font-size: 12px; text-decoration: underline; text-underline-offset: 4px; }
.edu-strategy-workspace { display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,1.2fr); align-items: center; gap: 28px; }
.edu-strategy-form, .edu-play-controls { min-width: 0; }
.edu-strategy-field { border: 0; padding: 0; margin: 0 0 19px; min-width: 0; }
.edu-strategy-field:last-child { margin-bottom: 0; }
.edu-strategy-field legend { display: flex; align-items: center; gap: 9px; margin-bottom: 9px; padding: 0; font-size: 13px; color: #4f443a; }
.edu-strategy-field legend b { color: #bd9778; font-family: var(--mono); font-size: 10px; font-weight: 400; }
.edu-strategy-options { display: flex; align-items: stretch; gap: 6px; }
.edu-strategy-options > button { flex: 1 1 0; min-width: 0; min-height: 40px; padding: 8px 5px; border: 1px solid #e4dbcf; border-radius: 12px; background: #fffdf9; color: #756b62; font-size: 13px; line-height: 1.55; transition: background .2s, border-color .2s, transform .2s; font-family: var(--font); letter-spacing: normal; }
.edu-strategy-options > button:hover { border-color: #d99870; transform: translateY(-1px); }
.edu-strategy-options > button[aria-pressed=true] { border-color: #d9763d; color: #ad490e; background: #ffead9; box-shadow: inset 0 0 0 1px #e8a87e; }
.edu-play-direction > button::before { display: block; font-family: var(--mono); font-size: 20px; line-height: 1.2; margin-bottom: 5px; }
.edu-play-direction > [data-strategy-direction=long_only]::before { content: '↗'; }
.edu-play-direction > [data-strategy-direction=short_only]::before { content: '↘'; }
.edu-play-direction > [data-strategy-direction=long_short_neutral]::before { content: '↗ ↘'; }
.edu-play-ranking > button { min-height: 33px; font-size: 12px; padding-block: 6px; }
.edu-strategy-amount { display: grid; grid-template-columns: minmax(0,1fr) 69px; gap: 12px; align-items: center; margin-top: 11px; }
.edu-strategy-amount input[type=range] { min-width: 0; width: 100%; accent-color: var(--accent); cursor: pointer; }
.edu-strategy-amount > label { position: relative; display: flex; align-items: center; justify-content: center; }
.edu-strategy-amount input[type=number] { min-width: 0; width: 69px; padding: 8px 19px 8px 7px; border-radius: 10px; border: 1px solid #e0d2c4; background: #fff; font-family: var(--mono); text-align: center; font-size: 14px; appearance: textfield; -moz-appearance: textfield; }
.edu-strategy-amount input::-webkit-inner-spin-button, .edu-strategy-amount input::-webkit-outer-spin-button { appearance: none; margin: 0; }
.edu-play-unit { position: absolute; right: 9px; color: #a87e59; font-size: 11px; pointer-events: none; }
.edu-play-board { padding: 18px; min-width: 0; border: 1px solid #eee3d6; border-radius: 19px; background: radial-gradient(circle,#decfbc 1px,transparent 1px) 0 0 / 12px 12px, #fffdf9; }
.edu-play-board-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; color: #8e7a67; font-size: 12px; margin-bottom: 15px; }
.edu-play-pool { flex-shrink: 0; padding: 5px 9px; border-radius: 20px; background: #f0e8dc; color: #82644b; font-family: var(--mono); }
.edu-strategy-assets { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 10px 7px; }
.edu-strategy-asset { position: relative; display: grid; justify-items: center; gap: 4px; min-width: 0; min-height: 52px; padding: 0; border: 0; background: none; color: #80796f; transition: transform .25s, opacity .25s; }
.edu-strategy-asset-id { display: grid; place-items: center; width: 42px; max-width: 100%; aspect-ratio: 1; border: 1px solid #e2d8cb; border-bottom-width: 3px; border-radius: 50%; background: #f1ece4; font-family: var(--font); font-size: 11px; font-weight: 500; transition: background .25s, box-shadow .25s, border-color .25s; letter-spacing: normal; }
.edu-strategy-asset-score { font-family: var(--mono); font-size: 10px; font-variant-numeric: tabular-nums; }
.edu-strategy-asset[data-strategy-status=long] { color: #a94911; transform: translateY(-3px); animation: edu-token-pop .3s ease-out; }
.edu-strategy-asset[data-strategy-status=long] .edu-strategy-asset-id { background: #ffd2a6; border-color: #e6a36c; box-shadow: 0 4px 8px #d9763d16; }
.edu-strategy-asset[data-strategy-status=short] { color: #3f6d88; transform: translateY(-3px); animation: edu-token-pop .3s ease-out; }
.edu-strategy-asset[data-strategy-status=short] .edu-strategy-asset-id { background: #cce5ee; border-color: #8bb7c8; box-shadow: 0 4px 8px #427c9816; }
.edu-strategy-asset::after { position: absolute; top: -4px; right: -1px; display: grid; place-items: center; width: 13px; height: 13px; border-radius: 50%; font-family: var(--mono); font-size: 10px; font-weight: 600; }
.edu-strategy-asset[data-strategy-status=long]::after { content: '+'; background: #dd7338; color: #fff; }
.edu-strategy-asset[data-strategy-status=short]::after { content: '−'; background: #5389a2; color: #fff; }
.edu-strategy-asset[data-strategy-status=excluded] { opacity: .4; }
.edu-strategy-asset[data-strategy-status=excluded] .edu-strategy-asset-id { border-style: dashed; background: transparent; }
.edu-strategy-asset[data-strategy-status=excluded]::after { content: '×'; background: #ded8ce; color: #726e66; }
.edu-strategy-asset:hover { opacity: 1; transform: translateY(-5px); }
.edu-strategy-asset[aria-pressed=true] .edu-strategy-asset-id { outline: 2px solid #826446; outline-offset: 2px; }
.edu-play-legend { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 17px; color: #9b8c7d; font-size: 11px; }
.edu-play-legend > span { display: inline-flex; align-items: center; gap: 3px; }
.edu-play-legend i { font-style: normal; font-family: var(--mono); }
.edu-play-legend b { font-family: var(--mono); font-weight: 500; }
.edu-play-long { color: #b95b23; }
.edu-play-short { color: #47788f; }
.edu-play-equal { margin-top: 8px; color: #a4917d; font-size: 12px; text-align: center; }
.edu-strategy-coach { min-height: 25px; margin-top: 17px; text-align: center; color: #a15f30; font-size: 13px; line-height: 1.7; }
.edu-strategy-coach-math { display: none; }
.edu-strategy-demo[data-help=liquidity] [data-strategy-coach-body] { display: none; }
.edu-strategy-demo[data-help=liquidity] .edu-strategy-coach-math { display: block; font-size: 11px; font-variant-numeric: tabular-nums; }
.edu-play-more { margin-top: 12px; padding-top: 12px; border-top: 1px solid #e9ddce; }
.edu-play-more > summary { width: fit-content; color: #a19080; font-size: 12px; cursor: pointer; }
.edu-play-more[open] > summary { margin-bottom: 20px; }
.edu-play-more > .edu-strategy-field { margin-top: 16px; }
.edu-play-more .edu-strategy-field > span { display: block; font-size: 12px; margin-bottom: 8px; }
.edu-strategy-field input[type=text] { min-width: 0; width: 100%; padding: 10px 12px; background: #fff; border: 1px solid #ded5c9; border-radius: 10px; font-size: 12px; }
.edu-strategy-factor { display: grid; grid-template-columns: minmax(0,1fr) 66px; align-items: center; gap: 12px; padding: 12px; background: #fff; border-radius: 12px; }
.edu-strategy-factor > button { min-width: 0; background: transparent; text-align: left; }
.edu-strategy-factor code { font-size: 10px; overflow-wrap: anywhere; }
.edu-strategy-factor label { color: var(--edu-muted); font-size: 12px; text-align: center; }
.edu-strategy-factor input { text-align: center; margin-top: 5px; }
.edu-strategy-actions { margin-top: 16px; }
.edu-strategy-actions .btn { height: auto; padding: 9px 16px; font-size: 12px; line-height: 1.7; }
.edu-strategy-actions button:disabled { opacity: .4; }
.edu-strategy-preview-result { margin-top: 15px; padding: 15px; background: #fff8ef; border: 1px solid #e5d0b9; border-radius: 12px; }
.edu-strategy-preview-result h4 { font-size: 15px; }
.edu-strategy-preview-result p, .edu-strategy-note { margin-top: 12px; color: var(--edu-muted); font-size: 11px; line-height: 1.9; overflow-wrap: anywhere; }
.edu-strategy-error { margin-top: 12px; padding: 11px 14px; background: #ffe8dc; border-radius: 10px; color: #a14825; font-size: 11px; line-height: 1.8; }
.edu-strategy-demo button:focus-visible, .edu-strategy-demo input:focus-visible, .edu-strategy-demo summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.edu-play-sr, .edu-strategy-asset-status, .edu-strategy-asset-weight, .edu-strategy-asset-liquidity { position: absolute !important; width: 1px !important; height: 1px !important; margin: -1px !important; padding: 0 !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; clip-path: inset(50%) !important; white-space: nowrap !important; border: 0 !important; }
.edu-strategy-demo [hidden] { display: none !important; }
@keyframes edu-token-pop { from { transform: translateY(1px) scale(.94); } to { transform: translateY(-3px) scale(1); } }
@media (max-width: 700px) {
  .edu-strategy-workspace { grid-template-columns: 1fr; gap: 20px; }
  .edu-strategy-field { margin-bottom: 14px; }
  .edu-play-direction > button::before { display: inline; font-size: 15px; margin: 0 5px 0 0; }
  .edu-play-heading { margin-bottom: 20px; }
  .edu-play-board { padding: 15px 12px; }
  .edu-strategy-assets { gap: 10px 7px; }
  .edu-strategy-asset-id { width: 38px; font-size: 8px; }
  .edu-strategy-coach { font-size: 11px; margin-top: 12px; }
}
@media (max-width: 620px) {
  .edu-strategy-directions { grid-template-columns: 1fr; }
  .edu-strategy-directions article { padding: 22px; }
  .edu-direction-strip { max-width: 240px; margin-block: 17px; }
}
@media (prefers-reduced-motion: reduce) { .edu-strategy-demo * { animation: none !important; transition: none !important; } }

/* Read the strategy as one path, then inspect a compact equal-weight example. */
.edu-lesson-cards--three { grid-template-columns: repeat(3,minmax(0,1fr)); }
.edu-page .edu-lesson-cards--three .edu-lesson-card { grid-template-columns: 38px minmax(0,1fr); gap: 12px; padding: 21px; }
.edu-lesson-cards--three .edu-card-index { width: 36px; height: 40px; font-size: 15px; }
.edu-lesson-cards--three .edu-lesson-card h2 { font-size: 16px; }
.edu-lesson-cards--three .edu-lesson-card > svg { display: none; }
.edu-strategy-path { display: flex; align-items: stretch; gap: 12px; margin: 27px 0 34px; }
.edu-strategy-path a { display: flex; align-items: center; gap: 10px; flex: 1; padding: 14px; border: 1px solid #e9dfd2; border-radius: 12px; background: #fffcf7; font-size: 12px; color: #716554; }
.edu-strategy-path a b { display: grid; place-items: center; width: 28px; height: 28px; flex-shrink: 0; border-radius: 50%; background: #f7e9d9; font-family: var(--mono); font-size: 19px; font-weight: 500; color: #b45e2c; }
.edu-strategy-path > span { align-self: center; color: #c4b7a6; }
.edu-strategy-path a:hover { border-color: #cb9f79; text-decoration: none; }
.edu-strategy-path a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.edu-rule-cycle-bridge { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin: 18px 0; padding: 16px 0 3px; border-top: 1px solid #e8dacb; }
.edu-rule-cycle-bridge p { max-width: 29em; color: #96785b; font-size: 11px; line-height: 1.8; }
.edu-rule-cycle-bridge a { flex-shrink: 0; padding: 10px 13px; border: 1px solid #e4cbb7; border-radius: 10px; background: #fffaf3; color: #aa5624; font-size: 11px; line-height: 1.7; text-align: center; }
.edu-rule-cycle-bridge a::after { content: ' ↓'; margin-left: 5px; }
/* A guided rebalance story: show one decision at a time. */
.edu-rebalance-story { margin-top: 32px; padding-top: 28px; border-top: 1px solid #e6d9c8; scroll-margin-top: 120px; }
.edu-rebalance-story [hidden] { display: none !important; }
.edu-story-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.edu-story-heading h3 { margin-top: 6px; color: #22251f; font-size: clamp(24px,3vw,32px); font-weight: 500; line-height: 1.4; letter-spacing: -.01em; }
.edu-story-daily { flex-shrink: 0; padding: 7px 12px; border-radius: 20px; background: #eee8dc; color: #89745c; font-size: 11px; }
.edu-story-daily::before { content: '↻ '; }
.edu-story-intro { margin-top: 10px; color: #83725b; font-size: 14px; line-height: 1.7; }
.edu-story-loss { display: inline-block; margin-top: 12px; padding: 4px 9px; background: #f9e8dd; border-radius: 5px; color: #b07550; font-size: 10px; }
.edu-story-steps { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; padding: 0; margin: 27px 0 18px; list-style: none; }
.edu-story-steps > li { display: flex; align-items: center; gap: 8px; min-width: 0; color: #8a775d; font-size: 11px; line-height: 1.6; text-wrap: wrap; }
.edu-story-steps > li > span:first-child { flex-shrink: 0; display: grid; place-items: center; width: 24px; height: 24px; border: 1px solid #e2d8c8; border-radius: 50%; font-family: var(--mono); font-size: 9px; }
.edu-story-steps > li[aria-current=step] { color: #b5551d; }
.edu-story-steps > li[aria-current=step] > span:first-child { border-color: #d97538; background: #d97538; color: #fff; }
.edu-story-stage { padding: clamp(20px,3vw,32px); border: 1px solid #e5dfd4; border-radius: 20px; background: #fffdfa; }
.edu-story-status { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-bottom: 20px; border-bottom: 1px solid #eee8dc; }
.edu-story-status > span { color: #84735b; font-family: var(--font); font-size: 12px; line-height: 1.8; letter-spacing: normal; }
.edu-story-total { display: grid; gap: 3px; text-align: right; flex-shrink: 0; }
.edu-story-total > span { color: #87765e; font-size: 9px; }
.edu-story-total strong { color: #544a3c; font-family: var(--mono); font-size: 24px; font-weight: 500; letter-spacing: -.04em; white-space: nowrap; }
.edu-story-scene { margin-top: 24px; }
.edu-story-scene h4 { margin: 0; color: #4d463b; font-size: clamp(21px,2.5vw,25px); font-weight: 500; line-height: 1.35; letter-spacing: normal; font-family: var(--font); }
.edu-story-scene > p { margin-top: 7px; color: #806e55; font-size: 14px; line-height: 1.7; }
.edu-story-holdings { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 13px; margin-top: 24px; }
.edu-holding-card { --holding-color: #ce9d6f; display: flex; flex-direction: column; align-items: center; gap: 12px; min-width: 0; padding: 22px 10px 18px; border: 1px solid #ede4d6; border-radius: 13px; background: #fcf8f1; }
.edu-holding-card[data-asset=B] { --holding-color: #8fa9a2; }
.edu-holding-card[data-asset=C] { --holding-color: #9baac0; }
.edu-holding-card[data-asset=D] { --holding-color: #b29fbb; }
.edu-holding-card[data-asset=E] { --holding-color: #b3a270; }
.edu-holding-symbol { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--holding-color); color: #fff; font-family: var(--font); font-size: 17px; font-weight: 500; }
.edu-holding-card > strong { color: #594c3c; font-family: var(--mono); font-size: clamp(15px,2vw,21px); font-weight: 500; line-height: 1.5; letter-spacing: normal; white-space: nowrap; }
.edu-holding-weight { padding: 3px 10px; border-radius: 20px; background: #eee7db; color: #7e6544; font-family: var(--mono); font-size: 13px; }
.edu-holding-card > small { color: #7d7d65; font-size: 12px; line-height: 1.6; }
.edu-holding-card[data-price=up] > small { color: #557548; }
.edu-holding-card[data-price=down] > small { color: #9f6c4b; }
.edu-holding-card[data-new=true] { border-color: #b6c5a3; background: #f5f7ee; animation: edu-holding-enter .5s ease both; }
.edu-holding-card[data-new=true] > small { color: #657f49; }
.edu-story-outcome { margin-top: 21px; padding: 14px 17px; border-radius: 10px; background: #f4f2e9; }
.edu-story-outcome > strong { display: block; color: #61764e; font-family: var(--mono); font-weight: 500; font-size: 15px; line-height: 1.7; }
.edu-story-outcome > strong[data-sign=negative] { color: #9f6646; }
.edu-story-outcome > p { margin-top: 4px; color: #827057; font-size: 12px; line-height: 1.7; }
.edu-story-ranking-head { display: flex; justify-content: space-between; gap: 10px; margin-top: 22px; color: #8a755a; font-size: 10px; }
.edu-story-ranking { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 9px; margin-top: 9px; }
.edu-ranking-token { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 62px; border: 1px solid #e5d2b8; border-radius: 10px; background: #fff5e5; }
.edu-ranking-token > small { color: #8a7252; font-family: var(--mono); font-size: 10px; }
.edu-ranking-token > strong { color: #99612e; font-family: var(--font); font-size: 22px; font-weight: 500; }
.edu-ranking-token[data-entry=true] { border-color: #b3c09e; background: #f1f5e9; }
.edu-ranking-token[data-entry=true] > strong { color: #809368; }
.edu-ranking-token[data-selected=false] { border-style: dashed; border-color: #dcd5c7; background: #f6f3ed; }
.edu-ranking-token[data-selected=false] > strong { color: #b9b0a0; }
.edu-story-swap { display: grid; grid-template-columns: minmax(0,1fr) 30px minmax(0,1fr); align-items: stretch; gap: 14px; margin-top: 22px; }
.edu-story-swap > article { display: grid; justify-items: center; gap: 8px; min-width: 0; padding: 20px 12px; border: 1px solid #eedcca; border-radius: 13px; background: #fdf5ec; text-align: center; }
.edu-story-swap > article.edu-story-entry { border-color: #dbe3cf; background: #f5f7ef; }
.edu-story-swap article > span { color: #8c6d4b; font-size: 11px; }
.edu-story-swap article > strong { color: #b68a5d; font-family: var(--font); font-size: 38px; font-weight: 500; line-height: 1.3; }
.edu-story-swap article > p { color: #a99d88; font-size: 11px; line-height: 1.8; }
.edu-story-swap article > b { color: #af9274; font-family: var(--mono); font-size: 18px; font-weight: 500; }
.edu-story-swap article > small { color: #b4a38b; font-family: var(--mono); font-size: 11px; }
.edu-story-swap .edu-story-entry > strong, .edu-story-swap .edu-story-entry > b { color: #8a9c72; }
.edu-story-swap-arrow { align-self: center; color: #c9b79d; font-size: 25px; text-align: center; }
.edu-story-math { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 5px 22px; margin-top: 22px; padding: 17px 20px; border: 1px solid #eee8dc; border-radius: 11px; background: #faf8f2; }
.edu-story-math > p { grid-column: 1; color: #816f54; font-size: 12px; line-height: 1.7; }
.edu-story-math > strong { grid-column: 1; grid-row: 2; color: #796648; font-family: var(--mono); font-size: 16px; line-height: 1.6; font-weight: 500; }
.edu-story-math > span { grid-column: 2; grid-row: 2; color: #796648; font-family: var(--mono); font-size: 16px; line-height: 1.6; }
.edu-story-math > small { grid-column: 2; grid-row: 1; color: #816f54; font-size: 12px; line-height: 1.7; }
.edu-story-navigation { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 26px; padding-top: 20px; border-top: 1px solid #eee8dc; }
.edu-story-back { padding: 10px 0; color: #806d53; font-size: 13px; line-height: 1.8; }
.edu-story-back::before { content: '← '; }
.edu-story-back:disabled { opacity: .35; cursor: default; }
.edu-story-next { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 46px; height: auto; max-width: 75%; padding: 10px 20px; border-radius: 11px; font-size: 13px; line-height: 1.7; text-align: center; white-space: normal; }
.edu-story-next::after { content: '→'; font-size: 16px; }
.edu-story-caption { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-top: 15px; color: #826e53; font-size: 12px; line-height: 1.7; }
.edu-story-caption > button { font-size: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.edu-story-why { max-width: 62em; margin-top: 20px; color: #826e53; font-size: 13px; line-height: 1.7; }
.edu-story-alternative { margin-top: 11px; color: #b67c46; font-size: 11px; text-decoration: underline; text-underline-offset: 4px; line-height: 1.8; }
.edu-story-details { margin-top: 18px; padding-top: 14px; border-top: 1px solid #e8ddcc; }
.edu-story-details > summary { width: fit-content; color: #826e53; font-size: 12px; line-height: 1.8; cursor: pointer; }
.edu-story-details > p { margin-top: 12px; color: #826e53; font-size: 12px; line-height: 1.7; }
.edu-story-ledger { min-width: 500px; font-size: 11px; }
.edu-story-note { margin-top: 12px; color: #8c7a61; font-size: 12px; line-height: 1.7; }
.edu-story-note + .edu-story-note { margin-top: 3px; }
.edu-story-next:focus-visible, .edu-story-back:focus-visible, .edu-story-caption button:focus-visible, .edu-story-alternative:focus-visible, .edu-story-details > summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
@keyframes edu-holding-enter { from { opacity: .3; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 820px) { .edu-lesson-cards--three { grid-template-columns: minmax(0,1fr); } }
@media (max-width: 620px) {
  .edu-strategy-path { gap: 6px; }
  .edu-strategy-path a { flex-direction: column; justify-content: center; padding: 12px 5px; font-size: 10px; text-align: center; }
  .edu-strategy-path > span { font-size: 11px; }
  .edu-rule-cycle-bridge { flex-direction: column; align-items: stretch; gap: 12px; }
  .edu-rule-cycle-bridge a { width: 100%; }
  .edu-story-heading { align-items: flex-start; gap: 8px; }
  .edu-story-heading h3 { font-size: 24px; }
  .edu-story-daily { padding: 5px 8px; font-size: 9px; }
  .edu-story-steps { gap: 8px; }
  .edu-story-steps > li { flex-direction: column; align-items: flex-start; gap: 7px; font-size: 9px; }
  .edu-story-status > span { max-width: 50%; font-size: 9px; }
  .edu-story-total strong { font-size: 20px; }
  .edu-story-scene { margin-top: 19px; }
  .edu-story-scene h4 { font-size: 21px; }
  .edu-story-scene > p { font-size: 11px; }
  .edu-story-holdings { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin-top: 20px; }
  .edu-holding-card { padding: 16px 7px 13px; gap: 9px; }
  .edu-holding-card > strong { font-size: 17px; }
  .edu-holding-symbol { width: 32px; height: 32px; font-size: 14px; }
  .edu-holding-weight { font-size: 12px; }
  .edu-story-ranking { gap: 5px; }
  .edu-ranking-token { flex-direction: column; gap: 3px; min-height: 66px; }
  .edu-ranking-token > small { font-size: 9px; }
  .edu-ranking-token > strong { font-size: 20px; }
  .edu-story-swap { gap: 6px; grid-template-columns: minmax(0,1fr) 20px minmax(0,1fr); }
  .edu-story-swap > article { gap: 7px; padding: 15px 8px; }
  .edu-story-swap article > span, .edu-story-swap article > p { font-size: 10px; }
  .edu-story-swap article > strong { font-size: 32px; }
  .edu-story-swap article > b { font-size: 16px; }
  .edu-story-swap article > small { font-size: 10px; }
  .edu-story-math { grid-template-columns: minmax(0,1fr); gap: 5px; padding: 14px; }
  .edu-story-math > small { grid-column: 1; grid-row: 3; margin-top: 10px; padding-top: 10px; border-top: 1px solid #eae2d4; }
  .edu-story-math > span { grid-column: 1; grid-row: 4; }
  .edu-story-navigation { gap: 10px; }
  .edu-story-next { max-width: 72%; padding-inline: 15px; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) { .edu-rebalance-story * { animation: none !important; transition: none !important; } }

/* Separate the membership decision from the position-size decision. */
.edu-statarb-bridge { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; margin: 24px 0 18px; }
.edu-statarb-bridge > article { padding: clamp(20px,3vw,30px); border: 1px solid #e7ddd0; border-radius: 18px; background: #fffdf9; }
.edu-statarb-bridge h4 { margin: 16px 0 8px; font-size: 21px; line-height: 1.35; letter-spacing: normal; font-family: var(--font); font-weight: 500; }
.edu-statarb-bridge article > p { color: #80725e; font-size: 15px; line-height: 1.7; }
.edu-pair-visual { display: flex; justify-content: center; align-items: center; gap: 22px; min-height: 130px; }
.edu-pair-visual > span { position: relative; display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; font: 500 26px var(--font); }
.edu-pair-long { background: #ffe0bd; color: #aa4a14; border: 1px solid #e7a371; }
.edu-pair-short { background: #d9eaf0; color: #40718b; border: 1px solid #9dbecb; }
.edu-pair-visual small { position: absolute; right: -6px; top: -6px; display: grid; place-items: center; width: 24px; height: 24px; background: #fff; border-radius: 50%; font-size: 17px; }
.edu-pair-visual > i { color: #c2ac91; font-style: normal; font-size: 28px; }
.edu-basket-visual { display: grid; grid-template-columns: 20px repeat(3,44px); align-content: center; justify-content: center; align-items: center; gap: 10px; min-height: 130px; font: 500 15px var(--font); }
.edu-basket-visual > i { display: grid; place-items: center; height: 44px; border: 1px solid #e7a371; border-radius: 50%; color: #aa4a14; background: #ffe0bd; font-style: normal; }
.edu-basket-visual > i:nth-of-type(n+4) { border-color: #9dbecb; color: #40718b; background: #d9eaf0; }
.edu-basket-visual > span { color: #a38d71; font-size: 20px; }
.edu-statarb-directions-title { margin: 30px 0 12px; font-size: 23px; line-height: 1.5; letter-spacing: normal; font-family: var(--font); font-weight: 500; }
.edu-ranking-lesson { margin-top: 32px; padding-top: 28px; border-top: 1px solid #e6d9c8; scroll-margin-top: 120px; }
.edu-rank-demo { margin-top: 22px; padding: clamp(18px,3vw,30px); border: 1px solid #e5dfd4; border-radius: 20px; background: #fffdfa; }
.edu-rank-demo-top { display: flex; justify-content: space-between; gap: 12px; color: #8a7358; font-size: 12px; line-height: 1.8; }
.edu-rank-demo h4 { margin-top: 24px; color: #4d463b; font-size: clamp(21px,2.5vw,25px); font-weight: 500; line-height: 1.35; letter-spacing: normal; font-family: var(--font); }
.edu-rank-demo > p { margin-top: 8px; color: #806e55; font-size: 14px; line-height: 1.7; }
.edu-rank-line { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 10px; margin-top: 24px; }
.edu-rank-line > article { display: grid; justify-items: center; gap: 10px; min-width: 0; padding: 14px 5px; border: 1px solid #e4ddd2; border-radius: 13px; background: #f4f1eb; color: #8b8274; }
.edu-rank-line small { font: 10px var(--mono); opacity: .8; }
.edu-rank-line strong { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #e8e2d8; font: 500 21px var(--font); }
.edu-rank-line span { font-size: 12px; line-height: 1.7; text-align: center; }
.edu-rank-line [data-side=long] { border-color: #efbf99; background: #fff3e7; color: #b35a23; }
.edu-rank-line [data-side=long] strong { background: #ffdbb3; }
.edu-rank-line [data-side=short] { border-color: #b8d1dc; background: #eef7fa; color: #41738c; }
.edu-rank-line [data-side=short] strong { background: #d1e8f0; }
.edu-rank-line [data-action=open] { outline: 2px solid #b7bf9b; outline-offset: 3px; }
.edu-rank-line [data-action=close] { border-style: dashed; }
.edu-rank-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.edu-rank-actions > div { display: flex; justify-content: space-between; align-items: center; gap: 15px; flex: 1; min-width: 100px; padding: 12px 15px; border-radius: 9px; background: #f1eee6; color: #847057; }
.edu-rank-actions span { font-size: 12px; }
.edu-rank-actions strong { font: 500 15px var(--font); white-space: nowrap; }
.edu-rank-actions [data-action=open] { background: #eef1e6; color: #68774a; }
.edu-rank-actions [data-action=close] { background: #f7ece2; color: #a5764b; }
.edu-strategy-practice { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line-2); }
.edu-strategy-practice h3 { margin-top: 10px; font-size: clamp(25px,3vw,32px); line-height: 1.5; letter-spacing: -.035em; }
.edu-strategy-prompt-settings { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0; }
.edu-strategy-prompt-settings > span { padding: 6px 10px; border: 1px solid #e6d9ca; border-radius: 7px; background: #fffaf4; color: #90704e; font-size: 11px; line-height: 1.6; }
.edu-holding-card { position: relative; overflow: hidden; transition: border-color .3s,background .3s; }
.edu-holding-card::after { content: ''; align-self: flex-start; height: 5px; margin-top: auto; border-radius: 5px; width: calc(var(--holding-weight,25%) * 3); max-width: 100%; background: var(--holding-color); transition: width .45s ease; }
.edu-holding-card[data-adjustment=decrease] > small { color: #a76f46; }
.edu-holding-card[data-adjustment=increase] > small { color: #577a65; }
.edu-story-math > span { font-family: var(--font); font-size: 13px; }
@media (max-width: 620px) {
  .edu-statarb-bridge { grid-template-columns: 1fr; }
  .edu-strategy-path { flex-wrap: wrap; }
  .edu-strategy-path a { flex-basis: 38%; }
  .edu-strategy-path > span:nth-of-type(2) { display: none; }
  .edu-rank-line { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .edu-rank-demo-top { flex-direction: column; gap: 3px; }
  .edu-rank-actions > div { min-width: 120px; }
  .edu-story-math { grid-template-columns: 1fr; }
  .edu-story-math > p,.edu-story-math > strong,.edu-story-math > span,.edu-story-math > small { grid-column: 1; grid-row: auto; }
}
@media (prefers-reduced-motion: reduce) { .edu-holding-card, .edu-holding-card::after { transition: none; } }

/* Benefits stay visual; the adaptive-risk lesson gives the idea a clear limit. */
.edu-benefits { padding-top: 64px; padding-bottom: 56px; border-top: 1px solid var(--edu-edge); scroll-margin-top: 120px; }
.edu-benefits h2 { margin-top: 13px; font-size: clamp(38px,4.4vw,60px); line-height: 1.1; letter-spacing: -.01em; font-family: var(--font-display); font-weight: 400; }
.edu-benefit-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.edu-benefit-card { min-width: 0; padding: clamp(22px,3vw,30px); border: 1px solid #e8dfd3; border-radius: 18px; background: #fffdfa; }
.edu-benefits .edu-benefit-card > h3 { margin: 20px 0 9px; color: #39362f; font-size: 21px; line-height: 1.5; letter-spacing: normal; font-family: var(--font); font-weight: 500; }
.edu-benefit-card > p { color: #7b705f; font-size: 15px; line-height: 1.7; }
.edu-breadth-visual { display: grid; place-items: center; min-height: 158px; }
.edu-breadth-visual > span { display: grid; grid-template-columns: repeat(3,34px); grid-template-rows: repeat(3,34px); gap: 10px; }
.edu-breadth-visual > span::before { content: 'Σ'; grid-area: 2 / 2; display: grid; place-items: center; color: #b09b81; font-family: var(--mono); font-size: 22px; font-weight: 400; }
.edu-breadth-visual > span > i { display: block; border: 1px solid #e5b78d; border-radius: 50%; background: #f5d8b5; box-shadow: inset 0 -3px 0 #b67f4720; }
.edu-breadth-visual > span > i:nth-of-type(1) { grid-area: 1 / 1; transform: scale(.82); }
.edu-breadth-visual > span > i:nth-of-type(2) { grid-area: 1 / 2; border-color: #a2bfc8; background: #d3e6eb; }
.edu-breadth-visual > span > i:nth-of-type(3) { grid-area: 1 / 3; border-color: #abb9a1; background: #dce4ce; transform: scale(.86); }
.edu-breadth-visual > span > i:nth-of-type(4) { grid-area: 2 / 1; border-color: #b9a7bd; background: #e1d7e5; }
.edu-breadth-visual > span > i:nth-of-type(5) { grid-area: 2 / 3; border-color: #b5bfa6; background: #e6e7cd; }
.edu-breadth-visual > span > i:nth-of-type(6) { grid-area: 3 / 1; border-color: #9dafa9; background: #d1e0d9; transform: scale(.88); }
.edu-breadth-visual > span > i:nth-of-type(7) { grid-area: 3 / 2; border-color: #d6ad9a; background: #f0d7cc; }
.edu-breadth-visual > span > i:nth-of-type(8) { grid-area: 3 / 3; border-color: #a5b3cb; background: #d7dfec; transform: scale(.84); }
.edu-neutral-visual { display: grid; grid-template-columns: minmax(0,1fr) 28px minmax(0,1fr); gap: 8px; align-items: center; min-height: 158px; max-width: 310px; margin-inline: auto; }
.edu-neutral-visual > div { display: grid; justify-items: center; gap: 8px; min-width: 0; padding: 24px 10px; border: 1px solid #eac3a1; border-radius: 13px; background: #fff0df; color: #b2612f; }
.edu-neutral-visual > div:last-child { border-color: #b9d1db; background: #eaf4f7; color: #4d7c93; }
.edu-neutral-visual span { max-width: 100%; font-size: 11px; line-height: 1.6; text-align: center; overflow-wrap: anywhere; }
.edu-neutral-visual strong { font-family: var(--mono); font-size: 28px; font-weight: 500; letter-spacing: -.05em; line-height: 1.3; }
.edu-neutral-visual > b { color: #b1a48f; font-size: 22px; font-weight: 400; text-align: center; }
.edu-beta-example { margin-top: 20px; padding: 18px 22px; border: 1px solid #ebe2d6; border-radius: 13px; background: #fffdf9; }
.edu-beta-example > summary { width: fit-content; color: #a16d44; font-size: 12px; line-height: 1.8; cursor: pointer; }
.edu-beta-example > p { margin-top: 12px; color: #7b705f; font-size: 12px; line-height: 1.85; }
.edu-beta-example code { display: block; margin-top: 12px; padding: 12px 14px; border-radius: 8px; background: #f5f0e7; color: #716047; font-family: var(--mono); font-size: 11px; line-height: 1.9; overflow-wrap: anywhere; }
.edu-beta-example > summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.edu-adaptive-risk { margin-top: 22px; padding: clamp(24px,3vw,32px); border: 1px solid #e6dccb; border-radius: 18px; background: #f8f4ed; }
.edu-benefits .edu-adaptive-risk > h3 { margin: 0 0 10px; color: #464036; font-size: 23px; line-height: 1.35; letter-spacing: normal; font-family: var(--font); font-weight: 500; }
.edu-adaptive-risk > p { max-width: 58em; color: #80715c; font-size: 15px; line-height: 1.7; }
.edu-adaptive-loop { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; margin-top: 23px; padding: 0; list-style: none; }
.edu-adaptive-loop > li { min-width: 0; padding: 20px 18px; border: 1px solid #e8decd; border-radius: 12px; background: #fffdf9; }
.edu-adaptive-loop > li > span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #f6e7d8; color: #ad723f; font-family: var(--mono); font-size: 10px; }
.edu-adaptive-loop strong { display: block; margin-top: 15px; color: #64543f; font-size: 15px; font-weight: 500; line-height: 1.7; }
.edu-adaptive-loop p { margin-top: 7px; color: #8d7c65; font-size: 13px; line-height: 1.7; }
.edu-adaptive-risk > .edu-adaptive-research { margin-top: 22px; padding-top: 17px; border-top: 1px solid #e5d9c8; color: #9b683e; }
@media (max-width: 620px) {
  .edu-benefits { padding-top: 44px; padding-bottom: 40px; }
  .edu-benefit-grid { grid-template-columns: minmax(0,1fr); gap: 14px; }
  .edu-benefits .edu-benefit-card > h3 { font-size: 21px; }
  .edu-adaptive-loop { grid-template-columns: minmax(0,1fr); gap: 10px; }
  .edu-adaptive-loop > li { display: grid; grid-template-columns: 28px minmax(0,1fr); gap: 4px 14px; padding: 17px; }
  .edu-adaptive-loop > li > span { grid-row: 1 / 3; }
  .edu-adaptive-loop strong { margin-top: 0; }
  .edu-adaptive-loop p { grid-column: 2; margin-top: 0; }
}
.edu-benefit-card > small { display: block; margin-top: 12px; color: #a28c71; font-size: 12px; line-height: 1.7; }
.edu-beta-math { margin-top: 14px; padding: 13px 16px; border-radius: 9px; background: #f5f0e7; color: #776348; font-family: var(--mono); font-size: 13px; line-height: 1.9; overflow-wrap: anywhere; }

@media (max-width: 620px) {
  .edu-beta-example { padding: 16px 18px; }
  .edu-beta-math { padding: 12px; font-size: 11px; }
}

.edu-benefits .edu-adaptive-risk > .edu-eyebrow + h3 { margin-top: 8px; }
@media (min-width: 821px) {
  .edu-toc { max-height: calc(100svh - 150px); overflow-y: auto; scrollbar-width: thin; }
}

/* Match Home and About: display type for lessons, sans type for explanations and controls. */
.edu-hero h1, .edu-lesson-heading h2 { font-synthesis: none; }
.edu-strategy-theory > h3:not(.edu-statarb-directions-title),
.edu-play-heading h3, .edu-story-heading h3, .edu-strategy-practice h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(30px,3.4vw,42px);
  line-height: 1.2;
  letter-spacing: -.01em;
  font-synthesis: none;
}
.edu-page button { font-family: var(--font); letter-spacing: normal; }
.edu-challenge-student { font-family: var(--font); font-weight: 500; }
html[lang^="zh"] :is(.edu-strategy-theory > h3:not(.edu-statarb-directions-title), .edu-play-heading h3, .edu-story-heading h3, .edu-strategy-practice h3) { line-height: 1.3; letter-spacing: normal; }
@media (max-width: 620px) {
  .edu-strategy-theory > h3:not(.edu-statarb-directions-title),
  .edu-play-heading h3, .edu-story-heading h3, .edu-strategy-practice h3 { font-size: 30px; }
  .edu-benefits h2 { font-size: 36px; }
  .edu-strategy-asset-id { font-size: 10px; }
  .edu-play-heading p, .edu-story-intro, .edu-story-scene > p, .edu-rank-demo > p { font-size: 13px; }
  .edu-story-status > span, .edu-play-legend, .edu-story-steps > li, .edu-story-daily { font-size: 11px; }
  .edu-strategy-coach, .edu-strategy-demo[data-help=liquidity] .edu-strategy-coach-math { font-size: 12px; }
}

/* A course invitation using the same double bezel and display type as the main site. */
.edu-course-community { margin-top: 56px; padding: 6px; border: 1px solid #e3dfd7; border-radius: 30px; background: #f0ede7; box-shadow: var(--inner-hi),0 20px 55px -42px #4d392b66; scroll-margin-top: 120px; }
.edu-community-panel { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,.8fr); align-items: center; gap: 12px; overflow: hidden; padding: clamp(30px,4.4vw,52px) clamp(24px,4vw,44px); border: 1px solid #fff; border-radius: 24px; background: radial-gradient(ellipse at 100% 30%,#f5e5cf88,transparent 64%),#fffdf8; }
.edu-community-copy { position: relative; z-index: 1; min-width: 0; }
.edu-community-copy > .edu-eyebrow { display: flex; align-items: center; gap: 11px; color: #87684b; font-size: 10px; font-weight: 500; letter-spacing: .1em; }
.edu-community-logo { flex: none; width: 27px; height: 27px; color: #438aa4; }
.edu-page .edu-course-community h2 { max-width: 12em; margin: 23px 0 18px; color: var(--ink); font-family: var(--font-display); font-weight: 400; font-size: clamp(36px,4.1vw,53px); line-height: 1.15; letter-spacing: -.015em; text-wrap: balance; }
.edu-community-description { max-width: 31em; color: var(--ink-2); font-family: var(--font); font-size: 16px; line-height: 1.75; }
.edu-community-actions { display: grid; justify-items: start; gap: 13px; margin-top: 27px; }
.edu-page .edu-telegram-link { width: fit-content; max-width: 100%; min-height: 54px; height: auto; padding-block: 6px; font-family: var(--font); font-size: 15px; font-weight: 500; line-height: 1.5; white-space: normal; }
.edu-telegram-link .ico { flex: none; }
.edu-telegram-link .ico svg { width: 16px; height: 16px; }
.edu-community-art { width: calc(100% + 40px); min-width: 0; margin-left: -9px; pointer-events: none; }
.edu-community-art > svg { width: 100%; height: auto; overflow: visible; }
.edu-community-plane { transform-origin: 215px 170px; transition: transform .5s var(--ease); }
.edu-course-community:hover .edu-community-plane { transform: translate(4px,-5px) rotate(-2deg); }
@media (max-width: 1050px) and (min-width: 821px) {
  .edu-community-panel { grid-template-columns: minmax(0,1.3fr) minmax(0,.7fr); padding-inline: 26px; }
  .edu-community-art { width: calc(100% + 65px); margin-left: -20px; }
}
@media (max-width: 620px) {
  .edu-course-community { margin-top: 38px; border-radius: 23px; }
  .edu-community-panel { grid-template-columns: minmax(0,1fr); gap: 3px; padding: 25px 22px 30px; border-radius: 18px; }
  .edu-community-art { grid-row: 1; justify-self: center; width: 204px; margin: -14px 0 -3px; }
  .edu-page .edu-course-community h2 { max-width: 11em; margin-block: 18px 16px; font-size: 36px; line-height: 1.2; }
  .edu-community-copy > .edu-eyebrow { gap: 9px; font-size: 9px; }
  .edu-community-description { font-size: 15px; line-height: 1.75; }
  .edu-community-actions { gap: 12px; margin-top: 23px; }
}
@media (prefers-reduced-motion: reduce) { .edu-community-plane { transition: none; } .edu-course-community:hover .edu-community-plane { transform: none; } }
