.video-preview{position:relative;margin-top:1rem;line-height:0}
.video-preview video{display:block;width:100%;height:auto;max-height:none;margin:0}
#roi-overlay{position:absolute;border:3px solid #ffdd48;background:#ffdd481a;pointer-events:none}
#motion-region{min-width:0;margin:1rem 0;border:1px solid #91a797;border-radius:6px;padding:.7rem}
#motion-region legend{max-width:100%}
#motion-region .two{grid-template-columns:repeat(2,minmax(0,1fr))}
#motion-candidates button{display:block;width:100%;white-space:normal;overflow-wrap:anywhere}
