/* V005 Musicology-only responsive layout */
#module-content .musicology-shell{min-width:0;overflow-wrap:break-word}
#module-content .musicology-shell .knowledge-paths{padding:16px;border:1px solid #48613b;border-radius:14px;background:linear-gradient(135deg,#152b1b,#09170f)}
#module-content .musicology-shell .knowledge-paths>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px}
#module-content .musicology-shell .knowledge-paths button{position:relative;min-width:0;min-height:48px;padding:10px 14px 10px 31px;text-align:left;color:#dce9cf;border:1px solid #526b42;border-radius:10px;background:linear-gradient(#223822,#0e1d13);overflow-wrap:anywhere}
#module-content .musicology-shell .knowledge-paths button:before{content:'';position:absolute;left:12px;top:50%;width:8px;height:8px;transform:translateY(-50%);background:#d8ab59;border-radius:3px;box-shadow:0 0 6px #d8ab59}
#module-content .musicology-shell .knowledge-controls{margin-top:18px}
#module-content .musicology-shell .knowledge-controls>div{min-width:0}
#module-content .musicology-shell .knowledge-topic{margin:10px 0;border:1px solid #40563b;border-radius:12px;padding:0 12px;background:#0e1d13}
#module-content .musicology-shell .knowledge-entry{max-width:100%;overflow-wrap:anywhere}
#module-content .musicology-shell .knowledge-focus{padding:11px;border:1px solid #647849;border-radius:9px;background:#192a1c;min-height:44px}
.knowledge-reader{box-sizing:border-box;width:min(780px,calc(100vw - 20px));max-width:min(780px,calc(100vw - 20px));max-height:calc(100dvh - 20px);overflow:auto;overscroll-behavior:contain}
.knowledge-reader .knowledge-entry{max-width:none;overflow-wrap:anywhere}
.knowledge-reader .dialog-top{position:sticky;top:0;background:#0a160f;z-index:1}
@media(max-width:680px){#module-content .musicology-shell .knowledge-paths>div{grid-template-columns:1fr}#module-content .musicology-shell .knowledge-controls{grid-template-columns:1fr}#module-content .musicology-shell .knowledge-topic{padding:0 6px}.knowledge-reader{padding:14px}}
.mcv-figure{box-sizing:border-box;display:grid;gap:.45rem;margin:.75rem 0;padding:.7rem .85rem;border:1px solid #41674c;border-radius:8px;background:#07130e;color:#bceac8;min-width:0;max-width:100%;overflow-wrap:anywhere}.mcv-figure figcaption{color:#a6f2ba;font-weight:700}.mcv-example-graphic{display:flex;align-items:center;gap:.6em;flex-wrap:wrap;color:#ffe0a0;font:600 clamp(15px,3.8vw,22px)/1.5 system-ui}.mcv-example-graphic>*{max-width:100%;min-width:0}.mcv-example-graphic strong{color:#a6f2ba}.mcv-figure svg{width:100%;max-width:400px;height:auto}.mcv-figure small{color:#b2c5b6}.knowledge-reader{max-width:min(760px,calc(100vw - 16px));box-sizing:border-box;overflow-wrap:anywhere}.knowledge-reader .dialog-top button:focus-visible,.knowledge-entry button:focus-visible{outline:3px solid #ffe093;outline-offset:2px}
