/* Scoped additions for live controls inside the approved fifth template. */
body.website .site-materials {min-width:0;width:100%}
body.website .site-materials .page-actions {flex-wrap:wrap}
body.website .site-materials .hc-gallery-picture {width:100%}
body.website .site-materials .hc-gallery-picture img {display:block;width:100%;height:100%;object-fit:contain}
body.website .site-materials .site-text-preview {white-space:pre-wrap;overflow-wrap:anywhere;max-height:64vh;overflow:auto;margin:0;line-height:1.65}
body.website .site-original {max-width:100%;max-height:65vh;object-fit:contain;margin:auto;display:block}
body.website .site-document {height:56vh;width:100%;border:0}
body.website .site-media-option {position:relative}
body.website .site-media-option select {position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
body.website .site-media-option:focus-within {outline:2px solid currentColor;outline-offset:2px}
body.website .site-materials .v5-card {min-width:0}
body.website .site-materials :where(.project-card,.v5-card,.settings-card,.v5-list-row,.page-head,.file-name) {overflow-wrap:anywhere}
body.website .site-materials video.site-original {width:100%;aspect-ratio:auto;max-height:68vh;background:#111;border-radius:10px}
body.website .site-materials .v5-card h2 {line-height:1.55}
