/* P2V task progress and full-frame media previews. */
.p2v-shot-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:8px;margin:14px 0}
.p2v-shot{padding:10px 12px;border:1px solid var(--line);border-left:3px solid #94a3b8;border-radius:9px;background:var(--card)}
.p2v-shot b,.p2v-shot span{display:block;font-size:12px;line-height:1.6}.p2v-shot span{color:var(--ink2)}
.p2v-shot-done{border-left-color:#16a34a}.p2v-shot-failed{border-left-color:#dc2626;background:#fff7ed}
.p2v-shot-rendering,.p2v-shot-checking{border-left-color:#2563eb}.p2v-shot p{overflow-wrap:anywhere;margin:5px 0 0!important}
.p2v-task-id{overflow-wrap:anywhere;font-size:12px}.p2v-task-detail{max-height:75vh;overflow:auto}
.p2v-preserved-note{color:#92400e!important}.p2v-task-detail summary{cursor:pointer;margin:12px 0}
.work .cover.p2v-video-cover{aspect-ratio:auto;background:#101827;min-height:120px}
.work .cover.p2v-video-cover video,.work .cover.p2v-video-cover img{object-fit:contain}
.p2v-work-player{display:block;width:100%;height:auto;max-height:62vh;object-fit:contain;background:#101827;border-radius:12px}
.p2v-download-note{font-size:12px;line-height:1.7;color:var(--ink2);margin:8px 0 0;overflow-wrap:anywhere}
.p2v-download-note.error{color:#b91c1c}.p2v-download-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
@media(max-width:767px){.p2v-shot-list{grid-template-columns:repeat(2,minmax(0,1fr))}.p2v-shot{padding:8px}.p2v-task-detail{max-height:70dvh}.p2v-work-player{max-height:58dvh}}
