
/* v6.3: compact illustration cards in the foundations textbook. */
.prep-core-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.prep-core{border:1px solid #dae4f2;background:white;border-radius:12px;display:flex;flex-direction:column;align-items:center;gap:4px;padding:10px 5px;min-width:0}
.prep-core strong{font-size:21px;color:#2b4c9e}.prep-core svg{width:100%;height:68px;max-width:110px}
.prep-core span{font-size:12px;font-weight:750}.prep-core small{font-size:11px;color:#64748b;text-align:center}
.prep-grammar{margin-top:12px;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px;background:#eef4ff;border-radius:10px;padding:12px}
.prep-grammar span{font-size:13px}.prep-grammar b{font-size:17px;color:#2b4c9e}.prep-grammar strong{background:#e1f2e6;padding:6px 8px;border-radius:7px;font-size:14px;color:#236649}.prep-grammar small{flex-basis:100%;text-align:center;color:#52627c;font-size:11px}
.lesson-map-details summary{cursor:pointer;font-size:13px;font-weight:750;color:#314c82}
.lesson-map-details[open] .lesson-roadmap{padding-top:10px;max-height:180px;overflow-y:auto}
.reference-chapters{scroll-padding-inline:40px}
@media(max-width:400px){.prep-core svg{height:52px}.prep-core{padding:8px 3px}.prep-core span{font-size:11px}.prep-core small{font-size:10px}}
