.dm-preview{width:min(720px,90vw);max-height:90vh;border:1px solid #d9e2ed;border-radius:14px;padding:0;color:#253347;background:white;box-shadow:0 24px 90px #14243b40}.dm-preview::backdrop{background:#14243b99}.dm-preview header,.dm-preview footer{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 22px}.dm-preview h2{font-size:18px;margin:0}.dm-preview button{border:1px solid #d9e2ed;border-radius:6px;padding:9px 14px;background:white;color:#1677ff;cursor:pointer}.dm-preview button:disabled{opacity:.5;cursor:wait}.dm-content{display:flex;align-items:center;justify-content:center;min-height:180px;background:#f3f5f9}.dm-content img{width:320px;max-width:100%;max-height:60vh;object-fit:contain}.dm-video-frame{width:100%;height:60vh;border:0;background:#111}.dm-preview footer p{font-size:13px;line-height:1.7;margin:0;flex:1}.dm-preview button:focus-visible{outline:2px solid #1677ff;outline-offset:2px}
/* Inline assets are visible immediately; buttons only enlarge or play them. */
#project-lineup .dm-thumb,#unit-settings .dm-thumb{position:relative;display:inline-flex;align-items:center;justify-content:center;flex:none;overflow:hidden;padding:0;border:1px solid #e2e7ed;border-radius:3px;background:#f4f6f8;color:#7c8795;cursor:pointer;vertical-align:top}#project-lineup .dm-thumb-video{width:112px;height:68px}#unit-settings .dm-thumb-image{width:108px;height:108px}.dm-thumb img{display:block;width:100%;height:100%;object-fit:contain}.dm-thumb-video img{object-fit:cover}.dm-thumb-status{padding:6px;font-size:11px;line-height:1.4}.dm-thumb-status[hidden]{display:none}.dm-play{position:absolute;display:grid;place-items:center;width:30px;height:30px;border:2px solid white;border-radius:50%;color:white;background:#0004;font-size:14px;text-shadow:0 1px 3px #0008}.dm-thumb:not(.dm-thumb-ready) .dm-play{right:4px;bottom:4px;width:20px;height:20px;font-size:10px}.dm-thumb:focus-visible{outline:2px solid #1677ff;outline-offset:2px}.bw-group-summary>div{width:calc(100% - 33px)}.bw-video-strip{flex-wrap:nowrap;overflow-x:auto;gap:8px;padding-bottom:9px;scrollbar-width:thin}.bw-video-strip .dm-thumb-status,.bw-video-strip .dm-play{margin:0;background:transparent}.bw-video-strip .dm-play{background:#0004;padding:0;font-size:14px;color:white;border-radius:50%}.pl-options .dm-thumb-video{margin-right:0}.pl-material-grid .dm-thumb-video{width:100%!important;height:120px!important}.pl-material-grid .dm-thumb img{width:100%;height:100%;object-fit:contain}#unit-settings .us-images{display:flex;flex-wrap:wrap;gap:12px;align-items:flex-start}.us-image-tile{position:relative;width:108px;height:108px}#unit-settings .us-image-remove{position:absolute;right:0;top:0;padding:0;width:22px;height:22px;background:#0009;color:white;border:0;border-radius:0 2px 0 4px;font-size:18px}#unit-settings .us-image-add{width:108px;height:108px;display:grid;place-items:center;padding:8px;border:1px dashed #ccd3dc;background:#fafbfd;color:#6c7682}.us-options .dm-thumb-image{width:70px!important;height:70px!important}.us-options .dm-thumb img{width:100%;height:100%}
