/* V5.0.5 universal composition; isolated from video and homework styles. */
.nova-composition-svg{display:block;width:100%;height:auto;max-height:54vh;background:linear-gradient(120deg,#f8fbff,#eff5ff);border:1px solid #d4e4f6;border-radius:12px}
.nova-composition-note{font-size:.82rem;color:#5c6e85;margin:-4px 0 10px}
.nova-composition-toggle{font:inherit;border:1px solid #bdcfea;border-radius:9px;background:#fff;color:#274e85;padding:9px 14px;margin-top:10px;cursor:pointer}
.nova-composition-highlight{filter:drop-shadow(0 0 7px #d59a26)}
.nova-composition-control input{cursor:pointer}
@media(prefers-reduced-motion:reduce){.nova-composition-toggle{display:none}}

/* Keep the animated visual visible while the learner operates linked controls below. */
.nova-v503-scene:has(.nova-composition-svg){max-height:none;overflow-y:visible}
.nova-v503-scene>.nova-composition-layer:first-child{position:sticky;top:0;z-index:2;background:#fff}
.nova-composition-svg{max-height:min(35vh,330px)}
@media(max-width:820px){.nova-composition-svg{max-height:250px}}
