.idea-map{margin:2rem 0;padding:1.5rem;border:1px solid #b7d8cb;border-radius:8px}.idea-map-nodes{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,16rem),1fr));gap:1rem}.idea-map-node{background:#edf6f1;padding:1.25rem;border:1px solid #b7d8cb;border-radius:8px;min-width:0}.idea-map-node h3{margin-top:0}.idea-map-edge{display:flex;gap:1rem;align-items:baseline}.idea-map-edge>span{font-size:1.5rem;color:#007044}.idea-map-connections{border-left:3px solid #007044;padding-left:1rem;margin-top:1rem}.pilot-field label{display:block;font-weight:700}.pilot-reading,.pilot-lesson,.idea-map{overflow-wrap:break-word}.course-layout>div,.course-aside{min-width:0}@media(max-width:480px){.idea-map{padding:1rem}.idea-map-node{padding:1rem}}
.course-identity-copy{min-width:0;max-width:100%;overflow-wrap:anywhere}.academy .course-identity-copy p a{overflow-wrap:anywhere}.idea-map-edge{display:block}.idea-map-edge>span{display:block}.idea-map-edge>p{min-width:0;max-width:100%}.idea-map-connections{padding-left:0;border-left:0}
@media(max-width:480px){.idea-map{padding:0;border:0}.idea-map-node{padding:.5rem}.idea-map-connections{padding:0}.pilot-field{padding:0}}

.rewritten-reading blockquote{margin:1.5rem 0;padding:1rem 1.25rem;border-left:3px solid #007044;background:#edf6f1;font-size:1.125rem;line-height:1.7}
.idea-map[data-layout="sequence"] .idea-map-nodes{display:flex;flex-direction:column;gap:1.75rem}
.idea-map[data-layout="sequence"] .idea-map-node:not(:last-child){position:relative}
.idea-map[data-layout="sequence"] .idea-map-node:not(:last-child)::after{content:"↓";position:absolute;bottom:-1.75rem;left:50%;font-size:1.5rem;line-height:1.75rem;color:#007044}
.idea-map-connections{display:grid;gap:.75rem;margin:1.25rem 0}
.idea-map-edge{padding:.75rem 0;border-top:1px solid #b7d8cb}
.idea-map-edge p{margin:0}.idea-map-edge strong{font-weight:650}
.pilot-field{margin:1.5rem 0}.pilot-field label,.pilot-field p,.pilot-field textarea{font-size:1rem;line-height:1.6}
.pilot-field textarea{display:block;width:100%;min-height:8rem;box-sizing:border-box;resize:vertical}
.pilot-field p{margin:.5rem 0}.activity .actions{display:flex;flex-wrap:wrap;gap:.75rem}
.activity .actions button{white-space:normal;min-height:44px;font-size:1rem}
.rewritten-exercise{margin:2rem 0;padding:1.25rem;background:#f3f6f4;border-left:3px solid #007044}
@media(max-width:480px){.rewritten-exercise{padding:1rem}.course-layout{display:block}}


/* Concise labels for narrow diagrams; font sizes and the complete explanations are preserved. */
.map-compact-label{display:none}
@media(max-width:480px){.map-full-label{display:none}.map-compact-label{display:inline}.idea-map-node{padding:.25rem}.idea-map h2,.idea-map h3{overflow-wrap:normal;word-break:normal}.idea-map h2 span,.idea-map h3 span{overflow-wrap:normal;word-break:normal}}
/* Prefer complete words in video titles; retain existing type size and fallback for unavoidable long words. */
body main .mm-video-block .mm-section-heading h2{hyphens:manual;word-break:normal;overflow-wrap:break-word}
