/* Full notes: a readable main column, compact visual links, no loss of content. */
.readable-notes{padding:0 26px 26px}
.readable-notes .lesson-summary{color:#40523f;font-size:15px;max-width:76ch;line-height:1.8}
.readable-notes .essential{padding:22px 24px;background:#f0f4e9;border:1px solid #dbe5cf}
.readable-notes .essential ol{gap:15px}
.readable-notes .essential li{font-size:14px;line-height:1.8;display:block;padding-left:28px;position:relative;color:#40523f}
.readable-notes .essential li:before{position:absolute;left:0}
.readable-notes strong{color:#294e39;font-weight:650}
.notes-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:32px 0 14px}
.notes-heading h2,.reading-terms h2{font-size:19px;letter-spacing:-.35px;font-weight:650}
.notes-heading .text-button{font-size:12px;min-height:40px;white-space:nowrap;color:#4f6746}
.notes-jumps{display:grid;grid-template-columns:1fr 1fr;gap:8px 18px;padding:0 0 25px}
.notes-jumps button{display:flex;align-items:baseline;gap:9px;text-align:left;padding:7px 0;background:none;font-size:12px;line-height:1.5;color:#61725b}
.notes-jumps button:hover{color:#294e39;text-decoration:underline;text-underline-offset:3px}
.notes-jumps button>span{color:#82916e;font-size:10px;min-width:14px}
.reading-sections{gap:18px}
.reading-sections .reading-section{scroll-margin-top:28px;border-color:#dce3d3;border-radius:12px;box-shadow:0 3px 12px #30452b03}
.reading-sections .reading-section>summary{align-items:center;justify-content:flex-start;padding:22px 24px;gap:13px;background:#f9faf5}
.reading-section>summary h3{font-size:16px;font-weight:650;line-height:1.5;letter-spacing:-.25px;margin:0}
.reading-section>summary:after{margin-left:auto;flex:none}
.reading-number{font-size:11px;font-weight:500;color:#799463;min-width:20px}
.reading-section .detail-content{padding:24px;line-height:1.85;color:#3f503e;font-size:15px}
.reading-prose{max-width:76ch}
.reading-prose p{font-size:15px;color:#3f503e;line-height:1.85;margin:0 0 16px}
.reading-prose p:last-child{margin-bottom:0}
.reading-prose p+p{padding-top:2px}
.note-aid{margin:0 0 25px;padding:20px;background:#f2f5ec;border:1px solid #dfe7d5;border-radius:10px}
.note-aid figcaption{font-size:11px;text-transform:uppercase;letter-spacing:1px;font-weight:650;color:#5b744b;margin-bottom:15px;line-height:1.6}
.note-aid ul,.note-aid ol{padding:0;margin:0;list-style:none}
.note-aid li{min-width:0}
.note-aid li>div{min-width:0}
.note-aid li strong{display:block;font-size:14px;line-height:1.55;font-weight:650}
.note-aid li span:not(.note-step){display:block;font-size:12px;color:#5b6b54;line-height:1.65;margin-top:5px}
.note-cards,.note-exchange{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.note-cards li,.note-exchange li{padding:14px 16px;background:#fffefa;border-radius:8px;border-top:3px solid #a7bd8c}
.note-cards li:nth-child(even),.note-exchange li:nth-child(even){border-top-color:#9cbaba;background:#f4f8f7}
.note-cards li:only-child{grid-column:1/-1}
.note-pairs{display:grid;gap:0}
.note-pairs li>div{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:30px;position:relative;padding:11px 0;border-bottom:1px solid #dce4d1;align-items:baseline}
.note-pairs li:last-child>div{border:0;padding-bottom:0}
.note-pairs li:first-child>div{padding-top:0}
.note-pairs li>div:before{content:'→';position:absolute;left:calc(46.5% - 8px);color:#91a37d}
.note-pairs li span:not(.note-step){margin:0;font-size:13px}
.note-flow{display:grid;gap:0;counter-reset:none}
.note-flow li{position:relative;display:flex;gap:12px;align-items:flex-start;padding-bottom:20px}
.note-flow li:last-child{padding-bottom:0}
.note-flow li:not(:last-child):before{content:'';position:absolute;left:14px;top:30px;bottom:4px;border-left:1px solid #b2c59e}
.note-flow li:not(:last-child):after{content:'↓';position:absolute;left:9px;bottom:0;font-size:12px;line-height:1;color:#728a5a;background:#f2f5ec}
.note-step{width:29px;height:29px;display:grid;place-items:center;border:1px solid #c4d3b4;background:#fffefa;border-radius:50%;flex:none;font-size:11px;line-height:1;color:#62804d}
.note-flow li>div{padding-top:2px}
.note-flow li span:not(.note-step){margin-top:2px}
.note-branch{display:grid;grid-template-columns:1fr 1fr 1fr;align-items:stretch;gap:20px;text-align:center}
.note-branch li{padding:16px 10px;background:#fffefa;border:1px solid #d9e3cc;border-radius:8px;position:relative}
.note-branch li:nth-child(2){background:#e0ebd2;border-color:#c1d3aa}
.note-branch li:nth-child(2):before,.note-branch li:nth-child(2):after{position:absolute;top:calc(50% - 13px);color:#678252;font-size:19px}
.note-branch li:nth-child(2):before{content:'←';left:-18px}
.note-branch li:nth-child(2):after{content:'→';right:-18px}
.note-aid-exchange{background:#f0f5f2;border-color:#dce6df}
.readable-notes .takeaway{font-size:15px;line-height:1.8;padding:18px 22px;margin-top:24px}
.reading-terms{margin-top:32px;padding-top:26px;border-top:1px solid var(--border)}
.reading-terms dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 26px;margin:12px 0 0}
.reading-term{padding:17px 0;border-bottom:1px solid #e7ebdf;min-width:0}
.reading-term dt{font-size:14px;font-weight:650;color:#38563a;line-height:1.6}
.reading-term dd{margin:5px 0 0;font-size:13px;line-height:1.8;color:#5b6b54}
.readable-notes button:focus-visible,.reading-section>summary:focus-visible{outline:2px solid #608153;outline-offset:4px}
@media(min-width:1300px){.reading-section .detail-content{padding:28px 30px}.note-aid{padding:22px 24px}.note-cards:has(li:nth-child(3):last-child){grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){
 .readable-notes{padding:0 14px 20px}.readable-notes .essential{padding:18px 16px}
 .notes-heading{align-items:flex-start;margin-top:25px;gap:12px}.notes-heading h2{font-size:17px}.notes-heading .text-button{font-size:11px;padding:0;min-height:28px}
 .notes-jumps{grid-template-columns:1fr;gap:0;padding-bottom:19px}.notes-jumps button{padding:7px 0;min-height:36px}
 .reading-sections{gap:14px}.reading-sections .reading-section>summary{padding:18px 14px;gap:8px}.reading-section>summary h3{font-size:15px}.reading-number{font-size:10px;min-width:18px}
 .reading-section .detail-content{padding:18px 14px}.reading-prose p{font-size:14px;line-height:1.85;margin-bottom:16px}
 .note-aid{padding:15px 13px;margin-bottom:20px}.note-aid figcaption{font-size:10px;letter-spacing:.7px}.note-aid li strong{font-size:13px}
 .note-cards,.note-exchange{grid-template-columns:1fr;gap:9px}.note-cards li,.note-exchange li{padding:12px 13px}
 .note-pairs li>div{grid-template-columns:1fr;gap:3px;padding:12px 0 12px 18px}.note-pairs li>div:before{left:0;top:12px;font-size:12px}.note-pairs li:first-child>div:before{top:0}.note-pairs li span:not(.note-step){font-size:12px}
 .note-branch{grid-template-columns:1fr;gap:18px}.note-branch li:nth-child(2):before{content:'↑';left:calc(50% - 6px);top:-20px}.note-branch li:nth-child(2):after{content:'↓';right:calc(50% - 6px);top:auto;bottom:-21px}
 .reading-terms dl{grid-template-columns:1fr}.readable-notes .takeaway{padding:16px;font-size:14px}
}
@media(max-width:400px){.readable-notes{padding-left:10px;padding-right:10px}.reading-section .detail-content{padding:17px 12px}.notes-heading{flex-wrap:wrap;gap:3px}}
