.image-reference-preview{margin:.8rem 0;padding:12px;border:1px solid #d8b35366;border-radius:10px;background:#111316}
.image-reference-preview[hidden]{display:none}
.image-reference-preview img{display:block;max-width:min(100%,360px);max-height:260px;object-fit:contain;margin-bottom:10px}
.image-reference-preview p{overflow-wrap:anywhere;line-height:1.5}
.image-reference-preview button{min-height:44px;white-space:normal}
